@zydon/common 1.4.40 → 1.4.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts.map +1 -1
- package/dist/components/ThemeProvider/overrides/Input.d.ts +1 -0
- package/dist/components/ThemeProvider/overrides/Input.d.ts.map +1 -1
- package/dist/{features-f9c232e6.js → features-eb959236.js} +1 -1
- package/dist/{index-aa62e58f.js → index-5ef0fab5.js} +154 -153
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -35379,7 +35379,7 @@ const theme2 = createTheme({ palette: {
|
|
|
35379
35379
|
}
|
|
35380
35380
|
`),o.createElement("div",{style:g.white,className:"saturation-white"},o.createElement("div",{style:g.black,className:"saturation-black"}),o.createElement("div",{style:g.pointer},this.props.pointer?o.createElement(this.props.pointer,this.props):o.createElement("div",{style:g.circle}))))}}]),t}(o.PureComponent||o.Component);function rKo(e,t){for(var n=-1,a=e==null?0:e.length;++n<a&&t(e[n],n,e)!==!1;);return e}var aKo=SFn(Object.keys,Object);const iKo=aKo;var oKo=Object.prototype,uKo=oKo.hasOwnProperty;function cKo(e){if(!iDn(e))return iKo(e);var t=[];for(var n in Object(e))uKo.call(e,n)&&n!="constructor"&&t.push(n);return t}function dDn(e){return mce(e)?VFn(e):cKo(e)}function lKo(e,t){return e&&wFn(e,t,dDn)}function fKo(e,t){return function(n,a){if(n==null)return n;if(!mce(n))return e(n,a);for(var r=n.length,u=t?r:-1,c=Object(n);(t?u--:++u<r)&&a(c[u],u,c)!==!1;);return n}}var sKo=fKo(lKo);const YFn=sKo;function dKo(e){return typeof e=="function"?e:Vht}function gKo(e,t){var n=Or(e)?rKo:YFn;return n(e,dKo(t))}function Tht(e){"@babel/helpers - typeof";return Tht=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},Tht(e)}var _Ko=/^\s+/,mKo=/\s+$/;function pe(e,t){if(e=e||"",t=t||{},e instanceof pe)return e;if(!(this instanceof pe))return new pe(e,t);var n=vKo(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.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=n.ok}pe.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(),n,a,r,u,c,l;return n=t.r/255,a=t.g/255,r=t.b/255,n<=.03928?u=n/12.92:u=Math.pow((n+.055)/1.055,2.4),a<=.03928?c=a/12.92:c=Math.pow((a+.055)/1.055,2.4),r<=.03928?l=r/12.92:l=Math.pow((r+.055)/1.055,2.4),.2126*u+.7152*c+.0722*l},setAlpha:function(t){return this._a=eNn(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=XFn(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=XFn(this._r,this._g,this._b),n=Math.round(t.h*360),a=Math.round(t.s*100),r=Math.round(t.v*100);return this._a==1?"hsv("+n+", "+a+"%, "+r+"%)":"hsva("+n+", "+a+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=KFn(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=KFn(this._r,this._g,this._b),n=Math.round(t.h*360),a=Math.round(t.s*100),r=Math.round(t.l*100);return this._a==1?"hsl("+n+", "+a+"%, "+r+"%)":"hsla("+n+", "+a+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return QFn(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return yKo(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(yt(this._r,255)*100)+"%",g:Math.round(yt(this._g,255)*100)+"%",b:Math.round(yt(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(yt(this._r,255)*100)+"%, "+Math.round(yt(this._g,255)*100)+"%, "+Math.round(yt(this._b,255)*100)+"%)":"rgba("+Math.round(yt(this._r,255)*100)+"%, "+Math.round(yt(this._g,255)*100)+"%, "+Math.round(yt(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:BKo[QFn(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var n="#"+JFn(this._r,this._g,this._b,this._a),a=n,r=this._gradientType?"GradientType = 1, ":"";if(t){var u=pe(t);a="#"+JFn(u._r,u._g,u._b,u._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+n+",endColorstr="+a+")"},toString:function(t){var n=!!t;t=t||this._format;var a=!1,r=this._a<1&&this._a>=0,u=!n&&r&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return u?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(a=this.toRgbString()),t==="prgb"&&(a=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(a=this.toHexString()),t==="hex3"&&(a=this.toHexString(!0)),t==="hex4"&&(a=this.toHex8String(!0)),t==="hex8"&&(a=this.toHex8String()),t==="name"&&(a=this.toName()),t==="hsl"&&(a=this.toHslString()),t==="hsv"&&(a=this.toHsvString()),a||this.toHexString())},clone:function(){return pe(this.toString())},_applyModification:function(t,n){var a=t.apply(null,[this].concat([].slice.call(n)));return this._r=a._r,this._g=a._g,this._b=a._b,this.setAlpha(a._a),this},lighten:function(){return this._applyModification(wKo,arguments)},brighten:function(){return this._applyModification(MKo,arguments)},darken:function(){return this._applyModification(LKo,arguments)},desaturate:function(){return this._applyModification(pKo,arguments)},saturate:function(){return this._applyModification(OKo,arguments)},greyscale:function(){return this._applyModification(jKo,arguments)},spin:function(){return this._applyModification(PKo,arguments)},_applyCombination:function(t,n){return t.apply(null,[this].concat([].slice.call(n)))},analogous:function(){return this._applyCombination(SKo,arguments)},complement:function(){return this._applyCombination(EKo,arguments)},monochromatic:function(){return this._applyCombination(DKo,arguments)},splitcomplement:function(){return this._applyCombination(kKo,arguments)},triad:function(){return this._applyCombination(qFn,[3])},tetrad:function(){return this._applyCombination(qFn,[4])}},pe.fromRatio=function(e,t){if(Tht(e)=="object"){var n={};for(var a in e)e.hasOwnProperty(a)&&(a==="a"?n[a]=e[a]:n[a]=T_t(e[a]));e=n}return pe(e,t)};function vKo(e){var t={r:0,g:0,b:0},n=1,a=null,r=null,u=null,c=!1,l=!1;return typeof e=="string"&&(e=xKo(e)),Tht(e)=="object"&&(S3(e.r)&&S3(e.g)&&S3(e.b)?(t=hKo(e.r,e.g,e.b),c=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):S3(e.h)&&S3(e.s)&&S3(e.v)?(a=T_t(e.s),r=T_t(e.v),t=bKo(e.h,a,r),c=!0,l="hsv"):S3(e.h)&&S3(e.s)&&S3(e.l)&&(a=T_t(e.s),u=T_t(e.l),t=CKo(e.h,a,u),c=!0,l="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=eNn(n),{ok:c,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}function hKo(e,t,n){return{r:yt(e,255)*255,g:yt(t,255)*255,b:yt(n,255)*255}}function KFn(e,t,n){e=yt(e,255),t=yt(t,255),n=yt(n,255);var a=Math.max(e,t,n),r=Math.min(e,t,n),u,c,l=(a+r)/2;if(a==r)u=c=0;else{var f=a-r;switch(c=l>.5?f/(2-a-r):f/(a+r),a){case e:u=(t-n)/f+(t<n?6:0);break;case t:u=(n-e)/f+2;break;case n:u=(e-t)/f+4;break}u/=6}return{h:u,s:c,l}}function CKo(e,t,n){var a,r,u;e=yt(e,360),t=yt(t,100),n=yt(n,100);function c(s,g,_){return _<0&&(_+=1),_>1&&(_-=1),_<1/6?s+(g-s)*6*_:_<1/2?g:_<2/3?s+(g-s)*(2/3-_)*6:s}if(t===0)a=r=u=n;else{var l=n<.5?n*(1+t):n+t-n*t,f=2*n-l;a=c(f,l,e+1/3),r=c(f,l,e),u=c(f,l,e-1/3)}return{r:a*255,g:r*255,b:u*255}}function XFn(e,t,n){e=yt(e,255),t=yt(t,255),n=yt(n,255);var a=Math.max(e,t,n),r=Math.min(e,t,n),u,c,l=a,f=a-r;if(c=a===0?0:f/a,a==r)u=0;else{switch(a){case e:u=(t-n)/f+(t<n?6:0);break;case t:u=(n-e)/f+2;break;case n:u=(e-t)/f+4;break}u/=6}return{h:u,s:c,v:l}}function bKo(e,t,n){e=yt(e,360)*6,t=yt(t,100),n=yt(n,100);var a=Math.floor(e),r=e-a,u=n*(1-t),c=n*(1-r*t),l=n*(1-(1-r)*t),f=a%6,s=[n,c,u,u,l,n][f],g=[l,n,n,c,u,u][f],_=[u,u,l,n,n,c][f];return{r:s*255,g:g*255,b:_*255}}function QFn(e,t,n,a){var r=[_i(Math.round(e).toString(16)),_i(Math.round(t).toString(16)),_i(Math.round(n).toString(16))];return a&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function yKo(e,t,n,a,r){var u=[_i(Math.round(e).toString(16)),_i(Math.round(t).toString(16)),_i(Math.round(n).toString(16)),_i(tNn(a))];return r&&u[0].charAt(0)==u[0].charAt(1)&&u[1].charAt(0)==u[1].charAt(1)&&u[2].charAt(0)==u[2].charAt(1)&&u[3].charAt(0)==u[3].charAt(1)?u[0].charAt(0)+u[1].charAt(0)+u[2].charAt(0)+u[3].charAt(0):u.join("")}function JFn(e,t,n,a){var r=[_i(tNn(a)),_i(Math.round(e).toString(16)),_i(Math.round(t).toString(16)),_i(Math.round(n).toString(16))];return r.join("")}pe.equals=function(e,t){return!e||!t?!1:pe(e).toRgbString()==pe(t).toRgbString()},pe.random=function(){return pe.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function pKo(e,t){t=t===0?0:t||10;var n=pe(e).toHsl();return n.s-=t/100,n.s=Zht(n.s),pe(n)}function OKo(e,t){t=t===0?0:t||10;var n=pe(e).toHsl();return n.s+=t/100,n.s=Zht(n.s),pe(n)}function jKo(e){return pe(e).desaturate(100)}function wKo(e,t){t=t===0?0:t||10;var n=pe(e).toHsl();return n.l+=t/100,n.l=Zht(n.l),pe(n)}function MKo(e,t){t=t===0?0:t||10;var n=pe(e).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),pe(n)}function LKo(e,t){t=t===0?0:t||10;var n=pe(e).toHsl();return n.l-=t/100,n.l=Zht(n.l),pe(n)}function PKo(e,t){var n=pe(e).toHsl(),a=(n.h+t)%360;return n.h=a<0?360+a:a,pe(n)}function EKo(e){var t=pe(e).toHsl();return t.h=(t.h+180)%360,pe(t)}function qFn(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=pe(e).toHsl(),a=[pe(e)],r=360/t,u=1;u<t;u++)a.push(pe({h:(n.h+u*r)%360,s:n.s,l:n.l}));return a}function kKo(e){var t=pe(e).toHsl(),n=t.h;return[pe(e),pe({h:(n+72)%360,s:t.s,l:t.l}),pe({h:(n+216)%360,s:t.s,l:t.l})]}function SKo(e,t,n){t=t||6,n=n||30;var a=pe(e).toHsl(),r=360/n,u=[pe(e)];for(a.h=(a.h-(r*t>>1)+720)%360;--t;)a.h=(a.h+r)%360,u.push(pe(a));return u}function DKo(e,t){t=t||6;for(var n=pe(e).toHsv(),a=n.h,r=n.s,u=n.v,c=[],l=1/t;t--;)c.push(pe({h:a,s:r,v:u})),u=(u+l)%1;return c}pe.mix=function(e,t,n){n=n===0?0:n||50;var a=pe(e).toRgb(),r=pe(t).toRgb(),u=n/100,c={r:(r.r-a.r)*u+a.r,g:(r.g-a.g)*u+a.g,b:(r.b-a.b)*u+a.b,a:(r.a-a.a)*u+a.a};return pe(c)},pe.readability=function(e,t){var n=pe(e),a=pe(t);return(Math.max(n.getLuminance(),a.getLuminance())+.05)/(Math.min(n.getLuminance(),a.getLuminance())+.05)},pe.isReadable=function(e,t,n){var a=pe.readability(e,t),r,u;switch(u=!1,r=zKo(n),r.level+r.size){case"AAsmall":case"AAAlarge":u=a>=4.5;break;case"AAlarge":u=a>=3;break;case"AAAsmall":u=a>=7;break}return u},pe.mostReadable=function(e,t,n){var a=null,r=0,u,c,l,f;n=n||{},c=n.includeFallbackColors,l=n.level,f=n.size;for(var s=0;s<t.length;s++)u=pe.readability(e,t[s]),u>r&&(r=u,a=pe(t[s]));return pe.isReadable(e,a,{level:l,size:f})||!c?a:(n.includeFallbackColors=!1,pe.mostReadable(e,["#fff","#000"],n))};var gDn=pe.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"},BKo=pe.hexNames=IKo(gDn);function IKo(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function eNn(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function yt(e,t){WKo(e)&&(e="100%");var n=$Ko(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function Zht(e){return Math.min(1,Math.max(0,e))}function jr(e){return parseInt(e,16)}function WKo(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function $Ko(e){return typeof e=="string"&&e.indexOf("%")!=-1}function _i(e){return e.length==1?"0"+e:""+e}function T_t(e){return e<=1&&(e=e*100+"%"),e}function tNn(e){return Math.round(parseFloat(e)*255).toString(16)}function nNn(e){return jr(e)/255}var mi=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",a="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+a),rgba:new RegExp("rgba"+r),hsl:new RegExp("hsl"+a),hsla:new RegExp("hsla"+r),hsv:new RegExp("hsv"+a),hsva:new RegExp("hsva"+r),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 S3(e){return!!mi.CSS_UNIT.exec(e)}function xKo(e){e=e.replace(_Ko,"").replace(mKo,"").toLowerCase();var t=!1;if(gDn[e])e=gDn[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=mi.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=mi.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=mi.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=mi.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=mi.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=mi.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=mi.hex8.exec(e))?{r:jr(n[1]),g:jr(n[2]),b:jr(n[3]),a:nNn(n[4]),format:t?"name":"hex8"}:(n=mi.hex6.exec(e))?{r:jr(n[1]),g:jr(n[2]),b:jr(n[3]),format:t?"name":"hex"}:(n=mi.hex4.exec(e))?{r:jr(n[1]+""+n[1]),g:jr(n[2]+""+n[2]),b:jr(n[3]+""+n[3]),a:nNn(n[4]+""+n[4]),format:t?"name":"hex8"}:(n=mi.hex3.exec(e))?{r:jr(n[1]+""+n[1]),g:jr(n[2]+""+n[2]),b:jr(n[3]+""+n[3]),format:t?"name":"hex"}:!1}function zKo(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),n!=="small"&&n!=="large"&&(n="small"),{level:t,size:n}}var rNn=function(t){var n=["r","g","b","a","h","s","l","v"],a=0,r=0;return gKo(n,function(u){if(t[u]&&(a+=1,isNaN(t[u])||(r+=1),u==="s"||u==="l")){var c=/^\d+%$/;c.test(t[u])&&(r+=1)}}),a===r?t:!1},Z_t=function(t,n){var a=t.hex?pe(t.hex):pe(t),r=a.toHsl(),u=a.toHsv(),c=a.toRgb(),l=a.toHex();r.s===0&&(r.h=n||0,u.h=n||0);var f=l==="000000"&&c.a===0;return{hsl:r,hex:f?"transparent":"#"+l,rgb:c,hsv:u,oldHue:t.h||n||r.h,source:t.source}},xO=function(t){if(t==="transparent")return!0;var n=String(t).charAt(0)==="#"?1:0;return t.length!==4+n&&t.length<7+n&&pe(t).isValid()},_Dn=function(t){if(!t)return"#fff";var n=Z_t(t);if(n.hex==="transparent")return"rgba(0,0,0,0.4)";var a=(n.rgb.r*299+n.rgb.g*587+n.rgb.b*114)/1e3;return a>=128?"#000":"#fff"},mDn=function(t,n){var a=t.replace("°","");return pe(n+" ("+a+")")._ok},U_t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},HKo=function(){function e(t,n){for(var a=0;a<n.length;a++){var r=n[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();function AKo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RKo(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 VKo(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 Bn=function(t){var n=function(a){VKo(r,a);function r(u){AKo(this,r);var c=RKo(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return c.handleChange=function(l,f){var s=rNn(l);if(s){var g=Z_t(l,l.h||c.state.oldHue);c.setState(g),c.props.onChangeComplete&&c.debounce(c.props.onChangeComplete,g,f),c.props.onChange&&c.props.onChange(g,f)}},c.handleSwatchHover=function(l,f){var s=rNn(l);if(s){var g=Z_t(l,l.h||c.state.oldHue);c.props.onSwatchHover&&c.props.onSwatchHover(g,f)}},c.state=U_t({},Z_t(u.color,0)),c.debounce=N_t(function(l,f,s){l(f,s)},100),c}return HKo(r,[{key:"render",value:function(){var c={};return this.props.onSwatchHover&&(c.onSwatchHover=this.handleSwatchHover),o.createElement(t,U_t({},this.props,this.state,{onChange:this.handleChange},c))}}],[{key:"getDerivedStateFromProps",value:function(c,l){return U_t({},Z_t(c.color,l.oldHue))}}]),r}(o.PureComponent||o.Component);return n.propTypes=U_t({},t.propTypes),n.defaultProps=U_t({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),n},FKo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},NKo=function(){function e(t,n){for(var a=0;a<n.length;a++){var r=n[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();function TKo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aNn(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 ZKo(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 UKo=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(a){ZKo(r,a);function r(){var u,c,l,f;TKo(this,r);for(var s=arguments.length,g=Array(s),_=0;_<s;_++)g[_]=arguments[_];return f=(c=(l=aNn(this,(u=r.__proto__||Object.getPrototypeOf(r)).call.apply(u,[this].concat(g))),l),l.state={focus:!1},l.handleFocus=function(){return l.setState({focus:!0})},l.handleBlur=function(){return l.setState({focus:!1})},c),aNn(l,f)}return NKo(r,[{key:"render",value:function(){return o.createElement(n,{onFocus:this.handleFocus,onBlur:this.handleBlur},o.createElement(t,FKo({},this.props,this.state)))}}]),r}(o.Component)},iNn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},GKo=13,YKo=function(t){var n=t.color,a=t.style,r=t.onClick,u=r===void 0?function(){}:r,c=t.onHover,l=t.title,f=l===void 0?n:l,s=t.children,g=t.focus,_=t.focusStyle,m=_===void 0?{}:_,v=n==="transparent",C=De({default:{swatch:iNn({background:n,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},a,g?m:{})}}),h=function(E){return u(n,E)},b=function(E){return E.keyCode===GKo&&u(n,E)},p=function(E){return c(n,E)},y={};return c&&(y.onMouseOver=p),o.createElement("div",iNn({style:C.swatch,onClick:h,title:f,tabIndex:0,onKeyDown:b},y),s,v&&o.createElement(gce,{borderRadius:C.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};const tT=UKo(YKo);var KKo=function(t){var n=t.direction,a=De({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:n==="vertical"});return o.createElement("div",{style:a.picker})},XKo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},oNn=function(t){var n=t.rgb,a=t.hsl,r=t.width,u=t.height,c=t.onChange,l=t.direction,f=t.style,s=t.renderers,g=t.pointer,_=t.className,m=_===void 0?"":_,v=De({default:{picker:{position:"relative",width:r,height:u},alpha:{radius:"2px",style:f}}});return o.createElement("div",{style:v.picker,className:"alpha-picker "+m},o.createElement(eDn,XKo({},v.alpha,{rgb:n,hsl:a,pointer:g,renderers:s,onChange:c,direction:l})))};oNn.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:KKo},Bn(oNn);function uNn(e,t){for(var n=-1,a=e==null?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}var QKo="__lodash_hash_undefined__";function JKo(e){return this.__data__.set(e,QKo),this}function qKo(e){return this.__data__.has(e)}function Uht(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new k3;++t<n;)this.add(e[t])}Uht.prototype.add=Uht.prototype.push=JKo,Uht.prototype.has=qKo;function eXo(e,t){for(var n=-1,a=e==null?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}function tXo(e,t){return e.has(t)}var nXo=1,rXo=2;function cNn(e,t,n,a,r,u){var c=n&nXo,l=e.length,f=t.length;if(l!=f&&!(c&&f>l))return!1;var s=u.get(e),g=u.get(t);if(s&&g)return s==t&&g==e;var _=-1,m=!0,v=n&rXo?new Uht:void 0;for(u.set(e,t),u.set(t,e);++_<l;){var C=e[_],h=t[_];if(a)var b=c?a(h,C,_,t,e,u):a(C,h,_,e,t,u);if(b!==void 0){if(b)continue;m=!1;break}if(v){if(!eXo(t,function(p,y){if(!tXo(v,y)&&(C===p||r(C,p,n,a,u)))return v.push(y)})){m=!1;break}}else if(!(C===h||r(C,h,n,a,u))){m=!1;break}}return u.delete(e),u.delete(t),m}function aXo(e){var t=-1,n=Array(e.size);return e.forEach(function(a,r){n[++t]=[r,a]}),n}function iXo(e){var t=-1,n=Array(e.size);return e.forEach(function(a){n[++t]=a}),n}var oXo=1,uXo=2,cXo="[object Boolean]",lXo="[object Date]",fXo="[object Error]",sXo="[object Map]",dXo="[object Number]",gXo="[object RegExp]",_Xo="[object Set]",mXo="[object String]",vXo="[object Symbol]",hXo="[object ArrayBuffer]",CXo="[object DataView]",lNn=WO?WO.prototype:void 0,vDn=lNn?lNn.valueOf:void 0;function bXo(e,t,n,a,r,u,c){switch(n){case CXo:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case hXo:return!(e.byteLength!=t.byteLength||!u(new Hht(e),new Hht(t)));case cXo:case lXo:case dXo:return z_t(+e,+t);case fXo:return e.name==t.name&&e.message==t.message;case gXo:case mXo:return e==t+"";case sXo:var l=aXo;case _Xo:var f=a&oXo;if(l||(l=iXo),e.size!=t.size&&!f)return!1;var s=c.get(e);if(s)return s==t;a|=uXo,c.set(e,t);var g=cNn(l(e),l(t),a,r,u,c);return c.delete(e),g;case vXo:if(vDn)return vDn.call(e)==vDn.call(t)}return!1}function yXo(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}function pXo(e,t,n){var a=t(e);return Or(e)?a:yXo(a,n(e))}function OXo(e,t){for(var n=-1,a=e==null?0:e.length,r=0,u=[];++n<a;){var c=e[n];t(c,n,e)&&(u[r++]=c)}return u}function jXo(){return[]}var wXo=Object.prototype,MXo=wXo.propertyIsEnumerable,fNn=Object.getOwnPropertySymbols,LXo=fNn?function(e){return e==null?[]:(e=Object(e),OXo(fNn(e),function(t){return MXo.call(e,t)}))}:jXo;const PXo=LXo;function sNn(e){return pXo(e,dDn,PXo)}var EXo=1,kXo=Object.prototype,SXo=kXo.hasOwnProperty;function DXo(e,t,n,a,r,u){var c=n&EXo,l=sNn(e),f=l.length,s=sNn(t),g=s.length;if(f!=g&&!c)return!1;for(var _=f;_--;){var m=l[_];if(!(c?m in t:SXo.call(t,m)))return!1}var v=u.get(e),C=u.get(t);if(v&&C)return v==t&&C==e;var h=!0;u.set(e,t),u.set(t,e);for(var b=c;++_<f;){m=l[_];var p=e[m],y=t[m];if(a)var w=c?a(y,p,m,t,e,u):a(p,y,m,e,t,u);if(!(w===void 0?p===y||r(p,y,n,a,u):w)){h=!1;break}b||(b=m=="constructor")}if(h&&!b){var E=e.constructor,M=t.constructor;E!=M&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof M=="function"&&M instanceof M)&&(h=!1)}return u.delete(e),u.delete(t),h}var BXo=qN(gi,"DataView");const hDn=BXo;var IXo=qN(gi,"Promise");const CDn=IXo;var WXo=qN(gi,"Set");const bDn=WXo;var $Xo=qN(gi,"WeakMap");const yDn=$Xo;var dNn="[object Map]",xXo="[object Object]",gNn="[object Promise]",_Nn="[object Set]",mNn="[object WeakMap]",vNn="[object DataView]",zXo=JN(hDn),HXo=JN(A_t),AXo=JN(CDn),RXo=JN(bDn),VXo=JN(yDn),nT=QN;(hDn&&nT(new hDn(new ArrayBuffer(1)))!=vNn||A_t&&nT(new A_t)!=dNn||CDn&&nT(CDn.resolve())!=gNn||bDn&&nT(new bDn)!=_Nn||yDn&&nT(new yDn)!=mNn)&&(nT=function(e){var t=QN(e),n=t==xXo?e.constructor:void 0,a=n?JN(n):"";if(a)switch(a){case zXo:return vNn;case HXo:return dNn;case AXo:return gNn;case RXo:return _Nn;case VXo:return mNn}return t});const hNn=nT;var FXo=1,CNn="[object Arguments]",bNn="[object Array]",Ght="[object Object]",NXo=Object.prototype,yNn=NXo.hasOwnProperty;function TXo(e,t,n,a,r,u){var c=Or(e),l=Or(t),f=c?bNn:hNn(e),s=l?bNn:hNn(t);f=f==CNn?Ght:f,s=s==CNn?Ght:s;var g=f==Ght,_=s==Ght,m=f==s;if(m&&Rht(e)){if(!Rht(t))return!1;c=!0,g=!1}if(m&&!g)return u||(u=new Oc),c||cDn(e)?cNn(e,t,n,a,r,u):bXo(e,t,f,n,a,r,u);if(!(n&FXo)){var v=g&&yNn.call(e,"__wrapped__"),C=_&&yNn.call(t,"__wrapped__");if(v||C){var h=v?e.value():e,b=C?t.value():t;return u||(u=new Oc),r(h,b,n,a,u)}}return m?(u||(u=new Oc),DXo(e,t,n,a,r,u)):!1}function pDn(e,t,n,a,r){return e===t?!0:e==null||t==null||!$O(e)&&!$O(t)?e!==e&&t!==t:TXo(e,t,n,a,pDn,r)}var ZXo=1,UXo=2;function GXo(e,t,n,a){var r=n.length,u=r,c=!a;if(e==null)return!u;for(e=Object(e);r--;){var l=n[r];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<u;){l=n[r];var f=l[0],s=e[f],g=l[1];if(c&&l[2]){if(s===void 0&&!(f in e))return!1}else{var _=new Oc;if(a)var m=a(s,g,f,e,t,_);if(!(m===void 0?pDn(g,s,ZXo|UXo,a,_):m))return!1}}return!0}function pNn(e){return e===e&&!w1(e)}function YXo(e){for(var t=dDn(e),n=t.length;n--;){var a=t[n],r=e[a];t[n]=[a,r,pNn(r)]}return t}function ONn(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function KXo(e){var t=YXo(e);return t.length==1&&t[0][2]?ONn(t[0][0],t[0][1]):function(n){return n===e||GXo(n,e,t)}}var XXo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,QXo=/^\w*$/;function ODn(e,t){if(Or(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Fht(e)?!0:QXo.test(e)||!XXo.test(e)||t!=null&&e in Object(t)}var JXo="Expected a function";function jDn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(JXo);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],u=n.cache;if(u.has(r))return u.get(r);var c=e.apply(this,a);return n.cache=u.set(r,c)||u,c};return n.cache=new(jDn.Cache||k3),n}jDn.Cache=k3;var qXo=500;function eQo(e){var t=jDn(e,function(a){return n.size===qXo&&n.clear(),a}),n=t.cache;return t}var tQo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nQo=/\\(\\)?/g,rQo=eQo(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(tQo,function(n,a,r,u){t.push(r?u.replace(nQo,"$1"):a||n)}),t});const aQo=rQo;var iQo=1/0,jNn=WO?WO.prototype:void 0,wNn=jNn?jNn.toString:void 0;function MNn(e){if(typeof e=="string")return e;if(Or(e))return uNn(e,MNn)+"";if(Fht(e))return wNn?wNn.call(e):"";var t=e+"";return t=="0"&&1/e==-iQo?"-0":t}function oQo(e){return e==null?"":MNn(e)}function LNn(e,t){return Or(e)?e:ODn(e,t)?[e]:aQo(oQo(e))}var uQo=1/0;function Yht(e){if(typeof e=="string"||Fht(e))return e;var t=e+"";return t=="0"&&1/e==-uQo?"-0":t}function PNn(e,t){t=LNn(t,e);for(var n=0,a=t.length;e!=null&&n<a;)e=e[Yht(t[n++])];return n&&n==a?e:void 0}function cQo(e,t,n){var a=e==null?void 0:PNn(e,t);return a===void 0?n:a}function lQo(e,t){return e!=null&&t in Object(e)}function fQo(e,t,n){t=LNn(t,e);for(var a=-1,r=t.length,u=!1;++a<r;){var c=Yht(t[a]);if(!(u=e!=null&&n(e,c)))break;e=e[c]}return u||++a!=r?u:(r=e==null?0:e.length,!!r&&oDn(r)&&fDn(c,r)&&(Or(e)||Aht(e)))}function sQo(e,t){return e!=null&&fQo(e,t,lQo)}var dQo=1,gQo=2;function _Qo(e,t){return ODn(e)&&pNn(t)?ONn(Yht(e),t):function(n){var a=cQo(n,e);return a===void 0&&a===t?sQo(n,e):pDn(t,a,dQo|gQo)}}function mQo(e){return function(t){return t==null?void 0:t[e]}}function vQo(e){return function(t){return PNn(t,e)}}function hQo(e){return ODn(e)?mQo(Yht(e)):vQo(e)}function CQo(e){return typeof e=="function"?e:e==null?Vht:typeof e=="object"?Or(e)?_Qo(e[0],e[1]):KXo(e):hQo(e)}function bQo(e,t){var n=-1,a=mce(e)?Array(e.length):[];return YFn(e,function(r,u,c){a[++n]=t(r,u,c)}),a}function rT(e,t){var n=Or(e)?uNn:bQo;return n(e,CQo(t))}var yQo=function(t){var n=t.colors,a=t.onClick,r=t.onSwatchHover,u=De({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return o.createElement("div",{style:u.swatches},rT(n,function(c){return o.createElement(tT,{key:c,color:c,style:u.swatch,onClick:a,onHover:r,focusStyle:{boxShadow:"0 0 4px "+c}})}),o.createElement("div",{style:u.clear}))},wDn=function(t){var n=t.onChange,a=t.onSwatchHover,r=t.hex,u=t.colors,c=t.width,l=t.triangle,f=t.styles,s=f===void 0?{}:f,g=t.className,_=g===void 0?"":g,m=r==="transparent",v=function(b,p){xO(b)&&n({hex:b,source:"hex"},p)},C=De(Dn({default:{card:{width:c,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:r,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:_Dn(r),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+r+" 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"}}},s),{"hide-triangle":l==="hide"});return o.createElement("div",{style:C.card,className:"block-picker "+_},o.createElement("div",{style:C.triangle}),o.createElement("div",{style:C.head},m&&o.createElement(gce,{borderRadius:"6px 6px 0 0"}),o.createElement("div",{style:C.label},r)),o.createElement("div",{style:C.body},o.createElement(yQo,{colors:u,onClick:v,onSwatchHover:a}),o.createElement(Ge,{style:{input:C.input},value:r,onChange:v})))};wDn.propTypes={width:P.oneOfType([P.string,P.number]),colors:P.arrayOf(P.string),triangle:P.oneOf(["top","hide"]),styles:P.object},wDn.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},Bn(wDn);var vce={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"},hce={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"},Cce={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"},bce={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"},yce={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"},pce={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"},Oce={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"},jce={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"},wce={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"},G_t={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"},Mce={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"},Lce={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"},Pce={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"},Ece={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"},kce={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"},Sce={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"},Dce={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Bce={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},ENn=function(t){var n=t.color,a=t.onClick,r=t.onSwatchHover,u=t.hover,c=t.active,l=t.circleSize,f=t.circleSpacing,s=De({default:{swatch:{width:l,height:l,marginRight:f,marginBottom:f,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(l/2+1)+"px "+n,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+n}}},{hover:u,active:c});return o.createElement("div",{style:s.swatch},o.createElement(tT,{style:s.Swatch,color:n,onClick:a,onHover:r,focusStyle:{boxShadow:s.Swatch.boxShadow+", 0 0 5px "+n}}))};ENn.defaultProps={circleSize:28,circleSpacing:14};const pQo=JSn(ENn);var MDn=function(t){var n=t.width,a=t.onChange,r=t.onSwatchHover,u=t.colors,c=t.hex,l=t.circleSize,f=t.styles,s=f===void 0?{}:f,g=t.circleSpacing,_=t.className,m=_===void 0?"":_,v=De(Dn({default:{card:{width:n,display:"flex",flexWrap:"wrap",marginRight:-g,marginBottom:-g}}},s)),C=function(b,p){return a({hex:b,source:"hex"},p)};return o.createElement("div",{style:v.card,className:"circle-picker "+m},rT(u,function(h){return o.createElement(pQo,{key:h,color:h,onClick:C,onSwatchHover:r,active:c===h.toLowerCase(),circleSize:l,circleSpacing:g})}))};MDn.propTypes={width:P.oneOfType([P.string,P.number]),circleSize:P.number,circleSpacing:P.number,styles:P.object},MDn.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[vce[500],hce[500],Cce[500],bce[500],yce[500],pce[500],Oce[500],jce[500],wce[500],G_t[500],Mce[500],Lce[500],Pce[500],Ece[500],kce[500],Sce[500],Dce[500],Bce[500]],styles:{}},Bn(MDn);function kNn(e){return e===void 0}var SNn={};Object.defineProperty(SNn,"__esModule",{value:!0});var DNn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},OQo=o,BNn=jQo(OQo);function jQo(e){return e&&e.__esModule?e:{default:e}}function wQo(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}var Kht=24,MQo=SNn.default=function(e){var t=e.fill,n=t===void 0?"currentColor":t,a=e.width,r=a===void 0?Kht:a,u=e.height,c=u===void 0?Kht:u,l=e.style,f=l===void 0?{}:l,s=wQo(e,["fill","width","height","style"]);return BNn.default.createElement("svg",DNn({viewBox:"0 0 "+Kht+" "+Kht,style:DNn({fill:n,width:r,height:c},f)},s),BNn.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"}))},LQo=function(){function e(t,n){for(var a=0;a<n.length;a++){var r=n[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();function PQo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EQo(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 kQo(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 INn=function(e){kQo(t,e);function t(n){PQo(this,t);var a=EQo(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.toggleViews=function(){a.state.view==="hex"?a.setState({view:"rgb"}):a.state.view==="rgb"?a.setState({view:"hsl"}):a.state.view==="hsl"&&(a.props.hsl.a===1?a.setState({view:"hex"}):a.setState({view:"rgb"}))},a.handleChange=function(r,u){r.hex?xO(r.hex)&&a.props.onChange({hex:r.hex,source:"hex"},u):r.r||r.g||r.b?a.props.onChange({r:r.r||a.props.rgb.r,g:r.g||a.props.rgb.g,b:r.b||a.props.rgb.b,source:"rgb"},u):r.a?(r.a<0?r.a=0:r.a>1&&(r.a=1),a.props.onChange({h:a.props.hsl.h,s:a.props.hsl.s,l:a.props.hsl.l,a:Math.round(r.a*100)/100,source:"rgb"},u)):(r.h||r.s||r.l)&&(typeof r.s=="string"&&r.s.includes("%")&&(r.s=r.s.replace("%","")),typeof r.l=="string"&&r.l.includes("%")&&(r.l=r.l.replace("%","")),r.s==1?r.s=.01:r.l==1&&(r.l=.01),a.props.onChange({h:r.h||a.props.hsl.h,s:Number(kNn(r.s)?a.props.hsl.s:r.s),l:Number(kNn(r.l)?a.props.hsl.l:r.l),source:"hsl"},u))},a.showHighlight=function(r){r.currentTarget.style.background="#eee"},a.hideHighlight=function(r){r.currentTarget.style.background="transparent"},n.hsl.a!==1&&n.view==="hex"?a.state={view:"rgb"}:a.state={view:n.view},a}return LQo(t,[{key:"render",value:function(){var a=this,r=De({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),u=void 0;return this.state.view==="hex"?u=o.createElement("div",{style:r.fields,className:"flexbox-fix"},o.createElement("div",{style:r.field},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?u=o.createElement("div",{style:r.fields,className:"flexbox-fix"},o.createElement("div",{style:r.field},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),o.createElement("div",{style:r.field},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),o.createElement("div",{style:r.field},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),o.createElement("div",{style:r.alpha},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(u=o.createElement("div",{style:r.fields,className:"flexbox-fix"},o.createElement("div",{style:r.field},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),o.createElement("div",{style:r.field},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),o.createElement("div",{style:r.field},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),o.createElement("div",{style:r.alpha},o.createElement(Ge,{style:{input:r.input,label:r.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),o.createElement("div",{style:r.wrap,className:"flexbox-fix"},u,o.createElement("div",{style:r.toggle},o.createElement("div",{style:r.icon,onClick:this.toggleViews,ref:function(l){return a.icon=l}},o.createElement(MQo,{style:r.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(a,r){return a.hsl.a!==1&&r.view==="hex"?{view:"rgb"}:null}}]),t}(o.Component);INn.defaultProps={view:"hex"};var WNn=function(){var t=De({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 o.createElement("div",{style:t.picker})},SQo=function(){var t=De({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return o.createElement("div",{style:t.picker})},LDn=function(t){var n=t.width,a=t.onChange,r=t.disableAlpha,u=t.rgb,c=t.hsl,l=t.hsv,f=t.hex,s=t.renderers,g=t.styles,_=g===void 0?{}:g,m=t.className,v=m===void 0?"":m,C=t.defaultView,h=De(Dn({default:{picker:{width:n,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("+u.r+", "+u.g+", "+u.b+", "+u.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"}}},_),{disableAlpha:r});return o.createElement("div",{style:h.picker,className:"chrome-picker "+v},o.createElement("div",{style:h.saturation},o.createElement(Nht,{style:h.Saturation,hsl:c,hsv:l,pointer:SQo,onChange:a})),o.createElement("div",{style:h.body},o.createElement("div",{style:h.controls,className:"flexbox-fix"},o.createElement("div",{style:h.color},o.createElement("div",{style:h.swatch},o.createElement("div",{style:h.active}),o.createElement(gce,{renderers:s}))),o.createElement("div",{style:h.toggles},o.createElement("div",{style:h.hue},o.createElement(_ce,{style:h.Hue,hsl:c,pointer:WNn,onChange:a})),o.createElement("div",{style:h.alpha},o.createElement(eDn,{style:h.Alpha,rgb:u,hsl:c,pointer:WNn,renderers:s,onChange:a})))),o.createElement(INn,{rgb:u,hsl:c,hex:f,view:C,onChange:a,disableAlpha:r})))};LDn.propTypes={width:P.oneOfType([P.string,P.number]),disableAlpha:P.bool,styles:P.object,defaultView:P.oneOf(["hex","rgb","hsl"])},LDn.defaultProps={width:225,disableAlpha:!1,styles:{}};const DQo=Bn(LDn);var BQo=function(t){var n=t.color,a=t.onClick,r=a===void 0?function(){}:a,u=t.onSwatchHover,c=t.active,l=De({default:{color:{background:n,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:_Dn(n),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:c,"color-#FFFFFF":n==="#FFFFFF",transparent:n==="transparent"});return o.createElement(tT,{style:l.color,color:n,onClick:r,onHover:u,focusStyle:{boxShadow:"0 0 4px "+n}},o.createElement("div",{style:l.dot}))},IQo=function(t){var n=t.hex,a=t.rgb,r=t.onChange,u=De({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:n},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"}}}),c=function(f,s){f.r||f.g||f.b?r({r:f.r||a.r,g:f.g||a.g,b:f.b||a.b,source:"rgb"},s):r({hex:f.hex,source:"hex"},s)};return o.createElement("div",{style:u.fields,className:"flexbox-fix"},o.createElement("div",{style:u.active}),o.createElement(Ge,{style:{wrap:u.HEXwrap,input:u.HEXinput,label:u.HEXlabel},label:"hex",value:n,onChange:c}),o.createElement(Ge,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"r",value:a.r,onChange:c}),o.createElement(Ge,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"g",value:a.g,onChange:c}),o.createElement(Ge,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"b",value:a.b,onChange:c}))},PDn=function(t){var n=t.onChange,a=t.onSwatchHover,r=t.colors,u=t.hex,c=t.rgb,l=t.styles,f=l===void 0?{}:l,s=t.className,g=s===void 0?"":s,_=De(Dn({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},f)),m=function(C,h){C.hex?xO(C.hex)&&n({hex:C.hex,source:"hex"},h):n(C,h)};return o.createElement(F_t,{style:_.Compact,styles:f},o.createElement("div",{style:_.compact,className:"compact-picker "+g},o.createElement("div",null,rT(r,function(v){return o.createElement(BQo,{key:v,color:v,active:v.toLowerCase()===u,onClick:m,onSwatchHover:a})}),o.createElement("div",{style:_.clear})),o.createElement(IQo,{hex:u,rgb:c,onChange:m})))};PDn.propTypes={colors:P.arrayOf(P.string),styles:P.object},PDn.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:{}},Bn(PDn);var WQo=function(t){var n=t.hover,a=t.color,r=t.onClick,u=t.onSwatchHover,c={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=De({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:c}},{hover:n});return o.createElement("div",{style:l.swatch},o.createElement(tT,{color:a,onClick:r,onHover:u,focusStyle:c}))};const $Qo=JSn(WQo);var EDn=function(t){var n=t.width,a=t.colors,r=t.onChange,u=t.onSwatchHover,c=t.triangle,l=t.styles,f=l===void 0?{}:l,s=t.className,g=s===void 0?"":s,_=De(Dn({default:{card:{width:n,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)"}}},f),{"hide-triangle":c==="hide","top-left-triangle":c==="top-left","top-right-triangle":c==="top-right","bottom-left-triangle":c==="bottom-left","bottom-right-triangle":c==="bottom-right"}),m=function(C,h){return r({hex:C,source:"hex"},h)};return o.createElement("div",{style:_.card,className:"github-picker "+g},o.createElement("div",{style:_.triangleShadow}),o.createElement("div",{style:_.triangle}),rT(a,function(v){return o.createElement($Qo,{color:v,key:v,onClick:m,onSwatchHover:u})}))};EDn.propTypes={width:P.oneOfType([P.string,P.number]),colors:P.arrayOf(P.string),triangle:P.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:P.object},EDn.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Bn(EDn);var xQo=function(t){var n=t.direction,a=De({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:n==="vertical"});return o.createElement("div",{style:a.picker})},zQo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},kDn=function(t){var n=t.width,a=t.height,r=t.onChange,u=t.hsl,c=t.direction,l=t.pointer,f=t.styles,s=f===void 0?{}:f,g=t.className,_=g===void 0?"":g,m=De(Dn({default:{picker:{position:"relative",width:n,height:a},hue:{radius:"2px"}}},s)),v=function(h){return r({a:1,h:h.h,l:.5,s:1})};return o.createElement("div",{style:m.picker,className:"hue-picker "+_},o.createElement(_ce,zQo({},m.hue,{hsl:u,pointer:l,onChange:v,direction:c})))};kDn.propTypes={styles:P.object},kDn.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:xQo,styles:{}},Bn(kDn);var HQo=function(t){var n=t.onChange,a=t.hex,r=t.rgb,u=t.styles,c=u===void 0?{}:u,l=t.className,f=l===void 0?"":l,s=De(Dn({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 "+a,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"}}},c)),g=function(m,v){m.hex?xO(m.hex)&&n({hex:m.hex,source:"hex"},v):(m.r||m.g||m.b)&&n({r:m.r||r.r,g:m.g||r.g,b:m.b||r.b,source:"rgb"},v)};return o.createElement(F_t,{styles:c},o.createElement("div",{style:s.material,className:"material-picker "+f},o.createElement(Ge,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"hex",value:a,onChange:g}),o.createElement("div",{style:s.split,className:"flexbox-fix"},o.createElement("div",{style:s.third},o.createElement(Ge,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:r.r,onChange:g})),o.createElement("div",{style:s.third},o.createElement(Ge,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:r.g,onChange:g})),o.createElement("div",{style:s.third},o.createElement(Ge,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:r.b,onChange:g})))))};Bn(HQo);var AQo=function(t){var n=t.onChange,a=t.rgb,r=t.hsv,u=t.hex,c=De({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"}}}),l=function(s,g){s["#"]?xO(s["#"])&&n({hex:s["#"],source:"hex"},g):s.r||s.g||s.b?n({r:s.r||a.r,g:s.g||a.g,b:s.b||a.b,source:"rgb"},g):(s.h||s.s||s.v)&&n({h:s.h||r.h,s:s.s||r.s,v:s.v||r.v,source:"hsv"},g)};return o.createElement("div",{style:c.fields},o.createElement(Ge,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(r.h),onChange:l}),o.createElement(Ge,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(r.s*100),onChange:l}),o.createElement(Ge,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(r.v*100),onChange:l}),o.createElement("div",{style:c.divider}),o.createElement(Ge,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:a.r,onChange:l}),o.createElement(Ge,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:a.g,onChange:l}),o.createElement(Ge,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:a.b,onChange:l}),o.createElement("div",{style:c.divider}),o.createElement(Ge,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:u.replace("#",""),onChange:l}),o.createElement("div",{style:c.fieldSymbols},o.createElement("div",{style:c.symbol},"°"),o.createElement("div",{style:c.symbol},"%"),o.createElement("div",{style:c.symbol},"%")))},RQo=function(t){var n=t.hsl,a=De({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":n.l>.5});return o.createElement("div",{style:a.picker})},VQo=function(){var t=De({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 o.createElement("div",{style:t.pointer},o.createElement("div",{style:t.left},o.createElement("div",{style:t.leftInside})),o.createElement("div",{style:t.right},o.createElement("div",{style:t.rightInside})))},$Nn=function(t){var n=t.onClick,a=t.label,r=t.children,u=t.active,c=De({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:u});return o.createElement("div",{style:c.button,onClick:n},a||r)},FQo=function(t){var n=t.rgb,a=t.currentColor,r=De({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+n.r+","+n.g+", "+n.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:a,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return o.createElement("div",null,o.createElement("div",{style:r.label},"new"),o.createElement("div",{style:r.swatches},o.createElement("div",{style:r.new}),o.createElement("div",{style:r.current})),o.createElement("div",{style:r.label},"current"))},NQo=function(){function e(t,n){for(var a=0;a<n.length;a++){var r=n[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();function TQo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZQo(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 UQo(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 SDn=function(e){UQo(t,e);function t(n){TQo(this,t);var a=ZQo(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.state={currentColor:n.hex},a}return NQo(t,[{key:"render",value:function(){var a=this.props,r=a.styles,u=r===void 0?{}:r,c=a.className,l=c===void 0?"":c,f=De(Dn({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"}}},u));return o.createElement("div",{style:f.picker,className:"photoshop-picker "+l},o.createElement("div",{style:f.head},this.props.header),o.createElement("div",{style:f.body,className:"flexbox-fix"},o.createElement("div",{style:f.saturation},o.createElement(Nht,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:RQo,onChange:this.props.onChange})),o.createElement("div",{style:f.hue},o.createElement(_ce,{direction:"vertical",hsl:this.props.hsl,pointer:VQo,onChange:this.props.onChange})),o.createElement("div",{style:f.controls},o.createElement("div",{style:f.top,className:"flexbox-fix"},o.createElement("div",{style:f.previews},o.createElement(FQo,{rgb:this.props.rgb,currentColor:this.state.currentColor})),o.createElement("div",{style:f.actions},o.createElement($Nn,{label:"OK",onClick:this.props.onAccept,active:!0}),o.createElement($Nn,{label:"Cancel",onClick:this.props.onCancel}),o.createElement(AQo,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(o.Component);SDn.propTypes={header:P.string,styles:P.object},SDn.defaultProps={header:"Color Picker",styles:{}},Bn(SDn);var GQo=function(t){var n=t.onChange,a=t.rgb,r=t.hsl,u=t.hex,c=t.disableAlpha,l=De({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:c}),f=function(g,_){g.hex?xO(g.hex)&&n({hex:g.hex,source:"hex"},_):g.r||g.g||g.b?n({r:g.r||a.r,g:g.g||a.g,b:g.b||a.b,a:a.a,source:"rgb"},_):g.a&&(g.a<0?g.a=0:g.a>100&&(g.a=100),g.a/=100,n({h:r.h,s:r.s,l:r.l,a:g.a,source:"rgb"},_))};return o.createElement("div",{style:l.fields,className:"flexbox-fix"},o.createElement("div",{style:l.double},o.createElement(Ge,{style:{input:l.input,label:l.label},label:"hex",value:u.replace("#",""),onChange:f})),o.createElement("div",{style:l.single},o.createElement(Ge,{style:{input:l.input,label:l.label},label:"r",value:a.r,onChange:f,dragLabel:"true",dragMax:"255"})),o.createElement("div",{style:l.single},o.createElement(Ge,{style:{input:l.input,label:l.label},label:"g",value:a.g,onChange:f,dragLabel:"true",dragMax:"255"})),o.createElement("div",{style:l.single},o.createElement(Ge,{style:{input:l.input,label:l.label},label:"b",value:a.b,onChange:f,dragLabel:"true",dragMax:"255"})),o.createElement("div",{style:l.alpha},o.createElement(Ge,{style:{input:l.input,label:l.label},label:"a",value:Math.round(a.a*100),onChange:f,dragLabel:"true",dragMax:"100"})))},YQo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},xNn=function(t){var n=t.colors,a=t.onClick,r=a===void 0?function(){}:a,u=t.onSwatchHover,c=De({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":!n||!n.length}),l=function(s,g){r({hex:s,source:"hex"},g)};return o.createElement("div",{style:c.colors,className:"flexbox-fix"},n.map(function(f){var s=typeof f=="string"?{color:f}:f,g=""+s.color+(s.title||"");return o.createElement("div",{key:g,style:c.swatchWrap},o.createElement(tT,YQo({},s,{style:c.swatch,onClick:l,onHover:u,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+s.color}})))}))};xNn.propTypes={colors:P.arrayOf(P.oneOfType([P.string,P.shape({color:P.string,title:P.string})])).isRequired};var KQo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},DDn=function(t){var n=t.width,a=t.rgb,r=t.hex,u=t.hsv,c=t.hsl,l=t.onChange,f=t.onSwatchHover,s=t.disableAlpha,g=t.presetColors,_=t.renderers,m=t.styles,v=m===void 0?{}:m,C=t.className,h=C===void 0?"":C,b=De(Dn({default:KQo({picker:{width:n,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("+a.r+","+a.g+","+a.b+","+a.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)"}},v),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},v),{disableAlpha:s});return o.createElement("div",{style:b.picker,className:"sketch-picker "+h},o.createElement("div",{style:b.saturation},o.createElement(Nht,{style:b.Saturation,hsl:c,hsv:u,onChange:l})),o.createElement("div",{style:b.controls,className:"flexbox-fix"},o.createElement("div",{style:b.sliders},o.createElement("div",{style:b.hue},o.createElement(_ce,{style:b.Hue,hsl:c,onChange:l})),o.createElement("div",{style:b.alpha},o.createElement(eDn,{style:b.Alpha,rgb:a,hsl:c,renderers:_,onChange:l}))),o.createElement("div",{style:b.color},o.createElement(gce,null),o.createElement("div",{style:b.activeColor}))),o.createElement(GQo,{rgb:a,hsl:c,hex:r,onChange:l,disableAlpha:s}),o.createElement(xNn,{colors:g,onClick:l,onSwatchHover:f}))};DDn.propTypes={disableAlpha:P.bool,width:P.oneOfType([P.string,P.number]),styles:P.object},DDn.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},Bn(DDn);var Y_t=function(t){var n=t.hsl,a=t.offset,r=t.onClick,u=r===void 0?function(){}:r,c=t.active,l=t.first,f=t.last,s=De({default:{swatch:{height:"12px",background:"hsl("+n.h+", 50%, "+a*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:c,first:l,last:f}),g=function(m){return u({h:n.h,s:.5,l:a,source:"hsl"},m)};return o.createElement("div",{style:s.swatch,onClick:g})},XQo=function(t){var n=t.onClick,a=t.hsl,r=De({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),u=.1;return o.createElement("div",{style:r.swatches},o.createElement("div",{style:r.swatch},o.createElement(Y_t,{hsl:a,offset:".80",active:Math.abs(a.l-.8)<u&&Math.abs(a.s-.5)<u,onClick:n,first:!0})),o.createElement("div",{style:r.swatch},o.createElement(Y_t,{hsl:a,offset:".65",active:Math.abs(a.l-.65)<u&&Math.abs(a.s-.5)<u,onClick:n})),o.createElement("div",{style:r.swatch},o.createElement(Y_t,{hsl:a,offset:".50",active:Math.abs(a.l-.5)<u&&Math.abs(a.s-.5)<u,onClick:n})),o.createElement("div",{style:r.swatch},o.createElement(Y_t,{hsl:a,offset:".35",active:Math.abs(a.l-.35)<u&&Math.abs(a.s-.5)<u,onClick:n})),o.createElement("div",{style:r.swatch},o.createElement(Y_t,{hsl:a,offset:".20",active:Math.abs(a.l-.2)<u&&Math.abs(a.s-.5)<u,onClick:n,last:!0})),o.createElement("div",{style:r.clear}))},QQo=function(){var t=De({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 o.createElement("div",{style:t.picker})},BDn=function(t){var n=t.hsl,a=t.onChange,r=t.pointer,u=t.styles,c=u===void 0?{}:u,l=t.className,f=l===void 0?"":l,s=De(Dn({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},c));return o.createElement("div",{style:s.wrap||{},className:"slider-picker "+f},o.createElement("div",{style:s.hue},o.createElement(_ce,{style:s.Hue,hsl:n,pointer:r,onChange:a})),o.createElement("div",{style:s.swatches},o.createElement(XQo,{hsl:n,onClick:a})))};BDn.propTypes={styles:P.object},BDn.defaultProps={pointer:QQo,styles:{}},Bn(BDn);var zNn={};Object.defineProperty(zNn,"__esModule",{value:!0});var HNn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},JQo=o,ANn=qQo(JQo);function qQo(e){return e&&e.__esModule?e:{default:e}}function eJo(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}var Xht=24,tJo=zNn.default=function(e){var t=e.fill,n=t===void 0?"currentColor":t,a=e.width,r=a===void 0?Xht:a,u=e.height,c=u===void 0?Xht:u,l=e.style,f=l===void 0?{}:l,s=eJo(e,["fill","width","height","style"]);return ANn.default.createElement("svg",HNn({viewBox:"0 0 "+Xht+" "+Xht,style:HNn({fill:n,width:r,height:c},f)},s),ANn.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},nJo=function(t){var n=t.color,a=t.onClick,r=a===void 0?function(){}:a,u=t.onSwatchHover,c=t.first,l=t.last,f=t.active,s=De({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:n,marginBottom:"1px"},check:{color:_Dn(n),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:c,last:l,active:f,"color-#FFFFFF":n==="#FFFFFF",transparent:n==="transparent"});return o.createElement(tT,{color:n,style:s.color,onClick:r,onHover:u,focusStyle:{boxShadow:"0 0 4px "+n}},o.createElement("div",{style:s.check},o.createElement(tJo,null)))},rJo=function(t){var n=t.onClick,a=t.onSwatchHover,r=t.group,u=t.active,c=De({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return o.createElement("div",{style:c.group},rT(r,function(l,f){return o.createElement(nJo,{key:l,color:l,active:l.toLowerCase()===u,first:f===0,last:f===r.length-1,onClick:n,onSwatchHover:a})}))},IDn=function(t){var n=t.width,a=t.height,r=t.onChange,u=t.onSwatchHover,c=t.colors,l=t.hex,f=t.styles,s=f===void 0?{}:f,g=t.className,_=g===void 0?"":g,m=De(Dn({default:{picker:{width:n,height:a},overflow:{height:a,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},s)),v=function(h,b){return r({hex:h,source:"hex"},b)};return o.createElement("div",{style:m.picker,className:"swatches-picker "+_},o.createElement(F_t,null,o.createElement("div",{style:m.overflow},o.createElement("div",{style:m.body},rT(c,function(C){return o.createElement(rJo,{key:C.toString(),group:C,active:l,onClick:v,onSwatchHover:u})}),o.createElement("div",{style:m.clear})))))};IDn.propTypes={width:P.oneOfType([P.string,P.number]),height:P.oneOfType([P.string,P.number]),colors:P.arrayOf(P.arrayOf(P.string)),styles:P.object},IDn.defaultProps={width:320,height:240,colors:[[vce[900],vce[700],vce[500],vce[300],vce[100]],[hce[900],hce[700],hce[500],hce[300],hce[100]],[Cce[900],Cce[700],Cce[500],Cce[300],Cce[100]],[bce[900],bce[700],bce[500],bce[300],bce[100]],[yce[900],yce[700],yce[500],yce[300],yce[100]],[pce[900],pce[700],pce[500],pce[300],pce[100]],[Oce[900],Oce[700],Oce[500],Oce[300],Oce[100]],[jce[900],jce[700],jce[500],jce[300],jce[100]],[wce[900],wce[700],wce[500],wce[300],wce[100]],["#194D33",G_t[700],G_t[500],G_t[300],G_t[100]],[Mce[900],Mce[700],Mce[500],Mce[300],Mce[100]],[Lce[900],Lce[700],Lce[500],Lce[300],Lce[100]],[Pce[900],Pce[700],Pce[500],Pce[300],Pce[100]],[Ece[900],Ece[700],Ece[500],Ece[300],Ece[100]],[kce[900],kce[700],kce[500],kce[300],kce[100]],[Sce[900],Sce[700],Sce[500],Sce[300],Sce[100]],[Dce[900],Dce[700],Dce[500],Dce[300],Dce[100]],[Bce[900],Bce[700],Bce[500],Bce[300],Bce[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},Bn(IDn);var WDn=function(t){var n=t.onChange,a=t.onSwatchHover,r=t.hex,u=t.colors,c=t.width,l=t.triangle,f=t.styles,s=f===void 0?{}:f,g=t.className,_=g===void 0?"":g,m=De(Dn({default:{card:{width:c,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"}}},s),{"hide-triangle":l==="hide","top-left-triangle":l==="top-left","top-right-triangle":l==="top-right"}),v=function(h,b){xO(h)&&n({hex:h,source:"hex"},b)};return o.createElement("div",{style:m.card,className:"twitter-picker "+_},o.createElement("div",{style:m.triangleShadow}),o.createElement("div",{style:m.triangle}),o.createElement("div",{style:m.body},rT(u,function(C,h){return o.createElement(tT,{key:h,color:C,hex:C,style:m.swatch,onClick:v,onHover:a,focusStyle:{boxShadow:"0 0 4px "+C}})}),o.createElement("div",{style:m.hash},"#"),o.createElement(Ge,{label:null,style:{input:m.input},value:r.replace("#",""),onChange:v}),o.createElement("div",{style:m.clear})))};WDn.propTypes={width:P.oneOfType([P.string,P.number]),triangle:P.oneOf(["hide","top-left","top-right"]),colors:P.arrayOf(P.string),styles:P.object},WDn.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},Bn(WDn);var $Dn=function(t){var n=De({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 o.createElement("div",{style:n.picker})};$Dn.propTypes={hsl:P.shape({h:P.number,s:P.number,l:P.number,a:P.number})},$Dn.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var xDn=function(t){var n=De({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 o.createElement("div",{style:n.picker})};xDn.propTypes={hsl:P.shape({h:P.number,s:P.number,l:P.number,a:P.number})},xDn.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var aJo=function(t){var n=t.onChange,a=t.rgb,r=t.hsl,u=t.hex,c=t.hsv,l=function(v,C){if(v.hex)xO(v.hex)&&n({hex:v.hex,source:"hex"},C);else if(v.rgb){var h=v.rgb.split(",");mDn(v.rgb,"rgb")&&n({r:h[0],g:h[1],b:h[2],a:1,source:"rgb"},C)}else if(v.hsv){var b=v.hsv.split(",");mDn(v.hsv,"hsv")&&(b[2]=b[2].replace("%",""),b[1]=b[1].replace("%",""),b[0]=b[0].replace("°",""),b[1]==1?b[1]=.01:b[2]==1&&(b[2]=.01),n({h:Number(b[0]),s:Number(b[1]),v:Number(b[2]),source:"hsv"},C))}else if(v.hsl){var p=v.hsl.split(",");mDn(v.hsl,"hsl")&&(p[2]=p[2].replace("%",""),p[1]=p[1].replace("%",""),p[0]=p[0].replace("°",""),_[1]==1?_[1]=.01:_[2]==1&&(_[2]=.01),n({h:Number(p[0]),s:Number(p[1]),v:Number(p[2]),source:"hsl"},C))}},f=De({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"}}}),s=a.r+", "+a.g+", "+a.b,g=Math.round(r.h)+"°, "+Math.round(r.s*100)+"%, "+Math.round(r.l*100)+"%",_=Math.round(c.h)+"°, "+Math.round(c.s*100)+"%, "+Math.round(c.v*100)+"%";return o.createElement("div",{style:f.wrap,className:"flexbox-fix"},o.createElement("div",{style:f.fields},o.createElement("div",{style:f.double},o.createElement(Ge,{style:{input:f.input,label:f.label},label:"hex",value:u,onChange:l})),o.createElement("div",{style:f.column},o.createElement("div",{style:f.single},o.createElement(Ge,{style:{input:f.input2,label:f.label2},label:"rgb",value:s,onChange:l})),o.createElement("div",{style:f.single},o.createElement(Ge,{style:{input:f.input2,label:f.label2},label:"hsv",value:_,onChange:l})),o.createElement("div",{style:f.single},o.createElement(Ge,{style:{input:f.input2,label:f.label2},label:"hsl",value:g,onChange:l})))))},zDn=function(t){var n=t.width,a=t.onChange,r=t.rgb,u=t.hsl,c=t.hsv,l=t.hex,f=t.header,s=t.styles,g=s===void 0?{}:s,_=t.className,m=_===void 0?"":_,v=De(Dn({default:{picker:{width:n,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("+r.r+", "+r.g+", "+r.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"}}},g));return o.createElement("div",{style:v.picker,className:"google-picker "+m},o.createElement("div",{style:v.head},f),o.createElement("div",{style:v.swatch}),o.createElement("div",{style:v.saturation},o.createElement(Nht,{hsl:u,hsv:c,pointer:$Dn,onChange:a})),o.createElement("div",{style:v.body},o.createElement("div",{style:v.controls,className:"flexbox-fix"},o.createElement("div",{style:v.hue},o.createElement(_ce,{style:v.Hue,hsl:u,radius:"4px",pointer:xDn,onChange:a}))),o.createElement(aJo,{rgb:r,hsl:u,hex:l,hsv:c,onChange:a})))};zDn.propTypes={width:P.oneOfType([P.string,P.number]),styles:P.object,header:P.string},zDn.defaultProps={width:652,styles:{},header:"Color picker"},Bn(zDn);const RNn=({value:e,onChangeColor:t,tabIndex:n,...a})=>{const r=e?"#"+e.replaceAll("#",""):"",u=RSn(),c=(l="")=>{(/^#[0-9a-fA-F]*$/.test(l)||l===""||l==="#")&&t("#"+l.replaceAll("#",""))};return d.jsxs(d.Fragment,{children:[d.jsx(O.TextField,{...a,value:r,onChange:l=>c(l.target.value),InputProps:{inputProps:{...a.inputProps,maxLength:7,tabIndex:n},startAdornment:d.jsx(O.InputAdornment,{position:"start",sx:{ml:2},children:d.jsx(O.IconButton,{edge:"start","aria-label":"Escolher cor",onClick:u.onOpen,children:d.jsx(O.Box,{sx:{minWidth:24,minHeight:24,backgroundColor:r,borderRadius:.5}})})})}}),d.jsx(O.Popover,{open:!!u.open,anchorEl:u.open,onClose:u.onClose,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"center",horizontal:"center"},slotProps:{paper:{style:{borderRadius:8}}},children:d.jsx(DQo,{color:r,onChange:l=>t(l.hex),styles:{default:{picker:{fontFamily:"inherit",boxShadow:"none"}}},disableAlpha:!0})})]})};function Xe(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 D3(e){"@babel/helpers - typeof";return D3=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},D3(e)}function re(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ae(e){re(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||D3(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 Qht(e,t){re(2,arguments);var n=ae(e),a=Xe(t);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}function Jht(e,t){re(2,arguments);var n=ae(e).getTime(),a=Xe(t);return new Date(n+a)}function iJo(e,t){re(2,arguments);var n=Xe(t);return Jht(e,n*1e3)}var oJo=6e4;function uJo(e,t){re(2,arguments);var n=Xe(t);return Jht(e,n*oJo)}var cJo=36e5;function lJo(e,t){re(2,arguments);var n=Xe(t);return Jht(e,n*cJo)}function fJo(e,t){re(2,arguments);var n=Xe(t),a=n*7;return Qht(e,a)}function qht(e,t){re(2,arguments);var n=ae(e),a=Xe(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var r=n.getDate(),u=new Date(n.getTime());u.setMonth(n.getMonth()+a+1,0);var c=u.getDate();return r>=c?u:(n.setFullYear(u.getFullYear(),u.getMonth(),r),n)}function VNn(e,t){re(2,arguments);var n=Xe(t);return qht(e,n*12)}function sJo(e,t){re(2,arguments);var n=ae(e),a=ae(t);return n.getFullYear()-a.getFullYear()}function Ice(e,t){re(2,arguments);var n=ae(e),a=ae(t),r=n.getTime()-a.getTime();return r<0?-1:r>0?1:r}function dJo(e,t){re(2,arguments);var n=ae(e),a=ae(t),r=Ice(n,a),u=Math.abs(sJo(n,a));n.setFullYear(1584),a.setFullYear(1584);var c=Ice(n,a)===-r,l=r*(u-Number(c));return l===0?0:l}function gJo(e,t){re(2,arguments);var n=ae(e),a=ae(t),r=n.getFullYear()-a.getFullYear(),u=n.getMonth()-a.getMonth();return r*12+u}function HDn(e){re(1,arguments);var t=ae(e);return t.setHours(23,59,59,999),t}function ADn(e){re(1,arguments);var t=ae(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function _Jo(e){re(1,arguments);var t=ae(e);return HDn(t).getTime()===ADn(t).getTime()}function RDn(e,t){re(2,arguments);var n=ae(e),a=ae(t),r=Ice(n,a),u=Math.abs(gJo(n,a)),c;if(u<1)c=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-r*u);var l=Ice(n,a)===-r;_Jo(ae(e))&&u===1&&Ice(e,a)===1&&(l=!1),c=r*(u-Number(l))}return c===0?0:c}var FNn={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},mJo="trunc";function K_t(e){return e?FNn[e]:FNn[mJo]}function vJo(e,t,n){re(2,arguments);var a=RDn(e,t)/3;return K_t(n==null?void 0:n.roundingMethod)(a)}function Wce(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 $ce(e){re(1,arguments);var t=ae(e);return t.setHours(0,0,0,0),t}var hJo=864e5;function CJo(e,t){re(2,arguments);var n=$ce(e),a=$ce(t),r=n.getTime()-Wce(n),u=a.getTime()-Wce(a);return Math.round((r-u)/hJo)}function NNn(e,t){var n=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 n<0?-1:n>0?1:n}function VDn(e,t){re(2,arguments);var n=ae(e),a=ae(t),r=NNn(n,a),u=Math.abs(CJo(n,a));n.setDate(n.getDate()-r*u);var c=+(NNn(n,a)===-r),l=r*(u-c);return l===0?0:l}function bJo(e,t,n){re(2,arguments);var a=VDn(e,t)/7;return K_t(n==null?void 0:n.roundingMethod)(a)}var eCt=6e4,tCt=36e5,yJo=1e3;function nCt(e,t){return re(2,arguments),ae(e).getTime()-ae(t).getTime()}function pJo(e,t,n){re(2,arguments);var a=nCt(e,t)/tCt;return K_t(n==null?void 0:n.roundingMethod)(a)}function OJo(e,t,n){re(2,arguments);var a=nCt(e,t)/eCt;return K_t(n==null?void 0:n.roundingMethod)(a)}function TNn(e,t,n){re(2,arguments);var a=nCt(e,t)/1e3;return K_t(n==null?void 0:n.roundingMethod)(a)}function jJo(e,t){var n;re(1,arguments);var a=e||{},r=ae(a.start),u=ae(a.end),c=u.getTime();if(!(r.getTime()<=c))throw new RangeError("Invalid interval");var l=[],f=r;f.setHours(0,0,0,0);var s=Number((n=t==null?void 0:t.step)!==null&&n!==void 0?n:1);if(s<1||isNaN(s))throw new RangeError("`options.step` must be a number greater than 1");for(;f.getTime()<=c;)l.push(ae(f)),f.setDate(f.getDate()+s),f.setHours(0,0,0,0);return l}var wJo={};function vi(){return wJo}function FDn(e,t){var n,a,r,u,c,l,f,s;re(1,arguments);var g=vi(),_=Xe((n=(a=(r=(u=t==null?void 0:t.weekStartsOn)!==null&&u!==void 0?u:t==null||(c=t.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:g.weekStartsOn)!==null&&a!==void 0?a:(f=g.locale)===null||f===void 0||(s=f.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&n!==void 0?n:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=ae(e),v=m.getDay(),C=(v<_?-7:0)+6-(v-_);return m.setDate(m.getDate()+C),m.setHours(23,59,59,999),m}function NDn(e){re(1,arguments);var t=ae(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function MJo(e){return re(1,arguments),e instanceof Date||D3(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function TDn(e){if(re(1,arguments),!MJo(e)&&typeof e!="number")return!1;var t=ae(e);return!isNaN(Number(t))}function ZNn(e,t){re(2,arguments);var n=Xe(t);return Jht(e,-n)}var LJo=864e5;function PJo(e){re(1,arguments);var t=ae(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var a=t.getTime(),r=n-a;return Math.floor(r/LJo)+1}function xce(e){re(1,arguments);var t=1,n=ae(e),a=n.getUTCDay(),r=(a<t?7:0)+a-t;return n.setUTCDate(n.getUTCDate()-r),n.setUTCHours(0,0,0,0),n}function UNn(e){re(1,arguments);var t=ae(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var r=xce(a),u=new Date(0);u.setUTCFullYear(n,0,4),u.setUTCHours(0,0,0,0);var c=xce(u);return t.getTime()>=r.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}function EJo(e){re(1,arguments);var t=UNn(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=xce(n);return a}var kJo=6048e5;function GNn(e){re(1,arguments);var t=ae(e),n=xce(t).getTime()-EJo(t).getTime();return Math.round(n/kJo)+1}function aT(e,t){var n,a,r,u,c,l,f,s;re(1,arguments);var g=vi(),_=Xe((n=(a=(r=(u=t==null?void 0:t.weekStartsOn)!==null&&u!==void 0?u:t==null||(c=t.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:g.weekStartsOn)!==null&&a!==void 0?a:(f=g.locale)===null||f===void 0||(s=f.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&n!==void 0?n:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=ae(e),v=m.getUTCDay(),C=(v<_?7:0)+v-_;return m.setUTCDate(m.getUTCDate()-C),m.setUTCHours(0,0,0,0),m}function ZDn(e,t){var n,a,r,u,c,l,f,s;re(1,arguments);var g=ae(e),_=g.getUTCFullYear(),m=vi(),v=Xe((n=(a=(r=(u=t==null?void 0:t.firstWeekContainsDate)!==null&&u!==void 0?u:t==null||(c=t.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:m.firstWeekContainsDate)!==null&&a!==void 0?a:(f=m.locale)===null||f===void 0||(s=f.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=new Date(0);C.setUTCFullYear(_+1,0,v),C.setUTCHours(0,0,0,0);var h=aT(C,t),b=new Date(0);b.setUTCFullYear(_,0,v),b.setUTCHours(0,0,0,0);var p=aT(b,t);return g.getTime()>=h.getTime()?_+1:g.getTime()>=p.getTime()?_:_-1}function SJo(e,t){var n,a,r,u,c,l,f,s;re(1,arguments);var g=vi(),_=Xe((n=(a=(r=(u=t==null?void 0:t.firstWeekContainsDate)!==null&&u!==void 0?u:t==null||(c=t.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:g.firstWeekContainsDate)!==null&&a!==void 0?a:(f=g.locale)===null||f===void 0||(s=f.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=ZDn(e,t),v=new Date(0);v.setUTCFullYear(m,0,_),v.setUTCHours(0,0,0,0);var C=aT(v,t);return C}var DJo=6048e5;function YNn(e,t){re(1,arguments);var n=ae(e),a=aT(n,t).getTime()-SJo(n,t).getTime();return Math.round(a/DJo)+1}function Fe(e,t){for(var n=e<0?"-":"",a=Math.abs(e).toString();a.length<t;)a="0"+a;return n+a}var BJo={y:function(t,n){var a=t.getUTCFullYear(),r=a>0?a:1-a;return Fe(n==="yy"?r%100:r,n.length)},M:function(t,n){var a=t.getUTCMonth();return n==="M"?String(a+1):Fe(a+1,2)},d:function(t,n){return Fe(t.getUTCDate(),n.length)},a:function(t,n){var a=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(t,n){return Fe(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Fe(t.getUTCHours(),n.length)},m:function(t,n){return Fe(t.getUTCMinutes(),n.length)},s:function(t,n){return Fe(t.getUTCSeconds(),n.length)},S:function(t,n){var a=n.length,r=t.getUTCMilliseconds(),u=Math.floor(r*Math.pow(10,a-3));return Fe(u,n.length)}};const zO=BJo;var zce={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},IJo={G:function(t,n,a){var r=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return a.era(r,{width:"abbreviated"});case"GGGGG":return a.era(r,{width:"narrow"});case"GGGG":default:return a.era(r,{width:"wide"})}},y:function(t,n,a){if(n==="yo"){var r=t.getUTCFullYear(),u=r>0?r:1-r;return a.ordinalNumber(u,{unit:"year"})}return zO.y(t,n)},Y:function(t,n,a,r){var u=ZDn(t,r),c=u>0?u:1-u;if(n==="YY"){var l=c%100;return Fe(l,2)}return n==="Yo"?a.ordinalNumber(c,{unit:"year"}):Fe(c,n.length)},R:function(t,n){var a=UNn(t);return Fe(a,n.length)},u:function(t,n){var a=t.getUTCFullYear();return Fe(a,n.length)},Q:function(t,n,a){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(r);case"QQ":return Fe(r,2);case"Qo":return a.ordinalNumber(r,{unit:"quarter"});case"QQQ":return a.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,n,a){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(r);case"qq":return Fe(r,2);case"qo":return a.ordinalNumber(r,{unit:"quarter"});case"qqq":return a.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,n,a){var r=t.getUTCMonth();switch(n){case"M":case"MM":return zO.M(t,n);case"Mo":return a.ordinalNumber(r+1,{unit:"month"});case"MMM":return a.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(r,{width:"wide",context:"formatting"})}},L:function(t,n,a){var r=t.getUTCMonth();switch(n){case"L":return String(r+1);case"LL":return Fe(r+1,2);case"Lo":return a.ordinalNumber(r+1,{unit:"month"});case"LLL":return a.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(r,{width:"wide",context:"standalone"})}},w:function(t,n,a,r){var u=YNn(t,r);return n==="wo"?a.ordinalNumber(u,{unit:"week"}):Fe(u,n.length)},I:function(t,n,a){var r=GNn(t);return n==="Io"?a.ordinalNumber(r,{unit:"week"}):Fe(r,n.length)},d:function(t,n,a){return n==="do"?a.ordinalNumber(t.getUTCDate(),{unit:"date"}):zO.d(t,n)},D:function(t,n,a){var r=PJo(t);return n==="Do"?a.ordinalNumber(r,{unit:"dayOfYear"}):Fe(r,n.length)},E:function(t,n,a){var r=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return a.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(r,{width:"short",context:"formatting"});case"EEEE":default:return a.day(r,{width:"wide",context:"formatting"})}},e:function(t,n,a,r){var u=t.getUTCDay(),c=(u-r.weekStartsOn+8)%7||7;switch(n){case"e":return String(c);case"ee":return Fe(c,2);case"eo":return a.ordinalNumber(c,{unit:"day"});case"eee":return a.day(u,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(u,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(u,{width:"short",context:"formatting"});case"eeee":default:return a.day(u,{width:"wide",context:"formatting"})}},c:function(t,n,a,r){var u=t.getUTCDay(),c=(u-r.weekStartsOn+8)%7||7;switch(n){case"c":return String(c);case"cc":return Fe(c,n.length);case"co":return a.ordinalNumber(c,{unit:"day"});case"ccc":return a.day(u,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(u,{width:"narrow",context:"standalone"});case"cccccc":return a.day(u,{width:"short",context:"standalone"});case"cccc":default:return a.day(u,{width:"wide",context:"standalone"})}},i:function(t,n,a){var r=t.getUTCDay(),u=r===0?7:r;switch(n){case"i":return String(u);case"ii":return Fe(u,n.length);case"io":return a.ordinalNumber(u,{unit:"day"});case"iii":return a.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(r,{width:"short",context:"formatting"});case"iiii":default:return a.day(r,{width:"wide",context:"formatting"})}},a:function(t,n,a){var r=t.getUTCHours(),u=r/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(u,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},b:function(t,n,a){var r=t.getUTCHours(),u;switch(r===12?u=zce.noon:r===0?u=zce.midnight:u=r/12>=1?"pm":"am",n){case"b":case"bb":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(u,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},B:function(t,n,a){var r=t.getUTCHours(),u;switch(r>=17?u=zce.evening:r>=12?u=zce.afternoon:r>=4?u=zce.morning:u=zce.night,n){case"B":case"BB":case"BBB":return a.dayPeriod(u,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(u,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(u,{width:"wide",context:"formatting"})}},h:function(t,n,a){if(n==="ho"){var r=t.getUTCHours()%12;return r===0&&(r=12),a.ordinalNumber(r,{unit:"hour"})}return zO.h(t,n)},H:function(t,n,a){return n==="Ho"?a.ordinalNumber(t.getUTCHours(),{unit:"hour"}):zO.H(t,n)},K:function(t,n,a){var r=t.getUTCHours()%12;return n==="Ko"?a.ordinalNumber(r,{unit:"hour"}):Fe(r,n.length)},k:function(t,n,a){var r=t.getUTCHours();return r===0&&(r=24),n==="ko"?a.ordinalNumber(r,{unit:"hour"}):Fe(r,n.length)},m:function(t,n,a){return n==="mo"?a.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):zO.m(t,n)},s:function(t,n,a){return n==="so"?a.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):zO.s(t,n)},S:function(t,n){return zO.S(t,n)},X:function(t,n,a,r){var u=r._originalDate||t,c=u.getTimezoneOffset();if(c===0)return"Z";switch(n){case"X":return XNn(c);case"XXXX":case"XX":return iT(c);case"XXXXX":case"XXX":default:return iT(c,":")}},x:function(t,n,a,r){var u=r._originalDate||t,c=u.getTimezoneOffset();switch(n){case"x":return XNn(c);case"xxxx":case"xx":return iT(c);case"xxxxx":case"xxx":default:return iT(c,":")}},O:function(t,n,a,r){var u=r._originalDate||t,c=u.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+KNn(c,":");case"OOOO":default:return"GMT"+iT(c,":")}},z:function(t,n,a,r){var u=r._originalDate||t,c=u.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+KNn(c,":");case"zzzz":default:return"GMT"+iT(c,":")}},t:function(t,n,a,r){var u=r._originalDate||t,c=Math.floor(u.getTime()/1e3);return Fe(c,n.length)},T:function(t,n,a,r){var u=r._originalDate||t,c=u.getTime();return Fe(c,n.length)}};function KNn(e,t){var n=e>0?"-":"+",a=Math.abs(e),r=Math.floor(a/60),u=a%60;if(u===0)return n+String(r);var c=t||"";return n+String(r)+c+Fe(u,2)}function XNn(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Fe(Math.abs(e)/60,2)}return iT(e,t)}function iT(e,t){var n=t||"",a=e>0?"-":"+",r=Math.abs(e),u=Fe(Math.floor(r/60),2),c=Fe(r%60,2);return a+u+n+c}const WJo=IJo;var QNn=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},JNn=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},$Jo=function(t,n){var a=t.match(/(P+)(p+)?/)||[],r=a[1],u=a[2];if(!u)return QNn(t,n);var c;switch(r){case"P":c=n.dateTime({width:"short"});break;case"PP":c=n.dateTime({width:"medium"});break;case"PPP":c=n.dateTime({width:"long"});break;case"PPPP":default:c=n.dateTime({width:"full"});break}return c.replace("{{date}}",QNn(r,n)).replace("{{time}}",JNn(u,n))},xJo={p:JNn,P:$Jo};const UDn=xJo;var zJo=["D","DD"],HJo=["YY","YYYY"];function qNn(e){return zJo.indexOf(e)!==-1}function eTn(e){return HJo.indexOf(e)!==-1}function rCt(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; 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(n,"`; 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(n,"`; 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(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var AJo={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"}},RJo=function(t,n,a){var r,u=AJo[t];return typeof u=="string"?r=u:n===1?r=u.one:r=u.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+r:r+" ago":r};const VJo=RJo;function Hce(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,a=e.formats[n]||e.formats[e.defaultWidth];return a}}var FJo={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},NJo={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},TJo={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ZJo={date:Hce({formats:FJo,defaultWidth:"full"}),time:Hce({formats:NJo,defaultWidth:"full"}),dateTime:Hce({formats:TJo,defaultWidth:"full"})};const UJo=ZJo;var GJo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},YJo=function(t,n,a,r){return GJo[t]};const KJo=YJo;function jc(e){return function(t,n){var a=n!=null&&n.context?String(n.context):"standalone",r;if(a==="formatting"&&e.formattingValues){var u=e.defaultFormattingWidth||e.defaultWidth,c=n!=null&&n.width?String(n.width):u;r=e.formattingValues[c]||e.formattingValues[u]}else{var l=e.defaultWidth,f=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[f]||e.values[l]}var s=e.argumentCallback?e.argumentCallback(t):t;return r[s]}}var XJo={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},QJo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},JJo={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"]},qJo={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"]},eqo={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"}},tqo={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"}},nqo=function(t,n){var a=Number(t),r=a%100;if(r>20||r<10)switch(r%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},rqo={ordinalNumber:nqo,era:jc({values:XJo,defaultWidth:"wide"}),quarter:jc({values:QJo,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:jc({values:JJo,defaultWidth:"wide"}),day:jc({values:qJo,defaultWidth:"wide"}),dayPeriod:jc({values:eqo,defaultWidth:"wide",formattingValues:tqo,defaultFormattingWidth:"wide"})};const aqo=rqo;function wc(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],u=t.match(r);if(!u)return null;var c=u[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(l)?oqo(l,function(_){return _.test(c)}):iqo(l,function(_){return _.test(c)}),s;s=e.valueCallback?e.valueCallback(f):f,s=n.valueCallback?n.valueCallback(s):s;var g=t.slice(c.length);return{value:s,rest:g}}}function iqo(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function oqo(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function tTn(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=t.match(e.matchPattern);if(!a)return null;var r=a[0],u=t.match(e.parsePattern);if(!u)return null;var c=e.valueCallback?e.valueCallback(u[0]):u[0];c=n.valueCallback?n.valueCallback(c):c;var l=t.slice(r.length);return{value:c,rest:l}}}var uqo=/^(\d+)(th|st|nd|rd)?/i,cqo=/\d+/i,lqo={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},fqo={any:[/^b/i,/^(a|c)/i]},sqo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},dqo={any:[/1/i,/2/i,/3/i,/4/i]},gqo={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},_qo={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]},mqo={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},vqo={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]},hqo={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},Cqo={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}},bqo={ordinalNumber:tTn({matchPattern:uqo,parsePattern:cqo,valueCallback:function(t){return parseInt(t,10)}}),era:wc({matchPatterns:lqo,defaultMatchWidth:"wide",parsePatterns:fqo,defaultParseWidth:"any"}),quarter:wc({matchPatterns:sqo,defaultMatchWidth:"wide",parsePatterns:dqo,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:wc({matchPatterns:gqo,defaultMatchWidth:"wide",parsePatterns:_qo,defaultParseWidth:"any"}),day:wc({matchPatterns:mqo,defaultMatchWidth:"wide",parsePatterns:vqo,defaultParseWidth:"any"}),dayPeriod:wc({matchPatterns:hqo,defaultMatchWidth:"any",parsePatterns:Cqo,defaultParseWidth:"any"})},yqo={code:"en-US",formatDistance:VJo,formatLong:UJo,formatRelative:KJo,localize:aqo,match:bqo,options:{weekStartsOn:0,firstWeekContainsDate:1}};const aCt=yqo;var pqo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Oqo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,jqo=/^'([^]*?)'?$/,wqo=/''/g,Mqo=/[a-zA-Z]/;function iCt(e,t,n){var a,r,u,c,l,f,s,g,_,m,v,C,h,b,p,y,w,E;re(2,arguments);var M=String(t),j=vi(),k=(a=(r=n==null?void 0:n.locale)!==null&&r!==void 0?r:j.locale)!==null&&a!==void 0?a:aCt,D=Xe((u=(c=(l=(f=n==null?void 0:n.firstWeekContainsDate)!==null&&f!==void 0?f:n==null||(s=n.locale)===null||s===void 0||(g=s.options)===null||g===void 0?void 0:g.firstWeekContainsDate)!==null&&l!==void 0?l:j.firstWeekContainsDate)!==null&&c!==void 0?c:(_=j.locale)===null||_===void 0||(m=_.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&u!==void 0?u:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=Xe((v=(C=(h=(b=n==null?void 0:n.weekStartsOn)!==null&&b!==void 0?b:n==null||(p=n.locale)===null||p===void 0||(y=p.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&h!==void 0?h:j.weekStartsOn)!==null&&C!==void 0?C:(w=j.locale)===null||w===void 0||(E=w.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&v!==void 0?v:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var I=ae(e);if(!TDn(I))throw new RangeError("Invalid time value");var A=Wce(I),F=ZNn(I,A),W={firstWeekContainsDate:D,weekStartsOn:S,locale:k,_originalDate:I},z=M.match(Oqo).map(function(T){var H=T[0];if(H==="p"||H==="P"){var Z=UDn[H];return Z(T,k.formatLong)}return T}).join("").match(pqo).map(function(T){if(T==="''")return"'";var H=T[0];if(H==="'")return Lqo(T);var Z=WJo[H];if(Z)return!(n!=null&&n.useAdditionalWeekYearTokens)&&eTn(T)&&rCt(T,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&qNn(T)&&rCt(T,t,String(e)),Z(F,T,k.localize,W);if(H.match(Mqo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+H+"`");return T}).join("");return z}function Lqo(e){var t=e.match(jqo);return t?t[1].replace(wqo,"'"):e}function Pqo(e){re(1,arguments);var t=ae(e),n=t.getDate();return n}function nTn(e){re(1,arguments);var t=ae(e),n=t.getFullYear(),a=t.getMonth(),r=new Date(0);return r.setFullYear(n,a+1,0),r.setHours(0,0,0,0),r.getDate()}function Eqo(e){re(1,arguments);var t=ae(e),n=t.getHours();return n}function kqo(e){re(1,arguments);var t=ae(e),n=t.getMinutes();return n}function Sqo(e){re(1,arguments);var t=ae(e),n=t.getMonth();return n}function Dqo(e){re(1,arguments);var t=ae(e),n=t.getSeconds();return n}function Bqo(e){re(1,arguments);var t=ae(e),n=t.getMilliseconds();return n}function oT(e,t){var n,a,r,u,c,l,f,s;re(1,arguments);var g=vi(),_=Xe((n=(a=(r=(u=t==null?void 0:t.weekStartsOn)!==null&&u!==void 0?u:t==null||(c=t.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:g.weekStartsOn)!==null&&a!==void 0?a:(f=g.locale)===null||f===void 0||(s=f.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&n!==void 0?n:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=ae(e),v=m.getDay(),C=(v<_?7:0)+v-_;return m.setDate(m.getDate()-C),m.setHours(0,0,0,0),m}function Iqo(e,t){var n,a,r,u,c,l,f,s;re(1,arguments);var g=ae(e),_=g.getFullYear(),m=vi(),v=Xe((n=(a=(r=(u=t==null?void 0:t.firstWeekContainsDate)!==null&&u!==void 0?u:t==null||(c=t.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:m.firstWeekContainsDate)!==null&&a!==void 0?a:(f=m.locale)===null||f===void 0||(s=f.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=new Date(0);C.setFullYear(_+1,0,v),C.setHours(0,0,0,0);var h=oT(C,t),b=new Date(0);b.setFullYear(_,0,v),b.setHours(0,0,0,0);var p=oT(b,t);return g.getTime()>=h.getTime()?_+1:g.getTime()>=p.getTime()?_:_-1}function Wqo(e,t){var n,a,r,u,c,l,f,s;re(1,arguments);var g=vi(),_=Xe((n=(a=(r=(u=t==null?void 0:t.firstWeekContainsDate)!==null&&u!==void 0?u:t==null||(c=t.locale)===null||c===void 0||(l=c.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:g.firstWeekContainsDate)!==null&&a!==void 0?a:(f=g.locale)===null||f===void 0||(s=f.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=Iqo(e,t),v=new Date(0);v.setFullYear(m,0,_),v.setHours(0,0,0,0);var C=oT(v,t);return C}var $qo=6048e5;function xqo(e,t){re(1,arguments);var n=ae(e),a=oT(n,t).getTime()-Wqo(n,t).getTime();return Math.round(a/$qo)+1}function zqo(e){return re(1,arguments),ae(e).getFullYear()}function GDn(e,t){re(2,arguments);var n=ae(e),a=ae(t);return n.getTime()>a.getTime()}function X_t(e,t){re(2,arguments);var n=ae(e),a=ae(t);return n.getTime()<a.getTime()}function Hqo(e,t){re(2,arguments);var n=ae(e),a=ae(t);return n.getTime()===a.getTime()}function Aqo(e,t){re(2,arguments);var n=$ce(e),a=$ce(t);return n.getTime()===a.getTime()}function Rqo(e,t){re(2,arguments);var n=ae(e),a=ae(t);return n.getFullYear()===a.getFullYear()}function Vqo(e,t){re(2,arguments);var n=ae(e),a=ae(t);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()}function rTn(e){re(1,arguments);var t=ae(e);return t.setMinutes(0,0,0),t}function Fqo(e,t){re(2,arguments);var n=rTn(e),a=rTn(t);return n.getTime()===a.getTime()}function aTn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Nqo(e,t){if(e){if(typeof e=="string")return aTn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aTn(e,t)}}function iTn(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Nqo(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
35381
35381
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,c=!1,l;return{s:function(){n=n.call(e)},n:function(){var s=n.next();return u=s.done,s},e:function(s){c=!0,l=s},f:function(){try{!u&&n.return!=null&&n.return()}finally{if(c)throw l}}}}function YDn(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KDn(e,t){return KDn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},KDn(e,t)}function Qe(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&&KDn(e,t)}function oCt(e){return oCt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},oCt(e)}function Tqo(){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 Zqo(e,t){if(t&&(D3(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return me(e)}function Je(e){var t=Tqo();return function(){var a=oCt(e),r;if(t){var u=oCt(this).constructor;r=Reflect.construct(a,arguments,u)}else r=a.apply(this,arguments);return Zqo(this,r)}}function Ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uqo(e,t){if(D3(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(D3(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oTn(e){var t=Uqo(e,"string");return D3(t)==="symbol"?t:String(t)}function uTn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,oTn(a.key),a)}}function Ke(e,t,n){return t&&uTn(e.prototype,t),n&&uTn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function de(e,t,n){return t=oTn(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gqo=10,cTn=function(){function e(){Ye(this,e),de(this,"priority",void 0),de(this,"subPriority",0)}return Ke(e,[{key:"validate",value:function(n,a){return!0}}]),e}(),Yqo=function(e){Qe(n,e);var t=Je(n);function n(a,r,u,c,l){var f;return Ye(this,n),f=t.call(this),f.value=a,f.validateValue=r,f.setValue=u,f.priority=c,l&&(f.subPriority=l),f}return Ke(n,[{key:"validate",value:function(r,u){return this.validateValue(r,this.value,u)}},{key:"set",value:function(r,u,c){return this.setValue(r,u,this.value,c)}}]),n}(cTn),Kqo=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",Gqo),de(me(a),"subPriority",-1),a}return Ke(n,[{key:"set",value:function(r,u){if(u.timestampIsSet)return r;var c=new Date(0);return c.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),c.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),c}}]),n}(cTn),rt=function(){function e(){Ye(this,e),de(this,"incompatibleTokens",void 0),de(this,"priority",void 0),de(this,"subPriority",void 0)}return Ke(e,[{key:"run",value:function(n,a,r,u){var c=this.parse(n,a,r,u);return c?{setter:new Yqo(c.value,this.validate,this.set,this.priority,this.subPriority),rest:c.rest}:null}},{key:"validate",value:function(n,a,r){return!0}}]),e}(),Xqo=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",140),de(me(a),"incompatibleTokens",["R","u","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"G":case"GG":case"GGG":return c.era(r,{width:"abbreviated"})||c.era(r,{width:"narrow"});case"GGGGG":return c.era(r,{width:"narrow"});case"GGGG":default:return c.era(r,{width:"wide"})||c.era(r,{width:"abbreviated"})||c.era(r,{width:"narrow"})}}},{key:"set",value:function(r,u,c){return u.era=c,r.setUTCFullYear(c,0,1),r.setUTCHours(0,0,0,0),r}}]),n}(rt),Ht={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}/},Mc={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 At(e,t){return e&&{value:t(e.value),rest:e.rest}}function Lt(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Lc(e,t){var n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};var a=n[1]==="+"?1:-1,r=n[2]?parseInt(n[2],10):0,u=n[3]?parseInt(n[3],10):0,c=n[5]?parseInt(n[5],10):0;return{value:a*(r*tCt+u*eCt+c*yJo),rest:t.slice(n[0].length)}}function lTn(e){return Lt(Ht.anyDigitsSigned,e)}function Wt(e,t){switch(e){case 1:return Lt(Ht.singleDigit,t);case 2:return Lt(Ht.twoDigits,t);case 3:return Lt(Ht.threeDigits,t);case 4:return Lt(Ht.fourDigits,t);default:return Lt(new RegExp("^\\d{1,"+e+"}"),t)}}function uCt(e,t){switch(e){case 1:return Lt(Ht.singleDigitSigned,t);case 2:return Lt(Ht.twoDigitsSigned,t);case 3:return Lt(Ht.threeDigitsSigned,t);case 4:return Lt(Ht.fourDigitsSigned,t);default:return Lt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function XDn(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 fTn(e,t){var n=t>0,a=n?t:1-t,r;if(a<=50)r=e||100;else{var u=a+50,c=Math.floor(u/100)*100,l=e>=u%100;r=e+c-(l?100:0)}return n?r:1-r}function sTn(e){return e%400===0||e%4===0&&e%100!==0}var Qqo=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",130),de(me(a),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){var l=function(s){return{year:s,isTwoDigitYear:u==="yy"}};switch(u){case"y":return At(Wt(4,r),l);case"yo":return At(c.ordinalNumber(r,{unit:"year"}),l);default:return At(Wt(u.length,r),l)}}},{key:"validate",value:function(r,u){return u.isTwoDigitYear||u.year>0}},{key:"set",value:function(r,u,c){var l=r.getUTCFullYear();if(c.isTwoDigitYear){var f=fTn(c.year,l);return r.setUTCFullYear(f,0,1),r.setUTCHours(0,0,0,0),r}var s=!("era"in u)||u.era===1?c.year:1-c.year;return r.setUTCFullYear(s,0,1),r.setUTCHours(0,0,0,0),r}}]),n}(rt),Jqo=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",130),de(me(a),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){var l=function(s){return{year:s,isTwoDigitYear:u==="YY"}};switch(u){case"Y":return At(Wt(4,r),l);case"Yo":return At(c.ordinalNumber(r,{unit:"year"}),l);default:return At(Wt(u.length,r),l)}}},{key:"validate",value:function(r,u){return u.isTwoDigitYear||u.year>0}},{key:"set",value:function(r,u,c,l){var f=ZDn(r,l);if(c.isTwoDigitYear){var s=fTn(c.year,f);return r.setUTCFullYear(s,0,l.firstWeekContainsDate),r.setUTCHours(0,0,0,0),aT(r,l)}var g=!("era"in u)||u.era===1?c.year:1-c.year;return r.setUTCFullYear(g,0,l.firstWeekContainsDate),r.setUTCHours(0,0,0,0),aT(r,l)}}]),n}(rt),qqo=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",130),de(me(a),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u){return uCt(u==="R"?4:u.length,r)}},{key:"set",value:function(r,u,c){var l=new Date(0);return l.setUTCFullYear(c,0,4),l.setUTCHours(0,0,0,0),xce(l)}}]),n}(rt),ee2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",130),de(me(a),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u){return uCt(u==="u"?4:u.length,r)}},{key:"set",value:function(r,u,c){return r.setUTCFullYear(c,0,1),r.setUTCHours(0,0,0,0),r}}]),n}(rt),te2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",120),de(me(a),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"Q":case"QQ":return Wt(u.length,r);case"Qo":return c.ordinalNumber(r,{unit:"quarter"});case"QQQ":return c.quarter(r,{width:"abbreviated",context:"formatting"})||c.quarter(r,{width:"narrow",context:"formatting"});case"QQQQQ":return c.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return c.quarter(r,{width:"wide",context:"formatting"})||c.quarter(r,{width:"abbreviated",context:"formatting"})||c.quarter(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,u){return u>=1&&u<=4}},{key:"set",value:function(r,u,c){return r.setUTCMonth((c-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),n}(rt),ne2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",120),de(me(a),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"q":case"qq":return Wt(u.length,r);case"qo":return c.ordinalNumber(r,{unit:"quarter"});case"qqq":return c.quarter(r,{width:"abbreviated",context:"standalone"})||c.quarter(r,{width:"narrow",context:"standalone"});case"qqqqq":return c.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return c.quarter(r,{width:"wide",context:"standalone"})||c.quarter(r,{width:"abbreviated",context:"standalone"})||c.quarter(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,u){return u>=1&&u<=4}},{key:"set",value:function(r,u,c){return r.setUTCMonth((c-1)*3,1),r.setUTCHours(0,0,0,0),r}}]),n}(rt),re2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),de(me(a),"priority",110),a}return Ke(n,[{key:"parse",value:function(r,u,c){var l=function(s){return s-1};switch(u){case"M":return At(Lt(Ht.month,r),l);case"MM":return At(Wt(2,r),l);case"Mo":return At(c.ordinalNumber(r,{unit:"month"}),l);case"MMM":return c.month(r,{width:"abbreviated",context:"formatting"})||c.month(r,{width:"narrow",context:"formatting"});case"MMMMM":return c.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return c.month(r,{width:"wide",context:"formatting"})||c.month(r,{width:"abbreviated",context:"formatting"})||c.month(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,u){return u>=0&&u<=11}},{key:"set",value:function(r,u,c){return r.setUTCMonth(c,1),r.setUTCHours(0,0,0,0),r}}]),n}(rt),ae2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",110),de(me(a),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){var l=function(s){return s-1};switch(u){case"L":return At(Lt(Ht.month,r),l);case"LL":return At(Wt(2,r),l);case"Lo":return At(c.ordinalNumber(r,{unit:"month"}),l);case"LLL":return c.month(r,{width:"abbreviated",context:"standalone"})||c.month(r,{width:"narrow",context:"standalone"});case"LLLLL":return c.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return c.month(r,{width:"wide",context:"standalone"})||c.month(r,{width:"abbreviated",context:"standalone"})||c.month(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,u){return u>=0&&u<=11}},{key:"set",value:function(r,u,c){return r.setUTCMonth(c,1),r.setUTCHours(0,0,0,0),r}}]),n}(rt);function ie2(e,t,n){re(2,arguments);var a=ae(e),r=Xe(t),u=YNn(a,n)-r;return a.setUTCDate(a.getUTCDate()-u*7),a}var oe2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",100),de(me(a),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"w":return Lt(Ht.week,r);case"wo":return c.ordinalNumber(r,{unit:"week"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=1&&u<=53}},{key:"set",value:function(r,u,c,l){return aT(ie2(r,c,l),l)}}]),n}(rt);function ue2(e,t){re(2,arguments);var n=ae(e),a=Xe(t),r=GNn(n)-a;return n.setUTCDate(n.getUTCDate()-r*7),n}var ce2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",100),de(me(a),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"I":return Lt(Ht.week,r);case"Io":return c.ordinalNumber(r,{unit:"week"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=1&&u<=53}},{key:"set",value:function(r,u,c){return xce(ue2(r,c))}}]),n}(rt),le2=[31,28,31,30,31,30,31,31,30,31,30,31],fe2=[31,29,31,30,31,30,31,31,30,31,30,31],se2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",90),de(me(a),"subPriority",1),de(me(a),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"d":return Lt(Ht.date,r);case"do":return c.ordinalNumber(r,{unit:"date"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){var c=r.getUTCFullYear(),l=sTn(c),f=r.getUTCMonth();return l?u>=1&&u<=fe2[f]:u>=1&&u<=le2[f]}},{key:"set",value:function(r,u,c){return r.setUTCDate(c),r.setUTCHours(0,0,0,0),r}}]),n}(rt),de2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",90),de(me(a),"subpriority",1),de(me(a),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"D":case"DD":return Lt(Ht.dayOfYear,r);case"Do":return c.ordinalNumber(r,{unit:"date"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){var c=r.getUTCFullYear(),l=sTn(c);return l?u>=1&&u<=366:u>=1&&u<=365}},{key:"set",value:function(r,u,c){return r.setUTCMonth(0,c),r.setUTCHours(0,0,0,0),r}}]),n}(rt);function QDn(e,t,n){var a,r,u,c,l,f,s,g;re(2,arguments);var _=vi(),m=Xe((a=(r=(u=(c=n==null?void 0:n.weekStartsOn)!==null&&c!==void 0?c:n==null||(l=n.locale)===null||l===void 0||(f=l.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&u!==void 0?u:_.weekStartsOn)!==null&&r!==void 0?r:(s=_.locale)===null||s===void 0||(g=s.options)===null||g===void 0?void 0:g.weekStartsOn)!==null&&a!==void 0?a:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=ae(e),C=Xe(t),h=v.getUTCDay(),b=C%7,p=(b+7)%7,y=(p<m?7:0)+C-h;return v.setUTCDate(v.getUTCDate()+y),v}var ge2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",90),de(me(a),"incompatibleTokens",["D","i","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"E":case"EE":case"EEE":return c.day(r,{width:"abbreviated",context:"formatting"})||c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"});case"EEEEE":return c.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"});case"EEEE":default:return c.day(r,{width:"wide",context:"formatting"})||c.day(r,{width:"abbreviated",context:"formatting"})||c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,u){return u>=0&&u<=6}},{key:"set",value:function(r,u,c,l){return r=QDn(r,c,l),r.setUTCHours(0,0,0,0),r}}]),n}(rt),_e2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",90),de(me(a),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c,l){var f=function(g){var _=Math.floor((g-1)/7)*7;return(g+l.weekStartsOn+6)%7+_};switch(u){case"e":case"ee":return At(Wt(u.length,r),f);case"eo":return At(c.ordinalNumber(r,{unit:"day"}),f);case"eee":return c.day(r,{width:"abbreviated",context:"formatting"})||c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"});case"eeeee":return c.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"});case"eeee":default:return c.day(r,{width:"wide",context:"formatting"})||c.day(r,{width:"abbreviated",context:"formatting"})||c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(r,u){return u>=0&&u<=6}},{key:"set",value:function(r,u,c,l){return r=QDn(r,c,l),r.setUTCHours(0,0,0,0),r}}]),n}(rt),me2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",90),de(me(a),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c,l){var f=function(g){var _=Math.floor((g-1)/7)*7;return(g+l.weekStartsOn+6)%7+_};switch(u){case"c":case"cc":return At(Wt(u.length,r),f);case"co":return At(c.ordinalNumber(r,{unit:"day"}),f);case"ccc":return c.day(r,{width:"abbreviated",context:"standalone"})||c.day(r,{width:"short",context:"standalone"})||c.day(r,{width:"narrow",context:"standalone"});case"ccccc":return c.day(r,{width:"narrow",context:"standalone"});case"cccccc":return c.day(r,{width:"short",context:"standalone"})||c.day(r,{width:"narrow",context:"standalone"});case"cccc":default:return c.day(r,{width:"wide",context:"standalone"})||c.day(r,{width:"abbreviated",context:"standalone"})||c.day(r,{width:"short",context:"standalone"})||c.day(r,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(r,u){return u>=0&&u<=6}},{key:"set",value:function(r,u,c,l){return r=QDn(r,c,l),r.setUTCHours(0,0,0,0),r}}]),n}(rt);function ve2(e,t){re(2,arguments);var n=Xe(t);n%7===0&&(n=n-7);var a=1,r=ae(e),u=r.getUTCDay(),c=n%7,l=(c+7)%7,f=(l<a?7:0)+n-u;return r.setUTCDate(r.getUTCDate()+f),r}var he2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",90),de(me(a),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){var l=function(s){return s===0?7:s};switch(u){case"i":case"ii":return Wt(u.length,r);case"io":return c.ordinalNumber(r,{unit:"day"});case"iii":return At(c.day(r,{width:"abbreviated",context:"formatting"})||c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"}),l);case"iiiii":return At(c.day(r,{width:"narrow",context:"formatting"}),l);case"iiiiii":return At(c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"}),l);case"iiii":default:return At(c.day(r,{width:"wide",context:"formatting"})||c.day(r,{width:"abbreviated",context:"formatting"})||c.day(r,{width:"short",context:"formatting"})||c.day(r,{width:"narrow",context:"formatting"}),l)}}},{key:"validate",value:function(r,u){return u>=1&&u<=7}},{key:"set",value:function(r,u,c){return r=ve2(r,c),r.setUTCHours(0,0,0,0),r}}]),n}(rt),Ce2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",80),de(me(a),"incompatibleTokens",["b","B","H","k","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"a":case"aa":case"aaa":return c.dayPeriod(r,{width:"abbreviated",context:"formatting"})||c.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaaa":return c.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return c.dayPeriod(r,{width:"wide",context:"formatting"})||c.dayPeriod(r,{width:"abbreviated",context:"formatting"})||c.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,u,c){return r.setUTCHours(XDn(c),0,0,0),r}}]),n}(rt),be2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",80),de(me(a),"incompatibleTokens",["a","B","H","k","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"b":case"bb":case"bbb":return c.dayPeriod(r,{width:"abbreviated",context:"formatting"})||c.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbbb":return c.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return c.dayPeriod(r,{width:"wide",context:"formatting"})||c.dayPeriod(r,{width:"abbreviated",context:"formatting"})||c.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,u,c){return r.setUTCHours(XDn(c),0,0,0),r}}]),n}(rt),ye2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",80),de(me(a),"incompatibleTokens",["a","b","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"B":case"BB":case"BBB":return c.dayPeriod(r,{width:"abbreviated",context:"formatting"})||c.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBBB":return c.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return c.dayPeriod(r,{width:"wide",context:"formatting"})||c.dayPeriod(r,{width:"abbreviated",context:"formatting"})||c.dayPeriod(r,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(r,u,c){return r.setUTCHours(XDn(c),0,0,0),r}}]),n}(rt),pe2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",70),de(me(a),"incompatibleTokens",["H","K","k","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"h":return Lt(Ht.hour12h,r);case"ho":return c.ordinalNumber(r,{unit:"hour"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=1&&u<=12}},{key:"set",value:function(r,u,c){var l=r.getUTCHours()>=12;return l&&c<12?r.setUTCHours(c+12,0,0,0):!l&&c===12?r.setUTCHours(0,0,0,0):r.setUTCHours(c,0,0,0),r}}]),n}(rt),Oe2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",70),de(me(a),"incompatibleTokens",["a","b","h","K","k","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"H":return Lt(Ht.hour23h,r);case"Ho":return c.ordinalNumber(r,{unit:"hour"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=0&&u<=23}},{key:"set",value:function(r,u,c){return r.setUTCHours(c,0,0,0),r}}]),n}(rt),je2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",70),de(me(a),"incompatibleTokens",["h","H","k","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"K":return Lt(Ht.hour11h,r);case"Ko":return c.ordinalNumber(r,{unit:"hour"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=0&&u<=11}},{key:"set",value:function(r,u,c){var l=r.getUTCHours()>=12;return l&&c<12?r.setUTCHours(c+12,0,0,0):r.setUTCHours(c,0,0,0),r}}]),n}(rt),we2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",70),de(me(a),"incompatibleTokens",["a","b","h","H","K","t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"k":return Lt(Ht.hour24h,r);case"ko":return c.ordinalNumber(r,{unit:"hour"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=1&&u<=24}},{key:"set",value:function(r,u,c){var l=c<=24?c%24:c;return r.setUTCHours(l,0,0,0),r}}]),n}(rt),Me2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",60),de(me(a),"incompatibleTokens",["t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"m":return Lt(Ht.minute,r);case"mo":return c.ordinalNumber(r,{unit:"minute"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=0&&u<=59}},{key:"set",value:function(r,u,c){return r.setUTCMinutes(c,0,0),r}}]),n}(rt),Le2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",50),de(me(a),"incompatibleTokens",["t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u,c){switch(u){case"s":return Lt(Ht.second,r);case"so":return c.ordinalNumber(r,{unit:"second"});default:return Wt(u.length,r)}}},{key:"validate",value:function(r,u){return u>=0&&u<=59}},{key:"set",value:function(r,u,c){return r.setUTCSeconds(c,0),r}}]),n}(rt),Pe2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",30),de(me(a),"incompatibleTokens",["t","T"]),a}return Ke(n,[{key:"parse",value:function(r,u){var c=function(f){return Math.floor(f*Math.pow(10,-u.length+3))};return At(Wt(u.length,r),c)}},{key:"set",value:function(r,u,c){return r.setUTCMilliseconds(c),r}}]),n}(rt),Ee2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",10),de(me(a),"incompatibleTokens",["t","T","x"]),a}return Ke(n,[{key:"parse",value:function(r,u){switch(u){case"X":return Lc(Mc.basicOptionalMinutes,r);case"XX":return Lc(Mc.basic,r);case"XXXX":return Lc(Mc.basicOptionalSeconds,r);case"XXXXX":return Lc(Mc.extendedOptionalSeconds,r);case"XXX":default:return Lc(Mc.extended,r)}}},{key:"set",value:function(r,u,c){return u.timestampIsSet?r:new Date(r.getTime()-c)}}]),n}(rt),ke2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",10),de(me(a),"incompatibleTokens",["t","T","X"]),a}return Ke(n,[{key:"parse",value:function(r,u){switch(u){case"x":return Lc(Mc.basicOptionalMinutes,r);case"xx":return Lc(Mc.basic,r);case"xxxx":return Lc(Mc.basicOptionalSeconds,r);case"xxxxx":return Lc(Mc.extendedOptionalSeconds,r);case"xxx":default:return Lc(Mc.extended,r)}}},{key:"set",value:function(r,u,c){return u.timestampIsSet?r:new Date(r.getTime()-c)}}]),n}(rt),Se2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",40),de(me(a),"incompatibleTokens","*"),a}return Ke(n,[{key:"parse",value:function(r){return lTn(r)}},{key:"set",value:function(r,u,c){return[new Date(c*1e3),{timestampIsSet:!0}]}}]),n}(rt),De2=function(e){Qe(n,e);var t=Je(n);function n(){var a;Ye(this,n);for(var r=arguments.length,u=new Array(r),c=0;c<r;c++)u[c]=arguments[c];return a=t.call.apply(t,[this].concat(u)),de(me(a),"priority",20),de(me(a),"incompatibleTokens","*"),a}return Ke(n,[{key:"parse",value:function(r){return lTn(r)}},{key:"set",value:function(r,u,c){return[new Date(c),{timestampIsSet:!0}]}}]),n}(rt),Be2={G:new Xqo,y:new Qqo,Y:new Jqo,R:new qqo,u:new ee2,Q:new te2,q:new ne2,M:new re2,L:new ae2,w:new oe2,I:new ce2,d:new se2,D:new de2,E:new ge2,e:new _e2,c:new me2,i:new he2,a:new Ce2,b:new be2,B:new ye2,h:new pe2,H:new Oe2,K:new je2,k:new we2,m:new Me2,s:new Le2,S:new Pe2,X:new Ee2,x:new ke2,t:new Se2,T:new De2},Ie2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,We2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$e2=/^'([^]*?)'?$/,xe2=/''/g,ze2=/\S/,He2=/[a-zA-Z]/;function dTn(e,t,n,a){var r,u,c,l,f,s,g,_,m,v,C,h,b,p,y,w,E,M;re(3,arguments);var j=String(e),k=String(t),D=vi(),S=(r=(u=a==null?void 0:a.locale)!==null&&u!==void 0?u:D.locale)!==null&&r!==void 0?r:aCt;if(!S.match)throw new RangeError("locale must contain match property");var I=Xe((c=(l=(f=(s=a==null?void 0:a.firstWeekContainsDate)!==null&&s!==void 0?s:a==null||(g=a.locale)===null||g===void 0||(_=g.options)===null||_===void 0?void 0:_.firstWeekContainsDate)!==null&&f!==void 0?f:D.firstWeekContainsDate)!==null&&l!==void 0?l:(m=D.locale)===null||m===void 0||(v=m.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&c!==void 0?c:1);if(!(I>=1&&I<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=Xe((C=(h=(b=(p=a==null?void 0:a.weekStartsOn)!==null&&p!==void 0?p:a==null||(y=a.locale)===null||y===void 0||(w=y.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&b!==void 0?b:D.weekStartsOn)!==null&&h!==void 0?h:(E=D.locale)===null||E===void 0||(M=E.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&C!==void 0?C:0);if(!(A>=0&&A<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(k==="")return j===""?ae(n):new Date(NaN);var F={firstWeekContainsDate:I,weekStartsOn:A,locale:S},W=[new Kqo],z=k.match(We2).map(function(le){var te=le[0];if(te in UDn){var ge=UDn[te];return ge(le,S.formatLong)}return le}).join("").match(Ie2),T=[],H=iTn(z),Z;try{var X=function(){var te=Z.value;!(a!=null&&a.useAdditionalWeekYearTokens)&&eTn(te)&&rCt(te,k,e),!(a!=null&&a.useAdditionalDayOfYearTokens)&&qNn(te)&&rCt(te,k,e);var ge=te[0],We=Be2[ge];if(We){var U=We.incompatibleTokens;if(Array.isArray(U)){var qe=T.find(function(ne){return U.includes(ne.token)||ne.token===ge});if(qe)throw new RangeError("The format string mustn't contain `".concat(qe.fullToken,"` and `").concat(te,"` at the same time"))}else if(We.incompatibleTokens==="*"&&T.length>0)throw new RangeError("The format string mustn't contain `".concat(te,"` and any other token at the same time"));T.push({token:ge,fullToken:te});var se=We.run(j,te,S.match,F);if(!se)return{v:new Date(NaN)};W.push(se.setter),j=se.rest}else{if(ge.match(He2))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ge+"`");if(te==="''"?te="'":ge==="'"&&(te=Ae2(te)),j.indexOf(te)===0)j=j.slice(te.length);else return{v:new Date(NaN)}}};for(H.s();!(Z=H.n()).done;){var J=X();if(D3(J)==="object")return J.v}}catch(le){H.e(le)}finally{H.f()}if(j.length>0&&ze2.test(j))return new Date(NaN);var V=W.map(function(le){return le.priority}).sort(function(le,te){return te-le}).filter(function(le,te,ge){return ge.indexOf(le)===te}).map(function(le){return W.filter(function(te){return te.priority===le}).sort(function(te,ge){return ge.subPriority-te.subPriority})}).map(function(le){return le[0]}),N=ae(n);if(isNaN(N.getTime()))return new Date(NaN);var Y=ZNn(N,Wce(N)),ie={},ee=iTn(V),fe;try{for(ee.s();!(fe=ee.n()).done;){var ce=fe.value;if(!ce.validate(Y,F))return new Date(NaN);var be=ce.set(Y,ie,F);Array.isArray(be)?(Y=be[0],YDn(ie,be[1])):Y=be}}catch(le){ee.e(le)}finally{ee.f()}return Y}function Ae2(e){return e.match($e2)[1].replace(xe2,"'")}function Re2(e,t){re(2,arguments);var n=ae(e),a=Xe(t);return n.setDate(a),n}function Ve2(e,t){re(2,arguments);var n=ae(e),a=Xe(t);return n.setHours(a),n}function Fe2(e,t){re(2,arguments);var n=ae(e),a=Xe(t);return n.setMinutes(a),n}function Ne2(e,t){re(2,arguments);var n=ae(e),a=Xe(t),r=n.getFullYear(),u=n.getDate(),c=new Date(0);c.setFullYear(r,a,15),c.setHours(0,0,0,0);var l=nTn(c);return n.setMonth(a,Math.min(u,l)),n}function Te2(e,t){re(2,arguments);var n=ae(e),a=Xe(t);return n.setSeconds(a),n}function Ze2(e,t){re(2,arguments);var n=ae(e),a=Xe(t);return n.setMilliseconds(a),n}function Ue2(e,t){re(2,arguments);var n=ae(e),a=Xe(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}function gTn(e){re(1,arguments);var t=ae(e);return t.setDate(1),t.setHours(0,0,0,0),t}function cCt(e){re(1,arguments);var t=ae(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Ge2(e,t){var n;re(1,arguments);var a=Xe((n=t==null?void 0:t.additionalDigits)!==null&&n!==void 0?n:2);if(a!==2&&a!==1&&a!==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 r=Qe2(e),u;if(r.date){var c=Je2(r.date,a);u=qe2(c.restDateString,c.year)}if(!u||isNaN(u.getTime()))return new Date(NaN);var l=u.getTime(),f=0,s;if(r.time&&(f=et2(r.time),isNaN(f)))return new Date(NaN);if(r.timezone){if(s=tt2(r.timezone),isNaN(s))return new Date(NaN)}else{var g=new Date(l+f),_=new Date(0);return _.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),_.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),_}return new Date(l+f+s)}var lCt={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Ye2=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Ke2=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Xe2=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Qe2(e){var t={},n=e.split(lCt.dateTimeDelimiter),a;if(n.length>2)return t;if(/:/.test(n[0])?a=n[0]:(t.date=n[0],a=n[1],lCt.timeZoneDelimiter.test(t.date)&&(t.date=e.split(lCt.timeZoneDelimiter)[0],a=e.substr(t.date.length,e.length))),a){var r=lCt.timezone.exec(a);r?(t.time=a.replace(r[1],""),t.timezone=r[1]):t.time=a}return t}function Je2(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),a=e.match(n);if(!a)return{year:NaN,restDateString:""};var r=a[1]?parseInt(a[1]):null,u=a[2]?parseInt(a[2]):null;return{year:u===null?r:u*100,restDateString:e.slice((a[1]||a[2]).length)}}function qe2(e,t){if(t===null)return new Date(NaN);var n=e.match(Ye2);if(!n)return new Date(NaN);var a=!!n[4],r=Q_t(n[1]),u=Q_t(n[2])-1,c=Q_t(n[3]),l=Q_t(n[4]),f=Q_t(n[5])-1;if(a)return ot2(t,l,f)?nt2(t,l,f):new Date(NaN);var s=new Date(0);return!at2(t,u,c)||!it2(t,r)?new Date(NaN):(s.setUTCFullYear(t,u,Math.max(r,c)),s)}function Q_t(e){return e?parseInt(e):1}function et2(e){var t=e.match(Ke2);if(!t)return NaN;var n=JDn(t[1]),a=JDn(t[2]),r=JDn(t[3]);return ut2(n,a,r)?n*tCt+a*eCt+r*1e3:NaN}function JDn(e){return e&&parseFloat(e.replace(",","."))||0}function tt2(e){if(e==="Z")return 0;var t=e.match(Xe2);if(!t)return 0;var n=t[1]==="+"?-1:1,a=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return ct2(a,r)?n*(a*tCt+r*eCt):NaN}function nt2(e,t,n){var a=new Date(0);a.setUTCFullYear(e,0,4);var r=a.getUTCDay()||7,u=(t-1)*7+n+1-r;return a.setUTCDate(a.getUTCDate()+u),a}var rt2=[31,null,31,30,31,30,31,31,30,31,30,31];function _Tn(e){return e%400===0||e%4===0&&e%100!==0}function at2(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(rt2[t]||(_Tn(e)?29:28))}function it2(e,t){return t>=1&&t<=(_Tn(e)?366:365)}function ot2(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function ut2(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function ct2(e,t){return t>=0&&t<=59}function lt2(e,t){var n,a;re(1,arguments);var r=ae(e);if(isNaN(r.getTime()))throw new RangeError("Invalid time value");var u=String((n=t==null?void 0:t.format)!==null&&n!==void 0?n:"extended"),c=String((a=t==null?void 0:t.representation)!==null&&a!==void 0?a:"complete");if(u!=="extended"&&u!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(c!=="date"&&c!=="time"&&c!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var l="",f="",s=u==="extended"?"-":"",g=u==="extended"?":":"";if(c!=="time"){var _=Fe(r.getDate(),2),m=Fe(r.getMonth()+1,2),v=Fe(r.getFullYear(),4);l="".concat(v).concat(s).concat(m).concat(s).concat(_)}if(c!=="date"){var C=r.getTimezoneOffset();if(C!==0){var h=Math.abs(C),b=Fe(Math.floor(h/60),2),p=Fe(h%60,2),y=C<0?"+":"-";f="".concat(y).concat(b,":").concat(p)}else f="Z";var w=Fe(r.getHours(),2),E=Fe(r.getMinutes(),2),M=Fe(r.getSeconds(),2),j=l===""?"":"T",k=[w,E,M].join(g);l="".concat(l).concat(j).concat(k).concat(f)}return l}function ft2(e,t){re(2,arguments);var n=ae(e).getTime(),a=ae(t.start).getTime(),r=ae(t.end).getTime();if(!(a<=r))throw new RangeError("Invalid interval");return n>=a&&n<=r}var qDn={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(f,s){switch(f){case"P":return s.date({width:"short"});case"PP":return s.date({width:"medium"});case"PPP":return s.date({width:"long"});case"PPPP":default:return s.date({width:"full"})}},a=function(f,s){switch(f){case"p":return s.time({width:"short"});case"pp":return s.time({width:"medium"});case"ppp":return s.time({width:"long"});case"pppp":default:return s.time({width:"full"})}},r=function(f,s){var g=f.match(/(P+)(p+)?/)||[],_=g[1],m=g[2];if(!m)return n(f,s);var v;switch(_){case"P":v=s.dateTime({width:"short"});break;case"PP":v=s.dateTime({width:"medium"});break;case"PPP":v=s.dateTime({width:"long"});break;case"PPPP":default:v=s.dateTime({width:"full"});break}return v.replace("{{date}}",n(_,s)).replace("{{time}}",a(m,s))},u={p:a,P:r},c=u;t.default=c,e.exports=t.default})(qDn,qDn.exports);var st2=qDn.exports;const dt2=ej(st2),gt2={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"},_t2={year:"yyyy",month:"LLLL",monthShort:"MMM",dayOfMonth:"d",weekday:"EEEE",weekdayShort:"EEEEEE",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 mt2{constructor(t){this.isMUIAdapter=!0,this.isTimezoneCompatible=!1,this.lib="date-fns",this.locale=void 0,this.formats=void 0,this.formatTokenMap=gt2,this.escapedCharacters={start:"'",end:"'"},this.longFormatters=void 0,this.date=u=>typeof u>"u"?new Date:u===null?null:new Date(u),this.dateWithTimezone=u=>this.date(u),this.getTimezone=()=>"default",this.setTimezone=u=>u,this.toJsDate=u=>u,this.getCurrentLocaleCode=()=>{var u;return((u=this.locale)==null?void 0:u.code)||"en-US"},this.is12HourCycleInCurrentLocale=()=>this.locale?/a/.test(this.locale.formatLong.time({width:"short"})):!0,this.expandFormat=u=>{const c=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;return u.match(c).map(l=>{const f=l[0];if(f==="p"||f==="P"){const s=this.longFormatters[f];return s(l,this.locale.formatLong)}return l}).join("")},this.getFormatHelperText=u=>this.expandFormat(u).replace(/(aaa|aa|a)/g,"(a|p)m").toLocaleLowerCase(),this.isNull=u=>u===null,this.formatNumber=u=>u,this.getMeridiemText=u=>u==="am"?"AM":"PM";const{locale:n,formats:a,longFormatters:r}=t;this.locale=n,this.formats=ve({},_t2,a),this.longFormatters=r}}class mTn extends mt2{constructor({locale:t,formats:n}={}){if(typeof Qht!="function")throw new Error(["MUI: The `date-fns` package v3.x is not compatible with this adapter.","Please, install v2.x of the package or use the `AdapterDateFnsV3` instead."].join(`
|
|
35382
|
-
`));super({locale:t??aCt,formats:n,longFormatters:dt2}),this.parseISO=a=>Ge2(a),this.toISO=a=>lt2(a,{format:"extended"}),this.parse=(a,r)=>a===""?null:dTn(a,r,new Date,{locale:this.locale}),this.isValid=a=>TDn(this.date(a)),this.format=(a,r)=>this.formatByString(a,this.formats[r]),this.formatByString=(a,r)=>iCt(a,r,{locale:this.locale}),this.getDiff=(a,r,u)=>{switch(u){case"years":return dJo(a,this.date(r));case"quarters":return vJo(a,this.date(r));case"months":return RDn(a,this.date(r));case"weeks":return bJo(a,this.date(r));case"days":return VDn(a,this.date(r));case"hours":return pJo(a,this.date(r));case"minutes":return OJo(a,this.date(r));case"seconds":return TNn(a,this.date(r));default:return nCt(a,this.date(r))}},this.isEqual=(a,r)=>a===null&&r===null?!0:Hqo(a,r),this.isSameYear=(a,r)=>Rqo(a,r),this.isSameMonth=(a,r)=>Vqo(a,r),this.isSameDay=(a,r)=>Aqo(a,r),this.isSameHour=(a,r)=>Fqo(a,r),this.isAfter=(a,r)=>GDn(a,r),this.isAfterYear=(a,r)=>GDn(a,NDn(r)),this.isAfterDay=(a,r)=>GDn(a,HDn(r)),this.isBefore=(a,r)=>X_t(a,r),this.isBeforeYear=(a,r)=>X_t(a,cCt(r)),this.isBeforeDay=(a,r)=>X_t(a,$ce(r)),this.isWithinRange=(a,[r,u])=>ft2(a,{start:r,end:u}),this.startOfYear=a=>cCt(a),this.startOfMonth=a=>gTn(a),this.startOfWeek=a=>oT(a,{locale:this.locale}),this.startOfDay=a=>$ce(a),this.endOfYear=a=>NDn(a),this.endOfMonth=a=>ADn(a),this.endOfWeek=a=>FDn(a,{locale:this.locale}),this.endOfDay=a=>HDn(a),this.addYears=(a,r)=>VNn(a,r),this.addMonths=(a,r)=>qht(a,r),this.addWeeks=(a,r)=>fJo(a,r),this.addDays=(a,r)=>Qht(a,r),this.addHours=(a,r)=>lJo(a,r),this.addMinutes=(a,r)=>uJo(a,r),this.addSeconds=(a,r)=>iJo(a,r),this.getYear=a=>zqo(a),this.getMonth=a=>Sqo(a),this.getDate=a=>Pqo(a),this.getHours=a=>Eqo(a),this.getMinutes=a=>kqo(a),this.getSeconds=a=>Dqo(a),this.getMilliseconds=a=>Bqo(a),this.setYear=(a,r)=>Ue2(a,r),this.setMonth=(a,r)=>Ne2(a,r),this.setDate=(a,r)=>Re2(a,r),this.setHours=(a,r)=>Ve2(a,r),this.setMinutes=(a,r)=>Fe2(a,r),this.setSeconds=(a,r)=>Te2(a,r),this.setMilliseconds=(a,r)=>Ze2(a,r),this.getDaysInMonth=a=>nTn(a),this.getNextMonth=a=>qht(a,1),this.getPreviousMonth=a=>qht(a,-1),this.getMonthArray=a=>{const u=[cCt(a)];for(;u.length<12;){const c=u[u.length-1];u.push(this.getNextMonth(c))}return u},this.mergeDateAndTime=(a,r)=>this.setSeconds(this.setMinutes(this.setHours(a,this.getHours(r)),this.getMinutes(r)),this.getSeconds(r)),this.getWeekdays=()=>{const a=new Date;return jJo({start:oT(a,{locale:this.locale}),end:FDn(a,{locale:this.locale})}).map(r=>this.formatByString(r,"EEEEEE"))},this.getWeekArray=a=>{const r=oT(gTn(a),{locale:this.locale}),u=FDn(ADn(a),{locale:this.locale});let c=0,l=r;const f=[];for(;X_t(l,u);){const s=Math.floor(c/7);f[s]=f[s]||[],f[s].push(l),l=Qht(l,1),c+=1}return f},this.getWeekNumber=a=>xqo(a,{locale:this.locale}),this.getYearRange=(a,r)=>{const u=cCt(a),c=NDn(r),l=[];let f=u;for(;X_t(f,c);)l.push(f),f=VNn(f,1);return l}}}var vt2={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"}},ht2=function(t,n,a){var r,u=vt2[t];return typeof u=="string"?r=u:n===1?r=u.one:r=u.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"em "+r:"há "+r:r};const Ct2=ht2;var bt2={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},yt2={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pt2={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ot2={date:Hce({formats:bt2,defaultWidth:"full"}),time:Hce({formats:yt2,defaultWidth:"full"}),dateTime:Hce({formats:pt2,defaultWidth:"full"})};const jt2=Ot2;var wt2={lastWeek:function(t){var n=t.getUTCDay(),a=n===0||n===6?"último":"última";return"'"+a+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Mt2=function(t,n,a,r){var u=wt2[t];return typeof u=="function"?u(n):u};const Lt2=Mt2;var Pt2={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},Et2={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},kt2={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"]},St2={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"]},Dt2={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"}},Bt2={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"}},It2=function(t,n){var a=Number(t);return(n==null?void 0:n.unit)==="week"?a+"ª":a+"º"},Wt2={ordinalNumber:It2,era:jc({values:Pt2,defaultWidth:"wide"}),quarter:jc({values:Et2,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:jc({values:kt2,defaultWidth:"wide"}),day:jc({values:St2,defaultWidth:"wide"}),dayPeriod:jc({values:Dt2,defaultWidth:"wide",formattingValues:Bt2,defaultFormattingWidth:"wide"})};const $t2=Wt2;var xt2=/^(\d+)[ºªo]?/i,zt2=/\d+/i,Ht2={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},At2={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},Rt2={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Vt2={any:[/1/i,/2/i,/3/i,/4/i]},Ft2={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},Nt2={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]},Tt2={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},Zt2={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]},Ut2={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},Gt2={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}},Yt2={ordinalNumber:tTn({matchPattern:xt2,parsePattern:zt2,valueCallback:function(t){return parseInt(t,10)}}),era:wc({matchPatterns:Ht2,defaultMatchWidth:"wide",parsePatterns:At2,defaultParseWidth:"any"}),quarter:wc({matchPatterns:Rt2,defaultMatchWidth:"wide",parsePatterns:Vt2,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:wc({matchPatterns:Ft2,defaultMatchWidth:"wide",parsePatterns:Nt2,defaultParseWidth:"any"}),day:wc({matchPatterns:Tt2,defaultMatchWidth:"wide",parsePatterns:Zt2,defaultParseWidth:"any"}),dayPeriod:wc({matchPatterns:Ut2,defaultMatchWidth:"any",parsePatterns:Gt2,defaultParseWidth:"any"})},Kt2={code:"pt-BR",formatDistance:Ct2,formatLong:jt2,formatRelative:Lt2,localize:$t2,match:Yt2,options:{weekStartsOn:0,firstWeekContainsDate:1}};const vTn=Kt2;var hTn={exports:{}},CTn={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]},bTn={exports:{}},Xt2=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")},Qt2=Xt2,Jt2=Array.prototype.concat,qt2=Array.prototype.slice,yTn=bTn.exports=function(t){for(var n=[],a=0,r=t.length;a<r;a++){var u=t[a];Qt2(u)?n=Jt2.call(n,qt2.call(u)):n.push(u)}return n};yTn.wrap=function(e){return function(){return e(yTn(arguments))}};var en2=bTn.exports,J_t=CTn,q_t=en2,pTn=Object.hasOwnProperty,OTn=Object.create(null);for(var eBn in J_t)pTn.call(J_t,eBn)&&(OTn[J_t[eBn]]=eBn);var wr=hTn.exports={to:{},get:{}};wr.get=function(e){var t=e.substring(0,3).toLowerCase(),n,a;switch(t){case"hsl":n=wr.get.hsl(e),a="hsl";break;case"hwb":n=wr.get.hwb(e),a="hwb";break;default:n=wr.get.rgb(e),a="rgb";break}return n?{model:a,value:n}:null},wr.get.rgb=function(e){if(!e)return null;var t=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,a=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,u=/^(\w+)$/,c=[0,0,0,1],l,f,s;if(l=e.match(n)){for(s=l[2],l=l[1],f=0;f<3;f++){var g=f*2;c[f]=parseInt(l.slice(g,g+2),16)}s&&(c[3]=parseInt(s,16)/255)}else if(l=e.match(t)){for(l=l[1],s=l[3],f=0;f<3;f++)c[f]=parseInt(l[f]+l[f],16);s&&(c[3]=parseInt(s+s,16)/255)}else if(l=e.match(a)){for(f=0;f<3;f++)c[f]=parseInt(l[f+1],0);l[4]&&(l[5]?c[3]=parseFloat(l[4])*.01:c[3]=parseFloat(l[4]))}else if(l=e.match(r)){for(f=0;f<3;f++)c[f]=Math.round(parseFloat(l[f+1])*2.55);l[4]&&(l[5]?c[3]=parseFloat(l[4])*.01:c[3]=parseFloat(l[4]))}else return(l=e.match(u))?l[1]==="transparent"?[0,0,0,0]:pTn.call(J_t,l[1])?(c=J_t[l[1]],c[3]=1,c):null:null;for(f=0;f<3;f++)c[f]=HO(c[f],0,255);return c[3]=HO(c[3],0,1),c},wr.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*)?\)$/,n=e.match(t);if(n){var a=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,u=HO(parseFloat(n[2]),0,100),c=HO(parseFloat(n[3]),0,100),l=HO(isNaN(a)?1:a,0,1);return[r,u,c,l]}return null},wr.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*)?\)$/,n=e.match(t);if(n){var a=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,u=HO(parseFloat(n[2]),0,100),c=HO(parseFloat(n[3]),0,100),l=HO(isNaN(a)?1:a,0,1);return[r,u,c,l]}return null},wr.to.hex=function(){var e=q_t(arguments);return"#"+fCt(e[0])+fCt(e[1])+fCt(e[2])+(e[3]<1?fCt(Math.round(e[3]*255)):"")},wr.to.rgb=function(){var e=q_t(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]+")"},wr.to.rgb.percent=function(){var e=q_t(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+n+"%, "+a+"%)":"rgba("+t+"%, "+n+"%, "+a+"%, "+e[3]+")"},wr.to.hsl=function(){var e=q_t(arguments);return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},wr.to.hwb=function(){var e=q_t(arguments),t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},wr.to.keyword=function(e){return OTn[e.slice(0,3)]};function HO(e,t,n){return Math.min(Math.max(t,e),n)}function fCt(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var tn2=hTn.exports;const emt=CTn,jTn={};for(const e of Object.keys(emt))jTn[emt[e]]=e;const ye={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 wTn=ye;for(const e of Object.keys(ye)){if(!("channels"in ye[e]))throw new Error("missing channels property: "+e);if(!("labels"in ye[e]))throw new Error("missing channel labels property: "+e);if(ye[e].labels.length!==ye[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=ye[e];delete ye[e].channels,delete ye[e].labels,Object.defineProperty(ye[e],"channels",{value:t}),Object.defineProperty(ye[e],"labels",{value:n})}ye.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.min(t,n,a),u=Math.max(t,n,a),c=u-r;let l,f;u===r?l=0:t===u?l=(n-a)/c:n===u?l=2+(a-t)/c:a===u&&(l=4+(t-n)/c),l=Math.min(l*60,360),l<0&&(l+=360);const s=(r+u)/2;return u===r?f=0:s<=.5?f=c/(u+r):f=c/(2-u-r),[l,f*100,s*100]},ye.rgb.hsv=function(e){let t,n,a,r,u;const c=e[0]/255,l=e[1]/255,f=e[2]/255,s=Math.max(c,l,f),g=s-Math.min(c,l,f),_=function(m){return(s-m)/6/g+1/2};return g===0?(r=0,u=0):(u=g/s,t=_(c),n=_(l),a=_(f),c===s?r=a-n:l===s?r=1/3+t-a:f===s&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,u*100,s*100]},ye.rgb.hwb=function(e){const t=e[0],n=e[1];let a=e[2];const r=ye.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(n,a));return a=1-1/255*Math.max(t,Math.max(n,a)),[r,u*100,a*100]},ye.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.min(1-t,1-n,1-a),u=(1-t-r)/(1-r)||0,c=(1-n-r)/(1-r)||0,l=(1-a-r)/(1-r)||0;return[u*100,c*100,l*100,r*100]};function nn2(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}ye.rgb.keyword=function(e){const t=jTn[e];if(t)return t;let n=1/0,a;for(const r of Object.keys(emt)){const u=emt[r],c=nn2(e,u);c<n&&(n=c,a=r)}return a},ye.keyword.rgb=function(e){return emt[e]},ye.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,a=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;const r=t*.4124+n*.3576+a*.1805,u=t*.2126+n*.7152+a*.0722,c=t*.0193+n*.1192+a*.9505;return[r*100,u*100,c*100]},ye.rgb.lab=function(e){const t=ye.rgb.xyz(e);let n=t[0],a=t[1],r=t[2];n/=95.047,a/=100,r/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const u=116*a-16,c=500*(n-a),l=200*(a-r);return[u,c,l]},ye.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,a=e[2]/100;let r,u,c;if(n===0)return c=a*255,[c,c,c];a<.5?r=a*(1+n):r=a+n-a*n;const l=2*a-r,f=[0,0,0];for(let s=0;s<3;s++)u=t+1/3*-(s-1),u<0&&u++,u>1&&u--,6*u<1?c=l+(r-l)*6*u:2*u<1?c=r:3*u<2?c=l+(r-l)*(2/3-u)*6:c=l,f[s]=c*255;return f},ye.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,a=e[2]/100,r=n;const u=Math.max(a,.01);a*=2,n*=a<=1?a:2-a,r*=u<=1?u:2-u;const c=(a+n)/2,l=a===0?2*r/(u+r):2*n/(a+n);return[t,l*100,c*100]},ye.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let a=e[2]/100;const r=Math.floor(t)%6,u=t-Math.floor(t),c=255*a*(1-n),l=255*a*(1-n*u),f=255*a*(1-n*(1-u));switch(a*=255,r){case 0:return[a,f,c];case 1:return[l,a,c];case 2:return[c,a,f];case 3:return[c,l,a];case 4:return[f,c,a];case 5:return[a,c,l]}},ye.hsv.hsl=function(e){const t=e[0],n=e[1]/100,a=e[2]/100,r=Math.max(a,.01);let u,c;c=(2-n)*a;const l=(2-n)*r;return u=n*r,u/=l<=1?l:2-l,u=u||0,c/=2,[t,u*100,c*100]},ye.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,a=e[2]/100;const r=n+a;let u;r>1&&(n/=r,a/=r);const c=Math.floor(6*t),l=1-a;u=6*t-c,c&1&&(u=1-u);const f=n+u*(l-n);let s,g,_;switch(c){default:case 6:case 0:s=l,g=f,_=n;break;case 1:s=f,g=l,_=n;break;case 2:s=n,g=l,_=f;break;case 3:s=n,g=f,_=l;break;case 4:s=f,g=n,_=l;break;case 5:s=l,g=n,_=f;break}return[s*255,g*255,_*255]},ye.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100,r=e[3]/100,u=1-Math.min(1,t*(1-r)+r),c=1-Math.min(1,n*(1-r)+r),l=1-Math.min(1,a*(1-r)+r);return[u*255,c*255,l*255]},ye.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100;let r,u,c;return r=t*3.2406+n*-1.5372+a*-.4986,u=t*-.9689+n*1.8758+a*.0415,c=t*.0557+n*-.204+a*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,r=Math.min(Math.max(0,r),1),u=Math.min(Math.max(0,u),1),c=Math.min(Math.max(0,c),1),[r*255,u*255,c*255]},ye.xyz.lab=function(e){let t=e[0],n=e[1],a=e[2];t/=95.047,n/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;const r=116*n-16,u=500*(t-n),c=200*(n-a);return[r,u,c]},ye.lab.xyz=function(e){const t=e[0],n=e[1],a=e[2];let r,u,c;u=(t+16)/116,r=n/500+u,c=u-a/200;const l=u**3,f=r**3,s=c**3;return u=l>.008856?l:(u-16/116)/7.787,r=f>.008856?f:(r-16/116)/7.787,c=s>.008856?s:(c-16/116)/7.787,r*=95.047,u*=100,c*=108.883,[r,u,c]},ye.lab.lch=function(e){const t=e[0],n=e[1],a=e[2];let r;r=Math.atan2(a,n)*360/2/Math.PI,r<0&&(r+=360);const c=Math.sqrt(n*n+a*a);return[t,c,r]},ye.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI,u=n*Math.cos(r),c=n*Math.sin(r);return[t,u,c]},ye.rgb.ansi16=function(e,t=null){const[n,a,r]=e;let u=t===null?ye.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),u===0)return 30;let c=30+(Math.round(r/255)<<2|Math.round(a/255)<<1|Math.round(n/255));return u===2&&(c+=60),c},ye.hsv.ansi16=function(e){return ye.rgb.ansi16(ye.hsv.rgb(e),e[2])},ye.rgb.ansi256=function(e){const t=e[0],n=e[1],a=e[2];return t===n&&n===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(a/255*5)},ye.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 n=(~~(e>50)+1)*.5,a=(t&1)*n*255,r=(t>>1&1)*n*255,u=(t>>2&1)*n*255;return[a,r,u]},ye.ansi256.rgb=function(e){if(e>=232){const u=(e-232)*10+8;return[u,u,u]}e-=16;let t;const n=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,a,r]},ye.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n},ye.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 n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const a=parseInt(n,16),r=a>>16&255,u=a>>8&255,c=a&255;return[r,u,c]},ye.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.max(Math.max(t,n),a),u=Math.min(Math.min(t,n),a),c=r-u;let l,f;return c<1?l=u/(1-c):l=0,c<=0?f=0:r===t?f=(n-a)/c%6:r===n?f=2+(a-t)/c:f=4+(t-n)/c,f/=6,f%=1,[f*360,c*100,l*100]},ye.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,a=n<.5?2*t*n:2*t*(1-n);let r=0;return a<1&&(r=(n-.5*a)/(1-a)),[e[0],a*100,r*100]},ye.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,a=t*n;let r=0;return a<1&&(r=(n-a)/(1-a)),[e[0],a*100,r*100]},ye.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,a=e[2]/100;if(n===0)return[a*255,a*255,a*255];const r=[0,0,0],u=t%1*6,c=u%1,l=1-c;let f=0;switch(Math.floor(u)){case 0:r[0]=1,r[1]=c,r[2]=0;break;case 1:r[0]=l,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=c;break;case 3:r[0]=0,r[1]=l,r[2]=1;break;case 4:r[0]=c,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=l}return f=(1-n)*a,[(n*r[0]+f)*255,(n*r[1]+f)*255,(n*r[2]+f)*255]},ye.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,a=t+n*(1-t);let r=0;return a>0&&(r=t/a),[e[0],r*100,a*100]},ye.hcg.hsl=function(e){const t=e[1]/100,a=e[2]/100*(1-t)+.5*t;let r=0;return a>0&&a<.5?r=t/(2*a):a>=.5&&a<1&&(r=t/(2*(1-a))),[e[0],r*100,a*100]},ye.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,a=t+n*(1-t);return[e[0],(a-t)*100,(1-a)*100]},ye.hwb.hcg=function(e){const t=e[1]/100,a=1-e[2]/100,r=a-t;let u=0;return r<1&&(u=(a-r)/(1-r)),[e[0],r*100,u*100]},ye.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},ye.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},ye.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},ye.gray.hsl=function(e){return[0,0,e[0]]},ye.gray.hsv=ye.gray.hsl,ye.gray.hwb=function(e){return[0,100,e[0]]},ye.gray.cmyk=function(e){return[0,0,0,e[0]]},ye.gray.lab=function(e){return[e[0],0,0]},ye.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,a=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(a.length)+a},ye.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const sCt=wTn;function rn2(){const e={},t=Object.keys(sCt);for(let n=t.length,a=0;a<n;a++)e[t[a]]={distance:-1,parent:null};return e}function an2(e){const t=rn2(),n=[e];for(t[e].distance=0;n.length;){const a=n.pop(),r=Object.keys(sCt[a]);for(let u=r.length,c=0;c<u;c++){const l=r[c],f=t[l];f.distance===-1&&(f.distance=t[a].distance+1,f.parent=a,n.unshift(l))}}return t}function in2(e,t){return function(n){return t(e(n))}}function on2(e,t){const n=[t[e].parent,e];let a=sCt[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),a=in2(sCt[t[r].parent][r],a),r=t[r].parent;return a.conversion=n,a}var un2=function(e){const t=an2(e),n={},a=Object.keys(t);for(let r=a.length,u=0;u<r;u++){const c=a[u];t[c].parent!==null&&(n[c]=on2(c,t))}return n};const tBn=wTn,cn2=un2,Ace={},ln2=Object.keys(tBn);function fn2(e){const t=function(...n){const a=n[0];return a==null?a:(a.length>1&&(n=a),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function sn2(e){const t=function(...n){const a=n[0];if(a==null)return a;a.length>1&&(n=a);const r=e(n);if(typeof r=="object")for(let u=r.length,c=0;c<u;c++)r[c]=Math.round(r[c]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}ln2.forEach(e=>{Ace[e]={},Object.defineProperty(Ace[e],"channels",{value:tBn[e].channels}),Object.defineProperty(Ace[e],"labels",{value:tBn[e].labels});const t=cn2(e);Object.keys(t).forEach(a=>{const r=t[a];Ace[e][a]=sn2(r),Ace[e][a].raw=fn2(r)})});var dn2=Ace;const Rce=tn2,Mr=dn2,MTn=["keyword","gray","hex"],nBn={};for(const e of Object.keys(Mr))nBn[[...Mr[e].labels].sort().join("")]=e;const dCt={};function Xt(e,t){if(!(this instanceof Xt))return new Xt(e,t);if(t&&t in MTn&&(t=null),t&&!(t in Mr))throw new Error("Unknown model: "+t);let n,a;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Xt)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const r=Rce.get(e);if(r===null)throw new Error("Unable to parse color from string: "+e);this.model=r.model,a=Mr[this.model].channels,this.color=r.value.slice(0,a),this.valpha=typeof r.value[a]=="number"?r.value[a]:1}else if(e.length>0){this.model=t||"rgb",a=Mr[this.model].channels;const r=Array.prototype.slice.call(e,0,a);this.color=rBn(r,a),this.valpha=typeof e[a]=="number"?e[a]: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 r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const u=r.sort().join("");if(!(u in nBn))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=nBn[u];const{labels:c}=Mr[this.model],l=[];for(n=0;n<c.length;n++)l.push(e[c[n]]);this.color=rBn(l)}if(dCt[this.model])for(a=Mr[this.model].channels,n=0;n<a;n++){const r=dCt[this.model][n];r&&(this.color[n]=r(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Xt.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in Rce.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);const n=t.valpha===1?t.color:[...t.color,this.valpha];return Rce.to[t.model](n)},percentString(e){const t=this.rgb().round(typeof e=="number"?e:1),n=t.valpha===1?t.color:[...t.color,this.valpha];return Rce.to.rgb.percent(n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=Mr[this.model],{labels:n}=Mr[this.model];for(let a=0;a<t;a++)e[n[a]]=this.color[a];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 Xt([...this.color.map(_n2(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new Xt([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:$t("rgb",0,Tt(255)),green:$t("rgb",1,Tt(255)),blue:$t("rgb",2,Tt(255)),hue:$t(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:$t("hsl",1,Tt(100)),lightness:$t("hsl",2,Tt(100)),saturationv:$t("hsv",1,Tt(100)),value:$t("hsv",2,Tt(100)),chroma:$t("hcg",1,Tt(100)),gray:$t("hcg",2,Tt(100)),white:$t("hwb",1,Tt(100)),wblack:$t("hwb",2,Tt(100)),cyan:$t("cmyk",0,Tt(100)),magenta:$t("cmyk",1,Tt(100)),yellow:$t("cmyk",2,Tt(100)),black:$t("cmyk",3,Tt(100)),x:$t("xyz",0,Tt(95.047)),y:$t("xyz",1,Tt(100)),z:$t("xyz",2,Tt(108.833)),l:$t("lab",0,Tt(100)),a:$t("lab",1),b:$t("lab",2),keyword(e){return e!==void 0?new Xt(e):Mr[this.model].keyword(this.color)},hex(e){return e!==void 0?new Xt(e):Rce.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new Xt(e);const t=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),Rce.to.hex(t)+n},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[n,a]of e.entries()){const r=a/255;t[n]=r<=.04045?r/12.92:((r+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.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 Xt.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 n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,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 n=e.rgb(),a=this.rgb(),r=t===void 0?.5:t,u=2*r-1,c=n.alpha()-a.alpha(),l=((u*c===-1?u:(u+c)/(1+u*c))+1)/2,f=1-l;return Xt.rgb(l*n.red()+f*a.red(),l*n.green()+f*a.green(),l*n.blue()+f*a.blue(),n.alpha()*r+a.alpha()*(1-r))}};for(const e of Object.keys(Mr)){if(MTn.includes(e))continue;const{channels:t}=Mr[e];Xt.prototype[e]=function(...n){return this.model===e?new Xt(this):n.length>0?new Xt(n,e):new Xt([...mn2(Mr[this.model][e].raw(this.color)),this.valpha],e)},Xt[e]=function(...n){let a=n[0];return typeof a=="number"&&(a=rBn(n,t)),new Xt(a,e)}}function gn2(e,t){return Number(e.toFixed(t))}function _n2(e){return function(t){return gn2(t,e)}}function $t(e,t,n){e=Array.isArray(e)?e:[e];for(const a of e)(dCt[a]||(dCt[a]=[]))[t]=n;return e=e[0],function(a){let r;return a!==void 0?(n&&(a=n(a)),r=this[e](),r.color[t]=a,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function Tt(e){return function(t){return Math.max(0,Math.min(e,t))}}function mn2(e){return Array.isArray(e)?e:[e]}function rBn(e,t){for(let n=0;n<t;n++)typeof e[n]!="number"&&(e[n]=0);return e}var vn2=Xt;const hn2=ej(vn2),LTn=e=>hn2(e).luminosity(),Cn2=Object.freeze(Object.defineProperty({__proto__:null,getLuminosity:LTn},Symbol.toStringTag,{value:"Module"})),_t={0:"#FFFFFF",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#212B36",900:"#161C24"},bn2={lighter:"#3aa4f2",light:"#7bc2f6",main:"#0E82D8",dark:"#0b61a2",darker:"#07416c",contrastText:"#fff"},yn2={lighter:"#D6E4FF",light:"#84A9FF",main:"#3366FF",dark:"#1939B7",darker:"#091A7A",contrastText:"#fff"},pn2={lighter:"#CAFDF5",light:"#61F3F3",main:"#00B8D9",dark:"#006C9C",darker:"#003768",contrastText:"#fff"},On2={lighter:"#D8FBDE",light:"#86E8AB",main:"#36B37E",dark:"#1B806A",darker:"#0A5554",contrastText:"#fff"},jn2={lighter:"#FFF5CC",light:"#FFD666",main:"#FFAB00",dark:"#B76E00",darker:"#7A4100",contrastText:_t[800]},Vce={common:{black:"#000",white:"#fff"},primary:bn2,secondary:yn2,info:pn2,success:On2,warning:jn2,error:{lighter:"#FFE9D5",light:"#FFAC82",main:"#FF5630",dark:"#B71D18",darker:"#7A0916",contrastText:"#fff"},grey:_t,divider:Q(_t[500],.24),action:{hover:Q(_t[500],.08),selected:Q(_t[500],.16),disabled:Q(_t[500],.8),disabledBackground:Q(_t[500],.24),focus:Q(_t[500],.24),hoverOpacity:.08,disabledOpacity:.48}},AO=e=>{const t={...Vce,mode:"light",text:{primary:_t[800],secondary:_t[600],disabled:_t[500]},background:{paper:"#fff",default:_t[100],neutral:_t[200]},action:{...Vce.action,active:_t[600]}},n={...Vce,mode:"dark",text:{primary:"#fff",secondary:_t[500],disabled:_t[600]},background:{paper:_t[800],default:_t[900],neutral:Q(_t[500],.16)},action:{...Vce.action,active:_t[500]}};return e==="light"?t:n},wn2=e=>({lighter:Mbt(e,.815),light:Mbt(e,.225),main:e,dark:wbt(e,.15),darker:wbt(e,.35)}),Mn2=e=>LTn(e)<=.55?"#fff":_t[900],PTn=e=>{const t=wn2(e);return{...Vce,primary:{...t,contrastText:Mn2(t.main)},mode:"light",text:{primary:_t[800],secondary:_t[600],disabled:_t[500]},background:{paper:"#fff",default:_t[100],neutral:_t[200]},action:{active:_t[600],...Vce.action}}},ETn=AO("light"),Ln2=ETn.grey[500],Pn2=ETn.common.black;function kTn(e,t){const n=Q(e,.16);return{z1:`0 1px 2px 0 ${n}`,z4:`0 4px 8px 0 ${n}`,z8:`0 8px 16px 0 ${n}`,z12:`0 12px 24px -4px ${n}`,z16:`0 16px 32px -4px ${n}`,z20:`0 20px 40px -4px ${n}`,z24:`0 24px 48px 0 ${n}`,primary:`0 8px 16px 0 ${Q(t||AO("light").primary.main,.24)}`,info:`0 8px 16px 0 ${Q(AO("light").info.main,.24)}`,secondary:`0 8px 16px 0 ${Q(AO("light").secondary.main,.24)}`,success:`0 8px 16px 0 ${Q(AO("light").success.main,.24)}`,warning:`0 8px 16px 0 ${Q(AO("light").warning.main,.24)}`,error:`0 8px 16px 0 ${Q(AO("light").error.main,.24)}`,card:`0 0 2px 0 ${Q(e,.2)}, 0 12px 24px -4px ${Q(e,.12)}`,dialog:`-40px 40px 80px -8px ${Q(e,.24)}`,dropdown:`0 0 2px 0 ${Q(e,.24)}, -20px 20px 40px -4px ${Q(e,.24)}`}}const STn=(e,t)=>kTn(e==="light"?Ln2:Pn2,t),DTn=()=>d.jsx(O.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"}}}}),En2=["primary","secondary","info","success","warning","error"];function kn2(e){const t=e.palette.mode==="light",n=a=>{const r=a.color==="default",u=a.color==="inherit",c=a.variant==="circular",l=a.variant==="extended",f=a.variant==="outlined",s=a.variant==="outlinedExtended",g=a.variant==="soft",_=a.variant==="softExtended",m={"&:hover, &:active":{boxShadow:"none"},...(c||l)&&{...(r||u)&&{color:e.palette.grey[800],boxShadow:e.customShadows.z8,"&:hover":{backgroundColor:e.palette.grey[400]}},...u&&{...!t&&{color:"inherit",backgroundColor:e.palette.grey[800],"&:hover":{backgroundColor:e.palette.grey[700]}}}},...(f||s)&&{boxShadow:"none",backgroundColor:"transparent",...(r||u)&&{border:`solid 1px ${Q(e.palette.grey[500],.32)}`,"&:hover":{backgroundColor:e.palette.action.hover}},...r&&{...!t&&{color:e.palette.text.secondary}}},...(g||_)&&{boxShadow:"none",...r&&{color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey[400]}},...u&&{backgroundColor:Q(e.palette.grey[500],.08),"&:hover":{backgroundColor:Q(e.palette.grey[500],.24)}}}},v=En2.map(b=>({...a.color===b&&{...(c||l)&&{boxShadow:e.customShadows[b],"&:hover":{backgroundColor:e.palette[b].dark}},...(f||s)&&{color:e.palette[b].main,border:`solid 1px ${Q(e.palette[b].main,.48)}`,"&:hover":{backgroundColor:Q(e.palette[b].main,.08),border:`solid 1px ${e.palette[b].main}`}},...(g||_)&&{color:e.palette[b][t?"dark":"light"],backgroundColor:Q(e.palette[b].main,.16),"&:hover":{backgroundColor:Q(e.palette[b].main,.32)}}}})),C={"&.Mui-disabled":{...(f||s)&&{backgroundColor:"transparent",border:`solid 1px ${e.palette.action.disabledBackground}`}}},h={...(l||s||_)&&{width:"auto","& svg":{marginRight:e.spacing(1)},...a.size==="small"&&{height:34,minHeight:34,borderRadius:17,padding:e.spacing(0,1)},...a.size==="medium"&&{height:40,minHeight:40,borderRadius:20,padding:e.spacing(0,2)},...a.size==="large"&&{height:48,minHeight:48,borderRadius:24,padding:e.spacing(0,2)}}};return[...v,m,C,h]};return{MuiFab:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function Sn2(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 Dn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 BTn(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Bn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 In2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Wn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 $n2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 xn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 zn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Hn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 An2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Rn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Vn2(e){return d.jsx(O.SvgIcon,{...e,sx:{right:12,fontSize:16,position:"absolute",pointerEvents:"none"},children:d.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 Fn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Nn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Tn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Zn2=["primary","secondary","info","success","warning","error"];function Un2(e){const t=e.palette.mode==="light",n=a=>{const r=a.color==="default",u=a.variant==="filled",c=a.variant==="outlined",l=a.variant==="soft",f={...r&&{"& .MuiChip-avatar":{color:e.palette.text[t?"secondary":"primary"],backgroundColor:Q(e.palette.grey[500],.48)},...c&&{border:`solid 1px ${Q(e.palette.grey[500],.32)}`},...l&&{color:e.palette.text.primary,backgroundColor:Q(e.palette.grey[500],.16),"&:hover":{backgroundColor:Q(e.palette.grey[500],.32)}}}};return[...Zn2.map(g=>({...a.color===g&&{"& .MuiChip-avatar":{color:e.palette[g].lighter,backgroundColor:e.palette[g].dark},...u&&{"& .MuiChip-deleteIcon":{color:Q(e.palette[g].contrastText,.56),"&:hover":{color:e.palette[g].contrastText}}},...l&&{color:e.palette[g][t?"dark":"light"],backgroundColor:Q(e.palette[g].main,.16),"&:hover":{backgroundColor:Q(e.palette[g].main,.32)},"& .MuiChip-deleteIcon":{color:Q(e.palette[g][t?"dark":"light"],.48),"&:hover":{color:e.palette[g].dark}}}}})),f]};return{MuiChip:{defaultProps:{deleteIcon:d.jsx(Dn2,{})},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function Gn2(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,textTransform:"none","&: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 Yn2(e){return{MuiMenuItem:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}}}}}}}function Kn2(e){return{MuiLink:{defaultProps:{underline:"hover"}}}}function Xn2(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 Qn2(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 Jn2=["info","success","warning","error"];function qn2(e){const t=e.palette.mode==="light",n=a=>{const r=a.variant==="standard",u=a.variant==="filled",c=a.variant==="outlined";return[...Jn2.map(f=>({...a.severity===f&&{...r&&{color:e.palette[f][t?"darker":"lighter"],backgroundColor:e.palette[f][t?"lighter":"darker"],"& .MuiAlert-icon":{color:e.palette[f][t?"main":"light"]}},...u&&{color:e.palette[f].contrastText,backgroundColor:e.palette[f].main},...c&&{color:e.palette[f][t?"dark":"light"],border:`solid 1px ${e.palette[f].main}`,"& .MuiAlert-icon":{color:e.palette[f].main}}}}))]};return{MuiAlert:{defaultProps:{iconMapping:{info:d.jsx(Bn2,{}),success:d.jsx(Wn2,{}),warning:d.jsx(In2,{}),error:d.jsx($n2,{})}},styleOverrides:{root:({ownerState:a})=>n(a),icon:{opacity:1}}},MuiAlertTitle:{styleOverrides:{root:{marginBottom:e.spacing(.5)}}}}}function er2(e){return{MuiBadge:{styleOverrides:{dot:{width:10,height:10,borderRadius:"50%"}}}}}function tr2(e){return{MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"}}}}}function nr2(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:Q(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:Q(e.palette.grey[500],.08),"&:hover":{backgroundColor:Q(e.palette.grey[500],.16)},"&.Mui-focused":{backgroundColor:Q(e.palette.grey[500],.16)},"&.Mui-disabled":{backgroundColor:e.palette.action.disabledBackground}},underline:{"&:before, :after":{display:"none"}}}},MuiOutlinedInput:{styleOverrides:{root:{"& .MuiOutlinedInput-notchedOutline":{borderColor:Q(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 rr2(e){return{MuiRadio:{defaultProps:{icon:d.jsx(An2,{}),checkedIcon:d.jsx(Rn2,{})},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 ar2(e){const t=e.palette.mode==="light";return{MuiDrawer:{styleOverrides:{root:({ownerState:n})=>({...n.variant==="temporary"&&{"& .MuiDrawer-paper":{boxShadow:`-40px 40px 80px -8px ${Q(t?e.palette.grey[500]:e.palette.common.black,.24)}`}}})}}}}function ir2(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 or2(e){return{MuiAvatar:{styleOverrides:{colorDefault:{color:e.palette.text.secondary,backgroundColor:Q(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 ur2(e){return{MuiRating:{defaultProps:{emptyIcon:d.jsx(BTn,{}),icon:d.jsx(BTn,{})},styleOverrides:{root:{"&.Mui-disabled":{opacity:.48}},iconEmpty:{color:Q(e.palette.grey[500],.48)},sizeSmall:{"& svg":{width:20,height:20}},sizeLarge:{"& svg":{width:28,height:28}}}}}}function cr2(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 lr2=["primary","secondary","info","success","warning","error"];function fr2(e){const t=e.palette.mode==="light",n=a=>{const r=a.color==="inherit",u=a.variant==="contained",c=a.variant==="outlined",l=a.variant==="text",f=a.variant==="soft",s=a.size==="small",g=a.size==="large",_={textTransform:"none",fontFamily:"inherit",...r&&{...u&&{color:e.palette.grey[800],"&:hover":{boxShadow:e.customShadows.z8,backgroundColor:e.palette.grey[400]}},...c&&{borderColor:Q(e.palette.grey[500],.32),"&:hover":{borderColor:e.palette.text.primary,backgroundColor:e.palette.action.hover}},...l&&{"&:hover":{backgroundColor:e.palette.action.hover}},...f&&{color:e.palette.text.primary,backgroundColor:Q(e.palette.grey[500],.08),"&:hover":{backgroundColor:Q(e.palette.grey[500],.24)}}}},m=lr2.map(h=>({...a.color===h&&{...u&&{"&:hover":{boxShadow:e.customShadows[h]}},...f&&{color:e.palette[h][t?"dark":"light"],backgroundColor:Q(e.palette[h].main,.16),"&:hover":{backgroundColor:Q(e.palette[h].main,.32)}}}})),v={"&.Mui-disabled":{...f&&{backgroundColor:e.palette.action.disabledBackground}}},C={...s&&{height:30,fontSize:13,...f&&{padding:"4px 10px"}},...g&&{height:48,fontSize:15,...f&&{padding:"8px 22px"}}};return[...m,_,v,C]};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function sr2(e){const t=e.palette.mode==="light",n=a=>({padding:"9px 13px 9px 12px",width:58,height:38,...a.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`,...a.size==="small"&&{width:10,height:10}},"& .MuiSwitch-track":{opacity:1,borderRadius:14,backgroundColor:Q(e.palette.grey[500],.48)},"& .MuiSwitch-switchBase":{left:3,padding:12,...a.size==="small"&&{padding:7},"&.Mui-checked":{transform:"translateX(13px)","&+.MuiSwitch-track":{opacity:1},...a.size==="small"&&{transform:"translateX(9px)"}},"&.Mui-disabled":{"& .MuiSwitch-thumb":{opacity:t?1:.48},"&+.MuiSwitch-track":{opacity:.48}}}});return{MuiSwitch:{styleOverrides:{root:({ownerState:a})=>n(a)}}}}function dr2(e){return{MuiSelect:{defaultProps:{IconComponent:Vn2}}}}function gr2(e){return{MuiSvgIcon:{styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}}}}function _r2(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 mr2(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5}}}}}function vr2(e){return{MuiStepConnector:{styleOverrides:{line:{borderColor:e.palette.divider}}}}}function hr2(e){return{MuiDataGrid:{styleOverrides:{root:{border:0,padding:8,"& .MuiTablePagination-root":{borderTop:0},"& .MuiDataGrid-columnHeader:focus, .MuiDataGrid-cell:focus, .MuiDataGrid-columnHeader:focus-within, .MuiDataGrid-cell:focus-within":{outline:"none"}},main:{backgroundColor:"#F5F5F5",borderRadius:8,outline:"8px solid #F5F5F5"},columnHeader:{fontSize:13,fontWeight:600,color:e.palette.grey[600],padding:"0 16px",borderColor:"transparent"},row:{borderRadius:8,backgroundColor:"#FFFFFF",color:e.palette.grey[800]},rowReorderCell:{color:e.palette.grey[400]},cell:{borderBottom:0,padding:"0 16px"},columnSeparator:{color:e.palette.divider,"&:hover":{color:e.palette.primary.main}},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}}},overlayWrapper:{height:"100% !important"},overlayWrapperInner:{height:"100% !important"}}}}}function Cr2(e){return{MuiSkeleton:{defaultProps:{animation:"wave"},styleOverrides:{root:{backgroundColor:e.palette.background.neutral}}}}}function br2(e){return{MuiBackdrop:{styleOverrides:{root:{backgroundColor:Q(e.palette.grey[800],.8)},invisible:{background:"transparent"}}}}}const yr2=["primary","secondary","info","success","warning","error"];function pr2(e){const t=n=>{const a=n.variant==="buffer",r={borderRadius:4,"& .MuiLinearProgress-bar":{borderRadius:4},...a&&{backgroundColor:"transparent"}};return[...yr2.map(c=>({...n.color===c&&{backgroundColor:O.alpha(e.palette[c].main,.24)}})),r]};return{MuiLinearProgress:{styleOverrides:{root:({ownerState:n})=>t(n)}}}}function Or2(e){return{MuiTimelineDot:{styleOverrides:{root:{boxShadow:"none"}}},MuiTimelineConnector:{styleOverrides:{root:{backgroundColor:e.palette.divider}}}}}function jr2(e){return{MuiTreeView:{defaultProps:{defaultCollapseIcon:d.jsx(Fn2,{sx:{width:20,height:20}}),defaultExpandIcon:d.jsx(Nn2,{sx:{width:20,height:20}}),defaultEndIcon:d.jsx(Tn2,{sx:{color:"text.secondary",width:20,height:20}})}},MuiTreeItem:{styleOverrides:{label:{...e.typography.body2},iconContainer:{width:"auto"}}}}}function wr2(e){return{MuiCheckbox:{defaultProps:{icon:d.jsx(xn2,{}),checkedIcon:d.jsx(zn2,{}),indeterminateIcon:d.jsx(Hn2,{})},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 Mr2(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 Lr2(e){return{MuiTypography:{styleOverrides:{paragraph:{marginBottom:e.spacing(2)},gutterBottom:{marginBottom:e.spacing(1)}}}}}const Pr2=["primary","secondary","info","success","warning","error"];function Er2(e){const t=e.palette.mode==="light",n=a=>{const r=a.variant==="outlined",u=a.variant==="soft",c={"& .MuiPaginationItem-root":{...r&&{borderColor:Q(e.palette.grey[500],.32)},"&.Mui-selected":{fontWeight:e.typography.fontWeightMedium}}};return[...Pr2.map(f=>({...a.color===f&&{...u&&{"& .MuiPaginationItem-root":{"&.Mui-selected":{color:e.palette[f][t?"dark":"light"],backgroundColor:Q(e.palette[f].main,.16),"&:hover":{backgroundColor:Q(e.palette[f].main,.32)}}}}}})),c]};return{MuiPagination:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function kr2(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 Sr2=["primary","secondary","info","success","warning","error"];function Dr2(e){const t=n=>{const a=n.color==="inherit",r=n.variant==="contained",u=n.variant==="outlined",c=n.variant==="text",l=n.variant==="soft",f=n.orientation==="horizontal",s=n.orientation==="vertical",g={"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!u&&{borderStyle:"solid",...a&&{borderColor:Q(e.palette.grey[500],.32)},...f&&{borderWidth:"0px 1px 0px 0px"},...s&&{borderWidth:"0px 0px 1px 0px"}}}}},_=Sr2.map(v=>({"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!u&&{...n.color===v&&{...r&&{borderColor:Q(e.palette[v].dark,.48)},...c&&{borderColor:Q(e.palette[v].main,.48)},...l&&{borderColor:Q(e.palette[v].dark,.24)}}}}}})),m={"& .MuiButtonGroup-grouped.Mui-disabled":{"&:not(:last-of-type)":{borderColor:e.palette.action.disabledBackground}}};return[..._,g,m]};return{MuiButtonGroup:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:n})=>t(n)}}}}function Br2(e){return{MuiAutocomplete:{styleOverrides:{root:{"& span.MuiAutocomplete-tag":{...e.typography.body2,width:24,height:24,lineHeight:"24px",textAlign:"center",borderRadius:e.shape.borderRadius,backgroundColor:Q(e.palette.grey[500],.16)}},paper:{boxShadow:e.customShadows.dropdown},listbox:{padding:e.spacing(0,1)},noOptions:{height:"154px",textAlign:"center",alignContent:"center"},option:{...e.typography.body2,padding:e.spacing(1),margin:e.spacing(.75,0),borderRadius:e.shape.borderRadius}}}}}const Ir2=["primary","secondary","info","success","warning","error"];function Wr2(e){const t=n=>{const r={...n.color==="standard"&&{"&.Mui-selected":{borderColor:"inherit"}}},u=Ir2.map(l=>({...n.color===l&&{"&:hover":{borderColor:Q(e.palette[l].main,.48),backgroundColor:Q(e.palette[l].main,e.palette.action.hoverOpacity)},"&.Mui-selected":{borderColor:e.palette[l].main}}})),c={"&.Mui-disabled":{"&.Mui-selected":{color:e.palette.action.disabled,backgroundColor:e.palette.action.selected,borderColor:e.palette.action.disabledBackground}}};return[...u,r,c]};return{MuiToggleButton:{styleOverrides:{root:({ownerState:n})=>t(n)}},MuiToggleButtonGroup:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper,border:`solid 1px ${Q(e.palette.grey[500],.16)}`},grouped:{margin:4,borderColor:"transparent !important",borderRadius:`${e.shape.borderRadius}px !important`}}}}}function $r2(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 xr2(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 ITn(e){return Object.assign(kn2(e),Gn2(e),Un2(e),Sn2(e),Yn2(e),Kn2(),nr2(e),rr2(e),er2(),Xn2(e),Qn2(e),tr2(),qn2(e),sr2(e),dr2(),fr2(e),ur2(e),ir2(e),or2(e),cr2(e),ar2(e),vr2(e),_r2(e),mr2(e),gr2(),wr2(e),hr2(e),Cr2(e),Or2(e),jr2(e),br2(e),pr2(e),Mr2(e),Lr2(e),Er2(e),Dr2(e),kr2(e),Br2(e),$r2(e),Wr2(e),xr2())}const WTn=AO("light"),zr2=WTn.grey[500],Hr2=WTn.common.black;function $Tn(e){const t=Q(e,.2),n=Q(e,.14),a=Q(e,.12);return["none",`0px 2px 1px -1px ${t},0px 1px 1px 0px ${n},0px 1px 3px 0px ${a}`,`0px 3px 1px -2px ${t},0px 2px 2px 0px ${n},0px 1px 5px 0px ${a}`,`0px 3px 3px -2px ${t},0px 3px 4px 0px ${n},0px 1px 8px 0px ${a}`,`0px 2px 4px -1px ${t},0px 4px 5px 0px ${n},0px 1px 10px 0px ${a}`,`0px 3px 5px -1px ${t},0px 5px 8px 0px ${n},0px 1px 14px 0px ${a}`,`0px 3px 5px -1px ${t},0px 6px 10px 0px ${n},0px 1px 18px 0px ${a}`,`0px 4px 5px -2px ${t},0px 7px 10px 1px ${n},0px 2px 16px 1px ${a}`,`0px 5px 5px -3px ${t},0px 8px 10px 1px ${n},0px 3px 14px 2px ${a}`,`0px 5px 6px -3px ${t},0px 9px 12px 1px ${n},0px 3px 16px 2px ${a}`,`0px 6px 6px -3px ${t},0px 10px 14px 1px ${n},0px 4px 18px 3px ${a}`,`0px 6px 7px -4px ${t},0px 11px 15px 1px ${n},0px 4px 20px 3px ${a}`,`0px 7px 8px -4px ${t},0px 12px 17px 2px ${n},0px 5px 22px 4px ${a}`,`0px 7px 8px -4px ${t},0px 13px 19px 2px ${n},0px 5px 24px 4px ${a}`,`0px 7px 9px -4px ${t},0px 14px 21px 2px ${n},0px 5px 26px 4px ${a}`,`0px 8px 9px -5px ${t},0px 15px 22px 2px ${n},0px 6px 28px 5px ${a}`,`0px 8px 10px -5px ${t},0px 16px 24px 2px ${n},0px 6px 30px 5px ${a}`,`0px 8px 11px -5px ${t},0px 17px 26px 2px ${n},0px 6px 32px 5px ${a}`,`0px 9px 11px -5px ${t},0px 18px 28px 2px ${n},0px 7px 34px 6px ${a}`,`0px 9px 12px -6px ${t},0px 19px 29px 2px ${n},0px 7px 36px 6px ${a}`,`0px 10px 13px -6px ${t},0px 20px 31px 3px ${n},0px 8px 38px 7px ${a}`,`0px 10px 13px -6px ${t},0px 21px 33px 3px ${n},0px 8px 40px 7px ${a}`,`0px 10px 14px -6px ${t},0px 22px 35px 3px ${n},0px 8px 42px 7px ${a}`,`0px 11px 14px -7px ${t},0px 23px 36px 3px ${n},0px 9px 44px 8px ${a}`,`0px 11px 15px -7px ${t},0px 24px 38px 3px ${n},0px 9px 46px 8px ${a}`]}const xTn=e=>$Tn(e==="light"?zr2:Hr2);function un(e){return`${e/16}rem`}function Fce({sm:e,md:t,lg:n}){return{"@media (min-width:600px)":{fontSize:un(e)},"@media (min-width:900px)":{fontSize:un(t)},"@media (min-width:1200px)":{fontSize:un(n)}}}const zTn={fontFamily:"inherit",fontWeightRegular:400,fontWeightMedium:600,fontWeightBold:700,h1:{fontWeight:800,lineHeight:80/64,fontSize:un(40),...Fce({sm:52,md:58,lg:64})},h2:{fontWeight:800,lineHeight:64/48,fontSize:un(32),...Fce({sm:40,md:44,lg:48})},h3:{fontWeight:700,lineHeight:1.5,fontSize:un(24),...Fce({sm:26,md:30,lg:32})},h4:{fontWeight:700,lineHeight:1.5,fontSize:un(20),...Fce({sm:20,md:24,lg:24})},h5:{fontWeight:700,lineHeight:1.5,fontSize:un(18),...Fce({sm:19,md:20,lg:20})},h6:{fontWeight:700,lineHeight:28/18,fontSize:un(17),...Fce({sm:18,md:18,lg:18})},subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:un(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:un(14)},body1:{lineHeight:1.5,fontSize:un(16)},body2:{lineHeight:22/14,fontSize:un(14)},caption:{lineHeight:1.5,fontSize:un(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:un(12),textTransform:"uppercase"},button:{fontWeight:700,lineHeight:24/14,fontSize:un(14),textTransform:"capitalize"}},HTn=({children:e,color:t,direction:n="ltr",themeMode:a="light"})=>{const r=o.useMemo(()=>({palette:PTn(t),typography:zTn,shape:{borderRadius:8},direction:n,shadows:xTn(a),customShadows:STn(a,t)}),[t,n,a]),u=nvt(r);return u.components=ITn(u),d.jsx(HIn,{injectFirst:!0,children:d.jsxs(Pbt,{theme:u,children:[d.jsx(O.CssBaseline,{}),d.jsx(DTn,{}),e]})})},p9u="",O9u="",j9u="",w9u="",M9u="",L9u="",Ar2=({themeColor:e,children:t})=>d.jsx(jT.LocalizationProvider,{dateAdapter:mTn,adapterLocale:vTn,children:d.jsx(kyt,{children:d.jsx(HTn,{color:e,children:d.jsx(Yzn,{children:t})})})}),Rr2=({children:e,color:t,direction:n="ltr",themeMode:a="light"})=>{const r=o.useMemo(()=>({palette:PTn(t),typography:zTn,shape:{borderRadius:8},direction:n,shadows:xTn(a),customShadows:STn(a,t)}),[t,n,a]),u=nvt(r);return u.components=ITn(u),d.jsxs(Pbt,{theme:u,children:[d.jsx(O.CssBaseline,{}),d.jsx(DTn,{}),e]})},Vr2=({themeColor:e,children:t})=>d.jsx(jT.LocalizationProvider,{dateAdapter:mTn,adapterLocale:vTn,children:d.jsx(kyt,{children:d.jsx(Rr2,{color:e,children:d.jsx(Yzn,{children:t})})})}),Fr2=({modalTitle:e="Tem certeza que deseja excluir?",message:t="Essa ação não poderá ser desfeita.",cancelButtonText:n="Cancelar",confirmButtonText:a="Sim, excluir registro",onClose:r,onConfirm:u,confirming:c,child:l,...f})=>d.jsxs(O.Dialog,{fullWidth:!0,maxWidth:"xs",...f,onClose:r,children:[d.jsx(O.DialogTitle,{children:e}),d.jsx(O.DialogContent,{children:t}),l,d.jsxs(O.DialogActions,{children:[d.jsx(O.Button,{variant:"outlined",color:"inherit",onClick:r,size:"large",children:n}),d.jsx(gIn.LoadingButton,{variant:"contained",onClick:u,size:"large",loading:c,children:a})]})]}),gCt=({sx:e})=>d.jsx(O.LinearProgress,{sx:{position:"absolute",top:0,left:0,width:1,zIndex:9999,...e}}),Nr2=({children:e,disableExport:t})=>d.jsx(Hn.GridToolbarContainer,{sx:{alignItems:"center",padding:"16px 0"},children:d.jsxs(O.Stack,{direction:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:"center",width:1,gap:2,children:[d.jsxs(O.Stack,{direction:"row",flexWrap:"wrap",alignItems:"center",children:[d.jsx(Hn.GridToolbarColumnsButton,{}),d.jsx(Hn.GridToolbarFilterButton,{}),d.jsx(Hn.GridToolbarDensitySelector,{}),!t&&d.jsx(Hn.GridToolbarExport,{})]}),d.jsx(O.Stack,{direction:"row",flexWrap:"wrap",children:e})]})}),ATn=O.styled(O.Box)({display:"flex",flexDirection:"row",alignItems:"center",padding:"0 16px"}),Tr2=()=>{var g,_;const e=Hn.useGridApiContext(),{rowHeight:t,paginationModel:n,initialState:a}=Hn.useGridRootProps(),r=(n==null?void 0:n.pageSize)||((_=(g=a==null?void 0:a.pagination)==null?void 0:g.paginationModel)==null?void 0:_.pageSize)||10,u=Hn.gridColumnsTotalWidthSelector(e),c=Hn.gridColumnPositionsSelector(e),l=o.useMemo(()=>c.filter(m=>m<=u).length,[u,c]),f=e.current.getVisibleColumns().slice(0,l),s=o.useMemo(()=>{const m=[];for(let v=0;v<r;v+=1){for(const C of f)m.push(d.jsx(ATn,{sx:{justifyContent:C.align},children:d.jsx(O.Skeleton,{width:"100%"})},`column-${v}-${C.field}`));m.push(d.jsx(ATn,{},`fill-${v}`))}return m},[r,f]);return d.jsx(O.Stack,{display:"grid",sx:{display:"grid",gridTemplateColumns:`${f.map(({computedWidth:m})=>`${m}px`).join(" ")} 1fr`,gridAutoRows:t,backgroundColor:"grey.0",borderRadius:1,overflow:"hidden"},children:s})},tmt=({text:e,sx:t})=>d.jsxs(O.Stack,{alignItems:"center",justifyContent:"center",gap:3.75,sx:{textAlign:"center",height:1,backgroundColor:"grey.0",padding:2,borderRadius:2,"& svg":{width:"100%"},...t},children:[d.jsx(EWn,{}),d.jsx(O.Typography,{variant:"body1",sx:{color:"text.secondary"},children:e})]}),RTn=()=>{const{localeText:{noRowsLabel:e}}=Hn.useGridRootProps();return d.jsx(tmt,{text:e,sx:{"& svg":{height:200}}})},Zr2=O.styled(O.Stack,{shouldForwardProp:e=>e!=="appearance"})(({appearance:e})=>({...e==="default"&&{position:"relative",borderRadius:16,overflow:"hidden"}})),Ur2=({columns:e,rows:t,loading:n,fetching:a,localeText:r,paginationModel:u={page:0,pageSize:10},rowHeight:c=72,hideFooter:l,sx:f,showToolbar:s,toolbarContent:g,disableExport:_,appearance:m="default",...v})=>{const C=[{...Hn.GRID_CHECKBOX_SELECTION_COL_DEF,width:71},...e],h=o.useCallback(b=>({bottom:b.isLastVisible?0:8}),[]);return d.jsxs(Zr2,{appearance:m,children:[a&&d.jsx(gCt,{sx:{zIndex:1}}),d.jsx(Hn.DataGridPremium,{columns:C,rows:t,loading:n,autoHeight:!0,hideFooter:t.length===0?!0:l,rowHeight:c,getRowSpacing:h,slots:{loadingOverlay:Tr2,noRowsOverlay:RTn,noResultsOverlay:RTn,toolbar:()=>s&&d.jsx(Nr2,{disableExport:_,children:g})},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",filterOperatorIsEmpty:"Vazio",filterOperatorIsNotEmpty:"Preenchido",filterOperatorIsAnyOf:"Qualquer",filterOperatorContains:"Contém",filterOperatorEquals:"Igual",filterOperatorStartsWith:"Começa com",filterOperatorEndsWith:"Termina com",filterOperatorIs:"É",filterOperatorNot:"Não é",filterOperatorAfter:"Depois de",filterOperatorOnOrAfter:"Depois ou igual a",filterOperatorBefore:"Antes de",filterOperatorOnOrBefore:"Antes ou igual a",groupColumn:b=>`Agrupar por ${b}`,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",unpin:"Desafixar",noRowsLabel:"Nenhum registro para ser apresentado",unGroupColumn:b=>`Parar de agrupar por ${b}`,footerRowSelected:b=>`${b} ${b===1?"linha selecionada":"linhas selecionadas"}`,MuiTablePagination:{labelRowsPerPage:"Itens por página",labelDisplayedRows:b=>`${b.from}-${b.to} de ${b.count}`},...r},sx:{...f,"& .MuiDataGrid-virtualScroller, & .MuiDataGrid-virtualScrollerContent":{minHeight:n?c*u.pageSize:c*t.length,...t.length===0&&{height:400}}},...v})]})},Gr2=({children:e,waitBeforeShow:t=500})=>{const[n,a]=o.useState(!1);return o.useEffect(()=>{const r=setTimeout(()=>a(!0),t);return()=>clearTimeout(r)},[t]),n?e:null};var Yr2=!!(typeof window<"u"&&window.document&&window.document.createElement),Kr2=Yr2;const VTn=ej(Kr2);var Nce=function(){return Nce=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Nce.apply(this,arguments)},Tce=null,FTn=null;VTn&&window.addEventListener("resize",function(){FTn!==window.devicePixelRatio&&(FTn=window.devicePixelRatio,Tce=null)});function NTn(){if(Tce===null){if(typeof document>"u")return Tce=0,Tce;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Tce=n}return Tce}function TTn(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ZTn(e){return!e||!e.ownerDocument?document:e.ownerDocument}var UTn=function(e){var t={},n=Array.prototype.reduce.call(e,function(a,r){var u=r.name.match(/data-simplebar-(.+)/);if(u){var c=u[1].replace(/\W+(.)/g,function(l,f){return f.toUpperCase()});switch(r.value){case"true":a[c]=!0;break;case"false":a[c]=!1;break;case void 0:a[c]=!0;break;default:a[c]=r.value}}return a},t);return n};function GTn(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function YTn(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function KTn(e){return".".concat(e.split(" ").join("."))}var Xr2=Object.freeze({__proto__:null,getElementWindow:TTn,getElementDocument:ZTn,getOptions:UTn,addClasses:GTn,removeClasses:YTn,classNamesToQuery:KTn}),RO=TTn,aBn=ZTn,Qr2=UTn,VO=GTn,FO=YTn,In=KTn,_Ct=function(){function e(t,n){n===void 0&&(n={});var a=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 r=RO(a.el);a.scrollXTicking||(r.requestAnimationFrame(a.scrollX),a.scrollXTicking=!0),a.scrollYTicking||(r.requestAnimationFrame(a.scrollY),a.scrollYTicking=!0),a.isScrolling||(a.isScrolling=!0,VO(a.el,a.classNames.scrolling)),a.showScrollbar("x"),a.showScrollbar("y"),a.onStopScrolling()},this.scrollX=function(){a.axis.x.isOverflowing&&a.positionScrollbar("x"),a.scrollXTicking=!1},this.scrollY=function(){a.axis.y.isOverflowing&&a.positionScrollbar("y"),a.scrollYTicking=!1},this._onStopScrolling=function(){FO(a.el,a.classNames.scrolling),a.options.autoHide&&(a.hideScrollbar("x"),a.hideScrollbar("y")),a.isScrolling=!1},this.onMouseEnter=function(){a.isMouseEntering||(VO(a.el,a.classNames.mouseEntered),a.showScrollbar("x"),a.showScrollbar("y"),a.isMouseEntering=!0),a.onMouseEntered()},this._onMouseEntered=function(){FO(a.el,a.classNames.mouseEntered),a.options.autoHide&&(a.hideScrollbar("x"),a.hideScrollbar("y")),a.isMouseEntering=!1},this._onMouseMove=function(r){a.mouseX=r.clientX,a.mouseY=r.clientY,(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseMoveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseMoveForAxis("y")},this.onMouseLeave=function(){a.onMouseMove.cancel(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseLeaveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseLeaveForAxis("y"),a.mouseX=-1,a.mouseY=-1},this._onWindowResize=function(){a.scrollbarWidth=a.getScrollbarWidth(),a.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!a.axis.x.track.el||!a.axis.y.track.el||!a.axis.x.scrollbar.el||!a.axis.y.scrollbar.el)){var u,c;a.axis.x.track.rect=a.axis.x.track.el.getBoundingClientRect(),a.axis.y.track.rect=a.axis.y.track.el.getBoundingClientRect(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&(u=a.isWithinBounds(a.axis.x.track.rect)),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&(c=a.isWithinBounds(a.axis.y.track.rect)),(u||c)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(u&&(a.axis.x.scrollbar.rect=a.axis.x.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.x.scrollbar.rect)?a.onDragStart(r,"x"):a.onTrackClick(r,"x")),c&&(a.axis.y.scrollbar.rect=a.axis.y.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.y.scrollbar.rect)?a.onDragStart(r,"y"):a.onTrackClick(r,"y"))))}},this.drag=function(r){var u,c,l,f,s,g,_,m,v,C,h;if(!(!a.draggedAxis||!a.contentWrapperEl)){var b,p=a.axis[a.draggedAxis].track,y=(c=(u=p.rect)===null||u===void 0?void 0:u[a.axis[a.draggedAxis].sizeAttr])!==null&&c!==void 0?c:0,w=a.axis[a.draggedAxis].scrollbar,E=(f=(l=a.contentWrapperEl)===null||l===void 0?void 0:l[a.axis[a.draggedAxis].scrollSizeAttr])!==null&&f!==void 0?f:0,M=parseInt((g=(s=a.elStyles)===null||s===void 0?void 0:s[a.axis[a.draggedAxis].sizeAttr])!==null&&g!==void 0?g:"0px",10);r.preventDefault(),r.stopPropagation(),a.draggedAxis==="y"?b=r.pageY:b=r.pageX;var j=b-((m=(_=p.rect)===null||_===void 0?void 0:_[a.axis[a.draggedAxis].offsetAttr])!==null&&m!==void 0?m:0)-a.axis[a.draggedAxis].dragOffset;j=a.draggedAxis==="x"&&a.isRtl?((C=(v=p.rect)===null||v===void 0?void 0:v[a.axis[a.draggedAxis].sizeAttr])!==null&&C!==void 0?C:0)-w.size-j:j;var k=j/(y-w.size),D=k*(E-M);a.draggedAxis==="x"&&a.isRtl&&(D=!((h=e.getRtlHelpers())===null||h===void 0)&&h.isScrollingToNegative?-D:D),a.contentWrapperEl[a.axis[a.draggedAxis].scrollOffsetAttr]=D}},this.onEndDrag=function(r){var u=aBn(a.el),c=RO(a.el);r.preventDefault(),r.stopPropagation(),FO(a.el,a.classNames.dragging),u.removeEventListener("mousemove",a.drag,!0),u.removeEventListener("mouseup",a.onEndDrag,!0),a.removePreventClickId=c.setTimeout(function(){u.removeEventListener("click",a.preventClick,!0),u.removeEventListener("dblclick",a.preventClick,!0),a.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Nce(Nce({},e.defaultOptions),n),this.classNames=Nce(Nce({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=GFn(this._onMouseMove,64),this.onWindowResize=N_t(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=N_t(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=N_t(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,a=n==null?void 0:n.firstElementChild;if(!a)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),u=e.getOffset(a);n.scrollLeft=-999;var c=e.getOffset(a);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==u.left,isScrollingToNegative:u.left!==c.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:NTn()}catch{return NTn()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),a=aBn(t),r=RO(t);return{top:n.top+(r.pageYOffset||a.documentElement.scrollTop),left:n.left+(r.pageXOffset||a.documentElement.scrollLeft)}},e.prototype.init=function(){VTn&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(In(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(In(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(In(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(In(this.classNames.offset)),this.maskEl=this.el.querySelector(In(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,In(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(In(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(In(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(In(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(In(this.classNames.scrollbar)))||null,this.options.autoHide||(VO(this.axis.x.scrollbar.el,this.classNames.visible),VO(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,a=RO(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),a.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,u=a.ResizeObserver||ResizeObserver;this.resizeObserver=new u(function(){r&&a.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),a.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new a.MutationObserver(function(){a.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=RO(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,a=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,u=this.contentWrapperEl.offsetWidth,c=this.elStyles.overflowX,l=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 f=this.contentEl.scrollHeight,s=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=a?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||s,"px"):"auto",this.placeholderEl.style.height="".concat(f,"px");var g=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&s>n,this.axis.y.isOverflowing=f>g,this.axis.x.isOverflowing=c==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="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 _=this.axis.x.isOverflowing?this.scrollbarWidth:0,m=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&s>u-m,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&f>g-_,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,a;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],u=(a=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&a!==void 0?a:0,c=u/r,l;return l=Math.max(~~(c*u),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(l=Math.min(l,this.options.scrollbarMaxSize)),l},e.prototype.positionScrollbar=function(t){var n,a,r;t===void 0&&(t="y");var u=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!u.el||!this.elStyles)){var c=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,f=parseInt(this.elStyles[this.axis[t].sizeAttr],10),s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];s=t==="x"&&this.isRtl&&(!((a=e.getRtlHelpers())===null||a===void 0)&&a.isScrollOriginAtZero)?-s:s,t==="x"&&this.isRtl&&(s=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?s:-s);var g=s/(c-f),_=~~((l-u.size)*g);_=t==="x"&&this.isRtl?-_+(l-u.size):_,u.el.style.transform=t==="x"?"translate3d(".concat(_,"px, 0, 0)"):"translate3d(0, ".concat(_,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,a=this.axis[t].scrollbar.el;!n||!a||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?a.style.display="block":a.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(VO(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(FO(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),VO(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?VO(n.scrollbar.el,this.classNames.hover):FO(n.scrollbar.el,this.classNames.hover)):(FO(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),FO(this.axis[t].track.el,this.classNames.hover),FO(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var a;n===void 0&&(n="y");var r=aBn(this.el),u=RO(this.el),c=this.axis[n].scrollbar,l=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=l-(((a=c.rect)===null||a===void 0?void 0:a[this.axis[n].offsetAttr])||0),this.draggedAxis=n,VO(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(u.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var a=this,r,u,c,l;n===void 0&&(n="y");var f=this.axis[n];if(!(!this.options.clickOnTrack||!f.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var s=RO(this.el);this.axis[n].scrollbar.rect=f.scrollbar.el.getBoundingClientRect();var g=this.axis[n].scrollbar,_=(u=(r=g.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&u!==void 0?u:0,m=parseInt((l=(c=this.elStyles)===null||c===void 0?void 0:c[this.axis[n].sizeAttr])!==null&&l!==void 0?l:"0px",10),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],C=n==="y"?this.mouseY-_:this.mouseX-_,h=C<0?-1:1,b=h===-1?v-m:v+m,p=40,y=function(){a.contentWrapperEl&&(h===-1?v>b&&(v-=p,a.contentWrapperEl[a.axis[n].scrollOffsetAttr]=v,s.requestAnimationFrame(y)):v<b&&(v+=p,a.contentWrapperEl[a.axis[n].scrollOffsetAttr]=v,s.requestAnimationFrame(y)))};y()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=RO(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var a=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return a.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Qr2,e.helpers=Xr2,e}(),Lr=function(){return Lr=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Lr.apply(this,arguments)};function Jr2(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}var XTn=L.forwardRef(function(e,t){var n=e.children,a=e.scrollableNodeProps,r=a===void 0?{}:a,u=Jr2(e,["children","scrollableNodeProps"]),c=L.useRef(),l=L.useRef(),f=L.useRef(),s={},g={};Object.keys(u).forEach(function(v){Object.prototype.hasOwnProperty.call(_Ct.defaultOptions,v)?s[v]=u[v]:g[v]=u[v]});var _=Lr(Lr({},_Ct.defaultOptions.classNames),s.classNames),m=Lr(Lr({},r),{className:"".concat(_.contentWrapper).concat(r.className?" ".concat(r.className):""),tabIndex:0,role:"region","aria-label":s.ariaLabel||_Ct.defaultOptions.ariaLabel});return L.useEffect(function(){var v;return l.current=m.ref?m.ref.current:l.current,c.current&&(v=new _Ct(c.current,Lr(Lr(Lr({},s),l.current&&{scrollableNode:l.current}),f.current&&{contentNode:f.current})),typeof t=="function"?t(v):t&&(t.current=v)),function(){v==null||v.unMount(),v=null,typeof t=="function"&&t(null)}},[]),L.createElement("div",Lr({"data-simplebar":"init",ref:c},g),L.createElement("div",{className:_.wrapper},L.createElement("div",{className:_.heightAutoObserverWrapperEl},L.createElement("div",{className:_.heightAutoObserverEl})),L.createElement("div",{className:_.mask},L.createElement("div",{className:_.offset},typeof n=="function"?n({scrollableNodeRef:l,scrollableNodeProps:Lr(Lr({},m),{ref:l}),contentNodeRef:f,contentNodeProps:{className:_.contentEl,ref:f}}):L.createElement("div",Lr({},m),L.createElement("div",{className:_.contentEl},n)))),L.createElement("div",{className:_.placeholder})),L.createElement("div",{className:"".concat(_.track," simplebar-horizontal")},L.createElement("div",{className:_.scrollbar})),L.createElement("div",{className:"".concat(_.track," simplebar-vertical")},L.createElement("div",{className:_.scrollbar})))});XTn.displayName="SimpleBar";const qr2=Bt("div")(()=>({flexGrow:1,height:"100%",overflow:"hidden"})),e12=Bt(XTn)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:Q(e.palette.grey[600],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-mask":{zIndex:"inherit"}})),t12=({children:e,sx:t,...n})=>{const a=typeof navigator>"u"?"SSR":navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)?d.jsx(O.Box,{sx:{overflowX:"auto",...t},...n,children:e}):d.jsx(qr2,{children:d.jsx(e12,{clickOnTrack:!1,sx:t,...n,children:e})})},Zce=o.memo(t12),n12=O.styled(O.Stack)(({theme:e})=>({flexDirection:"row",alignItems:"center",borderBottom:`1px solid ${e.palette.grey[300]}`,padding:"22px 20px",gap:16})),r12=O.styled(O.Stack)(({theme:e})=>({flexDirection:"row",alignItems:"center",gap:8,flex:1,fontSize:e.typography.subtitle1.fontSize,fontWeight:e.typography.subtitle1.fontWeight,fontFamily:e.typography.fontFamily})),a12=({headerTitle:e,onClose:t,children:n,contentProps:a,maxWidth:r=684,...u})=>d.jsxs(O.Drawer,{anchor:"right",PaperProps:{sx:{width:1,maxWidth:r}},onClose:t,...u,children:[d.jsxs(n12,{children:[d.jsx(O.IconButton,{size:"small",onClick:t,children:d.jsx(Ce,{icon:"CLOSE_MARK_BUTTON",width:18})}),d.jsx(r12,{children:e})]}),d.jsx(Zce,{children:d.jsx(O.Stack,{p:3,...a,children:n})})]}),i12=()=>d.jsxs("svg",{width:"270",height:"240",viewBox:"0 0 270 240",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M134.533 239.195C60.232 239.195 0 235.603 0 231.173C0 226.744 60.232 223.152 134.533 223.152C208.835 223.152 269.067 226.744 269.067 231.173C269.067 235.603 208.835 239.195 134.533 239.195Z",fill:"#989898"}),d.jsx("path",{d:"M3.30371 156.829V184.359C3.30371 186.993 5.45705 189.141 8.08905 189.141H260.978C263.614 189.141 265.764 186.993 265.764 184.359V156.829H3.30371Z",fill:"#CFCFCF"}),d.jsx("path",{d:"M265.764 4.78535C265.764 2.15202 263.615 0 260.979 0H8.08933C5.45599 0 3.30266 2.15202 3.30266 4.78535V156.829H265.764L265.764 4.78535Z",fill:"#989898"}),d.jsx("path",{d:"M180.226 216.856H89.9502V189.14H180.226V216.856Z",fill:"#D8D7D5"}),d.jsx("path",{d:"M200.68 229.833H68.2568V216.859H200.68V229.833Z",fill:"#CFCFCF"}),d.jsx("path",{d:"M180.226 199.157H89.9502V189.14H180.226V199.157Z",fill:"#BCBBB9"}),d.jsx("path",{d:"M16.872 13.652H252.247V142.804H16.872V13.652Z",fill:"white"}),d.jsx("ellipse",{cx:"95.0798",cy:"73.1186",rx:"5.56321",ry:"7.64941",fill:"#CFCFCF"}),d.jsx("ellipse",{cx:"88.8218",cy:"88.3312",rx:"11.8218",ry:"4.1724",fill:"#EFEFEF",fillOpacity:"0.59"}),d.jsx("ellipse",{cx:"180.614",cy:"88.3312",rx:"11.8218",ry:"4.1724",fill:"#EFEFEF",fillOpacity:"0.59"}),d.jsx("ellipse",{cx:"172.965",cy:"73.1186",rx:"5.56321",ry:"7.64941",fill:"#CFCFCF"}),d.jsx("path",{d:"M122.896 88.4174C128.459 99.5438 140.281 97.4576 145.148 88.4174",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"}),d.jsx("path",{d:"M168.792 52.952C175.051 57.8198 175.746 58.5152 183.395 57.8198",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"}),d.jsx("path",{d:"M99.9473 52.952C93.6887 57.8198 92.9933 58.5152 85.3439 57.8198",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"})]}),o12=({title:e,description:t,onClickButton:n,textButton:a="Atualizar"})=>d.jsxs(O.Stack,{height:1,width:1,alignItems:"center",justifyContent:"center",textAlign:"center",gap:3,children:[d.jsx(i12,{}),d.jsxs(O.Stack,{children:[d.jsx(O.Typography,{variant:"h5",color:"grey.600",children:e}),d.jsx(O.Typography,{variant:"body1",color:"grey.600",children:t})]}),d.jsx(O.Button,{variant:"contained",size:"large",startIcon:d.jsx(Ce,{icon:"REFRESH_CHANGE"}),onClick:n,children:a})]}),nmt=/^[a-z0-9]+(-[a-z0-9]+)*$/,mCt=(e,t,n,a="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;a=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),f=r.pop(),s={provider:r.length>0?r[0]:a,prefix:f,name:l};return t&&!vCt(s)?null:s}const u=r[0],c=u.split("-");if(c.length>1){const l={provider:a,prefix:c.shift(),name:c.join("-")};return t&&!vCt(l)?null:l}if(n&&a===""){const l={provider:a,prefix:"",name:u};return t&&!vCt(l,n)?null:l}return null},vCt=(e,t)=>e?!!((e.provider===""||e.provider.match(nmt))&&(t&&e.prefix===""||e.prefix.match(nmt))&&e.name.match(nmt)):!1,QTn=Object.freeze({left:0,top:0,width:16,height:16}),hCt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),iBn=Object.freeze({...QTn,...hCt}),oBn=Object.freeze({...iBn,body:"",hidden:!1});function u12(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const a=((e.rotate||0)+(t.rotate||0))%4;return a&&(n.rotate=a),n}function JTn(e,t){const n=u12(e,t);for(const a in oBn)a in hCt?a in e&&!(a in n)&&(n[a]=hCt[a]):a in t?n[a]=t[a]:a in e&&(n[a]=e[a]);return n}function c12(e,t){const n=e.icons,a=e.aliases||Object.create(null),r=Object.create(null);function u(c){if(n[c])return r[c]=[];if(!(c in r)){r[c]=null;const l=a[c]&&a[c].parent,f=l&&u(l);f&&(r[c]=[l].concat(f))}return r[c]}return(t||Object.keys(n).concat(Object.keys(a))).forEach(u),r}function l12(e,t,n){const a=e.icons,r=e.aliases||Object.create(null);let u={};function c(l){u=JTn(a[l]||r[l],u)}return c(t),n.forEach(c),JTn(e,u)}function qTn(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const a=c12(e);for(const r in a){const u=a[r];u&&(t(r,l12(e,r,u)),n.push(r))}return n}const f12={provider:"",aliases:{},not_found:{},...QTn};function uBn(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function eZn(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!uBn(e,f12))return null;const n=t.icons;for(const r in n){const u=n[r];if(!r.match(nmt)||typeof u.body!="string"||!uBn(u,oBn))return null}const a=t.aliases||Object.create(null);for(const r in a){const u=a[r],c=u.parent;if(!r.match(nmt)||typeof c!="string"||!n[c]&&!a[c]||!uBn(u,oBn))return null}return t}const tZn=Object.create(null);function s12(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function uT(e,t){const n=tZn[e]||(tZn[e]=Object.create(null));return n[t]||(n[t]=s12(e,t))}function cBn(e,t){return eZn(t)?qTn(t,(n,a)=>{a?e.icons[n]=a:e.missing.add(n)}):[]}function d12(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let rmt=!1;function nZn(e){return typeof e=="boolean"&&(rmt=e),rmt}function g12(e){const t=typeof e=="string"?mCt(e,!0,rmt):e;if(t){const n=uT(t.provider,t.prefix),a=t.name;return n.icons[a]||(n.missing.has(a)?null:void 0)}}function _12(e,t){const n=mCt(e,!0,rmt);if(!n)return!1;const a=uT(n.provider,n.prefix);return d12(a,n.name,t)}function m12(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),rmt&&!t&&!e.prefix){let r=!1;return eZn(e)&&(e.prefix="",qTn(e,(u,c)=>{c&&_12(u,c)&&(r=!0)})),r}const n=e.prefix;if(!vCt({provider:t,prefix:n,name:"a"}))return!1;const a=uT(t,n);return!!cBn(a,e)}const rZn=Object.freeze({width:null,height:null}),aZn=Object.freeze({...rZn,...hCt}),v12=/(-?[0-9.]*[0-9]+[0-9.]*)/g,h12=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function iZn(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const a=e.split(v12);if(a===null||!a.length)return e;const r=[];let u=a.shift(),c=h12.test(u);for(;;){if(c){const l=parseFloat(u);isNaN(l)?r.push(u):r.push(Math.ceil(l*t*n)/n)}else r.push(u);if(u=a.shift(),u===void 0)return r.join("");c=!c}}const C12=e=>e==="unset"||e==="undefined"||e==="none";function b12(e,t){const n={...iBn,...e},a={...aZn,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let u=n.body;[n,a].forEach(C=>{const h=[],b=C.hFlip,p=C.vFlip;let y=C.rotate;b?p?y+=2:(h.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),h.push("scale(-1 1)"),r.top=r.left=0):p&&(h.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),h.push("scale(1 -1)"),r.top=r.left=0);let w;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:w=r.height/2+r.top,h.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:h.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:w=r.width/2+r.left,h.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}y%2===1&&(r.left!==r.top&&(w=r.left,r.left=r.top,r.top=w),r.width!==r.height&&(w=r.width,r.width=r.height,r.height=w)),h.length&&(u='<g transform="'+h.join(" ")+'">'+u+"</g>")});const c=a.width,l=a.height,f=r.width,s=r.height;let g,_;c===null?(_=l===null?"1em":l==="auto"?s:l,g=iZn(_,f/s)):(g=c==="auto"?f:c,_=l===null?iZn(g,s/f):l==="auto"?s:l);const m={},v=(C,h)=>{C12(h)||(m[C]=h.toString())};return v("width",g),v("height",_),m.viewBox=r.left.toString()+" "+r.top.toString()+" "+f.toString()+" "+s.toString(),{attributes:m,body:u}}const y12=/\sid="(\S+)"/g,p12="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let O12=0;function j12(e,t=p12){const n=[];let a;for(;a=y12.exec(e);)n.push(a[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(u=>{const c=typeof t=="function"?t(u):t+(O12++).toString(),l=u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+c+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const lBn=Object.create(null);function w12(e,t){lBn[e]=t}function fBn(e){return lBn[e]||lBn[""]}function sBn(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 dBn=Object.create(null),amt=["https://api.simplesvg.com","https://api.unisvg.com"],CCt=[];for(;amt.length>0;)amt.length===1||Math.random()>.5?CCt.push(amt.shift()):CCt.push(amt.pop());dBn[""]=sBn({resources:["https://api.iconify.design"].concat(CCt)});function M12(e,t){const n=sBn(t);return n===null?!1:(dBn[e]=n,!0)}function gBn(e){return dBn[e]}let oZn=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function L12(e,t){const n=gBn(e);if(!n)return 0;let a;if(!n.maxURL)a=0;else{let r=0;n.resources.forEach(c=>{r=Math.max(r,c.length)});const u=t+".json?icons=";a=n.maxURL-r-n.path.length-u.length}return a}function P12(e){return e===404}const E12=(e,t,n)=>{const a=[],r=L12(e,t),u="icons";let c={type:u,provider:e,prefix:t,icons:[]},l=0;return n.forEach((f,s)=>{l+=f.length+1,l>=r&&s>0&&(a.push(c),c={type:u,provider:e,prefix:t,icons:[]},l=f.length),c.icons.push(f)}),a.push(c),a};function k12(e){if(typeof e=="string"){const t=gBn(e);if(t)return t.path}return"/"}const S12={prepare:E12,send:(e,t,n)=>{if(!oZn){n("abort",424);return}let a=k12(t.provider);switch(t.type){case"icons":{const u=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});a+=u+".json?"+f.toString();break}case"custom":{const u=t.uri;a+=u.slice(0,1)==="/"?u.slice(1):u;break}default:n("abort",400);return}let r=503;oZn(e+a).then(u=>{const c=u.status;if(c!==200){setTimeout(()=>{n(P12(c)?"abort":"next",c)});return}return r=501,u.json()}).then(u=>{if(typeof u!="object"||u===null){setTimeout(()=>{u===404?n("abort",u):n("next",r)});return}setTimeout(()=>{n("success",u)})}).catch(()=>{n("next",r)})}};function D12(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,u)=>r.provider!==u.provider?r.provider.localeCompare(u.provider):r.prefix!==u.prefix?r.prefix.localeCompare(u.prefix):r.name.localeCompare(u.name));let a={provider:"",prefix:"",name:""};return e.forEach(r=>{if(a.name===r.name&&a.prefix===r.prefix&&a.provider===r.provider)return;a=r;const u=r.provider,c=r.prefix,l=r.name,f=n[u]||(n[u]=Object.create(null)),s=f[c]||(f[c]=uT(u,c));let g;l in s.icons?g=t.loaded:c===""||s.missing.has(l)?g=t.missing:g=t.pending;const _={provider:u,prefix:c,name:l};g.push(_)}),t}function uZn(e,t){e.forEach(n=>{const a=n.loaderCallbacks;a&&(n.loaderCallbacks=a.filter(r=>r.id!==t))})}function B12(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const a=e.provider,r=e.prefix;t.forEach(u=>{const c=u.icons,l=c.pending.length;c.pending=c.pending.filter(f=>{if(f.prefix!==r)return!0;const s=f.name;if(e.icons[s])c.loaded.push({provider:a,prefix:r,name:s});else if(e.missing.has(s))c.missing.push({provider:a,prefix:r,name:s});else return n=!0,!0;return!1}),c.pending.length!==l&&(n||uZn([e],u.id),u.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),u.abort))})}))}let I12=0;function W12(e,t,n){const a=I12++,r=uZn.bind(null,n,a);if(!t.pending.length)return r;const u={id:a,icons:t,callback:e,abort:r};return n.forEach(c=>{(c.loaderCallbacks||(c.loaderCallbacks=[])).push(u)}),r}function $12(e,t=!0,n=!1){const a=[];return e.forEach(r=>{const u=typeof r=="string"?mCt(r,t,n):r;u&&a.push(u)}),a}var x12={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function z12(e,t,n,a){const r=e.resources.length,u=e.random?Math.floor(Math.random()*r):e.index;let c;if(e.random){let j=e.resources.slice(0);for(c=[];j.length>1;){const k=Math.floor(Math.random()*j.length);c.push(j[k]),j=j.slice(0,k).concat(j.slice(k+1))}c=c.concat(j)}else c=e.resources.slice(u).concat(e.resources.slice(0,u));const l=Date.now();let f="pending",s=0,g,_=null,m=[],v=[];typeof a=="function"&&v.push(a);function C(){_&&(clearTimeout(_),_=null)}function h(){f==="pending"&&(f="aborted"),C(),m.forEach(j=>{j.status==="pending"&&(j.status="aborted")}),m=[]}function b(j,k){k&&(v=[]),typeof j=="function"&&v.push(j)}function p(){return{startTime:l,payload:t,status:f,queriesSent:s,queriesPending:m.length,subscribe:b,abort:h}}function y(){f="failed",v.forEach(j=>{j(void 0,g)})}function w(){m.forEach(j=>{j.status==="pending"&&(j.status="aborted")}),m=[]}function E(j,k,D){const S=k!=="success";switch(m=m.filter(I=>I!==j),f){case"pending":break;case"failed":if(S||!e.dataAfterTimeout)return;break;default:return}if(k==="abort"){g=D,y();return}if(S){g=D,m.length||(c.length?M():y());return}if(C(),w(),!e.random){const I=e.resources.indexOf(j.resource);I!==-1&&I!==e.index&&(e.index=I)}f="completed",v.forEach(I=>{I(D)})}function M(){if(f!=="pending")return;C();const j=c.shift();if(j===void 0){if(m.length){_=setTimeout(()=>{C(),f==="pending"&&(w(),y())},e.timeout);return}y();return}const k={status:"pending",resource:j,callback:(D,S)=>{E(k,D,S)}};m.push(k),s++,_=setTimeout(M,e.rotate),n(j,t,k.callback)}return setTimeout(M),p}function cZn(e){const t={...x12,...e};let n=[];function a(){n=n.filter(l=>l().status==="pending")}function r(l,f,s){const g=z12(t,l,f,(_,m)=>{a(),s&&s(_,m)});return n.push(g),g}function u(l){return n.find(f=>l(f))||null}return{query:r,find:u,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:a}}function lZn(){}const _Bn=Object.create(null);function H12(e){if(!_Bn[e]){const t=gBn(e);if(!t)return;const n=cZn(t),a={config:t,redundancy:n};_Bn[e]=a}return _Bn[e]}function A12(e,t,n){let a,r;if(typeof e=="string"){const u=fBn(e);if(!u)return n(void 0,424),lZn;r=u.send;const c=H12(e);c&&(a=c.redundancy)}else{const u=sBn(e);if(u){a=cZn(u);const c=e.resources?e.resources[0]:"",l=fBn(c);l&&(r=l.send)}}return!a||!r?(n(void 0,424),lZn):a.query(t,r,n)().abort}const fZn="iconify2",imt="iconify",sZn=imt+"-count",dZn=imt+"-version",gZn=36e5,R12=168;function mBn(e,t){try{return e.getItem(t)}catch{}}function vBn(e,t,n){try{return e.setItem(t,n),!0}catch{}}function _Zn(e,t){try{e.removeItem(t)}catch{}}function hBn(e,t){return vBn(e,sZn,t.toString())}function CBn(e){return parseInt(mBn(e,sZn))||0}const bCt={local:!0,session:!0},mZn={local:new Set,session:new Set};let bBn=!1;function V12(e){bBn=e}let yCt=typeof window>"u"?{}:window;function vZn(e){const t=e+"Storage";try{if(yCt&&yCt[t]&&typeof yCt[t].length=="number")return yCt[t]}catch{}bCt[e]=!1}function hZn(e,t){const n=vZn(e);if(!n)return;const a=mBn(n,dZn);if(a!==fZn){if(a){const l=CBn(n);for(let f=0;f<l;f++)_Zn(n,imt+f.toString())}vBn(n,dZn,fZn),hBn(n,0);return}const r=Math.floor(Date.now()/gZn)-R12,u=l=>{const f=imt+l.toString(),s=mBn(n,f);if(typeof s=="string"){try{const g=JSON.parse(s);if(typeof g=="object"&&typeof g.cached=="number"&&g.cached>r&&typeof g.provider=="string"&&typeof g.data=="object"&&typeof g.data.prefix=="string"&&t(g,l))return!0}catch{}_Zn(n,f)}};let c=CBn(n);for(let l=c-1;l>=0;l--)u(l)||(l===c-1?(c--,hBn(n,c)):mZn[e].add(l))}function CZn(){if(!bBn){V12(!0);for(const e in bCt)hZn(e,t=>{const n=t.data,a=t.provider,r=n.prefix,u=uT(a,r);if(!cBn(u,n).length)return!1;const c=n.lastModified||-1;return u.lastModifiedCached=u.lastModifiedCached?Math.min(u.lastModifiedCached,c):c,!0})}}function F12(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const a in bCt)hZn(a,r=>{const u=r.data;return r.provider!==e.provider||u.prefix!==e.prefix||u.lastModified===t});return!0}function N12(e,t){bBn||CZn();function n(a){let r;if(!bCt[a]||!(r=vZn(a)))return;const u=mZn[a];let c;if(u.size)u.delete(c=Array.from(u).shift());else if(c=CBn(r),!hBn(r,c+1))return;const l={cached:Math.floor(Date.now()/gZn),provider:e.provider,data:t};return vBn(r,imt+c.toString(),JSON.stringify(l))}t.lastModified&&!F12(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function bZn(){}function T12(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,B12(e)}))}function Z12(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:n,prefix:a}=e,r=e.iconsToLoad;delete e.iconsToLoad;let u;if(!r||!(u=fBn(n)))return;u.prepare(n,a,r).forEach(l=>{A12(n,l,f=>{if(typeof f!="object")l.icons.forEach(s=>{e.missing.add(s)});else try{const s=cBn(e,f);if(!s.length)return;const g=e.pendingIcons;g&&s.forEach(_=>{g.delete(_)}),N12(e,f)}catch(s){console.error(s)}T12(e)})})}))}const U12=(e,t)=>{const n=$12(e,!0,nZn()),a=D12(n);if(!a.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(a.loaded,a.missing,a.pending,bZn)}),()=>{f=!1}}const r=Object.create(null),u=[];let c,l;return a.pending.forEach(f=>{const{provider:s,prefix:g}=f;if(g===l&&s===c)return;c=s,l=g,u.push(uT(s,g));const _=r[s]||(r[s]=Object.create(null));_[g]||(_[g]=[])}),a.pending.forEach(f=>{const{provider:s,prefix:g,name:_}=f,m=uT(s,g),v=m.pendingIcons||(m.pendingIcons=new Set);v.has(_)||(v.add(_),r[s][g].push(_))}),u.forEach(f=>{const{provider:s,prefix:g}=f;r[s][g].length&&Z12(f,r[s][g])}),t?W12(t,a,u):bZn};function G12(e,t){const n={...e};for(const a in t){const r=t[a],u=typeof r;a in rZn?(r===null||r&&(u==="string"||u==="number"))&&(n[a]=r):u===typeof n[a]&&(n[a]=a==="rotate"?r%4:r)}return n}const Y12=/[\s,]+/;function K12(e,t){t.split(Y12).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function X12(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function a(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:a(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let u=parseFloat(e.slice(0,e.length-n.length));return isNaN(u)?0:(u=u/r,u%1===0?a(u):0)}}return t}function Q12(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const a in t)n+=" "+a+'="'+t[a]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function J12(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function q12(e){return"data:image/svg+xml,"+J12(e)}function ea2(e){return'url("'+q12(e)+'")'}let omt;function ta2(){try{omt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{omt=null}}function na2(e){return omt===void 0&&ta2(),omt?omt.createHTML(e):e}const yZn={...aZn,inline:!1},ra2={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},aa2={display:"inline-block"},yBn={backgroundColor:"currentColor"},pZn={backgroundColor:"transparent"},OZn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},jZn={WebkitMask:yBn,mask:yBn,background:pZn};for(const e in jZn){const t=jZn[e];for(const n in OZn)t[e+n]=OZn[n]}const ia2={...yZn,inline:!0};function wZn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const oa2=(e,t,n,a)=>{const r=n?ia2:yZn,u=G12(r,t),c=t.mode||"svg",l={},f=t.style||{},s={...c==="svg"?ra2:{},ref:a};for(let p in t){const y=t[p];if(y!==void 0)switch(p){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":u[p]=y===!0||y==="true"||y===1;break;case"flip":typeof y=="string"&&K12(u,y);break;case"color":l.color=y;break;case"rotate":typeof y=="string"?u[p]=X12(y):typeof y=="number"&&(u[p]=y);break;case"ariaHidden":case"aria-hidden":y!==!0&&y!=="true"&&delete s["aria-hidden"];break;default:r[p]===void 0&&(s[p]=y)}}const g=b12(e,u),_=g.attributes;if(u.inline&&(l.verticalAlign="-0.125em"),c==="svg"){s.style={...l,...f},Object.assign(s,_);let p=0,y=t.id;return typeof y=="string"&&(y=y.replace(/-/g,"_")),s.dangerouslySetInnerHTML={__html:na2(j12(g.body,y?()=>y+"ID"+p++:"iconifyReact"))},o.createElement("svg",s)}const{body:m,width:v,height:C}=e,h=c==="mask"||(c==="bg"?!1:m.indexOf("currentColor")!==-1),b=Q12(m,{..._,width:v+"",height:C+""});return s.style={...l,"--svg":ea2(b),width:wZn(_.width),height:wZn(_.height),...aa2,...h?yBn:pZn,...f},o.createElement("span",s)};if(nZn(!0),w12("",S12),typeof document<"u"&&typeof window<"u"){CZn();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(a=>{try{(typeof a!="object"||a===null||a instanceof Array||typeof a.icons!="object"||typeof a.prefix!="string"||!m12(a))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const a="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;M12(n,r)||console.error(a)}catch{console.error(a)}}}}class MZn extends o.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 n=this.state,a=this.props.icon;if(typeof a=="object"&&a!==null&&typeof a.body=="string"){this._icon="",this._abortLoading(),(t||n.icon===null)&&this._setData({data:a});return}let r;if(typeof a!="string"||(r=mCt(a,!1,!0))===null){this._abortLoading(),this._setData(null);return}const u=g12(r);if(!u){(!this._loading||this._loading.name!==a)&&(this._abortLoading(),this._icon="",this._setData(null),u!==null&&(this._loading={name:a,abort:U12([r],this._checkIcon.bind(this,!1))}));return}if(this._icon!==a||n.icon===null){this._abortLoading(),this._icon=a;const c=["iconify"];r.prefix!==""&&c.push("iconify--"+r.prefix),r.provider!==""&&c.push("iconify--"+r.provider),this._setData({data:u,classes:c}),this.props.onLoad&&this.props.onLoad(a)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,n=this.state.icon;if(n===null)return t.children?t.children:o.createElement("span",{});let a=t;return n.classes&&(a={...t,className:(typeof t.className=="string"?t.className+" ":"")+n.classes.join(" ")}),oa2({...iBn,...n.data},a,t._inline,t._ref)}}const ua2=o.forwardRef(function(t,n){const a={...t,_ref:n,_inline:!1};return o.createElement(MZn,a)});o.forwardRef(function(t,n){const a={...t,_ref:n,_inline:!0};return o.createElement(MZn,a)});const LZn=o.forwardRef(({icon:e,width:t=20,sx:n,...a},r)=>d.jsx(O.Box,{ref:r,component:ua2,icon:e,sx:{width:t,height:t,...n},...a}));LZn.displayName="Iconify";/*!
|
|
35382
|
+
`));super({locale:t??aCt,formats:n,longFormatters:dt2}),this.parseISO=a=>Ge2(a),this.toISO=a=>lt2(a,{format:"extended"}),this.parse=(a,r)=>a===""?null:dTn(a,r,new Date,{locale:this.locale}),this.isValid=a=>TDn(this.date(a)),this.format=(a,r)=>this.formatByString(a,this.formats[r]),this.formatByString=(a,r)=>iCt(a,r,{locale:this.locale}),this.getDiff=(a,r,u)=>{switch(u){case"years":return dJo(a,this.date(r));case"quarters":return vJo(a,this.date(r));case"months":return RDn(a,this.date(r));case"weeks":return bJo(a,this.date(r));case"days":return VDn(a,this.date(r));case"hours":return pJo(a,this.date(r));case"minutes":return OJo(a,this.date(r));case"seconds":return TNn(a,this.date(r));default:return nCt(a,this.date(r))}},this.isEqual=(a,r)=>a===null&&r===null?!0:Hqo(a,r),this.isSameYear=(a,r)=>Rqo(a,r),this.isSameMonth=(a,r)=>Vqo(a,r),this.isSameDay=(a,r)=>Aqo(a,r),this.isSameHour=(a,r)=>Fqo(a,r),this.isAfter=(a,r)=>GDn(a,r),this.isAfterYear=(a,r)=>GDn(a,NDn(r)),this.isAfterDay=(a,r)=>GDn(a,HDn(r)),this.isBefore=(a,r)=>X_t(a,r),this.isBeforeYear=(a,r)=>X_t(a,cCt(r)),this.isBeforeDay=(a,r)=>X_t(a,$ce(r)),this.isWithinRange=(a,[r,u])=>ft2(a,{start:r,end:u}),this.startOfYear=a=>cCt(a),this.startOfMonth=a=>gTn(a),this.startOfWeek=a=>oT(a,{locale:this.locale}),this.startOfDay=a=>$ce(a),this.endOfYear=a=>NDn(a),this.endOfMonth=a=>ADn(a),this.endOfWeek=a=>FDn(a,{locale:this.locale}),this.endOfDay=a=>HDn(a),this.addYears=(a,r)=>VNn(a,r),this.addMonths=(a,r)=>qht(a,r),this.addWeeks=(a,r)=>fJo(a,r),this.addDays=(a,r)=>Qht(a,r),this.addHours=(a,r)=>lJo(a,r),this.addMinutes=(a,r)=>uJo(a,r),this.addSeconds=(a,r)=>iJo(a,r),this.getYear=a=>zqo(a),this.getMonth=a=>Sqo(a),this.getDate=a=>Pqo(a),this.getHours=a=>Eqo(a),this.getMinutes=a=>kqo(a),this.getSeconds=a=>Dqo(a),this.getMilliseconds=a=>Bqo(a),this.setYear=(a,r)=>Ue2(a,r),this.setMonth=(a,r)=>Ne2(a,r),this.setDate=(a,r)=>Re2(a,r),this.setHours=(a,r)=>Ve2(a,r),this.setMinutes=(a,r)=>Fe2(a,r),this.setSeconds=(a,r)=>Te2(a,r),this.setMilliseconds=(a,r)=>Ze2(a,r),this.getDaysInMonth=a=>nTn(a),this.getNextMonth=a=>qht(a,1),this.getPreviousMonth=a=>qht(a,-1),this.getMonthArray=a=>{const u=[cCt(a)];for(;u.length<12;){const c=u[u.length-1];u.push(this.getNextMonth(c))}return u},this.mergeDateAndTime=(a,r)=>this.setSeconds(this.setMinutes(this.setHours(a,this.getHours(r)),this.getMinutes(r)),this.getSeconds(r)),this.getWeekdays=()=>{const a=new Date;return jJo({start:oT(a,{locale:this.locale}),end:FDn(a,{locale:this.locale})}).map(r=>this.formatByString(r,"EEEEEE"))},this.getWeekArray=a=>{const r=oT(gTn(a),{locale:this.locale}),u=FDn(ADn(a),{locale:this.locale});let c=0,l=r;const f=[];for(;X_t(l,u);){const s=Math.floor(c/7);f[s]=f[s]||[],f[s].push(l),l=Qht(l,1),c+=1}return f},this.getWeekNumber=a=>xqo(a,{locale:this.locale}),this.getYearRange=(a,r)=>{const u=cCt(a),c=NDn(r),l=[];let f=u;for(;X_t(f,c);)l.push(f),f=VNn(f,1);return l}}}var vt2={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"}},ht2=function(t,n,a){var r,u=vt2[t];return typeof u=="string"?r=u:n===1?r=u.one:r=u.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"em "+r:"há "+r:r};const Ct2=ht2;var bt2={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},yt2={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pt2={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ot2={date:Hce({formats:bt2,defaultWidth:"full"}),time:Hce({formats:yt2,defaultWidth:"full"}),dateTime:Hce({formats:pt2,defaultWidth:"full"})};const jt2=Ot2;var wt2={lastWeek:function(t){var n=t.getUTCDay(),a=n===0||n===6?"último":"última";return"'"+a+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Mt2=function(t,n,a,r){var u=wt2[t];return typeof u=="function"?u(n):u};const Lt2=Mt2;var Pt2={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},Et2={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},kt2={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"]},St2={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"]},Dt2={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"}},Bt2={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"}},It2=function(t,n){var a=Number(t);return(n==null?void 0:n.unit)==="week"?a+"ª":a+"º"},Wt2={ordinalNumber:It2,era:jc({values:Pt2,defaultWidth:"wide"}),quarter:jc({values:Et2,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:jc({values:kt2,defaultWidth:"wide"}),day:jc({values:St2,defaultWidth:"wide"}),dayPeriod:jc({values:Dt2,defaultWidth:"wide",formattingValues:Bt2,defaultFormattingWidth:"wide"})};const $t2=Wt2;var xt2=/^(\d+)[ºªo]?/i,zt2=/\d+/i,Ht2={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},At2={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},Rt2={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Vt2={any:[/1/i,/2/i,/3/i,/4/i]},Ft2={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},Nt2={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]},Tt2={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},Zt2={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]},Ut2={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},Gt2={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}},Yt2={ordinalNumber:tTn({matchPattern:xt2,parsePattern:zt2,valueCallback:function(t){return parseInt(t,10)}}),era:wc({matchPatterns:Ht2,defaultMatchWidth:"wide",parsePatterns:At2,defaultParseWidth:"any"}),quarter:wc({matchPatterns:Rt2,defaultMatchWidth:"wide",parsePatterns:Vt2,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:wc({matchPatterns:Ft2,defaultMatchWidth:"wide",parsePatterns:Nt2,defaultParseWidth:"any"}),day:wc({matchPatterns:Tt2,defaultMatchWidth:"wide",parsePatterns:Zt2,defaultParseWidth:"any"}),dayPeriod:wc({matchPatterns:Ut2,defaultMatchWidth:"any",parsePatterns:Gt2,defaultParseWidth:"any"})},Kt2={code:"pt-BR",formatDistance:Ct2,formatLong:jt2,formatRelative:Lt2,localize:$t2,match:Yt2,options:{weekStartsOn:0,firstWeekContainsDate:1}};const vTn=Kt2;var hTn={exports:{}},CTn={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]},bTn={exports:{}},Xt2=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")},Qt2=Xt2,Jt2=Array.prototype.concat,qt2=Array.prototype.slice,yTn=bTn.exports=function(t){for(var n=[],a=0,r=t.length;a<r;a++){var u=t[a];Qt2(u)?n=Jt2.call(n,qt2.call(u)):n.push(u)}return n};yTn.wrap=function(e){return function(){return e(yTn(arguments))}};var en2=bTn.exports,J_t=CTn,q_t=en2,pTn=Object.hasOwnProperty,OTn=Object.create(null);for(var eBn in J_t)pTn.call(J_t,eBn)&&(OTn[J_t[eBn]]=eBn);var wr=hTn.exports={to:{},get:{}};wr.get=function(e){var t=e.substring(0,3).toLowerCase(),n,a;switch(t){case"hsl":n=wr.get.hsl(e),a="hsl";break;case"hwb":n=wr.get.hwb(e),a="hwb";break;default:n=wr.get.rgb(e),a="rgb";break}return n?{model:a,value:n}:null},wr.get.rgb=function(e){if(!e)return null;var t=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,a=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,u=/^(\w+)$/,c=[0,0,0,1],l,f,s;if(l=e.match(n)){for(s=l[2],l=l[1],f=0;f<3;f++){var g=f*2;c[f]=parseInt(l.slice(g,g+2),16)}s&&(c[3]=parseInt(s,16)/255)}else if(l=e.match(t)){for(l=l[1],s=l[3],f=0;f<3;f++)c[f]=parseInt(l[f]+l[f],16);s&&(c[3]=parseInt(s+s,16)/255)}else if(l=e.match(a)){for(f=0;f<3;f++)c[f]=parseInt(l[f+1],0);l[4]&&(l[5]?c[3]=parseFloat(l[4])*.01:c[3]=parseFloat(l[4]))}else if(l=e.match(r)){for(f=0;f<3;f++)c[f]=Math.round(parseFloat(l[f+1])*2.55);l[4]&&(l[5]?c[3]=parseFloat(l[4])*.01:c[3]=parseFloat(l[4]))}else return(l=e.match(u))?l[1]==="transparent"?[0,0,0,0]:pTn.call(J_t,l[1])?(c=J_t[l[1]],c[3]=1,c):null:null;for(f=0;f<3;f++)c[f]=HO(c[f],0,255);return c[3]=HO(c[3],0,1),c},wr.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*)?\)$/,n=e.match(t);if(n){var a=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,u=HO(parseFloat(n[2]),0,100),c=HO(parseFloat(n[3]),0,100),l=HO(isNaN(a)?1:a,0,1);return[r,u,c,l]}return null},wr.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*)?\)$/,n=e.match(t);if(n){var a=parseFloat(n[4]),r=(parseFloat(n[1])%360+360)%360,u=HO(parseFloat(n[2]),0,100),c=HO(parseFloat(n[3]),0,100),l=HO(isNaN(a)?1:a,0,1);return[r,u,c,l]}return null},wr.to.hex=function(){var e=q_t(arguments);return"#"+fCt(e[0])+fCt(e[1])+fCt(e[2])+(e[3]<1?fCt(Math.round(e[3]*255)):"")},wr.to.rgb=function(){var e=q_t(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]+")"},wr.to.rgb.percent=function(){var e=q_t(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+n+"%, "+a+"%)":"rgba("+t+"%, "+n+"%, "+a+"%, "+e[3]+")"},wr.to.hsl=function(){var e=q_t(arguments);return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},wr.to.hwb=function(){var e=q_t(arguments),t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},wr.to.keyword=function(e){return OTn[e.slice(0,3)]};function HO(e,t,n){return Math.min(Math.max(t,e),n)}function fCt(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var tn2=hTn.exports;const emt=CTn,jTn={};for(const e of Object.keys(emt))jTn[emt[e]]=e;const ye={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 wTn=ye;for(const e of Object.keys(ye)){if(!("channels"in ye[e]))throw new Error("missing channels property: "+e);if(!("labels"in ye[e]))throw new Error("missing channel labels property: "+e);if(ye[e].labels.length!==ye[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=ye[e];delete ye[e].channels,delete ye[e].labels,Object.defineProperty(ye[e],"channels",{value:t}),Object.defineProperty(ye[e],"labels",{value:n})}ye.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.min(t,n,a),u=Math.max(t,n,a),c=u-r;let l,f;u===r?l=0:t===u?l=(n-a)/c:n===u?l=2+(a-t)/c:a===u&&(l=4+(t-n)/c),l=Math.min(l*60,360),l<0&&(l+=360);const s=(r+u)/2;return u===r?f=0:s<=.5?f=c/(u+r):f=c/(2-u-r),[l,f*100,s*100]},ye.rgb.hsv=function(e){let t,n,a,r,u;const c=e[0]/255,l=e[1]/255,f=e[2]/255,s=Math.max(c,l,f),g=s-Math.min(c,l,f),_=function(m){return(s-m)/6/g+1/2};return g===0?(r=0,u=0):(u=g/s,t=_(c),n=_(l),a=_(f),c===s?r=a-n:l===s?r=1/3+t-a:f===s&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[r*360,u*100,s*100]},ye.rgb.hwb=function(e){const t=e[0],n=e[1];let a=e[2];const r=ye.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(n,a));return a=1-1/255*Math.max(t,Math.max(n,a)),[r,u*100,a*100]},ye.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.min(1-t,1-n,1-a),u=(1-t-r)/(1-r)||0,c=(1-n-r)/(1-r)||0,l=(1-a-r)/(1-r)||0;return[u*100,c*100,l*100,r*100]};function nn2(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}ye.rgb.keyword=function(e){const t=jTn[e];if(t)return t;let n=1/0,a;for(const r of Object.keys(emt)){const u=emt[r],c=nn2(e,u);c<n&&(n=c,a=r)}return a},ye.keyword.rgb=function(e){return emt[e]},ye.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,a=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;const r=t*.4124+n*.3576+a*.1805,u=t*.2126+n*.7152+a*.0722,c=t*.0193+n*.1192+a*.9505;return[r*100,u*100,c*100]},ye.rgb.lab=function(e){const t=ye.rgb.xyz(e);let n=t[0],a=t[1],r=t[2];n/=95.047,a/=100,r/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const u=116*a-16,c=500*(n-a),l=200*(a-r);return[u,c,l]},ye.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,a=e[2]/100;let r,u,c;if(n===0)return c=a*255,[c,c,c];a<.5?r=a*(1+n):r=a+n-a*n;const l=2*a-r,f=[0,0,0];for(let s=0;s<3;s++)u=t+1/3*-(s-1),u<0&&u++,u>1&&u--,6*u<1?c=l+(r-l)*6*u:2*u<1?c=r:3*u<2?c=l+(r-l)*(2/3-u)*6:c=l,f[s]=c*255;return f},ye.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,a=e[2]/100,r=n;const u=Math.max(a,.01);a*=2,n*=a<=1?a:2-a,r*=u<=1?u:2-u;const c=(a+n)/2,l=a===0?2*r/(u+r):2*n/(a+n);return[t,l*100,c*100]},ye.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let a=e[2]/100;const r=Math.floor(t)%6,u=t-Math.floor(t),c=255*a*(1-n),l=255*a*(1-n*u),f=255*a*(1-n*(1-u));switch(a*=255,r){case 0:return[a,f,c];case 1:return[l,a,c];case 2:return[c,a,f];case 3:return[c,l,a];case 4:return[f,c,a];case 5:return[a,c,l]}},ye.hsv.hsl=function(e){const t=e[0],n=e[1]/100,a=e[2]/100,r=Math.max(a,.01);let u,c;c=(2-n)*a;const l=(2-n)*r;return u=n*r,u/=l<=1?l:2-l,u=u||0,c/=2,[t,u*100,c*100]},ye.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,a=e[2]/100;const r=n+a;let u;r>1&&(n/=r,a/=r);const c=Math.floor(6*t),l=1-a;u=6*t-c,c&1&&(u=1-u);const f=n+u*(l-n);let s,g,_;switch(c){default:case 6:case 0:s=l,g=f,_=n;break;case 1:s=f,g=l,_=n;break;case 2:s=n,g=l,_=f;break;case 3:s=n,g=f,_=l;break;case 4:s=f,g=n,_=l;break;case 5:s=l,g=n,_=f;break}return[s*255,g*255,_*255]},ye.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100,r=e[3]/100,u=1-Math.min(1,t*(1-r)+r),c=1-Math.min(1,n*(1-r)+r),l=1-Math.min(1,a*(1-r)+r);return[u*255,c*255,l*255]},ye.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100;let r,u,c;return r=t*3.2406+n*-1.5372+a*-.4986,u=t*-.9689+n*1.8758+a*.0415,c=t*.0557+n*-.204+a*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,r=Math.min(Math.max(0,r),1),u=Math.min(Math.max(0,u),1),c=Math.min(Math.max(0,c),1),[r*255,u*255,c*255]},ye.xyz.lab=function(e){let t=e[0],n=e[1],a=e[2];t/=95.047,n/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;const r=116*n-16,u=500*(t-n),c=200*(n-a);return[r,u,c]},ye.lab.xyz=function(e){const t=e[0],n=e[1],a=e[2];let r,u,c;u=(t+16)/116,r=n/500+u,c=u-a/200;const l=u**3,f=r**3,s=c**3;return u=l>.008856?l:(u-16/116)/7.787,r=f>.008856?f:(r-16/116)/7.787,c=s>.008856?s:(c-16/116)/7.787,r*=95.047,u*=100,c*=108.883,[r,u,c]},ye.lab.lch=function(e){const t=e[0],n=e[1],a=e[2];let r;r=Math.atan2(a,n)*360/2/Math.PI,r<0&&(r+=360);const c=Math.sqrt(n*n+a*a);return[t,c,r]},ye.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI,u=n*Math.cos(r),c=n*Math.sin(r);return[t,u,c]},ye.rgb.ansi16=function(e,t=null){const[n,a,r]=e;let u=t===null?ye.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),u===0)return 30;let c=30+(Math.round(r/255)<<2|Math.round(a/255)<<1|Math.round(n/255));return u===2&&(c+=60),c},ye.hsv.ansi16=function(e){return ye.rgb.ansi16(ye.hsv.rgb(e),e[2])},ye.rgb.ansi256=function(e){const t=e[0],n=e[1],a=e[2];return t===n&&n===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(a/255*5)},ye.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 n=(~~(e>50)+1)*.5,a=(t&1)*n*255,r=(t>>1&1)*n*255,u=(t>>2&1)*n*255;return[a,r,u]},ye.ansi256.rgb=function(e){if(e>=232){const u=(e-232)*10+8;return[u,u,u]}e-=16;let t;const n=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,a,r]},ye.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n},ye.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 n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const a=parseInt(n,16),r=a>>16&255,u=a>>8&255,c=a&255;return[r,u,c]},ye.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.max(Math.max(t,n),a),u=Math.min(Math.min(t,n),a),c=r-u;let l,f;return c<1?l=u/(1-c):l=0,c<=0?f=0:r===t?f=(n-a)/c%6:r===n?f=2+(a-t)/c:f=4+(t-n)/c,f/=6,f%=1,[f*360,c*100,l*100]},ye.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,a=n<.5?2*t*n:2*t*(1-n);let r=0;return a<1&&(r=(n-.5*a)/(1-a)),[e[0],a*100,r*100]},ye.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,a=t*n;let r=0;return a<1&&(r=(n-a)/(1-a)),[e[0],a*100,r*100]},ye.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,a=e[2]/100;if(n===0)return[a*255,a*255,a*255];const r=[0,0,0],u=t%1*6,c=u%1,l=1-c;let f=0;switch(Math.floor(u)){case 0:r[0]=1,r[1]=c,r[2]=0;break;case 1:r[0]=l,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=c;break;case 3:r[0]=0,r[1]=l,r[2]=1;break;case 4:r[0]=c,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=l}return f=(1-n)*a,[(n*r[0]+f)*255,(n*r[1]+f)*255,(n*r[2]+f)*255]},ye.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,a=t+n*(1-t);let r=0;return a>0&&(r=t/a),[e[0],r*100,a*100]},ye.hcg.hsl=function(e){const t=e[1]/100,a=e[2]/100*(1-t)+.5*t;let r=0;return a>0&&a<.5?r=t/(2*a):a>=.5&&a<1&&(r=t/(2*(1-a))),[e[0],r*100,a*100]},ye.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,a=t+n*(1-t);return[e[0],(a-t)*100,(1-a)*100]},ye.hwb.hcg=function(e){const t=e[1]/100,a=1-e[2]/100,r=a-t;let u=0;return r<1&&(u=(a-r)/(1-r)),[e[0],r*100,u*100]},ye.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},ye.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},ye.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},ye.gray.hsl=function(e){return[0,0,e[0]]},ye.gray.hsv=ye.gray.hsl,ye.gray.hwb=function(e){return[0,100,e[0]]},ye.gray.cmyk=function(e){return[0,0,0,e[0]]},ye.gray.lab=function(e){return[e[0],0,0]},ye.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,a=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(a.length)+a},ye.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const sCt=wTn;function rn2(){const e={},t=Object.keys(sCt);for(let n=t.length,a=0;a<n;a++)e[t[a]]={distance:-1,parent:null};return e}function an2(e){const t=rn2(),n=[e];for(t[e].distance=0;n.length;){const a=n.pop(),r=Object.keys(sCt[a]);for(let u=r.length,c=0;c<u;c++){const l=r[c],f=t[l];f.distance===-1&&(f.distance=t[a].distance+1,f.parent=a,n.unshift(l))}}return t}function in2(e,t){return function(n){return t(e(n))}}function on2(e,t){const n=[t[e].parent,e];let a=sCt[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),a=in2(sCt[t[r].parent][r],a),r=t[r].parent;return a.conversion=n,a}var un2=function(e){const t=an2(e),n={},a=Object.keys(t);for(let r=a.length,u=0;u<r;u++){const c=a[u];t[c].parent!==null&&(n[c]=on2(c,t))}return n};const tBn=wTn,cn2=un2,Ace={},ln2=Object.keys(tBn);function fn2(e){const t=function(...n){const a=n[0];return a==null?a:(a.length>1&&(n=a),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function sn2(e){const t=function(...n){const a=n[0];if(a==null)return a;a.length>1&&(n=a);const r=e(n);if(typeof r=="object")for(let u=r.length,c=0;c<u;c++)r[c]=Math.round(r[c]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}ln2.forEach(e=>{Ace[e]={},Object.defineProperty(Ace[e],"channels",{value:tBn[e].channels}),Object.defineProperty(Ace[e],"labels",{value:tBn[e].labels});const t=cn2(e);Object.keys(t).forEach(a=>{const r=t[a];Ace[e][a]=sn2(r),Ace[e][a].raw=fn2(r)})});var dn2=Ace;const Rce=tn2,Mr=dn2,MTn=["keyword","gray","hex"],nBn={};for(const e of Object.keys(Mr))nBn[[...Mr[e].labels].sort().join("")]=e;const dCt={};function Xt(e,t){if(!(this instanceof Xt))return new Xt(e,t);if(t&&t in MTn&&(t=null),t&&!(t in Mr))throw new Error("Unknown model: "+t);let n,a;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Xt)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){const r=Rce.get(e);if(r===null)throw new Error("Unable to parse color from string: "+e);this.model=r.model,a=Mr[this.model].channels,this.color=r.value.slice(0,a),this.valpha=typeof r.value[a]=="number"?r.value[a]:1}else if(e.length>0){this.model=t||"rgb",a=Mr[this.model].channels;const r=Array.prototype.slice.call(e,0,a);this.color=rBn(r,a),this.valpha=typeof e[a]=="number"?e[a]: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 r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);const u=r.sort().join("");if(!(u in nBn))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=nBn[u];const{labels:c}=Mr[this.model],l=[];for(n=0;n<c.length;n++)l.push(e[c[n]]);this.color=rBn(l)}if(dCt[this.model])for(a=Mr[this.model].channels,n=0;n<a;n++){const r=dCt[this.model][n];r&&(this.color[n]=r(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Xt.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in Rce.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);const n=t.valpha===1?t.color:[...t.color,this.valpha];return Rce.to[t.model](n)},percentString(e){const t=this.rgb().round(typeof e=="number"?e:1),n=t.valpha===1?t.color:[...t.color,this.valpha];return Rce.to.rgb.percent(n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=Mr[this.model],{labels:n}=Mr[this.model];for(let a=0;a<t;a++)e[n[a]]=this.color[a];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 Xt([...this.color.map(_n2(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new Xt([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:$t("rgb",0,Tt(255)),green:$t("rgb",1,Tt(255)),blue:$t("rgb",2,Tt(255)),hue:$t(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:$t("hsl",1,Tt(100)),lightness:$t("hsl",2,Tt(100)),saturationv:$t("hsv",1,Tt(100)),value:$t("hsv",2,Tt(100)),chroma:$t("hcg",1,Tt(100)),gray:$t("hcg",2,Tt(100)),white:$t("hwb",1,Tt(100)),wblack:$t("hwb",2,Tt(100)),cyan:$t("cmyk",0,Tt(100)),magenta:$t("cmyk",1,Tt(100)),yellow:$t("cmyk",2,Tt(100)),black:$t("cmyk",3,Tt(100)),x:$t("xyz",0,Tt(95.047)),y:$t("xyz",1,Tt(100)),z:$t("xyz",2,Tt(108.833)),l:$t("lab",0,Tt(100)),a:$t("lab",1),b:$t("lab",2),keyword(e){return e!==void 0?new Xt(e):Mr[this.model].keyword(this.color)},hex(e){return e!==void 0?new Xt(e):Rce.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new Xt(e);const t=this.rgb().round().color;let n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),Rce.to.hex(t)+n},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[n,a]of e.entries()){const r=a/255;t[n]=r<=.04045?r/12.92:((r+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.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 Xt.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 n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,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 n=e.rgb(),a=this.rgb(),r=t===void 0?.5:t,u=2*r-1,c=n.alpha()-a.alpha(),l=((u*c===-1?u:(u+c)/(1+u*c))+1)/2,f=1-l;return Xt.rgb(l*n.red()+f*a.red(),l*n.green()+f*a.green(),l*n.blue()+f*a.blue(),n.alpha()*r+a.alpha()*(1-r))}};for(const e of Object.keys(Mr)){if(MTn.includes(e))continue;const{channels:t}=Mr[e];Xt.prototype[e]=function(...n){return this.model===e?new Xt(this):n.length>0?new Xt(n,e):new Xt([...mn2(Mr[this.model][e].raw(this.color)),this.valpha],e)},Xt[e]=function(...n){let a=n[0];return typeof a=="number"&&(a=rBn(n,t)),new Xt(a,e)}}function gn2(e,t){return Number(e.toFixed(t))}function _n2(e){return function(t){return gn2(t,e)}}function $t(e,t,n){e=Array.isArray(e)?e:[e];for(const a of e)(dCt[a]||(dCt[a]=[]))[t]=n;return e=e[0],function(a){let r;return a!==void 0?(n&&(a=n(a)),r=this[e](),r.color[t]=a,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function Tt(e){return function(t){return Math.max(0,Math.min(e,t))}}function mn2(e){return Array.isArray(e)?e:[e]}function rBn(e,t){for(let n=0;n<t;n++)typeof e[n]!="number"&&(e[n]=0);return e}var vn2=Xt;const hn2=ej(vn2),LTn=e=>hn2(e).luminosity(),Cn2=Object.freeze(Object.defineProperty({__proto__:null,getLuminosity:LTn},Symbol.toStringTag,{value:"Module"})),_t={0:"#FFFFFF",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#212B36",900:"#161C24"},bn2={lighter:"#3aa4f2",light:"#7bc2f6",main:"#0E82D8",dark:"#0b61a2",darker:"#07416c",contrastText:"#fff"},yn2={lighter:"#D6E4FF",light:"#84A9FF",main:"#3366FF",dark:"#1939B7",darker:"#091A7A",contrastText:"#fff"},pn2={lighter:"#CAFDF5",light:"#61F3F3",main:"#00B8D9",dark:"#006C9C",darker:"#003768",contrastText:"#fff"},On2={lighter:"#D8FBDE",light:"#86E8AB",main:"#36B37E",dark:"#1B806A",darker:"#0A5554",contrastText:"#fff"},jn2={lighter:"#FFF5CC",light:"#FFD666",main:"#FFAB00",dark:"#B76E00",darker:"#7A4100",contrastText:_t[800]},Vce={common:{black:"#000",white:"#fff"},primary:bn2,secondary:yn2,info:pn2,success:On2,warning:jn2,error:{lighter:"#FFE9D5",light:"#FFAC82",main:"#FF5630",dark:"#B71D18",darker:"#7A0916",contrastText:"#fff"},grey:_t,divider:Q(_t[500],.24),action:{hover:Q(_t[500],.08),selected:Q(_t[500],.16),disabled:Q(_t[500],.8),disabledBackground:Q(_t[500],.24),focus:Q(_t[500],.24),hoverOpacity:.08,disabledOpacity:.48}},AO=e=>{const t={...Vce,mode:"light",text:{primary:_t[800],secondary:_t[600],disabled:_t[500]},background:{paper:"#fff",default:_t[100],neutral:_t[200]},action:{...Vce.action,active:_t[600]}},n={...Vce,mode:"dark",text:{primary:"#fff",secondary:_t[500],disabled:_t[600]},background:{paper:_t[800],default:_t[900],neutral:Q(_t[500],.16)},action:{...Vce.action,active:_t[500]}};return e==="light"?t:n},wn2=e=>({lighter:Mbt(e,.815),light:Mbt(e,.225),main:e,dark:wbt(e,.15),darker:wbt(e,.35)}),Mn2=e=>LTn(e)<=.55?"#fff":_t[900],PTn=e=>{const t=wn2(e);return{...Vce,primary:{...t,contrastText:Mn2(t.main)},mode:"light",text:{primary:_t[800],secondary:_t[600],disabled:_t[500]},background:{paper:"#fff",default:_t[100],neutral:_t[200]},action:{active:_t[600],...Vce.action}}},ETn=AO("light"),Ln2=ETn.grey[500],Pn2=ETn.common.black;function kTn(e,t){const n=Q(e,.16);return{z1:`0 1px 2px 0 ${n}`,z4:`0 4px 8px 0 ${n}`,z8:`0 8px 16px 0 ${n}`,z12:`0 12px 24px -4px ${n}`,z16:`0 16px 32px -4px ${n}`,z20:`0 20px 40px -4px ${n}`,z24:`0 24px 48px 0 ${n}`,primary:`0 8px 16px 0 ${Q(t||AO("light").primary.main,.24)}`,info:`0 8px 16px 0 ${Q(AO("light").info.main,.24)}`,secondary:`0 8px 16px 0 ${Q(AO("light").secondary.main,.24)}`,success:`0 8px 16px 0 ${Q(AO("light").success.main,.24)}`,warning:`0 8px 16px 0 ${Q(AO("light").warning.main,.24)}`,error:`0 8px 16px 0 ${Q(AO("light").error.main,.24)}`,card:`0 0 2px 0 ${Q(e,.2)}, 0 12px 24px -4px ${Q(e,.12)}`,dialog:`-40px 40px 80px -8px ${Q(e,.24)}`,dropdown:`0 0 2px 0 ${Q(e,.24)}, -20px 20px 40px -4px ${Q(e,.24)}`}}const STn=(e,t)=>kTn(e==="light"?Ln2:Pn2,t),DTn=()=>d.jsx(O.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"}}}}),En2=["primary","secondary","info","success","warning","error"];function kn2(e){const t=e.palette.mode==="light",n=a=>{const r=a.color==="default",u=a.color==="inherit",c=a.variant==="circular",l=a.variant==="extended",f=a.variant==="outlined",s=a.variant==="outlinedExtended",g=a.variant==="soft",_=a.variant==="softExtended",m={"&:hover, &:active":{boxShadow:"none"},...(c||l)&&{...(r||u)&&{color:e.palette.grey[800],boxShadow:e.customShadows.z8,"&:hover":{backgroundColor:e.palette.grey[400]}},...u&&{...!t&&{color:"inherit",backgroundColor:e.palette.grey[800],"&:hover":{backgroundColor:e.palette.grey[700]}}}},...(f||s)&&{boxShadow:"none",backgroundColor:"transparent",...(r||u)&&{border:`solid 1px ${Q(e.palette.grey[500],.32)}`,"&:hover":{backgroundColor:e.palette.action.hover}},...r&&{...!t&&{color:e.palette.text.secondary}}},...(g||_)&&{boxShadow:"none",...r&&{color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey[400]}},...u&&{backgroundColor:Q(e.palette.grey[500],.08),"&:hover":{backgroundColor:Q(e.palette.grey[500],.24)}}}},v=En2.map(b=>({...a.color===b&&{...(c||l)&&{boxShadow:e.customShadows[b],"&:hover":{backgroundColor:e.palette[b].dark}},...(f||s)&&{color:e.palette[b].main,border:`solid 1px ${Q(e.palette[b].main,.48)}`,"&:hover":{backgroundColor:Q(e.palette[b].main,.08),border:`solid 1px ${e.palette[b].main}`}},...(g||_)&&{color:e.palette[b][t?"dark":"light"],backgroundColor:Q(e.palette[b].main,.16),"&:hover":{backgroundColor:Q(e.palette[b].main,.32)}}}})),C={"&.Mui-disabled":{...(f||s)&&{backgroundColor:"transparent",border:`solid 1px ${e.palette.action.disabledBackground}`}}},h={...(l||s||_)&&{width:"auto","& svg":{marginRight:e.spacing(1)},...a.size==="small"&&{height:34,minHeight:34,borderRadius:17,padding:e.spacing(0,1)},...a.size==="medium"&&{height:40,minHeight:40,borderRadius:20,padding:e.spacing(0,2)},...a.size==="large"&&{height:48,minHeight:48,borderRadius:24,padding:e.spacing(0,2)}}};return[...v,m,C,h]};return{MuiFab:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function Sn2(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 Dn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 BTn(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Bn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 In2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Wn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 $n2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 xn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 zn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Hn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 An2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Rn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Vn2(e){return d.jsx(O.SvgIcon,{...e,sx:{right:12,fontSize:16,position:"absolute",pointerEvents:"none"},children:d.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 Fn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Nn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Tn2(e){return d.jsx(O.SvgIcon,{...e,children:d.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 Zn2=["primary","secondary","info","success","warning","error"];function Un2(e){const t=e.palette.mode==="light",n=a=>{const r=a.color==="default",u=a.variant==="filled",c=a.variant==="outlined",l=a.variant==="soft",f={...r&&{"& .MuiChip-avatar":{color:e.palette.text[t?"secondary":"primary"],backgroundColor:Q(e.palette.grey[500],.48)},...c&&{border:`solid 1px ${Q(e.palette.grey[500],.32)}`},...l&&{color:e.palette.text.primary,backgroundColor:Q(e.palette.grey[500],.16),"&:hover":{backgroundColor:Q(e.palette.grey[500],.32)}}}};return[...Zn2.map(g=>({...a.color===g&&{"& .MuiChip-avatar":{color:e.palette[g].lighter,backgroundColor:e.palette[g].dark},...u&&{"& .MuiChip-deleteIcon":{color:Q(e.palette[g].contrastText,.56),"&:hover":{color:e.palette[g].contrastText}}},...l&&{color:e.palette[g][t?"dark":"light"],backgroundColor:Q(e.palette[g].main,.16),"&:hover":{backgroundColor:Q(e.palette[g].main,.32)},"& .MuiChip-deleteIcon":{color:Q(e.palette[g][t?"dark":"light"],.48),"&:hover":{color:e.palette[g].dark}}}}})),f]};return{MuiChip:{defaultProps:{deleteIcon:d.jsx(Dn2,{})},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function Gn2(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,textTransform:"none","&: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 Yn2(e){return{MuiMenuItem:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}}}}}}}function Kn2(e){return{MuiLink:{defaultProps:{underline:"hover"}}}}function Xn2(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 Qn2(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 Jn2=["info","success","warning","error"];function qn2(e){const t=e.palette.mode==="light",n=a=>{const r=a.variant==="standard",u=a.variant==="filled",c=a.variant==="outlined";return[...Jn2.map(f=>({...a.severity===f&&{...r&&{color:e.palette[f][t?"darker":"lighter"],backgroundColor:e.palette[f][t?"lighter":"darker"],"& .MuiAlert-icon":{color:e.palette[f][t?"main":"light"]}},...u&&{color:e.palette[f].contrastText,backgroundColor:e.palette[f].main},...c&&{color:e.palette[f][t?"dark":"light"],border:`solid 1px ${e.palette[f].main}`,"& .MuiAlert-icon":{color:e.palette[f].main}}}}))]};return{MuiAlert:{defaultProps:{iconMapping:{info:d.jsx(Bn2,{}),success:d.jsx(Wn2,{}),warning:d.jsx(In2,{}),error:d.jsx($n2,{})}},styleOverrides:{root:({ownerState:a})=>n(a),icon:{opacity:1}}},MuiAlertTitle:{styleOverrides:{root:{marginBottom:e.spacing(.5)}}}}}function er2(e){return{MuiBadge:{styleOverrides:{dot:{width:10,height:10,borderRadius:"50%"}}}}}function tr2(e){return{MuiPaper:{defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"}}}}}function nr2(e){return{MuiInputBase:{styleOverrides:{root:{"&.Mui-disabled":{backgroundColor:Q(e.palette.grey[500],.075),"& svg":{color:e.palette.text.disabled}}},input:{"&::placeholder":{opacity:1,color:e.palette.text.disabled}}}},MuiInput:{styleOverrides:{underline:{"&:before":{borderBottomColor:Q(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:Q(e.palette.grey[500],.08),"&:hover":{backgroundColor:Q(e.palette.grey[500],.16)},"&.Mui-focused":{backgroundColor:Q(e.palette.grey[500],.16)},"&.Mui-disabled":{backgroundColor:e.palette.action.disabledBackground}},underline:{"&:before, :after":{display:"none"}}}},MuiOutlinedInput:{styleOverrides:{root:{"& .MuiOutlinedInput-notchedOutline":{borderColor:Q(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 rr2(e){return{MuiRadio:{defaultProps:{icon:d.jsx(An2,{}),checkedIcon:d.jsx(Rn2,{})},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 ar2(e){const t=e.palette.mode==="light";return{MuiDrawer:{styleOverrides:{root:({ownerState:n})=>({...n.variant==="temporary"&&{"& .MuiDrawer-paper":{boxShadow:`-40px 40px 80px -8px ${Q(t?e.palette.grey[500]:e.palette.common.black,.24)}`}}})}}}}function ir2(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 or2(e){return{MuiAvatar:{styleOverrides:{colorDefault:{color:e.palette.text.secondary,backgroundColor:Q(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 ur2(e){return{MuiRating:{defaultProps:{emptyIcon:d.jsx(BTn,{}),icon:d.jsx(BTn,{})},styleOverrides:{root:{"&.Mui-disabled":{opacity:.48}},iconEmpty:{color:Q(e.palette.grey[500],.48)},sizeSmall:{"& svg":{width:20,height:20}},sizeLarge:{"& svg":{width:28,height:28}}}}}}function cr2(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 lr2=["primary","secondary","info","success","warning","error"];function fr2(e){const t=e.palette.mode==="light",n=a=>{const r=a.color==="inherit",u=a.variant==="contained",c=a.variant==="outlined",l=a.variant==="text",f=a.variant==="soft",s=a.size==="small",g=a.size==="large",_={textTransform:"none",fontFamily:"inherit",...r&&{...u&&{color:e.palette.grey[800],"&:hover":{boxShadow:e.customShadows.z8,backgroundColor:e.palette.grey[400]}},...c&&{borderColor:Q(e.palette.grey[500],.32),"&:hover":{borderColor:e.palette.text.primary,backgroundColor:e.palette.action.hover}},...l&&{"&:hover":{backgroundColor:e.palette.action.hover}},...f&&{color:e.palette.text.primary,backgroundColor:Q(e.palette.grey[500],.08),"&:hover":{backgroundColor:Q(e.palette.grey[500],.24)}}}},m=lr2.map(h=>({...a.color===h&&{...u&&{"&:hover":{boxShadow:e.customShadows[h]}},...f&&{color:e.palette[h][t?"dark":"light"],backgroundColor:Q(e.palette[h].main,.16),"&:hover":{backgroundColor:Q(e.palette[h].main,.32)}}}})),v={"&.Mui-disabled":{...f&&{backgroundColor:e.palette.action.disabledBackground}}},C={...s&&{height:30,fontSize:13,...f&&{padding:"4px 10px"}},...g&&{height:48,fontSize:15,...f&&{padding:"8px 22px"}}};return[...m,_,v,C]};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function sr2(e){const t=e.palette.mode==="light",n=a=>({padding:"9px 13px 9px 12px",width:58,height:38,...a.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`,...a.size==="small"&&{width:10,height:10}},"& .MuiSwitch-track":{opacity:1,borderRadius:14,backgroundColor:Q(e.palette.grey[500],.48)},"& .MuiSwitch-switchBase":{left:3,padding:12,...a.size==="small"&&{padding:7},"&.Mui-checked":{transform:"translateX(13px)","&+.MuiSwitch-track":{opacity:1},...a.size==="small"&&{transform:"translateX(9px)"}},"&.Mui-disabled":{"& .MuiSwitch-thumb":{opacity:t?1:.48},"&+.MuiSwitch-track":{opacity:.48}}}});return{MuiSwitch:{styleOverrides:{root:({ownerState:a})=>n(a)}}}}function dr2(e){return{MuiSelect:{defaultProps:{IconComponent:Vn2}}}}function gr2(e){return{MuiSvgIcon:{styleOverrides:{fontSizeLarge:{width:32,height:32,fontSize:"inherit"}}}}}function _r2(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 mr2(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.dropdown,borderRadius:Number(e.shape.borderRadius)*1.5}}}}}function vr2(e){return{MuiStepConnector:{styleOverrides:{line:{borderColor:e.palette.divider}}}}}function hr2(e){return{MuiDataGrid:{styleOverrides:{root:{border:0,padding:8,"& .MuiTablePagination-root":{borderTop:0},"& .MuiDataGrid-columnHeader:focus, .MuiDataGrid-cell:focus, .MuiDataGrid-columnHeader:focus-within, .MuiDataGrid-cell:focus-within":{outline:"none"}},main:{backgroundColor:"#F5F5F5",borderRadius:8,outline:"8px solid #F5F5F5"},columnHeader:{fontSize:13,fontWeight:600,color:e.palette.grey[600],padding:"0 16px",borderColor:"transparent"},row:{borderRadius:8,backgroundColor:"#FFFFFF",color:e.palette.grey[800]},rowReorderCell:{color:e.palette.grey[400]},cell:{borderBottom:0,padding:"0 16px"},columnSeparator:{color:e.palette.divider,"&:hover":{color:e.palette.primary.main}},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}}},overlayWrapper:{height:"100% !important"},overlayWrapperInner:{height:"100% !important"}}}}}function Cr2(e){return{MuiSkeleton:{defaultProps:{animation:"wave"},styleOverrides:{root:{backgroundColor:e.palette.background.neutral}}}}}function br2(e){return{MuiBackdrop:{styleOverrides:{root:{backgroundColor:Q(e.palette.grey[800],.8)},invisible:{background:"transparent"}}}}}const yr2=["primary","secondary","info","success","warning","error"];function pr2(e){const t=n=>{const a=n.variant==="buffer",r={borderRadius:4,"& .MuiLinearProgress-bar":{borderRadius:4},...a&&{backgroundColor:"transparent"}};return[...yr2.map(c=>({...n.color===c&&{backgroundColor:O.alpha(e.palette[c].main,.24)}})),r]};return{MuiLinearProgress:{styleOverrides:{root:({ownerState:n})=>t(n)}}}}function Or2(e){return{MuiTimelineDot:{styleOverrides:{root:{boxShadow:"none"}}},MuiTimelineConnector:{styleOverrides:{root:{backgroundColor:e.palette.divider}}}}}function jr2(e){return{MuiTreeView:{defaultProps:{defaultCollapseIcon:d.jsx(Fn2,{sx:{width:20,height:20}}),defaultExpandIcon:d.jsx(Nn2,{sx:{width:20,height:20}}),defaultEndIcon:d.jsx(Tn2,{sx:{color:"text.secondary",width:20,height:20}})}},MuiTreeItem:{styleOverrides:{label:{...e.typography.body2},iconContainer:{width:"auto"}}}}}function wr2(e){return{MuiCheckbox:{defaultProps:{icon:d.jsx(xn2,{}),checkedIcon:d.jsx(zn2,{}),indeterminateIcon:d.jsx(Hn2,{})},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 Mr2(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 Lr2(e){return{MuiTypography:{styleOverrides:{paragraph:{marginBottom:e.spacing(2)},gutterBottom:{marginBottom:e.spacing(1)}}}}}const Pr2=["primary","secondary","info","success","warning","error"];function Er2(e){const t=e.palette.mode==="light",n=a=>{const r=a.variant==="outlined",u=a.variant==="soft",c={"& .MuiPaginationItem-root":{...r&&{borderColor:Q(e.palette.grey[500],.32)},"&.Mui-selected":{fontWeight:e.typography.fontWeightMedium}}};return[...Pr2.map(f=>({...a.color===f&&{...u&&{"& .MuiPaginationItem-root":{"&.Mui-selected":{color:e.palette[f][t?"dark":"light"],backgroundColor:Q(e.palette[f].main,.16),"&:hover":{backgroundColor:Q(e.palette[f].main,.32)}}}}}})),c]};return{MuiPagination:{defaultProps:{color:"primary"},styleOverrides:{root:({ownerState:a})=>n(a)}}}}function kr2(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 Sr2=["primary","secondary","info","success","warning","error"];function Dr2(e){const t=n=>{const a=n.color==="inherit",r=n.variant==="contained",u=n.variant==="outlined",c=n.variant==="text",l=n.variant==="soft",f=n.orientation==="horizontal",s=n.orientation==="vertical",g={"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!u&&{borderStyle:"solid",...a&&{borderColor:Q(e.palette.grey[500],.32)},...f&&{borderWidth:"0px 1px 0px 0px"},...s&&{borderWidth:"0px 0px 1px 0px"}}}}},_=Sr2.map(v=>({"& .MuiButtonGroup-grouped":{"&:not(:last-of-type)":{...!u&&{...n.color===v&&{...r&&{borderColor:Q(e.palette[v].dark,.48)},...c&&{borderColor:Q(e.palette[v].main,.48)},...l&&{borderColor:Q(e.palette[v].dark,.24)}}}}}})),m={"& .MuiButtonGroup-grouped.Mui-disabled":{"&:not(:last-of-type)":{borderColor:e.palette.action.disabledBackground}}};return[..._,g,m]};return{MuiButtonGroup:{defaultProps:{disableElevation:!0},styleOverrides:{root:({ownerState:n})=>t(n)}}}}function Br2(e){return{MuiAutocomplete:{styleOverrides:{root:{"& span.MuiAutocomplete-tag":{...e.typography.body2,width:24,height:24,lineHeight:"24px",textAlign:"center",borderRadius:e.shape.borderRadius,backgroundColor:Q(e.palette.grey[500],.16)}},paper:{boxShadow:e.customShadows.dropdown},listbox:{padding:e.spacing(0,1)},noOptions:{height:"154px",textAlign:"center",alignContent:"center"},option:{...e.typography.body2,padding:e.spacing(1),margin:e.spacing(.75,0),borderRadius:e.shape.borderRadius}}}}}const Ir2=["primary","secondary","info","success","warning","error"];function Wr2(e){const t=n=>{const r={...n.color==="standard"&&{"&.Mui-selected":{borderColor:"inherit"}}},u=Ir2.map(l=>({...n.color===l&&{"&:hover":{borderColor:Q(e.palette[l].main,.48),backgroundColor:Q(e.palette[l].main,e.palette.action.hoverOpacity)},"&.Mui-selected":{borderColor:e.palette[l].main}}})),c={"&.Mui-disabled":{"&.Mui-selected":{color:e.palette.action.disabled,backgroundColor:e.palette.action.selected,borderColor:e.palette.action.disabledBackground}}};return[...u,r,c]};return{MuiToggleButton:{styleOverrides:{root:({ownerState:n})=>t(n)}},MuiToggleButtonGroup:{styleOverrides:{root:{borderRadius:e.shape.borderRadius,backgroundColor:e.palette.background.paper,border:`solid 1px ${Q(e.palette.grey[500],.16)}`},grouped:{margin:4,borderColor:"transparent !important",borderRadius:`${e.shape.borderRadius}px !important`}}}}}function $r2(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 xr2(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 ITn(e){return Object.assign(kn2(e),Gn2(e),Un2(e),Sn2(e),Yn2(e),Kn2(),nr2(e),rr2(e),er2(),Xn2(e),Qn2(e),tr2(),qn2(e),sr2(e),dr2(),fr2(e),ur2(e),ir2(e),or2(e),cr2(e),ar2(e),vr2(e),_r2(e),mr2(e),gr2(),wr2(e),hr2(e),Cr2(e),Or2(e),jr2(e),br2(e),pr2(e),Mr2(e),Lr2(e),Er2(e),Dr2(e),kr2(e),Br2(e),$r2(e),Wr2(e),xr2())}const WTn=AO("light"),zr2=WTn.grey[500],Hr2=WTn.common.black;function $Tn(e){const t=Q(e,.2),n=Q(e,.14),a=Q(e,.12);return["none",`0px 2px 1px -1px ${t},0px 1px 1px 0px ${n},0px 1px 3px 0px ${a}`,`0px 3px 1px -2px ${t},0px 2px 2px 0px ${n},0px 1px 5px 0px ${a}`,`0px 3px 3px -2px ${t},0px 3px 4px 0px ${n},0px 1px 8px 0px ${a}`,`0px 2px 4px -1px ${t},0px 4px 5px 0px ${n},0px 1px 10px 0px ${a}`,`0px 3px 5px -1px ${t},0px 5px 8px 0px ${n},0px 1px 14px 0px ${a}`,`0px 3px 5px -1px ${t},0px 6px 10px 0px ${n},0px 1px 18px 0px ${a}`,`0px 4px 5px -2px ${t},0px 7px 10px 1px ${n},0px 2px 16px 1px ${a}`,`0px 5px 5px -3px ${t},0px 8px 10px 1px ${n},0px 3px 14px 2px ${a}`,`0px 5px 6px -3px ${t},0px 9px 12px 1px ${n},0px 3px 16px 2px ${a}`,`0px 6px 6px -3px ${t},0px 10px 14px 1px ${n},0px 4px 18px 3px ${a}`,`0px 6px 7px -4px ${t},0px 11px 15px 1px ${n},0px 4px 20px 3px ${a}`,`0px 7px 8px -4px ${t},0px 12px 17px 2px ${n},0px 5px 22px 4px ${a}`,`0px 7px 8px -4px ${t},0px 13px 19px 2px ${n},0px 5px 24px 4px ${a}`,`0px 7px 9px -4px ${t},0px 14px 21px 2px ${n},0px 5px 26px 4px ${a}`,`0px 8px 9px -5px ${t},0px 15px 22px 2px ${n},0px 6px 28px 5px ${a}`,`0px 8px 10px -5px ${t},0px 16px 24px 2px ${n},0px 6px 30px 5px ${a}`,`0px 8px 11px -5px ${t},0px 17px 26px 2px ${n},0px 6px 32px 5px ${a}`,`0px 9px 11px -5px ${t},0px 18px 28px 2px ${n},0px 7px 34px 6px ${a}`,`0px 9px 12px -6px ${t},0px 19px 29px 2px ${n},0px 7px 36px 6px ${a}`,`0px 10px 13px -6px ${t},0px 20px 31px 3px ${n},0px 8px 38px 7px ${a}`,`0px 10px 13px -6px ${t},0px 21px 33px 3px ${n},0px 8px 40px 7px ${a}`,`0px 10px 14px -6px ${t},0px 22px 35px 3px ${n},0px 8px 42px 7px ${a}`,`0px 11px 14px -7px ${t},0px 23px 36px 3px ${n},0px 9px 44px 8px ${a}`,`0px 11px 15px -7px ${t},0px 24px 38px 3px ${n},0px 9px 46px 8px ${a}`]}const xTn=e=>$Tn(e==="light"?zr2:Hr2);function un(e){return`${e/16}rem`}function Fce({sm:e,md:t,lg:n}){return{"@media (min-width:600px)":{fontSize:un(e)},"@media (min-width:900px)":{fontSize:un(t)},"@media (min-width:1200px)":{fontSize:un(n)}}}const zTn={fontFamily:"inherit",fontWeightRegular:400,fontWeightMedium:600,fontWeightBold:700,h1:{fontWeight:800,lineHeight:80/64,fontSize:un(40),...Fce({sm:52,md:58,lg:64})},h2:{fontWeight:800,lineHeight:64/48,fontSize:un(32),...Fce({sm:40,md:44,lg:48})},h3:{fontWeight:700,lineHeight:1.5,fontSize:un(24),...Fce({sm:26,md:30,lg:32})},h4:{fontWeight:700,lineHeight:1.5,fontSize:un(20),...Fce({sm:20,md:24,lg:24})},h5:{fontWeight:700,lineHeight:1.5,fontSize:un(18),...Fce({sm:19,md:20,lg:20})},h6:{fontWeight:700,lineHeight:28/18,fontSize:un(17),...Fce({sm:18,md:18,lg:18})},subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:un(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:un(14)},body1:{lineHeight:1.5,fontSize:un(16)},body2:{lineHeight:22/14,fontSize:un(14)},caption:{lineHeight:1.5,fontSize:un(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:un(12),textTransform:"uppercase"},button:{fontWeight:700,lineHeight:24/14,fontSize:un(14),textTransform:"capitalize"}},HTn=({children:e,color:t,direction:n="ltr",themeMode:a="light"})=>{const r=o.useMemo(()=>({palette:PTn(t),typography:zTn,shape:{borderRadius:8},direction:n,shadows:xTn(a),customShadows:STn(a,t)}),[t,n,a]),u=nvt(r);return u.components=ITn(u),d.jsx(HIn,{injectFirst:!0,children:d.jsxs(Pbt,{theme:u,children:[d.jsx(O.CssBaseline,{}),d.jsx(DTn,{}),e]})})},p9u="",O9u="",j9u="",w9u="",M9u="",L9u="",Ar2=({themeColor:e,children:t})=>d.jsx(jT.LocalizationProvider,{dateAdapter:mTn,adapterLocale:vTn,children:d.jsx(kyt,{children:d.jsx(HTn,{color:e,children:d.jsx(Yzn,{children:t})})})}),Rr2=({children:e,color:t,direction:n="ltr",themeMode:a="light"})=>{const r=o.useMemo(()=>({palette:PTn(t),typography:zTn,shape:{borderRadius:8},direction:n,shadows:xTn(a),customShadows:STn(a,t)}),[t,n,a]),u=nvt(r);return u.components=ITn(u),d.jsxs(Pbt,{theme:u,children:[d.jsx(O.CssBaseline,{}),d.jsx(DTn,{}),e]})},Vr2=({themeColor:e,children:t})=>d.jsx(jT.LocalizationProvider,{dateAdapter:mTn,adapterLocale:vTn,children:d.jsx(kyt,{children:d.jsx(Rr2,{color:e,children:d.jsx(Yzn,{children:t})})})}),Fr2=({modalTitle:e="Tem certeza que deseja excluir?",message:t="Essa ação não poderá ser desfeita.",cancelButtonText:n="Cancelar",confirmButtonText:a="Sim, excluir registro",onClose:r,onConfirm:u,confirming:c,child:l,...f})=>d.jsxs(O.Dialog,{fullWidth:!0,maxWidth:"xs",...f,onClose:r,children:[d.jsx(O.DialogTitle,{children:e}),d.jsx(O.DialogContent,{children:t}),l,d.jsxs(O.DialogActions,{children:[d.jsx(O.Button,{variant:"outlined",color:"inherit",onClick:r,size:"large",children:n}),d.jsx(gIn.LoadingButton,{variant:"contained",onClick:u,size:"large",loading:c,children:a})]})]}),gCt=({sx:e})=>d.jsx(O.LinearProgress,{sx:{position:"absolute",top:0,left:0,width:1,zIndex:9999,...e}}),Nr2=({children:e,disableExport:t})=>d.jsx(Hn.GridToolbarContainer,{sx:{alignItems:"center",padding:"16px 0"},children:d.jsxs(O.Stack,{direction:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:"center",width:1,gap:2,children:[d.jsxs(O.Stack,{direction:"row",flexWrap:"wrap",alignItems:"center",children:[d.jsx(Hn.GridToolbarColumnsButton,{}),d.jsx(Hn.GridToolbarFilterButton,{}),d.jsx(Hn.GridToolbarDensitySelector,{}),!t&&d.jsx(Hn.GridToolbarExport,{})]}),d.jsx(O.Stack,{direction:"row",flexWrap:"wrap",children:e})]})}),ATn=O.styled(O.Box)({display:"flex",flexDirection:"row",alignItems:"center",padding:"0 16px"}),Tr2=()=>{var g,_;const e=Hn.useGridApiContext(),{rowHeight:t,paginationModel:n,initialState:a}=Hn.useGridRootProps(),r=(n==null?void 0:n.pageSize)||((_=(g=a==null?void 0:a.pagination)==null?void 0:g.paginationModel)==null?void 0:_.pageSize)||10,u=Hn.gridColumnsTotalWidthSelector(e),c=Hn.gridColumnPositionsSelector(e),l=o.useMemo(()=>c.filter(m=>m<=u).length,[u,c]),f=e.current.getVisibleColumns().slice(0,l),s=o.useMemo(()=>{const m=[];for(let v=0;v<r;v+=1){for(const C of f)m.push(d.jsx(ATn,{sx:{justifyContent:C.align},children:d.jsx(O.Skeleton,{width:"100%"})},`column-${v}-${C.field}`));m.push(d.jsx(ATn,{},`fill-${v}`))}return m},[r,f]);return d.jsx(O.Stack,{display:"grid",sx:{display:"grid",gridTemplateColumns:`${f.map(({computedWidth:m})=>`${m}px`).join(" ")} 1fr`,gridAutoRows:t,backgroundColor:"grey.0",borderRadius:1,overflow:"hidden"},children:s})},tmt=({text:e,sx:t})=>d.jsxs(O.Stack,{alignItems:"center",justifyContent:"center",gap:3.75,sx:{textAlign:"center",height:1,backgroundColor:"grey.0",padding:2,borderRadius:2,"& svg":{width:"100%"},...t},children:[d.jsx(EWn,{}),d.jsx(O.Typography,{variant:"body1",sx:{color:"text.secondary"},children:e})]}),RTn=()=>{const{localeText:{noRowsLabel:e}}=Hn.useGridRootProps();return d.jsx(tmt,{text:e,sx:{"& svg":{height:200}}})},Zr2=O.styled(O.Stack,{shouldForwardProp:e=>e!=="appearance"})(({appearance:e})=>({...e==="default"&&{position:"relative",borderRadius:16,overflow:"hidden"}})),Ur2=({columns:e,rows:t,loading:n,fetching:a,localeText:r,paginationModel:u={page:0,pageSize:10},rowHeight:c=72,hideFooter:l,sx:f,showToolbar:s,toolbarContent:g,disableExport:_,appearance:m="default",...v})=>{const C=[{...Hn.GRID_CHECKBOX_SELECTION_COL_DEF,width:71},...e],h=o.useCallback(b=>({bottom:b.isLastVisible?0:8}),[]);return d.jsxs(Zr2,{appearance:m,children:[a&&d.jsx(gCt,{sx:{zIndex:1}}),d.jsx(Hn.DataGridPremium,{columns:C,rows:t,loading:n,autoHeight:!0,hideFooter:t.length===0?!0:l,rowHeight:c,getRowSpacing:h,slots:{loadingOverlay:Tr2,noRowsOverlay:RTn,noResultsOverlay:RTn,toolbar:()=>s&&d.jsx(Nr2,{disableExport:_,children:g})},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",filterOperatorIsEmpty:"Vazio",filterOperatorIsNotEmpty:"Preenchido",filterOperatorIsAnyOf:"Qualquer",filterOperatorContains:"Contém",filterOperatorEquals:"Igual",filterOperatorStartsWith:"Começa com",filterOperatorEndsWith:"Termina com",filterOperatorIs:"É",filterOperatorNot:"Não é",filterOperatorAfter:"Depois de",filterOperatorOnOrAfter:"Depois ou igual a",filterOperatorBefore:"Antes de",filterOperatorOnOrBefore:"Antes ou igual a",groupColumn:b=>`Agrupar por ${b}`,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",unpin:"Desafixar",noRowsLabel:"Nenhum registro para ser apresentado",unGroupColumn:b=>`Parar de agrupar por ${b}`,footerRowSelected:b=>`${b} ${b===1?"linha selecionada":"linhas selecionadas"}`,MuiTablePagination:{labelRowsPerPage:"Itens por página",labelDisplayedRows:b=>`${b.from}-${b.to} de ${b.count}`},...r},sx:{...f,"& .MuiDataGrid-virtualScroller, & .MuiDataGrid-virtualScrollerContent":{minHeight:n?c*u.pageSize:c*t.length,...t.length===0&&{height:400}}},...v})]})},Gr2=({children:e,waitBeforeShow:t=500})=>{const[n,a]=o.useState(!1);return o.useEffect(()=>{const r=setTimeout(()=>a(!0),t);return()=>clearTimeout(r)},[t]),n?e:null};var Yr2=!!(typeof window<"u"&&window.document&&window.document.createElement),Kr2=Yr2;const VTn=ej(Kr2);var Nce=function(){return Nce=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Nce.apply(this,arguments)},Tce=null,FTn=null;VTn&&window.addEventListener("resize",function(){FTn!==window.devicePixelRatio&&(FTn=window.devicePixelRatio,Tce=null)});function NTn(){if(Tce===null){if(typeof document>"u")return Tce=0,Tce;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),Tce=n}return Tce}function TTn(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ZTn(e){return!e||!e.ownerDocument?document:e.ownerDocument}var UTn=function(e){var t={},n=Array.prototype.reduce.call(e,function(a,r){var u=r.name.match(/data-simplebar-(.+)/);if(u){var c=u[1].replace(/\W+(.)/g,function(l,f){return f.toUpperCase()});switch(r.value){case"true":a[c]=!0;break;case"false":a[c]=!1;break;case void 0:a[c]=!0;break;default:a[c]=r.value}}return a},t);return n};function GTn(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function YTn(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function KTn(e){return".".concat(e.split(" ").join("."))}var Xr2=Object.freeze({__proto__:null,getElementWindow:TTn,getElementDocument:ZTn,getOptions:UTn,addClasses:GTn,removeClasses:YTn,classNamesToQuery:KTn}),RO=TTn,aBn=ZTn,Qr2=UTn,VO=GTn,FO=YTn,In=KTn,_Ct=function(){function e(t,n){n===void 0&&(n={});var a=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 r=RO(a.el);a.scrollXTicking||(r.requestAnimationFrame(a.scrollX),a.scrollXTicking=!0),a.scrollYTicking||(r.requestAnimationFrame(a.scrollY),a.scrollYTicking=!0),a.isScrolling||(a.isScrolling=!0,VO(a.el,a.classNames.scrolling)),a.showScrollbar("x"),a.showScrollbar("y"),a.onStopScrolling()},this.scrollX=function(){a.axis.x.isOverflowing&&a.positionScrollbar("x"),a.scrollXTicking=!1},this.scrollY=function(){a.axis.y.isOverflowing&&a.positionScrollbar("y"),a.scrollYTicking=!1},this._onStopScrolling=function(){FO(a.el,a.classNames.scrolling),a.options.autoHide&&(a.hideScrollbar("x"),a.hideScrollbar("y")),a.isScrolling=!1},this.onMouseEnter=function(){a.isMouseEntering||(VO(a.el,a.classNames.mouseEntered),a.showScrollbar("x"),a.showScrollbar("y"),a.isMouseEntering=!0),a.onMouseEntered()},this._onMouseEntered=function(){FO(a.el,a.classNames.mouseEntered),a.options.autoHide&&(a.hideScrollbar("x"),a.hideScrollbar("y")),a.isMouseEntering=!1},this._onMouseMove=function(r){a.mouseX=r.clientX,a.mouseY=r.clientY,(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseMoveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseMoveForAxis("y")},this.onMouseLeave=function(){a.onMouseMove.cancel(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&a.onMouseLeaveForAxis("x"),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&a.onMouseLeaveForAxis("y"),a.mouseX=-1,a.mouseY=-1},this._onWindowResize=function(){a.scrollbarWidth=a.getScrollbarWidth(),a.hideNativeScrollbar()},this.onPointerEvent=function(r){if(!(!a.axis.x.track.el||!a.axis.y.track.el||!a.axis.x.scrollbar.el||!a.axis.y.scrollbar.el)){var u,c;a.axis.x.track.rect=a.axis.x.track.el.getBoundingClientRect(),a.axis.y.track.rect=a.axis.y.track.el.getBoundingClientRect(),(a.axis.x.isOverflowing||a.axis.x.forceVisible)&&(u=a.isWithinBounds(a.axis.x.track.rect)),(a.axis.y.isOverflowing||a.axis.y.forceVisible)&&(c=a.isWithinBounds(a.axis.y.track.rect)),(u||c)&&(r.stopPropagation(),r.type==="pointerdown"&&r.pointerType!=="touch"&&(u&&(a.axis.x.scrollbar.rect=a.axis.x.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.x.scrollbar.rect)?a.onDragStart(r,"x"):a.onTrackClick(r,"x")),c&&(a.axis.y.scrollbar.rect=a.axis.y.scrollbar.el.getBoundingClientRect(),a.isWithinBounds(a.axis.y.scrollbar.rect)?a.onDragStart(r,"y"):a.onTrackClick(r,"y"))))}},this.drag=function(r){var u,c,l,f,s,g,_,m,v,C,h;if(!(!a.draggedAxis||!a.contentWrapperEl)){var b,p=a.axis[a.draggedAxis].track,y=(c=(u=p.rect)===null||u===void 0?void 0:u[a.axis[a.draggedAxis].sizeAttr])!==null&&c!==void 0?c:0,w=a.axis[a.draggedAxis].scrollbar,E=(f=(l=a.contentWrapperEl)===null||l===void 0?void 0:l[a.axis[a.draggedAxis].scrollSizeAttr])!==null&&f!==void 0?f:0,M=parseInt((g=(s=a.elStyles)===null||s===void 0?void 0:s[a.axis[a.draggedAxis].sizeAttr])!==null&&g!==void 0?g:"0px",10);r.preventDefault(),r.stopPropagation(),a.draggedAxis==="y"?b=r.pageY:b=r.pageX;var j=b-((m=(_=p.rect)===null||_===void 0?void 0:_[a.axis[a.draggedAxis].offsetAttr])!==null&&m!==void 0?m:0)-a.axis[a.draggedAxis].dragOffset;j=a.draggedAxis==="x"&&a.isRtl?((C=(v=p.rect)===null||v===void 0?void 0:v[a.axis[a.draggedAxis].sizeAttr])!==null&&C!==void 0?C:0)-w.size-j:j;var k=j/(y-w.size),D=k*(E-M);a.draggedAxis==="x"&&a.isRtl&&(D=!((h=e.getRtlHelpers())===null||h===void 0)&&h.isScrollingToNegative?-D:D),a.contentWrapperEl[a.axis[a.draggedAxis].scrollOffsetAttr]=D}},this.onEndDrag=function(r){var u=aBn(a.el),c=RO(a.el);r.preventDefault(),r.stopPropagation(),FO(a.el,a.classNames.dragging),u.removeEventListener("mousemove",a.drag,!0),u.removeEventListener("mouseup",a.onEndDrag,!0),a.removePreventClickId=c.setTimeout(function(){u.removeEventListener("click",a.preventClick,!0),u.removeEventListener("dblclick",a.preventClick,!0),a.removePreventClickId=null})},this.preventClick=function(r){r.preventDefault(),r.stopPropagation()},this.el=t,this.options=Nce(Nce({},e.defaultOptions),n),this.classNames=Nce(Nce({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=GFn(this._onMouseMove,64),this.onWindowResize=N_t(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=N_t(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=N_t(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,a=n==null?void 0:n.firstElementChild;if(!a)return null;document.body.appendChild(n),n.scrollLeft=0;var r=e.getOffset(n),u=e.getOffset(a);n.scrollLeft=-999;var c=e.getOffset(a);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:r.left!==u.left,isScrollingToNegative:u.left!==c.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:NTn()}catch{return NTn()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),a=aBn(t),r=RO(t);return{top:n.top+(r.pageYOffset||a.documentElement.scrollTop),left:n.left+(r.pageXOffset||a.documentElement.scrollLeft)}},e.prototype.init=function(){VTn&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(In(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(In(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(In(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(In(this.classNames.offset)),this.maskEl=this.el.querySelector(In(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,In(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(In(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(In(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(In(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(In(this.classNames.scrollbar)))||null,this.options.autoHide||(VO(this.axis.x.scrollbar.el,this.classNames.visible),VO(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,a=RO(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),a.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var r=!1,u=a.ResizeObserver||ResizeObserver;this.resizeObserver=new u(function(){r&&a.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),a.requestAnimationFrame(function(){r=!0})}this.mutationObserver=new a.MutationObserver(function(){a.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=RO(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,a=this.heightAutoObserverEl.offsetHeight<=1,r=this.heightAutoObserverEl.offsetWidth<=1||n>0,u=this.contentWrapperEl.offsetWidth,c=this.elStyles.overflowX,l=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 f=this.contentEl.scrollHeight,s=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=a?"auto":"100%",this.placeholderEl.style.width=r?"".concat(n||s,"px"):"auto",this.placeholderEl.style.height="".concat(f,"px");var g=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&s>n,this.axis.y.isOverflowing=f>g,this.axis.x.isOverflowing=c==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=l==="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 _=this.axis.x.isOverflowing?this.scrollbarWidth:0,m=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&s>u-m,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&f>g-_,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,a;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var r=this.contentEl[this.axis[t].scrollSizeAttr],u=(a=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&a!==void 0?a:0,c=u/r,l;return l=Math.max(~~(c*u),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(l=Math.min(l,this.options.scrollbarMaxSize)),l},e.prototype.positionScrollbar=function(t){var n,a,r;t===void 0&&(t="y");var u=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!u.el||!this.elStyles)){var c=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,f=parseInt(this.elStyles[this.axis[t].sizeAttr],10),s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];s=t==="x"&&this.isRtl&&(!((a=e.getRtlHelpers())===null||a===void 0)&&a.isScrollOriginAtZero)?-s:s,t==="x"&&this.isRtl&&(s=!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollingToNegative?s:-s);var g=s/(c-f),_=~~((l-u.size)*g);_=t==="x"&&this.isRtl?-_+(l-u.size):_,u.el.style.transform=t==="x"?"translate3d(".concat(_,"px, 0, 0)"):"translate3d(0, ".concat(_,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,a=this.axis[t].scrollbar.el;!n||!a||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?a.style.display="block":a.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(VO(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(FO(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),VO(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?VO(n.scrollbar.el,this.classNames.hover):FO(n.scrollbar.el,this.classNames.hover)):(FO(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),FO(this.axis[t].track.el,this.classNames.hover),FO(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var a;n===void 0&&(n="y");var r=aBn(this.el),u=RO(this.el),c=this.axis[n].scrollbar,l=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=l-(((a=c.rect)===null||a===void 0?void 0:a[this.axis[n].offsetAttr])||0),this.draggedAxis=n,VO(this.el,this.classNames.dragging),r.addEventListener("mousemove",this.drag,!0),r.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(r.addEventListener("click",this.preventClick,!0),r.addEventListener("dblclick",this.preventClick,!0)):(u.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var a=this,r,u,c,l;n===void 0&&(n="y");var f=this.axis[n];if(!(!this.options.clickOnTrack||!f.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var s=RO(this.el);this.axis[n].scrollbar.rect=f.scrollbar.el.getBoundingClientRect();var g=this.axis[n].scrollbar,_=(u=(r=g.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])!==null&&u!==void 0?u:0,m=parseInt((l=(c=this.elStyles)===null||c===void 0?void 0:c[this.axis[n].sizeAttr])!==null&&l!==void 0?l:"0px",10),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],C=n==="y"?this.mouseY-_:this.mouseX-_,h=C<0?-1:1,b=h===-1?v-m:v+m,p=40,y=function(){a.contentWrapperEl&&(h===-1?v>b&&(v-=p,a.contentWrapperEl[a.axis[n].scrollOffsetAttr]=v,s.requestAnimationFrame(y)):v<b&&(v+=p,a.contentWrapperEl[a.axis[n].scrollOffsetAttr]=v,s.requestAnimationFrame(y)))};y()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=RO(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var a=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(r){return a.call(r,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Qr2,e.helpers=Xr2,e}(),Lr=function(){return Lr=Object.assign||function(t){for(var n,a=1,r=arguments.length;a<r;a++){n=arguments[a];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},Lr.apply(this,arguments)};function Jr2(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n}var XTn=L.forwardRef(function(e,t){var n=e.children,a=e.scrollableNodeProps,r=a===void 0?{}:a,u=Jr2(e,["children","scrollableNodeProps"]),c=L.useRef(),l=L.useRef(),f=L.useRef(),s={},g={};Object.keys(u).forEach(function(v){Object.prototype.hasOwnProperty.call(_Ct.defaultOptions,v)?s[v]=u[v]:g[v]=u[v]});var _=Lr(Lr({},_Ct.defaultOptions.classNames),s.classNames),m=Lr(Lr({},r),{className:"".concat(_.contentWrapper).concat(r.className?" ".concat(r.className):""),tabIndex:0,role:"region","aria-label":s.ariaLabel||_Ct.defaultOptions.ariaLabel});return L.useEffect(function(){var v;return l.current=m.ref?m.ref.current:l.current,c.current&&(v=new _Ct(c.current,Lr(Lr(Lr({},s),l.current&&{scrollableNode:l.current}),f.current&&{contentNode:f.current})),typeof t=="function"?t(v):t&&(t.current=v)),function(){v==null||v.unMount(),v=null,typeof t=="function"&&t(null)}},[]),L.createElement("div",Lr({"data-simplebar":"init",ref:c},g),L.createElement("div",{className:_.wrapper},L.createElement("div",{className:_.heightAutoObserverWrapperEl},L.createElement("div",{className:_.heightAutoObserverEl})),L.createElement("div",{className:_.mask},L.createElement("div",{className:_.offset},typeof n=="function"?n({scrollableNodeRef:l,scrollableNodeProps:Lr(Lr({},m),{ref:l}),contentNodeRef:f,contentNodeProps:{className:_.contentEl,ref:f}}):L.createElement("div",Lr({},m),L.createElement("div",{className:_.contentEl},n)))),L.createElement("div",{className:_.placeholder})),L.createElement("div",{className:"".concat(_.track," simplebar-horizontal")},L.createElement("div",{className:_.scrollbar})),L.createElement("div",{className:"".concat(_.track," simplebar-vertical")},L.createElement("div",{className:_.scrollbar})))});XTn.displayName="SimpleBar";const qr2=Bt("div")(()=>({flexGrow:1,height:"100%",overflow:"hidden"})),e12=Bt(XTn)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:Q(e.palette.grey[600],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-mask":{zIndex:"inherit"}})),t12=({children:e,sx:t,...n})=>{const a=typeof navigator>"u"?"SSR":navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)?d.jsx(O.Box,{sx:{overflowX:"auto",...t},...n,children:e}):d.jsx(qr2,{children:d.jsx(e12,{clickOnTrack:!1,sx:t,...n,children:e})})},Zce=o.memo(t12),n12=O.styled(O.Stack)(({theme:e})=>({flexDirection:"row",alignItems:"center",borderBottom:`1px solid ${e.palette.grey[300]}`,padding:"22px 20px",gap:16})),r12=O.styled(O.Stack)(({theme:e})=>({flexDirection:"row",alignItems:"center",gap:8,flex:1,fontSize:e.typography.subtitle1.fontSize,fontWeight:e.typography.subtitle1.fontWeight,fontFamily:e.typography.fontFamily})),a12=({headerTitle:e,onClose:t,children:n,contentProps:a,maxWidth:r=684,...u})=>d.jsxs(O.Drawer,{anchor:"right",PaperProps:{sx:{width:1,maxWidth:r}},onClose:t,...u,children:[d.jsxs(n12,{children:[d.jsx(O.IconButton,{size:"small",onClick:t,children:d.jsx(Ce,{icon:"CLOSE_MARK_BUTTON",width:18})}),d.jsx(r12,{children:e})]}),d.jsx(Zce,{children:d.jsx(O.Stack,{p:3,...a,children:n})})]}),i12=()=>d.jsxs("svg",{width:"270",height:"240",viewBox:"0 0 270 240",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("path",{d:"M134.533 239.195C60.232 239.195 0 235.603 0 231.173C0 226.744 60.232 223.152 134.533 223.152C208.835 223.152 269.067 226.744 269.067 231.173C269.067 235.603 208.835 239.195 134.533 239.195Z",fill:"#989898"}),d.jsx("path",{d:"M3.30371 156.829V184.359C3.30371 186.993 5.45705 189.141 8.08905 189.141H260.978C263.614 189.141 265.764 186.993 265.764 184.359V156.829H3.30371Z",fill:"#CFCFCF"}),d.jsx("path",{d:"M265.764 4.78535C265.764 2.15202 263.615 0 260.979 0H8.08933C5.45599 0 3.30266 2.15202 3.30266 4.78535V156.829H265.764L265.764 4.78535Z",fill:"#989898"}),d.jsx("path",{d:"M180.226 216.856H89.9502V189.14H180.226V216.856Z",fill:"#D8D7D5"}),d.jsx("path",{d:"M200.68 229.833H68.2568V216.859H200.68V229.833Z",fill:"#CFCFCF"}),d.jsx("path",{d:"M180.226 199.157H89.9502V189.14H180.226V199.157Z",fill:"#BCBBB9"}),d.jsx("path",{d:"M16.872 13.652H252.247V142.804H16.872V13.652Z",fill:"white"}),d.jsx("ellipse",{cx:"95.0798",cy:"73.1186",rx:"5.56321",ry:"7.64941",fill:"#CFCFCF"}),d.jsx("ellipse",{cx:"88.8218",cy:"88.3312",rx:"11.8218",ry:"4.1724",fill:"#EFEFEF",fillOpacity:"0.59"}),d.jsx("ellipse",{cx:"180.614",cy:"88.3312",rx:"11.8218",ry:"4.1724",fill:"#EFEFEF",fillOpacity:"0.59"}),d.jsx("ellipse",{cx:"172.965",cy:"73.1186",rx:"5.56321",ry:"7.64941",fill:"#CFCFCF"}),d.jsx("path",{d:"M122.896 88.4174C128.459 99.5438 140.281 97.4576 145.148 88.4174",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"}),d.jsx("path",{d:"M168.792 52.952C175.051 57.8198 175.746 58.5152 183.395 57.8198",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"}),d.jsx("path",{d:"M99.9473 52.952C93.6887 57.8198 92.9933 58.5152 85.3439 57.8198",stroke:"#CFCFCF",strokeWidth:"2.7816",strokeLinecap:"round"})]}),o12=({title:e,description:t,onClickButton:n,textButton:a="Atualizar"})=>d.jsxs(O.Stack,{height:1,width:1,alignItems:"center",justifyContent:"center",textAlign:"center",gap:3,children:[d.jsx(i12,{}),d.jsxs(O.Stack,{children:[d.jsx(O.Typography,{variant:"h5",color:"grey.600",children:e}),d.jsx(O.Typography,{variant:"body1",color:"grey.600",children:t})]}),d.jsx(O.Button,{variant:"contained",size:"large",startIcon:d.jsx(Ce,{icon:"REFRESH_CHANGE"}),onClick:n,children:a})]}),nmt=/^[a-z0-9]+(-[a-z0-9]+)*$/,mCt=(e,t,n,a="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;a=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const l=r.pop(),f=r.pop(),s={provider:r.length>0?r[0]:a,prefix:f,name:l};return t&&!vCt(s)?null:s}const u=r[0],c=u.split("-");if(c.length>1){const l={provider:a,prefix:c.shift(),name:c.join("-")};return t&&!vCt(l)?null:l}if(n&&a===""){const l={provider:a,prefix:"",name:u};return t&&!vCt(l,n)?null:l}return null},vCt=(e,t)=>e?!!((e.provider===""||e.provider.match(nmt))&&(t&&e.prefix===""||e.prefix.match(nmt))&&e.name.match(nmt)):!1,QTn=Object.freeze({left:0,top:0,width:16,height:16}),hCt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),iBn=Object.freeze({...QTn,...hCt}),oBn=Object.freeze({...iBn,body:"",hidden:!1});function u12(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const a=((e.rotate||0)+(t.rotate||0))%4;return a&&(n.rotate=a),n}function JTn(e,t){const n=u12(e,t);for(const a in oBn)a in hCt?a in e&&!(a in n)&&(n[a]=hCt[a]):a in t?n[a]=t[a]:a in e&&(n[a]=e[a]);return n}function c12(e,t){const n=e.icons,a=e.aliases||Object.create(null),r=Object.create(null);function u(c){if(n[c])return r[c]=[];if(!(c in r)){r[c]=null;const l=a[c]&&a[c].parent,f=l&&u(l);f&&(r[c]=[l].concat(f))}return r[c]}return(t||Object.keys(n).concat(Object.keys(a))).forEach(u),r}function l12(e,t,n){const a=e.icons,r=e.aliases||Object.create(null);let u={};function c(l){u=JTn(a[l]||r[l],u)}return c(t),n.forEach(c),JTn(e,u)}function qTn(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const a=c12(e);for(const r in a){const u=a[r];u&&(t(r,l12(e,r,u)),n.push(r))}return n}const f12={provider:"",aliases:{},not_found:{},...QTn};function uBn(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function eZn(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!uBn(e,f12))return null;const n=t.icons;for(const r in n){const u=n[r];if(!r.match(nmt)||typeof u.body!="string"||!uBn(u,oBn))return null}const a=t.aliases||Object.create(null);for(const r in a){const u=a[r],c=u.parent;if(!r.match(nmt)||typeof c!="string"||!n[c]&&!a[c]||!uBn(u,oBn))return null}return t}const tZn=Object.create(null);function s12(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function uT(e,t){const n=tZn[e]||(tZn[e]=Object.create(null));return n[t]||(n[t]=s12(e,t))}function cBn(e,t){return eZn(t)?qTn(t,(n,a)=>{a?e.icons[n]=a:e.missing.add(n)}):[]}function d12(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let rmt=!1;function nZn(e){return typeof e=="boolean"&&(rmt=e),rmt}function g12(e){const t=typeof e=="string"?mCt(e,!0,rmt):e;if(t){const n=uT(t.provider,t.prefix),a=t.name;return n.icons[a]||(n.missing.has(a)?null:void 0)}}function _12(e,t){const n=mCt(e,!0,rmt);if(!n)return!1;const a=uT(n.provider,n.prefix);return d12(a,n.name,t)}function m12(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),rmt&&!t&&!e.prefix){let r=!1;return eZn(e)&&(e.prefix="",qTn(e,(u,c)=>{c&&_12(u,c)&&(r=!0)})),r}const n=e.prefix;if(!vCt({provider:t,prefix:n,name:"a"}))return!1;const a=uT(t,n);return!!cBn(a,e)}const rZn=Object.freeze({width:null,height:null}),aZn=Object.freeze({...rZn,...hCt}),v12=/(-?[0-9.]*[0-9]+[0-9.]*)/g,h12=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function iZn(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const a=e.split(v12);if(a===null||!a.length)return e;const r=[];let u=a.shift(),c=h12.test(u);for(;;){if(c){const l=parseFloat(u);isNaN(l)?r.push(u):r.push(Math.ceil(l*t*n)/n)}else r.push(u);if(u=a.shift(),u===void 0)return r.join("");c=!c}}const C12=e=>e==="unset"||e==="undefined"||e==="none";function b12(e,t){const n={...iBn,...e},a={...aZn,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let u=n.body;[n,a].forEach(C=>{const h=[],b=C.hFlip,p=C.vFlip;let y=C.rotate;b?p?y+=2:(h.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),h.push("scale(-1 1)"),r.top=r.left=0):p&&(h.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),h.push("scale(1 -1)"),r.top=r.left=0);let w;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:w=r.height/2+r.top,h.unshift("rotate(90 "+w.toString()+" "+w.toString()+")");break;case 2:h.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:w=r.width/2+r.left,h.unshift("rotate(-90 "+w.toString()+" "+w.toString()+")");break}y%2===1&&(r.left!==r.top&&(w=r.left,r.left=r.top,r.top=w),r.width!==r.height&&(w=r.width,r.width=r.height,r.height=w)),h.length&&(u='<g transform="'+h.join(" ")+'">'+u+"</g>")});const c=a.width,l=a.height,f=r.width,s=r.height;let g,_;c===null?(_=l===null?"1em":l==="auto"?s:l,g=iZn(_,f/s)):(g=c==="auto"?f:c,_=l===null?iZn(g,s/f):l==="auto"?s:l);const m={},v=(C,h)=>{C12(h)||(m[C]=h.toString())};return v("width",g),v("height",_),m.viewBox=r.left.toString()+" "+r.top.toString()+" "+f.toString()+" "+s.toString(),{attributes:m,body:u}}const y12=/\sid="(\S+)"/g,p12="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let O12=0;function j12(e,t=p12){const n=[];let a;for(;a=y12.exec(e);)n.push(a[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(u=>{const c=typeof t=="function"?t(u):t+(O12++).toString(),l=u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+c+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const lBn=Object.create(null);function w12(e,t){lBn[e]=t}function fBn(e){return lBn[e]||lBn[""]}function sBn(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 dBn=Object.create(null),amt=["https://api.simplesvg.com","https://api.unisvg.com"],CCt=[];for(;amt.length>0;)amt.length===1||Math.random()>.5?CCt.push(amt.shift()):CCt.push(amt.pop());dBn[""]=sBn({resources:["https://api.iconify.design"].concat(CCt)});function M12(e,t){const n=sBn(t);return n===null?!1:(dBn[e]=n,!0)}function gBn(e){return dBn[e]}let oZn=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function L12(e,t){const n=gBn(e);if(!n)return 0;let a;if(!n.maxURL)a=0;else{let r=0;n.resources.forEach(c=>{r=Math.max(r,c.length)});const u=t+".json?icons=";a=n.maxURL-r-n.path.length-u.length}return a}function P12(e){return e===404}const E12=(e,t,n)=>{const a=[],r=L12(e,t),u="icons";let c={type:u,provider:e,prefix:t,icons:[]},l=0;return n.forEach((f,s)=>{l+=f.length+1,l>=r&&s>0&&(a.push(c),c={type:u,provider:e,prefix:t,icons:[]},l=f.length),c.icons.push(f)}),a.push(c),a};function k12(e){if(typeof e=="string"){const t=gBn(e);if(t)return t.path}return"/"}const S12={prepare:E12,send:(e,t,n)=>{if(!oZn){n("abort",424);return}let a=k12(t.provider);switch(t.type){case"icons":{const u=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});a+=u+".json?"+f.toString();break}case"custom":{const u=t.uri;a+=u.slice(0,1)==="/"?u.slice(1):u;break}default:n("abort",400);return}let r=503;oZn(e+a).then(u=>{const c=u.status;if(c!==200){setTimeout(()=>{n(P12(c)?"abort":"next",c)});return}return r=501,u.json()}).then(u=>{if(typeof u!="object"||u===null){setTimeout(()=>{u===404?n("abort",u):n("next",r)});return}setTimeout(()=>{n("success",u)})}).catch(()=>{n("next",r)})}};function D12(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,u)=>r.provider!==u.provider?r.provider.localeCompare(u.provider):r.prefix!==u.prefix?r.prefix.localeCompare(u.prefix):r.name.localeCompare(u.name));let a={provider:"",prefix:"",name:""};return e.forEach(r=>{if(a.name===r.name&&a.prefix===r.prefix&&a.provider===r.provider)return;a=r;const u=r.provider,c=r.prefix,l=r.name,f=n[u]||(n[u]=Object.create(null)),s=f[c]||(f[c]=uT(u,c));let g;l in s.icons?g=t.loaded:c===""||s.missing.has(l)?g=t.missing:g=t.pending;const _={provider:u,prefix:c,name:l};g.push(_)}),t}function uZn(e,t){e.forEach(n=>{const a=n.loaderCallbacks;a&&(n.loaderCallbacks=a.filter(r=>r.id!==t))})}function B12(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const a=e.provider,r=e.prefix;t.forEach(u=>{const c=u.icons,l=c.pending.length;c.pending=c.pending.filter(f=>{if(f.prefix!==r)return!0;const s=f.name;if(e.icons[s])c.loaded.push({provider:a,prefix:r,name:s});else if(e.missing.has(s))c.missing.push({provider:a,prefix:r,name:s});else return n=!0,!0;return!1}),c.pending.length!==l&&(n||uZn([e],u.id),u.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),u.abort))})}))}let I12=0;function W12(e,t,n){const a=I12++,r=uZn.bind(null,n,a);if(!t.pending.length)return r;const u={id:a,icons:t,callback:e,abort:r};return n.forEach(c=>{(c.loaderCallbacks||(c.loaderCallbacks=[])).push(u)}),r}function $12(e,t=!0,n=!1){const a=[];return e.forEach(r=>{const u=typeof r=="string"?mCt(r,t,n):r;u&&a.push(u)}),a}var x12={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function z12(e,t,n,a){const r=e.resources.length,u=e.random?Math.floor(Math.random()*r):e.index;let c;if(e.random){let j=e.resources.slice(0);for(c=[];j.length>1;){const k=Math.floor(Math.random()*j.length);c.push(j[k]),j=j.slice(0,k).concat(j.slice(k+1))}c=c.concat(j)}else c=e.resources.slice(u).concat(e.resources.slice(0,u));const l=Date.now();let f="pending",s=0,g,_=null,m=[],v=[];typeof a=="function"&&v.push(a);function C(){_&&(clearTimeout(_),_=null)}function h(){f==="pending"&&(f="aborted"),C(),m.forEach(j=>{j.status==="pending"&&(j.status="aborted")}),m=[]}function b(j,k){k&&(v=[]),typeof j=="function"&&v.push(j)}function p(){return{startTime:l,payload:t,status:f,queriesSent:s,queriesPending:m.length,subscribe:b,abort:h}}function y(){f="failed",v.forEach(j=>{j(void 0,g)})}function w(){m.forEach(j=>{j.status==="pending"&&(j.status="aborted")}),m=[]}function E(j,k,D){const S=k!=="success";switch(m=m.filter(I=>I!==j),f){case"pending":break;case"failed":if(S||!e.dataAfterTimeout)return;break;default:return}if(k==="abort"){g=D,y();return}if(S){g=D,m.length||(c.length?M():y());return}if(C(),w(),!e.random){const I=e.resources.indexOf(j.resource);I!==-1&&I!==e.index&&(e.index=I)}f="completed",v.forEach(I=>{I(D)})}function M(){if(f!=="pending")return;C();const j=c.shift();if(j===void 0){if(m.length){_=setTimeout(()=>{C(),f==="pending"&&(w(),y())},e.timeout);return}y();return}const k={status:"pending",resource:j,callback:(D,S)=>{E(k,D,S)}};m.push(k),s++,_=setTimeout(M,e.rotate),n(j,t,k.callback)}return setTimeout(M),p}function cZn(e){const t={...x12,...e};let n=[];function a(){n=n.filter(l=>l().status==="pending")}function r(l,f,s){const g=z12(t,l,f,(_,m)=>{a(),s&&s(_,m)});return n.push(g),g}function u(l){return n.find(f=>l(f))||null}return{query:r,find:u,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:a}}function lZn(){}const _Bn=Object.create(null);function H12(e){if(!_Bn[e]){const t=gBn(e);if(!t)return;const n=cZn(t),a={config:t,redundancy:n};_Bn[e]=a}return _Bn[e]}function A12(e,t,n){let a,r;if(typeof e=="string"){const u=fBn(e);if(!u)return n(void 0,424),lZn;r=u.send;const c=H12(e);c&&(a=c.redundancy)}else{const u=sBn(e);if(u){a=cZn(u);const c=e.resources?e.resources[0]:"",l=fBn(c);l&&(r=l.send)}}return!a||!r?(n(void 0,424),lZn):a.query(t,r,n)().abort}const fZn="iconify2",imt="iconify",sZn=imt+"-count",dZn=imt+"-version",gZn=36e5,R12=168;function mBn(e,t){try{return e.getItem(t)}catch{}}function vBn(e,t,n){try{return e.setItem(t,n),!0}catch{}}function _Zn(e,t){try{e.removeItem(t)}catch{}}function hBn(e,t){return vBn(e,sZn,t.toString())}function CBn(e){return parseInt(mBn(e,sZn))||0}const bCt={local:!0,session:!0},mZn={local:new Set,session:new Set};let bBn=!1;function V12(e){bBn=e}let yCt=typeof window>"u"?{}:window;function vZn(e){const t=e+"Storage";try{if(yCt&&yCt[t]&&typeof yCt[t].length=="number")return yCt[t]}catch{}bCt[e]=!1}function hZn(e,t){const n=vZn(e);if(!n)return;const a=mBn(n,dZn);if(a!==fZn){if(a){const l=CBn(n);for(let f=0;f<l;f++)_Zn(n,imt+f.toString())}vBn(n,dZn,fZn),hBn(n,0);return}const r=Math.floor(Date.now()/gZn)-R12,u=l=>{const f=imt+l.toString(),s=mBn(n,f);if(typeof s=="string"){try{const g=JSON.parse(s);if(typeof g=="object"&&typeof g.cached=="number"&&g.cached>r&&typeof g.provider=="string"&&typeof g.data=="object"&&typeof g.data.prefix=="string"&&t(g,l))return!0}catch{}_Zn(n,f)}};let c=CBn(n);for(let l=c-1;l>=0;l--)u(l)||(l===c-1?(c--,hBn(n,c)):mZn[e].add(l))}function CZn(){if(!bBn){V12(!0);for(const e in bCt)hZn(e,t=>{const n=t.data,a=t.provider,r=n.prefix,u=uT(a,r);if(!cBn(u,n).length)return!1;const c=n.lastModified||-1;return u.lastModifiedCached=u.lastModifiedCached?Math.min(u.lastModifiedCached,c):c,!0})}}function F12(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const a in bCt)hZn(a,r=>{const u=r.data;return r.provider!==e.provider||u.prefix!==e.prefix||u.lastModified===t});return!0}function N12(e,t){bBn||CZn();function n(a){let r;if(!bCt[a]||!(r=vZn(a)))return;const u=mZn[a];let c;if(u.size)u.delete(c=Array.from(u).shift());else if(c=CBn(r),!hBn(r,c+1))return;const l={cached:Math.floor(Date.now()/gZn),provider:e.provider,data:t};return vBn(r,imt+c.toString(),JSON.stringify(l))}t.lastModified&&!F12(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function bZn(){}function T12(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,B12(e)}))}function Z12(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:n,prefix:a}=e,r=e.iconsToLoad;delete e.iconsToLoad;let u;if(!r||!(u=fBn(n)))return;u.prepare(n,a,r).forEach(l=>{A12(n,l,f=>{if(typeof f!="object")l.icons.forEach(s=>{e.missing.add(s)});else try{const s=cBn(e,f);if(!s.length)return;const g=e.pendingIcons;g&&s.forEach(_=>{g.delete(_)}),N12(e,f)}catch(s){console.error(s)}T12(e)})})}))}const U12=(e,t)=>{const n=$12(e,!0,nZn()),a=D12(n);if(!a.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(a.loaded,a.missing,a.pending,bZn)}),()=>{f=!1}}const r=Object.create(null),u=[];let c,l;return a.pending.forEach(f=>{const{provider:s,prefix:g}=f;if(g===l&&s===c)return;c=s,l=g,u.push(uT(s,g));const _=r[s]||(r[s]=Object.create(null));_[g]||(_[g]=[])}),a.pending.forEach(f=>{const{provider:s,prefix:g,name:_}=f,m=uT(s,g),v=m.pendingIcons||(m.pendingIcons=new Set);v.has(_)||(v.add(_),r[s][g].push(_))}),u.forEach(f=>{const{provider:s,prefix:g}=f;r[s][g].length&&Z12(f,r[s][g])}),t?W12(t,a,u):bZn};function G12(e,t){const n={...e};for(const a in t){const r=t[a],u=typeof r;a in rZn?(r===null||r&&(u==="string"||u==="number"))&&(n[a]=r):u===typeof n[a]&&(n[a]=a==="rotate"?r%4:r)}return n}const Y12=/[\s,]+/;function K12(e,t){t.split(Y12).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function X12(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function a(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:a(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let u=parseFloat(e.slice(0,e.length-n.length));return isNaN(u)?0:(u=u/r,u%1===0?a(u):0)}}return t}function Q12(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const a in t)n+=" "+a+'="'+t[a]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function J12(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function q12(e){return"data:image/svg+xml,"+J12(e)}function ea2(e){return'url("'+q12(e)+'")'}let omt;function ta2(){try{omt=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{omt=null}}function na2(e){return omt===void 0&&ta2(),omt?omt.createHTML(e):e}const yZn={...aZn,inline:!1},ra2={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},aa2={display:"inline-block"},yBn={backgroundColor:"currentColor"},pZn={backgroundColor:"transparent"},OZn={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},jZn={WebkitMask:yBn,mask:yBn,background:pZn};for(const e in jZn){const t=jZn[e];for(const n in OZn)t[e+n]=OZn[n]}const ia2={...yZn,inline:!0};function wZn(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const oa2=(e,t,n,a)=>{const r=n?ia2:yZn,u=G12(r,t),c=t.mode||"svg",l={},f=t.style||{},s={...c==="svg"?ra2:{},ref:a};for(let p in t){const y=t[p];if(y!==void 0)switch(p){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":u[p]=y===!0||y==="true"||y===1;break;case"flip":typeof y=="string"&&K12(u,y);break;case"color":l.color=y;break;case"rotate":typeof y=="string"?u[p]=X12(y):typeof y=="number"&&(u[p]=y);break;case"ariaHidden":case"aria-hidden":y!==!0&&y!=="true"&&delete s["aria-hidden"];break;default:r[p]===void 0&&(s[p]=y)}}const g=b12(e,u),_=g.attributes;if(u.inline&&(l.verticalAlign="-0.125em"),c==="svg"){s.style={...l,...f},Object.assign(s,_);let p=0,y=t.id;return typeof y=="string"&&(y=y.replace(/-/g,"_")),s.dangerouslySetInnerHTML={__html:na2(j12(g.body,y?()=>y+"ID"+p++:"iconifyReact"))},o.createElement("svg",s)}const{body:m,width:v,height:C}=e,h=c==="mask"||(c==="bg"?!1:m.indexOf("currentColor")!==-1),b=Q12(m,{..._,width:v+"",height:C+""});return s.style={...l,"--svg":ea2(b),width:wZn(_.width),height:wZn(_.height),...aa2,...h?yBn:pZn,...f},o.createElement("span",s)};if(nZn(!0),w12("",S12),typeof document<"u"&&typeof window<"u"){CZn();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(a=>{try{(typeof a!="object"||a===null||a instanceof Array||typeof a.icons!="object"||typeof a.prefix!="string"||!m12(a))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const a="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;M12(n,r)||console.error(a)}catch{console.error(a)}}}}class MZn extends o.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 n=this.state,a=this.props.icon;if(typeof a=="object"&&a!==null&&typeof a.body=="string"){this._icon="",this._abortLoading(),(t||n.icon===null)&&this._setData({data:a});return}let r;if(typeof a!="string"||(r=mCt(a,!1,!0))===null){this._abortLoading(),this._setData(null);return}const u=g12(r);if(!u){(!this._loading||this._loading.name!==a)&&(this._abortLoading(),this._icon="",this._setData(null),u!==null&&(this._loading={name:a,abort:U12([r],this._checkIcon.bind(this,!1))}));return}if(this._icon!==a||n.icon===null){this._abortLoading(),this._icon=a;const c=["iconify"];r.prefix!==""&&c.push("iconify--"+r.prefix),r.provider!==""&&c.push("iconify--"+r.provider),this._setData({data:u,classes:c}),this.props.onLoad&&this.props.onLoad(a)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,n=this.state.icon;if(n===null)return t.children?t.children:o.createElement("span",{});let a=t;return n.classes&&(a={...t,className:(typeof t.className=="string"?t.className+" ":"")+n.classes.join(" ")}),oa2({...iBn,...n.data},a,t._inline,t._ref)}}const ua2=o.forwardRef(function(t,n){const a={...t,_ref:n,_inline:!1};return o.createElement(MZn,a)});o.forwardRef(function(t,n){const a={...t,_ref:n,_inline:!0};return o.createElement(MZn,a)});const LZn=o.forwardRef(({icon:e,width:t=20,sx:n,...a},r)=>d.jsx(O.Box,{ref:r,component:ua2,icon:e,sx:{width:t,height:t,...n},...a}));LZn.displayName="Iconify";/*!
|
|
35383
35383
|
* Cropper.js v1.6.2
|
|
35384
35384
|
* https://fengyuanchen.github.io/cropperjs
|
|
35385
35385
|
*
|