@up-group-ui/react-controls
Version:
Up shared react controls
150 lines (77 loc) • 600 kB
JavaScript
try{
var rS=Object.create;var sl=Object.defineProperty;var sS=Object.getOwnPropertyDescriptor;var nS=Object.getOwnPropertyNames;var aS=Object.getPrototypeOf,iS=Object.prototype.hasOwnProperty;var nl=(e,o)=>()=>(e&&(o=e(e=0)),o);var zr=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),pS=(e,o)=>{for(var t in o)sl(e,t,{get:o[t],enumerable:!0})},lg=(e,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of nS(o))!iS.call(e,i)&&i!==t&&sl(e,i,{get:()=>o[i],enumerable:!(r=sS(o,i))||r.enumerable});return e};var O=(e,o,t)=>(t=e!=null?rS(aS(e)):{},lg(o||!e||!e.__esModule?sl(t,"default",{value:e,enumerable:!0}):t,e)),lS=e=>lg(sl({},"__esModule",{value:!0}),e);var s=nl(()=>{});var n=nl(()=>{});var a=nl(()=>{});var vg=zr((zH,xg)=>{"use strict";s();n();a();var aO="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";xg.exports=aO});var Og=zr((qH,Sg)=>{"use strict";s();n();a();var iO=vg();function Cg(){}function Rg(){}Rg.resetWarningCache=Cg;Sg.exports=function(){function e(r,i,p,l,c,u){if(u!==iO){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}e.isRequired=e;function o(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:o,element:e,elementType:e,instanceOf:o,node:e,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:Rg,resetWarningCache:Cg};return t.PropTypes=t,t}});var Q=zr((QH,wg)=>{s();n();a();wg.exports=Og()();var ZH,JH});var Ng=zr(So=>{"use strict";s();n();a();var Bd=Symbol.for("react.element"),Fd=Symbol.for("react.portal"),fl=Symbol.for("react.fragment"),ml=Symbol.for("react.strict_mode"),yl=Symbol.for("react.profiler"),gl=Symbol.for("react.provider"),bl=Symbol.for("react.context"),fO=Symbol.for("react.server_context"),hl=Symbol.for("react.forward_ref"),Tl=Symbol.for("react.suspense"),Pl=Symbol.for("react.suspense_list"),xl=Symbol.for("react.memo"),vl=Symbol.for("react.lazy"),mO=Symbol.for("react.offscreen"),kg;kg=Symbol.for("react.module.reference");function fr(e){if(typeof e=="object"&&e!==null){var o=e.$$typeof;switch(o){case Bd:switch(e=e.type,e){case fl:case yl:case ml:case Tl:case Pl:return e;default:switch(e=e&&e.$$typeof,e){case fO:case bl:case hl:case vl:case xl:case gl:return e;default:return o}}case Fd:return o}}}So.ContextConsumer=bl;So.ContextProvider=gl;So.Element=Bd;So.ForwardRef=hl;So.Fragment=fl;So.Lazy=vl;So.Memo=xl;So.Portal=Fd;So.Profiler=yl;So.StrictMode=ml;So.Suspense=Tl;So.SuspenseList=Pl;So.isAsyncMode=function(){return!1};So.isConcurrentMode=function(){return!1};So.isContextConsumer=function(e){return fr(e)===bl};So.isContextProvider=function(e){return fr(e)===gl};So.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Bd};So.isForwardRef=function(e){return fr(e)===hl};So.isFragment=function(e){return fr(e)===fl};So.isLazy=function(e){return fr(e)===vl};So.isMemo=function(e){return fr(e)===xl};So.isPortal=function(e){return fr(e)===Fd};So.isProfiler=function(e){return fr(e)===yl};So.isStrictMode=function(e){return fr(e)===ml};So.isSuspense=function(e){return fr(e)===Tl};So.isSuspenseList=function(e){return fr(e)===Pl};So.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fl||e===yl||e===ml||e===Tl||e===Pl||e===mO||typeof e=="object"&&e!==null&&(e.$$typeof===vl||e.$$typeof===xl||e.$$typeof===gl||e.$$typeof===bl||e.$$typeof===hl||e.$$typeof===kg||e.getModuleId!==void 0)};So.typeOf=fr});var tr=zr((O8,Ig)=>{"use strict";s();n();a();Ig.exports=Ng()});var q={};pS(q,{Children:()=>go,Component:()=>gO,Fragment:()=>qe,Profiler:()=>bO,PureComponent:()=>hO,StrictMode:()=>TO,Suspense:()=>PO,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>xO,cloneElement:()=>We,createContext:()=>po,createElement:()=>yt,createFactory:()=>vO,createRef:()=>Ud,default:()=>ho,forwardRef:()=>M,isValidElement:()=>io,lazy:()=>CO,memo:()=>Mi,useCallback:()=>Se,useContext:()=>Ue,useDebugValue:()=>mr,useEffect:()=>he,useImperativeHandle:()=>Jo,useLayoutEffect:()=>ji,useMemo:()=>Be,useReducer:()=>Vd,useRef:()=>ee,useState:()=>Ee,version:()=>RO});var ho,go,gO,qe,bO,hO,TO,PO,xO,We,po,yt,vO,Ud,M,io,CO,Mi,Se,Ue,mr,he,Jo,ji,Be,Vd,ee,Ee,RO,U=nl(()=>{s();n();a();ho=__REACT__,{Children:go,Component:gO,Fragment:qe,Profiler:bO,PureComponent:hO,StrictMode:TO,Suspense:PO,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:xO,cloneElement:We,createContext:po,createElement:yt,createFactory:vO,createRef:Ud,forwardRef:M,isValidElement:io,lazy:CO,memo:Mi,useCallback:Se,useContext:Ue,useDebugValue:mr,useEffect:he,useImperativeHandle:Jo,useLayoutEffect:ji,useMemo:Be,useReducer:Vd,useRef:ee,useState:Ee,version:RO}=__REACT__});var pb=zr(Oo=>{"use strict";s();n();a();var bt=typeof Symbol=="function"&&Symbol.for,Yd=bt?Symbol.for("react.element"):60103,Xd=bt?Symbol.for("react.portal"):60106,Ml=bt?Symbol.for("react.fragment"):60107,jl=bt?Symbol.for("react.strict_mode"):60108,Ll=bt?Symbol.for("react.profiler"):60114,$l=bt?Symbol.for("react.provider"):60109,Al=bt?Symbol.for("react.context"):60110,Zd=bt?Symbol.for("react.async_mode"):60111,Dl=bt?Symbol.for("react.concurrent_mode"):60111,Bl=bt?Symbol.for("react.forward_ref"):60112,Fl=bt?Symbol.for("react.suspense"):60113,tw=bt?Symbol.for("react.suspense_list"):60120,Ul=bt?Symbol.for("react.memo"):60115,Vl=bt?Symbol.for("react.lazy"):60116,rw=bt?Symbol.for("react.block"):60121,sw=bt?Symbol.for("react.fundamental"):60117,nw=bt?Symbol.for("react.responder"):60118,aw=bt?Symbol.for("react.scope"):60119;function rr(e){if(typeof e=="object"&&e!==null){var o=e.$$typeof;switch(o){case Yd:switch(e=e.type,e){case Zd:case Dl:case Ml:case Ll:case jl:case Fl:return e;default:switch(e=e&&e.$$typeof,e){case Al:case Bl:case Vl:case Ul:case $l:return e;default:return o}}case Xd:return o}}}function ib(e){return rr(e)===Dl}Oo.AsyncMode=Zd;Oo.ConcurrentMode=Dl;Oo.ContextConsumer=Al;Oo.ContextProvider=$l;Oo.Element=Yd;Oo.ForwardRef=Bl;Oo.Fragment=Ml;Oo.Lazy=Vl;Oo.Memo=Ul;Oo.Portal=Xd;Oo.Profiler=Ll;Oo.StrictMode=jl;Oo.Suspense=Fl;Oo.isAsyncMode=function(e){return ib(e)||rr(e)===Zd};Oo.isConcurrentMode=ib;Oo.isContextConsumer=function(e){return rr(e)===Al};Oo.isContextProvider=function(e){return rr(e)===$l};Oo.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yd};Oo.isForwardRef=function(e){return rr(e)===Bl};Oo.isFragment=function(e){return rr(e)===Ml};Oo.isLazy=function(e){return rr(e)===Vl};Oo.isMemo=function(e){return rr(e)===Ul};Oo.isPortal=function(e){return rr(e)===Xd};Oo.isProfiler=function(e){return rr(e)===Ll};Oo.isStrictMode=function(e){return rr(e)===jl};Oo.isSuspense=function(e){return rr(e)===Fl};Oo.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ml||e===Dl||e===Ll||e===jl||e===Fl||e===tw||typeof e=="object"&&e!==null&&(e.$$typeof===Vl||e.$$typeof===Ul||e.$$typeof===$l||e.$$typeof===Al||e.$$typeof===Bl||e.$$typeof===sw||e.$$typeof===nw||e.$$typeof===aw||e.$$typeof===rw)};Oo.typeOf=rr});var cb=zr((iY,lb)=>{"use strict";s();n();a();lb.exports=pb()});var ef=zr((uY,gb)=>{"use strict";s();n();a();var Jd=cb(),iw={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},pw={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},lw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},mb={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Qd={};Qd[Jd.ForwardRef]=lw;Qd[Jd.Memo]=mb;function ub(e){return Jd.isMemo(e)?mb:Qd[e.$$typeof]||iw}var cw=Object.defineProperty,uw=Object.getOwnPropertyNames,db=Object.getOwnPropertySymbols,dw=Object.getOwnPropertyDescriptor,fw=Object.getPrototypeOf,fb=Object.prototype;function yb(e,o,t){if(typeof o!="string"){if(fb){var r=fw(o);r&&r!==fb&&yb(e,r,t)}var i=uw(o);db&&(i=i.concat(db(o)));for(var p=ub(e),l=ub(o),c=0;c<i.length;++c){var u=i[c];if(!pw[u]&&!(t&&t[u])&&!(l&&l[u])&&!(p&&p[u])){var y=dw(o,u);try{cw(e,u,y)}catch{}}}}return e}gb.exports=yb});var Ib=zr(Hl=>{"use strict";s();n();a();var _w=(U(),lS(q)),kw=Symbol.for("react.element"),Nw=Symbol.for("react.fragment"),Iw=Object.prototype.hasOwnProperty,Mw=_w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,jw={key:!0,ref:!0,__self:!0,__source:!0};function Nb(e,o,t){var r,i={},p=null,l=null;t!==void 0&&(p=""+t),o.key!==void 0&&(p=""+o.key),o.ref!==void 0&&(l=o.ref);for(r in o)Iw.call(o,r)&&!jw.hasOwnProperty(r)&&(i[r]=o[r]);if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return{$$typeof:kw,type:e,key:p,ref:l,props:i,_owner:Mw.current}}Hl.Fragment=Nw;Hl.jsx=Nb;Hl.jsxs=Nb});var W=zr((XX,Mb)=>{"use strict";s();n();a();Mb.exports=Ib()});s();n();a();s();n();a();s();n();a();var bW=__STORYBOOKAPI__,{ActiveTabs:hW,Consumer:TW,ManagerContext:PW,Provider:xW,addons:cg,combineParameters:vW,controlOrMetaKey:CW,controlOrMetaSymbol:RW,eventMatchesShortcut:SW,eventToShortcut:OW,isMacLike:wW,isShortcutTaken:EW,keyToSymbol:_W,merge:kW,mockChannel:NW,optionOrAltSymbol:IW,shortcutMatchesShortcut:MW,shortcutToHumanString:jW,types:LW,useAddonState:$W,useArgTypes:AW,useArgs:DW,useChannel:BW,useGlobalTypes:FW,useGlobals:UW,useParameter:VW,useSharedState:zW,useStoryPrepared:WW,useStorybookApi:HW,useStorybookState:GW}=__STORYBOOKAPI__;s();n();a();s();n();a();s();n();a();s();n();a();var ug=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();s();n();a();var o6=__STORYBOOKCLIENTLOGGER__,{deprecate:t6,logger:dg,once:r6,pretty:s6}=__STORYBOOKCLIENTLOGGER__;function ba(){return ba=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},ba.apply(this,arguments)}function cS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ki(e,o){return ki=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},ki(e,o)}function uS(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,ki(e,o)}function Id(e){return Id=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)},Id(e)}function dS(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function fS(){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 al(e,o,t){return fS()?al=Reflect.construct.bind():al=function(r,i,p){var l=[null];l.push.apply(l,i);var c=Function.bind.apply(r,l),u=new c;return p&&ki(u,p.prototype),u},al.apply(null,arguments)}function Md(e){var o=typeof Map=="function"?new Map:void 0;return Md=function(t){if(t===null||!dS(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof o<"u"){if(o.has(t))return o.get(t);o.set(t,r)}function r(){return al(t,arguments,Id(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ki(r,t)},Md(e)}var mS={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).
`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color.
`,4:`Couldn't generate valid rgb string from %s, it returned %s.
`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.
`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).
`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).
`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.
`,9:`Please provide a number of steps to the modularScale helper.
`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s"
`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.
`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.
`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.
`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.
`,16:`You must provide a template to this method.
`,17:`You passed an unsupported selector state to this method.
`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units.
`,19:`fromSize and toSize must be provided as stringified numbers with the same units.
`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family.
`,24:`fontFace expects either the path to the font file(s) or a name of a local copy.
`,25:`fontFace expects localFonts to be an array.
`,26:`fontFace expects fileFormats to be an array.
`,27:`radialGradient requries at least 2 color-stops to properly render.
`,28:`Please supply a filename to retinaImage() as the first argument.
`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation
`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])
To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')
`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation
`,34:`borderRadius expects a radius value as a string or number as the second argument.
`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
`,36:`Property must be a string value.
`,37:`Syntax Error at %s.
`,38:`Formula contains a function that needs parentheses at %s.
`,39:`Formula is missing closing parenthesis at %s.
`,40:`Formula has too many closing parentheses at %s.
`,41:`All values in a formula must have the same unit or be unitless.
`,42:`Please provide a number of steps to the modularScale helper.
`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s.
`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.
`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.
`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units.
`,48:`fromSize and toSize must be provided as stringified numbers with the same units.
`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.
`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize.
`,52:`fontFace expects either the path to the font file(s) or a name of a local copy.
`,53:`fontFace expects localFonts to be an array.
`,54:`fontFace expects fileFormats to be an array.
`,55:`fontFace expects a name of a font-family.
`,56:`linearGradient requries at least 2 color-stops to properly render.
`,57:`radialGradient requries at least 2 color-stops to properly render.
`,58:`Please supply a filename to retinaImage() as the first argument.
`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value.
`,62:`borderRadius expects a radius value as a string or number as the second argument.
`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.
`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').
`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.
`,67:`You must provide a template to this method.
`,68:`You passed an unsupported selector state to this method.
`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.
`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.
`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.
`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12.
`,73:`Please provide a valid CSS variable.
`,74:`CSS variable not found and no default was provided.
`,75:`important requires a valid style object, got a %s instead.
`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.
`,77:`remToPx expects a value in "rem" but you provided it in "%s".
`,78:`base must be set in "px" or "%" but you set it in "%s".
`};function yS(){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];var r=o[0],i=[],p;for(p=1;p<o.length;p+=1)i.push(o[p]);return i.forEach(function(l){r=r.replace(/%[a-z]/,l)}),r}var Wr=function(e){uS(o,e);function o(t){for(var r,i=arguments.length,p=new Array(i>1?i-1:0),l=1;l<i;l++)p[l-1]=arguments[l];return r=e.call(this,yS.apply(void 0,[mS[t]].concat(p)))||this,cS(r)}return o}(Md(Error));function wd(e){return Math.round(e*255)}function gS(e,o,t){return wd(e)+","+wd(o)+","+wd(t)}function Ni(e,o,t,r){if(r===void 0&&(r=gS),o===0)return r(t,t,t);var i=(e%360+360)%360/60,p=(1-Math.abs(2*t-1))*o,l=p*(1-Math.abs(i%2-1)),c=0,u=0,y=0;i>=0&&i<1?(c=p,u=l):i>=1&&i<2?(c=l,u=p):i>=2&&i<3?(u=p,y=l):i>=3&&i<4?(u=l,y=p):i>=4&&i<5?(c=l,y=p):i>=5&&i<6&&(c=p,y=l);var b=t-p/2,h=c+b,T=u+b,P=y+b;return r(h,T,P)}var fg={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",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:"639",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"};function bS(e){if(typeof e!="string")return e;var o=e.toLowerCase();return fg[o]?"#"+fg[o]:e}var hS=/^#[a-fA-F0-9]{6}$/,TS=/^#[a-fA-F0-9]{8}$/,PS=/^#[a-fA-F0-9]{3}$/,xS=/^#[a-fA-F0-9]{4}$/,Ed=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,vS=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,CS=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,RS=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function cl(e){if(typeof e!="string")throw new Wr(3);var o=bS(e);if(o.match(hS))return{red:parseInt(""+o[1]+o[2],16),green:parseInt(""+o[3]+o[4],16),blue:parseInt(""+o[5]+o[6],16)};if(o.match(TS)){var t=parseFloat((parseInt(""+o[7]+o[8],16)/255).toFixed(2));return{red:parseInt(""+o[1]+o[2],16),green:parseInt(""+o[3]+o[4],16),blue:parseInt(""+o[5]+o[6],16),alpha:t}}if(o.match(PS))return{red:parseInt(""+o[1]+o[1],16),green:parseInt(""+o[2]+o[2],16),blue:parseInt(""+o[3]+o[3],16)};if(o.match(xS)){var r=parseFloat((parseInt(""+o[4]+o[4],16)/255).toFixed(2));return{red:parseInt(""+o[1]+o[1],16),green:parseInt(""+o[2]+o[2],16),blue:parseInt(""+o[3]+o[3],16),alpha:r}}var i=Ed.exec(o);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var p=vS.exec(o.substring(0,50));if(p)return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])};var l=CS.exec(o);if(l){var c=parseInt(""+l[1],10),u=parseInt(""+l[2],10)/100,y=parseInt(""+l[3],10)/100,b="rgb("+Ni(c,u,y)+")",h=Ed.exec(b);if(!h)throw new Wr(4,o,b);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var T=RS.exec(o.substring(0,50));if(T){var P=parseInt(""+T[1],10),x=parseInt(""+T[2],10)/100,v=parseInt(""+T[3],10)/100,S="rgb("+Ni(P,x,v)+")",R=Ed.exec(S);if(!R)throw new Wr(4,o,S);return{red:parseInt(""+R[1],10),green:parseInt(""+R[2],10),blue:parseInt(""+R[3],10),alpha:parseFloat(""+T[4])>1?parseFloat(""+T[4])/100:parseFloat(""+T[4])}}throw new Wr(5)}function SS(e){var o=e.red/255,t=e.green/255,r=e.blue/255,i=Math.max(o,t,r),p=Math.min(o,t,r),l=(i+p)/2;if(i===p)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var c,u=i-p,y=l>.5?u/(2-i-p):u/(i+p);switch(i){case o:c=(t-r)/u+(t<r?6:0);break;case t:c=(r-o)/u+2;break;default:c=(o-t)/u+4;break}return c*=60,e.alpha!==void 0?{hue:c,saturation:y,lightness:l,alpha:e.alpha}:{hue:c,saturation:y,lightness:l}}function gg(e){return SS(cl(e))}var OS=function(e){return e.length===7&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},jd=OS;function Tn(e){var o=e.toString(16);return o.length===1?"0"+o:o}function _d(e){return Tn(Math.round(e*255))}function wS(e,o,t){return jd("#"+_d(e)+_d(o)+_d(t))}function pl(e,o,t){return Ni(e,o,t,wS)}function ES(e,o,t){if(typeof e=="number"&&typeof o=="number"&&typeof t=="number")return pl(e,o,t);if(typeof e=="object"&&o===void 0&&t===void 0)return pl(e.hue,e.saturation,e.lightness);throw new Wr(1)}function _S(e,o,t,r){if(typeof e=="number"&&typeof o=="number"&&typeof t=="number"&&typeof r=="number")return r>=1?pl(e,o,t):"rgba("+Ni(e,o,t)+","+r+")";if(typeof e=="object"&&o===void 0&&t===void 0&&r===void 0)return e.alpha>=1?pl(e.hue,e.saturation,e.lightness):"rgba("+Ni(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Wr(2)}function Ld(e,o,t){if(typeof e=="number"&&typeof o=="number"&&typeof t=="number")return jd("#"+Tn(e)+Tn(o)+Tn(t));if(typeof e=="object"&&o===void 0&&t===void 0)return jd("#"+Tn(e.red)+Tn(e.green)+Tn(e.blue));throw new Wr(6)}function Ii(e,o,t,r){if(typeof e=="string"&&typeof o=="number"){var i=cl(e);return"rgba("+i.red+","+i.green+","+i.blue+","+o+")"}else{if(typeof e=="number"&&typeof o=="number"&&typeof t=="number"&&typeof r=="number")return r>=1?Ld(e,o,t):"rgba("+e+","+o+","+t+","+r+")";if(typeof e=="object"&&o===void 0&&t===void 0&&r===void 0)return e.alpha>=1?Ld(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Wr(7)}var kS=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},NS=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},IS=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},MS=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function bg(e){if(typeof e!="object")throw new Wr(8);if(NS(e))return Ii(e);if(kS(e))return Ld(e);if(MS(e))return _S(e);if(IS(e))return ES(e);throw new Wr(8)}function hg(e,o,t){return function(){var r=t.concat(Array.prototype.slice.call(arguments));return r.length>=o?e.apply(this,r):hg(e,o,r)}}function ul(e){return hg(e,e.length,[])}function dl(e,o,t){return Math.max(e,Math.min(o,t))}function jS(e,o){if(o==="transparent")return o;var t=gg(o);return bg(ba({},t,{lightness:dl(0,1,t.lightness-parseFloat(e))}))}var LS=ul(jS),$S=LS;function AS(e,o){if(o==="transparent")return o;var t=gg(o);return bg(ba({},t,{lightness:dl(0,1,t.lightness+parseFloat(e))}))}var DS=ul(AS),BS=DS;function FS(e,o){if(o==="transparent")return o;var t=cl(o),r=typeof t.alpha=="number"?t.alpha:1,i=ba({},t,{alpha:dl(0,1,(r*100+parseFloat(e)*100)/100)});return Ii(i)}var u6=ul(FS);function US(e,o){if(o==="transparent")return o;var t=cl(o),r=typeof t.alpha=="number"?t.alpha:1,i=ba({},t,{alpha:dl(0,1,+(r*100-parseFloat(e)*100).toFixed(2)/100)});return Ii(i)}var VS=ul(US),zS=VS,it={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},mg={app:"#F6F9FC",bar:it.lightest,content:it.lightest,gridCellSize:10,hoverable:zS(.93,it.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},ll={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},WS={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:mg.app,appContentBg:it.lightest,appBorderColor:it.border,appBorderRadius:4,fontBase:ll.fonts.base,fontCode:ll.fonts.mono,textColor:it.darkest,textInverseColor:it.lightest,textMutedColor:it.mediumdark,barTextColor:it.mediumdark,barSelectedColor:it.secondary,barBg:it.lightest,buttonBg:mg.app,buttonBorder:it.medium,booleanBg:it.mediumlight,booleanSelectedBg:it.lightest,inputBg:it.lightest,inputBorder:it.border,inputTextColor:it.darkest,inputBorderRadius:4},yg=WS,HS={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:ll.fonts.base,fontCode:ll.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:"#798186",barSelectedColor:it.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:it.lightest,inputBorderRadius:4},GS=HS,{window:kd}=ug;var qS=e=>typeof e!="string"?(dg.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,KS=e=>!/(gradient|var|calc)/.test(e),YS=(e,o)=>e==="darken"?Ii(`${$S(1,o)}`,.95):e==="lighten"?Ii(`${BS(1,o)}`,.95):o,Tg=e=>o=>{if(!qS(o)||!KS(o))return o;try{return YS(e,o)}catch{return o}},d6=Tg("lighten"),f6=Tg("darken"),XS=()=>!kd||!kd.matchMedia?"light":kd.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",il={light:yg,dark:GS,normal:yg},Nd=XS(),$d=(e={base:Nd},o)=>{let t={...il[Nd],...il[e.base]||{},...e,base:il[e.base]?e.base:Nd};return{...o,...t,barSelectedColor:e.barSelectedColor||t.colorSecondary}};s();n();a();s();n();a();s();n();a();s();n();a();var ZS={black:"#000",white:"#fff"},Pn=ZS;s();n();a();var JS={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"},Ls=JS;s();n();a();s();n();a();var QS={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"},$s=QS;s();n();a();s();n();a();s();n();a();var eO={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"},As=eO;s();n();a();var oO={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"},Ds=oO;s();n();a();s();n();a();s();n();a();var tO={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"},Bs=tO;s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();var rO={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"},xn=rO;s();n();a();s();n();a();s();n();a();var sO={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Ad=sO;s();n();a();s();n();a();s();n();a();s();n();a();function vn(e,o){return()=>null}s();n();a();s();n();a();function Sr(){return Sr=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Sr.apply(this,arguments)}function ls(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Pg(e){if(!ls(e))return e;let o={};return Object.keys(e).forEach(t=>{o[t]=Pg(e[t])}),o}function To(e,o,t={clone:!0}){let r=t.clone?Sr({},e):e;return ls(e)&&ls(o)&&Object.keys(o).forEach(i=>{i!=="__proto__"&&(ls(o[i])&&i in e&&ls(e[i])?r[i]=To(e[i],o[i],t):t.clone?r[i]=ls(o[i])?Pg(o[i]):o[i]:r[i]=o[i])}),r}s();n();a();var Dd=O(Q());function pO(e){let{prototype:o={}}=e;return!!o.isReactComponent}function Eg(e,o,t,r,i){let p=e[o],l=i||o;if(p==null||typeof window>"u")return null;let c,u=p.type;return typeof u=="function"&&!pO(u)&&(c="Did you accidentally use a plain function component for an element instead?"),c!==void 0?new Error(`Invalid ${r} \`${l}\` supplied to \`${t}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}var lO=vn(Dd.default.element,Eg);lO.isRequired=vn(Dd.default.element.isRequired,Eg);s();n();a();var _g=O(Q());function cO(e){let{prototype:o={}}=e;return!!o.isReactComponent}function uO(e,o,t,r,i){let p=e[o],l=i||o;if(p==null||typeof window>"u")return null;let c;return typeof p=="function"&&!cO(p)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${r} \`${l}\` supplied to \`${t}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}var dO=vn(_g.default.elementType,uO);s();n();a();s();n();a();function jo(e){let o="https://mui.com/production-error/?code="+e;for(let t=1;t<arguments.length;t+=1)o+="&args[]="+encodeURIComponent(arguments[t]);return"Minified MUI error #"+e+"; visit "+o+" for the full message."}s();n();a();var Mg=O(tr());s();n();a();s();n();a();var yO=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();s();n();a();var Cl=O(Q()),V8=Cl.default.oneOfType([Cl.default.func,Cl.default.object]);s();n();a();function Bt(e){if(typeof e!="string")throw new Error(jo(7));return e.charAt(0).toUpperCase()+e.slice(1)}s();n();a();function Cn(...e){return e.reduce((o,t)=>t==null?o:function(...i){o.apply(this,i),t.apply(this,i)},()=>{})}s();n();a();function ha(e,o=166){let t;function r(...i){let p=()=>{e.apply(this,i)};clearTimeout(t),t=setTimeout(p,o)}return r.clear=()=>{clearTimeout(t)},r}s();n();a();s();n();a();U();function Ta(e,o){return io(e)&&o.indexOf(e.type.muiName)!==-1}s();n();a();function wo(e){return e&&e.ownerDocument||document}s();n();a();function Or(e){return wo(e).defaultView||window}s();n();a();s();n();a();function Hr(e,o){typeof e=="function"?e(o):e&&(e.current=o)}s();n();a();U();var SO=typeof window<"u"?ji:he,Ao=SO;s();n();a();U();var jg=0;function OO(e){let[o,t]=Ee(e),r=e||o;return he(()=>{o==null&&(jg+=1,t(`mui-${jg}`))},[o]),r}var Lg=void 0;function Uo(e){if(Lg!==void 0){let o=Lg();return e??o}return OO(e)}s();n();a();s();n();a();U();function gt({controlled:e,default:o,name:t,state:r="value"}){let{current:i}=ee(e!==void 0),[p,l]=Ee(o),c=i?e:p,u=Se(y=>{i||l(y)},[]);return[c,u]}s();n();a();U();function Qo(e){let o=ee(e);return Ao(()=>{o.current=e}),Se((...t)=>(0,o.current)(...t),[])}s();n();a();U();function so(...e){return Be(()=>e.every(o=>o==null)?null:o=>{e.forEach(t=>{Hr(t,o)})},e)}s();n();a();U();var Rl=!0,Wd=!1,$g,wO={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function EO(e){let{type:o,tagName:t}=e;return!!(t==="INPUT"&&wO[o]&&!e.readOnly||t==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function _O(e){e.metaKey||e.altKey||e.ctrlKey||(Rl=!0)}function zd(){Rl=!1}function kO(){this.visibilityState==="hidden"&&Wd&&(Rl=!0)}function NO(e){e.addEventListener("keydown",_O,!0),e.addEventListener("mousedown",zd,!0),e.addEventListener("pointerdown",zd,!0),e.addEventListener("touchstart",zd,!0),e.addEventListener("visibilitychange",kO,!0)}function IO(e){let{target:o}=e;try{return o.matches(":focus-visible")}catch{}return Rl||EO(o)}function Gr(){let e=Se(i=>{i!=null&&NO(i.ownerDocument)},[]),o=ee(!1);function t(){return o.current?(Wd=!0,window.clearTimeout($g),$g=window.setTimeout(()=>{Wd=!1},100),o.current=!1,!0):!1}function r(i){return IO(i)?(o.current=!0,!0):!1}return{isFocusVisibleRef:o,onFocus:r,onBlur:t,ref:e}}s();n();a();function Pa(e){let o=e.documentElement.clientWidth;return Math.abs(window.innerWidth-o)}s();n();a();var xa;function Li(){if(xa)return xa;let e=document.createElement("div"),o=document.createElement("div");return o.style.width="10px",o.style.height="1px",e.appendChild(o),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),xa="reverse",e.scrollLeft>0?xa="default":(e.scrollLeft=1,e.scrollLeft===0&&(xa="negative")),document.body.removeChild(e),xa}function $i(e,o){let t=e.scrollLeft;if(o!=="rtl")return t;switch(Li()){case"negative":return e.scrollWidth-e.clientWidth+t;case"reverse":return e.scrollWidth-e.clientWidth-t;default:return t}}s();n();a();U();var MO=e=>{let o=ee({});return he(()=>{o.current=e}),o.current},Rn=MO;s();n();a();var jO={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Ai=jO;s();n();a();function LO(e){let o=typeof e;switch(o){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return o}}function $O(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}var AO=Number.isInteger||$O;function Dg(e,o,t,r){let i=e[o];if(i==null||!AO(i)){let p=LO(i);return new RangeError(`Invalid ${r} \`${o}\` of type \`${p}\` supplied to \`${t}\`, expected \`integer\`.`)}return null}function DO(e,o,...t){return e[o]===void 0?null:Dg(e,o,...t)}function Ag(){return null}DO.isRequired=Dg;Ag.isRequired=Ag;s();n();a();function Sn(e,o){let t=Sr({},o);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))t[r]=Sr({},e[r],t[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){let i=e[r]||{},p=o[r];t[r]={},!p||!Object.keys(p)?t[r]=i:!i||!Object.keys(i)?t[r]=p:(t[r]=Sr({},p),Object.keys(i).forEach(l=>{t[r][l]=Sn(i[l],p[l])}))}else t[r]===void 0&&(t[r]=e[r])}),t}s();n();a();s();n();a();function V(e,o,t=void 0){let r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((p,l)=>{if(l){let c=o(l);c!==""&&p.push(c),t&&t[l]&&p.push(t[l])}return p},[]).join(" ")}),r}s();n();a();s();n();a();s();n();a();s();n();a();var Bg=e=>e,BO=()=>{let e=Bg;return{configure(o){e=o},generate(o){return e(o)},reset(){e=Bg}}},FO=BO(),cs=FO;var UO={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function B(e,o,t="Mui"){let r=UO[o];return r?`${t}-${r}`:`${cs.generate(e)}-${o}`}s();n();a();s();n();a();function F(e,o,t="Mui"){let r={};return o.forEach(i=>{r[i]=B(e,i,t)}),r}s();n();a();var Ht="$$material";s();n();a();s();n();a();function g(){return g=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},g.apply(this,arguments)}s();n();a();function D(e,o){if(e==null)return{};var t={},r=Object.keys(e),i,p;for(p=0;p<r.length;p++)i=r[p],!(o.indexOf(i)>=0)&&(t[i]=e[i]);return t}s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},wr.apply(this,arguments)}U();s();n();a();s();n();a();function Sl(e){var o=Object.create(null);return function(t){return o[t]===void 0&&(o[t]=e(t)),o[t]}}var HO=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Fg=Sl(function(e){return HO.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});s();n();a();s();n();a();U();U();s();n();a();s();n();a();function GO(e){if(e.sheet)return e.sheet;for(var o=0;o<document.styleSheets.length;o++)if(document.styleSheets[o].ownerNode===e)return document.styleSheets[o]}function qO(e){var o=document.createElement("style");return o.setAttribute("data-emotion",e.key),e.nonce!==void 0&&o.setAttribute("nonce",e.nonce),o.appendChild(document.createTextNode("")),o.setAttribute("data-s",""),o}var Ug=function(){function e(t){var r=this;this._insertTag=function(i){var p;r.tags.length===0?r.insertionPoint?p=r.insertionPoint.nextSibling:r.prepend?p=r.container.firstChild:p=r.before:p=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,p),r.tags.push(i)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var o=e.prototype;return o.hydrate=function(r){r.forEach(this._insertTag)},o.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(qO(this));var i=this.tags[this.tags.length-1];if(!1)var p;if(this.isSpeedy){var l=GO(i);try{l.insertRule(r,l.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},o.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}();s();n();a();s();n();a();var pt="-ms-",On="-moz-",xo="-webkit-",Ol="comm",wn="rule",En="decl";var Vg="@import";var Di="@keyframes";var zg="@layer";s();n();a();var Wg=Math.abs,_n=String.fromCharCode,Hg=Object.assign;function Hd(e,o){return Go(e,0)^45?(((o<<2^Go(e,0))<<2^Go(e,1))<<2^Go(e,2))<<2^Go(e,3):0}function wl(e){return e.trim()}function El(e,o){return(e=o.exec(e))?e[0]:e}function Po(e,o,t){return e.replace(o,t)}function va(e,o){return e.indexOf(o)}function Go(e,o){return e.charCodeAt(o)|0}function us(e,o,t){return e.slice(o,t)}function _t(e){return e.length}function Ca(e){return e.length}function Ra(e,o){return o.push(e),e}function Gd(e,o){return e.map(o).join("")}s();n();a();s();n();a();var _l=1,Sa=1,Gg=0,Ft=0,rt=0,wa="";function Bi(e,o,t,r,i,p,l){return{value:e,root:o,parent:t,type:r,props:i,children:p,line:_l,column:Sa,length:l,return:""}}function kn(e,o){return Hg(Bi("",null,null,"",null,null,0),e,{length:-e.length},o)}function qg(){return rt}function Kg(){return rt=Ft>0?Go(wa,--Ft):0,Sa--,rt===10&&(Sa=1,_l--),rt}function Ut(){return rt=Ft<Gg?Go(wa,Ft++):0,Sa++,rt===10&&(Sa=1,_l++),rt}function yr(){return Go(wa,Ft)}function Fi(){return Ft}function Ea(e,o){return us(wa,e,o)}function Oa(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kl(e){return _l=Sa=1,Gg=_t(wa=e),Ft=0,[]}function Nl(e){return wa="",e}function _a(e){return wl(Ea(Ft-1,qd(e===91?e+2:e===40?e+1:e)))}function Yg(e){for(;(rt=yr())&&rt<33;)Ut();return Oa(e)>2||Oa(rt)>3?"":" "}function Xg(e,o){for(;--o&&Ut()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return Ea(e,Fi()+(o<6&&yr()==32&&Ut()==32))}function qd(e){for(;Ut();)switch(rt){case e:return Ft;case 34:case 39:e!==34&&e!==39&&qd(rt);break;case 40:e===41&&qd(e);break;case 92:Ut();break}return Ft}function Zg(e,o){for(;Ut()&&e+rt!==47+10;)if(e+rt===42+42&&yr()===47)break;return"/*"+Ea(o,Ft-1)+"*"+_n(e===47?e:Ut())}function Jg(e){for(;!Oa(yr());)Ut();return Ea(e,Ft)}function ob(e){return Nl(Il("",null,null,null,[""],e=kl(e),0,[0],e))}function Il(e,o,t,r,i,p,l,c,u){for(var y=0,b=0,h=l,T=0,P=0,x=0,v=1,S=1,R=1,E=0,w="",_=i,N=p,C=r,k=w;S;)switch(x=E,E=Ut()){case 40:if(x!=108&&Go(k,h-1)==58){va(k+=Po(_a(E),"&","&\f"),"&\f")!=-1&&(R=-1);break}case 34:case 39:case 91:k+=_a(E);break;case 9:case 10:case 13:case 32:k+=Yg(x);break;case 92:k+=Xg(Fi()-1,7);continue;case 47:switch(yr()){case 42:case 47:Ra(KO(Zg(Ut(),Fi()),o,t),u);break;default:k+="/"}break;case 123*v:c[y++]=_t(k)*R;case 125*v:case 59:case 0:switch(E){case 0:case 125:S=0;case 59+b:R==-1&&(k=Po(k,/\f/g,"")),P>0&&_t(k)-h&&Ra(P>32?eb(k+";",r,t,h-1):eb(Po(k," ","")+";",r,t,h-2),u);break;case 59:k+=";";default:if(Ra(C=Qg(k,o,t,y,b,i,c,w,_=[],N=[],h),p),E===123)if(b===0)Il(k,o,C,C,_,p,h,c,N);else switch(T===99&&Go(k,3)===110?100:T){case 100:case 108:case 109:case 115:Il(e,C,C,r&&Ra(Qg(e,C,C,0,0,i,c,w,i,_=[],h),N),i,N,h,c,r?_:N);break;default:Il(k,C,C,C,[""],N,0,c,N)}}y=b=P=0,v=R=1,w=k="",h=l;break;case 58:h=1+_t(k),P=x;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&Kg()==125)continue}switch(k+=_n(E),E*v){case 38:R=b>0?1:(k+="\f",-1);break;case 44:c[y++]=(_t(k)-1)*R,R=1;break;case 64:yr()===45&&(k+=_a(Ut())),T=yr(),b=h=_t(w=k+=Jg(Fi())),E++;br