UNPKG

@sassoftware/react-app-builder

Version:
14 lines 1.63 MB
import require$$2$1,{jsx,jsxs,Fragment as Fragment$1}from"react/jsx-runtime";import*as React from"react";import React__default,{forwardRef,useContext,useState,useRef,useEffect,useLayoutEffect,useCallback,useMemo,Children,isValidElement,cloneElement,Fragment,memo,useReducer}from"react";import*as ReactDOM from"react-dom";import ReactDOM__default,{unstable_batchedUpdates}from"react-dom";import*as restafedit from"@sassoftware/restafedit";import{getLibraryList,getTableList,appendRows,appendTable,addRows,uploadData,prepFormData,updateValue,scrollTable,runControlLabel,setup}from"@sassoftware/restafedit";function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var propTypes={exports:{}},reactIs$2={exports:{}},reactIs_development$2={},hasRequiredReactIs_development$2,hasRequiredReactIs$2,objectAssign,hasRequiredObjectAssign,ReactPropTypesSecret_1,hasRequiredReactPropTypesSecret,has,hasRequiredHas,checkPropTypes_1,hasRequiredCheckPropTypes,factoryWithTypeCheckers,hasRequiredFactoryWithTypeCheckers,hasRequiredPropTypes;function requireReactIs_development$2(){return hasRequiredReactIs_development$2||(hasRequiredReactIs_development$2=1,function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var g=e.type;switch(g){case l:case c:case r:case i:case o:case p:return g;default:var f=g&&g.$$typeof;switch(f){case a:case u:case m:case h:case s:return f;default:return d}}case n:return d}}}var v=l,x=c,w=a,T=s,C=t,P=u,$=r,S=m,k=h,E=n,R=i,M=o,O=p,A=!1;function I(e){return b(e)===c}reactIs_development$2.AsyncMode=v,reactIs_development$2.ConcurrentMode=x,reactIs_development$2.ContextConsumer=w,reactIs_development$2.ContextProvider=T,reactIs_development$2.Element=C,reactIs_development$2.ForwardRef=P,reactIs_development$2.Fragment=$,reactIs_development$2.Lazy=S,reactIs_development$2.Memo=k,reactIs_development$2.Portal=E,reactIs_development$2.Profiler=R,reactIs_development$2.StrictMode=M,reactIs_development$2.Suspense=O,reactIs_development$2.isAsyncMode=function(e){return A||(A=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===l},reactIs_development$2.isConcurrentMode=I,reactIs_development$2.isContextConsumer=function(e){return b(e)===a},reactIs_development$2.isContextProvider=function(e){return b(e)===s},reactIs_development$2.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},reactIs_development$2.isForwardRef=function(e){return b(e)===u},reactIs_development$2.isFragment=function(e){return b(e)===r},reactIs_development$2.isLazy=function(e){return b(e)===m},reactIs_development$2.isMemo=function(e){return b(e)===h},reactIs_development$2.isPortal=function(e){return b(e)===n},reactIs_development$2.isProfiler=function(e){return b(e)===i},reactIs_development$2.isStrictMode=function(e){return b(e)===o},reactIs_development$2.isSuspense=function(e){return b(e)===p},reactIs_development$2.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===_||e.$$typeof===g)},reactIs_development$2.typeOf=b}()),reactIs_development$2}function requireReactIs$2(){return hasRequiredReactIs$2||(hasRequiredReactIs$2=1,reactIs$2.exports=requireReactIs_development$2()),reactIs$2.exports} /* object-assign (c) Sindre Sorhus @license MIT */function requireObjectAssign(){if(hasRequiredObjectAssign)return objectAssign;hasRequiredObjectAssign=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return objectAssign=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var i,s,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))t.call(i,c)&&(a[c]=i[c]);if(e){s=e(i);for(var u=0;u<s.length;u++)n.call(i,s[u])&&(a[s[u]]=i[s[u]])}}return a},objectAssign}function requireReactPropTypesSecret(){if(hasRequiredReactPropTypesSecret)return ReactPropTypesSecret_1;hasRequiredReactPropTypesSecret=1;return ReactPropTypesSecret_1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function requireHas(){return hasRequiredHas?has:(hasRequiredHas=1,has=Function.call.bind(Object.prototype.hasOwnProperty))}function requireCheckPropTypes(){if(hasRequiredCheckPropTypes)return checkPropTypes_1;hasRequiredCheckPropTypes=1;var e,t=requireReactPropTypesSecret(),n={},r=requireHas();function o(o,i,s,a,l){for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var p=Error((a||"React class")+": "+s+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=o[c](i,c,a,s,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((a||"React class")+": type specification of "+s+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var d=l?l():"";e("Failed "+s+" type: "+u.message+(null!=d?d:""))}}}return e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},o.resetWarningCache=function(){n={}},checkPropTypes_1=o}function requireFactoryWithTypeCheckers(){if(hasRequiredFactoryWithTypeCheckers)return factoryWithTypeCheckers;hasRequiredFactoryWithTypeCheckers=1;var e,t=requireReactIs$2(),n=requireObjectAssign(),r=requireReactPropTypesSecret(),o=requireHas(),i=requireCheckPropTypes();function s(){return null}return e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},factoryWithTypeCheckers=function(a,l){var c="function"==typeof Symbol&&Symbol.iterator;var u="<<anonymous>>",p={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:m(s),arrayOf:function(e){return m((function(t,n,o,i,s){if("function"!=typeof e)return new h("Property `"+s+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var a=t[n];if(!Array.isArray(a))return new h("Invalid "+i+" `"+s+"` of type `"+_(a)+"` supplied to `"+o+"`, expected an array.");for(var l=0;l<a.length;l++){var c=e(a,l,o,i,s+"["+l+"]",r);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,r,o){var i=e[t];return a(i)?null:new h("Invalid "+r+" `"+o+"` of type `"+_(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(e,n,r,o,i){var s=e[n];return t.isValidElementType(s)?null:new h("Invalid "+o+" `"+i+"` of type `"+_(s)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,r,o,i){if(!(t[n]instanceof e)){var s=e.name||u;return new h("Invalid "+o+" `"+i+"` of type `"+(((a=t[n]).constructor&&a.constructor.name?a.constructor.name:u)+"` supplied to `")+r+"`, expected instance of `"+s+"`.")}var a;return null}))},node:m((function(e,t,n,r,o){return y(e[t])?null:new h("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,n,i,s,a){if("function"!=typeof e)return new h("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var l=t[n],c=_(l);if("object"!==c)return new h("Invalid "+s+" `"+a+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in l)if(o(l,u)){var p=e(l,u,i,s,a+"."+u,r);if(p instanceof Error)return p}return null}))},oneOf:function(t){if(!Array.isArray(t))return e(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),s;return m((function(e,n,r,o,i){for(var s=e[n],a=0;a<t.length;a++)if(d(s,t[a]))return null;var l=JSON.stringify(t,(function(e,t){return"symbol"===b(t)?String(t):t}));return new h("Invalid "+o+" `"+i+"` of value `"+String(s)+"` supplied to `"+r+"`, expected one of "+l+".")}))},oneOfType:function(t){if(!Array.isArray(t))return e("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var n=0;n<t.length;n++){var i=t[n];if("function"!=typeof i)return e("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+v(i)+" at index "+n+"."),s}return m((function(e,n,i,s,a){for(var l=[],c=0;c<t.length;c++){var u=(0,t[c])(e,n,i,s,a,r);if(null==u)return null;u.data&&o(u.data,"expectedType")&&l.push(u.data.expectedType)}return new h("Invalid "+s+" `"+a+"` supplied to `"+i+"`"+(l.length>0?", expected one of type ["+l.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,n,o,i,s){var a=t[n],l=_(a);if("object"!==l)return new h("Invalid "+i+" `"+s+"` of type `"+l+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return f(o,i,s,c,b(u));var p=u(a,c,o,i,s+"."+c,r);if(p)return p}return null}))},exact:function(e){return m((function(t,i,s,a,l){var c=t[i],u=_(c);if("object"!==u)return new h("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+s+"`, expected `object`.");var p=n({},t[i],e);for(var d in p){var m=e[d];if(o(e,d)&&"function"!=typeof m)return f(s,a,l,d,b(m));if(!m)return new h("Invalid "+a+" `"+l+"` key `"+d+"` supplied to `"+s+"`.\nBad object: "+JSON.stringify(t[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=m(c,d,s,a,l+"."+d,r);if(g)return g}return null}))}};function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(t){var n={},o=0;function i(i,s,a,c,p,d,m){if(c=c||u,d=d||a,m!==r){if(l){var g=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 g.name="Invariant Violation",g}if("undefined"!=typeof console){var f=c+":"+a;!n[f]&&o<3&&(e("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[f]=!0,o++)}}return null==s[a]?i?null===s[a]?new h("The "+p+" `"+d+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+p+" `"+d+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:t(s,a,c,p,d)}var s=i.bind(null,!1);return s.isRequired=i.bind(null,!0),s}function g(e){return m((function(t,n,r,o,i,s){var a=t[n];return _(a)!==e?new h("Invalid "+o+" `"+i+"` of type `"+b(a)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function f(e,t,n,r,o){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||a(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function _(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=_(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function v(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,p.checkPropTypes=i,p.resetWarningCache=i.resetWarningCache,p.PropTypes=p,p},factoryWithTypeCheckers}function requirePropTypes(){if(hasRequiredPropTypes)return propTypes.exports;hasRequiredPropTypes=1;var e=requireReactIs$2();return propTypes.exports=requireFactoryWithTypeCheckers()(e.isElement,true),propTypes.exports}var propTypesExports=requirePropTypes(),PropTypes=getDefaultExportFromCjs(propTypesExports);function formatMuiErrorMessage$1(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var formatMuiErrorMessage=Object.freeze({__proto__:null,default:formatMuiErrorMessage$1});function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_extends$1.apply(null,arguments)}function memoize$1(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var reactPropsRegex=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,isPropValid=memoize$1((function(e){return reactPropsRegex.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),isDevelopment$2=!1;function sheetForTag(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function createStyleElement(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var StyleSheet=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?!isDevelopment$2:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(createStyleElement(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=sheetForTag(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),MS="-ms-",MOZ="-moz-",WEBKIT="-webkit-",COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs=Math.abs,from=String.fromCharCode,assign$1=Object.assign;function hash$2(e,t){return 45^charat(e,0)?(((t<<2^charat(e,0))<<2^charat(e,1))<<2^charat(e,2))<<2^charat(e,3):0}function trim(e){return e.trim()}function match(e,t){return(e=t.exec(e))?e[0]:e}function replace(e,t,n){return e.replace(t,n)}function indexof(e,t){return e.indexOf(t)}function charat(e,t){return 0|e.charCodeAt(t)}function substr(e,t,n){return e.slice(t,n)}function strlen(e){return e.length}function sizeof(e){return e.length}function append(e,t){return t.push(e),e}function combine(e,t){return e.map(t).join("")}var line=1,column=1,length=0,position=0,character=0,characters="";function node(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:line,column:column,length:s,return:""}}function copy(e,t){return assign$1(node("",null,null,"",null,null,0),e,{length:-e.length},t)}function char(){return character}function prev(){return character=position>0?charat(characters,--position):0,column--,10===character&&(column=1,line--),character}function next(){return character=position<length?charat(characters,position++):0,column++,10===character&&(column=1,line++),character}function peek(){return charat(characters,position)}function caret(){return position}function slice(e,t){return substr(characters,e,t)}function token(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 alloc(e){return line=column=1,length=strlen(characters=e),position=0,[]}function dealloc(e){return characters="",e}function delimit(e){return trim(slice(position-1,delimiter(91===e?e+2:40===e?e+1:e)))}function whitespace(e){for(;(character=peek())&&character<33;)next();return token(e)>2||token(character)>3?"":" "}function escaping(e,t){for(;--t&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(e,caret()+(t<6&&32==peek()&&32==next()))}function delimiter(e){for(;next();)switch(character){case e:return position;case 34:case 39:34!==e&&39!==e&&delimiter(character);break;case 40:41===e&&delimiter(e);break;case 92:next()}return position}function commenter(e,t){for(;next()&&e+character!==57&&(e+character!==84||47!==peek()););return"/*"+slice(t,position-1)+"*"+from(47===e?e:next())}function identifier(e){for(;!token(peek());)next();return slice(e,position)}function compile(e){return dealloc(parse$1("",null,null,null,[""],e=alloc(e),0,[0],e))}function parse$1(e,t,n,r,o,i,s,a,l){for(var c=0,u=0,p=s,d=0,h=0,m=0,g=1,f=1,y=1,_=0,b="",v=o,x=i,w=r,T=b;f;)switch(m=_,_=next()){case 40:if(108!=m&&58==charat(T,p-1)){-1!=indexof(T+=replace(delimit(_),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:T+=delimit(_);break;case 9:case 10:case 13:case 32:T+=whitespace(m);break;case 92:T+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),t,n),l);break;default:T+="/"}break;case 123*g:a[c++]=strlen(T)*y;case 125*g:case 59:case 0:switch(_){case 0:case 125:f=0;case 59+u:-1==y&&(T=replace(T,/\f/g,"")),h>0&&strlen(T)-p&&append(h>32?declaration(T+";",r,n,p-1):declaration(replace(T," ","")+";",r,n,p-2),l);break;case 59:T+=";";default:if(append(w=ruleset(T,t,n,c,u,o,a,b,v=[],x=[],p),i),123===_)if(0===u)parse$1(T,t,w,w,v,i,p,a,x);else switch(99===d&&110===charat(T,3)?100:d){case 100:case 108:case 109:case 115:parse$1(e,w,w,r&&append(ruleset(e,w,w,0,0,o,a,b,o,v=[],p),x),o,x,p,a,r?v:x);break;default:parse$1(T,w,w,w,[""],x,0,a,x)}}c=u=h=0,g=y=1,b=T="",p=s;break;case 58:p=1+strlen(T),h=m;default:if(g<1)if(123==_)--g;else if(125==_&&0==g++&&125==prev())continue;switch(T+=from(_),_*g){case 38:y=u>0?1:(T+="\f",-1);break;case 44:a[c++]=(strlen(T)-1)*y,y=1;break;case 64:45===peek()&&(T+=delimit(next())),d=peek(),u=p=strlen(b=T+=identifier(caret())),_++;break;case 45:45===m&&2==strlen(T)&&(g=0)}}return i}function ruleset(e,t,n,r,o,i,s,a,l,c,u){for(var p=o-1,d=0===o?i:[""],h=sizeof(d),m=0,g=0,f=0;m<r;++m)for(var y=0,_=substr(e,p+1,p=abs(g=s[m])),b=e;y<h;++y)(b=trim(g>0?d[y]+" "+_:replace(_,/&\f/g,d[y])))&&(l[f++]=b);return node(e,t,n,0===o?RULESET:a,l,c,u)}function comment(e,t,n){return node(e,t,n,COMMENT,from(char()),substr(e,2,-2),0)}function declaration(e,t,n,r){return node(e,t,n,DECLARATION,substr(e,0,r),substr(e,r+1,-1),r)}function serialize(e,t){for(var n="",r=sizeof(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function stringify(e,t,n,r){switch(e.type){case LAYER:if(e.children.length)break;case IMPORT:case DECLARATION:return e.return=e.return||e.value;case COMMENT:return"";case KEYFRAMES:return e.return=e.value+"{"+serialize(e.children,r)+"}";case RULESET:e.value=e.props.join(",")}return strlen(n=serialize(e.children,r))?e.return=e.value+"{"+n+"}":""}function middleware(e){var t=sizeof(e);return function(n,r,o,i){for(var s="",a=0;a<t;a++)s+=e[a](n,r,o,i)||"";return s}}function rulesheet(e){return function(t){t.root||(t=t.return)&&e(t)}}var weakMemoize=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},isBrowser$5="undefined"!=typeof document,identifierWithPointTracking=function(e,t,n){for(var r=0,o=0;r=o,o=peek(),38===r&&12===o&&(t[n]=1),!token(o);)next();return slice(e,position)},toRules=function(e,t){var n=-1,r=44;do{switch(token(r)){case 0:38===r&&12===peek()&&(t[n]=1),e[n]+=identifierWithPointTracking(position-1,t,n);break;case 2:e[n]+=delimit(r);break;case 4:if(44===r){e[++n]=58===peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=from(r)}}while(r=next());return e},getRules=function(e,t){return dealloc(toRules(alloc(e),t))},fixedElements=new WeakMap,compat=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||fixedElements.get(n))&&!r){fixedElements.set(e,!0);for(var o=[],i=getRules(t,o),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=o[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},removeLabel=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function prefix$1(e,t){switch(hash$2(e,t)){case 5103:return WEBKIT+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return WEBKIT+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return WEBKIT+e+MOZ+e+MS+e+e;case 6828:case 4268:return WEBKIT+e+MS+e+e;case 6165:return WEBKIT+e+MS+"flex-"+e+e;case 5187:return WEBKIT+e+replace(e,/(\w+).+(:[^]+)/,WEBKIT+"box-$1$2"+MS+"flex-$1$2")+e;case 5443:return WEBKIT+e+MS+"flex-item-"+replace(e,/flex-|-self/,"")+e;case 4675:return WEBKIT+e+MS+"flex-line-pack"+replace(e,/align-content|flex-|-self/,"")+e;case 5548:return WEBKIT+e+MS+replace(e,"shrink","negative")+e;case 5292:return WEBKIT+e+MS+replace(e,"basis","preferred-size")+e;case 6060:return WEBKIT+"box-"+replace(e,"-grow","")+WEBKIT+e+MS+replace(e,"grow","positive")+e;case 4554:return WEBKIT+replace(e,/([^-])(transform)/g,"$1"+WEBKIT+"$2")+e;case 6187:return replace(replace(replace(e,/(zoom-|grab)/,WEBKIT+"$1"),/(image-set)/,WEBKIT+"$1"),e,"")+e;case 5495:case 3959:return replace(e,/(image-set\([^]*)/,WEBKIT+"$1$`$1");case 4968:return replace(replace(e,/(.+:)(flex-)?(.*)/,WEBKIT+"box-pack:$3"+MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+WEBKIT+e+e;case 4095:case 3583:case 4068:case 2532:return replace(e,/(.+)-inline(.+)/,WEBKIT+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(strlen(e)-1-t>6)switch(charat(e,t+1)){case 109:if(45!==charat(e,t+4))break;case 102:return replace(e,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT+"$2-$3$1"+MOZ+(108==charat(e,t+3)?"$3":"$2-$3"))+e;case 115:return~indexof(e,"stretch")?prefix$1(replace(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==charat(e,t+1))break;case 6444:switch(charat(e,strlen(e)-3-(~indexof(e,"!important")&&10))){case 107:return replace(e,":",":"+WEBKIT)+e;case 101:return replace(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+WEBKIT+(45===charat(e,14)?"inline-":"")+"box$3$1"+WEBKIT+"$2$3$1"+MS+"$2box$3")+e}break;case 5936:switch(charat(e,t+11)){case 114:return WEBKIT+e+MS+replace(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return WEBKIT+e+MS+replace(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return WEBKIT+e+MS+replace(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return WEBKIT+e+MS+e+e}return e}var prefixer=function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case DECLARATION:e.return=prefix$1(e.value,e.length);break;case KEYFRAMES:return serialize([copy(e,{value:replace(e.value,"@","@"+WEBKIT)})],r);case RULESET:if(e.length)return combine(e.props,(function(t){switch(match(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(e,{props:[replace(t,/:(read-\w+)/,":"+MOZ+"$1")]})],r);case"::placeholder":return serialize([copy(e,{props:[replace(t,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(e,{props:[replace(t,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(e,{props:[replace(t,/:(plac\w+)/,MS+"input-$1")]})],r)}return""}))}},getServerStylisCache=isBrowser$5?void 0:weakMemoize((function(){return memoize$1((function(){var e={};return function(t){return e[t]}}))})),defaultStylisPlugins=[prefixer],createCache=function(e){var t=e.key;if(isBrowser$5&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,i=e.stylisPlugins||defaultStylisPlugins,s={},a=[];isBrowser$5&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)})));var l=[compat,removeLabel];if(isBrowser$5){var c,u=[stringify,rulesheet((function(e){c.insert(e)}))],p=middleware(l.concat(i,u));o=function(e,t,n,r){c=n,function(e){serialize(compile(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)}}else{var d=[stringify],h=middleware(l.concat(i,d)),m=getServerStylisCache(i)(t),g=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return serialize(compile(e),h)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};o=function(e,t,n,r){var o=t.name,i=g(e,t);return void 0===f.compat?(r&&(f.inserted[o]=!0),i):r?void(f.inserted[o]=i):i}}var f={key:t,sheet:new StyleSheet({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:o};return f.sheet.hydrate(a),f},reactIs$1={exports:{}},reactIs_development$1={},hasRequiredReactIs_development$1,hasRequiredReactIs$1,hoistNonReactStatics_cjs,hasRequiredHoistNonReactStatics_cjs;function requireReactIs_development$1(){return hasRequiredReactIs_development$1||(hasRequiredReactIs_development$1=1,function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var g=e.type;switch(g){case l:case c:case r:case i:case o:case p:return g;default:var f=g&&g.$$typeof;switch(f){case a:case u:case m:case h:case s:return f;default:return d}}case n:return d}}}var v=l,x=c,w=a,T=s,C=t,P=u,$=r,S=m,k=h,E=n,R=i,M=o,O=p,A=!1;function I(e){return b(e)===c}reactIs_development$1.AsyncMode=v,reactIs_development$1.ConcurrentMode=x,reactIs_development$1.ContextConsumer=w,reactIs_development$1.ContextProvider=T,reactIs_development$1.Element=C,reactIs_development$1.ForwardRef=P,reactIs_development$1.Fragment=$,reactIs_development$1.Lazy=S,reactIs_development$1.Memo=k,reactIs_development$1.Portal=E,reactIs_development$1.Profiler=R,reactIs_development$1.StrictMode=M,reactIs_development$1.Suspense=O,reactIs_development$1.isAsyncMode=function(e){return A||(A=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),I(e)||b(e)===l},reactIs_development$1.isConcurrentMode=I,reactIs_development$1.isContextConsumer=function(e){return b(e)===a},reactIs_development$1.isContextProvider=function(e){return b(e)===s},reactIs_development$1.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},reactIs_development$1.isForwardRef=function(e){return b(e)===u},reactIs_development$1.isFragment=function(e){return b(e)===r},reactIs_development$1.isLazy=function(e){return b(e)===m},reactIs_development$1.isMemo=function(e){return b(e)===h},reactIs_development$1.isPortal=function(e){return b(e)===n},reactIs_development$1.isProfiler=function(e){return b(e)===i},reactIs_development$1.isStrictMode=function(e){return b(e)===o},reactIs_development$1.isSuspense=function(e){return b(e)===p},reactIs_development$1.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===_||e.$$typeof===g)},reactIs_development$1.typeOf=b}()),reactIs_development$1}function requireReactIs$1(){return hasRequiredReactIs$1||(hasRequiredReactIs$1=1,reactIs$1.exports=requireReactIs_development$1()),reactIs$1.exports}function requireHoistNonReactStatics_cjs(){if(hasRequiredHoistNonReactStatics_cjs)return hoistNonReactStatics_cjs;hasRequiredHoistNonReactStatics_cjs=1;var e=requireReactIs$1(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,p=Object.prototype;return hoistNonReactStatics_cjs=function e(t,r,o){if("string"!=typeof r){if(p){var d=u(r);d&&d!==p&&e(t,d,o)}var h=a(r);l&&(h=h.concat(l(r)));for(var m=i(t),g=i(r),f=0;f<h.length;++f){var y=h[f];if(!(n[y]||o&&o[y]||g&&g[y]||m&&m[y])){var _=c(r,y);try{s(t,y,_)}catch(e){}}}}return t},hoistNonReactStatics_cjs}requireHoistNonReactStatics_cjs();var isBrowser$4="undefined"!=typeof document;function getRegisteredStyles(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var registerStyles=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===isBrowser$4&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},insertStyles=function(e,t,n){registerStyles(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",i=t;do{var s=e.insert(t===i?"."+r:"",i,e.sheet,!0);isBrowser$4||void 0===s||(o+=s),i=i.next}while(void 0!==i);if(!isBrowser$4&&0!==o.length)return o}};function murmur2(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}var unitlessKeys={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},isDevelopment$1=!1,hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(e){return 45===e.charCodeAt(1)},isProcessableValue=function(e){return null!=e&&"boolean"!=typeof e},processStyleName=memoize$1((function(e){return isCustomProperty(e)?e:e.replace(hyphenateRegex,"-$&").toLowerCase()})),processStyleValue=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(animationRegex,(function(e,t,n){return cursor={name:t,styles:n,next:cursor},t}))}return 1===unitlessKeys[e]||isCustomProperty(e)||"number"!=typeof t||0===t?t:t+"px"},noComponentSelectorMessage="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function handleInterpolation(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return cursor={name:o.name,styles:o.styles,next:cursor},o.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)cursor={name:s.name,styles:s.styles,next:cursor},s=s.next;return i.styles+";"}return createStringFromObject(e,t,n);case"function":if(void 0!==e){var a=cursor,l=n(e);return cursor=a,handleInterpolation(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}function createStringFromObject(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=handleInterpolation(e,t,n[o])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":isProcessableValue(a)&&(r+=processStyleName(i)+":"+processStyleValue(i,a)+";")}else{if("NO_COMPONENT_SELECTOR"===i&&isDevelopment$1)throw new Error(noComponentSelectorMessage);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var l=handleInterpolation(e,t,s);switch(i){case"animation":case"animationName":r+=processStyleName(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var c=0;c<s.length;c++)isProcessableValue(s[c])&&(r+=processStyleName(i)+":"+processStyleValue(i,s[c])+";")}}return r}var labelPattern=/label:\s*([^\s;{]+)\s*(;|$)/g,cursor;function serializeStyles(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";cursor=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=handleInterpolation(n,t,i)):o+=i[0];for(var s=1;s<e.length;s++){if(o+=handleInterpolation(n,t,e[s]),r)o+=i[s]}labelPattern.lastIndex=0;for(var a,l="";null!==(a=labelPattern.exec(o));)l+="-"+a[1];return{name:murmur2(o)+l,styles:o,next:cursor}}var isBrowser$3="undefined"!=typeof document,syncFallback=function(e){return e()},useInsertionEffect=!!React.useInsertionEffect&&React.useInsertionEffect,useInsertionEffectAlwaysWithSyncFallback=isBrowser$3&&useInsertionEffect||syncFallback,useInsertionEffectWithLayoutFallback=useInsertionEffect||React.useLayoutEffect,isBrowser$2="undefined"!=typeof document,EmotionCacheContext=React.createContext("undefined"!=typeof HTMLElement?createCache({key:"css"}):null),CacheProvider=EmotionCacheContext.Provider,withEmotionCache=function(e){return forwardRef((function(t,n){var r=useContext(EmotionCacheContext);return e(t,r,n)}))};isBrowser$2||(withEmotionCache=function(e){return function(t){var n=useContext(EmotionCacheContext);return null===n?(n=createCache({key:"css"}),React.createElement(EmotionCacheContext.Provider,{value:n},e(t,n))):e(t,n)}});var ThemeContext=React.createContext({}),Global=withEmotionCache((function(e,t){var n=serializeStyles([e.styles],void 0,React.useContext(ThemeContext));if(!isBrowser$2){for(var r,o=n.name,i=n.styles,s=n.next;void 0!==s;)o+=" "+s.name,i+=s.styles,s=s.next;var a=!0===t.compat,l=t.insert("",{name:o,styles:i},t.sheet,a);return a?null:React.createElement("style",((r={})["data-emotion"]=t.key+"-global "+o,r.dangerouslySetInnerHTML={__html:l},r.nonce=t.sheet.nonce,r))}var c=React.useRef();return useInsertionEffectWithLayoutFallback((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),c.current=[r,o],function(){r.flush()}}),[t]),useInsertionEffectWithLayoutFallback((function(){var e=c.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&insertStyles(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)}}),[t,n.name]),null}));function css(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return serializeStyles(t)}var keyframes=function(){var e=css.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},testOmitPropsOnStringTag=isPropValid,testOmitPropsOnComponent=function(e){return"theme"!==e},getDefaultShouldForwardProp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},isDevelopment=!1,isBrowser$1="undefined"!=typeof document,Insertion=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;registerStyles(t,n,r);var o=useInsertionEffectAlwaysWithSyncFallback((function(){return insertStyles(t,n,r)}));if(!isBrowser$1&&void 0!==o){for(var i,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return React.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:o},i.nonce=t.sheet.nonce,i))}return null},createStyled$3=function e(t,n){var r,o,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var a=composeShouldForwardProps(t,n,i),l=a||getDefaultShouldForwardProp(s),c=!l("as");return function(){var u=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)p.push.apply(p,u);else{p.push(u[0][0]);for(var d=u.length,h=1;h<d;h++)p.push(u[h],u[0][h])}var m=withEmotionCache((function(e,t,n){var r=c&&e.as||s,i="",u=[],d=e;if(null==e.theme){for(var h in d={},e)d[h]=e[h];d.theme=React.useContext(ThemeContext)}"string"==typeof e.className?i=getRegisteredStyles(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var m=serializeStyles(p.concat(u),t.registered,d);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var g=c&&void 0===a?getDefaultShouldForwardProp(r):l,f={};for(var y in e)c&&"as"===y||g(y)&&(f[y]=e[y]);return f.className=i,n&&(f.ref=n),React.createElement(React.Fragment,null,React.createElement(Insertion,{cache:t,serialized:m,isStringTag:"string"==typeof r}),React.createElement(r,f))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=p,m.__emotion_forwardProp=a,Object.defineProperty(m,"toString",{value:function(){return void 0===o&&isDevelopment?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,r){return e(t,_extends$1({},n,r,{shouldForwardProp:composeShouldForwardProps(m,r,!0)})).apply(void 0,p)},m}},tags=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],newStyled=createStyled$3.bind();let cache;function StyledEngineProvider(e){const{injectFirst:t,children:n}=e;return t&&cache?jsx(CacheProvider,{value:cache,children:n}):n}function isEmpty$4(e){return null==e||0===Object.keys(e).length}function GlobalStyles$2(e){const{styles:t,defaultTheme:n={}}=e;return jsx(Global,{styles:"function"==typeof t?e=>t(isEmpty$4(e)?n:e):t})} /** * @mui/styled-engine v5.16.6 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ function styled$3(e,t){const n=newStyled(e,t);return(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}tags.forEach((function(e){newStyled[e]=newStyled(e)})),"object"==typeof document&&(cache=createCache({key:"css",prepend:!0})),StyledEngineProvider.propTypes={children:PropTypes.node,injectFirst:PropTypes.bool},GlobalStyles$2.propTypes={defaultTheme:PropTypes.object,styles:PropTypes.oneOfType([PropTypes.array,PropTypes.string,PropTypes.object,PropTypes.func])};const internal_processStyles=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};var styledEngine=Object.freeze({__proto__:null,GlobalStyles:GlobalStyles$2,StyledEngineProvider:StyledEngineProvider,ThemeContext:ThemeContext,css:css,default:styled$3,internal_processStyles:internal_processStyles,keyframes:keyframes});function _objectWithoutPropertiesLoose$2(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function isPlainObject(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function deepClone(e){if(!isPlainObject(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=deepClone(e[n])})),t}function deepmerge$1(e,t,n={clone:!0}){const r=n.clone?_extends$1({},e):e;return isPlainObject(e)&&isPlainObject(t)&&Object.keys(t).forEach((o=>{isPlainObject(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&isPlainObject(e[o])?r[o]=deepmerge$1(e[o],t[o],n):n.clone?r[o]=isPlainObject(t[o])?deepClone(t[o]):t[o]:r[o]=t[o]})),r}var deepmerge=Object.freeze({__proto__:null,default:deepmerge$1,isPlainObject:isPlainObject});const _excluded$1n=["values","unit","step"],sortBreakpointsValues=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>_extends$1({},e,{[t.key]:t.val})),{})};function createBreakpoints(e){cons