@zydon/common 1.0.24 → 1.0.25

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.
@@ -1,4 +1,4 @@
1
- (function(z,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react"),require("@mui/material"),require("@emotion/react"),require("@mui/x-date-pickers-pro"),require("@mui/x-data-grid-premium"),require("react-dom"),require("@emotion/styled"),require("react-hook-form"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","@mui/material","@emotion/react","@mui/x-date-pickers-pro","@mui/x-data-grid-premium","react-dom","@emotion/styled","react-hook-form","react-router-dom"],p):(z=typeof globalThis<"u"?globalThis:z||self,p(z.common={},z.React,z.material,z.react,z.xDatePickersPro,z.xDataGridPremium,z.require$$1,z.emStyled,z.reactHookForm,z.reactRouterDom))})(this,function(z,p,$,bl,Ki,Rn,sd,wb,Dt,_r){"use strict";function Cb(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const be=Cb(p),ld={duration:2,ease:[.43,.13,.23,.96]},Tb={animate:{fillOpacity:[0,0,1],pathLength:[1,.4,0],transition:ld}},Sb=e=>{const t=(e==null?void 0:e.duration)||.32,r=(e==null?void 0:e.ease)||[.43,.13,.23,.96];return{duration:t,ease:r}},Pe=e=>{const t=(e==null?void 0:e.durationIn)||.64,r=(e==null?void 0:e.easeIn)||[.43,.13,.23,.96];return{duration:t,ease:r}},Ae=e=>{const t=(e==null?void 0:e.durationOut)||.48,r=(e==null?void 0:e.easeOut)||[.43,.13,.23,.96];return{duration:t,ease:r}},Zi=e=>{const t=(e==null?void 0:e.distance)||120,r=e==null?void 0:e.durationIn,n=e==null?void 0:e.durationOut,i=e==null?void 0:e.easeIn,o=e==null?void 0:e.easeOut;return{in:{initial:{opacity:0},animate:{opacity:1,transition:Pe},exit:{opacity:0,transition:Ae}},inUp:{initial:{y:t,opacity:0},animate:{y:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{y:t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inDown:{initial:{y:-t,opacity:0},animate:{y:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{y:-t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inLeft:{initial:{x:-t,opacity:0},animate:{x:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{x:-t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inRight:{initial:{x:t,opacity:0},animate:{x:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{x:t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},out:{initial:{opacity:1},animate:{opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outUp:{initial:{y:0,opacity:1},animate:{y:-t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outDown:{initial:{y:0,opacity:1},animate:{y:t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outLeft:{initial:{x:0,opacity:1},animate:{x:-t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outRight:{initial:{x:0,opacity:1},animate:{x:t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}}}},Eb=e=>{const t=(e==null?void 0:e.distance)||720,r=e==null?void 0:e.durationIn,n=e==null?void 0:e.durationOut,i=e==null?void 0:e.easeIn,o=e==null?void 0:e.easeOut;return{in:{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inUp:{initial:{scale:0,opacity:0,translateY:t},animate:{scale:1,opacity:1,translateY:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateY:t,transition:Ae({durationOut:n,easeOut:o})}},inDown:{initial:{scale:0,opacity:0,translateY:-t},animate:{scale:1,opacity:1,translateY:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateY:-t,transition:Ae({durationOut:n,easeOut:o})}},inLeft:{initial:{scale:0,opacity:0,translateX:-t},animate:{scale:1,opacity:1,translateX:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateX:-t,transition:Ae({durationOut:n,easeOut:o})}},inRight:{initial:{scale:0,opacity:0,translateX:t},animate:{scale:1,opacity:1,translateX:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateX:t,transition:Ae({durationOut:n,easeOut:o})}},out:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,transition:Pe({durationIn:r,easeIn:i})}},outUp:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateY:-t,transition:Pe({durationIn:r,easeIn:i})}},outDown:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateY:t,transition:Pe({durationIn:r,easeIn:i})}},outLeft:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateX:-t,transition:Pe({durationIn:r,easeIn:i})}},outRight:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateX:t,transition:Pe({durationIn:r,easeIn:i})}}}},Ob=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{inX:{initial:{rotateX:-180,opacity:0},animate:{rotateX:0,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{rotateX:-180,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},inY:{initial:{rotateY:-180,opacity:0},animate:{rotateY:0,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{rotateY:-180,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},outX:{initial:{rotateX:0,opacity:1},animate:{rotateX:70,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},outY:{initial:{rotateY:0,opacity:1},animate:{rotateY:70,opacity:0,transition:Ae({durationOut:r,easeOut:i})}}}},Pb=e=>{const t=(e==null?void 0:e.distance)||160,r=e==null?void 0:e.durationIn,n=e==null?void 0:e.durationOut,i=e==null?void 0:e.easeIn,o=e==null?void 0:e.easeOut;return{inUp:{initial:{y:t},animate:{y:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:t,transition:Ae({durationOut:n,easeOut:o})}},inDown:{initial:{y:-t},animate:{y:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:-t,transition:Ae({durationOut:n,easeOut:o})}},inLeft:{initial:{x:-t},animate:{x:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:-t,transition:Ae({durationOut:n,easeOut:o})}},inRight:{initial:{x:t},animate:{x:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:t,transition:Ae({durationOut:n,easeOut:o})}},outUp:{initial:{y:0},animate:{y:-t,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,transition:Ae({durationOut:n,easeOut:o})}},outDown:{initial:{y:0},animate:{y:t,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,transition:Ae({durationOut:n,easeOut:o})}},outLeft:{initial:{x:0},animate:{x:-t,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,transition:Ae({durationOut:n,easeOut:o})}},outRight:{initial:{x:0},animate:{x:t,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,transition:Ae({durationOut:n,easeOut:o})}}}},Mb=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{inX:{initial:{scaleX:0,opacity:0},animate:{scaleX:1,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{scaleX:0,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},inY:{initial:{scaleY:0,opacity:0},animate:{scaleY:1,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{scaleY:0,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},outX:{initial:{scaleX:1,opacity:1},animate:{scaleX:0,opacity:0,transition:Pe({durationIn:t,easeIn:n})}},outY:{initial:{scaleY:1,opacity:1},animate:{scaleY:0,opacity:0,transition:Pe({durationIn:t,easeIn:n})}}}},_b=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{in:{initial:{},animate:{scale:[.3,1.1,.9,1.03,.97,1],opacity:[0,1,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{scale:[.9,1.1,.3],opacity:[1,1,0]}},inUp:{initial:{},animate:{y:[720,-24,12,-4,0],scaleY:[4,.9,.95,.985,1],opacity:[0,1,1,1,1],transition:{...Pe({durationIn:t,easeIn:n})}},exit:{y:[12,-24,720],scaleY:[.985,.9,3],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},inDown:{initial:{},animate:{y:[-720,24,-12,4,0],scaleY:[4,.9,.95,.985,1],opacity:[0,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{y:[-12,24,-720],scaleY:[.985,.9,3],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},inLeft:{initial:{},animate:{x:[-720,24,-12,4,0],scaleX:[3,1,.98,.995,1],opacity:[0,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{x:[0,24,-720],scaleX:[1,.9,2],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},inRight:{initial:{},animate:{x:[720,-24,12,-4,0],scaleX:[3,1,.98,.995,1],opacity:[0,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{x:[0,-24,720],scaleX:[1,.9,2],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},out:{animate:{scale:[.9,1.1,.3],opacity:[1,1,0]}},outUp:{animate:{y:[-12,24,-720],scaleY:[.985,.9,3],opacity:[1,1,0]}},outDown:{animate:{y:[12,-24,720],scaleY:[.985,.9,3],opacity:[1,1,0]}},outLeft:{animate:{x:[0,24,-720],scaleX:[1,.9,2],opacity:[1,1,0]}},outRight:{animate:{x:[0,-24,720],scaleX:[1,.9,2],opacity:[1,1,0]}}}},$b=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{in:{initial:{opacity:0,rotate:-360},animate:{opacity:1,rotate:0,transition:Pe({durationIn:t,easeIn:n})},exit:{opacity:0,rotate:-360,transition:Ae({durationOut:r,easeOut:i})}},out:{initial:{opacity:1,rotate:0},animate:{opacity:0,rotate:-360,transition:Ae({durationOut:r,easeOut:i})}}}},Ab=e=>({hover:{scale:e||1.1}}),ca=e=>{const t=(e==null?void 0:e.staggerIn)||.05,r=(e==null?void 0:e.staggerIn)||.05,n=(e==null?void 0:e.staggerIn)||.05;return{animate:{transition:{staggerChildren:t,delayChildren:r}},exit:{transition:{staggerChildren:n,staggerDirection:-1}}}},kb=e=>{const t=(e==null?void 0:e.colors)||["#19dcea","#b22cff"],r=(e==null?void 0:e.duration)||5,n=(e==null?void 0:e.ease)||"linear";return{animate:{background:t,transition:{duration:r,ease:n}}}},Db=e=>{const t=(e==null?void 0:e.duration)||5,r=(e==null?void 0:e.ease)||"easeOut";return{top:{animate:{scale:[1,1.25],y:[0,-15],transformOrigin:["50% 16%","top"],transition:{duration:t,ease:r}}},right:{animate:{scale:[1,1.25],x:[0,20],y:[0,-15],transformOrigin:["84% 50%","right"],transition:{duration:t,ease:r}}},bottom:{animate:{scale:[1,1.25],y:[0,15],transformOrigin:["50% 84%","bottom"],transition:{duration:t,ease:r}}},left:{animate:{scale:[1,1.25],x:[0,-20],y:[0,15],transformOrigin:["16% 50%","left"],transition:{duration:t,ease:r}}}}},jb=e=>{const t=(e==null?void 0:e.colors)||["#ee7752","#e73c7e","#23a6d5","#23d5ab"],r=(e==null?void 0:e.duration)||5,n=(e==null?void 0:e.ease)||"linear",i=o=>`linear-gradient(${o}deg, ${t})`;return{top:{animate:{backgroundImage:[i(0),i(0)],backgroundPosition:["center 99%","center 1%"],backgroundSize:["100% 600%","100% 600%"],transition:{duration:r,ease:n}}},right:{animate:{backgroundPosition:["1% center","99% center"],backgroundImage:[i(270),i(270)],backgroundSize:["600% 100%","600% 100%"],transition:{duration:r,ease:n}}},bottom:{animate:{backgroundImage:[i(0),i(0)],backgroundPosition:["center 1%","center 99%"],backgroundSize:["100% 600%","100% 600%"],transition:{duration:r,ease:n}}},left:{animate:{backgroundPosition:["99% center","1% center"],backgroundImage:[i(270),i(270)],backgroundSize:["600% 100%","600% 100%"],transition:{duration:r,ease:n}}}}};var Qi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xl={exports:{}},Ji={};/**
1
+ (function(z,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react"),require("@mui/material"),require("@emotion/react"),require("@mui/x-date-pickers-pro"),require("@mui/x-data-grid-premium"),require("react-dom"),require("@emotion/styled"),require("react-hook-form"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","@mui/material","@emotion/react","@mui/x-date-pickers-pro","@mui/x-data-grid-premium","react-dom","@emotion/styled","react-hook-form","react-router-dom"],p):(z=typeof globalThis<"u"?globalThis:z||self,p(z.common={},z.React,z.material,z.react,z.xDatePickersPro,z.xDataGridPremium,z.require$$1,z.emStyled,z.reactHookForm,z.reactRouterDom))})(this,function(z,p,$,bl,Ki,Rn,sd,wb,Mt,_r){"use strict";function Cb(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const be=Cb(p),ld={duration:2,ease:[.43,.13,.23,.96]},Sb={animate:{fillOpacity:[0,0,1],pathLength:[1,.4,0],transition:ld}},Tb=e=>{const t=(e==null?void 0:e.duration)||.32,r=(e==null?void 0:e.ease)||[.43,.13,.23,.96];return{duration:t,ease:r}},Pe=e=>{const t=(e==null?void 0:e.durationIn)||.64,r=(e==null?void 0:e.easeIn)||[.43,.13,.23,.96];return{duration:t,ease:r}},Ae=e=>{const t=(e==null?void 0:e.durationOut)||.48,r=(e==null?void 0:e.easeOut)||[.43,.13,.23,.96];return{duration:t,ease:r}},Zi=e=>{const t=(e==null?void 0:e.distance)||120,r=e==null?void 0:e.durationIn,n=e==null?void 0:e.durationOut,i=e==null?void 0:e.easeIn,o=e==null?void 0:e.easeOut;return{in:{initial:{opacity:0},animate:{opacity:1,transition:Pe},exit:{opacity:0,transition:Ae}},inUp:{initial:{y:t,opacity:0},animate:{y:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{y:t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inDown:{initial:{y:-t,opacity:0},animate:{y:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{y:-t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inLeft:{initial:{x:-t,opacity:0},animate:{x:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{x:-t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inRight:{initial:{x:t,opacity:0},animate:{x:0,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{x:t,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},out:{initial:{opacity:1},animate:{opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outUp:{initial:{y:0,opacity:1},animate:{y:-t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outDown:{initial:{y:0,opacity:1},animate:{y:t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outLeft:{initial:{x:0,opacity:1},animate:{x:-t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}},outRight:{initial:{x:0,opacity:1},animate:{x:t,opacity:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,opacity:1,transition:Ae({durationOut:n,easeOut:o})}}}},Eb=e=>{const t=(e==null?void 0:e.distance)||720,r=e==null?void 0:e.durationIn,n=e==null?void 0:e.durationOut,i=e==null?void 0:e.easeIn,o=e==null?void 0:e.easeOut;return{in:{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,transition:Ae({durationOut:n,easeOut:o})}},inUp:{initial:{scale:0,opacity:0,translateY:t},animate:{scale:1,opacity:1,translateY:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateY:t,transition:Ae({durationOut:n,easeOut:o})}},inDown:{initial:{scale:0,opacity:0,translateY:-t},animate:{scale:1,opacity:1,translateY:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateY:-t,transition:Ae({durationOut:n,easeOut:o})}},inLeft:{initial:{scale:0,opacity:0,translateX:-t},animate:{scale:1,opacity:1,translateX:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateX:-t,transition:Ae({durationOut:n,easeOut:o})}},inRight:{initial:{scale:0,opacity:0,translateX:t},animate:{scale:1,opacity:1,translateX:0,transition:Pe({durationIn:r,easeIn:i})},exit:{scale:0,opacity:0,translateX:t,transition:Ae({durationOut:n,easeOut:o})}},out:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,transition:Pe({durationIn:r,easeIn:i})}},outUp:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateY:-t,transition:Pe({durationIn:r,easeIn:i})}},outDown:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateY:t,transition:Pe({durationIn:r,easeIn:i})}},outLeft:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateX:-t,transition:Pe({durationIn:r,easeIn:i})}},outRight:{initial:{scale:1,opacity:1},animate:{scale:0,opacity:0,translateX:t,transition:Pe({durationIn:r,easeIn:i})}}}},Ob=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{inX:{initial:{rotateX:-180,opacity:0},animate:{rotateX:0,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{rotateX:-180,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},inY:{initial:{rotateY:-180,opacity:0},animate:{rotateY:0,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{rotateY:-180,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},outX:{initial:{rotateX:0,opacity:1},animate:{rotateX:70,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},outY:{initial:{rotateY:0,opacity:1},animate:{rotateY:70,opacity:0,transition:Ae({durationOut:r,easeOut:i})}}}},Pb=e=>{const t=(e==null?void 0:e.distance)||160,r=e==null?void 0:e.durationIn,n=e==null?void 0:e.durationOut,i=e==null?void 0:e.easeIn,o=e==null?void 0:e.easeOut;return{inUp:{initial:{y:t},animate:{y:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:t,transition:Ae({durationOut:n,easeOut:o})}},inDown:{initial:{y:-t},animate:{y:0,transition:Pe({durationIn:r,easeIn:i})},exit:{y:-t,transition:Ae({durationOut:n,easeOut:o})}},inLeft:{initial:{x:-t},animate:{x:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:-t,transition:Ae({durationOut:n,easeOut:o})}},inRight:{initial:{x:t},animate:{x:0,transition:Pe({durationIn:r,easeIn:i})},exit:{x:t,transition:Ae({durationOut:n,easeOut:o})}},outUp:{initial:{y:0},animate:{y:-t,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,transition:Ae({durationOut:n,easeOut:o})}},outDown:{initial:{y:0},animate:{y:t,transition:Pe({durationIn:r,easeIn:i})},exit:{y:0,transition:Ae({durationOut:n,easeOut:o})}},outLeft:{initial:{x:0},animate:{x:-t,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,transition:Ae({durationOut:n,easeOut:o})}},outRight:{initial:{x:0},animate:{x:t,transition:Pe({durationIn:r,easeIn:i})},exit:{x:0,transition:Ae({durationOut:n,easeOut:o})}}}},Mb=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{inX:{initial:{scaleX:0,opacity:0},animate:{scaleX:1,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{scaleX:0,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},inY:{initial:{scaleY:0,opacity:0},animate:{scaleY:1,opacity:1,transition:Pe({durationIn:t,easeIn:n})},exit:{scaleY:0,opacity:0,transition:Ae({durationOut:r,easeOut:i})}},outX:{initial:{scaleX:1,opacity:1},animate:{scaleX:0,opacity:0,transition:Pe({durationIn:t,easeIn:n})}},outY:{initial:{scaleY:1,opacity:1},animate:{scaleY:0,opacity:0,transition:Pe({durationIn:t,easeIn:n})}}}},_b=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{in:{initial:{},animate:{scale:[.3,1.1,.9,1.03,.97,1],opacity:[0,1,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{scale:[.9,1.1,.3],opacity:[1,1,0]}},inUp:{initial:{},animate:{y:[720,-24,12,-4,0],scaleY:[4,.9,.95,.985,1],opacity:[0,1,1,1,1],transition:{...Pe({durationIn:t,easeIn:n})}},exit:{y:[12,-24,720],scaleY:[.985,.9,3],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},inDown:{initial:{},animate:{y:[-720,24,-12,4,0],scaleY:[4,.9,.95,.985,1],opacity:[0,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{y:[-12,24,-720],scaleY:[.985,.9,3],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},inLeft:{initial:{},animate:{x:[-720,24,-12,4,0],scaleX:[3,1,.98,.995,1],opacity:[0,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{x:[0,24,-720],scaleX:[1,.9,2],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},inRight:{initial:{},animate:{x:[720,-24,12,-4,0],scaleX:[3,1,.98,.995,1],opacity:[0,1,1,1,1],transition:Pe({durationIn:t,easeIn:n})},exit:{x:[0,-24,720],scaleX:[1,.9,2],opacity:[1,1,0],transition:Ae({durationOut:r,easeOut:i})}},out:{animate:{scale:[.9,1.1,.3],opacity:[1,1,0]}},outUp:{animate:{y:[-12,24,-720],scaleY:[.985,.9,3],opacity:[1,1,0]}},outDown:{animate:{y:[12,-24,720],scaleY:[.985,.9,3],opacity:[1,1,0]}},outLeft:{animate:{x:[0,24,-720],scaleX:[1,.9,2],opacity:[1,1,0]}},outRight:{animate:{x:[0,-24,720],scaleX:[1,.9,2],opacity:[1,1,0]}}}},$b=e=>{const t=e==null?void 0:e.durationIn,r=e==null?void 0:e.durationOut,n=e==null?void 0:e.easeIn,i=e==null?void 0:e.easeOut;return{in:{initial:{opacity:0,rotate:-360},animate:{opacity:1,rotate:0,transition:Pe({durationIn:t,easeIn:n})},exit:{opacity:0,rotate:-360,transition:Ae({durationOut:r,easeOut:i})}},out:{initial:{opacity:1,rotate:0},animate:{opacity:0,rotate:-360,transition:Ae({durationOut:r,easeOut:i})}}}},Ab=e=>({hover:{scale:e||1.1}}),ca=e=>{const t=(e==null?void 0:e.staggerIn)||.05,r=(e==null?void 0:e.staggerIn)||.05,n=(e==null?void 0:e.staggerIn)||.05;return{animate:{transition:{staggerChildren:t,delayChildren:r}},exit:{transition:{staggerChildren:n,staggerDirection:-1}}}},kb=e=>{const t=(e==null?void 0:e.colors)||["#19dcea","#b22cff"],r=(e==null?void 0:e.duration)||5,n=(e==null?void 0:e.ease)||"linear";return{animate:{background:t,transition:{duration:r,ease:n}}}},Db=e=>{const t=(e==null?void 0:e.duration)||5,r=(e==null?void 0:e.ease)||"easeOut";return{top:{animate:{scale:[1,1.25],y:[0,-15],transformOrigin:["50% 16%","top"],transition:{duration:t,ease:r}}},right:{animate:{scale:[1,1.25],x:[0,20],y:[0,-15],transformOrigin:["84% 50%","right"],transition:{duration:t,ease:r}}},bottom:{animate:{scale:[1,1.25],y:[0,15],transformOrigin:["50% 84%","bottom"],transition:{duration:t,ease:r}}},left:{animate:{scale:[1,1.25],x:[0,-20],y:[0,15],transformOrigin:["16% 50%","left"],transition:{duration:t,ease:r}}}}},jb=e=>{const t=(e==null?void 0:e.colors)||["#ee7752","#e73c7e","#23a6d5","#23d5ab"],r=(e==null?void 0:e.duration)||5,n=(e==null?void 0:e.ease)||"linear",i=o=>`linear-gradient(${o}deg, ${t})`;return{top:{animate:{backgroundImage:[i(0),i(0)],backgroundPosition:["center 99%","center 1%"],backgroundSize:["100% 600%","100% 600%"],transition:{duration:r,ease:n}}},right:{animate:{backgroundPosition:["1% center","99% center"],backgroundImage:[i(270),i(270)],backgroundSize:["600% 100%","600% 100%"],transition:{duration:r,ease:n}}},bottom:{animate:{backgroundImage:[i(0),i(0)],backgroundPosition:["center 1%","center 99%"],backgroundSize:["100% 600%","100% 600%"],transition:{duration:r,ease:n}}},left:{animate:{backgroundPosition:["99% center","1% center"],backgroundImage:[i(270),i(270)],backgroundSize:["600% 100%","600% 100%"],transition:{duration:r,ease:n}}}}};var Qi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xl={exports:{}},Ji={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -14,17 +14,17 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ud;function Lb(){return ud||(ud=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,m="@@iterator";function y(C){if(C===null||typeof C!="object")return null;var B=g&&C[g]||C[m];return typeof B=="function"?B:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(C){{for(var B=arguments.length,J=new Array(B>1?B-1:0),Te=1;Te<B;Te++)J[Te-1]=arguments[Te];T("error",C,J)}}function T(C,B,J){{var Te=x.ReactDebugCurrentFrame,Ye=Te.getStackAddendum();Ye!==""&&(B+="%s",J=J.concat([Ye]));var tt=J.map(function(Re){return String(Re)});tt.unshift("Warning: "+B),Function.prototype.apply.call(console[C],console,tt)}}var P=!1,w=!1,E=!1,O=!1,M=!1,L;L=Symbol.for("react.module.reference");function W(C){return!!(typeof C=="string"||typeof C=="function"||C===n||C===o||M||C===i||C===l||C===u||O||C===h||P||w||E||typeof C=="object"&&C!==null&&(C.$$typeof===d||C.$$typeof===f||C.$$typeof===a||C.$$typeof===s||C.$$typeof===c||C.$$typeof===L||C.getModuleId!==void 0))}function de(C,B,J){var Te=C.displayName;if(Te)return Te;var Ye=B.displayName||B.name||"";return Ye!==""?J+"("+Ye+")":J}function ve(C){return C.displayName||"Context"}function ce(C){if(C==null)return null;if(typeof C.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case n:return"Fragment";case r:return"Portal";case o:return"Profiler";case i:return"StrictMode";case l:return"Suspense";case u:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case s:var B=C;return ve(B)+".Consumer";case a:var J=C;return ve(J._context)+".Provider";case c:return de(C,C.render,"ForwardRef");case f:var Te=C.displayName||null;return Te!==null?Te:ce(C.type)||"Memo";case d:{var Ye=C,tt=Ye._payload,Re=Ye._init;try{return ce(Re(tt))}catch{return null}}}return null}var q=Object.assign,Y=0,ge,Se,We,Me,D,I,Z;function ne(){}ne.__reactDisabledLog=!0;function G(){{if(Y===0){ge=console.log,Se=console.info,We=console.warn,Me=console.error,D=console.group,I=console.groupCollapsed,Z=console.groupEnd;var C={configurable:!0,enumerable:!0,value:ne,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}Y++}}function ue(){{if(Y--,Y===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},C,{value:ge}),info:q({},C,{value:Se}),warn:q({},C,{value:We}),error:q({},C,{value:Me}),group:q({},C,{value:D}),groupCollapsed:q({},C,{value:I}),groupEnd:q({},C,{value:Z})})}Y<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=x.ReactCurrentDispatcher,pe;function K(C,B,J){{if(pe===void 0)try{throw Error()}catch(Ye){var Te=Ye.stack.trim().match(/\n( *(at )?)/);pe=Te&&Te[1]||""}return`
18
- `+pe+C}}var Q=!1,te;{var ye=typeof WeakMap=="function"?WeakMap:Map;te=new ye}function F(C,B){if(!C||Q)return"";{var J=te.get(C);if(J!==void 0)return J}var Te;Q=!0;var Ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var tt;tt=se.current,se.current=null,G();try{if(B){var Re=function(){throw Error()};if(Object.defineProperty(Re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Re,[])}catch(Ur){Te=Ur}Reflect.construct(C,[],Re)}else{try{Re.call()}catch(Ur){Te=Ur}C.call(Re.prototype)}}else{try{throw Error()}catch(Ur){Te=Ur}C()}}catch(Ur){if(Ur&&Te&&typeof Ur.stack=="string"){for(var ke=Ur.stack.split(`
19
- `),Bt=Te.stack.split(`
20
- `),Tt=ke.length-1,Ot=Bt.length-1;Tt>=1&&Ot>=0&&ke[Tt]!==Bt[Ot];)Ot--;for(;Tt>=1&&Ot>=0;Tt--,Ot--)if(ke[Tt]!==Bt[Ot]){if(Tt!==1||Ot!==1)do if(Tt--,Ot--,Ot<0||ke[Tt]!==Bt[Ot]){var sr=`
21
- `+ke[Tt].replace(" at new "," at ");return C.displayName&&sr.includes("<anonymous>")&&(sr=sr.replace("<anonymous>",C.displayName)),typeof C=="function"&&te.set(C,sr),sr}while(Tt>=1&&Ot>=0);break}}}finally{Q=!1,se.current=tt,ue(),Error.prepareStackTrace=Ye}var Xi=C?C.displayName||C.name:"",xb=Xi?K(Xi):"";return typeof C=="function"&&te.set(C,xb),xb}function Le(C,B,J){return F(C,!1)}function ae(C){var B=C.prototype;return!!(B&&B.isReactComponent)}function ut(C,B,J){if(C==null)return"";if(typeof C=="function")return F(C,ae(C));if(typeof C=="string")return K(C);switch(C){case l:return K("Suspense");case u:return K("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case c:return Le(C.render);case f:return ut(C.type,B,J);case d:{var Te=C,Ye=Te._payload,tt=Te._init;try{return ut(tt(Ye),B,J)}catch{}}}return""}var qt=Object.prototype.hasOwnProperty,Nt={},Wr=x.ReactDebugCurrentFrame;function gr(C){if(C){var B=C._owner,J=ut(C.type,C._source,B?B.type:null);Wr.setExtraStackFrame(J)}else Wr.setExtraStackFrame(null)}function mr(C,B,J,Te,Ye){{var tt=Function.call.bind(qt);for(var Re in C)if(tt(C,Re)){var ke=void 0;try{if(typeof C[Re]!="function"){var Bt=Error((Te||"React class")+": "+J+" type `"+Re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[Re]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Bt.name="Invariant Violation",Bt}ke=C[Re](B,Re,Te,J,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Tt){ke=Tt}ke&&!(ke instanceof Error)&&(gr(Ye),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Te||"React class",J,Re,typeof ke),gr(null)),ke instanceof Error&&!(ke.message in Nt)&&(Nt[ke.message]=!0,gr(Ye),b("Failed %s type: %s",J,ke.message),gr(null))}}}var sa=Array.isArray;function fn(C){return sa(C)}function Ln(C){{var B=typeof Symbol=="function"&&Symbol.toStringTag,J=B&&C[Symbol.toStringTag]||C.constructor.name||"Object";return J}}function X(C){try{return me(C),!1}catch{return!0}}function me(C){return""+C}function st(C){if(X(C))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ln(C)),me(C)}var k=x.ReactCurrentOwner,S={key:!0,ref:!0,__self:!0,__source:!0},R,N,we;we={};function Ee(C){if(qt.call(C,"ref")){var B=Object.getOwnPropertyDescriptor(C,"ref").get;if(B&&B.isReactWarning)return!1}return C.ref!==void 0}function Fe(C){if(qt.call(C,"key")){var B=Object.getOwnPropertyDescriptor(C,"key").get;if(B&&B.isReactWarning)return!1}return C.key!==void 0}function _(C,B){if(typeof C.ref=="string"&&k.current&&B&&k.current.stateNode!==B){var J=ce(k.current.type);we[J]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',ce(k.current.type),C.ref),we[J]=!0)}}function j(C,B){{var J=function(){R||(R=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};J.isReactWarning=!0,Object.defineProperty(C,"key",{get:J,configurable:!0})}}function le(C,B){{var J=function(){N||(N=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};J.isReactWarning=!0,Object.defineProperty(C,"ref",{get:J,configurable:!0})}}var ie=function(C,B,J,Te,Ye,tt,Re){var ke={$$typeof:t,type:C,key:B,ref:J,props:Re,_owner:tt};return ke._store={},Object.defineProperty(ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ye}),Object.freeze&&(Object.freeze(ke.props),Object.freeze(ke)),ke};function re(C,B,J,Te,Ye){{var tt,Re={},ke=null,Bt=null;J!==void 0&&(st(J),ke=""+J),Fe(B)&&(st(B.key),ke=""+B.key),Ee(B)&&(Bt=B.ref,_(B,Ye));for(tt in B)qt.call(B,tt)&&!S.hasOwnProperty(tt)&&(Re[tt]=B[tt]);if(C&&C.defaultProps){var Tt=C.defaultProps;for(tt in Tt)Re[tt]===void 0&&(Re[tt]=Tt[tt])}if(ke||Bt){var Ot=typeof C=="function"?C.displayName||C.name||"Unknown":C;ke&&j(Re,Ot),Bt&&le(Re,Ot)}return ie(C,ke,Bt,Ye,Te,k.current,Re)}}var Oe=x.ReactCurrentOwner,it=x.ReactDebugCurrentFrame;function Qe(C){if(C){var B=C._owner,J=ut(C.type,C._source,B?B.type:null);it.setExtraStackFrame(J)}else it.setExtraStackFrame(null)}var Je;Je=!1;function Ct(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function pt(){{if(Oe.current){var C=ce(Oe.current.type);if(C)return`
17
+ */var ud;function Lb(){return ud||(ud=1,process.env.NODE_ENV!=="production"&&function(){var e=p,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=Symbol.iterator,m="@@iterator";function y(C){if(C===null||typeof C!="object")return null;var B=g&&C[g]||C[m];return typeof B=="function"?B:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(C){{for(var B=arguments.length,J=new Array(B>1?B-1:0),Se=1;Se<B;Se++)J[Se-1]=arguments[Se];S("error",C,J)}}function S(C,B,J){{var Se=x.ReactDebugCurrentFrame,Ye=Se.getStackAddendum();Ye!==""&&(B+="%s",J=J.concat([Ye]));var tt=J.map(function(Re){return String(Re)});tt.unshift("Warning: "+B),Function.prototype.apply.call(console[C],console,tt)}}var P=!1,w=!1,E=!1,O=!1,M=!1,L;L=Symbol.for("react.module.reference");function W(C){return!!(typeof C=="string"||typeof C=="function"||C===n||C===o||M||C===i||C===l||C===u||O||C===h||P||w||E||typeof C=="object"&&C!==null&&(C.$$typeof===d||C.$$typeof===f||C.$$typeof===a||C.$$typeof===s||C.$$typeof===c||C.$$typeof===L||C.getModuleId!==void 0))}function de(C,B,J){var Se=C.displayName;if(Se)return Se;var Ye=B.displayName||B.name||"";return Ye!==""?J+"("+Ye+")":J}function ve(C){return C.displayName||"Context"}function ce(C){if(C==null)return null;if(typeof C.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case n:return"Fragment";case r:return"Portal";case o:return"Profiler";case i:return"StrictMode";case l:return"Suspense";case u:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case s:var B=C;return ve(B)+".Consumer";case a:var J=C;return ve(J._context)+".Provider";case c:return de(C,C.render,"ForwardRef");case f:var Se=C.displayName||null;return Se!==null?Se:ce(C.type)||"Memo";case d:{var Ye=C,tt=Ye._payload,Re=Ye._init;try{return ce(Re(tt))}catch{return null}}}return null}var q=Object.assign,Y=0,ge,Te,We,Me,D,I,Z;function ne(){}ne.__reactDisabledLog=!0;function G(){{if(Y===0){ge=console.log,Te=console.info,We=console.warn,Me=console.error,D=console.group,I=console.groupCollapsed,Z=console.groupEnd;var C={configurable:!0,enumerable:!0,value:ne,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}Y++}}function ue(){{if(Y--,Y===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},C,{value:ge}),info:q({},C,{value:Te}),warn:q({},C,{value:We}),error:q({},C,{value:Me}),group:q({},C,{value:D}),groupCollapsed:q({},C,{value:I}),groupEnd:q({},C,{value:Z})})}Y<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=x.ReactCurrentDispatcher,pe;function K(C,B,J){{if(pe===void 0)try{throw Error()}catch(Ye){var Se=Ye.stack.trim().match(/\n( *(at )?)/);pe=Se&&Se[1]||""}return`
18
+ `+pe+C}}var Q=!1,te;{var ye=typeof WeakMap=="function"?WeakMap:Map;te=new ye}function F(C,B){if(!C||Q)return"";{var J=te.get(C);if(J!==void 0)return J}var Se;Q=!0;var Ye=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var tt;tt=se.current,se.current=null,G();try{if(B){var Re=function(){throw Error()};if(Object.defineProperty(Re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Re,[])}catch(Ur){Se=Ur}Reflect.construct(C,[],Re)}else{try{Re.call()}catch(Ur){Se=Ur}C.call(Re.prototype)}}else{try{throw Error()}catch(Ur){Se=Ur}C()}}catch(Ur){if(Ur&&Se&&typeof Ur.stack=="string"){for(var ke=Ur.stack.split(`
19
+ `),Bt=Se.stack.split(`
20
+ `),St=ke.length-1,Ot=Bt.length-1;St>=1&&Ot>=0&&ke[St]!==Bt[Ot];)Ot--;for(;St>=1&&Ot>=0;St--,Ot--)if(ke[St]!==Bt[Ot]){if(St!==1||Ot!==1)do if(St--,Ot--,Ot<0||ke[St]!==Bt[Ot]){var sr=`
21
+ `+ke[St].replace(" at new "," at ");return C.displayName&&sr.includes("<anonymous>")&&(sr=sr.replace("<anonymous>",C.displayName)),typeof C=="function"&&te.set(C,sr),sr}while(St>=1&&Ot>=0);break}}}finally{Q=!1,se.current=tt,ue(),Error.prepareStackTrace=Ye}var Xi=C?C.displayName||C.name:"",xb=Xi?K(Xi):"";return typeof C=="function"&&te.set(C,xb),xb}function Le(C,B,J){return F(C,!1)}function ae(C){var B=C.prototype;return!!(B&&B.isReactComponent)}function ut(C,B,J){if(C==null)return"";if(typeof C=="function")return F(C,ae(C));if(typeof C=="string")return K(C);switch(C){case l:return K("Suspense");case u:return K("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case c:return Le(C.render);case f:return ut(C.type,B,J);case d:{var Se=C,Ye=Se._payload,tt=Se._init;try{return ut(tt(Ye),B,J)}catch{}}}return""}var qt=Object.prototype.hasOwnProperty,Nt={},Wr=x.ReactDebugCurrentFrame;function gr(C){if(C){var B=C._owner,J=ut(C.type,C._source,B?B.type:null);Wr.setExtraStackFrame(J)}else Wr.setExtraStackFrame(null)}function mr(C,B,J,Se,Ye){{var tt=Function.call.bind(qt);for(var Re in C)if(tt(C,Re)){var ke=void 0;try{if(typeof C[Re]!="function"){var Bt=Error((Se||"React class")+": "+J+" type `"+Re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[Re]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Bt.name="Invariant Violation",Bt}ke=C[Re](B,Re,Se,J,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(St){ke=St}ke&&!(ke instanceof Error)&&(gr(Ye),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Se||"React class",J,Re,typeof ke),gr(null)),ke instanceof Error&&!(ke.message in Nt)&&(Nt[ke.message]=!0,gr(Ye),b("Failed %s type: %s",J,ke.message),gr(null))}}}var sa=Array.isArray;function fn(C){return sa(C)}function Ln(C){{var B=typeof Symbol=="function"&&Symbol.toStringTag,J=B&&C[Symbol.toStringTag]||C.constructor.name||"Object";return J}}function X(C){try{return me(C),!1}catch{return!0}}function me(C){return""+C}function st(C){if(X(C))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ln(C)),me(C)}var k=x.ReactCurrentOwner,T={key:!0,ref:!0,__self:!0,__source:!0},R,N,we;we={};function Ee(C){if(qt.call(C,"ref")){var B=Object.getOwnPropertyDescriptor(C,"ref").get;if(B&&B.isReactWarning)return!1}return C.ref!==void 0}function Fe(C){if(qt.call(C,"key")){var B=Object.getOwnPropertyDescriptor(C,"key").get;if(B&&B.isReactWarning)return!1}return C.key!==void 0}function _(C,B){if(typeof C.ref=="string"&&k.current&&B&&k.current.stateNode!==B){var J=ce(k.current.type);we[J]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',ce(k.current.type),C.ref),we[J]=!0)}}function j(C,B){{var J=function(){R||(R=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};J.isReactWarning=!0,Object.defineProperty(C,"key",{get:J,configurable:!0})}}function le(C,B){{var J=function(){N||(N=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",B))};J.isReactWarning=!0,Object.defineProperty(C,"ref",{get:J,configurable:!0})}}var ie=function(C,B,J,Se,Ye,tt,Re){var ke={$$typeof:t,type:C,key:B,ref:J,props:Re,_owner:tt};return ke._store={},Object.defineProperty(ke._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ke,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Se}),Object.defineProperty(ke,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ye}),Object.freeze&&(Object.freeze(ke.props),Object.freeze(ke)),ke};function re(C,B,J,Se,Ye){{var tt,Re={},ke=null,Bt=null;J!==void 0&&(st(J),ke=""+J),Fe(B)&&(st(B.key),ke=""+B.key),Ee(B)&&(Bt=B.ref,_(B,Ye));for(tt in B)qt.call(B,tt)&&!T.hasOwnProperty(tt)&&(Re[tt]=B[tt]);if(C&&C.defaultProps){var St=C.defaultProps;for(tt in St)Re[tt]===void 0&&(Re[tt]=St[tt])}if(ke||Bt){var Ot=typeof C=="function"?C.displayName||C.name||"Unknown":C;ke&&j(Re,Ot),Bt&&le(Re,Ot)}return ie(C,ke,Bt,Ye,Se,k.current,Re)}}var Oe=x.ReactCurrentOwner,it=x.ReactDebugCurrentFrame;function Qe(C){if(C){var B=C._owner,J=ut(C.type,C._source,B?B.type:null);it.setExtraStackFrame(J)}else it.setExtraStackFrame(null)}var Je;Je=!1;function Ct(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function pt(){{if(Oe.current){var C=ce(Oe.current.type);if(C)return`
22
22
 
23
- Check the render method of \``+C+"`."}return""}}function At(C){{if(C!==void 0){var B=C.fileName.replace(/^.*[\\\/]/,""),J=C.lineNumber;return`
23
+ Check the render method of \``+C+"`."}return""}}function kt(C){{if(C!==void 0){var B=C.fileName.replace(/^.*[\\\/]/,""),J=C.lineNumber;return`
24
24
 
25
25
  Check your code at `+B+":"+J+"."}return""}}var Vr={};function Hr(C){{var B=pt();if(!B){var J=typeof C=="string"?C:C.displayName||C.name;J&&(B=`
26
26
 
27
- Check the top-level render call using <`+J+">.")}return B}}function Fn(C,B){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var J=Hr(B);if(Vr[J])return;Vr[J]=!0;var Te="";C&&C._owner&&C._owner!==Oe.current&&(Te=" It was passed a child from "+ce(C._owner.type)+"."),Qe(C),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',J,Te),Qe(null)}}function la(C,B){{if(typeof C!="object")return;if(fn(C))for(var J=0;J<C.length;J++){var Te=C[J];Ct(Te)&&Fn(Te,B)}else if(Ct(C))C._store&&(C._store.validated=!0);else if(C){var Ye=y(C);if(typeof Ye=="function"&&Ye!==C.entries)for(var tt=Ye.call(C),Re;!(Re=tt.next()).done;)Ct(Re.value)&&Fn(Re.value,B)}}}function yl(C){{var B=C.type;if(B==null||typeof B=="string")return;var J;if(typeof B=="function")J=B.propTypes;else if(typeof B=="object"&&(B.$$typeof===c||B.$$typeof===f))J=B.propTypes;else return;if(J){var Te=ce(B);mr(J,C.props,"prop",Te,C)}else if(B.PropTypes!==void 0&&!Je){Je=!0;var Ye=ce(B);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ye||"Unknown")}typeof B.getDefaultProps=="function"&&!B.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hq(C){{for(var B=Object.keys(C.props),J=0;J<B.length;J++){var Te=B[J];if(Te!=="children"&&Te!=="key"){Qe(C),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),Qe(null);break}}C.ref!==null&&(Qe(C),b("Invalid attribute `ref` supplied to `React.Fragment`."),Qe(null))}}function bb(C,B,J,Te,Ye,tt){{var Re=W(C);if(!Re){var ke="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Bt=At(Ye);Bt?ke+=Bt:ke+=pt();var Tt;C===null?Tt="null":fn(C)?Tt="array":C!==void 0&&C.$$typeof===t?(Tt="<"+(ce(C.type)||"Unknown")+" />",ke=" Did you accidentally export a JSX literal instead of a component?"):Tt=typeof C,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Tt,ke)}var Ot=re(C,B,J,Ye,tt);if(Ot==null)return Ot;if(Re){var sr=B.children;if(sr!==void 0)if(Te)if(fn(sr)){for(var Xi=0;Xi<sr.length;Xi++)la(sr[Xi],C);Object.freeze&&Object.freeze(sr)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else la(sr,C)}return C===n?Hq(Ot):yl(Ot),Ot}}function Uq(C,B,J){return bb(C,B,J,!0)}function Yq(C,B,J){return bb(C,B,J,!1)}var Gq=Yq,qq=Uq;eo.Fragment=n,eo.jsx=Gq,eo.jsxs=qq}()),eo}process.env.NODE_ENV==="production"?xl.exports=Ib():xl.exports=Lb();var v=xl.exports;const fd=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ua=p.createContext({}),fa=p.createContext(null),da=typeof document<"u",wl=da?p.useLayoutEffect:p.useEffect,Cl=p.createContext({strict:!1});function Fb(e,t,r,n){const{visualElement:i}=p.useContext(ua),o=p.useContext(Cl),a=p.useContext(fa),s=p.useContext(fd).reducedMotion,c=p.useRef();n=n||o.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const l=c.current;p.useInsertionEffect(()=>{l&&l.update(r,a)});const u=p.useRef(!!window.HandoffAppearAnimations);return wl(()=>{l&&(l.render(),u.current&&l.animationState&&l.animationState.animateChanges())}),p.useEffect(()=>{l&&(l.updateFeatures(),!u.current&&l.animationState&&l.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1)}),l}function Nn(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Rb(e,t,r){return p.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Nn(r)&&(r.current=n))},[t])}function to(e){return typeof e=="string"||Array.isArray(e)}function ha(e){return typeof e=="object"&&typeof e.start=="function"}const Tl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Sl=["initial",...Tl];function pa(e){return ha(e.animate)||Sl.some(t=>to(e[t]))}function dd(e){return!!(pa(e)||e.variants)}function Nb(e,t){if(pa(e)){const{initial:r,animate:n}=e;return{initial:r===!1||to(r)?r:void 0,animate:to(n)?n:void 0}}return e.inherit!==!1?t:{}}function Bb(e){const{initial:t,animate:r}=Nb(e,p.useContext(ua));return p.useMemo(()=>({initial:t,animate:r}),[hd(t),hd(r)])}function hd(e){return Array.isArray(e)?e.join(" "):e}const pd={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"]},ro={};for(const e in pd)ro[e]={isEnabled:t=>pd[e].some(r=>!!t[r])};function El(e){for(const t in e)ro[t]={...ro[t],...e[t]}}const Ol=p.createContext({}),gd=p.createContext({}),zb=Symbol.for("motionComponentSymbol");function Wb({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&El(e);function o(s,c){let l;const u={...p.useContext(fd),...s,layoutId:Vb(s)},{isStatic:f}=u,d=Bb(s),h=n(s,f);if(!f&&da){d.visualElement=Fb(i,h,u,t);const g=p.useContext(gd),m=p.useContext(Cl).strict;d.visualElement&&(l=d.visualElement.loadFeatures(u,m,e,g))}return be.createElement(ua.Provider,{value:d},l&&d.visualElement?be.createElement(l,{visualElement:d.visualElement,...u}):null,r(i,s,Rb(h,d.visualElement,c),h,f,d.visualElement))}const a=p.forwardRef(o);return a[zb]=i,a}function Vb({layoutId:e}){const t=p.useContext(Ol).id;return t&&e!==void 0?t+"-"+e:e}function Hb(e){function t(n,i={}){return Wb(e(n,i))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}const Ub=["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 Pl(e){return typeof e!="string"||e.includes("-")?!1:!!(Ub.indexOf(e)>-1||/[A-Z]/.test(e))}const ga={};function Yb(e){Object.assign(ga,e)}const no=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hn=new Set(no);function md(e,{layout:t,layoutId:r}){return hn.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!ga[e]||e==="opacity")}const zt=e=>!!(e&&e.getVelocity),Gb={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qb=no.length;function Xb(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let o="";for(let a=0;a<qb;a++){const s=no[a];if(e[s]!==void 0){const c=Gb[s]||s;o+=`${c}(${e[s]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,n?"":o):r&&n&&(o="none"),o}const vd=e=>t=>typeof t=="string"&&t.startsWith(e),yd=vd("--"),Ml=vd("var(--"),Kb=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Zb=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Yr=(e,t,r)=>Math.min(Math.max(r,e),t),pn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},io={...pn,transform:e=>Yr(0,1,e)},ma={...pn,default:1},oo=e=>Math.round(e*1e5)/1e5,va=/(-)?([\d]*\.?[\d])+/g,bd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Qb=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ao(e){return typeof e=="string"}const so=e=>({test:t=>ao(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gr=so("deg"),vr=so("%"),xe=so("px"),Jb=so("vh"),e2=so("vw"),xd={...vr,parse:e=>vr.parse(e)/100,transform:e=>vr.transform(e*100)},wd={...pn,transform:Math.round},Cd={borderWidth:xe,borderTopWidth:xe,borderRightWidth:xe,borderBottomWidth:xe,borderLeftWidth:xe,borderRadius:xe,radius:xe,borderTopLeftRadius:xe,borderTopRightRadius:xe,borderBottomRightRadius:xe,borderBottomLeftRadius:xe,width:xe,maxWidth:xe,height:xe,maxHeight:xe,size:xe,top:xe,right:xe,bottom:xe,left:xe,padding:xe,paddingTop:xe,paddingRight:xe,paddingBottom:xe,paddingLeft:xe,margin:xe,marginTop:xe,marginRight:xe,marginBottom:xe,marginLeft:xe,rotate:Gr,rotateX:Gr,rotateY:Gr,rotateZ:Gr,scale:ma,scaleX:ma,scaleY:ma,scaleZ:ma,skew:Gr,skewX:Gr,skewY:Gr,distance:xe,translateX:xe,translateY:xe,translateZ:xe,x:xe,y:xe,z:xe,perspective:xe,transformPerspective:xe,opacity:io,originX:xd,originY:xd,originZ:xe,zIndex:wd,fillOpacity:io,strokeOpacity:io,numOctaves:wd};function _l(e,t,r,n){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let c=!1,l=!1,u=!0;for(const f in t){const d=t[f];if(yd(f)){o[f]=d;continue}const h=Cd[f],g=Zb(d,h);if(hn.has(f)){if(c=!0,a[f]=g,!u)continue;d!==(h.default||0)&&(u=!1)}else f.startsWith("origin")?(l=!0,s[f]=g):i[f]=g}if(t.transform||(c||n?i.transform=Xb(e.transform,r,u,n):i.transform&&(i.transform="none")),l){const{originX:f="50%",originY:d="50%",originZ:h=0}=s;i.transformOrigin=`${f} ${d} ${h}`}}const $l=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Td(e,t,r){for(const n in t)!zt(t[n])&&!md(n,r)&&(e[n]=t[n])}function t2({transformTemplate:e},t,r){return p.useMemo(()=>{const n=$l();return _l(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function r2(e,t,r){const n=e.style||{},i={};return Td(i,n,e),Object.assign(i,t2(e,t,r)),e.transformValues?e.transformValues(i):i}function n2(e,t,r){const n={},i=r2(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const i2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function ya(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||i2.has(e)}let Sd=e=>!ya(e);function o2(e){e&&(Sd=t=>t.startsWith("on")?!ya(t):e(t))}try{o2(require("@emotion/is-prop-valid").default)}catch{}function a2(e,t,r){const n={};for(const i in e)i==="values"&&typeof e.values=="object"||(Sd(i)||r===!0&&ya(i)||!t&&!ya(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function Ed(e,t,r){return typeof e=="string"?e:xe.transform(t+r*e)}function s2(e,t,r){const n=Ed(t,e.x,e.width),i=Ed(r,e.y,e.height);return`${n} ${i}`}const l2={offset:"stroke-dashoffset",array:"stroke-dasharray"},c2={offset:"strokeDashoffset",array:"strokeDasharray"};function u2(e,t,r=1,n=0,i=!0){e.pathLength=1;const o=i?l2:c2;e[o.offset]=xe.transform(-n);const a=xe.transform(t),s=xe.transform(r);e[o.array]=`${a} ${s}`}function Al(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:c=0,...l},u,f,d){if(_l(e,l,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:g,dimensions:m}=e;h.transform&&(m&&(g.transform=h.transform),delete h.transform),m&&(i!==void 0||o!==void 0||g.transform)&&(g.transformOrigin=s2(m,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),a!==void 0&&u2(h,a,s,c,!1)}const Od=()=>({...$l(),attrs:{}}),kl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function f2(e,t,r,n){const i=p.useMemo(()=>{const o=Od();return Al(o,t,{enableHardwareAcceleration:!1},kl(n),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Td(o,e.style,e),i.style={...o,...i.style}}return i}function d2(e=!1){return(r,n,i,{latestValues:o},a)=>{const c=(Pl(r)?f2:n2)(n,o,a,r),u={...a2(n,typeof r=="string",e),...c,ref:i},{children:f}=n,d=p.useMemo(()=>zt(f)?f.get():f,[f]);return p.createElement(r,{...u,children:d})}}const Dl=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Pd(e,{style:t,vars:r},n,i){Object.assign(e.style,t,i&&i.getProjectionStyles(n));for(const o in r)e.style.setProperty(o,r[o])}const Md=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 _d(e,t,r,n){Pd(e,t,void 0,n);for(const i in t.attrs)e.setAttribute(Md.has(i)?i:Dl(i),t.attrs[i])}function jl(e,t){const{style:r}=e,n={};for(const i in r)(zt(r[i])||t.style&&zt(t.style[i])||md(i,e))&&(n[i]=r[i]);return n}function $d(e,t){const r=jl(e,t);for(const n in e)if(zt(e[n])||zt(t[n])){const i=no.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[i]=e[n]}return r}function Il(e,t,r,n={},i={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),t}function Ad(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const ba=e=>Array.isArray(e),h2=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),p2=e=>ba(e)?e[e.length-1]||0:e;function xa(e){const t=zt(e)?e.get():e;return h2(t)?t.toValue():t}function g2({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){const a={latestValues:m2(n,i,o,e),renderState:t()};return r&&(a.mount=s=>r(n,s,a)),a}const kd=e=>(t,r)=>{const n=p.useContext(ua),i=p.useContext(fa),o=()=>g2(e,t,n,i);return r?o():Ad(o)};function m2(e,t,r,n){const i={},o=n(e,{});for(const d in o)i[d]=xa(o[d]);let{initial:a,animate:s}=e;const c=pa(e),l=dd(e);t&&l&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;const f=u?s:a;return f&&typeof f!="boolean"&&!ha(f)&&(Array.isArray(f)?f:[f]).forEach(h=>{const g=Il(e,h);if(!g)return;const{transitionEnd:m,transition:y,...x}=g;for(const b in x){let T=x[b];if(Array.isArray(T)){const P=u?T.length-1:0;T=T[P]}T!==null&&(i[b]=T)}for(const b in m)i[b]=m[b]}),i}const gt=e=>e;class Dd{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 r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function v2(e){let t=new Dd,r=new Dd,n=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(c,l=!1,u=!1)=>{const f=u&&i,d=f?t:r;return l&&a.add(c),d.add(c)&&f&&i&&(n=t.order.length),c},cancel:c=>{r.remove(c),a.delete(c)},process:c=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let l=0;l<n;l++){const u=t.order[l];u(c),a.has(u)&&(s.schedule(u),e())}i=!1,o&&(o=!1,s.process(c))}};return s}const wa=["prepare","read","update","preRender","render","postRender"],y2=40;function b2(e,t){let r=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=wa.reduce((f,d)=>(f[d]=v2(()=>r=!0),f),{}),a=f=>o[f].process(i),s=()=>{const f=performance.now();r=!1,i.delta=n?1e3/60:Math.max(Math.min(f-i.timestamp,y2),1),i.timestamp=f,i.isProcessing=!0,wa.forEach(a),i.isProcessing=!1,r&&t&&(n=!1,e(s))},c=()=>{r=!0,n=!0,i.isProcessing||e(s)};return{schedule:wa.reduce((f,d)=>{const h=o[d];return f[d]=(g,m=!1,y=!1)=>(r||c(),h.schedule(g,m,y)),f},{}),cancel:f=>wa.forEach(d=>o[d].cancel(f)),state:i,steps:o}}const{schedule:rt,cancel:$r,state:Mt,steps:Ll}=b2(typeof requestAnimationFrame<"u"?requestAnimationFrame:gt,!0),x2={useVisualState:kd({scrapeMotionValuesFromProps:$d,createRenderState:Od,onMount:(e,t,{renderState:r,latestValues:n})=>{rt.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),rt.render(()=>{Al(r,n,{enableHardwareAcceleration:!1},kl(t.tagName),e.transformTemplate),_d(t,r)})}})},w2={useVisualState:kd({scrapeMotionValuesFromProps:jl,createRenderState:$l})};function C2(e,{forwardMotionProps:t=!1},r,n){return{...Pl(e)?x2:w2,preloadedFeatures:r,useRender:d2(t),createVisualElement:n,Component:e}}function Ar(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const jd=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ca(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const T2=e=>t=>jd(t)&&e(t,Ca(t));function kr(e,t,r,n){return Ar(e,t,T2(r),n)}const S2=(e,t)=>r=>t(e(r)),qr=(...e)=>e.reduce(S2);function Id(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Ld=Id("dragHorizontal"),Fd=Id("dragVertical");function Rd(e){let t=!1;if(e==="y")t=Fd();else if(e==="x")t=Ld();else{const r=Ld(),n=Fd();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Nd(){const e=Rd(!0);return e?(e(),!1):!0}class Xr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Bd(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),i=(o,a)=>{if(o.type==="touch"||Nd())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[n]&&rt.update(()=>s[n](o,a))};return kr(e.current,r,i,{passive:!e.getProps()[n]})}class E2 extends Xr{mount(){this.unmount=qr(Bd(this.node,!0),Bd(this.node,!1))}unmount(){}}class O2 extends Xr{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=qr(Ar(this.node.current,"focus",()=>this.onFocus()),Ar(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const zd=(e,t)=>t?e===t?!0:zd(e,t.parentElement):!1;function Fl(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Ca(r))}class P2 extends Xr{constructor(){super(...arguments),this.removeStartListeners=gt,this.removeEndListeners=gt,this.removeAccessibleListeners=gt,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=kr(window,"pointerup",(s,c)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:u}=this.node.getProps();rt.update(()=>{zd(this.node.current,s.target)?l&&l(s,c):u&&u(s,c)})},{passive:!(n.onTap||n.onPointerUp)}),a=kr(window,"pointercancel",(s,c)=>this.cancelPress(s,c),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=qr(o,a),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const a=s=>{s.key!=="Enter"||!this.checkPressEnd()||Fl("up",(c,l)=>{const{onTap:u}=this.node.getProps();u&&rt.update(()=>u(c,l))})};this.removeEndListeners(),this.removeEndListeners=Ar(this.node.current,"keyup",a),Fl("down",(s,c)=>{this.startPress(s,c)})},r=Ar(this.node.current,"keydown",t),n=()=>{this.isPressing&&Fl("cancel",(o,a)=>this.cancelPress(o,a))},i=Ar(this.node.current,"blur",n);this.removeAccessibleListeners=qr(r,i)}}startPress(t,r){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&rt.update(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Nd()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&rt.update(()=>n(t,r))}mount(){const t=this.node.getProps(),r=kr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Ar(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=qr(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Rl=new WeakMap,Nl=new WeakMap,M2=e=>{const t=Rl.get(e.target);t&&t(e)},_2=e=>{e.forEach(M2)};function $2({root:e,...t}){const r=e||document;Nl.has(r)||Nl.set(r,{});const n=Nl.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(_2,{root:e,...t})),n[i]}function A2(e,t,r){const n=$2(t);return Rl.set(e,r),n.observe(e),()=>{Rl.delete(e),n.unobserve(e)}}const k2={some:0,all:1};class D2 extends Xr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:i="some",once:o}=t,a={root:r?r.current:void 0,rootMargin:n,threshold:typeof i=="number"?i:k2[i]},s=c=>{const{isIntersecting:l}=c;if(this.isInView===l||(this.isInView=l,o&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),d=l?u:f;d&&d(c)};return A2(this.node.current,a,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(j2(t,r))&&this.startObserver()}unmount(){}}function j2({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const I2={inView:{Feature:D2},tap:{Feature:P2},focus:{Feature:O2},hover:{Feature:E2}};function Wd(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function L2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function F2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function Ta(e,t,r){const n=e.getProps();return Il(n,t,r!==void 0?r:n.custom,L2(e),F2(e))}const R2="data-"+Dl("framerAppearId");let lo=gt,lr=gt;process.env.NODE_ENV!=="production"&&(lo=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},lr=(e,t)=>{if(!e)throw new Error(t)});const Kr=e=>e*1e3,Dr=e=>e/1e3,N2={current:!1},Vd=e=>Array.isArray(e)&&typeof e[0]=="number";function Hd(e){return!!(!e||typeof e=="string"&&Ud[e]||Vd(e)||Array.isArray(e)&&e.every(Hd))}const co=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Ud={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:co([0,.65,.55,1]),circOut:co([.55,0,1,.45]),backIn:co([.31,.01,.66,-.59]),backOut:co([.33,1.53,.69,.99])};function Yd(e){if(e)return Vd(e)?co(e):Array.isArray(e)?e.map(Yd):Ud[e]}function B2(e,t,r,{delay:n=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:c}={}){const l={[t]:r};c&&(l.offset=c);const u=Yd(s);return Array.isArray(u)&&(l.easing=u),e.animate(l,{delay:n,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}function z2(e,{repeat:t,repeatType:r="loop"}){const n=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[n]}const Gd=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,W2=1e-7,V2=12;function H2(e,t,r,n,i){let o,a,s=0;do a=t+(r-t)/2,o=Gd(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>W2&&++s<V2);return a}function uo(e,t,r,n){if(e===t&&r===n)return gt;const i=o=>H2(o,0,1,e,r);return o=>o===0||o===1?o:Gd(i(o),t,n)}const U2=uo(.42,0,1,1),Y2=uo(0,0,.58,1),qd=uo(.42,0,.58,1),G2=e=>Array.isArray(e)&&typeof e[0]!="number",Xd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Kd=e=>t=>1-e(1-t),Zd=e=>1-Math.sin(Math.acos(e)),Bl=Kd(Zd),q2=Xd(Bl),Qd=uo(.33,1.53,.69,.99),zl=Kd(Qd),X2=Xd(zl),Jd={linear:gt,easeIn:U2,easeInOut:qd,easeOut:Y2,circIn:Zd,circInOut:q2,circOut:Bl,backIn:zl,backInOut:X2,backOut:Qd,anticipate:e=>(e*=2)<1?.5*zl(e):.5*(2-Math.pow(2,-10*(e-1)))},eh=e=>{if(Array.isArray(e)){lr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,i]=e;return uo(t,r,n,i)}else if(typeof e=="string")return lr(Jd[e]!==void 0,`Invalid easing type '${e}'`),Jd[e];return e},Wl=(e,t)=>r=>!!(ao(r)&&Qb.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),th=(e,t,r)=>n=>{if(!ao(n))return n;const[i,o,a,s]=n.match(va);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},K2=e=>Yr(0,255,e),Vl={...pn,transform:e=>Math.round(K2(e))},gn={test:Wl("rgb","red"),parse:th("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Vl.transform(e)+", "+Vl.transform(t)+", "+Vl.transform(r)+", "+oo(io.transform(n))+")"};function Z2(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const Hl={test:Wl("#"),parse:Z2,transform:gn.transform},Bn={test:Wl("hsl","hue"),parse:th("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+vr.transform(oo(t))+", "+vr.transform(oo(r))+", "+oo(io.transform(n))+")"},Rt={test:e=>gn.test(e)||Hl.test(e)||Bn.test(e),parse:e=>gn.test(e)?gn.parse(e):Bn.test(e)?Bn.parse(e):Hl.parse(e),transform:e=>ao(e)?e:e.hasOwnProperty("red")?gn.transform(e):Bn.transform(e)},ft=(e,t,r)=>-r*e+r*t+e;function Ul(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Q2({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;i=Ul(c,s,e+1/3),o=Ul(c,s,e),a=Ul(c,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const Yl=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},J2=[Hl,gn,Bn],ex=e=>J2.find(t=>t.test(e));function rh(e){const t=ex(e);lr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Bn&&(r=Q2(r)),r}const nh=(e,t)=>{const r=rh(e),n=rh(t),i={...r};return o=>(i.red=Yl(r.red,n.red,o),i.green=Yl(r.green,n.green,o),i.blue=Yl(r.blue,n.blue,o),i.alpha=ft(r.alpha,n.alpha,o),gn.transform(i))};function tx(e){var t,r;return isNaN(e)&&ao(e)&&(((t=e.match(va))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(bd))===null||r===void 0?void 0:r.length)||0)>0}const ih={regex:Kb,countKey:"Vars",token:"${v}",parse:gt},oh={regex:bd,countKey:"Colors",token:"${c}",parse:Rt.parse},ah={regex:va,countKey:"Numbers",token:"${n}",parse:pn.parse};function Gl(e,{regex:t,countKey:r,token:n,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+r]=o.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...o.map(i)))}function Sa(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Gl(r,ih),Gl(r,oh),Gl(r,ah),r}function sh(e){return Sa(e).values}function lh(e){const{values:t,numColors:r,numVars:n,tokenised:i}=Sa(e),o=t.length;return a=>{let s=i;for(let c=0;c<o;c++)c<n?s=s.replace(ih.token,a[c]):c<n+r?s=s.replace(oh.token,Rt.transform(a[c])):s=s.replace(ah.token,oo(a[c]));return s}}const rx=e=>typeof e=="number"?0:e;function nx(e){const t=sh(e);return lh(e)(t.map(rx))}const Zr={test:tx,parse:sh,createTransformer:lh,getAnimatableNone:nx},ch=(e,t)=>r=>`${r>0?t:e}`;function uh(e,t){return typeof e=="number"?r=>ft(e,t,r):Rt.test(e)?nh(e,t):e.startsWith("var(")?ch(e,t):dh(e,t)}const fh=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>uh(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},ix=(e,t)=>{const r={...e,...t},n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=uh(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}},dh=(e,t)=>{const r=Zr.createTransformer(t),n=Sa(e),i=Sa(t);return n.numVars===i.numVars&&n.numColors===i.numColors&&n.numNumbers>=i.numNumbers?qr(fh(n.values,i.values),r):(lo(!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.`),ch(e,t))},fo=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},hh=(e,t)=>r=>ft(e,t,r);function ox(e){return typeof e=="number"?hh:typeof e=="string"?Rt.test(e)?nh:dh:Array.isArray(e)?fh:typeof e=="object"?ix:hh}function ax(e,t,r){const n=[],i=r||ox(e[0]),o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||gt:t;s=qr(c,s)}n.push(s)}return n}function ph(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;if(lr(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=ax(t,n,i),s=a.length,c=l=>{let u=0;if(s>1)for(;u<e.length-2&&!(l<e[u+1]);u++);const f=fo(e[u],e[u+1],l);return a[u](f)};return r?l=>c(Yr(e[0],e[o-1],l)):c}function sx(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const i=fo(0,t,n);e.push(ft(r,1,i))}}function lx(e){const t=[0];return sx(t,e.length-1),t}function cx(e,t){return e.map(r=>r*t)}function ux(e,t){return e.map(()=>t||qd).splice(0,e.length-1)}function Ea({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const i=G2(n)?n.map(eh):eh(n),o={done:!1,value:t[0]},a=cx(r&&r.length===t.length?r:lx(t),e),s=ph(a,t,{ease:Array.isArray(i)?i:ux(t,i)});return{calculatedDuration:e,next:c=>(o.value=s(c),o.done=c>=e,o)}}function gh(e,t){return t?e*(1e3/t):0}const fx=5;function mh(e,t,r){const n=Math.max(t-fx,0);return gh(r-e(n),t-n)}const ql=.001,dx=.01,vh=10,hx=.05,px=1;function gx({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;lo(e<=Kr(vh),"Spring duration must be 10 seconds or less");let a=1-t;a=Yr(hx,px,a),e=Yr(dx,vh,Dr(e)),a<1?(i=l=>{const u=l*a,f=u*e,d=u-r,h=Xl(l,a),g=Math.exp(-f);return ql-d/h*g},o=l=>{const f=l*a*e,d=f*r+r,h=Math.pow(a,2)*Math.pow(l,2)*e,g=Math.exp(-f),m=Xl(Math.pow(l,2),a);return(-i(l)+ql>0?-1:1)*((d-h)*g)/m}):(i=l=>{const u=Math.exp(-l*e),f=(l-r)*e+1;return-ql+u*f},o=l=>{const u=Math.exp(-l*e),f=(r-l)*(e*e);return u*f});const s=5/e,c=vx(i,o,s);if(e=Kr(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(c,2)*n;return{stiffness:l,damping:a*2*Math.sqrt(n*l),duration:e}}}const mx=12;function vx(e,t,r){let n=r;for(let i=1;i<mx;i++)n=n-e(n)/t(n);return n}function Xl(e,t){return e*Math.sqrt(1-t*t)}const yx=["duration","bounce"],bx=["stiffness","damping","mass"];function yh(e,t){return t.some(r=>e[r]!==void 0)}function xx(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!yh(e,bx)&&yh(e,yx)){const r=gx(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function bh({keyframes:e,restDelta:t,restSpeed:r,...n}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:c,mass:l,velocity:u,duration:f,isResolvedFromDuration:d}=xx(n),h=u?-Dr(u):0,g=c/(2*Math.sqrt(s*l)),m=o-i,y=Dr(Math.sqrt(s/l)),x=Math.abs(m)<5;r||(r=x?.01:2),t||(t=x?.005:.5);let b;if(g<1){const T=Xl(y,g);b=P=>{const w=Math.exp(-g*y*P);return o-w*((h+g*y*m)/T*Math.sin(T*P)+m*Math.cos(T*P))}}else if(g===1)b=T=>o-Math.exp(-y*T)*(m+(h+y*m)*T);else{const T=y*Math.sqrt(g*g-1);b=P=>{const w=Math.exp(-g*y*P),E=Math.min(T*P,300);return o-w*((h+g*y*m)*Math.sinh(E)+T*m*Math.cosh(E))/T}}return{calculatedDuration:d&&f||null,next:T=>{const P=b(T);if(d)a.done=T>=f;else{let w=h;T!==0&&(g<1?w=mh(b,T,P):w=0);const E=Math.abs(w)<=r,O=Math.abs(o-P)<=t;a.done=E&&O}return a.value=a.done?o:P,a}}}function xh({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:c,restDelta:l=.5,restSpeed:u}){const f=e[0],d={done:!1,value:f},h=M=>s!==void 0&&M<s||c!==void 0&&M>c,g=M=>s===void 0?c:c===void 0||Math.abs(s-M)<Math.abs(c-M)?s:c;let m=r*t;const y=f+m,x=a===void 0?y:a(y);x!==y&&(m=x-f);const b=M=>-m*Math.exp(-M/n),T=M=>x+b(M),P=M=>{const L=b(M),W=T(M);d.done=Math.abs(L)<=l,d.value=d.done?x:W};let w,E;const O=M=>{h(d.value)&&(w=M,E=bh({keyframes:[d.value,g(d.value)],velocity:mh(T,M,d.value),damping:i,stiffness:o,restDelta:l,restSpeed:u}))};return O(0),{calculatedDuration:null,next:M=>{let L=!1;return!E&&w===void 0&&(L=!0,P(M),O(M)),w!==void 0&&M>w?E.next(M-w):(!L&&P(M),d)}}}const wx=e=>{const t=({timestamp:r})=>e(r);return{start:()=>rt.update(t,!0),stop:()=>$r(t),now:()=>Mt.isProcessing?Mt.timestamp:performance.now()}},wh=2e4;function Ch(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<wh;)t+=r,n=e.next(t);return t>=wh?1/0:t}const Cx={decay:xh,inertia:xh,tween:Ea,keyframes:Ea,spring:bh};function Oa({autoplay:e=!0,delay:t=0,driver:r=wx,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:c,onStop:l,onComplete:u,onUpdate:f,...d}){let h=1,g=!1,m,y;const x=()=>{y=new Promise(I=>{m=I})};x();let b;const T=Cx[i]||Ea;let P;T!==Ea&&typeof n[0]!="number"&&(P=ph([0,100],n,{clamp:!1}),n=[0,100]);const w=T({...d,keyframes:n});let E;s==="mirror"&&(E=T({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let O="idle",M=null,L=null,W=null;w.calculatedDuration===null&&o&&(w.calculatedDuration=Ch(w));const{calculatedDuration:de}=w;let ve=1/0,ce=1/0;de!==null&&(ve=de+a,ce=ve*(o+1)-a);let q=0;const Y=I=>{if(L===null)return;h>0&&(L=Math.min(L,I)),h<0&&(L=Math.min(I-ce/h,L)),M!==null?q=M:q=Math.round(I-L)*h;const Z=q-t*(h>=0?1:-1),ne=h>=0?Z<0:Z>ce;q=Math.max(Z,0),O==="finished"&&M===null&&(q=ce);let G=q,ue=w;if(o){const Q=q/ve;let te=Math.floor(Q),ye=Q%1;!ye&&Q>=1&&(ye=1),ye===1&&te--,te=Math.min(te,o+1);const F=!!(te%2);F&&(s==="reverse"?(ye=1-ye,a&&(ye-=a/ve)):s==="mirror"&&(ue=E));let Le=Yr(0,1,ye);q>ce&&(Le=s==="reverse"&&F?1:0),G=Le*ve}const se=ne?{done:!1,value:n[0]}:ue.next(G);P&&(se.value=P(se.value));let{done:pe}=se;!ne&&de!==null&&(pe=h>=0?q>=ce:q<=0);const K=M===null&&(O==="finished"||O==="running"&&pe);return f&&f(se.value),K&&We(),se},ge=()=>{b&&b.stop(),b=void 0},Se=()=>{O="idle",ge(),m(),x(),L=W=null},We=()=>{O="finished",u&&u(),ge(),m()},Me=()=>{if(g)return;b||(b=r(Y));const I=b.now();c&&c(),M!==null?L=I-M:(!L||O==="finished")&&(L=I),O==="finished"&&x(),W=L,M=null,O="running",b.start()};e&&Me();const D={then(I,Z){return y.then(I,Z)},get time(){return Dr(q)},set time(I){I=Kr(I),q=I,M!==null||!b||h===0?M=I:L=b.now()-I/h},get duration(){const I=w.calculatedDuration===null?Ch(w):w.calculatedDuration;return Dr(I)},get speed(){return h},set speed(I){I===h||!b||(h=I,D.time=Dr(q))},get state(){return O},play:Me,pause:()=>{O="paused",M=q},stop:()=>{g=!0,O!=="idle"&&(O="idle",l&&l(),Se())},cancel:()=>{W!==null&&Y(W),Se()},complete:()=>{O="finished"},sample:I=>(L=0,Y(I))};return D}function Tx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Sx=Tx(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ex=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Pa=10,Ox=2e4,Px=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Hd(t.ease);function Mx(e,t,{onUpdate:r,onComplete:n,...i}){if(!(Sx()&&Ex.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let a=!1,s,c;const l=()=>{c=new Promise(b=>{s=b})};l();let{keyframes:u,duration:f=300,ease:d,times:h}=i;if(Px(t,i)){const b=Oa({...i,repeat:0,delay:0});let T={done:!1,value:u[0]};const P=[];let w=0;for(;!T.done&&w<Ox;)T=b.sample(w),P.push(T.value),w+=Pa;h=void 0,u=P,f=w-Pa,d="linear"}const g=B2(e.owner.current,t,u,{...i,duration:f,ease:d,times:h});i.syncStart&&(g.startTime=Mt.isProcessing?Mt.timestamp:performance.now());const m=()=>g.cancel(),y=()=>{rt.update(m),s(),l()};return g.onfinish=()=>{e.set(z2(u,i)),n&&n(),y()},{then(b,T){return c.then(b,T)},attachTimeline(b){return g.timeline=b,g.onfinish=null,gt},get time(){return Dr(g.currentTime||0)},set time(b){g.currentTime=Kr(b)},get speed(){return g.playbackRate},set speed(b){g.playbackRate=b},get duration(){return Dr(f)},play:()=>{a||(g.play(),$r(m))},pause:()=>g.pause(),stop:()=>{if(a=!0,g.playState==="idle")return;const{currentTime:b}=g;if(b){const T=Oa({...i,autoplay:!1});e.setWithVelocity(T.sample(b-Pa).value,T.sample(b).value,Pa)}y()},complete:()=>g.finish(),cancel:y}}function _x({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const i=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:gt,pause:gt,stop:gt,then:o=>(o(),Promise.resolve()),cancel:gt,complete:gt});return t?Oa({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const $x={type:"spring",stiffness:500,damping:25,restSpeed:10},Ax=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kx={type:"keyframes",duration:.8},Dx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jx=(e,{keyframes:t})=>t.length>2?kx:hn.has(e)?e.startsWith("scale")?Ax(t[1]):$x:Dx,Kl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Zr.test(t)||t==="0")&&!t.startsWith("url(")),Ix=new Set(["brightness","contrast","saturate","opacity"]);function Lx(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(va)||[];if(!n)return e;const i=r.replace(n,"");let o=Ix.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const Fx=/([a-z-]*)\(.*?\)/g,Zl={...Zr,getAnimatableNone:e=>{const t=e.match(Fx);return t?t.map(Lx).join(" "):e}},Rx={...Cd,color:Rt,backgroundColor:Rt,outlineColor:Rt,fill:Rt,stroke:Rt,borderColor:Rt,borderTopColor:Rt,borderRightColor:Rt,borderBottomColor:Rt,borderLeftColor:Rt,filter:Zl,WebkitFilter:Zl},Ql=e=>Rx[e];function Th(e,t){let r=Ql(e);return r!==Zl&&(r=Zr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Sh=e=>/^0[^.\s]+$/.test(e);function Nx(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Sh(e)}function Bx(e,t,r,n){const i=Kl(t,r);let o;Array.isArray(r)?o=[...r]:o=[null,r];const a=n.from!==void 0?n.from:e.get();let s;const c=[];for(let l=0;l<o.length;l++)o[l]===null&&(o[l]=l===0?a:o[l-1]),Nx(o[l])&&c.push(l),typeof o[l]=="string"&&o[l]!=="none"&&o[l]!=="0"&&(s=o[l]);if(i&&c.length&&s)for(let l=0;l<c.length;l++){const u=c[l];o[u]=Th(t,s)}return o}function zx({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:c,elapsed:l,...u}){return!!Object.keys(u).length}function Eh(e,t){return e[t]||e.default||e}const Jl=(e,t,r,n={})=>i=>{const o=Eh(n,e)||{},a=o.delay||n.delay||0;let{elapsed:s=0}=n;s=s-Kr(a);const c=Bx(t,e,r,o),l=c[0],u=c[c.length-1],f=Kl(e,l),d=Kl(e,u);lo(f===d,`You are trying to animate ${e} from "${l}" to "${u}". ${l} is not an animatable value - to enable this animation set ${l} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:g=>{t.set(g),o.onUpdate&&o.onUpdate(g)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(zx(o)||(h={...h,...jx(e,h)}),h.duration&&(h.duration=Kr(h.duration)),h.repeatDelay&&(h.repeatDelay=Kr(h.repeatDelay)),!f||!d||N2.current||o.type===!1)return _x(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const g=Mx(t,e,h);if(g)return g}return Oa(h)};function Ma(e){return!!(zt(e)&&e.add)}const Oh=e=>/^\-?\d*\.?\d+$/.test(e);function ec(e,t){e.indexOf(t)===-1&&e.push(t)}function tc(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class rc{constructor(){this.subscriptions=[]}add(t){return ec(this.subscriptions,t),()=>tc(this.subscriptions,t)}notify(t,r,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,r,n);else for(let o=0;o<i;o++){const a=this.subscriptions[o];a&&a(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ph=new Set;function nc(e,t,r){e||Ph.has(t)||(console.warn(t),r&&console.warn(r),Ph.add(t))}const Wx=e=>!isNaN(parseFloat(e));class Vx{constructor(t,r={}){this.version="10.16.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,i=!0)=>{this.prev=this.current,this.current=n;const{delta:o,timestamp:a}=Mt;this.lastUpdated!==a&&(this.timeDelta=o,this.lastUpdated=a,rt.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()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>rt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==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=Wx(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&nc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new rc);const n=this.events[t].add(r);return t==="change"?()=>{n(),rt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=t,this.timeDelta=n}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?gh(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 zn(e,t){return new Vx(e,t)}const Mh=e=>t=>t.test(e),_h=[pn,xe,vr,Gr,e2,Jb,{test:e=>e==="auto",parse:e=>e}],ho=e=>_h.find(Mh(e)),Hx=[..._h,Rt,Zr],Ux=e=>Hx.find(Mh(e));function Yx(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,zn(r))}function Gx(e,t){const r=Ta(e,t);let{transitionEnd:n={},transition:i={},...o}=r?e.makeTargetAnimatable(r,!1):{};o={...o,...n};for(const a in o){const s=p2(o[a]);Yx(e,a,s)}}function qx(e,t,r){var n,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;s<a;s++){const c=o[s],l=t[c];let u=null;Array.isArray(l)&&(u=l[0]),u===null&&(u=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),u!=null&&(typeof u=="string"&&(Oh(u)||Sh(u))?u=parseFloat(u):!Ux(u)&&Zr.test(l)&&(u=Th(c,l)),e.addValue(c,zn(u,{owner:e})),r[c]===void 0&&(r[c]=u),u!==null&&e.setBaseTarget(c,u))}}function Xx(e,t){return t?(t[e]||t.default||t).from:void 0}function Kx(e,t,r){const n={};for(const i in e){const o=Xx(i,t);if(o!==void 0)n[i]=o;else{const a=r.getValue(i);a&&(n[i]=a.get())}}return n}function Zx({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function $h(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");n&&(o=n);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const f in s){const d=e.getValue(f),h=s[f];if(!d||h===void 0||u&&Zx(u,f))continue;const g={delay:r,elapsed:0,...o};if(window.HandoffAppearAnimations&&!d.hasAnimated){const y=e.getProps()[R2];y&&(g.elapsed=window.HandoffAppearAnimations(y,f,d,rt),g.syncStart=!0)}d.start(Jl(f,d,h,e.shouldReduceMotion&&hn.has(f)?{type:!1}:g));const m=d.animation;Ma(c)&&(c.add(f),m.then(()=>c.remove(f))),l.push(m)}return a&&Promise.all(l).then(()=>{a&&Gx(e,a)}),l}function ic(e,t,r={}){const n=Ta(e,t,r.custom);let{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);const o=n?()=>Promise.all($h(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:l=0,staggerChildren:u,staggerDirection:f}=i;return Qx(e,t,l+c,u,f,r)}:()=>Promise.resolve(),{when:s}=i;if(s){const[c,l]=s==="beforeChildren"?[o,a]:[a,o];return c().then(()=>l())}else return Promise.all([o(),a(r.delay)])}function Qx(e,t,r=0,n=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*n,c=i===1?(l=0)=>l*n:(l=0)=>s-l*n;return Array.from(e.variantChildren).sort(Jx).forEach((l,u)=>{l.notify("AnimationStart",t),a.push(ic(l,t,{...o,delay:r+c(u)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(a)}function Jx(e,t){return e.sortNodePosition(t)}function ew(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const i=t.map(o=>ic(e,o,r));n=Promise.all(i)}else if(typeof t=="string")n=ic(e,t,r);else{const i=typeof t=="function"?Ta(e,t,r.custom):t;n=Promise.all($h(e,i,r))}return n.then(()=>e.notify("AnimationComplete",t))}const tw=[...Tl].reverse(),rw=Tl.length;function nw(e){return t=>Promise.all(t.map(({animation:r,options:n})=>ew(e,r,n)))}function iw(e){let t=nw(e);const r=aw();let n=!0;const i=(c,l)=>{const u=Ta(e,l);if(u){const{transition:f,transitionEnd:d,...h}=u;c={...c,...h,...d}}return c};function o(c){t=c(e)}function a(c,l){const u=e.getProps(),f=e.getVariantContext(!0)||{},d=[],h=new Set;let g={},m=1/0;for(let x=0;x<rw;x++){const b=tw[x],T=r[b],P=u[b]!==void 0?u[b]:f[b],w=to(P),E=b===l?T.isActive:null;E===!1&&(m=x);let O=P===f[b]&&P!==u[b]&&w;if(O&&n&&e.manuallyAnimateOnMount&&(O=!1),T.protectedKeys={...g},!T.isActive&&E===null||!P&&!T.prevProp||ha(P)||typeof P=="boolean")continue;const M=ow(T.prevProp,P);let L=M||b===l&&T.isActive&&!O&&w||x>m&&w;const W=Array.isArray(P)?P:[P];let de=W.reduce(i,{});E===!1&&(de={});const{prevResolvedValues:ve={}}=T,ce={...ve,...de},q=Y=>{L=!0,h.delete(Y),T.needsAnimating[Y]=!0};for(const Y in ce){const ge=de[Y],Se=ve[Y];g.hasOwnProperty(Y)||(ge!==Se?ba(ge)&&ba(Se)?!Wd(ge,Se)||M?q(Y):T.protectedKeys[Y]=!0:ge!==void 0?q(Y):h.add(Y):ge!==void 0&&h.has(Y)?q(Y):T.protectedKeys[Y]=!0)}T.prevProp=P,T.prevResolvedValues=de,T.isActive&&(g={...g,...de}),n&&e.blockInitialAnimation&&(L=!1),L&&!O&&d.push(...W.map(Y=>({animation:Y,options:{type:b,...c}})))}if(h.size){const x={};h.forEach(b=>{const T=e.getBaseTarget(b);T!==void 0&&(x[b]=T)}),d.push({animation:x})}let y=!!d.length;return n&&u.initial===!1&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(d):Promise.resolve()}function s(c,l,u){var f;if(r[c].isActive===l)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(c,l)}),r[c].isActive=l;const d=a(u,c);for(const h in r)r[h].protectedKeys={};return d}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>r}}function ow(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Wd(t,e):!1}function mn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function aw(){return{animate:mn(!0),whileInView:mn(),whileHover:mn(),whileTap:mn(),whileDrag:mn(),whileFocus:mn(),exit:mn()}}class sw extends Xr{constructor(t){super(t),t.animationState||(t.animationState=iw(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),ha(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let lw=0;class cw extends Xr{constructor(){super(...arguments),this.id=lw++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t,{custom:n??this.node.getProps().custom});r&&!t&&o.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const uw={animation:{Feature:sw},exit:{Feature:cw}},Ah=(e,t)=>Math.abs(e-t);function fw(e,t){const r=Ah(e.x,t.x),n=Ah(e.y,t.y);return Math.sqrt(r**2+n**2)}class kh{constructor(t,r,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const l=ac(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,f=fw(l.offset,{x:0,y:0})>=3;if(!u&&!f)return;const{point:d}=l,{timestamp:h}=Mt;this.history.push({...d,timestamp:h});const{onStart:g,onMove:m}=this.handlers;u||(g&&g(this.lastMoveEvent,l),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,l)},this.handlePointerMove=(l,u)=>{this.lastMoveEvent=l,this.lastMoveEventInfo=oc(u,this.transformPagePoint),rt.update(this.updatePoint,!0)},this.handlePointerUp=(l,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:d}=this.handlers,h=ac(l.type==="pointercancel"?this.lastMoveEventInfo:oc(u,this.transformPagePoint),this.history);this.startEvent&&f&&f(l,h),d&&d(l,h)},!jd(t))return;this.handlers=r,this.transformPagePoint=n;const i=Ca(t),o=oc(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=Mt;this.history=[{...a,timestamp:s}];const{onSessionStart:c}=r;c&&c(t,ac(o,this.history)),this.removeListeners=qr(kr(window,"pointermove",this.handlePointerMove),kr(window,"pointerup",this.handlePointerUp),kr(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),$r(this.updatePoint)}}function oc(e,t){return t?{point:t(e.point)}:e}function Dh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ac({point:e},t){return{point:e,delta:Dh(e,jh(t)),offset:Dh(e,dw(t)),velocity:hw(t,.1)}}function dw(e){return e[0]}function jh(e){return e[e.length-1]}function hw(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const i=jh(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Kr(t)));)r--;if(!n)return{x:0,y:0};const o=Dr(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};const a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Xt(e){return e.max-e.min}function sc(e,t=0,r=.01){return Math.abs(e-t)<=r}function Ih(e,t,r,n=.5){e.origin=n,e.originPoint=ft(t.min,t.max,e.origin),e.scale=Xt(r)/Xt(t),(sc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ft(r.min,r.max,e.origin)-e.originPoint,(sc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function po(e,t,r,n){Ih(e.x,t.x,r.x,n?n.originX:void 0),Ih(e.y,t.y,r.y,n?n.originY:void 0)}function Lh(e,t,r){e.min=r.min+t.min,e.max=e.min+Xt(t)}function pw(e,t,r){Lh(e.x,t.x,r.x),Lh(e.y,t.y,r.y)}function Fh(e,t,r){e.min=t.min-r.min,e.max=e.min+Xt(t)}function go(e,t,r){Fh(e.x,t.x,r.x),Fh(e.y,t.y,r.y)}function gw(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?ft(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?ft(r,e,n.max):Math.min(e,r)),e}function Rh(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function mw(e,{top:t,left:r,bottom:n,right:i}){return{x:Rh(e.x,r,i),y:Rh(e.y,t,n)}}function Nh(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function vw(e,t){return{x:Nh(e.x,t.x),y:Nh(e.y,t.y)}}function yw(e,t){let r=.5;const n=Xt(e),i=Xt(t);return i>n?r=fo(t.min,t.max-n,e.min):n>i&&(r=fo(e.min,e.max-i,t.min)),Yr(0,1,r)}function bw(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const lc=.35;function xw(e=lc){return e===!1?e=0:e===!0&&(e=lc),{x:Bh(e,"left","right"),y:Bh(e,"top","bottom")}}function Bh(e,t,r){return{min:zh(e,t),max:zh(e,r)}}function zh(e,t){return typeof e=="number"?e:e[t]||0}const Wh=()=>({translate:0,scale:1,origin:0,originPoint:0}),Wn=()=>({x:Wh(),y:Wh()}),Vh=()=>({min:0,max:0}),St=()=>({x:Vh(),y:Vh()});function yr(e){return[e("x"),e("y")]}function Hh({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function ww({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Cw(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function cc(e){return e===void 0||e===1}function uc({scale:e,scaleX:t,scaleY:r}){return!cc(e)||!cc(t)||!cc(r)}function vn(e){return uc(e)||Uh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Uh(e){return Yh(e.x)||Yh(e.y)}function Yh(e){return e&&e!=="0%"}function _a(e,t,r){const n=e-r,i=t*n;return r+i}function Gh(e,t,r,n,i){return i!==void 0&&(e=_a(e,i,n)),_a(e,r,n)+t}function fc(e,t=0,r=1,n,i){e.min=Gh(e.min,t,r,n,i),e.max=Gh(e.max,t,r,n,i)}function qh(e,{x:t,y:r}){fc(e.x,t.translate,t.scale,t.originPoint),fc(e.y,r.translate,r.scale,r.originPoint)}function Tw(e,t,r,n=!1){const i=r.length;if(!i)return;t.x=t.y=1;let o,a;for(let s=0;s<i;s++){o=r[s],a=o.projectionDelta;const c=o.instance;c&&c.style&&c.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Vn(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,qh(e,a)),n&&vn(o.latestValues)&&Vn(e,o.latestValues))}t.x=Xh(t.x),t.y=Xh(t.y)}function Xh(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Qr(e,t){e.min=e.min+t,e.max=e.max+t}function Kh(e,t,[r,n,i]){const o=t[i]!==void 0?t[i]:.5,a=ft(e.min,e.max,o);fc(e,t[r],t[n],a,t.scale)}const Sw=["x","scaleX","originX"],Ew=["y","scaleY","originY"];function Vn(e,t){Kh(e.x,t,Sw),Kh(e.y,t,Ew)}function Zh(e,t){return Hh(Cw(e.getBoundingClientRect(),t))}function Ow(e,t,r){const n=Zh(e,r),{scroll:i}=t;return i&&(Qr(n.x,i.offset.x),Qr(n.y,i.offset.y)),n}const Pw=new WeakMap;class Mw{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=St(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const i=c=>{this.stopAnimation(),r&&this.snapToCursor(Ca(c,"page").point)},o=(c,l)=>{const{drag:u,dragPropagation:f,onDragStart:d}=this.getProps();if(u&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Rd(u),!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),yr(g=>{let m=this.getAxisMotionValue(g).get()||0;if(vr.test(m)){const{projection:y}=this.visualElement;if(y&&y.layout){const x=y.layout.layoutBox[g];x&&(m=Xt(x)*(parseFloat(m)/100))}}this.originPoint[g]=m}),d&&rt.update(()=>d(c,l),!1,!0);const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},a=(c,l)=>{const{dragPropagation:u,dragDirectionLock:f,onDirectionLock:d,onDrag:h}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:g}=l;if(f&&this.currentDirection===null){this.currentDirection=_w(g),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",l.point,g),this.updateAxis("y",l.point,g),this.visualElement.render(),h&&h(c,l)},s=(c,l)=>this.stop(c,l);this.panSession=new kh(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=r;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&rt.update(()=>o(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:i}=this.getProps();if(!n||!$a(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=gw(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:r}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;t&&Nn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=mw(n.layoutBox,t):this.constraints=!1,this.elastic=xw(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&yr(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=bw(n.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Nn(t))return!1;const n=t.current;lr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Ow(n,i.root,this.visualElement.getTransformPagePoint());let a=vw(i.layout.layoutBox,o);if(r){const s=r(ww(a));this.hasMutatedConstraints=!!s,s&&(a=Hh(s))}return a}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),c=this.constraints||{},l=yr(u=>{if(!$a(u,r,this.currentDirection))return;let f=c&&c[u]||{};a&&(f={min:0,max:0});const d=i?200:1e6,h=i?40:1e7,g={type:"inertia",velocity:n?t[u]:0,bounceStiffness:d,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(u,g)});return Promise.all(l).then(s)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return n.start(Jl(t,n,0,r))}stopAnimation(){yr(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),i=n[r];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){yr(r=>{const{drag:n}=this.getProps();if(!$a(r,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(r);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[r];o.set(t[r]-ft(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Nn(r)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};yr(a=>{const s=this.getAxisMotionValue(a);if(s){const c=s.get();i[a]=yw({min:c,max:c},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),yr(a=>{if(!$a(a,t,null))return;const s=this.getAxisMotionValue(a),{min:c,max:l}=this.constraints[a];s.set(ft(c,l,i[a]))})}addListeners(){if(!this.visualElement.current)return;Pw.set(this.visualElement,this);const t=this.visualElement.current,r=kr(t,"pointerdown",c=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(c)}),n=()=>{const{dragConstraints:c}=this.getProps();Nn(c)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),n();const a=Ar(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:l})=>{this.isDragging&&l&&(yr(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=c[u].translate,f.set(f.get()+c[u].translate))}),this.visualElement.render())});return()=>{a(),r(),o(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=lc,dragMomentum:s=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function $a(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function _w(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class $w extends Xr{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new Mw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Qh=e=>(t,r)=>{e&&rt.update(()=>e(t,r))};class Aw extends Xr{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new kh(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Qh(t),onStart:Qh(r),onMove:n,onEnd:(o,a)=>{delete this.session,i&&rt.update(()=>i(o,a))}}}mount(){this.removePointerDownListener=kr(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 kw(){const e=p.useContext(fa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,i=p.useId();return p.useEffect(()=>n(i),[]),!t&&r?[!1,()=>r&&r(i)]:[!0]}const Aa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Jh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const mo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(xe.test(e))e=parseFloat(e);else return e;const r=Jh(e,t.target.x),n=Jh(e,t.target.y);return`${r}% ${n}%`}},Dw={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,i=Zr.parse(e);if(i.length>5)return n;const o=Zr.createTransformer(e),a=typeof i[0]!="number"?1:0,s=r.x.scale*t.x,c=r.y.scale*t.y;i[0+a]/=s,i[1+a]/=c;const l=ft(s,c,.5);return typeof i[2+a]=="number"&&(i[2+a]/=l),typeof i[3+a]=="number"&&(i[3+a]/=l),o(i)}};class jw extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=t;Yb(Iw),o&&(r.group&&r.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Aa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:i,isPresent:o}=this.props,a=n.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==r||r===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||rt.postRender(()=>{const s=a.getStack();(!s||!s.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:r,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ep(e){const[t,r]=kw(),n=p.useContext(Ol);return p.createElement(jw,{...e,layoutGroup:n,switchLayoutGroup:p.useContext(gd),isPresent:t,safeToRemove:r})}const Iw={borderRadius:{...mo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mo,borderTopRightRadius:mo,borderBottomLeftRadius:mo,borderBottomRightRadius:mo,boxShadow:Dw},tp=["TopLeft","TopRight","BottomLeft","BottomRight"],Lw=tp.length,rp=e=>typeof e=="string"?parseFloat(e):e,np=e=>typeof e=="number"||xe.test(e);function Fw(e,t,r,n,i,o){i?(e.opacity=ft(0,r.opacity!==void 0?r.opacity:1,Rw(n)),e.opacityExit=ft(t.opacity!==void 0?t.opacity:1,0,Nw(n))):o&&(e.opacity=ft(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let a=0;a<Lw;a++){const s=`border${tp[a]}Radius`;let c=ip(t,s),l=ip(r,s);if(c===void 0&&l===void 0)continue;c||(c=0),l||(l=0),c===0||l===0||np(c)===np(l)?(e[s]=Math.max(ft(rp(c),rp(l),n),0),(vr.test(l)||vr.test(c))&&(e[s]+="%")):e[s]=l}(t.rotate||r.rotate)&&(e.rotate=ft(t.rotate||0,r.rotate||0,n))}function ip(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Rw=op(0,.5,Bl),Nw=op(.5,.95,gt);function op(e,t,r){return n=>n<e?0:n>t?1:r(fo(e,t,n))}function ap(e,t){e.min=t.min,e.max=t.max}function ir(e,t){ap(e.x,t.x),ap(e.y,t.y)}function sp(e,t,r,n,i){return e-=t,e=_a(e,1/r,n),i!==void 0&&(e=_a(e,1/i,n)),e}function Bw(e,t=0,r=1,n=.5,i,o=e,a=e){if(vr.test(t)&&(t=parseFloat(t),t=ft(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=ft(o.min,o.max,n);e===o&&(s-=t),e.min=sp(e.min,t,r,s,i),e.max=sp(e.max,t,r,s,i)}function lp(e,t,[r,n,i],o,a){Bw(e,t[r],t[n],t[i],t.scale,o,a)}const zw=["x","scaleX","originX"],Ww=["y","scaleY","originY"];function cp(e,t,r,n){lp(e.x,t,zw,r?r.x:void 0,n?n.x:void 0),lp(e.y,t,Ww,r?r.y:void 0,n?n.y:void 0)}function up(e){return e.translate===0&&e.scale===1}function fp(e){return up(e.x)&&up(e.y)}function Vw(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 dp(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 hp(e){return Xt(e.x)/Xt(e.y)}class Hw{constructor(){this.members=[]}add(t){ec(this.members,t),t.scheduleRender()}remove(t){if(tc(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(i=>t===i);if(r===0)return!1;let n;for(let i=r;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function pp(e,t,r){let n="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:c,rotateX:l,rotateY:u}=r;c&&(n+=`rotate(${c}deg) `),l&&(n+=`rotateX(${l}deg) `),u&&(n+=`rotateY(${u}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(n+=`scale(${a}, ${s})`),n||"none"}const Uw=(e,t)=>e.depth-t.depth;class Yw{constructor(){this.children=[],this.isDirty=!1}add(t){ec(this.children,t),this.isDirty=!0}remove(t){tc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Uw),this.isDirty=!1,this.children.forEach(t)}}function Gw(e,t){const r=performance.now(),n=({timestamp:i})=>{const o=i-r;o>=t&&($r(n),e(o-t))};return rt.read(n,!0),()=>$r(n)}function qw(e){window.MotionDebug&&window.MotionDebug.record(e)}function Xw(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Kw(e,t,r){const n=zt(e)?e:zn(e);return n.start(Jl("",n,t,r)),n.animation}const gp=["","X","Y","Z"],mp=1e3;let Zw=0;const yn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function vp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(a={},s=t==null?void 0:t()){this.id=Zw++,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.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{yn.totalNodes=yn.resolvedTargetDeltas=yn.recalculatedProjection=0,this.nodes.forEach(e5),this.nodes.forEach(o5),this.nodes.forEach(a5),this.nodes.forEach(t5),qw(yn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Yw)}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new rc),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){const c=this.eventHandlers.get(a);c&&c.notify(...s)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Xw(a),this.instance=a;const{layoutId:c,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(l||c)&&(this.isLayoutDirty=!0),e){let f;const d=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Gw(d,250),Aa.hasAnimatedSinceResize&&(Aa.hasAnimatedSinceResize=!1,this.nodes.forEach(bp))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&u&&(c||l)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||f5,{onLayoutAnimationStart:y,onLayoutAnimationComplete:x}=u.getProps(),b=!this.targetLayout||!dp(this.targetLayout,g)||h,T=!d&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||T||d&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,T);const P={...Eh(m,"layout"),onPlay:y,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else d||bp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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,$r(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(s5),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 u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:s,layout:c}=this.options;if(s===void 0&&!c)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(yp);return}this.isUpdating||this.nodes.forEach(n5),this.isUpdating=!1,this.nodes.forEach(i5),this.nodes.forEach(Qw),this.nodes.forEach(Jw),this.clearAllSnapshots();const s=performance.now();Mt.delta=Yr(0,1e3/60,s-Mt.timestamp),Mt.timestamp=s,Mt.isProcessing=!0,Ll.update.process(Mt),Ll.preRender.process(Mt),Ll.render.process(Mt),Mt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(r5),this.sharedNodes.forEach(l5)}scheduleUpdateProjection(){rt.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){rt.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 c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=St(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;const a=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!fp(this.projectionDelta),c=this.getTransformTemplate(),l=c?c(this.latestValues,""):void 0,u=l!==this.prevTransformTemplateValue;a&&(s||vn(this.latestValues)||u)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const s=this.measurePageBox();let c=this.removeElementScroll(s);return a&&(c=this.removeTransform(c)),d5(c),{animationId:this.root.animationId,measuredBox:s,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return St();const s=a.measureViewportBox(),{scroll:c}=this.root;return c&&(Qr(s.x,c.offset.x),Qr(s.y,c.offset.y)),s}removeElementScroll(a){const s=St();ir(s,a);for(let c=0;c<this.path.length;c++){const l=this.path[c],{scroll:u,options:f}=l;if(l!==this.root&&u&&f.layoutScroll){if(u.isRoot){ir(s,a);const{scroll:d}=this.root;d&&(Qr(s.x,-d.offset.x),Qr(s.y,-d.offset.y))}Qr(s.x,u.offset.x),Qr(s.y,u.offset.y)}}return s}applyTransform(a,s=!1){const c=St();ir(c,a);for(let l=0;l<this.path.length;l++){const u=this.path[l];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Vn(c,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),vn(u.latestValues)&&Vn(c,u.latestValues)}return vn(this.latestValues)&&Vn(c,this.latestValues),c}removeTransform(a){const s=St();ir(s,a);for(let c=0;c<this.path.length;c++){const l=this.path[c];if(!l.instance||!vn(l.latestValues))continue;uc(l.latestValues)&&l.updateSnapshot();const u=St(),f=l.measurePageBox();ir(u,f),cp(s,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,u)}return vn(this.latestValues)&&cp(s,this.latestValues),s}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!==Mt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var s;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==c;if(!(a||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=Mt.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=St(),this.relativeTargetOrigin=St(),go(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=St(),this.targetWithTransforms=St()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ir(this.target,this.layout.layoutBox),qh(this.target,this.targetDelta)):ir(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=St(),this.relativeTargetOrigin=St(),go(this.relativeTargetOrigin,this.target,h.target),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}yn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||uc(this.parent.latestValues)||Uh(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 s=this.getLead(),c=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(l=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Mt.timestamp&&(l=!1),l)return;const{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;ir(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;Tw(this.layoutCorrected,this.treeScale,this.path,c),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);const{target:g}=s;if(!g){this.projectionTransform&&(this.projectionDelta=Wn(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Wn(),this.projectionDeltaWithTransform=Wn());const m=this.projectionTransform;po(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=pp(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==d||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),yn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){const s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(a,s=!1){const c=this.snapshot,l=c?c.latestValues:{},u={...this.latestValues},f=Wn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const d=St(),h=c?c.source:void 0,g=this.layout?this.layout.source:void 0,m=h!==g,y=this.getStack(),x=!y||y.members.length<=1,b=!!(m&&!x&&this.options.crossfade===!0&&!this.path.some(u5));this.animationProgress=0;let T;this.mixTargetDelta=P=>{const w=P/1e3;xp(f.x,a.x,w),xp(f.y,a.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(go(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),c5(this.relativeTarget,this.relativeTargetOrigin,d,w),T&&Vw(this.relativeTarget,T)&&(this.isProjectionDirty=!1),T||(T=St()),ir(T,this.relativeTarget)),m&&(this.animationValues=u,Fw(u,l,this.latestValues,w,b,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},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&&($r(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rt.update(()=>{Aa.hasAnimatedSinceResize=!0,this.currentAnimation=Kw(0,mp,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},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(mp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:c,layout:l,latestValues:u}=a;if(!(!s||!c||!l)){if(this!==a&&this.layout&&l&&Ep(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||St();const f=Xt(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+f;const d=Xt(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+d}ir(s,c),Vn(s,u),po(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new Hw),this.sharedNodes.get(a).add(s);const l=s.options.initialPromotionConfig;s.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(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:s,preserveFollowOpacity:c}={}){const l=this.getStack();l&&l.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:c}=a;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(s=!0),!s)return;const l={};for(let u=0;u<gp.length;u++){const f="rotate"+gp[u];c[f]&&(l[f]=c[f],a.setStaticValue(f,0))}a.render();for(const u in l)a.setStaticValue(u,l[u]);a.scheduleRender()}getProjectionStyles(a={}){var s,c;const l={};if(!this.instance||this.isSVG)return l;if(this.isVisible)l.visibility="";else return{visibility:"hidden"};const u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=xa(a.pointerEvents)||"",l.transform=u?u(this.latestValues,""):"none",l;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=xa(a.pointerEvents)||""),this.hasProjected&&!vn(this.latestValues)&&(m.transform=u?u({},""):"none",this.hasProjected=!1),m}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),l.transform=pp(this.projectionDeltaWithTransform,this.treeScale,d),u&&(l.transform=u(d,l.transform));const{x:h,y:g}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,f.animationValues?l.opacity=f===this?(c=(s=d.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const m in ga){if(d[m]===void 0)continue;const{correct:y,applyTo:x}=ga[m],b=l.transform==="none"?d[m]:y(d[m],f);if(x){const T=x.length;for(let P=0;P<T;P++)l[x[P]]=b}else l[m]=b}return this.options.layoutId&&(l.pointerEvents=f===this?xa(a.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(yp),this.root.sharedNodes.clear()}}}function Qw(e){e.updateLayout()}function Jw(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=e.layout,{animationType:o}=e.options,a=r.source!==e.layout.source;o==="size"?yr(f=>{const d=a?r.measuredBox[f]:r.layoutBox[f],h=Xt(d);d.min=n[f].min,d.max=d.min+h}):Ep(o,r.layoutBox,n)&&yr(f=>{const d=a?r.measuredBox[f]:r.layoutBox[f],h=Xt(n[f]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const s=Wn();po(s,n,r.layoutBox);const c=Wn();a?po(c,e.applyTransform(i,!0),r.measuredBox):po(c,n,r.layoutBox);const l=!fp(s);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:h}=f;if(d&&h){const g=St();go(g,r.layoutBox,d.layoutBox);const m=St();go(m,n,h.layoutBox),dp(g,m)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=g,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:c,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function e5(e){yn.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 t5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r5(e){e.clearSnapshot()}function yp(e){e.clearMeasurements()}function n5(e){e.isLayoutDirty=!1}function i5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function bp(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function o5(e){e.resolveTargetDelta()}function a5(e){e.calcProjection()}function s5(e){e.resetRotation()}function l5(e){e.removeLeadSnapshot()}function xp(e,t,r){e.translate=ft(t.translate,0,r),e.scale=ft(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function wp(e,t,r,n){e.min=ft(t.min,r.min,n),e.max=ft(t.max,r.max,n)}function c5(e,t,r,n){wp(e.x,t.x,r.x,n),wp(e.y,t.y,r.y,n)}function u5(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const f5={duration:.45,ease:[.4,0,.1,1]},Cp=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Tp=Cp("applewebkit/")&&!Cp("chrome/")?Math.round:gt;function Sp(e){e.min=Tp(e.min),e.max=Tp(e.max)}function d5(e){Sp(e.x),Sp(e.y)}function Ep(e,t,r){return e==="position"||e==="preserve-aspect"&&!sc(hp(t),hp(r),.2)}const h5=vp({attachResizeListener:(e,t)=>Ar(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),dc={current:void 0},Op=vp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dc.current){const e=new h5({});e.mount(window),e.setOptions({layoutScroll:!0}),dc.current=e}return dc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),p5={pan:{Feature:Aw},drag:{Feature:$w,ProjectionNode:Op,MeasureLayout:ep}},g5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function m5(e){const t=g5.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}const v5=4;function hc(e,t,r=1){lr(r<=v5,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,i]=m5(e);if(!n)return;const o=window.getComputedStyle(t).getPropertyValue(n);if(o){const a=o.trim();return Oh(a)?parseFloat(a):a}else return Ml(i)?hc(i,t,r+1):i}function y5(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(i=>{const o=i.get();if(!Ml(o))return;const a=hc(o,n);a&&i.set(a)});for(const i in t){const o=t[i];if(!Ml(o))continue;const a=hc(o,n);a&&(t[i]=a,r||(r={}),r[i]===void 0&&(r[i]=o))}return{target:t,transitionEnd:r}}const b5=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Pp=e=>b5.has(e),x5=e=>Object.keys(e).some(Pp),ka=e=>e===pn||e===xe,Mp=(e,t)=>parseFloat(e.split(", ")[t]),_p=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const i=n.match(/^matrix3d\((.+)\)$/);if(i)return Mp(i[1],t);{const o=n.match(/^matrix\((.+)\)$/);return o?Mp(o[1],e):0}},w5=new Set(["x","y","z"]),C5=no.filter(e=>!w5.has(e));function T5(e){const t=[];return C5.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Hn={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:_p(4,13),y:_p(5,14)};Hn.translateX=Hn.x,Hn.translateY=Hn.y;const S5=(e,t,r)=>{const n=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(l=>{s[l]=Hn[l](n,o)}),t.render();const c=t.measureViewportBox();return r.forEach(l=>{const u=t.getValue(l);u&&u.jump(s[l]),e[l]=Hn[l](c,o)}),e},E5=(e,t,r={},n={})=>{t={...t},n={...n};const i=Object.keys(t).filter(Pp);let o=[],a=!1;const s=[];if(i.forEach(c=>{const l=e.getValue(c);if(!e.hasValue(c))return;let u=r[c],f=ho(u);const d=t[c];let h;if(ba(d)){const g=d.length,m=d[0]===null?1:0;u=d[m],f=ho(u);for(let y=m;y<g&&d[y]!==null;y++)h?lr(ho(d[y])===h,"All keyframes must be of the same type"):(h=ho(d[y]),lr(h===f||ka(f)&&ka(h),"Keyframes must be of the same dimension as the current value"))}else h=ho(d);if(f!==h)if(ka(f)&&ka(h)){const g=l.get();typeof g=="string"&&l.set(parseFloat(g)),typeof d=="string"?t[c]=parseFloat(d):Array.isArray(d)&&h===xe&&(t[c]=d.map(parseFloat))}else f!=null&&f.transform&&(h!=null&&h.transform)&&(u===0||d===0)?u===0?l.set(h.transform(u)):t[c]=f.transform(d):(a||(o=T5(e),a=!0),s.push(c),n[c]=n[c]!==void 0?n[c]:t[c],l.jump(d))}),s.length){const c=s.indexOf("height")>=0?window.pageYOffset:null,l=S5(t,e,s);return o.length&&o.forEach(([u,f])=>{e.getValue(u).set(f)}),e.render(),da&&c!==null&&window.scrollTo({top:c}),{target:l,transitionEnd:n}}else return{target:t,transitionEnd:n}};function O5(e,t,r,n){return x5(t)?E5(e,t,r,n):{target:t,transitionEnd:n}}const P5=(e,t,r,n)=>{const i=y5(e,t,n);return t=i.target,n=i.transitionEnd,O5(e,t,r,n)},pc={current:null},$p={current:!1};function M5(){if($p.current=!0,!!da)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pc.current=e.matches;e.addListener(t),t()}else pc.current=!1}function _5(e,t,r){const{willChange:n}=t;for(const i in t){const o=t[i],a=r[i];if(zt(o))e.addValue(i,o),Ma(n)&&n.add(i),process.env.NODE_ENV==="development"&&nc(o.version==="10.16.3",`Attempting to mix Framer Motion versions ${o.version} with 10.16.3 may not work as expected.`);else if(zt(a))e.addValue(i,zn(o,{owner:e})),Ma(n)&&n.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,zn(s!==void 0?s:o,{owner:e}))}}for(const i in r)t[i]===void 0&&e.removeValue(i);return t}const Ap=new WeakMap,kp=Object.keys(ro),$5=kp.length,Dp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],A5=Sl.length;class k5{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:i,visualState:o},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=()=>rt.render(this.render,!1,!0);const{latestValues:s,renderState:c}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=r.initial?{...s}:{},this.renderState=c,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.isControllingVariants=pa(r),this.isVariantNode=dd(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(r,{});for(const f in u){const d=u[f];s[f]!==void 0&&zt(d)&&(d.set(s[f],!1),Ma(l)&&l.add(f))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,Ap.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((r,n)=>this.bindToMotionValue(n,r)),$p.current||M5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pc.current,process.env.NODE_ENV!=="production"&&nc(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(){Ap.delete(this.current),this.projection&&this.projection.unmount(),$r(this.notifyUpdate),$r(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,r){const n=hn.has(t),i=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&rt.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,i,o){let a,s;if(process.env.NODE_ENV!=="production"&&i&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?lo(!1,c):lr(!1,c)}for(let c=0;c<$5;c++){const l=kp[c],{isEnabled:u,Feature:f,ProjectionNode:d,MeasureLayout:h}=ro[l];d&&(a=d),u(r)&&(!this.features[l]&&f&&(this.features[l]=new f(this)),h&&(s=h))}if(!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:c,layout:l,drag:u,dragConstraints:f,layoutScroll:d,layoutRoot:h}=r;this.projection.setOptions({layoutId:c,layout:l,alwaysMeasureLayout:!!u||f&&Nn(f),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:h})}return s}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):St()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<Dp.length;n++){const i=Dp[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o=t["on"+i];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=_5(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 n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}const r={};for(let n=0;n<A5;n++){const i=Sl[n],o=this.props[i];(to(o)||o===!1)&&(r[i]=o)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=zn(r,{owner:this}),this.addValue(t,n)),n}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:n}=this.props,i=typeof n=="string"||typeof n=="object"?(r=Il(this.props,n))===null||r===void 0?void 0:r[t]:void 0;if(n&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!zt(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new rc),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class jp extends k5{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...n},{transformValues:i},o){let a=Kx(n,t||{},this);if(i&&(r&&(r=i(r)),n&&(n=i(n)),a&&(a=i(a))),o){qx(this,n,a);const s=P5(this,n,a,r);r=s.transitionEnd,n=s.target}return{transition:t,transitionEnd:r,...n}}}function D5(e){return window.getComputedStyle(e)}class j5 extends jp{readValueFromInstance(t,r){if(hn.has(r)){const n=Ql(r);return n&&n.default||0}else{const n=D5(t),i=(yd(r)?n.getPropertyValue(r):n[r])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Zh(t,r)}build(t,r,n,i){_l(t,r,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,r){return jl(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;zt(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,i){Pd(t,r,n,i)}}class I5 extends jp{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(hn.has(r)){const n=Ql(r);return n&&n.default||0}return r=Md.has(r)?r:Dl(r),t.getAttribute(r)}measureInstanceViewportBox(){return St()}scrapeMotionValuesFromProps(t,r){return $d(t,r)}build(t,r,n,i){Al(t,r,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,r,n,i){_d(t,r,n,i)}mount(t){this.isSVGTag=kl(t.tagName),super.mount(t)}}const L5=(e,t)=>Pl(e)?new I5(t,{enableHardwareAcceleration:!1}):new j5(t,{enableHardwareAcceleration:!0}),F5={layout:{ProjectionNode:Op,MeasureLayout:ep}},cr=Hb(C2);function Ip(){const e=p.useRef(!1);return wl(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function R5(){const e=Ip(),[t,r]=p.useState(0),n=p.useCallback(()=>{e.current&&r(t+1)},[t]);return[p.useCallback(()=>rt.postRender(n),[n]),t]}class N5 extends be.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function B5({children:e,isPresent:t}){const r=p.useId(),n=p.useRef(null),i=p.useRef({width:0,height:0,top:0,left:0});return p.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:c}=i.current;if(t||!n.current||!o||!a)return;n.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
27
+ Check the top-level render call using <`+J+">.")}return B}}function Fn(C,B){{if(!C._store||C._store.validated||C.key!=null)return;C._store.validated=!0;var J=Hr(B);if(Vr[J])return;Vr[J]=!0;var Se="";C&&C._owner&&C._owner!==Oe.current&&(Se=" It was passed a child from "+ce(C._owner.type)+"."),Qe(C),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',J,Se),Qe(null)}}function la(C,B){{if(typeof C!="object")return;if(fn(C))for(var J=0;J<C.length;J++){var Se=C[J];Ct(Se)&&Fn(Se,B)}else if(Ct(C))C._store&&(C._store.validated=!0);else if(C){var Ye=y(C);if(typeof Ye=="function"&&Ye!==C.entries)for(var tt=Ye.call(C),Re;!(Re=tt.next()).done;)Ct(Re.value)&&Fn(Re.value,B)}}}function yl(C){{var B=C.type;if(B==null||typeof B=="string")return;var J;if(typeof B=="function")J=B.propTypes;else if(typeof B=="object"&&(B.$$typeof===c||B.$$typeof===f))J=B.propTypes;else return;if(J){var Se=ce(B);mr(J,C.props,"prop",Se,C)}else if(B.PropTypes!==void 0&&!Je){Je=!0;var Ye=ce(B);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ye||"Unknown")}typeof B.getDefaultProps=="function"&&!B.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Uq(C){{for(var B=Object.keys(C.props),J=0;J<B.length;J++){var Se=B[J];if(Se!=="children"&&Se!=="key"){Qe(C),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Se),Qe(null);break}}C.ref!==null&&(Qe(C),b("Invalid attribute `ref` supplied to `React.Fragment`."),Qe(null))}}function bb(C,B,J,Se,Ye,tt){{var Re=W(C);if(!Re){var ke="";(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(ke+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Bt=kt(Ye);Bt?ke+=Bt:ke+=pt();var St;C===null?St="null":fn(C)?St="array":C!==void 0&&C.$$typeof===t?(St="<"+(ce(C.type)||"Unknown")+" />",ke=" Did you accidentally export a JSX literal instead of a component?"):St=typeof C,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",St,ke)}var Ot=re(C,B,J,Ye,tt);if(Ot==null)return Ot;if(Re){var sr=B.children;if(sr!==void 0)if(Se)if(fn(sr)){for(var Xi=0;Xi<sr.length;Xi++)la(sr[Xi],C);Object.freeze&&Object.freeze(sr)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else la(sr,C)}return C===n?Uq(Ot):yl(Ot),Ot}}function Yq(C,B,J){return bb(C,B,J,!0)}function Gq(C,B,J){return bb(C,B,J,!1)}var qq=Gq,Xq=Yq;eo.Fragment=n,eo.jsx=qq,eo.jsxs=Xq}()),eo}process.env.NODE_ENV==="production"?xl.exports=Ib():xl.exports=Lb();var v=xl.exports;const fd=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),ua=p.createContext({}),fa=p.createContext(null),da=typeof document<"u",wl=da?p.useLayoutEffect:p.useEffect,Cl=p.createContext({strict:!1});function Fb(e,t,r,n){const{visualElement:i}=p.useContext(ua),o=p.useContext(Cl),a=p.useContext(fa),s=p.useContext(fd).reducedMotion,c=p.useRef();n=n||o.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:i,props:r,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:s}));const l=c.current;p.useInsertionEffect(()=>{l&&l.update(r,a)});const u=p.useRef(!!window.HandoffAppearAnimations);return wl(()=>{l&&(l.render(),u.current&&l.animationState&&l.animationState.animateChanges())}),p.useEffect(()=>{l&&(l.updateFeatures(),!u.current&&l.animationState&&l.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1)}),l}function Nn(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Rb(e,t,r){return p.useCallback(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Nn(r)&&(r.current=n))},[t])}function to(e){return typeof e=="string"||Array.isArray(e)}function ha(e){return typeof e=="object"&&typeof e.start=="function"}const Sl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Tl=["initial",...Sl];function pa(e){return ha(e.animate)||Tl.some(t=>to(e[t]))}function dd(e){return!!(pa(e)||e.variants)}function Nb(e,t){if(pa(e)){const{initial:r,animate:n}=e;return{initial:r===!1||to(r)?r:void 0,animate:to(n)?n:void 0}}return e.inherit!==!1?t:{}}function Bb(e){const{initial:t,animate:r}=Nb(e,p.useContext(ua));return p.useMemo(()=>({initial:t,animate:r}),[hd(t),hd(r)])}function hd(e){return Array.isArray(e)?e.join(" "):e}const pd={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"]},ro={};for(const e in pd)ro[e]={isEnabled:t=>pd[e].some(r=>!!t[r])};function El(e){for(const t in e)ro[t]={...ro[t],...e[t]}}const Ol=p.createContext({}),gd=p.createContext({}),zb=Symbol.for("motionComponentSymbol");function Wb({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&El(e);function o(s,c){let l;const u={...p.useContext(fd),...s,layoutId:Vb(s)},{isStatic:f}=u,d=Bb(s),h=n(s,f);if(!f&&da){d.visualElement=Fb(i,h,u,t);const g=p.useContext(gd),m=p.useContext(Cl).strict;d.visualElement&&(l=d.visualElement.loadFeatures(u,m,e,g))}return be.createElement(ua.Provider,{value:d},l&&d.visualElement?be.createElement(l,{visualElement:d.visualElement,...u}):null,r(i,s,Rb(h,d.visualElement,c),h,f,d.visualElement))}const a=p.forwardRef(o);return a[zb]=i,a}function Vb({layoutId:e}){const t=p.useContext(Ol).id;return t&&e!==void 0?t+"-"+e:e}function Hb(e){function t(n,i={}){return Wb(e(n,i))}if(typeof Proxy>"u")return t;const r=new Map;return new Proxy(t,{get:(n,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}const Ub=["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 Pl(e){return typeof e!="string"||e.includes("-")?!1:!!(Ub.indexOf(e)>-1||/[A-Z]/.test(e))}const ga={};function Yb(e){Object.assign(ga,e)}const no=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],hn=new Set(no);function md(e,{layout:t,layoutId:r}){return hn.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!ga[e]||e==="opacity")}const zt=e=>!!(e&&e.getVelocity),Gb={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qb=no.length;function Xb(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let o="";for(let a=0;a<qb;a++){const s=no[a];if(e[s]!==void 0){const c=Gb[s]||s;o+=`${c}(${e[s]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,n?"":o):r&&n&&(o="none"),o}const vd=e=>t=>typeof t=="string"&&t.startsWith(e),yd=vd("--"),Ml=vd("var(--"),Kb=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Zb=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Yr=(e,t,r)=>Math.min(Math.max(r,e),t),pn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},io={...pn,transform:e=>Yr(0,1,e)},ma={...pn,default:1},oo=e=>Math.round(e*1e5)/1e5,va=/(-)?([\d]*\.?[\d])+/g,bd=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Qb=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ao(e){return typeof e=="string"}const so=e=>({test:t=>ao(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Gr=so("deg"),vr=so("%"),xe=so("px"),Jb=so("vh"),e2=so("vw"),xd={...vr,parse:e=>vr.parse(e)/100,transform:e=>vr.transform(e*100)},wd={...pn,transform:Math.round},Cd={borderWidth:xe,borderTopWidth:xe,borderRightWidth:xe,borderBottomWidth:xe,borderLeftWidth:xe,borderRadius:xe,radius:xe,borderTopLeftRadius:xe,borderTopRightRadius:xe,borderBottomRightRadius:xe,borderBottomLeftRadius:xe,width:xe,maxWidth:xe,height:xe,maxHeight:xe,size:xe,top:xe,right:xe,bottom:xe,left:xe,padding:xe,paddingTop:xe,paddingRight:xe,paddingBottom:xe,paddingLeft:xe,margin:xe,marginTop:xe,marginRight:xe,marginBottom:xe,marginLeft:xe,rotate:Gr,rotateX:Gr,rotateY:Gr,rotateZ:Gr,scale:ma,scaleX:ma,scaleY:ma,scaleZ:ma,skew:Gr,skewX:Gr,skewY:Gr,distance:xe,translateX:xe,translateY:xe,translateZ:xe,x:xe,y:xe,z:xe,perspective:xe,transformPerspective:xe,opacity:io,originX:xd,originY:xd,originZ:xe,zIndex:wd,fillOpacity:io,strokeOpacity:io,numOctaves:wd};function _l(e,t,r,n){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let c=!1,l=!1,u=!0;for(const f in t){const d=t[f];if(yd(f)){o[f]=d;continue}const h=Cd[f],g=Zb(d,h);if(hn.has(f)){if(c=!0,a[f]=g,!u)continue;d!==(h.default||0)&&(u=!1)}else f.startsWith("origin")?(l=!0,s[f]=g):i[f]=g}if(t.transform||(c||n?i.transform=Xb(e.transform,r,u,n):i.transform&&(i.transform="none")),l){const{originX:f="50%",originY:d="50%",originZ:h=0}=s;i.transformOrigin=`${f} ${d} ${h}`}}const $l=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Sd(e,t,r){for(const n in t)!zt(t[n])&&!md(n,r)&&(e[n]=t[n])}function t2({transformTemplate:e},t,r){return p.useMemo(()=>{const n=$l();return _l(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}function r2(e,t,r){const n=e.style||{},i={};return Sd(i,n,e),Object.assign(i,t2(e,t,r)),e.transformValues?e.transformValues(i):i}function n2(e,t,r){const n={},i=r2(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const i2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function ya(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||i2.has(e)}let Td=e=>!ya(e);function o2(e){e&&(Td=t=>t.startsWith("on")?!ya(t):e(t))}try{o2(require("@emotion/is-prop-valid").default)}catch{}function a2(e,t,r){const n={};for(const i in e)i==="values"&&typeof e.values=="object"||(Td(i)||r===!0&&ya(i)||!t&&!ya(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function Ed(e,t,r){return typeof e=="string"?e:xe.transform(t+r*e)}function s2(e,t,r){const n=Ed(t,e.x,e.width),i=Ed(r,e.y,e.height);return`${n} ${i}`}const l2={offset:"stroke-dashoffset",array:"stroke-dasharray"},c2={offset:"strokeDashoffset",array:"strokeDasharray"};function u2(e,t,r=1,n=0,i=!0){e.pathLength=1;const o=i?l2:c2;e[o.offset]=xe.transform(-n);const a=xe.transform(t),s=xe.transform(r);e[o.array]=`${a} ${s}`}function Al(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:c=0,...l},u,f,d){if(_l(e,l,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:g,dimensions:m}=e;h.transform&&(m&&(g.transform=h.transform),delete h.transform),m&&(i!==void 0||o!==void 0||g.transform)&&(g.transformOrigin=s2(m,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(h.x=t),r!==void 0&&(h.y=r),n!==void 0&&(h.scale=n),a!==void 0&&u2(h,a,s,c,!1)}const Od=()=>({...$l(),attrs:{}}),kl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function f2(e,t,r,n){const i=p.useMemo(()=>{const o=Od();return Al(o,t,{enableHardwareAcceleration:!1},kl(n),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Sd(o,e.style,e),i.style={...o,...i.style}}return i}function d2(e=!1){return(r,n,i,{latestValues:o},a)=>{const c=(Pl(r)?f2:n2)(n,o,a,r),u={...a2(n,typeof r=="string",e),...c,ref:i},{children:f}=n,d=p.useMemo(()=>zt(f)?f.get():f,[f]);return p.createElement(r,{...u,children:d})}}const Dl=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Pd(e,{style:t,vars:r},n,i){Object.assign(e.style,t,i&&i.getProjectionStyles(n));for(const o in r)e.style.setProperty(o,r[o])}const Md=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 _d(e,t,r,n){Pd(e,t,void 0,n);for(const i in t.attrs)e.setAttribute(Md.has(i)?i:Dl(i),t.attrs[i])}function jl(e,t){const{style:r}=e,n={};for(const i in r)(zt(r[i])||t.style&&zt(t.style[i])||md(i,e))&&(n[i]=r[i]);return n}function $d(e,t){const r=jl(e,t);for(const n in e)if(zt(e[n])||zt(t[n])){const i=no.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[i]=e[n]}return r}function Il(e,t,r,n={},i={}){return typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(r!==void 0?r:e.custom,n,i)),t}function Ad(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const ba=e=>Array.isArray(e),h2=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),p2=e=>ba(e)?e[e.length-1]||0:e;function xa(e){const t=zt(e)?e.get():e;return h2(t)?t.toValue():t}function g2({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){const a={latestValues:m2(n,i,o,e),renderState:t()};return r&&(a.mount=s=>r(n,s,a)),a}const kd=e=>(t,r)=>{const n=p.useContext(ua),i=p.useContext(fa),o=()=>g2(e,t,n,i);return r?o():Ad(o)};function m2(e,t,r,n){const i={},o=n(e,{});for(const d in o)i[d]=xa(o[d]);let{initial:a,animate:s}=e;const c=pa(e),l=dd(e);t&&l&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),s===void 0&&(s=t.animate));let u=r?r.initial===!1:!1;u=u||a===!1;const f=u?s:a;return f&&typeof f!="boolean"&&!ha(f)&&(Array.isArray(f)?f:[f]).forEach(h=>{const g=Il(e,h);if(!g)return;const{transitionEnd:m,transition:y,...x}=g;for(const b in x){let S=x[b];if(Array.isArray(S)){const P=u?S.length-1:0;S=S[P]}S!==null&&(i[b]=S)}for(const b in m)i[b]=m[b]}),i}const gt=e=>e;class Dd{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 r=this.order.indexOf(t);r!==-1&&(this.order.splice(r,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function v2(e){let t=new Dd,r=new Dd,n=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(c,l=!1,u=!1)=>{const f=u&&i,d=f?t:r;return l&&a.add(c),d.add(c)&&f&&i&&(n=t.order.length),c},cancel:c=>{r.remove(c),a.delete(c)},process:c=>{if(i){o=!0;return}if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let l=0;l<n;l++){const u=t.order[l];u(c),a.has(u)&&(s.schedule(u),e())}i=!1,o&&(o=!1,s.process(c))}};return s}const wa=["prepare","read","update","preRender","render","postRender"],y2=40;function b2(e,t){let r=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=wa.reduce((f,d)=>(f[d]=v2(()=>r=!0),f),{}),a=f=>o[f].process(i),s=()=>{const f=performance.now();r=!1,i.delta=n?1e3/60:Math.max(Math.min(f-i.timestamp,y2),1),i.timestamp=f,i.isProcessing=!0,wa.forEach(a),i.isProcessing=!1,r&&t&&(n=!1,e(s))},c=()=>{r=!0,n=!0,i.isProcessing||e(s)};return{schedule:wa.reduce((f,d)=>{const h=o[d];return f[d]=(g,m=!1,y=!1)=>(r||c(),h.schedule(g,m,y)),f},{}),cancel:f=>wa.forEach(d=>o[d].cancel(f)),state:i,steps:o}}const{schedule:rt,cancel:$r,state:_t,steps:Ll}=b2(typeof requestAnimationFrame<"u"?requestAnimationFrame:gt,!0),x2={useVisualState:kd({scrapeMotionValuesFromProps:$d,createRenderState:Od,onMount:(e,t,{renderState:r,latestValues:n})=>{rt.read(()=>{try{r.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{r.dimensions={x:0,y:0,width:0,height:0}}}),rt.render(()=>{Al(r,n,{enableHardwareAcceleration:!1},kl(t.tagName),e.transformTemplate),_d(t,r)})}})},w2={useVisualState:kd({scrapeMotionValuesFromProps:jl,createRenderState:$l})};function C2(e,{forwardMotionProps:t=!1},r,n){return{...Pl(e)?x2:w2,preloadedFeatures:r,useRender:d2(t),createVisualElement:n,Component:e}}function Ar(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const jd=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ca(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const S2=e=>t=>jd(t)&&e(t,Ca(t));function kr(e,t,r,n){return Ar(e,t,S2(r),n)}const T2=(e,t)=>r=>t(e(r)),qr=(...e)=>e.reduce(T2);function Id(e){let t=null;return()=>{const r=()=>{t=null};return t===null?(t=e,r):!1}}const Ld=Id("dragHorizontal"),Fd=Id("dragVertical");function Rd(e){let t=!1;if(e==="y")t=Fd();else if(e==="x")t=Ld();else{const r=Ld(),n=Fd();r&&n?t=()=>{r(),n()}:(r&&r(),n&&n())}return t}function Nd(){const e=Rd(!0);return e?(e(),!1):!0}class Xr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Bd(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End"),i=(o,a)=>{if(o.type==="touch"||Nd())return;const s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[n]&&rt.update(()=>s[n](o,a))};return kr(e.current,r,i,{passive:!e.getProps()[n]})}class E2 extends Xr{mount(){this.unmount=qr(Bd(this.node,!0),Bd(this.node,!1))}unmount(){}}class O2 extends Xr{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=qr(Ar(this.node.current,"focus",()=>this.onFocus()),Ar(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const zd=(e,t)=>t?e===t?!0:zd(e,t.parentElement):!1;function Fl(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Ca(r))}class P2 extends Xr{constructor(){super(...arguments),this.removeStartListeners=gt,this.removeEndListeners=gt,this.removeAccessibleListeners=gt,this.startPointerPress=(t,r)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=kr(window,"pointerup",(s,c)=>{if(!this.checkPressEnd())return;const{onTap:l,onTapCancel:u}=this.node.getProps();rt.update(()=>{zd(this.node.current,s.target)?l&&l(s,c):u&&u(s,c)})},{passive:!(n.onTap||n.onPointerUp)}),a=kr(window,"pointercancel",(s,c)=>this.cancelPress(s,c),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=qr(o,a),this.startPress(t,r)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const a=s=>{s.key!=="Enter"||!this.checkPressEnd()||Fl("up",(c,l)=>{const{onTap:u}=this.node.getProps();u&&rt.update(()=>u(c,l))})};this.removeEndListeners(),this.removeEndListeners=Ar(this.node.current,"keyup",a),Fl("down",(s,c)=>{this.startPress(s,c)})},r=Ar(this.node.current,"keydown",t),n=()=>{this.isPressing&&Fl("cancel",(o,a)=>this.cancelPress(o,a))},i=Ar(this.node.current,"blur",n);this.removeAccessibleListeners=qr(r,i)}}startPress(t,r){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&rt.update(()=>n(t,r))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Nd()}cancelPress(t,r){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&rt.update(()=>n(t,r))}mount(){const t=this.node.getProps(),r=kr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Ar(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=qr(r,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Rl=new WeakMap,Nl=new WeakMap,M2=e=>{const t=Rl.get(e.target);t&&t(e)},_2=e=>{e.forEach(M2)};function $2({root:e,...t}){const r=e||document;Nl.has(r)||Nl.set(r,{});const n=Nl.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(_2,{root:e,...t})),n[i]}function A2(e,t,r){const n=$2(t);return Rl.set(e,r),n.observe(e),()=>{Rl.delete(e),n.unobserve(e)}}const k2={some:0,all:1};class D2 extends Xr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:i="some",once:o}=t,a={root:r?r.current:void 0,rootMargin:n,threshold:typeof i=="number"?i:k2[i]},s=c=>{const{isIntersecting:l}=c;if(this.isInView===l||(this.isInView=l,o&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),d=l?u:f;d&&d(c)};return A2(this.node.current,a,s)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(j2(t,r))&&this.startObserver()}unmount(){}}function j2({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const I2={inView:{Feature:D2},tap:{Feature:P2},focus:{Feature:O2},hover:{Feature:E2}};function Wd(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function L2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.get()),t}function F2(e){const t={};return e.values.forEach((r,n)=>t[n]=r.getVelocity()),t}function Sa(e,t,r){const n=e.getProps();return Il(n,t,r!==void 0?r:n.custom,L2(e),F2(e))}const R2="data-"+Dl("framerAppearId");let lo=gt,lr=gt;process.env.NODE_ENV!=="production"&&(lo=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},lr=(e,t)=>{if(!e)throw new Error(t)});const Kr=e=>e*1e3,Dr=e=>e/1e3,N2={current:!1},Vd=e=>Array.isArray(e)&&typeof e[0]=="number";function Hd(e){return!!(!e||typeof e=="string"&&Ud[e]||Vd(e)||Array.isArray(e)&&e.every(Hd))}const co=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,Ud={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:co([0,.65,.55,1]),circOut:co([.55,0,1,.45]),backIn:co([.31,.01,.66,-.59]),backOut:co([.33,1.53,.69,.99])};function Yd(e){if(e)return Vd(e)?co(e):Array.isArray(e)?e.map(Yd):Ud[e]}function B2(e,t,r,{delay:n=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:c}={}){const l={[t]:r};c&&(l.offset=c);const u=Yd(s);return Array.isArray(u)&&(l.easing=u),e.animate(l,{delay:n,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:a==="reverse"?"alternate":"normal"})}function z2(e,{repeat:t,repeatType:r="loop"}){const n=t&&r!=="loop"&&t%2===1?0:e.length-1;return e[n]}const Gd=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,W2=1e-7,V2=12;function H2(e,t,r,n,i){let o,a,s=0;do a=t+(r-t)/2,o=Gd(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>W2&&++s<V2);return a}function uo(e,t,r,n){if(e===t&&r===n)return gt;const i=o=>H2(o,0,1,e,r);return o=>o===0||o===1?o:Gd(i(o),t,n)}const U2=uo(.42,0,1,1),Y2=uo(0,0,.58,1),qd=uo(.42,0,.58,1),G2=e=>Array.isArray(e)&&typeof e[0]!="number",Xd=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Kd=e=>t=>1-e(1-t),Zd=e=>1-Math.sin(Math.acos(e)),Bl=Kd(Zd),q2=Xd(Bl),Qd=uo(.33,1.53,.69,.99),zl=Kd(Qd),X2=Xd(zl),Jd={linear:gt,easeIn:U2,easeInOut:qd,easeOut:Y2,circIn:Zd,circInOut:q2,circOut:Bl,backIn:zl,backInOut:X2,backOut:Qd,anticipate:e=>(e*=2)<1?.5*zl(e):.5*(2-Math.pow(2,-10*(e-1)))},eh=e=>{if(Array.isArray(e)){lr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,i]=e;return uo(t,r,n,i)}else if(typeof e=="string")return lr(Jd[e]!==void 0,`Invalid easing type '${e}'`),Jd[e];return e},Wl=(e,t)=>r=>!!(ao(r)&&Qb.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),th=(e,t,r)=>n=>{if(!ao(n))return n;const[i,o,a,s]=n.match(va);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},K2=e=>Yr(0,255,e),Vl={...pn,transform:e=>Math.round(K2(e))},gn={test:Wl("rgb","red"),parse:th("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Vl.transform(e)+", "+Vl.transform(t)+", "+Vl.transform(r)+", "+oo(io.transform(n))+")"};function Z2(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const Hl={test:Wl("#"),parse:Z2,transform:gn.transform},Bn={test:Wl("hsl","hue"),parse:th("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+vr.transform(oo(t))+", "+vr.transform(oo(r))+", "+oo(io.transform(n))+")"},Rt={test:e=>gn.test(e)||Hl.test(e)||Bn.test(e),parse:e=>gn.test(e)?gn.parse(e):Bn.test(e)?Bn.parse(e):Hl.parse(e),transform:e=>ao(e)?e:e.hasOwnProperty("red")?gn.transform(e):Bn.transform(e)},ft=(e,t,r)=>-r*e+r*t+e;function Ul(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Q2({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;i=Ul(c,s,e+1/3),o=Ul(c,s,e),a=Ul(c,s,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const Yl=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},J2=[Hl,gn,Bn],ex=e=>J2.find(t=>t.test(e));function rh(e){const t=ex(e);lr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Bn&&(r=Q2(r)),r}const nh=(e,t)=>{const r=rh(e),n=rh(t),i={...r};return o=>(i.red=Yl(r.red,n.red,o),i.green=Yl(r.green,n.green,o),i.blue=Yl(r.blue,n.blue,o),i.alpha=ft(r.alpha,n.alpha,o),gn.transform(i))};function tx(e){var t,r;return isNaN(e)&&ao(e)&&(((t=e.match(va))===null||t===void 0?void 0:t.length)||0)+(((r=e.match(bd))===null||r===void 0?void 0:r.length)||0)>0}const ih={regex:Kb,countKey:"Vars",token:"${v}",parse:gt},oh={regex:bd,countKey:"Colors",token:"${c}",parse:Rt.parse},ah={regex:va,countKey:"Numbers",token:"${n}",parse:pn.parse};function Gl(e,{regex:t,countKey:r,token:n,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+r]=o.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...o.map(i)))}function Ta(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Gl(r,ih),Gl(r,oh),Gl(r,ah),r}function sh(e){return Ta(e).values}function lh(e){const{values:t,numColors:r,numVars:n,tokenised:i}=Ta(e),o=t.length;return a=>{let s=i;for(let c=0;c<o;c++)c<n?s=s.replace(ih.token,a[c]):c<n+r?s=s.replace(oh.token,Rt.transform(a[c])):s=s.replace(ah.token,oo(a[c]));return s}}const rx=e=>typeof e=="number"?0:e;function nx(e){const t=sh(e);return lh(e)(t.map(rx))}const Zr={test:tx,parse:sh,createTransformer:lh,getAnimatableNone:nx},ch=(e,t)=>r=>`${r>0?t:e}`;function uh(e,t){return typeof e=="number"?r=>ft(e,t,r):Rt.test(e)?nh(e,t):e.startsWith("var(")?ch(e,t):dh(e,t)}const fh=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>uh(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},ix=(e,t)=>{const r={...e,...t},n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=uh(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}},dh=(e,t)=>{const r=Zr.createTransformer(t),n=Ta(e),i=Ta(t);return n.numVars===i.numVars&&n.numColors===i.numColors&&n.numNumbers>=i.numNumbers?qr(fh(n.values,i.values),r):(lo(!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.`),ch(e,t))},fo=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},hh=(e,t)=>r=>ft(e,t,r);function ox(e){return typeof e=="number"?hh:typeof e=="string"?Rt.test(e)?nh:dh:Array.isArray(e)?fh:typeof e=="object"?ix:hh}function ax(e,t,r){const n=[],i=r||ox(e[0]),o=e.length-1;for(let a=0;a<o;a++){let s=i(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||gt:t;s=qr(c,s)}n.push(s)}return n}function ph(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;if(lr(o===t.length,"Both input and output ranges must be the same length"),o===1)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=ax(t,n,i),s=a.length,c=l=>{let u=0;if(s>1)for(;u<e.length-2&&!(l<e[u+1]);u++);const f=fo(e[u],e[u+1],l);return a[u](f)};return r?l=>c(Yr(e[0],e[o-1],l)):c}function sx(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const i=fo(0,t,n);e.push(ft(r,1,i))}}function lx(e){const t=[0];return sx(t,e.length-1),t}function cx(e,t){return e.map(r=>r*t)}function ux(e,t){return e.map(()=>t||qd).splice(0,e.length-1)}function Ea({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const i=G2(n)?n.map(eh):eh(n),o={done:!1,value:t[0]},a=cx(r&&r.length===t.length?r:lx(t),e),s=ph(a,t,{ease:Array.isArray(i)?i:ux(t,i)});return{calculatedDuration:e,next:c=>(o.value=s(c),o.done=c>=e,o)}}function gh(e,t){return t?e*(1e3/t):0}const fx=5;function mh(e,t,r){const n=Math.max(t-fx,0);return gh(r-e(n),t-n)}const ql=.001,dx=.01,vh=10,hx=.05,px=1;function gx({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;lo(e<=Kr(vh),"Spring duration must be 10 seconds or less");let a=1-t;a=Yr(hx,px,a),e=Yr(dx,vh,Dr(e)),a<1?(i=l=>{const u=l*a,f=u*e,d=u-r,h=Xl(l,a),g=Math.exp(-f);return ql-d/h*g},o=l=>{const f=l*a*e,d=f*r+r,h=Math.pow(a,2)*Math.pow(l,2)*e,g=Math.exp(-f),m=Xl(Math.pow(l,2),a);return(-i(l)+ql>0?-1:1)*((d-h)*g)/m}):(i=l=>{const u=Math.exp(-l*e),f=(l-r)*e+1;return-ql+u*f},o=l=>{const u=Math.exp(-l*e),f=(r-l)*(e*e);return u*f});const s=5/e,c=vx(i,o,s);if(e=Kr(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{const l=Math.pow(c,2)*n;return{stiffness:l,damping:a*2*Math.sqrt(n*l),duration:e}}}const mx=12;function vx(e,t,r){let n=r;for(let i=1;i<mx;i++)n=n-e(n)/t(n);return n}function Xl(e,t){return e*Math.sqrt(1-t*t)}const yx=["duration","bounce"],bx=["stiffness","damping","mass"];function yh(e,t){return t.some(r=>e[r]!==void 0)}function xx(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!yh(e,bx)&&yh(e,yx)){const r=gx(e);t={...t,...r,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function bh({keyframes:e,restDelta:t,restSpeed:r,...n}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:c,mass:l,velocity:u,duration:f,isResolvedFromDuration:d}=xx(n),h=u?-Dr(u):0,g=c/(2*Math.sqrt(s*l)),m=o-i,y=Dr(Math.sqrt(s/l)),x=Math.abs(m)<5;r||(r=x?.01:2),t||(t=x?.005:.5);let b;if(g<1){const S=Xl(y,g);b=P=>{const w=Math.exp(-g*y*P);return o-w*((h+g*y*m)/S*Math.sin(S*P)+m*Math.cos(S*P))}}else if(g===1)b=S=>o-Math.exp(-y*S)*(m+(h+y*m)*S);else{const S=y*Math.sqrt(g*g-1);b=P=>{const w=Math.exp(-g*y*P),E=Math.min(S*P,300);return o-w*((h+g*y*m)*Math.sinh(E)+S*m*Math.cosh(E))/S}}return{calculatedDuration:d&&f||null,next:S=>{const P=b(S);if(d)a.done=S>=f;else{let w=h;S!==0&&(g<1?w=mh(b,S,P):w=0);const E=Math.abs(w)<=r,O=Math.abs(o-P)<=t;a.done=E&&O}return a.value=a.done?o:P,a}}}function xh({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:c,restDelta:l=.5,restSpeed:u}){const f=e[0],d={done:!1,value:f},h=M=>s!==void 0&&M<s||c!==void 0&&M>c,g=M=>s===void 0?c:c===void 0||Math.abs(s-M)<Math.abs(c-M)?s:c;let m=r*t;const y=f+m,x=a===void 0?y:a(y);x!==y&&(m=x-f);const b=M=>-m*Math.exp(-M/n),S=M=>x+b(M),P=M=>{const L=b(M),W=S(M);d.done=Math.abs(L)<=l,d.value=d.done?x:W};let w,E;const O=M=>{h(d.value)&&(w=M,E=bh({keyframes:[d.value,g(d.value)],velocity:mh(S,M,d.value),damping:i,stiffness:o,restDelta:l,restSpeed:u}))};return O(0),{calculatedDuration:null,next:M=>{let L=!1;return!E&&w===void 0&&(L=!0,P(M),O(M)),w!==void 0&&M>w?E.next(M-w):(!L&&P(M),d)}}}const wx=e=>{const t=({timestamp:r})=>e(r);return{start:()=>rt.update(t,!0),stop:()=>$r(t),now:()=>_t.isProcessing?_t.timestamp:performance.now()}},wh=2e4;function Ch(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<wh;)t+=r,n=e.next(t);return t>=wh?1/0:t}const Cx={decay:xh,inertia:xh,tween:Ea,keyframes:Ea,spring:bh};function Oa({autoplay:e=!0,delay:t=0,driver:r=wx,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:c,onStop:l,onComplete:u,onUpdate:f,...d}){let h=1,g=!1,m,y;const x=()=>{y=new Promise(I=>{m=I})};x();let b;const S=Cx[i]||Ea;let P;S!==Ea&&typeof n[0]!="number"&&(P=ph([0,100],n,{clamp:!1}),n=[0,100]);const w=S({...d,keyframes:n});let E;s==="mirror"&&(E=S({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let O="idle",M=null,L=null,W=null;w.calculatedDuration===null&&o&&(w.calculatedDuration=Ch(w));const{calculatedDuration:de}=w;let ve=1/0,ce=1/0;de!==null&&(ve=de+a,ce=ve*(o+1)-a);let q=0;const Y=I=>{if(L===null)return;h>0&&(L=Math.min(L,I)),h<0&&(L=Math.min(I-ce/h,L)),M!==null?q=M:q=Math.round(I-L)*h;const Z=q-t*(h>=0?1:-1),ne=h>=0?Z<0:Z>ce;q=Math.max(Z,0),O==="finished"&&M===null&&(q=ce);let G=q,ue=w;if(o){const Q=q/ve;let te=Math.floor(Q),ye=Q%1;!ye&&Q>=1&&(ye=1),ye===1&&te--,te=Math.min(te,o+1);const F=!!(te%2);F&&(s==="reverse"?(ye=1-ye,a&&(ye-=a/ve)):s==="mirror"&&(ue=E));let Le=Yr(0,1,ye);q>ce&&(Le=s==="reverse"&&F?1:0),G=Le*ve}const se=ne?{done:!1,value:n[0]}:ue.next(G);P&&(se.value=P(se.value));let{done:pe}=se;!ne&&de!==null&&(pe=h>=0?q>=ce:q<=0);const K=M===null&&(O==="finished"||O==="running"&&pe);return f&&f(se.value),K&&We(),se},ge=()=>{b&&b.stop(),b=void 0},Te=()=>{O="idle",ge(),m(),x(),L=W=null},We=()=>{O="finished",u&&u(),ge(),m()},Me=()=>{if(g)return;b||(b=r(Y));const I=b.now();c&&c(),M!==null?L=I-M:(!L||O==="finished")&&(L=I),O==="finished"&&x(),W=L,M=null,O="running",b.start()};e&&Me();const D={then(I,Z){return y.then(I,Z)},get time(){return Dr(q)},set time(I){I=Kr(I),q=I,M!==null||!b||h===0?M=I:L=b.now()-I/h},get duration(){const I=w.calculatedDuration===null?Ch(w):w.calculatedDuration;return Dr(I)},get speed(){return h},set speed(I){I===h||!b||(h=I,D.time=Dr(q))},get state(){return O},play:Me,pause:()=>{O="paused",M=q},stop:()=>{g=!0,O!=="idle"&&(O="idle",l&&l(),Te())},cancel:()=>{W!==null&&Y(W),Te()},complete:()=>{O="finished"},sample:I=>(L=0,Y(I))};return D}function Sx(e){let t;return()=>(t===void 0&&(t=e()),t)}const Tx=Sx(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ex=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Pa=10,Ox=2e4,Px=(e,t)=>t.type==="spring"||e==="backgroundColor"||!Hd(t.ease);function Mx(e,t,{onUpdate:r,onComplete:n,...i}){if(!(Tx()&&Ex.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let a=!1,s,c;const l=()=>{c=new Promise(b=>{s=b})};l();let{keyframes:u,duration:f=300,ease:d,times:h}=i;if(Px(t,i)){const b=Oa({...i,repeat:0,delay:0});let S={done:!1,value:u[0]};const P=[];let w=0;for(;!S.done&&w<Ox;)S=b.sample(w),P.push(S.value),w+=Pa;h=void 0,u=P,f=w-Pa,d="linear"}const g=B2(e.owner.current,t,u,{...i,duration:f,ease:d,times:h});i.syncStart&&(g.startTime=_t.isProcessing?_t.timestamp:performance.now());const m=()=>g.cancel(),y=()=>{rt.update(m),s(),l()};return g.onfinish=()=>{e.set(z2(u,i)),n&&n(),y()},{then(b,S){return c.then(b,S)},attachTimeline(b){return g.timeline=b,g.onfinish=null,gt},get time(){return Dr(g.currentTime||0)},set time(b){g.currentTime=Kr(b)},get speed(){return g.playbackRate},set speed(b){g.playbackRate=b},get duration(){return Dr(f)},play:()=>{a||(g.play(),$r(m))},pause:()=>g.pause(),stop:()=>{if(a=!0,g.playState==="idle")return;const{currentTime:b}=g;if(b){const S=Oa({...i,autoplay:!1});e.setWithVelocity(S.sample(b-Pa).value,S.sample(b).value,Pa)}y()},complete:()=>g.finish(),cancel:y}}function _x({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const i=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:gt,pause:gt,stop:gt,then:o=>(o(),Promise.resolve()),cancel:gt,complete:gt});return t?Oa({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const $x={type:"spring",stiffness:500,damping:25,restSpeed:10},Ax=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kx={type:"keyframes",duration:.8},Dx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jx=(e,{keyframes:t})=>t.length>2?kx:hn.has(e)?e.startsWith("scale")?Ax(t[1]):$x:Dx,Kl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Zr.test(t)||t==="0")&&!t.startsWith("url(")),Ix=new Set(["brightness","contrast","saturate","opacity"]);function Lx(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(va)||[];if(!n)return e;const i=r.replace(n,"");let o=Ix.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const Fx=/([a-z-]*)\(.*?\)/g,Zl={...Zr,getAnimatableNone:e=>{const t=e.match(Fx);return t?t.map(Lx).join(" "):e}},Rx={...Cd,color:Rt,backgroundColor:Rt,outlineColor:Rt,fill:Rt,stroke:Rt,borderColor:Rt,borderTopColor:Rt,borderRightColor:Rt,borderBottomColor:Rt,borderLeftColor:Rt,filter:Zl,WebkitFilter:Zl},Ql=e=>Rx[e];function Sh(e,t){let r=Ql(e);return r!==Zl&&(r=Zr),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Th=e=>/^0[^.\s]+$/.test(e);function Nx(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Th(e)}function Bx(e,t,r,n){const i=Kl(t,r);let o;Array.isArray(r)?o=[...r]:o=[null,r];const a=n.from!==void 0?n.from:e.get();let s;const c=[];for(let l=0;l<o.length;l++)o[l]===null&&(o[l]=l===0?a:o[l-1]),Nx(o[l])&&c.push(l),typeof o[l]=="string"&&o[l]!=="none"&&o[l]!=="0"&&(s=o[l]);if(i&&c.length&&s)for(let l=0;l<c.length;l++){const u=c[l];o[u]=Sh(t,s)}return o}function zx({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:c,elapsed:l,...u}){return!!Object.keys(u).length}function Eh(e,t){return e[t]||e.default||e}const Jl=(e,t,r,n={})=>i=>{const o=Eh(n,e)||{},a=o.delay||n.delay||0;let{elapsed:s=0}=n;s=s-Kr(a);const c=Bx(t,e,r,o),l=c[0],u=c[c.length-1],f=Kl(e,l),d=Kl(e,u);lo(f===d,`You are trying to animate ${e} from "${l}" to "${u}". ${l} is not an animatable value - to enable this animation set ${l} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:c,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:g=>{t.set(g),o.onUpdate&&o.onUpdate(g)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(zx(o)||(h={...h,...jx(e,h)}),h.duration&&(h.duration=Kr(h.duration)),h.repeatDelay&&(h.repeatDelay=Kr(h.repeatDelay)),!f||!d||N2.current||o.type===!1)return _x(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const g=Mx(t,e,h);if(g)return g}return Oa(h)};function Ma(e){return!!(zt(e)&&e.add)}const Oh=e=>/^\-?\d*\.?\d+$/.test(e);function ec(e,t){e.indexOf(t)===-1&&e.push(t)}function tc(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class rc{constructor(){this.subscriptions=[]}add(t){return ec(this.subscriptions,t),()=>tc(this.subscriptions,t)}notify(t,r,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,r,n);else for(let o=0;o<i;o++){const a=this.subscriptions[o];a&&a(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ph=new Set;function nc(e,t,r){e||Ph.has(t)||(console.warn(t),r&&console.warn(r),Ph.add(t))}const Wx=e=>!isNaN(parseFloat(e));class Vx{constructor(t,r={}){this.version="10.16.3",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(n,i=!0)=>{this.prev=this.current,this.current=n;const{delta:o,timestamp:a}=_t;this.lastUpdated!==a&&(this.timeDelta=o,this.lastUpdated=a,rt.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()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>rt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{n!==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=Wx(this.current),this.owner=r.owner}onChange(t){return process.env.NODE_ENV!=="production"&&nc(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new rc);const n=this.events[t].add(r);return t==="change"?()=>{n(),rt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t,r=!0){!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,r,n){this.set(r),this.prev=t,this.timeDelta=n}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?gh(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),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 zn(e,t){return new Vx(e,t)}const Mh=e=>t=>t.test(e),_h=[pn,xe,vr,Gr,e2,Jb,{test:e=>e==="auto",parse:e=>e}],ho=e=>_h.find(Mh(e)),Hx=[..._h,Rt,Zr],Ux=e=>Hx.find(Mh(e));function Yx(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,zn(r))}function Gx(e,t){const r=Sa(e,t);let{transitionEnd:n={},transition:i={},...o}=r?e.makeTargetAnimatable(r,!1):{};o={...o,...n};for(const a in o){const s=p2(o[a]);Yx(e,a,s)}}function qx(e,t,r){var n,i;const o=Object.keys(t).filter(s=>!e.hasValue(s)),a=o.length;if(a)for(let s=0;s<a;s++){const c=o[s],l=t[c];let u=null;Array.isArray(l)&&(u=l[0]),u===null&&(u=(i=(n=r[c])!==null&&n!==void 0?n:e.readValue(c))!==null&&i!==void 0?i:t[c]),u!=null&&(typeof u=="string"&&(Oh(u)||Th(u))?u=parseFloat(u):!Ux(u)&&Zr.test(l)&&(u=Sh(c,l)),e.addValue(c,zn(u,{owner:e})),r[c]===void 0&&(r[c]=u),u!==null&&e.setBaseTarget(c,u))}}function Xx(e,t){return t?(t[e]||t.default||t).from:void 0}function Kx(e,t,r){const n={};for(const i in e){const o=Xx(i,t);if(o!==void 0)n[i]=o;else{const a=r.getValue(i);a&&(n[i]=a.get())}}return n}function Zx({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function $h(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const c=e.getValue("willChange");n&&(o=n);const l=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const f in s){const d=e.getValue(f),h=s[f];if(!d||h===void 0||u&&Zx(u,f))continue;const g={delay:r,elapsed:0,...o};if(window.HandoffAppearAnimations&&!d.hasAnimated){const y=e.getProps()[R2];y&&(g.elapsed=window.HandoffAppearAnimations(y,f,d,rt),g.syncStart=!0)}d.start(Jl(f,d,h,e.shouldReduceMotion&&hn.has(f)?{type:!1}:g));const m=d.animation;Ma(c)&&(c.add(f),m.then(()=>c.remove(f))),l.push(m)}return a&&Promise.all(l).then(()=>{a&&Gx(e,a)}),l}function ic(e,t,r={}){const n=Sa(e,t,r.custom);let{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);const o=n?()=>Promise.all($h(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:l=0,staggerChildren:u,staggerDirection:f}=i;return Qx(e,t,l+c,u,f,r)}:()=>Promise.resolve(),{when:s}=i;if(s){const[c,l]=s==="beforeChildren"?[o,a]:[a,o];return c().then(()=>l())}else return Promise.all([o(),a(r.delay)])}function Qx(e,t,r=0,n=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*n,c=i===1?(l=0)=>l*n:(l=0)=>s-l*n;return Array.from(e.variantChildren).sort(Jx).forEach((l,u)=>{l.notify("AnimationStart",t),a.push(ic(l,t,{...o,delay:r+c(u)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(a)}function Jx(e,t){return e.sortNodePosition(t)}function ew(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const i=t.map(o=>ic(e,o,r));n=Promise.all(i)}else if(typeof t=="string")n=ic(e,t,r);else{const i=typeof t=="function"?Sa(e,t,r.custom):t;n=Promise.all($h(e,i,r))}return n.then(()=>e.notify("AnimationComplete",t))}const tw=[...Sl].reverse(),rw=Sl.length;function nw(e){return t=>Promise.all(t.map(({animation:r,options:n})=>ew(e,r,n)))}function iw(e){let t=nw(e);const r=aw();let n=!0;const i=(c,l)=>{const u=Sa(e,l);if(u){const{transition:f,transitionEnd:d,...h}=u;c={...c,...h,...d}}return c};function o(c){t=c(e)}function a(c,l){const u=e.getProps(),f=e.getVariantContext(!0)||{},d=[],h=new Set;let g={},m=1/0;for(let x=0;x<rw;x++){const b=tw[x],S=r[b],P=u[b]!==void 0?u[b]:f[b],w=to(P),E=b===l?S.isActive:null;E===!1&&(m=x);let O=P===f[b]&&P!==u[b]&&w;if(O&&n&&e.manuallyAnimateOnMount&&(O=!1),S.protectedKeys={...g},!S.isActive&&E===null||!P&&!S.prevProp||ha(P)||typeof P=="boolean")continue;const M=ow(S.prevProp,P);let L=M||b===l&&S.isActive&&!O&&w||x>m&&w;const W=Array.isArray(P)?P:[P];let de=W.reduce(i,{});E===!1&&(de={});const{prevResolvedValues:ve={}}=S,ce={...ve,...de},q=Y=>{L=!0,h.delete(Y),S.needsAnimating[Y]=!0};for(const Y in ce){const ge=de[Y],Te=ve[Y];g.hasOwnProperty(Y)||(ge!==Te?ba(ge)&&ba(Te)?!Wd(ge,Te)||M?q(Y):S.protectedKeys[Y]=!0:ge!==void 0?q(Y):h.add(Y):ge!==void 0&&h.has(Y)?q(Y):S.protectedKeys[Y]=!0)}S.prevProp=P,S.prevResolvedValues=de,S.isActive&&(g={...g,...de}),n&&e.blockInitialAnimation&&(L=!1),L&&!O&&d.push(...W.map(Y=>({animation:Y,options:{type:b,...c}})))}if(h.size){const x={};h.forEach(b=>{const S=e.getBaseTarget(b);S!==void 0&&(x[b]=S)}),d.push({animation:x})}let y=!!d.length;return n&&u.initial===!1&&!e.manuallyAnimateOnMount&&(y=!1),n=!1,y?t(d):Promise.resolve()}function s(c,l,u){var f;if(r[c].isActive===l)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(c,l)}),r[c].isActive=l;const d=a(u,c);for(const h in r)r[h].protectedKeys={};return d}return{animateChanges:a,setActive:s,setAnimateFunction:o,getState:()=>r}}function ow(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Wd(t,e):!1}function mn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function aw(){return{animate:mn(!0),whileInView:mn(),whileHover:mn(),whileTap:mn(),whileDrag:mn(),whileFocus:mn(),exit:mn()}}class sw extends Xr{constructor(t){super(t),t.animationState||(t.animationState=iw(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),ha(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){}}let lw=0;class cw extends Xr{constructor(){super(...arguments),this.id=lw++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const o=this.node.animationState.setActive("exit",!t,{custom:n??this.node.getProps().custom});r&&!t&&o.then(()=>r(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const uw={animation:{Feature:sw},exit:{Feature:cw}},Ah=(e,t)=>Math.abs(e-t);function fw(e,t){const r=Ah(e.x,t.x),n=Ah(e.y,t.y);return Math.sqrt(r**2+n**2)}class kh{constructor(t,r,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const l=ac(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,f=fw(l.offset,{x:0,y:0})>=3;if(!u&&!f)return;const{point:d}=l,{timestamp:h}=_t;this.history.push({...d,timestamp:h});const{onStart:g,onMove:m}=this.handlers;u||(g&&g(this.lastMoveEvent,l),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,l)},this.handlePointerMove=(l,u)=>{this.lastMoveEvent=l,this.lastMoveEventInfo=oc(u,this.transformPagePoint),rt.update(this.updatePoint,!0)},this.handlePointerUp=(l,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:d}=this.handlers,h=ac(l.type==="pointercancel"?this.lastMoveEventInfo:oc(u,this.transformPagePoint),this.history);this.startEvent&&f&&f(l,h),d&&d(l,h)},!jd(t))return;this.handlers=r,this.transformPagePoint=n;const i=Ca(t),o=oc(i,this.transformPagePoint),{point:a}=o,{timestamp:s}=_t;this.history=[{...a,timestamp:s}];const{onSessionStart:c}=r;c&&c(t,ac(o,this.history)),this.removeListeners=qr(kr(window,"pointermove",this.handlePointerMove),kr(window,"pointerup",this.handlePointerUp),kr(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),$r(this.updatePoint)}}function oc(e,t){return t?{point:t(e.point)}:e}function Dh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ac({point:e},t){return{point:e,delta:Dh(e,jh(t)),offset:Dh(e,dw(t)),velocity:hw(t,.1)}}function dw(e){return e[0]}function jh(e){return e[e.length-1]}function hw(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const i=jh(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>Kr(t)));)r--;if(!n)return{x:0,y:0};const o=Dr(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};const a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Xt(e){return e.max-e.min}function sc(e,t=0,r=.01){return Math.abs(e-t)<=r}function Ih(e,t,r,n=.5){e.origin=n,e.originPoint=ft(t.min,t.max,e.origin),e.scale=Xt(r)/Xt(t),(sc(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ft(r.min,r.max,e.origin)-e.originPoint,(sc(e.translate)||isNaN(e.translate))&&(e.translate=0)}function po(e,t,r,n){Ih(e.x,t.x,r.x,n?n.originX:void 0),Ih(e.y,t.y,r.y,n?n.originY:void 0)}function Lh(e,t,r){e.min=r.min+t.min,e.max=e.min+Xt(t)}function pw(e,t,r){Lh(e.x,t.x,r.x),Lh(e.y,t.y,r.y)}function Fh(e,t,r){e.min=t.min-r.min,e.max=e.min+Xt(t)}function go(e,t,r){Fh(e.x,t.x,r.x),Fh(e.y,t.y,r.y)}function gw(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?ft(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?ft(r,e,n.max):Math.min(e,r)),e}function Rh(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function mw(e,{top:t,left:r,bottom:n,right:i}){return{x:Rh(e.x,r,i),y:Rh(e.y,t,n)}}function Nh(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function vw(e,t){return{x:Nh(e.x,t.x),y:Nh(e.y,t.y)}}function yw(e,t){let r=.5;const n=Xt(e),i=Xt(t);return i>n?r=fo(t.min,t.max-n,e.min):n>i&&(r=fo(e.min,e.max-i,t.min)),Yr(0,1,r)}function bw(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const lc=.35;function xw(e=lc){return e===!1?e=0:e===!0&&(e=lc),{x:Bh(e,"left","right"),y:Bh(e,"top","bottom")}}function Bh(e,t,r){return{min:zh(e,t),max:zh(e,r)}}function zh(e,t){return typeof e=="number"?e:e[t]||0}const Wh=()=>({translate:0,scale:1,origin:0,originPoint:0}),Wn=()=>({x:Wh(),y:Wh()}),Vh=()=>({min:0,max:0}),Tt=()=>({x:Vh(),y:Vh()});function yr(e){return[e("x"),e("y")]}function Hh({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function ww({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Cw(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function cc(e){return e===void 0||e===1}function uc({scale:e,scaleX:t,scaleY:r}){return!cc(e)||!cc(t)||!cc(r)}function vn(e){return uc(e)||Uh(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Uh(e){return Yh(e.x)||Yh(e.y)}function Yh(e){return e&&e!=="0%"}function _a(e,t,r){const n=e-r,i=t*n;return r+i}function Gh(e,t,r,n,i){return i!==void 0&&(e=_a(e,i,n)),_a(e,r,n)+t}function fc(e,t=0,r=1,n,i){e.min=Gh(e.min,t,r,n,i),e.max=Gh(e.max,t,r,n,i)}function qh(e,{x:t,y:r}){fc(e.x,t.translate,t.scale,t.originPoint),fc(e.y,r.translate,r.scale,r.originPoint)}function Sw(e,t,r,n=!1){const i=r.length;if(!i)return;t.x=t.y=1;let o,a;for(let s=0;s<i;s++){o=r[s],a=o.projectionDelta;const c=o.instance;c&&c.style&&c.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Vn(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,qh(e,a)),n&&vn(o.latestValues)&&Vn(e,o.latestValues))}t.x=Xh(t.x),t.y=Xh(t.y)}function Xh(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Qr(e,t){e.min=e.min+t,e.max=e.max+t}function Kh(e,t,[r,n,i]){const o=t[i]!==void 0?t[i]:.5,a=ft(e.min,e.max,o);fc(e,t[r],t[n],a,t.scale)}const Tw=["x","scaleX","originX"],Ew=["y","scaleY","originY"];function Vn(e,t){Kh(e.x,t,Tw),Kh(e.y,t,Ew)}function Zh(e,t){return Hh(Cw(e.getBoundingClientRect(),t))}function Ow(e,t,r){const n=Zh(e,r),{scroll:i}=t;return i&&(Qr(n.x,i.offset.x),Qr(n.y,i.offset.y)),n}const Pw=new WeakMap;class Mw{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=Tt(),this.visualElement=t}start(t,{snapToCursor:r=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;const i=c=>{this.stopAnimation(),r&&this.snapToCursor(Ca(c,"page").point)},o=(c,l)=>{const{drag:u,dragPropagation:f,onDragStart:d}=this.getProps();if(u&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Rd(u),!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),yr(g=>{let m=this.getAxisMotionValue(g).get()||0;if(vr.test(m)){const{projection:y}=this.visualElement;if(y&&y.layout){const x=y.layout.layoutBox[g];x&&(m=Xt(x)*(parseFloat(m)/100))}}this.originPoint[g]=m}),d&&rt.update(()=>d(c,l),!1,!0);const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},a=(c,l)=>{const{dragPropagation:u,dragDirectionLock:f,onDirectionLock:d,onDrag:h}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:g}=l;if(f&&this.currentDirection===null){this.currentDirection=_w(g),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",l.point,g),this.updateAxis("y",l.point,g),this.visualElement.render(),h&&h(c,l)},s=(c,l)=>this.stop(c,l);this.panSession=new kh(t,{onSessionStart:i,onStart:o,onMove:a,onSessionEnd:s},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,r){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=r;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&rt.update(()=>o(t,r))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:i}=this.getProps();if(!n||!$a(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=gw(a,this.constraints[t],this.elastic[t])),o.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:r}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;t&&Nn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=mw(n.layoutBox,t):this.constraints=!1,this.elastic=xw(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&yr(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=bw(n.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Nn(t))return!1;const n=t.current;lr(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Ow(n,i.root,this.visualElement.getTransformPagePoint());let a=vw(i.layout.layoutBox,o);if(r){const s=r(ww(a));this.hasMutatedConstraints=!!s,s&&(a=Hh(s))}return a}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),c=this.constraints||{},l=yr(u=>{if(!$a(u,r,this.currentDirection))return;let f=c&&c[u]||{};a&&(f={min:0,max:0});const d=i?200:1e6,h=i?40:1e7,g={type:"inertia",velocity:n?t[u]:0,bounceStiffness:d,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(u,g)});return Promise.all(l).then(s)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return n.start(Jl(t,n,0,r))}stopAnimation(){yr(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const r="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),i=n[r];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){yr(r=>{const{drag:n}=this.getProps();if(!$a(r,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(r);if(i&&i.layout){const{min:a,max:s}=i.layout.layoutBox[r];o.set(t[r]-ft(a,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Nn(r)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};yr(a=>{const s=this.getAxisMotionValue(a);if(s){const c=s.get();i[a]=yw({min:c,max:c},this.constraints[a])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),yr(a=>{if(!$a(a,t,null))return;const s=this.getAxisMotionValue(a),{min:c,max:l}=this.constraints[a];s.set(ft(c,l,i[a]))})}addListeners(){if(!this.visualElement.current)return;Pw.set(this.visualElement,this);const t=this.visualElement.current,r=kr(t,"pointerdown",c=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(c)}),n=()=>{const{dragConstraints:c}=this.getProps();Nn(c)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),n();const a=Ar(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:c,hasLayoutChanged:l})=>{this.isDragging&&l&&(yr(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=c[u].translate,f.set(f.get()+c[u].translate))}),this.visualElement.render())});return()=>{a(),r(),o(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:a=lc,dragMomentum:s=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:a,dragMomentum:s}}}function $a(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function _w(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class $w extends Xr{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new Mw(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Qh=e=>(t,r)=>{e&&rt.update(()=>e(t,r))};class Aw extends Xr{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new kh(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Qh(t),onStart:Qh(r),onMove:n,onEnd:(o,a)=>{delete this.session,i&&rt.update(()=>i(o,a))}}}mount(){this.removePointerDownListener=kr(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 kw(){const e=p.useContext(fa);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:r,register:n}=e,i=p.useId();return p.useEffect(()=>n(i),[]),!t&&r?[!1,()=>r&&r(i)]:[!0]}const Aa={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Jh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const mo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(xe.test(e))e=parseFloat(e);else return e;const r=Jh(e,t.target.x),n=Jh(e,t.target.y);return`${r}% ${n}%`}},Dw={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,i=Zr.parse(e);if(i.length>5)return n;const o=Zr.createTransformer(e),a=typeof i[0]!="number"?1:0,s=r.x.scale*t.x,c=r.y.scale*t.y;i[0+a]/=s,i[1+a]/=c;const l=ft(s,c,.5);return typeof i[2+a]=="number"&&(i[2+a]/=l),typeof i[3+a]=="number"&&(i[3+a]/=l),o(i)}};class jw extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=t;Yb(Iw),o&&(r.group&&r.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Aa.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:i,isPresent:o}=this.props,a=n.projection;return a&&(a.isPresent=o,i||t.layoutDependency!==r||r===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?a.promote():a.relegate()||rt.postRender(()=>{const s=a.getStack();(!s||!s.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:r,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ep(e){const[t,r]=kw(),n=p.useContext(Ol);return p.createElement(jw,{...e,layoutGroup:n,switchLayoutGroup:p.useContext(gd),isPresent:t,safeToRemove:r})}const Iw={borderRadius:{...mo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mo,borderTopRightRadius:mo,borderBottomLeftRadius:mo,borderBottomRightRadius:mo,boxShadow:Dw},tp=["TopLeft","TopRight","BottomLeft","BottomRight"],Lw=tp.length,rp=e=>typeof e=="string"?parseFloat(e):e,np=e=>typeof e=="number"||xe.test(e);function Fw(e,t,r,n,i,o){i?(e.opacity=ft(0,r.opacity!==void 0?r.opacity:1,Rw(n)),e.opacityExit=ft(t.opacity!==void 0?t.opacity:1,0,Nw(n))):o&&(e.opacity=ft(t.opacity!==void 0?t.opacity:1,r.opacity!==void 0?r.opacity:1,n));for(let a=0;a<Lw;a++){const s=`border${tp[a]}Radius`;let c=ip(t,s),l=ip(r,s);if(c===void 0&&l===void 0)continue;c||(c=0),l||(l=0),c===0||l===0||np(c)===np(l)?(e[s]=Math.max(ft(rp(c),rp(l),n),0),(vr.test(l)||vr.test(c))&&(e[s]+="%")):e[s]=l}(t.rotate||r.rotate)&&(e.rotate=ft(t.rotate||0,r.rotate||0,n))}function ip(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Rw=op(0,.5,Bl),Nw=op(.5,.95,gt);function op(e,t,r){return n=>n<e?0:n>t?1:r(fo(e,t,n))}function ap(e,t){e.min=t.min,e.max=t.max}function ir(e,t){ap(e.x,t.x),ap(e.y,t.y)}function sp(e,t,r,n,i){return e-=t,e=_a(e,1/r,n),i!==void 0&&(e=_a(e,1/i,n)),e}function Bw(e,t=0,r=1,n=.5,i,o=e,a=e){if(vr.test(t)&&(t=parseFloat(t),t=ft(a.min,a.max,t/100)-a.min),typeof t!="number")return;let s=ft(o.min,o.max,n);e===o&&(s-=t),e.min=sp(e.min,t,r,s,i),e.max=sp(e.max,t,r,s,i)}function lp(e,t,[r,n,i],o,a){Bw(e,t[r],t[n],t[i],t.scale,o,a)}const zw=["x","scaleX","originX"],Ww=["y","scaleY","originY"];function cp(e,t,r,n){lp(e.x,t,zw,r?r.x:void 0,n?n.x:void 0),lp(e.y,t,Ww,r?r.y:void 0,n?n.y:void 0)}function up(e){return e.translate===0&&e.scale===1}function fp(e){return up(e.x)&&up(e.y)}function Vw(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 dp(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 hp(e){return Xt(e.x)/Xt(e.y)}class Hw{constructor(){this.members=[]}add(t){ec(this.members,t),t.scheduleRender()}remove(t){if(tc(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(i=>t===i);if(r===0)return!1;let n;for(let i=r;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){n=o;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function pp(e,t,r){let n="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:c,rotateX:l,rotateY:u}=r;c&&(n+=`rotate(${c}deg) `),l&&(n+=`rotateX(${l}deg) `),u&&(n+=`rotateY(${u}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return(a!==1||s!==1)&&(n+=`scale(${a}, ${s})`),n||"none"}const Uw=(e,t)=>e.depth-t.depth;class Yw{constructor(){this.children=[],this.isDirty=!1}add(t){ec(this.children,t),this.isDirty=!0}remove(t){tc(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Uw),this.isDirty=!1,this.children.forEach(t)}}function Gw(e,t){const r=performance.now(),n=({timestamp:i})=>{const o=i-r;o>=t&&($r(n),e(o-t))};return rt.read(n,!0),()=>$r(n)}function qw(e){window.MotionDebug&&window.MotionDebug.record(e)}function Xw(e){return e instanceof SVGElement&&e.tagName!=="svg"}function Kw(e,t,r){const n=zt(e)?e:zn(e);return n.start(Jl("",n,t,r)),n.animation}const gp=["","X","Y","Z"],mp=1e3;let Zw=0;const yn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function vp({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(a={},s=t==null?void 0:t()){this.id=Zw++,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.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{yn.totalNodes=yn.resolvedTargetDeltas=yn.recalculatedProjection=0,this.nodes.forEach(e5),this.nodes.forEach(o5),this.nodes.forEach(a5),this.nodes.forEach(t5),qw(yn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=s?s.root||s:this,this.path=s?[...s.path,s]:[],this.parent=s,this.depth=s?s.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Yw)}addEventListener(a,s){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new rc),this.eventHandlers.get(a).add(s)}notifyListeners(a,...s){const c=this.eventHandlers.get(a);c&&c.notify(...s)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,s=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Xw(a),this.instance=a;const{layoutId:c,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),s&&(l||c)&&(this.isLayoutDirty=!0),e){let f;const d=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=Gw(d,250),Aa.hasAnimatedSinceResize&&(Aa.hasAnimatedSinceResize=!1,this.nodes.forEach(bp))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&u&&(c||l)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||f5,{onLayoutAnimationStart:y,onLayoutAnimationComplete:x}=u.getProps(),b=!this.targetLayout||!dp(this.targetLayout,g)||h,S=!d&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||S||d&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,S);const P={...Eh(m,"layout"),onPlay:y,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else d||bp(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}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,$r(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(s5),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 u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:s,layout:c}=this.options;if(s===void 0&&!c)return;const l=this.getTransformTemplate();this.prevTransformTemplateValue=l?l(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(yp);return}this.isUpdating||this.nodes.forEach(n5),this.isUpdating=!1,this.nodes.forEach(i5),this.nodes.forEach(Qw),this.nodes.forEach(Jw),this.clearAllSnapshots();const s=performance.now();_t.delta=Yr(0,1e3/60,s-_t.timestamp),_t.timestamp=s,_t.isProcessing=!0,Ll.update.process(_t),Ll.preRender.process(_t),Ll.render.process(_t),_t.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(r5),this.sharedNodes.forEach(l5)}scheduleUpdateProjection(){rt.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){rt.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 c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Tt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:s}=this.options;s&&s.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let s=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(s=!1),s&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;const a=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!fp(this.projectionDelta),c=this.getTransformTemplate(),l=c?c(this.latestValues,""):void 0,u=l!==this.prevTransformTemplateValue;a&&(s||vn(this.latestValues)||u)&&(i(this.instance,l),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const s=this.measurePageBox();let c=this.removeElementScroll(s);return a&&(c=this.removeTransform(c)),d5(c),{animationId:this.root.animationId,measuredBox:s,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Tt();const s=a.measureViewportBox(),{scroll:c}=this.root;return c&&(Qr(s.x,c.offset.x),Qr(s.y,c.offset.y)),s}removeElementScroll(a){const s=Tt();ir(s,a);for(let c=0;c<this.path.length;c++){const l=this.path[c],{scroll:u,options:f}=l;if(l!==this.root&&u&&f.layoutScroll){if(u.isRoot){ir(s,a);const{scroll:d}=this.root;d&&(Qr(s.x,-d.offset.x),Qr(s.y,-d.offset.y))}Qr(s.x,u.offset.x),Qr(s.y,u.offset.y)}}return s}applyTransform(a,s=!1){const c=Tt();ir(c,a);for(let l=0;l<this.path.length;l++){const u=this.path[l];!s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Vn(c,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),vn(u.latestValues)&&Vn(c,u.latestValues)}return vn(this.latestValues)&&Vn(c,this.latestValues),c}removeTransform(a){const s=Tt();ir(s,a);for(let c=0;c<this.path.length;c++){const l=this.path[c];if(!l.instance||!vn(l.latestValues))continue;uc(l.latestValues)&&l.updateSnapshot();const u=Tt(),f=l.measurePageBox();ir(u,f),cp(s,l.latestValues,l.snapshot?l.snapshot.layoutBox:void 0,u)}return vn(this.latestValues)&&cp(s,this.latestValues),s}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==_t.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var s;const c=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=c.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=c.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=c.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==c;if(!(a||l&&this.isSharedProjectionDirty||this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=_t.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Tt(),this.relativeTargetOrigin=Tt(),go(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Tt(),this.targetWithTransforms=Tt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pw(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ir(this.target,this.layout.layoutBox),qh(this.target,this.targetDelta)):ir(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Tt(),this.relativeTargetOrigin=Tt(),go(this.relativeTargetOrigin,this.target,h.target),ir(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}yn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||uc(this.parent.latestValues)||Uh(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 s=this.getLead(),c=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(l=!1),c&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===_t.timestamp&&(l=!1),l)return;const{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;ir(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;Sw(this.layoutCorrected,this.treeScale,this.path,c),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox);const{target:g}=s;if(!g){this.projectionTransform&&(this.projectionDelta=Wn(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Wn(),this.projectionDeltaWithTransform=Wn());const m=this.projectionTransform;po(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=pp(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==d||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),yn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){const s=this.getStack();s&&s.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(a,s=!1){const c=this.snapshot,l=c?c.latestValues:{},u={...this.latestValues},f=Wn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!s;const d=Tt(),h=c?c.source:void 0,g=this.layout?this.layout.source:void 0,m=h!==g,y=this.getStack(),x=!y||y.members.length<=1,b=!!(m&&!x&&this.options.crossfade===!0&&!this.path.some(u5));this.animationProgress=0;let S;this.mixTargetDelta=P=>{const w=P/1e3;xp(f.x,a.x,w),xp(f.y,a.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(go(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),c5(this.relativeTarget,this.relativeTargetOrigin,d,w),S&&Vw(this.relativeTarget,S)&&(this.isProjectionDirty=!1),S||(S=Tt()),ir(S,this.relativeTarget)),m&&(this.animationValues=u,Fw(u,l,this.latestValues,w,b,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},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&&($r(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=rt.update(()=>{Aa.hasAnimatedSinceResize=!0,this.currentAnimation=Kw(0,mp,{...a,onUpdate:s=>{this.mixTargetDelta(s),a.onUpdate&&a.onUpdate(s)},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(mp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:s,target:c,layout:l,latestValues:u}=a;if(!(!s||!c||!l)){if(this!==a&&this.layout&&l&&Ep(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||Tt();const f=Xt(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+f;const d=Xt(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+d}ir(s,c),Vn(s,u),po(this.projectionDeltaWithTransform,this.layoutCorrected,s,u)}}registerSharedNode(a,s){this.sharedNodes.has(a)||this.sharedNodes.set(a,new Hw),this.sharedNodes.get(a).add(s);const l=s.options.initialPromotionConfig;s.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(s):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(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:s,preserveFollowOpacity:c}={}){const l=this.getStack();l&&l.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),s&&this.setOptions({transition:s})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let s=!1;const{latestValues:c}=a;if((c.rotate||c.rotateX||c.rotateY||c.rotateZ)&&(s=!0),!s)return;const l={};for(let u=0;u<gp.length;u++){const f="rotate"+gp[u];c[f]&&(l[f]=c[f],a.setStaticValue(f,0))}a.render();for(const u in l)a.setStaticValue(u,l[u]);a.scheduleRender()}getProjectionStyles(a={}){var s,c;const l={};if(!this.instance||this.isSVG)return l;if(this.isVisible)l.visibility="";else return{visibility:"hidden"};const u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=xa(a.pointerEvents)||"",l.transform=u?u(this.latestValues,""):"none",l;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const m={};return this.options.layoutId&&(m.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,m.pointerEvents=xa(a.pointerEvents)||""),this.hasProjected&&!vn(this.latestValues)&&(m.transform=u?u({},""):"none",this.hasProjected=!1),m}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),l.transform=pp(this.projectionDeltaWithTransform,this.treeScale,d),u&&(l.transform=u(d,l.transform));const{x:h,y:g}=this.projectionDelta;l.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,f.animationValues?l.opacity=f===this?(c=(s=d.opacity)!==null&&s!==void 0?s:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const m in ga){if(d[m]===void 0)continue;const{correct:y,applyTo:x}=ga[m],b=l.transform==="none"?d[m]:y(d[m],f);if(x){const S=x.length;for(let P=0;P<S;P++)l[x[P]]=b}else l[m]=b}return this.options.layoutId&&(l.pointerEvents=f===this?xa(a.pointerEvents)||"":"none"),l}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var s;return(s=a.currentAnimation)===null||s===void 0?void 0:s.stop()}),this.root.nodes.forEach(yp),this.root.sharedNodes.clear()}}}function Qw(e){e.updateLayout()}function Jw(e){var t;const r=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=e.layout,{animationType:o}=e.options,a=r.source!==e.layout.source;o==="size"?yr(f=>{const d=a?r.measuredBox[f]:r.layoutBox[f],h=Xt(d);d.min=n[f].min,d.max=d.min+h}):Ep(o,r.layoutBox,n)&&yr(f=>{const d=a?r.measuredBox[f]:r.layoutBox[f],h=Xt(n[f]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const s=Wn();po(s,n,r.layoutBox);const c=Wn();a?po(c,e.applyTransform(i,!0),r.measuredBox):po(c,n,r.layoutBox);const l=!fp(s);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:h}=f;if(d&&h){const g=Tt();go(g,r.layoutBox,d.layoutBox);const m=Tt();go(m,n,h.layoutBox),dp(g,m)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=g,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:r,delta:c,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function e5(e){yn.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 t5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function r5(e){e.clearSnapshot()}function yp(e){e.clearMeasurements()}function n5(e){e.isLayoutDirty=!1}function i5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function bp(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function o5(e){e.resolveTargetDelta()}function a5(e){e.calcProjection()}function s5(e){e.resetRotation()}function l5(e){e.removeLeadSnapshot()}function xp(e,t,r){e.translate=ft(t.translate,0,r),e.scale=ft(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function wp(e,t,r,n){e.min=ft(t.min,r.min,n),e.max=ft(t.max,r.max,n)}function c5(e,t,r,n){wp(e.x,t.x,r.x,n),wp(e.y,t.y,r.y,n)}function u5(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const f5={duration:.45,ease:[.4,0,.1,1]},Cp=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Sp=Cp("applewebkit/")&&!Cp("chrome/")?Math.round:gt;function Tp(e){e.min=Sp(e.min),e.max=Sp(e.max)}function d5(e){Tp(e.x),Tp(e.y)}function Ep(e,t,r){return e==="position"||e==="preserve-aspect"&&!sc(hp(t),hp(r),.2)}const h5=vp({attachResizeListener:(e,t)=>Ar(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),dc={current:void 0},Op=vp({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dc.current){const e=new h5({});e.mount(window),e.setOptions({layoutScroll:!0}),dc.current=e}return dc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),p5={pan:{Feature:Aw},drag:{Feature:$w,ProjectionNode:Op,MeasureLayout:ep}},g5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function m5(e){const t=g5.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}const v5=4;function hc(e,t,r=1){lr(r<=v5,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,i]=m5(e);if(!n)return;const o=window.getComputedStyle(t).getPropertyValue(n);if(o){const a=o.trim();return Oh(a)?parseFloat(a):a}else return Ml(i)?hc(i,t,r+1):i}function y5(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(i=>{const o=i.get();if(!Ml(o))return;const a=hc(o,n);a&&i.set(a)});for(const i in t){const o=t[i];if(!Ml(o))continue;const a=hc(o,n);a&&(t[i]=a,r||(r={}),r[i]===void 0&&(r[i]=o))}return{target:t,transitionEnd:r}}const b5=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Pp=e=>b5.has(e),x5=e=>Object.keys(e).some(Pp),ka=e=>e===pn||e===xe,Mp=(e,t)=>parseFloat(e.split(", ")[t]),_p=(e,t)=>(r,{transform:n})=>{if(n==="none"||!n)return 0;const i=n.match(/^matrix3d\((.+)\)$/);if(i)return Mp(i[1],t);{const o=n.match(/^matrix\((.+)\)$/);return o?Mp(o[1],e):0}},w5=new Set(["x","y","z"]),C5=no.filter(e=>!w5.has(e));function S5(e){const t=[];return C5.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Hn={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:_p(4,13),y:_p(5,14)};Hn.translateX=Hn.x,Hn.translateY=Hn.y;const T5=(e,t,r)=>{const n=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(l=>{s[l]=Hn[l](n,o)}),t.render();const c=t.measureViewportBox();return r.forEach(l=>{const u=t.getValue(l);u&&u.jump(s[l]),e[l]=Hn[l](c,o)}),e},E5=(e,t,r={},n={})=>{t={...t},n={...n};const i=Object.keys(t).filter(Pp);let o=[],a=!1;const s=[];if(i.forEach(c=>{const l=e.getValue(c);if(!e.hasValue(c))return;let u=r[c],f=ho(u);const d=t[c];let h;if(ba(d)){const g=d.length,m=d[0]===null?1:0;u=d[m],f=ho(u);for(let y=m;y<g&&d[y]!==null;y++)h?lr(ho(d[y])===h,"All keyframes must be of the same type"):(h=ho(d[y]),lr(h===f||ka(f)&&ka(h),"Keyframes must be of the same dimension as the current value"))}else h=ho(d);if(f!==h)if(ka(f)&&ka(h)){const g=l.get();typeof g=="string"&&l.set(parseFloat(g)),typeof d=="string"?t[c]=parseFloat(d):Array.isArray(d)&&h===xe&&(t[c]=d.map(parseFloat))}else f!=null&&f.transform&&(h!=null&&h.transform)&&(u===0||d===0)?u===0?l.set(h.transform(u)):t[c]=f.transform(d):(a||(o=S5(e),a=!0),s.push(c),n[c]=n[c]!==void 0?n[c]:t[c],l.jump(d))}),s.length){const c=s.indexOf("height")>=0?window.pageYOffset:null,l=T5(t,e,s);return o.length&&o.forEach(([u,f])=>{e.getValue(u).set(f)}),e.render(),da&&c!==null&&window.scrollTo({top:c}),{target:l,transitionEnd:n}}else return{target:t,transitionEnd:n}};function O5(e,t,r,n){return x5(t)?E5(e,t,r,n):{target:t,transitionEnd:n}}const P5=(e,t,r,n)=>{const i=y5(e,t,n);return t=i.target,n=i.transitionEnd,O5(e,t,r,n)},pc={current:null},$p={current:!1};function M5(){if($p.current=!0,!!da)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pc.current=e.matches;e.addListener(t),t()}else pc.current=!1}function _5(e,t,r){const{willChange:n}=t;for(const i in t){const o=t[i],a=r[i];if(zt(o))e.addValue(i,o),Ma(n)&&n.add(i),process.env.NODE_ENV==="development"&&nc(o.version==="10.16.3",`Attempting to mix Framer Motion versions ${o.version} with 10.16.3 may not work as expected.`);else if(zt(a))e.addValue(i,zn(o,{owner:e})),Ma(n)&&n.remove(i);else if(a!==o)if(e.hasValue(i)){const s=e.getValue(i);!s.hasAnimated&&s.set(o)}else{const s=e.getStaticValue(i);e.addValue(i,zn(s!==void 0?s:o,{owner:e}))}}for(const i in r)t[i]===void 0&&e.removeValue(i);return t}const Ap=new WeakMap,kp=Object.keys(ro),$5=kp.length,Dp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],A5=Tl.length;class k5{constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:i,visualState:o},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=()=>rt.render(this.render,!1,!0);const{latestValues:s,renderState:c}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=r.initial?{...s}:{},this.renderState=c,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.isControllingVariants=pa(r),this.isVariantNode=dd(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:l,...u}=this.scrapeMotionValuesFromProps(r,{});for(const f in u){const d=u[f];s[f]!==void 0&&zt(d)&&(d.set(s[f],!1),Ma(l)&&l.add(f))}}scrapeMotionValuesFromProps(t,r){return{}}mount(t){this.current=t,Ap.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((r,n)=>this.bindToMotionValue(n,r)),$p.current||M5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pc.current,process.env.NODE_ENV!=="production"&&nc(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(){Ap.delete(this.current),this.projection&&this.projection.unmount(),$r(this.notifyUpdate),$r(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,r){const n=hn.has(t),i=r.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&rt.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=r.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...r},n,i,o){let a,s;if(process.env.NODE_ENV!=="production"&&i&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";r.ignoreStrict?lo(!1,c):lr(!1,c)}for(let c=0;c<$5;c++){const l=kp[c],{isEnabled:u,Feature:f,ProjectionNode:d,MeasureLayout:h}=ro[l];d&&(a=d),u(r)&&(!this.features[l]&&f&&(this.features[l]=new f(this)),h&&(s=h))}if(!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:c,layout:l,drag:u,dragConstraints:f,layoutScroll:d,layoutRoot:h}=r;this.projection.setOptions({layoutId:c,layout:l,alwaysMeasureLayout:!!u||f&&Nn(f),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof l=="string"?l:"both",initialPromotionConfig:o,layoutScroll:d,layoutRoot:h})}return s}updateFeatures(){for(const t in this.features){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Tt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}makeTargetAnimatable(t,r=!0){return this.makeTargetAnimatableFromInstance(t,this.props,r)}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<Dp.length;n++){const i=Dp[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o=t["on"+i];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=_5(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 n=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(n.initial=this.props.initial),n}const r={};for(let n=0;n<A5;n++){const i=Tl[n],o=this.props[i];(to(o)||o===!1)&&(r[i]=o)}return r}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){r!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,r)),this.values.set(t,r),this.latestValues[t]=r.get()}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=zn(r,{owner:this}),this.addValue(t,n)),n}readValue(t){var r;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var r;const{initial:n}=this.props,i=typeof n=="string"||typeof n=="object"?(r=Il(this.props,n))===null||r===void 0?void 0:r[t]:void 0;if(n&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!zt(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new rc),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}}class jp extends k5{sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:r,...n},{transformValues:i},o){let a=Kx(n,t||{},this);if(i&&(r&&(r=i(r)),n&&(n=i(n)),a&&(a=i(a))),o){qx(this,n,a);const s=P5(this,n,a,r);r=s.transitionEnd,n=s.target}return{transition:t,transitionEnd:r,...n}}}function D5(e){return window.getComputedStyle(e)}class j5 extends jp{readValueFromInstance(t,r){if(hn.has(r)){const n=Ql(r);return n&&n.default||0}else{const n=D5(t),i=(yd(r)?n.getPropertyValue(r):n[r])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Zh(t,r)}build(t,r,n,i){_l(t,r,n,i.transformTemplate)}scrapeMotionValuesFromProps(t,r){return jl(t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;zt(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}renderInstance(t,r,n,i){Pd(t,r,n,i)}}class I5 extends jp{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(hn.has(r)){const n=Ql(r);return n&&n.default||0}return r=Md.has(r)?r:Dl(r),t.getAttribute(r)}measureInstanceViewportBox(){return Tt()}scrapeMotionValuesFromProps(t,r){return $d(t,r)}build(t,r,n,i){Al(t,r,n,this.isSVGTag,i.transformTemplate)}renderInstance(t,r,n,i){_d(t,r,n,i)}mount(t){this.isSVGTag=kl(t.tagName),super.mount(t)}}const L5=(e,t)=>Pl(e)?new I5(t,{enableHardwareAcceleration:!1}):new j5(t,{enableHardwareAcceleration:!0}),F5={layout:{ProjectionNode:Op,MeasureLayout:ep}},cr=Hb(C2);function Ip(){const e=p.useRef(!1);return wl(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function R5(){const e=Ip(),[t,r]=p.useState(0),n=p.useCallback(()=>{e.current&&r(t+1)},[t]);return[p.useCallback(()=>rt.postRender(n),[n]),t]}class N5 extends be.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=this.props.sizeRef.current;n.height=r.offsetHeight||0,n.width=r.offsetWidth||0,n.top=r.offsetTop,n.left=r.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function B5({children:e,isPresent:t}){const r=p.useId(),n=p.useRef(null),i=p.useRef({width:0,height:0,top:0,left:0});return p.useInsertionEffect(()=>{const{width:o,height:a,top:s,left:c}=i.current;if(t||!n.current||!o||!a)return;n.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
28
28
  [data-motion-pop-id="${r}"] {
29
29
  position: absolute !important;
30
30
  width: ${o}px !important;
@@ -32,26 +32,26 @@ Check the top-level render call using <`+J+">.")}return B}}function Fn(C,B){{if(
32
32
  top: ${s}px !important;
33
33
  left: ${c}px !important;
34
34
  }
35
- `),()=>{document.head.removeChild(l)}},[t]),be.createElement(N5,{isPresent:t,childRef:n,sizeRef:i},be.cloneElement(e,{ref:n}))}const gc=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=Ad(z5),c=p.useId(),l=p.useMemo(()=>({id:c,initial:t,isPresent:r,custom:i,onExitComplete:u=>{s.set(u,!0);for(const f of s.values())if(!f)return;n&&n()},register:u=>(s.set(u,!1),()=>s.delete(u))}),o?void 0:[r]);return p.useMemo(()=>{s.forEach((u,f)=>s.set(f,!1))},[r]),be.useEffect(()=>{!r&&!s.size&&n&&n()},[r]),a==="popLayout"&&(e=be.createElement(B5,{isPresent:r},e)),be.createElement(fa.Provider,{value:l},e)};function z5(){return new Map}function W5(e){return p.useEffect(()=>()=>e(),[])}const Un=e=>e.key||"";function V5(e,t){e.forEach(r=>{const n=Un(r);t.set(n,r)})}function H5(e){const t=[];return p.Children.forEach(e,r=>{p.isValidElement(r)&&t.push(r)}),t}const Lp=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{lr(!i,"Replace exitBeforeEnter with mode='wait'");const s=p.useContext(Ol).forceRender||R5()[0],c=Ip(),l=H5(e);let u=l;const f=p.useRef(new Map).current,d=p.useRef(u),h=p.useRef(new Map).current,g=p.useRef(!0);if(wl(()=>{g.current=!1,V5(l,h),d.current=u}),W5(()=>{g.current=!0,h.clear(),f.clear()}),g.current)return be.createElement(be.Fragment,null,u.map(b=>be.createElement(gc,{key:Un(b),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:o,mode:a},b)));u=[...u];const m=d.current.map(Un),y=l.map(Un),x=m.length;for(let b=0;b<x;b++){const T=m[b];y.indexOf(T)===-1&&!f.has(T)&&f.set(T,void 0)}return a==="wait"&&f.size&&(u=[]),f.forEach((b,T)=>{if(y.indexOf(T)!==-1)return;const P=h.get(T);if(!P)return;const w=m.indexOf(T);let E=b;if(!E){const O=()=>{h.delete(T),f.delete(T);const M=d.current.findIndex(L=>L.key===T);if(d.current.splice(M,1),!f.size){if(d.current=l,c.current===!1)return;s(),n&&n()}};E=be.createElement(gc,{key:Un(P),isPresent:!1,onExitComplete:O,custom:t,presenceAffectsLayout:o,mode:a},P),f.set(T,E)}u.splice(w,0,E)}),u=u.map(b=>{const T=b.key;return f.has(T)?b:be.createElement(gc,{key:Un(b),isPresent:!0,presenceAffectsLayout:o,mode:a},b)}),process.env.NODE_ENV!=="production"&&a==="wait"&&u.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),be.createElement(be.Fragment,null,f.size?u:u.map(b=>p.cloneElement(b)))};function U5({children:e,features:t,strict:r=!1}){const[,n]=p.useState(!mc(t)),i=p.useRef(void 0);if(!mc(t)){const{renderer:o,...a}=t;i.current=o,El(a)}return p.useEffect(()=>{mc(t)&&t().then(({renderer:o,...a})=>{El(a),i.current=o,n(!0)})},[]),be.createElement(Cl.Provider,{value:{renderer:i.current,strict:r}},e)}function mc(e){return typeof e=="function"}const Y5={...{renderer:L5,...uw,...I2},...p5,...F5},G5=({open:e=!1,variants:t,onClose:r,children:n,sx:i,...o})=>v.jsx(Lp,{children:e&&v.jsx($.Dialog,{fullWidth:!0,maxWidth:"xs",open:e,onClose:r,PaperComponent:a=>v.jsxs($.Box,{component:cr.div,...t||Zi({distance:120,durationIn:.32,durationOut:.24,easeIn:"easeInOut"}).inUp,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:[v.jsx($.Box,{onClick:r,sx:{width:"100%",height:"100%",position:"fixed"}}),v.jsx($.Paper,{sx:i,...a,children:a.children})]}),...o,children:n})}),q5=({text:e,variants:t,sx:r,...n})=>v.jsx($.Box,{component:cr.div,sx:{m:0,typography:"h1",overflow:"hidden",display:"inline-flex",...r},...n,children:e.split("").map((i,o)=>v.jsx(cr.span,{variants:t||Zi().inUp,children:i},o))}),Fp=p.forwardRef(({size:e="large",children:t,sx:r,sxWrap:n,...i},o)=>v.jsx(Q5,{size:e,sxWrap:n,children:v.jsx($.Fab,{ref:o,size:e,sx:r,...i,children:t})}));Fp.displayName="FabButtonAnimate";const X5={hover:{scale:1.07},tap:{scale:.97}},K5={hover:{scale:1.06},tap:{scale:.98}},Z5={hover:{scale:1.05},tap:{scale:.99}},Q5=({size:e,children:t,sxWrap:r})=>{const n=e==="small",i=e==="large";return v.jsx($.Box,{component:cr.div,whileTap:"tap",whileHover:"hover",variants:n&&X5||i&&Z5||K5,sx:{display:"inline-flex",...r},children:t})},J5={hover:{scale:1.1},tap:{scale:.95}},e3={hover:{scale:1.09},tap:{scale:.97}},t3={hover:{scale:1.08},tap:{scale:.99}},r3=({size:e,children:t})=>{const r=e==="small",n=e==="large";return v.jsx($.Box,{component:cr.div,whileTap:"tap",whileHover:"hover",variants:r&&J5||n&&t3||e3,sx:{display:"inline-flex"},children:t})},Rp=p.forwardRef(({children:e,size:t="medium",...r},n)=>v.jsx(r3,{size:t,children:v.jsx($.IconButton,{size:t,ref:n,...r,children:e})}));Rp.displayName="IconButtonAnimate";function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_e.apply(this,arguments)}function Yn(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Np(e){if(!Yn(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Np(e[r])}),t}function jr(e,t,r={clone:!0}){const n=r.clone?_e({},e):e;return Yn(e)&&Yn(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Yn(t[i])&&i in e&&Yn(e[i])?n[i]=jr(e[i],t[i],r):r.clone?n[i]=Yn(t[i])?Np(t[i]):t[i]:n[i]=t[i])}),n}var vc={exports:{}},Da={exports:{}},Ge={};/** @license React v16.13.1
35
+ `),()=>{document.head.removeChild(l)}},[t]),be.createElement(N5,{isPresent:t,childRef:n,sizeRef:i},be.cloneElement(e,{ref:n}))}const gc=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:o,mode:a})=>{const s=Ad(z5),c=p.useId(),l=p.useMemo(()=>({id:c,initial:t,isPresent:r,custom:i,onExitComplete:u=>{s.set(u,!0);for(const f of s.values())if(!f)return;n&&n()},register:u=>(s.set(u,!1),()=>s.delete(u))}),o?void 0:[r]);return p.useMemo(()=>{s.forEach((u,f)=>s.set(f,!1))},[r]),be.useEffect(()=>{!r&&!s.size&&n&&n()},[r]),a==="popLayout"&&(e=be.createElement(B5,{isPresent:r},e)),be.createElement(fa.Provider,{value:l},e)};function z5(){return new Map}function W5(e){return p.useEffect(()=>()=>e(),[])}const Un=e=>e.key||"";function V5(e,t){e.forEach(r=>{const n=Un(r);t.set(n,r)})}function H5(e){const t=[];return p.Children.forEach(e,r=>{p.isValidElement(r)&&t.push(r)}),t}const Lp=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{lr(!i,"Replace exitBeforeEnter with mode='wait'");const s=p.useContext(Ol).forceRender||R5()[0],c=Ip(),l=H5(e);let u=l;const f=p.useRef(new Map).current,d=p.useRef(u),h=p.useRef(new Map).current,g=p.useRef(!0);if(wl(()=>{g.current=!1,V5(l,h),d.current=u}),W5(()=>{g.current=!0,h.clear(),f.clear()}),g.current)return be.createElement(be.Fragment,null,u.map(b=>be.createElement(gc,{key:Un(b),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:o,mode:a},b)));u=[...u];const m=d.current.map(Un),y=l.map(Un),x=m.length;for(let b=0;b<x;b++){const S=m[b];y.indexOf(S)===-1&&!f.has(S)&&f.set(S,void 0)}return a==="wait"&&f.size&&(u=[]),f.forEach((b,S)=>{if(y.indexOf(S)!==-1)return;const P=h.get(S);if(!P)return;const w=m.indexOf(S);let E=b;if(!E){const O=()=>{h.delete(S),f.delete(S);const M=d.current.findIndex(L=>L.key===S);if(d.current.splice(M,1),!f.size){if(d.current=l,c.current===!1)return;s(),n&&n()}};E=be.createElement(gc,{key:Un(P),isPresent:!1,onExitComplete:O,custom:t,presenceAffectsLayout:o,mode:a},P),f.set(S,E)}u.splice(w,0,E)}),u=u.map(b=>{const S=b.key;return f.has(S)?b:be.createElement(gc,{key:Un(b),isPresent:!0,presenceAffectsLayout:o,mode:a},b)}),process.env.NODE_ENV!=="production"&&a==="wait"&&u.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),be.createElement(be.Fragment,null,f.size?u:u.map(b=>p.cloneElement(b)))};function U5({children:e,features:t,strict:r=!1}){const[,n]=p.useState(!mc(t)),i=p.useRef(void 0);if(!mc(t)){const{renderer:o,...a}=t;i.current=o,El(a)}return p.useEffect(()=>{mc(t)&&t().then(({renderer:o,...a})=>{El(a),i.current=o,n(!0)})},[]),be.createElement(Cl.Provider,{value:{renderer:i.current,strict:r}},e)}function mc(e){return typeof e=="function"}const Y5={...{renderer:L5,...uw,...I2},...p5,...F5},G5=({open:e=!1,variants:t,onClose:r,children:n,sx:i,...o})=>v.jsx(Lp,{children:e&&v.jsx($.Dialog,{fullWidth:!0,maxWidth:"xs",open:e,onClose:r,PaperComponent:a=>v.jsxs($.Box,{component:cr.div,...t||Zi({distance:120,durationIn:.32,durationOut:.24,easeIn:"easeInOut"}).inUp,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},children:[v.jsx($.Box,{onClick:r,sx:{width:"100%",height:"100%",position:"fixed"}}),v.jsx($.Paper,{sx:i,...a,children:a.children})]}),...o,children:n})}),q5=({text:e,variants:t,sx:r,...n})=>v.jsx($.Box,{component:cr.div,sx:{m:0,typography:"h1",overflow:"hidden",display:"inline-flex",...r},...n,children:e.split("").map((i,o)=>v.jsx(cr.span,{variants:t||Zi().inUp,children:i},o))}),Fp=p.forwardRef(({size:e="large",children:t,sx:r,sxWrap:n,...i},o)=>v.jsx(Q5,{size:e,sxWrap:n,children:v.jsx($.Fab,{ref:o,size:e,sx:r,...i,children:t})}));Fp.displayName="FabButtonAnimate";const X5={hover:{scale:1.07},tap:{scale:.97}},K5={hover:{scale:1.06},tap:{scale:.98}},Z5={hover:{scale:1.05},tap:{scale:.99}},Q5=({size:e,children:t,sxWrap:r})=>{const n=e==="small",i=e==="large";return v.jsx($.Box,{component:cr.div,whileTap:"tap",whileHover:"hover",variants:n&&X5||i&&Z5||K5,sx:{display:"inline-flex",...r},children:t})},J5={hover:{scale:1.1},tap:{scale:.95}},e3={hover:{scale:1.09},tap:{scale:.97}},t3={hover:{scale:1.08},tap:{scale:.99}},r3=({size:e,children:t})=>{const r=e==="small",n=e==="large";return v.jsx($.Box,{component:cr.div,whileTap:"tap",whileHover:"hover",variants:r&&J5||n&&t3||e3,sx:{display:"inline-flex"},children:t})},Rp=p.forwardRef(({children:e,size:t="medium",...r},n)=>v.jsx(r3,{size:t,children:v.jsx($.IconButton,{size:t,ref:n,...r,children:e})}));Rp.displayName="IconButtonAnimate";function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_e.apply(this,arguments)}function Yn(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Np(e){if(!Yn(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Np(e[r])}),t}function jr(e,t,r={clone:!0}){const n=r.clone?_e({},e):e;return Yn(e)&&Yn(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Yn(t[i])&&i in e&&Yn(e[i])?n[i]=jr(e[i],t[i],r):r.clone?n[i]=Yn(t[i])?Np(t[i]):t[i]:n[i]=t[i])}),n}var vc={exports:{}},Da={exports:{}},Ge={};/** @license React v16.13.1
36
36
  * react-is.production.min.js
37
37
  *
38
38
  * Copyright (c) Facebook, Inc. and its affiliates.
39
39
  *
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
- */var Bp;function n3(){if(Bp)return Ge;Bp=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function T(w){if(typeof w=="object"&&w!==null){var E=w.$$typeof;switch(E){case t:switch(w=w.type,w){case c:case l:case n:case o:case i:case f:return w;default:switch(w=w&&w.$$typeof,w){case s:case u:case g:case h:case a:return w;default:return E}}case r:return E}}}function P(w){return T(w)===l}return Ge.AsyncMode=c,Ge.ConcurrentMode=l,Ge.ContextConsumer=s,Ge.ContextProvider=a,Ge.Element=t,Ge.ForwardRef=u,Ge.Fragment=n,Ge.Lazy=g,Ge.Memo=h,Ge.Portal=r,Ge.Profiler=o,Ge.StrictMode=i,Ge.Suspense=f,Ge.isAsyncMode=function(w){return P(w)||T(w)===c},Ge.isConcurrentMode=P,Ge.isContextConsumer=function(w){return T(w)===s},Ge.isContextProvider=function(w){return T(w)===a},Ge.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},Ge.isForwardRef=function(w){return T(w)===u},Ge.isFragment=function(w){return T(w)===n},Ge.isLazy=function(w){return T(w)===g},Ge.isMemo=function(w){return T(w)===h},Ge.isPortal=function(w){return T(w)===r},Ge.isProfiler=function(w){return T(w)===o},Ge.isStrictMode=function(w){return T(w)===i},Ge.isSuspense=function(w){return T(w)===f},Ge.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===l||w===o||w===i||w===f||w===d||typeof w=="object"&&w!==null&&(w.$$typeof===g||w.$$typeof===h||w.$$typeof===a||w.$$typeof===s||w.$$typeof===u||w.$$typeof===y||w.$$typeof===x||w.$$typeof===b||w.$$typeof===m)},Ge.typeOf=T,Ge}var qe={};/** @license React v16.13.1
42
+ */var Bp;function n3(){if(Bp)return Ge;Bp=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function S(w){if(typeof w=="object"&&w!==null){var E=w.$$typeof;switch(E){case t:switch(w=w.type,w){case c:case l:case n:case o:case i:case f:return w;default:switch(w=w&&w.$$typeof,w){case s:case u:case g:case h:case a:return w;default:return E}}case r:return E}}}function P(w){return S(w)===l}return Ge.AsyncMode=c,Ge.ConcurrentMode=l,Ge.ContextConsumer=s,Ge.ContextProvider=a,Ge.Element=t,Ge.ForwardRef=u,Ge.Fragment=n,Ge.Lazy=g,Ge.Memo=h,Ge.Portal=r,Ge.Profiler=o,Ge.StrictMode=i,Ge.Suspense=f,Ge.isAsyncMode=function(w){return P(w)||S(w)===c},Ge.isConcurrentMode=P,Ge.isContextConsumer=function(w){return S(w)===s},Ge.isContextProvider=function(w){return S(w)===a},Ge.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},Ge.isForwardRef=function(w){return S(w)===u},Ge.isFragment=function(w){return S(w)===n},Ge.isLazy=function(w){return S(w)===g},Ge.isMemo=function(w){return S(w)===h},Ge.isPortal=function(w){return S(w)===r},Ge.isProfiler=function(w){return S(w)===o},Ge.isStrictMode=function(w){return S(w)===i},Ge.isSuspense=function(w){return S(w)===f},Ge.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===l||w===o||w===i||w===f||w===d||typeof w=="object"&&w!==null&&(w.$$typeof===g||w.$$typeof===h||w.$$typeof===a||w.$$typeof===s||w.$$typeof===u||w.$$typeof===y||w.$$typeof===x||w.$$typeof===b||w.$$typeof===m)},Ge.typeOf=S,Ge}var qe={};/** @license React v16.13.1
43
43
  * react-is.development.js
44
44
  *
45
45
  * Copyright (c) Facebook, Inc. and its affiliates.
46
46
  *
47
47
  * This source code is licensed under the MIT license found in the
48
48
  * LICENSE file in the root directory of this source tree.
49
- */var zp;function i3(){return zp||(zp=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function T(F){return typeof F=="string"||typeof F=="function"||F===n||F===l||F===o||F===i||F===f||F===d||typeof F=="object"&&F!==null&&(F.$$typeof===g||F.$$typeof===h||F.$$typeof===a||F.$$typeof===s||F.$$typeof===u||F.$$typeof===y||F.$$typeof===x||F.$$typeof===b||F.$$typeof===m)}function P(F){if(typeof F=="object"&&F!==null){var Le=F.$$typeof;switch(Le){case t:var ae=F.type;switch(ae){case c:case l:case n:case o:case i:case f:return ae;default:var ut=ae&&ae.$$typeof;switch(ut){case s:case u:case g:case h:case a:return ut;default:return Le}}case r:return Le}}}var w=c,E=l,O=s,M=a,L=t,W=u,de=n,ve=g,ce=h,q=r,Y=o,ge=i,Se=f,We=!1;function Me(F){return We||(We=!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.")),D(F)||P(F)===c}function D(F){return P(F)===l}function I(F){return P(F)===s}function Z(F){return P(F)===a}function ne(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function G(F){return P(F)===u}function ue(F){return P(F)===n}function se(F){return P(F)===g}function pe(F){return P(F)===h}function K(F){return P(F)===r}function Q(F){return P(F)===o}function te(F){return P(F)===i}function ye(F){return P(F)===f}qe.AsyncMode=w,qe.ConcurrentMode=E,qe.ContextConsumer=O,qe.ContextProvider=M,qe.Element=L,qe.ForwardRef=W,qe.Fragment=de,qe.Lazy=ve,qe.Memo=ce,qe.Portal=q,qe.Profiler=Y,qe.StrictMode=ge,qe.Suspense=Se,qe.isAsyncMode=Me,qe.isConcurrentMode=D,qe.isContextConsumer=I,qe.isContextProvider=Z,qe.isElement=ne,qe.isForwardRef=G,qe.isFragment=ue,qe.isLazy=se,qe.isMemo=pe,qe.isPortal=K,qe.isProfiler=Q,qe.isStrictMode=te,qe.isSuspense=ye,qe.isValidElementType=T,qe.typeOf=P}()),qe}var Wp;function Vp(){return Wp||(Wp=1,process.env.NODE_ENV==="production"?Da.exports=n3():Da.exports=i3()),Da.exports}/*
49
+ */var zp;function i3(){return zp||(zp=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function S(F){return typeof F=="string"||typeof F=="function"||F===n||F===l||F===o||F===i||F===f||F===d||typeof F=="object"&&F!==null&&(F.$$typeof===g||F.$$typeof===h||F.$$typeof===a||F.$$typeof===s||F.$$typeof===u||F.$$typeof===y||F.$$typeof===x||F.$$typeof===b||F.$$typeof===m)}function P(F){if(typeof F=="object"&&F!==null){var Le=F.$$typeof;switch(Le){case t:var ae=F.type;switch(ae){case c:case l:case n:case o:case i:case f:return ae;default:var ut=ae&&ae.$$typeof;switch(ut){case s:case u:case g:case h:case a:return ut;default:return Le}}case r:return Le}}}var w=c,E=l,O=s,M=a,L=t,W=u,de=n,ve=g,ce=h,q=r,Y=o,ge=i,Te=f,We=!1;function Me(F){return We||(We=!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.")),D(F)||P(F)===c}function D(F){return P(F)===l}function I(F){return P(F)===s}function Z(F){return P(F)===a}function ne(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function G(F){return P(F)===u}function ue(F){return P(F)===n}function se(F){return P(F)===g}function pe(F){return P(F)===h}function K(F){return P(F)===r}function Q(F){return P(F)===o}function te(F){return P(F)===i}function ye(F){return P(F)===f}qe.AsyncMode=w,qe.ConcurrentMode=E,qe.ContextConsumer=O,qe.ContextProvider=M,qe.Element=L,qe.ForwardRef=W,qe.Fragment=de,qe.Lazy=ve,qe.Memo=ce,qe.Portal=q,qe.Profiler=Y,qe.StrictMode=ge,qe.Suspense=Te,qe.isAsyncMode=Me,qe.isConcurrentMode=D,qe.isContextConsumer=I,qe.isContextProvider=Z,qe.isElement=ne,qe.isForwardRef=G,qe.isFragment=ue,qe.isLazy=se,qe.isMemo=pe,qe.isPortal=K,qe.isProfiler=Q,qe.isStrictMode=te,qe.isSuspense=ye,qe.isValidElementType=S,qe.typeOf=P}()),qe}var Wp;function Vp(){return Wp||(Wp=1,process.env.NODE_ENV==="production"?Da.exports=n3():Da.exports=i3()),Da.exports}/*
50
50
  object-assign
51
51
  (c) Sindre Sorhus
52
52
  @license MIT
53
- */var yc,Hp;function o3(){if(Hp)return yc;Hp=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(c.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(u){l[u]=u}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return yc=i()?Object.assign:function(o,a){for(var s,c=n(o),l,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){l=e(s);for(var d=0;d<l.length;d++)r.call(s,l[d])&&(c[l[d]]=s[l[d]])}}return c},yc}var bc,Up;function xc(){if(Up)return bc;Up=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return bc=e,bc}var wc,Yp;function Gp(){return Yp||(Yp=1,wc=Function.call.bind(Object.prototype.hasOwnProperty)),wc}var Cc,qp;function a3(){if(qp)return Cc;qp=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xc(),r={},n=Gp();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(o,a,s,c,l){if(process.env.NODE_ENV!=="production"){for(var u in o)if(n(o,u)){var f;try{if(typeof o[u]!="function"){var d=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}f=o[u](a,u,c,s,null,t)}catch(g){f=g}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var h=l?l():"";e("Failed "+s+" type: "+f.message+(h??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Cc=i,Cc}var Tc,Xp;function s3(){if(Xp)return Tc;Xp=1;var e=Vp(),t=o3(),r=xc(),n=Gp(),i=a3(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Tc=function(s,c){var l=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(D){var I=D&&(l&&D[l]||D[u]);if(typeof I=="function")return I}var d="<<anonymous>>",h={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:b(),arrayOf:T,element:P(),elementType:w(),instanceOf:E,node:W(),objectOf:M,oneOf:O,oneOfType:L,shape:ve,exact:ce};function g(D,I){return D===I?D!==0||1/D===1/I:D!==D&&I!==I}function m(D,I){this.message=D,this.data=I&&typeof I=="object"?I:{},this.stack=""}m.prototype=Error.prototype;function y(D){if(process.env.NODE_ENV!=="production")var I={},Z=0;function ne(ue,se,pe,K,Q,te,ye){if(K=K||d,te=te||pe,ye!==r){if(c){var F=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 F.name="Invariant Violation",F}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Le=K+":"+pe;!I[Le]&&Z<3&&(o("You are manually calling a React.PropTypes validation function for the `"+te+"` prop on `"+K+"`. 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."),I[Le]=!0,Z++)}}return se[pe]==null?ue?se[pe]===null?new m("The "+Q+" `"+te+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new m("The "+Q+" `"+te+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:D(se,pe,K,Q,te)}var G=ne.bind(null,!1);return G.isRequired=ne.bind(null,!0),G}function x(D){function I(Z,ne,G,ue,se,pe){var K=Z[ne],Q=ge(K);if(Q!==D){var te=Se(K);return new m("Invalid "+ue+" `"+se+"` of type "+("`"+te+"` supplied to `"+G+"`, expected ")+("`"+D+"`."),{expectedType:D})}return null}return y(I)}function b(){return y(a)}function T(D){function I(Z,ne,G,ue,se){if(typeof D!="function")return new m("Property `"+se+"` of component `"+G+"` has invalid PropType notation inside arrayOf.");var pe=Z[ne];if(!Array.isArray(pe)){var K=ge(pe);return new m("Invalid "+ue+" `"+se+"` of type "+("`"+K+"` supplied to `"+G+"`, expected an array."))}for(var Q=0;Q<pe.length;Q++){var te=D(pe,Q,G,ue,se+"["+Q+"]",r);if(te instanceof Error)return te}return null}return y(I)}function P(){function D(I,Z,ne,G,ue){var se=I[Z];if(!s(se)){var pe=ge(se);return new m("Invalid "+G+" `"+ue+"` of type "+("`"+pe+"` supplied to `"+ne+"`, expected a single ReactElement."))}return null}return y(D)}function w(){function D(I,Z,ne,G,ue){var se=I[Z];if(!e.isValidElementType(se)){var pe=ge(se);return new m("Invalid "+G+" `"+ue+"` of type "+("`"+pe+"` supplied to `"+ne+"`, expected a single ReactElement type."))}return null}return y(D)}function E(D){function I(Z,ne,G,ue,se){if(!(Z[ne]instanceof D)){var pe=D.name||d,K=Me(Z[ne]);return new m("Invalid "+ue+" `"+se+"` of type "+("`"+K+"` supplied to `"+G+"`, expected ")+("instance of `"+pe+"`."))}return null}return y(I)}function O(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function I(Z,ne,G,ue,se){for(var pe=Z[ne],K=0;K<D.length;K++)if(g(pe,D[K]))return null;var Q=JSON.stringify(D,function(ye,F){var Le=Se(F);return Le==="symbol"?String(F):F});return new m("Invalid "+ue+" `"+se+"` of value `"+String(pe)+"` "+("supplied to `"+G+"`, expected one of "+Q+"."))}return y(I)}function M(D){function I(Z,ne,G,ue,se){if(typeof D!="function")return new m("Property `"+se+"` of component `"+G+"` has invalid PropType notation inside objectOf.");var pe=Z[ne],K=ge(pe);if(K!=="object")return new m("Invalid "+ue+" `"+se+"` of type "+("`"+K+"` supplied to `"+G+"`, expected an object."));for(var Q in pe)if(n(pe,Q)){var te=D(pe,Q,G,ue,se+"."+Q,r);if(te instanceof Error)return te}return null}return y(I)}function L(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var I=0;I<D.length;I++){var Z=D[I];if(typeof Z!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+We(Z)+" at index "+I+"."),a}function ne(G,ue,se,pe,K){for(var Q=[],te=0;te<D.length;te++){var ye=D[te],F=ye(G,ue,se,pe,K,r);if(F==null)return null;F.data&&n(F.data,"expectedType")&&Q.push(F.data.expectedType)}var Le=Q.length>0?", expected one of type ["+Q.join(", ")+"]":"";return new m("Invalid "+pe+" `"+K+"` supplied to "+("`"+se+"`"+Le+"."))}return y(ne)}function W(){function D(I,Z,ne,G,ue){return q(I[Z])?null:new m("Invalid "+G+" `"+ue+"` supplied to "+("`"+ne+"`, expected a ReactNode."))}return y(D)}function de(D,I,Z,ne,G){return new m((D||"React class")+": "+I+" type `"+Z+"."+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+G+"`.")}function ve(D){function I(Z,ne,G,ue,se){var pe=Z[ne],K=ge(pe);if(K!=="object")return new m("Invalid "+ue+" `"+se+"` of type `"+K+"` "+("supplied to `"+G+"`, expected `object`."));for(var Q in D){var te=D[Q];if(typeof te!="function")return de(G,ue,se,Q,Se(te));var ye=te(pe,Q,G,ue,se+"."+Q,r);if(ye)return ye}return null}return y(I)}function ce(D){function I(Z,ne,G,ue,se){var pe=Z[ne],K=ge(pe);if(K!=="object")return new m("Invalid "+ue+" `"+se+"` of type `"+K+"` "+("supplied to `"+G+"`, expected `object`."));var Q=t({},Z[ne],D);for(var te in Q){var ye=D[te];if(n(D,te)&&typeof ye!="function")return de(G,ue,se,te,Se(ye));if(!ye)return new m("Invalid "+ue+" `"+se+"` key `"+te+"` supplied to `"+G+"`.\nBad object: "+JSON.stringify(Z[ne],null," ")+`
54
- Valid keys: `+JSON.stringify(Object.keys(D),null," "));var F=ye(pe,te,G,ue,se+"."+te,r);if(F)return F}return null}return y(I)}function q(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(q);if(D===null||s(D))return!0;var I=f(D);if(I){var Z=I.call(D),ne;if(I!==D.entries){for(;!(ne=Z.next()).done;)if(!q(ne.value))return!1}else for(;!(ne=Z.next()).done;){var G=ne.value;if(G&&!q(G[1]))return!1}}else return!1;return!0;default:return!1}}function Y(D,I){return D==="symbol"?!0:I?I["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&I instanceof Symbol:!1}function ge(D){var I=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":Y(I,D)?"symbol":I}function Se(D){if(typeof D>"u"||D===null)return""+D;var I=ge(D);if(I==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return I}function We(D){var I=Se(D);switch(I){case"array":case"object":return"an "+I;case"boolean":case"date":case"regexp":return"a "+I;default:return I}}function Me(D){return!D.constructor||!D.constructor.name?d:D.constructor.name}return h.checkPropTypes=i,h.resetWarningCache=i.resetWarningCache,h.PropTypes=h,h},Tc}var Sc,Kp;function l3(){if(Kp)return Sc;Kp=1;var e=xc();function t(){}function r(){}return r.resetWarningCache=t,Sc=function(){function n(a,s,c,l,u,f){if(f!==e){var d=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 d.name="Invariant Violation",d}}n.isRequired=n;function i(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},Sc}if(process.env.NODE_ENV!=="production"){var c3=Vp(),u3=!0;vc.exports=s3()(c3.isElement,u3)}else vc.exports=l3()();var f3=vc.exports;const A=dn(f3),d3="exact-prop: ​";function Zp(e){return process.env.NODE_ENV==="production"?e:_e({},e,{[d3]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}function Gn(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Ec={exports:{}},Xe={};/**
53
+ */var yc,Hp;function o3(){if(Hp)return yc;Hp=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function i(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(u){return a[u]});if(c.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(u){l[u]=u}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return yc=i()?Object.assign:function(o,a){for(var s,c=n(o),l,u=1;u<arguments.length;u++){s=Object(arguments[u]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){l=e(s);for(var d=0;d<l.length;d++)r.call(s,l[d])&&(c[l[d]]=s[l[d]])}}return c},yc}var bc,Up;function xc(){if(Up)return bc;Up=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return bc=e,bc}var wc,Yp;function Gp(){return Yp||(Yp=1,wc=Function.call.bind(Object.prototype.hasOwnProperty)),wc}var Cc,qp;function a3(){if(qp)return Cc;qp=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xc(),r={},n=Gp();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function i(o,a,s,c,l){if(process.env.NODE_ENV!=="production"){for(var u in o)if(n(o,u)){var f;try{if(typeof o[u]!="function"){var d=Error((c||"React class")+": "+s+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}f=o[u](a,u,c,s,null,t)}catch(g){f=g}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var h=l?l():"";e("Failed "+s+" type: "+f.message+(h??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Cc=i,Cc}var Sc,Xp;function s3(){if(Xp)return Sc;Xp=1;var e=Vp(),t=o3(),r=xc(),n=Gp(),i=a3(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Sc=function(s,c){var l=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(D){var I=D&&(l&&D[l]||D[u]);if(typeof I=="function")return I}var d="<<anonymous>>",h={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:b(),arrayOf:S,element:P(),elementType:w(),instanceOf:E,node:W(),objectOf:M,oneOf:O,oneOfType:L,shape:ve,exact:ce};function g(D,I){return D===I?D!==0||1/D===1/I:D!==D&&I!==I}function m(D,I){this.message=D,this.data=I&&typeof I=="object"?I:{},this.stack=""}m.prototype=Error.prototype;function y(D){if(process.env.NODE_ENV!=="production")var I={},Z=0;function ne(ue,se,pe,K,Q,te,ye){if(K=K||d,te=te||pe,ye!==r){if(c){var F=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 F.name="Invariant Violation",F}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Le=K+":"+pe;!I[Le]&&Z<3&&(o("You are manually calling a React.PropTypes validation function for the `"+te+"` prop on `"+K+"`. 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."),I[Le]=!0,Z++)}}return se[pe]==null?ue?se[pe]===null?new m("The "+Q+" `"+te+"` is marked as required "+("in `"+K+"`, but its value is `null`.")):new m("The "+Q+" `"+te+"` is marked as required in "+("`"+K+"`, but its value is `undefined`.")):null:D(se,pe,K,Q,te)}var G=ne.bind(null,!1);return G.isRequired=ne.bind(null,!0),G}function x(D){function I(Z,ne,G,ue,se,pe){var K=Z[ne],Q=ge(K);if(Q!==D){var te=Te(K);return new m("Invalid "+ue+" `"+se+"` of type "+("`"+te+"` supplied to `"+G+"`, expected ")+("`"+D+"`."),{expectedType:D})}return null}return y(I)}function b(){return y(a)}function S(D){function I(Z,ne,G,ue,se){if(typeof D!="function")return new m("Property `"+se+"` of component `"+G+"` has invalid PropType notation inside arrayOf.");var pe=Z[ne];if(!Array.isArray(pe)){var K=ge(pe);return new m("Invalid "+ue+" `"+se+"` of type "+("`"+K+"` supplied to `"+G+"`, expected an array."))}for(var Q=0;Q<pe.length;Q++){var te=D(pe,Q,G,ue,se+"["+Q+"]",r);if(te instanceof Error)return te}return null}return y(I)}function P(){function D(I,Z,ne,G,ue){var se=I[Z];if(!s(se)){var pe=ge(se);return new m("Invalid "+G+" `"+ue+"` of type "+("`"+pe+"` supplied to `"+ne+"`, expected a single ReactElement."))}return null}return y(D)}function w(){function D(I,Z,ne,G,ue){var se=I[Z];if(!e.isValidElementType(se)){var pe=ge(se);return new m("Invalid "+G+" `"+ue+"` of type "+("`"+pe+"` supplied to `"+ne+"`, expected a single ReactElement type."))}return null}return y(D)}function E(D){function I(Z,ne,G,ue,se){if(!(Z[ne]instanceof D)){var pe=D.name||d,K=Me(Z[ne]);return new m("Invalid "+ue+" `"+se+"` of type "+("`"+K+"` supplied to `"+G+"`, expected ")+("instance of `"+pe+"`."))}return null}return y(I)}function O(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function I(Z,ne,G,ue,se){for(var pe=Z[ne],K=0;K<D.length;K++)if(g(pe,D[K]))return null;var Q=JSON.stringify(D,function(ye,F){var Le=Te(F);return Le==="symbol"?String(F):F});return new m("Invalid "+ue+" `"+se+"` of value `"+String(pe)+"` "+("supplied to `"+G+"`, expected one of "+Q+"."))}return y(I)}function M(D){function I(Z,ne,G,ue,se){if(typeof D!="function")return new m("Property `"+se+"` of component `"+G+"` has invalid PropType notation inside objectOf.");var pe=Z[ne],K=ge(pe);if(K!=="object")return new m("Invalid "+ue+" `"+se+"` of type "+("`"+K+"` supplied to `"+G+"`, expected an object."));for(var Q in pe)if(n(pe,Q)){var te=D(pe,Q,G,ue,se+"."+Q,r);if(te instanceof Error)return te}return null}return y(I)}function L(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var I=0;I<D.length;I++){var Z=D[I];if(typeof Z!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+We(Z)+" at index "+I+"."),a}function ne(G,ue,se,pe,K){for(var Q=[],te=0;te<D.length;te++){var ye=D[te],F=ye(G,ue,se,pe,K,r);if(F==null)return null;F.data&&n(F.data,"expectedType")&&Q.push(F.data.expectedType)}var Le=Q.length>0?", expected one of type ["+Q.join(", ")+"]":"";return new m("Invalid "+pe+" `"+K+"` supplied to "+("`"+se+"`"+Le+"."))}return y(ne)}function W(){function D(I,Z,ne,G,ue){return q(I[Z])?null:new m("Invalid "+G+" `"+ue+"` supplied to "+("`"+ne+"`, expected a ReactNode."))}return y(D)}function de(D,I,Z,ne,G){return new m((D||"React class")+": "+I+" type `"+Z+"."+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+G+"`.")}function ve(D){function I(Z,ne,G,ue,se){var pe=Z[ne],K=ge(pe);if(K!=="object")return new m("Invalid "+ue+" `"+se+"` of type `"+K+"` "+("supplied to `"+G+"`, expected `object`."));for(var Q in D){var te=D[Q];if(typeof te!="function")return de(G,ue,se,Q,Te(te));var ye=te(pe,Q,G,ue,se+"."+Q,r);if(ye)return ye}return null}return y(I)}function ce(D){function I(Z,ne,G,ue,se){var pe=Z[ne],K=ge(pe);if(K!=="object")return new m("Invalid "+ue+" `"+se+"` of type `"+K+"` "+("supplied to `"+G+"`, expected `object`."));var Q=t({},Z[ne],D);for(var te in Q){var ye=D[te];if(n(D,te)&&typeof ye!="function")return de(G,ue,se,te,Te(ye));if(!ye)return new m("Invalid "+ue+" `"+se+"` key `"+te+"` supplied to `"+G+"`.\nBad object: "+JSON.stringify(Z[ne],null," ")+`
54
+ Valid keys: `+JSON.stringify(Object.keys(D),null," "));var F=ye(pe,te,G,ue,se+"."+te,r);if(F)return F}return null}return y(I)}function q(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(q);if(D===null||s(D))return!0;var I=f(D);if(I){var Z=I.call(D),ne;if(I!==D.entries){for(;!(ne=Z.next()).done;)if(!q(ne.value))return!1}else for(;!(ne=Z.next()).done;){var G=ne.value;if(G&&!q(G[1]))return!1}}else return!1;return!0;default:return!1}}function Y(D,I){return D==="symbol"?!0:I?I["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&I instanceof Symbol:!1}function ge(D){var I=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":Y(I,D)?"symbol":I}function Te(D){if(typeof D>"u"||D===null)return""+D;var I=ge(D);if(I==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return I}function We(D){var I=Te(D);switch(I){case"array":case"object":return"an "+I;case"boolean":case"date":case"regexp":return"a "+I;default:return I}}function Me(D){return!D.constructor||!D.constructor.name?d:D.constructor.name}return h.checkPropTypes=i,h.resetWarningCache=i.resetWarningCache,h.PropTypes=h,h},Sc}var Tc,Kp;function l3(){if(Kp)return Tc;Kp=1;var e=xc();function t(){}function r(){}return r.resetWarningCache=t,Tc=function(){function n(a,s,c,l,u,f){if(f!==e){var d=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 d.name="Invariant Violation",d}}n.isRequired=n;function i(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},Tc}if(process.env.NODE_ENV!=="production"){var c3=Vp(),u3=!0;vc.exports=s3()(c3.isElement,u3)}else vc.exports=l3()();var f3=vc.exports;const A=dn(f3),d3="exact-prop: ​";function Zp(e){return process.env.NODE_ENV==="production"?e:_e({},e,{[d3]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}})}function Gn(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Ec={exports:{}},Xe={};/**
55
55
  * @license React
56
56
  * react-is.production.min.js
57
57
  *
@@ -67,9 +67,9 @@ Valid keys: `+JSON.stringify(Object.keys(D),null," "));var F=ye(pe,te,G,ue,se+"
67
67
  *
68
68
  * This source code is licensed under the MIT license found in the
69
69
  * LICENSE file in the root directory of this source tree.
70
- */var Jp;function p3(){return Jp||(Jp=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=!1,m=!1,y=!1,x=!1,b=!1,T;T=Symbol.for("react.module.reference");function P(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===i||b||ae===n||ae===l||ae===u||x||ae===h||g||m||y||typeof ae=="object"&&ae!==null&&(ae.$$typeof===d||ae.$$typeof===f||ae.$$typeof===o||ae.$$typeof===a||ae.$$typeof===c||ae.$$typeof===T||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ut=ae.$$typeof;switch(ut){case e:var qt=ae.type;switch(qt){case r:case i:case n:case l:case u:return qt;default:var Nt=qt&&qt.$$typeof;switch(Nt){case s:case a:case c:case d:case f:case o:return Nt;default:return ut}}case t:return ut}}}var E=a,O=o,M=e,L=c,W=r,de=d,ve=f,ce=t,q=i,Y=n,ge=l,Se=u,We=!1,Me=!1;function D(ae){return We||(We=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function I(ae){return Me||(Me=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Z(ae){return w(ae)===a}function ne(ae){return w(ae)===o}function G(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function ue(ae){return w(ae)===c}function se(ae){return w(ae)===r}function pe(ae){return w(ae)===d}function K(ae){return w(ae)===f}function Q(ae){return w(ae)===t}function te(ae){return w(ae)===i}function ye(ae){return w(ae)===n}function F(ae){return w(ae)===l}function Le(ae){return w(ae)===u}Ke.ContextConsumer=E,Ke.ContextProvider=O,Ke.Element=M,Ke.ForwardRef=L,Ke.Fragment=W,Ke.Lazy=de,Ke.Memo=ve,Ke.Portal=ce,Ke.Profiler=q,Ke.StrictMode=Y,Ke.Suspense=ge,Ke.SuspenseList=Se,Ke.isAsyncMode=D,Ke.isConcurrentMode=I,Ke.isContextConsumer=Z,Ke.isContextProvider=ne,Ke.isElement=G,Ke.isForwardRef=ue,Ke.isFragment=se,Ke.isLazy=pe,Ke.isMemo=K,Ke.isPortal=Q,Ke.isProfiler=te,Ke.isStrictMode=ye,Ke.isSuspense=F,Ke.isSuspenseList=Le,Ke.isValidElementType=P,Ke.typeOf=w}()),Ke}process.env.NODE_ENV==="production"?Ec.exports=h3():Ec.exports=p3();var e0=Ec.exports;const g3=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function m3(e){const t=`${e}`.match(g3);return t&&t[1]||""}function t0(e,t=""){return e.displayName||e.name||m3(e)||t}function r0(e,t,r){const n=t0(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function v3(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return t0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case e0.ForwardRef:return r0(e,e.render,"ForwardRef");case e0.Memo:return r0(e,e.type,"memo");default:return}}}function qn(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Gn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const y3=typeof window<"u"?be.useLayoutEffect:be.useEffect;function n0(e,t){const r=_e({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=_e({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const i=e[n]||{},o=t[n];r[n]={},!o||!Object.keys(o)?r[n]=i:!i||!Object.keys(i)?r[n]=o:(r[n]=_e({},o),Object.keys(i).forEach(a=>{r[n][a]=n0(i[a],o[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}const i0=e=>e,b3=(()=>{let e=i0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=i0}}})(),x3={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function w3(e,t,r="Mui"){const n=x3[t];return n?`${r}-${n}`:`${b3.generate(e)}-${t}`}const ja="$$material";function Ir(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function C3(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 T3(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 S3=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(T3(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
71
- `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var a=C3(i);try{a.insertRule(n,a.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),jt="-ms-",Ia="-moz-",Ve="-webkit-",Oc="comm",Pc="rule",Mc="decl",E3="@import",o0="@keyframes",O3="@layer",P3=Math.abs,La=String.fromCharCode,M3=Object.assign;function _3(e,t){return kt(e,0)^45?(((t<<2^kt(e,0))<<2^kt(e,1))<<2^kt(e,2))<<2^kt(e,3):0}function a0(e){return e.trim()}function $3(e,t){return(e=t.exec(e))?e[0]:e}function He(e,t,r){return e.replace(t,r)}function _c(e,t){return e.indexOf(t)}function kt(e,t){return e.charCodeAt(t)|0}function vo(e,t,r){return e.slice(t,r)}function br(e){return e.length}function $c(e){return e.length}function Fa(e,t){return t.push(e),e}function A3(e,t){return e.map(t).join("")}var Ra=1,Xn=1,s0=0,Wt=0,Et=0,Kn="";function Na(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Ra,column:Xn,length:a,return:""}}function yo(e,t){return M3(Na("",null,null,"",null,null,0),e,{length:-e.length},t)}function k3(){return Et}function D3(){return Et=Wt>0?kt(Kn,--Wt):0,Xn--,Et===10&&(Xn=1,Ra--),Et}function Kt(){return Et=Wt<s0?kt(Kn,Wt++):0,Xn++,Et===10&&(Xn=1,Ra++),Et}function xr(){return kt(Kn,Wt)}function Ba(){return Wt}function bo(e,t){return vo(Kn,e,t)}function xo(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 l0(e){return Ra=Xn=1,s0=br(Kn=e),Wt=0,[]}function c0(e){return Kn="",e}function za(e){return a0(bo(Wt-1,Ac(e===91?e+2:e===40?e+1:e)))}function j3(e){for(;(Et=xr())&&Et<33;)Kt();return xo(e)>2||xo(Et)>3?"":" "}function I3(e,t){for(;--t&&Kt()&&!(Et<48||Et>102||Et>57&&Et<65||Et>70&&Et<97););return bo(e,Ba()+(t<6&&xr()==32&&Kt()==32))}function Ac(e){for(;Kt();)switch(Et){case e:return Wt;case 34:case 39:e!==34&&e!==39&&Ac(Et);break;case 40:e===41&&Ac(e);break;case 92:Kt();break}return Wt}function L3(e,t){for(;Kt()&&e+Et!==47+10;)if(e+Et===42+42&&xr()===47)break;return"/*"+bo(t,Wt-1)+"*"+La(e===47?e:Kt())}function F3(e){for(;!xo(xr());)Kt();return bo(e,Wt)}function R3(e){return c0(Wa("",null,null,null,[""],e=l0(e),0,[0],e))}function Wa(e,t,r,n,i,o,a,s,c){for(var l=0,u=0,f=a,d=0,h=0,g=0,m=1,y=1,x=1,b=0,T="",P=i,w=o,E=n,O=T;y;)switch(g=b,b=Kt()){case 40:if(g!=108&&kt(O,f-1)==58){_c(O+=He(za(b),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:O+=za(b);break;case 9:case 10:case 13:case 32:O+=j3(g);break;case 92:O+=I3(Ba()-1,7);continue;case 47:switch(xr()){case 42:case 47:Fa(N3(L3(Kt(),Ba()),t,r),c);break;default:O+="/"}break;case 123*m:s[l++]=br(O)*x;case 125*m:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+u:x==-1&&(O=He(O,/\f/g,"")),h>0&&br(O)-f&&Fa(h>32?f0(O+";",n,r,f-1):f0(He(O," ","")+";",n,r,f-2),c);break;case 59:O+=";";default:if(Fa(E=u0(O,t,r,l,u,i,s,T,P=[],w=[],f),o),b===123)if(u===0)Wa(O,t,E,E,P,o,f,s,w);else switch(d===99&&kt(O,3)===110?100:d){case 100:case 108:case 109:case 115:Wa(e,E,E,n&&Fa(u0(e,E,E,0,0,i,s,T,i,P=[],f),w),i,w,f,s,n?P:w);break;default:Wa(O,E,E,E,[""],w,0,s,w)}}l=u=h=0,m=x=1,T=O="",f=a;break;case 58:f=1+br(O),h=g;default:if(m<1){if(b==123)--m;else if(b==125&&m++==0&&D3()==125)continue}switch(O+=La(b),b*m){case 38:x=u>0?1:(O+="\f",-1);break;case 44:s[l++]=(br(O)-1)*x,x=1;break;case 64:xr()===45&&(O+=za(Kt())),d=xr(),u=f=br(T=O+=F3(Ba())),b++;break;case 45:g===45&&br(O)==2&&(m=0)}}return o}function u0(e,t,r,n,i,o,a,s,c,l,u){for(var f=i-1,d=i===0?o:[""],h=$c(d),g=0,m=0,y=0;g<n;++g)for(var x=0,b=vo(e,f+1,f=P3(m=a[g])),T=e;x<h;++x)(T=a0(m>0?d[x]+" "+b:He(b,/&\f/g,d[x])))&&(c[y++]=T);return Na(e,t,r,i===0?Pc:s,c,l,u)}function N3(e,t,r){return Na(e,t,r,Oc,La(k3()),vo(e,2,-2),0)}function f0(e,t,r,n){return Na(e,t,r,Mc,vo(e,0,n),vo(e,n+1,-1),n)}function Zn(e,t){for(var r="",n=$c(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function B3(e,t,r,n){switch(e.type){case O3:if(e.children.length)break;case E3:case Mc:return e.return=e.return||e.value;case Oc:return"";case o0:return e.return=e.value+"{"+Zn(e.children,n)+"}";case Pc:e.value=e.props.join(",")}return br(r=Zn(e.children,n))?e.return=e.value+"{"+r+"}":""}function z3(e){var t=$c(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function W3(e){return function(t){t.root||(t=t.return)&&e(t)}}var V3=function(t,r,n){for(var i=0,o=0;i=o,o=xr(),i===38&&o===12&&(r[n]=1),!xo(o);)Kt();return bo(t,Wt)},H3=function(t,r){var n=-1,i=44;do switch(xo(i)){case 0:i===38&&xr()===12&&(r[n]=1),t[n]+=V3(Wt-1,r,n);break;case 2:t[n]+=za(i);break;case 4:if(i===44){t[++n]=xr()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=La(i)}while(i=Kt());return t},U3=function(t,r){return c0(H3(l0(t),r))},d0=new WeakMap,Y3=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!d0.get(n))&&!i){d0.set(t,!0);for(var o=[],a=U3(r,o),s=n.props,c=0,l=0;c<a.length;c++)for(var u=0;u<s.length;u++,l++)t.props[l]=o[c]?a[c].replace(/&\f/g,s[u]):s[u]+" "+a[c]}}},G3=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},q3="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",X3=function(t){return t.type==="comm"&&t.children.indexOf(q3)>-1},K3=function(t){return function(r,n,i){if(!(r.type!=="rule"||t.compat)){var o=r.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!r.parent,s=a?r.parent.children:i,c=s.length-1;c>=0;c--){var l=s[c];if(l.line<r.line)break;if(l.column<r.column){if(X3(l))return;break}}o.forEach(function(u){console.error('The pseudo class "'+u+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+u.split("-child")[0]+'-of-type".')})}}}},h0=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Z3=function(t,r){for(var n=t-1;n>=0;n--)if(!h0(r[n]))return!0;return!1},p0=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Q3=function(t,r,n){h0(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),p0(t)):Z3(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),p0(t)))};function g0(e,t){switch(_3(e,t)){case 5103:return Ve+"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 Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+Ia+e+jt+e+e;case 6828:case 4268:return Ve+e+jt+e+e;case 6165:return Ve+e+jt+"flex-"+e+e;case 5187:return Ve+e+He(e,/(\w+).+(:[^]+)/,Ve+"box-$1$2"+jt+"flex-$1$2")+e;case 5443:return Ve+e+jt+"flex-item-"+He(e,/flex-|-self/,"")+e;case 4675:return Ve+e+jt+"flex-line-pack"+He(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+jt+He(e,"shrink","negative")+e;case 5292:return Ve+e+jt+He(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+He(e,"-grow","")+Ve+e+jt+He(e,"grow","positive")+e;case 4554:return Ve+He(e,/([^-])(transform)/g,"$1"+Ve+"$2")+e;case 6187:return He(He(He(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return He(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return He(He(e,/(.+:)(flex-)?(.*)/,Ve+"box-pack:$3"+jt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return He(e,/(.+)-inline(.+)/,Ve+"$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(br(e)-1-t>6)switch(kt(e,t+1)){case 109:if(kt(e,t+4)!==45)break;case 102:return He(e,/(.+:)(.+)-([^]+)/,"$1"+Ve+"$2-$3$1"+Ia+(kt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_c(e,"stretch")?g0(He(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(kt(e,t+1)!==115)break;case 6444:switch(kt(e,br(e)-3-(~_c(e,"!important")&&10))){case 107:return He(e,":",":"+Ve)+e;case 101:return He(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(kt(e,14)===45?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+jt+"$2box$3")+e}break;case 5936:switch(kt(e,t+11)){case 114:return Ve+e+jt+He(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+jt+He(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+jt+He(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+jt+e+e}return e}var J3=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Mc:t.return=g0(t.value,t.length);break;case o0:return Zn([yo(t,{value:He(t.value,"@","@"+Ve)})],i);case Pc:if(t.length)return A3(t.props,function(o){switch($3(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zn([yo(t,{props:[He(o,/:(read-\w+)/,":"+Ia+"$1")]})],i);case"::placeholder":return Zn([yo(t,{props:[He(o,/:(plac\w+)/,":"+Ve+"input-$1")]}),yo(t,{props:[He(o,/:(plac\w+)/,":"+Ia+"$1")]}),yo(t,{props:[He(o,/:(plac\w+)/,jt+"input-$1")]})],i)}return""})}},e4=[J3],t4=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
72
- If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var y=m.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||e4;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var y=m.getAttribute("data-emotion").split(" "),x=1;x<y.length;x++)o[y[x]]=!0;s.push(m)});var c,l=[Y3,G3];process.env.NODE_ENV!=="production"&&l.push(K3({get compat(){return g.compat}}),Q3);{var u,f=[B3,process.env.NODE_ENV!=="production"?function(m){m.root||(m.return?u.insert(m.return):m.value&&m.type!==Oc&&u.insert(m.value+"{}"))}:W3(function(m){u.insert(m)})],d=z3(l.concat(i,f)),h=function(y){return Zn(R3(y),d)};c=function(y,x,b,T){u=b,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(u={insert:function(w){b.insert(w+x.map)}}),h(y?y+"{"+x.styles+"}":x.styles),T&&(g.inserted[x.name]=!0)}}var g={key:r,sheet:new S3({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return g.sheet.hydrate(s),g};let kc;typeof document=="object"&&(kc=t4({key:"css",prepend:!0}));function m0(e){const{injectFirst:t,children:r}=e;return t&&kc?v.jsx(bl.CacheProvider,{value:kc,children:r}):r}process.env.NODE_ENV!=="production"&&(m0.propTypes={children:A.node,injectFirst:A.bool});/**
70
+ */var Jp;function p3(){return Jp||(Jp=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),g=!1,m=!1,y=!1,x=!1,b=!1,S;S=Symbol.for("react.module.reference");function P(ae){return!!(typeof ae=="string"||typeof ae=="function"||ae===r||ae===i||b||ae===n||ae===l||ae===u||x||ae===h||g||m||y||typeof ae=="object"&&ae!==null&&(ae.$$typeof===d||ae.$$typeof===f||ae.$$typeof===o||ae.$$typeof===a||ae.$$typeof===c||ae.$$typeof===S||ae.getModuleId!==void 0))}function w(ae){if(typeof ae=="object"&&ae!==null){var ut=ae.$$typeof;switch(ut){case e:var qt=ae.type;switch(qt){case r:case i:case n:case l:case u:return qt;default:var Nt=qt&&qt.$$typeof;switch(Nt){case s:case a:case c:case d:case f:case o:return Nt;default:return ut}}case t:return ut}}}var E=a,O=o,M=e,L=c,W=r,de=d,ve=f,ce=t,q=i,Y=n,ge=l,Te=u,We=!1,Me=!1;function D(ae){return We||(We=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function I(ae){return Me||(Me=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Z(ae){return w(ae)===a}function ne(ae){return w(ae)===o}function G(ae){return typeof ae=="object"&&ae!==null&&ae.$$typeof===e}function ue(ae){return w(ae)===c}function se(ae){return w(ae)===r}function pe(ae){return w(ae)===d}function K(ae){return w(ae)===f}function Q(ae){return w(ae)===t}function te(ae){return w(ae)===i}function ye(ae){return w(ae)===n}function F(ae){return w(ae)===l}function Le(ae){return w(ae)===u}Ke.ContextConsumer=E,Ke.ContextProvider=O,Ke.Element=M,Ke.ForwardRef=L,Ke.Fragment=W,Ke.Lazy=de,Ke.Memo=ve,Ke.Portal=ce,Ke.Profiler=q,Ke.StrictMode=Y,Ke.Suspense=ge,Ke.SuspenseList=Te,Ke.isAsyncMode=D,Ke.isConcurrentMode=I,Ke.isContextConsumer=Z,Ke.isContextProvider=ne,Ke.isElement=G,Ke.isForwardRef=ue,Ke.isFragment=se,Ke.isLazy=pe,Ke.isMemo=K,Ke.isPortal=Q,Ke.isProfiler=te,Ke.isStrictMode=ye,Ke.isSuspense=F,Ke.isSuspenseList=Le,Ke.isValidElementType=P,Ke.typeOf=w}()),Ke}process.env.NODE_ENV==="production"?Ec.exports=h3():Ec.exports=p3();var e0=Ec.exports;const g3=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function m3(e){const t=`${e}`.match(g3);return t&&t[1]||""}function t0(e,t=""){return e.displayName||e.name||m3(e)||t}function r0(e,t,r){const n=t0(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function v3(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return t0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case e0.ForwardRef:return r0(e,e.render,"ForwardRef");case e0.Memo:return r0(e,e.type,"memo");default:return}}}function qn(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Gn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const y3=typeof window<"u"?be.useLayoutEffect:be.useEffect;function n0(e,t){const r=_e({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=_e({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const i=e[n]||{},o=t[n];r[n]={},!o||!Object.keys(o)?r[n]=i:!i||!Object.keys(i)?r[n]=o:(r[n]=_e({},o),Object.keys(i).forEach(a=>{r[n][a]=n0(i[a],o[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}const i0=e=>e,b3=(()=>{let e=i0;return{configure(t){e=t},generate(t){return e(t)},reset(){e=i0}}})(),x3={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function w3(e,t,r="Mui"){const n=x3[t];return n?`${r}-${n}`:`${b3.generate(e)}-${t}`}const ja="$$material";function Ir(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function C3(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 S3(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 T3=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(S3(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
71
+ `+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var a=C3(i);try{a.insertRule(n,a.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),jt="-ms-",Ia="-moz-",Ve="-webkit-",Oc="comm",Pc="rule",Mc="decl",E3="@import",o0="@keyframes",O3="@layer",P3=Math.abs,La=String.fromCharCode,M3=Object.assign;function _3(e,t){return Dt(e,0)^45?(((t<<2^Dt(e,0))<<2^Dt(e,1))<<2^Dt(e,2))<<2^Dt(e,3):0}function a0(e){return e.trim()}function $3(e,t){return(e=t.exec(e))?e[0]:e}function He(e,t,r){return e.replace(t,r)}function _c(e,t){return e.indexOf(t)}function Dt(e,t){return e.charCodeAt(t)|0}function vo(e,t,r){return e.slice(t,r)}function br(e){return e.length}function $c(e){return e.length}function Fa(e,t){return t.push(e),e}function A3(e,t){return e.map(t).join("")}var Ra=1,Xn=1,s0=0,Wt=0,Et=0,Kn="";function Na(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Ra,column:Xn,length:a,return:""}}function yo(e,t){return M3(Na("",null,null,"",null,null,0),e,{length:-e.length},t)}function k3(){return Et}function D3(){return Et=Wt>0?Dt(Kn,--Wt):0,Xn--,Et===10&&(Xn=1,Ra--),Et}function Kt(){return Et=Wt<s0?Dt(Kn,Wt++):0,Xn++,Et===10&&(Xn=1,Ra++),Et}function xr(){return Dt(Kn,Wt)}function Ba(){return Wt}function bo(e,t){return vo(Kn,e,t)}function xo(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 l0(e){return Ra=Xn=1,s0=br(Kn=e),Wt=0,[]}function c0(e){return Kn="",e}function za(e){return a0(bo(Wt-1,Ac(e===91?e+2:e===40?e+1:e)))}function j3(e){for(;(Et=xr())&&Et<33;)Kt();return xo(e)>2||xo(Et)>3?"":" "}function I3(e,t){for(;--t&&Kt()&&!(Et<48||Et>102||Et>57&&Et<65||Et>70&&Et<97););return bo(e,Ba()+(t<6&&xr()==32&&Kt()==32))}function Ac(e){for(;Kt();)switch(Et){case e:return Wt;case 34:case 39:e!==34&&e!==39&&Ac(Et);break;case 40:e===41&&Ac(e);break;case 92:Kt();break}return Wt}function L3(e,t){for(;Kt()&&e+Et!==47+10;)if(e+Et===42+42&&xr()===47)break;return"/*"+bo(t,Wt-1)+"*"+La(e===47?e:Kt())}function F3(e){for(;!xo(xr());)Kt();return bo(e,Wt)}function R3(e){return c0(Wa("",null,null,null,[""],e=l0(e),0,[0],e))}function Wa(e,t,r,n,i,o,a,s,c){for(var l=0,u=0,f=a,d=0,h=0,g=0,m=1,y=1,x=1,b=0,S="",P=i,w=o,E=n,O=S;y;)switch(g=b,b=Kt()){case 40:if(g!=108&&Dt(O,f-1)==58){_c(O+=He(za(b),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:O+=za(b);break;case 9:case 10:case 13:case 32:O+=j3(g);break;case 92:O+=I3(Ba()-1,7);continue;case 47:switch(xr()){case 42:case 47:Fa(N3(L3(Kt(),Ba()),t,r),c);break;default:O+="/"}break;case 123*m:s[l++]=br(O)*x;case 125*m:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+u:x==-1&&(O=He(O,/\f/g,"")),h>0&&br(O)-f&&Fa(h>32?f0(O+";",n,r,f-1):f0(He(O," ","")+";",n,r,f-2),c);break;case 59:O+=";";default:if(Fa(E=u0(O,t,r,l,u,i,s,S,P=[],w=[],f),o),b===123)if(u===0)Wa(O,t,E,E,P,o,f,s,w);else switch(d===99&&Dt(O,3)===110?100:d){case 100:case 108:case 109:case 115:Wa(e,E,E,n&&Fa(u0(e,E,E,0,0,i,s,S,i,P=[],f),w),i,w,f,s,n?P:w);break;default:Wa(O,E,E,E,[""],w,0,s,w)}}l=u=h=0,m=x=1,S=O="",f=a;break;case 58:f=1+br(O),h=g;default:if(m<1){if(b==123)--m;else if(b==125&&m++==0&&D3()==125)continue}switch(O+=La(b),b*m){case 38:x=u>0?1:(O+="\f",-1);break;case 44:s[l++]=(br(O)-1)*x,x=1;break;case 64:xr()===45&&(O+=za(Kt())),d=xr(),u=f=br(S=O+=F3(Ba())),b++;break;case 45:g===45&&br(O)==2&&(m=0)}}return o}function u0(e,t,r,n,i,o,a,s,c,l,u){for(var f=i-1,d=i===0?o:[""],h=$c(d),g=0,m=0,y=0;g<n;++g)for(var x=0,b=vo(e,f+1,f=P3(m=a[g])),S=e;x<h;++x)(S=a0(m>0?d[x]+" "+b:He(b,/&\f/g,d[x])))&&(c[y++]=S);return Na(e,t,r,i===0?Pc:s,c,l,u)}function N3(e,t,r){return Na(e,t,r,Oc,La(k3()),vo(e,2,-2),0)}function f0(e,t,r,n){return Na(e,t,r,Mc,vo(e,0,n),vo(e,n+1,-1),n)}function Zn(e,t){for(var r="",n=$c(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function B3(e,t,r,n){switch(e.type){case O3:if(e.children.length)break;case E3:case Mc:return e.return=e.return||e.value;case Oc:return"";case o0:return e.return=e.value+"{"+Zn(e.children,n)+"}";case Pc:e.value=e.props.join(",")}return br(r=Zn(e.children,n))?e.return=e.value+"{"+r+"}":""}function z3(e){var t=$c(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function W3(e){return function(t){t.root||(t=t.return)&&e(t)}}var V3=function(t,r,n){for(var i=0,o=0;i=o,o=xr(),i===38&&o===12&&(r[n]=1),!xo(o);)Kt();return bo(t,Wt)},H3=function(t,r){var n=-1,i=44;do switch(xo(i)){case 0:i===38&&xr()===12&&(r[n]=1),t[n]+=V3(Wt-1,r,n);break;case 2:t[n]+=za(i);break;case 4:if(i===44){t[++n]=xr()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=La(i)}while(i=Kt());return t},U3=function(t,r){return c0(H3(l0(t),r))},d0=new WeakMap,Y3=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!d0.get(n))&&!i){d0.set(t,!0);for(var o=[],a=U3(r,o),s=n.props,c=0,l=0;c<a.length;c++)for(var u=0;u<s.length;u++,l++)t.props[l]=o[c]?a[c].replace(/&\f/g,s[u]):s[u]+" "+a[c]}}},G3=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},q3="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",X3=function(t){return t.type==="comm"&&t.children.indexOf(q3)>-1},K3=function(t){return function(r,n,i){if(!(r.type!=="rule"||t.compat)){var o=r.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!r.parent,s=a?r.parent.children:i,c=s.length-1;c>=0;c--){var l=s[c];if(l.line<r.line)break;if(l.column<r.column){if(X3(l))return;break}}o.forEach(function(u){console.error('The pseudo class "'+u+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+u.split("-child")[0]+'-of-type".')})}}}},h0=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Z3=function(t,r){for(var n=t-1;n>=0;n--)if(!h0(r[n]))return!0;return!1},p0=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Q3=function(t,r,n){h0(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),p0(t)):Z3(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),p0(t)))};function g0(e,t){switch(_3(e,t)){case 5103:return Ve+"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 Ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ve+e+Ia+e+jt+e+e;case 6828:case 4268:return Ve+e+jt+e+e;case 6165:return Ve+e+jt+"flex-"+e+e;case 5187:return Ve+e+He(e,/(\w+).+(:[^]+)/,Ve+"box-$1$2"+jt+"flex-$1$2")+e;case 5443:return Ve+e+jt+"flex-item-"+He(e,/flex-|-self/,"")+e;case 4675:return Ve+e+jt+"flex-line-pack"+He(e,/align-content|flex-|-self/,"")+e;case 5548:return Ve+e+jt+He(e,"shrink","negative")+e;case 5292:return Ve+e+jt+He(e,"basis","preferred-size")+e;case 6060:return Ve+"box-"+He(e,"-grow","")+Ve+e+jt+He(e,"grow","positive")+e;case 4554:return Ve+He(e,/([^-])(transform)/g,"$1"+Ve+"$2")+e;case 6187:return He(He(He(e,/(zoom-|grab)/,Ve+"$1"),/(image-set)/,Ve+"$1"),e,"")+e;case 5495:case 3959:return He(e,/(image-set\([^]*)/,Ve+"$1$`$1");case 4968:return He(He(e,/(.+:)(flex-)?(.*)/,Ve+"box-pack:$3"+jt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ve+e+e;case 4095:case 3583:case 4068:case 2532:return He(e,/(.+)-inline(.+)/,Ve+"$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(br(e)-1-t>6)switch(Dt(e,t+1)){case 109:if(Dt(e,t+4)!==45)break;case 102:return He(e,/(.+:)(.+)-([^]+)/,"$1"+Ve+"$2-$3$1"+Ia+(Dt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_c(e,"stretch")?g0(He(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Dt(e,t+1)!==115)break;case 6444:switch(Dt(e,br(e)-3-(~_c(e,"!important")&&10))){case 107:return He(e,":",":"+Ve)+e;case 101:return He(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ve+(Dt(e,14)===45?"inline-":"")+"box$3$1"+Ve+"$2$3$1"+jt+"$2box$3")+e}break;case 5936:switch(Dt(e,t+11)){case 114:return Ve+e+jt+He(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ve+e+jt+He(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ve+e+jt+He(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ve+e+jt+e+e}return e}var J3=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Mc:t.return=g0(t.value,t.length);break;case o0:return Zn([yo(t,{value:He(t.value,"@","@"+Ve)})],i);case Pc:if(t.length)return A3(t.props,function(o){switch($3(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Zn([yo(t,{props:[He(o,/:(read-\w+)/,":"+Ia+"$1")]})],i);case"::placeholder":return Zn([yo(t,{props:[He(o,/:(plac\w+)/,":"+Ve+"input-$1")]}),yo(t,{props:[He(o,/:(plac\w+)/,":"+Ia+"$1")]}),yo(t,{props:[He(o,/:(plac\w+)/,jt+"input-$1")]})],i)}return""})}},e4=[J3],t4=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
72
+ If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var y=m.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||e4;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var y=m.getAttribute("data-emotion").split(" "),x=1;x<y.length;x++)o[y[x]]=!0;s.push(m)});var c,l=[Y3,G3];process.env.NODE_ENV!=="production"&&l.push(K3({get compat(){return g.compat}}),Q3);{var u,f=[B3,process.env.NODE_ENV!=="production"?function(m){m.root||(m.return?u.insert(m.return):m.value&&m.type!==Oc&&u.insert(m.value+"{}"))}:W3(function(m){u.insert(m)})],d=z3(l.concat(i,f)),h=function(y){return Zn(R3(y),d)};c=function(y,x,b,S){u=b,process.env.NODE_ENV!=="production"&&x.map!==void 0&&(u={insert:function(w){b.insert(w+x.map)}}),h(y?y+"{"+x.styles+"}":x.styles),S&&(g.inserted[x.name]=!0)}}var g={key:r,sheet:new T3({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:c};return g.sheet.hydrate(s),g};let kc;typeof document=="object"&&(kc=t4({key:"css",prepend:!0}));function m0(e){const{injectFirst:t,children:r}=e;return t&&kc?v.jsx(bl.CacheProvider,{value:kc,children:r}):r}process.env.NODE_ENV!=="production"&&(m0.propTypes={children:A.node,injectFirst:A.bool});/**
73
73
  * @mui/styled-engine v5.13.2
74
74
  *
75
75
  * @license MIT
@@ -79,13 +79,13 @@ If multiple caches share the same key they might "fight" for each other's style
79
79
  `)):n.some(o=>o===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),r(...n)}:r}const n4=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},i4=["values","unit","step"],o4=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>_e({},r,{[n.key]:n.val}),{})};function a4(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,i=Ir(e,i4),o=o4(t),a=Object.keys(o);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function c(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function l(d,h){const g=a.indexOf(h);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:h)-n/100}${r})`}function u(d){return a.indexOf(d)+1<a.length?l(d,a[a.indexOf(d)+1]):s(d)}function f(d){const h=a.indexOf(d);return h===0?s(a[1]):h===a.length-1?c(a[h]):l(d,a[a.indexOf(d)+1]).replace("@media","@media not all and")}return _e({keys:a,values:o,up:s,down:c,between:l,only:u,not:f,unit:r},i)}const s4={borderRadius:4},Jr=process.env.NODE_ENV!=="production"?A.oneOfType([A.number,A.string,A.object,A.array]):{};function wo(e,t){return t?jr(e,t,{clone:!1}):e}const Dc={xs:0,sm:600,md:900,lg:1200,xl:1536},v0={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Dc[e]}px)`};function Lr(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||v0;return t.reduce((a,s,c)=>(a[o.up(o.keys[c])]=r(t[c]),a),{})}if(typeof t=="object"){const o=n.breakpoints||v0;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||Dc).indexOf(s)!==-1){const c=o.up(s);a[c]=r(t[s],s)}else{const c=s;a[c]=t[c]}return a},{})}return r(t)}function l4(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,i)=>{const o=e.up(i);return n[o]={},n},{}))||{}}function c4(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function Va(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function Ha(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=Va(e,r)||n,t&&(i=t(i,n,e)),i}function Ze(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,o=a=>{if(a[t]==null)return null;const s=a[t],c=a.theme,l=Va(c,n)||{};return Lr(a,s,f=>{let d=Ha(l,i,f);return f===d&&typeof f=="string"&&(d=Ha(l,i,`${t}${f==="default"?"":qn(f)}`,f)),r===!1?d:{[r]:d}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[t]:Jr}:{},o.filterProps=[t],o}function u4(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const f4={m:"margin",p:"padding"},d4={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},y0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},h4=u4(e=>{if(e.length>2)if(y0[e])e=y0[e];else return[e];const[t,r]=e.split(""),n=f4[t],i=d4[r]||"";return Array.isArray(i)?i.map(o=>n+o):[n+i]}),Ua=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ya=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p4=[...Ua,...Ya];function Co(e,t,r,n){var i;const o=(i=Va(e,t,!1))!=null?i:r;return typeof o=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),o*a):Array.isArray(o)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
80
80
  `)):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(`
81
81
  `))),o[a]):typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
82
- `)),()=>{})}function b0(e){return Co(e,"spacing",8,"spacing")}function To(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function g4(e,t){return r=>e.reduce((n,i)=>(n[i]=To(t,r),n),{})}function m4(e,t,r,n){if(t.indexOf(r)===-1)return null;const i=h4(r),o=g4(i,n),a=e[r];return Lr(e,a,o)}function x0(e,t){const r=b0(e.theme);return Object.keys(e).map(n=>m4(e,t,n,r)).reduce(wo,{})}function mt(e){return x0(e,Ua)}mt.propTypes=process.env.NODE_ENV!=="production"?Ua.reduce((e,t)=>(e[t]=Jr,e),{}):{},mt.filterProps=Ua;function vt(e){return x0(e,Ya)}vt.propTypes=process.env.NODE_ENV!=="production"?Ya.reduce((e,t)=>(e[t]=Jr,e),{}):{},vt.filterProps=Ya,process.env.NODE_ENV!=="production"&&p4.reduce((e,t)=>(e[t]=Jr,e),{});function v4(e=8){if(e.mui)return e;const t=b0({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Ga(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(o=>{n[o]=i}),n),{}),r=n=>Object.keys(n).reduce((i,o)=>t[o]?wo(i,t[o](n)):i,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,i)=>Object.assign(n,i.propTypes),{}):{},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function wr(e){return typeof e!="number"?e:`${e}px solid`}const y4=Ze({prop:"border",themeKey:"borders",transform:wr}),b4=Ze({prop:"borderTop",themeKey:"borders",transform:wr}),x4=Ze({prop:"borderRight",themeKey:"borders",transform:wr}),w4=Ze({prop:"borderBottom",themeKey:"borders",transform:wr}),C4=Ze({prop:"borderLeft",themeKey:"borders",transform:wr}),T4=Ze({prop:"borderColor",themeKey:"palette"}),S4=Ze({prop:"borderTopColor",themeKey:"palette"}),E4=Ze({prop:"borderRightColor",themeKey:"palette"}),O4=Ze({prop:"borderBottomColor",themeKey:"palette"}),P4=Ze({prop:"borderLeftColor",themeKey:"palette"}),qa=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Co(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:To(t,n)});return Lr(e,e.borderRadius,r)}return null};qa.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Jr}:{},qa.filterProps=["borderRadius"],Ga(y4,b4,x4,w4,C4,T4,S4,E4,O4,P4,qa);const Xa=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Co(e.theme,"spacing",8,"gap"),r=n=>({gap:To(t,n)});return Lr(e,e.gap,r)}return null};Xa.propTypes=process.env.NODE_ENV!=="production"?{gap:Jr}:{},Xa.filterProps=["gap"];const Ka=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Co(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:To(t,n)});return Lr(e,e.columnGap,r)}return null};Ka.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Jr}:{},Ka.filterProps=["columnGap"];const Za=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Co(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:To(t,n)});return Lr(e,e.rowGap,r)}return null};Za.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Jr}:{},Za.filterProps=["rowGap"];const M4=Ze({prop:"gridColumn"}),_4=Ze({prop:"gridRow"}),$4=Ze({prop:"gridAutoFlow"}),A4=Ze({prop:"gridAutoColumns"}),k4=Ze({prop:"gridAutoRows"}),D4=Ze({prop:"gridTemplateColumns"}),j4=Ze({prop:"gridTemplateRows"}),I4=Ze({prop:"gridTemplateAreas"}),L4=Ze({prop:"gridArea"});Ga(Xa,Ka,Za,M4,_4,$4,A4,k4,D4,j4,I4,L4);function Qn(e,t){return t==="grey"?t:e}const F4=Ze({prop:"color",themeKey:"palette",transform:Qn}),R4=Ze({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Qn}),N4=Ze({prop:"backgroundColor",themeKey:"palette",transform:Qn});Ga(F4,R4,N4);function Zt(e){return e<=1&&e!==0?`${e*100}%`:e}const B4=Ze({prop:"width",transform:Zt}),jc=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Dc[r]||Zt(r)}};return Lr(e,e.maxWidth,t)}return null};jc.filterProps=["maxWidth"];const z4=Ze({prop:"minWidth",transform:Zt}),W4=Ze({prop:"height",transform:Zt}),V4=Ze({prop:"maxHeight",transform:Zt}),H4=Ze({prop:"minHeight",transform:Zt});Ze({prop:"size",cssProperty:"width",transform:Zt}),Ze({prop:"size",cssProperty:"height",transform:Zt});const U4=Ze({prop:"boxSizing"});Ga(B4,jc,z4,W4,V4,H4,U4);const Ic={border:{themeKey:"borders",transform:wr},borderTop:{themeKey:"borders",transform:wr},borderRight:{themeKey:"borders",transform:wr},borderBottom:{themeKey:"borders",transform:wr},borderLeft:{themeKey:"borders",transform:wr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qa},color:{themeKey:"palette",transform:Qn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Qn},backgroundColor:{themeKey:"palette",transform:Qn},p:{style:vt},pt:{style:vt},pr:{style:vt},pb:{style:vt},pl:{style:vt},px:{style:vt},py:{style:vt},padding:{style:vt},paddingTop:{style:vt},paddingRight:{style:vt},paddingBottom:{style:vt},paddingLeft:{style:vt},paddingX:{style:vt},paddingY:{style:vt},paddingInline:{style:vt},paddingInlineStart:{style:vt},paddingInlineEnd:{style:vt},paddingBlock:{style:vt},paddingBlockStart:{style:vt},paddingBlockEnd:{style:vt},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:Xa},rowGap:{style:Za},columnGap:{style:Ka},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Zt},maxWidth:{style:jc},minWidth:{transform:Zt},height:{transform:Zt},maxHeight:{transform:Zt},minHeight:{transform:Zt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Y4(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function G4(e,t){return typeof e=="function"?e(t):e}function q4(){function e(r,n,i,o){const a={[r]:n,theme:i},s=o[r];if(!s)return{[r]:n};const{cssProperty:c=r,themeKey:l,transform:u,style:f}=s;if(n==null)return null;if(l==="typography"&&n==="inherit")return{[r]:n};const d=Va(i,l)||{};return f?f(a):Lr(a,n,g=>{let m=Ha(d,u,g);return g===m&&typeof g=="string"&&(m=Ha(d,u,`${r}${g==="default"?"":qn(g)}`,g)),c===!1?m:{[c]:m}})}function t(r){var n;const{sx:i,theme:o={}}=r||{};if(!i)return null;const a=(n=o.unstable_sxConfig)!=null?n:Ic;function s(c){let l=c;if(typeof c=="function")l=c(o);else if(typeof c!="object")return c;if(!l)return null;const u=l4(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(l).forEach(h=>{const g=G4(l[h],o);if(g!=null)if(typeof g=="object")if(a[h])d=wo(d,e(h,g,o,a));else{const m=Lr({theme:o},g,y=>({[h]:y}));Y4(m,g)?d[h]=t({sx:g,theme:o}):d=wo(d,m)}else d=wo(d,e(h,g,o,a))}),c4(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const w0=q4();w0.filterProps=["sx"];const Lc=w0,X4=["breakpoints","palette","spacing","shape"];function Fc(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:o={}}=e,a=Ir(e,X4),s=a4(r),c=v4(i);let l=jr({breakpoints:s,direction:"ltr",components:{},palette:_e({mode:"light"},n),spacing:c,shape:_e({},s4,o)},a);return l=t.reduce((u,f)=>jr(u,f),l),l.unstable_sxConfig=_e({},Ic,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return Lc({sx:f,theme:this})},l}function K4(e){return Object.keys(e).length===0}function Rc(e=null){const t=be.useContext(bl.ThemeContext);return!t||K4(t)?e:t}const Z4=Fc();function Q4(e=Z4){return Rc(e)}const J4=["variant"];function C0(e){return e.length===0}function T0(e){const{variant:t}=e,r=Ir(e,J4);let n=t||"";return Object.keys(r).sort().forEach(i=>{i==="color"?n+=C0(n)?e[i]:qn(e[i]):n+=`${C0(n)?i:qn(i)}${qn(e[i].toString())}`}),n}const eC=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function tC(e){return Object.keys(e).length===0}function rC(e){return typeof e=="string"&&e.charCodeAt(0)>96}const nC=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,iC=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(i=>{const o=T0(i.props);n[o]=i.style}),n},oC=(e,t,r,n)=>{var i;const{ownerState:o={}}=e,a=[],s=r==null||(i=r.components)==null||(i=i[n])==null?void 0:i.variants;return s&&s.forEach(c=>{let l=!0;Object.keys(c.props).forEach(u=>{o[u]!==c.props[u]&&e[u]!==c.props[u]&&(l=!1)}),l&&a.push(t[T0(c.props)])}),a};function Qa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const aC=Fc(),S0=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function So({defaultTheme:e,theme:t,themeId:r}){return tC(t)?e:t[r]||t}function sC(e){return e?(t,r)=>r[e]:null}function lC(e={}){const{themeId:t,defaultTheme:r=aC,rootShouldForwardProp:n=Qa,slotShouldForwardProp:i=Qa}=e,o=a=>Lc(_e({},a,{theme:So(_e({},a,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(a,s={})=>{n4(a,P=>P.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:u,skipSx:f,overridesResolver:d=sC(S0(l))}=s,h=Ir(s,eC),g=u!==void 0?u:l&&l!=="Root"&&l!=="root"||!1,m=f||!1;let y;process.env.NODE_ENV!=="production"&&c&&(y=`${c}-${S0(l||"Root")}`);let x=Qa;l==="Root"||l==="root"?x=n:l?x=i:rC(a)&&(x=void 0);const b=r4(a,_e({shouldForwardProp:x,label:y},h)),T=(P,...w)=>{const E=w?w.map(W=>typeof W=="function"&&W.__emotion_real!==W?de=>W(_e({},de,{theme:So(_e({},de,{defaultTheme:r,themeId:t}))})):W):[];let O=P;c&&d&&E.push(W=>{const de=So(_e({},W,{defaultTheme:r,themeId:t})),ve=nC(c,de);if(ve){const ce={};return Object.entries(ve).forEach(([q,Y])=>{ce[q]=typeof Y=="function"?Y(_e({},W,{theme:de})):Y}),d(W,ce)}return null}),c&&!g&&E.push(W=>{const de=So(_e({},W,{defaultTheme:r,themeId:t}));return oC(W,iC(c,de),de,c)}),m||E.push(o);const M=E.length-w.length;if(Array.isArray(P)&&M>0){const W=new Array(M).fill("");O=[...P,...W],O.raw=[...P.raw,...W]}else typeof P=="function"&&P.__emotion_real!==P&&(O=W=>P(_e({},W,{theme:So(_e({},W,{defaultTheme:r,themeId:t}))})));const L=b(O,...E);if(process.env.NODE_ENV!=="production"){let W;c&&(W=`${c}${qn(l||"")}`),W===void 0&&(W=`Styled(${v3(a)})`),L.displayName=W}return a.muiName&&(L.muiName=a.muiName),L};return b.withConfig&&(T.withConfig=b.withConfig),T}}function cC(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:n0(t.components[r].defaultProps,n)}function Nc(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Math.min(Math.max(t,e),r)}function uC(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function bn(e){if(e.type)return e;if(e.charAt(0)==="#")return bn(uC(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
82
+ `)),()=>{})}function b0(e){return Co(e,"spacing",8,"spacing")}function So(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function g4(e,t){return r=>e.reduce((n,i)=>(n[i]=So(t,r),n),{})}function m4(e,t,r,n){if(t.indexOf(r)===-1)return null;const i=h4(r),o=g4(i,n),a=e[r];return Lr(e,a,o)}function x0(e,t){const r=b0(e.theme);return Object.keys(e).map(n=>m4(e,t,n,r)).reduce(wo,{})}function mt(e){return x0(e,Ua)}mt.propTypes=process.env.NODE_ENV!=="production"?Ua.reduce((e,t)=>(e[t]=Jr,e),{}):{},mt.filterProps=Ua;function vt(e){return x0(e,Ya)}vt.propTypes=process.env.NODE_ENV!=="production"?Ya.reduce((e,t)=>(e[t]=Jr,e),{}):{},vt.filterProps=Ya,process.env.NODE_ENV!=="production"&&p4.reduce((e,t)=>(e[t]=Jr,e),{});function v4(e=8){if(e.mui)return e;const t=b0({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Ga(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(o=>{n[o]=i}),n),{}),r=n=>Object.keys(n).reduce((i,o)=>t[o]?wo(i,t[o](n)):i,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,i)=>Object.assign(n,i.propTypes),{}):{},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function wr(e){return typeof e!="number"?e:`${e}px solid`}const y4=Ze({prop:"border",themeKey:"borders",transform:wr}),b4=Ze({prop:"borderTop",themeKey:"borders",transform:wr}),x4=Ze({prop:"borderRight",themeKey:"borders",transform:wr}),w4=Ze({prop:"borderBottom",themeKey:"borders",transform:wr}),C4=Ze({prop:"borderLeft",themeKey:"borders",transform:wr}),S4=Ze({prop:"borderColor",themeKey:"palette"}),T4=Ze({prop:"borderTopColor",themeKey:"palette"}),E4=Ze({prop:"borderRightColor",themeKey:"palette"}),O4=Ze({prop:"borderBottomColor",themeKey:"palette"}),P4=Ze({prop:"borderLeftColor",themeKey:"palette"}),qa=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Co(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:So(t,n)});return Lr(e,e.borderRadius,r)}return null};qa.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Jr}:{},qa.filterProps=["borderRadius"],Ga(y4,b4,x4,w4,C4,S4,T4,E4,O4,P4,qa);const Xa=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Co(e.theme,"spacing",8,"gap"),r=n=>({gap:So(t,n)});return Lr(e,e.gap,r)}return null};Xa.propTypes=process.env.NODE_ENV!=="production"?{gap:Jr}:{},Xa.filterProps=["gap"];const Ka=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Co(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:So(t,n)});return Lr(e,e.columnGap,r)}return null};Ka.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Jr}:{},Ka.filterProps=["columnGap"];const Za=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Co(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:So(t,n)});return Lr(e,e.rowGap,r)}return null};Za.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Jr}:{},Za.filterProps=["rowGap"];const M4=Ze({prop:"gridColumn"}),_4=Ze({prop:"gridRow"}),$4=Ze({prop:"gridAutoFlow"}),A4=Ze({prop:"gridAutoColumns"}),k4=Ze({prop:"gridAutoRows"}),D4=Ze({prop:"gridTemplateColumns"}),j4=Ze({prop:"gridTemplateRows"}),I4=Ze({prop:"gridTemplateAreas"}),L4=Ze({prop:"gridArea"});Ga(Xa,Ka,Za,M4,_4,$4,A4,k4,D4,j4,I4,L4);function Qn(e,t){return t==="grey"?t:e}const F4=Ze({prop:"color",themeKey:"palette",transform:Qn}),R4=Ze({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Qn}),N4=Ze({prop:"backgroundColor",themeKey:"palette",transform:Qn});Ga(F4,R4,N4);function Zt(e){return e<=1&&e!==0?`${e*100}%`:e}const B4=Ze({prop:"width",transform:Zt}),jc=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Dc[r]||Zt(r)}};return Lr(e,e.maxWidth,t)}return null};jc.filterProps=["maxWidth"];const z4=Ze({prop:"minWidth",transform:Zt}),W4=Ze({prop:"height",transform:Zt}),V4=Ze({prop:"maxHeight",transform:Zt}),H4=Ze({prop:"minHeight",transform:Zt});Ze({prop:"size",cssProperty:"width",transform:Zt}),Ze({prop:"size",cssProperty:"height",transform:Zt});const U4=Ze({prop:"boxSizing"});Ga(B4,jc,z4,W4,V4,H4,U4);const Ic={border:{themeKey:"borders",transform:wr},borderTop:{themeKey:"borders",transform:wr},borderRight:{themeKey:"borders",transform:wr},borderBottom:{themeKey:"borders",transform:wr},borderLeft:{themeKey:"borders",transform:wr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qa},color:{themeKey:"palette",transform:Qn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Qn},backgroundColor:{themeKey:"palette",transform:Qn},p:{style:vt},pt:{style:vt},pr:{style:vt},pb:{style:vt},pl:{style:vt},px:{style:vt},py:{style:vt},padding:{style:vt},paddingTop:{style:vt},paddingRight:{style:vt},paddingBottom:{style:vt},paddingLeft:{style:vt},paddingX:{style:vt},paddingY:{style:vt},paddingInline:{style:vt},paddingInlineStart:{style:vt},paddingInlineEnd:{style:vt},paddingBlock:{style:vt},paddingBlockStart:{style:vt},paddingBlockEnd:{style:vt},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:Xa},rowGap:{style:Za},columnGap:{style:Ka},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Zt},maxWidth:{style:jc},minWidth:{transform:Zt},height:{transform:Zt},maxHeight:{transform:Zt},minHeight:{transform:Zt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Y4(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function G4(e,t){return typeof e=="function"?e(t):e}function q4(){function e(r,n,i,o){const a={[r]:n,theme:i},s=o[r];if(!s)return{[r]:n};const{cssProperty:c=r,themeKey:l,transform:u,style:f}=s;if(n==null)return null;if(l==="typography"&&n==="inherit")return{[r]:n};const d=Va(i,l)||{};return f?f(a):Lr(a,n,g=>{let m=Ha(d,u,g);return g===m&&typeof g=="string"&&(m=Ha(d,u,`${r}${g==="default"?"":qn(g)}`,g)),c===!1?m:{[c]:m}})}function t(r){var n;const{sx:i,theme:o={}}=r||{};if(!i)return null;const a=(n=o.unstable_sxConfig)!=null?n:Ic;function s(c){let l=c;if(typeof c=="function")l=c(o);else if(typeof c!="object")return c;if(!l)return null;const u=l4(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(l).forEach(h=>{const g=G4(l[h],o);if(g!=null)if(typeof g=="object")if(a[h])d=wo(d,e(h,g,o,a));else{const m=Lr({theme:o},g,y=>({[h]:y}));Y4(m,g)?d[h]=t({sx:g,theme:o}):d=wo(d,m)}else d=wo(d,e(h,g,o,a))}),c4(f,d)}return Array.isArray(i)?i.map(s):s(i)}return t}const w0=q4();w0.filterProps=["sx"];const Lc=w0,X4=["breakpoints","palette","spacing","shape"];function Fc(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:o={}}=e,a=Ir(e,X4),s=a4(r),c=v4(i);let l=jr({breakpoints:s,direction:"ltr",components:{},palette:_e({mode:"light"},n),spacing:c,shape:_e({},s4,o)},a);return l=t.reduce((u,f)=>jr(u,f),l),l.unstable_sxConfig=_e({},Ic,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return Lc({sx:f,theme:this})},l}function K4(e){return Object.keys(e).length===0}function Rc(e=null){const t=be.useContext(bl.ThemeContext);return!t||K4(t)?e:t}const Z4=Fc();function Q4(e=Z4){return Rc(e)}const J4=["variant"];function C0(e){return e.length===0}function S0(e){const{variant:t}=e,r=Ir(e,J4);let n=t||"";return Object.keys(r).sort().forEach(i=>{i==="color"?n+=C0(n)?e[i]:qn(e[i]):n+=`${C0(n)?i:qn(i)}${qn(e[i].toString())}`}),n}const eC=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function tC(e){return Object.keys(e).length===0}function rC(e){return typeof e=="string"&&e.charCodeAt(0)>96}const nC=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,iC=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(i=>{const o=S0(i.props);n[o]=i.style}),n},oC=(e,t,r,n)=>{var i;const{ownerState:o={}}=e,a=[],s=r==null||(i=r.components)==null||(i=i[n])==null?void 0:i.variants;return s&&s.forEach(c=>{let l=!0;Object.keys(c.props).forEach(u=>{o[u]!==c.props[u]&&e[u]!==c.props[u]&&(l=!1)}),l&&a.push(t[S0(c.props)])}),a};function Qa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const aC=Fc(),T0=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function To({defaultTheme:e,theme:t,themeId:r}){return tC(t)?e:t[r]||t}function sC(e){return e?(t,r)=>r[e]:null}function lC(e={}){const{themeId:t,defaultTheme:r=aC,rootShouldForwardProp:n=Qa,slotShouldForwardProp:i=Qa}=e,o=a=>Lc(_e({},a,{theme:To(_e({},a,{defaultTheme:r,themeId:t}))}));return o.__mui_systemSx=!0,(a,s={})=>{n4(a,P=>P.filter(w=>!(w!=null&&w.__mui_systemSx)));const{name:c,slot:l,skipVariantsResolver:u,skipSx:f,overridesResolver:d=sC(T0(l))}=s,h=Ir(s,eC),g=u!==void 0?u:l&&l!=="Root"&&l!=="root"||!1,m=f||!1;let y;process.env.NODE_ENV!=="production"&&c&&(y=`${c}-${T0(l||"Root")}`);let x=Qa;l==="Root"||l==="root"?x=n:l?x=i:rC(a)&&(x=void 0);const b=r4(a,_e({shouldForwardProp:x,label:y},h)),S=(P,...w)=>{const E=w?w.map(W=>typeof W=="function"&&W.__emotion_real!==W?de=>W(_e({},de,{theme:To(_e({},de,{defaultTheme:r,themeId:t}))})):W):[];let O=P;c&&d&&E.push(W=>{const de=To(_e({},W,{defaultTheme:r,themeId:t})),ve=nC(c,de);if(ve){const ce={};return Object.entries(ve).forEach(([q,Y])=>{ce[q]=typeof Y=="function"?Y(_e({},W,{theme:de})):Y}),d(W,ce)}return null}),c&&!g&&E.push(W=>{const de=To(_e({},W,{defaultTheme:r,themeId:t}));return oC(W,iC(c,de),de,c)}),m||E.push(o);const M=E.length-w.length;if(Array.isArray(P)&&M>0){const W=new Array(M).fill("");O=[...P,...W],O.raw=[...P.raw,...W]}else typeof P=="function"&&P.__emotion_real!==P&&(O=W=>P(_e({},W,{theme:To(_e({},W,{defaultTheme:r,themeId:t}))})));const L=b(O,...E);if(process.env.NODE_ENV!=="production"){let W;c&&(W=`${c}${qn(l||"")}`),W===void 0&&(W=`Styled(${v3(a)})`),L.displayName=W}return a.muiName&&(L.muiName=a.muiName),L};return b.withConfig&&(S.withConfig=b.withConfig),S}}function cC(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:n0(t.components[r].defaultProps,n)}function Nc(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Math.min(Math.max(t,e),r)}function uC(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function bn(e){if(e.type)return e;if(e.charAt(0)==="#")return bn(uC(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
83
83
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Gn(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${i}\` color space.
84
84
  The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Gn(10,i))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:i}}function Ja(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function fC(e){e=bn(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),a=(l,u=(l+r/30)%12)=>i-o*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const c=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",c.push(t[3])),Ja({type:s,values:c})}function E0(e){e=bn(e);let t=e.type==="hsl"||e.type==="hsla"?bn(fC(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function O0(e,t){const r=E0(e),n=E0(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function V(e,t){return e=bn(e),t=Nc(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ja(e)}function Bc(e,t){if(e=bn(e),t=Nc(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 r=0;r<3;r+=1)e.values[r]*=1-t;return Ja(e)}function zc(e,t){if(e=bn(e),t=Nc(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ja(e)}const P0=be.createContext(null);process.env.NODE_ENV!=="production"&&(P0.displayName="ThemeContext");const M0=P0;function _0(){const e=be.useContext(M0);return process.env.NODE_ENV!=="production"&&be.useDebugValue(e),e}const dC=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function hC(e,t){if(typeof t=="function"){const r=t(e);return process.env.NODE_ENV!=="production"&&(r||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join(`
85
85
  `))),r}return _e({},e,t)}function es(e){const{children:t,theme:r}=e,n=_0();process.env.NODE_ENV!=="production"&&n===null&&typeof r=="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(`
86
86
  `));const i=be.useMemo(()=>{const o=n===null?r:hC(n,r);return o!=null&&(o[dC]=n!==null),o},[r,n]);return v.jsx(M0.Provider,{value:i,children:t})}process.env.NODE_ENV!=="production"&&(es.propTypes={children:A.node,theme:A.oneOfType([A.object,A.func]).isRequired}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(es.propTypes=Zp(es.propTypes));const $0={};function A0(e,t,r,n=!1){return be.useMemo(()=>{const i=e&&t[e]||t;if(typeof r=="function"){const o=r(i),a=e?_e({},t,{[e]:o}):o;return n?()=>a:a}return e?_e({},t,{[e]:r}):_e({},t,r)},[e,t,r,n])}function ts(e){const{children:t,theme:r,themeId:n}=e,i=Rc($0),o=_0()||$0;process.env.NODE_ENV!=="production"&&(i===null&&typeof r=="function"||n&&i&&!i[n]&&typeof r=="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(`
87
- `));const a=A0(n,i,r),s=A0(n,o,r,!0);return v.jsx(es,{theme:s,children:v.jsx(bl.ThemeContext.Provider,{value:a,children:t})})}process.env.NODE_ENV!=="production"&&(ts.propTypes={children:A.node,theme:A.oneOfType([A.func,A.object]).isRequired,themeId:A.string}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(ts.propTypes=Zp(ts.propTypes));function pC(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Eo={black:"#000",white:"#fff"},gC={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"},Jn={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"},ei={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"},Oo={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"},ti={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"},ri={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"},ni={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"},mC=["mode","contrastThreshold","tonalOffset"],k0={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:Eo.white,default:Eo.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}},Wc={text:{primary:Eo.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:Eo.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 D0(e,t,r,n){const i=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=zc(e.main,i):t==="dark"&&(e.dark=Bc(e.main,o)))}function vC(e="light"){return e==="dark"?{main:ti[200],light:ti[50],dark:ti[400]}:{main:ti[700],light:ti[400],dark:ti[800]}}function yC(e="light"){return e==="dark"?{main:Jn[200],light:Jn[50],dark:Jn[400]}:{main:Jn[500],light:Jn[300],dark:Jn[700]}}function bC(e="light"){return e==="dark"?{main:ei[500],light:ei[300],dark:ei[700]}:{main:ei[700],light:ei[400],dark:ei[800]}}function xC(e="light"){return e==="dark"?{main:ri[400],light:ri[300],dark:ri[700]}:{main:ri[700],light:ri[500],dark:ri[900]}}function wC(e="light"){return e==="dark"?{main:ni[400],light:ni[300],dark:ni[700]}:{main:ni[800],light:ni[500],dark:ni[900]}}function CC(e="light"){return e==="dark"?{main:Oo[400],light:Oo[300],dark:Oo[700]}:{main:"#ed6c02",light:Oo[500],dark:Oo[900]}}function TC(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,i=Ir(e,mC),o=e.primary||vC(t),a=e.secondary||yC(t),s=e.error||bC(t),c=e.info||xC(t),l=e.success||wC(t),u=e.warning||CC(t);function f(m){const y=O0(m,Wc.text.primary)>=r?Wc.text.primary:k0.text.primary;if(process.env.NODE_ENV!=="production"){const x=O0(m,y);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${y} on ${m}`,"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(`
88
- `))}return y}const d=({color:m,name:y,mainShade:x=500,lightShade:b=300,darkShade:T=700})=>{if(m=_e({},m),!m.main&&m[x]&&(m.main=m[x]),!m.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
87
+ `));const a=A0(n,i,r),s=A0(n,o,r,!0);return v.jsx(es,{theme:s,children:v.jsx(bl.ThemeContext.Provider,{value:a,children:t})})}process.env.NODE_ENV!=="production"&&(ts.propTypes={children:A.node,theme:A.oneOfType([A.func,A.object]).isRequired,themeId:A.string}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(ts.propTypes=Zp(ts.propTypes));function pC(e,t){return _e({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Eo={black:"#000",white:"#fff"},gC={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"},Jn={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"},ei={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"},Oo={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"},ti={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"},ri={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"},ni={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"},mC=["mode","contrastThreshold","tonalOffset"],k0={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:Eo.white,default:Eo.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}},Wc={text:{primary:Eo.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:Eo.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 D0(e,t,r,n){const i=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=zc(e.main,i):t==="dark"&&(e.dark=Bc(e.main,o)))}function vC(e="light"){return e==="dark"?{main:ti[200],light:ti[50],dark:ti[400]}:{main:ti[700],light:ti[400],dark:ti[800]}}function yC(e="light"){return e==="dark"?{main:Jn[200],light:Jn[50],dark:Jn[400]}:{main:Jn[500],light:Jn[300],dark:Jn[700]}}function bC(e="light"){return e==="dark"?{main:ei[500],light:ei[300],dark:ei[700]}:{main:ei[700],light:ei[400],dark:ei[800]}}function xC(e="light"){return e==="dark"?{main:ri[400],light:ri[300],dark:ri[700]}:{main:ri[700],light:ri[500],dark:ri[900]}}function wC(e="light"){return e==="dark"?{main:ni[400],light:ni[300],dark:ni[700]}:{main:ni[800],light:ni[500],dark:ni[900]}}function CC(e="light"){return e==="dark"?{main:Oo[400],light:Oo[300],dark:Oo[700]}:{main:"#ed6c02",light:Oo[500],dark:Oo[900]}}function SC(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,i=Ir(e,mC),o=e.primary||vC(t),a=e.secondary||yC(t),s=e.error||bC(t),c=e.info||xC(t),l=e.success||wC(t),u=e.warning||CC(t);function f(m){const y=O0(m,Wc.text.primary)>=r?Wc.text.primary:k0.text.primary;if(process.env.NODE_ENV!=="production"){const x=O0(m,y);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${y} on ${m}`,"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(`
88
+ `))}return y}const d=({color:m,name:y,mainShade:x=500,lightShade:b=300,darkShade:S=700})=>{if(m=_e({},m),!m.main&&m[x]&&(m.main=m[x]),!m.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
89
89
  The color object needs to have a \`main\` property or a \`${x}\` property.`:Gn(11,y?` (${y})`:"",x));if(typeof m.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
90
90
  \`color.main\` should be a string, but \`${JSON.stringify(m.main)}\` was provided instead.
91
91
 
@@ -99,10 +99,10 @@ const theme1 = createTheme({ palette: {
99
99
 
100
100
  const theme2 = createTheme({ palette: {
101
101
  primary: { main: green[500] },
102
- } });`:Gn(12,y?` (${y})`:"",JSON.stringify(m.main)));return D0(m,"light",b,n),D0(m,"dark",T,n),m.contrastText||(m.contrastText=f(m.main)),m},h={dark:Wc,light:k0};return process.env.NODE_ENV!=="production"&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),jr(_e({common:_e({},Eo),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:l,name:"success"}),grey:gC,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},h[t]),i)}const SC=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function EC(e){return Math.round(e*1e5)/1e5}const j0={textTransform:"uppercase"},I0='"Roboto", "Helvetica", "Arial", sans-serif';function OC(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=I0,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:u,pxToRem:f}=r,d=Ir(r,SC);process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=i/14,g=f||(x=>`${x/l*h}rem`),m=(x,b,T,P,w)=>_e({fontFamily:n,fontWeight:x,fontSize:g(b),lineHeight:T},n===I0?{letterSpacing:`${EC(P/b)}em`}:{},w,u),y={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,j0),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,j0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return jr(_e({htmlFontSize:l,pxToRem:g,fontFamily:n,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:c},y),d,{clone:!1})}const PC=.2,MC=.14,_C=.12;function lt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${PC})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${MC})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${_C})`].join(",")}const $C=["none",lt(0,2,1,-1,0,1,1,0,0,1,3,0),lt(0,3,1,-2,0,2,2,0,0,1,5,0),lt(0,3,3,-2,0,3,4,0,0,1,8,0),lt(0,2,4,-1,0,4,5,0,0,1,10,0),lt(0,3,5,-1,0,5,8,0,0,1,14,0),lt(0,3,5,-1,0,6,10,0,0,1,18,0),lt(0,4,5,-2,0,7,10,1,0,2,16,1),lt(0,5,5,-3,0,8,10,1,0,3,14,2),lt(0,5,6,-3,0,9,12,1,0,3,16,2),lt(0,6,6,-3,0,10,14,1,0,4,18,3),lt(0,6,7,-4,0,11,15,1,0,4,20,3),lt(0,7,8,-4,0,12,17,2,0,5,22,4),lt(0,7,8,-4,0,13,19,2,0,5,24,4),lt(0,7,9,-4,0,14,21,2,0,5,26,4),lt(0,8,9,-5,0,15,22,2,0,6,28,5),lt(0,8,10,-5,0,16,24,2,0,6,30,5),lt(0,8,11,-5,0,17,26,2,0,6,32,5),lt(0,9,11,-5,0,18,28,2,0,7,34,6),lt(0,9,12,-6,0,19,29,2,0,7,36,6),lt(0,10,13,-6,0,20,31,3,0,8,38,7),lt(0,10,13,-6,0,21,33,3,0,8,40,7),lt(0,10,14,-6,0,22,35,3,0,8,42,7),lt(0,11,14,-7,0,23,36,3,0,9,44,8),lt(0,11,15,-7,0,24,38,3,0,9,46,8)],AC=["duration","easing","delay"],kC={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)"},DC={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function L0(e){return`${Math.round(e)}ms`}function jC(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function IC(e){const t=_e({},kC,e.easing),r=_e({},DC,e.duration);return _e({getAutoHeightDuration:jC,create:(i=["all"],o={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:c=0}=o,l=Ir(o,AC);if(process.env.NODE_ENV!=="production"){const u=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!u(i)&&!Array.isArray(i)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(a)&&!u(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),u(s)||console.error('MUI: Argument "easing" must be a string.'),!f(c)&&!u(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof o!="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(`
103
- `)),Object.keys(l).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof a=="string"?a:L0(a)} ${s} ${typeof c=="string"?c:L0(c)}`).join(",")}},e,{easing:t,duration:r})}const LC={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},FC=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function F0(e={},...t){const{mixins:r={},palette:n={},transitions:i={},typography:o={}}=e,a=Ir(e,FC);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.":Gn(18));const s=TC(n),c=Fc(e);let l=jr(c,{mixins:pC(c.breakpoints,r),palette:s,shadows:$C.slice(),typography:OC(s,o),transitions:IC(i),zIndex:_e({},LC)});if(l=jr(l,a),l=t.reduce((u,f)=>jr(u,f),l),process.env.NODE_ENV!=="production"){const u=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,h)=>{let g;for(g in d){const m=d[g];if(u.indexOf(g)!==-1&&Object.keys(m).length>0){if(process.env.NODE_ENV!=="production"){const y=w3("",g);console.error([`MUI: The \`${h}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:m}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
104
- `))}d[g]={}}}};Object.keys(l.components).forEach(d=>{const h=l.components[d].styleOverrides;h&&d.indexOf("Mui")===0&&f(h,d)})}return l.unstable_sxConfig=_e({},Ic,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return Lc({sx:f,theme:this})},l}const R0=F0();function ii(){const e=Q4(R0);return process.env.NODE_ENV!=="production"&&be.useDebugValue(e),e[ja]||e}const _t=lC({themeId:ja,defaultTheme:R0,rootShouldForwardProp:e=>Qa(e)&&e!=="classes"}),RC=["theme"];function N0(e){let{theme:t}=e,r=Ir(e,RC);const n=t[ja];return v.jsx(ts,_e({},r,{themeId:n?ja:void 0,theme:n||t}))}process.env.NODE_ENV!=="production"&&(N0.propTypes={children:A.node,theme:A.oneOfType([A.object,A.func]).isRequired});function NC(e,t,r,n,i){const[o,a]=be.useState(()=>i&&r?r(e).matches:n?n(e).matches:t);return y3(()=>{let s=!0;if(!r)return;const c=r(e),l=()=>{s&&a(c.matches)};return l(),c.addListener(l),()=>{s=!1,c.removeListener(l)}},[e,r]),o}const B0=be["useSyncExternalStore"];function BC(e,t,r,n,i){const o=be.useCallback(()=>t,[t]),a=be.useMemo(()=>{if(i&&r)return()=>r(e).matches;if(n!==null){const{matches:u}=n(e);return()=>u}return o},[o,e,n,i,r]),[s,c]=be.useMemo(()=>{if(r===null)return[o,()=>()=>{}];const u=r(e);return[()=>u.matches,f=>(u.addListener(f),()=>{u.removeListener(f)})]},[o,r,e]);return B0(c,s,a)}function rs(e,t={}){const r=Rc(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=n?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=cC({name:"MuiUseMediaQuery",props:t,theme:r});process.env.NODE_ENV!=="production"&&typeof e=="function"&&r===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
105
- `));let c=typeof e=="function"?e(r):e;c=c.replace(/^@media( ?)/m,"");const u=(B0!==void 0?BC:NC)(c,i,o,a,s);return process.env.NODE_ENV!=="production"&&be.useDebugValue({query:c,match:u}),u}const z0=(e,t,r)=>{const n=ii(),i=rs(n.breakpoints.up(t)),o=rs(n.breakpoints.down(t)),a=rs(n.breakpoints.between(t,r)),s=rs(n.breakpoints.only(t));return e==="up"?i:e==="down"?o:e==="between"?a:s},zC=({children:e,disableAnimatedMobile:t=!0,...r})=>z0("down","sm")&&t?v.jsx($.Box,{...r,children:e}):v.jsx($.Box,{component:cr.div,initial:"initial",whileInView:"animate",viewport:{once:!0,amount:.3},variants:ca(),...r,children:e}),WC=({animate:e,action:t=!1,children:r,...n})=>t?v.jsx($.Box,{component:cr.div,initial:!1,animate:e?"animate":"exit",variants:ca(),...n,children:r}):v.jsx($.Box,{component:cr.div,initial:"initial",animate:"animate",exit:"exit",variants:ca(),...n,children:r}),VC=()=>Promise.resolve().then(()=>Vq).then(e=>e.default),HC=({children:e})=>v.jsx(U5,{strict:!0,features:VC,children:v.jsxs(cr.div,{style:{height:"100%"},children:[" ",e," "]})});var or={},Po={},UC=typeof Qi=="object"&&Qi&&Qi.Object===Object&&Qi,W0=UC,YC=W0,GC=typeof self=="object"&&self&&self.Object===Object&&self,qC=YC||GC||Function("return this")(),Cr=qC,XC=Cr,KC=XC.Symbol,Mo=KC,V0=Mo,H0=Object.prototype,ZC=H0.hasOwnProperty,QC=H0.toString,_o=V0?V0.toStringTag:void 0;function JC(e){var t=ZC.call(e,_o),r=e[_o];try{e[_o]=void 0;var n=!0}catch{}var i=QC.call(e);return n&&(t?e[_o]=r:delete e[_o]),i}var eT=JC,tT=Object.prototype,rT=tT.toString;function nT(e){return rT.call(e)}var iT=nT,U0=Mo,oT=eT,aT=iT,sT="[object Null]",lT="[object Undefined]",Y0=U0?U0.toStringTag:void 0;function cT(e){return e==null?e===void 0?lT:sT:Y0&&Y0 in Object(e)?oT(e):aT(e)}var xn=cT,uT=Array.isArray,ur=uT;function fT(e){return e!=null&&typeof e=="object"}var Fr=fT,dT=xn,hT=ur,pT=Fr,gT="[object String]";function mT(e){return typeof e=="string"||!hT(e)&&pT(e)&&dT(e)==gT}var vT=mT;function yT(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var c=a[e?s:++i];if(r(o[c],c,o)===!1)break}return t}}var bT=yT,xT=bT,wT=xT(),CT=wT;function TT(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var ST=TT,ET=xn,OT=Fr,PT="[object Arguments]";function MT(e){return OT(e)&&ET(e)==PT}var _T=MT,G0=_T,$T=Fr,q0=Object.prototype,AT=q0.hasOwnProperty,kT=q0.propertyIsEnumerable,DT=G0(function(){return arguments}())?G0:function(e){return $T(e)&&AT.call(e,"callee")&&!kT.call(e,"callee")},X0=DT,ns={exports:{}};function jT(){return!1}var IT=jT;ns.exports,function(e,t){var r=Cr,n=IT,i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?r.Buffer:void 0,c=s?s.isBuffer:void 0,l=c||n;e.exports=l}(ns,ns.exports);var Vc=ns.exports,LT=9007199254740991,FT=/^(?:0|[1-9]\d*)$/;function RT(e,t){var r=typeof e;return t=t??LT,!!t&&(r=="number"||r!="symbol"&&FT.test(e))&&e>-1&&e%1==0&&e<t}var K0=RT,NT=9007199254740991;function BT(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=NT}var Hc=BT,zT=xn,WT=Hc,VT=Fr,HT="[object Arguments]",UT="[object Array]",YT="[object Boolean]",GT="[object Date]",qT="[object Error]",XT="[object Function]",KT="[object Map]",ZT="[object Number]",QT="[object Object]",JT="[object RegExp]",eS="[object Set]",tS="[object String]",rS="[object WeakMap]",nS="[object ArrayBuffer]",iS="[object DataView]",oS="[object Float32Array]",aS="[object Float64Array]",sS="[object Int8Array]",lS="[object Int16Array]",cS="[object Int32Array]",uS="[object Uint8Array]",fS="[object Uint8ClampedArray]",dS="[object Uint16Array]",hS="[object Uint32Array]",ot={};ot[oS]=ot[aS]=ot[sS]=ot[lS]=ot[cS]=ot[uS]=ot[fS]=ot[dS]=ot[hS]=!0,ot[HT]=ot[UT]=ot[nS]=ot[YT]=ot[iS]=ot[GT]=ot[qT]=ot[XT]=ot[KT]=ot[ZT]=ot[QT]=ot[JT]=ot[eS]=ot[tS]=ot[rS]=!1;function pS(e){return VT(e)&&WT(e.length)&&!!ot[zT(e)]}var gS=pS;function mS(e){return function(t){return e(t)}}var Uc=mS,is={exports:{}};is.exports,function(e,t){var r=W0,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o&&r.process,s=function(){try{var c=i&&i.require&&i.require("util").types;return c||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s}(is,is.exports);var Yc=is.exports,vS=gS,yS=Uc,Z0=Yc,Q0=Z0&&Z0.isTypedArray,bS=Q0?yS(Q0):vS,J0=bS,xS=ST,wS=X0,CS=ur,TS=Vc,SS=K0,ES=J0,OS=Object.prototype,PS=OS.hasOwnProperty;function MS(e,t){var r=CS(e),n=!r&&wS(e),i=!r&&!n&&TS(e),o=!r&&!n&&!i&&ES(e),a=r||n||i||o,s=a?xS(e.length,String):[],c=s.length;for(var l in e)(t||PS.call(e,l))&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||SS(l,c)))&&s.push(l);return s}var eg=MS,_S=Object.prototype;function $S(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||_S;return e===r}var Gc=$S;function AS(e,t){return function(r){return e(t(r))}}var tg=AS,kS=tg,DS=kS(Object.keys,Object),jS=DS,IS=Gc,LS=jS,FS=Object.prototype,RS=FS.hasOwnProperty;function NS(e){if(!IS(e))return LS(e);var t=[];for(var r in Object(e))RS.call(e,r)&&r!="constructor"&&t.push(r);return t}var BS=NS;function zS(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var oi=zS,WS=xn,VS=oi,HS="[object AsyncFunction]",US="[object Function]",YS="[object GeneratorFunction]",GS="[object Proxy]";function qS(e){if(!VS(e))return!1;var t=WS(e);return t==US||t==YS||t==HS||t==GS}var rg=qS,XS=rg,KS=Hc;function ZS(e){return e!=null&&KS(e.length)&&!XS(e)}var os=ZS,QS=eg,JS=BS,e6=os;function t6(e){return e6(e)?QS(e):JS(e)}var $o=t6,r6=CT,n6=$o;function i6(e,t){return e&&r6(e,t,n6)}var ng=i6;function o6(e){return e}var ig=o6,a6=ig;function s6(e){return typeof e=="function"?e:a6}var l6=s6,c6=ng,u6=l6;function f6(e,t){return e&&c6(e,u6(t))}var qc=f6,d6=tg,h6=d6(Object.getPrototypeOf,Object),Xc=h6,p6=xn,g6=Xc,m6=Fr,v6="[object Object]",y6=Function.prototype,b6=Object.prototype,og=y6.toString,x6=b6.hasOwnProperty,w6=og.call(Object);function C6(e){if(!m6(e)||p6(e)!=v6)return!1;var t=g6(e);if(t===null)return!0;var r=x6.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&og.call(r)==w6}var T6=C6;function S6(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var ag=S6;function E6(){this.__data__=[],this.size=0}var O6=E6;function P6(e,t){return e===t||e!==e&&t!==t}var Kc=P6,M6=Kc;function _6(e,t){for(var r=e.length;r--;)if(M6(e[r][0],t))return r;return-1}var as=_6,$6=as,A6=Array.prototype,k6=A6.splice;function D6(e){var t=this.__data__,r=$6(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():k6.call(t,r,1),--this.size,!0}var j6=D6,I6=as;function L6(e){var t=this.__data__,r=I6(t,e);return r<0?void 0:t[r][1]}var F6=L6,R6=as;function N6(e){return R6(this.__data__,e)>-1}var B6=N6,z6=as;function W6(e,t){var r=this.__data__,n=z6(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var V6=W6,H6=O6,U6=j6,Y6=F6,G6=B6,q6=V6;function ai(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ai.prototype.clear=H6,ai.prototype.delete=U6,ai.prototype.get=Y6,ai.prototype.has=G6,ai.prototype.set=q6;var ss=ai,X6=ss;function K6(){this.__data__=new X6,this.size=0}var Z6=K6;function Q6(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var J6=Q6;function e7(e){return this.__data__.get(e)}var t7=e7;function r7(e){return this.__data__.has(e)}var n7=r7,i7=Cr,o7=i7["__core-js_shared__"],a7=o7,Zc=a7,sg=function(){var e=/[^.]+$/.exec(Zc&&Zc.keys&&Zc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function s7(e){return!!sg&&sg in e}var l7=s7,c7=Function.prototype,u7=c7.toString;function f7(e){if(e!=null){try{return u7.call(e)}catch{}try{return e+""}catch{}}return""}var lg=f7,d7=rg,h7=l7,p7=oi,g7=lg,m7=/[\\^$.*+?()[\]{}|]/g,v7=/^\[object .+?Constructor\]$/,y7=Function.prototype,b7=Object.prototype,x7=y7.toString,w7=b7.hasOwnProperty,C7=RegExp("^"+x7.call(w7).replace(m7,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function T7(e){if(!p7(e)||h7(e))return!1;var t=d7(e)?C7:v7;return t.test(g7(e))}var S7=T7;function E7(e,t){return e==null?void 0:e[t]}var O7=E7,P7=S7,M7=O7;function _7(e,t){var r=M7(e,t);return P7(r)?r:void 0}var wn=_7,$7=wn,A7=Cr,k7=$7(A7,"Map"),Qc=k7,D7=wn,j7=D7(Object,"create"),ls=j7,cg=ls;function I7(){this.__data__=cg?cg(null):{},this.size=0}var L7=I7;function F7(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var R7=F7,N7=ls,B7="__lodash_hash_undefined__",z7=Object.prototype,W7=z7.hasOwnProperty;function V7(e){var t=this.__data__;if(N7){var r=t[e];return r===B7?void 0:r}return W7.call(t,e)?t[e]:void 0}var H7=V7,U7=ls,Y7=Object.prototype,G7=Y7.hasOwnProperty;function q7(e){var t=this.__data__;return U7?t[e]!==void 0:G7.call(t,e)}var X7=q7,K7=ls,Z7="__lodash_hash_undefined__";function Q7(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=K7&&t===void 0?Z7:t,this}var J7=Q7,eE=L7,tE=R7,rE=H7,nE=X7,iE=J7;function si(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}si.prototype.clear=eE,si.prototype.delete=tE,si.prototype.get=rE,si.prototype.has=nE,si.prototype.set=iE;var oE=si,ug=oE,aE=ss,sE=Qc;function lE(){this.size=0,this.__data__={hash:new ug,map:new(sE||aE),string:new ug}}var cE=lE;function uE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var fE=uE,dE=fE;function hE(e,t){var r=e.__data__;return dE(t)?r[typeof t=="string"?"string":"hash"]:r.map}var cs=hE,pE=cs;function gE(e){var t=pE(this,e).delete(e);return this.size-=t?1:0,t}var mE=gE,vE=cs;function yE(e){return vE(this,e).get(e)}var bE=yE,xE=cs;function wE(e){return xE(this,e).has(e)}var CE=wE,TE=cs;function SE(e,t){var r=TE(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var EE=SE,OE=cE,PE=mE,ME=bE,_E=CE,$E=EE;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}li.prototype.clear=OE,li.prototype.delete=PE,li.prototype.get=ME,li.prototype.has=_E,li.prototype.set=$E;var Jc=li,AE=ss,kE=Qc,DE=Jc,jE=200;function IE(e,t){var r=this.__data__;if(r instanceof AE){var n=r.__data__;if(!kE||n.length<jE-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new DE(n)}return r.set(e,t),this.size=r.size,this}var LE=IE,FE=ss,RE=Z6,NE=J6,BE=t7,zE=n7,WE=LE;function ci(e){var t=this.__data__=new FE(e);this.size=t.size}ci.prototype.clear=RE,ci.prototype.delete=NE,ci.prototype.get=BE,ci.prototype.has=zE,ci.prototype.set=WE;var eu=ci,VE="__lodash_hash_undefined__";function HE(e){return this.__data__.set(e,VE),this}var UE=HE;function YE(e){return this.__data__.has(e)}var GE=YE,qE=Jc,XE=UE,KE=GE;function us(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new qE;++t<r;)this.add(e[t])}us.prototype.add=us.prototype.push=XE,us.prototype.has=KE;var ZE=us;function QE(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var JE=QE;function eO(e,t){return e.has(t)}var tO=eO,rO=ZE,nO=JE,iO=tO,oO=1,aO=2;function sO(e,t,r,n,i,o){var a=r&oO,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e),u=o.get(t);if(l&&u)return l==t&&u==e;var f=-1,d=!0,h=r&aO?new rO:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var g=e[f],m=t[f];if(n)var y=a?n(m,g,f,t,e,o):n(g,m,f,e,t,o);if(y!==void 0){if(y)continue;d=!1;break}if(h){if(!nO(t,function(x,b){if(!iO(h,b)&&(g===x||i(g,x,r,n,o)))return h.push(b)})){d=!1;break}}else if(!(g===m||i(g,m,r,n,o))){d=!1;break}}return o.delete(e),o.delete(t),d}var fg=sO,lO=Cr,cO=lO.Uint8Array,dg=cO;function uO(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}var fO=uO;function dO(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var hO=dO,hg=Mo,pg=dg,pO=Kc,gO=fg,mO=fO,vO=hO,yO=1,bO=2,xO="[object Boolean]",wO="[object Date]",CO="[object Error]",TO="[object Map]",SO="[object Number]",EO="[object RegExp]",OO="[object Set]",PO="[object String]",MO="[object Symbol]",_O="[object ArrayBuffer]",$O="[object DataView]",gg=hg?hg.prototype:void 0,tu=gg?gg.valueOf:void 0;function AO(e,t,r,n,i,o,a){switch(r){case $O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _O:return!(e.byteLength!=t.byteLength||!o(new pg(e),new pg(t)));case xO:case wO:case SO:return pO(+e,+t);case CO:return e.name==t.name&&e.message==t.message;case EO:case PO:return e==t+"";case TO:var s=mO;case OO:var c=n&yO;if(s||(s=vO),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;n|=bO,a.set(e,t);var u=gO(s(e),s(t),n,i,o,a);return a.delete(e),u;case MO:if(tu)return tu.call(e)==tu.call(t)}return!1}var kO=AO;function DO(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var mg=DO,jO=mg,IO=ur;function LO(e,t,r){var n=t(e);return IO(e)?n:jO(n,r(e))}var vg=LO;function FO(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}var RO=FO;function NO(){return[]}var yg=NO,BO=RO,zO=yg,WO=Object.prototype,VO=WO.propertyIsEnumerable,bg=Object.getOwnPropertySymbols,HO=bg?function(e){return e==null?[]:(e=Object(e),BO(bg(e),function(t){return VO.call(e,t)}))}:zO,ru=HO,UO=vg,YO=ru,GO=$o;function qO(e){return UO(e,GO,YO)}var xg=qO,wg=xg,XO=1,KO=Object.prototype,ZO=KO.hasOwnProperty;function QO(e,t,r,n,i,o){var a=r&XO,s=wg(e),c=s.length,l=wg(t),u=l.length;if(c!=u&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:ZO.call(t,d)))return!1}var h=o.get(e),g=o.get(t);if(h&&g)return h==t&&g==e;var m=!0;o.set(e,t),o.set(t,e);for(var y=a;++f<c;){d=s[f];var x=e[d],b=t[d];if(n)var T=a?n(b,x,d,t,e,o):n(x,b,d,e,t,o);if(!(T===void 0?x===b||i(x,b,r,n,o):T)){m=!1;break}y||(y=d=="constructor")}if(m&&!y){var P=e.constructor,w=t.constructor;P!=w&&"constructor"in e&&"constructor"in t&&!(typeof P=="function"&&P instanceof P&&typeof w=="function"&&w instanceof w)&&(m=!1)}return o.delete(e),o.delete(t),m}var JO=QO,e9=wn,t9=Cr,r9=e9(t9,"DataView"),n9=r9,i9=wn,o9=Cr,a9=i9(o9,"Promise"),s9=a9,l9=wn,c9=Cr,u9=l9(c9,"Set"),f9=u9,d9=wn,h9=Cr,p9=d9(h9,"WeakMap"),g9=p9,nu=n9,iu=Qc,ou=s9,au=f9,su=g9,Cg=xn,ui=lg,Tg="[object Map]",m9="[object Object]",Sg="[object Promise]",Eg="[object Set]",Og="[object WeakMap]",Pg="[object DataView]",v9=ui(nu),y9=ui(iu),b9=ui(ou),x9=ui(au),w9=ui(su),Cn=Cg;(nu&&Cn(new nu(new ArrayBuffer(1)))!=Pg||iu&&Cn(new iu)!=Tg||ou&&Cn(ou.resolve())!=Sg||au&&Cn(new au)!=Eg||su&&Cn(new su)!=Og)&&(Cn=function(e){var t=Cg(e),r=t==m9?e.constructor:void 0,n=r?ui(r):"";if(n)switch(n){case v9:return Pg;case y9:return Tg;case b9:return Sg;case x9:return Eg;case w9:return Og}return t});var fs=Cn,lu=eu,C9=fg,T9=kO,S9=JO,Mg=fs,_g=ur,$g=Vc,E9=J0,O9=1,Ag="[object Arguments]",kg="[object Array]",ds="[object Object]",P9=Object.prototype,Dg=P9.hasOwnProperty;function M9(e,t,r,n,i,o){var a=_g(e),s=_g(t),c=a?kg:Mg(e),l=s?kg:Mg(t);c=c==Ag?ds:c,l=l==Ag?ds:l;var u=c==ds,f=l==ds,d=c==l;if(d&&$g(e)){if(!$g(t))return!1;a=!0,u=!1}if(d&&!u)return o||(o=new lu),a||E9(e)?C9(e,t,r,n,i,o):T9(e,t,c,r,n,i,o);if(!(r&O9)){var h=u&&Dg.call(e,"__wrapped__"),g=f&&Dg.call(t,"__wrapped__");if(h||g){var m=h?e.value():e,y=g?t.value():t;return o||(o=new lu),i(m,y,r,n,o)}}return d?(o||(o=new lu),S9(e,t,r,n,i,o)):!1}var _9=M9,$9=_9,jg=Fr;function Ig(e,t,r,n,i){return e===t?!0:e==null||t==null||!jg(e)&&!jg(t)?e!==e&&t!==t:$9(e,t,r,n,Ig,i)}var cu=Ig,A9=eu,k9=cu,D9=1,j9=2;function I9(e,t,r,n){var i=r.length,o=i,a=!n;if(e==null)return!o;for(e=Object(e);i--;){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=r[i];var c=s[0],l=e[c],u=s[1];if(a&&s[2]){if(l===void 0&&!(c in e))return!1}else{var f=new A9;if(n)var d=n(l,u,c,e,t,f);if(!(d===void 0?k9(u,l,D9|j9,n,f):d))return!1}}return!0}var L9=I9,F9=oi;function R9(e){return e===e&&!F9(e)}var Lg=R9,N9=Lg,B9=$o;function z9(e){for(var t=B9(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,N9(i)]}return t}var W9=z9;function V9(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Fg=V9,H9=L9,U9=W9,Y9=Fg;function G9(e){var t=U9(e);return t.length==1&&t[0][2]?Y9(t[0][0],t[0][1]):function(r){return r===e||H9(r,e,t)}}var q9=G9,X9=xn,K9=Fr,Z9="[object Symbol]";function Q9(e){return typeof e=="symbol"||K9(e)&&X9(e)==Z9}var uu=Q9,J9=ur,e8=uu,t8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r8=/^\w*$/;function n8(e,t){if(J9(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||e8(e)?!0:r8.test(e)||!t8.test(e)||t!=null&&e in Object(t)}var fu=n8,Rg=Jc,i8="Expected a function";function du(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(i8);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(du.Cache||Rg),r}du.Cache=Rg;var o8=du,a8=o8,s8=500;function l8(e){var t=a8(e,function(n){return r.size===s8&&r.clear(),n}),r=t.cache;return t}var c8=l8,u8=c8,f8=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d8=/\\(\\)?/g,h8=u8(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(f8,function(r,n,i,o){t.push(i?o.replace(d8,"$1"):n||r)}),t}),p8=h8,Ng=Mo,g8=ag,m8=ur,v8=uu,y8=1/0,Bg=Ng?Ng.prototype:void 0,zg=Bg?Bg.toString:void 0;function Wg(e){if(typeof e=="string")return e;if(m8(e))return g8(e,Wg)+"";if(v8(e))return zg?zg.call(e):"";var t=e+"";return t=="0"&&1/e==-y8?"-0":t}var b8=Wg,x8=b8;function w8(e){return e==null?"":x8(e)}var C8=w8,T8=ur,S8=fu,E8=p8,O8=C8;function P8(e,t){return T8(e)?e:S8(e,t)?[e]:E8(O8(e))}var Vg=P8,M8=uu,_8=1/0;function $8(e){if(typeof e=="string"||M8(e))return e;var t=e+"";return t=="0"&&1/e==-_8?"-0":t}var hs=$8,A8=Vg,k8=hs;function D8(e,t){t=A8(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[k8(t[r++])];return r&&r==n?e:void 0}var Hg=D8,j8=Hg;function I8(e,t,r){var n=e==null?void 0:j8(e,t);return n===void 0?r:n}var L8=I8;function F8(e,t){return e!=null&&t in Object(e)}var R8=F8,N8=Vg,B8=X0,z8=ur,W8=K0,V8=Hc,H8=hs;function U8(e,t,r){t=N8(t,e);for(var n=-1,i=t.length,o=!1;++n<i;){var a=H8(t[n]);if(!(o=e!=null&&r(e,a)))break;e=e[a]}return o||++n!=i?o:(i=e==null?0:e.length,!!i&&V8(i)&&W8(a,i)&&(z8(e)||B8(e)))}var Y8=U8,G8=R8,q8=Y8;function X8(e,t){return e!=null&&q8(e,t,G8)}var K8=X8,Z8=cu,Q8=L8,J8=K8,eP=fu,tP=Lg,rP=Fg,nP=hs,iP=1,oP=2;function aP(e,t){return eP(e)&&tP(t)?rP(nP(e),t):function(r){var n=Q8(r,e);return n===void 0&&n===t?J8(r,e):Z8(t,n,iP|oP)}}var sP=aP;function lP(e){return function(t){return t==null?void 0:t[e]}}var cP=lP,uP=Hg;function fP(e){return function(t){return uP(t,e)}}var dP=fP,hP=cP,pP=dP,gP=fu,mP=hs;function vP(e){return gP(e)?hP(mP(e)):pP(e)}var yP=vP,bP=q9,xP=sP,wP=ig,CP=ur,TP=yP;function SP(e){return typeof e=="function"?e:e==null?wP:typeof e=="object"?CP(e)?xP(e[0],e[1]):bP(e):TP(e)}var EP=SP,OP=os;function PP(e,t){return function(r,n){if(r==null)return r;if(!OP(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&n(a[o],o,a)!==!1;);return r}}var MP=PP,_P=ng,$P=MP,AP=$P(_P),kP=AP,DP=kP,jP=os;function IP(e,t){var r=-1,n=jP(e)?Array(e.length):[];return DP(e,function(i,o,a){n[++r]=t(i,o,a)}),n}var LP=IP,FP=ag,RP=EP,NP=LP,BP=ur;function zP(e,t){var r=BP(e)?FP:NP;return r(e,RP(t))}var WP=zP;Object.defineProperty(Po,"__esModule",{value:!0}),Po.flattenNames=void 0;var VP=vT,HP=ps(VP),UP=qc,YP=ps(UP),GP=T6,qP=ps(GP),XP=WP,KP=ps(XP);function ps(e){return e&&e.__esModule?e:{default:e}}var ZP=Po.flattenNames=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=[];return(0,KP.default)(t,function(n){Array.isArray(n)?e(n).map(function(i){return r.push(i)}):(0,qP.default)(n)?(0,YP.default)(n,function(i,o){i===!0&&r.push(o),r.push(o+"-"+i)}):(0,HP.default)(n)&&r.push(n)}),r};Po.default=ZP;var Ao={};function QP(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var JP=QP,eM=wn,tM=function(){try{var e=eM(Object,"defineProperty");return e({},"",{}),e}catch{}}(),rM=tM,Ug=rM;function nM(e,t,r){t=="__proto__"&&Ug?Ug(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Yg=nM,iM=Yg,oM=Kc,aM=Object.prototype,sM=aM.hasOwnProperty;function lM(e,t,r){var n=e[t];(!(sM.call(e,t)&&oM(n,r))||r===void 0&&!(t in e))&&iM(e,t,r)}var Gg=lM,cM=Gg,uM=Yg;function fM(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=n?n(r[s],e[s],s,r,e):void 0;c===void 0&&(c=e[s]),i?uM(r,s,c):cM(r,s,c)}return r}var gs=fM,dM=gs,hM=$o;function pM(e,t){return e&&dM(t,hM(t),e)}var gM=pM;function mM(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var vM=mM,yM=oi,bM=Gc,xM=vM,wM=Object.prototype,CM=wM.hasOwnProperty;function TM(e){if(!yM(e))return xM(e);var t=bM(e),r=[];for(var n in e)n=="constructor"&&(t||!CM.call(e,n))||r.push(n);return r}var SM=TM,EM=eg,OM=SM,PM=os;function MM(e){return PM(e)?EM(e,!0):OM(e)}var hu=MM,_M=gs,$M=hu;function AM(e,t){return e&&_M(t,$M(t),e)}var kM=AM,ms={exports:{}};ms.exports,function(e,t){var r=Cr,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,u){if(u)return l.slice();var f=l.length,d=s?s(f):new l.constructor(f);return l.copy(d),d}e.exports=c}(ms,ms.exports);var DM=ms.exports;function jM(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var IM=jM,LM=gs,FM=ru;function RM(e,t){return LM(e,FM(e),t)}var NM=RM,BM=mg,zM=Xc,WM=ru,VM=yg,HM=Object.getOwnPropertySymbols,UM=HM?function(e){for(var t=[];e;)BM(t,WM(e)),e=zM(e);return t}:VM,qg=UM,YM=gs,GM=qg;function qM(e,t){return YM(e,GM(e),t)}var XM=qM,KM=vg,ZM=qg,QM=hu;function JM(e){return KM(e,QM,ZM)}var e_=JM,t_=Object.prototype,r_=t_.hasOwnProperty;function n_(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&r_.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var i_=n_,Xg=dg;function o_(e){var t=new e.constructor(e.byteLength);return new Xg(t).set(new Xg(e)),t}var pu=o_,a_=pu;function s_(e,t){var r=t?a_(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var l_=s_,c_=/\w*$/;function u_(e){var t=new e.constructor(e.source,c_.exec(e));return t.lastIndex=e.lastIndex,t}var f_=u_,Kg=Mo,Zg=Kg?Kg.prototype:void 0,Qg=Zg?Zg.valueOf:void 0;function d_(e){return Qg?Object(Qg.call(e)):{}}var h_=d_,p_=pu;function g_(e,t){var r=t?p_(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var m_=g_,v_=pu,y_=l_,b_=f_,x_=h_,w_=m_,C_="[object Boolean]",T_="[object Date]",S_="[object Map]",E_="[object Number]",O_="[object RegExp]",P_="[object Set]",M_="[object String]",__="[object Symbol]",$_="[object ArrayBuffer]",A_="[object DataView]",k_="[object Float32Array]",D_="[object Float64Array]",j_="[object Int8Array]",I_="[object Int16Array]",L_="[object Int32Array]",F_="[object Uint8Array]",R_="[object Uint8ClampedArray]",N_="[object Uint16Array]",B_="[object Uint32Array]";function z_(e,t,r){var n=e.constructor;switch(t){case $_:return v_(e);case C_:case T_:return new n(+e);case A_:return y_(e,r);case k_:case D_:case j_:case I_:case L_:case F_:case R_:case N_:case B_:return w_(e,r);case S_:return new n;case E_:case M_:return new n(e);case O_:return b_(e);case P_:return new n;case __:return x_(e)}}var W_=z_,V_=oi,Jg=Object.create,H_=function(){function e(){}return function(t){if(!V_(t))return{};if(Jg)return Jg(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),U_=H_,Y_=U_,G_=Xc,q_=Gc;function X_(e){return typeof e.constructor=="function"&&!q_(e)?Y_(G_(e)):{}}var K_=X_,Z_=fs,Q_=Fr,J_="[object Map]";function e$(e){return Q_(e)&&Z_(e)==J_}var t$=e$,r$=t$,n$=Uc,em=Yc,tm=em&&em.isMap,i$=tm?n$(tm):r$,o$=i$,a$=fs,s$=Fr,l$="[object Set]";function c$(e){return s$(e)&&a$(e)==l$}var u$=c$,f$=u$,d$=Uc,rm=Yc,nm=rm&&rm.isSet,h$=nm?d$(nm):f$,p$=h$,g$=eu,m$=JP,v$=Gg,y$=gM,b$=kM,x$=DM,w$=IM,C$=NM,T$=XM,S$=xg,E$=e_,O$=fs,P$=i_,M$=W_,_$=K_,$$=ur,A$=Vc,k$=o$,D$=oi,j$=p$,I$=$o,L$=hu,F$=1,R$=2,N$=4,im="[object Arguments]",B$="[object Array]",z$="[object Boolean]",W$="[object Date]",V$="[object Error]",om="[object Function]",H$="[object GeneratorFunction]",U$="[object Map]",Y$="[object Number]",am="[object Object]",G$="[object RegExp]",q$="[object Set]",X$="[object String]",K$="[object Symbol]",Z$="[object WeakMap]",Q$="[object ArrayBuffer]",J$="[object DataView]",eA="[object Float32Array]",tA="[object Float64Array]",rA="[object Int8Array]",nA="[object Int16Array]",iA="[object Int32Array]",oA="[object Uint8Array]",aA="[object Uint8ClampedArray]",sA="[object Uint16Array]",lA="[object Uint32Array]",nt={};nt[im]=nt[B$]=nt[Q$]=nt[J$]=nt[z$]=nt[W$]=nt[eA]=nt[tA]=nt[rA]=nt[nA]=nt[iA]=nt[U$]=nt[Y$]=nt[am]=nt[G$]=nt[q$]=nt[X$]=nt[K$]=nt[oA]=nt[aA]=nt[sA]=nt[lA]=!0,nt[V$]=nt[om]=nt[Z$]=!1;function vs(e,t,r,n,i,o){var a,s=t&F$,c=t&R$,l=t&N$;if(r&&(a=i?r(e,n,i,o):r(e)),a!==void 0)return a;if(!D$(e))return e;var u=$$(e);if(u){if(a=P$(e),!s)return w$(e,a)}else{var f=O$(e),d=f==om||f==H$;if(A$(e))return x$(e,s);if(f==am||f==im||d&&!i){if(a=c||d?{}:_$(e),!s)return c?T$(e,b$(a,e)):C$(e,y$(a,e))}else{if(!nt[f])return i?e:{};a=M$(e,f,s)}}o||(o=new g$);var h=o.get(e);if(h)return h;o.set(e,a),j$(e)?e.forEach(function(y){a.add(vs(y,t,r,y,e,o))}):k$(e)&&e.forEach(function(y,x){a.set(x,vs(y,t,r,x,e,o))});var g=l?c?E$:S$:c?L$:I$,m=u?void 0:g(e);return m$(m||e,function(y,x){m&&(x=y,y=e[x]),v$(a,x,vs(y,t,r,x,e,o))}),a}var cA=vs,uA=cA,fA=1,dA=4;function hA(e){return uA(e,fA|dA)}var pA=hA;Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.mergeClasses=void 0;var gA=qc,mA=sm(gA),vA=pA,yA=sm(vA),bA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function sm(e){return e&&e.__esModule?e:{default:e}}var xA=Ao.mergeClasses=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=t.default&&(0,yA.default)(t.default)||{};return r.map(function(i){var o=t[i];return o&&(0,mA.default)(o,function(a,s){n[s]||(n[s]={}),n[s]=bA({},n[s],o[s])}),i}),n};Ao.default=xA;var ko={};Object.defineProperty(ko,"__esModule",{value:!0}),ko.autoprefix=void 0;var wA=qc,lm=TA(wA),CA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function TA(e){return e&&e.__esModule?e:{default:e}}var SA={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var r=t&&t.split(" ");return{position:"absolute",top:r&&r[0],right:r&&r[1],bottom:r&&r[2],left:r&&r[3]}},extend:function(t,r){var n=r[t];return n||{extend:t}}},EA=ko.autoprefix=function(t){var r={};return(0,lm.default)(t,function(n,i){var o={};(0,lm.default)(n,function(a,s){var c=SA[s];c?o=CA({},o,c(a)):o[s]=a}),r[i]=o}),r};ko.default=EA;var Do={};Object.defineProperty(Do,"__esModule",{value:!0}),Do.hover=void 0;var OA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},PA=p,gu=MA(PA);function MA(e){return e&&e.__esModule?e:{default:e}}function _A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function $A(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var AA=Do.hover=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){$A(i,n);function i(){var o,a,s,c;_A(this,i);for(var l=arguments.length,u=Array(l),f=0;f<l;f++)u[f]=arguments[f];return c=(a=(s=cm(this,(o=i.__proto__||Object.getPrototypeOf(i)).call.apply(o,[this].concat(u))),s),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return gu.default.createElement(r,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},gu.default.createElement(t,OA({},s.props,s.state)))},a),cm(s,c)}return i}(gu.default.Component)};Do.default=AA;var jo={};Object.defineProperty(jo,"__esModule",{value:!0}),jo.active=void 0;var kA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},DA=p,mu=jA(DA);function jA(e){return e&&e.__esModule?e:{default:e}}function IA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function LA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var FA=jo.active=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){LA(i,n);function i(){var o,a,s,c;IA(this,i);for(var l=arguments.length,u=Array(l),f=0;f<l;f++)u[f]=arguments[f];return c=(a=(s=um(this,(o=i.__proto__||Object.getPrototypeOf(i)).call.apply(o,[this].concat(u))),s),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return mu.default.createElement(r,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},mu.default.createElement(t,kA({},s.props,s.state)))},a),um(s,c)}return i}(mu.default.Component)};jo.default=FA;var vu={};Object.defineProperty(vu,"__esModule",{value:!0});var RA=function(t,r){var n={},i=function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;n[a]=s};return t===0&&i("first-child"),t===r-1&&i("last-child"),(t===0||t%2===0)&&i("even"),Math.abs(t%2)===1&&i("odd"),i("nth-child",t),n};vu.default=RA,Object.defineProperty(or,"__esModule",{value:!0}),or.ReactCSS=or.loop=or.handleActive=yu=or.handleHover=or.hover=void 0;var NA=Po,BA=fi(NA),zA=Ao,WA=fi(zA),VA=ko,HA=fi(VA),UA=Do,fm=fi(UA),YA=jo,GA=fi(YA),qA=vu,XA=fi(qA);function fi(e){return e&&e.__esModule?e:{default:e}}or.hover=fm.default;var yu=or.handleHover=fm.default;or.handleActive=GA.default,or.loop=XA.default;var KA=or.ReactCSS=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=(0,BA.default)(n),a=(0,WA.default)(t,o);return(0,HA.default)(a)},Ce=or.default=KA,ZA=function(t,r,n,i,o){var a=o.clientWidth,s=o.clientHeight,c=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,l=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,u=c-(o.getBoundingClientRect().left+window.pageXOffset),f=l-(o.getBoundingClientRect().top+window.pageYOffset);if(n==="vertical"){var d=void 0;if(f<0?d=0:f>s?d=1:d=Math.round(f*100/s)/100,r.a!==d)return{h:r.h,s:r.s,l:r.l,a:d,source:"rgb"}}else{var h=void 0;if(u<0?h=0:u>a?h=1:h=Math.round(u*100/a)/100,i!==h)return{h:r.h,s:r.s,l:r.l,a:h,source:"rgb"}}return null},bu={},QA=function(t,r,n,i){if(typeof document>"u"&&!i)return null;var o=i?new i:document.createElement("canvas");o.width=n*2,o.height=n*2;var a=o.getContext("2d");return a?(a.fillStyle=t,a.fillRect(0,0,o.width,o.height),a.fillStyle=r,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),o.toDataURL()):null},JA=function(t,r,n,i){var o=t+"-"+r+"-"+n+(i?"-server":"");if(bu[o])return bu[o];var a=QA(t,r,n,i);return bu[o]=a,a},dm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},di=function(t){var r=t.white,n=t.grey,i=t.size,o=t.renderers,a=t.borderRadius,s=t.boxShadow,c=t.children,l=Ce({default:{grid:{borderRadius:a,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+JA(r,n,i,o.canvas)+") center left"}}});return p.isValidElement(c)?p.cloneElement(c,dm({},c.props,{style:dm({},c.props.style,l.grid)})):p.createElement("div",{style:l.grid})};di.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var ek=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tk=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function nk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var xu=function(e){nk(t,e);function t(){var r,n,i,o;rk(this,t);for(var a=arguments.length,s=Array(a),c=0;c<a;c++)s[c]=arguments[c];return o=(n=(i=hm(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(s))),i),i.handleChange=function(l){var u=ZA(l,i.props.hsl,i.props.direction,i.props.a,i.container);u&&typeof i.props.onChange=="function"&&i.props.onChange(u,l)},i.handleMouseDown=function(l){i.handleChange(l),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},i.unbindEventListeners=function(){window.removeEventListener("mousemove",i.handleChange),window.removeEventListener("mouseup",i.handleMouseUp)},n),hm(i,o)}return tk(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var n=this,i=this.props.rgb,o=Ce({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+i.r+","+i.g+","+i.b+`, 0) 0%,
102
+ } });`:Gn(12,y?` (${y})`:"",JSON.stringify(m.main)));return D0(m,"light",b,n),D0(m,"dark",S,n),m.contrastText||(m.contrastText=f(m.main)),m},h={dark:Wc,light:k0};return process.env.NODE_ENV!=="production"&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),jr(_e({common:_e({},Eo),mode:t,primary:d({color:o,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:l,name:"success"}),grey:gC,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},h[t]),i)}const TC=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function EC(e){return Math.round(e*1e5)/1e5}const j0={textTransform:"uppercase"},I0='"Roboto", "Helvetica", "Arial", sans-serif';function OC(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=I0,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:u,pxToRem:f}=r,d=Ir(r,TC);process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=i/14,g=f||(x=>`${x/l*h}rem`),m=(x,b,S,P,w)=>_e({fontFamily:n,fontWeight:x,fontSize:g(b),lineHeight:S},n===I0?{letterSpacing:`${EC(P/b)}em`}:{},w,u),y={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,j0),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,j0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return jr(_e({htmlFontSize:l,pxToRem:g,fontFamily:n,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:c},y),d,{clone:!1})}const PC=.2,MC=.14,_C=.12;function lt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${PC})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${MC})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${_C})`].join(",")}const $C=["none",lt(0,2,1,-1,0,1,1,0,0,1,3,0),lt(0,3,1,-2,0,2,2,0,0,1,5,0),lt(0,3,3,-2,0,3,4,0,0,1,8,0),lt(0,2,4,-1,0,4,5,0,0,1,10,0),lt(0,3,5,-1,0,5,8,0,0,1,14,0),lt(0,3,5,-1,0,6,10,0,0,1,18,0),lt(0,4,5,-2,0,7,10,1,0,2,16,1),lt(0,5,5,-3,0,8,10,1,0,3,14,2),lt(0,5,6,-3,0,9,12,1,0,3,16,2),lt(0,6,6,-3,0,10,14,1,0,4,18,3),lt(0,6,7,-4,0,11,15,1,0,4,20,3),lt(0,7,8,-4,0,12,17,2,0,5,22,4),lt(0,7,8,-4,0,13,19,2,0,5,24,4),lt(0,7,9,-4,0,14,21,2,0,5,26,4),lt(0,8,9,-5,0,15,22,2,0,6,28,5),lt(0,8,10,-5,0,16,24,2,0,6,30,5),lt(0,8,11,-5,0,17,26,2,0,6,32,5),lt(0,9,11,-5,0,18,28,2,0,7,34,6),lt(0,9,12,-6,0,19,29,2,0,7,36,6),lt(0,10,13,-6,0,20,31,3,0,8,38,7),lt(0,10,13,-6,0,21,33,3,0,8,40,7),lt(0,10,14,-6,0,22,35,3,0,8,42,7),lt(0,11,14,-7,0,23,36,3,0,9,44,8),lt(0,11,15,-7,0,24,38,3,0,9,46,8)],AC=["duration","easing","delay"],kC={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)"},DC={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function L0(e){return`${Math.round(e)}ms`}function jC(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function IC(e){const t=_e({},kC,e.easing),r=_e({},DC,e.duration);return _e({getAutoHeightDuration:jC,create:(i=["all"],o={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:c=0}=o,l=Ir(o,AC);if(process.env.NODE_ENV!=="production"){const u=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!u(i)&&!Array.isArray(i)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(a)&&!u(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),u(s)||console.error('MUI: Argument "easing" must be a string.'),!f(c)&&!u(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof o!="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(`
103
+ `)),Object.keys(l).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof a=="string"?a:L0(a)} ${s} ${typeof c=="string"?c:L0(c)}`).join(",")}},e,{easing:t,duration:r})}const LC={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},FC=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function F0(e={},...t){const{mixins:r={},palette:n={},transitions:i={},typography:o={}}=e,a=Ir(e,FC);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.":Gn(18));const s=SC(n),c=Fc(e);let l=jr(c,{mixins:pC(c.breakpoints,r),palette:s,shadows:$C.slice(),typography:OC(s,o),transitions:IC(i),zIndex:_e({},LC)});if(l=jr(l,a),l=t.reduce((u,f)=>jr(u,f),l),process.env.NODE_ENV!=="production"){const u=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,h)=>{let g;for(g in d){const m=d[g];if(u.indexOf(g)!==-1&&Object.keys(m).length>0){if(process.env.NODE_ENV!=="production"){const y=w3("",g);console.error([`MUI: The \`${h}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:m}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
104
+ `))}d[g]={}}}};Object.keys(l.components).forEach(d=>{const h=l.components[d].styleOverrides;h&&d.indexOf("Mui")===0&&f(h,d)})}return l.unstable_sxConfig=_e({},Ic,a==null?void 0:a.unstable_sxConfig),l.unstable_sx=function(f){return Lc({sx:f,theme:this})},l}const R0=F0();function ii(){const e=Q4(R0);return process.env.NODE_ENV!=="production"&&be.useDebugValue(e),e[ja]||e}const $t=lC({themeId:ja,defaultTheme:R0,rootShouldForwardProp:e=>Qa(e)&&e!=="classes"}),RC=["theme"];function N0(e){let{theme:t}=e,r=Ir(e,RC);const n=t[ja];return v.jsx(ts,_e({},r,{themeId:n?ja:void 0,theme:n||t}))}process.env.NODE_ENV!=="production"&&(N0.propTypes={children:A.node,theme:A.oneOfType([A.object,A.func]).isRequired});function NC(e,t,r,n,i){const[o,a]=be.useState(()=>i&&r?r(e).matches:n?n(e).matches:t);return y3(()=>{let s=!0;if(!r)return;const c=r(e),l=()=>{s&&a(c.matches)};return l(),c.addListener(l),()=>{s=!1,c.removeListener(l)}},[e,r]),o}const B0=be["useSyncExternalStore"];function BC(e,t,r,n,i){const o=be.useCallback(()=>t,[t]),a=be.useMemo(()=>{if(i&&r)return()=>r(e).matches;if(n!==null){const{matches:u}=n(e);return()=>u}return o},[o,e,n,i,r]),[s,c]=be.useMemo(()=>{if(r===null)return[o,()=>()=>{}];const u=r(e);return[()=>u.matches,f=>(u.addListener(f),()=>{u.removeListener(f)})]},[o,r,e]);return B0(c,s,a)}function rs(e,t={}){const r=Rc(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=n?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=cC({name:"MuiUseMediaQuery",props:t,theme:r});process.env.NODE_ENV!=="production"&&typeof e=="function"&&r===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
105
+ `));let c=typeof e=="function"?e(r):e;c=c.replace(/^@media( ?)/m,"");const u=(B0!==void 0?BC:NC)(c,i,o,a,s);return process.env.NODE_ENV!=="production"&&be.useDebugValue({query:c,match:u}),u}const z0=(e,t,r)=>{const n=ii(),i=rs(n.breakpoints.up(t)),o=rs(n.breakpoints.down(t)),a=rs(n.breakpoints.between(t,r)),s=rs(n.breakpoints.only(t));return e==="up"?i:e==="down"?o:e==="between"?a:s},zC=({children:e,disableAnimatedMobile:t=!0,...r})=>z0("down","sm")&&t?v.jsx($.Box,{...r,children:e}):v.jsx($.Box,{component:cr.div,initial:"initial",whileInView:"animate",viewport:{once:!0,amount:.3},variants:ca(),...r,children:e}),WC=({animate:e,action:t=!1,children:r,...n})=>t?v.jsx($.Box,{component:cr.div,initial:!1,animate:e?"animate":"exit",variants:ca(),...n,children:r}):v.jsx($.Box,{component:cr.div,initial:"initial",animate:"animate",exit:"exit",variants:ca(),...n,children:r}),VC=()=>Promise.resolve().then(()=>Hq).then(e=>e.default),HC=({children:e})=>v.jsx(U5,{strict:!0,features:VC,children:v.jsxs(cr.div,{style:{height:"100%"},children:[" ",e," "]})});var or={},Po={},UC=typeof Qi=="object"&&Qi&&Qi.Object===Object&&Qi,W0=UC,YC=W0,GC=typeof self=="object"&&self&&self.Object===Object&&self,qC=YC||GC||Function("return this")(),Cr=qC,XC=Cr,KC=XC.Symbol,Mo=KC,V0=Mo,H0=Object.prototype,ZC=H0.hasOwnProperty,QC=H0.toString,_o=V0?V0.toStringTag:void 0;function JC(e){var t=ZC.call(e,_o),r=e[_o];try{e[_o]=void 0;var n=!0}catch{}var i=QC.call(e);return n&&(t?e[_o]=r:delete e[_o]),i}var eS=JC,tS=Object.prototype,rS=tS.toString;function nS(e){return rS.call(e)}var iS=nS,U0=Mo,oS=eS,aS=iS,sS="[object Null]",lS="[object Undefined]",Y0=U0?U0.toStringTag:void 0;function cS(e){return e==null?e===void 0?lS:sS:Y0&&Y0 in Object(e)?oS(e):aS(e)}var xn=cS,uS=Array.isArray,ur=uS;function fS(e){return e!=null&&typeof e=="object"}var Fr=fS,dS=xn,hS=ur,pS=Fr,gS="[object String]";function mS(e){return typeof e=="string"||!hS(e)&&pS(e)&&dS(e)==gS}var vS=mS;function yS(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var c=a[e?s:++i];if(r(o[c],c,o)===!1)break}return t}}var bS=yS,xS=bS,wS=xS(),CS=wS;function SS(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var TS=SS,ES=xn,OS=Fr,PS="[object Arguments]";function MS(e){return OS(e)&&ES(e)==PS}var _S=MS,G0=_S,$S=Fr,q0=Object.prototype,AS=q0.hasOwnProperty,kS=q0.propertyIsEnumerable,DS=G0(function(){return arguments}())?G0:function(e){return $S(e)&&AS.call(e,"callee")&&!kS.call(e,"callee")},X0=DS,ns={exports:{}};function jS(){return!1}var IS=jS;ns.exports,function(e,t){var r=Cr,n=IS,i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a?r.Buffer:void 0,c=s?s.isBuffer:void 0,l=c||n;e.exports=l}(ns,ns.exports);var Vc=ns.exports,LS=9007199254740991,FS=/^(?:0|[1-9]\d*)$/;function RS(e,t){var r=typeof e;return t=t??LS,!!t&&(r=="number"||r!="symbol"&&FS.test(e))&&e>-1&&e%1==0&&e<t}var K0=RS,NS=9007199254740991;function BS(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=NS}var Hc=BS,zS=xn,WS=Hc,VS=Fr,HS="[object Arguments]",US="[object Array]",YS="[object Boolean]",GS="[object Date]",qS="[object Error]",XS="[object Function]",KS="[object Map]",ZS="[object Number]",QS="[object Object]",JS="[object RegExp]",eT="[object Set]",tT="[object String]",rT="[object WeakMap]",nT="[object ArrayBuffer]",iT="[object DataView]",oT="[object Float32Array]",aT="[object Float64Array]",sT="[object Int8Array]",lT="[object Int16Array]",cT="[object Int32Array]",uT="[object Uint8Array]",fT="[object Uint8ClampedArray]",dT="[object Uint16Array]",hT="[object Uint32Array]",ot={};ot[oT]=ot[aT]=ot[sT]=ot[lT]=ot[cT]=ot[uT]=ot[fT]=ot[dT]=ot[hT]=!0,ot[HS]=ot[US]=ot[nT]=ot[YS]=ot[iT]=ot[GS]=ot[qS]=ot[XS]=ot[KS]=ot[ZS]=ot[QS]=ot[JS]=ot[eT]=ot[tT]=ot[rT]=!1;function pT(e){return VS(e)&&WS(e.length)&&!!ot[zS(e)]}var gT=pT;function mT(e){return function(t){return e(t)}}var Uc=mT,is={exports:{}};is.exports,function(e,t){var r=W0,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o&&r.process,s=function(){try{var c=i&&i.require&&i.require("util").types;return c||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s}(is,is.exports);var Yc=is.exports,vT=gT,yT=Uc,Z0=Yc,Q0=Z0&&Z0.isTypedArray,bT=Q0?yT(Q0):vT,J0=bT,xT=TS,wT=X0,CT=ur,ST=Vc,TT=K0,ET=J0,OT=Object.prototype,PT=OT.hasOwnProperty;function MT(e,t){var r=CT(e),n=!r&&wT(e),i=!r&&!n&&ST(e),o=!r&&!n&&!i&&ET(e),a=r||n||i||o,s=a?xT(e.length,String):[],c=s.length;for(var l in e)(t||PT.call(e,l))&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||TT(l,c)))&&s.push(l);return s}var eg=MT,_T=Object.prototype;function $T(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||_T;return e===r}var Gc=$T;function AT(e,t){return function(r){return e(t(r))}}var tg=AT,kT=tg,DT=kT(Object.keys,Object),jT=DT,IT=Gc,LT=jT,FT=Object.prototype,RT=FT.hasOwnProperty;function NT(e){if(!IT(e))return LT(e);var t=[];for(var r in Object(e))RT.call(e,r)&&r!="constructor"&&t.push(r);return t}var BT=NT;function zT(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var oi=zT,WT=xn,VT=oi,HT="[object AsyncFunction]",UT="[object Function]",YT="[object GeneratorFunction]",GT="[object Proxy]";function qT(e){if(!VT(e))return!1;var t=WT(e);return t==UT||t==YT||t==HT||t==GT}var rg=qT,XT=rg,KT=Hc;function ZT(e){return e!=null&&KT(e.length)&&!XT(e)}var os=ZT,QT=eg,JT=BT,e6=os;function t6(e){return e6(e)?QT(e):JT(e)}var $o=t6,r6=CS,n6=$o;function i6(e,t){return e&&r6(e,t,n6)}var ng=i6;function o6(e){return e}var ig=o6,a6=ig;function s6(e){return typeof e=="function"?e:a6}var l6=s6,c6=ng,u6=l6;function f6(e,t){return e&&c6(e,u6(t))}var qc=f6,d6=tg,h6=d6(Object.getPrototypeOf,Object),Xc=h6,p6=xn,g6=Xc,m6=Fr,v6="[object Object]",y6=Function.prototype,b6=Object.prototype,og=y6.toString,x6=b6.hasOwnProperty,w6=og.call(Object);function C6(e){if(!m6(e)||p6(e)!=v6)return!1;var t=g6(e);if(t===null)return!0;var r=x6.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&og.call(r)==w6}var S6=C6;function T6(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var ag=T6;function E6(){this.__data__=[],this.size=0}var O6=E6;function P6(e,t){return e===t||e!==e&&t!==t}var Kc=P6,M6=Kc;function _6(e,t){for(var r=e.length;r--;)if(M6(e[r][0],t))return r;return-1}var as=_6,$6=as,A6=Array.prototype,k6=A6.splice;function D6(e){var t=this.__data__,r=$6(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():k6.call(t,r,1),--this.size,!0}var j6=D6,I6=as;function L6(e){var t=this.__data__,r=I6(t,e);return r<0?void 0:t[r][1]}var F6=L6,R6=as;function N6(e){return R6(this.__data__,e)>-1}var B6=N6,z6=as;function W6(e,t){var r=this.__data__,n=z6(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var V6=W6,H6=O6,U6=j6,Y6=F6,G6=B6,q6=V6;function ai(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ai.prototype.clear=H6,ai.prototype.delete=U6,ai.prototype.get=Y6,ai.prototype.has=G6,ai.prototype.set=q6;var ss=ai,X6=ss;function K6(){this.__data__=new X6,this.size=0}var Z6=K6;function Q6(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var J6=Q6;function e7(e){return this.__data__.get(e)}var t7=e7;function r7(e){return this.__data__.has(e)}var n7=r7,i7=Cr,o7=i7["__core-js_shared__"],a7=o7,Zc=a7,sg=function(){var e=/[^.]+$/.exec(Zc&&Zc.keys&&Zc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function s7(e){return!!sg&&sg in e}var l7=s7,c7=Function.prototype,u7=c7.toString;function f7(e){if(e!=null){try{return u7.call(e)}catch{}try{return e+""}catch{}}return""}var lg=f7,d7=rg,h7=l7,p7=oi,g7=lg,m7=/[\\^$.*+?()[\]{}|]/g,v7=/^\[object .+?Constructor\]$/,y7=Function.prototype,b7=Object.prototype,x7=y7.toString,w7=b7.hasOwnProperty,C7=RegExp("^"+x7.call(w7).replace(m7,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function S7(e){if(!p7(e)||h7(e))return!1;var t=d7(e)?C7:v7;return t.test(g7(e))}var T7=S7;function E7(e,t){return e==null?void 0:e[t]}var O7=E7,P7=T7,M7=O7;function _7(e,t){var r=M7(e,t);return P7(r)?r:void 0}var wn=_7,$7=wn,A7=Cr,k7=$7(A7,"Map"),Qc=k7,D7=wn,j7=D7(Object,"create"),ls=j7,cg=ls;function I7(){this.__data__=cg?cg(null):{},this.size=0}var L7=I7;function F7(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var R7=F7,N7=ls,B7="__lodash_hash_undefined__",z7=Object.prototype,W7=z7.hasOwnProperty;function V7(e){var t=this.__data__;if(N7){var r=t[e];return r===B7?void 0:r}return W7.call(t,e)?t[e]:void 0}var H7=V7,U7=ls,Y7=Object.prototype,G7=Y7.hasOwnProperty;function q7(e){var t=this.__data__;return U7?t[e]!==void 0:G7.call(t,e)}var X7=q7,K7=ls,Z7="__lodash_hash_undefined__";function Q7(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=K7&&t===void 0?Z7:t,this}var J7=Q7,eE=L7,tE=R7,rE=H7,nE=X7,iE=J7;function si(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}si.prototype.clear=eE,si.prototype.delete=tE,si.prototype.get=rE,si.prototype.has=nE,si.prototype.set=iE;var oE=si,ug=oE,aE=ss,sE=Qc;function lE(){this.size=0,this.__data__={hash:new ug,map:new(sE||aE),string:new ug}}var cE=lE;function uE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var fE=uE,dE=fE;function hE(e,t){var r=e.__data__;return dE(t)?r[typeof t=="string"?"string":"hash"]:r.map}var cs=hE,pE=cs;function gE(e){var t=pE(this,e).delete(e);return this.size-=t?1:0,t}var mE=gE,vE=cs;function yE(e){return vE(this,e).get(e)}var bE=yE,xE=cs;function wE(e){return xE(this,e).has(e)}var CE=wE,SE=cs;function TE(e,t){var r=SE(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var EE=TE,OE=cE,PE=mE,ME=bE,_E=CE,$E=EE;function li(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}li.prototype.clear=OE,li.prototype.delete=PE,li.prototype.get=ME,li.prototype.has=_E,li.prototype.set=$E;var Jc=li,AE=ss,kE=Qc,DE=Jc,jE=200;function IE(e,t){var r=this.__data__;if(r instanceof AE){var n=r.__data__;if(!kE||n.length<jE-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new DE(n)}return r.set(e,t),this.size=r.size,this}var LE=IE,FE=ss,RE=Z6,NE=J6,BE=t7,zE=n7,WE=LE;function ci(e){var t=this.__data__=new FE(e);this.size=t.size}ci.prototype.clear=RE,ci.prototype.delete=NE,ci.prototype.get=BE,ci.prototype.has=zE,ci.prototype.set=WE;var eu=ci,VE="__lodash_hash_undefined__";function HE(e){return this.__data__.set(e,VE),this}var UE=HE;function YE(e){return this.__data__.has(e)}var GE=YE,qE=Jc,XE=UE,KE=GE;function us(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new qE;++t<r;)this.add(e[t])}us.prototype.add=us.prototype.push=XE,us.prototype.has=KE;var ZE=us;function QE(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var JE=QE;function eO(e,t){return e.has(t)}var tO=eO,rO=ZE,nO=JE,iO=tO,oO=1,aO=2;function sO(e,t,r,n,i,o){var a=r&oO,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e),u=o.get(t);if(l&&u)return l==t&&u==e;var f=-1,d=!0,h=r&aO?new rO:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var g=e[f],m=t[f];if(n)var y=a?n(m,g,f,t,e,o):n(g,m,f,e,t,o);if(y!==void 0){if(y)continue;d=!1;break}if(h){if(!nO(t,function(x,b){if(!iO(h,b)&&(g===x||i(g,x,r,n,o)))return h.push(b)})){d=!1;break}}else if(!(g===m||i(g,m,r,n,o))){d=!1;break}}return o.delete(e),o.delete(t),d}var fg=sO,lO=Cr,cO=lO.Uint8Array,dg=cO;function uO(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}var fO=uO;function dO(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var hO=dO,hg=Mo,pg=dg,pO=Kc,gO=fg,mO=fO,vO=hO,yO=1,bO=2,xO="[object Boolean]",wO="[object Date]",CO="[object Error]",SO="[object Map]",TO="[object Number]",EO="[object RegExp]",OO="[object Set]",PO="[object String]",MO="[object Symbol]",_O="[object ArrayBuffer]",$O="[object DataView]",gg=hg?hg.prototype:void 0,tu=gg?gg.valueOf:void 0;function AO(e,t,r,n,i,o,a){switch(r){case $O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _O:return!(e.byteLength!=t.byteLength||!o(new pg(e),new pg(t)));case xO:case wO:case TO:return pO(+e,+t);case CO:return e.name==t.name&&e.message==t.message;case EO:case PO:return e==t+"";case SO:var s=mO;case OO:var c=n&yO;if(s||(s=vO),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;n|=bO,a.set(e,t);var u=gO(s(e),s(t),n,i,o,a);return a.delete(e),u;case MO:if(tu)return tu.call(e)==tu.call(t)}return!1}var kO=AO;function DO(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var mg=DO,jO=mg,IO=ur;function LO(e,t,r){var n=t(e);return IO(e)?n:jO(n,r(e))}var vg=LO;function FO(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}var RO=FO;function NO(){return[]}var yg=NO,BO=RO,zO=yg,WO=Object.prototype,VO=WO.propertyIsEnumerable,bg=Object.getOwnPropertySymbols,HO=bg?function(e){return e==null?[]:(e=Object(e),BO(bg(e),function(t){return VO.call(e,t)}))}:zO,ru=HO,UO=vg,YO=ru,GO=$o;function qO(e){return UO(e,GO,YO)}var xg=qO,wg=xg,XO=1,KO=Object.prototype,ZO=KO.hasOwnProperty;function QO(e,t,r,n,i,o){var a=r&XO,s=wg(e),c=s.length,l=wg(t),u=l.length;if(c!=u&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:ZO.call(t,d)))return!1}var h=o.get(e),g=o.get(t);if(h&&g)return h==t&&g==e;var m=!0;o.set(e,t),o.set(t,e);for(var y=a;++f<c;){d=s[f];var x=e[d],b=t[d];if(n)var S=a?n(b,x,d,t,e,o):n(x,b,d,e,t,o);if(!(S===void 0?x===b||i(x,b,r,n,o):S)){m=!1;break}y||(y=d=="constructor")}if(m&&!y){var P=e.constructor,w=t.constructor;P!=w&&"constructor"in e&&"constructor"in t&&!(typeof P=="function"&&P instanceof P&&typeof w=="function"&&w instanceof w)&&(m=!1)}return o.delete(e),o.delete(t),m}var JO=QO,e9=wn,t9=Cr,r9=e9(t9,"DataView"),n9=r9,i9=wn,o9=Cr,a9=i9(o9,"Promise"),s9=a9,l9=wn,c9=Cr,u9=l9(c9,"Set"),f9=u9,d9=wn,h9=Cr,p9=d9(h9,"WeakMap"),g9=p9,nu=n9,iu=Qc,ou=s9,au=f9,su=g9,Cg=xn,ui=lg,Sg="[object Map]",m9="[object Object]",Tg="[object Promise]",Eg="[object Set]",Og="[object WeakMap]",Pg="[object DataView]",v9=ui(nu),y9=ui(iu),b9=ui(ou),x9=ui(au),w9=ui(su),Cn=Cg;(nu&&Cn(new nu(new ArrayBuffer(1)))!=Pg||iu&&Cn(new iu)!=Sg||ou&&Cn(ou.resolve())!=Tg||au&&Cn(new au)!=Eg||su&&Cn(new su)!=Og)&&(Cn=function(e){var t=Cg(e),r=t==m9?e.constructor:void 0,n=r?ui(r):"";if(n)switch(n){case v9:return Pg;case y9:return Sg;case b9:return Tg;case x9:return Eg;case w9:return Og}return t});var fs=Cn,lu=eu,C9=fg,S9=kO,T9=JO,Mg=fs,_g=ur,$g=Vc,E9=J0,O9=1,Ag="[object Arguments]",kg="[object Array]",ds="[object Object]",P9=Object.prototype,Dg=P9.hasOwnProperty;function M9(e,t,r,n,i,o){var a=_g(e),s=_g(t),c=a?kg:Mg(e),l=s?kg:Mg(t);c=c==Ag?ds:c,l=l==Ag?ds:l;var u=c==ds,f=l==ds,d=c==l;if(d&&$g(e)){if(!$g(t))return!1;a=!0,u=!1}if(d&&!u)return o||(o=new lu),a||E9(e)?C9(e,t,r,n,i,o):S9(e,t,c,r,n,i,o);if(!(r&O9)){var h=u&&Dg.call(e,"__wrapped__"),g=f&&Dg.call(t,"__wrapped__");if(h||g){var m=h?e.value():e,y=g?t.value():t;return o||(o=new lu),i(m,y,r,n,o)}}return d?(o||(o=new lu),T9(e,t,r,n,i,o)):!1}var _9=M9,$9=_9,jg=Fr;function Ig(e,t,r,n,i){return e===t?!0:e==null||t==null||!jg(e)&&!jg(t)?e!==e&&t!==t:$9(e,t,r,n,Ig,i)}var cu=Ig,A9=eu,k9=cu,D9=1,j9=2;function I9(e,t,r,n){var i=r.length,o=i,a=!n;if(e==null)return!o;for(e=Object(e);i--;){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=r[i];var c=s[0],l=e[c],u=s[1];if(a&&s[2]){if(l===void 0&&!(c in e))return!1}else{var f=new A9;if(n)var d=n(l,u,c,e,t,f);if(!(d===void 0?k9(u,l,D9|j9,n,f):d))return!1}}return!0}var L9=I9,F9=oi;function R9(e){return e===e&&!F9(e)}var Lg=R9,N9=Lg,B9=$o;function z9(e){for(var t=B9(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,N9(i)]}return t}var W9=z9;function V9(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var Fg=V9,H9=L9,U9=W9,Y9=Fg;function G9(e){var t=U9(e);return t.length==1&&t[0][2]?Y9(t[0][0],t[0][1]):function(r){return r===e||H9(r,e,t)}}var q9=G9,X9=xn,K9=Fr,Z9="[object Symbol]";function Q9(e){return typeof e=="symbol"||K9(e)&&X9(e)==Z9}var uu=Q9,J9=ur,e8=uu,t8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r8=/^\w*$/;function n8(e,t){if(J9(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||e8(e)?!0:r8.test(e)||!t8.test(e)||t!=null&&e in Object(t)}var fu=n8,Rg=Jc,i8="Expected a function";function du(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(i8);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(du.Cache||Rg),r}du.Cache=Rg;var o8=du,a8=o8,s8=500;function l8(e){var t=a8(e,function(n){return r.size===s8&&r.clear(),n}),r=t.cache;return t}var c8=l8,u8=c8,f8=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d8=/\\(\\)?/g,h8=u8(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(f8,function(r,n,i,o){t.push(i?o.replace(d8,"$1"):n||r)}),t}),p8=h8,Ng=Mo,g8=ag,m8=ur,v8=uu,y8=1/0,Bg=Ng?Ng.prototype:void 0,zg=Bg?Bg.toString:void 0;function Wg(e){if(typeof e=="string")return e;if(m8(e))return g8(e,Wg)+"";if(v8(e))return zg?zg.call(e):"";var t=e+"";return t=="0"&&1/e==-y8?"-0":t}var b8=Wg,x8=b8;function w8(e){return e==null?"":x8(e)}var C8=w8,S8=ur,T8=fu,E8=p8,O8=C8;function P8(e,t){return S8(e)?e:T8(e,t)?[e]:E8(O8(e))}var Vg=P8,M8=uu,_8=1/0;function $8(e){if(typeof e=="string"||M8(e))return e;var t=e+"";return t=="0"&&1/e==-_8?"-0":t}var hs=$8,A8=Vg,k8=hs;function D8(e,t){t=A8(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[k8(t[r++])];return r&&r==n?e:void 0}var Hg=D8,j8=Hg;function I8(e,t,r){var n=e==null?void 0:j8(e,t);return n===void 0?r:n}var L8=I8;function F8(e,t){return e!=null&&t in Object(e)}var R8=F8,N8=Vg,B8=X0,z8=ur,W8=K0,V8=Hc,H8=hs;function U8(e,t,r){t=N8(t,e);for(var n=-1,i=t.length,o=!1;++n<i;){var a=H8(t[n]);if(!(o=e!=null&&r(e,a)))break;e=e[a]}return o||++n!=i?o:(i=e==null?0:e.length,!!i&&V8(i)&&W8(a,i)&&(z8(e)||B8(e)))}var Y8=U8,G8=R8,q8=Y8;function X8(e,t){return e!=null&&q8(e,t,G8)}var K8=X8,Z8=cu,Q8=L8,J8=K8,eP=fu,tP=Lg,rP=Fg,nP=hs,iP=1,oP=2;function aP(e,t){return eP(e)&&tP(t)?rP(nP(e),t):function(r){var n=Q8(r,e);return n===void 0&&n===t?J8(r,e):Z8(t,n,iP|oP)}}var sP=aP;function lP(e){return function(t){return t==null?void 0:t[e]}}var cP=lP,uP=Hg;function fP(e){return function(t){return uP(t,e)}}var dP=fP,hP=cP,pP=dP,gP=fu,mP=hs;function vP(e){return gP(e)?hP(mP(e)):pP(e)}var yP=vP,bP=q9,xP=sP,wP=ig,CP=ur,SP=yP;function TP(e){return typeof e=="function"?e:e==null?wP:typeof e=="object"?CP(e)?xP(e[0],e[1]):bP(e):SP(e)}var EP=TP,OP=os;function PP(e,t){return function(r,n){if(r==null)return r;if(!OP(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&n(a[o],o,a)!==!1;);return r}}var MP=PP,_P=ng,$P=MP,AP=$P(_P),kP=AP,DP=kP,jP=os;function IP(e,t){var r=-1,n=jP(e)?Array(e.length):[];return DP(e,function(i,o,a){n[++r]=t(i,o,a)}),n}var LP=IP,FP=ag,RP=EP,NP=LP,BP=ur;function zP(e,t){var r=BP(e)?FP:NP;return r(e,RP(t))}var WP=zP;Object.defineProperty(Po,"__esModule",{value:!0}),Po.flattenNames=void 0;var VP=vS,HP=ps(VP),UP=qc,YP=ps(UP),GP=S6,qP=ps(GP),XP=WP,KP=ps(XP);function ps(e){return e&&e.__esModule?e:{default:e}}var ZP=Po.flattenNames=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=[];return(0,KP.default)(t,function(n){Array.isArray(n)?e(n).map(function(i){return r.push(i)}):(0,qP.default)(n)?(0,YP.default)(n,function(i,o){i===!0&&r.push(o),r.push(o+"-"+i)}):(0,HP.default)(n)&&r.push(n)}),r};Po.default=ZP;var Ao={};function QP(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var JP=QP,eM=wn,tM=function(){try{var e=eM(Object,"defineProperty");return e({},"",{}),e}catch{}}(),rM=tM,Ug=rM;function nM(e,t,r){t=="__proto__"&&Ug?Ug(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Yg=nM,iM=Yg,oM=Kc,aM=Object.prototype,sM=aM.hasOwnProperty;function lM(e,t,r){var n=e[t];(!(sM.call(e,t)&&oM(n,r))||r===void 0&&!(t in e))&&iM(e,t,r)}var Gg=lM,cM=Gg,uM=Yg;function fM(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=n?n(r[s],e[s],s,r,e):void 0;c===void 0&&(c=e[s]),i?uM(r,s,c):cM(r,s,c)}return r}var gs=fM,dM=gs,hM=$o;function pM(e,t){return e&&dM(t,hM(t),e)}var gM=pM;function mM(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var vM=mM,yM=oi,bM=Gc,xM=vM,wM=Object.prototype,CM=wM.hasOwnProperty;function SM(e){if(!yM(e))return xM(e);var t=bM(e),r=[];for(var n in e)n=="constructor"&&(t||!CM.call(e,n))||r.push(n);return r}var TM=SM,EM=eg,OM=TM,PM=os;function MM(e){return PM(e)?EM(e,!0):OM(e)}var hu=MM,_M=gs,$M=hu;function AM(e,t){return e&&_M(t,$M(t),e)}var kM=AM,ms={exports:{}};ms.exports,function(e,t){var r=Cr,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function c(l,u){if(u)return l.slice();var f=l.length,d=s?s(f):new l.constructor(f);return l.copy(d),d}e.exports=c}(ms,ms.exports);var DM=ms.exports;function jM(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var IM=jM,LM=gs,FM=ru;function RM(e,t){return LM(e,FM(e),t)}var NM=RM,BM=mg,zM=Xc,WM=ru,VM=yg,HM=Object.getOwnPropertySymbols,UM=HM?function(e){for(var t=[];e;)BM(t,WM(e)),e=zM(e);return t}:VM,qg=UM,YM=gs,GM=qg;function qM(e,t){return YM(e,GM(e),t)}var XM=qM,KM=vg,ZM=qg,QM=hu;function JM(e){return KM(e,QM,ZM)}var e_=JM,t_=Object.prototype,r_=t_.hasOwnProperty;function n_(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&r_.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var i_=n_,Xg=dg;function o_(e){var t=new e.constructor(e.byteLength);return new Xg(t).set(new Xg(e)),t}var pu=o_,a_=pu;function s_(e,t){var r=t?a_(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var l_=s_,c_=/\w*$/;function u_(e){var t=new e.constructor(e.source,c_.exec(e));return t.lastIndex=e.lastIndex,t}var f_=u_,Kg=Mo,Zg=Kg?Kg.prototype:void 0,Qg=Zg?Zg.valueOf:void 0;function d_(e){return Qg?Object(Qg.call(e)):{}}var h_=d_,p_=pu;function g_(e,t){var r=t?p_(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var m_=g_,v_=pu,y_=l_,b_=f_,x_=h_,w_=m_,C_="[object Boolean]",S_="[object Date]",T_="[object Map]",E_="[object Number]",O_="[object RegExp]",P_="[object Set]",M_="[object String]",__="[object Symbol]",$_="[object ArrayBuffer]",A_="[object DataView]",k_="[object Float32Array]",D_="[object Float64Array]",j_="[object Int8Array]",I_="[object Int16Array]",L_="[object Int32Array]",F_="[object Uint8Array]",R_="[object Uint8ClampedArray]",N_="[object Uint16Array]",B_="[object Uint32Array]";function z_(e,t,r){var n=e.constructor;switch(t){case $_:return v_(e);case C_:case S_:return new n(+e);case A_:return y_(e,r);case k_:case D_:case j_:case I_:case L_:case F_:case R_:case N_:case B_:return w_(e,r);case T_:return new n;case E_:case M_:return new n(e);case O_:return b_(e);case P_:return new n;case __:return x_(e)}}var W_=z_,V_=oi,Jg=Object.create,H_=function(){function e(){}return function(t){if(!V_(t))return{};if(Jg)return Jg(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),U_=H_,Y_=U_,G_=Xc,q_=Gc;function X_(e){return typeof e.constructor=="function"&&!q_(e)?Y_(G_(e)):{}}var K_=X_,Z_=fs,Q_=Fr,J_="[object Map]";function e$(e){return Q_(e)&&Z_(e)==J_}var t$=e$,r$=t$,n$=Uc,em=Yc,tm=em&&em.isMap,i$=tm?n$(tm):r$,o$=i$,a$=fs,s$=Fr,l$="[object Set]";function c$(e){return s$(e)&&a$(e)==l$}var u$=c$,f$=u$,d$=Uc,rm=Yc,nm=rm&&rm.isSet,h$=nm?d$(nm):f$,p$=h$,g$=eu,m$=JP,v$=Gg,y$=gM,b$=kM,x$=DM,w$=IM,C$=NM,S$=XM,T$=xg,E$=e_,O$=fs,P$=i_,M$=W_,_$=K_,$$=ur,A$=Vc,k$=o$,D$=oi,j$=p$,I$=$o,L$=hu,F$=1,R$=2,N$=4,im="[object Arguments]",B$="[object Array]",z$="[object Boolean]",W$="[object Date]",V$="[object Error]",om="[object Function]",H$="[object GeneratorFunction]",U$="[object Map]",Y$="[object Number]",am="[object Object]",G$="[object RegExp]",q$="[object Set]",X$="[object String]",K$="[object Symbol]",Z$="[object WeakMap]",Q$="[object ArrayBuffer]",J$="[object DataView]",eA="[object Float32Array]",tA="[object Float64Array]",rA="[object Int8Array]",nA="[object Int16Array]",iA="[object Int32Array]",oA="[object Uint8Array]",aA="[object Uint8ClampedArray]",sA="[object Uint16Array]",lA="[object Uint32Array]",nt={};nt[im]=nt[B$]=nt[Q$]=nt[J$]=nt[z$]=nt[W$]=nt[eA]=nt[tA]=nt[rA]=nt[nA]=nt[iA]=nt[U$]=nt[Y$]=nt[am]=nt[G$]=nt[q$]=nt[X$]=nt[K$]=nt[oA]=nt[aA]=nt[sA]=nt[lA]=!0,nt[V$]=nt[om]=nt[Z$]=!1;function vs(e,t,r,n,i,o){var a,s=t&F$,c=t&R$,l=t&N$;if(r&&(a=i?r(e,n,i,o):r(e)),a!==void 0)return a;if(!D$(e))return e;var u=$$(e);if(u){if(a=P$(e),!s)return w$(e,a)}else{var f=O$(e),d=f==om||f==H$;if(A$(e))return x$(e,s);if(f==am||f==im||d&&!i){if(a=c||d?{}:_$(e),!s)return c?S$(e,b$(a,e)):C$(e,y$(a,e))}else{if(!nt[f])return i?e:{};a=M$(e,f,s)}}o||(o=new g$);var h=o.get(e);if(h)return h;o.set(e,a),j$(e)?e.forEach(function(y){a.add(vs(y,t,r,y,e,o))}):k$(e)&&e.forEach(function(y,x){a.set(x,vs(y,t,r,x,e,o))});var g=l?c?E$:T$:c?L$:I$,m=u?void 0:g(e);return m$(m||e,function(y,x){m&&(x=y,y=e[x]),v$(a,x,vs(y,t,r,x,e,o))}),a}var cA=vs,uA=cA,fA=1,dA=4;function hA(e){return uA(e,fA|dA)}var pA=hA;Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.mergeClasses=void 0;var gA=qc,mA=sm(gA),vA=pA,yA=sm(vA),bA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function sm(e){return e&&e.__esModule?e:{default:e}}var xA=Ao.mergeClasses=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=t.default&&(0,yA.default)(t.default)||{};return r.map(function(i){var o=t[i];return o&&(0,mA.default)(o,function(a,s){n[s]||(n[s]={}),n[s]=bA({},n[s],o[s])}),i}),n};Ao.default=xA;var ko={};Object.defineProperty(ko,"__esModule",{value:!0}),ko.autoprefix=void 0;var wA=qc,lm=SA(wA),CA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function SA(e){return e&&e.__esModule?e:{default:e}}var TA={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var r=t&&t.split(" ");return{position:"absolute",top:r&&r[0],right:r&&r[1],bottom:r&&r[2],left:r&&r[3]}},extend:function(t,r){var n=r[t];return n||{extend:t}}},EA=ko.autoprefix=function(t){var r={};return(0,lm.default)(t,function(n,i){var o={};(0,lm.default)(n,function(a,s){var c=TA[s];c?o=CA({},o,c(a)):o[s]=a}),r[i]=o}),r};ko.default=EA;var Do={};Object.defineProperty(Do,"__esModule",{value:!0}),Do.hover=void 0;var OA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},PA=p,gu=MA(PA);function MA(e){return e&&e.__esModule?e:{default:e}}function _A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function $A(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var AA=Do.hover=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){$A(i,n);function i(){var o,a,s,c;_A(this,i);for(var l=arguments.length,u=Array(l),f=0;f<l;f++)u[f]=arguments[f];return c=(a=(s=cm(this,(o=i.__proto__||Object.getPrototypeOf(i)).call.apply(o,[this].concat(u))),s),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return gu.default.createElement(r,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},gu.default.createElement(t,OA({},s.props,s.state)))},a),cm(s,c)}return i}(gu.default.Component)};Do.default=AA;var jo={};Object.defineProperty(jo,"__esModule",{value:!0}),jo.active=void 0;var kA=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},DA=p,mu=jA(DA);function jA(e){return e&&e.__esModule?e:{default:e}}function IA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function um(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function LA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var FA=jo.active=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){LA(i,n);function i(){var o,a,s,c;IA(this,i);for(var l=arguments.length,u=Array(l),f=0;f<l;f++)u[f]=arguments[f];return c=(a=(s=um(this,(o=i.__proto__||Object.getPrototypeOf(i)).call.apply(o,[this].concat(u))),s),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return mu.default.createElement(r,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},mu.default.createElement(t,kA({},s.props,s.state)))},a),um(s,c)}return i}(mu.default.Component)};jo.default=FA;var vu={};Object.defineProperty(vu,"__esModule",{value:!0});var RA=function(t,r){var n={},i=function(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;n[a]=s};return t===0&&i("first-child"),t===r-1&&i("last-child"),(t===0||t%2===0)&&i("even"),Math.abs(t%2)===1&&i("odd"),i("nth-child",t),n};vu.default=RA,Object.defineProperty(or,"__esModule",{value:!0}),or.ReactCSS=or.loop=or.handleActive=yu=or.handleHover=or.hover=void 0;var NA=Po,BA=fi(NA),zA=Ao,WA=fi(zA),VA=ko,HA=fi(VA),UA=Do,fm=fi(UA),YA=jo,GA=fi(YA),qA=vu,XA=fi(qA);function fi(e){return e&&e.__esModule?e:{default:e}}or.hover=fm.default;var yu=or.handleHover=fm.default;or.handleActive=GA.default,or.loop=XA.default;var KA=or.ReactCSS=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=(0,BA.default)(n),a=(0,WA.default)(t,o);return(0,HA.default)(a)},Ce=or.default=KA,ZA=function(t,r,n,i,o){var a=o.clientWidth,s=o.clientHeight,c=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,l=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,u=c-(o.getBoundingClientRect().left+window.pageXOffset),f=l-(o.getBoundingClientRect().top+window.pageYOffset);if(n==="vertical"){var d=void 0;if(f<0?d=0:f>s?d=1:d=Math.round(f*100/s)/100,r.a!==d)return{h:r.h,s:r.s,l:r.l,a:d,source:"rgb"}}else{var h=void 0;if(u<0?h=0:u>a?h=1:h=Math.round(u*100/a)/100,i!==h)return{h:r.h,s:r.s,l:r.l,a:h,source:"rgb"}}return null},bu={},QA=function(t,r,n,i){if(typeof document>"u"&&!i)return null;var o=i?new i:document.createElement("canvas");o.width=n*2,o.height=n*2;var a=o.getContext("2d");return a?(a.fillStyle=t,a.fillRect(0,0,o.width,o.height),a.fillStyle=r,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),o.toDataURL()):null},JA=function(t,r,n,i){var o=t+"-"+r+"-"+n+(i?"-server":"");if(bu[o])return bu[o];var a=QA(t,r,n,i);return bu[o]=a,a},dm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},di=function(t){var r=t.white,n=t.grey,i=t.size,o=t.renderers,a=t.borderRadius,s=t.boxShadow,c=t.children,l=Ce({default:{grid:{borderRadius:a,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+JA(r,n,i,o.canvas)+") center left"}}});return p.isValidElement(c)?p.cloneElement(c,dm({},c.props,{style:dm({},c.props.style,l.grid)})):p.createElement("div",{style:l.grid})};di.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var ek=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tk=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function rk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function nk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var xu=function(e){nk(t,e);function t(){var r,n,i,o;rk(this,t);for(var a=arguments.length,s=Array(a),c=0;c<a;c++)s[c]=arguments[c];return o=(n=(i=hm(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(s))),i),i.handleChange=function(l){var u=ZA(l,i.props.hsl,i.props.direction,i.props.a,i.container);u&&typeof i.props.onChange=="function"&&i.props.onChange(u,l)},i.handleMouseDown=function(l){i.handleChange(l),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},i.unbindEventListeners=function(){window.removeEventListener("mousemove",i.handleChange),window.removeEventListener("mouseup",i.handleMouseUp)},n),hm(i,o)}return tk(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var n=this,i=this.props.rgb,o=Ce({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+i.r+","+i.g+","+i.b+`, 0) 0%,
106
106
  rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:i.a*100+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+i.r+","+i.g+","+i.b+`, 0) 0%,
107
107
  rgba(`+i.r+","+i.g+","+i.b+", 1) 100%)"},pointer:{left:0,top:i.a*100+"%"}},overwrite:ek({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return p.createElement("div",{style:o.alpha},p.createElement("div",{style:o.checkboard},p.createElement(di,{renderers:this.props.renderers})),p.createElement("div",{style:o.gradient}),p.createElement("div",{style:o.container,ref:function(s){return n.container=s},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},p.createElement("div",{style:o.pointer},this.props.pointer?p.createElement(this.props.pointer,this.props):p.createElement("div",{style:o.slider}))))}}]),t}(p.PureComponent||p.Component),ik=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function ok(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ak(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sk(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function lk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ck=1,pm=38,uk=40,fk=[pm,uk],dk=function(t){return fk.indexOf(t)>-1},hk=function(t){return Number(String(t).replace(/%/g,""))},pk=1,De=function(e){lk(t,e);function t(r){ak(this,t);var n=sk(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(i){n.setUpdatedValue(i.target.value,i)},n.handleKeyDown=function(i){var o=hk(i.target.value);if(!isNaN(o)&&dk(i.keyCode)){var a=n.getArrowOffset(),s=i.keyCode===pm?o+a:o-a;n.setUpdatedValue(s,i)}},n.handleDrag=function(i){if(n.props.dragLabel){var o=Math.round(n.props.value+i.movementX);o>=0&&o<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(o),i)}},n.handleMouseDown=function(i){n.props.dragLabel&&(i.preventDefault(),n.handleDrag(i),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(r.value).toUpperCase(),blurValue:String(r.value).toUpperCase()},n.inputId="rc-editable-input-"+pk++,n}return ik(t,[{key:"componentDidUpdate",value:function(n,i){this.props.value!==this.state.value&&(n.value!==this.props.value||i.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(n){return ok({},this.props.label,n)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||ck}},{key:"setUpdatedValue",value:function(n,i){var o=this.props.label?this.getValueObjectWithLabel(n):n;this.props.onChange&&this.props.onChange(o,i),this.setState({value:n})}},{key:"render",value:function(){var n=this,i=Ce({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return p.createElement("div",{style:i.wrap},p.createElement("input",{id:this.inputId,style:i.input,ref:function(a){return n.input=a},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?p.createElement("label",{htmlFor:this.inputId,style:i.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(p.PureComponent||p.Component),gk=function(t,r,n,i){var o=i.clientWidth,a=i.clientHeight,s=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,l=s-(i.getBoundingClientRect().left+window.pageXOffset),u=c-(i.getBoundingClientRect().top+window.pageYOffset);if(r==="vertical"){var f=void 0;if(u<0)f=359;else if(u>a)f=0;else{var d=-(u*100/a)+100;f=360*d/100}if(n.h!==f)return{h:f,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var h=void 0;if(l<0)h=0;else if(l>o)h=359;else{var g=l*100/o;h=360*g/100}if(n.h!==h)return{h,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null},mk=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function vk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var hi=function(e){yk(t,e);function t(){var r,n,i,o;vk(this,t);for(var a=arguments.length,s=Array(a),c=0;c<a;c++)s[c]=arguments[c];return o=(n=(i=gm(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(s))),i),i.handleChange=function(l){var u=gk(l,i.props.direction,i.props.hsl,i.container);u&&typeof i.props.onChange=="function"&&i.props.onChange(u,l)},i.handleMouseDown=function(l){i.handleChange(l),window.addEventListener("mousemove",i.handleChange),window.addEventListener("mouseup",i.handleMouseUp)},i.handleMouseUp=function(){i.unbindEventListeners()},n),gm(i,o)}return mk(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var n=this,i=this.props.direction,o=i===void 0?"horizontal":i,a=Ce({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:this.props.hsl.h*100/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-(this.props.hsl.h*100/360)+100+"%"}}},{vertical:o==="vertical"});return p.createElement("div",{style:a.hue},p.createElement("div",{className:"hue-"+o,style:a.container,ref:function(c){return n.container=c},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},p.createElement("style",null,`
108
108
  .hue-horizontal {
@@ -118,7 +118,7 @@ const theme2 = createTheme({ palette: {
118
118
  background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,
119
119
  #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
120
120
  }
121
- `),p.createElement("div",{style:a.pointer},this.props.pointer?p.createElement(this.props.pointer,this.props):p.createElement("div",{style:a.slider}))))}}]),t}(p.PureComponent||p.Component);function bk(){this.__data__=[],this.size=0}function Io(e,t){return e===t||e!==e&&t!==t}function ys(e,t){for(var r=e.length;r--;)if(Io(e[r][0],t))return r;return-1}var xk=Array.prototype,wk=xk.splice;function Ck(e){var t=this.__data__,r=ys(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():wk.call(t,r,1),--this.size,!0}function Tk(e){var t=this.__data__,r=ys(t,e);return r<0?void 0:t[r][1]}function Sk(e){return ys(this.__data__,e)>-1}function Ek(e,t){var r=this.__data__,n=ys(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Rr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Rr.prototype.clear=bk,Rr.prototype.delete=Ck,Rr.prototype.get=Tk,Rr.prototype.has=Sk,Rr.prototype.set=Ek;function Ok(){this.__data__=new Rr,this.size=0}function Pk(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Mk(e){return this.__data__.get(e)}function _k(e){return this.__data__.has(e)}var $k=typeof global=="object"&&global&&global.Object===Object&&global;const mm=$k;var Ak=typeof self=="object"&&self&&self.Object===Object&&self,kk=mm||Ak||Function("return this")();const fr=kk;var Dk=fr.Symbol;const en=Dk;var vm=Object.prototype,jk=vm.hasOwnProperty,Ik=vm.toString,Lo=en?en.toStringTag:void 0;function Lk(e){var t=jk.call(e,Lo),r=e[Lo];try{e[Lo]=void 0;var n=!0}catch{}var i=Ik.call(e);return n&&(t?e[Lo]=r:delete e[Lo]),i}var Fk=Object.prototype,Rk=Fk.toString;function Nk(e){return Rk.call(e)}var Bk="[object Null]",zk="[object Undefined]",ym=en?en.toStringTag:void 0;function Tn(e){return e==null?e===void 0?zk:Bk:ym&&ym in Object(e)?Lk(e):Nk(e)}function ar(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Wk="[object AsyncFunction]",Vk="[object Function]",Hk="[object GeneratorFunction]",Uk="[object Proxy]";function wu(e){if(!ar(e))return!1;var t=Tn(e);return t==Vk||t==Hk||t==Wk||t==Uk}var Yk=fr["__core-js_shared__"];const Cu=Yk;var bm=function(){var e=/[^.]+$/.exec(Cu&&Cu.keys&&Cu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Gk(e){return!!bm&&bm in e}var qk=Function.prototype,Xk=qk.toString;function Sn(e){if(e!=null){try{return Xk.call(e)}catch{}try{return e+""}catch{}}return""}var Kk=/[\\^$.*+?()[\]{}|]/g,Zk=/^\[object .+?Constructor\]$/,Qk=Function.prototype,Jk=Object.prototype,eD=Qk.toString,tD=Jk.hasOwnProperty,rD=RegExp("^"+eD.call(tD).replace(Kk,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nD(e){if(!ar(e)||Gk(e))return!1;var t=wu(e)?rD:Zk;return t.test(Sn(e))}function iD(e,t){return e==null?void 0:e[t]}function En(e,t){var r=iD(e,t);return nD(r)?r:void 0}var oD=En(fr,"Map");const Fo=oD;var aD=En(Object,"create");const Ro=aD;function sD(){this.__data__=Ro?Ro(null):{},this.size=0}function lD(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var cD="__lodash_hash_undefined__",uD=Object.prototype,fD=uD.hasOwnProperty;function dD(e){var t=this.__data__;if(Ro){var r=t[e];return r===cD?void 0:r}return fD.call(t,e)?t[e]:void 0}var hD=Object.prototype,pD=hD.hasOwnProperty;function gD(e){var t=this.__data__;return Ro?t[e]!==void 0:pD.call(t,e)}var mD="__lodash_hash_undefined__";function vD(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ro&&t===void 0?mD:t,this}function On(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}On.prototype.clear=sD,On.prototype.delete=lD,On.prototype.get=dD,On.prototype.has=gD,On.prototype.set=vD;function yD(){this.size=0,this.__data__={hash:new On,map:new(Fo||Rr),string:new On}}function bD(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function bs(e,t){var r=e.__data__;return bD(t)?r[typeof t=="string"?"string":"hash"]:r.map}function xD(e){var t=bs(this,e).delete(e);return this.size-=t?1:0,t}function wD(e){return bs(this,e).get(e)}function CD(e){return bs(this,e).has(e)}function TD(e,t){var r=bs(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Nr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Nr.prototype.clear=yD,Nr.prototype.delete=xD,Nr.prototype.get=wD,Nr.prototype.has=CD,Nr.prototype.set=TD;var SD=200;function ED(e,t){var r=this.__data__;if(r instanceof Rr){var n=r.__data__;if(!Fo||n.length<SD-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Nr(n)}return r.set(e,t),this.size=r.size,this}function Tr(e){var t=this.__data__=new Rr(e);this.size=t.size}Tr.prototype.clear=Ok,Tr.prototype.delete=Pk,Tr.prototype.get=Mk,Tr.prototype.has=_k,Tr.prototype.set=ED;var OD=function(){try{var e=En(Object,"defineProperty");return e({},"",{}),e}catch{}}();const xs=OD;function Tu(e,t,r){t=="__proto__"&&xs?xs(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Su(e,t,r){(r!==void 0&&!Io(e[t],r)||r===void 0&&!(t in e))&&Tu(e,t,r)}function PD(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var c=a[e?s:++i];if(r(o[c],c,o)===!1)break}return t}}var MD=PD();const xm=MD;var wm=typeof z=="object"&&z&&!z.nodeType&&z,Cm=wm&&typeof module=="object"&&module&&!module.nodeType&&module,_D=Cm&&Cm.exports===wm,Tm=_D?fr.Buffer:void 0,Sm=Tm?Tm.allocUnsafe:void 0;function $D(e,t){if(t)return e.slice();var r=e.length,n=Sm?Sm(r):new e.constructor(r);return e.copy(n),n}var AD=fr.Uint8Array;const ws=AD;function kD(e){var t=new e.constructor(e.byteLength);return new ws(t).set(new ws(e)),t}function DD(e,t){var r=t?kD(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function jD(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Em=Object.create,ID=function(){function e(){}return function(t){if(!ar(t))return{};if(Em)return Em(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const LD=ID;function Om(e,t){return function(r){return e(t(r))}}var FD=Om(Object.getPrototypeOf,Object);const Pm=FD;var RD=Object.prototype;function Eu(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||RD;return e===r}function ND(e){return typeof e.constructor=="function"&&!Eu(e)?LD(Pm(e)):{}}function tn(e){return e!=null&&typeof e=="object"}var BD="[object Arguments]";function Mm(e){return tn(e)&&Tn(e)==BD}var _m=Object.prototype,zD=_m.hasOwnProperty,WD=_m.propertyIsEnumerable,VD=Mm(function(){return arguments}())?Mm:function(e){return tn(e)&&zD.call(e,"callee")&&!WD.call(e,"callee")};const Cs=VD;var HD=Array.isArray;const Qt=HD;var UD=9007199254740991;function Ou(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=UD}function pi(e){return e!=null&&Ou(e.length)&&!wu(e)}function YD(e){return tn(e)&&pi(e)}function GD(){return!1}var $m=typeof z=="object"&&z&&!z.nodeType&&z,Am=$m&&typeof module=="object"&&module&&!module.nodeType&&module,qD=Am&&Am.exports===$m,km=qD?fr.Buffer:void 0,XD=km?km.isBuffer:void 0,KD=XD||GD;const Ts=KD;var ZD="[object Object]",QD=Function.prototype,JD=Object.prototype,Dm=QD.toString,ej=JD.hasOwnProperty,tj=Dm.call(Object);function rj(e){if(!tn(e)||Tn(e)!=ZD)return!1;var t=Pm(e);if(t===null)return!0;var r=ej.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Dm.call(r)==tj}var nj="[object Arguments]",ij="[object Array]",oj="[object Boolean]",aj="[object Date]",sj="[object Error]",lj="[object Function]",cj="[object Map]",uj="[object Number]",fj="[object Object]",dj="[object RegExp]",hj="[object Set]",pj="[object String]",gj="[object WeakMap]",mj="[object ArrayBuffer]",vj="[object DataView]",yj="[object Float32Array]",bj="[object Float64Array]",xj="[object Int8Array]",wj="[object Int16Array]",Cj="[object Int32Array]",Tj="[object Uint8Array]",Sj="[object Uint8ClampedArray]",Ej="[object Uint16Array]",Oj="[object Uint32Array]",at={};at[yj]=at[bj]=at[xj]=at[wj]=at[Cj]=at[Tj]=at[Sj]=at[Ej]=at[Oj]=!0,at[nj]=at[ij]=at[mj]=at[oj]=at[vj]=at[aj]=at[sj]=at[lj]=at[cj]=at[uj]=at[fj]=at[dj]=at[hj]=at[pj]=at[gj]=!1;function Pj(e){return tn(e)&&Ou(e.length)&&!!at[Tn(e)]}function Mj(e){return function(t){return e(t)}}var jm=typeof z=="object"&&z&&!z.nodeType&&z,No=jm&&typeof module=="object"&&module&&!module.nodeType&&module,_j=No&&No.exports===jm,Pu=_j&&mm.process,$j=function(){try{var e=No&&No.require&&No.require("util").types;return e||Pu&&Pu.binding&&Pu.binding("util")}catch{}}();const Im=$j;var Lm=Im&&Im.isTypedArray,Aj=Lm?Mj(Lm):Pj;const Mu=Aj;function _u(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var kj=Object.prototype,Dj=kj.hasOwnProperty;function jj(e,t,r){var n=e[t];(!(Dj.call(e,t)&&Io(n,r))||r===void 0&&!(t in e))&&Tu(e,t,r)}function Ij(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=n?n(r[s],e[s],s,r,e):void 0;c===void 0&&(c=e[s]),i?Tu(r,s,c):jj(r,s,c)}return r}function Lj(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Fj=9007199254740991,Rj=/^(?:0|[1-9]\d*)$/;function $u(e,t){var r=typeof e;return t=t??Fj,!!t&&(r=="number"||r!="symbol"&&Rj.test(e))&&e>-1&&e%1==0&&e<t}var Nj=Object.prototype,Bj=Nj.hasOwnProperty;function Fm(e,t){var r=Qt(e),n=!r&&Cs(e),i=!r&&!n&&Ts(e),o=!r&&!n&&!i&&Mu(e),a=r||n||i||o,s=a?Lj(e.length,String):[],c=s.length;for(var l in e)(t||Bj.call(e,l))&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||$u(l,c)))&&s.push(l);return s}function zj(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Wj=Object.prototype,Vj=Wj.hasOwnProperty;function Hj(e){if(!ar(e))return zj(e);var t=Eu(e),r=[];for(var n in e)n=="constructor"&&(t||!Vj.call(e,n))||r.push(n);return r}function Rm(e){return pi(e)?Fm(e,!0):Hj(e)}function Uj(e){return Ij(e,Rm(e))}function Yj(e,t,r,n,i,o,a){var s=_u(e,r),c=_u(t,r),l=a.get(c);if(l){Su(e,r,l);return}var u=o?o(s,c,r+"",e,t,a):void 0,f=u===void 0;if(f){var d=Qt(c),h=!d&&Ts(c),g=!d&&!h&&Mu(c);u=c,d||h||g?Qt(s)?u=s:YD(s)?u=jD(s):h?(f=!1,u=$D(c,!0)):g?(f=!1,u=DD(c,!0)):u=[]:rj(c)||Cs(c)?(u=s,Cs(s)?u=Uj(s):(!ar(s)||wu(s))&&(u=ND(c))):f=!1}f&&(a.set(c,u),i(u,c,n,o,a),a.delete(c)),Su(e,r,u)}function Nm(e,t,r,n,i){e!==t&&xm(t,function(o,a){if(i||(i=new Tr),ar(o))Yj(e,t,a,r,Nm,n,i);else{var s=n?n(_u(e,a),o,a+"",e,t,i):void 0;s===void 0&&(s=o),Su(e,a,s)}},Rm)}function Ss(e){return e}function Gj(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Bm=Math.max;function qj(e,t,r){return t=Bm(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=Bm(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),Gj(e,this,s)}}function Xj(e){return function(){return e}}var Kj=xs?function(e,t){return xs(e,"toString",{configurable:!0,enumerable:!1,value:Xj(t),writable:!0})}:Ss;const Zj=Kj;var Qj=800,Jj=16,eI=Date.now;function tI(e){var t=0,r=0;return function(){var n=eI(),i=Jj-(n-r);if(r=n,i>0){if(++t>=Qj)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var rI=tI(Zj);const nI=rI;function iI(e,t){return nI(qj(e,t,Ss),e+"")}function oI(e,t,r){if(!ar(r))return!1;var n=typeof t;return(n=="number"?pi(r)&&$u(t,r.length):n=="string"&&t in r)?Io(r[t],e):!1}function aI(e){return iI(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&oI(r[0],r[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n<i;){var s=r[n];s&&e(t,s,n,o)}return t})}var sI=aI(function(e,t,r){Nm(e,t,r)});const Vt=sI;var Bo=function(t){var r=t.zDepth,n=t.radius,i=t.background,o=t.children,a=t.styles,s=a===void 0?{}:a,c=Ce(Vt({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+r+"px "+r*4+"px rgba(0,0,0,.24)",borderRadius:n,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":r===1});return p.createElement("div",{style:c.wrap},p.createElement("div",{style:c.bg}),p.createElement("div",{style:c.content},o))};Bo.propTypes={background:A.string,zDepth:A.oneOf([0,1,2,3,4,5]),radius:A.number,styles:A.object},Bo.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var lI=function(){return fr.Date.now()};const Au=lI;var cI=/\s/;function uI(e){for(var t=e.length;t--&&cI.test(e.charAt(t)););return t}var fI=/^\s+/;function dI(e){return e&&e.slice(0,uI(e)+1).replace(fI,"")}var hI="[object Symbol]";function Es(e){return typeof e=="symbol"||tn(e)&&Tn(e)==hI}var zm=0/0,pI=/^[-+]0x[0-9a-f]+$/i,gI=/^0b[01]+$/i,mI=/^0o[0-7]+$/i,vI=parseInt;function Wm(e){if(typeof e=="number")return e;if(Es(e))return zm;if(ar(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ar(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=dI(e);var r=gI.test(e);return r||mI.test(e)?vI(e.slice(2),r?2:8):pI.test(e)?zm:+e}var yI="Expected a function",bI=Math.max,xI=Math.min;function zo(e,t,r){var n,i,o,a,s,c,l=0,u=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(yI);t=Wm(t)||0,ar(r)&&(u=!!r.leading,f="maxWait"in r,o=f?bI(Wm(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d);function h(E){var O=n,M=i;return n=i=void 0,l=E,a=e.apply(M,O),a}function g(E){return l=E,s=setTimeout(x,t),u?h(E):a}function m(E){var O=E-c,M=E-l,L=t-O;return f?xI(L,o-M):L}function y(E){var O=E-c,M=E-l;return c===void 0||O>=t||O<0||f&&M>=o}function x(){var E=Au();if(y(E))return b(E);s=setTimeout(x,m(E))}function b(E){return s=void 0,d&&n?h(E):(n=i=void 0,a)}function T(){s!==void 0&&clearTimeout(s),l=0,n=c=i=s=void 0}function P(){return s===void 0?a:b(Au())}function w(){var E=Au(),O=y(E);if(n=arguments,i=this,c=E,O){if(s===void 0)return g(c);if(f)return clearTimeout(s),s=setTimeout(x,t),h(c)}return s===void 0&&(s=setTimeout(x,t)),a}return w.cancel=T,w.flush=P,w}var wI="Expected a function";function Vm(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(wI);return ar(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),zo(e,t,{leading:n,maxWait:t,trailing:i})}var CI=function(t,r,n){var i=n.getBoundingClientRect(),o=i.width,a=i.height,s=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,l=s-(n.getBoundingClientRect().left+window.pageXOffset),u=c-(n.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o&&(l=o),u<0?u=0:u>a&&(u=a);var f=l/o,d=1-u/a;return{h:r.h,s:f,v:d,a:r.a,source:"hsv"}},TI=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function SI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EI(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function OI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Os=function(e){OI(t,e);function t(r){SI(this,t);var n=EI(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));return n.handleChange=function(i){typeof n.props.onChange=="function"&&n.throttle(n.props.onChange,CI(i,n.props.hsl,n.container),i)},n.handleMouseDown=function(i){n.handleChange(i);var o=n.getContainerRenderWindow();o.addEventListener("mousemove",n.handleChange),o.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=Vm(function(i,o,a){i(o,a)},50),n}return TI(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var n=this.container,i=window;!i.document.contains(n)&&i.parent!==i;)i=i.parent;return i}},{key:"unbindEventListeners",value:function(){var n=this.getContainerRenderWindow();n.removeEventListener("mousemove",this.handleChange),n.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var n=this,i=this.props.style||{},o=i.color,a=i.white,s=i.black,c=i.pointer,l=i.circle,u=Ce({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-(this.props.hsv.v*100)+100+"%",left:this.props.hsv.s*100+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
121
+ `),p.createElement("div",{style:a.pointer},this.props.pointer?p.createElement(this.props.pointer,this.props):p.createElement("div",{style:a.slider}))))}}]),t}(p.PureComponent||p.Component);function bk(){this.__data__=[],this.size=0}function Io(e,t){return e===t||e!==e&&t!==t}function ys(e,t){for(var r=e.length;r--;)if(Io(e[r][0],t))return r;return-1}var xk=Array.prototype,wk=xk.splice;function Ck(e){var t=this.__data__,r=ys(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():wk.call(t,r,1),--this.size,!0}function Sk(e){var t=this.__data__,r=ys(t,e);return r<0?void 0:t[r][1]}function Tk(e){return ys(this.__data__,e)>-1}function Ek(e,t){var r=this.__data__,n=ys(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Rr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Rr.prototype.clear=bk,Rr.prototype.delete=Ck,Rr.prototype.get=Sk,Rr.prototype.has=Tk,Rr.prototype.set=Ek;function Ok(){this.__data__=new Rr,this.size=0}function Pk(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Mk(e){return this.__data__.get(e)}function _k(e){return this.__data__.has(e)}var $k=typeof global=="object"&&global&&global.Object===Object&&global;const mm=$k;var Ak=typeof self=="object"&&self&&self.Object===Object&&self,kk=mm||Ak||Function("return this")();const fr=kk;var Dk=fr.Symbol;const en=Dk;var vm=Object.prototype,jk=vm.hasOwnProperty,Ik=vm.toString,Lo=en?en.toStringTag:void 0;function Lk(e){var t=jk.call(e,Lo),r=e[Lo];try{e[Lo]=void 0;var n=!0}catch{}var i=Ik.call(e);return n&&(t?e[Lo]=r:delete e[Lo]),i}var Fk=Object.prototype,Rk=Fk.toString;function Nk(e){return Rk.call(e)}var Bk="[object Null]",zk="[object Undefined]",ym=en?en.toStringTag:void 0;function Sn(e){return e==null?e===void 0?zk:Bk:ym&&ym in Object(e)?Lk(e):Nk(e)}function ar(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Wk="[object AsyncFunction]",Vk="[object Function]",Hk="[object GeneratorFunction]",Uk="[object Proxy]";function wu(e){if(!ar(e))return!1;var t=Sn(e);return t==Vk||t==Hk||t==Wk||t==Uk}var Yk=fr["__core-js_shared__"];const Cu=Yk;var bm=function(){var e=/[^.]+$/.exec(Cu&&Cu.keys&&Cu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Gk(e){return!!bm&&bm in e}var qk=Function.prototype,Xk=qk.toString;function Tn(e){if(e!=null){try{return Xk.call(e)}catch{}try{return e+""}catch{}}return""}var Kk=/[\\^$.*+?()[\]{}|]/g,Zk=/^\[object .+?Constructor\]$/,Qk=Function.prototype,Jk=Object.prototype,eD=Qk.toString,tD=Jk.hasOwnProperty,rD=RegExp("^"+eD.call(tD).replace(Kk,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nD(e){if(!ar(e)||Gk(e))return!1;var t=wu(e)?rD:Zk;return t.test(Tn(e))}function iD(e,t){return e==null?void 0:e[t]}function En(e,t){var r=iD(e,t);return nD(r)?r:void 0}var oD=En(fr,"Map");const Fo=oD;var aD=En(Object,"create");const Ro=aD;function sD(){this.__data__=Ro?Ro(null):{},this.size=0}function lD(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var cD="__lodash_hash_undefined__",uD=Object.prototype,fD=uD.hasOwnProperty;function dD(e){var t=this.__data__;if(Ro){var r=t[e];return r===cD?void 0:r}return fD.call(t,e)?t[e]:void 0}var hD=Object.prototype,pD=hD.hasOwnProperty;function gD(e){var t=this.__data__;return Ro?t[e]!==void 0:pD.call(t,e)}var mD="__lodash_hash_undefined__";function vD(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ro&&t===void 0?mD:t,this}function On(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}On.prototype.clear=sD,On.prototype.delete=lD,On.prototype.get=dD,On.prototype.has=gD,On.prototype.set=vD;function yD(){this.size=0,this.__data__={hash:new On,map:new(Fo||Rr),string:new On}}function bD(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function bs(e,t){var r=e.__data__;return bD(t)?r[typeof t=="string"?"string":"hash"]:r.map}function xD(e){var t=bs(this,e).delete(e);return this.size-=t?1:0,t}function wD(e){return bs(this,e).get(e)}function CD(e){return bs(this,e).has(e)}function SD(e,t){var r=bs(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Nr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Nr.prototype.clear=yD,Nr.prototype.delete=xD,Nr.prototype.get=wD,Nr.prototype.has=CD,Nr.prototype.set=SD;var TD=200;function ED(e,t){var r=this.__data__;if(r instanceof Rr){var n=r.__data__;if(!Fo||n.length<TD-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Nr(n)}return r.set(e,t),this.size=r.size,this}function Sr(e){var t=this.__data__=new Rr(e);this.size=t.size}Sr.prototype.clear=Ok,Sr.prototype.delete=Pk,Sr.prototype.get=Mk,Sr.prototype.has=_k,Sr.prototype.set=ED;var OD=function(){try{var e=En(Object,"defineProperty");return e({},"",{}),e}catch{}}();const xs=OD;function Su(e,t,r){t=="__proto__"&&xs?xs(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Tu(e,t,r){(r!==void 0&&!Io(e[t],r)||r===void 0&&!(t in e))&&Su(e,t,r)}function PD(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var c=a[e?s:++i];if(r(o[c],c,o)===!1)break}return t}}var MD=PD();const xm=MD;var wm=typeof z=="object"&&z&&!z.nodeType&&z,Cm=wm&&typeof module=="object"&&module&&!module.nodeType&&module,_D=Cm&&Cm.exports===wm,Sm=_D?fr.Buffer:void 0,Tm=Sm?Sm.allocUnsafe:void 0;function $D(e,t){if(t)return e.slice();var r=e.length,n=Tm?Tm(r):new e.constructor(r);return e.copy(n),n}var AD=fr.Uint8Array;const ws=AD;function kD(e){var t=new e.constructor(e.byteLength);return new ws(t).set(new ws(e)),t}function DD(e,t){var r=t?kD(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function jD(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Em=Object.create,ID=function(){function e(){}return function(t){if(!ar(t))return{};if(Em)return Em(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const LD=ID;function Om(e,t){return function(r){return e(t(r))}}var FD=Om(Object.getPrototypeOf,Object);const Pm=FD;var RD=Object.prototype;function Eu(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||RD;return e===r}function ND(e){return typeof e.constructor=="function"&&!Eu(e)?LD(Pm(e)):{}}function tn(e){return e!=null&&typeof e=="object"}var BD="[object Arguments]";function Mm(e){return tn(e)&&Sn(e)==BD}var _m=Object.prototype,zD=_m.hasOwnProperty,WD=_m.propertyIsEnumerable,VD=Mm(function(){return arguments}())?Mm:function(e){return tn(e)&&zD.call(e,"callee")&&!WD.call(e,"callee")};const Cs=VD;var HD=Array.isArray;const Qt=HD;var UD=9007199254740991;function Ou(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=UD}function pi(e){return e!=null&&Ou(e.length)&&!wu(e)}function YD(e){return tn(e)&&pi(e)}function GD(){return!1}var $m=typeof z=="object"&&z&&!z.nodeType&&z,Am=$m&&typeof module=="object"&&module&&!module.nodeType&&module,qD=Am&&Am.exports===$m,km=qD?fr.Buffer:void 0,XD=km?km.isBuffer:void 0,KD=XD||GD;const Ss=KD;var ZD="[object Object]",QD=Function.prototype,JD=Object.prototype,Dm=QD.toString,ej=JD.hasOwnProperty,tj=Dm.call(Object);function rj(e){if(!tn(e)||Sn(e)!=ZD)return!1;var t=Pm(e);if(t===null)return!0;var r=ej.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Dm.call(r)==tj}var nj="[object Arguments]",ij="[object Array]",oj="[object Boolean]",aj="[object Date]",sj="[object Error]",lj="[object Function]",cj="[object Map]",uj="[object Number]",fj="[object Object]",dj="[object RegExp]",hj="[object Set]",pj="[object String]",gj="[object WeakMap]",mj="[object ArrayBuffer]",vj="[object DataView]",yj="[object Float32Array]",bj="[object Float64Array]",xj="[object Int8Array]",wj="[object Int16Array]",Cj="[object Int32Array]",Sj="[object Uint8Array]",Tj="[object Uint8ClampedArray]",Ej="[object Uint16Array]",Oj="[object Uint32Array]",at={};at[yj]=at[bj]=at[xj]=at[wj]=at[Cj]=at[Sj]=at[Tj]=at[Ej]=at[Oj]=!0,at[nj]=at[ij]=at[mj]=at[oj]=at[vj]=at[aj]=at[sj]=at[lj]=at[cj]=at[uj]=at[fj]=at[dj]=at[hj]=at[pj]=at[gj]=!1;function Pj(e){return tn(e)&&Ou(e.length)&&!!at[Sn(e)]}function Mj(e){return function(t){return e(t)}}var jm=typeof z=="object"&&z&&!z.nodeType&&z,No=jm&&typeof module=="object"&&module&&!module.nodeType&&module,_j=No&&No.exports===jm,Pu=_j&&mm.process,$j=function(){try{var e=No&&No.require&&No.require("util").types;return e||Pu&&Pu.binding&&Pu.binding("util")}catch{}}();const Im=$j;var Lm=Im&&Im.isTypedArray,Aj=Lm?Mj(Lm):Pj;const Mu=Aj;function _u(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var kj=Object.prototype,Dj=kj.hasOwnProperty;function jj(e,t,r){var n=e[t];(!(Dj.call(e,t)&&Io(n,r))||r===void 0&&!(t in e))&&Su(e,t,r)}function Ij(e,t,r,n){var i=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var s=t[o],c=n?n(r[s],e[s],s,r,e):void 0;c===void 0&&(c=e[s]),i?Su(r,s,c):jj(r,s,c)}return r}function Lj(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Fj=9007199254740991,Rj=/^(?:0|[1-9]\d*)$/;function $u(e,t){var r=typeof e;return t=t??Fj,!!t&&(r=="number"||r!="symbol"&&Rj.test(e))&&e>-1&&e%1==0&&e<t}var Nj=Object.prototype,Bj=Nj.hasOwnProperty;function Fm(e,t){var r=Qt(e),n=!r&&Cs(e),i=!r&&!n&&Ss(e),o=!r&&!n&&!i&&Mu(e),a=r||n||i||o,s=a?Lj(e.length,String):[],c=s.length;for(var l in e)(t||Bj.call(e,l))&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||$u(l,c)))&&s.push(l);return s}function zj(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Wj=Object.prototype,Vj=Wj.hasOwnProperty;function Hj(e){if(!ar(e))return zj(e);var t=Eu(e),r=[];for(var n in e)n=="constructor"&&(t||!Vj.call(e,n))||r.push(n);return r}function Rm(e){return pi(e)?Fm(e,!0):Hj(e)}function Uj(e){return Ij(e,Rm(e))}function Yj(e,t,r,n,i,o,a){var s=_u(e,r),c=_u(t,r),l=a.get(c);if(l){Tu(e,r,l);return}var u=o?o(s,c,r+"",e,t,a):void 0,f=u===void 0;if(f){var d=Qt(c),h=!d&&Ss(c),g=!d&&!h&&Mu(c);u=c,d||h||g?Qt(s)?u=s:YD(s)?u=jD(s):h?(f=!1,u=$D(c,!0)):g?(f=!1,u=DD(c,!0)):u=[]:rj(c)||Cs(c)?(u=s,Cs(s)?u=Uj(s):(!ar(s)||wu(s))&&(u=ND(c))):f=!1}f&&(a.set(c,u),i(u,c,n,o,a),a.delete(c)),Tu(e,r,u)}function Nm(e,t,r,n,i){e!==t&&xm(t,function(o,a){if(i||(i=new Sr),ar(o))Yj(e,t,a,r,Nm,n,i);else{var s=n?n(_u(e,a),o,a+"",e,t,i):void 0;s===void 0&&(s=o),Tu(e,a,s)}},Rm)}function Ts(e){return e}function Gj(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var Bm=Math.max;function qj(e,t,r){return t=Bm(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,o=Bm(n.length-t,0),a=Array(o);++i<o;)a[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(a),Gj(e,this,s)}}function Xj(e){return function(){return e}}var Kj=xs?function(e,t){return xs(e,"toString",{configurable:!0,enumerable:!1,value:Xj(t),writable:!0})}:Ts;const Zj=Kj;var Qj=800,Jj=16,eI=Date.now;function tI(e){var t=0,r=0;return function(){var n=eI(),i=Jj-(n-r);if(r=n,i>0){if(++t>=Qj)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var rI=tI(Zj);const nI=rI;function iI(e,t){return nI(qj(e,t,Ts),e+"")}function oI(e,t,r){if(!ar(r))return!1;var n=typeof t;return(n=="number"?pi(r)&&$u(t,r.length):n=="string"&&t in r)?Io(r[t],e):!1}function aI(e){return iI(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&oI(r[0],r[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n<i;){var s=r[n];s&&e(t,s,n,o)}return t})}var sI=aI(function(e,t,r){Nm(e,t,r)});const Vt=sI;var Bo=function(t){var r=t.zDepth,n=t.radius,i=t.background,o=t.children,a=t.styles,s=a===void 0?{}:a,c=Ce(Vt({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+r+"px "+r*4+"px rgba(0,0,0,.24)",borderRadius:n,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":r===1});return p.createElement("div",{style:c.wrap},p.createElement("div",{style:c.bg}),p.createElement("div",{style:c.content},o))};Bo.propTypes={background:A.string,zDepth:A.oneOf([0,1,2,3,4,5]),radius:A.number,styles:A.object},Bo.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var lI=function(){return fr.Date.now()};const Au=lI;var cI=/\s/;function uI(e){for(var t=e.length;t--&&cI.test(e.charAt(t)););return t}var fI=/^\s+/;function dI(e){return e&&e.slice(0,uI(e)+1).replace(fI,"")}var hI="[object Symbol]";function Es(e){return typeof e=="symbol"||tn(e)&&Sn(e)==hI}var zm=0/0,pI=/^[-+]0x[0-9a-f]+$/i,gI=/^0b[01]+$/i,mI=/^0o[0-7]+$/i,vI=parseInt;function Wm(e){if(typeof e=="number")return e;if(Es(e))return zm;if(ar(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ar(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=dI(e);var r=gI.test(e);return r||mI.test(e)?vI(e.slice(2),r?2:8):pI.test(e)?zm:+e}var yI="Expected a function",bI=Math.max,xI=Math.min;function zo(e,t,r){var n,i,o,a,s,c,l=0,u=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(yI);t=Wm(t)||0,ar(r)&&(u=!!r.leading,f="maxWait"in r,o=f?bI(Wm(r.maxWait)||0,t):o,d="trailing"in r?!!r.trailing:d);function h(E){var O=n,M=i;return n=i=void 0,l=E,a=e.apply(M,O),a}function g(E){return l=E,s=setTimeout(x,t),u?h(E):a}function m(E){var O=E-c,M=E-l,L=t-O;return f?xI(L,o-M):L}function y(E){var O=E-c,M=E-l;return c===void 0||O>=t||O<0||f&&M>=o}function x(){var E=Au();if(y(E))return b(E);s=setTimeout(x,m(E))}function b(E){return s=void 0,d&&n?h(E):(n=i=void 0,a)}function S(){s!==void 0&&clearTimeout(s),l=0,n=c=i=s=void 0}function P(){return s===void 0?a:b(Au())}function w(){var E=Au(),O=y(E);if(n=arguments,i=this,c=E,O){if(s===void 0)return g(c);if(f)return clearTimeout(s),s=setTimeout(x,t),h(c)}return s===void 0&&(s=setTimeout(x,t)),a}return w.cancel=S,w.flush=P,w}var wI="Expected a function";function Vm(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(wI);return ar(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),zo(e,t,{leading:n,maxWait:t,trailing:i})}var CI=function(t,r,n){var i=n.getBoundingClientRect(),o=i.width,a=i.height,s=typeof t.pageX=="number"?t.pageX:t.touches[0].pageX,c=typeof t.pageY=="number"?t.pageY:t.touches[0].pageY,l=s-(n.getBoundingClientRect().left+window.pageXOffset),u=c-(n.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o&&(l=o),u<0?u=0:u>a&&(u=a);var f=l/o,d=1-u/a;return{h:r.h,s:f,v:d,a:r.a,source:"hsv"}},SI=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function TI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EI(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function OI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Os=function(e){OI(t,e);function t(r){TI(this,t);var n=EI(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));return n.handleChange=function(i){typeof n.props.onChange=="function"&&n.throttle(n.props.onChange,CI(i,n.props.hsl,n.container),i)},n.handleMouseDown=function(i){n.handleChange(i);var o=n.getContainerRenderWindow();o.addEventListener("mousemove",n.handleChange),o.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=Vm(function(i,o,a){i(o,a)},50),n}return SI(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var n=this.container,i=window;!i.document.contains(n)&&i.parent!==i;)i=i.parent;return i}},{key:"unbindEventListeners",value:function(){var n=this.getContainerRenderWindow();n.removeEventListener("mousemove",this.handleChange),n.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var n=this,i=this.props.style||{},o=i.color,a=i.white,s=i.black,c=i.pointer,l=i.circle,u=Ce({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-(this.props.hsv.v*100)+100+"%",left:this.props.hsv.s*100+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:`0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),
122
122
  0 0 1px 2px rgba(0,0,0,.4)`,borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:o,white:a,black:s,pointer:c,circle:l}},{custom:!!this.props.style});return p.createElement("div",{style:u.color,ref:function(d){return n.container=d},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},p.createElement("style",null,`
123
123
  .saturation-white {
124
124
  background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));
@@ -128,8 +128,8 @@ const theme2 = createTheme({ palette: {
128
128
  background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));
129
129
  background: linear-gradient(to top, #000, rgba(0,0,0,0));
130
130
  }
131
- `),p.createElement("div",{style:u.white,className:"saturation-white"},p.createElement("div",{style:u.black,className:"saturation-black"}),p.createElement("div",{style:u.pointer},this.props.pointer?p.createElement(this.props.pointer,this.props):p.createElement("div",{style:u.circle}))))}}]),t}(p.PureComponent||p.Component);function PI(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var MI=Om(Object.keys,Object);const _I=MI;var $I=Object.prototype,AI=$I.hasOwnProperty;function kI(e){if(!Eu(e))return _I(e);var t=[];for(var r in Object(e))AI.call(e,r)&&r!="constructor"&&t.push(r);return t}function ku(e){return pi(e)?Fm(e):kI(e)}function DI(e,t){return e&&xm(e,t,ku)}function jI(e,t){return function(r,n){if(r==null)return r;if(!pi(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&n(a[o],o,a)!==!1;);return r}}var II=jI(DI);const Hm=II;function LI(e){return typeof e=="function"?e:Ss}function FI(e,t){var r=Qt(e)?PI:Hm;return r(e,LI(t))}function Ps(e){"@babel/helpers - typeof";return Ps=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ps(e)}var RI=/^\s+/,NI=/\s+$/;function he(e,t){if(e=e||"",t=t||{},e instanceof he)return e;if(!(this instanceof he))return new he(e,t);var r=BI(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}he.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),r,n,i,o,a,s;return r=t.r/255,n=t.g/255,i=t.b/255,r<=.03928?o=r/12.92:o=Math.pow((r+.055)/1.055,2.4),n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),i<=.03928?s=i/12.92:s=Math.pow((i+.055)/1.055,2.4),.2126*o+.7152*a+.0722*s},setAlpha:function(t){return this._a=Km(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Ym(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Ym(this._r,this._g,this._b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this._a==1?"hsv("+r+", "+n+"%, "+i+"%)":"hsva("+r+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=Um(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Um(this._r,this._g,this._b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this._a==1?"hsl("+r+", "+n+"%, "+i+"%)":"hsla("+r+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return Gm(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return HI(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(ct(this._r,255)*100)+"%",g:Math.round(ct(this._g,255)*100)+"%",b:Math.round(ct(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(ct(this._r,255)*100)+"%, "+Math.round(ct(this._g,255)*100)+"%, "+Math.round(ct(this._b,255)*100)+"%)":"rgba("+Math.round(ct(this._r,255)*100)+"%, "+Math.round(ct(this._g,255)*100)+"%, "+Math.round(ct(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:rL[Gm(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var r="#"+qm(this._r,this._g,this._b,this._a),n=r,i=this._gradientType?"GradientType = 1, ":"";if(t){var o=he(t);n="#"+qm(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+r+",endColorstr="+n+")"},toString:function(t){var r=!!t;t=t||this._format;var n=!1,i=this._a<1&&this._a>=0,o=!r&&i&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return o?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return he(this.toString())},_applyModification:function(t,r){var n=t.apply(null,[this].concat([].slice.call(r)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(qI,arguments)},brighten:function(){return this._applyModification(XI,arguments)},darken:function(){return this._applyModification(KI,arguments)},desaturate:function(){return this._applyModification(UI,arguments)},saturate:function(){return this._applyModification(YI,arguments)},greyscale:function(){return this._applyModification(GI,arguments)},spin:function(){return this._applyModification(ZI,arguments)},_applyCombination:function(t,r){return t.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(eL,arguments)},complement:function(){return this._applyCombination(QI,arguments)},monochromatic:function(){return this._applyCombination(tL,arguments)},splitcomplement:function(){return this._applyCombination(JI,arguments)},triad:function(){return this._applyCombination(Xm,[3])},tetrad:function(){return this._applyCombination(Xm,[4])}},he.fromRatio=function(e,t){if(Ps(e)=="object"){var r={};for(var n in e)e.hasOwnProperty(n)&&(n==="a"?r[n]=e[n]:r[n]=Wo(e[n]));e=r}return he(e,t)};function BI(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=aL(e)),Ps(e)=="object"&&(Br(e.r)&&Br(e.g)&&Br(e.b)?(t=zI(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Br(e.h)&&Br(e.s)&&Br(e.v)?(n=Wo(e.s),i=Wo(e.v),t=VI(e.h,n,i),a=!0,s="hsv"):Br(e.h)&&Br(e.s)&&Br(e.l)&&(n=Wo(e.s),o=Wo(e.l),t=WI(e.h,n,o),a=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=Km(r),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}function zI(e,t,r){return{r:ct(e,255)*255,g:ct(t,255)*255,b:ct(r,255)*255}}function Um(e,t,r){e=ct(e,255),t=ct(t,255),r=ct(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o,a,s=(n+i)/2;if(n==i)o=a=0;else{var c=n-i;switch(a=s>.5?c/(2-n-i):c/(n+i),n){case e:o=(t-r)/c+(t<r?6:0);break;case t:o=(r-e)/c+2;break;case r:o=(e-t)/c+4;break}o/=6}return{h:o,s:a,l:s}}function WI(e,t,r){var n,i,o;e=ct(e,360),t=ct(t,100),r=ct(r,100);function a(l,u,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?l+(u-l)*6*f:f<1/2?u:f<2/3?l+(u-l)*(2/3-f)*6:l}if(t===0)n=i=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=a(c,s,e+1/3),i=a(c,s,e),o=a(c,s,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Ym(e,t,r){e=ct(e,255),t=ct(t,255),r=ct(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o,a,s=n,c=n-i;if(a=n===0?0:c/n,n==i)o=0;else{switch(n){case e:o=(t-r)/c+(t<r?6:0);break;case t:o=(r-e)/c+2;break;case r:o=(e-t)/c+4;break}o/=6}return{h:o,s:a,v:s}}function VI(e,t,r){e=ct(e,360)*6,t=ct(t,100),r=ct(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),s=r*(1-(1-i)*t),c=n%6,l=[r,a,o,o,s,r][c],u=[s,r,r,a,o,o][c],f=[o,o,s,r,r,a][c];return{r:l*255,g:u*255,b:f*255}}function Gm(e,t,r,n){var i=[dr(Math.round(e).toString(16)),dr(Math.round(t).toString(16)),dr(Math.round(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function HI(e,t,r,n,i){var o=[dr(Math.round(e).toString(16)),dr(Math.round(t).toString(16)),dr(Math.round(r).toString(16)),dr(Zm(n))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function qm(e,t,r,n){var i=[dr(Zm(n)),dr(Math.round(e).toString(16)),dr(Math.round(t).toString(16)),dr(Math.round(r).toString(16))];return i.join("")}he.equals=function(e,t){return!e||!t?!1:he(e).toRgbString()==he(t).toRgbString()},he.random=function(){return he.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function UI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.s-=t/100,r.s=Ms(r.s),he(r)}function YI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.s+=t/100,r.s=Ms(r.s),he(r)}function GI(e){return he(e).desaturate(100)}function qI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.l+=t/100,r.l=Ms(r.l),he(r)}function XI(e,t){t=t===0?0:t||10;var r=he(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),he(r)}function KI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.l-=t/100,r.l=Ms(r.l),he(r)}function ZI(e,t){var r=he(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,he(r)}function QI(e){var t=he(e).toHsl();return t.h=(t.h+180)%360,he(t)}function Xm(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=he(e).toHsl(),n=[he(e)],i=360/t,o=1;o<t;o++)n.push(he({h:(r.h+o*i)%360,s:r.s,l:r.l}));return n}function JI(e){var t=he(e).toHsl(),r=t.h;return[he(e),he({h:(r+72)%360,s:t.s,l:t.l}),he({h:(r+216)%360,s:t.s,l:t.l})]}function eL(e,t,r){t=t||6,r=r||30;var n=he(e).toHsl(),i=360/r,o=[he(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(he(n));return o}function tL(e,t){t=t||6;for(var r=he(e).toHsv(),n=r.h,i=r.s,o=r.v,a=[],s=1/t;t--;)a.push(he({h:n,s:i,v:o})),o=(o+s)%1;return a}he.mix=function(e,t,r){r=r===0?0:r||50;var n=he(e).toRgb(),i=he(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return he(a)},he.readability=function(e,t){var r=he(e),n=he(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},he.isReadable=function(e,t,r){var n=he.readability(e,t),i,o;switch(o=!1,i=sL(r),i.level+i.size){case"AAsmall":case"AAAlarge":o=n>=4.5;break;case"AAlarge":o=n>=3;break;case"AAAsmall":o=n>=7;break}return o},he.mostReadable=function(e,t,r){var n=null,i=0,o,a,s,c;r=r||{},a=r.includeFallbackColors,s=r.level,c=r.size;for(var l=0;l<t.length;l++)o=he.readability(e,t[l]),o>i&&(i=o,n=he(t[l]));return he.isReadable(e,n,{level:s,size:c})||!a?n:(r.includeFallbackColors=!1,he.mostReadable(e,["#fff","#000"],r))};var Du=he.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},rL=he.hexNames=nL(Du);function nL(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Km(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ct(e,t){iL(e)&&(e="100%");var r=oL(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Ms(e){return Math.min(1,Math.max(0,e))}function Jt(e){return parseInt(e,16)}function iL(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function oL(e){return typeof e=="string"&&e.indexOf("%")!=-1}function dr(e){return e.length==1?"0"+e:""+e}function Wo(e){return e<=1&&(e=e*100+"%"),e}function Zm(e){return Math.round(parseFloat(e)*255).toString(16)}function Qm(e){return Jt(e)/255}var hr=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",r="(?:"+t+")|(?:"+e+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",i="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Br(e){return!!hr.CSS_UNIT.exec(e)}function aL(e){e=e.replace(RI,"").replace(NI,"").toLowerCase();var t=!1;if(Du[e])e=Du[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=hr.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=hr.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=hr.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=hr.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=hr.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=hr.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=hr.hex8.exec(e))?{r:Jt(r[1]),g:Jt(r[2]),b:Jt(r[3]),a:Qm(r[4]),format:t?"name":"hex8"}:(r=hr.hex6.exec(e))?{r:Jt(r[1]),g:Jt(r[2]),b:Jt(r[3]),format:t?"name":"hex"}:(r=hr.hex4.exec(e))?{r:Jt(r[1]+""+r[1]),g:Jt(r[2]+""+r[2]),b:Jt(r[3]+""+r[3]),a:Qm(r[4]+""+r[4]),format:t?"name":"hex8"}:(r=hr.hex3.exec(e))?{r:Jt(r[1]+""+r[1]),g:Jt(r[2]+""+r[2]),b:Jt(r[3]+""+r[3]),format:t?"name":"hex"}:!1}function sL(e){var t,r;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),r!=="small"&&r!=="large"&&(r="small"),{level:t,size:r}}var Jm=function(t){var r=["r","g","b","a","h","s","l","v"],n=0,i=0;return FI(r,function(o){if(t[o]&&(n+=1,isNaN(t[o])||(i+=1),o==="s"||o==="l")){var a=/^\d+%$/;a.test(t[o])&&(i+=1)}}),n===i?t:!1},Vo=function(t,r){var n=t.hex?he(t.hex):he(t),i=n.toHsl(),o=n.toHsv(),a=n.toRgb(),s=n.toHex();i.s===0&&(i.h=r||0,o.h=r||0);var c=s==="000000"&&a.a===0;return{hsl:i,hex:c?"transparent":"#"+s,rgb:a,hsv:o,oldHue:t.h||r||i.h,source:t.source}},rn=function(t){if(t==="transparent")return!0;var r=String(t).charAt(0)==="#"?1:0;return t.length!==4+r&&t.length<7+r&&he(t).isValid()},ju=function(t){if(!t)return"#fff";var r=Vo(t);if(r.hex==="transparent")return"rgba(0,0,0,0.4)";var n=(r.rgb.r*299+r.rgb.g*587+r.rgb.b*114)/1e3;return n>=128?"#000":"#fff"},Iu=function(t,r){var n=t.replace("°","");return he(r+" ("+n+")")._ok},Ho=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lL=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function cL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uL(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function fL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ht=function(t){var r=function(n){fL(i,n);function i(o){cL(this,i);var a=uL(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.handleChange=function(s,c){var l=Jm(s);if(l){var u=Vo(s,s.h||a.state.oldHue);a.setState(u),a.props.onChangeComplete&&a.debounce(a.props.onChangeComplete,u,c),a.props.onChange&&a.props.onChange(u,c)}},a.handleSwatchHover=function(s,c){var l=Jm(s);if(l){var u=Vo(s,s.h||a.state.oldHue);a.props.onSwatchHover&&a.props.onSwatchHover(u,c)}},a.state=Ho({},Vo(o.color,0)),a.debounce=zo(function(s,c,l){s(c,l)},100),a}return lL(i,[{key:"render",value:function(){var a={};return this.props.onSwatchHover&&(a.onSwatchHover=this.handleSwatchHover),p.createElement(t,Ho({},this.props,this.state,{onChange:this.handleChange},a))}}],[{key:"getDerivedStateFromProps",value:function(a,s){return Ho({},Vo(a.color,s.oldHue))}}]),i}(p.PureComponent||p.Component);return r.propTypes=Ho({},t.propTypes),r.defaultProps=Ho({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),r},dL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hL=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function pL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e1(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function gL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var mL=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){gL(i,n);function i(){var o,a,s,c;pL(this,i);for(var l=arguments.length,u=Array(l),f=0;f<l;f++)u[f]=arguments[f];return c=(a=(s=e1(this,(o=i.__proto__||Object.getPrototypeOf(i)).call.apply(o,[this].concat(u))),s),s.state={focus:!1},s.handleFocus=function(){return s.setState({focus:!0})},s.handleBlur=function(){return s.setState({focus:!1})},a),e1(s,c)}return hL(i,[{key:"render",value:function(){return p.createElement(r,{onFocus:this.handleFocus,onBlur:this.handleBlur},p.createElement(t,dL({},this.props,this.state)))}}]),i}(p.Component)},t1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vL=13,yL=function(t){var r=t.color,n=t.style,i=t.onClick,o=i===void 0?function(){}:i,a=t.onHover,s=t.title,c=s===void 0?r:s,l=t.children,u=t.focus,f=t.focusStyle,d=f===void 0?{}:f,h=r==="transparent",g=Ce({default:{swatch:t1({background:r,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,u?d:{})}}),m=function(P){return o(r,P)},y=function(P){return P.keyCode===vL&&o(r,P)},x=function(P){return a(r,P)},b={};return a&&(b.onMouseOver=x),p.createElement("div",t1({style:g.swatch,onClick:m,title:c,tabIndex:0,onKeyDown:y},b),l,h&&p.createElement(di,{borderRadius:g.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};const Pn=mL(yL);var bL=function(t){var r=t.direction,n=Ce({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:r==="vertical"});return p.createElement("div",{style:n.picker})},xL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r1=function(t){var r=t.rgb,n=t.hsl,i=t.width,o=t.height,a=t.onChange,s=t.direction,c=t.style,l=t.renderers,u=t.pointer,f=t.className,d=f===void 0?"":f,h=Ce({default:{picker:{position:"relative",width:i,height:o},alpha:{radius:"2px",style:c}}});return p.createElement("div",{style:h.picker,className:"alpha-picker "+d},p.createElement(xu,xL({},h.alpha,{rgb:r,hsl:n,pointer:u,renderers:l,onChange:a,direction:s})))};r1.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:bL},Ht(r1);function n1(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var wL="__lodash_hash_undefined__";function CL(e){return this.__data__.set(e,wL),this}function TL(e){return this.__data__.has(e)}function _s(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Nr;++t<r;)this.add(e[t])}_s.prototype.add=_s.prototype.push=CL,_s.prototype.has=TL;function SL(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function EL(e,t){return e.has(t)}var OL=1,PL=2;function i1(e,t,r,n,i,o){var a=r&OL,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e),u=o.get(t);if(l&&u)return l==t&&u==e;var f=-1,d=!0,h=r&PL?new _s:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var g=e[f],m=t[f];if(n)var y=a?n(m,g,f,t,e,o):n(g,m,f,e,t,o);if(y!==void 0){if(y)continue;d=!1;break}if(h){if(!SL(t,function(x,b){if(!EL(h,b)&&(g===x||i(g,x,r,n,o)))return h.push(b)})){d=!1;break}}else if(!(g===m||i(g,m,r,n,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function ML(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function _L(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var $L=1,AL=2,kL="[object Boolean]",DL="[object Date]",jL="[object Error]",IL="[object Map]",LL="[object Number]",FL="[object RegExp]",RL="[object Set]",NL="[object String]",BL="[object Symbol]",zL="[object ArrayBuffer]",WL="[object DataView]",o1=en?en.prototype:void 0,Lu=o1?o1.valueOf:void 0;function VL(e,t,r,n,i,o,a){switch(r){case WL:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case zL:return!(e.byteLength!=t.byteLength||!o(new ws(e),new ws(t)));case kL:case DL:case LL:return Io(+e,+t);case jL:return e.name==t.name&&e.message==t.message;case FL:case NL:return e==t+"";case IL:var s=ML;case RL:var c=n&$L;if(s||(s=_L),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;n|=AL,a.set(e,t);var u=i1(s(e),s(t),n,i,o,a);return a.delete(e),u;case BL:if(Lu)return Lu.call(e)==Lu.call(t)}return!1}function HL(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function UL(e,t,r){var n=t(e);return Qt(e)?n:HL(n,r(e))}function YL(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}function GL(){return[]}var qL=Object.prototype,XL=qL.propertyIsEnumerable,a1=Object.getOwnPropertySymbols,KL=a1?function(e){return e==null?[]:(e=Object(e),YL(a1(e),function(t){return XL.call(e,t)}))}:GL;const ZL=KL;function s1(e){return UL(e,ku,ZL)}var QL=1,JL=Object.prototype,eF=JL.hasOwnProperty;function tF(e,t,r,n,i,o){var a=r&QL,s=s1(e),c=s.length,l=s1(t),u=l.length;if(c!=u&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:eF.call(t,d)))return!1}var h=o.get(e),g=o.get(t);if(h&&g)return h==t&&g==e;var m=!0;o.set(e,t),o.set(t,e);for(var y=a;++f<c;){d=s[f];var x=e[d],b=t[d];if(n)var T=a?n(b,x,d,t,e,o):n(x,b,d,e,t,o);if(!(T===void 0?x===b||i(x,b,r,n,o):T)){m=!1;break}y||(y=d=="constructor")}if(m&&!y){var P=e.constructor,w=t.constructor;P!=w&&"constructor"in e&&"constructor"in t&&!(typeof P=="function"&&P instanceof P&&typeof w=="function"&&w instanceof w)&&(m=!1)}return o.delete(e),o.delete(t),m}var rF=En(fr,"DataView");const Fu=rF;var nF=En(fr,"Promise");const Ru=nF;var iF=En(fr,"Set");const Nu=iF;var oF=En(fr,"WeakMap");const Bu=oF;var l1="[object Map]",aF="[object Object]",c1="[object Promise]",u1="[object Set]",f1="[object WeakMap]",d1="[object DataView]",sF=Sn(Fu),lF=Sn(Fo),cF=Sn(Ru),uF=Sn(Nu),fF=Sn(Bu),Mn=Tn;(Fu&&Mn(new Fu(new ArrayBuffer(1)))!=d1||Fo&&Mn(new Fo)!=l1||Ru&&Mn(Ru.resolve())!=c1||Nu&&Mn(new Nu)!=u1||Bu&&Mn(new Bu)!=f1)&&(Mn=function(e){var t=Tn(e),r=t==aF?e.constructor:void 0,n=r?Sn(r):"";if(n)switch(n){case sF:return d1;case lF:return l1;case cF:return c1;case uF:return u1;case fF:return f1}return t});const h1=Mn;var dF=1,p1="[object Arguments]",g1="[object Array]",$s="[object Object]",hF=Object.prototype,m1=hF.hasOwnProperty;function pF(e,t,r,n,i,o){var a=Qt(e),s=Qt(t),c=a?g1:h1(e),l=s?g1:h1(t);c=c==p1?$s:c,l=l==p1?$s:l;var u=c==$s,f=l==$s,d=c==l;if(d&&Ts(e)){if(!Ts(t))return!1;a=!0,u=!1}if(d&&!u)return o||(o=new Tr),a||Mu(e)?i1(e,t,r,n,i,o):VL(e,t,c,r,n,i,o);if(!(r&dF)){var h=u&&m1.call(e,"__wrapped__"),g=f&&m1.call(t,"__wrapped__");if(h||g){var m=h?e.value():e,y=g?t.value():t;return o||(o=new Tr),i(m,y,r,n,o)}}return d?(o||(o=new Tr),tF(e,t,r,n,i,o)):!1}function zu(e,t,r,n,i){return e===t?!0:e==null||t==null||!tn(e)&&!tn(t)?e!==e&&t!==t:pF(e,t,r,n,zu,i)}var gF=1,mF=2;function vF(e,t,r,n){var i=r.length,o=i,a=!n;if(e==null)return!o;for(e=Object(e);i--;){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=r[i];var c=s[0],l=e[c],u=s[1];if(a&&s[2]){if(l===void 0&&!(c in e))return!1}else{var f=new Tr;if(n)var d=n(l,u,c,e,t,f);if(!(d===void 0?zu(u,l,gF|mF,n,f):d))return!1}}return!0}function v1(e){return e===e&&!ar(e)}function yF(e){for(var t=ku(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,v1(i)]}return t}function y1(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function bF(e){var t=yF(e);return t.length==1&&t[0][2]?y1(t[0][0],t[0][1]):function(r){return r===e||vF(r,e,t)}}var xF=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wF=/^\w*$/;function Wu(e,t){if(Qt(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Es(e)?!0:wF.test(e)||!xF.test(e)||t!=null&&e in Object(t)}var CF="Expected a function";function Vu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(CF);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Vu.Cache||Nr),r}Vu.Cache=Nr;var TF=500;function SF(e){var t=Vu(e,function(n){return r.size===TF&&r.clear(),n}),r=t.cache;return t}var EF=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,OF=/\\(\\)?/g,PF=SF(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(EF,function(r,n,i,o){t.push(i?o.replace(OF,"$1"):n||r)}),t});const MF=PF;var _F=1/0,b1=en?en.prototype:void 0,x1=b1?b1.toString:void 0;function w1(e){if(typeof e=="string")return e;if(Qt(e))return n1(e,w1)+"";if(Es(e))return x1?x1.call(e):"";var t=e+"";return t=="0"&&1/e==-_F?"-0":t}function $F(e){return e==null?"":w1(e)}function C1(e,t){return Qt(e)?e:Wu(e,t)?[e]:MF($F(e))}var AF=1/0;function As(e){if(typeof e=="string"||Es(e))return e;var t=e+"";return t=="0"&&1/e==-AF?"-0":t}function T1(e,t){t=C1(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[As(t[r++])];return r&&r==n?e:void 0}function kF(e,t,r){var n=e==null?void 0:T1(e,t);return n===void 0?r:n}function DF(e,t){return e!=null&&t in Object(e)}function jF(e,t,r){t=C1(t,e);for(var n=-1,i=t.length,o=!1;++n<i;){var a=As(t[n]);if(!(o=e!=null&&r(e,a)))break;e=e[a]}return o||++n!=i?o:(i=e==null?0:e.length,!!i&&Ou(i)&&$u(a,i)&&(Qt(e)||Cs(e)))}function IF(e,t){return e!=null&&jF(e,t,DF)}var LF=1,FF=2;function RF(e,t){return Wu(e)&&v1(t)?y1(As(e),t):function(r){var n=kF(r,e);return n===void 0&&n===t?IF(r,e):zu(t,n,LF|FF)}}function NF(e){return function(t){return t==null?void 0:t[e]}}function BF(e){return function(t){return T1(t,e)}}function zF(e){return Wu(e)?NF(As(e)):BF(e)}function WF(e){return typeof e=="function"?e:e==null?Ss:typeof e=="object"?Qt(e)?RF(e[0],e[1]):bF(e):zF(e)}function VF(e,t){var r=-1,n=pi(e)?Array(e.length):[];return Hm(e,function(i,o,a){n[++r]=t(i,o,a)}),n}function _n(e,t){var r=Qt(e)?n1:VF;return r(e,WF(t))}var HF=function(t){var r=t.colors,n=t.onClick,i=t.onSwatchHover,o=Ce({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return p.createElement("div",{style:o.swatches},_n(r,function(a){return p.createElement(Pn,{key:a,color:a,style:o.swatch,onClick:n,onHover:i,focusStyle:{boxShadow:"0 0 4px "+a}})}),p.createElement("div",{style:o.clear}))},Hu=function(t){var r=t.onChange,n=t.onSwatchHover,i=t.hex,o=t.colors,a=t.width,s=t.triangle,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=i==="transparent",h=function(y,x){rn(y)&&r({hex:y,source:"hex"},x)},g=Ce(Vt({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:ju(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},l),{"hide-triangle":s==="hide"});return p.createElement("div",{style:g.card,className:"block-picker "+f},p.createElement("div",{style:g.triangle}),p.createElement("div",{style:g.head},d&&p.createElement(di,{borderRadius:"6px 6px 0 0"}),p.createElement("div",{style:g.label},i)),p.createElement("div",{style:g.body},p.createElement(HF,{colors:o,onClick:h,onSwatchHover:n}),p.createElement(De,{style:{input:g.input},value:i,onChange:h})))};Hu.propTypes={width:A.oneOfType([A.string,A.number]),colors:A.arrayOf(A.string),triangle:A.oneOf(["top","hide"]),styles:A.object},Hu.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},Ht(Hu);var gi={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"},mi={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},vi={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"},yi={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},bi={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},xi={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"},wi={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"},Ci={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},Ti={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},Uo={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"},Si={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},Ei={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Oi={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Pi={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Mi={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"},_i={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},$i={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Ai={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},S1=function(t){var r=t.color,n=t.onClick,i=t.onSwatchHover,o=t.hover,a=t.active,s=t.circleSize,c=t.circleSpacing,l=Ce({default:{swatch:{width:s,height:s,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+r,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+r}}},{hover:o,active:a});return p.createElement("div",{style:l.swatch},p.createElement(Pn,{style:l.Swatch,color:r,onClick:n,onHover:i,focusStyle:{boxShadow:l.Swatch.boxShadow+", 0 0 5px "+r}}))};S1.defaultProps={circleSize:28,circleSpacing:14};const UF=yu(S1);var Uu=function(t){var r=t.width,n=t.onChange,i=t.onSwatchHover,o=t.colors,a=t.hex,s=t.circleSize,c=t.styles,l=c===void 0?{}:c,u=t.circleSpacing,f=t.className,d=f===void 0?"":f,h=Ce(Vt({default:{card:{width:r,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},l)),g=function(y,x){return n({hex:y,source:"hex"},x)};return p.createElement("div",{style:h.card,className:"circle-picker "+d},_n(o,function(m){return p.createElement(UF,{key:m,color:m,onClick:g,onSwatchHover:i,active:a===m.toLowerCase(),circleSize:s,circleSpacing:u})}))};Uu.propTypes={width:A.oneOfType([A.string,A.number]),circleSize:A.number,circleSpacing:A.number,styles:A.object},Uu.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[gi[500],mi[500],vi[500],yi[500],bi[500],xi[500],wi[500],Ci[500],Ti[500],Uo[500],Si[500],Ei[500],Oi[500],Pi[500],Mi[500],_i[500],$i[500],Ai[500]],styles:{}},Ht(Uu);function E1(e){return e===void 0}var O1={};Object.defineProperty(O1,"__esModule",{value:!0});var P1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},YF=p,M1=GF(YF);function GF(e){return e&&e.__esModule?e:{default:e}}function qF(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var ks=24,XF=O1.default=function(e){var t=e.fill,r=t===void 0?"currentColor":t,n=e.width,i=n===void 0?ks:n,o=e.height,a=o===void 0?ks:o,s=e.style,c=s===void 0?{}:s,l=qF(e,["fill","width","height","style"]);return M1.default.createElement("svg",P1({viewBox:"0 0 "+ks+" "+ks,style:P1({fill:r,width:i,height:a},c)},l),M1.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))},KF=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function ZF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QF(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function JF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _1=function(e){JF(t,e);function t(r){ZF(this,t);var n=QF(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.toggleViews=function(){n.state.view==="hex"?n.setState({view:"rgb"}):n.state.view==="rgb"?n.setState({view:"hsl"}):n.state.view==="hsl"&&(n.props.hsl.a===1?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(i,o){i.hex?rn(i.hex)&&n.props.onChange({hex:i.hex,source:"hex"},o):i.r||i.g||i.b?n.props.onChange({r:i.r||n.props.rgb.r,g:i.g||n.props.rgb.g,b:i.b||n.props.rgb.b,source:"rgb"},o):i.a?(i.a<0?i.a=0:i.a>1&&(i.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(i.a*100)/100,source:"rgb"},o)):(i.h||i.s||i.l)&&(typeof i.s=="string"&&i.s.includes("%")&&(i.s=i.s.replace("%","")),typeof i.l=="string"&&i.l.includes("%")&&(i.l=i.l.replace("%","")),i.s==1?i.s=.01:i.l==1&&(i.l=.01),n.props.onChange({h:i.h||n.props.hsl.h,s:Number(E1(i.s)?n.props.hsl.s:i.s),l:Number(E1(i.l)?n.props.hsl.l:i.l),source:"hsl"},o))},n.showHighlight=function(i){i.currentTarget.style.background="#eee"},n.hideHighlight=function(i){i.currentTarget.style.background="transparent"},r.hsl.a!==1&&r.view==="hex"?n.state={view:"rgb"}:n.state={view:r.view},n}return KF(t,[{key:"render",value:function(){var n=this,i=Ce({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),o=void 0;return this.state.view==="hex"?o=p.createElement("div",{style:i.fields,className:"flexbox-fix"},p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?o=p.createElement("div",{style:i.fields,className:"flexbox-fix"},p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),p.createElement("div",{style:i.alpha},p.createElement(De,{style:{input:i.input,label:i.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(o=p.createElement("div",{style:i.fields,className:"flexbox-fix"},p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),p.createElement("div",{style:i.alpha},p.createElement(De,{style:{input:i.input,label:i.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),p.createElement("div",{style:i.wrap,className:"flexbox-fix"},o,p.createElement("div",{style:i.toggle},p.createElement("div",{style:i.icon,onClick:this.toggleViews,ref:function(s){return n.icon=s}},p.createElement(XF,{style:i.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return n.hsl.a!==1&&i.view==="hex"?{view:"rgb"}:null}}]),t}(p.Component);_1.defaultProps={view:"hex"};var $1=function(){var t=Ce({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return p.createElement("div",{style:t.picker})},eR=function(){var t=Ce({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return p.createElement("div",{style:t.picker})},Yu=function(t){var r=t.width,n=t.onChange,i=t.disableAlpha,o=t.rgb,a=t.hsl,s=t.hsv,c=t.hex,l=t.renderers,u=t.styles,f=u===void 0?{}:u,d=t.className,h=d===void 0?"":d,g=t.defaultView,m=Ce(Vt({default:{picker:{width:r,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},f),{disableAlpha:i});return p.createElement("div",{style:m.picker,className:"chrome-picker "+h},p.createElement("div",{style:m.saturation},p.createElement(Os,{style:m.Saturation,hsl:a,hsv:s,pointer:eR,onChange:n})),p.createElement("div",{style:m.body},p.createElement("div",{style:m.controls,className:"flexbox-fix"},p.createElement("div",{style:m.color},p.createElement("div",{style:m.swatch},p.createElement("div",{style:m.active}),p.createElement(di,{renderers:l}))),p.createElement("div",{style:m.toggles},p.createElement("div",{style:m.hue},p.createElement(hi,{style:m.Hue,hsl:a,pointer:$1,onChange:n})),p.createElement("div",{style:m.alpha},p.createElement(xu,{style:m.Alpha,rgb:o,hsl:a,pointer:$1,renderers:l,onChange:n})))),p.createElement(_1,{rgb:o,hsl:a,hex:c,view:g,onChange:n,disableAlpha:i})))};Yu.propTypes={width:A.oneOfType([A.string,A.number]),disableAlpha:A.bool,styles:A.object,defaultView:A.oneOf(["hex","rgb","hsl"])},Yu.defaultProps={width:225,disableAlpha:!1,styles:{}};const tR=Ht(Yu);var rR=function(t){var r=t.color,n=t.onClick,i=n===void 0?function(){}:n,o=t.onSwatchHover,a=t.active,s=Ce({default:{color:{background:r,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:ju(r),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return p.createElement(Pn,{style:s.color,color:r,onClick:i,onHover:o,focusStyle:{boxShadow:"0 0 4px "+r}},p.createElement("div",{style:s.dot}))},nR=function(t){var r=t.hex,n=t.rgb,i=t.onChange,o=Ce({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:r},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(c,l){c.r||c.g||c.b?i({r:c.r||n.r,g:c.g||n.g,b:c.b||n.b,source:"rgb"},l):i({hex:c.hex,source:"hex"},l)};return p.createElement("div",{style:o.fields,className:"flexbox-fix"},p.createElement("div",{style:o.active}),p.createElement(De,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:r,onChange:a}),p.createElement(De,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:n.r,onChange:a}),p.createElement(De,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:n.g,onChange:a}),p.createElement(De,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:n.b,onChange:a}))},Gu=function(t){var r=t.onChange,n=t.onSwatchHover,i=t.colors,o=t.hex,a=t.rgb,s=t.styles,c=s===void 0?{}:s,l=t.className,u=l===void 0?"":l,f=Ce(Vt({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),d=function(g,m){g.hex?rn(g.hex)&&r({hex:g.hex,source:"hex"},m):r(g,m)};return p.createElement(Bo,{style:f.Compact,styles:c},p.createElement("div",{style:f.compact,className:"compact-picker "+u},p.createElement("div",null,_n(i,function(h){return p.createElement(rR,{key:h,color:h,active:h.toLowerCase()===o,onClick:d,onSwatchHover:n})}),p.createElement("div",{style:f.clear})),p.createElement(nR,{hex:o,rgb:a,onChange:d})))};Gu.propTypes={colors:A.arrayOf(A.string),styles:A.object},Gu.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},Ht(Gu);var iR=function(t){var r=t.hover,n=t.color,i=t.onClick,o=t.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=Ce({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:r});return p.createElement("div",{style:s.swatch},p.createElement(Pn,{color:n,onClick:i,onHover:o,focusStyle:a}))};const oR=yu(iR);var qu=function(t){var r=t.width,n=t.colors,i=t.onChange,o=t.onSwatchHover,a=t.triangle,s=t.styles,c=s===void 0?{}:s,l=t.className,u=l===void 0?"":l,f=Ce(Vt({default:{card:{width:r,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":a==="hide","top-left-triangle":a==="top-left","top-right-triangle":a==="top-right","bottom-left-triangle":a==="bottom-left","bottom-right-triangle":a==="bottom-right"}),d=function(g,m){return i({hex:g,source:"hex"},m)};return p.createElement("div",{style:f.card,className:"github-picker "+u},p.createElement("div",{style:f.triangleShadow}),p.createElement("div",{style:f.triangle}),_n(n,function(h){return p.createElement(oR,{color:h,key:h,onClick:d,onSwatchHover:o})}))};qu.propTypes={width:A.oneOfType([A.string,A.number]),colors:A.arrayOf(A.string),triangle:A.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:A.object},qu.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Ht(qu);var aR=function(t){var r=t.direction,n=Ce({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:r==="vertical"});return p.createElement("div",{style:n.picker})},sR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xu=function(t){var r=t.width,n=t.height,i=t.onChange,o=t.hsl,a=t.direction,s=t.pointer,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=Ce(Vt({default:{picker:{position:"relative",width:r,height:n},hue:{radius:"2px"}}},l)),h=function(m){return i({a:1,h:m.h,l:.5,s:1})};return p.createElement("div",{style:d.picker,className:"hue-picker "+f},p.createElement(hi,sR({},d.hue,{hsl:o,pointer:s,onChange:h,direction:a})))};Xu.propTypes={styles:A.object},Xu.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:aR,styles:{}},Ht(Xu);var lR=function(t){var r=t.onChange,n=t.hex,i=t.rgb,o=t.styles,a=o===void 0?{}:o,s=t.className,c=s===void 0?"":s,l=Ce(Vt({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},a)),u=function(d,h){d.hex?rn(d.hex)&&r({hex:d.hex,source:"hex"},h):(d.r||d.g||d.b)&&r({r:d.r||i.r,g:d.g||i.g,b:d.b||i.b,source:"rgb"},h)};return p.createElement(Bo,{styles:a},p.createElement("div",{style:l.material,className:"material-picker "+c},p.createElement(De,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:n,onChange:u}),p.createElement("div",{style:l.split,className:"flexbox-fix"},p.createElement("div",{style:l.third},p.createElement(De,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:i.r,onChange:u})),p.createElement("div",{style:l.third},p.createElement(De,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:i.g,onChange:u})),p.createElement("div",{style:l.third},p.createElement(De,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:i.b,onChange:u})))))};Ht(lR);var cR=function(t){var r=t.onChange,n=t.rgb,i=t.hsv,o=t.hex,a=Ce({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(l,u){l["#"]?rn(l["#"])&&r({hex:l["#"],source:"hex"},u):l.r||l.g||l.b?r({r:l.r||n.r,g:l.g||n.g,b:l.b||n.b,source:"rgb"},u):(l.h||l.s||l.v)&&r({h:l.h||i.h,s:l.s||i.s,v:l.v||i.v,source:"hsv"},u)};return p.createElement("div",{style:a.fields},p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(i.h),onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(i.s*100),onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(i.v*100),onChange:s}),p.createElement("div",{style:a.divider}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}),p.createElement("div",{style:a.divider}),p.createElement(De,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:o.replace("#",""),onChange:s}),p.createElement("div",{style:a.fieldSymbols},p.createElement("div",{style:a.symbol},"°"),p.createElement("div",{style:a.symbol},"%"),p.createElement("div",{style:a.symbol},"%")))},uR=function(t){var r=t.hsl,n=Ce({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":r.l>.5});return p.createElement("div",{style:n.picker})},fR=function(){var t=Ce({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return p.createElement("div",{style:t.pointer},p.createElement("div",{style:t.left},p.createElement("div",{style:t.leftInside})),p.createElement("div",{style:t.right},p.createElement("div",{style:t.rightInside})))},A1=function(t){var r=t.onClick,n=t.label,i=t.children,o=t.active,a=Ce({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return p.createElement("div",{style:a.button,onClick:r},n||i)},dR=function(t){var r=t.rgb,n=t.currentColor,i=Ce({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+r.r+","+r.g+", "+r.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return p.createElement("div",null,p.createElement("div",{style:i.label},"new"),p.createElement("div",{style:i.swatches},p.createElement("div",{style:i.new}),p.createElement("div",{style:i.current})),p.createElement("div",{style:i.label},"current"))},hR=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function pR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function mR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ku=function(e){mR(t,e);function t(r){pR(this,t);var n=gR(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:r.hex},n}return hR(t,[{key:"render",value:function(){var n=this.props,i=n.styles,o=i===void 0?{}:i,a=n.className,s=a===void 0?"":a,c=Ce(Vt({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},o));return p.createElement("div",{style:c.picker,className:"photoshop-picker "+s},p.createElement("div",{style:c.head},this.props.header),p.createElement("div",{style:c.body,className:"flexbox-fix"},p.createElement("div",{style:c.saturation},p.createElement(Os,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:uR,onChange:this.props.onChange})),p.createElement("div",{style:c.hue},p.createElement(hi,{direction:"vertical",hsl:this.props.hsl,pointer:fR,onChange:this.props.onChange})),p.createElement("div",{style:c.controls},p.createElement("div",{style:c.top,className:"flexbox-fix"},p.createElement("div",{style:c.previews},p.createElement(dR,{rgb:this.props.rgb,currentColor:this.state.currentColor})),p.createElement("div",{style:c.actions},p.createElement(A1,{label:"OK",onClick:this.props.onAccept,active:!0}),p.createElement(A1,{label:"Cancel",onClick:this.props.onCancel}),p.createElement(cR,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(p.Component);Ku.propTypes={header:A.string,styles:A.object},Ku.defaultProps={header:"Color Picker",styles:{}},Ht(Ku);var vR=function(t){var r=t.onChange,n=t.rgb,i=t.hsl,o=t.hex,a=t.disableAlpha,s=Ce({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),c=function(u,f){u.hex?rn(u.hex)&&r({hex:u.hex,source:"hex"},f):u.r||u.g||u.b?r({r:u.r||n.r,g:u.g||n.g,b:u.b||n.b,a:n.a,source:"rgb"},f):u.a&&(u.a<0?u.a=0:u.a>100&&(u.a=100),u.a/=100,r({h:i.h,s:i.s,l:i.l,a:u.a,source:"rgb"},f))};return p.createElement("div",{style:s.fields,className:"flexbox-fix"},p.createElement("div",{style:s.double},p.createElement(De,{style:{input:s.input,label:s.label},label:"hex",value:o.replace("#",""),onChange:c})),p.createElement("div",{style:s.single},p.createElement(De,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),p.createElement("div",{style:s.single},p.createElement(De,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),p.createElement("div",{style:s.single},p.createElement(De,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),p.createElement("div",{style:s.alpha},p.createElement(De,{style:{input:s.input,label:s.label},label:"a",value:Math.round(n.a*100),onChange:c,dragLabel:"true",dragMax:"100"})))},yR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k1=function(t){var r=t.colors,n=t.onClick,i=n===void 0?function(){}:n,o=t.onSwatchHover,a=Ce({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!r||!r.length}),s=function(l,u){i({hex:l,source:"hex"},u)};return p.createElement("div",{style:a.colors,className:"flexbox-fix"},r.map(function(c){var l=typeof c=="string"?{color:c}:c,u=""+l.color+(l.title||"");return p.createElement("div",{key:u,style:a.swatchWrap},p.createElement(Pn,yR({},l,{style:a.swatch,onClick:s,onHover:o,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+l.color}})))}))};k1.propTypes={colors:A.arrayOf(A.oneOfType([A.string,A.shape({color:A.string,title:A.string})])).isRequired};var bR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zu=function(t){var r=t.width,n=t.rgb,i=t.hex,o=t.hsv,a=t.hsl,s=t.onChange,c=t.onSwatchHover,l=t.disableAlpha,u=t.presetColors,f=t.renderers,d=t.styles,h=d===void 0?{}:d,g=t.className,m=g===void 0?"":g,y=Ce(Vt({default:bR({picker:{width:r,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},h),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},h),{disableAlpha:l});return p.createElement("div",{style:y.picker,className:"sketch-picker "+m},p.createElement("div",{style:y.saturation},p.createElement(Os,{style:y.Saturation,hsl:a,hsv:o,onChange:s})),p.createElement("div",{style:y.controls,className:"flexbox-fix"},p.createElement("div",{style:y.sliders},p.createElement("div",{style:y.hue},p.createElement(hi,{style:y.Hue,hsl:a,onChange:s})),p.createElement("div",{style:y.alpha},p.createElement(xu,{style:y.Alpha,rgb:n,hsl:a,renderers:f,onChange:s}))),p.createElement("div",{style:y.color},p.createElement(di,null),p.createElement("div",{style:y.activeColor}))),p.createElement(vR,{rgb:n,hsl:a,hex:i,onChange:s,disableAlpha:l}),p.createElement(k1,{colors:u,onClick:s,onSwatchHover:c}))};Zu.propTypes={disableAlpha:A.bool,width:A.oneOfType([A.string,A.number]),styles:A.object},Zu.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},Ht(Zu);var Yo=function(t){var r=t.hsl,n=t.offset,i=t.onClick,o=i===void 0?function(){}:i,a=t.active,s=t.first,c=t.last,l=Ce({default:{swatch:{height:"12px",background:"hsl("+r.h+", 50%, "+n*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:s,last:c}),u=function(d){return o({h:r.h,s:.5,l:n,source:"hsl"},d)};return p.createElement("div",{style:l.swatch,onClick:u})},xR=function(t){var r=t.onClick,n=t.hsl,i=Ce({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),o=.1;return p.createElement("div",{style:i.swatches},p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<o&&Math.abs(n.s-.5)<o,onClick:r,first:!0})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<o&&Math.abs(n.s-.5)<o,onClick:r})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<o&&Math.abs(n.s-.5)<o,onClick:r})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<o&&Math.abs(n.s-.5)<o,onClick:r})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<o&&Math.abs(n.s-.5)<o,onClick:r,last:!0})),p.createElement("div",{style:i.clear}))},wR=function(){var t=Ce({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return p.createElement("div",{style:t.picker})},Qu=function(t){var r=t.hsl,n=t.onChange,i=t.pointer,o=t.styles,a=o===void 0?{}:o,s=t.className,c=s===void 0?"":s,l=Ce(Vt({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return p.createElement("div",{style:l.wrap||{},className:"slider-picker "+c},p.createElement("div",{style:l.hue},p.createElement(hi,{style:l.Hue,hsl:r,pointer:i,onChange:n})),p.createElement("div",{style:l.swatches},p.createElement(xR,{hsl:r,onClick:n})))};Qu.propTypes={styles:A.object},Qu.defaultProps={pointer:wR,styles:{}},Ht(Qu);var D1={};Object.defineProperty(D1,"__esModule",{value:!0});var j1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},CR=p,I1=TR(CR);function TR(e){return e&&e.__esModule?e:{default:e}}function SR(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var Ds=24,ER=D1.default=function(e){var t=e.fill,r=t===void 0?"currentColor":t,n=e.width,i=n===void 0?Ds:n,o=e.height,a=o===void 0?Ds:o,s=e.style,c=s===void 0?{}:s,l=SR(e,["fill","width","height","style"]);return I1.default.createElement("svg",j1({viewBox:"0 0 "+Ds+" "+Ds,style:j1({fill:r,width:i,height:a},c)},l),I1.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},OR=function(t){var r=t.color,n=t.onClick,i=n===void 0?function(){}:n,o=t.onSwatchHover,a=t.first,s=t.last,c=t.active,l=Ce({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:r,marginBottom:"1px"},check:{color:ju(r),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:s,active:c,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return p.createElement(Pn,{color:r,style:l.color,onClick:i,onHover:o,focusStyle:{boxShadow:"0 0 4px "+r}},p.createElement("div",{style:l.check},p.createElement(ER,null)))},PR=function(t){var r=t.onClick,n=t.onSwatchHover,i=t.group,o=t.active,a=Ce({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return p.createElement("div",{style:a.group},_n(i,function(s,c){return p.createElement(OR,{key:s,color:s,active:s.toLowerCase()===o,first:c===0,last:c===i.length-1,onClick:r,onSwatchHover:n})}))},Ju=function(t){var r=t.width,n=t.height,i=t.onChange,o=t.onSwatchHover,a=t.colors,s=t.hex,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=Ce(Vt({default:{picker:{width:r,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},l)),h=function(m,y){return i({hex:m,source:"hex"},y)};return p.createElement("div",{style:d.picker,className:"swatches-picker "+f},p.createElement(Bo,null,p.createElement("div",{style:d.overflow},p.createElement("div",{style:d.body},_n(a,function(g){return p.createElement(PR,{key:g.toString(),group:g,active:s,onClick:h,onSwatchHover:o})}),p.createElement("div",{style:d.clear})))))};Ju.propTypes={width:A.oneOfType([A.string,A.number]),height:A.oneOfType([A.string,A.number]),colors:A.arrayOf(A.arrayOf(A.string)),styles:A.object},Ju.defaultProps={width:320,height:240,colors:[[gi[900],gi[700],gi[500],gi[300],gi[100]],[mi[900],mi[700],mi[500],mi[300],mi[100]],[vi[900],vi[700],vi[500],vi[300],vi[100]],[yi[900],yi[700],yi[500],yi[300],yi[100]],[bi[900],bi[700],bi[500],bi[300],bi[100]],[xi[900],xi[700],xi[500],xi[300],xi[100]],[wi[900],wi[700],wi[500],wi[300],wi[100]],[Ci[900],Ci[700],Ci[500],Ci[300],Ci[100]],[Ti[900],Ti[700],Ti[500],Ti[300],Ti[100]],["#194D33",Uo[700],Uo[500],Uo[300],Uo[100]],[Si[900],Si[700],Si[500],Si[300],Si[100]],[Ei[900],Ei[700],Ei[500],Ei[300],Ei[100]],[Oi[900],Oi[700],Oi[500],Oi[300],Oi[100]],[Pi[900],Pi[700],Pi[500],Pi[300],Pi[100]],[Mi[900],Mi[700],Mi[500],Mi[300],Mi[100]],[_i[900],_i[700],_i[500],_i[300],_i[100]],[$i[900],$i[700],$i[500],$i[300],$i[100]],[Ai[900],Ai[700],Ai[500],Ai[300],Ai[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},Ht(Ju);var ef=function(t){var r=t.onChange,n=t.onSwatchHover,i=t.hex,o=t.colors,a=t.width,s=t.triangle,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=Ce(Vt({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},l),{"hide-triangle":s==="hide","top-left-triangle":s==="top-left","top-right-triangle":s==="top-right"}),h=function(m,y){rn(m)&&r({hex:m,source:"hex"},y)};return p.createElement("div",{style:d.card,className:"twitter-picker "+f},p.createElement("div",{style:d.triangleShadow}),p.createElement("div",{style:d.triangle}),p.createElement("div",{style:d.body},_n(o,function(g,m){return p.createElement(Pn,{key:m,color:g,hex:g,style:d.swatch,onClick:h,onHover:n,focusStyle:{boxShadow:"0 0 4px "+g}})}),p.createElement("div",{style:d.hash},"#"),p.createElement(De,{label:null,style:{input:d.input},value:i.replace("#",""),onChange:h}),p.createElement("div",{style:d.clear})))};ef.propTypes={width:A.oneOfType([A.string,A.number]),triangle:A.oneOf(["hide","top-left","top-right"]),colors:A.arrayOf(A.string),styles:A.object},ef.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},Ht(ef);var tf=function(t){var r=Ce({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(t.hsl.h)+", "+Math.round(t.hsl.s*100)+"%, "+Math.round(t.hsl.l*100)+"%)"}}});return p.createElement("div",{style:r.picker})};tf.propTypes={hsl:A.shape({h:A.number,s:A.number,l:A.number,a:A.number})},tf.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var rf=function(t){var r=Ce({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(t.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return p.createElement("div",{style:r.picker})};rf.propTypes={hsl:A.shape({h:A.number,s:A.number,l:A.number,a:A.number})},rf.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var MR=function(t){var r=t.onChange,n=t.rgb,i=t.hsl,o=t.hex,a=t.hsv,s=function(h,g){if(h.hex)rn(h.hex)&&r({hex:h.hex,source:"hex"},g);else if(h.rgb){var m=h.rgb.split(",");Iu(h.rgb,"rgb")&&r({r:m[0],g:m[1],b:m[2],a:1,source:"rgb"},g)}else if(h.hsv){var y=h.hsv.split(",");Iu(h.hsv,"hsv")&&(y[2]=y[2].replace("%",""),y[1]=y[1].replace("%",""),y[0]=y[0].replace("°",""),y[1]==1?y[1]=.01:y[2]==1&&(y[2]=.01),r({h:Number(y[0]),s:Number(y[1]),v:Number(y[2]),source:"hsv"},g))}else if(h.hsl){var x=h.hsl.split(",");Iu(h.hsl,"hsl")&&(x[2]=x[2].replace("%",""),x[1]=x[1].replace("%",""),x[0]=x[0].replace("°",""),f[1]==1?f[1]=.01:f[2]==1&&(f[2]=.01),r({h:Number(x[0]),s:Number(x[1]),v:Number(x[2]),source:"hsl"},g))}},c=Ce({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),l=n.r+", "+n.g+", "+n.b,u=Math.round(i.h)+"°, "+Math.round(i.s*100)+"%, "+Math.round(i.l*100)+"%",f=Math.round(a.h)+"°, "+Math.round(a.s*100)+"%, "+Math.round(a.v*100)+"%";return p.createElement("div",{style:c.wrap,className:"flexbox-fix"},p.createElement("div",{style:c.fields},p.createElement("div",{style:c.double},p.createElement(De,{style:{input:c.input,label:c.label},label:"hex",value:o,onChange:s})),p.createElement("div",{style:c.column},p.createElement("div",{style:c.single},p.createElement(De,{style:{input:c.input2,label:c.label2},label:"rgb",value:l,onChange:s})),p.createElement("div",{style:c.single},p.createElement(De,{style:{input:c.input2,label:c.label2},label:"hsv",value:f,onChange:s})),p.createElement("div",{style:c.single},p.createElement(De,{style:{input:c.input2,label:c.label2},label:"hsl",value:u,onChange:s})))))},nf=function(t){var r=t.width,n=t.onChange,i=t.rgb,o=t.hsl,a=t.hsv,s=t.hex,c=t.header,l=t.styles,u=l===void 0?{}:l,f=t.className,d=f===void 0?"":f,h=Ce(Vt({default:{picker:{width:r,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+i.r+", "+i.g+", "+i.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},u));return p.createElement("div",{style:h.picker,className:"google-picker "+d},p.createElement("div",{style:h.head},c),p.createElement("div",{style:h.swatch}),p.createElement("div",{style:h.saturation},p.createElement(Os,{hsl:o,hsv:a,pointer:tf,onChange:n})),p.createElement("div",{style:h.body},p.createElement("div",{style:h.controls,className:"flexbox-fix"},p.createElement("div",{style:h.hue},p.createElement(hi,{style:h.Hue,hsl:o,radius:"4px",pointer:rf,onChange:n}))),p.createElement(MR,{rgb:i,hsl:o,hex:s,hsv:a,onChange:n})))};nf.propTypes={width:A.oneOfType([A.string,A.number]),styles:A.object,header:A.string},nf.defaultProps={width:652,styles:{},header:"Color picker"},Ht(nf);const Go=/^[a-z0-9]+(-[a-z0-9]+)*$/,js=(e,t,r,n="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const s=i.pop(),c=i.pop(),l={provider:i.length>0?i[0]:n,prefix:c,name:s};return t&&!Is(l)?null:l}const o=i[0],a=o.split("-");if(a.length>1){const s={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!Is(s)?null:s}if(r&&n===""){const s={provider:n,prefix:"",name:o};return t&&!Is(s,r)?null:s}return null},Is=(e,t)=>e?!!((e.provider===""||e.provider.match(Go))&&(t&&e.prefix===""||e.prefix.match(Go))&&e.name.match(Go)):!1,L1=Object.freeze({left:0,top:0,width:16,height:16}),Ls=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),of=Object.freeze({...L1,...Ls}),af=Object.freeze({...of,body:"",hidden:!1});function _R(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function F1(e,t){const r=_R(e,t);for(const n in af)n in Ls?n in e&&!(n in r)&&(r[n]=Ls[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function $R(e,t){const r=e.icons,n=e.aliases||Object.create(null),i=Object.create(null);function o(a){if(r[a])return i[a]=[];if(!(a in i)){i[a]=null;const s=n[a]&&n[a].parent,c=s&&o(s);c&&(i[a]=[s].concat(c))}return i[a]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(o),i}function AR(e,t,r){const n=e.icons,i=e.aliases||Object.create(null);let o={};function a(s){o=F1(n[s]||i[s],o)}return a(t),r.forEach(a),F1(e,o)}function R1(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),r.push(i)});const n=$R(e);for(const i in n){const o=n[i];o&&(t(i,AR(e,i,o)),r.push(i))}return r}const kR={provider:"",aliases:{},not_found:{},...L1};function sf(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function N1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!sf(e,kR))return null;const r=t.icons;for(const i in r){const o=r[i];if(!i.match(Go)||typeof o.body!="string"||!sf(o,af))return null}const n=t.aliases||Object.create(null);for(const i in n){const o=n[i],a=o.parent;if(!i.match(Go)||typeof a!="string"||!r[a]&&!n[a]||!sf(o,af))return null}return t}const B1=Object.create(null);function DR(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function $n(e,t){const r=B1[e]||(B1[e]=Object.create(null));return r[t]||(r[t]=DR(e,t))}function lf(e,t){return N1(t)?R1(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function jR(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let qo=!1;function z1(e){return typeof e=="boolean"&&(qo=e),qo}function IR(e){const t=typeof e=="string"?js(e,!0,qo):e;if(t){const r=$n(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function LR(e,t){const r=js(e,!0,qo);if(!r)return!1;const n=$n(r.provider,r.prefix);return jR(n,r.name,t)}function FR(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),qo&&!t&&!e.prefix){let i=!1;return N1(e)&&(e.prefix="",R1(e,(o,a)=>{a&&LR(o,a)&&(i=!0)})),i}const r=e.prefix;if(!Is({provider:t,prefix:r,name:"a"}))return!1;const n=$n(t,r);return!!lf(n,e)}const W1=Object.freeze({width:null,height:null}),V1=Object.freeze({...W1,...Ls}),RR=/(-?[0-9.]*[0-9]+[0-9.]*)/g,NR=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function H1(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(RR);if(n===null||!n.length)return e;const i=[];let o=n.shift(),a=NR.test(o);for(;;){if(a){const s=parseFloat(o);isNaN(s)?i.push(o):i.push(Math.ceil(s*t*r)/r)}else i.push(o);if(o=n.shift(),o===void 0)return i.join("");a=!a}}const BR=e=>e==="unset"||e==="undefined"||e==="none";function zR(e,t){const r={...of,...e},n={...V1,...t},i={left:r.left,top:r.top,width:r.width,height:r.height};let o=r.body;[r,n].forEach(g=>{const m=[],y=g.hFlip,x=g.vFlip;let b=g.rotate;y?x?b+=2:(m.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),m.push("scale(-1 1)"),i.top=i.left=0):x&&(m.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),m.push("scale(1 -1)"),i.top=i.left=0);let T;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:T=i.height/2+i.top,m.unshift("rotate(90 "+T.toString()+" "+T.toString()+")");break;case 2:m.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:T=i.width/2+i.left,m.unshift("rotate(-90 "+T.toString()+" "+T.toString()+")");break}b%2===1&&(i.left!==i.top&&(T=i.left,i.left=i.top,i.top=T),i.width!==i.height&&(T=i.width,i.width=i.height,i.height=T)),m.length&&(o='<g transform="'+m.join(" ")+'">'+o+"</g>")});const a=n.width,s=n.height,c=i.width,l=i.height;let u,f;a===null?(f=s===null?"1em":s==="auto"?l:s,u=H1(f,c/l)):(u=a==="auto"?c:a,f=s===null?H1(u,l/c):s==="auto"?l:s);const d={},h=(g,m)=>{BR(m)||(d[g]=m.toString())};return h("width",u),h("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:o}}const WR=/\sid="(\S+)"/g,VR="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let HR=0;function UR(e,t=VR){const r=[];let n;for(;n=WR.exec(e);)r.push(n[1]);if(!r.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(o=>{const a=typeof t=="function"?t(o):t+(HR++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const cf=Object.create(null);function YR(e,t){cf[e]=t}function uf(e){return cf[e]||cf[""]}function ff(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const df=Object.create(null),Xo=["https://api.simplesvg.com","https://api.unisvg.com"],Fs=[];for(;Xo.length>0;)Xo.length===1||Math.random()>.5?Fs.push(Xo.shift()):Fs.push(Xo.pop());df[""]=ff({resources:["https://api.iconify.design"].concat(Fs)});function GR(e,t){const r=ff(t);return r===null?!1:(df[e]=r,!0)}function hf(e){return df[e]}let U1=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function qR(e,t){const r=hf(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let i=0;r.resources.forEach(a=>{i=Math.max(i,a.length)});const o=t+".json?icons=";n=r.maxURL-i-r.path.length-o.length}return n}function XR(e){return e===404}const KR=(e,t,r)=>{const n=[],i=qR(e,t),o="icons";let a={type:o,provider:e,prefix:t,icons:[]},s=0;return r.forEach((c,l)=>{s+=c.length+1,s>=i&&l>0&&(n.push(a),a={type:o,provider:e,prefix:t,icons:[]},s=c.length),a.icons.push(c)}),n.push(a),n};function ZR(e){if(typeof e=="string"){const t=hf(e);if(t)return t.path}return"/"}const QR={prepare:KR,send:(e,t,r)=>{if(!U1){r("abort",424);return}let n=ZR(t.provider);switch(t.type){case"icons":{const o=t.prefix,s=t.icons.join(","),c=new URLSearchParams({icons:s});n+=o+".json?"+c.toString();break}case"custom":{const o=t.uri;n+=o.slice(0,1)==="/"?o.slice(1):o;break}default:r("abort",400);return}let i=503;U1(e+n).then(o=>{const a=o.status;if(a!==200){setTimeout(()=>{r(XR(a)?"abort":"next",a)});return}return i=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?r("abort",o):r("next",i)});return}setTimeout(()=>{r("success",o)})}).catch(()=>{r("next",i)})}};function JR(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((i,o)=>i.provider!==o.provider?i.provider.localeCompare(o.provider):i.prefix!==o.prefix?i.prefix.localeCompare(o.prefix):i.name.localeCompare(o.name));let n={provider:"",prefix:"",name:""};return e.forEach(i=>{if(n.name===i.name&&n.prefix===i.prefix&&n.provider===i.provider)return;n=i;const o=i.provider,a=i.prefix,s=i.name,c=r[o]||(r[o]=Object.create(null)),l=c[a]||(c[a]=$n(o,a));let u;s in l.icons?u=t.loaded:a===""||l.missing.has(s)?u=t.missing:u=t.pending;const f={provider:o,prefix:a,name:s};u.push(f)}),t}function Y1(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(i=>i.id!==t))})}function eN(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,i=e.prefix;t.forEach(o=>{const a=o.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==i)return!0;const l=c.name;if(e.icons[l])a.loaded.push({provider:n,prefix:i,name:l});else if(e.missing.has(l))a.missing.push({provider:n,prefix:i,name:l});else return r=!0,!0;return!1}),a.pending.length!==s&&(r||Y1([e],o.id),o.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),o.abort))})}))}let tN=0;function rN(e,t,r){const n=tN++,i=Y1.bind(null,r,n);if(!t.pending.length)return i;const o={id:n,icons:t,callback:e,abort:i};return r.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(o)}),i}function nN(e,t=!0,r=!1){const n=[];return e.forEach(i=>{const o=typeof i=="string"?js(i,t,r):i;o&&n.push(o)}),n}var iN={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function oN(e,t,r,n){const i=e.resources.length,o=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let E=e.resources.slice(0);for(a=[];E.length>1;){const O=Math.floor(Math.random()*E.length);a.push(E[O]),E=E.slice(0,O).concat(E.slice(O+1))}a=a.concat(E)}else a=e.resources.slice(o).concat(e.resources.slice(0,o));const s=Date.now();let c="pending",l=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function g(){f&&(clearTimeout(f),f=null)}function m(){c==="pending"&&(c="aborted"),g(),d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function y(E,O){O&&(h=[]),typeof E=="function"&&h.push(E)}function x(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:d.length,subscribe:y,abort:m}}function b(){c="failed",h.forEach(E=>{E(void 0,u)})}function T(){d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function P(E,O,M){const L=O!=="success";switch(d=d.filter(W=>W!==E),c){case"pending":break;case"failed":if(L||!e.dataAfterTimeout)return;break;default:return}if(O==="abort"){u=M,b();return}if(L){u=M,d.length||(a.length?w():b());return}if(g(),T(),!e.random){const W=e.resources.indexOf(E.resource);W!==-1&&W!==e.index&&(e.index=W)}c="completed",h.forEach(W=>{W(M)})}function w(){if(c!=="pending")return;g();const E=a.shift();if(E===void 0){if(d.length){f=setTimeout(()=>{g(),c==="pending"&&(T(),b())},e.timeout);return}b();return}const O={status:"pending",resource:E,callback:(M,L)=>{P(O,M,L)}};d.push(O),l++,f=setTimeout(w,e.rotate),r(E,t,O.callback)}return setTimeout(w),x}function G1(e){const t={...iN,...e};let r=[];function n(){r=r.filter(s=>s().status==="pending")}function i(s,c,l){const u=oN(t,s,c,(f,d)=>{n(),l&&l(f,d)});return r.push(u),u}function o(s){return r.find(c=>s(c))||null}return{query:i,find:o,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:n}}function q1(){}const pf=Object.create(null);function aN(e){if(!pf[e]){const t=hf(e);if(!t)return;const r=G1(t),n={config:t,redundancy:r};pf[e]=n}return pf[e]}function sN(e,t,r){let n,i;if(typeof e=="string"){const o=uf(e);if(!o)return r(void 0,424),q1;i=o.send;const a=aN(e);a&&(n=a.redundancy)}else{const o=ff(e);if(o){n=G1(o);const a=e.resources?e.resources[0]:"",s=uf(a);s&&(i=s.send)}}return!n||!i?(r(void 0,424),q1):n.query(t,i,r)().abort}const X1="iconify2",Ko="iconify",K1=Ko+"-count",Z1=Ko+"-version",Q1=36e5,lN=168;function gf(e,t){try{return e.getItem(t)}catch{}}function mf(e,t,r){try{return e.setItem(t,r),!0}catch{}}function J1(e,t){try{e.removeItem(t)}catch{}}function vf(e,t){return mf(e,K1,t.toString())}function yf(e){return parseInt(gf(e,K1))||0}const Rs={local:!0,session:!0},ev={local:new Set,session:new Set};let bf=!1;function cN(e){bf=e}let Ns=typeof window>"u"?{}:window;function tv(e){const t=e+"Storage";try{if(Ns&&Ns[t]&&typeof Ns[t].length=="number")return Ns[t]}catch{}Rs[e]=!1}function rv(e,t){const r=tv(e);if(!r)return;const n=gf(r,Z1);if(n!==X1){if(n){const s=yf(r);for(let c=0;c<s;c++)J1(r,Ko+c.toString())}mf(r,Z1,X1),vf(r,0);return}const i=Math.floor(Date.now()/Q1)-lN,o=s=>{const c=Ko+s.toString(),l=gf(r,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}J1(r,c)}};let a=yf(r);for(let s=a-1;s>=0;s--)o(s)||(s===a-1?(a--,vf(r,a)):ev[e].add(s))}function nv(){if(!bf){cN(!0);for(const e in Rs)rv(e,t=>{const r=t.data,n=t.provider,i=r.prefix,o=$n(n,i);if(!lf(o,r).length)return!1;const a=r.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,a):a,!0})}}function uN(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in Rs)rv(n,i=>{const o=i.data;return i.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t});return!0}function fN(e,t){bf||nv();function r(n){let i;if(!Rs[n]||!(i=tv(n)))return;const o=ev[n];let a;if(o.size)o.delete(a=Array.from(o).shift());else if(a=yf(i),!vf(i,a+1))return;const s={cached:Math.floor(Date.now()/Q1),provider:e.provider,data:t};return mf(i,Ko+a.toString(),JSON.stringify(s))}t.lastModified&&!uN(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function iv(){}function dN(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,eN(e)}))}function hN(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,i=e.iconsToLoad;delete e.iconsToLoad;let o;if(!i||!(o=uf(r)))return;o.prepare(r,n,i).forEach(s=>{sN(r,s,c=>{if(typeof c!="object")s.icons.forEach(l=>{e.missing.add(l)});else try{const l=lf(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),fN(e,c)}catch(l){console.error(l)}dN(e)})})}))}const pN=(e,t)=>{const r=nN(e,!0,z1()),n=JR(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,iv)}),()=>{c=!1}}const i=Object.create(null),o=[];let a,s;return n.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===s&&l===a)return;a=l,s=u,o.push($n(l,u));const f=i[l]||(i[l]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=$n(l,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),i[l][u].push(f))}),o.forEach(c=>{const{provider:l,prefix:u}=c;i[l][u].length&&hN(c,i[l][u])}),t?rN(t,n,o):iv};function gN(e,t){const r={...e};for(const n in t){const i=t[n],o=typeof i;n in W1?(i===null||i&&(o==="string"||o==="number"))&&(r[n]=i):o===typeof r[n]&&(r[n]=n==="rotate"?i%4:i)}return r}const mN=/[\s,]+/;function vN(e,t){t.split(mN).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function yN(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(i){for(;i<0;)i+=4;return i%4}if(r===""){const i=parseInt(e);return isNaN(i)?0:n(i)}else if(r!==e){let i=0;switch(r){case"%":i=25;break;case"deg":i=90}if(i){let o=parseFloat(e.slice(0,e.length-r.length));return isNaN(o)?0:(o=o/i,o%1===0?n(o):0)}}return t}function bN(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function xN(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function wN(e){return"data:image/svg+xml,"+xN(e)}function CN(e){return'url("'+wN(e)+'")'}let Zo;function TN(){try{Zo=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{Zo=null}}function SN(e){return Zo===void 0&&TN(),Zo?Zo.createHTML(e):e}const ov={...V1,inline:!1},EN={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ON={display:"inline-block"},xf={backgroundColor:"currentColor"},av={backgroundColor:"transparent"},sv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},lv={WebkitMask:xf,mask:xf,background:av};for(const e in lv){const t=lv[e];for(const r in sv)t[e+r]=sv[r]}const PN={...ov,inline:!0};function cv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const MN=(e,t,r,n)=>{const i=r?PN:ov,o=gN(i,t),a=t.mode||"svg",s={},c=t.style||{},l={...a==="svg"?EN:{},ref:n};for(let x in t){const b=t[x];if(b!==void 0)switch(x){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":o[x]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&vN(o,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?o[x]=yN(b):typeof b=="number"&&(o[x]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete l["aria-hidden"];break;default:i[x]===void 0&&(l[x]=b)}}const u=zR(e,o),f=u.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),a==="svg"){l.style={...s,...c},Object.assign(l,f);let x=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),l.dangerouslySetInnerHTML={__html:SN(UR(u.body,b?()=>b+"ID"+x++:"iconifyReact"))},p.createElement("svg",l)}const{body:d,width:h,height:g}=e,m=a==="mask"||(a==="bg"?!1:d.indexOf("currentColor")!==-1),y=bN(d,{...f,width:h+"",height:g+""});return l.style={...s,"--svg":CN(y),width:cv(f.width),height:cv(f.height),...ON,...m?xf:av,...c},p.createElement("span",l)};if(z1(!0),YR("",QR),typeof document<"u"&&typeof window<"u"){nv();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!FR(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const i=t[r];if(typeof i!="object"||!i||i.resources===void 0)continue;GR(r,i)||console.error(n)}catch{console.error(n)}}}}class uv extends p.Component{constructor(t){super(t),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(t){this.state.icon!==t&&this.setState({icon:t})}_checkIcon(t){const r=this.state,n=this.props.icon;if(typeof n=="object"&&n!==null&&typeof n.body=="string"){this._icon="",this._abortLoading(),(t||r.icon===null)&&this._setData({data:n});return}let i;if(typeof n!="string"||(i=js(n,!1,!0))===null){this._abortLoading(),this._setData(null);return}const o=IR(i);if(!o){(!this._loading||this._loading.name!==n)&&(this._abortLoading(),this._icon="",this._setData(null),o!==null&&(this._loading={name:n,abort:pN([i],this._checkIcon.bind(this,!1))}));return}if(this._icon!==n||r.icon===null){this._abortLoading(),this._icon=n;const a=["iconify"];i.prefix!==""&&a.push("iconify--"+i.prefix),i.provider!==""&&a.push("iconify--"+i.provider),this._setData({data:o,classes:a}),this.props.onLoad&&this.props.onLoad(n)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,r=this.state.icon;if(r===null)return t.children?t.children:p.createElement("span",{});let n=t;return r.classes&&(n={...t,className:(typeof t.className=="string"?t.className+" ":"")+r.classes.join(" ")}),MN({...of,...r.data},n,t._inline,t._ref)}}const _N=p.forwardRef(function(t,r){const n={...t,_ref:r,_inline:!1};return p.createElement(uv,n)});p.forwardRef(function(t,r){const n={...t,_ref:r,_inline:!0};return p.createElement(uv,n)});const It=p.forwardRef(({icon:e,width:t=20,sx:r,...n},i)=>v.jsx($.Box,{ref:i,component:_N,icon:e,sx:{width:t,height:t,...r},...n}));It.displayName="Iconify";const fv=({value:e,onChangeColor:t,...r})=>{const[n,i]=p.useState(null),o=s=>{i(s.currentTarget)},a=()=>i(null);return v.jsxs(v.Fragment,{children:[v.jsx($.TextField,{...r,value:e,onChange:s=>t(s.target.value),InputProps:{inputProps:{...r.inputProps,maxLength:7},startAdornment:v.jsx($.InputAdornment,{position:"start",sx:{ml:2},children:v.jsx($.IconButton,{edge:"start","aria-label":"Escolher cor",onClick:o,children:v.jsx(It,{icon:"bi:square-fill",color:e,width:25,height:23})})})}}),v.jsx($.Popover,{open:!!n,anchorEl:n,onClose:a,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"center",horizontal:"center"},slotProps:{paper:{style:{borderRadius:8}}},children:v.jsx(tR,{color:e,onChange:s=>t(s.hex),styles:{default:{picker:{fontFamily:"inherit",boxShadow:"none"}}},disableAlpha:!0})})]})};function Ne(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function zr(e){"@babel/helpers - typeof";return zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zr(e)}function H(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function U(e){H(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||zr(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function wf(e,t){H(2,arguments);var r=U(e),n=Ne(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function Bs(e,t){H(2,arguments);var r=U(e).getTime(),n=Ne(t);return new Date(r+n)}function $N(e,t){H(2,arguments);var r=Ne(t);return Bs(e,r*1e3)}var AN=6e4;function kN(e,t){H(2,arguments);var r=Ne(t);return Bs(e,r*AN)}var DN=36e5;function jN(e,t){H(2,arguments);var r=Ne(t);return Bs(e,r*DN)}function IN(e,t){H(2,arguments);var r=Ne(t),n=r*7;return wf(e,n)}function zs(e,t){H(2,arguments);var r=U(e),n=Ne(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),o=new Date(r.getTime());o.setMonth(r.getMonth()+n+1,0);var a=o.getDate();return i>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function dv(e,t){H(2,arguments);var r=Ne(t);return zs(e,r*12)}function LN(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getFullYear()-n.getFullYear()}function ki(e,t){H(2,arguments);var r=U(e),n=U(t),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}function FN(e,t){H(2,arguments);var r=U(e),n=U(t),i=ki(r,n),o=Math.abs(LN(r,n));r.setFullYear(1584),n.setFullYear(1584);var a=ki(r,n)===-i,s=i*(o-Number(a));return s===0?0:s}function RN(e,t){H(2,arguments);var r=U(e),n=U(t),i=r.getFullYear()-n.getFullYear(),o=r.getMonth()-n.getMonth();return i*12+o}function Cf(e){H(1,arguments);var t=U(e);return t.setHours(23,59,59,999),t}function Tf(e){H(1,arguments);var t=U(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function NN(e){H(1,arguments);var t=U(e);return Cf(t).getTime()===Tf(t).getTime()}function Sf(e,t){H(2,arguments);var r=U(e),n=U(t),i=ki(r,n),o=Math.abs(RN(r,n)),a;if(o<1)a=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*o);var s=ki(r,n)===-i;NN(U(e))&&o===1&&ki(e,n)===1&&(s=!1),a=i*(o-Number(s))}return a===0?0:a}var hv={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},BN="trunc";function Qo(e){return e?hv[e]:hv[BN]}function zN(e,t,r){H(2,arguments);var n=Sf(e,t)/3;return Qo(r==null?void 0:r.roundingMethod)(n)}function Di(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function ji(e){H(1,arguments);var t=U(e);return t.setHours(0,0,0,0),t}var WN=864e5;function VN(e,t){H(2,arguments);var r=ji(e),n=ji(t),i=r.getTime()-Di(r),o=n.getTime()-Di(n);return Math.round((i-o)/WN)}function pv(e,t){var r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function gv(e,t){H(2,arguments);var r=U(e),n=U(t),i=pv(r,n),o=Math.abs(VN(r,n));r.setDate(r.getDate()-i*o);var a=+(pv(r,n)===-i),s=i*(o-a);return s===0?0:s}function HN(e,t,r){H(2,arguments);var n=gv(e,t)/7;return Qo(r==null?void 0:r.roundingMethod)(n)}var Ws=6e4,Vs=36e5,UN=1e3;function Hs(e,t){return H(2,arguments),U(e).getTime()-U(t).getTime()}function YN(e,t,r){H(2,arguments);var n=Hs(e,t)/Vs;return Qo(r==null?void 0:r.roundingMethod)(n)}function GN(e,t,r){H(2,arguments);var n=Hs(e,t)/Ws;return Qo(r==null?void 0:r.roundingMethod)(n)}function mv(e,t,r){H(2,arguments);var n=Hs(e,t)/1e3;return Qo(r==null?void 0:r.roundingMethod)(n)}function qN(e,t){var r;H(1,arguments);var n=e||{},i=U(n.start),o=U(n.end),a=o.getTime();if(!(i.getTime()<=a))throw new RangeError("Invalid interval");var s=[],c=i;c.setHours(0,0,0,0);var l=Number((r=t==null?void 0:t.step)!==null&&r!==void 0?r:1);if(l<1||isNaN(l))throw new RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=a;)s.push(U(c)),c.setDate(c.getDate()+l),c.setHours(0,0,0,0);return s}var XN={};function pr(){return XN}function Ef(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=U(e),h=d.getDay(),g=(h<f?-7:0)+6-(h-f);return d.setDate(d.getDate()+g),d.setHours(23,59,59,999),d}function Of(e){H(1,arguments);var t=U(e),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}function KN(e){return H(1,arguments),e instanceof Date||zr(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function vv(e){if(H(1,arguments),!KN(e)&&typeof e!="number")return!1;var t=U(e);return!isNaN(Number(t))}function yv(e,t){H(2,arguments);var r=Ne(t);return Bs(e,-r)}var ZN=864e5;function QN(e){H(1,arguments);var t=U(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/ZN)+1}function Ii(e){H(1,arguments);var t=1,r=U(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function bv(e){H(1,arguments);var t=U(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Ii(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var a=Ii(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=a.getTime()?r:r-1}function JN(e){H(1,arguments);var t=bv(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Ii(r);return n}var eB=6048e5;function xv(e){H(1,arguments);var t=U(e),r=Ii(t).getTime()-JN(t).getTime();return Math.round(r/eB)+1}function An(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=U(e),h=d.getUTCDay(),g=(h<f?7:0)+h-f;return d.setUTCDate(d.getUTCDate()-g),d.setUTCHours(0,0,0,0),d}function Pf(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=U(e),f=u.getUTCFullYear(),d=pr(),h=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(f+1,0,h),g.setUTCHours(0,0,0,0);var m=An(g,t),y=new Date(0);y.setUTCFullYear(f,0,h),y.setUTCHours(0,0,0,0);var x=An(y,t);return u.getTime()>=m.getTime()?f+1:u.getTime()>=x.getTime()?f:f-1}function tB(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=Pf(e,t),h=new Date(0);h.setUTCFullYear(d,0,f),h.setUTCHours(0,0,0,0);var g=An(h,t);return g}var rB=6048e5;function wv(e,t){H(1,arguments);var r=U(e),n=An(r,t).getTime()-tB(r,t).getTime();return Math.round(n/rB)+1}function $e(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var nB={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return $e(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):$e(n+1,2)},d:function(t,r){return $e(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return $e(t.getUTCHours()%12||12,r.length)},H:function(t,r){return $e(t.getUTCHours(),r.length)},m:function(t,r){return $e(t.getUTCMinutes(),r.length)},s:function(t,r){return $e(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return $e(o,r.length)}};const nn=nB;var Li={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},iB={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return nn.y(t,r)},Y:function(t,r,n,i){var o=Pf(t,i),a=o>0?o:1-o;if(r==="YY"){var s=a%100;return $e(s,2)}return r==="Yo"?n.ordinalNumber(a,{unit:"year"}):$e(a,r.length)},R:function(t,r){var n=bv(t);return $e(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return $e(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return $e(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return $e(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return nn.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return $e(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var o=wv(t,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):$e(o,r.length)},I:function(t,r,n){var i=xv(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):$e(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):nn.d(t,r)},D:function(t,r,n){var i=QN(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):$e(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(a);case"ee":return $e(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(a);case"cc":return $e(a,r.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),o=i===0?7:i;switch(r){case"i":return String(o);case"ii":return $e(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),o;switch(i===12?o=Li.noon:i===0?o=Li.midnight:o=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),o;switch(i>=17?o=Li.evening:i>=12?o=Li.afternoon:i>=4?o=Li.morning:o=Li.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return nn.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):nn.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):$e(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):$e(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):nn.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):nn.s(t,r)},S:function(t,r){return nn.S(t,r)},X:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();if(a===0)return"Z";switch(r){case"X":return Tv(a);case"XXXX":case"XX":return kn(a);case"XXXXX":case"XXX":default:return kn(a,":")}},x:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(r){case"x":return Tv(a);case"xxxx":case"xx":return kn(a);case"xxxxx":case"xxx":default:return kn(a,":")}},O:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Cv(a,":");case"OOOO":default:return"GMT"+kn(a,":")}},z:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Cv(a,":");case"zzzz":default:return"GMT"+kn(a,":")}},t:function(t,r,n,i){var o=i._originalDate||t,a=Math.floor(o.getTime()/1e3);return $e(a,r.length)},T:function(t,r,n,i){var o=i._originalDate||t,a=o.getTime();return $e(a,r.length)}};function Cv(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;if(o===0)return r+String(i);var a=t||"";return r+String(i)+a+$e(o,2)}function Tv(e,t){if(e%60===0){var r=e>0?"-":"+";return r+$e(Math.abs(e)/60,2)}return kn(e,t)}function kn(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),o=$e(Math.floor(i/60),2),a=$e(i%60,2);return n+o+r+a}const oB=iB;var Sv=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},Ev=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},aB=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return Sv(t,r);var a;switch(i){case"P":a=r.dateTime({width:"short"});break;case"PP":a=r.dateTime({width:"medium"});break;case"PPP":a=r.dateTime({width:"long"});break;case"PPPP":default:a=r.dateTime({width:"full"});break}return a.replace("{{date}}",Sv(i,r)).replace("{{time}}",Ev(o,r))},sB={p:Ev,P:aB};const Mf=sB;var lB=["D","DD"],cB=["YY","YYYY"];function Ov(e){return lB.indexOf(e)!==-1}function Pv(e){return cB.indexOf(e)!==-1}function Us(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var uB={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},fB=function(t,r,n){var i,o=uB[t];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};const dB=fB;function Fi(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var hB={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},pB={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},gB={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mB={date:Fi({formats:hB,defaultWidth:"full"}),time:Fi({formats:pB,defaultWidth:"full"}),dateTime:Fi({formats:gB,defaultWidth:"full"})};const vB=mB;var yB={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},bB=function(t,r,n,i){return yB[t]};const xB=bB;function Sr(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=r!=null&&r.width?String(r.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,c=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[c]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var wB={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},CB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},TB={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},SB={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},EB={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},OB={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},PB=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},MB={ordinalNumber:PB,era:Sr({values:wB,defaultWidth:"wide"}),quarter:Sr({values:CB,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Sr({values:TB,defaultWidth:"wide"}),day:Sr({values:SB,defaultWidth:"wide"}),dayPeriod:Sr({values:EB,defaultWidth:"wide",formattingValues:OB,defaultFormattingWidth:"wide"})};const _B=MB;function Er(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?AB(s,function(f){return f.test(a)}):$B(s,function(f){return f.test(a)}),l;l=e.valueCallback?e.valueCallback(c):c,l=r.valueCallback?r.valueCallback(l):l;var u=t.slice(a.length);return{value:l,rest:u}}}function $B(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function AB(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function Mv(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=r.valueCallback?r.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var kB=/^(\d+)(th|st|nd|rd)?/i,DB=/\d+/i,jB={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},IB={any:[/^b/i,/^(a|c)/i]},LB={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},FB={any:[/1/i,/2/i,/3/i,/4/i]},RB={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},NB={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},BB={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},zB={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},WB={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},VB={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},HB={ordinalNumber:Mv({matchPattern:kB,parsePattern:DB,valueCallback:function(t){return parseInt(t,10)}}),era:Er({matchPatterns:jB,defaultMatchWidth:"wide",parsePatterns:IB,defaultParseWidth:"any"}),quarter:Er({matchPatterns:LB,defaultMatchWidth:"wide",parsePatterns:FB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Er({matchPatterns:RB,defaultMatchWidth:"wide",parsePatterns:NB,defaultParseWidth:"any"}),day:Er({matchPatterns:BB,defaultMatchWidth:"wide",parsePatterns:zB,defaultParseWidth:"any"}),dayPeriod:Er({matchPatterns:WB,defaultMatchWidth:"any",parsePatterns:VB,defaultParseWidth:"any"})},UB={code:"en-US",formatDistance:dB,formatLong:vB,formatRelative:xB,localize:_B,match:HB,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Ys=UB;var YB=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,GB=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qB=/^'([^]*?)'?$/,XB=/''/g,KB=/[a-zA-Z]/;function _f(e,t,r){var n,i,o,a,s,c,l,u,f,d,h,g,m,y,x,b,T,P;H(2,arguments);var w=String(t),E=pr(),O=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:E.locale)!==null&&n!==void 0?n:Ys,M=Ne((o=(a=(s=(c=r==null?void 0:r.firstWeekContainsDate)!==null&&c!==void 0?c:r==null||(l=r.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&s!==void 0?s:E.firstWeekContainsDate)!==null&&a!==void 0?a:(f=E.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(M>=1&&M<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=Ne((h=(g=(m=(y=r==null?void 0:r.weekStartsOn)!==null&&y!==void 0?y:r==null||(x=r.locale)===null||x===void 0||(b=x.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&m!==void 0?m:E.weekStartsOn)!==null&&g!==void 0?g:(T=E.locale)===null||T===void 0||(P=T.options)===null||P===void 0?void 0:P.weekStartsOn)!==null&&h!==void 0?h:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!O.localize)throw new RangeError("locale must contain localize property");if(!O.formatLong)throw new RangeError("locale must contain formatLong property");var W=U(e);if(!vv(W))throw new RangeError("Invalid time value");var de=Di(W),ve=yv(W,de),ce={firstWeekContainsDate:M,weekStartsOn:L,locale:O,_originalDate:W},q=w.match(GB).map(function(Y){var ge=Y[0];if(ge==="p"||ge==="P"){var Se=Mf[ge];return Se(Y,O.formatLong)}return Y}).join("").match(YB).map(function(Y){if(Y==="''")return"'";var ge=Y[0];if(ge==="'")return ZB(Y);var Se=oB[ge];if(Se)return!(r!=null&&r.useAdditionalWeekYearTokens)&&Pv(Y)&&Us(Y,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Ov(Y)&&Us(Y,t,String(e)),Se(ve,Y,O.localize,ce);if(ge.match(KB))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ge+"`");return Y}).join("");return q}function ZB(e){var t=e.match(qB);return t?t[1].replace(XB,"'"):e}function QB(e){H(1,arguments);var t=U(e),r=t.getDate();return r}function _v(e){H(1,arguments);var t=U(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}function JB(e){H(1,arguments);var t=U(e),r=t.getHours();return r}function ez(e){H(1,arguments);var t=U(e),r=t.getMinutes();return r}function tz(e){H(1,arguments);var t=U(e),r=t.getMonth();return r}function rz(e){H(1,arguments);var t=U(e),r=t.getSeconds();return r}function nz(e){H(1,arguments);var t=U(e),r=t.getMilliseconds();return r}function Dn(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=U(e),h=d.getDay(),g=(h<f?7:0)+h-f;return d.setDate(d.getDate()-g),d.setHours(0,0,0,0),d}function iz(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=U(e),f=u.getFullYear(),d=pr(),h=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setFullYear(f+1,0,h),g.setHours(0,0,0,0);var m=Dn(g,t),y=new Date(0);y.setFullYear(f,0,h),y.setHours(0,0,0,0);var x=Dn(y,t);return u.getTime()>=m.getTime()?f+1:u.getTime()>=x.getTime()?f:f-1}function oz(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=iz(e,t),h=new Date(0);h.setFullYear(d,0,f),h.setHours(0,0,0,0);var g=Dn(h,t);return g}var az=6048e5;function sz(e,t){H(1,arguments);var r=U(e),n=Dn(r,t).getTime()-oz(r,t).getTime();return Math.round(n/az)+1}function lz(e){return H(1,arguments),U(e).getFullYear()}function $f(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getTime()>n.getTime()}function Jo(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getTime()<n.getTime()}function cz(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getTime()===n.getTime()}function uz(e,t){H(2,arguments);var r=ji(e),n=ji(t);return r.getTime()===n.getTime()}function fz(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getFullYear()===n.getFullYear()}function dz(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function $v(e){H(1,arguments);var t=U(e);return t.setMinutes(0,0,0),t}function hz(e,t){H(2,arguments);var r=$v(e),n=$v(t);return r.getTime()===n.getTime()}function Av(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function pz(e,t){if(e){if(typeof e=="string")return Av(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Av(e,t)}}function kv(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pz(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
132
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return o=l.done,l},e:function(l){a=!0,s=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Af(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kf(e,t){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},kf(e,t)}function Be(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kf(e,t)}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function gz(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mz(e,t){if(t&&(zr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(e)}function ze(e){var t=gz();return function(){var n=Gs(e),i;if(t){var o=Gs(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return mz(this,i)}}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vz(e,t){if(zr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(zr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dv(e){var t=vz(e,"string");return zr(t)==="symbol"?t:String(t)}function jv(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Dv(n.key),n)}}function Ie(e,t,r){return t&&jv(e.prototype,t),r&&jv(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ee(e,t,r){return t=Dv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yz=10,Iv=function(){function e(){je(this,e),ee(this,"priority",void 0),ee(this,"subPriority",0)}return Ie(e,[{key:"validate",value:function(r,n){return!0}}]),e}(),bz=function(e){Be(r,e);var t=ze(r);function r(n,i,o,a,s){var c;return je(this,r),c=t.call(this),c.value=n,c.validateValue=i,c.setValue=o,c.priority=a,s&&(c.subPriority=s),c}return Ie(r,[{key:"validate",value:function(i,o){return this.validateValue(i,this.value,o)}},{key:"set",value:function(i,o,a){return this.setValue(i,o,this.value,a)}}]),r}(Iv),xz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",yz),ee(oe(n),"subPriority",-1),n}return Ie(r,[{key:"set",value:function(i,o){if(o.timestampIsSet)return i;var a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}}]),r}(Iv),Ue=function(){function e(){je(this,e),ee(this,"incompatibleTokens",void 0),ee(this,"priority",void 0),ee(this,"subPriority",void 0)}return Ie(e,[{key:"run",value:function(r,n,i,o){var a=this.parse(r,n,i,o);return a?{setter:new bz(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(r,n,i){return!0}}]),e}(),wz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",140),ee(oe(n),"incompatibleTokens",["R","u","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})||a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"})}}},{key:"set",value:function(i,o,a){return o.era=a,i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),xt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Or={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function wt(e,t){return e&&{value:t(e.value),rest:e.rest}}function dt(e,t){var r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Pr(e,t){var r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};var n=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,o=r[3]?parseInt(r[3],10):0,a=r[5]?parseInt(r[5],10):0;return{value:n*(i*Vs+o*Ws+a*UN),rest:t.slice(r[0].length)}}function Lv(e){return dt(xt.anyDigitsSigned,e)}function yt(e,t){switch(e){case 1:return dt(xt.singleDigit,t);case 2:return dt(xt.twoDigits,t);case 3:return dt(xt.threeDigits,t);case 4:return dt(xt.fourDigits,t);default:return dt(new RegExp("^\\d{1,"+e+"}"),t)}}function qs(e,t){switch(e){case 1:return dt(xt.singleDigitSigned,t);case 2:return dt(xt.twoDigitsSigned,t);case 3:return dt(xt.threeDigitsSigned,t);case 4:return dt(xt.fourDigitsSigned,t);default:return dt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Df(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Fv(e,t){var r=t>0,n=r?t:1-t,i;if(n<=50)i=e||100;else{var o=n+50,a=Math.floor(o/100)*100,s=e>=o%100;i=e+a-(s?100:0)}return r?i:1-i}function Rv(e){return e%400===0||e%4===0&&e%100!==0}var Cz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return{year:l,isTwoDigitYear:o==="yy"}};switch(o){case"y":return wt(yt(4,i),s);case"yo":return wt(a.ordinalNumber(i,{unit:"year"}),s);default:return wt(yt(o.length,i),s)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a){var s=i.getUTCFullYear();if(a.isTwoDigitYear){var c=Fv(a.year,s);return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}var l=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Tz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return{year:l,isTwoDigitYear:o==="YY"}};switch(o){case"Y":return wt(yt(4,i),s);case"Yo":return wt(a.ordinalNumber(i,{unit:"year"}),s);default:return wt(yt(o.length,i),s)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a,s){var c=Pf(i,s);if(a.isTwoDigitYear){var l=Fv(a.year,c);return i.setUTCFullYear(l,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),An(i,s)}var u=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(u,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),An(i,s)}}]),r}(Ue),Sz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o){return qs(o==="R"?4:o.length,i)}},{key:"set",value:function(i,o,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),Ii(s)}}]),r}(Ue),Ez=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o){return qs(o==="u"?4:o.length,i)}},{key:"set",value:function(i,o,a){return i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Oz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",120),ee(oe(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"Q":case"QQ":return yt(o.length,i);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})||a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Pz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",120),ee(oe(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"q":case"qq":return yt(o.length,i);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})||a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Mz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ee(oe(n),"priority",110),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return l-1};switch(o){case"M":return wt(dt(xt.month,i),s);case"MM":return wt(yt(2,i),s);case"Mo":return wt(a.ordinalNumber(i,{unit:"month"}),s);case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})||a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),_z=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",110),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return l-1};switch(o){case"L":return wt(dt(xt.month,i),s);case"LL":return wt(yt(2,i),s);case"Lo":return wt(a.ordinalNumber(i,{unit:"month"}),s);case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})||a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue);function $z(e,t,r){H(2,arguments);var n=U(e),i=Ne(t),o=wv(n,r)-i;return n.setUTCDate(n.getUTCDate()-o*7),n}var Az=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",100),ee(oe(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"w":return dt(xt.week,i);case"wo":return a.ordinalNumber(i,{unit:"week"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a,s){return An($z(i,a,s),s)}}]),r}(Ue);function kz(e,t){H(2,arguments);var r=U(e),n=Ne(t),i=xv(r)-n;return r.setUTCDate(r.getUTCDate()-i*7),r}var Dz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",100),ee(oe(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"I":return dt(xt.week,i);case"Io":return a.ordinalNumber(i,{unit:"week"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a){return Ii(kz(i,a))}}]),r}(Ue),jz=[31,28,31,30,31,30,31,31,30,31,30,31],Iz=[31,29,31,30,31,30,31,31,30,31,30,31],Lz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"subPriority",1),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"d":return dt(xt.date,i);case"do":return a.ordinalNumber(i,{unit:"date"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),s=Rv(a),c=i.getUTCMonth();return s?o>=1&&o<=Iz[c]:o>=1&&o<=jz[c]}},{key:"set",value:function(i,o,a){return i.setUTCDate(a),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Fz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"subpriority",1),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"D":case"DD":return dt(xt.dayOfYear,i);case"Do":return a.ordinalNumber(i,{unit:"date"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),s=Rv(a);return s?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,a){return i.setUTCMonth(0,a),i.setUTCHours(0,0,0,0),i}}]),r}(Ue);function jf(e,t,r){var n,i,o,a,s,c,l,u;H(2,arguments);var f=pr(),d=Ne((n=(i=(o=(a=r==null?void 0:r.weekStartsOn)!==null&&a!==void 0?a:r==null||(s=r.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&o!==void 0?o:f.weekStartsOn)!==null&&i!==void 0?i:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=U(e),g=Ne(t),m=h.getUTCDay(),y=g%7,x=(y+7)%7,b=(x<d?7:0)+g-m;return h.setUTCDate(h.getUTCDate()+b),h}var Rz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jf(i,a,s),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Nz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a,s){var c=function(u){var f=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+f};switch(o){case"e":case"ee":return wt(yt(o.length,i),c);case"eo":return wt(a.ordinalNumber(i,{unit:"day"}),c);case"eee":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jf(i,a,s),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Bz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a,s){var c=function(u){var f=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+f};switch(o){case"c":case"cc":return wt(yt(o.length,i),c);case"co":return wt(a.ordinalNumber(i,{unit:"day"}),c);case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})||a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jf(i,a,s),i.setUTCHours(0,0,0,0),i}}]),r}(Ue);function zz(e,t){H(2,arguments);var r=Ne(t);r%7===0&&(r=r-7);var n=1,i=U(e),o=i.getUTCDay(),a=r%7,s=(a+7)%7,c=(s<n?7:0)+r-o;return i.setUTCDate(i.getUTCDate()+c),i}var Wz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return l===0?7:l};switch(o){case"i":case"ii":return yt(o.length,i);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return wt(a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiii":return wt(a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiiii":return wt(a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiii":default:return wt(a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(i,o){return o>=1&&o<=7}},{key:"set",value:function(i,o,a){return i=zz(i,a),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Vz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",80),ee(oe(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"a":case"aa":case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(Df(a),0,0,0),i}}]),r}(Ue),Hz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",80),ee(oe(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"b":case"bb":case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(Df(a),0,0,0),i}}]),r}(Ue),Uz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",80),ee(oe(n),"incompatibleTokens",["a","b","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(Df(a),0,0,0),i}}]),r}(Ue),Yz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["H","K","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"h":return dt(xt.hour12h,i);case"ho":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=12}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):!s&&a===12?i.setUTCHours(0,0,0,0):i.setUTCHours(a,0,0,0),i}}]),r}(Ue),Gz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"H":return dt(xt.hour23h,i);case"Ho":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=23}},{key:"set",value:function(i,o,a){return i.setUTCHours(a,0,0,0),i}}]),r}(Ue),qz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["h","H","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"K":return dt(xt.hour11h,i);case"Ko":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):i.setUTCHours(a,0,0,0),i}}]),r}(Ue),Xz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"k":return dt(xt.hour24h,i);case"ko":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=24}},{key:"set",value:function(i,o,a){var s=a<=24?a%24:a;return i.setUTCHours(s,0,0,0),i}}]),r}(Ue),Kz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",60),ee(oe(n),"incompatibleTokens",["t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"m":return dt(xt.minute,i);case"mo":return a.ordinalNumber(i,{unit:"minute"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCMinutes(a,0,0),i}}]),r}(Ue),Zz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",50),ee(oe(n),"incompatibleTokens",["t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"s":return dt(xt.second,i);case"so":return a.ordinalNumber(i,{unit:"second"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCSeconds(a,0),i}}]),r}(Ue),Qz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",30),ee(oe(n),"incompatibleTokens",["t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o){var a=function(c){return Math.floor(c*Math.pow(10,-o.length+3))};return wt(yt(o.length,i),a)}},{key:"set",value:function(i,o,a){return i.setUTCMilliseconds(a),i}}]),r}(Ue),Jz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",10),ee(oe(n),"incompatibleTokens",["t","T","x"]),n}return Ie(r,[{key:"parse",value:function(i,o){switch(o){case"X":return Pr(Or.basicOptionalMinutes,i);case"XX":return Pr(Or.basic,i);case"XXXX":return Pr(Or.basicOptionalSeconds,i);case"XXXXX":return Pr(Or.extendedOptionalSeconds,i);case"XXX":default:return Pr(Or.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),r}(Ue),eW=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",10),ee(oe(n),"incompatibleTokens",["t","T","X"]),n}return Ie(r,[{key:"parse",value:function(i,o){switch(o){case"x":return Pr(Or.basicOptionalMinutes,i);case"xx":return Pr(Or.basic,i);case"xxxx":return Pr(Or.basicOptionalSeconds,i);case"xxxxx":return Pr(Or.extendedOptionalSeconds,i);case"xxx":default:return Pr(Or.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),r}(Ue),tW=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",40),ee(oe(n),"incompatibleTokens","*"),n}return Ie(r,[{key:"parse",value:function(i){return Lv(i)}},{key:"set",value:function(i,o,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),r}(Ue),rW=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",20),ee(oe(n),"incompatibleTokens","*"),n}return Ie(r,[{key:"parse",value:function(i){return Lv(i)}},{key:"set",value:function(i,o,a){return[new Date(a),{timestampIsSet:!0}]}}]),r}(Ue),nW={G:new wz,y:new Cz,Y:new Tz,R:new Sz,u:new Ez,Q:new Oz,q:new Pz,M:new Mz,L:new _z,w:new Az,I:new Dz,d:new Lz,D:new Fz,E:new Rz,e:new Nz,c:new Bz,i:new Wz,a:new Vz,b:new Hz,B:new Uz,h:new Yz,H:new Gz,K:new qz,k:new Xz,m:new Kz,s:new Zz,S:new Qz,X:new Jz,x:new eW,t:new tW,T:new rW},iW=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,oW=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,aW=/^'([^]*?)'?$/,sW=/''/g,lW=/\S/,cW=/[a-zA-Z]/;function uW(e,t,r,n){var i,o,a,s,c,l,u,f,d,h,g,m,y,x,b,T,P,w;H(3,arguments);var E=String(e),O=String(t),M=pr(),L=(i=(o=n==null?void 0:n.locale)!==null&&o!==void 0?o:M.locale)!==null&&i!==void 0?i:Ys;if(!L.match)throw new RangeError("locale must contain match property");var W=Ne((a=(s=(c=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(u=n.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&c!==void 0?c:M.firstWeekContainsDate)!==null&&s!==void 0?s:(d=M.locale)===null||d===void 0||(h=d.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var de=Ne((g=(m=(y=(x=n==null?void 0:n.weekStartsOn)!==null&&x!==void 0?x:n==null||(b=n.locale)===null||b===void 0||(T=b.options)===null||T===void 0?void 0:T.weekStartsOn)!==null&&y!==void 0?y:M.weekStartsOn)!==null&&m!==void 0?m:(P=M.locale)===null||P===void 0||(w=P.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&g!==void 0?g:0);if(!(de>=0&&de<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(O==="")return E===""?U(r):new Date(NaN);var ve={firstWeekContainsDate:W,weekStartsOn:de,locale:L},ce=[new xz],q=O.match(oW).map(function(K){var Q=K[0];if(Q in Mf){var te=Mf[Q];return te(K,L.formatLong)}return K}).join("").match(iW),Y=[],ge=kv(q),Se;try{var We=function(){var Q=Se.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&Pv(Q)&&Us(Q,O,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Ov(Q)&&Us(Q,O,e);var te=Q[0],ye=nW[te];if(ye){var F=ye.incompatibleTokens;if(Array.isArray(F)){var Le=Y.find(function(ut){return F.includes(ut.token)||ut.token===te});if(Le)throw new RangeError("The format string mustn't contain `".concat(Le.fullToken,"` and `").concat(Q,"` at the same time"))}else if(ye.incompatibleTokens==="*"&&Y.length>0)throw new RangeError("The format string mustn't contain `".concat(Q,"` and any other token at the same time"));Y.push({token:te,fullToken:Q});var ae=ye.run(E,Q,L.match,ve);if(!ae)return{v:new Date(NaN)};ce.push(ae.setter),E=ae.rest}else{if(te.match(cW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(Q==="''"?Q="'":te==="'"&&(Q=fW(Q)),E.indexOf(Q)===0)E=E.slice(Q.length);else return{v:new Date(NaN)}}};for(ge.s();!(Se=ge.n()).done;){var Me=We();if(zr(Me)==="object")return Me.v}}catch(K){ge.e(K)}finally{ge.f()}if(E.length>0&&lW.test(E))return new Date(NaN);var D=ce.map(function(K){return K.priority}).sort(function(K,Q){return Q-K}).filter(function(K,Q,te){return te.indexOf(K)===Q}).map(function(K){return ce.filter(function(Q){return Q.priority===K}).sort(function(Q,te){return te.subPriority-Q.subPriority})}).map(function(K){return K[0]}),I=U(r);if(isNaN(I.getTime()))return new Date(NaN);var Z=yv(I,Di(I)),ne={},G=kv(D),ue;try{for(G.s();!(ue=G.n()).done;){var se=ue.value;if(!se.validate(Z,ve))return new Date(NaN);var pe=se.set(Z,ne,ve);Array.isArray(pe)?(Z=pe[0],Af(ne,pe[1])):Z=pe}}catch(K){G.e(K)}finally{G.f()}return Z}function fW(e){return e.match(aW)[1].replace(sW,"'")}function dW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setDate(n),r}function hW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setHours(n),r}function pW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setMinutes(n),r}function gW(e,t){H(2,arguments);var r=U(e),n=Ne(t),i=r.getFullYear(),o=r.getDate(),a=new Date(0);a.setFullYear(i,n,15),a.setHours(0,0,0,0);var s=_v(a);return r.setMonth(n,Math.min(o,s)),r}function mW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setSeconds(n),r}function vW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setMilliseconds(n),r}function yW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(n),r)}function Nv(e){H(1,arguments);var t=U(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Xs(e){H(1,arguments);var t=U(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function bW(e,t){var r;H(1,arguments);var n=Ne((r=t==null?void 0:t.additionalDigits)!==null&&r!==void 0?r:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=TW(e),o;if(i.date){var a=SW(i.date,n);o=EW(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),c=0,l;if(i.time&&(c=OW(i.time),isNaN(c)))return new Date(NaN);if(i.timezone){if(l=PW(i.timezone),isNaN(l))return new Date(NaN)}else{var u=new Date(s+c),f=new Date(0);return f.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),f.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),f}return new Date(s+c+l)}var Ks={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},xW=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,wW=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,CW=/^([+-])(\d{2})(?::?(\d{2}))?$/;function TW(e){var t={},r=e.split(Ks.dateTimeDelimiter),n;if(r.length>2)return t;if(/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Ks.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Ks.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length))),n){var i=Ks.timezone.exec(n);i?(t.time=n.replace(i[1],""),t.timezone=i[1]):t.time=n}return t}function SW(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};var i=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((n[1]||n[2]).length)}}function EW(e,t){if(t===null)return new Date(NaN);var r=e.match(xW);if(!r)return new Date(NaN);var n=!!r[4],i=ea(r[1]),o=ea(r[2])-1,a=ea(r[3]),s=ea(r[4]),c=ea(r[5])-1;if(n)return kW(t,s,c)?MW(t,s,c):new Date(NaN);var l=new Date(0);return!$W(t,o,a)||!AW(t,i)?new Date(NaN):(l.setUTCFullYear(t,o,Math.max(i,a)),l)}function ea(e){return e?parseInt(e):1}function OW(e){var t=e.match(wW);if(!t)return NaN;var r=If(t[1]),n=If(t[2]),i=If(t[3]);return DW(r,n,i)?r*Vs+n*Ws+i*1e3:NaN}function If(e){return e&&parseFloat(e.replace(",","."))||0}function PW(e){if(e==="Z")return 0;var t=e.match(CW);if(!t)return 0;var r=t[1]==="+"?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return jW(n,i)?r*(n*Vs+i*Ws):NaN}function MW(e,t,r){var n=new Date(0);n.setUTCFullYear(e,0,4);var i=n.getUTCDay()||7,o=(t-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+o),n}var _W=[31,null,31,30,31,30,31,31,30,31,30,31];function Bv(e){return e%400===0||e%4===0&&e%100!==0}function $W(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(_W[t]||(Bv(e)?29:28))}function AW(e,t){return t>=1&&t<=(Bv(e)?366:365)}function kW(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}function DW(e,t,r){return e===24?t===0&&r===0:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}function jW(e,t){return t>=0&&t<=59}function IW(e,t){var r,n;H(1,arguments);var i=U(e);if(isNaN(i.getTime()))throw new RangeError("Invalid time value");var o=String((r=t==null?void 0:t.format)!==null&&r!==void 0?r:"extended"),a=String((n=t==null?void 0:t.representation)!==null&&n!==void 0?n:"complete");if(o!=="extended"&&o!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(a!=="date"&&a!=="time"&&a!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",c="",l=o==="extended"?"-":"",u=o==="extended"?":":"";if(a!=="time"){var f=$e(i.getDate(),2),d=$e(i.getMonth()+1,2),h=$e(i.getFullYear(),4);s="".concat(h).concat(l).concat(d).concat(l).concat(f)}if(a!=="date"){var g=i.getTimezoneOffset();if(g!==0){var m=Math.abs(g),y=$e(Math.floor(m/60),2),x=$e(m%60,2),b=g<0?"+":"-";c="".concat(b).concat(y,":").concat(x)}else c="Z";var T=$e(i.getHours(),2),P=$e(i.getMinutes(),2),w=$e(i.getSeconds(),2),E=s===""?"":"T",O=[T,P,w].join(u);s="".concat(s).concat(E).concat(O).concat(c)}return s}function LW(e,t){H(2,arguments);var r=U(e).getTime(),n=U(t.start).getTime(),i=U(t.end).getTime();if(!(n<=i))throw new RangeError("Invalid interval");return r>=n&&r<=i}var Lf={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(c,l){switch(c){case"P":return l.date({width:"short"});case"PP":return l.date({width:"medium"});case"PPP":return l.date({width:"long"});case"PPPP":default:return l.date({width:"full"})}},n=function(c,l){switch(c){case"p":return l.time({width:"short"});case"pp":return l.time({width:"medium"});case"ppp":return l.time({width:"long"});case"pppp":default:return l.time({width:"full"})}},i=function(c,l){var u=c.match(/(P+)(p+)?/)||[],f=u[1],d=u[2];if(!d)return r(c,l);var h;switch(f){case"P":h=l.dateTime({width:"short"});break;case"PP":h=l.dateTime({width:"medium"});break;case"PPP":h=l.dateTime({width:"long"});break;case"PPPP":default:h=l.dateTime({width:"full"});break}return h.replace("{{date}}",r(f,l)).replace("{{time}}",n(d,l))},o={p:n,P:i},a=o;t.default=a,e.exports=t.default})(Lf,Lf.exports);var FW=Lf.exports;const RW=dn(FW),NW={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},BW={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",weekday:"EEEE",weekdayShort:"EEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",fullDateWithWeekday:"PPPP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",monthAndYear:"LLLL yyyy",monthAndDate:"MMMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",fullDateTime:"PP p",fullDateTime12h:"PP hh:mm aa",fullDateTime24h:"PP HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class zW{constructor({locale:t,formats:r}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib="date-fns",this.locale=void 0,this.formats=void 0,this.formatTokenMap=NW,this.escapedCharacters={start:"'",end:"'"},this.date=n=>typeof n>"u"?new Date:n===null?null:new Date(n),this.dateWithTimezone=n=>this.date(n),this.getTimezone=()=>"default",this.setTimezone=n=>n,this.toJsDate=n=>n,this.parseISO=n=>bW(n),this.toISO=n=>IW(n,{format:"extended"}),this.parse=(n,i)=>n===""?null:uW(n,i,new Date,{locale:this.locale}),this.getCurrentLocaleCode=()=>{var n;return((n=this.locale)==null?void 0:n.code)||"en-US"},this.is12HourCycleInCurrentLocale=()=>this.locale?/a/.test(this.locale.formatLong.time()):!0,this.expandFormat=n=>{const i=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return n.match(i).map(o=>{const a=o[0];if(a==="p"||a==="P"){const s=RW[a],c=this.locale||Ys;return s(o,c.formatLong,{})}return o}).join("")},this.getFormatHelperText=n=>this.expandFormat(n).replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase(),this.isNull=n=>n===null,this.isValid=n=>vv(this.date(n)),this.format=(n,i)=>this.formatByString(n,this.formats[i]),this.formatByString=(n,i)=>_f(n,i,{locale:this.locale}),this.formatNumber=n=>n,this.getDiff=(n,i,o)=>{switch(o){case"years":return FN(n,this.date(i));case"quarters":return zN(n,this.date(i));case"months":return Sf(n,this.date(i));case"weeks":return HN(n,this.date(i));case"days":return gv(n,this.date(i));case"hours":return YN(n,this.date(i));case"minutes":return GN(n,this.date(i));case"seconds":return mv(n,this.date(i));default:return Hs(n,this.date(i))}},this.isEqual=(n,i)=>n===null&&i===null?!0:cz(n,i),this.isSameYear=(n,i)=>fz(n,i),this.isSameMonth=(n,i)=>dz(n,i),this.isSameDay=(n,i)=>uz(n,i),this.isSameHour=(n,i)=>hz(n,i),this.isAfter=(n,i)=>$f(n,i),this.isAfterYear=(n,i)=>$f(n,Of(i)),this.isAfterDay=(n,i)=>$f(n,Cf(i)),this.isBefore=(n,i)=>Jo(n,i),this.isBeforeYear=(n,i)=>Jo(n,Xs(i)),this.isBeforeDay=(n,i)=>Jo(n,ji(i)),this.isWithinRange=(n,[i,o])=>LW(n,{start:i,end:o}),this.startOfYear=n=>Xs(n),this.startOfMonth=n=>Nv(n),this.startOfWeek=n=>Dn(n,{locale:this.locale}),this.startOfDay=n=>ji(n),this.endOfYear=n=>Of(n),this.endOfMonth=n=>Tf(n),this.endOfWeek=n=>Ef(n,{locale:this.locale}),this.endOfDay=n=>Cf(n),this.addYears=(n,i)=>dv(n,i),this.addMonths=(n,i)=>zs(n,i),this.addWeeks=(n,i)=>IN(n,i),this.addDays=(n,i)=>wf(n,i),this.addHours=(n,i)=>jN(n,i),this.addMinutes=(n,i)=>kN(n,i),this.addSeconds=(n,i)=>$N(n,i),this.getYear=n=>lz(n),this.getMonth=n=>tz(n),this.getDate=n=>QB(n),this.getHours=n=>JB(n),this.getMinutes=n=>ez(n),this.getSeconds=n=>rz(n),this.getMilliseconds=n=>nz(n),this.setYear=(n,i)=>yW(n,i),this.setMonth=(n,i)=>gW(n,i),this.setDate=(n,i)=>dW(n,i),this.setHours=(n,i)=>hW(n,i),this.setMinutes=(n,i)=>pW(n,i),this.setSeconds=(n,i)=>mW(n,i),this.setMilliseconds=(n,i)=>vW(n,i),this.getDaysInMonth=n=>_v(n),this.getNextMonth=n=>zs(n,1),this.getPreviousMonth=n=>zs(n,-1),this.getMonthArray=n=>{const o=[Xs(n)];for(;o.length<12;){const a=o[o.length-1];o.push(this.getNextMonth(a))}return o},this.mergeDateAndTime=(n,i)=>this.setSeconds(this.setMinutes(this.setHours(n,this.getHours(i)),this.getMinutes(i)),this.getSeconds(i)),this.getWeekdays=()=>{const n=new Date;return qN({start:Dn(n,{locale:this.locale}),end:Ef(n,{locale:this.locale})}).map(i=>this.formatByString(i,"EEEEEE"))},this.getWeekArray=n=>{const i=Dn(Nv(n),{locale:this.locale}),o=Ef(Tf(n),{locale:this.locale});let a=0,s=i;const c=[];for(;Jo(s,o);){const l=Math.floor(a/7);c[l]=c[l]||[],c[l].push(s),s=wf(s,1),a+=1}return c},this.getWeekNumber=n=>sz(n,{locale:this.locale}),this.getYearRange=(n,i)=>{const o=Xs(n),a=Of(i),s=[];let c=o;for(;Jo(c,a);)s.push(c),c=dv(c,1);return s},this.getMeridiemText=n=>n==="am"?"AM":"PM",this.locale=t,this.formats=_e({},BW,r)}}var WW={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},VW=function(t,r,n){var i,o=WW[t];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",String(r)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"em "+i:"há "+i:i};const HW=VW;var UW={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},YW={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},GW={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qW={date:Fi({formats:UW,defaultWidth:"full"}),time:Fi({formats:YW,defaultWidth:"full"}),dateTime:Fi({formats:GW,defaultWidth:"full"})};const XW=qW;var KW={lastWeek:function(t){var r=t.getUTCDay(),n=r===0||r===6?"último":"última";return"'"+n+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},ZW=function(t,r,n,i){var o=KW[t];return typeof o=="function"?o(r):o};const QW=ZW;var JW={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},eV={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},tV={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},rV={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},nV={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},iV={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},oV=function(t,r){var n=Number(t);return(r==null?void 0:r.unit)==="week"?n+"ª":n+"º"},aV={ordinalNumber:oV,era:Sr({values:JW,defaultWidth:"wide"}),quarter:Sr({values:eV,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Sr({values:tV,defaultWidth:"wide"}),day:Sr({values:rV,defaultWidth:"wide"}),dayPeriod:Sr({values:nV,defaultWidth:"wide",formattingValues:iV,defaultFormattingWidth:"wide"})};const sV=aV;var lV=/^(\d+)[ºªo]?/i,cV=/\d+/i,uV={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},fV={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},dV={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},hV={any:[/1/i,/2/i,/3/i,/4/i]},pV={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},gV={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},mV={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},vV={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},yV={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},bV={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},xV={ordinalNumber:Mv({matchPattern:lV,parsePattern:cV,valueCallback:function(t){return parseInt(t,10)}}),era:Er({matchPatterns:uV,defaultMatchWidth:"wide",parsePatterns:fV,defaultParseWidth:"any"}),quarter:Er({matchPatterns:dV,defaultMatchWidth:"wide",parsePatterns:hV,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Er({matchPatterns:pV,defaultMatchWidth:"wide",parsePatterns:gV,defaultParseWidth:"any"}),day:Er({matchPatterns:mV,defaultMatchWidth:"wide",parsePatterns:vV,defaultParseWidth:"any"}),dayPeriod:Er({matchPatterns:yV,defaultMatchWidth:"any",parsePatterns:bV,defaultParseWidth:"any"})},wV={code:"pt-BR",formatDistance:HW,formatLong:XW,formatRelative:QW,localize:sV,match:xV,options:{weekStartsOn:0,firstWeekContainsDate:1}};const CV=wV;var zv={exports:{}},Wv={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Vv={exports:{}},TV=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},SV=TV,EV=Array.prototype.concat,OV=Array.prototype.slice,Hv=Vv.exports=function(t){for(var r=[],n=0,i=t.length;n<i;n++){var o=t[n];SV(o)?r=EV.call(r,OV.call(o)):r.push(o)}return r};Hv.wrap=function(e){return function(){return e(Hv(arguments))}};var PV=Vv.exports,ta=Wv,ra=PV,Uv=Object.hasOwnProperty,Yv=Object.create(null);for(var Ff in ta)Uv.call(ta,Ff)&&(Yv[ta[Ff]]=Ff);var er=zv.exports={to:{},get:{}};er.get=function(e){var t=e.substring(0,3).toLowerCase(),r,n;switch(t){case"hsl":r=er.get.hsl(e),n="hsl";break;case"hwb":r=er.get.hwb(e),n="hwb";break;default:r=er.get.rgb(e),n="rgb";break}return r?{model:n,value:r}:null},er.get.rgb=function(e){if(!e)return null;var t=/^#([a-f0-9]{3,4})$/i,r=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^(\w+)$/,a=[0,0,0,1],s,c,l;if(s=e.match(r)){for(l=s[2],s=s[1],c=0;c<3;c++){var u=c*2;a[c]=parseInt(s.slice(u,u+2),16)}l&&(a[3]=parseInt(l,16)/255)}else if(s=e.match(t)){for(s=s[1],l=s[3],c=0;c<3;c++)a[c]=parseInt(s[c]+s[c],16);l&&(a[3]=parseInt(l+l,16)/255)}else if(s=e.match(n)){for(c=0;c<3;c++)a[c]=parseInt(s[c+1],0);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else if(s=e.match(i)){for(c=0;c<3;c++)a[c]=Math.round(parseFloat(s[c+1])*2.55);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else return(s=e.match(o))?s[1]==="transparent"?[0,0,0,0]:Uv.call(ta,s[1])?(a=ta[s[1]],a[3]=1,a):null:null;for(c=0;c<3;c++)a[c]=on(a[c],0,255);return a[3]=on(a[3],0,1),a},er.get.hsl=function(e){if(!e)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,r=e.match(t);if(r){var n=parseFloat(r[4]),i=(parseFloat(r[1])%360+360)%360,o=on(parseFloat(r[2]),0,100),a=on(parseFloat(r[3]),0,100),s=on(isNaN(n)?1:n,0,1);return[i,o,a,s]}return null},er.get.hwb=function(e){if(!e)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,r=e.match(t);if(r){var n=parseFloat(r[4]),i=(parseFloat(r[1])%360+360)%360,o=on(parseFloat(r[2]),0,100),a=on(parseFloat(r[3]),0,100),s=on(isNaN(n)?1:n,0,1);return[i,o,a,s]}return null},er.to.hex=function(){var e=ra(arguments);return"#"+Zs(e[0])+Zs(e[1])+Zs(e[2])+(e[3]<1?Zs(Math.round(e[3]*255)):"")},er.to.rgb=function(){var e=ra(arguments);return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},er.to.rgb.percent=function(){var e=ra(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},er.to.hsl=function(){var e=ra(arguments);return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},er.to.hwb=function(){var e=ra(arguments),t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},er.to.keyword=function(e){return Yv[e.slice(0,3)]};function on(e,t,r){return Math.min(Math.max(t,e),r)}function Zs(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var MV=zv.exports;const na=Wv,Gv={};for(const e of Object.keys(na))Gv[na[e]]=e;const fe={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var qv=fe;for(const e of Object.keys(fe)){if(!("channels"in fe[e]))throw new Error("missing channels property: "+e);if(!("labels"in fe[e]))throw new Error("missing channel labels property: "+e);if(fe[e].labels.length!==fe[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=fe[e];delete fe[e].channels,delete fe[e].labels,Object.defineProperty(fe[e],"channels",{value:t}),Object.defineProperty(fe[e],"labels",{value:r})}fe.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=o-i;let s,c;o===i?s=0:t===o?s=(r-n)/a:r===o?s=2+(n-t)/a:n===o&&(s=4+(t-r)/a),s=Math.min(s*60,360),s<0&&(s+=360);const l=(i+o)/2;return o===i?c=0:l<=.5?c=a/(o+i):c=a/(2-o-i),[s,c*100,l*100]},fe.rgb.hsv=function(e){let t,r,n,i,o;const a=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(a,s,c),u=l-Math.min(a,s,c),f=function(d){return(l-d)/6/u+1/2};return u===0?(i=0,o=0):(o=u/l,t=f(a),r=f(s),n=f(c),a===l?i=n-r:s===l?i=1/3+t-n:c===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,o*100,l*100]},fe.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=fe.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,o*100,n*100]},fe.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),o=(1-t-i)/(1-i)||0,a=(1-r-i)/(1-i)||0,s=(1-n-i)/(1-i)||0;return[o*100,a*100,s*100,i*100]};function _V(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}fe.rgb.keyword=function(e){const t=Gv[e];if(t)return t;let r=1/0,n;for(const i of Object.keys(na)){const o=na[i],a=_V(e,o);a<r&&(r=a,n=i)}return n},fe.keyword.rgb=function(e){return na[e]},fe.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,a=t*.0193+r*.1192+n*.9505;return[i*100,o*100,a*100]},fe.rgb.lab=function(e){const t=fe.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*n-16,a=500*(r-n),s=200*(n-i);return[o,a,s]},fe.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,o,a;if(r===0)return a=n*255,[a,a,a];n<.5?i=n*(1+r):i=n+r-n*r;const s=2*n-i,c=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,6*o<1?a=s+(i-s)*6*o:2*o<1?a=i:3*o<2?a=s+(i-s)*(2/3-o)*6:a=s,c[l]=a*255;return c},fe.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=o<=1?o:2-o;const a=(n+r)/2,s=n===0?2*i/(o+i):2*r/(n+r);return[t,s*100,a*100]},fe.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),a=255*n*(1-r),s=255*n*(1-r*o),c=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,c,a];case 1:return[s,n,a];case 2:return[a,n,c];case 3:return[a,s,n];case 4:return[c,a,n];case 5:return[n,a,s]}},fe.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let o,a;a=(2-r)*n;const s=(2-r)*i;return o=r*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,o*100,a*100]},fe.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let o;i>1&&(r/=i,n/=i);const a=Math.floor(6*t),s=1-n;o=6*t-a,a&1&&(o=1-o);const c=r+o*(s-r);let l,u,f;switch(a){default:case 6:case 0:l=s,u=c,f=r;break;case 1:l=c,u=s,f=r;break;case 2:l=r,u=s,f=c;break;case 3:l=r,u=c,f=s;break;case 4:l=c,u=r,f=s;break;case 5:l=s,u=r,f=c;break}return[l*255,u*255,f*255]},fe.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,o=1-Math.min(1,t*(1-i)+i),a=1-Math.min(1,r*(1-i)+i),s=1-Math.min(1,n*(1-i)+i);return[o*255,a*255,s*255]},fe.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,o,a;return i=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,a=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[i*255,o*255,a*255]},fe.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*r-16,o=500*(t-r),a=200*(r-n);return[i,o,a]},fe.lab.xyz=function(e){const t=e[0],r=e[1],n=e[2];let i,o,a;o=(t+16)/116,i=r/500+o,a=o-n/200;const s=o**3,c=i**3,l=a**3;return o=s>.008856?s:(o-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,a=l>.008856?l:(a-16/116)/7.787,i*=95.047,o*=100,a*=108.883,[i,o,a]},fe.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);const a=Math.sqrt(r*r+n*n);return[t,a,i]},fe.lch.lab=function(e){const t=e[0],r=e[1],i=e[2]/360*2*Math.PI,o=r*Math.cos(i),a=r*Math.sin(i);return[t,o,a]},fe.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let o=t===null?fe.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(a+=60),a},fe.hsv.ansi16=function(e){return fe.rgb.ansi16(fe.hsv.rgb(e),e[2])},fe.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},fe.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,i,o]},fe.ansi256.rgb=function(e){if(e>=232){const o=(e-232)*10+8;return[o,o,o]}e-=16;let t;const r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]},fe.rgb.hex=function(e){const r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r},fe.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(s=>s+s).join(""));const n=parseInt(r,16),i=n>>16&255,o=n>>8&255,a=n&255;return[i,o,a]},fe.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),a=i-o;let s,c;return a<1?s=o/(1-a):s=0,a<=0?c=0:i===t?c=(r-n)/a%6:i===r?c=2+(n-t)/a:c=4+(t-r)/a,c/=6,c%=1,[c*360,a*100,s*100]},fe.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]},fe.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]},fe.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];const i=[0,0,0],o=t%1*6,a=o%1,s=1-a;let c=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return c=(1-r)*n,[(r*i[0]+c)*255,(r*i[1]+c)*255,(r*i[2]+c)*255]},fe.hcg.hsv=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);let i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]},fe.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]},fe.hcg.hwb=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]},fe.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,i=n-t;let o=0;return i<1&&(o=(n-i)/(1-i)),[e[0],i*100,o*100]},fe.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},fe.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},fe.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},fe.gray.hsl=function(e){return[0,0,e[0]]},fe.gray.hsv=fe.gray.hsl,fe.gray.hwb=function(e){return[0,100,e[0]]},fe.gray.cmyk=function(e){return[0,0,0,e[0]]},fe.gray.lab=function(e){return[e[0],0,0]},fe.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},fe.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Qs=qv;function $V(){const e={},t=Object.keys(Qs);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function AV(e){const t=$V(),r=[e];for(t[e].distance=0;r.length;){const n=r.pop(),i=Object.keys(Qs[n]);for(let o=i.length,a=0;a<o;a++){const s=i[a],c=t[s];c.distance===-1&&(c.distance=t[n].distance+1,c.parent=n,r.unshift(s))}}return t}function kV(e,t){return function(r){return t(e(r))}}function DV(e,t){const r=[t[e].parent,e];let n=Qs[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),n=kV(Qs[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var jV=function(e){const t=AV(e),r={},n=Object.keys(t);for(let i=n.length,o=0;o<i;o++){const a=n[o];t[a].parent!==null&&(r[a]=DV(a,t))}return r};const Rf=qv,IV=jV,Ri={},LV=Object.keys(Rf);function FV(e){const t=function(...r){const n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function RV(e){const t=function(...r){const n=r[0];if(n==null)return n;n.length>1&&(r=n);const i=e(r);if(typeof i=="object")for(let o=i.length,a=0;a<o;a++)i[a]=Math.round(i[a]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}LV.forEach(e=>{Ri[e]={},Object.defineProperty(Ri[e],"channels",{value:Rf[e].channels}),Object.defineProperty(Ri[e],"labels",{value:Rf[e].labels});const t=IV(e);Object.keys(t).forEach(n=>{const i=t[n];Ri[e][n]=RV(i),Ri[e][n].raw=FV(i)})});var NV=Ri;const Ni=MV,tr=NV,Xv=["keyword","gray","hex"],Nf={};for(const e of Object.keys(tr))Nf[[...tr[e].labels].sort().join("")]=e;const Js={};function $t(e,t){if(!(this instanceof $t))return new $t(e,t);if(t&&t in Xv&&(t=null),t&&!(t in tr))throw new Error("Unknown model: "+t);let r,n;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof $t)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const i=Ni.get(e);if(i===null)throw new Error("Unable to parse color from string: "+e);this.model=i.model,n=tr[this.model].channels,this.color=i.value.slice(0,n),this.valpha=typeof i.value[n]=="number"?i.value[n]:1}else if(e.length>0){this.model=t||"rgb",n=tr[this.model].channels;const i=Array.prototype.slice.call(e,0,n);this.color=Bf(i,n),this.valpha=typeof e[n]=="number"?e[n]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const i=Object.keys(e);"alpha"in e&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const o=i.sort().join("");if(!(o in Nf))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=Nf[o];const{labels:a}=tr[this.model],s=[];for(r=0;r<a.length;r++)s.push(e[a[r]]);this.color=Bf(s)}if(Js[this.model])for(n=tr[this.model].channels,r=0;r<n;r++){const i=Js[this.model][r];i&&(this.color[r]=i(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}$t.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in Ni.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);const r=t.valpha===1?t.color:[...t.color,this.valpha];return Ni.to[t.model](r)},percentString(e){const t=this.rgb().round(typeof e=="number"?e:1),r=t.valpha===1?t.color:[...t.color,this.valpha];return Ni.to.rgb.percent(r)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=tr[this.model],{labels:r}=tr[this.model];for(let n=0;n<t;n++)e[r[n]]=this.color[n];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new $t([...this.color.map(zV(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new $t([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:bt("rgb",0,Pt(255)),green:bt("rgb",1,Pt(255)),blue:bt("rgb",2,Pt(255)),hue:bt(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:bt("hsl",1,Pt(100)),lightness:bt("hsl",2,Pt(100)),saturationv:bt("hsv",1,Pt(100)),value:bt("hsv",2,Pt(100)),chroma:bt("hcg",1,Pt(100)),gray:bt("hcg",2,Pt(100)),white:bt("hwb",1,Pt(100)),wblack:bt("hwb",2,Pt(100)),cyan:bt("cmyk",0,Pt(100)),magenta:bt("cmyk",1,Pt(100)),yellow:bt("cmyk",2,Pt(100)),black:bt("cmyk",3,Pt(100)),x:bt("xyz",0,Pt(95.047)),y:bt("xyz",1,Pt(100)),z:bt("xyz",2,Pt(108.833)),l:bt("lab",0,Pt(100)),a:bt("lab",1),b:bt("lab",2),keyword(e){return e!==void 0?new $t(e):tr[this.model].keyword(this.color)},hex(e){return e!==void 0?new $t(e):Ni.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new $t(e);const t=this.rgb().round().color;let r=Math.round(this.valpha*255).toString(16).toUpperCase();return r.length===1&&(r="0"+r),Ni.to.hex(t)+r},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[r,n]of e.entries()){const i=n/255;t[r]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return $t.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const r=e.rgb(),n=this.rgb(),i=t===void 0?.5:t,o=2*i-1,a=r.alpha()-n.alpha(),s=((o*a===-1?o:(o+a)/(1+o*a))+1)/2,c=1-s;return $t.rgb(s*r.red()+c*n.red(),s*r.green()+c*n.green(),s*r.blue()+c*n.blue(),r.alpha()*i+n.alpha()*(1-i))}};for(const e of Object.keys(tr)){if(Xv.includes(e))continue;const{channels:t}=tr[e];$t.prototype[e]=function(...r){return this.model===e?new $t(this):r.length>0?new $t(r,e):new $t([...WV(tr[this.model][e].raw(this.color)),this.valpha],e)},$t[e]=function(...r){let n=r[0];return typeof n=="number"&&(n=Bf(r,t)),new $t(n,e)}}function BV(e,t){return Number(e.toFixed(t))}function zV(e){return function(t){return BV(t,e)}}function bt(e,t,r){e=Array.isArray(e)?e:[e];for(const n of e)(Js[n]||(Js[n]=[]))[t]=r;return e=e[0],function(n){let i;return n!==void 0?(r&&(n=r(n)),i=this[e](),i.color[t]=n,i):(i=this[e]().color[t],r&&(i=r(i)),i)}}function Pt(e){return function(t){return Math.max(0,Math.min(e,t))}}function WV(e){return Array.isArray(e)?e:[e]}function Bf(e,t){for(let r=0;r<t;r++)typeof e[r]!="number"&&(e[r]=0);return e}var VV=$t;const HV=dn(VV),et={0:"#FFFFFF",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#212B36",900:"#161C24"},UV={lighter:"#3aa4f2",light:"#7bc2f6",main:"#0E82D8",dark:"#0b61a2",darker:"#07416c",contrastText:"#fff"},YV={lighter:"#D6E4FF",light:"#84A9FF",main:"#3366FF",dark:"#1939B7",darker:"#091A7A",contrastText:"#fff"},GV={lighter:"#CAFDF5",light:"#61F3F3",main:"#00B8D9",dark:"#006C9C",darker:"#003768",contrastText:"#fff"},qV={lighter:"#D8FBDE",light:"#86E8AB",main:"#36B37E",dark:"#1B806A",darker:"#0A5554",contrastText:"#fff"},XV={lighter:"#FFF5CC",light:"#FFD666",main:"#FFAB00",dark:"#B76E00",darker:"#7A4100",contrastText:et[800]},Bi={common:{black:"#000",white:"#fff"},primary:UV,secondary:YV,info:GV,success:qV,warning:XV,error:{lighter:"#FFE9D5",light:"#FFAC82",main:"#FF5630",dark:"#B71D18",darker:"#7A0916",contrastText:"#fff"},grey:et,divider:V(et[500],.24),action:{hover:V(et[500],.08),selected:V(et[500],.16),disabled:V(et[500],.8),disabledBackground:V(et[500],.24),focus:V(et[500],.24),hoverOpacity:.08,disabledOpacity:.48}},an=e=>{const t={...Bi,mode:"light",text:{primary:et[800],secondary:et[600],disabled:et[500]},background:{paper:"#fff",default:et[100],neutral:et[200]},action:{...Bi.action,active:et[600]}},r={...Bi,mode:"dark",text:{primary:"#fff",secondary:et[500],disabled:et[600]},background:{paper:et[800],default:et[900],neutral:V(et[500],.16)},action:{...Bi.action,active:et[500]}};return e==="light"?t:r},KV=e=>({lighter:zc(e,.815),light:zc(e,.225),main:e,dark:Bc(e,.15),darker:Bc(e,.35)}),ZV=e=>HV(e).luminosity()<=.55?"#fff":et[900],QV=e=>{const t=KV(e);return{...Bi,primary:{...t,contrastText:ZV(t.main)},mode:"light",text:{primary:et[800],secondary:et[600],disabled:et[500]},background:{paper:"#fff",default:et[100],neutral:et[200]},action:{active:et[600],...Bi.action}}},Kv=an("light"),JV=Kv.grey[500],eH=Kv.common.black;function Zv(e,t){const r=V(e,.16);return{z1:`0 1px 2px 0 ${r}`,z4:`0 4px 8px 0 ${r}`,z8:`0 8px 16px 0 ${r}`,z12:`0 12px 24px -4px ${r}`,z16:`0 16px 32px -4px ${r}`,z20:`0 20px 40px -4px ${r}`,z24:`0 24px 48px 0 ${r}`,primary:`0 8px 16px 0 ${V(t||an("light").primary.main,.24)}`,info:`0 8px 16px 0 ${V(an("light").info.main,.24)}`,secondary:`0 8px 16px 0 ${V(an("light").secondary.main,.24)}`,success:`0 8px 16px 0 ${V(an("light").success.main,.24)}`,warning:`0 8px 16px 0 ${V(an("light").warning.main,.24)}`,error:`0 8px 16px 0 ${V(an("light").error.main,.24)}`,card:`0 0 2px 0 ${V(e,.2)}, 0 12px 24px -4px ${V(e,.12)}`,dialog:`-40px 40px 80px -8px ${V(e,.24)}`,dropdown:`0 0 2px 0 ${V(e,.24)}, -20px 20px 40px -4px ${V(e,.24)}`}}const tH=(e,t)=>Zv(e==="light"?JV:eH,t),rH=()=>v.jsx($.GlobalStyles,{styles:{"*":{boxSizing:"border-box"},html:{margin:0,padding:0,width:"100%",height:"100%",WebkitOverflowScrolling:"touch"},body:{margin:0,padding:0,width:"100%",height:"100%",backgroundColor:"#fff"},"#root":{width:"100%",height:"100%"},input:{"&[type=number]":{MozAppearance:"textfield","&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"}},"&[type=search]":{"&::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{WebkitAppearance:"none"}}},img:{display:"block",maxWidth:"100%"},ul:{margin:0,padding:0},".SnackbarContainer-root":{transform:"scale(1)",zIndex:"9999 !important",maxHeight:"0 !important","& .MuiCollapse-wrapper":{maxHeight:"0 !important"}}}}),nH=["primary","secondary","info","success","warning","error"];function iH(e){const t=e.palette.mode==="light",r=n=>{const i=n.color==="default",o=n.color==="inherit",a=n.variant==="circular",s=n.variant==="extended",c=n.variant==="outlined",l=n.variant==="outlinedExtended",u=n.variant==="soft",f=n.variant==="softExtended",d={"&:hover, &:active":{boxShadow:"none"},...(a||s)&&{...(i||o)&&{color:e.palette.grey[800],boxShadow:e.customShadows.z8,"&:hover":{backgroundColor:e.palette.grey[400]}},...o&&{...!t&&{color:"inherit",backgroundColor:e.palette.grey[800],"&:hover":{backgroundColor:e.palette.grey[700]}}}},...(c||l)&&{boxShadow:"none",backgroundColor:"transparent",...(i||o)&&{border:`solid 1px ${V(e.palette.grey[500],.32)}`,"&:hover":{backgroundColor:e.palette.action.hover}},...i&&{...!t&&{color:e.palette.text.secondary}}},...(u||f)&&{boxShadow:"none",...i&&{color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey[400]}},...o&&{backgroundColor:V(e.palette.grey[500],.08),"&:hover":{backgroundColor:V(e.palette.grey[500],.24)}}}},h=nH.map(y=>({...n.color===y&&{...(a||s)&&{boxShadow:e.customShadows[y],"&:hover":{backgroundColor:e.palette[y].dark}},...(c||l)&&{color:e.palette[y].main,border:`solid 1px ${V(e.palette[y].main,.48)}`,"&:hover":{backgroundColor:V(e.palette[y].main,.08),border:`solid 1px ${e.palette[y].main}`}},...(u||f)&&{color:e.palette[y][t?"dark":"light"],backgroundColor:V(e.palette[y].main,.16),"&:hover":{backgroundColor:V(e.palette[y].main,.32)}}}})),g={"&.Mui-disabled":{...(c||l)&&{backgroundColor:"transparent",border:`solid 1px ${e.palette.action.disabledBackground}`}}},m={...(s||l||f)&&{width:"auto","& svg":{marginRight:e.spacing(1)},...n.size==="small"&&{height:34,minHeight:34,borderRadius:17,padding:e.spacing(0,1)},...n.size==="medium"&&{height:40,minHeight:40,borderRadius:20,padding:e.spacing(0,2)},...n.size==="large"&&{height:48,minHeight:48,borderRadius:24,padding:e.spacing(0,2)}}};return[...h,d,g,m]};return{MuiFab:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function oH(e){return{MuiCard:{styleOverrides:{root:{position:"relative",boxShadow:e.customShadows.card,borderRadius:Number(e.shape.borderRadius)*2,zIndex:0}}},MuiCardHeader:{defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:e.spacing(.5)}},styleOverrides:{root:{padding:e.spacing(3,3,0)}}},MuiCardContent:{styleOverrides:{root:{padding:e.spacing(3)}}}}}function aH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M14.71,13.29 C14.8993127,13.4777666 15.0057983,13.7333625 15.0057983,14 C15.0057983,14.2666375 14.8993127,14.5222334 14.71,14.71 C14.5222334,14.8993127 14.2666375,15.0057983 14,15.0057983 C13.7333625,15.0057983 13.4777666,14.8993127 13.29,14.71 L12,13.41 L10.71,14.71 C10.5222334,14.8993127 10.2666375,15.0057983 10,15.0057983 C9.73336246,15.0057983 9.4777666,14.8993127 9.29,14.71 C9.10068735,14.5222334 8.99420168,14.2666375 8.99420168,14 C8.99420168,13.7333625 9.10068735,13.4777666 9.29,13.29 L10.59,12 L9.29,10.71 C8.89787783,10.3178778 8.89787783,9.68212217 9.29,9.29 C9.68212217,8.89787783 10.3178778,8.89787783 10.71,9.29 L12,10.59 L13.29,9.29 C13.6821222,8.89787783 14.3178778,8.89787783 14.71,9.29 C15.1021222,9.68212217 15.1021222,10.3178778 14.71,10.71 L13.41,12 L14.71,13.29 Z"})})}function Qv(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17.56,21 C17.4000767,21.0006435 17.2423316,20.9629218 17.1,20.89 L12,18.22 L6.9,20.89 C6.56213339,21.067663 6.15259539,21.0374771 5.8444287,20.8121966 C5.53626201,20.5869161 5.38323252,20.2058459 5.45,19.83 L6.45,14.2 L2.33,10.2 C2.06805623,9.93860108 1.9718844,9.55391377 2.08,9.2 C2.19824414,8.83742187 2.51242293,8.57366684 2.89,8.52 L8.59,7.69 L11.1,2.56 C11.2670864,2.21500967 11.6166774,1.99588989 12,1.99588989 C12.3833226,1.99588989 12.7329136,2.21500967 12.9,2.56 L15.44,7.68 L21.14,8.51 C21.5175771,8.56366684 21.8317559,8.82742187 21.95,9.19 C22.0581156,9.54391377 21.9619438,9.92860108 21.7,10.19 L17.58,14.19 L18.58,19.82 C18.652893,20.2027971 18.4967826,20.5930731 18.18,20.82 C17.9989179,20.9468967 17.7808835,21.010197 17.56,21 L17.56,21 Z"})})}function sH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M13,16 C13,16.5522847 12.5522847,17 12,17 C11.4477153,17 11,16.5522847 11,16 L11,11 C11,10.4477153 11.4477153,10 12,10 C12.5522847,10 13,10.4477153 13,11 L13,16 Z M12,9 C11.4477153,9 11,8.55228475 11,8 C11,7.44771525 11.4477153,7 12,7 C12.5522847,7 13,7.44771525 13,8 C13,8.55228475 12.5522847,9 12,9 Z"})})}function lH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M22.56,16.3 L14.89,3.58 C14.2597186,2.59400001 13.1702353,1.99737652 12,1.99737652 C10.8297647,1.99737652 9.74028139,2.59400001 9.11,3.58 L1.44,16.3 C0.888546003,17.2192471 0.869485343,18.3628867 1.39,19.3 C1.99197363,20.3551378 3.11522982,21.0046397 4.33,21 L19.67,21 C20.8765042,21.0128744 21.9978314,20.3797441 22.61,19.34 C23.146086,18.3926382 23.1269508,17.2292197 22.56,16.3 L22.56,16.3 Z M12,17 C11.4477153,17 11,16.5522847 11,16 C11,15.4477153 11.4477153,15 12,15 C12.5522847,15 13,15.4477153 13,16 C13,16.5522847 12.5522847,17 12,17 Z M13,13 C13,13.5522847 12.5522847,14 12,14 C11.4477153,14 11,13.5522847 11,13 L11,9 C11,8.44771525 11.4477153,8 12,8 C12.5522847,8 13,8.44771525 13,9 L13,13 Z"})})}function cH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M16.3,9.61 L11.73,15.61 C11.5412074,15.855247 11.2494966,15.9992561 10.94,16.0000145 C10.6322197,16.001658 10.3408221,15.861492 10.15,15.62 L7.71,12.51 C7.49028166,12.2277602 7.43782669,11.8497415 7.57239438,11.5183399 C7.70696206,11.1869384 8.00810836,10.9525017 8.36239438,10.9033399 C8.7166804,10.8541782 9.07028166,10.9977602 9.29,11.28 L10.92,13.36 L14.7,8.36 C14.917932,8.07418751 15.2717886,7.92635122 15.6282755,7.97217964 C15.9847624,8.01800806 16.2897207,8.25053875 16.4282755,8.58217966 C16.5668304,8.91382056 16.517932,9.29418753 16.3,9.58 L16.3,9.61 Z"})})}function uH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M12,17 C11.4477153,17 11,16.5522847 11,16 C11,15.4477153 11.4477153,15 12,15 C12.5522847,15 13,15.4477153 13,16 C13,16.5522847 12.5522847,17 12,17 Z M13,13 C13,13.5522847 12.5522847,14 12,14 C11.4477153,14 11,13.5522847 11,13 L11,8 C11,7.44771525 11.4477153,7 12,7 C12.5522847,7 13,7.44771525 13,8 L13,13 Z"})})}function fH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})})}function dH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})})}function hH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})})}function pH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Z"})})}function gH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z"})})}function mH(e){return v.jsx($.SvgIcon,{...e,sx:{right:12,fontSize:16,position:"absolute",pointerEvents:"none"},children:v.jsx("path",{d:"M12,16 C11.7663478,16.0004565 11.5399121,15.9190812 11.36,15.77 L5.36,10.77 C4.93474074,10.4165378 4.87653776,9.78525926 5.23,9.36 C5.58346224,8.93474074 6.21474074,8.87653776 6.64,9.23 L12,13.71 L17.36,9.39 C17.5665934,9.2222295 17.8315409,9.14373108 18.0961825,9.17188444 C18.3608241,9.2000378 18.6033268,9.33252029 18.77,9.54 C18.9551341,9.74785947 19.0452548,10.0234772 19.0186853,10.3005589 C18.9921158,10.5776405 18.8512608,10.8311099 18.63,11 L12.63,15.83 C12.444916,15.955516 12.2231011,16.0153708 12,16 Z"})})}function vH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M12,8 C12.5522847,8 13,8.44771525 13,9 L13,9 L13,11 L15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L13,13 L13,15 C13,15.5522847 12.5522847,16 12,16 C11.4477153,16 11,15.5522847 11,15 L11,15 L11,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 L11,11 L11,9 C11,8.44771525 11.4477153,8 12,8 Z"})})}function yH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 Z"})})}function bH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M14,8.99420168 C14.2666375,8.99420168 14.5222334,9.10068735 14.71,9.29 C14.8993127,9.4777666 15.0057983,9.73336246 15.0057983,10 C15.0057983,10.2666375 14.8993127,10.5222334 14.71,10.71 L14.71,10.71 L13.41,12 L14.71,13.29 C14.8993127,13.4777666 15.0057983,13.7333625 15.0057983,14 C15.0057983,14.2666375 14.8993127,14.5222334 14.71,14.71 C14.5222334,14.8993127 14.2666375,15.0057983 14,15.0057983 C13.7333625,15.0057983 13.4777666,14.8993127 13.29,14.71 L13.29,14.71 L12,13.41 L10.71,14.71 C10.5222334,14.8993127 10.2666375,15.0057983 10,15.0057983 C9.73336246,15.0057983 9.4777666,14.8993127 9.29,14.71 C9.10068735,14.5222334 8.99420168,14.2666375 8.99420168,14 C8.99420168,13.7333625 9.10068735,13.4777666 9.29,13.29 L9.29,13.29 L10.59,12 L9.29,10.71 C8.89787783,10.3178778 8.89787783,9.68212217 9.29,9.29 C9.68212217,8.89787783 10.3178778,8.89787783 10.71,9.29 L10.71,9.29 L12,10.59 L13.29,9.29 C13.4777666,9.10068735 13.7333625,8.99420168 14,8.99420168 Z"})})}const xH=["primary","secondary","info","success","warning","error"];function wH(e){const t=e.palette.mode==="light",r=n=>{const i=n.color==="default",o=n.variant==="filled",a=n.variant==="outlined",s=n.variant==="soft",c={...i&&{"& .MuiChip-avatar":{color:e.palette.text[t?"secondary":"primary"],backgroundColor:V(e.palette.grey[500],.48)},...a&&{border:`solid 1px ${V(e.palette.grey[500],.32)}`},...s&&{color:e.palette.text.primary,backgroundColor:V(e.palette.grey[500],.16),"&:hover":{backgroundColor:V(e.palette.grey[500],.32)}}}};return[...xH.map(u=>({...n.color===u&&{"& .MuiChip-avatar":{color:e.palette[u].lighter,backgroundColor:e.palette[u].dark},...o&&{"& .MuiChip-deleteIcon":{color:V(e.palette[u].contrastText,.56),"&:hover":{color:e.palette[u].contrastText}}},...s&&{color:e.palette[u][t?"dark":"light"],backgroundColor:V(e.palette[u].main,.16),"&:hover":{backgroundColor:V(e.palette[u].main,.32)},"& .MuiChip-deleteIcon":{color:V(e.palette[u][t?"dark":"light"],.48),"&:hover":{color:e.palette[u].dark}}}}})),c]};return{MuiChip:{defaultProps:{deleteIcon:v.jsx(aH,{})},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function CH(e){return{MuiTabs:{defaultProps:{textColor:"inherit",allowScrollButtonsMobile:!0,variant:"scrollable"},styleOverrides:{scrollButtons:{width:48,borderRadius:"50%"}}},MuiTab:{defaultProps:{disableRipple:!0,iconPosition:"start"},styleOverrides:{root:({ownerState:t})=>({padding:0,opacity:1,minWidth:48,fontWeight:e.typography.fontWeightMedium,"&:not(:last-of-type)":{marginRight:e.spacing(3),[e.breakpoints.up("sm")]:{marginRight:e.spacing(5)}},"&:not(.Mui-selected)":{color:e.palette.text.secondary},...(t.iconPosition==="start"||t.iconPosition==="end")&&{minHeight:48}})}}}}function TH(e){return{MuiMenuItem:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}}}}}}}function SH(e){return{MuiLink:{defaultProps:{underline:"hover"}}}}function EH(e){return{MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemAvatar:{styleOverrides:{root:{minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemText:{styleOverrides:{root:{marginTop:0,marginBottom:0},multiline:{marginTop:0,marginBottom:0}}}}}function OH(e){return{MuiTableContainer:{styleOverrides:{root:{position:"relative"}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}}}}},MuiTableCell:{styleOverrides:{root:{borderBottom:"none"},head:{color:e.palette.text.secondary,backgroundColor:e.palette.background.neutral},stickyHeader:{backgroundColor:e.palette.background.paper,backgroundImage:`linear-gradient(to bottom, ${e.palette.background.neutral} 0%, ${e.palette.background.neutral} 100%)`},paddingCheckbox:{paddingLeft:e.spacing(1)}}},MuiTablePagination:{defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"},SelectProps:{MenuProps:{MenuListProps:{sx:{"& .MuiMenuItem-root":{...e.typography.body2}}}}}},styleOverrides:{root:{borderTop:`solid 1px ${e.palette.divider}`},toolbar:{height:64},actions:{marginRight:e.spacing(1)},select:{"&:focus":{borderRadius:e.shape.borderRadius}}}}}}const PH=["info","success","warning","error"];function MH(e){const t=e.palette.mode==="light",r=n=>{const i=n.variant==="standard",o=n.variant==="filled",a=n.variant==="outlined";return[...PH.map(c=>({...n.severity===c&&{...i&&{color:e.palette[c][t?"darker":"lighter"],backgroundColor:e.palette[c][t?"lighter":"darker"],"& .MuiAlert-icon":{color:e.palette[c][t?"main":"light"]}},...o&&{color:e.palette[c].contrastText,backgroundColor:e.palette[c].main},...a&&{color:e.palette[c][t?"dark":"light"],border:`solid 1px ${e.palette[c].main}`,"& .MuiAlert-icon":{color:e.palette[c].main}}}}))]};return{MuiAlert:{defaultProps:{iconMapping:{info:v.jsx(sH,{}),success:v.jsx(cH,{}),warning:v.jsx(lH,{}),error:v.jsx(uH,{})}},styleOverrides:{root:({ownerState:n})=>r(n),icon:{opacity:1}}},MuiAlertTitle:{styleOverrides:{root:{marginBottom:e.spacing(.5)}}}}}function _H(e){return{MuiBadge:{styleOverrides:{dot:{width:10,height:10,borderRadius:"50%"}}}}}function $H(e){return{MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"}}}}}function AH(e){return{MuiInputBase:{styleOverrides:{root:{"&.Mui-disabled":{"& svg":{color:e.palette.text.disabled}}},input:{"&::placeholder":{opacity:1,color:e.palette.text.disabled}}}},MuiInput:{styleOverrides:{underline:{"&:before":{borderBottomColor:V(e.palette.grey[500],.56)},"&:after":{borderBottomColor:e.palette.text.primary}}}},MuiTextField:{styleOverrides:{root:{"& .MuiInputLabel-root.Mui-focused":{color:e.palette.text.primary}}}},MuiFilledInput:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:V(e.palette.grey[500],.08),"&:hover":{backgroundColor:V(e.palette.grey[500],.16)},"&.Mui-focused":{backgroundColor:V(e.palette.grey[500],.16)},"&.Mui-disabled":{backgroundColor:e.palette.action.disabledBackground}},underline:{"&:before, :after":{display:"none"}}}},MuiOutlinedInput:{styleOverrides:{root:{"& .MuiOutlinedInput-notchedOutline":{borderColor:V(e.palette.grey[500],.32)},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderWidth:1,borderColor:e.palette.text.primary}},"&.Mui-disabled":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.action.disabledBackground}}}}}}}function kH(e){return{MuiRadio:{defaultProps:{icon:v.jsx(pH,{}),checkedIcon:v.jsx(gH,{})},styleOverrides:{root:({ownerState:t})=>({padding:e.spacing(1),...t.size==="small"&&{"& svg":{width:20,height:20}},...t.size==="medium"&&{"& svg":{width:24,height:24}}})}}}}function DH(e){const t=e.palette.mode==="light";return{MuiDrawer:{styleOverrides:{root:({ownerState:r})=>({...r.variant==="temporary"&&{"& .MuiDrawer-paper":{boxShadow:`-40px 40px 80px -8px ${V(t?e.palette.grey[500]:e.palette.common.black,.24)}`}}})}}}}function jH(e){return{MuiDialog:{styleOverrides:{paper:{boxShadow:e.customShadows.dialog,"&.MuiPaper-rounded":{borderRadius:Number(e.shape.borderRadius)*2},"&.MuiDialog-paperFullScreen":{borderRadius:0},"&.MuiDialog-paper .MuiDialogActions-root":{padding:e.spacing(3)},"@media (max-width: 600px)":{margin:e.spacing(2)},"@media (max-width: 663.95px)":{"&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody":{maxWidth:"100%"}}},paperFullWidth:{width:"100%"}}},MuiDialogTitle:{styleOverrides:{root:{padding:e.spacing(3)}}},MuiDialogContent:{styleOverrides:{root:{padding:e.spacing(0,3)},dividers:{borderTop:0,borderBottomStyle:"dashed",paddingBottom:e.spacing(3)}}},MuiDialogActions:{styleOverrides:{root:{"& > :not(:first-of-type)":{marginLeft:e.spacing(1.5)}}}}}}function IH(e){return{MuiAvatar:{styleOverrides:{colorDefault:{color:e.palette.text.secondary,backgroundColor:V(e.palette.grey[500],.24)}}},MuiAvatarGroup:{defaultProps:{max:4},styleOverrides:{root:{justifyContent:"flex-end"},avatar:{fontSize:16,fontWeight:e.typography.fontWeightMedium,"&:first-of-type":{fontSize:12,color:e.palette.primary.main,backgroundColor:e.palette.primary.lighter}}}}}}function LH(e){return{MuiRating:{defaultProps:{emptyIcon:v.jsx(Qv,{}),icon:v.jsx(Qv,{})},styleOverrides:{root:{"&.Mui-disabled":{opacity:.48}},iconEmpty:{color:V(e.palette.grey[500],.48)},sizeSmall:{"& svg":{width:20,height:20}},sizeLarge:{"& svg":{width:28,height:28}}}}}}function FH(e){const t=e.palette.mode==="light";return{MuiSlider:{defaultProps:{size:"small"},styleOverrides:{root:{"&.Mui-disabled":{color:e.palette.action.disabled}},rail:{opacity:.32},markLabel:{fontSize:13,color:e.palette.text.disabled},valueLabel:{borderRadius:8,backgroundColor:e.palette.grey[t?800:700]}}}}}const RH=["primary","secondary","info","success","warning","error"];function NH(e){const t=e.palette.mode==="light",r=n=>{const i=n.color==="inherit",o=n.variant==="contained",a=n.variant==="outlined",s=n.variant==="text",c=n.variant==="soft",l=n.size==="small",u=n.size==="large",f={...i&&{...o&&{color:e.palette.grey[800],"&:hover":{boxShadow:e.customShadows.z8,backgroundColor:e.palette.grey[400]}},...a&&{borderColor:V(e.palette.grey[500],.32),"&:hover":{borderColor:e.palette.text.primary,backgroundColor:e.palette.action.hover}},...s&&{"&:hover":{backgroundColor:e.palette.action.hover}},...c&&{color:e.palette.text.primary,backgroundColor:V(e.palette.grey[500],.08),"&:hover":{backgroundColor:V(e.palette.grey[500],.24)}}}},d=RH.map(m=>({...n.color===m&&{...o&&{"&:hover":{boxShadow:e.customShadows[m]}},...c&&{color:e.palette[m][t?"dark":"light"],backgroundColor:V(e.palette[m].main,.16),"&:hover":{backgroundColor:V(e.palette[m].main,.32)}}}})),h={"&.Mui-disabled":{...c&&{backgroundColor:e.palette.action.disabledBackground}}},g={...l&&{height:30,fontSize:13,...c&&{padding:"4px 10px"}},...u&&{height:48,fontSize:15,...c&&{padding:"8px 22px"}}};return[...d,f,h,g]};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function BH(e){const t=e.palette.mode==="light",r=n=>({padding:"9px 13px 9px 12px",width:58,height:38,...n.size==="small"&&{padding:"4px 8px 4px 7px",width:40,height:24},"& .MuiSwitch-thumb":{width:14,height:14,boxShadow:"none",color:`${e.palette.common.white} !important`,...n.size==="small"&&{width:10,height:10}},"& .MuiSwitch-track":{opacity:1,borderRadius:14,backgroundColor:V(e.palette.grey[500],.48)},"& .MuiSwitch-switchBase":{left:3,padding:12,...n.size==="small"&&{padding:7},"&.Mui-checked":{transform:"translateX(13px)","&+.MuiSwitch-track":{opacity:1},...n.size==="small"&&{transform:"translateX(9px)"}},"&.Mui-disabled":{"& .MuiSwitch-thumb":{opacity:t?1:.48},"&+.MuiSwitch-track":{opacity:.48}}}});return{MuiSwitch:{styleOverrides:{root:({ownerState:n})=>r(n)}}}}function zH(e){return{MuiSelect:{defaultProps:{IconComponent:mH}}}}function WH(e){return{MuiSvgIcon:{styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}}}}function VH(e){const t=e.palette.mode==="light";return{MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:e.palette.grey[t?800:700]},arrow:{color:e.palette.grey[t?800:700]}}}}}function HH(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5}}}}}function UH(e){return{MuiStepConnector:{styleOverrides:{line:{borderColor:e.palette.divider}}}}}function YH(e){return{MuiDataGrid:{styleOverrides:{root:{borderRadius:0,border:"none","& .clickable-row":{cursor:"pointer"},"& .no-clickable-row .clickable-row":{cursor:"initial"},"& .no-clickable-row .clickable-row:hover":{backgroundColor:"initial"},"&.simple":{"& .MuiDataGrid-columnHeaders":{color:e.palette.text.secondary,backgroundColor:"#fff",borderBottom:"none",borderRadius:0},"& .MuiDataGrid-columnHeaderTitle":{fontWeight:700,fontSize:11}},"& .MuiTablePagination-root":{borderTop:0},"& .MuiDataGrid-columnHeader, & .MuiDataGrid-cell":{padding:"0 16px"},"& .MuiDataGrid-columnHeaders":{color:e.palette.text.secondary,backgroundColor:e.palette.background.neutral,borderRadius:0},"& .MuiDataGrid-pinnedColumnHeaders":{backgroundColor:"inherit",boxShadow:"none"},"& .MuiDataGrid-pinnedColumns--right":{backgroundColor:"#fff",boxShadow:"-2px 0px 4px -2px rgba(0, 0, 0, 0.075)"},"& .MuiDataGrid-pinnedColumns--left":{backgroundColor:"#fff",boxShadow:"2px 0px 4px -2px rgba(0, 0, 0, 0.071)"},"& .MuiDataGrid-columnHeader--moving":{backgroundColor:e.palette.background.neutral},"& .MuiDataGrid-columnHeaderCheckbox":{width:"64px !important",minWidth:"64px !important",maxWidth:"64px !important"},"& .MuiDataGrid-cellCheckbox":{width:"64px !important",minWidth:"64px !important",maxWidth:"64px !important"},"& .MuiDataGrid-pinnedRows":{boxShadow:"none",fontWeight:"bold"},"& .hide-checkbox-select-all div":{display:"none !important"},"& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer":{border:"none"},"& .MuiDataGrid-columnSeparator":{color:e.palette.divider},"& .MuiDataGrid-columnSeparator:hover":{color:e.palette.primary.main},'& .MuiDataGrid-cell[data-field="__check__"]':{padding:0},'& .MuiDataGrid-columnHeader[data-field="__check__"]':{padding:0},"& .MuiDataGrid-columnHeader:focus, .MuiDataGrid-cell:focus, .MuiDataGrid-columnHeader:focus-within, .MuiDataGrid-cell:focus-within":{outline:"none"}},toolbarContainer:{padding:e.spacing(2),backgroundColor:e.palette.background.paper,borderTop:`solid 1px ${e.palette.divider}`,"& .MuiButton-root":{marginRight:e.spacing(1.5),color:e.palette.text.secondary,"&:hover":{backgroundColor:e.palette.action.hover}}},paper:{boxShadow:e.customShadows.dropdown},menu:{"& .MuiPaper-root":{boxShadow:e.customShadows.dropdown,padding:8,borderRadius:12},"& .MuiMenuItem-root":{borderRadius:8,...e.typography.body2,"& .MuiListItemIcon-root":{minWidth:"auto",color:e.palette.primary.main},"& .MuiListItemText-primary":{fontSize:14}}},panelFooter:{padding:e.spacing(2),justifyContent:"flex-end",borderTop:`1px solid ${e.palette.divider}`,"& .MuiButton-root":{"&:first-of-type":{marginRight:e.spacing(1.5),color:e.palette.text.primary,"&:hover":{backgroundColor:e.palette.action.hover}},"&:last-of-type":{color:e.palette.common.white,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark}}}},filterForm:{padding:e.spacing(1.5,0),"& .MuiFormControl-root":{margin:e.spacing(0,.5)},"& .MuiInput-root":{marginTop:e.spacing(3),"&::before, &::after":{display:"none"},"& .MuiNativeSelect-select, .MuiInput-input":{...e.typography.body2,padding:e.spacing(.75,1),borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.neutral},"& .MuiSvgIcon-root":{right:4}}}}}}}function GH(e){return{MuiSkeleton:{defaultProps:{animation:"wave"},styleOverrides:{root:{backgroundColor:e.palette.background.neutral}}}}}function qH(e){return{MuiBackdrop:{styleOverrides:{root:{backgroundColor:V(e.palette.grey[800],.8)},invisible:{background:"transparent"}}}}}const XH=["primary","secondary","info","success","warning","error"];function KH(e){const t=r=>{const n=r.variant==="buffer",i={borderRadius:4,"& .MuiLinearProgress-bar":{borderRadius:4},...n&&{backgroundColor:"transparent"}};return[...XH.map(a=>({...r.color===a&&{backgroundColor:$.alpha(e.palette[a].main,.24)}})),i]};return{MuiLinearProgress:{styleOverrides:{root:({ownerState:r})=>t(r)}}}}function ZH(e){return{MuiTimelineDot:{styleOverrides:{root:{boxShadow:"none"}}},MuiTimelineConnector:{styleOverrides:{root:{backgroundColor:e.palette.divider}}}}}function QH(e){return{MuiTreeView:{defaultProps:{defaultCollapseIcon:v.jsx(vH,{sx:{width:20,height:20}}),defaultExpandIcon:v.jsx(yH,{sx:{width:20,height:20}}),defaultEndIcon:v.jsx(bH,{sx:{color:"text.secondary",width:20,height:20}})}},MuiTreeItem:{styleOverrides:{label:{...e.typography.body2},iconContainer:{width:"auto"}}}}}function JH(e){return{MuiCheckbox:{defaultProps:{icon:v.jsx(fH,{}),checkedIcon:v.jsx(dH,{}),indeterminateIcon:v.jsx(hH,{})},styleOverrides:{root:({ownerState:t})=>({padding:e.spacing(1),...t.size==="small"&&{"& svg":{width:20,height:20}},...t.size==="medium"&&{"& svg":{width:24,height:24}}})}}}}function eU(e){return{MuiAccordion:{styleOverrides:{root:{backgroundColor:"transparent","&.Mui-expanded":{boxShadow:e.customShadows.z8,borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper},"&.Mui-disabled":{backgroundColor:"transparent"}}}},MuiAccordionSummary:{styleOverrides:{root:{paddingLeft:e.spacing(2),paddingRight:e.spacing(1),"&.Mui-disabled":{opacity:1,color:e.palette.action.disabled,"& .MuiTypography-root":{color:"inherit"}}},expandIconWrapper:{color:"inherit"}}}}}function tU(e){return{MuiTypography:{styleOverrides:{paragraph:{marginBottom:e.spacing(2)},gutterBottom:{marginBottom:e.spacing(1)}}}}}const rU=["primary","secondary","info","success","warning","error"];function nU(e){const t=e.palette.mode==="light",r=n=>{const i=n.variant==="outlined",o=n.variant==="soft",a={"& .MuiPaginationItem-root":{...i&&{borderColor:V(e.palette.grey[500],.32)},"&.Mui-selected":{fontWeight:e.typography.fontWeightMedium}}};return[...rU.map(c=>({...n.color===c&&{...o&&{"& .MuiPaginationItem-root":{"&.Mui-selected":{color:e.palette[c][t?"dark":"light"],backgroundColor:V(e.palette[c].main,.16),"&:hover":{backgroundColor:V(e.palette[c].main,.32)}}}}}})),a]};return{MuiPagination:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function iU(e){return{MuiBreadcrumbs:{styleOverrides:{separator:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},li:{display:"inline-flex",margin:e.spacing(.25,0),"& > *":{...e.typography.body2}}}}}}const oU=["primary","secondary","info","success","warning","error"];function aU(e){const t=r=>{const n=r.color==="inherit",i=r.variant==="contained",o=r.variant==="outlined",a=r.variant==="text",s=r.variant==="soft",c=r.orientation==="horizontal",l=r.orientation==="vertical",u={"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!o&&{borderStyle:"solid",...n&&{borderColor:V(e.palette.grey[500],.32)},...c&&{borderWidth:"0px 1px 0px 0px"},...l&&{borderWidth:"0px 0px 1px 0px"}}}}},f=oU.map(h=>({"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!o&&{...r.color===h&&{...i&&{borderColor:V(e.palette[h].dark,.48)},...a&&{borderColor:V(e.palette[h].main,.48)},...s&&{borderColor:V(e.palette[h].dark,.24)}}}}}})),d={"& .MuiButtonGroup-grouped.Mui-disabled":{"&:not(:last-of-type)":{borderColor:e.palette.action.disabledBackground}}};return[...f,u,d]};return{MuiButtonGroup:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:r})=>t(r)}}}}function sU(e){return{MuiAutocomplete:{styleOverrides:{root:{"& span.MuiAutocomplete-tag":{...e.typography.body2,width:24,height:24,lineHeight:"24px",textAlign:"center",borderRadius:e.shape.borderRadius,backgroundColor:V(e.palette.grey[500],.16)}},paper:{boxShadow:e.customShadows.dropdown},listbox:{padding:e.spacing(0,1)},option:{...e.typography.body2,padding:e.spacing(1),margin:e.spacing(.75,0),borderRadius:e.shape.borderRadius}}}}}const lU=["primary","secondary","info","success","warning","error"];function cU(e){const t=r=>{const i={...r.color==="standard"&&{"&.Mui-selected":{borderColor:"inherit"}}},o=lU.map(s=>({...r.color===s&&{"&:hover":{borderColor:V(e.palette[s].main,.48),backgroundColor:V(e.palette[s].main,e.palette.action.hoverOpacity)},"&.Mui-selected":{borderColor:e.palette[s].main}}})),a={"&.Mui-disabled":{"&.Mui-selected":{color:e.palette.action.disabled,backgroundColor:e.palette.action.selected,borderColor:e.palette.action.disabledBackground}}};return[...o,i,a]};return{MuiToggleButton:{styleOverrides:{root:({ownerState:r})=>t(r)}},MuiToggleButtonGroup:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper,border:`solid 1px ${V(e.palette.grey[500],.16)}`},grouped:{margin:4,borderColor:"transparent !important",borderRadius:`${e.shape.borderRadius}px !important`}}}}}function uU(e){return{MuiFormControlLabel:{styleOverrides:{label:{...e.typography.body2}}},MuiFormHelperText:{defaultProps:{component:"div"},styleOverrides:{root:{marginTop:e.spacing(1)}}},MuiFormLabel:{styleOverrides:{root:{color:e.palette.text.disabled}}}}}function fU(e){return{MuiLoadingButton:{variants:[{props:{loading:!0,loadingPosition:"start",size:"small"},style:{"& .MuiLoadingButton-loadingIndicatorStart":{left:10}}},{props:{loading:!0,loadingPosition:"end",size:"small"},style:{"& .MuiLoadingButton-loadingIndicatorEnd":{right:10}}}],styleOverrides:{loadingIndicatorStart:{left:14},loadingIndicatorEnd:{right:14}}}}}function dU(e){return Object.assign(iH(e),CH(e),wH(e),oH(e),TH(e),SH(),AH(e),kH(e),_H(),EH(e),OH(e),$H(),MH(e),BH(e),zH(),NH(e),LH(e),jH(e),IH(e),FH(e),DH(e),UH(e),VH(e),HH(e),WH(),JH(e),YH(e),GH(e),ZH(e),QH(e),qH(e),KH(e),eU(e),tU(e),nU(e),aU(e),iU(e),sU(e),uU(e),cU(e),fU())}const Jv=an("light"),hU=Jv.grey[500],pU=Jv.common.black;function ey(e){const t=V(e,.2),r=V(e,.14),n=V(e,.12);return["none",`0px 2px 1px -1px ${t},0px 1px 1px 0px ${r},0px 1px 3px 0px ${n}`,`0px 3px 1px -2px ${t},0px 2px 2px 0px ${r},0px 1px 5px 0px ${n}`,`0px 3px 3px -2px ${t},0px 3px 4px 0px ${r},0px 1px 8px 0px ${n}`,`0px 2px 4px -1px ${t},0px 4px 5px 0px ${r},0px 1px 10px 0px ${n}`,`0px 3px 5px -1px ${t},0px 5px 8px 0px ${r},0px 1px 14px 0px ${n}`,`0px 3px 5px -1px ${t},0px 6px 10px 0px ${r},0px 1px 18px 0px ${n}`,`0px 4px 5px -2px ${t},0px 7px 10px 1px ${r},0px 2px 16px 1px ${n}`,`0px 5px 5px -3px ${t},0px 8px 10px 1px ${r},0px 3px 14px 2px ${n}`,`0px 5px 6px -3px ${t},0px 9px 12px 1px ${r},0px 3px 16px 2px ${n}`,`0px 6px 6px -3px ${t},0px 10px 14px 1px ${r},0px 4px 18px 3px ${n}`,`0px 6px 7px -4px ${t},0px 11px 15px 1px ${r},0px 4px 20px 3px ${n}`,`0px 7px 8px -4px ${t},0px 12px 17px 2px ${r},0px 5px 22px 4px ${n}`,`0px 7px 8px -4px ${t},0px 13px 19px 2px ${r},0px 5px 24px 4px ${n}`,`0px 7px 9px -4px ${t},0px 14px 21px 2px ${r},0px 5px 26px 4px ${n}`,`0px 8px 9px -5px ${t},0px 15px 22px 2px ${r},0px 6px 28px 5px ${n}`,`0px 8px 10px -5px ${t},0px 16px 24px 2px ${r},0px 6px 30px 5px ${n}`,`0px 8px 11px -5px ${t},0px 17px 26px 2px ${r},0px 6px 32px 5px ${n}`,`0px 9px 11px -5px ${t},0px 18px 28px 2px ${r},0px 7px 34px 6px ${n}`,`0px 9px 12px -6px ${t},0px 19px 29px 2px ${r},0px 7px 36px 6px ${n}`,`0px 10px 13px -6px ${t},0px 20px 31px 3px ${r},0px 8px 38px 7px ${n}`,`0px 10px 13px -6px ${t},0px 21px 33px 3px ${r},0px 8px 40px 7px ${n}`,`0px 10px 14px -6px ${t},0px 22px 35px 3px ${r},0px 8px 42px 7px ${n}`,`0px 11px 14px -7px ${t},0px 23px 36px 3px ${r},0px 9px 44px 8px ${n}`,`0px 11px 15px -7px ${t},0px 24px 38px 3px ${r},0px 9px 46px 8px ${n}`]}const gU=e=>ey(e==="light"?hU:pU);function Lt(e){return`${e/16}rem`}function zi({sm:e,md:t,lg:r}){return{"@media (min-width:600px)":{fontSize:Lt(e)},"@media (min-width:900px)":{fontSize:Lt(t)},"@media (min-width:1200px)":{fontSize:Lt(r)}}}const mU={fontFamily:"Public Sans, sans-serif",fontWeightRegular:400,fontWeightMedium:600,fontWeightBold:700,h1:{fontWeight:800,lineHeight:80/64,fontSize:Lt(40),...zi({sm:52,md:58,lg:64})},h2:{fontWeight:800,lineHeight:64/48,fontSize:Lt(32),...zi({sm:40,md:44,lg:48})},h3:{fontWeight:700,lineHeight:1.5,fontSize:Lt(24),...zi({sm:26,md:30,lg:32})},h4:{fontWeight:700,lineHeight:1.5,fontSize:Lt(20),...zi({sm:20,md:24,lg:24})},h5:{fontWeight:700,lineHeight:1.5,fontSize:Lt(18),...zi({sm:19,md:20,lg:20})},h6:{fontWeight:700,lineHeight:28/18,fontSize:Lt(17),...zi({sm:18,md:18,lg:18})},subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:Lt(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:Lt(14)},body1:{lineHeight:1.5,fontSize:Lt(16)},body2:{lineHeight:22/14,fontSize:Lt(14)},caption:{lineHeight:1.5,fontSize:Lt(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:Lt(12),textTransform:"uppercase"},button:{fontWeight:700,lineHeight:24/14,fontSize:Lt(14),textTransform:"capitalize"}},ty=({children:e,color:t,direction:r="ltr",themeMode:n="light"})=>{const i=p.useMemo(()=>({palette:QV(t),typography:mU,shape:{borderRadius:8},direction:r,shadows:gU(n),customShadows:tH(n,t)}),[t,r,n]),o=F0(i);return o.components=dU(o),v.jsx(m0,{injectFirst:!0,children:v.jsxs(N0,{theme:o,children:[v.jsx($.CssBaseline,{}),v.jsx(rH,{}),e]})})},EX="",OX="",vU=({themeColor:e,children:t})=>v.jsx(Ki.LocalizationProvider,{dateAdapter:zW,adapterLocale:CV,children:v.jsx(ty,{color:e,children:t})}),Wi=e=>e&&e.charAt(0).toUpperCase(),yU=e=>["A","N","H","L","Q"].includes(Wi(e))?"primary":["F","G","T","I","J"].includes(Wi(e))?"info":["K","D","Y","B","O"].includes(Wi(e))?"success":["P","E","R","S","U"].includes(Wi(e))?"warning":["V","W","X","M","Z"].includes(Wi(e))?"error":"default",ry=p.forwardRef(({color:e,name:t="",BadgeProps:r,children:n,sx:i,...o},a)=>{var d,h;const s=ii(),c=Wi(t),l=yU(t),u=e||l,f=u==="default"?v.jsxs($.Avatar,{ref:a,sx:i,...o,children:[t&&c,n]}):v.jsxs($.Avatar,{ref:a,sx:{color:(d=s.palette[u])==null?void 0:d.contrastText,backgroundColor:(h=s.palette[u])==null?void 0:h.main,fontWeight:s.typography.fontWeightMedium,...i},...o,children:[t&&c,n]});return r?v.jsx($.Badge,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"right"},...r,children:f}):f});ry.displayName="CustomAvatar";const sn={tiny:24,small:32,medium:40,large:56},ny=p.forwardRef(({size:e="small",compact:t,max:r,children:n,sx:i,...o},a)=>{const s=e==="tiny",c=e==="small",l=e==="medium",u=e==="large",f={width:40,height:40,position:"relative","& .MuiAvatarGroup-avatar":{m:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}}};return v.jsx($.AvatarGroup,{ref:a,max:t?3:r,spacing:(s||c)&&"medium"||"small",sx:{"& .MuiAvatar-root":{...u&&{width:sn.large,height:sn.large,"&:first-of-type":{fontSize:16}},...l&&{width:sn.medium,height:sn.medium},...c&&{width:sn.small,height:sn.small},...s&&{width:sn.tiny,height:sn.tiny}},...t&&{...f},...i},...o,children:n})});ny.displayName="CustomAvatarGroup";const iy=$.styled($.Box)({display:"flex",flexDirection:"row",alignItems:"center",padding:"0 16px"}),bU=()=>{const e=Rn.useGridApiContext(),{rowHeight:t,paginationModel:r}=Rn.useGridRootProps(),n=(r==null?void 0:r.pageSize)||12,i=Rn.gridColumnsTotalWidthSelector(e),o=Rn.gridColumnPositionsSelector(e),a=p.useMemo(()=>o.filter(l=>l<=i).length,[i,o]),s=e.current.getVisibleColumns().slice(0,a),c=p.useMemo(()=>{const l=[];for(let u=0;u<n;u+=1){for(const f of s)l.push(v.jsx(iy,{sx:{justifyContent:f.align,minWidth:f.cellClassName==="MuiDataGrid-cellCheckbox"?64:void 0},children:v.jsx($.Skeleton,{width:"100%"})},`column-${u}-${f.field}`));l.push(v.jsx(iy,{},`fill-${u}`))}return l},[n,s]);return v.jsx("div",{style:{display:"grid",gridTemplateColumns:`${s.map(({computedWidth:l})=>`${l}px`).join(" ")} 1fr`,gridAutoRows:t},children:c})},xU=({columns:e,...t})=>{const r=[{...Rn.GRID_CHECKBOX_SELECTION_COL_DEF,width:71},...e],n=p.useCallback(i=>({bottom:i.isLastVisible?0:8}),[]);return v.jsx(Rn.DataGridPremium,{columns:r,autoHeight:!0,rowHeight:72,getRowSpacing:n,slots:{loadingOverlay:bU},localeText:{actionsCellMore:"Ações",aggregationFunctionLabelAvg:"Média",aggregationFunctionLabelMax:"Máx",aggregationFunctionLabelMin:"Mín",aggregationFunctionLabelSize:"Quantidade",aggregationFunctionLabelSum:"Soma",aggregationMenuItemHeader:"Agregação",booleanCellFalseLabel:"Ativos",booleanCellTrueLabel:"Inativos",checkboxSelectionHeaderName:"Coluna se Seleção",columnHeaderFiltersLabel:"Filtro",columnMenuFilter:"Filtrar",columnMenuHideColumn:"Ocultar coluna",columnMenuLabel:"Colunas",columnMenuManageColumns:"Gerenciar colunas",columnsPanelHideAllButton:"Ocultar todas",columnsPanelShowAllButton:"Mostar todas",columnsPanelTextFieldLabel:"Buscar coluna",columnsPanelTextFieldPlaceholder:"Digite o nome da coluna",filterPanelAddFilter:"Adicionar filtro",filterPanelColumns:"Colunas",filterPanelDeleteIconLabel:"Remover",filterPanelInputLabel:"Filtro",filterPanelInputPlaceholder:"Valor do filtro",filterPanelLogicOperator:"Condição",filterPanelOperator:"Condição",filterPanelOperatorAnd:"e",filterPanelOperatorOr:"ou",filterPanelRemoveAll:"Remover todos",groupColumn:i=>`Agrupar por ${i}`,groupingColumnHeaderName:"Grupo",pinToLeft:"Fixar na esquerda",pinToRight:"Fixar na direita",toolbarColumns:"Colunas",toolbarDensity:"Densidade",toolbarDensityComfortable:"Confortável",toolbarDensityCompact:"Compacto",toolbarDensityStandard:"Padrão",toolbarExport:"Exportar",toolbarExportCSV:"Exportar como CSV",toolbarExportExcel:"Exportar como Excel",toolbarExportLabel:"Exportar",toolbarExportPrint:"Imprimir",toolbarFilters:"Filtros",unGroupColumn:i=>`Parar de agrupar por ${i}`,unpin:"Desafixar",footerRowSelected:i=>`${i} ${i===1?"linha selecionada":"linhas selecionadas"}`,MuiTablePagination:{labelRowsPerPage:"N° de linhas",labelDisplayedRows:i=>`${i.from}-${i.to} de ${i.count}`}},...t})},wU=({children:e,waitBeforeShow:t=500})=>{const[r,n]=p.useState(!1);return p.useEffect(()=>{const i=setTimeout(()=>n(!0),t);return()=>clearTimeout(i)},[t]),r?e:null};var oy={exports:{}};(()=>{var e={296:(i,o,a)=>{var s=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt,d=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,h=typeof self=="object"&&self&&self.Object===Object&&self,g=d||h||Function("return this")(),m=Object.prototype.toString,y=Math.max,x=Math.min,b=function(){return g.Date.now()};function T(w){var E=typeof w;return!!w&&(E=="object"||E=="function")}function P(w){if(typeof w=="number")return w;if(function(M){return typeof M=="symbol"||function(L){return!!L&&typeof L=="object"}(M)&&m.call(M)=="[object Symbol]"}(w))return NaN;if(T(w)){var E=typeof w.valueOf=="function"?w.valueOf():w;w=T(E)?E+"":E}if(typeof w!="string")return w===0?w:+w;w=w.replace(s,"");var O=l.test(w);return O||u.test(w)?f(w.slice(2),O?2:8):c.test(w)?NaN:+w}i.exports=function(w,E,O){var M,L,W,de,ve,ce,q=0,Y=!1,ge=!1,Se=!0;if(typeof w!="function")throw new TypeError("Expected a function");function We(ne){var G=M,ue=L;return M=L=void 0,q=ne,de=w.apply(ue,G)}function Me(ne){var G=ne-ce;return ce===void 0||G>=E||G<0||ge&&ne-q>=W}function D(){var ne=b();if(Me(ne))return I(ne);ve=setTimeout(D,function(G){var ue=E-(G-ce);return ge?x(ue,W-(G-q)):ue}(ne))}function I(ne){return ve=void 0,Se&&M?We(ne):(M=L=void 0,de)}function Z(){var ne=b(),G=Me(ne);if(M=arguments,L=this,ce=ne,G){if(ve===void 0)return function(ue){return q=ue,ve=setTimeout(D,E),Y?We(ue):de}(ce);if(ge)return ve=setTimeout(D,E),We(ce)}return ve===void 0&&(ve=setTimeout(D,E)),de}return E=P(E)||0,T(O)&&(Y=!!O.leading,W=(ge="maxWait"in O)?y(P(O.maxWait)||0,E):W,Se="trailing"in O?!!O.trailing:Se),Z.cancel=function(){ve!==void 0&&clearTimeout(ve),q=0,M=ce=L=ve=void 0},Z.flush=function(){return ve===void 0?de:I(b())},Z}},96:(i,o,a)=>{var s="Expected a function",c=NaN,l="[object Symbol]",u=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,h=/^0o[0-7]+$/i,g=parseInt,m=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,y=typeof self=="object"&&self&&self.Object===Object&&self,x=m||y||Function("return this")(),b=Object.prototype.toString,T=Math.max,P=Math.min,w=function(){return x.Date.now()};function E(M){var L=typeof M;return!!M&&(L=="object"||L=="function")}function O(M){if(typeof M=="number")return M;if(function(de){return typeof de=="symbol"||function(ve){return!!ve&&typeof ve=="object"}(de)&&b.call(de)==l}(M))return c;if(E(M)){var L=typeof M.valueOf=="function"?M.valueOf():M;M=E(L)?L+"":L}if(typeof M!="string")return M===0?M:+M;M=M.replace(u,"");var W=d.test(M);return W||h.test(M)?g(M.slice(2),W?2:8):f.test(M)?c:+M}i.exports=function(M,L,W){var de=!0,ve=!0;if(typeof M!="function")throw new TypeError(s);return E(W)&&(de="leading"in W?!!W.leading:de,ve="trailing"in W?!!W.trailing:ve),function(ce,q,Y){var ge,Se,We,Me,D,I,Z=0,ne=!1,G=!1,ue=!0;if(typeof ce!="function")throw new TypeError(s);function se(ye){var F=ge,Le=Se;return ge=Se=void 0,Z=ye,Me=ce.apply(Le,F)}function pe(ye){var F=ye-I;return I===void 0||F>=q||F<0||G&&ye-Z>=We}function K(){var ye=w();if(pe(ye))return Q(ye);D=setTimeout(K,function(F){var Le=q-(F-I);return G?P(Le,We-(F-Z)):Le}(ye))}function Q(ye){return D=void 0,ue&&ge?se(ye):(ge=Se=void 0,Me)}function te(){var ye=w(),F=pe(ye);if(ge=arguments,Se=this,I=ye,F){if(D===void 0)return function(Le){return Z=Le,D=setTimeout(K,q),ne?se(Le):Me}(I);if(G)return D=setTimeout(K,q),se(I)}return D===void 0&&(D=setTimeout(K,q)),Me}return q=O(q)||0,E(Y)&&(ne=!!Y.leading,We=(G="maxWait"in Y)?T(O(Y.maxWait)||0,q):We,ue="trailing"in Y?!!Y.trailing:ue),te.cancel=function(){D!==void 0&&clearTimeout(D),Z=0,ge=I=Se=D=void 0},te.flush=function(){return D===void 0?Me:Q(w())},te}(M,L,{leading:de,maxWait:L,trailing:ve})}},703:(i,o,a)=>{var s=a(414);function c(){}function l(){}l.resetWarningCache=c,i.exports=function(){function u(h,g,m,y,x,b){if(b!==s){var T=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 T.name="Invariant Violation",T}}function f(){return u}u.isRequired=u;var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:f,element:u,elementType:u,instanceOf:f,node:u,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:c};return d.PropTypes=d,d}},697:(i,o,a)=>{i.exports=a(703)()},414:i=>{i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function r(i){var o=t[i];if(o!==void 0)return o.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,r),a.exports}r.n=i=>{var o=i&&i.__esModule?()=>i.default:()=>i;return r.d(o,{a:o}),o},r.d=(i,o)=>{for(var a in o)r.o(o,a)&&!r.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:o[a]})},r.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),r.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),r.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var n={};(()=>{r.r(n),r.d(n,{LazyLoadComponent:()=>ae,LazyLoadImage:()=>st,trackWindowScroll:()=>I});const i=p;var o=r.n(i),a=r(697);const s=sd;var c=r.n(s);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function u(k){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},u(k)}function f(k,S){var R=Object.keys(k);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(k);S&&(N=N.filter(function(we){return Object.getOwnPropertyDescriptor(k,we).enumerable})),R.push.apply(R,N)}return R}function d(k,S,R){return(S=g(S))in k?Object.defineProperty(k,S,{value:R,enumerable:!0,configurable:!0,writable:!0}):k[S]=R,k}function h(k,S){for(var R=0;R<S.length;R++){var N=S[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,g(N.key),N)}}function g(k){var S=function(R,N){if(u(R)!=="object"||R===null)return R;var we=R[Symbol.toPrimitive];if(we!==void 0){var Ee=we.call(R,"string");if(u(Ee)!=="object")return Ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(R)}(k);return u(S)==="symbol"?S:String(S)}function m(k,S){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},m(k,S)}function y(k){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},y(k)}var x=function(k){k.forEach(function(S){S.isIntersecting&&S.target.onVisible()})},b={},T=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&m(_,j)})(Fe,k);var S,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=y(N);if(we){var le=y(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(u(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Oe){if(Oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe}(ie)}(this,_)});function Fe(_){var j;if(function(ie,re){if(!(ie instanceof re))throw new TypeError("Cannot call a class as a function")}(this,Fe),(j=Ee.call(this,_)).supportsObserver=!_.scrollPosition&&_.useIntersectionObserver&&l(),j.supportsObserver){var le=_.threshold;j.observer=function(ie){return b[ie]=b[ie]||new IntersectionObserver(x,{rootMargin:ie+"px"}),b[ie]}(le)}return j}return S=Fe,R=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,j=this.placeholder.getBoundingClientRect(),le=c().findDOMNode(this.placeholder).style,ie=parseInt(le.getPropertyValue("margin-left"),10)||0,re=parseInt(le.getPropertyValue("margin-top"),10)||0;return{bottom:_.y+j.bottom+re,left:_.x+j.left+ie,right:_.x+j.right+ie,top:_.y+j.top+re}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var _=this.props,j=_.scrollPosition,le=_.threshold,ie=this.getPlaceholderBoundingBox(j),re=j.y+window.innerHeight,Oe=j.x,it=j.x+window.innerWidth,Qe=j.y;return Qe-le<=ie.bottom&&re+le>=ie.top&&Oe-le<=ie.right&&it+le>=ie.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var _=this,j=this.props,le=j.className,ie=j.height,re=j.placeholder,Oe=j.style,it=j.width;if(re&&typeof re.type!="function")return o().cloneElement(re,{ref:function(Je){return _.placeholder=Je}});var Qe=function(Je){for(var Ct=1;Ct<arguments.length;Ct++){var pt=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?f(Object(pt),!0).forEach(function(At){d(Je,At,pt[At])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Je,Object.getOwnPropertyDescriptors(pt)):f(Object(pt)).forEach(function(At){Object.defineProperty(Je,At,Object.getOwnPropertyDescriptor(pt,At))})}return Je}({display:"inline-block"},Oe);return it!==void 0&&(Qe.width=it),ie!==void 0&&(Qe.height=ie),o().createElement("span",{className:le,ref:function(Je){return _.placeholder=Je},style:Qe},re)}}],R&&h(S.prototype,R),Object.defineProperty(S,"prototype",{writable:!1}),Fe}(o().Component);T.propTypes={onVisible:a.PropTypes.func.isRequired,className:a.PropTypes.string,height:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string]),placeholder:a.PropTypes.element,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,scrollPosition:a.PropTypes.shape({x:a.PropTypes.number.isRequired,y:a.PropTypes.number.isRequired}),width:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string])},T.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const P=T;var w=r(296),E=r.n(w),O=r(96),M=r.n(O),L=function(k){var S=getComputedStyle(k,null);return S.getPropertyValue("overflow")+S.getPropertyValue("overflow-y")+S.getPropertyValue("overflow-x")};const W=function(k){if(!(k instanceof HTMLElement))return window;for(var S=k;S&&S instanceof HTMLElement;){if(/(scroll|auto)/.test(L(S)))return S;S=S.parentNode}return window};function de(k){return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},de(k)}var ve=["delayMethod","delayTime"];function ce(){return ce=Object.assign?Object.assign.bind():function(k){for(var S=1;S<arguments.length;S++){var R=arguments[S];for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&(k[N]=R[N])}return k},ce.apply(this,arguments)}function q(k,S){for(var R=0;R<S.length;R++){var N=S[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,(we=function(Ee,Fe){if(de(Ee)!=="object"||Ee===null)return Ee;var _=Ee[Symbol.toPrimitive];if(_!==void 0){var j=_.call(Ee,"string");if(de(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Ee)}(N.key),de(we)==="symbol"?we:String(we)),N)}var we}function Y(k,S){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},Y(k,S)}function ge(k,S){if(S&&(de(S)==="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Se(k)}function Se(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function We(k){return We=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},We(k)}var Me=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},D=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const I=function(k){var S=function(R){(function(le,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(ie&&ie.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Object.defineProperty(le,"prototype",{writable:!1}),ie&&Y(le,ie)})(j,R);var N,we,Ee,Fe,_=(Ee=j,Fe=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var le,ie=We(Ee);if(Fe){var re=We(this).constructor;le=Reflect.construct(ie,arguments,re)}else le=ie.apply(this,arguments);return ge(this,le)});function j(le){var ie;if(function(Oe,it){if(!(Oe instanceof it))throw new TypeError("Cannot call a class as a function")}(this,j),(ie=_.call(this,le)).useIntersectionObserver=le.useIntersectionObserver&&l(),ie.useIntersectionObserver)return ge(ie);var re=ie.onChangeScroll.bind(Se(ie));return le.delayMethod==="debounce"?ie.delayedScroll=E()(re,le.delayTime):le.delayMethod==="throttle"&&(ie.delayedScroll=M()(re,le.delayTime)),ie.state={scrollPosition:{x:Me(),y:D()}},ie.baseComponentRef=o().createRef(),ie}return N=j,(we=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||W(c().findDOMNode(this.baseComponentRef.current))!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=W(c().findDOMNode(this.baseComponentRef.current)),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:Me(),y:D()}})}},{key:"render",value:function(){var le=this.props,ie=(le.delayMethod,le.delayTime,function(Oe,it){if(Oe==null)return{};var Qe,Je,Ct=function(At,Vr){if(At==null)return{};var Hr,Fn,la={},yl=Object.keys(At);for(Fn=0;Fn<yl.length;Fn++)Hr=yl[Fn],Vr.indexOf(Hr)>=0||(la[Hr]=At[Hr]);return la}(Oe,it);if(Object.getOwnPropertySymbols){var pt=Object.getOwnPropertySymbols(Oe);for(Je=0;Je<pt.length;Je++)Qe=pt[Je],it.indexOf(Qe)>=0||Object.prototype.propertyIsEnumerable.call(Oe,Qe)&&(Ct[Qe]=Oe[Qe])}return Ct}(le,ve)),re=this.useIntersectionObserver?null:this.state.scrollPosition;return o().createElement(k,ce({forwardRef:this.baseComponentRef,scrollPosition:re},ie))}}])&&q(N.prototype,we),Object.defineProperty(N,"prototype",{writable:!1}),j}(o().Component);return S.propTypes={delayMethod:a.PropTypes.oneOf(["debounce","throttle"]),delayTime:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool},S.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},S};function Z(k){return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},Z(k)}function ne(k,S){for(var R=0;R<S.length;R++){var N=S[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,(we=function(Ee,Fe){if(Z(Ee)!=="object"||Ee===null)return Ee;var _=Ee[Symbol.toPrimitive];if(_!==void 0){var j=_.call(Ee,"string");if(Z(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Ee)}(N.key),Z(we)==="symbol"?we:String(we)),N)}var we}function G(k,S){return G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},G(k,S)}function ue(k){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},ue(k)}var se=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&G(_,j)})(Fe,k);var S,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=ue(N);if(we){var le=ue(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(Z(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Oe){if(Oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe}(ie)}(this,_)});function Fe(_){return function(j,le){if(!(j instanceof le))throw new TypeError("Cannot call a class as a function")}(this,Fe),Ee.call(this,_)}return S=Fe,(R=[{key:"render",value:function(){return o().createElement(P,this.props)}}])&&ne(S.prototype,R),Object.defineProperty(S,"prototype",{writable:!1}),Fe}(o().Component);const pe=I(se);function K(k){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},K(k)}function Q(k,S){for(var R=0;R<S.length;R++){var N=S[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,(we=function(Ee,Fe){if(K(Ee)!=="object"||Ee===null)return Ee;var _=Ee[Symbol.toPrimitive];if(_!==void 0){var j=_.call(Ee,"string");if(K(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Ee)}(N.key),K(we)==="symbol"?we:String(we)),N)}var we}function te(k,S){return te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},te(k,S)}function ye(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function F(k){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},F(k)}var Le=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&te(_,j)})(Fe,k);var S,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=F(N);if(we){var le=F(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(K(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ye(ie)}(this,_)});function Fe(_){var j;(function(it,Qe){if(!(it instanceof Qe))throw new TypeError("Cannot call a class as a function")})(this,Fe),j=Ee.call(this,_);var le=_.afterLoad,ie=_.beforeLoad,re=_.scrollPosition,Oe=_.visibleByDefault;return j.state={visible:Oe},Oe&&(ie(),le()),j.onVisible=j.onVisible.bind(ye(j)),j.isScrollTracked=!!(re&&Number.isFinite(re.x)&&re.x>=0&&Number.isFinite(re.y)&&re.y>=0),j}return S=Fe,(R=[{key:"componentDidUpdate",value:function(_,j){j.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var _=this.props,j=_.className,le=_.delayMethod,ie=_.delayTime,re=_.height,Oe=_.placeholder,it=_.scrollPosition,Qe=_.style,Je=_.threshold,Ct=_.useIntersectionObserver,pt=_.width;return this.isScrollTracked||Ct&&l()?o().createElement(P,{className:j,height:re,onVisible:this.onVisible,placeholder:Oe,scrollPosition:it,style:Qe,threshold:Je,useIntersectionObserver:Ct,width:pt}):o().createElement(pe,{className:j,delayMethod:le,delayTime:ie,height:re,onVisible:this.onVisible,placeholder:Oe,style:Qe,threshold:Je,width:pt})}}])&&Q(S.prototype,R),Object.defineProperty(S,"prototype",{writable:!1}),Fe}(o().Component);Le.propTypes={afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool},Le.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const ae=Le;function ut(k){return ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},ut(k)}var qt=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Nt(k,S){var R=Object.keys(k);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(k);S&&(N=N.filter(function(we){return Object.getOwnPropertyDescriptor(k,we).enumerable})),R.push.apply(R,N)}return R}function Wr(k){for(var S=1;S<arguments.length;S++){var R=arguments[S]!=null?arguments[S]:{};S%2?Nt(Object(R),!0).forEach(function(N){gr(k,N,R[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(R)):Nt(Object(R)).forEach(function(N){Object.defineProperty(k,N,Object.getOwnPropertyDescriptor(R,N))})}return k}function gr(k,S,R){return(S=fn(S))in k?Object.defineProperty(k,S,{value:R,enumerable:!0,configurable:!0,writable:!0}):k[S]=R,k}function mr(){return mr=Object.assign?Object.assign.bind():function(k){for(var S=1;S<arguments.length;S++){var R=arguments[S];for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&(k[N]=R[N])}return k},mr.apply(this,arguments)}function sa(k,S){for(var R=0;R<S.length;R++){var N=S[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,fn(N.key),N)}}function fn(k){var S=function(R,N){if(ut(R)!=="object"||R===null)return R;var we=R[Symbol.toPrimitive];if(we!==void 0){var Ee=we.call(R,"string");if(ut(Ee)!=="object")return Ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(R)}(k);return ut(S)==="symbol"?S:String(S)}function Ln(k,S){return Ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},Ln(k,S)}function X(k){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},X(k)}var me=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&Ln(_,j)})(Fe,k);var S,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=X(N);if(we){var le=X(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(ut(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Oe){if(Oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe}(ie)}(this,_)});function Fe(_){var j;return function(le,ie){if(!(le instanceof ie))throw new TypeError("Cannot call a class as a function")}(this,Fe),(j=Ee.call(this,_)).state={loaded:!1},j}return S=Fe,(R=[{key:"onImageLoad",value:function(){var _=this;return this.state.loaded?null:function(j){_.props.onLoad(j),_.props.afterLoad(),_.setState({loaded:!0})}}},{key:"getImg",value:function(){var _=this.props,j=(_.afterLoad,_.beforeLoad,_.delayMethod,_.delayTime,_.effect,_.placeholder,_.placeholderSrc,_.scrollPosition,_.threshold,_.useIntersectionObserver,_.visibleByDefault,_.wrapperClassName,_.wrapperProps,function(le,ie){if(le==null)return{};var re,Oe,it=function(Je,Ct){if(Je==null)return{};var pt,At,Vr={},Hr=Object.keys(Je);for(At=0;At<Hr.length;At++)pt=Hr[At],Ct.indexOf(pt)>=0||(Vr[pt]=Je[pt]);return Vr}(le,ie);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(le);for(Oe=0;Oe<Qe.length;Oe++)re=Qe[Oe],ie.indexOf(re)>=0||Object.prototype.propertyIsEnumerable.call(le,re)&&(it[re]=le[re])}return it}(_,qt));return o().createElement("img",mr({},j,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var _=this.props,j=_.beforeLoad,le=_.className,ie=_.delayMethod,re=_.delayTime,Oe=_.height,it=_.placeholder,Qe=_.scrollPosition,Je=_.style,Ct=_.threshold,pt=_.useIntersectionObserver,At=_.visibleByDefault,Vr=_.width;return o().createElement(ae,{beforeLoad:j,className:le,delayMethod:ie,delayTime:re,height:Oe,placeholder:it,scrollPosition:Qe,style:Je,threshold:Ct,useIntersectionObserver:pt,visibleByDefault:At,width:Vr},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(_){var j=this.props,le=j.effect,ie=j.height,re=j.placeholderSrc,Oe=j.width,it=j.wrapperClassName,Qe=j.wrapperProps,Je=this.state.loaded,Ct=Je?" lazy-load-image-loaded":"",pt=Je||!re?{}:{backgroundImage:"url(".concat(re,")"),backgroundSize:"100% 100%"};return o().createElement("span",mr({className:it+" lazy-load-image-background "+le+Ct,style:Wr(Wr({},pt),{},{color:"transparent",display:"inline-block",height:ie,width:Oe})},Qe),_)}},{key:"render",value:function(){var _=this.props,j=_.effect,le=_.placeholderSrc,ie=_.visibleByDefault,re=_.wrapperClassName,Oe=_.wrapperProps,it=this.getLazyLoadImage();return(j||le)&&!ie||re||Oe?this.getWrappedLazyLoadImage(it):it}}])&&sa(S.prototype,R),Object.defineProperty(S,"prototype",{writable:!1}),Fe}(o().Component);me.propTypes={onLoad:a.PropTypes.func,afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,delayMethod:a.PropTypes.string,delayTime:a.PropTypes.number,effect:a.PropTypes.string,placeholderSrc:a.PropTypes.string,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool,wrapperClassName:a.PropTypes.string,wrapperProps:a.PropTypes.object},me.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const st=me})(),oy.exports=n})();var CU=oy.exports;const TU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACAQMAAACjTyRkAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjAAIAAAQAASDSLW8AAAAASUVORK5CYII=",SU="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxyYWRpYWxHcmFkaWVudCBpZD0iYSIgY3g9IjUwJSIgY3k9IjQ2LjgwMTEwMiUiIHI9Ijk1LjQ5NzExMiUiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjOTE5ZWFiIiBzdG9wLW9wYWNpdHk9Ii40OCIvPjwvcmFkaWFsR3JhZGllbnQ+PHBhdGggZD0ibTg4IDg2aDUxMnY1MTJoLTUxMnoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg4IC04NikiLz48L3N2Zz4=";function EU(e="1/1"){return{"4/3":"calc(100% / 4 * 3)","3/4":"calc(100% / 3 * 4)","6/4":"calc(100% / 6 * 4)","4/6":"calc(100% / 4 * 6)","16/9":"calc(100% / 16 * 9)","9/16":"calc(100% / 9 * 16)","21/9":"calc(100% / 21 * 9)","9/21":"calc(100% / 9 * 21)","1/1":"100%"}[e]}const el=p.forwardRef(({ratio:e,disabledEffect:t=!1,effect:r="blur",sx:n,...i},o)=>{const a=v.jsx($.Box,{component:CU.LazyLoadImage,wrapperClassName:"wrapper",effect:t?void 0:r,placeholderSrc:t?TU:SU,sx:{width:1,height:1,objectFit:"cover"},...i});return e?v.jsx($.Box,{ref:o,component:"span",sx:{width:1,lineHeight:1,display:"block",overflow:"hidden",position:"relative",pt:EU(e),"& .wrapper":{top:0,left:0,width:1,height:1,position:"absolute",backgroundSize:"cover !important"},...n},children:a}):v.jsx($.Box,{ref:o,component:"span",sx:{lineHeight:1,display:"block",overflow:"hidden",position:"relative","& .wrapper":{width:1,height:1,backgroundSize:"cover !important"},...n},children:a})});el.displayName="Image";/*! *****************************************************************************
131
+ `),p.createElement("div",{style:u.white,className:"saturation-white"},p.createElement("div",{style:u.black,className:"saturation-black"}),p.createElement("div",{style:u.pointer},this.props.pointer?p.createElement(this.props.pointer,this.props):p.createElement("div",{style:u.circle}))))}}]),t}(p.PureComponent||p.Component);function PI(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var MI=Om(Object.keys,Object);const _I=MI;var $I=Object.prototype,AI=$I.hasOwnProperty;function kI(e){if(!Eu(e))return _I(e);var t=[];for(var r in Object(e))AI.call(e,r)&&r!="constructor"&&t.push(r);return t}function ku(e){return pi(e)?Fm(e):kI(e)}function DI(e,t){return e&&xm(e,t,ku)}function jI(e,t){return function(r,n){if(r==null)return r;if(!pi(r))return e(r,n);for(var i=r.length,o=t?i:-1,a=Object(r);(t?o--:++o<i)&&n(a[o],o,a)!==!1;);return r}}var II=jI(DI);const Hm=II;function LI(e){return typeof e=="function"?e:Ts}function FI(e,t){var r=Qt(e)?PI:Hm;return r(e,LI(t))}function Ps(e){"@babel/helpers - typeof";return Ps=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ps(e)}var RI=/^\s+/,NI=/\s+$/;function he(e,t){if(e=e||"",t=t||{},e instanceof he)return e;if(!(this instanceof he))return new he(e,t);var r=BI(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}he.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),r,n,i,o,a,s;return r=t.r/255,n=t.g/255,i=t.b/255,r<=.03928?o=r/12.92:o=Math.pow((r+.055)/1.055,2.4),n<=.03928?a=n/12.92:a=Math.pow((n+.055)/1.055,2.4),i<=.03928?s=i/12.92:s=Math.pow((i+.055)/1.055,2.4),.2126*o+.7152*a+.0722*s},setAlpha:function(t){return this._a=Km(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Ym(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Ym(this._r,this._g,this._b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this._a==1?"hsv("+r+", "+n+"%, "+i+"%)":"hsva("+r+", "+n+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var t=Um(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Um(this._r,this._g,this._b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this._a==1?"hsl("+r+", "+n+"%, "+i+"%)":"hsla("+r+", "+n+"%, "+i+"%, "+this._roundA+")"},toHex:function(t){return Gm(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return HI(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(ct(this._r,255)*100)+"%",g:Math.round(ct(this._g,255)*100)+"%",b:Math.round(ct(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(ct(this._r,255)*100)+"%, "+Math.round(ct(this._g,255)*100)+"%, "+Math.round(ct(this._b,255)*100)+"%)":"rgba("+Math.round(ct(this._r,255)*100)+"%, "+Math.round(ct(this._g,255)*100)+"%, "+Math.round(ct(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:rL[Gm(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var r="#"+qm(this._r,this._g,this._b,this._a),n=r,i=this._gradientType?"GradientType = 1, ":"";if(t){var o=he(t);n="#"+qm(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+r+",endColorstr="+n+")"},toString:function(t){var r=!!t;t=t||this._format;var n=!1,i=this._a<1&&this._a>=0,o=!r&&i&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return o?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return he(this.toString())},_applyModification:function(t,r){var n=t.apply(null,[this].concat([].slice.call(r)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(qI,arguments)},brighten:function(){return this._applyModification(XI,arguments)},darken:function(){return this._applyModification(KI,arguments)},desaturate:function(){return this._applyModification(UI,arguments)},saturate:function(){return this._applyModification(YI,arguments)},greyscale:function(){return this._applyModification(GI,arguments)},spin:function(){return this._applyModification(ZI,arguments)},_applyCombination:function(t,r){return t.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(eL,arguments)},complement:function(){return this._applyCombination(QI,arguments)},monochromatic:function(){return this._applyCombination(tL,arguments)},splitcomplement:function(){return this._applyCombination(JI,arguments)},triad:function(){return this._applyCombination(Xm,[3])},tetrad:function(){return this._applyCombination(Xm,[4])}},he.fromRatio=function(e,t){if(Ps(e)=="object"){var r={};for(var n in e)e.hasOwnProperty(n)&&(n==="a"?r[n]=e[n]:r[n]=Wo(e[n]));e=r}return he(e,t)};function BI(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,s=!1;return typeof e=="string"&&(e=aL(e)),Ps(e)=="object"&&(Br(e.r)&&Br(e.g)&&Br(e.b)?(t=zI(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Br(e.h)&&Br(e.s)&&Br(e.v)?(n=Wo(e.s),i=Wo(e.v),t=VI(e.h,n,i),a=!0,s="hsv"):Br(e.h)&&Br(e.s)&&Br(e.l)&&(n=Wo(e.s),o=Wo(e.l),t=WI(e.h,n,o),a=!0,s="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=Km(r),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}function zI(e,t,r){return{r:ct(e,255)*255,g:ct(t,255)*255,b:ct(r,255)*255}}function Um(e,t,r){e=ct(e,255),t=ct(t,255),r=ct(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o,a,s=(n+i)/2;if(n==i)o=a=0;else{var c=n-i;switch(a=s>.5?c/(2-n-i):c/(n+i),n){case e:o=(t-r)/c+(t<r?6:0);break;case t:o=(r-e)/c+2;break;case r:o=(e-t)/c+4;break}o/=6}return{h:o,s:a,l:s}}function WI(e,t,r){var n,i,o;e=ct(e,360),t=ct(t,100),r=ct(r,100);function a(l,u,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?l+(u-l)*6*f:f<1/2?u:f<2/3?l+(u-l)*(2/3-f)*6:l}if(t===0)n=i=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,c=2*r-s;n=a(c,s,e+1/3),i=a(c,s,e),o=a(c,s,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function Ym(e,t,r){e=ct(e,255),t=ct(t,255),r=ct(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o,a,s=n,c=n-i;if(a=n===0?0:c/n,n==i)o=0;else{switch(n){case e:o=(t-r)/c+(t<r?6:0);break;case t:o=(r-e)/c+2;break;case r:o=(e-t)/c+4;break}o/=6}return{h:o,s:a,v:s}}function VI(e,t,r){e=ct(e,360)*6,t=ct(t,100),r=ct(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),s=r*(1-(1-i)*t),c=n%6,l=[r,a,o,o,s,r][c],u=[s,r,r,a,o,o][c],f=[o,o,s,r,r,a][c];return{r:l*255,g:u*255,b:f*255}}function Gm(e,t,r,n){var i=[dr(Math.round(e).toString(16)),dr(Math.round(t).toString(16)),dr(Math.round(r).toString(16))];return n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function HI(e,t,r,n,i){var o=[dr(Math.round(e).toString(16)),dr(Math.round(t).toString(16)),dr(Math.round(r).toString(16)),dr(Zm(n))];return i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function qm(e,t,r,n){var i=[dr(Zm(n)),dr(Math.round(e).toString(16)),dr(Math.round(t).toString(16)),dr(Math.round(r).toString(16))];return i.join("")}he.equals=function(e,t){return!e||!t?!1:he(e).toRgbString()==he(t).toRgbString()},he.random=function(){return he.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function UI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.s-=t/100,r.s=Ms(r.s),he(r)}function YI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.s+=t/100,r.s=Ms(r.s),he(r)}function GI(e){return he(e).desaturate(100)}function qI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.l+=t/100,r.l=Ms(r.l),he(r)}function XI(e,t){t=t===0?0:t||10;var r=he(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),he(r)}function KI(e,t){t=t===0?0:t||10;var r=he(e).toHsl();return r.l-=t/100,r.l=Ms(r.l),he(r)}function ZI(e,t){var r=he(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,he(r)}function QI(e){var t=he(e).toHsl();return t.h=(t.h+180)%360,he(t)}function Xm(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=he(e).toHsl(),n=[he(e)],i=360/t,o=1;o<t;o++)n.push(he({h:(r.h+o*i)%360,s:r.s,l:r.l}));return n}function JI(e){var t=he(e).toHsl(),r=t.h;return[he(e),he({h:(r+72)%360,s:t.s,l:t.l}),he({h:(r+216)%360,s:t.s,l:t.l})]}function eL(e,t,r){t=t||6,r=r||30;var n=he(e).toHsl(),i=360/r,o=[he(e)];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(he(n));return o}function tL(e,t){t=t||6;for(var r=he(e).toHsv(),n=r.h,i=r.s,o=r.v,a=[],s=1/t;t--;)a.push(he({h:n,s:i,v:o})),o=(o+s)%1;return a}he.mix=function(e,t,r){r=r===0?0:r||50;var n=he(e).toRgb(),i=he(t).toRgb(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return he(a)},he.readability=function(e,t){var r=he(e),n=he(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},he.isReadable=function(e,t,r){var n=he.readability(e,t),i,o;switch(o=!1,i=sL(r),i.level+i.size){case"AAsmall":case"AAAlarge":o=n>=4.5;break;case"AAlarge":o=n>=3;break;case"AAAsmall":o=n>=7;break}return o},he.mostReadable=function(e,t,r){var n=null,i=0,o,a,s,c;r=r||{},a=r.includeFallbackColors,s=r.level,c=r.size;for(var l=0;l<t.length;l++)o=he.readability(e,t[l]),o>i&&(i=o,n=he(t[l]));return he.isReadable(e,n,{level:s,size:c})||!a?n:(r.includeFallbackColors=!1,he.mostReadable(e,["#fff","#000"],r))};var Du=he.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},rL=he.hexNames=nL(Du);function nL(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Km(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ct(e,t){iL(e)&&(e="100%");var r=oL(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Ms(e){return Math.min(1,Math.max(0,e))}function Jt(e){return parseInt(e,16)}function iL(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function oL(e){return typeof e=="string"&&e.indexOf("%")!=-1}function dr(e){return e.length==1?"0"+e:""+e}function Wo(e){return e<=1&&(e=e*100+"%"),e}function Zm(e){return Math.round(parseFloat(e)*255).toString(16)}function Qm(e){return Jt(e)/255}var hr=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",r="(?:"+t+")|(?:"+e+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",i="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Br(e){return!!hr.CSS_UNIT.exec(e)}function aL(e){e=e.replace(RI,"").replace(NI,"").toLowerCase();var t=!1;if(Du[e])e=Du[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=hr.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=hr.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=hr.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=hr.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=hr.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=hr.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=hr.hex8.exec(e))?{r:Jt(r[1]),g:Jt(r[2]),b:Jt(r[3]),a:Qm(r[4]),format:t?"name":"hex8"}:(r=hr.hex6.exec(e))?{r:Jt(r[1]),g:Jt(r[2]),b:Jt(r[3]),format:t?"name":"hex"}:(r=hr.hex4.exec(e))?{r:Jt(r[1]+""+r[1]),g:Jt(r[2]+""+r[2]),b:Jt(r[3]+""+r[3]),a:Qm(r[4]+""+r[4]),format:t?"name":"hex8"}:(r=hr.hex3.exec(e))?{r:Jt(r[1]+""+r[1]),g:Jt(r[2]+""+r[2]),b:Jt(r[3]+""+r[3]),format:t?"name":"hex"}:!1}function sL(e){var t,r;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),r!=="small"&&r!=="large"&&(r="small"),{level:t,size:r}}var Jm=function(t){var r=["r","g","b","a","h","s","l","v"],n=0,i=0;return FI(r,function(o){if(t[o]&&(n+=1,isNaN(t[o])||(i+=1),o==="s"||o==="l")){var a=/^\d+%$/;a.test(t[o])&&(i+=1)}}),n===i?t:!1},Vo=function(t,r){var n=t.hex?he(t.hex):he(t),i=n.toHsl(),o=n.toHsv(),a=n.toRgb(),s=n.toHex();i.s===0&&(i.h=r||0,o.h=r||0);var c=s==="000000"&&a.a===0;return{hsl:i,hex:c?"transparent":"#"+s,rgb:a,hsv:o,oldHue:t.h||r||i.h,source:t.source}},rn=function(t){if(t==="transparent")return!0;var r=String(t).charAt(0)==="#"?1:0;return t.length!==4+r&&t.length<7+r&&he(t).isValid()},ju=function(t){if(!t)return"#fff";var r=Vo(t);if(r.hex==="transparent")return"rgba(0,0,0,0.4)";var n=(r.rgb.r*299+r.rgb.g*587+r.rgb.b*114)/1e3;return n>=128?"#000":"#fff"},Iu=function(t,r){var n=t.replace("°","");return he(r+" ("+n+")")._ok},Ho=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lL=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function cL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uL(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function fL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ht=function(t){var r=function(n){fL(i,n);function i(o){cL(this,i);var a=uL(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return a.handleChange=function(s,c){var l=Jm(s);if(l){var u=Vo(s,s.h||a.state.oldHue);a.setState(u),a.props.onChangeComplete&&a.debounce(a.props.onChangeComplete,u,c),a.props.onChange&&a.props.onChange(u,c)}},a.handleSwatchHover=function(s,c){var l=Jm(s);if(l){var u=Vo(s,s.h||a.state.oldHue);a.props.onSwatchHover&&a.props.onSwatchHover(u,c)}},a.state=Ho({},Vo(o.color,0)),a.debounce=zo(function(s,c,l){s(c,l)},100),a}return lL(i,[{key:"render",value:function(){var a={};return this.props.onSwatchHover&&(a.onSwatchHover=this.handleSwatchHover),p.createElement(t,Ho({},this.props,this.state,{onChange:this.handleChange},a))}}],[{key:"getDerivedStateFromProps",value:function(a,s){return Ho({},Vo(a.color,s.oldHue))}}]),i}(p.PureComponent||p.Component);return r.propTypes=Ho({},t.propTypes),r.defaultProps=Ho({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),r},dL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hL=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function pL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e1(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function gL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var mL=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){gL(i,n);function i(){var o,a,s,c;pL(this,i);for(var l=arguments.length,u=Array(l),f=0;f<l;f++)u[f]=arguments[f];return c=(a=(s=e1(this,(o=i.__proto__||Object.getPrototypeOf(i)).call.apply(o,[this].concat(u))),s),s.state={focus:!1},s.handleFocus=function(){return s.setState({focus:!0})},s.handleBlur=function(){return s.setState({focus:!1})},a),e1(s,c)}return hL(i,[{key:"render",value:function(){return p.createElement(r,{onFocus:this.handleFocus,onBlur:this.handleBlur},p.createElement(t,dL({},this.props,this.state)))}}]),i}(p.Component)},t1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vL=13,yL=function(t){var r=t.color,n=t.style,i=t.onClick,o=i===void 0?function(){}:i,a=t.onHover,s=t.title,c=s===void 0?r:s,l=t.children,u=t.focus,f=t.focusStyle,d=f===void 0?{}:f,h=r==="transparent",g=Ce({default:{swatch:t1({background:r,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,u?d:{})}}),m=function(P){return o(r,P)},y=function(P){return P.keyCode===vL&&o(r,P)},x=function(P){return a(r,P)},b={};return a&&(b.onMouseOver=x),p.createElement("div",t1({style:g.swatch,onClick:m,title:c,tabIndex:0,onKeyDown:y},b),l,h&&p.createElement(di,{borderRadius:g.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};const Pn=mL(yL);var bL=function(t){var r=t.direction,n=Ce({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:r==="vertical"});return p.createElement("div",{style:n.picker})},xL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r1=function(t){var r=t.rgb,n=t.hsl,i=t.width,o=t.height,a=t.onChange,s=t.direction,c=t.style,l=t.renderers,u=t.pointer,f=t.className,d=f===void 0?"":f,h=Ce({default:{picker:{position:"relative",width:i,height:o},alpha:{radius:"2px",style:c}}});return p.createElement("div",{style:h.picker,className:"alpha-picker "+d},p.createElement(xu,xL({},h.alpha,{rgb:r,hsl:n,pointer:u,renderers:l,onChange:a,direction:s})))};r1.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:bL},Ht(r1);function n1(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var wL="__lodash_hash_undefined__";function CL(e){return this.__data__.set(e,wL),this}function SL(e){return this.__data__.has(e)}function _s(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Nr;++t<r;)this.add(e[t])}_s.prototype.add=_s.prototype.push=CL,_s.prototype.has=SL;function TL(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function EL(e,t){return e.has(t)}var OL=1,PL=2;function i1(e,t,r,n,i,o){var a=r&OL,s=e.length,c=t.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(e),u=o.get(t);if(l&&u)return l==t&&u==e;var f=-1,d=!0,h=r&PL?new _s:void 0;for(o.set(e,t),o.set(t,e);++f<s;){var g=e[f],m=t[f];if(n)var y=a?n(m,g,f,t,e,o):n(g,m,f,e,t,o);if(y!==void 0){if(y)continue;d=!1;break}if(h){if(!TL(t,function(x,b){if(!EL(h,b)&&(g===x||i(g,x,r,n,o)))return h.push(b)})){d=!1;break}}else if(!(g===m||i(g,m,r,n,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function ML(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function _L(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var $L=1,AL=2,kL="[object Boolean]",DL="[object Date]",jL="[object Error]",IL="[object Map]",LL="[object Number]",FL="[object RegExp]",RL="[object Set]",NL="[object String]",BL="[object Symbol]",zL="[object ArrayBuffer]",WL="[object DataView]",o1=en?en.prototype:void 0,Lu=o1?o1.valueOf:void 0;function VL(e,t,r,n,i,o,a){switch(r){case WL:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case zL:return!(e.byteLength!=t.byteLength||!o(new ws(e),new ws(t)));case kL:case DL:case LL:return Io(+e,+t);case jL:return e.name==t.name&&e.message==t.message;case FL:case NL:return e==t+"";case IL:var s=ML;case RL:var c=n&$L;if(s||(s=_L),e.size!=t.size&&!c)return!1;var l=a.get(e);if(l)return l==t;n|=AL,a.set(e,t);var u=i1(s(e),s(t),n,i,o,a);return a.delete(e),u;case BL:if(Lu)return Lu.call(e)==Lu.call(t)}return!1}function HL(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function UL(e,t,r){var n=t(e);return Qt(e)?n:HL(n,r(e))}function YL(e,t){for(var r=-1,n=e==null?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}function GL(){return[]}var qL=Object.prototype,XL=qL.propertyIsEnumerable,a1=Object.getOwnPropertySymbols,KL=a1?function(e){return e==null?[]:(e=Object(e),YL(a1(e),function(t){return XL.call(e,t)}))}:GL;const ZL=KL;function s1(e){return UL(e,ku,ZL)}var QL=1,JL=Object.prototype,eF=JL.hasOwnProperty;function tF(e,t,r,n,i,o){var a=r&QL,s=s1(e),c=s.length,l=s1(t),u=l.length;if(c!=u&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in t:eF.call(t,d)))return!1}var h=o.get(e),g=o.get(t);if(h&&g)return h==t&&g==e;var m=!0;o.set(e,t),o.set(t,e);for(var y=a;++f<c;){d=s[f];var x=e[d],b=t[d];if(n)var S=a?n(b,x,d,t,e,o):n(x,b,d,e,t,o);if(!(S===void 0?x===b||i(x,b,r,n,o):S)){m=!1;break}y||(y=d=="constructor")}if(m&&!y){var P=e.constructor,w=t.constructor;P!=w&&"constructor"in e&&"constructor"in t&&!(typeof P=="function"&&P instanceof P&&typeof w=="function"&&w instanceof w)&&(m=!1)}return o.delete(e),o.delete(t),m}var rF=En(fr,"DataView");const Fu=rF;var nF=En(fr,"Promise");const Ru=nF;var iF=En(fr,"Set");const Nu=iF;var oF=En(fr,"WeakMap");const Bu=oF;var l1="[object Map]",aF="[object Object]",c1="[object Promise]",u1="[object Set]",f1="[object WeakMap]",d1="[object DataView]",sF=Tn(Fu),lF=Tn(Fo),cF=Tn(Ru),uF=Tn(Nu),fF=Tn(Bu),Mn=Sn;(Fu&&Mn(new Fu(new ArrayBuffer(1)))!=d1||Fo&&Mn(new Fo)!=l1||Ru&&Mn(Ru.resolve())!=c1||Nu&&Mn(new Nu)!=u1||Bu&&Mn(new Bu)!=f1)&&(Mn=function(e){var t=Sn(e),r=t==aF?e.constructor:void 0,n=r?Tn(r):"";if(n)switch(n){case sF:return d1;case lF:return l1;case cF:return c1;case uF:return u1;case fF:return f1}return t});const h1=Mn;var dF=1,p1="[object Arguments]",g1="[object Array]",$s="[object Object]",hF=Object.prototype,m1=hF.hasOwnProperty;function pF(e,t,r,n,i,o){var a=Qt(e),s=Qt(t),c=a?g1:h1(e),l=s?g1:h1(t);c=c==p1?$s:c,l=l==p1?$s:l;var u=c==$s,f=l==$s,d=c==l;if(d&&Ss(e)){if(!Ss(t))return!1;a=!0,u=!1}if(d&&!u)return o||(o=new Sr),a||Mu(e)?i1(e,t,r,n,i,o):VL(e,t,c,r,n,i,o);if(!(r&dF)){var h=u&&m1.call(e,"__wrapped__"),g=f&&m1.call(t,"__wrapped__");if(h||g){var m=h?e.value():e,y=g?t.value():t;return o||(o=new Sr),i(m,y,r,n,o)}}return d?(o||(o=new Sr),tF(e,t,r,n,i,o)):!1}function zu(e,t,r,n,i){return e===t?!0:e==null||t==null||!tn(e)&&!tn(t)?e!==e&&t!==t:pF(e,t,r,n,zu,i)}var gF=1,mF=2;function vF(e,t,r,n){var i=r.length,o=i,a=!n;if(e==null)return!o;for(e=Object(e);i--;){var s=r[i];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=r[i];var c=s[0],l=e[c],u=s[1];if(a&&s[2]){if(l===void 0&&!(c in e))return!1}else{var f=new Sr;if(n)var d=n(l,u,c,e,t,f);if(!(d===void 0?zu(u,l,gF|mF,n,f):d))return!1}}return!0}function v1(e){return e===e&&!ar(e)}function yF(e){for(var t=ku(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,v1(i)]}return t}function y1(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function bF(e){var t=yF(e);return t.length==1&&t[0][2]?y1(t[0][0],t[0][1]):function(r){return r===e||vF(r,e,t)}}var xF=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wF=/^\w*$/;function Wu(e,t){if(Qt(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Es(e)?!0:wF.test(e)||!xF.test(e)||t!=null&&e in Object(t)}var CF="Expected a function";function Vu(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(CF);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Vu.Cache||Nr),r}Vu.Cache=Nr;var SF=500;function TF(e){var t=Vu(e,function(n){return r.size===SF&&r.clear(),n}),r=t.cache;return t}var EF=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,OF=/\\(\\)?/g,PF=TF(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(EF,function(r,n,i,o){t.push(i?o.replace(OF,"$1"):n||r)}),t});const MF=PF;var _F=1/0,b1=en?en.prototype:void 0,x1=b1?b1.toString:void 0;function w1(e){if(typeof e=="string")return e;if(Qt(e))return n1(e,w1)+"";if(Es(e))return x1?x1.call(e):"";var t=e+"";return t=="0"&&1/e==-_F?"-0":t}function $F(e){return e==null?"":w1(e)}function C1(e,t){return Qt(e)?e:Wu(e,t)?[e]:MF($F(e))}var AF=1/0;function As(e){if(typeof e=="string"||Es(e))return e;var t=e+"";return t=="0"&&1/e==-AF?"-0":t}function S1(e,t){t=C1(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[As(t[r++])];return r&&r==n?e:void 0}function kF(e,t,r){var n=e==null?void 0:S1(e,t);return n===void 0?r:n}function DF(e,t){return e!=null&&t in Object(e)}function jF(e,t,r){t=C1(t,e);for(var n=-1,i=t.length,o=!1;++n<i;){var a=As(t[n]);if(!(o=e!=null&&r(e,a)))break;e=e[a]}return o||++n!=i?o:(i=e==null?0:e.length,!!i&&Ou(i)&&$u(a,i)&&(Qt(e)||Cs(e)))}function IF(e,t){return e!=null&&jF(e,t,DF)}var LF=1,FF=2;function RF(e,t){return Wu(e)&&v1(t)?y1(As(e),t):function(r){var n=kF(r,e);return n===void 0&&n===t?IF(r,e):zu(t,n,LF|FF)}}function NF(e){return function(t){return t==null?void 0:t[e]}}function BF(e){return function(t){return S1(t,e)}}function zF(e){return Wu(e)?NF(As(e)):BF(e)}function WF(e){return typeof e=="function"?e:e==null?Ts:typeof e=="object"?Qt(e)?RF(e[0],e[1]):bF(e):zF(e)}function VF(e,t){var r=-1,n=pi(e)?Array(e.length):[];return Hm(e,function(i,o,a){n[++r]=t(i,o,a)}),n}function _n(e,t){var r=Qt(e)?n1:VF;return r(e,WF(t))}var HF=function(t){var r=t.colors,n=t.onClick,i=t.onSwatchHover,o=Ce({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return p.createElement("div",{style:o.swatches},_n(r,function(a){return p.createElement(Pn,{key:a,color:a,style:o.swatch,onClick:n,onHover:i,focusStyle:{boxShadow:"0 0 4px "+a}})}),p.createElement("div",{style:o.clear}))},Hu=function(t){var r=t.onChange,n=t.onSwatchHover,i=t.hex,o=t.colors,a=t.width,s=t.triangle,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=i==="transparent",h=function(y,x){rn(y)&&r({hex:y,source:"hex"},x)},g=Ce(Vt({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:ju(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},l),{"hide-triangle":s==="hide"});return p.createElement("div",{style:g.card,className:"block-picker "+f},p.createElement("div",{style:g.triangle}),p.createElement("div",{style:g.head},d&&p.createElement(di,{borderRadius:"6px 6px 0 0"}),p.createElement("div",{style:g.label},i)),p.createElement("div",{style:g.body},p.createElement(HF,{colors:o,onClick:h,onSwatchHover:n}),p.createElement(De,{style:{input:g.input},value:i,onChange:h})))};Hu.propTypes={width:A.oneOfType([A.string,A.number]),colors:A.arrayOf(A.string),triangle:A.oneOf(["top","hide"]),styles:A.object},Hu.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},Ht(Hu);var gi={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"},mi={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},vi={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"},yi={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},bi={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},xi={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"},wi={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"},Ci={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},Si={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},Uo={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"},Ti={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},Ei={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Oi={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Pi={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Mi={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"},_i={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},$i={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Ai={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},T1=function(t){var r=t.color,n=t.onClick,i=t.onSwatchHover,o=t.hover,a=t.active,s=t.circleSize,c=t.circleSpacing,l=Ce({default:{swatch:{width:s,height:s,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+r,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+r}}},{hover:o,active:a});return p.createElement("div",{style:l.swatch},p.createElement(Pn,{style:l.Swatch,color:r,onClick:n,onHover:i,focusStyle:{boxShadow:l.Swatch.boxShadow+", 0 0 5px "+r}}))};T1.defaultProps={circleSize:28,circleSpacing:14};const UF=yu(T1);var Uu=function(t){var r=t.width,n=t.onChange,i=t.onSwatchHover,o=t.colors,a=t.hex,s=t.circleSize,c=t.styles,l=c===void 0?{}:c,u=t.circleSpacing,f=t.className,d=f===void 0?"":f,h=Ce(Vt({default:{card:{width:r,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},l)),g=function(y,x){return n({hex:y,source:"hex"},x)};return p.createElement("div",{style:h.card,className:"circle-picker "+d},_n(o,function(m){return p.createElement(UF,{key:m,color:m,onClick:g,onSwatchHover:i,active:a===m.toLowerCase(),circleSize:s,circleSpacing:u})}))};Uu.propTypes={width:A.oneOfType([A.string,A.number]),circleSize:A.number,circleSpacing:A.number,styles:A.object},Uu.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[gi[500],mi[500],vi[500],yi[500],bi[500],xi[500],wi[500],Ci[500],Si[500],Uo[500],Ti[500],Ei[500],Oi[500],Pi[500],Mi[500],_i[500],$i[500],Ai[500]],styles:{}},Ht(Uu);function E1(e){return e===void 0}var O1={};Object.defineProperty(O1,"__esModule",{value:!0});var P1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},YF=p,M1=GF(YF);function GF(e){return e&&e.__esModule?e:{default:e}}function qF(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var ks=24,XF=O1.default=function(e){var t=e.fill,r=t===void 0?"currentColor":t,n=e.width,i=n===void 0?ks:n,o=e.height,a=o===void 0?ks:o,s=e.style,c=s===void 0?{}:s,l=qF(e,["fill","width","height","style"]);return M1.default.createElement("svg",P1({viewBox:"0 0 "+ks+" "+ks,style:P1({fill:r,width:i,height:a},c)},l),M1.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))},KF=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function ZF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QF(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function JF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _1=function(e){JF(t,e);function t(r){ZF(this,t);var n=QF(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.toggleViews=function(){n.state.view==="hex"?n.setState({view:"rgb"}):n.state.view==="rgb"?n.setState({view:"hsl"}):n.state.view==="hsl"&&(n.props.hsl.a===1?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(i,o){i.hex?rn(i.hex)&&n.props.onChange({hex:i.hex,source:"hex"},o):i.r||i.g||i.b?n.props.onChange({r:i.r||n.props.rgb.r,g:i.g||n.props.rgb.g,b:i.b||n.props.rgb.b,source:"rgb"},o):i.a?(i.a<0?i.a=0:i.a>1&&(i.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(i.a*100)/100,source:"rgb"},o)):(i.h||i.s||i.l)&&(typeof i.s=="string"&&i.s.includes("%")&&(i.s=i.s.replace("%","")),typeof i.l=="string"&&i.l.includes("%")&&(i.l=i.l.replace("%","")),i.s==1?i.s=.01:i.l==1&&(i.l=.01),n.props.onChange({h:i.h||n.props.hsl.h,s:Number(E1(i.s)?n.props.hsl.s:i.s),l:Number(E1(i.l)?n.props.hsl.l:i.l),source:"hsl"},o))},n.showHighlight=function(i){i.currentTarget.style.background="#eee"},n.hideHighlight=function(i){i.currentTarget.style.background="transparent"},r.hsl.a!==1&&r.view==="hex"?n.state={view:"rgb"}:n.state={view:r.view},n}return KF(t,[{key:"render",value:function(){var n=this,i=Ce({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),o=void 0;return this.state.view==="hex"?o=p.createElement("div",{style:i.fields,className:"flexbox-fix"},p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?o=p.createElement("div",{style:i.fields,className:"flexbox-fix"},p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),p.createElement("div",{style:i.alpha},p.createElement(De,{style:{input:i.input,label:i.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(o=p.createElement("div",{style:i.fields,className:"flexbox-fix"},p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),p.createElement("div",{style:i.field},p.createElement(De,{style:{input:i.input,label:i.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),p.createElement("div",{style:i.alpha},p.createElement(De,{style:{input:i.input,label:i.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),p.createElement("div",{style:i.wrap,className:"flexbox-fix"},o,p.createElement("div",{style:i.toggle},p.createElement("div",{style:i.icon,onClick:this.toggleViews,ref:function(s){return n.icon=s}},p.createElement(XF,{style:i.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(n,i){return n.hsl.a!==1&&i.view==="hex"?{view:"rgb"}:null}}]),t}(p.Component);_1.defaultProps={view:"hex"};var $1=function(){var t=Ce({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return p.createElement("div",{style:t.picker})},eR=function(){var t=Ce({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return p.createElement("div",{style:t.picker})},Yu=function(t){var r=t.width,n=t.onChange,i=t.disableAlpha,o=t.rgb,a=t.hsl,s=t.hsv,c=t.hex,l=t.renderers,u=t.styles,f=u===void 0?{}:u,d=t.className,h=d===void 0?"":d,g=t.defaultView,m=Ce(Vt({default:{picker:{width:r,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},f),{disableAlpha:i});return p.createElement("div",{style:m.picker,className:"chrome-picker "+h},p.createElement("div",{style:m.saturation},p.createElement(Os,{style:m.Saturation,hsl:a,hsv:s,pointer:eR,onChange:n})),p.createElement("div",{style:m.body},p.createElement("div",{style:m.controls,className:"flexbox-fix"},p.createElement("div",{style:m.color},p.createElement("div",{style:m.swatch},p.createElement("div",{style:m.active}),p.createElement(di,{renderers:l}))),p.createElement("div",{style:m.toggles},p.createElement("div",{style:m.hue},p.createElement(hi,{style:m.Hue,hsl:a,pointer:$1,onChange:n})),p.createElement("div",{style:m.alpha},p.createElement(xu,{style:m.Alpha,rgb:o,hsl:a,pointer:$1,renderers:l,onChange:n})))),p.createElement(_1,{rgb:o,hsl:a,hex:c,view:g,onChange:n,disableAlpha:i})))};Yu.propTypes={width:A.oneOfType([A.string,A.number]),disableAlpha:A.bool,styles:A.object,defaultView:A.oneOf(["hex","rgb","hsl"])},Yu.defaultProps={width:225,disableAlpha:!1,styles:{}};const tR=Ht(Yu);var rR=function(t){var r=t.color,n=t.onClick,i=n===void 0?function(){}:n,o=t.onSwatchHover,a=t.active,s=Ce({default:{color:{background:r,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:ju(r),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return p.createElement(Pn,{style:s.color,color:r,onClick:i,onHover:o,focusStyle:{boxShadow:"0 0 4px "+r}},p.createElement("div",{style:s.dot}))},nR=function(t){var r=t.hex,n=t.rgb,i=t.onChange,o=Ce({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:r},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(c,l){c.r||c.g||c.b?i({r:c.r||n.r,g:c.g||n.g,b:c.b||n.b,source:"rgb"},l):i({hex:c.hex,source:"hex"},l)};return p.createElement("div",{style:o.fields,className:"flexbox-fix"},p.createElement("div",{style:o.active}),p.createElement(De,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"hex",value:r,onChange:a}),p.createElement(De,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:n.r,onChange:a}),p.createElement(De,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:n.g,onChange:a}),p.createElement(De,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:n.b,onChange:a}))},Gu=function(t){var r=t.onChange,n=t.onSwatchHover,i=t.colors,o=t.hex,a=t.rgb,s=t.styles,c=s===void 0?{}:s,l=t.className,u=l===void 0?"":l,f=Ce(Vt({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),d=function(g,m){g.hex?rn(g.hex)&&r({hex:g.hex,source:"hex"},m):r(g,m)};return p.createElement(Bo,{style:f.Compact,styles:c},p.createElement("div",{style:f.compact,className:"compact-picker "+u},p.createElement("div",null,_n(i,function(h){return p.createElement(rR,{key:h,color:h,active:h.toLowerCase()===o,onClick:d,onSwatchHover:n})}),p.createElement("div",{style:f.clear})),p.createElement(nR,{hex:o,rgb:a,onChange:d})))};Gu.propTypes={colors:A.arrayOf(A.string),styles:A.object},Gu.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},Ht(Gu);var iR=function(t){var r=t.hover,n=t.color,i=t.onClick,o=t.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=Ce({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:r});return p.createElement("div",{style:s.swatch},p.createElement(Pn,{color:n,onClick:i,onHover:o,focusStyle:a}))};const oR=yu(iR);var qu=function(t){var r=t.width,n=t.colors,i=t.onChange,o=t.onSwatchHover,a=t.triangle,s=t.styles,c=s===void 0?{}:s,l=t.className,u=l===void 0?"":l,f=Ce(Vt({default:{card:{width:r,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":a==="hide","top-left-triangle":a==="top-left","top-right-triangle":a==="top-right","bottom-left-triangle":a==="bottom-left","bottom-right-triangle":a==="bottom-right"}),d=function(g,m){return i({hex:g,source:"hex"},m)};return p.createElement("div",{style:f.card,className:"github-picker "+u},p.createElement("div",{style:f.triangleShadow}),p.createElement("div",{style:f.triangle}),_n(n,function(h){return p.createElement(oR,{color:h,key:h,onClick:d,onSwatchHover:o})}))};qu.propTypes={width:A.oneOfType([A.string,A.number]),colors:A.arrayOf(A.string),triangle:A.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:A.object},qu.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Ht(qu);var aR=function(t){var r=t.direction,n=Ce({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:r==="vertical"});return p.createElement("div",{style:n.picker})},sR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xu=function(t){var r=t.width,n=t.height,i=t.onChange,o=t.hsl,a=t.direction,s=t.pointer,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=Ce(Vt({default:{picker:{position:"relative",width:r,height:n},hue:{radius:"2px"}}},l)),h=function(m){return i({a:1,h:m.h,l:.5,s:1})};return p.createElement("div",{style:d.picker,className:"hue-picker "+f},p.createElement(hi,sR({},d.hue,{hsl:o,pointer:s,onChange:h,direction:a})))};Xu.propTypes={styles:A.object},Xu.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:aR,styles:{}},Ht(Xu);var lR=function(t){var r=t.onChange,n=t.hex,i=t.rgb,o=t.styles,a=o===void 0?{}:o,s=t.className,c=s===void 0?"":s,l=Ce(Vt({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},a)),u=function(d,h){d.hex?rn(d.hex)&&r({hex:d.hex,source:"hex"},h):(d.r||d.g||d.b)&&r({r:d.r||i.r,g:d.g||i.g,b:d.b||i.b,source:"rgb"},h)};return p.createElement(Bo,{styles:a},p.createElement("div",{style:l.material,className:"material-picker "+c},p.createElement(De,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:n,onChange:u}),p.createElement("div",{style:l.split,className:"flexbox-fix"},p.createElement("div",{style:l.third},p.createElement(De,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:i.r,onChange:u})),p.createElement("div",{style:l.third},p.createElement(De,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:i.g,onChange:u})),p.createElement("div",{style:l.third},p.createElement(De,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:i.b,onChange:u})))))};Ht(lR);var cR=function(t){var r=t.onChange,n=t.rgb,i=t.hsv,o=t.hex,a=Ce({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(l,u){l["#"]?rn(l["#"])&&r({hex:l["#"],source:"hex"},u):l.r||l.g||l.b?r({r:l.r||n.r,g:l.g||n.g,b:l.b||n.b,source:"rgb"},u):(l.h||l.s||l.v)&&r({h:l.h||i.h,s:l.s||i.s,v:l.v||i.v,source:"hsv"},u)};return p.createElement("div",{style:a.fields},p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(i.h),onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(i.s*100),onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(i.v*100),onChange:s}),p.createElement("div",{style:a.divider}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),p.createElement(De,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}),p.createElement("div",{style:a.divider}),p.createElement(De,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:o.replace("#",""),onChange:s}),p.createElement("div",{style:a.fieldSymbols},p.createElement("div",{style:a.symbol},"°"),p.createElement("div",{style:a.symbol},"%"),p.createElement("div",{style:a.symbol},"%")))},uR=function(t){var r=t.hsl,n=Ce({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":r.l>.5});return p.createElement("div",{style:n.picker})},fR=function(){var t=Ce({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return p.createElement("div",{style:t.pointer},p.createElement("div",{style:t.left},p.createElement("div",{style:t.leftInside})),p.createElement("div",{style:t.right},p.createElement("div",{style:t.rightInside})))},A1=function(t){var r=t.onClick,n=t.label,i=t.children,o=t.active,a=Ce({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return p.createElement("div",{style:a.button,onClick:r},n||i)},dR=function(t){var r=t.rgb,n=t.currentColor,i=Ce({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+r.r+","+r.g+", "+r.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return p.createElement("div",null,p.createElement("div",{style:i.label},"new"),p.createElement("div",{style:i.swatches},p.createElement("div",{style:i.new}),p.createElement("div",{style:i.current})),p.createElement("div",{style:i.label},"current"))},hR=function(){function e(t,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function pR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gR(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function mR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Ku=function(e){mR(t,e);function t(r){pR(this,t);var n=gR(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:r.hex},n}return hR(t,[{key:"render",value:function(){var n=this.props,i=n.styles,o=i===void 0?{}:i,a=n.className,s=a===void 0?"":a,c=Ce(Vt({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},o));return p.createElement("div",{style:c.picker,className:"photoshop-picker "+s},p.createElement("div",{style:c.head},this.props.header),p.createElement("div",{style:c.body,className:"flexbox-fix"},p.createElement("div",{style:c.saturation},p.createElement(Os,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:uR,onChange:this.props.onChange})),p.createElement("div",{style:c.hue},p.createElement(hi,{direction:"vertical",hsl:this.props.hsl,pointer:fR,onChange:this.props.onChange})),p.createElement("div",{style:c.controls},p.createElement("div",{style:c.top,className:"flexbox-fix"},p.createElement("div",{style:c.previews},p.createElement(dR,{rgb:this.props.rgb,currentColor:this.state.currentColor})),p.createElement("div",{style:c.actions},p.createElement(A1,{label:"OK",onClick:this.props.onAccept,active:!0}),p.createElement(A1,{label:"Cancel",onClick:this.props.onCancel}),p.createElement(cR,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(p.Component);Ku.propTypes={header:A.string,styles:A.object},Ku.defaultProps={header:"Color Picker",styles:{}},Ht(Ku);var vR=function(t){var r=t.onChange,n=t.rgb,i=t.hsl,o=t.hex,a=t.disableAlpha,s=Ce({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),c=function(u,f){u.hex?rn(u.hex)&&r({hex:u.hex,source:"hex"},f):u.r||u.g||u.b?r({r:u.r||n.r,g:u.g||n.g,b:u.b||n.b,a:n.a,source:"rgb"},f):u.a&&(u.a<0?u.a=0:u.a>100&&(u.a=100),u.a/=100,r({h:i.h,s:i.s,l:i.l,a:u.a,source:"rgb"},f))};return p.createElement("div",{style:s.fields,className:"flexbox-fix"},p.createElement("div",{style:s.double},p.createElement(De,{style:{input:s.input,label:s.label},label:"hex",value:o.replace("#",""),onChange:c})),p.createElement("div",{style:s.single},p.createElement(De,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),p.createElement("div",{style:s.single},p.createElement(De,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),p.createElement("div",{style:s.single},p.createElement(De,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),p.createElement("div",{style:s.alpha},p.createElement(De,{style:{input:s.input,label:s.label},label:"a",value:Math.round(n.a*100),onChange:c,dragLabel:"true",dragMax:"100"})))},yR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k1=function(t){var r=t.colors,n=t.onClick,i=n===void 0?function(){}:n,o=t.onSwatchHover,a=Ce({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!r||!r.length}),s=function(l,u){i({hex:l,source:"hex"},u)};return p.createElement("div",{style:a.colors,className:"flexbox-fix"},r.map(function(c){var l=typeof c=="string"?{color:c}:c,u=""+l.color+(l.title||"");return p.createElement("div",{key:u,style:a.swatchWrap},p.createElement(Pn,yR({},l,{style:a.swatch,onClick:s,onHover:o,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+l.color}})))}))};k1.propTypes={colors:A.arrayOf(A.oneOfType([A.string,A.shape({color:A.string,title:A.string})])).isRequired};var bR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zu=function(t){var r=t.width,n=t.rgb,i=t.hex,o=t.hsv,a=t.hsl,s=t.onChange,c=t.onSwatchHover,l=t.disableAlpha,u=t.presetColors,f=t.renderers,d=t.styles,h=d===void 0?{}:d,g=t.className,m=g===void 0?"":g,y=Ce(Vt({default:bR({picker:{width:r,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},h),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},h),{disableAlpha:l});return p.createElement("div",{style:y.picker,className:"sketch-picker "+m},p.createElement("div",{style:y.saturation},p.createElement(Os,{style:y.Saturation,hsl:a,hsv:o,onChange:s})),p.createElement("div",{style:y.controls,className:"flexbox-fix"},p.createElement("div",{style:y.sliders},p.createElement("div",{style:y.hue},p.createElement(hi,{style:y.Hue,hsl:a,onChange:s})),p.createElement("div",{style:y.alpha},p.createElement(xu,{style:y.Alpha,rgb:n,hsl:a,renderers:f,onChange:s}))),p.createElement("div",{style:y.color},p.createElement(di,null),p.createElement("div",{style:y.activeColor}))),p.createElement(vR,{rgb:n,hsl:a,hex:i,onChange:s,disableAlpha:l}),p.createElement(k1,{colors:u,onClick:s,onSwatchHover:c}))};Zu.propTypes={disableAlpha:A.bool,width:A.oneOfType([A.string,A.number]),styles:A.object},Zu.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},Ht(Zu);var Yo=function(t){var r=t.hsl,n=t.offset,i=t.onClick,o=i===void 0?function(){}:i,a=t.active,s=t.first,c=t.last,l=Ce({default:{swatch:{height:"12px",background:"hsl("+r.h+", 50%, "+n*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:s,last:c}),u=function(d){return o({h:r.h,s:.5,l:n,source:"hsl"},d)};return p.createElement("div",{style:l.swatch,onClick:u})},xR=function(t){var r=t.onClick,n=t.hsl,i=Ce({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),o=.1;return p.createElement("div",{style:i.swatches},p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<o&&Math.abs(n.s-.5)<o,onClick:r,first:!0})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<o&&Math.abs(n.s-.5)<o,onClick:r})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<o&&Math.abs(n.s-.5)<o,onClick:r})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<o&&Math.abs(n.s-.5)<o,onClick:r})),p.createElement("div",{style:i.swatch},p.createElement(Yo,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<o&&Math.abs(n.s-.5)<o,onClick:r,last:!0})),p.createElement("div",{style:i.clear}))},wR=function(){var t=Ce({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return p.createElement("div",{style:t.picker})},Qu=function(t){var r=t.hsl,n=t.onChange,i=t.pointer,o=t.styles,a=o===void 0?{}:o,s=t.className,c=s===void 0?"":s,l=Ce(Vt({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return p.createElement("div",{style:l.wrap||{},className:"slider-picker "+c},p.createElement("div",{style:l.hue},p.createElement(hi,{style:l.Hue,hsl:r,pointer:i,onChange:n})),p.createElement("div",{style:l.swatches},p.createElement(xR,{hsl:r,onClick:n})))};Qu.propTypes={styles:A.object},Qu.defaultProps={pointer:wR,styles:{}},Ht(Qu);var D1={};Object.defineProperty(D1,"__esModule",{value:!0});var j1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},CR=p,I1=SR(CR);function SR(e){return e&&e.__esModule?e:{default:e}}function TR(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var Ds=24,ER=D1.default=function(e){var t=e.fill,r=t===void 0?"currentColor":t,n=e.width,i=n===void 0?Ds:n,o=e.height,a=o===void 0?Ds:o,s=e.style,c=s===void 0?{}:s,l=TR(e,["fill","width","height","style"]);return I1.default.createElement("svg",j1({viewBox:"0 0 "+Ds+" "+Ds,style:j1({fill:r,width:i,height:a},c)},l),I1.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},OR=function(t){var r=t.color,n=t.onClick,i=n===void 0?function(){}:n,o=t.onSwatchHover,a=t.first,s=t.last,c=t.active,l=Ce({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:r,marginBottom:"1px"},check:{color:ju(r),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:s,active:c,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return p.createElement(Pn,{color:r,style:l.color,onClick:i,onHover:o,focusStyle:{boxShadow:"0 0 4px "+r}},p.createElement("div",{style:l.check},p.createElement(ER,null)))},PR=function(t){var r=t.onClick,n=t.onSwatchHover,i=t.group,o=t.active,a=Ce({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return p.createElement("div",{style:a.group},_n(i,function(s,c){return p.createElement(OR,{key:s,color:s,active:s.toLowerCase()===o,first:c===0,last:c===i.length-1,onClick:r,onSwatchHover:n})}))},Ju=function(t){var r=t.width,n=t.height,i=t.onChange,o=t.onSwatchHover,a=t.colors,s=t.hex,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=Ce(Vt({default:{picker:{width:r,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},l)),h=function(m,y){return i({hex:m,source:"hex"},y)};return p.createElement("div",{style:d.picker,className:"swatches-picker "+f},p.createElement(Bo,null,p.createElement("div",{style:d.overflow},p.createElement("div",{style:d.body},_n(a,function(g){return p.createElement(PR,{key:g.toString(),group:g,active:s,onClick:h,onSwatchHover:o})}),p.createElement("div",{style:d.clear})))))};Ju.propTypes={width:A.oneOfType([A.string,A.number]),height:A.oneOfType([A.string,A.number]),colors:A.arrayOf(A.arrayOf(A.string)),styles:A.object},Ju.defaultProps={width:320,height:240,colors:[[gi[900],gi[700],gi[500],gi[300],gi[100]],[mi[900],mi[700],mi[500],mi[300],mi[100]],[vi[900],vi[700],vi[500],vi[300],vi[100]],[yi[900],yi[700],yi[500],yi[300],yi[100]],[bi[900],bi[700],bi[500],bi[300],bi[100]],[xi[900],xi[700],xi[500],xi[300],xi[100]],[wi[900],wi[700],wi[500],wi[300],wi[100]],[Ci[900],Ci[700],Ci[500],Ci[300],Ci[100]],[Si[900],Si[700],Si[500],Si[300],Si[100]],["#194D33",Uo[700],Uo[500],Uo[300],Uo[100]],[Ti[900],Ti[700],Ti[500],Ti[300],Ti[100]],[Ei[900],Ei[700],Ei[500],Ei[300],Ei[100]],[Oi[900],Oi[700],Oi[500],Oi[300],Oi[100]],[Pi[900],Pi[700],Pi[500],Pi[300],Pi[100]],[Mi[900],Mi[700],Mi[500],Mi[300],Mi[100]],[_i[900],_i[700],_i[500],_i[300],_i[100]],[$i[900],$i[700],$i[500],$i[300],$i[100]],[Ai[900],Ai[700],Ai[500],Ai[300],Ai[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},Ht(Ju);var ef=function(t){var r=t.onChange,n=t.onSwatchHover,i=t.hex,o=t.colors,a=t.width,s=t.triangle,c=t.styles,l=c===void 0?{}:c,u=t.className,f=u===void 0?"":u,d=Ce(Vt({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},l),{"hide-triangle":s==="hide","top-left-triangle":s==="top-left","top-right-triangle":s==="top-right"}),h=function(m,y){rn(m)&&r({hex:m,source:"hex"},y)};return p.createElement("div",{style:d.card,className:"twitter-picker "+f},p.createElement("div",{style:d.triangleShadow}),p.createElement("div",{style:d.triangle}),p.createElement("div",{style:d.body},_n(o,function(g,m){return p.createElement(Pn,{key:m,color:g,hex:g,style:d.swatch,onClick:h,onHover:n,focusStyle:{boxShadow:"0 0 4px "+g}})}),p.createElement("div",{style:d.hash},"#"),p.createElement(De,{label:null,style:{input:d.input},value:i.replace("#",""),onChange:h}),p.createElement("div",{style:d.clear})))};ef.propTypes={width:A.oneOfType([A.string,A.number]),triangle:A.oneOf(["hide","top-left","top-right"]),colors:A.arrayOf(A.string),styles:A.object},ef.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},Ht(ef);var tf=function(t){var r=Ce({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(t.hsl.h)+", "+Math.round(t.hsl.s*100)+"%, "+Math.round(t.hsl.l*100)+"%)"}}});return p.createElement("div",{style:r.picker})};tf.propTypes={hsl:A.shape({h:A.number,s:A.number,l:A.number,a:A.number})},tf.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var rf=function(t){var r=Ce({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(t.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return p.createElement("div",{style:r.picker})};rf.propTypes={hsl:A.shape({h:A.number,s:A.number,l:A.number,a:A.number})},rf.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var MR=function(t){var r=t.onChange,n=t.rgb,i=t.hsl,o=t.hex,a=t.hsv,s=function(h,g){if(h.hex)rn(h.hex)&&r({hex:h.hex,source:"hex"},g);else if(h.rgb){var m=h.rgb.split(",");Iu(h.rgb,"rgb")&&r({r:m[0],g:m[1],b:m[2],a:1,source:"rgb"},g)}else if(h.hsv){var y=h.hsv.split(",");Iu(h.hsv,"hsv")&&(y[2]=y[2].replace("%",""),y[1]=y[1].replace("%",""),y[0]=y[0].replace("°",""),y[1]==1?y[1]=.01:y[2]==1&&(y[2]=.01),r({h:Number(y[0]),s:Number(y[1]),v:Number(y[2]),source:"hsv"},g))}else if(h.hsl){var x=h.hsl.split(",");Iu(h.hsl,"hsl")&&(x[2]=x[2].replace("%",""),x[1]=x[1].replace("%",""),x[0]=x[0].replace("°",""),f[1]==1?f[1]=.01:f[2]==1&&(f[2]=.01),r({h:Number(x[0]),s:Number(x[1]),v:Number(x[2]),source:"hsl"},g))}},c=Ce({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),l=n.r+", "+n.g+", "+n.b,u=Math.round(i.h)+"°, "+Math.round(i.s*100)+"%, "+Math.round(i.l*100)+"%",f=Math.round(a.h)+"°, "+Math.round(a.s*100)+"%, "+Math.round(a.v*100)+"%";return p.createElement("div",{style:c.wrap,className:"flexbox-fix"},p.createElement("div",{style:c.fields},p.createElement("div",{style:c.double},p.createElement(De,{style:{input:c.input,label:c.label},label:"hex",value:o,onChange:s})),p.createElement("div",{style:c.column},p.createElement("div",{style:c.single},p.createElement(De,{style:{input:c.input2,label:c.label2},label:"rgb",value:l,onChange:s})),p.createElement("div",{style:c.single},p.createElement(De,{style:{input:c.input2,label:c.label2},label:"hsv",value:f,onChange:s})),p.createElement("div",{style:c.single},p.createElement(De,{style:{input:c.input2,label:c.label2},label:"hsl",value:u,onChange:s})))))},nf=function(t){var r=t.width,n=t.onChange,i=t.rgb,o=t.hsl,a=t.hsv,s=t.hex,c=t.header,l=t.styles,u=l===void 0?{}:l,f=t.className,d=f===void 0?"":f,h=Ce(Vt({default:{picker:{width:r,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+i.r+", "+i.g+", "+i.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},u));return p.createElement("div",{style:h.picker,className:"google-picker "+d},p.createElement("div",{style:h.head},c),p.createElement("div",{style:h.swatch}),p.createElement("div",{style:h.saturation},p.createElement(Os,{hsl:o,hsv:a,pointer:tf,onChange:n})),p.createElement("div",{style:h.body},p.createElement("div",{style:h.controls,className:"flexbox-fix"},p.createElement("div",{style:h.hue},p.createElement(hi,{style:h.Hue,hsl:o,radius:"4px",pointer:rf,onChange:n}))),p.createElement(MR,{rgb:i,hsl:o,hex:s,hsv:a,onChange:n})))};nf.propTypes={width:A.oneOfType([A.string,A.number]),styles:A.object,header:A.string},nf.defaultProps={width:652,styles:{},header:"Color picker"},Ht(nf);const Go=/^[a-z0-9]+(-[a-z0-9]+)*$/,js=(e,t,r,n="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const s=i.pop(),c=i.pop(),l={provider:i.length>0?i[0]:n,prefix:c,name:s};return t&&!Is(l)?null:l}const o=i[0],a=o.split("-");if(a.length>1){const s={provider:n,prefix:a.shift(),name:a.join("-")};return t&&!Is(s)?null:s}if(r&&n===""){const s={provider:n,prefix:"",name:o};return t&&!Is(s,r)?null:s}return null},Is=(e,t)=>e?!!((e.provider===""||e.provider.match(Go))&&(t&&e.prefix===""||e.prefix.match(Go))&&e.name.match(Go)):!1,L1=Object.freeze({left:0,top:0,width:16,height:16}),Ls=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),of=Object.freeze({...L1,...Ls}),af=Object.freeze({...of,body:"",hidden:!1});function _R(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function F1(e,t){const r=_R(e,t);for(const n in af)n in Ls?n in e&&!(n in r)&&(r[n]=Ls[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function $R(e,t){const r=e.icons,n=e.aliases||Object.create(null),i=Object.create(null);function o(a){if(r[a])return i[a]=[];if(!(a in i)){i[a]=null;const s=n[a]&&n[a].parent,c=s&&o(s);c&&(i[a]=[s].concat(c))}return i[a]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(o),i}function AR(e,t,r){const n=e.icons,i=e.aliases||Object.create(null);let o={};function a(s){o=F1(n[s]||i[s],o)}return a(t),r.forEach(a),F1(e,o)}function R1(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),r.push(i)});const n=$R(e);for(const i in n){const o=n[i];o&&(t(i,AR(e,i,o)),r.push(i))}return r}const kR={provider:"",aliases:{},not_found:{},...L1};function sf(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function N1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!sf(e,kR))return null;const r=t.icons;for(const i in r){const o=r[i];if(!i.match(Go)||typeof o.body!="string"||!sf(o,af))return null}const n=t.aliases||Object.create(null);for(const i in n){const o=n[i],a=o.parent;if(!i.match(Go)||typeof a!="string"||!r[a]&&!n[a]||!sf(o,af))return null}return t}const B1=Object.create(null);function DR(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function $n(e,t){const r=B1[e]||(B1[e]=Object.create(null));return r[t]||(r[t]=DR(e,t))}function lf(e,t){return N1(t)?R1(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function jR(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let qo=!1;function z1(e){return typeof e=="boolean"&&(qo=e),qo}function IR(e){const t=typeof e=="string"?js(e,!0,qo):e;if(t){const r=$n(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function LR(e,t){const r=js(e,!0,qo);if(!r)return!1;const n=$n(r.provider,r.prefix);return jR(n,r.name,t)}function FR(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),qo&&!t&&!e.prefix){let i=!1;return N1(e)&&(e.prefix="",R1(e,(o,a)=>{a&&LR(o,a)&&(i=!0)})),i}const r=e.prefix;if(!Is({provider:t,prefix:r,name:"a"}))return!1;const n=$n(t,r);return!!lf(n,e)}const W1=Object.freeze({width:null,height:null}),V1=Object.freeze({...W1,...Ls}),RR=/(-?[0-9.]*[0-9]+[0-9.]*)/g,NR=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function H1(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(RR);if(n===null||!n.length)return e;const i=[];let o=n.shift(),a=NR.test(o);for(;;){if(a){const s=parseFloat(o);isNaN(s)?i.push(o):i.push(Math.ceil(s*t*r)/r)}else i.push(o);if(o=n.shift(),o===void 0)return i.join("");a=!a}}const BR=e=>e==="unset"||e==="undefined"||e==="none";function zR(e,t){const r={...of,...e},n={...V1,...t},i={left:r.left,top:r.top,width:r.width,height:r.height};let o=r.body;[r,n].forEach(g=>{const m=[],y=g.hFlip,x=g.vFlip;let b=g.rotate;y?x?b+=2:(m.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),m.push("scale(-1 1)"),i.top=i.left=0):x&&(m.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),m.push("scale(1 -1)"),i.top=i.left=0);let S;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:S=i.height/2+i.top,m.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:m.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:S=i.width/2+i.left,m.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}b%2===1&&(i.left!==i.top&&(S=i.left,i.left=i.top,i.top=S),i.width!==i.height&&(S=i.width,i.width=i.height,i.height=S)),m.length&&(o='<g transform="'+m.join(" ")+'">'+o+"</g>")});const a=n.width,s=n.height,c=i.width,l=i.height;let u,f;a===null?(f=s===null?"1em":s==="auto"?l:s,u=H1(f,c/l)):(u=a==="auto"?c:a,f=s===null?H1(u,l/c):s==="auto"?l:s);const d={},h=(g,m)=>{BR(m)||(d[g]=m.toString())};return h("width",u),h("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:o}}const WR=/\sid="(\S+)"/g,VR="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let HR=0;function UR(e,t=VR){const r=[];let n;for(;n=WR.exec(e);)r.push(n[1]);if(!r.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(o=>{const a=typeof t=="function"?t(o):t+(HR++).toString(),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const cf=Object.create(null);function YR(e,t){cf[e]=t}function uf(e){return cf[e]||cf[""]}function ff(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const df=Object.create(null),Xo=["https://api.simplesvg.com","https://api.unisvg.com"],Fs=[];for(;Xo.length>0;)Xo.length===1||Math.random()>.5?Fs.push(Xo.shift()):Fs.push(Xo.pop());df[""]=ff({resources:["https://api.iconify.design"].concat(Fs)});function GR(e,t){const r=ff(t);return r===null?!1:(df[e]=r,!0)}function hf(e){return df[e]}let U1=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function qR(e,t){const r=hf(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let i=0;r.resources.forEach(a=>{i=Math.max(i,a.length)});const o=t+".json?icons=";n=r.maxURL-i-r.path.length-o.length}return n}function XR(e){return e===404}const KR=(e,t,r)=>{const n=[],i=qR(e,t),o="icons";let a={type:o,provider:e,prefix:t,icons:[]},s=0;return r.forEach((c,l)=>{s+=c.length+1,s>=i&&l>0&&(n.push(a),a={type:o,provider:e,prefix:t,icons:[]},s=c.length),a.icons.push(c)}),n.push(a),n};function ZR(e){if(typeof e=="string"){const t=hf(e);if(t)return t.path}return"/"}const QR={prepare:KR,send:(e,t,r)=>{if(!U1){r("abort",424);return}let n=ZR(t.provider);switch(t.type){case"icons":{const o=t.prefix,s=t.icons.join(","),c=new URLSearchParams({icons:s});n+=o+".json?"+c.toString();break}case"custom":{const o=t.uri;n+=o.slice(0,1)==="/"?o.slice(1):o;break}default:r("abort",400);return}let i=503;U1(e+n).then(o=>{const a=o.status;if(a!==200){setTimeout(()=>{r(XR(a)?"abort":"next",a)});return}return i=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?r("abort",o):r("next",i)});return}setTimeout(()=>{r("success",o)})}).catch(()=>{r("next",i)})}};function JR(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((i,o)=>i.provider!==o.provider?i.provider.localeCompare(o.provider):i.prefix!==o.prefix?i.prefix.localeCompare(o.prefix):i.name.localeCompare(o.name));let n={provider:"",prefix:"",name:""};return e.forEach(i=>{if(n.name===i.name&&n.prefix===i.prefix&&n.provider===i.provider)return;n=i;const o=i.provider,a=i.prefix,s=i.name,c=r[o]||(r[o]=Object.create(null)),l=c[a]||(c[a]=$n(o,a));let u;s in l.icons?u=t.loaded:a===""||l.missing.has(s)?u=t.missing:u=t.pending;const f={provider:o,prefix:a,name:s};u.push(f)}),t}function Y1(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(i=>i.id!==t))})}function eN(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,i=e.prefix;t.forEach(o=>{const a=o.icons,s=a.pending.length;a.pending=a.pending.filter(c=>{if(c.prefix!==i)return!0;const l=c.name;if(e.icons[l])a.loaded.push({provider:n,prefix:i,name:l});else if(e.missing.has(l))a.missing.push({provider:n,prefix:i,name:l});else return r=!0,!0;return!1}),a.pending.length!==s&&(r||Y1([e],o.id),o.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),o.abort))})}))}let tN=0;function rN(e,t,r){const n=tN++,i=Y1.bind(null,r,n);if(!t.pending.length)return i;const o={id:n,icons:t,callback:e,abort:i};return r.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(o)}),i}function nN(e,t=!0,r=!1){const n=[];return e.forEach(i=>{const o=typeof i=="string"?js(i,t,r):i;o&&n.push(o)}),n}var iN={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function oN(e,t,r,n){const i=e.resources.length,o=e.random?Math.floor(Math.random()*i):e.index;let a;if(e.random){let E=e.resources.slice(0);for(a=[];E.length>1;){const O=Math.floor(Math.random()*E.length);a.push(E[O]),E=E.slice(0,O).concat(E.slice(O+1))}a=a.concat(E)}else a=e.resources.slice(o).concat(e.resources.slice(0,o));const s=Date.now();let c="pending",l=0,u,f=null,d=[],h=[];typeof n=="function"&&h.push(n);function g(){f&&(clearTimeout(f),f=null)}function m(){c==="pending"&&(c="aborted"),g(),d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function y(E,O){O&&(h=[]),typeof E=="function"&&h.push(E)}function x(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:d.length,subscribe:y,abort:m}}function b(){c="failed",h.forEach(E=>{E(void 0,u)})}function S(){d.forEach(E=>{E.status==="pending"&&(E.status="aborted")}),d=[]}function P(E,O,M){const L=O!=="success";switch(d=d.filter(W=>W!==E),c){case"pending":break;case"failed":if(L||!e.dataAfterTimeout)return;break;default:return}if(O==="abort"){u=M,b();return}if(L){u=M,d.length||(a.length?w():b());return}if(g(),S(),!e.random){const W=e.resources.indexOf(E.resource);W!==-1&&W!==e.index&&(e.index=W)}c="completed",h.forEach(W=>{W(M)})}function w(){if(c!=="pending")return;g();const E=a.shift();if(E===void 0){if(d.length){f=setTimeout(()=>{g(),c==="pending"&&(S(),b())},e.timeout);return}b();return}const O={status:"pending",resource:E,callback:(M,L)=>{P(O,M,L)}};d.push(O),l++,f=setTimeout(w,e.rotate),r(E,t,O.callback)}return setTimeout(w),x}function G1(e){const t={...iN,...e};let r=[];function n(){r=r.filter(s=>s().status==="pending")}function i(s,c,l){const u=oN(t,s,c,(f,d)=>{n(),l&&l(f,d)});return r.push(u),u}function o(s){return r.find(c=>s(c))||null}return{query:i,find:o,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:n}}function q1(){}const pf=Object.create(null);function aN(e){if(!pf[e]){const t=hf(e);if(!t)return;const r=G1(t),n={config:t,redundancy:r};pf[e]=n}return pf[e]}function sN(e,t,r){let n,i;if(typeof e=="string"){const o=uf(e);if(!o)return r(void 0,424),q1;i=o.send;const a=aN(e);a&&(n=a.redundancy)}else{const o=ff(e);if(o){n=G1(o);const a=e.resources?e.resources[0]:"",s=uf(a);s&&(i=s.send)}}return!n||!i?(r(void 0,424),q1):n.query(t,i,r)().abort}const X1="iconify2",Ko="iconify",K1=Ko+"-count",Z1=Ko+"-version",Q1=36e5,lN=168;function gf(e,t){try{return e.getItem(t)}catch{}}function mf(e,t,r){try{return e.setItem(t,r),!0}catch{}}function J1(e,t){try{e.removeItem(t)}catch{}}function vf(e,t){return mf(e,K1,t.toString())}function yf(e){return parseInt(gf(e,K1))||0}const Rs={local:!0,session:!0},ev={local:new Set,session:new Set};let bf=!1;function cN(e){bf=e}let Ns=typeof window>"u"?{}:window;function tv(e){const t=e+"Storage";try{if(Ns&&Ns[t]&&typeof Ns[t].length=="number")return Ns[t]}catch{}Rs[e]=!1}function rv(e,t){const r=tv(e);if(!r)return;const n=gf(r,Z1);if(n!==X1){if(n){const s=yf(r);for(let c=0;c<s;c++)J1(r,Ko+c.toString())}mf(r,Z1,X1),vf(r,0);return}const i=Math.floor(Date.now()/Q1)-lN,o=s=>{const c=Ko+s.toString(),l=gf(r,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}J1(r,c)}};let a=yf(r);for(let s=a-1;s>=0;s--)o(s)||(s===a-1?(a--,vf(r,a)):ev[e].add(s))}function nv(){if(!bf){cN(!0);for(const e in Rs)rv(e,t=>{const r=t.data,n=t.provider,i=r.prefix,o=$n(n,i);if(!lf(o,r).length)return!1;const a=r.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,a):a,!0})}}function uN(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in Rs)rv(n,i=>{const o=i.data;return i.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t});return!0}function fN(e,t){bf||nv();function r(n){let i;if(!Rs[n]||!(i=tv(n)))return;const o=ev[n];let a;if(o.size)o.delete(a=Array.from(o).shift());else if(a=yf(i),!vf(i,a+1))return;const s={cached:Math.floor(Date.now()/Q1),provider:e.provider,data:t};return mf(i,Ko+a.toString(),JSON.stringify(s))}t.lastModified&&!uN(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function iv(){}function dN(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,eN(e)}))}function hN(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,i=e.iconsToLoad;delete e.iconsToLoad;let o;if(!i||!(o=uf(r)))return;o.prepare(r,n,i).forEach(s=>{sN(r,s,c=>{if(typeof c!="object")s.icons.forEach(l=>{e.missing.add(l)});else try{const l=lf(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),fN(e,c)}catch(l){console.error(l)}dN(e)})})}))}const pN=(e,t)=>{const r=nN(e,!0,z1()),n=JR(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,iv)}),()=>{c=!1}}const i=Object.create(null),o=[];let a,s;return n.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===s&&l===a)return;a=l,s=u,o.push($n(l,u));const f=i[l]||(i[l]=Object.create(null));f[u]||(f[u]=[])}),n.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=$n(l,u),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(f)||(h.add(f),i[l][u].push(f))}),o.forEach(c=>{const{provider:l,prefix:u}=c;i[l][u].length&&hN(c,i[l][u])}),t?rN(t,n,o):iv};function gN(e,t){const r={...e};for(const n in t){const i=t[n],o=typeof i;n in W1?(i===null||i&&(o==="string"||o==="number"))&&(r[n]=i):o===typeof r[n]&&(r[n]=n==="rotate"?i%4:i)}return r}const mN=/[\s,]+/;function vN(e,t){t.split(mN).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function yN(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(i){for(;i<0;)i+=4;return i%4}if(r===""){const i=parseInt(e);return isNaN(i)?0:n(i)}else if(r!==e){let i=0;switch(r){case"%":i=25;break;case"deg":i=90}if(i){let o=parseFloat(e.slice(0,e.length-r.length));return isNaN(o)?0:(o=o/i,o%1===0?n(o):0)}}return t}function bN(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function xN(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function wN(e){return"data:image/svg+xml,"+xN(e)}function CN(e){return'url("'+wN(e)+'")'}let Zo;function SN(){try{Zo=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{Zo=null}}function TN(e){return Zo===void 0&&SN(),Zo?Zo.createHTML(e):e}const ov={...V1,inline:!1},EN={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ON={display:"inline-block"},xf={backgroundColor:"currentColor"},av={backgroundColor:"transparent"},sv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},lv={WebkitMask:xf,mask:xf,background:av};for(const e in lv){const t=lv[e];for(const r in sv)t[e+r]=sv[r]}const PN={...ov,inline:!0};function cv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const MN=(e,t,r,n)=>{const i=r?PN:ov,o=gN(i,t),a=t.mode||"svg",s={},c=t.style||{},l={...a==="svg"?EN:{},ref:n};for(let x in t){const b=t[x];if(b!==void 0)switch(x){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":o[x]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&vN(o,b);break;case"color":s.color=b;break;case"rotate":typeof b=="string"?o[x]=yN(b):typeof b=="number"&&(o[x]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete l["aria-hidden"];break;default:i[x]===void 0&&(l[x]=b)}}const u=zR(e,o),f=u.attributes;if(o.inline&&(s.verticalAlign="-0.125em"),a==="svg"){l.style={...s,...c},Object.assign(l,f);let x=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),l.dangerouslySetInnerHTML={__html:TN(UR(u.body,b?()=>b+"ID"+x++:"iconifyReact"))},p.createElement("svg",l)}const{body:d,width:h,height:g}=e,m=a==="mask"||(a==="bg"?!1:d.indexOf("currentColor")!==-1),y=bN(d,{...f,width:h+"",height:g+""});return l.style={...s,"--svg":CN(y),width:cv(f.width),height:cv(f.height),...ON,...m?xf:av,...c},p.createElement("span",l)};if(z1(!0),YR("",QR),typeof document<"u"&&typeof window<"u"){nv();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!FR(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const i=t[r];if(typeof i!="object"||!i||i.resources===void 0)continue;GR(r,i)||console.error(n)}catch{console.error(n)}}}}class uv extends p.Component{constructor(t){super(t),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(t){this.state.icon!==t&&this.setState({icon:t})}_checkIcon(t){const r=this.state,n=this.props.icon;if(typeof n=="object"&&n!==null&&typeof n.body=="string"){this._icon="",this._abortLoading(),(t||r.icon===null)&&this._setData({data:n});return}let i;if(typeof n!="string"||(i=js(n,!1,!0))===null){this._abortLoading(),this._setData(null);return}const o=IR(i);if(!o){(!this._loading||this._loading.name!==n)&&(this._abortLoading(),this._icon="",this._setData(null),o!==null&&(this._loading={name:n,abort:pN([i],this._checkIcon.bind(this,!1))}));return}if(this._icon!==n||r.icon===null){this._abortLoading(),this._icon=n;const a=["iconify"];i.prefix!==""&&a.push("iconify--"+i.prefix),i.provider!==""&&a.push("iconify--"+i.provider),this._setData({data:o,classes:a}),this.props.onLoad&&this.props.onLoad(n)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,r=this.state.icon;if(r===null)return t.children?t.children:p.createElement("span",{});let n=t;return r.classes&&(n={...t,className:(typeof t.className=="string"?t.className+" ":"")+r.classes.join(" ")}),MN({...of,...r.data},n,t._inline,t._ref)}}const _N=p.forwardRef(function(t,r){const n={...t,_ref:r,_inline:!1};return p.createElement(uv,n)});p.forwardRef(function(t,r){const n={...t,_ref:r,_inline:!0};return p.createElement(uv,n)});const It=p.forwardRef(({icon:e,width:t=20,sx:r,...n},i)=>v.jsx($.Box,{ref:i,component:_N,icon:e,sx:{width:t,height:t,...r},...n}));It.displayName="Iconify";const fv=({value:e,onChangeColor:t,...r})=>{const[n,i]=p.useState(null),o=s=>{i(s.currentTarget)},a=()=>i(null);return v.jsxs(v.Fragment,{children:[v.jsx($.TextField,{...r,value:e,onChange:s=>t(s.target.value),InputProps:{inputProps:{...r.inputProps,maxLength:7},startAdornment:v.jsx($.InputAdornment,{position:"start",sx:{ml:2},children:v.jsx($.IconButton,{edge:"start","aria-label":"Escolher cor",onClick:o,children:v.jsx(It,{icon:"bi:square-fill",color:e,width:25,height:23})})})}}),v.jsx($.Popover,{open:!!n,anchorEl:n,onClose:a,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"center",horizontal:"center"},slotProps:{paper:{style:{borderRadius:8}}},children:v.jsx(tR,{color:e,onChange:s=>t(s.hex),styles:{default:{picker:{fontFamily:"inherit",boxShadow:"none"}}},disableAlpha:!0})})]})};function Ne(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function zr(e){"@babel/helpers - typeof";return zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zr(e)}function H(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function U(e){H(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||zr(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function wf(e,t){H(2,arguments);var r=U(e),n=Ne(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function Bs(e,t){H(2,arguments);var r=U(e).getTime(),n=Ne(t);return new Date(r+n)}function $N(e,t){H(2,arguments);var r=Ne(t);return Bs(e,r*1e3)}var AN=6e4;function kN(e,t){H(2,arguments);var r=Ne(t);return Bs(e,r*AN)}var DN=36e5;function jN(e,t){H(2,arguments);var r=Ne(t);return Bs(e,r*DN)}function IN(e,t){H(2,arguments);var r=Ne(t),n=r*7;return wf(e,n)}function zs(e,t){H(2,arguments);var r=U(e),n=Ne(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),o=new Date(r.getTime());o.setMonth(r.getMonth()+n+1,0);var a=o.getDate();return i>=a?o:(r.setFullYear(o.getFullYear(),o.getMonth(),i),r)}function dv(e,t){H(2,arguments);var r=Ne(t);return zs(e,r*12)}function LN(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getFullYear()-n.getFullYear()}function ki(e,t){H(2,arguments);var r=U(e),n=U(t),i=r.getTime()-n.getTime();return i<0?-1:i>0?1:i}function FN(e,t){H(2,arguments);var r=U(e),n=U(t),i=ki(r,n),o=Math.abs(LN(r,n));r.setFullYear(1584),n.setFullYear(1584);var a=ki(r,n)===-i,s=i*(o-Number(a));return s===0?0:s}function RN(e,t){H(2,arguments);var r=U(e),n=U(t),i=r.getFullYear()-n.getFullYear(),o=r.getMonth()-n.getMonth();return i*12+o}function Cf(e){H(1,arguments);var t=U(e);return t.setHours(23,59,59,999),t}function Sf(e){H(1,arguments);var t=U(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function NN(e){H(1,arguments);var t=U(e);return Cf(t).getTime()===Sf(t).getTime()}function Tf(e,t){H(2,arguments);var r=U(e),n=U(t),i=ki(r,n),o=Math.abs(RN(r,n)),a;if(o<1)a=0;else{r.getMonth()===1&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-i*o);var s=ki(r,n)===-i;NN(U(e))&&o===1&&ki(e,n)===1&&(s=!1),a=i*(o-Number(s))}return a===0?0:a}var hv={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},BN="trunc";function Qo(e){return e?hv[e]:hv[BN]}function zN(e,t,r){H(2,arguments);var n=Tf(e,t)/3;return Qo(r==null?void 0:r.roundingMethod)(n)}function Di(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function ji(e){H(1,arguments);var t=U(e);return t.setHours(0,0,0,0),t}var WN=864e5;function VN(e,t){H(2,arguments);var r=ji(e),n=ji(t),i=r.getTime()-Di(r),o=n.getTime()-Di(n);return Math.round((i-o)/WN)}function pv(e,t){var r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}function gv(e,t){H(2,arguments);var r=U(e),n=U(t),i=pv(r,n),o=Math.abs(VN(r,n));r.setDate(r.getDate()-i*o);var a=+(pv(r,n)===-i),s=i*(o-a);return s===0?0:s}function HN(e,t,r){H(2,arguments);var n=gv(e,t)/7;return Qo(r==null?void 0:r.roundingMethod)(n)}var Ws=6e4,Vs=36e5,UN=1e3;function Hs(e,t){return H(2,arguments),U(e).getTime()-U(t).getTime()}function YN(e,t,r){H(2,arguments);var n=Hs(e,t)/Vs;return Qo(r==null?void 0:r.roundingMethod)(n)}function GN(e,t,r){H(2,arguments);var n=Hs(e,t)/Ws;return Qo(r==null?void 0:r.roundingMethod)(n)}function mv(e,t,r){H(2,arguments);var n=Hs(e,t)/1e3;return Qo(r==null?void 0:r.roundingMethod)(n)}function qN(e,t){var r;H(1,arguments);var n=e||{},i=U(n.start),o=U(n.end),a=o.getTime();if(!(i.getTime()<=a))throw new RangeError("Invalid interval");var s=[],c=i;c.setHours(0,0,0,0);var l=Number((r=t==null?void 0:t.step)!==null&&r!==void 0?r:1);if(l<1||isNaN(l))throw new RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=a;)s.push(U(c)),c.setDate(c.getDate()+l),c.setHours(0,0,0,0);return s}var XN={};function pr(){return XN}function Ef(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=U(e),h=d.getDay(),g=(h<f?-7:0)+6-(h-f);return d.setDate(d.getDate()+g),d.setHours(23,59,59,999),d}function Of(e){H(1,arguments);var t=U(e),r=t.getFullYear();return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}function KN(e){return H(1,arguments),e instanceof Date||zr(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function vv(e){if(H(1,arguments),!KN(e)&&typeof e!="number")return!1;var t=U(e);return!isNaN(Number(t))}function yv(e,t){H(2,arguments);var r=Ne(t);return Bs(e,-r)}var ZN=864e5;function QN(e){H(1,arguments);var t=U(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/ZN)+1}function Ii(e){H(1,arguments);var t=1,r=U(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function bv(e){H(1,arguments);var t=U(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Ii(n),o=new Date(0);o.setUTCFullYear(r,0,4),o.setUTCHours(0,0,0,0);var a=Ii(o);return t.getTime()>=i.getTime()?r+1:t.getTime()>=a.getTime()?r:r-1}function JN(e){H(1,arguments);var t=bv(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Ii(r);return n}var eB=6048e5;function xv(e){H(1,arguments);var t=U(e),r=Ii(t).getTime()-JN(t).getTime();return Math.round(r/eB)+1}function An(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=U(e),h=d.getUTCDay(),g=(h<f?7:0)+h-f;return d.setUTCDate(d.getUTCDate()-g),d.setUTCHours(0,0,0,0),d}function Pf(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=U(e),f=u.getUTCFullYear(),d=pr(),h=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(f+1,0,h),g.setUTCHours(0,0,0,0);var m=An(g,t),y=new Date(0);y.setUTCFullYear(f,0,h),y.setUTCHours(0,0,0,0);var x=An(y,t);return u.getTime()>=m.getTime()?f+1:u.getTime()>=x.getTime()?f:f-1}function tB(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=Pf(e,t),h=new Date(0);h.setUTCFullYear(d,0,f),h.setUTCHours(0,0,0,0);var g=An(h,t);return g}var rB=6048e5;function wv(e,t){H(1,arguments);var r=U(e),n=An(r,t).getTime()-tB(r,t).getTime();return Math.round(n/rB)+1}function $e(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var nB={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return $e(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):$e(n+1,2)},d:function(t,r){return $e(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return $e(t.getUTCHours()%12||12,r.length)},H:function(t,r){return $e(t.getUTCHours(),r.length)},m:function(t,r){return $e(t.getUTCMinutes(),r.length)},s:function(t,r){return $e(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return $e(o,r.length)}};const nn=nB;var Li={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},iB={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return nn.y(t,r)},Y:function(t,r,n,i){var o=Pf(t,i),a=o>0?o:1-o;if(r==="YY"){var s=a%100;return $e(s,2)}return r==="Yo"?n.ordinalNumber(a,{unit:"year"}):$e(a,r.length)},R:function(t,r){var n=bv(t);return $e(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return $e(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return $e(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return $e(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return nn.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return $e(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var o=wv(t,i);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):$e(o,r.length)},I:function(t,r,n){var i=xv(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):$e(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):nn.d(t,r)},D:function(t,r,n){var i=QN(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):$e(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(a);case"ee":return $e(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var o=t.getUTCDay(),a=(o-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(a);case"cc":return $e(a,r.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),o=i===0?7:i;switch(r){case"i":return String(o);case"ii":return $e(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),o;switch(i===12?o=Li.noon:i===0?o=Li.midnight:o=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),o;switch(i>=17?o=Li.evening:i>=12?o=Li.afternoon:i>=4?o=Li.morning:o=Li.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return nn.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):nn.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):$e(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):$e(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):nn.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):nn.s(t,r)},S:function(t,r){return nn.S(t,r)},X:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();if(a===0)return"Z";switch(r){case"X":return Sv(a);case"XXXX":case"XX":return kn(a);case"XXXXX":case"XXX":default:return kn(a,":")}},x:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(r){case"x":return Sv(a);case"xxxx":case"xx":return kn(a);case"xxxxx":case"xxx":default:return kn(a,":")}},O:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Cv(a,":");case"OOOO":default:return"GMT"+kn(a,":")}},z:function(t,r,n,i){var o=i._originalDate||t,a=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Cv(a,":");case"zzzz":default:return"GMT"+kn(a,":")}},t:function(t,r,n,i){var o=i._originalDate||t,a=Math.floor(o.getTime()/1e3);return $e(a,r.length)},T:function(t,r,n,i){var o=i._originalDate||t,a=o.getTime();return $e(a,r.length)}};function Cv(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;if(o===0)return r+String(i);var a=t||"";return r+String(i)+a+$e(o,2)}function Sv(e,t){if(e%60===0){var r=e>0?"-":"+";return r+$e(Math.abs(e)/60,2)}return kn(e,t)}function kn(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),o=$e(Math.floor(i/60),2),a=$e(i%60,2);return n+o+r+a}const oB=iB;var Tv=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},Ev=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},aB=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return Tv(t,r);var a;switch(i){case"P":a=r.dateTime({width:"short"});break;case"PP":a=r.dateTime({width:"medium"});break;case"PPP":a=r.dateTime({width:"long"});break;case"PPPP":default:a=r.dateTime({width:"full"});break}return a.replace("{{date}}",Tv(i,r)).replace("{{time}}",Ev(o,r))},sB={p:Ev,P:aB};const Mf=sB;var lB=["D","DD"],cB=["YY","YYYY"];function Ov(e){return lB.indexOf(e)!==-1}function Pv(e){return cB.indexOf(e)!==-1}function Us(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var uB={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},fB=function(t,r,n){var i,o=uB[t];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};const dB=fB;function Fi(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var hB={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},pB={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},gB={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},mB={date:Fi({formats:hB,defaultWidth:"full"}),time:Fi({formats:pB,defaultWidth:"full"}),dateTime:Fi({formats:gB,defaultWidth:"full"})};const vB=mB;var yB={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},bB=function(t,r,n,i){return yB[t]};const xB=bB;function Tr(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,a=r!=null&&r.width?String(r.width):o;i=e.formattingValues[a]||e.formattingValues[o]}else{var s=e.defaultWidth,c=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[c]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var wB={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},CB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},SB={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},TB={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},EB={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},OB={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},PB=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},MB={ordinalNumber:PB,era:Tr({values:wB,defaultWidth:"wide"}),quarter:Tr({values:CB,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Tr({values:SB,defaultWidth:"wide"}),day:Tr({values:TB,defaultWidth:"wide"}),dayPeriod:Tr({values:EB,defaultWidth:"wide",formattingValues:OB,defaultFormattingWidth:"wide"})};const _B=MB;function Er(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var a=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?AB(s,function(f){return f.test(a)}):$B(s,function(f){return f.test(a)}),l;l=e.valueCallback?e.valueCallback(c):c,l=r.valueCallback?r.valueCallback(l):l;var u=t.slice(a.length);return{value:l,rest:u}}}function $B(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function AB(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function Mv(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];a=r.valueCallback?r.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var kB=/^(\d+)(th|st|nd|rd)?/i,DB=/\d+/i,jB={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},IB={any:[/^b/i,/^(a|c)/i]},LB={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},FB={any:[/1/i,/2/i,/3/i,/4/i]},RB={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},NB={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},BB={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},zB={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},WB={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},VB={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},HB={ordinalNumber:Mv({matchPattern:kB,parsePattern:DB,valueCallback:function(t){return parseInt(t,10)}}),era:Er({matchPatterns:jB,defaultMatchWidth:"wide",parsePatterns:IB,defaultParseWidth:"any"}),quarter:Er({matchPatterns:LB,defaultMatchWidth:"wide",parsePatterns:FB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Er({matchPatterns:RB,defaultMatchWidth:"wide",parsePatterns:NB,defaultParseWidth:"any"}),day:Er({matchPatterns:BB,defaultMatchWidth:"wide",parsePatterns:zB,defaultParseWidth:"any"}),dayPeriod:Er({matchPatterns:WB,defaultMatchWidth:"any",parsePatterns:VB,defaultParseWidth:"any"})},UB={code:"en-US",formatDistance:dB,formatLong:vB,formatRelative:xB,localize:_B,match:HB,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Ys=UB;var YB=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,GB=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qB=/^'([^]*?)'?$/,XB=/''/g,KB=/[a-zA-Z]/;function _f(e,t,r){var n,i,o,a,s,c,l,u,f,d,h,g,m,y,x,b,S,P;H(2,arguments);var w=String(t),E=pr(),O=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:E.locale)!==null&&n!==void 0?n:Ys,M=Ne((o=(a=(s=(c=r==null?void 0:r.firstWeekContainsDate)!==null&&c!==void 0?c:r==null||(l=r.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&s!==void 0?s:E.firstWeekContainsDate)!==null&&a!==void 0?a:(f=E.locale)===null||f===void 0||(d=f.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(M>=1&&M<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=Ne((h=(g=(m=(y=r==null?void 0:r.weekStartsOn)!==null&&y!==void 0?y:r==null||(x=r.locale)===null||x===void 0||(b=x.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&m!==void 0?m:E.weekStartsOn)!==null&&g!==void 0?g:(S=E.locale)===null||S===void 0||(P=S.options)===null||P===void 0?void 0:P.weekStartsOn)!==null&&h!==void 0?h:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!O.localize)throw new RangeError("locale must contain localize property");if(!O.formatLong)throw new RangeError("locale must contain formatLong property");var W=U(e);if(!vv(W))throw new RangeError("Invalid time value");var de=Di(W),ve=yv(W,de),ce={firstWeekContainsDate:M,weekStartsOn:L,locale:O,_originalDate:W},q=w.match(GB).map(function(Y){var ge=Y[0];if(ge==="p"||ge==="P"){var Te=Mf[ge];return Te(Y,O.formatLong)}return Y}).join("").match(YB).map(function(Y){if(Y==="''")return"'";var ge=Y[0];if(ge==="'")return ZB(Y);var Te=oB[ge];if(Te)return!(r!=null&&r.useAdditionalWeekYearTokens)&&Pv(Y)&&Us(Y,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Ov(Y)&&Us(Y,t,String(e)),Te(ve,Y,O.localize,ce);if(ge.match(KB))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ge+"`");return Y}).join("");return q}function ZB(e){var t=e.match(qB);return t?t[1].replace(XB,"'"):e}function QB(e){H(1,arguments);var t=U(e),r=t.getDate();return r}function _v(e){H(1,arguments);var t=U(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}function JB(e){H(1,arguments);var t=U(e),r=t.getHours();return r}function ez(e){H(1,arguments);var t=U(e),r=t.getMinutes();return r}function tz(e){H(1,arguments);var t=U(e),r=t.getMonth();return r}function rz(e){H(1,arguments);var t=U(e),r=t.getSeconds();return r}function nz(e){H(1,arguments);var t=U(e),r=t.getMilliseconds();return r}function Dn(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:u.weekStartsOn)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=U(e),h=d.getDay(),g=(h<f?7:0)+h-f;return d.setDate(d.getDate()-g),d.setHours(0,0,0,0),d}function iz(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=U(e),f=u.getFullYear(),d=pr(),h=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setFullYear(f+1,0,h),g.setHours(0,0,0,0);var m=Dn(g,t),y=new Date(0);y.setFullYear(f,0,h),y.setHours(0,0,0,0);var x=Dn(y,t);return u.getTime()>=m.getTime()?f+1:u.getTime()>=x.getTime()?f:f-1}function oz(e,t){var r,n,i,o,a,s,c,l;H(1,arguments);var u=pr(),f=Ne((r=(n=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&n!==void 0?n:(c=u.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=iz(e,t),h=new Date(0);h.setFullYear(d,0,f),h.setHours(0,0,0,0);var g=Dn(h,t);return g}var az=6048e5;function sz(e,t){H(1,arguments);var r=U(e),n=Dn(r,t).getTime()-oz(r,t).getTime();return Math.round(n/az)+1}function lz(e){return H(1,arguments),U(e).getFullYear()}function $f(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getTime()>n.getTime()}function Jo(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getTime()<n.getTime()}function cz(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getTime()===n.getTime()}function uz(e,t){H(2,arguments);var r=ji(e),n=ji(t);return r.getTime()===n.getTime()}function fz(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getFullYear()===n.getFullYear()}function dz(e,t){H(2,arguments);var r=U(e),n=U(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function $v(e){H(1,arguments);var t=U(e);return t.setMinutes(0,0,0),t}function hz(e,t){H(2,arguments);var r=$v(e),n=$v(t);return r.getTime()===n.getTime()}function Av(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function pz(e,t){if(e){if(typeof e=="string")return Av(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Av(e,t)}}function kv(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=pz(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
132
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,a=!1,s;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return o=l.done,l},e:function(l){a=!0,s=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(a)throw s}}}}function Af(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function oe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kf(e,t){return kf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},kf(e,t)}function Be(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kf(e,t)}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function gz(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function mz(e,t){if(t&&(zr(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(e)}function ze(e){var t=gz();return function(){var n=Gs(e),i;if(t){var o=Gs(this).constructor;i=Reflect.construct(n,arguments,o)}else i=n.apply(this,arguments);return mz(this,i)}}function je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vz(e,t){if(zr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(zr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Dv(e){var t=vz(e,"string");return zr(t)==="symbol"?t:String(t)}function jv(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Dv(n.key),n)}}function Ie(e,t,r){return t&&jv(e.prototype,t),r&&jv(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ee(e,t,r){return t=Dv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yz=10,Iv=function(){function e(){je(this,e),ee(this,"priority",void 0),ee(this,"subPriority",0)}return Ie(e,[{key:"validate",value:function(r,n){return!0}}]),e}(),bz=function(e){Be(r,e);var t=ze(r);function r(n,i,o,a,s){var c;return je(this,r),c=t.call(this),c.value=n,c.validateValue=i,c.setValue=o,c.priority=a,s&&(c.subPriority=s),c}return Ie(r,[{key:"validate",value:function(i,o){return this.validateValue(i,this.value,o)}},{key:"set",value:function(i,o,a){return this.setValue(i,o,this.value,a)}}]),r}(Iv),xz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",yz),ee(oe(n),"subPriority",-1),n}return Ie(r,[{key:"set",value:function(i,o){if(o.timestampIsSet)return i;var a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}}]),r}(Iv),Ue=function(){function e(){je(this,e),ee(this,"incompatibleTokens",void 0),ee(this,"priority",void 0),ee(this,"subPriority",void 0)}return Ie(e,[{key:"run",value:function(r,n,i,o){var a=this.parse(r,n,i,o);return a?{setter:new bz(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(r,n,i){return!0}}]),e}(),wz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",140),ee(oe(n),"incompatibleTokens",["R","u","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})||a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"})}}},{key:"set",value:function(i,o,a){return o.era=a,i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),xt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Or={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function wt(e,t){return e&&{value:t(e.value),rest:e.rest}}function dt(e,t){var r=t.match(e);return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Pr(e,t){var r=t.match(e);if(!r)return null;if(r[0]==="Z")return{value:0,rest:t.slice(1)};var n=r[1]==="+"?1:-1,i=r[2]?parseInt(r[2],10):0,o=r[3]?parseInt(r[3],10):0,a=r[5]?parseInt(r[5],10):0;return{value:n*(i*Vs+o*Ws+a*UN),rest:t.slice(r[0].length)}}function Lv(e){return dt(xt.anyDigitsSigned,e)}function yt(e,t){switch(e){case 1:return dt(xt.singleDigit,t);case 2:return dt(xt.twoDigits,t);case 3:return dt(xt.threeDigits,t);case 4:return dt(xt.fourDigits,t);default:return dt(new RegExp("^\\d{1,"+e+"}"),t)}}function qs(e,t){switch(e){case 1:return dt(xt.singleDigitSigned,t);case 2:return dt(xt.twoDigitsSigned,t);case 3:return dt(xt.threeDigitsSigned,t);case 4:return dt(xt.fourDigitsSigned,t);default:return dt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Df(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Fv(e,t){var r=t>0,n=r?t:1-t,i;if(n<=50)i=e||100;else{var o=n+50,a=Math.floor(o/100)*100,s=e>=o%100;i=e+a-(s?100:0)}return r?i:1-i}function Rv(e){return e%400===0||e%4===0&&e%100!==0}var Cz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return{year:l,isTwoDigitYear:o==="yy"}};switch(o){case"y":return wt(yt(4,i),s);case"yo":return wt(a.ordinalNumber(i,{unit:"year"}),s);default:return wt(yt(o.length,i),s)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a){var s=i.getUTCFullYear();if(a.isTwoDigitYear){var c=Fv(a.year,s);return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}var l=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Sz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return{year:l,isTwoDigitYear:o==="YY"}};switch(o){case"Y":return wt(yt(4,i),s);case"Yo":return wt(a.ordinalNumber(i,{unit:"year"}),s);default:return wt(yt(o.length,i),s)}}},{key:"validate",value:function(i,o){return o.isTwoDigitYear||o.year>0}},{key:"set",value:function(i,o,a,s){var c=Pf(i,s);if(a.isTwoDigitYear){var l=Fv(a.year,c);return i.setUTCFullYear(l,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),An(i,s)}var u=!("era"in o)||o.era===1?a.year:1-a.year;return i.setUTCFullYear(u,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),An(i,s)}}]),r}(Ue),Tz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o){return qs(o==="R"?4:o.length,i)}},{key:"set",value:function(i,o,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),Ii(s)}}]),r}(Ue),Ez=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",130),ee(oe(n),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o){return qs(o==="u"?4:o.length,i)}},{key:"set",value:function(i,o,a){return i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Oz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",120),ee(oe(n),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"Q":case"QQ":return yt(o.length,i);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})||a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Pz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",120),ee(oe(n),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"q":case"qq":return yt(o.length,i);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})||a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=1&&o<=4}},{key:"set",value:function(i,o,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Mz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ee(oe(n),"priority",110),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return l-1};switch(o){case"M":return wt(dt(xt.month,i),s);case"MM":return wt(yt(2,i),s);case"Mo":return wt(a.ordinalNumber(i,{unit:"month"}),s);case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})||a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),_z=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",110),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return l-1};switch(o){case"L":return wt(dt(xt.month,i),s);case"LL":return wt(yt(2,i),s);case"Lo":return wt(a.ordinalNumber(i,{unit:"month"}),s);case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})||a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),r}(Ue);function $z(e,t,r){H(2,arguments);var n=U(e),i=Ne(t),o=wv(n,r)-i;return n.setUTCDate(n.getUTCDate()-o*7),n}var Az=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",100),ee(oe(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"w":return dt(xt.week,i);case"wo":return a.ordinalNumber(i,{unit:"week"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a,s){return An($z(i,a,s),s)}}]),r}(Ue);function kz(e,t){H(2,arguments);var r=U(e),n=Ne(t),i=xv(r)-n;return r.setUTCDate(r.getUTCDate()-i*7),r}var Dz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",100),ee(oe(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"I":return dt(xt.week,i);case"Io":return a.ordinalNumber(i,{unit:"week"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=53}},{key:"set",value:function(i,o,a){return Ii(kz(i,a))}}]),r}(Ue),jz=[31,28,31,30,31,30,31,31,30,31,30,31],Iz=[31,29,31,30,31,30,31,31,30,31,30,31],Lz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"subPriority",1),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"d":return dt(xt.date,i);case"do":return a.ordinalNumber(i,{unit:"date"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),s=Rv(a),c=i.getUTCMonth();return s?o>=1&&o<=Iz[c]:o>=1&&o<=jz[c]}},{key:"set",value:function(i,o,a){return i.setUTCDate(a),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Fz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"subpriority",1),ee(oe(n),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"D":case"DD":return dt(xt.dayOfYear,i);case"Do":return a.ordinalNumber(i,{unit:"date"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){var a=i.getUTCFullYear(),s=Rv(a);return s?o>=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,a){return i.setUTCMonth(0,a),i.setUTCHours(0,0,0,0),i}}]),r}(Ue);function jf(e,t,r){var n,i,o,a,s,c,l,u;H(2,arguments);var f=pr(),d=Ne((n=(i=(o=(a=r==null?void 0:r.weekStartsOn)!==null&&a!==void 0?a:r==null||(s=r.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&o!==void 0?o:f.weekStartsOn)!==null&&i!==void 0?i:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=U(e),g=Ne(t),m=h.getUTCDay(),y=g%7,x=(y+7)%7,b=(x<d?7:0)+g-m;return h.setUTCDate(h.getUTCDate()+b),h}var Rz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["D","i","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jf(i,a,s),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Nz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a,s){var c=function(u){var f=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+f};switch(o){case"e":case"ee":return wt(yt(o.length,i),c);case"eo":return wt(a.ordinalNumber(i,{unit:"day"}),c);case"eee":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jf(i,a,s),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Bz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a,s){var c=function(u){var f=Math.floor((u-1)/7)*7;return(u+s.weekStartsOn+6)%7+f};switch(o){case"c":case"cc":return wt(yt(o.length,i),c);case"co":return wt(a.ordinalNumber(i,{unit:"day"}),c);case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})||a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,o){return o>=0&&o<=6}},{key:"set",value:function(i,o,a,s){return i=jf(i,a,s),i.setUTCHours(0,0,0,0),i}}]),r}(Ue);function zz(e,t){H(2,arguments);var r=Ne(t);r%7===0&&(r=r-7);var n=1,i=U(e),o=i.getUTCDay(),a=r%7,s=(a+7)%7,c=(s<n?7:0)+r-o;return i.setUTCDate(i.getUTCDate()+c),i}var Wz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",90),ee(oe(n),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){var s=function(l){return l===0?7:l};switch(o){case"i":case"ii":return yt(o.length,i);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return wt(a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiii":return wt(a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiiii":return wt(a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiii":default:return wt(a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(i,o){return o>=1&&o<=7}},{key:"set",value:function(i,o,a){return i=zz(i,a),i.setUTCHours(0,0,0,0),i}}]),r}(Ue),Vz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",80),ee(oe(n),"incompatibleTokens",["b","B","H","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"a":case"aa":case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(Df(a),0,0,0),i}}]),r}(Ue),Hz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",80),ee(oe(n),"incompatibleTokens",["a","B","H","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"b":case"bb":case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(Df(a),0,0,0),i}}]),r}(Ue),Uz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",80),ee(oe(n),"incompatibleTokens",["a","b","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,o,a){return i.setUTCHours(Df(a),0,0,0),i}}]),r}(Ue),Yz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["H","K","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"h":return dt(xt.hour12h,i);case"ho":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=12}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):!s&&a===12?i.setUTCHours(0,0,0,0):i.setUTCHours(a,0,0,0),i}}]),r}(Ue),Gz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["a","b","h","K","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"H":return dt(xt.hour23h,i);case"Ho":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=23}},{key:"set",value:function(i,o,a){return i.setUTCHours(a,0,0,0),i}}]),r}(Ue),qz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["h","H","k","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"K":return dt(xt.hour11h,i);case"Ko":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=11}},{key:"set",value:function(i,o,a){var s=i.getUTCHours()>=12;return s&&a<12?i.setUTCHours(a+12,0,0,0):i.setUTCHours(a,0,0,0),i}}]),r}(Ue),Xz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",70),ee(oe(n),"incompatibleTokens",["a","b","h","H","K","t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"k":return dt(xt.hour24h,i);case"ko":return a.ordinalNumber(i,{unit:"hour"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=1&&o<=24}},{key:"set",value:function(i,o,a){var s=a<=24?a%24:a;return i.setUTCHours(s,0,0,0),i}}]),r}(Ue),Kz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",60),ee(oe(n),"incompatibleTokens",["t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"m":return dt(xt.minute,i);case"mo":return a.ordinalNumber(i,{unit:"minute"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCMinutes(a,0,0),i}}]),r}(Ue),Zz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",50),ee(oe(n),"incompatibleTokens",["t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o,a){switch(o){case"s":return dt(xt.second,i);case"so":return a.ordinalNumber(i,{unit:"second"});default:return yt(o.length,i)}}},{key:"validate",value:function(i,o){return o>=0&&o<=59}},{key:"set",value:function(i,o,a){return i.setUTCSeconds(a,0),i}}]),r}(Ue),Qz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",30),ee(oe(n),"incompatibleTokens",["t","T"]),n}return Ie(r,[{key:"parse",value:function(i,o){var a=function(c){return Math.floor(c*Math.pow(10,-o.length+3))};return wt(yt(o.length,i),a)}},{key:"set",value:function(i,o,a){return i.setUTCMilliseconds(a),i}}]),r}(Ue),Jz=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",10),ee(oe(n),"incompatibleTokens",["t","T","x"]),n}return Ie(r,[{key:"parse",value:function(i,o){switch(o){case"X":return Pr(Or.basicOptionalMinutes,i);case"XX":return Pr(Or.basic,i);case"XXXX":return Pr(Or.basicOptionalSeconds,i);case"XXXXX":return Pr(Or.extendedOptionalSeconds,i);case"XXX":default:return Pr(Or.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),r}(Ue),eW=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",10),ee(oe(n),"incompatibleTokens",["t","T","X"]),n}return Ie(r,[{key:"parse",value:function(i,o){switch(o){case"x":return Pr(Or.basicOptionalMinutes,i);case"xx":return Pr(Or.basic,i);case"xxxx":return Pr(Or.basicOptionalSeconds,i);case"xxxxx":return Pr(Or.extendedOptionalSeconds,i);case"xxx":default:return Pr(Or.extended,i)}}},{key:"set",value:function(i,o,a){return o.timestampIsSet?i:new Date(i.getTime()-a)}}]),r}(Ue),tW=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",40),ee(oe(n),"incompatibleTokens","*"),n}return Ie(r,[{key:"parse",value:function(i){return Lv(i)}},{key:"set",value:function(i,o,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),r}(Ue),rW=function(e){Be(r,e);var t=ze(r);function r(){var n;je(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=t.call.apply(t,[this].concat(o)),ee(oe(n),"priority",20),ee(oe(n),"incompatibleTokens","*"),n}return Ie(r,[{key:"parse",value:function(i){return Lv(i)}},{key:"set",value:function(i,o,a){return[new Date(a),{timestampIsSet:!0}]}}]),r}(Ue),nW={G:new wz,y:new Cz,Y:new Sz,R:new Tz,u:new Ez,Q:new Oz,q:new Pz,M:new Mz,L:new _z,w:new Az,I:new Dz,d:new Lz,D:new Fz,E:new Rz,e:new Nz,c:new Bz,i:new Wz,a:new Vz,b:new Hz,B:new Uz,h:new Yz,H:new Gz,K:new qz,k:new Xz,m:new Kz,s:new Zz,S:new Qz,X:new Jz,x:new eW,t:new tW,T:new rW},iW=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,oW=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,aW=/^'([^]*?)'?$/,sW=/''/g,lW=/\S/,cW=/[a-zA-Z]/;function uW(e,t,r,n){var i,o,a,s,c,l,u,f,d,h,g,m,y,x,b,S,P,w;H(3,arguments);var E=String(e),O=String(t),M=pr(),L=(i=(o=n==null?void 0:n.locale)!==null&&o!==void 0?o:M.locale)!==null&&i!==void 0?i:Ys;if(!L.match)throw new RangeError("locale must contain match property");var W=Ne((a=(s=(c=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(u=n.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&c!==void 0?c:M.firstWeekContainsDate)!==null&&s!==void 0?s:(d=M.locale)===null||d===void 0||(h=d.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var de=Ne((g=(m=(y=(x=n==null?void 0:n.weekStartsOn)!==null&&x!==void 0?x:n==null||(b=n.locale)===null||b===void 0||(S=b.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&y!==void 0?y:M.weekStartsOn)!==null&&m!==void 0?m:(P=M.locale)===null||P===void 0||(w=P.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&g!==void 0?g:0);if(!(de>=0&&de<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(O==="")return E===""?U(r):new Date(NaN);var ve={firstWeekContainsDate:W,weekStartsOn:de,locale:L},ce=[new xz],q=O.match(oW).map(function(K){var Q=K[0];if(Q in Mf){var te=Mf[Q];return te(K,L.formatLong)}return K}).join("").match(iW),Y=[],ge=kv(q),Te;try{var We=function(){var Q=Te.value;!(n!=null&&n.useAdditionalWeekYearTokens)&&Pv(Q)&&Us(Q,O,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Ov(Q)&&Us(Q,O,e);var te=Q[0],ye=nW[te];if(ye){var F=ye.incompatibleTokens;if(Array.isArray(F)){var Le=Y.find(function(ut){return F.includes(ut.token)||ut.token===te});if(Le)throw new RangeError("The format string mustn't contain `".concat(Le.fullToken,"` and `").concat(Q,"` at the same time"))}else if(ye.incompatibleTokens==="*"&&Y.length>0)throw new RangeError("The format string mustn't contain `".concat(Q,"` and any other token at the same time"));Y.push({token:te,fullToken:Q});var ae=ye.run(E,Q,L.match,ve);if(!ae)return{v:new Date(NaN)};ce.push(ae.setter),E=ae.rest}else{if(te.match(cW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(Q==="''"?Q="'":te==="'"&&(Q=fW(Q)),E.indexOf(Q)===0)E=E.slice(Q.length);else return{v:new Date(NaN)}}};for(ge.s();!(Te=ge.n()).done;){var Me=We();if(zr(Me)==="object")return Me.v}}catch(K){ge.e(K)}finally{ge.f()}if(E.length>0&&lW.test(E))return new Date(NaN);var D=ce.map(function(K){return K.priority}).sort(function(K,Q){return Q-K}).filter(function(K,Q,te){return te.indexOf(K)===Q}).map(function(K){return ce.filter(function(Q){return Q.priority===K}).sort(function(Q,te){return te.subPriority-Q.subPriority})}).map(function(K){return K[0]}),I=U(r);if(isNaN(I.getTime()))return new Date(NaN);var Z=yv(I,Di(I)),ne={},G=kv(D),ue;try{for(G.s();!(ue=G.n()).done;){var se=ue.value;if(!se.validate(Z,ve))return new Date(NaN);var pe=se.set(Z,ne,ve);Array.isArray(pe)?(Z=pe[0],Af(ne,pe[1])):Z=pe}}catch(K){G.e(K)}finally{G.f()}return Z}function fW(e){return e.match(aW)[1].replace(sW,"'")}function dW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setDate(n),r}function hW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setHours(n),r}function pW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setMinutes(n),r}function gW(e,t){H(2,arguments);var r=U(e),n=Ne(t),i=r.getFullYear(),o=r.getDate(),a=new Date(0);a.setFullYear(i,n,15),a.setHours(0,0,0,0);var s=_v(a);return r.setMonth(n,Math.min(o,s)),r}function mW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setSeconds(n),r}function vW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return r.setMilliseconds(n),r}function yW(e,t){H(2,arguments);var r=U(e),n=Ne(t);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(n),r)}function Nv(e){H(1,arguments);var t=U(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Xs(e){H(1,arguments);var t=U(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function bW(e,t){var r;H(1,arguments);var n=Ne((r=t==null?void 0:t.additionalDigits)!==null&&r!==void 0?r:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=SW(e),o;if(i.date){var a=TW(i.date,n);o=EW(a.restDateString,a.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var s=o.getTime(),c=0,l;if(i.time&&(c=OW(i.time),isNaN(c)))return new Date(NaN);if(i.timezone){if(l=PW(i.timezone),isNaN(l))return new Date(NaN)}else{var u=new Date(s+c),f=new Date(0);return f.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),f.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),f}return new Date(s+c+l)}var Ks={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},xW=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,wW=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,CW=/^([+-])(\d{2})(?::?(\d{2}))?$/;function SW(e){var t={},r=e.split(Ks.dateTimeDelimiter),n;if(r.length>2)return t;if(/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Ks.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Ks.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length))),n){var i=Ks.timezone.exec(n);i?(t.time=n.replace(i[1],""),t.timezone=i[1]):t.time=n}return t}function TW(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};var i=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((n[1]||n[2]).length)}}function EW(e,t){if(t===null)return new Date(NaN);var r=e.match(xW);if(!r)return new Date(NaN);var n=!!r[4],i=ea(r[1]),o=ea(r[2])-1,a=ea(r[3]),s=ea(r[4]),c=ea(r[5])-1;if(n)return kW(t,s,c)?MW(t,s,c):new Date(NaN);var l=new Date(0);return!$W(t,o,a)||!AW(t,i)?new Date(NaN):(l.setUTCFullYear(t,o,Math.max(i,a)),l)}function ea(e){return e?parseInt(e):1}function OW(e){var t=e.match(wW);if(!t)return NaN;var r=If(t[1]),n=If(t[2]),i=If(t[3]);return DW(r,n,i)?r*Vs+n*Ws+i*1e3:NaN}function If(e){return e&&parseFloat(e.replace(",","."))||0}function PW(e){if(e==="Z")return 0;var t=e.match(CW);if(!t)return 0;var r=t[1]==="+"?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return jW(n,i)?r*(n*Vs+i*Ws):NaN}function MW(e,t,r){var n=new Date(0);n.setUTCFullYear(e,0,4);var i=n.getUTCDay()||7,o=(t-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+o),n}var _W=[31,null,31,30,31,30,31,31,30,31,30,31];function Bv(e){return e%400===0||e%4===0&&e%100!==0}function $W(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(_W[t]||(Bv(e)?29:28))}function AW(e,t){return t>=1&&t<=(Bv(e)?366:365)}function kW(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}function DW(e,t,r){return e===24?t===0&&r===0:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}function jW(e,t){return t>=0&&t<=59}function IW(e,t){var r,n;H(1,arguments);var i=U(e);if(isNaN(i.getTime()))throw new RangeError("Invalid time value");var o=String((r=t==null?void 0:t.format)!==null&&r!==void 0?r:"extended"),a=String((n=t==null?void 0:t.representation)!==null&&n!==void 0?n:"complete");if(o!=="extended"&&o!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(a!=="date"&&a!=="time"&&a!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",c="",l=o==="extended"?"-":"",u=o==="extended"?":":"";if(a!=="time"){var f=$e(i.getDate(),2),d=$e(i.getMonth()+1,2),h=$e(i.getFullYear(),4);s="".concat(h).concat(l).concat(d).concat(l).concat(f)}if(a!=="date"){var g=i.getTimezoneOffset();if(g!==0){var m=Math.abs(g),y=$e(Math.floor(m/60),2),x=$e(m%60,2),b=g<0?"+":"-";c="".concat(b).concat(y,":").concat(x)}else c="Z";var S=$e(i.getHours(),2),P=$e(i.getMinutes(),2),w=$e(i.getSeconds(),2),E=s===""?"":"T",O=[S,P,w].join(u);s="".concat(s).concat(E).concat(O).concat(c)}return s}function LW(e,t){H(2,arguments);var r=U(e).getTime(),n=U(t.start).getTime(),i=U(t.end).getTime();if(!(n<=i))throw new RangeError("Invalid interval");return r>=n&&r<=i}var Lf={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(c,l){switch(c){case"P":return l.date({width:"short"});case"PP":return l.date({width:"medium"});case"PPP":return l.date({width:"long"});case"PPPP":default:return l.date({width:"full"})}},n=function(c,l){switch(c){case"p":return l.time({width:"short"});case"pp":return l.time({width:"medium"});case"ppp":return l.time({width:"long"});case"pppp":default:return l.time({width:"full"})}},i=function(c,l){var u=c.match(/(P+)(p+)?/)||[],f=u[1],d=u[2];if(!d)return r(c,l);var h;switch(f){case"P":h=l.dateTime({width:"short"});break;case"PP":h=l.dateTime({width:"medium"});break;case"PPP":h=l.dateTime({width:"long"});break;case"PPPP":default:h=l.dateTime({width:"full"});break}return h.replace("{{date}}",r(f,l)).replace("{{time}}",n(d,l))},o={p:n,P:i},a=o;t.default=a,e.exports=t.default})(Lf,Lf.exports);var FW=Lf.exports;const RW=dn(FW),NW={y:{sectionType:"year",contentType:"digit",maxLength:4},yy:"year",yyy:{sectionType:"year",contentType:"digit",maxLength:4},yyyy:"year",M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMMM:{sectionType:"month",contentType:"letter"},MMM:{sectionType:"month",contentType:"letter"},L:{sectionType:"month",contentType:"digit",maxLength:2},LL:"month",LLL:{sectionType:"month",contentType:"letter"},LLLL:{sectionType:"month",contentType:"letter"},d:{sectionType:"day",contentType:"digit",maxLength:2},dd:"day",do:{sectionType:"day",contentType:"digit-with-letter"},E:{sectionType:"weekDay",contentType:"letter"},EE:{sectionType:"weekDay",contentType:"letter"},EEE:{sectionType:"weekDay",contentType:"letter"},EEEE:{sectionType:"weekDay",contentType:"letter"},EEEEE:{sectionType:"weekDay",contentType:"letter"},i:{sectionType:"weekDay",contentType:"digit",maxLength:1},ii:"weekDay",iii:{sectionType:"weekDay",contentType:"letter"},iiii:{sectionType:"weekDay",contentType:"letter"},e:{sectionType:"weekDay",contentType:"digit",maxLength:1},ee:"weekDay",eee:{sectionType:"weekDay",contentType:"letter"},eeee:{sectionType:"weekDay",contentType:"letter"},eeeee:{sectionType:"weekDay",contentType:"letter"},eeeeee:{sectionType:"weekDay",contentType:"letter"},c:{sectionType:"weekDay",contentType:"digit",maxLength:1},cc:"weekDay",ccc:{sectionType:"weekDay",contentType:"letter"},cccc:{sectionType:"weekDay",contentType:"letter"},ccccc:{sectionType:"weekDay",contentType:"letter"},cccccc:{sectionType:"weekDay",contentType:"letter"},a:"meridiem",aa:"meridiem",aaa:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},BW={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",weekday:"EEEE",weekdayShort:"EEE",hours24h:"HH",hours12h:"hh",meridiem:"aa",minutes:"mm",seconds:"ss",fullDate:"PP",fullDateWithWeekday:"PPPP",keyboardDate:"P",shortDate:"MMM d",normalDate:"d MMMM",normalDateWithWeekday:"EEE, MMM d",monthAndYear:"LLLL yyyy",monthAndDate:"MMMM d",fullTime:"p",fullTime12h:"hh:mm aa",fullTime24h:"HH:mm",fullDateTime:"PP p",fullDateTime12h:"PP hh:mm aa",fullDateTime24h:"PP HH:mm",keyboardDateTime:"P p",keyboardDateTime12h:"P hh:mm aa",keyboardDateTime24h:"P HH:mm"};class zW{constructor({locale:t,formats:r}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib="date-fns",this.locale=void 0,this.formats=void 0,this.formatTokenMap=NW,this.escapedCharacters={start:"'",end:"'"},this.date=n=>typeof n>"u"?new Date:n===null?null:new Date(n),this.dateWithTimezone=n=>this.date(n),this.getTimezone=()=>"default",this.setTimezone=n=>n,this.toJsDate=n=>n,this.parseISO=n=>bW(n),this.toISO=n=>IW(n,{format:"extended"}),this.parse=(n,i)=>n===""?null:uW(n,i,new Date,{locale:this.locale}),this.getCurrentLocaleCode=()=>{var n;return((n=this.locale)==null?void 0:n.code)||"en-US"},this.is12HourCycleInCurrentLocale=()=>this.locale?/a/.test(this.locale.formatLong.time()):!0,this.expandFormat=n=>{const i=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return n.match(i).map(o=>{const a=o[0];if(a==="p"||a==="P"){const s=RW[a],c=this.locale||Ys;return s(o,c.formatLong,{})}return o}).join("")},this.getFormatHelperText=n=>this.expandFormat(n).replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase(),this.isNull=n=>n===null,this.isValid=n=>vv(this.date(n)),this.format=(n,i)=>this.formatByString(n,this.formats[i]),this.formatByString=(n,i)=>_f(n,i,{locale:this.locale}),this.formatNumber=n=>n,this.getDiff=(n,i,o)=>{switch(o){case"years":return FN(n,this.date(i));case"quarters":return zN(n,this.date(i));case"months":return Tf(n,this.date(i));case"weeks":return HN(n,this.date(i));case"days":return gv(n,this.date(i));case"hours":return YN(n,this.date(i));case"minutes":return GN(n,this.date(i));case"seconds":return mv(n,this.date(i));default:return Hs(n,this.date(i))}},this.isEqual=(n,i)=>n===null&&i===null?!0:cz(n,i),this.isSameYear=(n,i)=>fz(n,i),this.isSameMonth=(n,i)=>dz(n,i),this.isSameDay=(n,i)=>uz(n,i),this.isSameHour=(n,i)=>hz(n,i),this.isAfter=(n,i)=>$f(n,i),this.isAfterYear=(n,i)=>$f(n,Of(i)),this.isAfterDay=(n,i)=>$f(n,Cf(i)),this.isBefore=(n,i)=>Jo(n,i),this.isBeforeYear=(n,i)=>Jo(n,Xs(i)),this.isBeforeDay=(n,i)=>Jo(n,ji(i)),this.isWithinRange=(n,[i,o])=>LW(n,{start:i,end:o}),this.startOfYear=n=>Xs(n),this.startOfMonth=n=>Nv(n),this.startOfWeek=n=>Dn(n,{locale:this.locale}),this.startOfDay=n=>ji(n),this.endOfYear=n=>Of(n),this.endOfMonth=n=>Sf(n),this.endOfWeek=n=>Ef(n,{locale:this.locale}),this.endOfDay=n=>Cf(n),this.addYears=(n,i)=>dv(n,i),this.addMonths=(n,i)=>zs(n,i),this.addWeeks=(n,i)=>IN(n,i),this.addDays=(n,i)=>wf(n,i),this.addHours=(n,i)=>jN(n,i),this.addMinutes=(n,i)=>kN(n,i),this.addSeconds=(n,i)=>$N(n,i),this.getYear=n=>lz(n),this.getMonth=n=>tz(n),this.getDate=n=>QB(n),this.getHours=n=>JB(n),this.getMinutes=n=>ez(n),this.getSeconds=n=>rz(n),this.getMilliseconds=n=>nz(n),this.setYear=(n,i)=>yW(n,i),this.setMonth=(n,i)=>gW(n,i),this.setDate=(n,i)=>dW(n,i),this.setHours=(n,i)=>hW(n,i),this.setMinutes=(n,i)=>pW(n,i),this.setSeconds=(n,i)=>mW(n,i),this.setMilliseconds=(n,i)=>vW(n,i),this.getDaysInMonth=n=>_v(n),this.getNextMonth=n=>zs(n,1),this.getPreviousMonth=n=>zs(n,-1),this.getMonthArray=n=>{const o=[Xs(n)];for(;o.length<12;){const a=o[o.length-1];o.push(this.getNextMonth(a))}return o},this.mergeDateAndTime=(n,i)=>this.setSeconds(this.setMinutes(this.setHours(n,this.getHours(i)),this.getMinutes(i)),this.getSeconds(i)),this.getWeekdays=()=>{const n=new Date;return qN({start:Dn(n,{locale:this.locale}),end:Ef(n,{locale:this.locale})}).map(i=>this.formatByString(i,"EEEEEE"))},this.getWeekArray=n=>{const i=Dn(Nv(n),{locale:this.locale}),o=Ef(Sf(n),{locale:this.locale});let a=0,s=i;const c=[];for(;Jo(s,o);){const l=Math.floor(a/7);c[l]=c[l]||[],c[l].push(s),s=wf(s,1),a+=1}return c},this.getWeekNumber=n=>sz(n,{locale:this.locale}),this.getYearRange=(n,i)=>{const o=Xs(n),a=Of(i),s=[];let c=o;for(;Jo(c,a);)s.push(c),c=dv(c,1);return s},this.getMeridiemText=n=>n==="am"?"AM":"PM",this.locale=t,this.formats=_e({},BW,r)}}var WW={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},VW=function(t,r,n){var i,o=WW[t];return typeof o=="string"?i=o:r===1?i=o.one:i=o.other.replace("{{count}}",String(r)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"em "+i:"há "+i:i};const HW=VW;var UW={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},YW={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},GW={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qW={date:Fi({formats:UW,defaultWidth:"full"}),time:Fi({formats:YW,defaultWidth:"full"}),dateTime:Fi({formats:GW,defaultWidth:"full"})};const XW=qW;var KW={lastWeek:function(t){var r=t.getUTCDay(),n=r===0||r===6?"último":"última";return"'"+n+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},ZW=function(t,r,n,i){var o=KW[t];return typeof o=="function"?o(r):o};const QW=ZW;var JW={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},eV={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},tV={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},rV={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},nV={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},iV={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},oV=function(t,r){var n=Number(t);return(r==null?void 0:r.unit)==="week"?n+"ª":n+"º"},aV={ordinalNumber:oV,era:Tr({values:JW,defaultWidth:"wide"}),quarter:Tr({values:eV,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Tr({values:tV,defaultWidth:"wide"}),day:Tr({values:rV,defaultWidth:"wide"}),dayPeriod:Tr({values:nV,defaultWidth:"wide",formattingValues:iV,defaultFormattingWidth:"wide"})};const sV=aV;var lV=/^(\d+)[ºªo]?/i,cV=/\d+/i,uV={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},fV={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},dV={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},hV={any:[/1/i,/2/i,/3/i,/4/i]},pV={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},gV={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},mV={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},vV={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},yV={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},bV={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},xV={ordinalNumber:Mv({matchPattern:lV,parsePattern:cV,valueCallback:function(t){return parseInt(t,10)}}),era:Er({matchPatterns:uV,defaultMatchWidth:"wide",parsePatterns:fV,defaultParseWidth:"any"}),quarter:Er({matchPatterns:dV,defaultMatchWidth:"wide",parsePatterns:hV,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Er({matchPatterns:pV,defaultMatchWidth:"wide",parsePatterns:gV,defaultParseWidth:"any"}),day:Er({matchPatterns:mV,defaultMatchWidth:"wide",parsePatterns:vV,defaultParseWidth:"any"}),dayPeriod:Er({matchPatterns:yV,defaultMatchWidth:"any",parsePatterns:bV,defaultParseWidth:"any"})},wV={code:"pt-BR",formatDistance:HW,formatLong:XW,formatRelative:QW,localize:sV,match:xV,options:{weekStartsOn:0,firstWeekContainsDate:1}};const CV=wV;var zv={exports:{}},Wv={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Vv={exports:{}},SV=function(t){return!t||typeof t=="string"?!1:t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&t.constructor.name!=="String")},TV=SV,EV=Array.prototype.concat,OV=Array.prototype.slice,Hv=Vv.exports=function(t){for(var r=[],n=0,i=t.length;n<i;n++){var o=t[n];TV(o)?r=EV.call(r,OV.call(o)):r.push(o)}return r};Hv.wrap=function(e){return function(){return e(Hv(arguments))}};var PV=Vv.exports,ta=Wv,ra=PV,Uv=Object.hasOwnProperty,Yv=Object.create(null);for(var Ff in ta)Uv.call(ta,Ff)&&(Yv[ta[Ff]]=Ff);var er=zv.exports={to:{},get:{}};er.get=function(e){var t=e.substring(0,3).toLowerCase(),r,n;switch(t){case"hsl":r=er.get.hsl(e),n="hsl";break;case"hwb":r=er.get.hwb(e),n="hwb";break;default:r=er.get.rgb(e),n="rgb";break}return r?{model:n,value:r}:null},er.get.rgb=function(e){if(!e)return null;var t=/^#([a-f0-9]{3,4})$/i,r=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,n=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^(\w+)$/,a=[0,0,0,1],s,c,l;if(s=e.match(r)){for(l=s[2],s=s[1],c=0;c<3;c++){var u=c*2;a[c]=parseInt(s.slice(u,u+2),16)}l&&(a[3]=parseInt(l,16)/255)}else if(s=e.match(t)){for(s=s[1],l=s[3],c=0;c<3;c++)a[c]=parseInt(s[c]+s[c],16);l&&(a[3]=parseInt(l+l,16)/255)}else if(s=e.match(n)){for(c=0;c<3;c++)a[c]=parseInt(s[c+1],0);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else if(s=e.match(i)){for(c=0;c<3;c++)a[c]=Math.round(parseFloat(s[c+1])*2.55);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else return(s=e.match(o))?s[1]==="transparent"?[0,0,0,0]:Uv.call(ta,s[1])?(a=ta[s[1]],a[3]=1,a):null:null;for(c=0;c<3;c++)a[c]=on(a[c],0,255);return a[3]=on(a[3],0,1),a},er.get.hsl=function(e){if(!e)return null;var t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,r=e.match(t);if(r){var n=parseFloat(r[4]),i=(parseFloat(r[1])%360+360)%360,o=on(parseFloat(r[2]),0,100),a=on(parseFloat(r[3]),0,100),s=on(isNaN(n)?1:n,0,1);return[i,o,a,s]}return null},er.get.hwb=function(e){if(!e)return null;var t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,r=e.match(t);if(r){var n=parseFloat(r[4]),i=(parseFloat(r[1])%360+360)%360,o=on(parseFloat(r[2]),0,100),a=on(parseFloat(r[3]),0,100),s=on(isNaN(n)?1:n,0,1);return[i,o,a,s]}return null},er.to.hex=function(){var e=ra(arguments);return"#"+Zs(e[0])+Zs(e[1])+Zs(e[2])+(e[3]<1?Zs(Math.round(e[3]*255)):"")},er.to.rgb=function(){var e=ra(arguments);return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},er.to.rgb.percent=function(){var e=ra(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},er.to.hsl=function(){var e=ra(arguments);return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},er.to.hwb=function(){var e=ra(arguments),t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},er.to.keyword=function(e){return Yv[e.slice(0,3)]};function on(e,t,r){return Math.min(Math.max(t,e),r)}function Zs(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var MV=zv.exports;const na=Wv,Gv={};for(const e of Object.keys(na))Gv[na[e]]=e;const fe={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var qv=fe;for(const e of Object.keys(fe)){if(!("channels"in fe[e]))throw new Error("missing channels property: "+e);if(!("labels"in fe[e]))throw new Error("missing channel labels property: "+e);if(fe[e].labels.length!==fe[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=fe[e];delete fe[e].channels,delete fe[e].labels,Object.defineProperty(fe[e],"channels",{value:t}),Object.defineProperty(fe[e],"labels",{value:r})}fe.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=o-i;let s,c;o===i?s=0:t===o?s=(r-n)/a:r===o?s=2+(n-t)/a:n===o&&(s=4+(t-r)/a),s=Math.min(s*60,360),s<0&&(s+=360);const l=(i+o)/2;return o===i?c=0:l<=.5?c=a/(o+i):c=a/(2-o-i),[s,c*100,l*100]},fe.rgb.hsv=function(e){let t,r,n,i,o;const a=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(a,s,c),u=l-Math.min(a,s,c),f=function(d){return(l-d)/6/u+1/2};return u===0?(i=0,o=0):(o=u/l,t=f(a),r=f(s),n=f(c),a===l?i=n-r:s===l?i=1/3+t-n:c===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[i*360,o*100,l*100]},fe.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=fe.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,o*100,n*100]},fe.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n),o=(1-t-i)/(1-i)||0,a=(1-r-i)/(1-i)||0,s=(1-n-i)/(1-i)||0;return[o*100,a*100,s*100,i*100]};function _V(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}fe.rgb.keyword=function(e){const t=Gv[e];if(t)return t;let r=1/0,n;for(const i of Object.keys(na)){const o=na[i],a=_V(e,o);a<r&&(r=a,n=i)}return n},fe.keyword.rgb=function(e){return na[e]},fe.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;const i=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,a=t*.0193+r*.1192+n*.9505;return[i*100,o*100,a*100]},fe.rgb.lab=function(e){const t=fe.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*n-16,a=500*(r-n),s=200*(n-i);return[o,a,s]},fe.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,o,a;if(r===0)return a=n*255,[a,a,a];n<.5?i=n*(1+r):i=n+r-n*r;const s=2*n-i,c=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,6*o<1?a=s+(i-s)*6*o:2*o<1?a=i:3*o<2?a=s+(i-s)*(2/3-o)*6:a=s,c[l]=a*255;return c},fe.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=o<=1?o:2-o;const a=(n+r)/2,s=n===0?2*i/(o+i):2*r/(n+r);return[t,s*100,a*100]},fe.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),a=255*n*(1-r),s=255*n*(1-r*o),c=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,c,a];case 1:return[s,n,a];case 2:return[a,n,c];case 3:return[a,s,n];case 4:return[c,a,n];case 5:return[n,a,s]}},fe.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let o,a;a=(2-r)*n;const s=(2-r)*i;return o=r*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,o*100,a*100]},fe.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let o;i>1&&(r/=i,n/=i);const a=Math.floor(6*t),s=1-n;o=6*t-a,a&1&&(o=1-o);const c=r+o*(s-r);let l,u,f;switch(a){default:case 6:case 0:l=s,u=c,f=r;break;case 1:l=c,u=s,f=r;break;case 2:l=r,u=s,f=c;break;case 3:l=r,u=c,f=s;break;case 4:l=c,u=r,f=s;break;case 5:l=s,u=r,f=c;break}return[l*255,u*255,f*255]},fe.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100,o=1-Math.min(1,t*(1-i)+i),a=1-Math.min(1,r*(1-i)+i),s=1-Math.min(1,n*(1-i)+i);return[o*255,a*255,s*255]},fe.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,o,a;return i=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,a=t*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[i*255,o*255,a*255]},fe.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;const i=116*r-16,o=500*(t-r),a=200*(r-n);return[i,o,a]},fe.lab.xyz=function(e){const t=e[0],r=e[1],n=e[2];let i,o,a;o=(t+16)/116,i=r/500+o,a=o-n/200;const s=o**3,c=i**3,l=a**3;return o=s>.008856?s:(o-16/116)/7.787,i=c>.008856?c:(i-16/116)/7.787,a=l>.008856?l:(a-16/116)/7.787,i*=95.047,o*=100,a*=108.883,[i,o,a]},fe.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);const a=Math.sqrt(r*r+n*n);return[t,a,i]},fe.lch.lab=function(e){const t=e[0],r=e[1],i=e[2]/360*2*Math.PI,o=r*Math.cos(i),a=r*Math.sin(i);return[t,o,a]},fe.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let o=t===null?fe.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(a+=60),a},fe.hsv.ansi16=function(e){return fe.rgb.ansi16(fe.hsv.rgb(e),e[2])},fe.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},fe.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=(~~(e>50)+1)*.5,n=(t&1)*r*255,i=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,i,o]},fe.ansi256.rgb=function(e){if(e>=232){const o=(e-232)*10+8;return[o,o,o]}e-=16;let t;const r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,i=t%6/5*255;return[r,n,i]},fe.rgb.hex=function(e){const r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r},fe.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(s=>s+s).join(""));const n=parseInt(r,16),i=n>>16&255,o=n>>8&255,a=n&255;return[i,o,a]},fe.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),a=i-o;let s,c;return a<1?s=o/(1-a):s=0,a<=0?c=0:i===t?c=(r-n)/a%6:i===r?c=2+(n-t)/a:c=4+(t-r)/a,c/=6,c%=1,[c*360,a*100,s*100]},fe.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],n*100,i*100]},fe.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],n*100,i*100]},fe.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];const i=[0,0,0],o=t%1*6,a=o%1,s=1-a;let c=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return c=(1-r)*n,[(r*i[0]+c)*255,(r*i[1]+c)*255,(r*i[2]+c)*255]},fe.hcg.hsv=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);let i=0;return n>0&&(i=t/n),[e[0],i*100,n*100]},fe.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],i*100,n*100]},fe.hcg.hwb=function(e){const t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]},fe.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,i=n-t;let o=0;return i<1&&(o=(n-i)/(1-i)),[e[0],i*100,o*100]},fe.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},fe.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},fe.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},fe.gray.hsl=function(e){return[0,0,e[0]]},fe.gray.hsv=fe.gray.hsl,fe.gray.hwb=function(e){return[0,100,e[0]]},fe.gray.cmyk=function(e){return[0,0,0,e[0]]},fe.gray.lab=function(e){return[e[0],0,0]},fe.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},fe.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Qs=qv;function $V(){const e={},t=Object.keys(Qs);for(let r=t.length,n=0;n<r;n++)e[t[n]]={distance:-1,parent:null};return e}function AV(e){const t=$V(),r=[e];for(t[e].distance=0;r.length;){const n=r.pop(),i=Object.keys(Qs[n]);for(let o=i.length,a=0;a<o;a++){const s=i[a],c=t[s];c.distance===-1&&(c.distance=t[n].distance+1,c.parent=n,r.unshift(s))}}return t}function kV(e,t){return function(r){return t(e(r))}}function DV(e,t){const r=[t[e].parent,e];let n=Qs[t[e].parent][e],i=t[e].parent;for(;t[i].parent;)r.unshift(t[i].parent),n=kV(Qs[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var jV=function(e){const t=AV(e),r={},n=Object.keys(t);for(let i=n.length,o=0;o<i;o++){const a=n[o];t[a].parent!==null&&(r[a]=DV(a,t))}return r};const Rf=qv,IV=jV,Ri={},LV=Object.keys(Rf);function FV(e){const t=function(...r){const n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function RV(e){const t=function(...r){const n=r[0];if(n==null)return n;n.length>1&&(r=n);const i=e(r);if(typeof i=="object")for(let o=i.length,a=0;a<o;a++)i[a]=Math.round(i[a]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}LV.forEach(e=>{Ri[e]={},Object.defineProperty(Ri[e],"channels",{value:Rf[e].channels}),Object.defineProperty(Ri[e],"labels",{value:Rf[e].labels});const t=IV(e);Object.keys(t).forEach(n=>{const i=t[n];Ri[e][n]=RV(i),Ri[e][n].raw=FV(i)})});var NV=Ri;const Ni=MV,tr=NV,Xv=["keyword","gray","hex"],Nf={};for(const e of Object.keys(tr))Nf[[...tr[e].labels].sort().join("")]=e;const Js={};function At(e,t){if(!(this instanceof At))return new At(e,t);if(t&&t in Xv&&(t=null),t&&!(t in tr))throw new Error("Unknown model: "+t);let r,n;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof At)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const i=Ni.get(e);if(i===null)throw new Error("Unable to parse color from string: "+e);this.model=i.model,n=tr[this.model].channels,this.color=i.value.slice(0,n),this.valpha=typeof i.value[n]=="number"?i.value[n]:1}else if(e.length>0){this.model=t||"rgb",n=tr[this.model].channels;const i=Array.prototype.slice.call(e,0,n);this.color=Bf(i,n),this.valpha=typeof e[n]=="number"?e[n]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;const i=Object.keys(e);"alpha"in e&&(i.splice(i.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const o=i.sort().join("");if(!(o in Nf))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=Nf[o];const{labels:a}=tr[this.model],s=[];for(r=0;r<a.length;r++)s.push(e[a[r]]);this.color=Bf(s)}if(Js[this.model])for(n=tr[this.model].channels,r=0;r<n;r++){const i=Js[this.model][r];i&&(this.color[r]=i(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}At.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in Ni.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);const r=t.valpha===1?t.color:[...t.color,this.valpha];return Ni.to[t.model](r)},percentString(e){const t=this.rgb().round(typeof e=="number"?e:1),r=t.valpha===1?t.color:[...t.color,this.valpha];return Ni.to.rgb.percent(r)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=tr[this.model],{labels:r}=tr[this.model];for(let n=0;n<t;n++)e[r[n]]=this.color[n];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new At([...this.color.map(zV(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new At([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:bt("rgb",0,Pt(255)),green:bt("rgb",1,Pt(255)),blue:bt("rgb",2,Pt(255)),hue:bt(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:bt("hsl",1,Pt(100)),lightness:bt("hsl",2,Pt(100)),saturationv:bt("hsv",1,Pt(100)),value:bt("hsv",2,Pt(100)),chroma:bt("hcg",1,Pt(100)),gray:bt("hcg",2,Pt(100)),white:bt("hwb",1,Pt(100)),wblack:bt("hwb",2,Pt(100)),cyan:bt("cmyk",0,Pt(100)),magenta:bt("cmyk",1,Pt(100)),yellow:bt("cmyk",2,Pt(100)),black:bt("cmyk",3,Pt(100)),x:bt("xyz",0,Pt(95.047)),y:bt("xyz",1,Pt(100)),z:bt("xyz",2,Pt(108.833)),l:bt("lab",0,Pt(100)),a:bt("lab",1),b:bt("lab",2),keyword(e){return e!==void 0?new At(e):tr[this.model].keyword(this.color)},hex(e){return e!==void 0?new At(e):Ni.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new At(e);const t=this.rgb().round().color;let r=Math.round(this.valpha*255).toString(16).toUpperCase();return r.length===1&&(r="0"+r),Ni.to.hex(t)+r},rgbNumber(){const e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){const e=this.rgb().color,t=[];for(const[r,n]of e.entries()){const i=n/255;t[r]=i<=.04045?i/12.92:((i+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return At.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const r=e.rgb(),n=this.rgb(),i=t===void 0?.5:t,o=2*i-1,a=r.alpha()-n.alpha(),s=((o*a===-1?o:(o+a)/(1+o*a))+1)/2,c=1-s;return At.rgb(s*r.red()+c*n.red(),s*r.green()+c*n.green(),s*r.blue()+c*n.blue(),r.alpha()*i+n.alpha()*(1-i))}};for(const e of Object.keys(tr)){if(Xv.includes(e))continue;const{channels:t}=tr[e];At.prototype[e]=function(...r){return this.model===e?new At(this):r.length>0?new At(r,e):new At([...WV(tr[this.model][e].raw(this.color)),this.valpha],e)},At[e]=function(...r){let n=r[0];return typeof n=="number"&&(n=Bf(r,t)),new At(n,e)}}function BV(e,t){return Number(e.toFixed(t))}function zV(e){return function(t){return BV(t,e)}}function bt(e,t,r){e=Array.isArray(e)?e:[e];for(const n of e)(Js[n]||(Js[n]=[]))[t]=r;return e=e[0],function(n){let i;return n!==void 0?(r&&(n=r(n)),i=this[e](),i.color[t]=n,i):(i=this[e]().color[t],r&&(i=r(i)),i)}}function Pt(e){return function(t){return Math.max(0,Math.min(e,t))}}function WV(e){return Array.isArray(e)?e:[e]}function Bf(e,t){for(let r=0;r<t;r++)typeof e[r]!="number"&&(e[r]=0);return e}var VV=At;const HV=dn(VV),et={0:"#FFFFFF",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#212B36",900:"#161C24"},UV={lighter:"#3aa4f2",light:"#7bc2f6",main:"#0E82D8",dark:"#0b61a2",darker:"#07416c",contrastText:"#fff"},YV={lighter:"#D6E4FF",light:"#84A9FF",main:"#3366FF",dark:"#1939B7",darker:"#091A7A",contrastText:"#fff"},GV={lighter:"#CAFDF5",light:"#61F3F3",main:"#00B8D9",dark:"#006C9C",darker:"#003768",contrastText:"#fff"},qV={lighter:"#D8FBDE",light:"#86E8AB",main:"#36B37E",dark:"#1B806A",darker:"#0A5554",contrastText:"#fff"},XV={lighter:"#FFF5CC",light:"#FFD666",main:"#FFAB00",dark:"#B76E00",darker:"#7A4100",contrastText:et[800]},Bi={common:{black:"#000",white:"#fff"},primary:UV,secondary:YV,info:GV,success:qV,warning:XV,error:{lighter:"#FFE9D5",light:"#FFAC82",main:"#FF5630",dark:"#B71D18",darker:"#7A0916",contrastText:"#fff"},grey:et,divider:V(et[500],.24),action:{hover:V(et[500],.08),selected:V(et[500],.16),disabled:V(et[500],.8),disabledBackground:V(et[500],.24),focus:V(et[500],.24),hoverOpacity:.08,disabledOpacity:.48}},an=e=>{const t={...Bi,mode:"light",text:{primary:et[800],secondary:et[600],disabled:et[500]},background:{paper:"#fff",default:et[100],neutral:et[200]},action:{...Bi.action,active:et[600]}},r={...Bi,mode:"dark",text:{primary:"#fff",secondary:et[500],disabled:et[600]},background:{paper:et[800],default:et[900],neutral:V(et[500],.16)},action:{...Bi.action,active:et[500]}};return e==="light"?t:r},KV=e=>({lighter:zc(e,.815),light:zc(e,.225),main:e,dark:Bc(e,.15),darker:Bc(e,.35)}),ZV=e=>HV(e).luminosity()<=.55?"#fff":et[900],QV=e=>{const t=KV(e);return{...Bi,primary:{...t,contrastText:ZV(t.main)},mode:"light",text:{primary:et[800],secondary:et[600],disabled:et[500]},background:{paper:"#fff",default:et[100],neutral:et[200]},action:{active:et[600],...Bi.action}}},Kv=an("light"),JV=Kv.grey[500],eH=Kv.common.black;function Zv(e,t){const r=V(e,.16);return{z1:`0 1px 2px 0 ${r}`,z4:`0 4px 8px 0 ${r}`,z8:`0 8px 16px 0 ${r}`,z12:`0 12px 24px -4px ${r}`,z16:`0 16px 32px -4px ${r}`,z20:`0 20px 40px -4px ${r}`,z24:`0 24px 48px 0 ${r}`,primary:`0 8px 16px 0 ${V(t||an("light").primary.main,.24)}`,info:`0 8px 16px 0 ${V(an("light").info.main,.24)}`,secondary:`0 8px 16px 0 ${V(an("light").secondary.main,.24)}`,success:`0 8px 16px 0 ${V(an("light").success.main,.24)}`,warning:`0 8px 16px 0 ${V(an("light").warning.main,.24)}`,error:`0 8px 16px 0 ${V(an("light").error.main,.24)}`,card:`0 0 2px 0 ${V(e,.2)}, 0 12px 24px -4px ${V(e,.12)}`,dialog:`-40px 40px 80px -8px ${V(e,.24)}`,dropdown:`0 0 2px 0 ${V(e,.24)}, -20px 20px 40px -4px ${V(e,.24)}`}}const tH=(e,t)=>Zv(e==="light"?JV:eH,t),rH=()=>v.jsx($.GlobalStyles,{styles:{"*":{boxSizing:"border-box"},html:{margin:0,padding:0,width:"100%",height:"100%",WebkitOverflowScrolling:"touch"},body:{margin:0,padding:0,width:"100%",height:"100%",backgroundColor:"#fff"},"#root":{width:"100%",height:"100%"},input:{"&[type=number]":{MozAppearance:"textfield","&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"}},"&[type=search]":{"&::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{WebkitAppearance:"none"}}},img:{display:"block",maxWidth:"100%"},ul:{margin:0,padding:0},".SnackbarContainer-root":{transform:"scale(1)",zIndex:"9999 !important",maxHeight:"0 !important","& .MuiCollapse-wrapper":{maxHeight:"0 !important"}}}}),nH=["primary","secondary","info","success","warning","error"];function iH(e){const t=e.palette.mode==="light",r=n=>{const i=n.color==="default",o=n.color==="inherit",a=n.variant==="circular",s=n.variant==="extended",c=n.variant==="outlined",l=n.variant==="outlinedExtended",u=n.variant==="soft",f=n.variant==="softExtended",d={"&:hover, &:active":{boxShadow:"none"},...(a||s)&&{...(i||o)&&{color:e.palette.grey[800],boxShadow:e.customShadows.z8,"&:hover":{backgroundColor:e.palette.grey[400]}},...o&&{...!t&&{color:"inherit",backgroundColor:e.palette.grey[800],"&:hover":{backgroundColor:e.palette.grey[700]}}}},...(c||l)&&{boxShadow:"none",backgroundColor:"transparent",...(i||o)&&{border:`solid 1px ${V(e.palette.grey[500],.32)}`,"&:hover":{backgroundColor:e.palette.action.hover}},...i&&{...!t&&{color:e.palette.text.secondary}}},...(u||f)&&{boxShadow:"none",...i&&{color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey[400]}},...o&&{backgroundColor:V(e.palette.grey[500],.08),"&:hover":{backgroundColor:V(e.palette.grey[500],.24)}}}},h=nH.map(y=>({...n.color===y&&{...(a||s)&&{boxShadow:e.customShadows[y],"&:hover":{backgroundColor:e.palette[y].dark}},...(c||l)&&{color:e.palette[y].main,border:`solid 1px ${V(e.palette[y].main,.48)}`,"&:hover":{backgroundColor:V(e.palette[y].main,.08),border:`solid 1px ${e.palette[y].main}`}},...(u||f)&&{color:e.palette[y][t?"dark":"light"],backgroundColor:V(e.palette[y].main,.16),"&:hover":{backgroundColor:V(e.palette[y].main,.32)}}}})),g={"&.Mui-disabled":{...(c||l)&&{backgroundColor:"transparent",border:`solid 1px ${e.palette.action.disabledBackground}`}}},m={...(s||l||f)&&{width:"auto","& svg":{marginRight:e.spacing(1)},...n.size==="small"&&{height:34,minHeight:34,borderRadius:17,padding:e.spacing(0,1)},...n.size==="medium"&&{height:40,minHeight:40,borderRadius:20,padding:e.spacing(0,2)},...n.size==="large"&&{height:48,minHeight:48,borderRadius:24,padding:e.spacing(0,2)}}};return[...h,d,g,m]};return{MuiFab:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function oH(e){return{MuiCard:{styleOverrides:{root:{position:"relative",boxShadow:e.customShadows.card,borderRadius:Number(e.shape.borderRadius)*2,zIndex:0}}},MuiCardHeader:{defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:e.spacing(.5)}},styleOverrides:{root:{padding:e.spacing(3,3,0)}}},MuiCardContent:{styleOverrides:{root:{padding:e.spacing(3)}}}}}function aH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M14.71,13.29 C14.8993127,13.4777666 15.0057983,13.7333625 15.0057983,14 C15.0057983,14.2666375 14.8993127,14.5222334 14.71,14.71 C14.5222334,14.8993127 14.2666375,15.0057983 14,15.0057983 C13.7333625,15.0057983 13.4777666,14.8993127 13.29,14.71 L12,13.41 L10.71,14.71 C10.5222334,14.8993127 10.2666375,15.0057983 10,15.0057983 C9.73336246,15.0057983 9.4777666,14.8993127 9.29,14.71 C9.10068735,14.5222334 8.99420168,14.2666375 8.99420168,14 C8.99420168,13.7333625 9.10068735,13.4777666 9.29,13.29 L10.59,12 L9.29,10.71 C8.89787783,10.3178778 8.89787783,9.68212217 9.29,9.29 C9.68212217,8.89787783 10.3178778,8.89787783 10.71,9.29 L12,10.59 L13.29,9.29 C13.6821222,8.89787783 14.3178778,8.89787783 14.71,9.29 C15.1021222,9.68212217 15.1021222,10.3178778 14.71,10.71 L13.41,12 L14.71,13.29 Z"})})}function Qv(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17.56,21 C17.4000767,21.0006435 17.2423316,20.9629218 17.1,20.89 L12,18.22 L6.9,20.89 C6.56213339,21.067663 6.15259539,21.0374771 5.8444287,20.8121966 C5.53626201,20.5869161 5.38323252,20.2058459 5.45,19.83 L6.45,14.2 L2.33,10.2 C2.06805623,9.93860108 1.9718844,9.55391377 2.08,9.2 C2.19824414,8.83742187 2.51242293,8.57366684 2.89,8.52 L8.59,7.69 L11.1,2.56 C11.2670864,2.21500967 11.6166774,1.99588989 12,1.99588989 C12.3833226,1.99588989 12.7329136,2.21500967 12.9,2.56 L15.44,7.68 L21.14,8.51 C21.5175771,8.56366684 21.8317559,8.82742187 21.95,9.19 C22.0581156,9.54391377 21.9619438,9.92860108 21.7,10.19 L17.58,14.19 L18.58,19.82 C18.652893,20.2027971 18.4967826,20.5930731 18.18,20.82 C17.9989179,20.9468967 17.7808835,21.010197 17.56,21 L17.56,21 Z"})})}function sH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M13,16 C13,16.5522847 12.5522847,17 12,17 C11.4477153,17 11,16.5522847 11,16 L11,11 C11,10.4477153 11.4477153,10 12,10 C12.5522847,10 13,10.4477153 13,11 L13,16 Z M12,9 C11.4477153,9 11,8.55228475 11,8 C11,7.44771525 11.4477153,7 12,7 C12.5522847,7 13,7.44771525 13,8 C13,8.55228475 12.5522847,9 12,9 Z"})})}function lH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M22.56,16.3 L14.89,3.58 C14.2597186,2.59400001 13.1702353,1.99737652 12,1.99737652 C10.8297647,1.99737652 9.74028139,2.59400001 9.11,3.58 L1.44,16.3 C0.888546003,17.2192471 0.869485343,18.3628867 1.39,19.3 C1.99197363,20.3551378 3.11522982,21.0046397 4.33,21 L19.67,21 C20.8765042,21.0128744 21.9978314,20.3797441 22.61,19.34 C23.146086,18.3926382 23.1269508,17.2292197 22.56,16.3 L22.56,16.3 Z M12,17 C11.4477153,17 11,16.5522847 11,16 C11,15.4477153 11.4477153,15 12,15 C12.5522847,15 13,15.4477153 13,16 C13,16.5522847 12.5522847,17 12,17 Z M13,13 C13,13.5522847 12.5522847,14 12,14 C11.4477153,14 11,13.5522847 11,13 L11,9 C11,8.44771525 11.4477153,8 12,8 C12.5522847,8 13,8.44771525 13,9 L13,13 Z"})})}function cH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M16.3,9.61 L11.73,15.61 C11.5412074,15.855247 11.2494966,15.9992561 10.94,16.0000145 C10.6322197,16.001658 10.3408221,15.861492 10.15,15.62 L7.71,12.51 C7.49028166,12.2277602 7.43782669,11.8497415 7.57239438,11.5183399 C7.70696206,11.1869384 8.00810836,10.9525017 8.36239438,10.9033399 C8.7166804,10.8541782 9.07028166,10.9977602 9.29,11.28 L10.92,13.36 L14.7,8.36 C14.917932,8.07418751 15.2717886,7.92635122 15.6282755,7.97217964 C15.9847624,8.01800806 16.2897207,8.25053875 16.4282755,8.58217966 C16.5668304,8.91382056 16.517932,9.29418753 16.3,9.58 L16.3,9.61 Z"})})}function uH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12,2 C6.4771525,2 2,6.4771525 2,12 C2,17.5228475 6.4771525,22 12,22 C17.5228475,22 22,17.5228475 22,12 C22,9.3478351 20.9464316,6.80429597 19.0710678,4.92893219 C17.195704,3.0535684 14.6521649,2 12,2 Z M12,17 C11.4477153,17 11,16.5522847 11,16 C11,15.4477153 11.4477153,15 12,15 C12.5522847,15 13,15.4477153 13,16 C13,16.5522847 12.5522847,17 12,17 Z M13,13 C13,13.5522847 12.5522847,14 12,14 C11.4477153,14 11,13.5522847 11,13 L11,8 C11,7.44771525 11.4477153,7 12,7 C12.5522847,7 13,7.44771525 13,8 L13,13 Z"})})}function fH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})})}function dH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})})}function hH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})})}function pH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Z"})})}function gH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M12 2A10 10 0 1 1 2 12C2 6.477 6.477 2 12 2Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Z"})})}function mH(e){return v.jsx($.SvgIcon,{...e,sx:{right:12,fontSize:16,position:"absolute",pointerEvents:"none"},children:v.jsx("path",{d:"M12,16 C11.7663478,16.0004565 11.5399121,15.9190812 11.36,15.77 L5.36,10.77 C4.93474074,10.4165378 4.87653776,9.78525926 5.23,9.36 C5.58346224,8.93474074 6.21474074,8.87653776 6.64,9.23 L12,13.71 L17.36,9.39 C17.5665934,9.2222295 17.8315409,9.14373108 18.0961825,9.17188444 C18.3608241,9.2000378 18.6033268,9.33252029 18.77,9.54 C18.9551341,9.74785947 19.0452548,10.0234772 19.0186853,10.3005589 C18.9921158,10.5776405 18.8512608,10.8311099 18.63,11 L12.63,15.83 C12.444916,15.955516 12.2231011,16.0153708 12,16 Z"})})}function vH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M12,8 C12.5522847,8 13,8.44771525 13,9 L13,9 L13,11 L15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L13,13 L13,15 C13,15.5522847 12.5522847,16 12,16 C11.4477153,16 11,15.5522847 11,15 L11,15 L11,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 L11,11 L11,9 C11,8.44771525 11.4477153,8 12,8 Z"})})}function yH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M15,11 C15.5522847,11 16,11.4477153 16,12 C16,12.5522847 15.5522847,13 15,13 L15,13 L9,13 C8.44771525,13 8,12.5522847 8,12 C8,11.4477153 8.44771525,11 9,11 L9,11 Z"})})}function bH(e){return v.jsx($.SvgIcon,{...e,children:v.jsx("path",{d:"M18,3 C19.6568542,3 21,4.34314575 21,6 L21,6 L21,18 C21,19.6568542 19.6568542,21 18,21 L18,21 L6,21 C4.34314575,21 3,19.6568542 3,18 L3,18 L3,6 C3,4.34314575 4.34314575,3 6,3 L6,3 Z M18,5 L6,5 C5.44771525,5 5,5.44771525 5,6 L5,6 L5,18 C5,18.5522847 5.44771525,19 6,19 L6,19 L18,19 C18.5522847,19 19,18.5522847 19,18 L19,18 L19,6 C19,5.44771525 18.5522847,5 18,5 L18,5 Z M14,8.99420168 C14.2666375,8.99420168 14.5222334,9.10068735 14.71,9.29 C14.8993127,9.4777666 15.0057983,9.73336246 15.0057983,10 C15.0057983,10.2666375 14.8993127,10.5222334 14.71,10.71 L14.71,10.71 L13.41,12 L14.71,13.29 C14.8993127,13.4777666 15.0057983,13.7333625 15.0057983,14 C15.0057983,14.2666375 14.8993127,14.5222334 14.71,14.71 C14.5222334,14.8993127 14.2666375,15.0057983 14,15.0057983 C13.7333625,15.0057983 13.4777666,14.8993127 13.29,14.71 L13.29,14.71 L12,13.41 L10.71,14.71 C10.5222334,14.8993127 10.2666375,15.0057983 10,15.0057983 C9.73336246,15.0057983 9.4777666,14.8993127 9.29,14.71 C9.10068735,14.5222334 8.99420168,14.2666375 8.99420168,14 C8.99420168,13.7333625 9.10068735,13.4777666 9.29,13.29 L9.29,13.29 L10.59,12 L9.29,10.71 C8.89787783,10.3178778 8.89787783,9.68212217 9.29,9.29 C9.68212217,8.89787783 10.3178778,8.89787783 10.71,9.29 L10.71,9.29 L12,10.59 L13.29,9.29 C13.4777666,9.10068735 13.7333625,8.99420168 14,8.99420168 Z"})})}const xH=["primary","secondary","info","success","warning","error"];function wH(e){const t=e.palette.mode==="light",r=n=>{const i=n.color==="default",o=n.variant==="filled",a=n.variant==="outlined",s=n.variant==="soft",c={...i&&{"& .MuiChip-avatar":{color:e.palette.text[t?"secondary":"primary"],backgroundColor:V(e.palette.grey[500],.48)},...a&&{border:`solid 1px ${V(e.palette.grey[500],.32)}`},...s&&{color:e.palette.text.primary,backgroundColor:V(e.palette.grey[500],.16),"&:hover":{backgroundColor:V(e.palette.grey[500],.32)}}}};return[...xH.map(u=>({...n.color===u&&{"& .MuiChip-avatar":{color:e.palette[u].lighter,backgroundColor:e.palette[u].dark},...o&&{"& .MuiChip-deleteIcon":{color:V(e.palette[u].contrastText,.56),"&:hover":{color:e.palette[u].contrastText}}},...s&&{color:e.palette[u][t?"dark":"light"],backgroundColor:V(e.palette[u].main,.16),"&:hover":{backgroundColor:V(e.palette[u].main,.32)},"& .MuiChip-deleteIcon":{color:V(e.palette[u][t?"dark":"light"],.48),"&:hover":{color:e.palette[u].dark}}}}})),c]};return{MuiChip:{defaultProps:{deleteIcon:v.jsx(aH,{})},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function CH(e){return{MuiTabs:{defaultProps:{textColor:"inherit",allowScrollButtonsMobile:!0,variant:"scrollable"},styleOverrides:{scrollButtons:{width:48,borderRadius:"50%"}}},MuiTab:{defaultProps:{disableRipple:!0,iconPosition:"start"},styleOverrides:{root:({ownerState:t})=>({padding:0,opacity:1,minWidth:48,fontWeight:e.typography.fontWeightMedium,"&:not(:last-of-type)":{marginRight:e.spacing(3),[e.breakpoints.up("sm")]:{marginRight:e.spacing(5)}},"&:not(.Mui-selected)":{color:e.palette.text.secondary},...(t.iconPosition==="start"||t.iconPosition==="end")&&{minHeight:48}})}}}}function SH(e){return{MuiMenuItem:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}}}}}}}function TH(e){return{MuiLink:{defaultProps:{underline:"hover"}}}}function EH(e){return{MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemAvatar:{styleOverrides:{root:{minWidth:"auto",marginRight:e.spacing(2)}}},MuiListItemText:{styleOverrides:{root:{marginTop:0,marginBottom:0},multiline:{marginTop:0,marginBottom:0}}}}}function OH(e){return{MuiTableContainer:{styleOverrides:{root:{position:"relative"}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}}}}},MuiTableCell:{styleOverrides:{root:{borderBottom:"none"},head:{color:e.palette.text.secondary,backgroundColor:e.palette.background.neutral},stickyHeader:{backgroundColor:e.palette.background.paper,backgroundImage:`linear-gradient(to bottom, ${e.palette.background.neutral} 0%, ${e.palette.background.neutral} 100%)`},paddingCheckbox:{paddingLeft:e.spacing(1)}}},MuiTablePagination:{defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"},SelectProps:{MenuProps:{MenuListProps:{sx:{"& .MuiMenuItem-root":{...e.typography.body2}}}}}},styleOverrides:{root:{borderTop:`solid 1px ${e.palette.divider}`},toolbar:{height:64},actions:{marginRight:e.spacing(1)},select:{"&:focus":{borderRadius:e.shape.borderRadius}}}}}}const PH=["info","success","warning","error"];function MH(e){const t=e.palette.mode==="light",r=n=>{const i=n.variant==="standard",o=n.variant==="filled",a=n.variant==="outlined";return[...PH.map(c=>({...n.severity===c&&{...i&&{color:e.palette[c][t?"darker":"lighter"],backgroundColor:e.palette[c][t?"lighter":"darker"],"& .MuiAlert-icon":{color:e.palette[c][t?"main":"light"]}},...o&&{color:e.palette[c].contrastText,backgroundColor:e.palette[c].main},...a&&{color:e.palette[c][t?"dark":"light"],border:`solid 1px ${e.palette[c].main}`,"& .MuiAlert-icon":{color:e.palette[c].main}}}}))]};return{MuiAlert:{defaultProps:{iconMapping:{info:v.jsx(sH,{}),success:v.jsx(cH,{}),warning:v.jsx(lH,{}),error:v.jsx(uH,{})}},styleOverrides:{root:({ownerState:n})=>r(n),icon:{opacity:1}}},MuiAlertTitle:{styleOverrides:{root:{marginBottom:e.spacing(.5)}}}}}function _H(e){return{MuiBadge:{styleOverrides:{dot:{width:10,height:10,borderRadius:"50%"}}}}}function $H(e){return{MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"}}}}}function AH(e){return{MuiInputBase:{styleOverrides:{root:{"&.Mui-disabled":{"& svg":{color:e.palette.text.disabled}}},input:{"&::placeholder":{opacity:1,color:e.palette.text.disabled}}}},MuiInput:{styleOverrides:{underline:{"&:before":{borderBottomColor:V(e.palette.grey[500],.56)},"&:after":{borderBottomColor:e.palette.text.primary}}}},MuiTextField:{styleOverrides:{root:{"& .MuiInputLabel-root.Mui-focused":{color:e.palette.text.primary}}}},MuiFilledInput:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:V(e.palette.grey[500],.08),"&:hover":{backgroundColor:V(e.palette.grey[500],.16)},"&.Mui-focused":{backgroundColor:V(e.palette.grey[500],.16)},"&.Mui-disabled":{backgroundColor:e.palette.action.disabledBackground}},underline:{"&:before, :after":{display:"none"}}}},MuiOutlinedInput:{styleOverrides:{root:{"& .MuiOutlinedInput-notchedOutline":{borderColor:V(e.palette.grey[500],.32)},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderWidth:1,borderColor:e.palette.text.primary}},"&.Mui-disabled":{"& .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.action.disabledBackground}}}}}}}function kH(e){return{MuiRadio:{defaultProps:{icon:v.jsx(pH,{}),checkedIcon:v.jsx(gH,{})},styleOverrides:{root:({ownerState:t})=>({padding:e.spacing(1),...t.size==="small"&&{"& svg":{width:20,height:20}},...t.size==="medium"&&{"& svg":{width:24,height:24}}})}}}}function DH(e){const t=e.palette.mode==="light";return{MuiDrawer:{styleOverrides:{root:({ownerState:r})=>({...r.variant==="temporary"&&{"& .MuiDrawer-paper":{boxShadow:`-40px 40px 80px -8px ${V(t?e.palette.grey[500]:e.palette.common.black,.24)}`}}})}}}}function jH(e){return{MuiDialog:{styleOverrides:{paper:{boxShadow:e.customShadows.dialog,"&.MuiPaper-rounded":{borderRadius:Number(e.shape.borderRadius)*2},"&.MuiDialog-paperFullScreen":{borderRadius:0},"&.MuiDialog-paper .MuiDialogActions-root":{padding:e.spacing(3)},"@media (max-width: 600px)":{margin:e.spacing(2)},"@media (max-width: 663.95px)":{"&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody":{maxWidth:"100%"}}},paperFullWidth:{width:"100%"}}},MuiDialogTitle:{styleOverrides:{root:{padding:e.spacing(3)}}},MuiDialogContent:{styleOverrides:{root:{padding:e.spacing(0,3)},dividers:{borderTop:0,borderBottomStyle:"dashed",paddingBottom:e.spacing(3)}}},MuiDialogActions:{styleOverrides:{root:{"& > :not(:first-of-type)":{marginLeft:e.spacing(1.5)}}}}}}function IH(e){return{MuiAvatar:{styleOverrides:{colorDefault:{color:e.palette.text.secondary,backgroundColor:V(e.palette.grey[500],.24)}}},MuiAvatarGroup:{defaultProps:{max:4},styleOverrides:{root:{justifyContent:"flex-end"},avatar:{fontSize:16,fontWeight:e.typography.fontWeightMedium,"&:first-of-type":{fontSize:12,color:e.palette.primary.main,backgroundColor:e.palette.primary.lighter}}}}}}function LH(e){return{MuiRating:{defaultProps:{emptyIcon:v.jsx(Qv,{}),icon:v.jsx(Qv,{})},styleOverrides:{root:{"&.Mui-disabled":{opacity:.48}},iconEmpty:{color:V(e.palette.grey[500],.48)},sizeSmall:{"& svg":{width:20,height:20}},sizeLarge:{"& svg":{width:28,height:28}}}}}}function FH(e){const t=e.palette.mode==="light";return{MuiSlider:{defaultProps:{size:"small"},styleOverrides:{root:{"&.Mui-disabled":{color:e.palette.action.disabled}},rail:{opacity:.32},markLabel:{fontSize:13,color:e.palette.text.disabled},valueLabel:{borderRadius:8,backgroundColor:e.palette.grey[t?800:700]}}}}}const RH=["primary","secondary","info","success","warning","error"];function NH(e){const t=e.palette.mode==="light",r=n=>{const i=n.color==="inherit",o=n.variant==="contained",a=n.variant==="outlined",s=n.variant==="text",c=n.variant==="soft",l=n.size==="small",u=n.size==="large",f={...i&&{...o&&{color:e.palette.grey[800],"&:hover":{boxShadow:e.customShadows.z8,backgroundColor:e.palette.grey[400]}},...a&&{borderColor:V(e.palette.grey[500],.32),"&:hover":{borderColor:e.palette.text.primary,backgroundColor:e.palette.action.hover}},...s&&{"&:hover":{backgroundColor:e.palette.action.hover}},...c&&{color:e.palette.text.primary,backgroundColor:V(e.palette.grey[500],.08),"&:hover":{backgroundColor:V(e.palette.grey[500],.24)}}}},d=RH.map(m=>({...n.color===m&&{...o&&{"&:hover":{boxShadow:e.customShadows[m]}},...c&&{color:e.palette[m][t?"dark":"light"],backgroundColor:V(e.palette[m].main,.16),"&:hover":{backgroundColor:V(e.palette[m].main,.32)}}}})),h={"&.Mui-disabled":{...c&&{backgroundColor:e.palette.action.disabledBackground}}},g={...l&&{height:30,fontSize:13,...c&&{padding:"4px 10px"}},...u&&{height:48,fontSize:15,...c&&{padding:"8px 22px"}}};return[...d,f,h,g]};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function BH(e){const t=e.palette.mode==="light",r=n=>({padding:"9px 13px 9px 12px",width:58,height:38,...n.size==="small"&&{padding:"4px 8px 4px 7px",width:40,height:24},"& .MuiSwitch-thumb":{width:14,height:14,boxShadow:"none",color:`${e.palette.common.white} !important`,...n.size==="small"&&{width:10,height:10}},"& .MuiSwitch-track":{opacity:1,borderRadius:14,backgroundColor:V(e.palette.grey[500],.48)},"& .MuiSwitch-switchBase":{left:3,padding:12,...n.size==="small"&&{padding:7},"&.Mui-checked":{transform:"translateX(13px)","&+.MuiSwitch-track":{opacity:1},...n.size==="small"&&{transform:"translateX(9px)"}},"&.Mui-disabled":{"& .MuiSwitch-thumb":{opacity:t?1:.48},"&+.MuiSwitch-track":{opacity:.48}}}});return{MuiSwitch:{styleOverrides:{root:({ownerState:n})=>r(n)}}}}function zH(e){return{MuiSelect:{defaultProps:{IconComponent:mH}}}}function WH(e){return{MuiSvgIcon:{styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}}}}function VH(e){const t=e.palette.mode==="light";return{MuiTooltip:{styleOverrides:{tooltip:{backgroundColor:e.palette.grey[t?800:700]},arrow:{color:e.palette.grey[t?800:700]}}}}}function HH(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5}}}}}function UH(e){return{MuiStepConnector:{styleOverrides:{line:{borderColor:e.palette.divider}}}}}function YH(e){return{MuiDataGrid:{styleOverrides:{root:{borderRadius:0,border:"none","& .clickable-row":{cursor:"pointer"},"& .no-clickable-row .clickable-row":{cursor:"initial"},"& .no-clickable-row .clickable-row:hover":{backgroundColor:"initial"},"&.simple":{"& .MuiDataGrid-columnHeaders":{color:e.palette.text.secondary,backgroundColor:"#fff",borderBottom:"none",borderRadius:0},"& .MuiDataGrid-columnHeaderTitle":{fontWeight:700,fontSize:11}},"& .MuiTablePagination-root":{borderTop:0},"& .MuiDataGrid-columnHeader, & .MuiDataGrid-cell":{padding:"0 16px"},"& .MuiDataGrid-columnHeaders":{color:e.palette.text.secondary,backgroundColor:e.palette.background.neutral,borderRadius:0},"& .MuiDataGrid-pinnedColumnHeaders":{backgroundColor:"inherit",boxShadow:"none"},"& .MuiDataGrid-pinnedColumns--right":{backgroundColor:"#fff",boxShadow:"-2px 0px 4px -2px rgba(0, 0, 0, 0.075)"},"& .MuiDataGrid-pinnedColumns--left":{backgroundColor:"#fff",boxShadow:"2px 0px 4px -2px rgba(0, 0, 0, 0.071)"},"& .MuiDataGrid-columnHeader--moving":{backgroundColor:e.palette.background.neutral},"& .MuiDataGrid-columnHeaderCheckbox":{width:"64px !important",minWidth:"64px !important",maxWidth:"64px !important"},"& .MuiDataGrid-cellCheckbox":{width:"64px !important",minWidth:"64px !important",maxWidth:"64px !important"},"& .MuiDataGrid-pinnedRows":{boxShadow:"none",fontWeight:"bold"},"& .hide-checkbox-select-all div":{display:"none !important"},"& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer":{border:"none"},"& .MuiDataGrid-columnSeparator":{color:e.palette.divider},"& .MuiDataGrid-columnSeparator:hover":{color:e.palette.primary.main},'& .MuiDataGrid-cell[data-field="__check__"]':{padding:0},'& .MuiDataGrid-columnHeader[data-field="__check__"]':{padding:0},"& .MuiDataGrid-columnHeader:focus, .MuiDataGrid-cell:focus, .MuiDataGrid-columnHeader:focus-within, .MuiDataGrid-cell:focus-within":{outline:"none"}},toolbarContainer:{padding:e.spacing(2),backgroundColor:e.palette.background.paper,borderTop:`solid 1px ${e.palette.divider}`,"& .MuiButton-root":{marginRight:e.spacing(1.5),color:e.palette.text.secondary,"&:hover":{backgroundColor:e.palette.action.hover}}},paper:{boxShadow:e.customShadows.dropdown},menu:{"& .MuiPaper-root":{boxShadow:e.customShadows.dropdown,padding:8,borderRadius:12},"& .MuiMenuItem-root":{borderRadius:8,...e.typography.body2,"& .MuiListItemIcon-root":{minWidth:"auto",color:e.palette.primary.main},"& .MuiListItemText-primary":{fontSize:14}}},panelFooter:{padding:e.spacing(2),justifyContent:"flex-end",borderTop:`1px solid ${e.palette.divider}`,"& .MuiButton-root":{"&:first-of-type":{marginRight:e.spacing(1.5),color:e.palette.text.primary,"&:hover":{backgroundColor:e.palette.action.hover}},"&:last-of-type":{color:e.palette.common.white,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark}}}},filterForm:{padding:e.spacing(1.5,0),"& .MuiFormControl-root":{margin:e.spacing(0,.5)},"& .MuiInput-root":{marginTop:e.spacing(3),"&::before, &::after":{display:"none"},"& .MuiNativeSelect-select, .MuiInput-input":{...e.typography.body2,padding:e.spacing(.75,1),borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.neutral},"& .MuiSvgIcon-root":{right:4}}}}}}}function GH(e){return{MuiSkeleton:{defaultProps:{animation:"wave"},styleOverrides:{root:{backgroundColor:e.palette.background.neutral}}}}}function qH(e){return{MuiBackdrop:{styleOverrides:{root:{backgroundColor:V(e.palette.grey[800],.8)},invisible:{background:"transparent"}}}}}const XH=["primary","secondary","info","success","warning","error"];function KH(e){const t=r=>{const n=r.variant==="buffer",i={borderRadius:4,"& .MuiLinearProgress-bar":{borderRadius:4},...n&&{backgroundColor:"transparent"}};return[...XH.map(a=>({...r.color===a&&{backgroundColor:$.alpha(e.palette[a].main,.24)}})),i]};return{MuiLinearProgress:{styleOverrides:{root:({ownerState:r})=>t(r)}}}}function ZH(e){return{MuiTimelineDot:{styleOverrides:{root:{boxShadow:"none"}}},MuiTimelineConnector:{styleOverrides:{root:{backgroundColor:e.palette.divider}}}}}function QH(e){return{MuiTreeView:{defaultProps:{defaultCollapseIcon:v.jsx(vH,{sx:{width:20,height:20}}),defaultExpandIcon:v.jsx(yH,{sx:{width:20,height:20}}),defaultEndIcon:v.jsx(bH,{sx:{color:"text.secondary",width:20,height:20}})}},MuiTreeItem:{styleOverrides:{label:{...e.typography.body2},iconContainer:{width:"auto"}}}}}function JH(e){return{MuiCheckbox:{defaultProps:{icon:v.jsx(fH,{}),checkedIcon:v.jsx(dH,{}),indeterminateIcon:v.jsx(hH,{})},styleOverrides:{root:({ownerState:t})=>({padding:e.spacing(1),...t.size==="small"&&{"& svg":{width:20,height:20}},...t.size==="medium"&&{"& svg":{width:24,height:24}}})}}}}function eU(e){return{MuiAccordion:{styleOverrides:{root:{backgroundColor:"transparent","&.Mui-expanded":{boxShadow:e.customShadows.z8,borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper},"&.Mui-disabled":{backgroundColor:"transparent"}}}},MuiAccordionSummary:{styleOverrides:{root:{paddingLeft:e.spacing(2),paddingRight:e.spacing(1),"&.Mui-disabled":{opacity:1,color:e.palette.action.disabled,"& .MuiTypography-root":{color:"inherit"}}},expandIconWrapper:{color:"inherit"}}}}}function tU(e){return{MuiTypography:{styleOverrides:{paragraph:{marginBottom:e.spacing(2)},gutterBottom:{marginBottom:e.spacing(1)}}}}}const rU=["primary","secondary","info","success","warning","error"];function nU(e){const t=e.palette.mode==="light",r=n=>{const i=n.variant==="outlined",o=n.variant==="soft",a={"& .MuiPaginationItem-root":{...i&&{borderColor:V(e.palette.grey[500],.32)},"&.Mui-selected":{fontWeight:e.typography.fontWeightMedium}}};return[...rU.map(c=>({...n.color===c&&{...o&&{"& .MuiPaginationItem-root":{"&.Mui-selected":{color:e.palette[c][t?"dark":"light"],backgroundColor:V(e.palette[c].main,.16),"&:hover":{backgroundColor:V(e.palette[c].main,.32)}}}}}})),a]};return{MuiPagination:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:n})=>r(n)}}}}function iU(e){return{MuiBreadcrumbs:{styleOverrides:{separator:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},li:{display:"inline-flex",margin:e.spacing(.25,0),"& > *":{...e.typography.body2}}}}}}const oU=["primary","secondary","info","success","warning","error"];function aU(e){const t=r=>{const n=r.color==="inherit",i=r.variant==="contained",o=r.variant==="outlined",a=r.variant==="text",s=r.variant==="soft",c=r.orientation==="horizontal",l=r.orientation==="vertical",u={"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!o&&{borderStyle:"solid",...n&&{borderColor:V(e.palette.grey[500],.32)},...c&&{borderWidth:"0px 1px 0px 0px"},...l&&{borderWidth:"0px 0px 1px 0px"}}}}},f=oU.map(h=>({"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!o&&{...r.color===h&&{...i&&{borderColor:V(e.palette[h].dark,.48)},...a&&{borderColor:V(e.palette[h].main,.48)},...s&&{borderColor:V(e.palette[h].dark,.24)}}}}}})),d={"& .MuiButtonGroup-grouped.Mui-disabled":{"&:not(:last-of-type)":{borderColor:e.palette.action.disabledBackground}}};return[...f,u,d]};return{MuiButtonGroup:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:r})=>t(r)}}}}function sU(e){return{MuiAutocomplete:{styleOverrides:{root:{"& span.MuiAutocomplete-tag":{...e.typography.body2,width:24,height:24,lineHeight:"24px",textAlign:"center",borderRadius:e.shape.borderRadius,backgroundColor:V(e.palette.grey[500],.16)}},paper:{boxShadow:e.customShadows.dropdown},listbox:{padding:e.spacing(0,1)},option:{...e.typography.body2,padding:e.spacing(1),margin:e.spacing(.75,0),borderRadius:e.shape.borderRadius}}}}}const lU=["primary","secondary","info","success","warning","error"];function cU(e){const t=r=>{const i={...r.color==="standard"&&{"&.Mui-selected":{borderColor:"inherit"}}},o=lU.map(s=>({...r.color===s&&{"&:hover":{borderColor:V(e.palette[s].main,.48),backgroundColor:V(e.palette[s].main,e.palette.action.hoverOpacity)},"&.Mui-selected":{borderColor:e.palette[s].main}}})),a={"&.Mui-disabled":{"&.Mui-selected":{color:e.palette.action.disabled,backgroundColor:e.palette.action.selected,borderColor:e.palette.action.disabledBackground}}};return[...o,i,a]};return{MuiToggleButton:{styleOverrides:{root:({ownerState:r})=>t(r)}},MuiToggleButtonGroup:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper,border:`solid 1px ${V(e.palette.grey[500],.16)}`},grouped:{margin:4,borderColor:"transparent !important",borderRadius:`${e.shape.borderRadius}px !important`}}}}}function uU(e){return{MuiFormControlLabel:{styleOverrides:{label:{...e.typography.body2}}},MuiFormHelperText:{defaultProps:{component:"div"},styleOverrides:{root:{marginTop:e.spacing(1)}}},MuiFormLabel:{styleOverrides:{root:{color:e.palette.text.disabled}}}}}function fU(e){return{MuiLoadingButton:{variants:[{props:{loading:!0,loadingPosition:"start",size:"small"},style:{"& .MuiLoadingButton-loadingIndicatorStart":{left:10}}},{props:{loading:!0,loadingPosition:"end",size:"small"},style:{"& .MuiLoadingButton-loadingIndicatorEnd":{right:10}}}],styleOverrides:{loadingIndicatorStart:{left:14},loadingIndicatorEnd:{right:14}}}}}function dU(e){return Object.assign(iH(e),CH(e),wH(e),oH(e),SH(e),TH(),AH(e),kH(e),_H(),EH(e),OH(e),$H(),MH(e),BH(e),zH(),NH(e),LH(e),jH(e),IH(e),FH(e),DH(e),UH(e),VH(e),HH(e),WH(),JH(e),YH(e),GH(e),ZH(e),QH(e),qH(e),KH(e),eU(e),tU(e),nU(e),aU(e),iU(e),sU(e),uU(e),cU(e),fU())}const Jv=an("light"),hU=Jv.grey[500],pU=Jv.common.black;function ey(e){const t=V(e,.2),r=V(e,.14),n=V(e,.12);return["none",`0px 2px 1px -1px ${t},0px 1px 1px 0px ${r},0px 1px 3px 0px ${n}`,`0px 3px 1px -2px ${t},0px 2px 2px 0px ${r},0px 1px 5px 0px ${n}`,`0px 3px 3px -2px ${t},0px 3px 4px 0px ${r},0px 1px 8px 0px ${n}`,`0px 2px 4px -1px ${t},0px 4px 5px 0px ${r},0px 1px 10px 0px ${n}`,`0px 3px 5px -1px ${t},0px 5px 8px 0px ${r},0px 1px 14px 0px ${n}`,`0px 3px 5px -1px ${t},0px 6px 10px 0px ${r},0px 1px 18px 0px ${n}`,`0px 4px 5px -2px ${t},0px 7px 10px 1px ${r},0px 2px 16px 1px ${n}`,`0px 5px 5px -3px ${t},0px 8px 10px 1px ${r},0px 3px 14px 2px ${n}`,`0px 5px 6px -3px ${t},0px 9px 12px 1px ${r},0px 3px 16px 2px ${n}`,`0px 6px 6px -3px ${t},0px 10px 14px 1px ${r},0px 4px 18px 3px ${n}`,`0px 6px 7px -4px ${t},0px 11px 15px 1px ${r},0px 4px 20px 3px ${n}`,`0px 7px 8px -4px ${t},0px 12px 17px 2px ${r},0px 5px 22px 4px ${n}`,`0px 7px 8px -4px ${t},0px 13px 19px 2px ${r},0px 5px 24px 4px ${n}`,`0px 7px 9px -4px ${t},0px 14px 21px 2px ${r},0px 5px 26px 4px ${n}`,`0px 8px 9px -5px ${t},0px 15px 22px 2px ${r},0px 6px 28px 5px ${n}`,`0px 8px 10px -5px ${t},0px 16px 24px 2px ${r},0px 6px 30px 5px ${n}`,`0px 8px 11px -5px ${t},0px 17px 26px 2px ${r},0px 6px 32px 5px ${n}`,`0px 9px 11px -5px ${t},0px 18px 28px 2px ${r},0px 7px 34px 6px ${n}`,`0px 9px 12px -6px ${t},0px 19px 29px 2px ${r},0px 7px 36px 6px ${n}`,`0px 10px 13px -6px ${t},0px 20px 31px 3px ${r},0px 8px 38px 7px ${n}`,`0px 10px 13px -6px ${t},0px 21px 33px 3px ${r},0px 8px 40px 7px ${n}`,`0px 10px 14px -6px ${t},0px 22px 35px 3px ${r},0px 8px 42px 7px ${n}`,`0px 11px 14px -7px ${t},0px 23px 36px 3px ${r},0px 9px 44px 8px ${n}`,`0px 11px 15px -7px ${t},0px 24px 38px 3px ${r},0px 9px 46px 8px ${n}`]}const gU=e=>ey(e==="light"?hU:pU);function Lt(e){return`${e/16}rem`}function zi({sm:e,md:t,lg:r}){return{"@media (min-width:600px)":{fontSize:Lt(e)},"@media (min-width:900px)":{fontSize:Lt(t)},"@media (min-width:1200px)":{fontSize:Lt(r)}}}const mU={fontFamily:"Public Sans, sans-serif",fontWeightRegular:400,fontWeightMedium:600,fontWeightBold:700,h1:{fontWeight:800,lineHeight:80/64,fontSize:Lt(40),...zi({sm:52,md:58,lg:64})},h2:{fontWeight:800,lineHeight:64/48,fontSize:Lt(32),...zi({sm:40,md:44,lg:48})},h3:{fontWeight:700,lineHeight:1.5,fontSize:Lt(24),...zi({sm:26,md:30,lg:32})},h4:{fontWeight:700,lineHeight:1.5,fontSize:Lt(20),...zi({sm:20,md:24,lg:24})},h5:{fontWeight:700,lineHeight:1.5,fontSize:Lt(18),...zi({sm:19,md:20,lg:20})},h6:{fontWeight:700,lineHeight:28/18,fontSize:Lt(17),...zi({sm:18,md:18,lg:18})},subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:Lt(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:Lt(14)},body1:{lineHeight:1.5,fontSize:Lt(16)},body2:{lineHeight:22/14,fontSize:Lt(14)},caption:{lineHeight:1.5,fontSize:Lt(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:Lt(12),textTransform:"uppercase"},button:{fontWeight:700,lineHeight:24/14,fontSize:Lt(14),textTransform:"capitalize"}},ty=({children:e,color:t,direction:r="ltr",themeMode:n="light"})=>{const i=p.useMemo(()=>({palette:QV(t),typography:mU,shape:{borderRadius:8},direction:r,shadows:gU(n),customShadows:tH(n,t)}),[t,r,n]),o=F0(i);return o.components=dU(o),v.jsx(m0,{injectFirst:!0,children:v.jsxs(N0,{theme:o,children:[v.jsx($.CssBaseline,{}),v.jsx(rH,{}),e]})})},OX="",PX="",vU=({themeColor:e,children:t})=>v.jsx(Ki.LocalizationProvider,{dateAdapter:zW,adapterLocale:CV,children:v.jsx(ty,{color:e,children:t})}),Wi=e=>e&&e.charAt(0).toUpperCase(),yU=e=>["A","N","H","L","Q"].includes(Wi(e))?"primary":["F","G","T","I","J"].includes(Wi(e))?"info":["K","D","Y","B","O"].includes(Wi(e))?"success":["P","E","R","S","U"].includes(Wi(e))?"warning":["V","W","X","M","Z"].includes(Wi(e))?"error":"default",ry=p.forwardRef(({color:e,name:t="",BadgeProps:r,children:n,sx:i,...o},a)=>{var d,h;const s=ii(),c=Wi(t),l=yU(t),u=e||l,f=u==="default"?v.jsxs($.Avatar,{ref:a,sx:i,...o,children:[t&&c,n]}):v.jsxs($.Avatar,{ref:a,sx:{color:(d=s.palette[u])==null?void 0:d.contrastText,backgroundColor:(h=s.palette[u])==null?void 0:h.main,fontWeight:s.typography.fontWeightMedium,...i},...o,children:[t&&c,n]});return r?v.jsx($.Badge,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"right"},...r,children:f}):f});ry.displayName="CustomAvatar";const sn={tiny:24,small:32,medium:40,large:56},ny=p.forwardRef(({size:e="small",compact:t,max:r,children:n,sx:i,...o},a)=>{const s=e==="tiny",c=e==="small",l=e==="medium",u=e==="large",f={width:40,height:40,position:"relative","& .MuiAvatarGroup-avatar":{m:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}}};return v.jsx($.AvatarGroup,{ref:a,max:t?3:r,spacing:(s||c)&&"medium"||"small",sx:{"& .MuiAvatar-root":{...u&&{width:sn.large,height:sn.large,"&:first-of-type":{fontSize:16}},...l&&{width:sn.medium,height:sn.medium},...c&&{width:sn.small,height:sn.small},...s&&{width:sn.tiny,height:sn.tiny}},...t&&{...f},...i},...o,children:n})});ny.displayName="CustomAvatarGroup";const iy=$.styled($.Box)({display:"flex",flexDirection:"row",alignItems:"center",padding:"0 16px"}),bU=()=>{const e=Rn.useGridApiContext(),{rowHeight:t,paginationModel:r}=Rn.useGridRootProps(),n=(r==null?void 0:r.pageSize)||12,i=Rn.gridColumnsTotalWidthSelector(e),o=Rn.gridColumnPositionsSelector(e),a=p.useMemo(()=>o.filter(l=>l<=i).length,[i,o]),s=e.current.getVisibleColumns().slice(0,a),c=p.useMemo(()=>{const l=[];for(let u=0;u<n;u+=1){for(const f of s)l.push(v.jsx(iy,{sx:{justifyContent:f.align,minWidth:f.cellClassName==="MuiDataGrid-cellCheckbox"?64:void 0},children:v.jsx($.Skeleton,{width:"100%"})},`column-${u}-${f.field}`));l.push(v.jsx(iy,{},`fill-${u}`))}return l},[n,s]);return v.jsx("div",{style:{display:"grid",gridTemplateColumns:`${s.map(({computedWidth:l})=>`${l}px`).join(" ")} 1fr`,gridAutoRows:t},children:c})},xU=({columns:e,...t})=>{const r=[{...Rn.GRID_CHECKBOX_SELECTION_COL_DEF,width:71},...e],n=p.useCallback(i=>({bottom:i.isLastVisible?0:8}),[]);return v.jsx(Rn.DataGridPremium,{columns:r,autoHeight:!0,rowHeight:72,getRowSpacing:n,slots:{loadingOverlay:bU},localeText:{actionsCellMore:"Ações",aggregationFunctionLabelAvg:"Média",aggregationFunctionLabelMax:"Máx",aggregationFunctionLabelMin:"Mín",aggregationFunctionLabelSize:"Quantidade",aggregationFunctionLabelSum:"Soma",aggregationMenuItemHeader:"Agregação",booleanCellFalseLabel:"Ativos",booleanCellTrueLabel:"Inativos",checkboxSelectionHeaderName:"Coluna se Seleção",columnHeaderFiltersLabel:"Filtro",columnMenuFilter:"Filtrar",columnMenuHideColumn:"Ocultar coluna",columnMenuLabel:"Colunas",columnMenuManageColumns:"Gerenciar colunas",columnsPanelHideAllButton:"Ocultar todas",columnsPanelShowAllButton:"Mostar todas",columnsPanelTextFieldLabel:"Buscar coluna",columnsPanelTextFieldPlaceholder:"Digite o nome da coluna",filterPanelAddFilter:"Adicionar filtro",filterPanelColumns:"Colunas",filterPanelDeleteIconLabel:"Remover",filterPanelInputLabel:"Filtro",filterPanelInputPlaceholder:"Valor do filtro",filterPanelLogicOperator:"Condição",filterPanelOperator:"Condição",filterPanelOperatorAnd:"e",filterPanelOperatorOr:"ou",filterPanelRemoveAll:"Remover todos",groupColumn:i=>`Agrupar por ${i}`,groupingColumnHeaderName:"Grupo",pinToLeft:"Fixar na esquerda",pinToRight:"Fixar na direita",toolbarColumns:"Colunas",toolbarDensity:"Densidade",toolbarDensityComfortable:"Confortável",toolbarDensityCompact:"Compacto",toolbarDensityStandard:"Padrão",toolbarExport:"Exportar",toolbarExportCSV:"Exportar como CSV",toolbarExportExcel:"Exportar como Excel",toolbarExportLabel:"Exportar",toolbarExportPrint:"Imprimir",toolbarFilters:"Filtros",unGroupColumn:i=>`Parar de agrupar por ${i}`,unpin:"Desafixar",footerRowSelected:i=>`${i} ${i===1?"linha selecionada":"linhas selecionadas"}`,MuiTablePagination:{labelRowsPerPage:"N° de linhas",labelDisplayedRows:i=>`${i.from}-${i.to} de ${i.count}`}},...t})},wU=({children:e,waitBeforeShow:t=500})=>{const[r,n]=p.useState(!1);return p.useEffect(()=>{const i=setTimeout(()=>n(!0),t);return()=>clearTimeout(i)},[t]),r?e:null};var oy={exports:{}};(()=>{var e={296:(i,o,a)=>{var s=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt,d=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,h=typeof self=="object"&&self&&self.Object===Object&&self,g=d||h||Function("return this")(),m=Object.prototype.toString,y=Math.max,x=Math.min,b=function(){return g.Date.now()};function S(w){var E=typeof w;return!!w&&(E=="object"||E=="function")}function P(w){if(typeof w=="number")return w;if(function(M){return typeof M=="symbol"||function(L){return!!L&&typeof L=="object"}(M)&&m.call(M)=="[object Symbol]"}(w))return NaN;if(S(w)){var E=typeof w.valueOf=="function"?w.valueOf():w;w=S(E)?E+"":E}if(typeof w!="string")return w===0?w:+w;w=w.replace(s,"");var O=l.test(w);return O||u.test(w)?f(w.slice(2),O?2:8):c.test(w)?NaN:+w}i.exports=function(w,E,O){var M,L,W,de,ve,ce,q=0,Y=!1,ge=!1,Te=!0;if(typeof w!="function")throw new TypeError("Expected a function");function We(ne){var G=M,ue=L;return M=L=void 0,q=ne,de=w.apply(ue,G)}function Me(ne){var G=ne-ce;return ce===void 0||G>=E||G<0||ge&&ne-q>=W}function D(){var ne=b();if(Me(ne))return I(ne);ve=setTimeout(D,function(G){var ue=E-(G-ce);return ge?x(ue,W-(G-q)):ue}(ne))}function I(ne){return ve=void 0,Te&&M?We(ne):(M=L=void 0,de)}function Z(){var ne=b(),G=Me(ne);if(M=arguments,L=this,ce=ne,G){if(ve===void 0)return function(ue){return q=ue,ve=setTimeout(D,E),Y?We(ue):de}(ce);if(ge)return ve=setTimeout(D,E),We(ce)}return ve===void 0&&(ve=setTimeout(D,E)),de}return E=P(E)||0,S(O)&&(Y=!!O.leading,W=(ge="maxWait"in O)?y(P(O.maxWait)||0,E):W,Te="trailing"in O?!!O.trailing:Te),Z.cancel=function(){ve!==void 0&&clearTimeout(ve),q=0,M=ce=L=ve=void 0},Z.flush=function(){return ve===void 0?de:I(b())},Z}},96:(i,o,a)=>{var s="Expected a function",c=NaN,l="[object Symbol]",u=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,h=/^0o[0-7]+$/i,g=parseInt,m=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,y=typeof self=="object"&&self&&self.Object===Object&&self,x=m||y||Function("return this")(),b=Object.prototype.toString,S=Math.max,P=Math.min,w=function(){return x.Date.now()};function E(M){var L=typeof M;return!!M&&(L=="object"||L=="function")}function O(M){if(typeof M=="number")return M;if(function(de){return typeof de=="symbol"||function(ve){return!!ve&&typeof ve=="object"}(de)&&b.call(de)==l}(M))return c;if(E(M)){var L=typeof M.valueOf=="function"?M.valueOf():M;M=E(L)?L+"":L}if(typeof M!="string")return M===0?M:+M;M=M.replace(u,"");var W=d.test(M);return W||h.test(M)?g(M.slice(2),W?2:8):f.test(M)?c:+M}i.exports=function(M,L,W){var de=!0,ve=!0;if(typeof M!="function")throw new TypeError(s);return E(W)&&(de="leading"in W?!!W.leading:de,ve="trailing"in W?!!W.trailing:ve),function(ce,q,Y){var ge,Te,We,Me,D,I,Z=0,ne=!1,G=!1,ue=!0;if(typeof ce!="function")throw new TypeError(s);function se(ye){var F=ge,Le=Te;return ge=Te=void 0,Z=ye,Me=ce.apply(Le,F)}function pe(ye){var F=ye-I;return I===void 0||F>=q||F<0||G&&ye-Z>=We}function K(){var ye=w();if(pe(ye))return Q(ye);D=setTimeout(K,function(F){var Le=q-(F-I);return G?P(Le,We-(F-Z)):Le}(ye))}function Q(ye){return D=void 0,ue&&ge?se(ye):(ge=Te=void 0,Me)}function te(){var ye=w(),F=pe(ye);if(ge=arguments,Te=this,I=ye,F){if(D===void 0)return function(Le){return Z=Le,D=setTimeout(K,q),ne?se(Le):Me}(I);if(G)return D=setTimeout(K,q),se(I)}return D===void 0&&(D=setTimeout(K,q)),Me}return q=O(q)||0,E(Y)&&(ne=!!Y.leading,We=(G="maxWait"in Y)?S(O(Y.maxWait)||0,q):We,ue="trailing"in Y?!!Y.trailing:ue),te.cancel=function(){D!==void 0&&clearTimeout(D),Z=0,ge=I=Te=D=void 0},te.flush=function(){return D===void 0?Me:Q(w())},te}(M,L,{leading:de,maxWait:L,trailing:ve})}},703:(i,o,a)=>{var s=a(414);function c(){}function l(){}l.resetWarningCache=c,i.exports=function(){function u(h,g,m,y,x,b){if(b!==s){var S=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 S.name="Invariant Violation",S}}function f(){return u}u.isRequired=u;var d={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:f,element:u,elementType:u,instanceOf:f,node:u,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:c};return d.PropTypes=d,d}},697:(i,o,a)=>{i.exports=a(703)()},414:i=>{i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function r(i){var o=t[i];if(o!==void 0)return o.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,r),a.exports}r.n=i=>{var o=i&&i.__esModule?()=>i.default:()=>i;return r.d(o,{a:o}),o},r.d=(i,o)=>{for(var a in o)r.o(o,a)&&!r.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:o[a]})},r.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),r.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),r.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var n={};(()=>{r.r(n),r.d(n,{LazyLoadComponent:()=>ae,LazyLoadImage:()=>st,trackWindowScroll:()=>I});const i=p;var o=r.n(i),a=r(697);const s=sd;var c=r.n(s);function l(){return typeof window<"u"&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function u(k){return u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},u(k)}function f(k,T){var R=Object.keys(k);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(k);T&&(N=N.filter(function(we){return Object.getOwnPropertyDescriptor(k,we).enumerable})),R.push.apply(R,N)}return R}function d(k,T,R){return(T=g(T))in k?Object.defineProperty(k,T,{value:R,enumerable:!0,configurable:!0,writable:!0}):k[T]=R,k}function h(k,T){for(var R=0;R<T.length;R++){var N=T[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,g(N.key),N)}}function g(k){var T=function(R,N){if(u(R)!=="object"||R===null)return R;var we=R[Symbol.toPrimitive];if(we!==void 0){var Ee=we.call(R,"string");if(u(Ee)!=="object")return Ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(R)}(k);return u(T)==="symbol"?T:String(T)}function m(k,T){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},m(k,T)}function y(k){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},y(k)}var x=function(k){k.forEach(function(T){T.isIntersecting&&T.target.onVisible()})},b={},S=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&m(_,j)})(Fe,k);var T,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=y(N);if(we){var le=y(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(u(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Oe){if(Oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe}(ie)}(this,_)});function Fe(_){var j;if(function(ie,re){if(!(ie instanceof re))throw new TypeError("Cannot call a class as a function")}(this,Fe),(j=Ee.call(this,_)).supportsObserver=!_.scrollPosition&&_.useIntersectionObserver&&l(),j.supportsObserver){var le=_.threshold;j.observer=function(ie){return b[ie]=b[ie]||new IntersectionObserver(x,{rootMargin:ie+"px"}),b[ie]}(le)}return j}return T=Fe,R=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.scrollPosition,j=this.placeholder.getBoundingClientRect(),le=c().findDOMNode(this.placeholder).style,ie=parseInt(le.getPropertyValue("margin-left"),10)||0,re=parseInt(le.getPropertyValue("margin-top"),10)||0;return{bottom:_.y+j.bottom+re,left:_.x+j.left+ie,right:_.x+j.right+ie,top:_.y+j.top+re}}},{key:"isPlaceholderInViewport",value:function(){if(typeof window>"u"||!this.placeholder)return!1;var _=this.props,j=_.scrollPosition,le=_.threshold,ie=this.getPlaceholderBoundingBox(j),re=j.y+window.innerHeight,Oe=j.x,it=j.x+window.innerWidth,Qe=j.y;return Qe-le<=ie.bottom&&re+le>=ie.top&&Oe-le<=ie.right&&it+le>=ie.left}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var _=this,j=this.props,le=j.className,ie=j.height,re=j.placeholder,Oe=j.style,it=j.width;if(re&&typeof re.type!="function")return o().cloneElement(re,{ref:function(Je){return _.placeholder=Je}});var Qe=function(Je){for(var Ct=1;Ct<arguments.length;Ct++){var pt=arguments[Ct]!=null?arguments[Ct]:{};Ct%2?f(Object(pt),!0).forEach(function(kt){d(Je,kt,pt[kt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Je,Object.getOwnPropertyDescriptors(pt)):f(Object(pt)).forEach(function(kt){Object.defineProperty(Je,kt,Object.getOwnPropertyDescriptor(pt,kt))})}return Je}({display:"inline-block"},Oe);return it!==void 0&&(Qe.width=it),ie!==void 0&&(Qe.height=ie),o().createElement("span",{className:le,ref:function(Je){return _.placeholder=Je},style:Qe},re)}}],R&&h(T.prototype,R),Object.defineProperty(T,"prototype",{writable:!1}),Fe}(o().Component);S.propTypes={onVisible:a.PropTypes.func.isRequired,className:a.PropTypes.string,height:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string]),placeholder:a.PropTypes.element,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,scrollPosition:a.PropTypes.shape({x:a.PropTypes.number.isRequired,y:a.PropTypes.number.isRequired}),width:a.PropTypes.oneOfType([a.PropTypes.number,a.PropTypes.string])},S.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const P=S;var w=r(296),E=r.n(w),O=r(96),M=r.n(O),L=function(k){var T=getComputedStyle(k,null);return T.getPropertyValue("overflow")+T.getPropertyValue("overflow-y")+T.getPropertyValue("overflow-x")};const W=function(k){if(!(k instanceof HTMLElement))return window;for(var T=k;T&&T instanceof HTMLElement;){if(/(scroll|auto)/.test(L(T)))return T;T=T.parentNode}return window};function de(k){return de=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},de(k)}var ve=["delayMethod","delayTime"];function ce(){return ce=Object.assign?Object.assign.bind():function(k){for(var T=1;T<arguments.length;T++){var R=arguments[T];for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&(k[N]=R[N])}return k},ce.apply(this,arguments)}function q(k,T){for(var R=0;R<T.length;R++){var N=T[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,(we=function(Ee,Fe){if(de(Ee)!=="object"||Ee===null)return Ee;var _=Ee[Symbol.toPrimitive];if(_!==void 0){var j=_.call(Ee,"string");if(de(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Ee)}(N.key),de(we)==="symbol"?we:String(we)),N)}var we}function Y(k,T){return Y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},Y(k,T)}function ge(k,T){if(T&&(de(T)==="object"||typeof T=="function"))return T;if(T!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Te(k)}function Te(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function We(k){return We=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},We(k)}var Me=function(){return typeof window>"u"?0:window.scrollX||window.pageXOffset},D=function(){return typeof window>"u"?0:window.scrollY||window.pageYOffset};const I=function(k){var T=function(R){(function(le,ie){if(typeof ie!="function"&&ie!==null)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(ie&&ie.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Object.defineProperty(le,"prototype",{writable:!1}),ie&&Y(le,ie)})(j,R);var N,we,Ee,Fe,_=(Ee=j,Fe=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var le,ie=We(Ee);if(Fe){var re=We(this).constructor;le=Reflect.construct(ie,arguments,re)}else le=ie.apply(this,arguments);return ge(this,le)});function j(le){var ie;if(function(Oe,it){if(!(Oe instanceof it))throw new TypeError("Cannot call a class as a function")}(this,j),(ie=_.call(this,le)).useIntersectionObserver=le.useIntersectionObserver&&l(),ie.useIntersectionObserver)return ge(ie);var re=ie.onChangeScroll.bind(Te(ie));return le.delayMethod==="debounce"?ie.delayedScroll=E()(re,le.delayTime):le.delayMethod==="throttle"&&(ie.delayedScroll=M()(re,le.delayTime)),ie.state={scrollPosition:{x:Me(),y:D()}},ie.baseComponentRef=o().createRef(),ie}return N=j,(we=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){typeof window>"u"||this.useIntersectionObserver||W(c().findDOMNode(this.baseComponentRef.current))!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement=W(c().findDOMNode(this.baseComponentRef.current)),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){typeof window>"u"||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:Me(),y:D()}})}},{key:"render",value:function(){var le=this.props,ie=(le.delayMethod,le.delayTime,function(Oe,it){if(Oe==null)return{};var Qe,Je,Ct=function(kt,Vr){if(kt==null)return{};var Hr,Fn,la={},yl=Object.keys(kt);for(Fn=0;Fn<yl.length;Fn++)Hr=yl[Fn],Vr.indexOf(Hr)>=0||(la[Hr]=kt[Hr]);return la}(Oe,it);if(Object.getOwnPropertySymbols){var pt=Object.getOwnPropertySymbols(Oe);for(Je=0;Je<pt.length;Je++)Qe=pt[Je],it.indexOf(Qe)>=0||Object.prototype.propertyIsEnumerable.call(Oe,Qe)&&(Ct[Qe]=Oe[Qe])}return Ct}(le,ve)),re=this.useIntersectionObserver?null:this.state.scrollPosition;return o().createElement(k,ce({forwardRef:this.baseComponentRef,scrollPosition:re},ie))}}])&&q(N.prototype,we),Object.defineProperty(N,"prototype",{writable:!1}),j}(o().Component);return T.propTypes={delayMethod:a.PropTypes.oneOf(["debounce","throttle"]),delayTime:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool},T.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},T};function Z(k){return Z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},Z(k)}function ne(k,T){for(var R=0;R<T.length;R++){var N=T[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,(we=function(Ee,Fe){if(Z(Ee)!=="object"||Ee===null)return Ee;var _=Ee[Symbol.toPrimitive];if(_!==void 0){var j=_.call(Ee,"string");if(Z(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Ee)}(N.key),Z(we)==="symbol"?we:String(we)),N)}var we}function G(k,T){return G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},G(k,T)}function ue(k){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},ue(k)}var se=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&G(_,j)})(Fe,k);var T,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=ue(N);if(we){var le=ue(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(Z(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Oe){if(Oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe}(ie)}(this,_)});function Fe(_){return function(j,le){if(!(j instanceof le))throw new TypeError("Cannot call a class as a function")}(this,Fe),Ee.call(this,_)}return T=Fe,(R=[{key:"render",value:function(){return o().createElement(P,this.props)}}])&&ne(T.prototype,R),Object.defineProperty(T,"prototype",{writable:!1}),Fe}(o().Component);const pe=I(se);function K(k){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},K(k)}function Q(k,T){for(var R=0;R<T.length;R++){var N=T[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,(we=function(Ee,Fe){if(K(Ee)!=="object"||Ee===null)return Ee;var _=Ee[Symbol.toPrimitive];if(_!==void 0){var j=_.call(Ee,"string");if(K(j)!=="object")return j;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(Ee)}(N.key),K(we)==="symbol"?we:String(we)),N)}var we}function te(k,T){return te=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},te(k,T)}function ye(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function F(k){return F=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},F(k)}var Le=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&te(_,j)})(Fe,k);var T,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=F(N);if(we){var le=F(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(K(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ye(ie)}(this,_)});function Fe(_){var j;(function(it,Qe){if(!(it instanceof Qe))throw new TypeError("Cannot call a class as a function")})(this,Fe),j=Ee.call(this,_);var le=_.afterLoad,ie=_.beforeLoad,re=_.scrollPosition,Oe=_.visibleByDefault;return j.state={visible:Oe},Oe&&(ie(),le()),j.onVisible=j.onVisible.bind(ye(j)),j.isScrollTracked=!!(re&&Number.isFinite(re.x)&&re.x>=0&&Number.isFinite(re.y)&&re.y>=0),j}return T=Fe,(R=[{key:"componentDidUpdate",value:function(_,j){j.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var _=this.props,j=_.className,le=_.delayMethod,ie=_.delayTime,re=_.height,Oe=_.placeholder,it=_.scrollPosition,Qe=_.style,Je=_.threshold,Ct=_.useIntersectionObserver,pt=_.width;return this.isScrollTracked||Ct&&l()?o().createElement(P,{className:j,height:re,onVisible:this.onVisible,placeholder:Oe,scrollPosition:it,style:Qe,threshold:Je,useIntersectionObserver:Ct,width:pt}):o().createElement(pe,{className:j,delayMethod:le,delayTime:ie,height:re,onVisible:this.onVisible,placeholder:Oe,style:Qe,threshold:Je,width:pt})}}])&&Q(T.prototype,R),Object.defineProperty(T,"prototype",{writable:!1}),Fe}(o().Component);Le.propTypes={afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool},Le.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const ae=Le;function ut(k){return ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},ut(k)}var qt=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function Nt(k,T){var R=Object.keys(k);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(k);T&&(N=N.filter(function(we){return Object.getOwnPropertyDescriptor(k,we).enumerable})),R.push.apply(R,N)}return R}function Wr(k){for(var T=1;T<arguments.length;T++){var R=arguments[T]!=null?arguments[T]:{};T%2?Nt(Object(R),!0).forEach(function(N){gr(k,N,R[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(R)):Nt(Object(R)).forEach(function(N){Object.defineProperty(k,N,Object.getOwnPropertyDescriptor(R,N))})}return k}function gr(k,T,R){return(T=fn(T))in k?Object.defineProperty(k,T,{value:R,enumerable:!0,configurable:!0,writable:!0}):k[T]=R,k}function mr(){return mr=Object.assign?Object.assign.bind():function(k){for(var T=1;T<arguments.length;T++){var R=arguments[T];for(var N in R)Object.prototype.hasOwnProperty.call(R,N)&&(k[N]=R[N])}return k},mr.apply(this,arguments)}function sa(k,T){for(var R=0;R<T.length;R++){var N=T[R];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(k,fn(N.key),N)}}function fn(k){var T=function(R,N){if(ut(R)!=="object"||R===null)return R;var we=R[Symbol.toPrimitive];if(we!==void 0){var Ee=we.call(R,"string");if(ut(Ee)!=="object")return Ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(R)}(k);return ut(T)==="symbol"?T:String(T)}function Ln(k,T){return Ln=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,N){return R.__proto__=N,R},Ln(k,T)}function X(k){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(T){return T.__proto__||Object.getPrototypeOf(T)},X(k)}var me=function(k){(function(_,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(j&&j.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),Object.defineProperty(_,"prototype",{writable:!1}),j&&Ln(_,j)})(Fe,k);var T,R,N,we,Ee=(N=Fe,we=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var _,j=X(N);if(we){var le=X(this).constructor;_=Reflect.construct(j,arguments,le)}else _=j.apply(this,arguments);return function(ie,re){if(re&&(ut(re)==="object"||typeof re=="function"))return re;if(re!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(Oe){if(Oe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe}(ie)}(this,_)});function Fe(_){var j;return function(le,ie){if(!(le instanceof ie))throw new TypeError("Cannot call a class as a function")}(this,Fe),(j=Ee.call(this,_)).state={loaded:!1},j}return T=Fe,(R=[{key:"onImageLoad",value:function(){var _=this;return this.state.loaded?null:function(j){_.props.onLoad(j),_.props.afterLoad(),_.setState({loaded:!0})}}},{key:"getImg",value:function(){var _=this.props,j=(_.afterLoad,_.beforeLoad,_.delayMethod,_.delayTime,_.effect,_.placeholder,_.placeholderSrc,_.scrollPosition,_.threshold,_.useIntersectionObserver,_.visibleByDefault,_.wrapperClassName,_.wrapperProps,function(le,ie){if(le==null)return{};var re,Oe,it=function(Je,Ct){if(Je==null)return{};var pt,kt,Vr={},Hr=Object.keys(Je);for(kt=0;kt<Hr.length;kt++)pt=Hr[kt],Ct.indexOf(pt)>=0||(Vr[pt]=Je[pt]);return Vr}(le,ie);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(le);for(Oe=0;Oe<Qe.length;Oe++)re=Qe[Oe],ie.indexOf(re)>=0||Object.prototype.propertyIsEnumerable.call(le,re)&&(it[re]=le[re])}return it}(_,qt));return o().createElement("img",mr({},j,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var _=this.props,j=_.beforeLoad,le=_.className,ie=_.delayMethod,re=_.delayTime,Oe=_.height,it=_.placeholder,Qe=_.scrollPosition,Je=_.style,Ct=_.threshold,pt=_.useIntersectionObserver,kt=_.visibleByDefault,Vr=_.width;return o().createElement(ae,{beforeLoad:j,className:le,delayMethod:ie,delayTime:re,height:Oe,placeholder:it,scrollPosition:Qe,style:Je,threshold:Ct,useIntersectionObserver:pt,visibleByDefault:kt,width:Vr},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(_){var j=this.props,le=j.effect,ie=j.height,re=j.placeholderSrc,Oe=j.width,it=j.wrapperClassName,Qe=j.wrapperProps,Je=this.state.loaded,Ct=Je?" lazy-load-image-loaded":"",pt=Je||!re?{}:{backgroundImage:"url(".concat(re,")"),backgroundSize:"100% 100%"};return o().createElement("span",mr({className:it+" lazy-load-image-background "+le+Ct,style:Wr(Wr({},pt),{},{color:"transparent",display:"inline-block",height:ie,width:Oe})},Qe),_)}},{key:"render",value:function(){var _=this.props,j=_.effect,le=_.placeholderSrc,ie=_.visibleByDefault,re=_.wrapperClassName,Oe=_.wrapperProps,it=this.getLazyLoadImage();return(j||le)&&!ie||re||Oe?this.getWrappedLazyLoadImage(it):it}}])&&sa(T.prototype,R),Object.defineProperty(T,"prototype",{writable:!1}),Fe}(o().Component);me.propTypes={onLoad:a.PropTypes.func,afterLoad:a.PropTypes.func,beforeLoad:a.PropTypes.func,delayMethod:a.PropTypes.string,delayTime:a.PropTypes.number,effect:a.PropTypes.string,placeholderSrc:a.PropTypes.string,threshold:a.PropTypes.number,useIntersectionObserver:a.PropTypes.bool,visibleByDefault:a.PropTypes.bool,wrapperClassName:a.PropTypes.string,wrapperProps:a.PropTypes.object},me.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const st=me})(),oy.exports=n})();var CU=oy.exports;const SU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACAQMAAACjTyRkAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjAAIAAAQAASDSLW8AAAAASUVORK5CYII=",TU="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxyYWRpYWxHcmFkaWVudCBpZD0iYSIgY3g9IjUwJSIgY3k9IjQ2LjgwMTEwMiUiIHI9Ijk1LjQ5NzExMiUiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjOTE5ZWFiIiBzdG9wLW9wYWNpdHk9Ii40OCIvPjwvcmFkaWFsR3JhZGllbnQ+PHBhdGggZD0ibTg4IDg2aDUxMnY1MTJoLTUxMnoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTg4IC04NikiLz48L3N2Zz4=";function EU(e="1/1"){return{"4/3":"calc(100% / 4 * 3)","3/4":"calc(100% / 3 * 4)","6/4":"calc(100% / 6 * 4)","4/6":"calc(100% / 4 * 6)","16/9":"calc(100% / 16 * 9)","9/16":"calc(100% / 9 * 16)","21/9":"calc(100% / 21 * 9)","9/21":"calc(100% / 9 * 21)","1/1":"100%"}[e]}const el=p.forwardRef(({ratio:e,disabledEffect:t=!1,effect:r="blur",sx:n,...i},o)=>{const a=v.jsx($.Box,{component:CU.LazyLoadImage,wrapperClassName:"wrapper",effect:t?void 0:r,placeholderSrc:t?SU:TU,sx:{width:1,height:1,objectFit:"cover"},...i});return e?v.jsx($.Box,{ref:o,component:"span",sx:{width:1,lineHeight:1,display:"block",overflow:"hidden",position:"relative",pt:EU(e),"& .wrapper":{top:0,left:0,width:1,height:1,position:"absolute",backgroundSize:"cover !important"},...n},children:a}):v.jsx($.Box,{ref:o,component:"span",sx:{lineHeight:1,display:"block",overflow:"hidden",position:"relative","& .wrapper":{width:1,height:1,backgroundSize:"cover !important"},...n},children:a})});el.displayName="Image";/*! *****************************************************************************
133
133
  Copyright (c) Microsoft Corporation.
134
134
 
135
135
  Permission to use, copy, modify, and/or distribute this software for any
@@ -235,14 +235,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
235
235
  border-left: 0;
236
236
  border-right: 0;
237
237
  }
238
- `,GU=1,qU=3,XU=function(e){OU(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.imageRef=p.createRef(),r.videoRef=p.createRef(),r.containerRef=null,r.styleRef=null,r.containerRect=null,r.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},r.dragStartPosition={x:0,y:0},r.dragStartCrop={x:0,y:0},r.gestureZoomStart=0,r.gestureRotationStart=0,r.isTouching=!1,r.lastPinchDistance=0,r.lastPinchRotation=0,r.rafDragTimeout=null,r.rafPinchTimeout=null,r.wheelTimer=null,r.currentDoc=typeof document<"u"?document:null,r.currentWindow=typeof window<"u"?window:null,r.resizeObserver=null,r.state={cropSize:null,hasWheelJustStarted:!1},r.initResizeObserver=function(){if(!(typeof window.ResizeObserver>"u"||!r.containerRef)){var n=!0;r.resizeObserver=new window.ResizeObserver(function(i){if(n){n=!1;return}r.computeSizes()}),r.resizeObserver.observe(r.containerRef)}},r.preventZoomSafari=function(n){return n.preventDefault()},r.cleanEvents=function(){r.currentDoc&&(r.currentDoc.removeEventListener("mousemove",r.onMouseMove),r.currentDoc.removeEventListener("mouseup",r.onDragStopped),r.currentDoc.removeEventListener("touchmove",r.onTouchMove),r.currentDoc.removeEventListener("touchend",r.onDragStopped),r.currentDoc.removeEventListener("gesturemove",r.onGestureMove),r.currentDoc.removeEventListener("gestureend",r.onGestureEnd))},r.clearScrollEvent=function(){r.containerRef&&r.containerRef.removeEventListener("wheel",r.onWheel),r.wheelTimer&&clearTimeout(r.wheelTimer)},r.onMediaLoad=function(){var n=r.computeSizes();n&&(r.emitCropData(),r.setInitialCrop(n)),r.props.onMediaLoaded&&r.props.onMediaLoaded(r.mediaSize)},r.setInitialCrop=function(n){if(r.props.initialCroppedAreaPercentages){var i=WU(r.props.initialCroppedAreaPercentages,r.mediaSize,r.props.rotation,n,r.props.minZoom,r.props.maxZoom),o=i.crop,a=i.zoom;r.props.onCropChange(o),r.props.onZoomChange&&r.props.onZoomChange(a)}else if(r.props.initialCroppedAreaPixels){var s=HU(r.props.initialCroppedAreaPixels,r.mediaSize,r.props.rotation,n,r.props.minZoom,r.props.maxZoom),o=s.crop,a=s.zoom;r.props.onCropChange(o),r.props.onZoomChange&&r.props.onZoomChange(a)}},r.computeSizes=function(){var n,i,o,a,s,c,l=r.imageRef.current||r.videoRef.current;if(l&&r.containerRef){r.containerRect=r.containerRef.getBoundingClientRect();var u=r.containerRect.width/r.containerRect.height,f=((n=r.imageRef.current)===null||n===void 0?void 0:n.naturalWidth)||((i=r.videoRef.current)===null||i===void 0?void 0:i.videoWidth)||0,d=((o=r.imageRef.current)===null||o===void 0?void 0:o.naturalHeight)||((a=r.videoRef.current)===null||a===void 0?void 0:a.videoHeight)||0,h=l.offsetWidth<f||l.offsetHeight<d,g=f/d,m=void 0;if(h){var y=r.getObjectFit();switch(y){default:case"contain":m=u>g?{width:r.containerRect.height*g,height:r.containerRect.height}:{width:r.containerRect.width,height:r.containerRect.width/g};break;case"horizontal-cover":m={width:r.containerRect.width,height:r.containerRect.width/g};break;case"vertical-cover":m={width:r.containerRect.height*g,height:r.containerRect.height};break}}else m={width:l.offsetWidth,height:l.offsetHeight};r.mediaSize=Ft(Ft({},m),{naturalWidth:f,naturalHeight:d}),r.props.setMediaSize&&r.props.setMediaSize(r.mediaSize);var x=r.props.cropSize?r.props.cropSize:FU(r.mediaSize.width,r.mediaSize.height,r.containerRect.width,r.containerRect.height,r.props.aspect,r.props.rotation);return(((s=r.state.cropSize)===null||s===void 0?void 0:s.height)!==x.height||((c=r.state.cropSize)===null||c===void 0?void 0:c.width)!==x.width)&&r.props.onCropSizeChange&&r.props.onCropSizeChange(x),r.setState({cropSize:x},r.recomputeCropPosition),r.props.setCropSize&&r.props.setCropSize(x),x}},r.onMouseDown=function(n){r.currentDoc&&(n.preventDefault(),r.currentDoc.addEventListener("mousemove",r.onMouseMove),r.currentDoc.addEventListener("mouseup",r.onDragStopped),r.onDragStart(t.getMousePoint(n)))},r.onMouseMove=function(n){return r.onDrag(t.getMousePoint(n))},r.onTouchStart=function(n){r.currentDoc&&(r.isTouching=!0,!(r.props.onTouchRequest&&!r.props.onTouchRequest(n))&&(r.currentDoc.addEventListener("touchmove",r.onTouchMove,{passive:!1}),r.currentDoc.addEventListener("touchend",r.onDragStopped),n.touches.length===2?r.onPinchStart(n):n.touches.length===1&&r.onDragStart(t.getTouchPoint(n.touches[0]))))},r.onTouchMove=function(n){n.preventDefault(),n.touches.length===2?r.onPinchMove(n):n.touches.length===1&&r.onDrag(t.getTouchPoint(n.touches[0]))},r.onGestureStart=function(n){r.currentDoc&&(n.preventDefault(),r.currentDoc.addEventListener("gesturechange",r.onGestureMove),r.currentDoc.addEventListener("gestureend",r.onGestureEnd),r.gestureZoomStart=r.props.zoom,r.gestureRotationStart=r.props.rotation)},r.onGestureMove=function(n){if(n.preventDefault(),!r.isTouching){var i=t.getMousePoint(n),o=r.gestureZoomStart-1+n.scale;if(r.setNewZoom(o,i,{shouldUpdatePosition:!0}),r.props.onRotationChange){var a=r.gestureRotationStart+n.rotation;r.props.onRotationChange(a)}}},r.onGestureEnd=function(n){r.cleanEvents()},r.onDragStart=function(n){var i,o,a=n.x,s=n.y;r.dragStartPosition={x:a,y:s},r.dragStartCrop=Ft({},r.props.crop),(o=(i=r.props).onInteractionStart)===null||o===void 0||o.call(i)},r.onDrag=function(n){var i=n.x,o=n.y;r.currentWindow&&(r.rafDragTimeout&&r.currentWindow.cancelAnimationFrame(r.rafDragTimeout),r.rafDragTimeout=r.currentWindow.requestAnimationFrame(function(){if(r.state.cropSize&&!(i===void 0||o===void 0)){var a=i-r.dragStartPosition.x,s=o-r.dragStartPosition.y,c={x:r.dragStartCrop.x+a,y:r.dragStartCrop.y+s},l=r.props.restrictPosition?ol(c,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):c;r.props.onCropChange(l)}}))},r.onDragStopped=function(){var n,i;r.isTouching=!1,r.cleanEvents(),r.emitCropData(),(i=(n=r.props).onInteractionEnd)===null||i===void 0||i.call(n)},r.onWheel=function(n){if(r.currentWindow&&!(r.props.onWheelRequest&&!r.props.onWheelRequest(n))){n.preventDefault();var i=t.getMousePoint(n),o=LU(n).pixelY,a=r.props.zoom-o*r.props.zoomSpeed/200;r.setNewZoom(a,i,{shouldUpdatePosition:!0}),r.state.hasWheelJustStarted||r.setState({hasWheelJustStarted:!0},function(){var s,c;return(c=(s=r.props).onInteractionStart)===null||c===void 0?void 0:c.call(s)}),r.wheelTimer&&clearTimeout(r.wheelTimer),r.wheelTimer=r.currentWindow.setTimeout(function(){return r.setState({hasWheelJustStarted:!1},function(){var s,c;return(c=(s=r.props).onInteractionEnd)===null||c===void 0?void 0:c.call(s)})},250)}},r.getPointOnContainer=function(n){var i=n.x,o=n.y;if(!r.containerRect)throw new Error("The Cropper is not mounted");return{x:r.containerRect.width/2-(i-r.containerRect.left),y:r.containerRect.height/2-(o-r.containerRect.top)}},r.getPointOnMedia=function(n){var i=n.x,o=n.y,a=r.props,s=a.crop,c=a.zoom;return{x:(i+s.x)/c,y:(o+s.y)/c}},r.setNewZoom=function(n,i,o){var a=o===void 0?{}:o,s=a.shouldUpdatePosition,c=s===void 0?!0:s;if(!(!r.state.cropSize||!r.props.onZoomChange)){var l=al(n,r.props.minZoom,r.props.maxZoom);if(c){var u=r.getPointOnContainer(i),f=r.getPointOnMedia(u),d={x:f.x*l-u.x,y:f.y*l-u.y},h=r.props.restrictPosition?ol(d,r.mediaSize,r.state.cropSize,l,r.props.rotation):d;r.props.onCropChange(h)}r.props.onZoomChange(l)}},r.getCropData=function(){if(!r.state.cropSize)return null;var n=r.props.restrictPosition?ol(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop;return NU(n,r.mediaSize,r.state.cropSize,r.getAspect(),r.props.zoom,r.props.rotation,r.props.restrictPosition)},r.emitCropData=function(){var n=r.getCropData();if(n){var i=n.croppedAreaPercentages,o=n.croppedAreaPixels;r.props.onCropComplete&&r.props.onCropComplete(i,o),r.props.onCropAreaChange&&r.props.onCropAreaChange(i,o)}},r.emitCropAreaChange=function(){var n=r.getCropData();if(n){var i=n.croppedAreaPercentages,o=n.croppedAreaPixels;r.props.onCropAreaChange&&r.props.onCropAreaChange(i,o)}},r.recomputeCropPosition=function(){if(r.state.cropSize){var n=r.props.restrictPosition?ol(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop;r.props.onCropChange(n),r.emitCropData()}},r}return t.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver>"u"&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=YU,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef))},t.prototype.componentWillUnmount=function(){var r,n;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver>"u"&&this.currentWindow.removeEventListener("resize",this.computeSizes),(r=this.resizeObserver)===null||r===void 0||r.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&((n=this.styleRef.parentNode)===null||n===void 0||n.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},t.prototype.componentDidUpdate=function(r){var n,i,o,a,s,c,l,u,f;r.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):r.aspect!==this.props.aspect?this.computeSizes():r.zoom!==this.props.zoom?this.recomputeCropPosition():((n=r.cropSize)===null||n===void 0?void 0:n.height)!==((i=this.props.cropSize)===null||i===void 0?void 0:i.height)||((o=r.cropSize)===null||o===void 0?void 0:o.width)!==((a=this.props.cropSize)===null||a===void 0?void 0:a.width)?this.computeSizes():(((s=r.crop)===null||s===void 0?void 0:s.x)!==((c=this.props.crop)===null||c===void 0?void 0:c.x)||((l=r.crop)===null||l===void 0?void 0:l.y)!==((u=this.props.crop)===null||u===void 0?void 0:u.y))&&this.emitCropAreaChange(),r.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),r.video!==this.props.video&&((f=this.videoRef.current)===null||f===void 0||f.load())},t.prototype.getAspect=function(){var r=this.props,n=r.cropSize,i=r.aspect;return n?n.width/n.height:i},t.prototype.getObjectFit=function(){var r,n,i,o;if(this.props.objectFit==="cover"){var a=this.imageRef.current||this.videoRef.current;if(a&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var s=this.containerRect.width/this.containerRect.height,c=((r=this.imageRef.current)===null||r===void 0?void 0:r.naturalWidth)||((n=this.videoRef.current)===null||n===void 0?void 0:n.videoWidth)||0,l=((i=this.imageRef.current)===null||i===void 0?void 0:i.naturalHeight)||((o=this.videoRef.current)===null||o===void 0?void 0:o.videoHeight)||0,u=c/l;return u<s?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},t.prototype.onPinchStart=function(r){var n=t.getTouchPoint(r.touches[0]),i=t.getTouchPoint(r.touches[1]);this.lastPinchDistance=yy(n,i),this.lastPinchRotation=by(n,i),this.onDragStart(xy(n,i))},t.prototype.onPinchMove=function(r){var n=this;if(!(!this.currentDoc||!this.currentWindow)){var i=t.getTouchPoint(r.touches[0]),o=t.getTouchPoint(r.touches[1]),a=xy(i,o);this.onDrag(a),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var s=yy(i,o),c=n.props.zoom*(s/n.lastPinchDistance);n.setNewZoom(c,a,{shouldUpdatePosition:!1}),n.lastPinchDistance=s;var l=by(i,o),u=n.props.rotation+(l-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(u),n.lastPinchRotation=l})}},t.prototype.render=function(){var r=this,n=this.props,i=n.image,o=n.video,a=n.mediaProps,s=n.transform,c=n.crop,l=c.x,u=c.y,f=n.rotation,d=n.zoom,h=n.cropShape,g=n.showGrid,m=n.style,y=m.containerStyle,x=m.cropAreaStyle,b=m.mediaStyle,T=n.classes,P=T.containerClassName,w=T.cropAreaClassName,E=T.mediaClassName,O=this.getObjectFit();return p.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(L){return r.containerRef=L},"data-testid":"container",style:y,className:sl("reactEasyCrop_Container",P)},i?p.createElement("img",Ft({alt:"",className:sl("reactEasyCrop_Image",O==="contain"&&"reactEasyCrop_Contain",O==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",O==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",E)},a,{src:i,ref:this.imageRef,style:Ft(Ft({},b),{transform:s||"translate(".concat(l,"px, ").concat(u,"px) rotate(").concat(f,"deg) scale(").concat(d,")")}),onLoad:this.onMediaLoad})):o&&p.createElement("video",Ft({autoPlay:!0,loop:!0,muted:!0,className:sl("reactEasyCrop_Video",O==="contain"&&"reactEasyCrop_Contain",O==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",O==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",E)},a,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:Ft(Ft({},b),{transform:s||"translate(".concat(l,"px, ").concat(u,"px) rotate(").concat(f,"deg) scale(").concat(d,")")}),controls:!1}),(Array.isArray(o)?o:[{src:o}]).map(function(M){return p.createElement("source",Ft({key:M.src},M))})),this.state.cropSize&&p.createElement("div",{style:Ft(Ft({},x),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:sl("reactEasyCrop_CropArea",h==="round"&&"reactEasyCrop_CropAreaRound",g&&"reactEasyCrop_CropAreaGrid",w)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:qU,minZoom:GU,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(r){return{x:Number(r.clientX),y:Number(r.clientY)}},t.getTouchPoint=function(r){return{x:Number(r.clientX),y:Number(r.clientY)}},t}(p.Component);const KU=e=>new Promise((t,r)=>{const n=new Image;n.addEventListener("load",()=>t(n)),n.addEventListener("error",i=>r(i)),n.setAttribute("crossOrigin","anonymous"),n.src=e});function wy(e){return e*Math.PI/180}function ZU(e,t,r){const n=wy(r);return{width:Math.abs(Math.cos(n)*e)+Math.abs(Math.sin(n)*t),height:Math.abs(Math.sin(n)*e)+Math.abs(Math.cos(n)*t)}}async function QU(e,t,r=0,n={horizontal:!1,vertical:!1}){const i=await KU(e),o=document.createElement("canvas"),a=o.getContext("2d");if(!a)return null;const s=wy(r),{width:c,height:l}=ZU(i.width,i.height,r);o.width=c,o.height=l,a.translate(c/2,l/2),a.rotate(s),a.scale(n.horizontal?-1:1,n.vertical?-1:1),a.translate(-i.width/2,-i.height/2),a.drawImage(i,0,0);const u=a.getImageData(t.x,t.y,t.width,t.height);return o.width=t.width,o.height=t.height,a.putImageData(u,0,0),new Promise((f,d)=>{o.toBlob(h=>{f(h)},"image/png")})}const Cy=({title:e,open:t,onClose:r,onFileCropped:n,image:{width:i,height:o,aspect:a,imgSrc:s=""}})=>{const[c,l]=p.useState({x:0,y:0}),[u,f]=p.useState(1),d=p.useRef(),h=p.useRef(),g=async(x,b)=>{try{const T=await QU(s,b,0);d.current=new File([T],"image.png",{type:T.type})}catch{n(void 0)}},m=async()=>{n(h.current),r()},y=()=>{n(d.current),h.current=d.current,r()};return v.jsxs($.Dialog,{open:t,scroll:"body",PaperProps:{sx:{maxWidth:"100%"}},children:[v.jsx($.DialogTitle,{children:e}),v.jsx($.DialogContent,{children:v.jsx($.Stack,{position:"relative",alignItems:"center",justifyContent:"center",style:{position:"relative",width:i*1.1,height:o*1.1,margin:"auto"},children:v.jsx(XU,{image:s,crop:c,zoom:u,minZoom:1,maxZoom:5,cropSize:{width:i,height:o},aspect:a,onCropChange:l,onZoomChange:f,onCropComplete:g,objectFit:"horizontal-cover"})})}),v.jsxs($.DialogActions,{children:[v.jsxs($.Stack,{direction:"row",gap:3,flex:1,alignItems:"center",maxWidth:200,mr:"auto",children:[v.jsx($.Typography,{variant:"body1",children:"Zoom"}),v.jsx($.Slider,{value:u,onChange:(x,b)=>f(Array.isArray(b)?b[0]:b),min:1,max:5,size:"medium",step:.5})]}),v.jsx($.Button,{variant:"soft",size:"medium",onClick:m,children:"Descartar"}),v.jsx($.Button,{variant:"contained",size:"medium",onClick:y,children:"Salvar"})]})]})},JU=_t($.Box)(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=t.variant==="filled",i=t.variant==="outlined",o=t.variant==="soft",a={...t.color==="default"&&{...i&&{backgroundColor:"transparent",color:e.palette.text.primary,border:`1px solid ${V(e.palette.grey[500],.32)}`},...o&&{color:r?e.palette.text.primary:e.palette.common.white,backgroundColor:V(e.palette.grey[500],.16)}}},s={...t.color!=="default"&&{...n&&{color:e.palette[t.color].contrastText,backgroundColor:e.palette[t.color].main},...i&&{backgroundColor:"transparent",color:e.palette[t.color].main,border:`1px solid ${e.palette[t.color].main}`},...o&&{color:e.palette[t.color][r?"dark":"light"],backgroundColor:V(e.palette[t.color].main,.16)}}};return{height:24,minWidth:22,lineHeight:0,borderRadius:6,cursor:"default",alignItems:"center",whiteSpace:"nowrap",display:"inline-flex",justifyContent:"center",textTransform:"capitalize",padding:e.spacing(0,1),color:e.palette.grey[800],fontSize:e.typography.pxToRem(12),fontFamily:e.typography.fontFamily,backgroundColor:e.palette.grey[300],fontWeight:e.typography.fontWeightBold,...s,...a}}),Ty=p.forwardRef(({children:e,color:t="default",variant:r="soft",startIcon:n,endIcon:i,sx:o,...a},s)=>{const c=ii(),l={width:16,height:16,"& svg, img":{width:1,height:1,objectFit:"cover"}};return v.jsxs(JU,{ref:s,component:"span",ownerState:{color:t,variant:r},sx:{...n&&{pl:.75},...i&&{pr:.75},...o},theme:c,...a,children:[n&&v.jsxs($.Box,{sx:{mr:.75,...l},children:[" ",n," "]}),e,i&&v.jsxs($.Box,{sx:{ml:.75,...l},children:[" ",i," "]})]})});Ty.displayName="Label";function eY(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}const tY=_t("span")(({arrow:e,theme:t})=>{const i=`solid 1px ${V(t.palette.grey[500],.12)}`,o={borderRadius:"0 0 3px 0",top:-6,borderBottom:i,borderRight:i},a={borderRadius:"3px 0 0 0",bottom:-6,borderTop:i,borderLeft:i},s={borderRadius:"0 3px 0 0",left:-6,borderTop:i,borderRight:i},c={borderRadius:"0 0 0 3px",right:-6,borderBottom:i,borderLeft:i};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},...e==="top-left"&&{...o,left:20},...e==="top-center"&&{...o,left:0,right:0,margin:"auto"},...e==="top-right"&&{...o,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"&&{...s,top:20},...e==="left-center"&&{...s,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...s,bottom:20},...e==="right-top"&&{...c,top:20},...e==="right-center"&&{...c,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...c,bottom:20}}}),rY=({open:e,children:t,arrow:r="top-right",disabledArrow:n,sx:i,...o})=>{const{style:a,anchorOrigin:s,transformOrigin:c}=eY(r);return v.jsxs($.Popover,{open:!!e,anchorEl:e,anchorOrigin:s,transformOrigin:c,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}},...i}},...o,children:[!n&&v.jsx(tY,{arrow:r}),t]})},nY=({children:e,container:t})=>sd.createPortal(e,document.getElementById(t)||document.body);var iY=!!(typeof window<"u"&&window.document&&window.document.createElement),oY=iY;const Sy=dn(oY);var Hi=function(){return Hi=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Hi.apply(this,arguments)},Ui=null,Ey=null;Sy&&window.addEventListener("resize",function(){Ey!==window.devicePixelRatio&&(Ey=window.devicePixelRatio,Ui=null)});function Oy(){if(Ui===null){if(typeof document>"u")return Ui=0,Ui;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),Ui=r}return Ui}function Py(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function My(e){return!e||!e.ownerDocument?document:e.ownerDocument}var _y=function(e){var t={},r=Array.prototype.reduce.call(e,function(n,i){var o=i.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(s,c){return c.toUpperCase()});switch(i.value){case"true":n[a]=!0;break;case"false":n[a]=!1;break;case void 0:n[a]=!0;break;default:n[a]=i.value}}return n},t);return r};function $y(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function Ay(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function ky(e){return".".concat(e.split(" ").join("."))}var aY=Object.freeze({__proto__:null,getElementWindow:Py,getElementDocument:My,getOptions:_y,addClasses:$y,removeClasses:Ay,classNamesToQuery:ky}),ln=Py,Kf=My,sY=_y,cn=$y,un=Ay,Yt=ky,ll=function(){function e(t,r){r===void 0&&(r={});var n=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=ln(n.el);n.scrollXTicking||(i.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(i.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,cn(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){un(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(cn(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){un(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(i){n.mouseX=i.clientX,n.mouseY=i.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var o,a;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(o=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(a=n.isWithinBounds(n.axis.y.track.rect)),(o||a)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(o&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(i,"x"):n.onTrackClick(i,"x")),a&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(i,"y"):n.onTrackClick(i,"y"))))}},this.drag=function(i){var o,a,s,c,l,u,f,d,h,g,m;if(!(!n.draggedAxis||!n.contentWrapperEl)){var y,x=n.axis[n.draggedAxis].track,b=(a=(o=x.rect)===null||o===void 0?void 0:o[n.axis[n.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,T=n.axis[n.draggedAxis].scrollbar,P=(c=(s=n.contentWrapperEl)===null||s===void 0?void 0:s[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&c!==void 0?c:0,w=parseInt((u=(l=n.elStyles)===null||l===void 0?void 0:l[n.axis[n.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);i.preventDefault(),i.stopPropagation(),n.draggedAxis==="y"?y=i.pageY:y=i.pageX;var E=y-((d=(f=x.rect)===null||f===void 0?void 0:f[n.axis[n.draggedAxis].offsetAttr])!==null&&d!==void 0?d:0)-n.axis[n.draggedAxis].dragOffset;E=n.draggedAxis==="x"&&n.isRtl?((g=(h=x.rect)===null||h===void 0?void 0:h[n.axis[n.draggedAxis].sizeAttr])!==null&&g!==void 0?g:0)-T.size-E:E;var O=E/(b-T.size),M=O*(P-w);n.draggedAxis==="x"&&n.isRtl&&(M=!((m=e.getRtlHelpers())===null||m===void 0)&&m.isScrollingToNegative?-M:M),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=M}},this.onEndDrag=function(i){var o=Kf(n.el),a=ln(n.el);i.preventDefault(),i.stopPropagation(),un(n.el,n.classNames.dragging),o.removeEventListener("mousemove",n.drag,!0),o.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",n.preventClick,!0),o.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=t,this.options=Hi(Hi({},e.defaultOptions),r),this.classNames=Hi(Hi({},e.defaultOptions.classNames),r.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=Vm(this._onMouseMove,64),this.onWindowResize=zo(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=zo(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=zo(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 r=t.firstElementChild,n=r==null?void 0:r.firstElementChild;if(!n)return null;document.body.appendChild(r),r.scrollLeft=0;var i=e.getOffset(r),o=e.getOffset(n);r.scrollLeft=-999;var a=e.getOffset(n);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.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:Oy()}catch{return Oy()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),n=Kf(t),i=ln(t);return{top:r.top+(i.pageYOffset||n.documentElement.scrollTop),left:r.left+(i.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){Sy&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(Yt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Yt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Yt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Yt(this.classNames.offset)),this.maskEl=this.el.querySelector(Yt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Yt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Yt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Yt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Yt(this.classNames.track)).concat(Yt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Yt(this.classNames.track)).concat(Yt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Yt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(Yt(this.classNames.scrollbar)))||null,this.options.autoHide||(cn(this.axis.x.scrollbar.el,this.classNames.visible),cn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,n=ln(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),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,o=n.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){i&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new n.MutationObserver(function(){n.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=ln(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||r>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,s=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 c=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=i?"".concat(r||l,"px"):"auto",this.placeholderEl.style.height="".concat(c,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&l>r,this.axis.y.isOverflowing=c>u,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=s==="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 f=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>o-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&c>u-f,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 r,n;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[t].scrollSizeAttr],o=(n=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&n!==void 0?n:0,a=o/i,s;return s=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(s=Math.min(s,this.options.scrollbarMaxSize)),s},e.prototype.positionScrollbar=function(t){var r,n,i;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],s=((r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])||0,c=parseInt(this.elStyles[this.axis[t].sizeAttr],10),l=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];l=t==="x"&&this.isRtl&&(!((n=e.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-l:l,t==="x"&&this.isRtl&&(l=!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?l:-l);var u=l/(a-c),f=~~((s-o.size)*u);f=t==="x"&&this.isRtl?-f+(s-o.size):f,o.el.style.transform=t==="x"?"translate3d(".concat(f,"px, 0, 0)"):"translate3d(0, ".concat(f,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var r=this.axis[t].track.el,n=this.axis[t].scrollbar.el;!r||!n||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.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?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(cn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(un(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 r=this.axis[t];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),cn(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?cn(r.scrollbar.el,this.classNames.hover):un(r.scrollbar.el,this.classNames.hover)):(un(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),un(this.axis[t].track.el,this.classNames.hover),un(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,r){var n;r===void 0&&(r="y");var i=Kf(this.el),o=ln(this.el),a=this.axis[r].scrollbar,s=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=s-(((n=a.rect)===null||n===void 0?void 0:n[this.axis[r].offsetAttr])||0),this.draggedAxis=r,cn(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var n=this,i,o,a,s;r===void 0&&(r="y");var c=this.axis[r];if(!(!this.options.clickOnTrack||!c.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var l=ln(this.el);this.axis[r].scrollbar.rect=c.scrollbar.el.getBoundingClientRect();var u=this.axis[r].scrollbar,f=(o=(i=u.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])!==null&&o!==void 0?o:0,d=parseInt((s=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[r].sizeAttr])!==null&&s!==void 0?s:"0px",10),h=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],g=r==="y"?this.mouseY-f:this.mouseX-f,m=g<0?-1:1,y=m===-1?h-d:h+d,x=40,b=function(){n.contentWrapperEl&&(m===-1?h>y&&(h-=x,n.contentWrapperEl[n.axis[r].scrollOffsetAttr]=h,l.requestAnimationFrame(b)):h<y&&(h+=x,n.contentWrapperEl[n.axis[r].scrollOffsetAttr]=h,l.requestAnimationFrame(b)))};b()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ln(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,r){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(i){return n.call(i,r)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=sY,e.helpers=aY,e}(),rr=function(){return rr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},rr.apply(this,arguments)};function lY(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var Dy=be.forwardRef(function(e,t){var r=e.children,n=e.scrollableNodeProps,i=n===void 0?{}:n,o=lY(e,["children","scrollableNodeProps"]),a=be.useRef(),s=be.useRef(),c=be.useRef(),l={},u={};Object.keys(o).forEach(function(h){Object.prototype.hasOwnProperty.call(ll.defaultOptions,h)?l[h]=o[h]:u[h]=o[h]});var f=rr(rr({},ll.defaultOptions.classNames),l.classNames),d=rr(rr({},i),{className:"".concat(f.contentWrapper).concat(i.className?" ".concat(i.className):""),tabIndex:0,role:"region","aria-label":l.ariaLabel||ll.defaultOptions.ariaLabel});return be.useEffect(function(){var h;return s.current=d.ref?d.ref.current:s.current,a.current&&(h=new ll(a.current,rr(rr(rr({},l),s.current&&{scrollableNode:s.current}),c.current&&{contentNode:c.current})),typeof t=="function"?t(h):t&&(t.current=h)),function(){h==null||h.unMount(),h=null,typeof t=="function"&&t(null)}},[]),be.createElement("div",rr({"data-simplebar":"init",ref:a},u),be.createElement("div",{className:f.wrapper},be.createElement("div",{className:f.heightAutoObserverWrapperEl},be.createElement("div",{className:f.heightAutoObserverEl})),be.createElement("div",{className:f.mask},be.createElement("div",{className:f.offset},typeof r=="function"?r({scrollableNodeRef:s,scrollableNodeProps:rr(rr({},d),{ref:s}),contentNodeRef:c,contentNodeProps:{className:f.contentEl,ref:c}}):be.createElement("div",rr({},d),be.createElement("div",{className:f.contentEl},r)))),be.createElement("div",{className:f.placeholder})),be.createElement("div",{className:"".concat(f.track," simplebar-horizontal")},be.createElement("div",{className:f.scrollbar})),be.createElement("div",{className:"".concat(f.track," simplebar-vertical")},be.createElement("div",{className:f.scrollbar})))});Dy.displayName="SimpleBar";const cY=_t("div")(()=>({flexGrow:1,height:"100%",overflow:"hidden"})),uY=_t(Dy)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:V(e.palette.grey[600],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-mask":{zIndex:"inherit"}})),fY=({children:e,sx:t,...r})=>{const n=typeof navigator>"u"?"SSR":navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n)?v.jsx($.Box,{sx:{overflowX:"auto",...t},...r,children:e}):v.jsx(cY,{children:v.jsx(uY,{clickOnTrack:!1,sx:t,...r,children:e})})},dY=p.memo(fY),hY=({name:e,rules:t,helperText:r,...n})=>{const{control:i}=Dt.useFormContext();return v.jsx(Dt.Controller,{name:e,control:i,rules:t,render:({field:{ref:o,onChange:a,...s},fieldState:{error:c}})=>v.jsx(fv,{...s,onChangeColor:a,inputRef:o,fullWidth:!0,error:!!c,helperText:(c==null?void 0:c.message)||r,...n})})},pY=({name:e,...t})=>{const{control:r}=Dt.useFormContext();return v.jsx(Dt.Controller,{name:e,control:r,render:({field:{ref:n,...i},fieldState:{error:o}})=>{var a;return v.jsx(Ki.DatePicker,{inputRef:n,format:"dd/MM/yyyy",localeText:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",fieldDayPlaceholder:()=>"dd",fieldMonthPlaceholder:()=>"mm",fieldYearPlaceholder:()=>"aaaa",...t.localeText},...i,...t,value:i.value?new Date(i.value):null,slotProps:{textField:{...(a=t.slotProps)==null?void 0:a.textField,error:!!o,helperText:o==null?void 0:o.message,autoComplete:"off",spellCheck:"false",fullWidth:!0}}})}})},gY=({name:e,label:t,...r})=>{const{control:n,setError:i}=Dt.useFormContext();return v.jsx(Dt.Controller,{name:e,control:n,render:({field:{value:o,onChange:a},fieldState:{error:s}})=>v.jsx(Ki.DateRangePicker,{format:"dd/MM/yyyy",localeText:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",fieldDayPlaceholder:()=>"dd",fieldMonthPlaceholder:()=>"mm",fieldYearPlaceholder:()=>"aaaa",...r.localeText},value:[(o==null?void 0:o.startDate)||null,(o==null?void 0:o.endDate)||null],onChange:c=>a({startDate:c[0],endDate:c[1]}),onError:c=>{i(e,{message:c[0]||c[1]||void 0})},...r,slotProps:{textField:({position:c})=>{var l;return{...(l=r.slotProps)==null?void 0:l.textField,error:!!s,helperText:s==null?void 0:s.message,autoComplete:"off",spellCheck:"false",fullWidth:!0,label:c==="start"?`${t} (Dt. Início)`:`${t} (Dt. Fim)`}}},sx:{width:1}})})},mY=({name:e,...t})=>{const{control:r}=Dt.useFormContext();return v.jsx(Dt.Controller,{name:e,control:r,render:({field:{ref:n,...i},fieldState:{error:o}})=>{var a;return v.jsx(Ki.DateTimePicker,{format:"dd/MM/yyyy HH:mm",inputRef:n,localeText:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",fieldDayPlaceholder:()=>"dd",fieldMonthPlaceholder:()=>"mm",fieldYearPlaceholder:()=>"aaaa",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",...t.localeText},...i,...t,value:i.value?new Date(i.value):null,slotProps:{textField:{...(a=t.slotProps)==null?void 0:a.textField,error:!!o,helperText:o==null?void 0:o.message,autoComplete:"off",spellCheck:"false",fullWidth:!0}}})}})},jy=({name:e,helperText:t,...r})=>{const{control:n}=Dt.useFormContext();return v.jsx(Dt.Controller,{name:e,control:n,render:({field:{ref:i,...o},fieldState:{error:a}})=>v.jsx($.TextField,{...o,inputRef:i,fullWidth:!0,error:!!a,helperText:(a==null?void 0:a.message)||t,...r})})},vY=({id:e,children:t,onSubmit:r,methods:n})=>v.jsx(Dt.FormProvider,{...n,children:v.jsx($.Stack,{component:"form",id:e,onSubmit:r,flex:1,width:1,noValidate:!0,children:t})}),yY=e=>{const[t,r]=p.useState(!1);return v.jsx(jy,{...e,type:t?"text":"password",InputProps:{endAdornment:v.jsx($.InputAdornment,{position:"end",children:v.jsx($.IconButton,{onClick:()=>r(!t),edge:"end","aria-label":"Mostrar/Ocultar senha",children:v.jsx(It,{icon:t?"eva:eye-off-fill":"eva:eye-fill"})})})}})},bY=({name:e,...t})=>{const{control:r}=Dt.useFormContext();return v.jsx(Dt.Controller,{name:e,control:r,render:({field:{ref:n,...i},fieldState:{error:o}})=>{var a;return v.jsx(Ki.TimePicker,{ampm:!1,format:"HH:mm",inputRef:n,localeText:{fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",...t.localeText},...i,...t,value:i.value?new Date(i.value):null,slotProps:{textField:{...(a=t.slotProps)==null?void 0:a.textField,error:!!o,helperText:o==null?void 0:o.message,autoComplete:"off",spellCheck:"false",fullWidth:!0}}})}})},Iy=(e=!1)=>{const[t,r]=p.useState(e),n=p.useCallback(()=>r(i=>!i),[]);return[t,n,r]};function Yi(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{l(n.next(u))}catch(f){a(f)}}function c(u){try{l(n.throw(u))}catch(f){a(f)}}function l(u){u.done?o(u.value):i(u.value).then(s,c)}l((n=n.apply(e,t||[])).next())})}function Gi(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(u){return c([l,u])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(u){l=[6,u],i=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ly(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function Fy(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var xY=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function ia(e,t){var r=wY(e);if(typeof r.path!="string"){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:typeof t=="string"?t:typeof n=="string"&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}function wY(e){var t=e.name,r=t&&t.lastIndexOf(".")!==-1;if(r&&!e.type){var n=t.split(".").pop().toLowerCase(),i=xY.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var CY=[".DS_Store","Thumbs.db"];function TY(e){return Yi(this,void 0,void 0,function(){return Gi(this,function(t){return cl(e)&&SY(e.dataTransfer)?[2,MY(e.dataTransfer,e.type)]:EY(e)?[2,OY(e)]:Array.isArray(e)&&e.every(function(r){return"getFile"in r&&typeof r.getFile=="function"})?[2,PY(e)]:[2,[]]})})}function SY(e){return cl(e)}function EY(e){return cl(e)&&cl(e.target)}function cl(e){return typeof e=="object"&&e!==null}function OY(e){return Zf(e.target.files).map(function(t){return ia(t)})}function PY(e){return Yi(this,void 0,void 0,function(){var t;return Gi(this,function(r){switch(r.label){case 0:return[4,Promise.all(e.map(function(n){return n.getFile()}))];case 1:return t=r.sent(),[2,t.map(function(n){return ia(n)})]}})})}function MY(e,t){return Yi(this,void 0,void 0,function(){var r,n;return Gi(this,function(i){switch(i.label){case 0:return e.items?(r=Zf(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,r]:[4,Promise.all(r.map(_Y))]):[3,2];case 1:return n=i.sent(),[2,Ry(Ny(n))];case 2:return[2,Ry(Zf(e.files).map(function(o){return ia(o)}))]}})})}function Ry(e){return e.filter(function(t){return CY.indexOf(t.name)===-1})}function Zf(e){if(e===null)return[];for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function _Y(e){if(typeof e.webkitGetAsEntry!="function")return By(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?zy(t):By(e)}function Ny(e){return e.reduce(function(t,r){return Fy(Fy([],Ly(t),!1),Ly(Array.isArray(r)?Ny(r):[r]),!1)},[])}function By(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var r=ia(t);return Promise.resolve(r)}function $Y(e){return Yi(this,void 0,void 0,function(){return Gi(this,function(t){return[2,e.isDirectory?zy(e):AY(e)]})})}function zy(e){var t=e.createReader();return new Promise(function(r,n){var i=[];function o(){var a=this;t.readEntries(function(s){return Yi(a,void 0,void 0,function(){var c,l,u;return Gi(this,function(f){switch(f.label){case 0:if(s.length)return[3,5];f.label=1;case 1:return f.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return c=f.sent(),r(c),[3,4];case 3:return l=f.sent(),n(l),[3,4];case 4:return[3,6];case 5:u=Promise.all(s.map($Y)),i.push(u),o(),f.label=6;case 6:return[2]}})})},function(s){n(s)})}o()})}function AY(e){return Yi(this,void 0,void 0,function(){return Gi(this,function(t){return[2,new Promise(function(r,n){e.file(function(i){var o=ia(i,e.fullPath);r(o)},function(i){n(i)})})]})})}var kY=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return r.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?o===s.replace(/\/.*$/,""):i===s})}return!0};function Wy(e){return IY(e)||jY(e)||Yy(e)||DY()}function DY(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
239
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jY(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IY(e){if(Array.isArray(e))return Qf(e)}function Vy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Hy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vy(Object(r),!0).forEach(function(n){Uy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Uy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e,t){return RY(e)||FY(e,t)||Yy(e,t)||LY()}function LY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
240
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yy(e,t){if(e){if(typeof e=="string")return Qf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qf(e,t)}}function Qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function FY(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,a,s;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(c){o=!0,s=c}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function RY(e){if(Array.isArray(e))return e}var NY="file-invalid-type",BY="file-too-large",zY="file-too-small",WY="too-many-files",VY=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var r=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:NY,message:"File type must be ".concat(r)}},Gy=function(t){return{code:BY,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},qy=function(t){return{code:zY,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},HY={code:WY,message:"Too many files"};function Xy(e,t){var r=e.type==="application/x-moz-file"||kY(e,t);return[r,r?null:VY(t)]}function Ky(e,t,r){if(In(e.size))if(In(t)&&In(r)){if(e.size>r)return[!1,Gy(r)];if(e.size<t)return[!1,qy(t)]}else{if(In(t)&&e.size<t)return[!1,qy(t)];if(In(r)&&e.size>r)return[!1,Gy(r)]}return[!0,null]}function In(e){return e!=null}function UY(e){var t=e.files,r=e.accept,n=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(c){var l=Xy(c,r),u=oa(l,1),f=u[0],d=Ky(c,n,i),h=oa(d,1),g=h[0],m=s?s(c):null;return f&&g&&!m})}function ul(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function fl(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function Zy(e){e.preventDefault()}function YY(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function GY(e){return e.indexOf("Edge/")!==-1}function qY(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return YY(e)||GY(e)}function Mr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return t.some(function(s){return!ul(n)&&s&&s.apply(void 0,[n].concat(o)),ul(n)})}}function XY(){return"showOpenFilePicker"in window}function KY(e){if(In(e)){var t=Object.entries(e).filter(function(r){var n=oa(r,2),i=n[0],o=n[1],a=!0;return Qy(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),(!Array.isArray(o)||!o.every(Jy))&&(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(r,n){var i=oa(n,2),o=i[0],a=i[1];return Hy(Hy({},r),{},Uy({},o,a))},{});return[{description:"Files",accept:t}]}return e}function ZY(e){if(In(e))return Object.entries(e).reduce(function(t,r){var n=oa(r,2),i=n[0],o=n[1];return[].concat(Wy(t),[i],Wy(o))},[]).filter(function(t){return Qy(t)||Jy(t)}).join(",")}function QY(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function JY(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function Qy(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Jy(e){return/^.*\.[\w]+$/.test(e)}var eG=["children"],tG=["open"],rG=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],nG=["refKey","onChange","onClick"];function iG(e){return sG(e)||aG(e)||eb(e)||oG()}function oG(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
241
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aG(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function sG(e){if(Array.isArray(e))return ed(e)}function Jf(e,t){return uG(e)||cG(e,t)||eb(e,t)||lG()}function lG(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
242
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eb(e,t){if(e){if(typeof e=="string")return ed(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ed(e,t)}}function ed(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function cG(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,a,s;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(c){o=!0,s=c}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function uG(e){if(Array.isArray(e))return e}function tb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tb(Object(r),!0).forEach(function(n){td(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e,t){if(e==null)return{};var r=fG(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function fG(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var rd=p.forwardRef(function(e,t){var r=e.children,n=dl(e,eG),i=hl(n),o=i.open,a=dl(i,tG);return p.useImperativeHandle(t,function(){return{open:o}},[o]),p.createElement(p.Fragment,null,r(ht(ht({},a),{},{open:o})))});rd.displayName="Dropzone";var rb={disabled:!1,getFilesFromEvent:TY,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};rd.defaultProps=rb,rd.propTypes={children:A.func,accept:A.objectOf(A.arrayOf(A.string)),multiple:A.bool,preventDropOnDocument:A.bool,noClick:A.bool,noKeyboard:A.bool,noDrag:A.bool,noDragEventsBubbling:A.bool,minSize:A.number,maxSize:A.number,maxFiles:A.number,disabled:A.bool,getFilesFromEvent:A.func,onFileDialogCancel:A.func,onFileDialogOpen:A.func,useFsAccessApi:A.bool,autoFocus:A.bool,onDragEnter:A.func,onDragLeave:A.func,onDragOver:A.func,onDrop:A.func,onDropAccepted:A.func,onDropRejected:A.func,onError:A.func,validator:A.func};var nd={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function hl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=ht(ht({},rb),e),r=t.accept,n=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,c=t.maxFiles,l=t.onDragEnter,u=t.onDragLeave,f=t.onDragOver,d=t.onDrop,h=t.onDropAccepted,g=t.onDropRejected,m=t.onFileDialogCancel,y=t.onFileDialogOpen,x=t.useFsAccessApi,b=t.autoFocus,T=t.preventDropOnDocument,P=t.noClick,w=t.noKeyboard,E=t.noDrag,O=t.noDragEventsBubbling,M=t.onError,L=t.validator,W=p.useMemo(function(){return ZY(r)},[r]),de=p.useMemo(function(){return KY(r)},[r]),ve=p.useMemo(function(){return typeof y=="function"?y:nb},[y]),ce=p.useMemo(function(){return typeof m=="function"?m:nb},[m]),q=p.useRef(null),Y=p.useRef(null),ge=p.useReducer(dG,nd),Se=Jf(ge,2),We=Se[0],Me=Se[1],D=We.isFocused,I=We.isFileDialogActive,Z=p.useRef(typeof window<"u"&&window.isSecureContext&&x&&XY()),ne=function(){!Z.current&&I&&setTimeout(function(){if(Y.current){var me=Y.current.files;me.length||(Me({type:"closeDialog"}),ce())}},300)};p.useEffect(function(){return window.addEventListener("focus",ne,!1),function(){window.removeEventListener("focus",ne,!1)}},[Y,I,ce,Z]);var G=p.useRef([]),ue=function(me){q.current&&q.current.contains(me.target)||(me.preventDefault(),G.current=[])};p.useEffect(function(){return T&&(document.addEventListener("dragover",Zy,!1),document.addEventListener("drop",ue,!1)),function(){T&&(document.removeEventListener("dragover",Zy),document.removeEventListener("drop",ue))}},[q,T]),p.useEffect(function(){return!n&&b&&q.current&&q.current.focus(),function(){}},[q,b,n]);var se=p.useCallback(function(X){M?M(X):console.error(X)},[M]),pe=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X),G.current=[].concat(iG(G.current),[X.target]),fl(X)&&Promise.resolve(i(X)).then(function(me){if(!(ul(X)&&!O)){var st=me.length,k=st>0&&UY({files:me,accept:W,minSize:a,maxSize:o,multiple:s,maxFiles:c,validator:L}),S=st>0&&!k;Me({isDragAccept:k,isDragReject:S,isDragActive:!0,type:"setDraggedFiles"}),l&&l(X)}}).catch(function(me){return se(me)})},[i,l,se,O,W,a,o,s,c,L]),K=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X);var me=fl(X);if(me&&X.dataTransfer)try{X.dataTransfer.dropEffect="copy"}catch{}return me&&f&&f(X),!1},[f,O]),Q=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X);var me=G.current.filter(function(k){return q.current&&q.current.contains(k)}),st=me.indexOf(X.target);st!==-1&&me.splice(st,1),G.current=me,!(me.length>0)&&(Me({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),fl(X)&&u&&u(X))},[q,u,O]),te=p.useCallback(function(X,me){var st=[],k=[];X.forEach(function(S){var R=Xy(S,W),N=Jf(R,2),we=N[0],Ee=N[1],Fe=Ky(S,a,o),_=Jf(Fe,2),j=_[0],le=_[1],ie=L?L(S):null;if(we&&j&&!ie)st.push(S);else{var re=[Ee,le];ie&&(re=re.concat(ie)),k.push({file:S,errors:re.filter(function(Oe){return Oe})})}}),(!s&&st.length>1||s&&c>=1&&st.length>c)&&(st.forEach(function(S){k.push({file:S,errors:[HY]})}),st.splice(0)),Me({acceptedFiles:st,fileRejections:k,type:"setFiles"}),d&&d(st,k,me),k.length>0&&g&&g(k,me),st.length>0&&h&&h(st,me)},[Me,s,W,a,o,c,d,h,g,L]),ye=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X),G.current=[],fl(X)&&Promise.resolve(i(X)).then(function(me){ul(X)&&!O||te(me,X)}).catch(function(me){return se(me)}),Me({type:"reset"})},[i,te,se,O]),F=p.useCallback(function(){if(Z.current){Me({type:"openDialog"}),ve();var X={multiple:s,types:de};window.showOpenFilePicker(X).then(function(me){return i(me)}).then(function(me){te(me,null),Me({type:"closeDialog"})}).catch(function(me){QY(me)?(ce(me),Me({type:"closeDialog"})):JY(me)?(Z.current=!1,Y.current?(Y.current.value=null,Y.current.click()):se(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):se(me)});return}Y.current&&(Me({type:"openDialog"}),ve(),Y.current.value=null,Y.current.click())},[Me,ve,ce,x,te,se,de,s]),Le=p.useCallback(function(X){!q.current||!q.current.isEqualNode(X.target)||(X.key===" "||X.key==="Enter"||X.keyCode===32||X.keyCode===13)&&(X.preventDefault(),F())},[q,F]),ae=p.useCallback(function(){Me({type:"focus"})},[]),ut=p.useCallback(function(){Me({type:"blur"})},[]),qt=p.useCallback(function(){P||(qY()?setTimeout(F,0):F())},[P,F]),Nt=function(me){return n?null:me},Wr=function(me){return w?null:Nt(me)},gr=function(me){return E?null:Nt(me)},mr=function(me){O&&me.stopPropagation()},sa=p.useMemo(function(){return function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},me=X.refKey,st=me===void 0?"ref":me,k=X.role,S=X.onKeyDown,R=X.onFocus,N=X.onBlur,we=X.onClick,Ee=X.onDragEnter,Fe=X.onDragOver,_=X.onDragLeave,j=X.onDrop,le=dl(X,rG);return ht(ht(td({onKeyDown:Wr(Mr(S,Le)),onFocus:Wr(Mr(R,ae)),onBlur:Wr(Mr(N,ut)),onClick:Nt(Mr(we,qt)),onDragEnter:gr(Mr(Ee,pe)),onDragOver:gr(Mr(Fe,K)),onDragLeave:gr(Mr(_,Q)),onDrop:gr(Mr(j,ye)),role:typeof k=="string"&&k!==""?k:"presentation"},st,q),!n&&!w?{tabIndex:0}:{}),le)}},[q,Le,ae,ut,qt,pe,K,Q,ye,w,E,n]),fn=p.useCallback(function(X){X.stopPropagation()},[]),Ln=p.useMemo(function(){return function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},me=X.refKey,st=me===void 0?"ref":me,k=X.onChange,S=X.onClick,R=dl(X,nG),N=td({accept:W,multiple:s,type:"file",style:{display:"none"},onChange:Nt(Mr(k,ye)),onClick:Nt(Mr(S,fn)),tabIndex:-1},st,Y);return ht(ht({},N),R)}},[Y,r,s,ye,n]);return ht(ht({},We),{},{isFocused:D&&!n,getRootProps:sa,getInputProps:Ln,rootRef:q,inputRef:Y,open:Nt(F)})}function dG(e,t){switch(t.type){case"focus":return ht(ht({},e),{},{isFocused:!0});case"blur":return ht(ht({},e),{},{isFocused:!1});case"openDialog":return ht(ht({},nd),{},{isFileDialogActive:!0});case"closeDialog":return ht(ht({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return ht(ht({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return ht(ht({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return ht({},nd);default:return e}}function nb(){}const hG=()=>{const t=ii().palette.primary.main;return v.jsxs(v.Fragment,{children:[v.jsx("defs",{children:v.jsxs("linearGradient",{id:"BG",x1:"19.496%",x2:"77.479%",y1:"71.822%",y2:"16.69%",children:[v.jsx("stop",{offset:"0%",stopColor:t}),v.jsx("stop",{offset:"100%",stopColor:t,stopOpacity:"0"})]})}),v.jsx("path",{fill:"url(#BG)",fillRule:"nonzero",d:"M0 198.78c0 41.458 14.945 79.236 39.539 107.786 28.214 32.765 69.128 53.365 114.734 53.434a148.44 148.44 0 0056.495-11.036c9.051-3.699 19.182-3.274 27.948 1.107a75.779 75.779 0 0033.957 8.01c5.023 0 9.942-.494 14.7-1.433 13.58-2.67 25.94-8.99 36.09-17.94 6.378-5.627 14.547-8.456 22.897-8.446h.142c27.589 0 53.215-8.732 74.492-23.696 19.021-13.36 34.554-31.696 44.904-53.224C474.92 234.58 480 213.388 480 190.958c0-76.93-59.774-139.305-133.498-139.305-7.516 0-14.88.663-22.063 1.899C305.418 21.42 271.355 0 232.499 0a103.651 103.651 0 00-45.88 10.661c-13.24 6.487-25.011 15.705-34.64 26.939-32.698.544-62.931 11.69-87.676 30.291C25.351 97.155 0 144.882 0 198.781z",opacity:"0.2"})]})},pG=p.memo(hG),gG=({...e})=>{const t=ii(),r=t.palette.primary.main,n=t.palette.primary.dark,i=t.palette.primary.darker;return v.jsx($.Box,{...e,children:v.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 480 360",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx(pG,{}),v.jsx("defs",{children:v.jsxs("linearGradient",{id:"linearGradient-2",x1:"30.113%",x2:"30.113%",y1:"0%",y2:"100%",children:[v.jsx("stop",{offset:"0%",stopOpacity:"0"}),v.jsx("stop",{offset:"100%"})]})}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M293.006 206.192c-2.248 2.672-4.676 2.628-6.123 2.251l.054-1.384s5.979-2.733 5.827-2.159c-.057.215.057.733.242 1.292zM309.393 209.217c-3.818 2.206-6.058-.38-6.578-1.112.32-.84.801-2.204.703-2.592-.144-.577 5.827 2.155 5.827 2.155l.048 1.549zM305.303 187.204s3.632-2.093 4.425-1.151c.792.942-4.425 1.151-4.425 1.151zM307.497 188.355s-.598.299.721.681c1.318.383-.721-.681-.721-.681zM285.532 182.599c-.123.036 3.022 2.123 5.862.395-.012 0-5.154-.61-5.862-.395zM291.239 186.591s-.861 1.692-2.625 1.943c-1.764.251 2.625-1.943 2.625-1.943zM302.785 190.262s4.138 6.578 3.346 8.129c-.793 1.552-3.346-8.129-3.346-8.129zM294.62 216.416c0 .368 0 .712-.036.996-.107 1.33-3.381.828-3.381.828-2.99.416-4.066-1.019-4.422-2.392a5.444 5.444 0 01-.164-1.363 5.606 5.606 0 01.054-.819v-.272a1.998 1.998 0 011.859.379c1.331 1.08 3.095.252 3.095.252s1.294.107 1.793.538c.281.242.745-.341 1.098-.897.021.359.054 1.007.074 1.701.024.356.03.714.03 1.049z",opacity:"0.05"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M289.37 216.339s-.897.879-2.589-.479a5.444 5.444 0 01-.164-1.363c.864.658 2.466 1.842 2.753 1.842zM294.62 216.416a.67.67 0 01-.519.132.672.672 0 01-.452-.287c.348-.266.669-.566.956-.897.009.359.015.717.015 1.052zM301.637 217.032c0 .371 0 .715.033.996.108 1.333 3.382.828 3.382.828 2.989.419 4.066-1.017 4.421-2.392a5.728 5.728 0 00.111-2.182v-.272a2.024 2.024 0 00-1.862.379c-1.331 1.08-3.092.251-3.092.251s-1.294.111-1.794.542c-.281.242-.744-.341-1.094-.897a61.426 61.426 0 00-.078 1.701c-.024.35-.03.708-.027 1.046z",opacity:"0.05"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M306.887 216.949s.897.879 2.587-.479c.112-.444.169-.901.167-1.36-.867.655-2.47 1.839-2.754 1.839zM301.637 217.032a.67.67 0 00.969-.155 6.35 6.35 0 01-.957-.897c-.009.356-.014.714-.012 1.052zM319.614 106.269c.063-.138.123-.275.18-.41.057-.134.077-.209.11-.317-.11.237-.206.48-.29.727z",opacity:"0.05"}),v.jsx("path",{fill:i,fillRule:"nonzero",d:"M157.592 279.461a4.114 4.114 0 01-.917-3.131l13.196-107.979 1.094-8.97a4.142 4.142 0 014.078-3.635l38.654-.257a4.135 4.135 0 004.108-4.249l-.015-.409a4.14 4.14 0 014.135-4.279h40.619a4.134 4.134 0 014.098 4.682 4.137 4.137 0 003.995 4.682l39.01.996a4.13 4.13 0 013.97 4.831l-19.502 113.909-.368 2.152a4.042 4.042 0 01-.598 1.543l-135.557.114z"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M251.256817 123.296578L274.098317 123.296578 274.098317 200.823078 251.256817 200.823078z",transform:"rotate(34.64 262.678 162.06)"}),v.jsx("path",{fill:"#FFC107",fillRule:"nonzero",d:"M270.624591 129.857671L286.750291 129.857671 286.750291 145.983371 270.624591 145.983371z",transform:"rotate(34.804 278.687 137.92)"}),v.jsx("path",{fill:"#FFC107",fillRule:"nonzero",d:"M260.275579 145.813111L276.423079 145.813111 276.423079 161.960611 260.275579 161.960611z",opacity:"0.5",transform:"rotate(34.64 268.35 153.887)"}),v.jsx("path",{fill:"#FFC107",fillRule:"nonzero",d:"M249.191579 161.852111L265.339079 161.852111 265.339079 177.999611 249.191579 177.999611z",opacity:"0.3",transform:"rotate(34.64 257.265 169.926)"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M237.472537 121.334214L260.314037 121.334214 260.314037 198.567714 237.472537 198.567714z",transform:"rotate(16.29 248.893 159.951)"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M249.053192 123.761554L265.200692 123.761554 265.200692 139.909054 249.053192 139.909054z",transform:"rotate(16.29 257.127 131.835)"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M243.584192 142.473554L259.731692 142.473554 259.731692 158.621053 243.584192 158.621053z",opacity:"0.5",transform:"rotate(16.29 251.658 150.547)"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M238.116192 161.182554L254.263692 161.182554 254.263692 177.330054 238.116192 177.330054z",opacity:"0.3",transform:"rotate(16.29 246.19 169.256)"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M230.099192 121.641542L252.940692 121.641542 252.940692 198.875042 230.099192 198.875042z",transform:"rotate(4.6 241.52 160.258)"}),v.jsx("path",{fill:"#1890FF",fillRule:"nonzero",d:"M235.800489 122.985499L251.947989 122.985499 251.947989 139.132999 235.800489 139.132999z",transform:"rotate(4.6 243.874 131.06)"}),v.jsx("path",{fill:"#1890FF",fillRule:"nonzero",d:"M234.234488 142.413498L250.381988 142.413498 250.381988 158.560998 234.234488 158.560998z",opacity:"0.5",transform:"rotate(4.6 242.308 150.487)"}),v.jsx("path",{fill:"#1890FF",fillRule:"nonzero",d:"M232.672488 161.846499L248.819988 161.846499 248.819988 177.993999 232.672488 177.993999z",opacity:"0.3",transform:"rotate(4.6 240.746 169.92)"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M224.736657 123.384871L247.578157 123.384871 247.578157 200.618371 224.736657 200.618371z",transform:"rotate(-2.61 236.157 162.002)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M226.751283 124.659968L242.898783 124.659968 242.898783 140.807468 226.751283 140.807468z",transform:"rotate(-2.61 234.825 132.734)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M228.305601 143.479224L244.473301 143.479224 244.473301 159.646924 228.305601 159.646924z",opacity:"0.5",transform:"rotate(-2.862 236.39 151.563)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M228.525282 163.608968L244.672782 163.608968 244.672782 179.756468 228.525282 179.756468z",opacity:"0.3",transform:"rotate(-2.61 236.599 171.683)"}),v.jsx("path",{fill:"#F4F6F8",fillRule:"nonzero",d:"M232.679 225.726l-20.294 7.851-29.661 11.466c-1.121-2.093-2.771-4.921-4.813-8.297-7.026-11.642-18.65-29.75-29.001-45.665-11.66-17.938-21.696-33.075-21.696-33.075l7.265-2.093 59.346-17.23 38.854 87.043z"}),v.jsx("path",{fill:"#000",fillRule:"nonzero",d:"M232.679 225.726l-20.294 7.851a152.535 152.535 0 01-34.484 3.169c-7.026-11.642-18.65-29.75-29-45.665l-14.42-35.18 59.343-17.218 38.855 87.043z",opacity:"0.1"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M247.777 220.841s-31.526 18.65-78.596 14.432l-37.525-91.486 17.984-3.091 62.168-10.677 35.279 89.043.69 1.779z"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M247.075 219.074c-7.424.365-16.013.329-24.654-.702-9.351-1.101-18.757-3.367-26.82-7.523-6.742-3.471-12.506-7.247-17.532-11.776-13.074-11.759-21.164-28.579-28.429-58.365l62.168-10.677 35.267 89.043z",opacity:"0.1"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M270.203 213.959s-23.239 4.55-46.894 1.749c-9.351-1.1-18.757-3.367-26.82-7.522-6.742-3.471-12.503-7.247-17.532-11.777-16.181-14.557-24.725-36.866-33.536-81.918 0 0 38.633 9.325 76.836-11.101-.012.015 12.865 80.373 47.946 110.569z"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M165.405 131.03s31.416-1.776 40.187-8.548l1.331 4.276s-20.758 9.157-41.518 9.268v-4.996zM165.405 152.137s30.417-1.665 53.399-12.766l.777 1.776s-18.237 10.647-54.176 13.433v-2.443zM167.853 160.362s30.418-1.665 53.397-12.766l.777 1.776s-18.237 10.643-54.174 13.433v-2.443zM170.299 168.599s30.417-1.666 53.399-12.766l.774 1.775s-18.237 10.647-54.173 13.433v-2.442zM172.748 176.835s30.417-1.665 53.396-12.766l.777 1.776s-18.237 10.647-54.173 13.433v-2.443zM175.193 185.075s30.417-1.665 53.399-12.766l.774 1.776s-18.237 10.643-54.173 13.433v-2.443z",opacity:"0.3"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M389.069 287.344s-12.641-.762-11.152 8.097c0 0-.299 1.563 1.124 2.275 0 0 .021-.658 1.295-.434.454.077.916.099 1.375.066a2.832 2.832 0 001.677-.694c.468-.409 3.555-1.468 4.936-7.274 0 0 1.023-1.267.981-1.593l-2.132.897s.73 1.54.156 2.816c0 0-.069-2.759-.479-2.691-.083 0-1.109.533-1.109.533s1.253 2.69.299 4.628c0 0 .359-3.304-.699-4.434l-1.495.876s1.465 2.768.472 5.029c0 0 .254-3.465-.789-4.817l-1.361 1.062s1.379 2.729.539 4.604c0 0-.111-4.036-.835-4.341 0 0-1.195 1.049-1.369 1.494 0 0 .942 1.98.356 3.026 0 0-.359-2.691-.652-2.691 0 0-1.196 1.794-1.309 2.99 0 0 .051-1.818 1.022-3.172a3.593 3.593 0 00-1.818.942s.186-1.262 2.111-1.37c0 0 .981-1.351 1.241-1.435 0 0-1.914-.158-3.074.356 0 0 1.023-1.196 3.427-.649l1.342-1.094s-2.52-.347-3.588.036c0 0 1.229-1.052 3.95-.299l1.462-.873s-2.147-.463-3.426-.299c0 0 1.348-.729 3.856.06l1.044-.47s-1.573-.299-2.033-.358c-.461-.06-.488-.174-.488-.174a5.426 5.426 0 012.957.329s2.222-.813 2.186-.954z"}),v.jsx("ellipse",{cx:"380.363",cy:"298.487",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"8.945",ry:"1.513"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M394.956 258.102s-7.125-.43-6.279 4.565a1.218 1.218 0 00.631 1.283s.015-.371.733-.245c.255.042.515.054.774.036.349-.023.681-.159.945-.389.264-.23 2.003-.828 2.783-4.102 0 0 .577-.714.553-.897l-1.196.511s.41.87.087 1.591c0 0-.039-1.558-.269-1.522-.048 0-.625.299-.625.299s.706 1.495.173 2.61c0 0 .204-1.862-.394-2.502l-.846.496s.825 1.561.266 2.834c0 0 .143-1.955-.446-2.714l-.765.598s.774 1.539.299 2.595c0 0-.063-2.275-.469-2.446a4.75 4.75 0 00-.775.834s.532 1.118.204 1.707c0 0-.204-1.515-.368-1.521 0 0-.67 1.001-.739 1.689a3.671 3.671 0 01.577-1.794 2.007 2.007 0 00-1.025.532s.104-.711 1.196-.771c0 0 .553-.763.699-.81 0 0-1.079-.09-1.734.2 0 0 .577-.67 1.932-.365l.759-.619s-1.423-.194-2.024.021c0 0 .694-.598 2.227-.161l.826-.494a7.445 7.445 0 00-1.935-.164s.763-.413 2.174.033l.598-.263s-.897-.177-1.148-.203c-.252-.027-.275-.099-.275-.099a3.078 3.078 0 011.668.185s1.232-.46 1.208-.538z"}),v.jsx("ellipse",{cx:"390.052",cy:"264.383",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"5.044",ry:"1"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M352.896 262.437s-8.604-.52-7.588 5.51a1.47 1.47 0 00.763 1.549s0-.449.897-.299c.309.052.623.067.935.045a1.923 1.923 0 001.142-.473c.318-.279 2.419-.998 3.361-4.951 0 0 .697-.861.667-1.085l-1.468.622s.496 1.046.104 1.916c0 0-.048-1.877-.326-1.835-.056 0-.753.364-.753.364s.852 1.824.209 3.152c0 0 .245-2.249-.475-3.02l-1.023.598s.996 1.886.32 3.423c0 0 .174-2.359-.535-3.289l-.927.724s.939 1.857.365 3.133c0 0-.072-2.747-.565-2.954 0 0-.81.715-.933 1.008 0 0 .64 1.348.242 2.06 0 0-.245-1.83-.445-1.839 0 0-.804 1.214-.897 2.042.04-.768.28-1.512.697-2.159a2.427 2.427 0 00-1.235.643s.125-.858 1.435-.933c0 0 .667-.92.846-.974 0 0-1.303-.111-2.093.239 0 0 .694-.807 2.329-.44l.915-.747s-1.713-.233-2.442.024c0 0 .837-.715 2.69-.191l.996-.598s-1.462-.314-2.335-.201c0 0 .921-.496 2.625.042l.711-.32s-1.07-.209-1.384-.242c-.314-.033-.329-.119-.329-.119a3.69 3.69 0 012.012.221s1.519-.553 1.492-.646z"}),v.jsx("ellipse",{cx:"346.97",cy:"270.022",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"6.09",ry:"1.028"}),v.jsx("rect",{width:"51.026",height:"91.312",x:"303.926",y:"69.211",fill:"#FFF",fillRule:"nonzero",rx:"4.737",transform:"rotate(-71.99 329.44 114.867)"}),v.jsx("circle",{cx:"303.613",cy:"103.507",r:"9.376",fill:r,fillRule:"nonzero",opacity:"0.2"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M344.582495 86.4883769L347.150665 86.4883769 347.150665 127.336977 344.582495 127.336977z",opacity:"0.2",transform:"rotate(-71.99 345.867 106.913)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M333.028401 99.6373982L335.596571 99.6373982 335.596571 120.445898 333.028401 120.445898z",opacity:"0.2",transform:"rotate(-71.99 334.312 110.042)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M337.109071 101.431004L339.677241 101.431004 339.677241 135.086304 337.109071 135.086304z",opacity:"0.2",transform:"rotate(-71.99 338.393 118.259)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M338.505494 105.174377L341.073664 105.174377 341.073664 146.022978 338.505494 146.022978z",opacity:"0.2",transform:"rotate(-71.99 339.79 125.599)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M348.060839 134.648161L353.026769 134.648161 353.026769 145.952261 348.060839 145.952261z",opacity:"0.5",transform:"rotate(-71.99 350.544 140.3)"}),v.jsx("rect",{width:"50.3",height:"78.305",x:"291.549",y:"174.486",fill:"#FFF",fillRule:"nonzero",rx:"4",transform:"rotate(-57.265 316.7 213.638)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M278.038439 203.88874L292.269539 203.88874 292.269539 207.23723 278.038439 207.23723z",transform:"rotate(-57.57 285.154 205.563)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M283.007935 199.201889L314.262535 199.201889 314.262535 202.272339 283.007935 202.272339z",transform:"rotate(-57.57 298.635 200.737)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M288.543935 202.715889L319.798535 202.715889 319.798535 205.786339 288.543935 205.786339z",transform:"rotate(-57.57 304.171 204.251)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M294.078936 206.235889L325.333536 206.235889 325.333536 209.306339 294.078936 209.306339z",transform:"rotate(-57.57 309.706 207.771)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M299.879919 211.40702L331.090719 211.40702 331.090719 214.47316 299.879919 214.47316z",transform:"rotate(-57.265 315.485 212.94)"}),v.jsx("path",{fill:"#F4F6F8",fillRule:"nonzero",d:"M305.149936 213.268889L336.404536 213.268889 336.404536 216.339339 305.149936 216.339339z",transform:"rotate(-57.57 320.777 214.804)"}),v.jsx("path",{fill:"#F4F6F8",fillRule:"nonzero",d:"M310.685935 216.782889L341.940535 216.782889 341.940535 219.853339 310.685935 219.853339z",transform:"rotate(-57.57 326.313 218.318)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M341.417983 210.406958L349.511163 210.406958 349.511163 218.500138 341.417983 218.500138z",transform:"rotate(-57.57 345.465 214.454)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z"}),v.jsx("path",{fill:n,fillRule:"nonzero",d:"M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z",opacity:"0.243"}),v.jsx("path",{fill:"url(#linearGradient-2)",fillRule:"nonzero",d:"M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z",opacity:"0.32"}),v.jsx("ellipse",{cx:"119.593",cy:"258.664",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"4.846",ry:"1"}),v.jsx("ellipse",{cx:"101.03",cy:"260.545",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"4.846",ry:"1"}),v.jsx("ellipse",{cx:"108.459",cy:"265.905",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"3.444",ry:"1"}),v.jsx("ellipse",{cx:"89.193",cy:"265.433",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"3.444",ry:"1"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M100.925 260.398s6.796-22.279-1.064-31.204c-5.881-6.676-12.557-5.877-15.547-5.052a5.528 5.528 0 00-3.564 2.963c-1.046 2.254-.858 5.913 6.521 10.186 12.35 7.151 13.119 16.96 13.119 16.96l.535 6.147z"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M85.382 227.302s20.031 6.278 15.546 33.096M97.083 229.547s-2.76 1.86-1.88 4.655M87.39 231.203s1.687-1.716 3.741-.768M95.31 239.832s2.963-1.495 3.728.379M102.638 242.962s-2.224-.176-2.263.897"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M101.2 260.575s-7.961-16.193-10.147-15.846c-1.037.17-1.516 1.196-1.734 2.218a6.516 6.516 0 00.434 3.941c1.13 2.601 4.165 7.519 11.447 9.687z"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M91.113 247.808s8.353 12.115 9.968 12.647"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M90.344 249.701L92.293 249.701"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M92.68 254.132L95.738 254.263"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M94.542 250.586L94.21 252.179"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M97.792 255.432L97.732 256.879"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M100.964 260.575s7.959-16.193 10.144-15.846c1.041.17 1.519 1.196 1.734 2.218a6.514 6.514 0 01-.433 3.941c-1.13 2.601-4.168 7.519-11.445 9.687z"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M111.051 247.808s-8.371 12.115-9.97 12.647"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M111.82 249.701L109.871 249.701"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M109.485 254.132L106.426 254.263"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M107.622 250.586L107.954 252.179"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M104.372 255.432L104.432 256.879"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M87.295 264.357a1.375 1.375 0 01-.452-.685.599.599 0 01.317-.697c.3-.11.598.09.837.299.24.21.512.431.81.38a1.237 1.237 0 01-.382-1.16.47.47 0 01.105-.236c.161-.174.454-.099.648.039.598.43.787 1.264.79 2.018.03-.277.03-.555 0-.831a.853.853 0 01.334-.727.938.938 0 01.476-.114.988.988 0 01.774.222.767.767 0 01-.03.947c-.229.257-.5.474-.801.64a1.805 1.805 0 00-.571.547.399.399 0 00-.042.096h-1.74a4.826 4.826 0 01-1.073-.738zM117.626 257.833a1.355 1.355 0 01-.452-.682.599.599 0 01.314-.696c.299-.111.598.089.837.299.239.209.509.436.817.391a1.236 1.236 0 01-.386-1.157.472.472 0 01.107-.236c.162-.173.455-.099.649.036.613.433.787 1.268.79 2.021a4.008 4.008 0 000-.834.852.852 0 01.299-.736.955.955 0 01.475-.11.998.998 0 01.774.218.768.768 0 01-.033.951 2.996 2.996 0 01-.798.64 1.767 1.767 0 00-.571.544.499.499 0 00-.042.098h-1.701a4.78 4.78 0 01-1.079-.747zM107.518 264.357a1.406 1.406 0 01-.455-.685.6.6 0 01.317-.697c.299-.11.598.09.837.299.239.21.505.437.816.395a1.247 1.247 0 01-.385-1.16.472.472 0 01.107-.236c.162-.174.455-.099.649.039.613.43.783 1.264.789 2.018.03-.277.03-.555 0-.832a.855.855 0 01.314-.735.93.93 0 01.476-.114.988.988 0 01.774.222.764.764 0 01-.033.947 3.028 3.028 0 01-.798.64 1.798 1.798 0 00-.571.547.411.411 0 00-.042.096h-1.734c-.385-.2-.742-.45-1.061-.744z"}),v.jsx("circle",{cx:"84.467",cy:"87.003",r:"6.467",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("circle",{cx:"395.425",cy:"138.681",r:"6.467",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("circle",{cx:"279.178",cy:"66.467",r:"6.467",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("circle",{cx:"97.4",cy:"122.68",r:"10.838",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("path",{fill:n,fillRule:"nonzero",d:"M206.029 209.911c-7.975 0-14.44 6.465-14.44 14.44s6.465 14.44 14.44 14.44 14.44-6.465 14.44-14.44-6.465-14.44-14.44-14.44z"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M206.029 211.59c7.047 0 12.761 5.714 12.761 12.761 0 7.048-5.714 12.761-12.761 12.761-7.048 0-12.761-5.713-12.761-12.761.006-7.045 5.716-12.754 12.761-12.761",opacity:"0.72"}),v.jsx("path",{fill:n,fillRule:"nonzero",d:"M200.058 225.406l-.699-.681a.721.721 0 010-1.065l6.127-5.984a.753.753 0 01.546-.231c.206 0 .404.083.545.231l6.127 5.978a.733.733 0 010 1.065l-.699.682a.768.768 0 01-1.091 0l-3.622-3.727v8.843a.725.725 0 01-.219.523.76.76 0 01-.534.217h-1.009a.75.75 0 01-.759-.74v-8.832l-3.622 3.726a.768.768 0 01-1.091-.005z"})]})})},mG=p.memo(gG),vG=["pdf"],yG=["txt"],bG=["psd"],xG=["doc","docx"],wG=["xls","xlsx"],CG=["zip","rar","iso"],TG=["ai","esp"],SG=["ppt","pptx"],EG=["wav","aif","mp3","aac"],OG=["jpg","jpeg","gif","bmp","png","svg"],PG=["m4v","avi","mpg","mp4","webm"],nr=e=>`/assets/icons/files/${e}.svg`;function ib(e){let t;switch(e==null?void 0:e.includes(Gt(e))){case yG.includes(Gt(e)):t="txt";break;case CG.includes(Gt(e)):t="zip";break;case EG.includes(Gt(e)):t="audio";break;case OG.includes(Gt(e)):t="image";break;case PG.includes(Gt(e)):t="video";break;case xG.includes(Gt(e)):t="word";break;case wG.includes(Gt(e)):t="excel";break;case SG.includes(Gt(e)):t="powerpoint";break;case vG.includes(Gt(e)):t="pdf";break;case bG.includes(Gt(e)):t="photoshop";break;case TG.includes(Gt(e)):t="illustrator";break;default:t=Gt(e)}return t}function MG(e){let t;switch(ib(e)){case"folder":t=nr("ic_folder");break;case"txt":t=nr("ic_txt");break;case"zip":t=nr("ic_zip");break;case"audio":t=nr("ic_audio");break;case"video":t=nr("ic_video");break;case"word":t=nr("ic_word");break;case"excel":t=nr("ic_excel");break;case"powerpoint":t=nr("ic_power_point");break;case"pdf":t=nr("ic_pdf");break;case"photoshop":t=nr("ic_pts");break;case"illustrator":t=nr("ic_ai");break;case"image":t=nr("ic_img");break;default:t=nr("ic_file")}return t}function Gt(e=""){return e&&e.split(".").pop()||""}function _G(e){return e.split("/").pop()}function id(e){return typeof e=="string"?{key:e,preview:e,name:_G(e),type:Gt(e)}:{key:e.preview,name:e.name,size:e.size,path:e.path,type:e.type,preview:e.preview,lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate}}function pl(e){const t=(e==null?void 0:e.color)||"#000000",r=(e==null?void 0:e.blur)||6,n=(e==null?void 0:e.opacity)||.8,i=e==null?void 0:e.imgUrl;return i?{position:"relative",backgroundImage:`url(${i})`,"&:before":{position:"absolute",top:0,left:0,zIndex:9,content:'""',width:"100%",height:"100%",backdropFilter:`blur(${r}px)`,WebkitBackdropFilter:`blur(${r}px)`,backgroundColor:V(t,n)}}:{backdropFilter:`blur(${r}px)`,WebkitBackdropFilter:`blur(${r}px)`,backgroundColor:V(t,n)}}function $G(e){const t=(e==null?void 0:e.direction)||"to bottom",r=e==null?void 0:e.startColor,n=e==null?void 0:e.endColor,i=e==null?void 0:e.imgUrl,o=e==null?void 0:e.color;return i?{background:`linear-gradient(${t}, ${r||o}, ${n||o}), url(${i})`,backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center center"}:{background:`linear-gradient(${t}, ${r}, ${n})`}}function AG(e){return{background:`-webkit-linear-gradient(${e})`,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}function kG(e){return{filter:e,WebkitFilter:e,MozFilter:e}}const ob={msOverflowStyle:"none",scrollbarWidth:"none",overflowY:"scroll","&::-webkit-scrollbar":{display:"none"}},DG=Object.freeze(Object.defineProperty({__proto__:null,bgBlur:pl,bgGradient:$G,filterStyles:kG,hideScrollbarX:{msOverflowStyle:"none",scrollbarWidth:"none",overflowX:"scroll","&::-webkit-scrollbar":{display:"none"}},hideScrollbarY:ob,textGradient:AG},Symbol.toStringTag,{value:"Module"})),ab=({onDownload:e})=>{const t=ii();return v.jsx($.IconButton,{onClick:e,sx:{p:0,top:0,right:0,width:1,height:1,zIndex:9,opacity:0,position:"absolute",borderRadius:"unset",justifyContent:"center",bgcolor:"grey.800",color:"common.white",transition:t.transitions.create("opacity"),"&:hover":{opacity:1,...pl({opacity:.64,color:t.palette.grey[900]})}},children:v.jsx(It,{icon:"eva:arrow-circle-down-fill",width:24})})},sb=({file:e,tooltip:t,imageView:r,onDownload:n,sx:i,imgSx:o})=>{const{name:a="",path:s="",preview:c=""}=id(e),l=ib(s||c),u=l==="image"&&r?v.jsx($.Box,{component:"img",src:c,sx:{width:1,height:1,flexShrink:0,objectFit:"cover",...o}}):v.jsx($.Box,{component:"img",src:MG(l),sx:{width:32,height:32,flexShrink:0,...i}});return t?v.jsx($.Tooltip,{title:a,children:v.jsxs($.Stack,{flexShrink:0,component:"span",alignItems:"center",justifyContent:"center",sx:{width:"fit-content",height:"inherit"},children:[u,n&&v.jsx(ab,{onDownload:n})]})}):v.jsxs(v.Fragment,{children:[u,n&&v.jsx(ab,{onDownload:n})]})};var lb={exports:{}};/*! @preserve
238
+ `,GU=1,qU=3,XU=function(e){OU(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.imageRef=p.createRef(),r.videoRef=p.createRef(),r.containerRef=null,r.styleRef=null,r.containerRect=null,r.mediaSize={width:0,height:0,naturalWidth:0,naturalHeight:0},r.dragStartPosition={x:0,y:0},r.dragStartCrop={x:0,y:0},r.gestureZoomStart=0,r.gestureRotationStart=0,r.isTouching=!1,r.lastPinchDistance=0,r.lastPinchRotation=0,r.rafDragTimeout=null,r.rafPinchTimeout=null,r.wheelTimer=null,r.currentDoc=typeof document<"u"?document:null,r.currentWindow=typeof window<"u"?window:null,r.resizeObserver=null,r.state={cropSize:null,hasWheelJustStarted:!1},r.initResizeObserver=function(){if(!(typeof window.ResizeObserver>"u"||!r.containerRef)){var n=!0;r.resizeObserver=new window.ResizeObserver(function(i){if(n){n=!1;return}r.computeSizes()}),r.resizeObserver.observe(r.containerRef)}},r.preventZoomSafari=function(n){return n.preventDefault()},r.cleanEvents=function(){r.currentDoc&&(r.currentDoc.removeEventListener("mousemove",r.onMouseMove),r.currentDoc.removeEventListener("mouseup",r.onDragStopped),r.currentDoc.removeEventListener("touchmove",r.onTouchMove),r.currentDoc.removeEventListener("touchend",r.onDragStopped),r.currentDoc.removeEventListener("gesturemove",r.onGestureMove),r.currentDoc.removeEventListener("gestureend",r.onGestureEnd))},r.clearScrollEvent=function(){r.containerRef&&r.containerRef.removeEventListener("wheel",r.onWheel),r.wheelTimer&&clearTimeout(r.wheelTimer)},r.onMediaLoad=function(){var n=r.computeSizes();n&&(r.emitCropData(),r.setInitialCrop(n)),r.props.onMediaLoaded&&r.props.onMediaLoaded(r.mediaSize)},r.setInitialCrop=function(n){if(r.props.initialCroppedAreaPercentages){var i=WU(r.props.initialCroppedAreaPercentages,r.mediaSize,r.props.rotation,n,r.props.minZoom,r.props.maxZoom),o=i.crop,a=i.zoom;r.props.onCropChange(o),r.props.onZoomChange&&r.props.onZoomChange(a)}else if(r.props.initialCroppedAreaPixels){var s=HU(r.props.initialCroppedAreaPixels,r.mediaSize,r.props.rotation,n,r.props.minZoom,r.props.maxZoom),o=s.crop,a=s.zoom;r.props.onCropChange(o),r.props.onZoomChange&&r.props.onZoomChange(a)}},r.computeSizes=function(){var n,i,o,a,s,c,l=r.imageRef.current||r.videoRef.current;if(l&&r.containerRef){r.containerRect=r.containerRef.getBoundingClientRect();var u=r.containerRect.width/r.containerRect.height,f=((n=r.imageRef.current)===null||n===void 0?void 0:n.naturalWidth)||((i=r.videoRef.current)===null||i===void 0?void 0:i.videoWidth)||0,d=((o=r.imageRef.current)===null||o===void 0?void 0:o.naturalHeight)||((a=r.videoRef.current)===null||a===void 0?void 0:a.videoHeight)||0,h=l.offsetWidth<f||l.offsetHeight<d,g=f/d,m=void 0;if(h){var y=r.getObjectFit();switch(y){default:case"contain":m=u>g?{width:r.containerRect.height*g,height:r.containerRect.height}:{width:r.containerRect.width,height:r.containerRect.width/g};break;case"horizontal-cover":m={width:r.containerRect.width,height:r.containerRect.width/g};break;case"vertical-cover":m={width:r.containerRect.height*g,height:r.containerRect.height};break}}else m={width:l.offsetWidth,height:l.offsetHeight};r.mediaSize=Ft(Ft({},m),{naturalWidth:f,naturalHeight:d}),r.props.setMediaSize&&r.props.setMediaSize(r.mediaSize);var x=r.props.cropSize?r.props.cropSize:FU(r.mediaSize.width,r.mediaSize.height,r.containerRect.width,r.containerRect.height,r.props.aspect,r.props.rotation);return(((s=r.state.cropSize)===null||s===void 0?void 0:s.height)!==x.height||((c=r.state.cropSize)===null||c===void 0?void 0:c.width)!==x.width)&&r.props.onCropSizeChange&&r.props.onCropSizeChange(x),r.setState({cropSize:x},r.recomputeCropPosition),r.props.setCropSize&&r.props.setCropSize(x),x}},r.onMouseDown=function(n){r.currentDoc&&(n.preventDefault(),r.currentDoc.addEventListener("mousemove",r.onMouseMove),r.currentDoc.addEventListener("mouseup",r.onDragStopped),r.onDragStart(t.getMousePoint(n)))},r.onMouseMove=function(n){return r.onDrag(t.getMousePoint(n))},r.onTouchStart=function(n){r.currentDoc&&(r.isTouching=!0,!(r.props.onTouchRequest&&!r.props.onTouchRequest(n))&&(r.currentDoc.addEventListener("touchmove",r.onTouchMove,{passive:!1}),r.currentDoc.addEventListener("touchend",r.onDragStopped),n.touches.length===2?r.onPinchStart(n):n.touches.length===1&&r.onDragStart(t.getTouchPoint(n.touches[0]))))},r.onTouchMove=function(n){n.preventDefault(),n.touches.length===2?r.onPinchMove(n):n.touches.length===1&&r.onDrag(t.getTouchPoint(n.touches[0]))},r.onGestureStart=function(n){r.currentDoc&&(n.preventDefault(),r.currentDoc.addEventListener("gesturechange",r.onGestureMove),r.currentDoc.addEventListener("gestureend",r.onGestureEnd),r.gestureZoomStart=r.props.zoom,r.gestureRotationStart=r.props.rotation)},r.onGestureMove=function(n){if(n.preventDefault(),!r.isTouching){var i=t.getMousePoint(n),o=r.gestureZoomStart-1+n.scale;if(r.setNewZoom(o,i,{shouldUpdatePosition:!0}),r.props.onRotationChange){var a=r.gestureRotationStart+n.rotation;r.props.onRotationChange(a)}}},r.onGestureEnd=function(n){r.cleanEvents()},r.onDragStart=function(n){var i,o,a=n.x,s=n.y;r.dragStartPosition={x:a,y:s},r.dragStartCrop=Ft({},r.props.crop),(o=(i=r.props).onInteractionStart)===null||o===void 0||o.call(i)},r.onDrag=function(n){var i=n.x,o=n.y;r.currentWindow&&(r.rafDragTimeout&&r.currentWindow.cancelAnimationFrame(r.rafDragTimeout),r.rafDragTimeout=r.currentWindow.requestAnimationFrame(function(){if(r.state.cropSize&&!(i===void 0||o===void 0)){var a=i-r.dragStartPosition.x,s=o-r.dragStartPosition.y,c={x:r.dragStartCrop.x+a,y:r.dragStartCrop.y+s},l=r.props.restrictPosition?ol(c,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):c;r.props.onCropChange(l)}}))},r.onDragStopped=function(){var n,i;r.isTouching=!1,r.cleanEvents(),r.emitCropData(),(i=(n=r.props).onInteractionEnd)===null||i===void 0||i.call(n)},r.onWheel=function(n){if(r.currentWindow&&!(r.props.onWheelRequest&&!r.props.onWheelRequest(n))){n.preventDefault();var i=t.getMousePoint(n),o=LU(n).pixelY,a=r.props.zoom-o*r.props.zoomSpeed/200;r.setNewZoom(a,i,{shouldUpdatePosition:!0}),r.state.hasWheelJustStarted||r.setState({hasWheelJustStarted:!0},function(){var s,c;return(c=(s=r.props).onInteractionStart)===null||c===void 0?void 0:c.call(s)}),r.wheelTimer&&clearTimeout(r.wheelTimer),r.wheelTimer=r.currentWindow.setTimeout(function(){return r.setState({hasWheelJustStarted:!1},function(){var s,c;return(c=(s=r.props).onInteractionEnd)===null||c===void 0?void 0:c.call(s)})},250)}},r.getPointOnContainer=function(n){var i=n.x,o=n.y;if(!r.containerRect)throw new Error("The Cropper is not mounted");return{x:r.containerRect.width/2-(i-r.containerRect.left),y:r.containerRect.height/2-(o-r.containerRect.top)}},r.getPointOnMedia=function(n){var i=n.x,o=n.y,a=r.props,s=a.crop,c=a.zoom;return{x:(i+s.x)/c,y:(o+s.y)/c}},r.setNewZoom=function(n,i,o){var a=o===void 0?{}:o,s=a.shouldUpdatePosition,c=s===void 0?!0:s;if(!(!r.state.cropSize||!r.props.onZoomChange)){var l=al(n,r.props.minZoom,r.props.maxZoom);if(c){var u=r.getPointOnContainer(i),f=r.getPointOnMedia(u),d={x:f.x*l-u.x,y:f.y*l-u.y},h=r.props.restrictPosition?ol(d,r.mediaSize,r.state.cropSize,l,r.props.rotation):d;r.props.onCropChange(h)}r.props.onZoomChange(l)}},r.getCropData=function(){if(!r.state.cropSize)return null;var n=r.props.restrictPosition?ol(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop;return NU(n,r.mediaSize,r.state.cropSize,r.getAspect(),r.props.zoom,r.props.rotation,r.props.restrictPosition)},r.emitCropData=function(){var n=r.getCropData();if(n){var i=n.croppedAreaPercentages,o=n.croppedAreaPixels;r.props.onCropComplete&&r.props.onCropComplete(i,o),r.props.onCropAreaChange&&r.props.onCropAreaChange(i,o)}},r.emitCropAreaChange=function(){var n=r.getCropData();if(n){var i=n.croppedAreaPercentages,o=n.croppedAreaPixels;r.props.onCropAreaChange&&r.props.onCropAreaChange(i,o)}},r.recomputeCropPosition=function(){if(r.state.cropSize){var n=r.props.restrictPosition?ol(r.props.crop,r.mediaSize,r.state.cropSize,r.props.zoom,r.props.rotation):r.props.crop;r.props.onCropChange(n),r.emitCropData()}},r}return t.prototype.componentDidMount=function(){!this.currentDoc||!this.currentWindow||(this.containerRef&&(this.containerRef.ownerDocument&&(this.currentDoc=this.containerRef.ownerDocument),this.currentDoc.defaultView&&(this.currentWindow=this.currentDoc.defaultView),this.initResizeObserver(),typeof window.ResizeObserver>"u"&&this.currentWindow.addEventListener("resize",this.computeSizes),this.props.zoomWithScroll&&this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}),this.containerRef.addEventListener("gesturestart",this.onGestureStart)),this.props.disableAutomaticStylesInjection||(this.styleRef=this.currentDoc.createElement("style"),this.styleRef.setAttribute("type","text/css"),this.props.nonce&&this.styleRef.setAttribute("nonce",this.props.nonce),this.styleRef.innerHTML=YU,this.currentDoc.head.appendChild(this.styleRef)),this.imageRef.current&&this.imageRef.current.complete&&this.onMediaLoad(),this.props.setImageRef&&this.props.setImageRef(this.imageRef),this.props.setVideoRef&&this.props.setVideoRef(this.videoRef))},t.prototype.componentWillUnmount=function(){var r,n;!this.currentDoc||!this.currentWindow||(typeof window.ResizeObserver>"u"&&this.currentWindow.removeEventListener("resize",this.computeSizes),(r=this.resizeObserver)===null||r===void 0||r.disconnect(),this.containerRef&&this.containerRef.removeEventListener("gesturestart",this.preventZoomSafari),this.styleRef&&((n=this.styleRef.parentNode)===null||n===void 0||n.removeChild(this.styleRef)),this.cleanEvents(),this.props.zoomWithScroll&&this.clearScrollEvent())},t.prototype.componentDidUpdate=function(r){var n,i,o,a,s,c,l,u,f;r.rotation!==this.props.rotation?(this.computeSizes(),this.recomputeCropPosition()):r.aspect!==this.props.aspect?this.computeSizes():r.zoom!==this.props.zoom?this.recomputeCropPosition():((n=r.cropSize)===null||n===void 0?void 0:n.height)!==((i=this.props.cropSize)===null||i===void 0?void 0:i.height)||((o=r.cropSize)===null||o===void 0?void 0:o.width)!==((a=this.props.cropSize)===null||a===void 0?void 0:a.width)?this.computeSizes():(((s=r.crop)===null||s===void 0?void 0:s.x)!==((c=this.props.crop)===null||c===void 0?void 0:c.x)||((l=r.crop)===null||l===void 0?void 0:l.y)!==((u=this.props.crop)===null||u===void 0?void 0:u.y))&&this.emitCropAreaChange(),r.zoomWithScroll!==this.props.zoomWithScroll&&this.containerRef&&(this.props.zoomWithScroll?this.containerRef.addEventListener("wheel",this.onWheel,{passive:!1}):this.clearScrollEvent()),r.video!==this.props.video&&((f=this.videoRef.current)===null||f===void 0||f.load())},t.prototype.getAspect=function(){var r=this.props,n=r.cropSize,i=r.aspect;return n?n.width/n.height:i},t.prototype.getObjectFit=function(){var r,n,i,o;if(this.props.objectFit==="cover"){var a=this.imageRef.current||this.videoRef.current;if(a&&this.containerRef){this.containerRect=this.containerRef.getBoundingClientRect();var s=this.containerRect.width/this.containerRect.height,c=((r=this.imageRef.current)===null||r===void 0?void 0:r.naturalWidth)||((n=this.videoRef.current)===null||n===void 0?void 0:n.videoWidth)||0,l=((i=this.imageRef.current)===null||i===void 0?void 0:i.naturalHeight)||((o=this.videoRef.current)===null||o===void 0?void 0:o.videoHeight)||0,u=c/l;return u<s?"horizontal-cover":"vertical-cover"}return"horizontal-cover"}return this.props.objectFit},t.prototype.onPinchStart=function(r){var n=t.getTouchPoint(r.touches[0]),i=t.getTouchPoint(r.touches[1]);this.lastPinchDistance=yy(n,i),this.lastPinchRotation=by(n,i),this.onDragStart(xy(n,i))},t.prototype.onPinchMove=function(r){var n=this;if(!(!this.currentDoc||!this.currentWindow)){var i=t.getTouchPoint(r.touches[0]),o=t.getTouchPoint(r.touches[1]),a=xy(i,o);this.onDrag(a),this.rafPinchTimeout&&this.currentWindow.cancelAnimationFrame(this.rafPinchTimeout),this.rafPinchTimeout=this.currentWindow.requestAnimationFrame(function(){var s=yy(i,o),c=n.props.zoom*(s/n.lastPinchDistance);n.setNewZoom(c,a,{shouldUpdatePosition:!1}),n.lastPinchDistance=s;var l=by(i,o),u=n.props.rotation+(l-n.lastPinchRotation);n.props.onRotationChange&&n.props.onRotationChange(u),n.lastPinchRotation=l})}},t.prototype.render=function(){var r=this,n=this.props,i=n.image,o=n.video,a=n.mediaProps,s=n.transform,c=n.crop,l=c.x,u=c.y,f=n.rotation,d=n.zoom,h=n.cropShape,g=n.showGrid,m=n.style,y=m.containerStyle,x=m.cropAreaStyle,b=m.mediaStyle,S=n.classes,P=S.containerClassName,w=S.cropAreaClassName,E=S.mediaClassName,O=this.getObjectFit();return p.createElement("div",{onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,ref:function(L){return r.containerRef=L},"data-testid":"container",style:y,className:sl("reactEasyCrop_Container",P)},i?p.createElement("img",Ft({alt:"",className:sl("reactEasyCrop_Image",O==="contain"&&"reactEasyCrop_Contain",O==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",O==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",E)},a,{src:i,ref:this.imageRef,style:Ft(Ft({},b),{transform:s||"translate(".concat(l,"px, ").concat(u,"px) rotate(").concat(f,"deg) scale(").concat(d,")")}),onLoad:this.onMediaLoad})):o&&p.createElement("video",Ft({autoPlay:!0,loop:!0,muted:!0,className:sl("reactEasyCrop_Video",O==="contain"&&"reactEasyCrop_Contain",O==="horizontal-cover"&&"reactEasyCrop_Cover_Horizontal",O==="vertical-cover"&&"reactEasyCrop_Cover_Vertical",E)},a,{ref:this.videoRef,onLoadedMetadata:this.onMediaLoad,style:Ft(Ft({},b),{transform:s||"translate(".concat(l,"px, ").concat(u,"px) rotate(").concat(f,"deg) scale(").concat(d,")")}),controls:!1}),(Array.isArray(o)?o:[{src:o}]).map(function(M){return p.createElement("source",Ft({key:M.src},M))})),this.state.cropSize&&p.createElement("div",{style:Ft(Ft({},x),{width:this.state.cropSize.width,height:this.state.cropSize.height}),"data-testid":"cropper",className:sl("reactEasyCrop_CropArea",h==="round"&&"reactEasyCrop_CropAreaRound",g&&"reactEasyCrop_CropAreaGrid",w)}))},t.defaultProps={zoom:1,rotation:0,aspect:4/3,maxZoom:qU,minZoom:GU,cropShape:"rect",objectFit:"contain",showGrid:!0,style:{},classes:{},mediaProps:{},zoomSpeed:1,restrictPosition:!0,zoomWithScroll:!0},t.getMousePoint=function(r){return{x:Number(r.clientX),y:Number(r.clientY)}},t.getTouchPoint=function(r){return{x:Number(r.clientX),y:Number(r.clientY)}},t}(p.Component);const KU=e=>new Promise((t,r)=>{const n=new Image;n.addEventListener("load",()=>t(n)),n.addEventListener("error",i=>r(i)),n.setAttribute("crossOrigin","anonymous"),n.src=e});function wy(e){return e*Math.PI/180}function ZU(e,t,r){const n=wy(r);return{width:Math.abs(Math.cos(n)*e)+Math.abs(Math.sin(n)*t),height:Math.abs(Math.sin(n)*e)+Math.abs(Math.cos(n)*t)}}async function QU(e,t,r=0,n={horizontal:!1,vertical:!1}){const i=await KU(e),o=document.createElement("canvas"),a=o.getContext("2d");if(!a)return null;const s=wy(r),{width:c,height:l}=ZU(i.width,i.height,r);o.width=c,o.height=l,a.translate(c/2,l/2),a.rotate(s),a.scale(n.horizontal?-1:1,n.vertical?-1:1),a.translate(-i.width/2,-i.height/2),a.drawImage(i,0,0);const u=a.getImageData(t.x,t.y,t.width,t.height);return o.width=t.width,o.height=t.height,a.putImageData(u,0,0),new Promise((f,d)=>{o.toBlob(h=>{f(h)},"image/png")})}const Cy=({title:e,open:t,onClose:r,onFileCropped:n,image:{width:i,height:o,aspect:a,imgSrc:s=""}})=>{const[c,l]=p.useState({x:0,y:0}),[u,f]=p.useState(1),d=p.useRef(),h=p.useRef(),g=async(x,b)=>{try{const S=await QU(s,b,0);d.current=new File([S],"image.png",{type:S.type})}catch{n(void 0)}},m=async()=>{n(h.current),r()},y=()=>{n(d.current),h.current=d.current,r()};return v.jsxs($.Dialog,{open:t,scroll:"body",PaperProps:{sx:{maxWidth:"100%"}},children:[v.jsx($.DialogTitle,{children:e}),v.jsx($.DialogContent,{children:v.jsx($.Stack,{position:"relative",alignItems:"center",justifyContent:"center",style:{position:"relative",width:i*1.1,height:o*1.1,margin:"auto"},children:v.jsx(XU,{image:s,crop:c,zoom:u,minZoom:1,maxZoom:5,cropSize:{width:i,height:o},aspect:a,onCropChange:l,onZoomChange:f,onCropComplete:g,objectFit:"horizontal-cover"})})}),v.jsxs($.DialogActions,{children:[v.jsxs($.Stack,{direction:"row",gap:3,flex:1,alignItems:"center",maxWidth:200,mr:"auto",children:[v.jsx($.Typography,{variant:"body1",children:"Zoom"}),v.jsx($.Slider,{value:u,onChange:(x,b)=>f(Array.isArray(b)?b[0]:b),min:1,max:5,size:"medium",step:.5})]}),v.jsx($.Button,{variant:"soft",size:"medium",onClick:m,children:"Descartar"}),v.jsx($.Button,{variant:"contained",size:"medium",onClick:y,children:"Salvar"})]})]})},JU=$t($.Box)(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=t.variant==="filled",i=t.variant==="outlined",o=t.variant==="soft",a={...t.color==="default"&&{...i&&{backgroundColor:"transparent",color:e.palette.text.primary,border:`1px solid ${V(e.palette.grey[500],.32)}`},...o&&{color:r?e.palette.text.primary:e.palette.common.white,backgroundColor:V(e.palette.grey[500],.16)}}},s={...t.color!=="default"&&{...n&&{color:e.palette[t.color].contrastText,backgroundColor:e.palette[t.color].main},...i&&{backgroundColor:"transparent",color:e.palette[t.color].main,border:`1px solid ${e.palette[t.color].main}`},...o&&{color:e.palette[t.color][r?"dark":"light"],backgroundColor:V(e.palette[t.color].main,.16)}}};return{height:24,minWidth:22,lineHeight:0,borderRadius:6,cursor:"default",alignItems:"center",whiteSpace:"nowrap",display:"inline-flex",justifyContent:"center",textTransform:"capitalize",padding:e.spacing(0,1),color:e.palette.grey[800],fontSize:e.typography.pxToRem(12),fontFamily:e.typography.fontFamily,backgroundColor:e.palette.grey[300],fontWeight:e.typography.fontWeightBold,...s,...a}}),Sy=p.forwardRef(({children:e,color:t="default",variant:r="soft",startIcon:n,endIcon:i,sx:o,...a},s)=>{const c=ii(),l={width:16,height:16,"& svg, img":{width:1,height:1,objectFit:"cover"}};return v.jsxs(JU,{ref:s,component:"span",ownerState:{color:t,variant:r},sx:{...n&&{pl:.75},...i&&{pr:.75},...o},theme:c,...a,children:[n&&v.jsxs($.Box,{sx:{mr:.75,...l},children:[" ",n," "]}),e,i&&v.jsxs($.Box,{sx:{ml:.75,...l},children:[" ",i," "]})]})});Sy.displayName="Label";function eY(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}const tY=$t("span")(({arrow:e,theme:t})=>{const i=`solid 1px ${V(t.palette.grey[500],.12)}`,o={borderRadius:"0 0 3px 0",top:-6,borderBottom:i,borderRight:i},a={borderRadius:"3px 0 0 0",bottom:-6,borderTop:i,borderLeft:i},s={borderRadius:"0 3px 0 0",left:-6,borderTop:i,borderRight:i},c={borderRadius:"0 0 0 3px",right:-6,borderBottom:i,borderLeft:i};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},...e==="top-left"&&{...o,left:20},...e==="top-center"&&{...o,left:0,right:0,margin:"auto"},...e==="top-right"&&{...o,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"&&{...s,top:20},...e==="left-center"&&{...s,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...s,bottom:20},...e==="right-top"&&{...c,top:20},...e==="right-center"&&{...c,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...c,bottom:20}}}),rY=({open:e,children:t,arrow:r="top-right",disabledArrow:n,sx:i,...o})=>{const{style:a,anchorOrigin:s,transformOrigin:c}=eY(r);return v.jsxs($.Popover,{open:!!e,anchorEl:e,anchorOrigin:s,transformOrigin:c,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}},...i}},...o,children:[!n&&v.jsx(tY,{arrow:r}),t]})},nY=({children:e,container:t})=>sd.createPortal(e,document.getElementById(t)||document.body);var iY=!!(typeof window<"u"&&window.document&&window.document.createElement),oY=iY;const Ty=dn(oY);var Hi=function(){return Hi=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Hi.apply(this,arguments)},Ui=null,Ey=null;Ty&&window.addEventListener("resize",function(){Ey!==window.devicePixelRatio&&(Ey=window.devicePixelRatio,Ui=null)});function Oy(){if(Ui===null){if(typeof document>"u")return Ui=0,Ui;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),Ui=r}return Ui}function Py(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function My(e){return!e||!e.ownerDocument?document:e.ownerDocument}var _y=function(e){var t={},r=Array.prototype.reduce.call(e,function(n,i){var o=i.name.match(/data-simplebar-(.+)/);if(o){var a=o[1].replace(/\W+(.)/g,function(s,c){return c.toUpperCase()});switch(i.value){case"true":n[a]=!0;break;case"false":n[a]=!1;break;case void 0:n[a]=!0;break;default:n[a]=i.value}}return n},t);return r};function $y(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function Ay(e,t){e&&t.split(" ").forEach(function(r){e.classList.remove(r)})}function ky(e){return".".concat(e.split(" ").join("."))}var aY=Object.freeze({__proto__:null,getElementWindow:Py,getElementDocument:My,getOptions:_y,addClasses:$y,removeClasses:Ay,classNamesToQuery:ky}),ln=Py,Kf=My,sY=_y,cn=$y,un=Ay,Yt=ky,ll=function(){function e(t,r){r===void 0&&(r={});var n=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var i=ln(n.el);n.scrollXTicking||(i.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(i.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,cn(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){un(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(cn(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){un(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(i){n.mouseX=i.clientX,n.mouseY=i.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(i){if(!(!n.axis.x.track.el||!n.axis.y.track.el||!n.axis.x.scrollbar.el||!n.axis.y.scrollbar.el)){var o,a;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(o=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(a=n.isWithinBounds(n.axis.y.track.rect)),(o||a)&&(i.stopPropagation(),i.type==="pointerdown"&&i.pointerType!=="touch"&&(o&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(i,"x"):n.onTrackClick(i,"x")),a&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(i,"y"):n.onTrackClick(i,"y"))))}},this.drag=function(i){var o,a,s,c,l,u,f,d,h,g,m;if(!(!n.draggedAxis||!n.contentWrapperEl)){var y,x=n.axis[n.draggedAxis].track,b=(a=(o=x.rect)===null||o===void 0?void 0:o[n.axis[n.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,S=n.axis[n.draggedAxis].scrollbar,P=(c=(s=n.contentWrapperEl)===null||s===void 0?void 0:s[n.axis[n.draggedAxis].scrollSizeAttr])!==null&&c!==void 0?c:0,w=parseInt((u=(l=n.elStyles)===null||l===void 0?void 0:l[n.axis[n.draggedAxis].sizeAttr])!==null&&u!==void 0?u:"0px",10);i.preventDefault(),i.stopPropagation(),n.draggedAxis==="y"?y=i.pageY:y=i.pageX;var E=y-((d=(f=x.rect)===null||f===void 0?void 0:f[n.axis[n.draggedAxis].offsetAttr])!==null&&d!==void 0?d:0)-n.axis[n.draggedAxis].dragOffset;E=n.draggedAxis==="x"&&n.isRtl?((g=(h=x.rect)===null||h===void 0?void 0:h[n.axis[n.draggedAxis].sizeAttr])!==null&&g!==void 0?g:0)-S.size-E:E;var O=E/(b-S.size),M=O*(P-w);n.draggedAxis==="x"&&n.isRtl&&(M=!((m=e.getRtlHelpers())===null||m===void 0)&&m.isScrollingToNegative?-M:M),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=M}},this.onEndDrag=function(i){var o=Kf(n.el),a=ln(n.el);i.preventDefault(),i.stopPropagation(),un(n.el,n.classNames.dragging),o.removeEventListener("mousemove",n.drag,!0),o.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=a.setTimeout(function(){o.removeEventListener("click",n.preventClick,!0),o.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=t,this.options=Hi(Hi({},e.defaultOptions),r),this.classNames=Hi(Hi({},e.defaultOptions.classNames),r.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=Vm(this._onMouseMove,64),this.onWindowResize=zo(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=zo(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=zo(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 r=t.firstElementChild,n=r==null?void 0:r.firstElementChild;if(!n)return null;document.body.appendChild(r),r.scrollLeft=0;var i=e.getOffset(r),o=e.getOffset(n);r.scrollLeft=-999;var a=e.getOffset(n);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:i.left!==o.left,isScrollingToNegative:o.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:Oy()}catch{return Oy()}},e.getOffset=function(t){var r=t.getBoundingClientRect(),n=Kf(t),i=ln(t);return{top:r.top+(i.pageYOffset||n.documentElement.scrollTop),left:r.left+(i.pageXOffset||n.documentElement.scrollLeft)}},e.prototype.init=function(){Ty&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,r;this.wrapperEl=this.el.querySelector(Yt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Yt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Yt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Yt(this.classNames.offset)),this.maskEl=this.el.querySelector(Yt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Yt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Yt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Yt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Yt(this.classNames.track)).concat(Yt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Yt(this.classNames.track)).concat(Yt(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Yt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((r=this.axis.y.track.el)===null||r===void 0?void 0:r.querySelector(Yt(this.classNames.scrollbar)))||null,this.options.autoHide||(cn(this.axis.x.scrollbar.el,this.classNames.visible),cn(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,r,n=ln(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),(r=this.contentWrapperEl)===null||r===void 0||r.addEventListener("scroll",this.onScroll),n.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var i=!1,o=n.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){i&&n.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),n.requestAnimationFrame(function(){i=!0})}this.mutationObserver=new n.MutationObserver(function(){n.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=ln(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var r=this.contentEl.offsetWidth,n=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1||r>0,o=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,s=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 c=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=n?"auto":"100%",this.placeholderEl.style.width=i?"".concat(r||l,"px"):"auto",this.placeholderEl.style.height="".concat(c,"px");var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=r!==0&&l>r,this.axis.y.isOverflowing=c>u,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=s==="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 f=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>o-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&c>u-f,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 r,n;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var i=this.contentEl[this.axis[t].scrollSizeAttr],o=(n=(r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])!==null&&n!==void 0?n:0,a=o/i,s;return s=Math.max(~~(a*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(s=Math.min(s,this.options.scrollbarMaxSize)),s},e.prototype.positionScrollbar=function(t){var r,n,i;t===void 0&&(t="y");var o=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!o.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],s=((r=this.axis[t].track.el)===null||r===void 0?void 0:r[this.axis[t].offsetSizeAttr])||0,c=parseInt(this.elStyles[this.axis[t].sizeAttr],10),l=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];l=t==="x"&&this.isRtl&&(!((n=e.getRtlHelpers())===null||n===void 0)&&n.isScrollOriginAtZero)?-l:l,t==="x"&&this.isRtl&&(l=!((i=e.getRtlHelpers())===null||i===void 0)&&i.isScrollingToNegative?l:-l);var u=l/(a-c),f=~~((s-o.size)*u);f=t==="x"&&this.isRtl?-f+(s-o.size):f,o.el.style.transform=t==="x"?"translate3d(".concat(f,"px, 0, 0)"):"translate3d(0, ".concat(f,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var r=this.axis[t].track.el,n=this.axis[t].scrollbar.el;!r||!n||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(r.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(r.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?n.style.display="block":n.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(cn(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(un(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 r=this.axis[t];!r.track.el||!r.scrollbar.el||(r.track.rect=r.track.el.getBoundingClientRect(),r.scrollbar.rect=r.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(r.track.rect)?(this.showScrollbar(t),cn(r.track.el,this.classNames.hover),this.isWithinBounds(r.scrollbar.rect)?cn(r.scrollbar.el,this.classNames.hover):un(r.scrollbar.el,this.classNames.hover)):(un(r.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),un(this.axis[t].track.el,this.classNames.hover),un(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,r){var n;r===void 0&&(r="y");var i=Kf(this.el),o=ln(this.el),a=this.axis[r].scrollbar,s=r==="y"?t.pageY:t.pageX;this.axis[r].dragOffset=s-(((n=a.rect)===null||n===void 0?void 0:n[this.axis[r].offsetAttr])||0),this.draggedAxis=r,cn(this.el,this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,r){var n=this,i,o,a,s;r===void 0&&(r="y");var c=this.axis[r];if(!(!this.options.clickOnTrack||!c.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var l=ln(this.el);this.axis[r].scrollbar.rect=c.scrollbar.el.getBoundingClientRect();var u=this.axis[r].scrollbar,f=(o=(i=u.rect)===null||i===void 0?void 0:i[this.axis[r].offsetAttr])!==null&&o!==void 0?o:0,d=parseInt((s=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[r].sizeAttr])!==null&&s!==void 0?s:"0px",10),h=this.contentWrapperEl[this.axis[r].scrollOffsetAttr],g=r==="y"?this.mouseY-f:this.mouseX-f,m=g<0?-1:1,y=m===-1?h-d:h+d,x=40,b=function(){n.contentWrapperEl&&(m===-1?h>y&&(h-=x,n.contentWrapperEl[n.axis[r].scrollOffsetAttr]=h,l.requestAnimationFrame(b)):h<y&&(h+=x,n.contentWrapperEl[n.axis[r].scrollOffsetAttr]=h,l.requestAnimationFrame(b)))};b()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=ln(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,r){var n=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(i){return n.call(i,r)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=sY,e.helpers=aY,e}(),rr=function(){return rr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},rr.apply(this,arguments)};function lY(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var Dy=be.forwardRef(function(e,t){var r=e.children,n=e.scrollableNodeProps,i=n===void 0?{}:n,o=lY(e,["children","scrollableNodeProps"]),a=be.useRef(),s=be.useRef(),c=be.useRef(),l={},u={};Object.keys(o).forEach(function(h){Object.prototype.hasOwnProperty.call(ll.defaultOptions,h)?l[h]=o[h]:u[h]=o[h]});var f=rr(rr({},ll.defaultOptions.classNames),l.classNames),d=rr(rr({},i),{className:"".concat(f.contentWrapper).concat(i.className?" ".concat(i.className):""),tabIndex:0,role:"region","aria-label":l.ariaLabel||ll.defaultOptions.ariaLabel});return be.useEffect(function(){var h;return s.current=d.ref?d.ref.current:s.current,a.current&&(h=new ll(a.current,rr(rr(rr({},l),s.current&&{scrollableNode:s.current}),c.current&&{contentNode:c.current})),typeof t=="function"?t(h):t&&(t.current=h)),function(){h==null||h.unMount(),h=null,typeof t=="function"&&t(null)}},[]),be.createElement("div",rr({"data-simplebar":"init",ref:a},u),be.createElement("div",{className:f.wrapper},be.createElement("div",{className:f.heightAutoObserverWrapperEl},be.createElement("div",{className:f.heightAutoObserverEl})),be.createElement("div",{className:f.mask},be.createElement("div",{className:f.offset},typeof r=="function"?r({scrollableNodeRef:s,scrollableNodeProps:rr(rr({},d),{ref:s}),contentNodeRef:c,contentNodeProps:{className:f.contentEl,ref:c}}):be.createElement("div",rr({},d),be.createElement("div",{className:f.contentEl},r)))),be.createElement("div",{className:f.placeholder})),be.createElement("div",{className:"".concat(f.track," simplebar-horizontal")},be.createElement("div",{className:f.scrollbar})),be.createElement("div",{className:"".concat(f.track," simplebar-vertical")},be.createElement("div",{className:f.scrollbar})))});Dy.displayName="SimpleBar";const cY=$t("div")(()=>({flexGrow:1,height:"100%",overflow:"hidden"})),uY=$t(Dy)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:V(e.palette.grey[600],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-mask":{zIndex:"inherit"}})),fY=({children:e,sx:t,...r})=>{const n=typeof navigator>"u"?"SSR":navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n)?v.jsx($.Box,{sx:{overflowX:"auto",...t},...r,children:e}):v.jsx(cY,{children:v.jsx(uY,{clickOnTrack:!1,sx:t,...r,children:e})})},dY=p.memo(fY),hY=({name:e,rules:t,helperText:r,...n})=>{const{control:i}=Mt.useFormContext();return v.jsx(Mt.Controller,{name:e,control:i,rules:t,render:({field:{ref:o,onChange:a,...s},fieldState:{error:c}})=>v.jsx(fv,{...s,onChangeColor:a,inputRef:o,fullWidth:!0,error:!!c,helperText:(c==null?void 0:c.message)||r,...n})})},pY=({name:e,...t})=>{const{control:r}=Mt.useFormContext();return v.jsx(Mt.Controller,{name:e,control:r,render:({field:{ref:n,...i},fieldState:{error:o}})=>{var a;return v.jsx(Ki.DatePicker,{inputRef:n,format:"dd/MM/yyyy",localeText:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",fieldDayPlaceholder:()=>"dd",fieldMonthPlaceholder:()=>"mm",fieldYearPlaceholder:()=>"aaaa",...t.localeText},...i,...t,value:i.value?new Date(i.value):null,slotProps:{textField:{...(a=t.slotProps)==null?void 0:a.textField,error:!!o,helperText:o==null?void 0:o.message,autoComplete:"off",spellCheck:"false",fullWidth:!0}}})}})},gY=({name:e,label:t,...r})=>{const{control:n,setError:i}=Mt.useFormContext();return v.jsx(Mt.Controller,{name:e,control:n,render:({field:{value:o,onChange:a},fieldState:{error:s}})=>v.jsx(Ki.DateRangePicker,{format:"dd/MM/yyyy",localeText:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",fieldDayPlaceholder:()=>"dd",fieldMonthPlaceholder:()=>"mm",fieldYearPlaceholder:()=>"aaaa",...r.localeText},value:[(o==null?void 0:o.startDate)||null,(o==null?void 0:o.endDate)||null],onChange:c=>a({startDate:c[0],endDate:c[1]}),onError:c=>{i(e,{message:c[0]||c[1]||void 0})},...r,slotProps:{textField:({position:c})=>{var l;return{...(l=r.slotProps)==null?void 0:l.textField,error:!!s,helperText:s==null?void 0:s.message,autoComplete:"off",spellCheck:"false",fullWidth:!0,label:c==="start"?`${t} (Dt. Início)`:`${t} (Dt. Fim)`}}},sx:{width:1}})})},mY=({name:e,...t})=>{const{control:r}=Mt.useFormContext();return v.jsx(Mt.Controller,{name:e,control:r,render:({field:{ref:n,...i},fieldState:{error:o}})=>{var a;return v.jsx(Ki.DateTimePicker,{format:"dd/MM/yyyy HH:mm",inputRef:n,localeText:{previousMonth:"Mês anterior",nextMonth:"Próximo mês",fieldDayPlaceholder:()=>"dd",fieldMonthPlaceholder:()=>"mm",fieldYearPlaceholder:()=>"aaaa",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",...t.localeText},...i,...t,value:i.value?new Date(i.value):null,slotProps:{textField:{...(a=t.slotProps)==null?void 0:a.textField,error:!!o,helperText:o==null?void 0:o.message,autoComplete:"off",spellCheck:"false",fullWidth:!0}}})}})},jy=({name:e,helperText:t,...r})=>{const{control:n}=Mt.useFormContext();return v.jsx(Mt.Controller,{name:e,control:n,render:({field:{ref:i,...o},fieldState:{error:a}})=>v.jsx($.TextField,{...o,inputRef:i,fullWidth:!0,error:!!a,helperText:(a==null?void 0:a.message)||t,...r})})},vY=({id:e,children:t,onSubmit:r,methods:n})=>v.jsx(Mt.FormProvider,{...n,children:v.jsx($.Stack,{component:"form",id:e,onSubmit:r,flex:1,width:1,noValidate:!0,children:t})}),yY=e=>{const[t,r]=p.useState(!1);return v.jsx(jy,{...e,type:t?"text":"password",InputProps:{endAdornment:v.jsx($.InputAdornment,{position:"end",children:v.jsx($.IconButton,{onClick:()=>r(!t),edge:"end","aria-label":"Mostrar/Ocultar senha",children:v.jsx(It,{icon:t?"eva:eye-off-fill":"eva:eye-fill"})})})}})},bY=({name:e,helperText:t,...r})=>{const{control:n}=Mt.useFormContext();return v.jsx(Mt.Controller,{name:e,control:n,render:({field:i,fieldState:{error:o}})=>v.jsxs("div",{children:[v.jsx($.FormControlLabel,{control:v.jsx($.Switch,{...i,checked:i.value}),...r}),(!!o||t)&&v.jsx($.FormHelperText,{error:!!o,children:o?o==null?void 0:o.message:t})]})})},xY=({name:e,...t})=>{const{control:r}=Mt.useFormContext();return v.jsx(Mt.Controller,{name:e,control:r,render:({field:{ref:n,...i},fieldState:{error:o}})=>{var a;return v.jsx(Ki.TimePicker,{ampm:!1,format:"HH:mm",inputRef:n,localeText:{fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",...t.localeText},...i,...t,value:i.value?new Date(i.value):null,slotProps:{textField:{...(a=t.slotProps)==null?void 0:a.textField,error:!!o,helperText:o==null?void 0:o.message,autoComplete:"off",spellCheck:"false",fullWidth:!0}}})}})},Iy=(e=!1)=>{const[t,r]=p.useState(e),n=p.useCallback(()=>r(i=>!i),[]);return[t,n,r]};function Yi(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function s(u){try{l(n.next(u))}catch(f){a(f)}}function c(u){try{l(n.throw(u))}catch(f){a(f)}}function l(u){u.done?o(u.value):i(u.value).then(s,c)}l((n=n.apply(e,t||[])).next())})}function Gi(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(u){return c([l,u])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(u){l=[6,u],i=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ly(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function Fy(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var wY=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function ia(e,t){var r=CY(e);if(typeof r.path!="string"){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:typeof t=="string"?t:typeof n=="string"&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}function CY(e){var t=e.name,r=t&&t.lastIndexOf(".")!==-1;if(r&&!e.type){var n=t.split(".").pop().toLowerCase(),i=wY.get(n);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var SY=[".DS_Store","Thumbs.db"];function TY(e){return Yi(this,void 0,void 0,function(){return Gi(this,function(t){return cl(e)&&EY(e.dataTransfer)?[2,_Y(e.dataTransfer,e.type)]:OY(e)?[2,PY(e)]:Array.isArray(e)&&e.every(function(r){return"getFile"in r&&typeof r.getFile=="function"})?[2,MY(e)]:[2,[]]})})}function EY(e){return cl(e)}function OY(e){return cl(e)&&cl(e.target)}function cl(e){return typeof e=="object"&&e!==null}function PY(e){return Zf(e.target.files).map(function(t){return ia(t)})}function MY(e){return Yi(this,void 0,void 0,function(){var t;return Gi(this,function(r){switch(r.label){case 0:return[4,Promise.all(e.map(function(n){return n.getFile()}))];case 1:return t=r.sent(),[2,t.map(function(n){return ia(n)})]}})})}function _Y(e,t){return Yi(this,void 0,void 0,function(){var r,n;return Gi(this,function(i){switch(i.label){case 0:return e.items?(r=Zf(e.items).filter(function(o){return o.kind==="file"}),t!=="drop"?[2,r]:[4,Promise.all(r.map($Y))]):[3,2];case 1:return n=i.sent(),[2,Ry(Ny(n))];case 2:return[2,Ry(Zf(e.files).map(function(o){return ia(o)}))]}})})}function Ry(e){return e.filter(function(t){return SY.indexOf(t.name)===-1})}function Zf(e){if(e===null)return[];for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(n)}return t}function $Y(e){if(typeof e.webkitGetAsEntry!="function")return By(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?zy(t):By(e)}function Ny(e){return e.reduce(function(t,r){return Fy(Fy([],Ly(t),!1),Ly(Array.isArray(r)?Ny(r):[r]),!1)},[])}function By(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var r=ia(t);return Promise.resolve(r)}function AY(e){return Yi(this,void 0,void 0,function(){return Gi(this,function(t){return[2,e.isDirectory?zy(e):kY(e)]})})}function zy(e){var t=e.createReader();return new Promise(function(r,n){var i=[];function o(){var a=this;t.readEntries(function(s){return Yi(a,void 0,void 0,function(){var c,l,u;return Gi(this,function(f){switch(f.label){case 0:if(s.length)return[3,5];f.label=1;case 1:return f.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return c=f.sent(),r(c),[3,4];case 3:return l=f.sent(),n(l),[3,4];case 4:return[3,6];case 5:u=Promise.all(s.map(AY)),i.push(u),o(),f.label=6;case 6:return[2]}})})},function(s){n(s)})}o()})}function kY(e){return Yi(this,void 0,void 0,function(){return Gi(this,function(t){return[2,new Promise(function(r,n){e.file(function(i){var o=ia(i,e.fullPath);r(o)},function(i){n(i)})})]})})}var DY=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",i=(e.type||"").toLowerCase(),o=i.replace(/\/.*$/,"");return r.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?o===s.replace(/\/.*$/,""):i===s})}return!0};function Wy(e){return LY(e)||IY(e)||Yy(e)||jY()}function jY(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
239
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function IY(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LY(e){if(Array.isArray(e))return Qf(e)}function Vy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Hy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vy(Object(r),!0).forEach(function(n){Uy(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Uy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e,t){return NY(e)||RY(e,t)||Yy(e,t)||FY()}function FY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
240
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yy(e,t){if(e){if(typeof e=="string")return Qf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qf(e,t)}}function Qf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RY(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,a,s;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(c){o=!0,s=c}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function NY(e){if(Array.isArray(e))return e}var BY="file-invalid-type",zY="file-too-large",WY="file-too-small",VY="too-many-files",HY=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var r=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:BY,message:"File type must be ".concat(r)}},Gy=function(t){return{code:zY,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},qy=function(t){return{code:WY,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},UY={code:VY,message:"Too many files"};function Xy(e,t){var r=e.type==="application/x-moz-file"||DY(e,t);return[r,r?null:HY(t)]}function Ky(e,t,r){if(In(e.size))if(In(t)&&In(r)){if(e.size>r)return[!1,Gy(r)];if(e.size<t)return[!1,qy(t)]}else{if(In(t)&&e.size<t)return[!1,qy(t)];if(In(r)&&e.size>r)return[!1,Gy(r)]}return[!0,null]}function In(e){return e!=null}function YY(e){var t=e.files,r=e.accept,n=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(c){var l=Xy(c,r),u=oa(l,1),f=u[0],d=Ky(c,n,i),h=oa(d,1),g=h[0],m=s?s(c):null;return f&&g&&!m})}function ul(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function fl(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function Zy(e){e.preventDefault()}function GY(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function qY(e){return e.indexOf("Edge/")!==-1}function XY(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return GY(e)||qY(e)}function Mr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return t.some(function(s){return!ul(n)&&s&&s.apply(void 0,[n].concat(o)),ul(n)})}}function KY(){return"showOpenFilePicker"in window}function ZY(e){if(In(e)){var t=Object.entries(e).filter(function(r){var n=oa(r,2),i=n[0],o=n[1],a=!0;return Qy(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),(!Array.isArray(o)||!o.every(Jy))&&(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(r,n){var i=oa(n,2),o=i[0],a=i[1];return Hy(Hy({},r),{},Uy({},o,a))},{});return[{description:"Files",accept:t}]}return e}function QY(e){if(In(e))return Object.entries(e).reduce(function(t,r){var n=oa(r,2),i=n[0],o=n[1];return[].concat(Wy(t),[i],Wy(o))},[]).filter(function(t){return Qy(t)||Jy(t)}).join(",")}function JY(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function eG(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function Qy(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Jy(e){return/^.*\.[\w]+$/.test(e)}var tG=["children"],rG=["open"],nG=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],iG=["refKey","onChange","onClick"];function oG(e){return lG(e)||sG(e)||eb(e)||aG()}function aG(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
241
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sG(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lG(e){if(Array.isArray(e))return ed(e)}function Jf(e,t){return fG(e)||uG(e,t)||eb(e,t)||cG()}function cG(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
242
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eb(e,t){if(e){if(typeof e=="string")return ed(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ed(e,t)}}function ed(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function uG(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,a,s;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(c){o=!0,s=c}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw s}}return n}}function fG(e){if(Array.isArray(e))return e}function tb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ht(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tb(Object(r),!0).forEach(function(n){td(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e,t){if(e==null)return{};var r=dG(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function dG(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var rd=p.forwardRef(function(e,t){var r=e.children,n=dl(e,tG),i=hl(n),o=i.open,a=dl(i,rG);return p.useImperativeHandle(t,function(){return{open:o}},[o]),p.createElement(p.Fragment,null,r(ht(ht({},a),{},{open:o})))});rd.displayName="Dropzone";var rb={disabled:!1,getFilesFromEvent:TY,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};rd.defaultProps=rb,rd.propTypes={children:A.func,accept:A.objectOf(A.arrayOf(A.string)),multiple:A.bool,preventDropOnDocument:A.bool,noClick:A.bool,noKeyboard:A.bool,noDrag:A.bool,noDragEventsBubbling:A.bool,minSize:A.number,maxSize:A.number,maxFiles:A.number,disabled:A.bool,getFilesFromEvent:A.func,onFileDialogCancel:A.func,onFileDialogOpen:A.func,useFsAccessApi:A.bool,autoFocus:A.bool,onDragEnter:A.func,onDragLeave:A.func,onDragOver:A.func,onDrop:A.func,onDropAccepted:A.func,onDropRejected:A.func,onError:A.func,validator:A.func};var nd={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function hl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=ht(ht({},rb),e),r=t.accept,n=t.disabled,i=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,c=t.maxFiles,l=t.onDragEnter,u=t.onDragLeave,f=t.onDragOver,d=t.onDrop,h=t.onDropAccepted,g=t.onDropRejected,m=t.onFileDialogCancel,y=t.onFileDialogOpen,x=t.useFsAccessApi,b=t.autoFocus,S=t.preventDropOnDocument,P=t.noClick,w=t.noKeyboard,E=t.noDrag,O=t.noDragEventsBubbling,M=t.onError,L=t.validator,W=p.useMemo(function(){return QY(r)},[r]),de=p.useMemo(function(){return ZY(r)},[r]),ve=p.useMemo(function(){return typeof y=="function"?y:nb},[y]),ce=p.useMemo(function(){return typeof m=="function"?m:nb},[m]),q=p.useRef(null),Y=p.useRef(null),ge=p.useReducer(hG,nd),Te=Jf(ge,2),We=Te[0],Me=Te[1],D=We.isFocused,I=We.isFileDialogActive,Z=p.useRef(typeof window<"u"&&window.isSecureContext&&x&&KY()),ne=function(){!Z.current&&I&&setTimeout(function(){if(Y.current){var me=Y.current.files;me.length||(Me({type:"closeDialog"}),ce())}},300)};p.useEffect(function(){return window.addEventListener("focus",ne,!1),function(){window.removeEventListener("focus",ne,!1)}},[Y,I,ce,Z]);var G=p.useRef([]),ue=function(me){q.current&&q.current.contains(me.target)||(me.preventDefault(),G.current=[])};p.useEffect(function(){return S&&(document.addEventListener("dragover",Zy,!1),document.addEventListener("drop",ue,!1)),function(){S&&(document.removeEventListener("dragover",Zy),document.removeEventListener("drop",ue))}},[q,S]),p.useEffect(function(){return!n&&b&&q.current&&q.current.focus(),function(){}},[q,b,n]);var se=p.useCallback(function(X){M?M(X):console.error(X)},[M]),pe=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X),G.current=[].concat(oG(G.current),[X.target]),fl(X)&&Promise.resolve(i(X)).then(function(me){if(!(ul(X)&&!O)){var st=me.length,k=st>0&&YY({files:me,accept:W,minSize:a,maxSize:o,multiple:s,maxFiles:c,validator:L}),T=st>0&&!k;Me({isDragAccept:k,isDragReject:T,isDragActive:!0,type:"setDraggedFiles"}),l&&l(X)}}).catch(function(me){return se(me)})},[i,l,se,O,W,a,o,s,c,L]),K=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X);var me=fl(X);if(me&&X.dataTransfer)try{X.dataTransfer.dropEffect="copy"}catch{}return me&&f&&f(X),!1},[f,O]),Q=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X);var me=G.current.filter(function(k){return q.current&&q.current.contains(k)}),st=me.indexOf(X.target);st!==-1&&me.splice(st,1),G.current=me,!(me.length>0)&&(Me({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),fl(X)&&u&&u(X))},[q,u,O]),te=p.useCallback(function(X,me){var st=[],k=[];X.forEach(function(T){var R=Xy(T,W),N=Jf(R,2),we=N[0],Ee=N[1],Fe=Ky(T,a,o),_=Jf(Fe,2),j=_[0],le=_[1],ie=L?L(T):null;if(we&&j&&!ie)st.push(T);else{var re=[Ee,le];ie&&(re=re.concat(ie)),k.push({file:T,errors:re.filter(function(Oe){return Oe})})}}),(!s&&st.length>1||s&&c>=1&&st.length>c)&&(st.forEach(function(T){k.push({file:T,errors:[UY]})}),st.splice(0)),Me({acceptedFiles:st,fileRejections:k,type:"setFiles"}),d&&d(st,k,me),k.length>0&&g&&g(k,me),st.length>0&&h&&h(st,me)},[Me,s,W,a,o,c,d,h,g,L]),ye=p.useCallback(function(X){X.preventDefault(),X.persist(),mr(X),G.current=[],fl(X)&&Promise.resolve(i(X)).then(function(me){ul(X)&&!O||te(me,X)}).catch(function(me){return se(me)}),Me({type:"reset"})},[i,te,se,O]),F=p.useCallback(function(){if(Z.current){Me({type:"openDialog"}),ve();var X={multiple:s,types:de};window.showOpenFilePicker(X).then(function(me){return i(me)}).then(function(me){te(me,null),Me({type:"closeDialog"})}).catch(function(me){JY(me)?(ce(me),Me({type:"closeDialog"})):eG(me)?(Z.current=!1,Y.current?(Y.current.value=null,Y.current.click()):se(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):se(me)});return}Y.current&&(Me({type:"openDialog"}),ve(),Y.current.value=null,Y.current.click())},[Me,ve,ce,x,te,se,de,s]),Le=p.useCallback(function(X){!q.current||!q.current.isEqualNode(X.target)||(X.key===" "||X.key==="Enter"||X.keyCode===32||X.keyCode===13)&&(X.preventDefault(),F())},[q,F]),ae=p.useCallback(function(){Me({type:"focus"})},[]),ut=p.useCallback(function(){Me({type:"blur"})},[]),qt=p.useCallback(function(){P||(XY()?setTimeout(F,0):F())},[P,F]),Nt=function(me){return n?null:me},Wr=function(me){return w?null:Nt(me)},gr=function(me){return E?null:Nt(me)},mr=function(me){O&&me.stopPropagation()},sa=p.useMemo(function(){return function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},me=X.refKey,st=me===void 0?"ref":me,k=X.role,T=X.onKeyDown,R=X.onFocus,N=X.onBlur,we=X.onClick,Ee=X.onDragEnter,Fe=X.onDragOver,_=X.onDragLeave,j=X.onDrop,le=dl(X,nG);return ht(ht(td({onKeyDown:Wr(Mr(T,Le)),onFocus:Wr(Mr(R,ae)),onBlur:Wr(Mr(N,ut)),onClick:Nt(Mr(we,qt)),onDragEnter:gr(Mr(Ee,pe)),onDragOver:gr(Mr(Fe,K)),onDragLeave:gr(Mr(_,Q)),onDrop:gr(Mr(j,ye)),role:typeof k=="string"&&k!==""?k:"presentation"},st,q),!n&&!w?{tabIndex:0}:{}),le)}},[q,Le,ae,ut,qt,pe,K,Q,ye,w,E,n]),fn=p.useCallback(function(X){X.stopPropagation()},[]),Ln=p.useMemo(function(){return function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},me=X.refKey,st=me===void 0?"ref":me,k=X.onChange,T=X.onClick,R=dl(X,iG),N=td({accept:W,multiple:s,type:"file",style:{display:"none"},onChange:Nt(Mr(k,ye)),onClick:Nt(Mr(T,fn)),tabIndex:-1},st,Y);return ht(ht({},N),R)}},[Y,r,s,ye,n]);return ht(ht({},We),{},{isFocused:D&&!n,getRootProps:sa,getInputProps:Ln,rootRef:q,inputRef:Y,open:Nt(F)})}function hG(e,t){switch(t.type){case"focus":return ht(ht({},e),{},{isFocused:!0});case"blur":return ht(ht({},e),{},{isFocused:!1});case"openDialog":return ht(ht({},nd),{},{isFileDialogActive:!0});case"closeDialog":return ht(ht({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return ht(ht({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return ht(ht({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return ht({},nd);default:return e}}function nb(){}const pG=()=>{const t=ii().palette.primary.main;return v.jsxs(v.Fragment,{children:[v.jsx("defs",{children:v.jsxs("linearGradient",{id:"BG",x1:"19.496%",x2:"77.479%",y1:"71.822%",y2:"16.69%",children:[v.jsx("stop",{offset:"0%",stopColor:t}),v.jsx("stop",{offset:"100%",stopColor:t,stopOpacity:"0"})]})}),v.jsx("path",{fill:"url(#BG)",fillRule:"nonzero",d:"M0 198.78c0 41.458 14.945 79.236 39.539 107.786 28.214 32.765 69.128 53.365 114.734 53.434a148.44 148.44 0 0056.495-11.036c9.051-3.699 19.182-3.274 27.948 1.107a75.779 75.779 0 0033.957 8.01c5.023 0 9.942-.494 14.7-1.433 13.58-2.67 25.94-8.99 36.09-17.94 6.378-5.627 14.547-8.456 22.897-8.446h.142c27.589 0 53.215-8.732 74.492-23.696 19.021-13.36 34.554-31.696 44.904-53.224C474.92 234.58 480 213.388 480 190.958c0-76.93-59.774-139.305-133.498-139.305-7.516 0-14.88.663-22.063 1.899C305.418 21.42 271.355 0 232.499 0a103.651 103.651 0 00-45.88 10.661c-13.24 6.487-25.011 15.705-34.64 26.939-32.698.544-62.931 11.69-87.676 30.291C25.351 97.155 0 144.882 0 198.781z",opacity:"0.2"})]})},gG=p.memo(pG),mG=({...e})=>{const t=ii(),r=t.palette.primary.main,n=t.palette.primary.dark,i=t.palette.primary.darker;return v.jsx($.Box,{...e,children:v.jsxs("svg",{width:"100%",height:"100%",viewBox:"0 0 480 360",xmlns:"http://www.w3.org/2000/svg",children:[v.jsx(gG,{}),v.jsx("defs",{children:v.jsxs("linearGradient",{id:"linearGradient-2",x1:"30.113%",x2:"30.113%",y1:"0%",y2:"100%",children:[v.jsx("stop",{offset:"0%",stopOpacity:"0"}),v.jsx("stop",{offset:"100%"})]})}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M293.006 206.192c-2.248 2.672-4.676 2.628-6.123 2.251l.054-1.384s5.979-2.733 5.827-2.159c-.057.215.057.733.242 1.292zM309.393 209.217c-3.818 2.206-6.058-.38-6.578-1.112.32-.84.801-2.204.703-2.592-.144-.577 5.827 2.155 5.827 2.155l.048 1.549zM305.303 187.204s3.632-2.093 4.425-1.151c.792.942-4.425 1.151-4.425 1.151zM307.497 188.355s-.598.299.721.681c1.318.383-.721-.681-.721-.681zM285.532 182.599c-.123.036 3.022 2.123 5.862.395-.012 0-5.154-.61-5.862-.395zM291.239 186.591s-.861 1.692-2.625 1.943c-1.764.251 2.625-1.943 2.625-1.943zM302.785 190.262s4.138 6.578 3.346 8.129c-.793 1.552-3.346-8.129-3.346-8.129zM294.62 216.416c0 .368 0 .712-.036.996-.107 1.33-3.381.828-3.381.828-2.99.416-4.066-1.019-4.422-2.392a5.444 5.444 0 01-.164-1.363 5.606 5.606 0 01.054-.819v-.272a1.998 1.998 0 011.859.379c1.331 1.08 3.095.252 3.095.252s1.294.107 1.793.538c.281.242.745-.341 1.098-.897.021.359.054 1.007.074 1.701.024.356.03.714.03 1.049z",opacity:"0.05"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M289.37 216.339s-.897.879-2.589-.479a5.444 5.444 0 01-.164-1.363c.864.658 2.466 1.842 2.753 1.842zM294.62 216.416a.67.67 0 01-.519.132.672.672 0 01-.452-.287c.348-.266.669-.566.956-.897.009.359.015.717.015 1.052zM301.637 217.032c0 .371 0 .715.033.996.108 1.333 3.382.828 3.382.828 2.989.419 4.066-1.017 4.421-2.392a5.728 5.728 0 00.111-2.182v-.272a2.024 2.024 0 00-1.862.379c-1.331 1.08-3.092.251-3.092.251s-1.294.111-1.794.542c-.281.242-.744-.341-1.094-.897a61.426 61.426 0 00-.078 1.701c-.024.35-.03.708-.027 1.046z",opacity:"0.05"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M306.887 216.949s.897.879 2.587-.479c.112-.444.169-.901.167-1.36-.867.655-2.47 1.839-2.754 1.839zM301.637 217.032a.67.67 0 00.969-.155 6.35 6.35 0 01-.957-.897c-.009.356-.014.714-.012 1.052zM319.614 106.269c.063-.138.123-.275.18-.41.057-.134.077-.209.11-.317-.11.237-.206.48-.29.727z",opacity:"0.05"}),v.jsx("path",{fill:i,fillRule:"nonzero",d:"M157.592 279.461a4.114 4.114 0 01-.917-3.131l13.196-107.979 1.094-8.97a4.142 4.142 0 014.078-3.635l38.654-.257a4.135 4.135 0 004.108-4.249l-.015-.409a4.14 4.14 0 014.135-4.279h40.619a4.134 4.134 0 014.098 4.682 4.137 4.137 0 003.995 4.682l39.01.996a4.13 4.13 0 013.97 4.831l-19.502 113.909-.368 2.152a4.042 4.042 0 01-.598 1.543l-135.557.114z"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M251.256817 123.296578L274.098317 123.296578 274.098317 200.823078 251.256817 200.823078z",transform:"rotate(34.64 262.678 162.06)"}),v.jsx("path",{fill:"#FFC107",fillRule:"nonzero",d:"M270.624591 129.857671L286.750291 129.857671 286.750291 145.983371 270.624591 145.983371z",transform:"rotate(34.804 278.687 137.92)"}),v.jsx("path",{fill:"#FFC107",fillRule:"nonzero",d:"M260.275579 145.813111L276.423079 145.813111 276.423079 161.960611 260.275579 161.960611z",opacity:"0.5",transform:"rotate(34.64 268.35 153.887)"}),v.jsx("path",{fill:"#FFC107",fillRule:"nonzero",d:"M249.191579 161.852111L265.339079 161.852111 265.339079 177.999611 249.191579 177.999611z",opacity:"0.3",transform:"rotate(34.64 257.265 169.926)"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M237.472537 121.334214L260.314037 121.334214 260.314037 198.567714 237.472537 198.567714z",transform:"rotate(16.29 248.893 159.951)"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M249.053192 123.761554L265.200692 123.761554 265.200692 139.909054 249.053192 139.909054z",transform:"rotate(16.29 257.127 131.835)"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M243.584192 142.473554L259.731692 142.473554 259.731692 158.621053 243.584192 158.621053z",opacity:"0.5",transform:"rotate(16.29 251.658 150.547)"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M238.116192 161.182554L254.263692 161.182554 254.263692 177.330054 238.116192 177.330054z",opacity:"0.3",transform:"rotate(16.29 246.19 169.256)"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M230.099192 121.641542L252.940692 121.641542 252.940692 198.875042 230.099192 198.875042z",transform:"rotate(4.6 241.52 160.258)"}),v.jsx("path",{fill:"#1890FF",fillRule:"nonzero",d:"M235.800489 122.985499L251.947989 122.985499 251.947989 139.132999 235.800489 139.132999z",transform:"rotate(4.6 243.874 131.06)"}),v.jsx("path",{fill:"#1890FF",fillRule:"nonzero",d:"M234.234488 142.413498L250.381988 142.413498 250.381988 158.560998 234.234488 158.560998z",opacity:"0.5",transform:"rotate(4.6 242.308 150.487)"}),v.jsx("path",{fill:"#1890FF",fillRule:"nonzero",d:"M232.672488 161.846499L248.819988 161.846499 248.819988 177.993999 232.672488 177.993999z",opacity:"0.3",transform:"rotate(4.6 240.746 169.92)"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M224.736657 123.384871L247.578157 123.384871 247.578157 200.618371 224.736657 200.618371z",transform:"rotate(-2.61 236.157 162.002)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M226.751283 124.659968L242.898783 124.659968 242.898783 140.807468 226.751283 140.807468z",transform:"rotate(-2.61 234.825 132.734)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M228.305601 143.479224L244.473301 143.479224 244.473301 159.646924 228.305601 159.646924z",opacity:"0.5",transform:"rotate(-2.862 236.39 151.563)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M228.525282 163.608968L244.672782 163.608968 244.672782 179.756468 228.525282 179.756468z",opacity:"0.3",transform:"rotate(-2.61 236.599 171.683)"}),v.jsx("path",{fill:"#F4F6F8",fillRule:"nonzero",d:"M232.679 225.726l-20.294 7.851-29.661 11.466c-1.121-2.093-2.771-4.921-4.813-8.297-7.026-11.642-18.65-29.75-29.001-45.665-11.66-17.938-21.696-33.075-21.696-33.075l7.265-2.093 59.346-17.23 38.854 87.043z"}),v.jsx("path",{fill:"#000",fillRule:"nonzero",d:"M232.679 225.726l-20.294 7.851a152.535 152.535 0 01-34.484 3.169c-7.026-11.642-18.65-29.75-29-45.665l-14.42-35.18 59.343-17.218 38.855 87.043z",opacity:"0.1"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M247.777 220.841s-31.526 18.65-78.596 14.432l-37.525-91.486 17.984-3.091 62.168-10.677 35.279 89.043.69 1.779z"}),v.jsx("path",{fill:"#FF4842",fillRule:"nonzero",d:"M247.075 219.074c-7.424.365-16.013.329-24.654-.702-9.351-1.101-18.757-3.367-26.82-7.523-6.742-3.471-12.506-7.247-17.532-11.776-13.074-11.759-21.164-28.579-28.429-58.365l62.168-10.677 35.267 89.043z",opacity:"0.1"}),v.jsx("path",{fill:"#FFF",fillRule:"nonzero",d:"M270.203 213.959s-23.239 4.55-46.894 1.749c-9.351-1.1-18.757-3.367-26.82-7.522-6.742-3.471-12.503-7.247-17.532-11.777-16.181-14.557-24.725-36.866-33.536-81.918 0 0 38.633 9.325 76.836-11.101-.012.015 12.865 80.373 47.946 110.569z"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M165.405 131.03s31.416-1.776 40.187-8.548l1.331 4.276s-20.758 9.157-41.518 9.268v-4.996zM165.405 152.137s30.417-1.665 53.399-12.766l.777 1.776s-18.237 10.647-54.176 13.433v-2.443zM167.853 160.362s30.418-1.665 53.397-12.766l.777 1.776s-18.237 10.643-54.174 13.433v-2.443zM170.299 168.599s30.417-1.666 53.399-12.766l.774 1.775s-18.237 10.647-54.173 13.433v-2.442zM172.748 176.835s30.417-1.665 53.396-12.766l.777 1.776s-18.237 10.647-54.173 13.433v-2.443zM175.193 185.075s30.417-1.665 53.399-12.766l.774 1.776s-18.237 10.643-54.173 13.433v-2.443z",opacity:"0.3"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M389.069 287.344s-12.641-.762-11.152 8.097c0 0-.299 1.563 1.124 2.275 0 0 .021-.658 1.295-.434.454.077.916.099 1.375.066a2.832 2.832 0 001.677-.694c.468-.409 3.555-1.468 4.936-7.274 0 0 1.023-1.267.981-1.593l-2.132.897s.73 1.54.156 2.816c0 0-.069-2.759-.479-2.691-.083 0-1.109.533-1.109.533s1.253 2.69.299 4.628c0 0 .359-3.304-.699-4.434l-1.495.876s1.465 2.768.472 5.029c0 0 .254-3.465-.789-4.817l-1.361 1.062s1.379 2.729.539 4.604c0 0-.111-4.036-.835-4.341 0 0-1.195 1.049-1.369 1.494 0 0 .942 1.98.356 3.026 0 0-.359-2.691-.652-2.691 0 0-1.196 1.794-1.309 2.99 0 0 .051-1.818 1.022-3.172a3.593 3.593 0 00-1.818.942s.186-1.262 2.111-1.37c0 0 .981-1.351 1.241-1.435 0 0-1.914-.158-3.074.356 0 0 1.023-1.196 3.427-.649l1.342-1.094s-2.52-.347-3.588.036c0 0 1.229-1.052 3.95-.299l1.462-.873s-2.147-.463-3.426-.299c0 0 1.348-.729 3.856.06l1.044-.47s-1.573-.299-2.033-.358c-.461-.06-.488-.174-.488-.174a5.426 5.426 0 012.957.329s2.222-.813 2.186-.954z"}),v.jsx("ellipse",{cx:"380.363",cy:"298.487",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"8.945",ry:"1.513"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M394.956 258.102s-7.125-.43-6.279 4.565a1.218 1.218 0 00.631 1.283s.015-.371.733-.245c.255.042.515.054.774.036.349-.023.681-.159.945-.389.264-.23 2.003-.828 2.783-4.102 0 0 .577-.714.553-.897l-1.196.511s.41.87.087 1.591c0 0-.039-1.558-.269-1.522-.048 0-.625.299-.625.299s.706 1.495.173 2.61c0 0 .204-1.862-.394-2.502l-.846.496s.825 1.561.266 2.834c0 0 .143-1.955-.446-2.714l-.765.598s.774 1.539.299 2.595c0 0-.063-2.275-.469-2.446a4.75 4.75 0 00-.775.834s.532 1.118.204 1.707c0 0-.204-1.515-.368-1.521 0 0-.67 1.001-.739 1.689a3.671 3.671 0 01.577-1.794 2.007 2.007 0 00-1.025.532s.104-.711 1.196-.771c0 0 .553-.763.699-.81 0 0-1.079-.09-1.734.2 0 0 .577-.67 1.932-.365l.759-.619s-1.423-.194-2.024.021c0 0 .694-.598 2.227-.161l.826-.494a7.445 7.445 0 00-1.935-.164s.763-.413 2.174.033l.598-.263s-.897-.177-1.148-.203c-.252-.027-.275-.099-.275-.099a3.078 3.078 0 011.668.185s1.232-.46 1.208-.538z"}),v.jsx("ellipse",{cx:"390.052",cy:"264.383",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"5.044",ry:"1"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M352.896 262.437s-8.604-.52-7.588 5.51a1.47 1.47 0 00.763 1.549s0-.449.897-.299c.309.052.623.067.935.045a1.923 1.923 0 001.142-.473c.318-.279 2.419-.998 3.361-4.951 0 0 .697-.861.667-1.085l-1.468.622s.496 1.046.104 1.916c0 0-.048-1.877-.326-1.835-.056 0-.753.364-.753.364s.852 1.824.209 3.152c0 0 .245-2.249-.475-3.02l-1.023.598s.996 1.886.32 3.423c0 0 .174-2.359-.535-3.289l-.927.724s.939 1.857.365 3.133c0 0-.072-2.747-.565-2.954 0 0-.81.715-.933 1.008 0 0 .64 1.348.242 2.06 0 0-.245-1.83-.445-1.839 0 0-.804 1.214-.897 2.042.04-.768.28-1.512.697-2.159a2.427 2.427 0 00-1.235.643s.125-.858 1.435-.933c0 0 .667-.92.846-.974 0 0-1.303-.111-2.093.239 0 0 .694-.807 2.329-.44l.915-.747s-1.713-.233-2.442.024c0 0 .837-.715 2.69-.191l.996-.598s-1.462-.314-2.335-.201c0 0 .921-.496 2.625.042l.711-.32s-1.07-.209-1.384-.242c-.314-.033-.329-.119-.329-.119a3.69 3.69 0 012.012.221s1.519-.553 1.492-.646z"}),v.jsx("ellipse",{cx:"346.97",cy:"270.022",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"6.09",ry:"1.028"}),v.jsx("rect",{width:"51.026",height:"91.312",x:"303.926",y:"69.211",fill:"#FFF",fillRule:"nonzero",rx:"4.737",transform:"rotate(-71.99 329.44 114.867)"}),v.jsx("circle",{cx:"303.613",cy:"103.507",r:"9.376",fill:r,fillRule:"nonzero",opacity:"0.2"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M344.582495 86.4883769L347.150665 86.4883769 347.150665 127.336977 344.582495 127.336977z",opacity:"0.2",transform:"rotate(-71.99 345.867 106.913)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M333.028401 99.6373982L335.596571 99.6373982 335.596571 120.445898 333.028401 120.445898z",opacity:"0.2",transform:"rotate(-71.99 334.312 110.042)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M337.109071 101.431004L339.677241 101.431004 339.677241 135.086304 337.109071 135.086304z",opacity:"0.2",transform:"rotate(-71.99 338.393 118.259)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M338.505494 105.174377L341.073664 105.174377 341.073664 146.022978 338.505494 146.022978z",opacity:"0.2",transform:"rotate(-71.99 339.79 125.599)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M348.060839 134.648161L353.026769 134.648161 353.026769 145.952261 348.060839 145.952261z",opacity:"0.5",transform:"rotate(-71.99 350.544 140.3)"}),v.jsx("rect",{width:"50.3",height:"78.305",x:"291.549",y:"174.486",fill:"#FFF",fillRule:"nonzero",rx:"4",transform:"rotate(-57.265 316.7 213.638)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M278.038439 203.88874L292.269539 203.88874 292.269539 207.23723 278.038439 207.23723z",transform:"rotate(-57.57 285.154 205.563)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M283.007935 199.201889L314.262535 199.201889 314.262535 202.272339 283.007935 202.272339z",transform:"rotate(-57.57 298.635 200.737)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M288.543935 202.715889L319.798535 202.715889 319.798535 205.786339 288.543935 205.786339z",transform:"rotate(-57.57 304.171 204.251)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M294.078936 206.235889L325.333536 206.235889 325.333536 209.306339 294.078936 209.306339z",transform:"rotate(-57.57 309.706 207.771)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M299.879919 211.40702L331.090719 211.40702 331.090719 214.47316 299.879919 214.47316z",transform:"rotate(-57.265 315.485 212.94)"}),v.jsx("path",{fill:"#F4F6F8",fillRule:"nonzero",d:"M305.149936 213.268889L336.404536 213.268889 336.404536 216.339339 305.149936 216.339339z",transform:"rotate(-57.57 320.777 214.804)"}),v.jsx("path",{fill:"#F4F6F8",fillRule:"nonzero",d:"M310.685935 216.782889L341.940535 216.782889 341.940535 219.853339 310.685935 219.853339z",transform:"rotate(-57.57 326.313 218.318)"}),v.jsx("path",{fill:"#DFE3E8",fillRule:"nonzero",d:"M341.417983 210.406958L349.511163 210.406958 349.511163 218.500138 341.417983 218.500138z",transform:"rotate(-57.57 345.465 214.454)"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z"}),v.jsx("path",{fill:n,fillRule:"nonzero",d:"M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z",opacity:"0.243"}),v.jsx("path",{fill:"url(#linearGradient-2)",fillRule:"nonzero",d:"M269.277 168.76l-45.767.493a3.127 3.127 0 00-3.094 3.125v3.782a3.127 3.127 0 01-3.05 3.124l-33.024.792a3.124 3.124 0 01-3.095-2.308l-1.551-5.701a3.124 3.124 0 00-3.053-2.308l-44.113.475a3.125 3.125 0 00-3.05 3.648l17.747 104.449a3.129 3.129 0 003.071 2.604l139.363.598a3.129 3.129 0 003.082-3.714l-20.366-106.521a3.125 3.125 0 00-3.1-2.538z",opacity:"0.32"}),v.jsx("ellipse",{cx:"119.593",cy:"258.664",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"4.846",ry:"1"}),v.jsx("ellipse",{cx:"101.03",cy:"260.545",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"4.846",ry:"1"}),v.jsx("ellipse",{cx:"108.459",cy:"265.905",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"3.444",ry:"1"}),v.jsx("ellipse",{cx:"89.193",cy:"265.433",fill:r,fillRule:"nonzero",opacity:"0.1",rx:"3.444",ry:"1"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M100.925 260.398s6.796-22.279-1.064-31.204c-5.881-6.676-12.557-5.877-15.547-5.052a5.528 5.528 0 00-3.564 2.963c-1.046 2.254-.858 5.913 6.521 10.186 12.35 7.151 13.119 16.96 13.119 16.96l.535 6.147z"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M85.382 227.302s20.031 6.278 15.546 33.096M97.083 229.547s-2.76 1.86-1.88 4.655M87.39 231.203s1.687-1.716 3.741-.768M95.31 239.832s2.963-1.495 3.728.379M102.638 242.962s-2.224-.176-2.263.897"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M101.2 260.575s-7.961-16.193-10.147-15.846c-1.037.17-1.516 1.196-1.734 2.218a6.516 6.516 0 00.434 3.941c1.13 2.601 4.165 7.519 11.447 9.687z"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M91.113 247.808s8.353 12.115 9.968 12.647"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M90.344 249.701L92.293 249.701"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M92.68 254.132L95.738 254.263"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M94.542 250.586L94.21 252.179"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M97.792 255.432L97.732 256.879"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M100.964 260.575s7.959-16.193 10.144-15.846c1.041.17 1.519 1.196 1.734 2.218a6.514 6.514 0 01-.433 3.941c-1.13 2.601-4.168 7.519-11.445 9.687z"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M111.051 247.808s-8.371 12.115-9.97 12.647"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M111.82 249.701L109.871 249.701"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M109.485 254.132L106.426 254.263"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M107.622 250.586L107.954 252.179"}),v.jsx("path",{stroke:i,strokeLinecap:"round",strokeWidth:"0.5",d:"M104.372 255.432L104.432 256.879"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M87.295 264.357a1.375 1.375 0 01-.452-.685.599.599 0 01.317-.697c.3-.11.598.09.837.299.24.21.512.431.81.38a1.237 1.237 0 01-.382-1.16.47.47 0 01.105-.236c.161-.174.454-.099.648.039.598.43.787 1.264.79 2.018.03-.277.03-.555 0-.831a.853.853 0 01.334-.727.938.938 0 01.476-.114.988.988 0 01.774.222.767.767 0 01-.03.947c-.229.257-.5.474-.801.64a1.805 1.805 0 00-.571.547.399.399 0 00-.042.096h-1.74a4.826 4.826 0 01-1.073-.738zM117.626 257.833a1.355 1.355 0 01-.452-.682.599.599 0 01.314-.696c.299-.111.598.089.837.299.239.209.509.436.817.391a1.236 1.236 0 01-.386-1.157.472.472 0 01.107-.236c.162-.173.455-.099.649.036.613.433.787 1.268.79 2.021a4.008 4.008 0 000-.834.852.852 0 01.299-.736.955.955 0 01.475-.11.998.998 0 01.774.218.768.768 0 01-.033.951 2.996 2.996 0 01-.798.64 1.767 1.767 0 00-.571.544.499.499 0 00-.042.098h-1.701a4.78 4.78 0 01-1.079-.747zM107.518 264.357a1.406 1.406 0 01-.455-.685.6.6 0 01.317-.697c.299-.11.598.09.837.299.239.21.505.437.816.395a1.247 1.247 0 01-.385-1.16.472.472 0 01.107-.236c.162-.174.455-.099.649.039.613.43.783 1.264.789 2.018.03-.277.03-.555 0-.832a.855.855 0 01.314-.735.93.93 0 01.476-.114.988.988 0 01.774.222.764.764 0 01-.033.947 3.028 3.028 0 01-.798.64 1.798 1.798 0 00-.571.547.411.411 0 00-.042.096h-1.734c-.385-.2-.742-.45-1.061-.744z"}),v.jsx("circle",{cx:"84.467",cy:"87.003",r:"6.467",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("circle",{cx:"395.425",cy:"138.681",r:"6.467",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("circle",{cx:"279.178",cy:"66.467",r:"6.467",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("circle",{cx:"97.4",cy:"122.68",r:"10.838",fill:r,fillRule:"nonzero",opacity:"0.1"}),v.jsx("path",{fill:n,fillRule:"nonzero",d:"M206.029 209.911c-7.975 0-14.44 6.465-14.44 14.44s6.465 14.44 14.44 14.44 14.44-6.465 14.44-14.44-6.465-14.44-14.44-14.44z"}),v.jsx("path",{fill:r,fillRule:"nonzero",d:"M206.029 211.59c7.047 0 12.761 5.714 12.761 12.761 0 7.048-5.714 12.761-12.761 12.761-7.048 0-12.761-5.713-12.761-12.761.006-7.045 5.716-12.754 12.761-12.761",opacity:"0.72"}),v.jsx("path",{fill:n,fillRule:"nonzero",d:"M200.058 225.406l-.699-.681a.721.721 0 010-1.065l6.127-5.984a.753.753 0 01.546-.231c.206 0 .404.083.545.231l6.127 5.978a.733.733 0 010 1.065l-.699.682a.768.768 0 01-1.091 0l-3.622-3.727v8.843a.725.725 0 01-.219.523.76.76 0 01-.534.217h-1.009a.75.75 0 01-.759-.74v-8.832l-3.622 3.726a.768.768 0 01-1.091-.005z"})]})})},vG=p.memo(mG),yG=["pdf"],bG=["txt"],xG=["psd"],wG=["doc","docx"],CG=["xls","xlsx"],SG=["zip","rar","iso"],TG=["ai","esp"],EG=["ppt","pptx"],OG=["wav","aif","mp3","aac"],PG=["jpg","jpeg","gif","bmp","png","svg"],MG=["m4v","avi","mpg","mp4","webm"],nr=e=>`/assets/icons/files/${e}.svg`;function ib(e){let t;switch(e==null?void 0:e.includes(Gt(e))){case bG.includes(Gt(e)):t="txt";break;case SG.includes(Gt(e)):t="zip";break;case OG.includes(Gt(e)):t="audio";break;case PG.includes(Gt(e)):t="image";break;case MG.includes(Gt(e)):t="video";break;case wG.includes(Gt(e)):t="word";break;case CG.includes(Gt(e)):t="excel";break;case EG.includes(Gt(e)):t="powerpoint";break;case yG.includes(Gt(e)):t="pdf";break;case xG.includes(Gt(e)):t="photoshop";break;case TG.includes(Gt(e)):t="illustrator";break;default:t=Gt(e)}return t}function _G(e){let t;switch(ib(e)){case"folder":t=nr("ic_folder");break;case"txt":t=nr("ic_txt");break;case"zip":t=nr("ic_zip");break;case"audio":t=nr("ic_audio");break;case"video":t=nr("ic_video");break;case"word":t=nr("ic_word");break;case"excel":t=nr("ic_excel");break;case"powerpoint":t=nr("ic_power_point");break;case"pdf":t=nr("ic_pdf");break;case"photoshop":t=nr("ic_pts");break;case"illustrator":t=nr("ic_ai");break;case"image":t=nr("ic_img");break;default:t=nr("ic_file")}return t}function Gt(e=""){return e&&e.split(".").pop()||""}function $G(e){return e.split("/").pop()}function id(e){return typeof e=="string"?{key:e,preview:e,name:$G(e),type:Gt(e)}:{key:e.preview,name:e.name,size:e.size,path:e.path,type:e.type,preview:e.preview,lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate}}function pl(e){const t=(e==null?void 0:e.color)||"#000000",r=(e==null?void 0:e.blur)||6,n=(e==null?void 0:e.opacity)||.8,i=e==null?void 0:e.imgUrl;return i?{position:"relative",backgroundImage:`url(${i})`,"&:before":{position:"absolute",top:0,left:0,zIndex:9,content:'""',width:"100%",height:"100%",backdropFilter:`blur(${r}px)`,WebkitBackdropFilter:`blur(${r}px)`,backgroundColor:V(t,n)}}:{backdropFilter:`blur(${r}px)`,WebkitBackdropFilter:`blur(${r}px)`,backgroundColor:V(t,n)}}function AG(e){const t=(e==null?void 0:e.direction)||"to bottom",r=e==null?void 0:e.startColor,n=e==null?void 0:e.endColor,i=e==null?void 0:e.imgUrl,o=e==null?void 0:e.color;return i?{background:`linear-gradient(${t}, ${r||o}, ${n||o}), url(${i})`,backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center center"}:{background:`linear-gradient(${t}, ${r}, ${n})`}}function kG(e){return{background:`-webkit-linear-gradient(${e})`,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}}function DG(e){return{filter:e,WebkitFilter:e,MozFilter:e}}const ob={msOverflowStyle:"none",scrollbarWidth:"none",overflowY:"scroll","&::-webkit-scrollbar":{display:"none"}},jG=Object.freeze(Object.defineProperty({__proto__:null,bgBlur:pl,bgGradient:AG,filterStyles:DG,hideScrollbarX:{msOverflowStyle:"none",scrollbarWidth:"none",overflowX:"scroll","&::-webkit-scrollbar":{display:"none"}},hideScrollbarY:ob,textGradient:kG},Symbol.toStringTag,{value:"Module"})),ab=({onDownload:e})=>{const t=ii();return v.jsx($.IconButton,{onClick:e,sx:{p:0,top:0,right:0,width:1,height:1,zIndex:9,opacity:0,position:"absolute",borderRadius:"unset",justifyContent:"center",bgcolor:"grey.800",color:"common.white",transition:t.transitions.create("opacity"),"&:hover":{opacity:1,...pl({opacity:.64,color:t.palette.grey[900]})}},children:v.jsx(It,{icon:"eva:arrow-circle-down-fill",width:24})})},sb=({file:e,tooltip:t,imageView:r,onDownload:n,sx:i,imgSx:o})=>{const{name:a="",path:s="",preview:c=""}=id(e),l=ib(s||c),u=l==="image"&&r?v.jsx($.Box,{component:"img",src:c,sx:{width:1,height:1,flexShrink:0,objectFit:"cover",...o}}):v.jsx($.Box,{component:"img",src:_G(l),sx:{width:32,height:32,flexShrink:0,...i}});return t?v.jsx($.Tooltip,{title:a,children:v.jsxs($.Stack,{flexShrink:0,component:"span",alignItems:"center",justifyContent:"center",sx:{width:"fit-content",height:"inherit"},children:[u,n&&v.jsx(ab,{onDownload:n})]})}):v.jsxs(v.Fragment,{children:[u,n&&v.jsx(ab,{onDownload:n})]})};var lb={exports:{}};/*! @preserve
243
243
  * numeral.js
244
244
  * version : 2.0.6
245
245
  * author : Adam Draper
246
246
  * license : MIT
247
247
  * http://adamwdraper.github.com/Numeral-js/
248
- */(function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(Qi,function(){var t,r,n="2.0.6",i={},o={},a={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:a.currentLocale,zeroFormat:a.zeroFormat,nullFormat:a.nullFormat,defaultFormat:a.defaultFormat,scalePercentBy100:a.scalePercentBy100};function c(l,u){this._input=l,this._value=u}return t=function(l){var u,f,d,h;if(t.isNumeral(l))u=l.value();else if(l===0||typeof l>"u")u=0;else if(l===null||r.isNaN(l))u=null;else if(typeof l=="string")if(s.zeroFormat&&l===s.zeroFormat)u=0;else if(s.nullFormat&&l===s.nullFormat||!l.replace(/[^0-9]+/g,"").length)u=null;else{for(f in i)if(h=typeof i[f].regexps.unformat=="function"?i[f].regexps.unformat():i[f].regexps.unformat,h&&l.match(h)){d=i[f].unformat;break}d=d||t._.stringToNumber,u=d(l)}else u=Number(l)||null;return new c(l,u)},t.version=n,t.isNumeral=function(l){return l instanceof c},t._=r={numberToFormat:function(l,u,f){var d=o[t.options.currentLocale],h=!1,g=!1,m=0,y="",x=1e12,b=1e9,T=1e6,P=1e3,w="",E=!1,O,M,L,W,de,ve,ce;if(l=l||0,M=Math.abs(l),t._.includes(u,"(")?(h=!0,u=u.replace(/[\(|\)]/g,"")):(t._.includes(u,"+")||t._.includes(u,"-"))&&(de=t._.includes(u,"+")?u.indexOf("+"):l<0?u.indexOf("-"):-1,u=u.replace(/[\+|\-]/g,"")),t._.includes(u,"a")&&(O=u.match(/a(k|m|b|t)?/),O=O?O[1]:!1,t._.includes(u," a")&&(y=" "),u=u.replace(new RegExp(y+"a[kmbt]?"),""),M>=x&&!O||O==="t"?(y+=d.abbreviations.trillion,l=l/x):M<x&&M>=b&&!O||O==="b"?(y+=d.abbreviations.billion,l=l/b):M<b&&M>=T&&!O||O==="m"?(y+=d.abbreviations.million,l=l/T):(M<T&&M>=P&&!O||O==="k")&&(y+=d.abbreviations.thousand,l=l/P)),t._.includes(u,"[.]")&&(g=!0,u=u.replace("[.]",".")),L=l.toString().split(".")[0],W=u.split(".")[1],ve=u.indexOf(","),m=(u.split(".")[0].split(",")[0].match(/0/g)||[]).length,W?(t._.includes(W,"[")?(W=W.replace("]",""),W=W.split("["),w=t._.toFixed(l,W[0].length+W[1].length,f,W[1].length)):w=t._.toFixed(l,W.length,f),L=w.split(".")[0],t._.includes(w,".")?w=d.delimiters.decimal+w.split(".")[1]:w="",g&&Number(w.slice(1))===0&&(w="")):L=t._.toFixed(l,0,f),y&&!O&&Number(L)>=1e3&&y!==d.abbreviations.trillion)switch(L=String(Number(L)/1e3),y){case d.abbreviations.thousand:y=d.abbreviations.million;break;case d.abbreviations.million:y=d.abbreviations.billion;break;case d.abbreviations.billion:y=d.abbreviations.trillion;break}if(t._.includes(L,"-")&&(L=L.slice(1),E=!0),L.length<m)for(var q=m-L.length;q>0;q--)L="0"+L;return ve>-1&&(L=L.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+d.delimiters.thousands)),u.indexOf(".")===0&&(L=""),ce=L+w+(y||""),h?ce=(h&&E?"(":"")+ce+(h&&E?")":""):de>=0?ce=de===0?(E?"-":"+")+ce:ce+(E?"-":"+"):E&&(ce="-"+ce),ce},stringToNumber:function(l){var u=o[s.currentLocale],f=l,d={thousand:3,million:6,billion:9,trillion:12},h,g,m;if(s.zeroFormat&&l===s.zeroFormat)g=0;else if(s.nullFormat&&l===s.nullFormat||!l.replace(/[^0-9]+/g,"").length)g=null;else{g=1,u.delimiters.decimal!=="."&&(l=l.replace(/\./g,"").replace(u.delimiters.decimal,"."));for(h in d)if(m=new RegExp("[^a-zA-Z]"+u.abbreviations[h]+"(?:\\)|(\\"+u.currency.symbol+")?(?:\\))?)?$"),f.match(m)){g*=Math.pow(10,d[h]);break}g*=(l.split("-").length+Math.min(l.split("(").length-1,l.split(")").length-1))%2?1:-1,l=l.replace(/[^0-9\.]+/g,""),g*=Number(l)}return g},isNaN:function(l){return typeof l=="number"&&isNaN(l)},includes:function(l,u){return l.indexOf(u)!==-1},insert:function(l,u,f){return l.slice(0,f)+u+l.slice(f)},reduce:function(l,u){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof u!="function")throw new TypeError(u+" is not a function");var f=Object(l),d=f.length>>>0,h=0,g;if(arguments.length===3)g=arguments[2];else{for(;h<d&&!(h in f);)h++;if(h>=d)throw new TypeError("Reduce of empty array with no initial value");g=f[h++]}for(;h<d;h++)h in f&&(g=u(g,f[h],h,f));return g},multiplier:function(l){var u=l.toString().split(".");return u.length<2?1:Math.pow(10,u[1].length)},correctionFactor:function(){var l=Array.prototype.slice.call(arguments);return l.reduce(function(u,f){var d=r.multiplier(f);return u>d?u:d},1)},toFixed:function(l,u,f,d){var h=l.toString().split("."),g=u-(d||0),m,y,x,b;return h.length===2?m=Math.min(Math.max(h[1].length,g),u):m=g,x=Math.pow(10,m),b=(f(l+"e+"+m)/x).toFixed(m),d>u-m&&(y=new RegExp("\\.?0{1,"+(d-(u-m))+"}$"),b=b.replace(y,"")),b}},t.options=s,t.formats=i,t.locales=o,t.locale=function(l){return l&&(s.currentLocale=l.toLowerCase()),s.currentLocale},t.localeData=function(l){if(!l)return o[s.currentLocale];if(l=l.toLowerCase(),!o[l])throw new Error("Unknown locale : "+l);return o[l]},t.reset=function(){for(var l in a)s[l]=a[l]},t.zeroFormat=function(l){s.zeroFormat=typeof l=="string"?l:null},t.nullFormat=function(l){s.nullFormat=typeof l=="string"?l:null},t.defaultFormat=function(l){s.defaultFormat=typeof l=="string"?l:"0.0"},t.register=function(l,u,f){if(u=u.toLowerCase(),this[l+"s"][u])throw new TypeError(u+" "+l+" already registered.");return this[l+"s"][u]=f,f},t.validate=function(l,u){var f,d,h,g,m,y,x,b;if(typeof l!="string"&&(l+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",l)),l=l.trim(),l.match(/^\d+$/))return!0;if(l==="")return!1;try{x=t.localeData(u)}catch{x=t.localeData(t.locale())}return h=x.currency.symbol,m=x.abbreviations,f=x.delimiters.decimal,x.delimiters.thousands==="."?d="\\.":d=x.delimiters.thousands,b=l.match(/^[^\d]+/),b!==null&&(l=l.substr(1),b[0]!==h)||(b=l.match(/[^\d]+$/),b!==null&&(l=l.slice(0,-1),b[0]!==m.thousand&&b[0]!==m.million&&b[0]!==m.billion&&b[0]!==m.trillion))?!1:(y=new RegExp(d+"{2}"),l.match(/[^\d.,]/g)?!1:(g=l.split(f),g.length>2?!1:g.length<2?!!g[0].match(/^\d+.*\d$/)&&!g[0].match(y):g[0].length===1?!!g[0].match(/^\d+$/)&&!g[0].match(y)&&!!g[1].match(/^\d+$/):!!g[0].match(/^\d+.*\d$/)&&!g[0].match(y)&&!!g[1].match(/^\d+$/)))},t.fn=c.prototype={clone:function(){return t(this)},format:function(l,u){var f=this._value,d=l||s.defaultFormat,h,g,m;if(u=u||Math.round,f===0&&s.zeroFormat!==null)g=s.zeroFormat;else if(f===null&&s.nullFormat!==null)g=s.nullFormat;else{for(h in i)if(d.match(i[h].regexps.format)){m=i[h].format;break}m=m||t._.numberToFormat,g=m(f,d,u)}return g},value:function(){return this._value},input:function(){return this._input},set:function(l){return this._value=Number(l),this},add:function(l){var u=r.correctionFactor.call(null,this._value,l);function f(d,h,g,m){return d+Math.round(u*h)}return this._value=r.reduce([this._value,l],f,0)/u,this},subtract:function(l){var u=r.correctionFactor.call(null,this._value,l);function f(d,h,g,m){return d-Math.round(u*h)}return this._value=r.reduce([l],f,Math.round(this._value*u))/u,this},multiply:function(l){function u(f,d,h,g){var m=r.correctionFactor(f,d);return Math.round(f*m)*Math.round(d*m)/Math.round(m*m)}return this._value=r.reduce([this._value,l],u,1),this},divide:function(l){function u(f,d,h,g){var m=r.correctionFactor(f,d);return Math.round(f*m)/Math.round(d*m)}return this._value=r.reduce([this._value,l],u),this},difference:function(l){return Math.abs(t(this._value).subtract(l).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(l){var u=l%10;return~~(l%100/10)===1?"th":u===1?"st":u===2?"nd":u===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(l,u,f){var d=t._.includes(u," BPS")?" ":"",h;return l=l*1e4,u=u.replace(/\s?BPS/,""),h=t._.numberToFormat(l,u,f),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,d+"BPS"),h=h.join("")):h=h+d+"BPS",h},unformat:function(l){return+(t._.stringToNumber(l)*1e-4).toFixed(15)}})}(),function(){var l={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},u={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},f=l.suffixes.concat(u.suffixes.filter(function(h){return l.suffixes.indexOf(h)<0})),d=f.join("|");d="("+d.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(d)},format:function(h,g,m){var y,x=t._.includes(g,"ib")?u:l,b=t._.includes(g," b")||t._.includes(g," ib")?" ":"",T,P,w;for(g=g.replace(/\s?i?b/,""),T=0;T<=x.suffixes.length;T++)if(P=Math.pow(x.base,T),w=Math.pow(x.base,T+1),h===null||h===0||h>=P&&h<w){b+=x.suffixes[T],P>0&&(h=h/P);break}return y=t._.numberToFormat(h,g,m),y+b},unformat:function(h){var g=t._.stringToNumber(h),m,y;if(g){for(m=l.suffixes.length-1;m>=0;m--){if(t._.includes(h,l.suffixes[m])){y=Math.pow(l.base,m);break}if(t._.includes(h,u.suffixes[m])){y=Math.pow(u.base,m);break}}g*=y||1}return g}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(l,u,f){var d=t.locales[t.options.currentLocale],h={before:u.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:u.match(/([\+|\-|\)|\s|\$]*)$/)[0]},g,m,y;for(u=u.replace(/\s?\$\s?/,""),g=t._.numberToFormat(l,u,f),l>=0?(h.before=h.before.replace(/[\-\(]/,""),h.after=h.after.replace(/[\-\)]/,"")):l<0&&!t._.includes(h.before,"-")&&!t._.includes(h.before,"(")&&(h.before="-"+h.before),y=0;y<h.before.length;y++)switch(m=h.before[y],m){case"$":g=t._.insert(g,d.currency.symbol,y);break;case" ":g=t._.insert(g," ",y+d.currency.symbol.length-1);break}for(y=h.after.length-1;y>=0;y--)switch(m=h.after[y],m){case"$":g=y===h.after.length-1?g+d.currency.symbol:t._.insert(g,d.currency.symbol,-(h.after.length-(1+y)));break;case" ":g=y===h.after.length-1?g+" ":t._.insert(g," ",-(h.after.length-(1+y)+d.currency.symbol.length-1));break}return g}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(l,u,f){var d,h=typeof l=="number"&&!t._.isNaN(l)?l.toExponential():"0e+0",g=h.split("e");return u=u.replace(/e[\+|\-]{1}0/,""),d=t._.numberToFormat(Number(g[0]),u,f),d+"e"+g[1]},unformat:function(l){var u=t._.includes(l,"e+")?l.split("e+"):l.split("e-"),f=Number(u[0]),d=Number(u[1]);d=t._.includes(l,"e-")?d*=-1:d;function h(g,m,y,x){var b=t._.correctionFactor(g,m),T=g*b*(m*b)/(b*b);return T}return t._.reduce([f,Math.pow(10,d)],h,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(l,u,f){var d=t.locales[t.options.currentLocale],h,g=t._.includes(u," o")?" ":"";return u=u.replace(/\s?o/,""),g+=d.ordinal(l),h=t._.numberToFormat(l,u,f),h+g}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(l,u,f){var d=t._.includes(u," %")?" ":"",h;return t.options.scalePercentBy100&&(l=l*100),u=u.replace(/\s?\%/,""),h=t._.numberToFormat(l,u,f),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,d+"%"),h=h.join("")):h=h+d+"%",h},unformat:function(l){var u=t._.stringToNumber(l);return t.options.scalePercentBy100?u*.01:u}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(l,u,f){var d=Math.floor(l/60/60),h=Math.floor((l-d*60*60)/60),g=Math.round(l-d*60*60-h*60);return d+":"+(h<10?"0"+h:h)+":"+(g<10?"0"+g:g)},unformat:function(l){var u=l.split(":"),f=0;return u.length===3?(f=f+Number(u[0])*60*60,f=f+Number(u[1])*60,f=f+Number(u[2])):u.length===2&&(f=f+Number(u[0])*60,f=f+Number(u[1])),Number(f)}})}(),t})})(lb);var jG=lb.exports;const aa=dn(jG);function IG(e){return aa(e).format()}function LG(e){const t=e?aa(e).format("$0,0.00"):"";return gl(t,".00")}function FG(e){const t=e?aa(Number(e)/100).format("0.0%"):"";return gl(t,".0")}function RG(e){const t=e?aa(e).format("0.00a"):"";return gl(t,".00")}function od(e){const t=e?aa(e).format("0.0 b"):"";return gl(t,".0")}function gl(e,t=".00"){return e.includes(t)?e.replace(t,""):e}const NG=Object.freeze(Object.defineProperty({__proto__:null,fCurrency:LG,fData:od,fNumber:IG,fPercent:FG,fShortenNumber:RG},Symbol.toStringTag,{value:"Module"})),cb=({fileRejections:e})=>e.length?v.jsx($.Paper,{variant:"outlined",sx:{py:1,px:2,mt:3,bgcolor:t=>V(t.palette.error.main,.08),borderColor:t=>V(t.palette.error.main,.24)},children:e.map(({file:t,errors:r})=>{const{path:n,size:i}=id(t);return v.jsxs($.Box,{sx:{my:1},children:[v.jsxs($.Typography,{variant:"subtitle2",noWrap:!0,children:[n," - ",i?od(i):""]}),r.map(o=>v.jsxs($.Box,{component:"span",sx:{typography:"caption"},children:["- ",o.message]},o.code))]},n)})}):null,BG=({thumbnail:e,files:t,onRemove:r,sx:n})=>t!=null&&t.length?v.jsx(Lp,{initial:!1,children:t.map(i=>{const{key:o,name:a="",size:s=0}=id(i),c=typeof i=="string";return e?v.jsxs($.Stack,{component:cr.div,...Zi().inUp,alignItems:"center",display:"inline-flex",justifyContent:"center",sx:{m:.5,width:80,height:80,borderRadius:1.25,overflow:"hidden",position:"relative",border:l=>`solid 1px ${l.palette.divider}`,...n},children:[v.jsx(sb,{tooltip:!0,imageView:!0,file:i,sx:{position:"absolute"},imgSx:{position:"absolute"}}),r&&v.jsx($.IconButton,{size:"small",onClick:()=>r(i),sx:{top:4,right:4,p:"1px",position:"absolute",color:l=>V(l.palette.common.white,.72),bgcolor:l=>V(l.palette.grey[900],.48),"&:hover":{bgcolor:l=>V(l.palette.grey[900],.72)}},children:v.jsx(It,{icon:"eva:close-fill",width:16})})]},o):v.jsxs($.Stack,{component:cr.div,...Zi().inUp,spacing:2,direction:"row",alignItems:"center",sx:{my:1,px:1,py:.75,borderRadius:.75,border:l=>`solid 1px ${l.palette.divider}`,...n},children:[v.jsx(sb,{file:i}),v.jsxs($.Stack,{flexGrow:1,sx:{minWidth:0},children:[v.jsx($.Typography,{variant:"subtitle2",noWrap:!0,children:c?i:a}),v.jsx($.Typography,{variant:"caption",sx:{color:"text.secondary"},children:c?"":od(s)})]}),r&&v.jsx($.IconButton,{edge:"end",size:"small",onClick:()=>r(i),children:v.jsx(It,{icon:"eva:close-fill"})})]},o)})}):null,zG=({file:e})=>{if(!e)return null;const t=typeof e=="string"?e:e.preview;return v.jsx($.Stack,{position:"absolute",width:1,height:160,alignItems:"center",justifyContent:"center",top:0,right:0,bottom:0,left:0,padding:2,margin:"auto",children:v.jsx(el,{alt:"file preview",src:t,sx:{borderRadius:1,width:"auto",maxWidth:"100%",maxHeight:"100%",height:"auto"}})})},WG=_t("div")(({theme:e})=>({outline:"none",cursor:"pointer",overflow:"hidden",position:"relative",padding:e.spacing(5),borderRadius:e.shape.borderRadius,transition:e.transitions.create("padding"),backgroundColor:e.palette.background.neutral,border:`1px dashed ${V(e.palette.grey[500],.32)}`,"&:hover":{opacity:.72}})),VG=({header:e,description:t,sx:r,...n})=>v.jsxs($.Stack,{spacing:5,alignItems:"center",justifyContent:"center",direction:{xs:"column",md:"row"},sx:{width:1,textAlign:{xs:"center",md:"left"},...r},...n,children:[v.jsx(mG,{sx:{width:220}}),v.jsxs("div",{children:[e||v.jsx($.Typography,{gutterBottom:!0,variant:"h5",children:"Soltar ou selecionar arquivos"}),t||v.jsxs($.Typography,{variant:"body2",sx:{color:"text.secondary"},children:["Solte os arquivos aqui ou clique",v.jsx($.Typography,{variant:"body2",component:"span",sx:{mx:.5,color:"primary.main",textDecoration:"underline"},children:"procurar"}),"na sua máquina"]})]})]}),ub=({disabled:e,multiple:t=!1,error:r,helperText:n,file:i,onDelete:o,files:a,thumbnail:s,onUpload:c,onRemove:l,onRemoveAll:u,sx:f,dropZoneProps:d,placeholderProps:h,placeholderAlt:g,...m})=>{const{getRootProps:y,getInputProps:x,isDragActive:b,isDragReject:T,fileRejections:P}=hl({multiple:t,disabled:e,...m}),w=!!i&&!t,E=a&&t&&a.length>0,O=T||!!r;return v.jsxs($.Box,{sx:{width:1,position:"relative",...f},children:[v.jsxs(WG,{...y(),sx:{...b&&{opacity:.72},...O&&{color:"error.main",bgcolor:"error.lighter",borderColor:"error.light"},...e&&{opacity:.48,pointerEvents:"none"},...d},children:[v.jsx("input",{...x()}),g?v.jsx($.Stack,{sx:{...w&&{opacity:0}},children:g}):v.jsx(VG,{sx:{...w&&{opacity:0}},header:h==null?void 0:h.title,description:h==null?void 0:h.description}),w&&v.jsx(zG,{file:i})]}),n&&n,v.jsx(cb,{fileRejections:P}),w&&o&&v.jsx($.IconButton,{size:"small",onClick:o,sx:{top:16,right:16,zIndex:9,position:"absolute",color:M=>V(M.palette.common.white,.8),bgcolor:M=>V(M.palette.grey[900],.72),"&:hover":{bgcolor:M=>V(M.palette.grey[900],.48)}},children:v.jsx(It,{icon:"eva:close-fill",width:18})}),E&&v.jsxs(v.Fragment,{children:[v.jsx($.Box,{sx:{my:3},children:v.jsx(BG,{files:a,thumbnail:s,onRemove:l})}),v.jsxs($.Stack,{direction:"row",justifyContent:"flex-end",spacing:1.5,children:[u&&v.jsx($.Button,{color:"inherit",variant:"outlined",size:"small",onClick:u,children:"Remove all"}),c&&v.jsx($.Button,{size:"small",variant:"contained",onClick:c,children:"Upload files"})]})]})]})},fb=({onFileCropped:e,aspect:t,size:{width:r,height:n},label:i,image:o="",...a})=>{const[s,c]=Iy(),[l,u]=p.useState(o),f=d=>{d||u(""),e(d)};return v.jsxs(v.Fragment,{children:[v.jsxs($.Stack,{position:"relative",width:1,children:[v.jsx(ub,{...a,onDrop:d=>{if(d.length>0){c(),e(void 0);const h=new FileReader;h.addEventListener("load",()=>{var m;const g=((m=h.result)==null?void 0:m.toString())||"";u(g)}),h.readAsDataURL(d[0])}}}),l&&v.jsx($.Stack,{sx:{position:"absolute",top:12,right:12,zIndex:999},bgcolor:"grey.0",borderRadius:"50%",children:v.jsx($.IconButton,{color:"primary",onClick:c,children:v.jsx(It,{icon:"ic:round-crop"})})})]}),v.jsx(Cy,{open:s,onClose:c,title:i,image:{width:r,height:n,aspect:t,imgSrc:l},onFileCropped:f})]})};function HG(e,t){const{watch:r,setValue:n}=Dt.useFormContext(),[i,o]=p.useState(t),a=r(e)||[];return{uploadFile:async d=>{if(!d){n(e,void 0),o(void 0);return}n(e,d),o(Object.assign(d,{preview:URL.createObjectURL(d)}))},uploadFiles:async d=>{n(e,[...a,...d.map(h=>Object.assign(h,{preview:URL.createObjectURL(h)}))])},handleDeleteFile:()=>{n(e,void 0),o(void 0)},handleRemoveAll:()=>{n(e,void 0)},handleRemove:d=>{const h=a.filter(g=>g!==d);n(e,h)},file:i}}const UG=({name:e,rules:t,helperText:r,aspect:n,label:i,size:o,image:a,...s})=>{const{control:c}=Dt.useFormContext(),{uploadFile:l,file:u}=HG(e);return v.jsx(Dt.Controller,{name:e,control:c,rules:t,render:({fieldState:{error:f}})=>v.jsx(fb,{accept:{"image/*":[]},file:u,onFileCropped:l,error:!!f,disableMultiple:!0,helperText:(!!f||r)&&v.jsx($.FormHelperText,{error:!!f,sx:{px:2},children:f?f==null?void 0:f.message:r}),aspect:n,label:i,size:o,image:a,...s})})},ml=(e,t=!0)=>{const{pathname:r}=_r.useLocation(),n=e?!!_r.matchPath({path:e,end:!0},r):!1,i=e?!!_r.matchPath({path:e,end:!1},r):!1;return{active:t?i:n,isExternalLink:e.includes("http")}},vl={W_BASE:260,W_DASHBOARD:280,W_DASHBOARD_MINI:88,H_DASHBOARD_ITEM:48,H_DASHBOARD_ITEM_SUB:36,H_DASHBOARD_ITEM_HORIZONTAL:32},qi={NAV_ITEM:24,NAV_ITEM_HORIZONTAL:22,NAV_ITEM_MINI:22},YG=_t($.ListItemButton,{shouldForwardProp:e=>e!=="active"&&e!=="open"})(({active:e,disabled:t,open:r,depth:n,theme:i})=>{const o=i.palette.mode==="light",a=n!==1,s={color:i.palette.primary.main,backgroundColor:V(i.palette.primary.main,i.palette.action.selectedOpacity),...!o&&{color:i.palette.primary.light}},c={color:i.palette.text.primary,backgroundColor:"transparent"},l={color:i.palette.text.primary,backgroundColor:i.palette.action.hover};return{flexDirection:"column",textTransform:"capitalize",padding:i.spacing(1,0,.5,0),color:i.palette.text.secondary,borderRadius:i.shape.borderRadius,"&:hover":l,...a&&{flexDirection:"row",padding:i.spacing(1)},...e&&{...s,"&:hover":{...s}},...a&&e&&{...c,"&:hover":{...c}},...r&&!e&&l,...t&&{"&.Mui-disabled":{opacity:.64}}}}),GG=_t($.ListItemIcon)({marginRight:0,marginBottom:4,width:qi.NAV_ITEM_MINI,height:qi.NAV_ITEM_MINI}),qG=_t($.Popover)(({theme:e})=>({pointerEvents:"none","& .MuiPopover-paper":{width:160,pointerEvents:"auto",padding:e.spacing(1),marginTop:e.spacing(.5),boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5,...pl({color:e.palette.background.default})}})),db=p.forwardRef(({item:e,depth:t,open:r,active:n,isExternalLink:i,...o},a)=>{const{title:s,path:c,icon:l,children:u,disabled:f,caption:d}=e,h=t!==1,g=v.jsxs(YG,{ref:a,open:r,depth:t,active:n,disabled:f,...o,children:[l&&v.jsx(GG,{children:l}),v.jsx($.ListItemText,{primary:s,primaryTypographyProps:{noWrap:!0,sx:{width:72,fontSize:10,lineHeight:"16px",textAlign:"center",...n&&{fontWeight:"fontWeightMedium"},...h&&{fontSize:14,width:"auto",textAlign:"left"}}}}),d&&v.jsx($.Tooltip,{title:d,arrow:!0,placement:"right",children:v.jsx(It,{icon:"eva:info-outline",width:16,sx:{top:11,left:6,position:"absolute"}})}),!!u&&v.jsx(It,{width:16,icon:"eva:chevron-right-fill",sx:{top:11,right:6,position:"absolute"}})]});return(()=>i?v.jsx($.Link,{href:c,target:"_blank",rel:"noopener",underline:"none",children:g}):v.jsx($.Link,{component:_r.Link,to:c,underline:"none",children:g}))()});db.displayName="NavItem";const XG=({data:e,depth:t})=>v.jsx(v.Fragment,{children:e.map(r=>v.jsx(hb,{data:r,depth:t+1,hasChild:!!r.children},r.title+r.path))}),hb=({data:e,depth:t,hasChild:r})=>{const n=p.useRef(null),{pathname:i}=_r.useLocation(),{active:o,isExternalLink:a}=ml(e.path),[s,c]=p.useState(!1);p.useEffect(()=>{s&&u()},[i]),p.useEffect(()=>{const f=Array.from(document.querySelectorAll(".MuiAppBar-root")),d=()=>{document.body.style.overflow="",document.body.style.padding="",f.forEach(h=>{h.style.padding=""})};d()},[s]);const l=()=>{c(!0)},u=()=>{c(!1)};return v.jsxs(v.Fragment,{children:[v.jsx(db,{ref:n,item:e,depth:t,open:s,active:o,isExternalLink:a,onMouseEnter:l,onMouseLeave:u}),r&&v.jsx(qG,{open:s,anchorEl:n.current,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:l,onMouseLeave:u},children:v.jsx(XG,{data:e.children,depth:t})})]})},KG=({items:e,isLastGroup:t})=>v.jsxs(v.Fragment,{children:[e.map(r=>v.jsx(hb,{data:r,depth:1,hasChild:!!r.children},r.title+r.path)),!t&&v.jsx($.Box,{sx:{width:24,height:"1px",bgcolor:"divider",my:"8px !important"}})]}),ZG=({data:e,sx:t,...r})=>v.jsx($.Stack,{spacing:.5,alignItems:"center",sx:{px:.75,...t},...r,children:e.map((n,i)=>v.jsx(KG,{items:n.items,isLastGroup:i+1===e.length},n.subheader))}),QG=p.memo(ZG),JG=_t($.ListItemButton,{shouldForwardProp:e=>e!=="active"&&e!=="caption"})(({active:e,disabled:t,depth:r,caption:n,theme:i})=>{const o=i.palette.mode==="light",a=r!==1,s={color:i.palette.primary.main,backgroundColor:V(i.palette.primary.main,i.palette.action.selectedOpacity),...!o&&{color:i.palette.primary.light}},c={color:i.palette.text.primary,backgroundColor:"transparent"};return{position:"relative",textTransform:"capitalize",paddingLeft:i.spacing(2),paddingRight:i.spacing(1.5),marginBottom:i.spacing(.5),color:i.palette.text.secondary,borderRadius:i.shape.borderRadius,height:vl.H_DASHBOARD_ITEM,...a&&{height:vl.H_DASHBOARD_ITEM_SUB,...r>2&&{paddingLeft:i.spacing(r)},...n&&{height:vl.H_DASHBOARD_ITEM}},...e&&{...s,"&:hover":{...s}},...a&&e&&{...c,"&:hover":{...c}},...t&&{"&.Mui-disabled":{opacity:.64}}}}),pb=_t($.ListItemIcon)({display:"flex",alignItems:"center",justifyContent:"center",width:qi.NAV_ITEM,height:qi.NAV_ITEM}),eq=_t("span",{shouldForwardProp:e=>e!=="active"})(({active:e,theme:t})=>({width:4,height:4,borderRadius:"50%",backgroundColor:t.palette.text.disabled,transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter}),...e&&{transform:"scale(2)",backgroundColor:t.palette.primary.main}})),tq=_t($.ListSubheader)(({theme:e})=>({...e.typography.overline,fontSize:11,paddingTop:e.spacing(3),paddingBottom:e.spacing(1),color:e.palette.text.secondary})),rq=({item:e,depth:t,open:r,active:n,isExternalLink:i,...o})=>{const{title:a,path:s,icon:c,info:l,children:u,disabled:f,caption:d}=e,h=t!==1,g=v.jsxs(JG,{depth:t,active:n,disabled:f,caption:!!d,...o,children:[c&&v.jsx(pb,{children:c}),h&&v.jsx(pb,{children:v.jsx(eq,{active:n&&h})}),v.jsx($.ListItemText,{primary:a,secondary:d&&v.jsx($.Tooltip,{title:d,placement:"top-start",children:v.jsx("span",{children:d})}),primaryTypographyProps:{noWrap:!0,component:"span",variant:n?"subtitle2":"body2"},secondaryTypographyProps:{noWrap:!0,variant:"caption"}}),l&&v.jsx($.Box,{component:"span",sx:{lineHeight:0},children:l}),!!u&&v.jsx(It,{width:16,icon:r?"eva:arrow-ios-downward-fill":"eva:arrow-ios-forward-fill",sx:{ml:1,flexShrink:0}})]});return(()=>i?v.jsx($.Link,{href:s,target:"_blank",rel:"noopener",underline:"none",children:g}):u?g:v.jsx($.Link,{component:_r.Link,to:s,underline:"none",children:g}))()},nq=({data:e,depth:t})=>v.jsx(v.Fragment,{children:e.map(r=>v.jsx(gb,{data:r,depth:t+1,hasChild:!!r.children},r.title+r.path))}),gb=({data:e,depth:t,hasChild:r})=>{const{pathname:n}=_r.useLocation(),{active:i,isExternalLink:o}=ml(e.path),[a,s]=p.useState(i);p.useEffect(()=>{i||l()},[n]);const c=()=>{s(!a)},l=()=>{s(!1)};return v.jsxs(v.Fragment,{children:[v.jsx(rq,{item:e,depth:t,open:a,active:i,isExternalLink:o,onClick:c}),r&&v.jsx($.Collapse,{in:a,unmountOnExit:!0,children:v.jsx(nq,{data:e.children,depth:t})})]})},iq=({data:e,sx:t,...r})=>v.jsx($.Stack,{sx:t,...r,children:e.map(n=>{const i=n.subheader||n.items[0].title;return v.jsxs($.List,{disablePadding:!0,sx:{px:2},children:[n.subheader&&v.jsx(tq,{disableSticky:!0,children:n.subheader}),n.items.map(o=>v.jsx(gb,{data:o,depth:1,hasChild:!!o.children},o.title+o.path))]},i)})}),oq=_t($.ListItemButton,{shouldForwardProp:e=>e!=="active"&&e!=="open"})(({active:e,disabled:t,open:r,depth:n,theme:i})=>{const o=i.palette.mode==="light",a=n!==1,s={color:i.palette.primary.main,backgroundColor:V(i.palette.primary.main,i.palette.action.selectedOpacity),...!o&&{color:i.palette.primary.light}},c={color:i.palette.text.primary,backgroundColor:"transparent"},l={color:i.palette.text.primary,backgroundColor:i.palette.action.hover};return{flexShrink:0,display:"inline-flex",textTransform:"capitalize",padding:i.spacing(0,.75),color:i.palette.text.secondary,borderRadius:i.shape.borderRadius,height:vl.H_DASHBOARD_ITEM_HORIZONTAL,"&:hover":l,...a&&{width:"100%",margin:0,paddingRight:0,paddingLeft:i.spacing(1)},...e&&{...s,"&:hover":{...s}},...a&&e&&{...c,"&:hover":{...c}},...r&&!e&&l,...t&&{"&.Mui-disabled":{opacity:.64}}}}),aq=_t($.ListItemIcon)({marginRight:8,flexShrink:0,width:qi.NAV_ITEM_HORIZONTAL,height:qi.NAV_ITEM_HORIZONTAL}),sq=_t($.Popover)(({theme:e})=>({pointerEvents:"none","& .MuiPopover-paper":{width:160,pointerEvents:"auto",padding:e.spacing(1),marginTop:e.spacing(.5),boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5,...pl({color:e.palette.background.default})}})),mb=p.forwardRef(({item:e,depth:t,open:r,active:n,isExternalLink:i,...o},a)=>{const{title:s,path:c,icon:l,info:u,children:f,disabled:d,caption:h}=e,g=t!==1,m=v.jsxs(oq,{ref:a,open:r,depth:t,active:n,disabled:d,...o,children:[l&&v.jsx(aq,{children:l}),v.jsx($.ListItemText,{primary:s,primaryTypographyProps:{noWrap:!0,component:"span",variant:n?"subtitle2":"body2"}}),u&&v.jsx($.Box,{component:"span",sx:{ml:1,lineHeight:0},children:u}),h&&v.jsx($.Tooltip,{title:h,arrow:!0,children:v.jsx($.Box,{component:"span",sx:{ml:.5,lineHeight:0},children:v.jsx(It,{icon:"eva:info-outline",width:16})})}),!!f&&v.jsx(It,{icon:g?"eva:chevron-right-fill":"eva:chevron-down-fill",width:16,sx:{ml:.5,flexShrink:0}})]});return(()=>i?v.jsx($.Link,{href:c,target:"_blank",rel:"noopener",underline:"none",children:m}):v.jsx($.Link,{component:_r.Link,to:c,underline:"none",children:m}))()});mb.displayName="NavItem";const lq=({data:e,depth:t})=>v.jsx(v.Fragment,{children:e.map(r=>v.jsx(vb,{data:r,depth:t+1,hasChild:!!r.children},r.title+r.path))}),vb=({data:e,depth:t,hasChild:r})=>{const n=p.useRef(null),{pathname:i}=_r.useLocation(),{active:o,isExternalLink:a}=ml(e.path),[s,c]=p.useState(!1);p.useEffect(()=>{s&&u()},[i]),p.useEffect(()=>{const f=Array.from(document.querySelectorAll(".MuiAppBar-root")),d=()=>{document.body.style.overflow="",document.body.style.padding="",f.forEach(h=>{h.style.padding=""})};d()},[s]);const l=()=>{c(!0)},u=()=>{c(!1)};return v.jsxs(v.Fragment,{children:[v.jsx(mb,{ref:n,item:e,depth:t,open:s,active:o,isExternalLink:a,onMouseEnter:l,onMouseLeave:u}),r&&v.jsx(sq,{open:s,anchorEl:n.current,anchorOrigin:t===1?{vertical:"bottom",horizontal:"left"}:{vertical:"center",horizontal:"right"},transformOrigin:t===1?{vertical:"top",horizontal:"left"}:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:l,onMouseLeave:u},children:v.jsx(lq,{data:e.children,depth:t})})]})},cq=({items:e})=>v.jsx(v.Fragment,{children:e.map(t=>v.jsx(vb,{data:t,depth:1,hasChild:!!t.children},t.title+t.path))}),uq=({data:e,sx:t,...r})=>v.jsx($.Stack,{direction:"row",spacing:1,sx:{mx:"auto",...ob,...t},...r,children:e.map(n=>v.jsx(cq,{items:n.items},n.subheader))}),fq=p.memo(uq),dq=({file:e})=>{if(!e)return null;const t=typeof e=="string"?e:e.preview;return v.jsx(el,{alt:"avatar",src:t,sx:{zIndex:8,overflow:"hidden",borderRadius:"50%",position:"absolute",width:"calc(100% - 16px)",height:"calc(100% - 16px)"}})},hq=_t("div")(({theme:e})=>({width:144,height:144,margin:"auto",display:"flex",cursor:"pointer",overflow:"hidden",borderRadius:"50%",alignItems:"center",position:"relative",justifyContent:"center",border:`1px dashed ${V(e.palette.grey[500],.32)}`})),pq=_t("div")(({theme:e})=>({zIndex:7,display:"flex",borderRadius:"50%",position:"absolute",alignItems:"center",flexDirection:"column",justifyContent:"center",width:"calc(100% - 16px)",height:"calc(100% - 16px)",color:e.palette.text.disabled,backgroundColor:e.palette.background.neutral,transition:e.transitions.create("opacity",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.shorter})})),gq=({error:e,file:t,disabled:r,helperText:n,sx:i,...o})=>{const{getRootProps:a,getInputProps:s,isDragActive:c,isDragReject:l,fileRejections:u}=hl({multiple:!1,disabled:r,...o}),f=!!t,d=l||!!e;return v.jsxs(v.Fragment,{children:[v.jsxs(hq,{...a(),sx:{...c&&{opacity:.72},...d&&{borderColor:"error.light",...f&&{bgcolor:"error.lighter"}},...r&&{opacity:.48,pointerEvents:"none"},...f&&{"&:hover":{"& .placeholder":{opacity:1}}},...i},children:[v.jsx("input",{...s()}),f&&v.jsx(dq,{file:t}),v.jsxs(pq,{className:"placeholder",sx:{"&:hover":{opacity:.72},...f&&{zIndex:9,opacity:0,color:"common.white",bgcolor:h=>V(h.palette.grey[900],.64)},...d&&{color:"error.main",bgcolor:"error.lighter"}},children:[v.jsx(It,{icon:"ic:round-add-a-photo",width:24,sx:{mb:1}}),v.jsx($.Typography,{variant:"caption",children:t?"Update photo":"Upload photo"})]})]}),n&&n,v.jsx(cb,{fileRejections:u})]})},mq=_t("div")(({theme:e})=>({width:64,height:64,fontSize:24,display:"flex",flexShrink:0,cursor:"pointer",alignItems:"center",justifyContent:"center",margin:e.spacing(.5),color:e.palette.text.disabled,borderRadius:e.shape.borderRadius,border:`dashed 1px ${e.palette.divider}`,backgroundColor:V(e.palette.grey[500],.08),"&:hover":{opacity:.72}})),vq=({placeholderAlt:e,error:t,disabled:r,sx:n,...i})=>{const{getRootProps:o,getInputProps:a,isDragActive:s,isDragReject:c}=hl({disabled:r,...i}),l=c||t;return v.jsxs(mq,{...o(),sx:{...s&&{opacity:.72},...l&&{color:"error.main",bgcolor:"error.lighter",borderColor:"error.light"},...r&&{opacity:.48,pointerEvents:"none"},...n},children:[v.jsx("input",{...a()}),e||v.jsx(It,{icon:"eva:cloud-upload-fill",width:28})]})},yq=()=>{const[e,t]=p.useState(!1),[r,n]=p.useState(document.activeElement);return p.useEffect(()=>{const i=a=>n(a.target),o=()=>n(null);return window.addEventListener("focus",i,!0),window.addEventListener("blur",o,!0),t(!0),()=>{window.removeEventListener("focus",i),window.removeEventListener("blur",o)}},[]),{activeElement:r,listenersReady:e}};var bq=cu;function xq(e,t){return bq(e,t)}var wq=xq;const Cq=dn(wq),Tq=(e,t)=>Cq(e,t),Sq=e=>{const t=p.useRef();return Tq(e,t.current)||(t.current=e),t.current},Eq=(e,t)=>{p.useEffect(e,t.map(Sq))},Oq=()=>{const e=p.useRef(!0);return e.current?(e.current=!1,!0):e.current};function Pq(e){const[t,r]=p.useState(e||"");return{currentTab:t,onChangeTab:(n,i)=>{r(i)},setCurrentTab:r}}const Mq=Object.freeze(Object.defineProperty({__proto__:null,downloadFile:(e,t,r)=>{const n=`data:application/octet-stream;base64,${r}`,i=document.createElement("a"),o=`${e.replace(t,"")}.${t}`;i.href=n,i.download=o,i.click()}},Symbol.toStringTag,{value:"Module"}));function _q(e){return Af({},e)}var yb=1440,$q=2520,ad=43200,Aq=86400;function kq(e,t,r){var n,i;H(2,arguments);var o=pr(),a=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:o.locale)!==null&&n!==void 0?n:Ys;if(!a.formatDistance)throw new RangeError("locale must contain formatDistance property");var s=ki(e,t);if(isNaN(s))throw new RangeError("Invalid time value");var c=Af(_q(r),{addSuffix:!!(r!=null&&r.addSuffix),comparison:s}),l,u;s>0?(l=U(t),u=U(e)):(l=U(e),u=U(t));var f=mv(u,l),d=(Di(u)-Di(l))/1e3,h=Math.round((f-d)/60),g;if(h<2)return r!=null&&r.includeSeconds?f<5?a.formatDistance("lessThanXSeconds",5,c):f<10?a.formatDistance("lessThanXSeconds",10,c):f<20?a.formatDistance("lessThanXSeconds",20,c):f<40?a.formatDistance("halfAMinute",0,c):f<60?a.formatDistance("lessThanXMinutes",1,c):a.formatDistance("xMinutes",1,c):h===0?a.formatDistance("lessThanXMinutes",1,c):a.formatDistance("xMinutes",h,c);if(h<45)return a.formatDistance("xMinutes",h,c);if(h<90)return a.formatDistance("aboutXHours",1,c);if(h<yb){var m=Math.round(h/60);return a.formatDistance("aboutXHours",m,c)}else{if(h<$q)return a.formatDistance("xDays",1,c);if(h<ad){var y=Math.round(h/yb);return a.formatDistance("xDays",y,c)}else if(h<Aq)return g=Math.round(h/ad),a.formatDistance("aboutXMonths",g,c)}if(g=Sf(u,l),g<12){var x=Math.round(h/ad);return a.formatDistance("xMonths",x,c)}else{var b=g%12,T=Math.floor(g/12);return b<3?a.formatDistance("aboutXYears",T,c):b<9?a.formatDistance("overXYears",T,c):a.formatDistance("almostXYears",T+1,c)}}function Dq(e,t){return H(1,arguments),kq(e,Date.now(),t)}function jq(e){H(1,arguments);var t=U(e),r=t.getTime();return r}function Iq(e,t){const r=t||"dd/MM/yyyy";return e?_f(new Date(e),r):null}function Lq(e,t){const r=t||"dd/MM/yyyy HH:mm:ss";return e?_f(new Date(e),r):null}function Fq(e){return e?jq(new Date(e)):null}function Rq(e){return e?Dq(new Date(e),{addSuffix:!0}):null}const Nq=Object.freeze(Object.defineProperty({__proto__:null,fDate:Iq,fDateTime:Lq,fTimestamp:Fq,fToNow:Rq},Symbol.toStringTag,{value:"Module"}));function Bq(e){const t=e.match(/\/([^/]+)/);return t?t[0]:e}const zq=Object.freeze(Object.defineProperty({__proto__:null,getRoot:Bq},Symbol.toStringTag,{value:"Module"})),Wq=e=>function(r){return v.jsx(p.Suspense,{fallback:v.jsx($.CircularProgress,{}),children:v.jsx(e,{...r})})},Vq=Object.freeze(Object.defineProperty({__proto__:null,default:Y5},Symbol.toStringTag,{value:"Module"}));z.ColorPickerField=hY,z.ColorPickerInput=fv,z.Common=vU,z.CustomAvatar=ry,z.CustomAvatarGroup=ny,z.DataGrid=xU,z.DatePicker=pY,z.DateRangePicker=gY,z.DateTimePicker=mY,z.Delayed=wU,z.DialogAnimate=G5,z.FabButtonAnimate=Fp,z.Field=jy,z.Form=vY,z.IconButtonAnimate=Rp,z.Iconify=It,z.Image=el,z.ImageCropModal=Cy,z.Label=Ty,z.MenuPopover=rY,z.MotionContainer=WC,z.MotionLazyContainer=HC,z.MotionViewport=zC,z.NavSectionHorizontal=fq,z.NavSectionMini=QG,z.NavSectionVertical=iq,z.PasswordField=yY,z.Portal=nY,z.Scrollbar=dY,z.TRANSITION=ld,z.TextAnimate=q5,z.ThemeProvider=ty,z.TimePicker=bY,z.Upload=ub,z.UploadAvatar=gq,z.UploadBox=vq,z.UploadWithCrop=fb,z.UploadWithCropField=UG,z.cssStyles=DG,z.file=Mq,z.formatNumber=NG,z.formatTime=Nq,z.loadable=Wq,z.routes=zq,z.useActiveElement=yq,z.useActiveLink=ml,z.useDeepCompareEffect=Eq,z.useIsMounting=Oq,z.useResponsive=z0,z.useTabs=Pq,z.useToggle=Iy,z.varBgColor=kb,z.varBgKenburns=Db,z.varBgPan=jb,z.varBounce=_b,z.varContainer=ca,z.varFade=Zi,z.varFlip=Ob,z.varHover=Ab,z.varPath=Tb,z.varRotate=$b,z.varScale=Mb,z.varSlide=Pb,z.varTranEnter=Pe,z.varTranExit=Ae,z.varTranHover=Sb,z.varZoom=Eb,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});
248
+ */(function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(Qi,function(){var t,r,n="2.0.6",i={},o={},a={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:a.currentLocale,zeroFormat:a.zeroFormat,nullFormat:a.nullFormat,defaultFormat:a.defaultFormat,scalePercentBy100:a.scalePercentBy100};function c(l,u){this._input=l,this._value=u}return t=function(l){var u,f,d,h;if(t.isNumeral(l))u=l.value();else if(l===0||typeof l>"u")u=0;else if(l===null||r.isNaN(l))u=null;else if(typeof l=="string")if(s.zeroFormat&&l===s.zeroFormat)u=0;else if(s.nullFormat&&l===s.nullFormat||!l.replace(/[^0-9]+/g,"").length)u=null;else{for(f in i)if(h=typeof i[f].regexps.unformat=="function"?i[f].regexps.unformat():i[f].regexps.unformat,h&&l.match(h)){d=i[f].unformat;break}d=d||t._.stringToNumber,u=d(l)}else u=Number(l)||null;return new c(l,u)},t.version=n,t.isNumeral=function(l){return l instanceof c},t._=r={numberToFormat:function(l,u,f){var d=o[t.options.currentLocale],h=!1,g=!1,m=0,y="",x=1e12,b=1e9,S=1e6,P=1e3,w="",E=!1,O,M,L,W,de,ve,ce;if(l=l||0,M=Math.abs(l),t._.includes(u,"(")?(h=!0,u=u.replace(/[\(|\)]/g,"")):(t._.includes(u,"+")||t._.includes(u,"-"))&&(de=t._.includes(u,"+")?u.indexOf("+"):l<0?u.indexOf("-"):-1,u=u.replace(/[\+|\-]/g,"")),t._.includes(u,"a")&&(O=u.match(/a(k|m|b|t)?/),O=O?O[1]:!1,t._.includes(u," a")&&(y=" "),u=u.replace(new RegExp(y+"a[kmbt]?"),""),M>=x&&!O||O==="t"?(y+=d.abbreviations.trillion,l=l/x):M<x&&M>=b&&!O||O==="b"?(y+=d.abbreviations.billion,l=l/b):M<b&&M>=S&&!O||O==="m"?(y+=d.abbreviations.million,l=l/S):(M<S&&M>=P&&!O||O==="k")&&(y+=d.abbreviations.thousand,l=l/P)),t._.includes(u,"[.]")&&(g=!0,u=u.replace("[.]",".")),L=l.toString().split(".")[0],W=u.split(".")[1],ve=u.indexOf(","),m=(u.split(".")[0].split(",")[0].match(/0/g)||[]).length,W?(t._.includes(W,"[")?(W=W.replace("]",""),W=W.split("["),w=t._.toFixed(l,W[0].length+W[1].length,f,W[1].length)):w=t._.toFixed(l,W.length,f),L=w.split(".")[0],t._.includes(w,".")?w=d.delimiters.decimal+w.split(".")[1]:w="",g&&Number(w.slice(1))===0&&(w="")):L=t._.toFixed(l,0,f),y&&!O&&Number(L)>=1e3&&y!==d.abbreviations.trillion)switch(L=String(Number(L)/1e3),y){case d.abbreviations.thousand:y=d.abbreviations.million;break;case d.abbreviations.million:y=d.abbreviations.billion;break;case d.abbreviations.billion:y=d.abbreviations.trillion;break}if(t._.includes(L,"-")&&(L=L.slice(1),E=!0),L.length<m)for(var q=m-L.length;q>0;q--)L="0"+L;return ve>-1&&(L=L.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+d.delimiters.thousands)),u.indexOf(".")===0&&(L=""),ce=L+w+(y||""),h?ce=(h&&E?"(":"")+ce+(h&&E?")":""):de>=0?ce=de===0?(E?"-":"+")+ce:ce+(E?"-":"+"):E&&(ce="-"+ce),ce},stringToNumber:function(l){var u=o[s.currentLocale],f=l,d={thousand:3,million:6,billion:9,trillion:12},h,g,m;if(s.zeroFormat&&l===s.zeroFormat)g=0;else if(s.nullFormat&&l===s.nullFormat||!l.replace(/[^0-9]+/g,"").length)g=null;else{g=1,u.delimiters.decimal!=="."&&(l=l.replace(/\./g,"").replace(u.delimiters.decimal,"."));for(h in d)if(m=new RegExp("[^a-zA-Z]"+u.abbreviations[h]+"(?:\\)|(\\"+u.currency.symbol+")?(?:\\))?)?$"),f.match(m)){g*=Math.pow(10,d[h]);break}g*=(l.split("-").length+Math.min(l.split("(").length-1,l.split(")").length-1))%2?1:-1,l=l.replace(/[^0-9\.]+/g,""),g*=Number(l)}return g},isNaN:function(l){return typeof l=="number"&&isNaN(l)},includes:function(l,u){return l.indexOf(u)!==-1},insert:function(l,u,f){return l.slice(0,f)+u+l.slice(f)},reduce:function(l,u){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof u!="function")throw new TypeError(u+" is not a function");var f=Object(l),d=f.length>>>0,h=0,g;if(arguments.length===3)g=arguments[2];else{for(;h<d&&!(h in f);)h++;if(h>=d)throw new TypeError("Reduce of empty array with no initial value");g=f[h++]}for(;h<d;h++)h in f&&(g=u(g,f[h],h,f));return g},multiplier:function(l){var u=l.toString().split(".");return u.length<2?1:Math.pow(10,u[1].length)},correctionFactor:function(){var l=Array.prototype.slice.call(arguments);return l.reduce(function(u,f){var d=r.multiplier(f);return u>d?u:d},1)},toFixed:function(l,u,f,d){var h=l.toString().split("."),g=u-(d||0),m,y,x,b;return h.length===2?m=Math.min(Math.max(h[1].length,g),u):m=g,x=Math.pow(10,m),b=(f(l+"e+"+m)/x).toFixed(m),d>u-m&&(y=new RegExp("\\.?0{1,"+(d-(u-m))+"}$"),b=b.replace(y,"")),b}},t.options=s,t.formats=i,t.locales=o,t.locale=function(l){return l&&(s.currentLocale=l.toLowerCase()),s.currentLocale},t.localeData=function(l){if(!l)return o[s.currentLocale];if(l=l.toLowerCase(),!o[l])throw new Error("Unknown locale : "+l);return o[l]},t.reset=function(){for(var l in a)s[l]=a[l]},t.zeroFormat=function(l){s.zeroFormat=typeof l=="string"?l:null},t.nullFormat=function(l){s.nullFormat=typeof l=="string"?l:null},t.defaultFormat=function(l){s.defaultFormat=typeof l=="string"?l:"0.0"},t.register=function(l,u,f){if(u=u.toLowerCase(),this[l+"s"][u])throw new TypeError(u+" "+l+" already registered.");return this[l+"s"][u]=f,f},t.validate=function(l,u){var f,d,h,g,m,y,x,b;if(typeof l!="string"&&(l+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",l)),l=l.trim(),l.match(/^\d+$/))return!0;if(l==="")return!1;try{x=t.localeData(u)}catch{x=t.localeData(t.locale())}return h=x.currency.symbol,m=x.abbreviations,f=x.delimiters.decimal,x.delimiters.thousands==="."?d="\\.":d=x.delimiters.thousands,b=l.match(/^[^\d]+/),b!==null&&(l=l.substr(1),b[0]!==h)||(b=l.match(/[^\d]+$/),b!==null&&(l=l.slice(0,-1),b[0]!==m.thousand&&b[0]!==m.million&&b[0]!==m.billion&&b[0]!==m.trillion))?!1:(y=new RegExp(d+"{2}"),l.match(/[^\d.,]/g)?!1:(g=l.split(f),g.length>2?!1:g.length<2?!!g[0].match(/^\d+.*\d$/)&&!g[0].match(y):g[0].length===1?!!g[0].match(/^\d+$/)&&!g[0].match(y)&&!!g[1].match(/^\d+$/):!!g[0].match(/^\d+.*\d$/)&&!g[0].match(y)&&!!g[1].match(/^\d+$/)))},t.fn=c.prototype={clone:function(){return t(this)},format:function(l,u){var f=this._value,d=l||s.defaultFormat,h,g,m;if(u=u||Math.round,f===0&&s.zeroFormat!==null)g=s.zeroFormat;else if(f===null&&s.nullFormat!==null)g=s.nullFormat;else{for(h in i)if(d.match(i[h].regexps.format)){m=i[h].format;break}m=m||t._.numberToFormat,g=m(f,d,u)}return g},value:function(){return this._value},input:function(){return this._input},set:function(l){return this._value=Number(l),this},add:function(l){var u=r.correctionFactor.call(null,this._value,l);function f(d,h,g,m){return d+Math.round(u*h)}return this._value=r.reduce([this._value,l],f,0)/u,this},subtract:function(l){var u=r.correctionFactor.call(null,this._value,l);function f(d,h,g,m){return d-Math.round(u*h)}return this._value=r.reduce([l],f,Math.round(this._value*u))/u,this},multiply:function(l){function u(f,d,h,g){var m=r.correctionFactor(f,d);return Math.round(f*m)*Math.round(d*m)/Math.round(m*m)}return this._value=r.reduce([this._value,l],u,1),this},divide:function(l){function u(f,d,h,g){var m=r.correctionFactor(f,d);return Math.round(f*m)/Math.round(d*m)}return this._value=r.reduce([this._value,l],u),this},difference:function(l){return Math.abs(t(this._value).subtract(l).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(l){var u=l%10;return~~(l%100/10)===1?"th":u===1?"st":u===2?"nd":u===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(l,u,f){var d=t._.includes(u," BPS")?" ":"",h;return l=l*1e4,u=u.replace(/\s?BPS/,""),h=t._.numberToFormat(l,u,f),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,d+"BPS"),h=h.join("")):h=h+d+"BPS",h},unformat:function(l){return+(t._.stringToNumber(l)*1e-4).toFixed(15)}})}(),function(){var l={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},u={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},f=l.suffixes.concat(u.suffixes.filter(function(h){return l.suffixes.indexOf(h)<0})),d=f.join("|");d="("+d.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(d)},format:function(h,g,m){var y,x=t._.includes(g,"ib")?u:l,b=t._.includes(g," b")||t._.includes(g," ib")?" ":"",S,P,w;for(g=g.replace(/\s?i?b/,""),S=0;S<=x.suffixes.length;S++)if(P=Math.pow(x.base,S),w=Math.pow(x.base,S+1),h===null||h===0||h>=P&&h<w){b+=x.suffixes[S],P>0&&(h=h/P);break}return y=t._.numberToFormat(h,g,m),y+b},unformat:function(h){var g=t._.stringToNumber(h),m,y;if(g){for(m=l.suffixes.length-1;m>=0;m--){if(t._.includes(h,l.suffixes[m])){y=Math.pow(l.base,m);break}if(t._.includes(h,u.suffixes[m])){y=Math.pow(u.base,m);break}}g*=y||1}return g}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(l,u,f){var d=t.locales[t.options.currentLocale],h={before:u.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:u.match(/([\+|\-|\)|\s|\$]*)$/)[0]},g,m,y;for(u=u.replace(/\s?\$\s?/,""),g=t._.numberToFormat(l,u,f),l>=0?(h.before=h.before.replace(/[\-\(]/,""),h.after=h.after.replace(/[\-\)]/,"")):l<0&&!t._.includes(h.before,"-")&&!t._.includes(h.before,"(")&&(h.before="-"+h.before),y=0;y<h.before.length;y++)switch(m=h.before[y],m){case"$":g=t._.insert(g,d.currency.symbol,y);break;case" ":g=t._.insert(g," ",y+d.currency.symbol.length-1);break}for(y=h.after.length-1;y>=0;y--)switch(m=h.after[y],m){case"$":g=y===h.after.length-1?g+d.currency.symbol:t._.insert(g,d.currency.symbol,-(h.after.length-(1+y)));break;case" ":g=y===h.after.length-1?g+" ":t._.insert(g," ",-(h.after.length-(1+y)+d.currency.symbol.length-1));break}return g}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(l,u,f){var d,h=typeof l=="number"&&!t._.isNaN(l)?l.toExponential():"0e+0",g=h.split("e");return u=u.replace(/e[\+|\-]{1}0/,""),d=t._.numberToFormat(Number(g[0]),u,f),d+"e"+g[1]},unformat:function(l){var u=t._.includes(l,"e+")?l.split("e+"):l.split("e-"),f=Number(u[0]),d=Number(u[1]);d=t._.includes(l,"e-")?d*=-1:d;function h(g,m,y,x){var b=t._.correctionFactor(g,m),S=g*b*(m*b)/(b*b);return S}return t._.reduce([f,Math.pow(10,d)],h,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(l,u,f){var d=t.locales[t.options.currentLocale],h,g=t._.includes(u," o")?" ":"";return u=u.replace(/\s?o/,""),g+=d.ordinal(l),h=t._.numberToFormat(l,u,f),h+g}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(l,u,f){var d=t._.includes(u," %")?" ":"",h;return t.options.scalePercentBy100&&(l=l*100),u=u.replace(/\s?\%/,""),h=t._.numberToFormat(l,u,f),t._.includes(h,")")?(h=h.split(""),h.splice(-1,0,d+"%"),h=h.join("")):h=h+d+"%",h},unformat:function(l){var u=t._.stringToNumber(l);return t.options.scalePercentBy100?u*.01:u}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(l,u,f){var d=Math.floor(l/60/60),h=Math.floor((l-d*60*60)/60),g=Math.round(l-d*60*60-h*60);return d+":"+(h<10?"0"+h:h)+":"+(g<10?"0"+g:g)},unformat:function(l){var u=l.split(":"),f=0;return u.length===3?(f=f+Number(u[0])*60*60,f=f+Number(u[1])*60,f=f+Number(u[2])):u.length===2&&(f=f+Number(u[0])*60,f=f+Number(u[1])),Number(f)}})}(),t})})(lb);var IG=lb.exports;const aa=dn(IG);function LG(e){return aa(e).format()}function FG(e){const t=e?aa(e).format("$0,0.00"):"";return gl(t,".00")}function RG(e){const t=e?aa(Number(e)/100).format("0.0%"):"";return gl(t,".0")}function NG(e){const t=e?aa(e).format("0.00a"):"";return gl(t,".00")}function od(e){const t=e?aa(e).format("0.0 b"):"";return gl(t,".0")}function gl(e,t=".00"){return e.includes(t)?e.replace(t,""):e}const BG=Object.freeze(Object.defineProperty({__proto__:null,fCurrency:FG,fData:od,fNumber:LG,fPercent:RG,fShortenNumber:NG},Symbol.toStringTag,{value:"Module"})),cb=({fileRejections:e})=>e.length?v.jsx($.Paper,{variant:"outlined",sx:{py:1,px:2,mt:3,bgcolor:t=>V(t.palette.error.main,.08),borderColor:t=>V(t.palette.error.main,.24)},children:e.map(({file:t,errors:r})=>{const{path:n,size:i}=id(t);return v.jsxs($.Box,{sx:{my:1},children:[v.jsxs($.Typography,{variant:"subtitle2",noWrap:!0,children:[n," - ",i?od(i):""]}),r.map(o=>v.jsxs($.Box,{component:"span",sx:{typography:"caption"},children:["- ",o.message]},o.code))]},n)})}):null,zG=({thumbnail:e,files:t,onRemove:r,sx:n})=>t!=null&&t.length?v.jsx(Lp,{initial:!1,children:t.map(i=>{const{key:o,name:a="",size:s=0}=id(i),c=typeof i=="string";return e?v.jsxs($.Stack,{component:cr.div,...Zi().inUp,alignItems:"center",display:"inline-flex",justifyContent:"center",sx:{m:.5,width:80,height:80,borderRadius:1.25,overflow:"hidden",position:"relative",border:l=>`solid 1px ${l.palette.divider}`,...n},children:[v.jsx(sb,{tooltip:!0,imageView:!0,file:i,sx:{position:"absolute"},imgSx:{position:"absolute"}}),r&&v.jsx($.IconButton,{size:"small",onClick:()=>r(i),sx:{top:4,right:4,p:"1px",position:"absolute",color:l=>V(l.palette.common.white,.72),bgcolor:l=>V(l.palette.grey[900],.48),"&:hover":{bgcolor:l=>V(l.palette.grey[900],.72)}},children:v.jsx(It,{icon:"eva:close-fill",width:16})})]},o):v.jsxs($.Stack,{component:cr.div,...Zi().inUp,spacing:2,direction:"row",alignItems:"center",sx:{my:1,px:1,py:.75,borderRadius:.75,border:l=>`solid 1px ${l.palette.divider}`,...n},children:[v.jsx(sb,{file:i}),v.jsxs($.Stack,{flexGrow:1,sx:{minWidth:0},children:[v.jsx($.Typography,{variant:"subtitle2",noWrap:!0,children:c?i:a}),v.jsx($.Typography,{variant:"caption",sx:{color:"text.secondary"},children:c?"":od(s)})]}),r&&v.jsx($.IconButton,{edge:"end",size:"small",onClick:()=>r(i),children:v.jsx(It,{icon:"eva:close-fill"})})]},o)})}):null,WG=({file:e})=>{if(!e)return null;const t=typeof e=="string"?e:e.preview;return v.jsx($.Stack,{position:"absolute",width:1,height:160,alignItems:"center",justifyContent:"center",top:0,right:0,bottom:0,left:0,padding:2,margin:"auto",children:v.jsx(el,{alt:"file preview",src:t,sx:{borderRadius:1,width:"auto",maxWidth:"100%",maxHeight:"100%",height:"auto"}})})},VG=$t("div")(({theme:e})=>({outline:"none",cursor:"pointer",overflow:"hidden",position:"relative",padding:e.spacing(5),borderRadius:e.shape.borderRadius,transition:e.transitions.create("padding"),backgroundColor:e.palette.background.neutral,border:`1px dashed ${V(e.palette.grey[500],.32)}`,"&:hover":{opacity:.72}})),HG=({header:e,description:t,sx:r,...n})=>v.jsxs($.Stack,{spacing:5,alignItems:"center",justifyContent:"center",direction:{xs:"column",md:"row"},sx:{width:1,textAlign:{xs:"center",md:"left"},...r},...n,children:[v.jsx(vG,{sx:{width:220}}),v.jsxs("div",{children:[e||v.jsx($.Typography,{gutterBottom:!0,variant:"h5",children:"Soltar ou selecionar arquivos"}),t||v.jsxs($.Typography,{variant:"body2",sx:{color:"text.secondary"},children:["Solte os arquivos aqui ou clique",v.jsx($.Typography,{variant:"body2",component:"span",sx:{mx:.5,color:"primary.main",textDecoration:"underline"},children:"procurar"}),"na sua máquina"]})]})]}),ub=({disabled:e,multiple:t=!1,error:r,helperText:n,file:i,onDelete:o,files:a,thumbnail:s,onUpload:c,onRemove:l,onRemoveAll:u,sx:f,dropZoneProps:d,placeholderProps:h,placeholderAlt:g,...m})=>{const{getRootProps:y,getInputProps:x,isDragActive:b,isDragReject:S,fileRejections:P}=hl({multiple:t,disabled:e,...m}),w=!!i&&!t,E=a&&t&&a.length>0,O=S||!!r;return v.jsxs($.Box,{sx:{width:1,position:"relative",...f},children:[v.jsxs(VG,{...y(),sx:{...b&&{opacity:.72},...O&&{color:"error.main",bgcolor:"error.lighter",borderColor:"error.light"},...e&&{opacity:.48,pointerEvents:"none"},...d},children:[v.jsx("input",{...x()}),g?v.jsx($.Stack,{sx:{...w&&{opacity:0}},children:g}):v.jsx(HG,{sx:{...w&&{opacity:0}},header:h==null?void 0:h.title,description:h==null?void 0:h.description}),w&&v.jsx(WG,{file:i})]}),n&&n,v.jsx(cb,{fileRejections:P}),w&&o&&v.jsx($.IconButton,{size:"small",onClick:o,sx:{top:16,right:16,zIndex:9,position:"absolute",color:M=>V(M.palette.common.white,.8),bgcolor:M=>V(M.palette.grey[900],.72),"&:hover":{bgcolor:M=>V(M.palette.grey[900],.48)}},children:v.jsx(It,{icon:"eva:close-fill",width:18})}),E&&v.jsxs(v.Fragment,{children:[v.jsx($.Box,{sx:{my:3},children:v.jsx(zG,{files:a,thumbnail:s,onRemove:l})}),v.jsxs($.Stack,{direction:"row",justifyContent:"flex-end",spacing:1.5,children:[u&&v.jsx($.Button,{color:"inherit",variant:"outlined",size:"small",onClick:u,children:"Remove all"}),c&&v.jsx($.Button,{size:"small",variant:"contained",onClick:c,children:"Upload files"})]})]})]})},fb=({onFileCropped:e,aspect:t,size:{width:r,height:n},label:i,image:o="",...a})=>{const[s,c]=Iy(),[l,u]=p.useState(o),f=d=>{d||u(""),e(d)};return v.jsxs(v.Fragment,{children:[v.jsxs($.Stack,{position:"relative",width:1,children:[v.jsx(ub,{...a,onDrop:d=>{if(d.length>0){c(),e(void 0);const h=new FileReader;h.addEventListener("load",()=>{var m;const g=((m=h.result)==null?void 0:m.toString())||"";u(g)}),h.readAsDataURL(d[0])}}}),l&&v.jsx($.Stack,{sx:{position:"absolute",top:12,right:12,zIndex:999},bgcolor:"grey.0",borderRadius:"50%",children:v.jsx($.IconButton,{color:"primary",onClick:c,children:v.jsx(It,{icon:"ic:round-crop"})})})]}),v.jsx(Cy,{open:s,onClose:c,title:i,image:{width:r,height:n,aspect:t,imgSrc:l},onFileCropped:f})]})};function UG(e,t){const{watch:r,setValue:n}=Mt.useFormContext(),[i,o]=p.useState(t),a=r(e)||[];return{uploadFile:async d=>{if(!d){n(e,void 0),o(void 0);return}n(e,d),o(Object.assign(d,{preview:URL.createObjectURL(d)}))},uploadFiles:async d=>{n(e,[...a,...d.map(h=>Object.assign(h,{preview:URL.createObjectURL(h)}))])},handleDeleteFile:()=>{n(e,void 0),o(void 0)},handleRemoveAll:()=>{n(e,void 0)},handleRemove:d=>{const h=a.filter(g=>g!==d);n(e,h)},file:i}}const YG=({name:e,rules:t,helperText:r,aspect:n,label:i,size:o,image:a,...s})=>{const{control:c}=Mt.useFormContext(),{uploadFile:l,file:u}=UG(e);return v.jsx(Mt.Controller,{name:e,control:c,rules:t,render:({fieldState:{error:f}})=>v.jsx(fb,{accept:{"image/*":[]},file:u,onFileCropped:l,error:!!f,disableMultiple:!0,helperText:(!!f||r)&&v.jsx($.FormHelperText,{error:!!f,sx:{px:2},children:f?f==null?void 0:f.message:r}),aspect:n,label:i,size:o,image:a,...s})})},ml=(e,t=!0)=>{const{pathname:r}=_r.useLocation(),n=e?!!_r.matchPath({path:e,end:!0},r):!1,i=e?!!_r.matchPath({path:e,end:!1},r):!1;return{active:t?i:n,isExternalLink:e.includes("http")}},vl={W_BASE:260,W_DASHBOARD:280,W_DASHBOARD_MINI:88,H_DASHBOARD_ITEM:48,H_DASHBOARD_ITEM_SUB:36,H_DASHBOARD_ITEM_HORIZONTAL:32},qi={NAV_ITEM:24,NAV_ITEM_HORIZONTAL:22,NAV_ITEM_MINI:22},GG=$t($.ListItemButton,{shouldForwardProp:e=>e!=="active"&&e!=="open"})(({active:e,disabled:t,open:r,depth:n,theme:i})=>{const o=i.palette.mode==="light",a=n!==1,s={color:i.palette.primary.main,backgroundColor:V(i.palette.primary.main,i.palette.action.selectedOpacity),...!o&&{color:i.palette.primary.light}},c={color:i.palette.text.primary,backgroundColor:"transparent"},l={color:i.palette.text.primary,backgroundColor:i.palette.action.hover};return{flexDirection:"column",textTransform:"capitalize",padding:i.spacing(1,0,.5,0),color:i.palette.text.secondary,borderRadius:i.shape.borderRadius,"&:hover":l,...a&&{flexDirection:"row",padding:i.spacing(1)},...e&&{...s,"&:hover":{...s}},...a&&e&&{...c,"&:hover":{...c}},...r&&!e&&l,...t&&{"&.Mui-disabled":{opacity:.64}}}}),qG=$t($.ListItemIcon)({marginRight:0,marginBottom:4,width:qi.NAV_ITEM_MINI,height:qi.NAV_ITEM_MINI}),XG=$t($.Popover)(({theme:e})=>({pointerEvents:"none","& .MuiPopover-paper":{width:160,pointerEvents:"auto",padding:e.spacing(1),marginTop:e.spacing(.5),boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5,...pl({color:e.palette.background.default})}})),db=p.forwardRef(({item:e,depth:t,open:r,active:n,isExternalLink:i,...o},a)=>{const{title:s,path:c,icon:l,children:u,disabled:f,caption:d}=e,h=t!==1,g=v.jsxs(GG,{ref:a,open:r,depth:t,active:n,disabled:f,...o,children:[l&&v.jsx(qG,{children:l}),v.jsx($.ListItemText,{primary:s,primaryTypographyProps:{noWrap:!0,sx:{width:72,fontSize:10,lineHeight:"16px",textAlign:"center",...n&&{fontWeight:"fontWeightMedium"},...h&&{fontSize:14,width:"auto",textAlign:"left"}}}}),d&&v.jsx($.Tooltip,{title:d,arrow:!0,placement:"right",children:v.jsx(It,{icon:"eva:info-outline",width:16,sx:{top:11,left:6,position:"absolute"}})}),!!u&&v.jsx(It,{width:16,icon:"eva:chevron-right-fill",sx:{top:11,right:6,position:"absolute"}})]});return(()=>i?v.jsx($.Link,{href:c,target:"_blank",rel:"noopener",underline:"none",children:g}):v.jsx($.Link,{component:_r.Link,to:c,underline:"none",children:g}))()});db.displayName="NavItem";const KG=({data:e,depth:t})=>v.jsx(v.Fragment,{children:e.map(r=>v.jsx(hb,{data:r,depth:t+1,hasChild:!!r.children},r.title+r.path))}),hb=({data:e,depth:t,hasChild:r})=>{const n=p.useRef(null),{pathname:i}=_r.useLocation(),{active:o,isExternalLink:a}=ml(e.path),[s,c]=p.useState(!1);p.useEffect(()=>{s&&u()},[i]),p.useEffect(()=>{const f=Array.from(document.querySelectorAll(".MuiAppBar-root")),d=()=>{document.body.style.overflow="",document.body.style.padding="",f.forEach(h=>{h.style.padding=""})};d()},[s]);const l=()=>{c(!0)},u=()=>{c(!1)};return v.jsxs(v.Fragment,{children:[v.jsx(db,{ref:n,item:e,depth:t,open:s,active:o,isExternalLink:a,onMouseEnter:l,onMouseLeave:u}),r&&v.jsx(XG,{open:s,anchorEl:n.current,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:l,onMouseLeave:u},children:v.jsx(KG,{data:e.children,depth:t})})]})},ZG=({items:e,isLastGroup:t})=>v.jsxs(v.Fragment,{children:[e.map(r=>v.jsx(hb,{data:r,depth:1,hasChild:!!r.children},r.title+r.path)),!t&&v.jsx($.Box,{sx:{width:24,height:"1px",bgcolor:"divider",my:"8px !important"}})]}),QG=({data:e,sx:t,...r})=>v.jsx($.Stack,{spacing:.5,alignItems:"center",sx:{px:.75,...t},...r,children:e.map((n,i)=>v.jsx(ZG,{items:n.items,isLastGroup:i+1===e.length},n.subheader))}),JG=p.memo(QG),eq=$t($.ListItemButton,{shouldForwardProp:e=>e!=="active"&&e!=="caption"})(({active:e,disabled:t,depth:r,caption:n,theme:i})=>{const o=i.palette.mode==="light",a=r!==1,s={color:i.palette.primary.main,backgroundColor:V(i.palette.primary.main,i.palette.action.selectedOpacity),...!o&&{color:i.palette.primary.light}},c={color:i.palette.text.primary,backgroundColor:"transparent"};return{position:"relative",textTransform:"capitalize",paddingLeft:i.spacing(2),paddingRight:i.spacing(1.5),marginBottom:i.spacing(.5),color:i.palette.text.secondary,borderRadius:i.shape.borderRadius,height:vl.H_DASHBOARD_ITEM,...a&&{height:vl.H_DASHBOARD_ITEM_SUB,...r>2&&{paddingLeft:i.spacing(r)},...n&&{height:vl.H_DASHBOARD_ITEM}},...e&&{...s,"&:hover":{...s}},...a&&e&&{...c,"&:hover":{...c}},...t&&{"&.Mui-disabled":{opacity:.64}}}}),pb=$t($.ListItemIcon)({display:"flex",alignItems:"center",justifyContent:"center",width:qi.NAV_ITEM,height:qi.NAV_ITEM}),tq=$t("span",{shouldForwardProp:e=>e!=="active"})(({active:e,theme:t})=>({width:4,height:4,borderRadius:"50%",backgroundColor:t.palette.text.disabled,transition:t.transitions.create("transform",{duration:t.transitions.duration.shorter}),...e&&{transform:"scale(2)",backgroundColor:t.palette.primary.main}})),rq=$t($.ListSubheader)(({theme:e})=>({...e.typography.overline,fontSize:11,paddingTop:e.spacing(3),paddingBottom:e.spacing(1),color:e.palette.text.secondary})),nq=({item:e,depth:t,open:r,active:n,isExternalLink:i,...o})=>{const{title:a,path:s,icon:c,info:l,children:u,disabled:f,caption:d}=e,h=t!==1,g=v.jsxs(eq,{depth:t,active:n,disabled:f,caption:!!d,...o,children:[c&&v.jsx(pb,{children:c}),h&&v.jsx(pb,{children:v.jsx(tq,{active:n&&h})}),v.jsx($.ListItemText,{primary:a,secondary:d&&v.jsx($.Tooltip,{title:d,placement:"top-start",children:v.jsx("span",{children:d})}),primaryTypographyProps:{noWrap:!0,component:"span",variant:n?"subtitle2":"body2"},secondaryTypographyProps:{noWrap:!0,variant:"caption"}}),l&&v.jsx($.Box,{component:"span",sx:{lineHeight:0},children:l}),!!u&&v.jsx(It,{width:16,icon:r?"eva:arrow-ios-downward-fill":"eva:arrow-ios-forward-fill",sx:{ml:1,flexShrink:0}})]});return(()=>i?v.jsx($.Link,{href:s,target:"_blank",rel:"noopener",underline:"none",children:g}):u?g:v.jsx($.Link,{component:_r.Link,to:s,underline:"none",children:g}))()},iq=({data:e,depth:t})=>v.jsx(v.Fragment,{children:e.map(r=>v.jsx(gb,{data:r,depth:t+1,hasChild:!!r.children},r.title+r.path))}),gb=({data:e,depth:t,hasChild:r})=>{const{pathname:n}=_r.useLocation(),{active:i,isExternalLink:o}=ml(e.path),[a,s]=p.useState(i);p.useEffect(()=>{i||l()},[n]);const c=()=>{s(!a)},l=()=>{s(!1)};return v.jsxs(v.Fragment,{children:[v.jsx(nq,{item:e,depth:t,open:a,active:i,isExternalLink:o,onClick:c}),r&&v.jsx($.Collapse,{in:a,unmountOnExit:!0,children:v.jsx(iq,{data:e.children,depth:t})})]})},oq=({data:e,sx:t,...r})=>v.jsx($.Stack,{sx:t,...r,children:e.map(n=>{const i=n.subheader||n.items[0].title;return v.jsxs($.List,{disablePadding:!0,sx:{px:2},children:[n.subheader&&v.jsx(rq,{disableSticky:!0,children:n.subheader}),n.items.map(o=>v.jsx(gb,{data:o,depth:1,hasChild:!!o.children},o.title+o.path))]},i)})}),aq=$t($.ListItemButton,{shouldForwardProp:e=>e!=="active"&&e!=="open"})(({active:e,disabled:t,open:r,depth:n,theme:i})=>{const o=i.palette.mode==="light",a=n!==1,s={color:i.palette.primary.main,backgroundColor:V(i.palette.primary.main,i.palette.action.selectedOpacity),...!o&&{color:i.palette.primary.light}},c={color:i.palette.text.primary,backgroundColor:"transparent"},l={color:i.palette.text.primary,backgroundColor:i.palette.action.hover};return{flexShrink:0,display:"inline-flex",textTransform:"capitalize",padding:i.spacing(0,.75),color:i.palette.text.secondary,borderRadius:i.shape.borderRadius,height:vl.H_DASHBOARD_ITEM_HORIZONTAL,"&:hover":l,...a&&{width:"100%",margin:0,paddingRight:0,paddingLeft:i.spacing(1)},...e&&{...s,"&:hover":{...s}},...a&&e&&{...c,"&:hover":{...c}},...r&&!e&&l,...t&&{"&.Mui-disabled":{opacity:.64}}}}),sq=$t($.ListItemIcon)({marginRight:8,flexShrink:0,width:qi.NAV_ITEM_HORIZONTAL,height:qi.NAV_ITEM_HORIZONTAL}),lq=$t($.Popover)(({theme:e})=>({pointerEvents:"none","& .MuiPopover-paper":{width:160,pointerEvents:"auto",padding:e.spacing(1),marginTop:e.spacing(.5),boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5,...pl({color:e.palette.background.default})}})),mb=p.forwardRef(({item:e,depth:t,open:r,active:n,isExternalLink:i,...o},a)=>{const{title:s,path:c,icon:l,info:u,children:f,disabled:d,caption:h}=e,g=t!==1,m=v.jsxs(aq,{ref:a,open:r,depth:t,active:n,disabled:d,...o,children:[l&&v.jsx(sq,{children:l}),v.jsx($.ListItemText,{primary:s,primaryTypographyProps:{noWrap:!0,component:"span",variant:n?"subtitle2":"body2"}}),u&&v.jsx($.Box,{component:"span",sx:{ml:1,lineHeight:0},children:u}),h&&v.jsx($.Tooltip,{title:h,arrow:!0,children:v.jsx($.Box,{component:"span",sx:{ml:.5,lineHeight:0},children:v.jsx(It,{icon:"eva:info-outline",width:16})})}),!!f&&v.jsx(It,{icon:g?"eva:chevron-right-fill":"eva:chevron-down-fill",width:16,sx:{ml:.5,flexShrink:0}})]});return(()=>i?v.jsx($.Link,{href:c,target:"_blank",rel:"noopener",underline:"none",children:m}):v.jsx($.Link,{component:_r.Link,to:c,underline:"none",children:m}))()});mb.displayName="NavItem";const cq=({data:e,depth:t})=>v.jsx(v.Fragment,{children:e.map(r=>v.jsx(vb,{data:r,depth:t+1,hasChild:!!r.children},r.title+r.path))}),vb=({data:e,depth:t,hasChild:r})=>{const n=p.useRef(null),{pathname:i}=_r.useLocation(),{active:o,isExternalLink:a}=ml(e.path),[s,c]=p.useState(!1);p.useEffect(()=>{s&&u()},[i]),p.useEffect(()=>{const f=Array.from(document.querySelectorAll(".MuiAppBar-root")),d=()=>{document.body.style.overflow="",document.body.style.padding="",f.forEach(h=>{h.style.padding=""})};d()},[s]);const l=()=>{c(!0)},u=()=>{c(!1)};return v.jsxs(v.Fragment,{children:[v.jsx(mb,{ref:n,item:e,depth:t,open:s,active:o,isExternalLink:a,onMouseEnter:l,onMouseLeave:u}),r&&v.jsx(lq,{open:s,anchorEl:n.current,anchorOrigin:t===1?{vertical:"bottom",horizontal:"left"}:{vertical:"center",horizontal:"right"},transformOrigin:t===1?{vertical:"top",horizontal:"left"}:{vertical:"center",horizontal:"left"},PaperProps:{onMouseEnter:l,onMouseLeave:u},children:v.jsx(cq,{data:e.children,depth:t})})]})},uq=({items:e})=>v.jsx(v.Fragment,{children:e.map(t=>v.jsx(vb,{data:t,depth:1,hasChild:!!t.children},t.title+t.path))}),fq=({data:e,sx:t,...r})=>v.jsx($.Stack,{direction:"row",spacing:1,sx:{mx:"auto",...ob,...t},...r,children:e.map(n=>v.jsx(uq,{items:n.items},n.subheader))}),dq=p.memo(fq),hq=({file:e})=>{if(!e)return null;const t=typeof e=="string"?e:e.preview;return v.jsx(el,{alt:"avatar",src:t,sx:{zIndex:8,overflow:"hidden",borderRadius:"50%",position:"absolute",width:"calc(100% - 16px)",height:"calc(100% - 16px)"}})},pq=$t("div")(({theme:e})=>({width:144,height:144,margin:"auto",display:"flex",cursor:"pointer",overflow:"hidden",borderRadius:"50%",alignItems:"center",position:"relative",justifyContent:"center",border:`1px dashed ${V(e.palette.grey[500],.32)}`})),gq=$t("div")(({theme:e})=>({zIndex:7,display:"flex",borderRadius:"50%",position:"absolute",alignItems:"center",flexDirection:"column",justifyContent:"center",width:"calc(100% - 16px)",height:"calc(100% - 16px)",color:e.palette.text.disabled,backgroundColor:e.palette.background.neutral,transition:e.transitions.create("opacity",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.shorter})})),mq=({error:e,file:t,disabled:r,helperText:n,sx:i,...o})=>{const{getRootProps:a,getInputProps:s,isDragActive:c,isDragReject:l,fileRejections:u}=hl({multiple:!1,disabled:r,...o}),f=!!t,d=l||!!e;return v.jsxs(v.Fragment,{children:[v.jsxs(pq,{...a(),sx:{...c&&{opacity:.72},...d&&{borderColor:"error.light",...f&&{bgcolor:"error.lighter"}},...r&&{opacity:.48,pointerEvents:"none"},...f&&{"&:hover":{"& .placeholder":{opacity:1}}},...i},children:[v.jsx("input",{...s()}),f&&v.jsx(hq,{file:t}),v.jsxs(gq,{className:"placeholder",sx:{"&:hover":{opacity:.72},...f&&{zIndex:9,opacity:0,color:"common.white",bgcolor:h=>V(h.palette.grey[900],.64)},...d&&{color:"error.main",bgcolor:"error.lighter"}},children:[v.jsx(It,{icon:"ic:round-add-a-photo",width:24,sx:{mb:1}}),v.jsx($.Typography,{variant:"caption",children:t?"Update photo":"Upload photo"})]})]}),n&&n,v.jsx(cb,{fileRejections:u})]})},vq=$t("div")(({theme:e})=>({width:64,height:64,fontSize:24,display:"flex",flexShrink:0,cursor:"pointer",alignItems:"center",justifyContent:"center",margin:e.spacing(.5),color:e.palette.text.disabled,borderRadius:e.shape.borderRadius,border:`dashed 1px ${e.palette.divider}`,backgroundColor:V(e.palette.grey[500],.08),"&:hover":{opacity:.72}})),yq=({placeholderAlt:e,error:t,disabled:r,sx:n,...i})=>{const{getRootProps:o,getInputProps:a,isDragActive:s,isDragReject:c}=hl({disabled:r,...i}),l=c||t;return v.jsxs(vq,{...o(),sx:{...s&&{opacity:.72},...l&&{color:"error.main",bgcolor:"error.lighter",borderColor:"error.light"},...r&&{opacity:.48,pointerEvents:"none"},...n},children:[v.jsx("input",{...a()}),e||v.jsx(It,{icon:"eva:cloud-upload-fill",width:28})]})},bq=()=>{const[e,t]=p.useState(!1),[r,n]=p.useState(document.activeElement);return p.useEffect(()=>{const i=a=>n(a.target),o=()=>n(null);return window.addEventListener("focus",i,!0),window.addEventListener("blur",o,!0),t(!0),()=>{window.removeEventListener("focus",i),window.removeEventListener("blur",o)}},[]),{activeElement:r,listenersReady:e}};var xq=cu;function wq(e,t){return xq(e,t)}var Cq=wq;const Sq=dn(Cq),Tq=(e,t)=>Sq(e,t),Eq=e=>{const t=p.useRef();return Tq(e,t.current)||(t.current=e),t.current},Oq=(e,t)=>{p.useEffect(e,t.map(Eq))},Pq=()=>{const e=p.useRef(!0);return e.current?(e.current=!1,!0):e.current};function Mq(e){const[t,r]=p.useState(e||"");return{currentTab:t,onChangeTab:(n,i)=>{r(i)},setCurrentTab:r}}const _q=Object.freeze(Object.defineProperty({__proto__:null,downloadFile:(e,t,r)=>{const n=`data:application/octet-stream;base64,${r}`,i=document.createElement("a"),o=`${e.replace(t,"")}.${t}`;i.href=n,i.download=o,i.click()}},Symbol.toStringTag,{value:"Module"}));function $q(e){return Af({},e)}var yb=1440,Aq=2520,ad=43200,kq=86400;function Dq(e,t,r){var n,i;H(2,arguments);var o=pr(),a=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:o.locale)!==null&&n!==void 0?n:Ys;if(!a.formatDistance)throw new RangeError("locale must contain formatDistance property");var s=ki(e,t);if(isNaN(s))throw new RangeError("Invalid time value");var c=Af($q(r),{addSuffix:!!(r!=null&&r.addSuffix),comparison:s}),l,u;s>0?(l=U(t),u=U(e)):(l=U(e),u=U(t));var f=mv(u,l),d=(Di(u)-Di(l))/1e3,h=Math.round((f-d)/60),g;if(h<2)return r!=null&&r.includeSeconds?f<5?a.formatDistance("lessThanXSeconds",5,c):f<10?a.formatDistance("lessThanXSeconds",10,c):f<20?a.formatDistance("lessThanXSeconds",20,c):f<40?a.formatDistance("halfAMinute",0,c):f<60?a.formatDistance("lessThanXMinutes",1,c):a.formatDistance("xMinutes",1,c):h===0?a.formatDistance("lessThanXMinutes",1,c):a.formatDistance("xMinutes",h,c);if(h<45)return a.formatDistance("xMinutes",h,c);if(h<90)return a.formatDistance("aboutXHours",1,c);if(h<yb){var m=Math.round(h/60);return a.formatDistance("aboutXHours",m,c)}else{if(h<Aq)return a.formatDistance("xDays",1,c);if(h<ad){var y=Math.round(h/yb);return a.formatDistance("xDays",y,c)}else if(h<kq)return g=Math.round(h/ad),a.formatDistance("aboutXMonths",g,c)}if(g=Tf(u,l),g<12){var x=Math.round(h/ad);return a.formatDistance("xMonths",x,c)}else{var b=g%12,S=Math.floor(g/12);return b<3?a.formatDistance("aboutXYears",S,c):b<9?a.formatDistance("overXYears",S,c):a.formatDistance("almostXYears",S+1,c)}}function jq(e,t){return H(1,arguments),Dq(e,Date.now(),t)}function Iq(e){H(1,arguments);var t=U(e),r=t.getTime();return r}function Lq(e,t){const r=t||"dd/MM/yyyy";return e?_f(new Date(e),r):null}function Fq(e,t){const r=t||"dd/MM/yyyy HH:mm:ss";return e?_f(new Date(e),r):null}function Rq(e){return e?Iq(new Date(e)):null}function Nq(e){return e?jq(new Date(e),{addSuffix:!0}):null}const Bq=Object.freeze(Object.defineProperty({__proto__:null,fDate:Lq,fDateTime:Fq,fTimestamp:Rq,fToNow:Nq},Symbol.toStringTag,{value:"Module"}));function zq(e){const t=e.match(/\/([^/]+)/);return t?t[0]:e}const Wq=Object.freeze(Object.defineProperty({__proto__:null,getRoot:zq},Symbol.toStringTag,{value:"Module"})),Vq=e=>function(r){return v.jsx(p.Suspense,{fallback:v.jsx($.CircularProgress,{}),children:v.jsx(e,{...r})})},Hq=Object.freeze(Object.defineProperty({__proto__:null,default:Y5},Symbol.toStringTag,{value:"Module"}));z.ColorPickerField=hY,z.ColorPickerInput=fv,z.Common=vU,z.CustomAvatar=ry,z.CustomAvatarGroup=ny,z.DataGrid=xU,z.DatePicker=pY,z.DateRangePicker=gY,z.DateTimePicker=mY,z.Delayed=wU,z.DialogAnimate=G5,z.FabButtonAnimate=Fp,z.Field=jy,z.Form=vY,z.IconButtonAnimate=Rp,z.Iconify=It,z.Image=el,z.ImageCropModal=Cy,z.Label=Sy,z.MenuPopover=rY,z.MotionContainer=WC,z.MotionLazyContainer=HC,z.MotionViewport=zC,z.NavSectionHorizontal=dq,z.NavSectionMini=JG,z.NavSectionVertical=oq,z.PasswordField=yY,z.Portal=nY,z.Scrollbar=dY,z.Switch=bY,z.TRANSITION=ld,z.TextAnimate=q5,z.ThemeProvider=ty,z.TimePicker=xY,z.Upload=ub,z.UploadAvatar=mq,z.UploadBox=yq,z.UploadWithCrop=fb,z.UploadWithCropField=YG,z.cssStyles=jG,z.file=_q,z.formatNumber=BG,z.formatTime=Bq,z.loadable=Vq,z.routes=Wq,z.useActiveElement=bq,z.useActiveLink=ml,z.useDeepCompareEffect=Oq,z.useIsMounting=Pq,z.useResponsive=z0,z.useTabs=Mq,z.useToggle=Iy,z.varBgColor=kb,z.varBgKenburns=Db,z.varBgPan=jb,z.varBounce=_b,z.varContainer=ca,z.varFade=Zi,z.varFlip=Ob,z.varHover=Ab,z.varPath=Sb,z.varRotate=$b,z.varScale=Mb,z.varSlide=Pb,z.varTranEnter=Pe,z.varTranExit=Ae,z.varTranHover=Tb,z.varZoom=Eb,Object.defineProperty(z,Symbol.toStringTag,{value:"Module"})});