vuer 0.0.25__py3-none-any.whl → 0.0.29rc8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vuer might be problematic. Click here for more details.
- vuer/__init__.py +2 -0
- vuer/__pycache__/__init__.cpython-38.pyc +0 -0
- vuer/__pycache__/base.cpython-38.pyc +0 -0
- vuer/__pycache__/serdes.cpython-38.pyc +0 -0
- vuer/__pycache__/server.cpython-38.pyc +0 -0
- vuer/base.py +35 -11
- vuer/client_build/404.html +18 -0
- vuer/client_build/assets/chunks/chunk-033cd999.js +87 -0
- vuer/client_build/assets/chunks/chunk-0c07adda.js +17 -0
- vuer/client_build/assets/chunks/chunk-0c7b0c67.js +4502 -0
- vuer/client_build/assets/chunks/chunk-11242fef.js +87 -0
- vuer/client_build/assets/chunks/chunk-11d172c6.js +220 -0
- vuer/client_build/assets/chunks/chunk-1573e13d.js +87 -0
- vuer/client_build/assets/chunks/chunk-1581dd07.js +4502 -0
- vuer/client_build/assets/chunks/chunk-181cf52e.js +4502 -0
- vuer/client_build/assets/chunks/chunk-1ffa2560.js +1 -0
- vuer/client_build/assets/chunks/chunk-2b009735.js +87 -0
- vuer/client_build/assets/chunks/chunk-2c9e68dc.js +220 -0
- vuer/client_build/assets/chunks/chunk-32d88b6c.js +87 -0
- vuer/client_build/assets/chunks/chunk-3d6a174a.js +87 -0
- vuer/client_build/assets/chunks/chunk-3d735b94.js +2 -0
- vuer/client_build/assets/chunks/chunk-4291d1b1.js +4502 -0
- vuer/client_build/assets/chunks/chunk-46602646.js +1 -0
- vuer/client_build/assets/chunks/chunk-4909c71c.js +1 -0
- vuer/client_build/assets/chunks/chunk-6b435eb3.js +220 -0
- vuer/client_build/assets/chunks/chunk-98620ee4.js +87 -0
- vuer/client_build/assets/chunks/chunk-9d4c7361.js +220 -0
- vuer/client_build/assets/chunks/chunk-a6eac392.js +220 -0
- vuer/client_build/assets/chunks/chunk-b0bf2d23.js +1 -0
- vuer/client_build/assets/chunks/chunk-bdd7c22e.js +220 -0
- vuer/client_build/assets/chunks/chunk-c353222d.js +4502 -0
- vuer/client_build/assets/chunks/chunk-c7c41535.js +4502 -0
- vuer/client_build/assets/chunks/chunk-cd30d081.js +1 -0
- vuer/client_build/assets/chunks/chunk-ceb3463c.js +24 -0
- vuer/client_build/assets/chunks/chunk-cf010ec4.js +1 -0
- vuer/client_build/assets/chunks/chunk-d7665daa.js +1 -0
- vuer/client_build/assets/chunks/chunk-d8996854.js +1 -0
- vuer/client_build/assets/chunks/chunk-e1dbff7e.js +220 -0
- vuer/client_build/assets/chunks/chunk-f6ac826f.js +4502 -0
- vuer/client_build/assets/entries/entry-client-routing.09665e16.js +2 -0
- vuer/client_build/assets/entries/entry-client-routing.9b421a83.js +2 -0
- vuer/client_build/assets/entries/entry-client-routing.b091f770.js +2 -0
- vuer/client_build/assets/entries/entry-client-routing.b0e9432f.js +2 -0
- vuer/client_build/assets/entries/entry-client-routing.d2f1fe7f.js +2 -0
- vuer/client_build/assets/entries/entry-client-routing.f109ec3a.js +2 -0
- vuer/client_build/assets/entries/entry-client-routing.fef74cf7.js +2 -0
- vuer/client_build/assets/entries/entry-server-routing.05de3b91.js +1 -0
- vuer/client_build/assets/entries/entry-server-routing.05f74fe9.js +1 -0
- vuer/client_build/assets/entries/entry-server-routing.9a7f23b8.js +1 -0
- vuer/client_build/assets/entries/entry-server-routing.c86174f6.js +1 -0
- vuer/client_build/assets/entries/entry-server-routing.cdb49a95.js +1 -0
- vuer/client_build/assets/entries/entry-server-routing.ed130910.js +1 -0
- vuer/client_build/assets/entries/entry-server-routing.fddd53eb.js +1 -0
- vuer/client_build/assets/entries/pages_hands.page.08c7d15b.js +1 -0
- vuer/client_build/assets/entries/pages_hands.page.12ccbd32.js +1 -0
- vuer/client_build/assets/entries/pages_hands.page.40ebd865.js +1 -0
- vuer/client_build/assets/entries/pages_hands.page.6f1e3303.js +1 -0
- vuer/client_build/assets/entries/pages_hands.page.724feffe.js +1 -0
- vuer/client_build/assets/entries/pages_hands.page.85f51479.js +1 -0
- vuer/client_build/assets/entries/pages_hands.page.fb90f80e.js +1 -0
- vuer/client_build/assets/entries/pages_index.page.25e5c467.js +97 -0
- vuer/client_build/assets/entries/pages_index.page.25ffff8e.js +97 -0
- vuer/client_build/assets/entries/pages_index.page.323784ad.js +97 -0
- vuer/client_build/assets/entries/pages_index.page.76e4864a.js +97 -0
- vuer/client_build/assets/entries/pages_index.page.95009002.js +97 -0
- vuer/client_build/assets/entries/pages_index.page.fb9c94fd.js +97 -0
- vuer/client_build/assets/entries/pages_index.page.fbb86891.js +97 -0
- vuer/client_build/assets/entries/renderer_default.page.client.98b62a91.js +1 -0
- vuer/client_build/assets/entries/renderer_default.page.server.extractAssets.4ed993c7.js +1 -0
- vuer/client_build/assets/entries/renderer_error.page.4485c2ac.js +1 -0
- vuer/client_build/assets/static/default.page.client.7be06a4d.css +1 -0
- vuer/client_build/assets/static/loading.ade72bfe.svg +5 -0
- vuer/client_build/assets/static/logo.bebe2e90.svg +36 -0
- vuer/client_build/hands/index.html +19 -0
- vuer/client_build/hands/index.pageContext.json +1 -0
- vuer/client_build/index.html +19 -0
- vuer/client_build/index.pageContext.json +1 -0
- vuer/client_build/vike.json +11 -0
- vuer/schemas/__pycache__/html_components.cpython-38.pyc +0 -0
- vuer/schemas/__pycache__/scene_components.cpython-38.pyc +0 -0
- vuer/schemas/html_components.py +7 -3
- vuer/schemas/scene_components.py +60 -6
- vuer/server.py +61 -16
- {vuer-0.0.25.dist-info → vuer-0.0.29rc8.dist-info}/METADATA +20 -10
- vuer-0.0.29rc8.dist-info/RECORD +109 -0
- vuer-0.0.25.dist-info/RECORD +0 -37
- {vuer-0.0.25.dist-info → vuer-0.0.29rc8.dist-info}/LICENSE +0 -0
- {vuer-0.0.25.dist-info → vuer-0.0.29rc8.dist-info}/WHEEL +0 -0
- {vuer-0.0.25.dist-info → vuer-0.0.29rc8.dist-info}/entry_points.txt +0 -0
- {vuer-0.0.25.dist-info → vuer-0.0.29rc8.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import{r as E,j as z,b as Je,R as Ft,a as ne,F as jt}from"../chunks/chunk-0c07adda.js";import{H as Kt,a4 as zt,a5 as Nt,c as Wt}from"../chunks/chunk-0c7b0c67.js";import"../chunks/chunk-ceb3463c.js";import"../chunks/chunk-cf010ec4.js";var Fe={exports:{}},R={};/** @license React v16.13.1
|
|
2
|
+
* react-is.production.min.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/var Qe;function Ht(){if(Qe)return R;Qe=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,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,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,l=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(u){if(typeof u=="object"&&u!==null){var T=u.$$typeof;switch(T){case t:switch(u=u.type,u){case c:case f:case n:case i:case o:case d:return u;default:switch(u=u&&u.$$typeof,u){case a:case y:case l:case x:case s:return u;default:return T}}case r:return T}}}function P(u){return b(u)===f}return R.AsyncMode=c,R.ConcurrentMode=f,R.ContextConsumer=a,R.ContextProvider=s,R.Element=t,R.ForwardRef=y,R.Fragment=n,R.Lazy=l,R.Memo=x,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=d,R.isAsyncMode=function(u){return P(u)||b(u)===c},R.isConcurrentMode=P,R.isContextConsumer=function(u){return b(u)===a},R.isContextProvider=function(u){return b(u)===s},R.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===t},R.isForwardRef=function(u){return b(u)===y},R.isFragment=function(u){return b(u)===n},R.isLazy=function(u){return b(u)===l},R.isMemo=function(u){return b(u)===x},R.isPortal=function(u){return b(u)===r},R.isProfiler=function(u){return b(u)===i},R.isStrictMode=function(u){return b(u)===o},R.isSuspense=function(u){return b(u)===d},R.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===n||u===f||u===i||u===o||u===d||u===p||typeof u=="object"&&u!==null&&(u.$$typeof===l||u.$$typeof===x||u.$$typeof===s||u.$$typeof===a||u.$$typeof===y||u.$$typeof===v||u.$$typeof===h||u.$$typeof===g||u.$$typeof===m)},R.typeOf=b,R}var et;function Gt(){return et||(et=1,Fe.exports=Ht()),Fe.exports}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}function tt(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Re(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function X(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function ht(e){if(!X(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=ht(e[r])}),t}function Q(e,t,r={clone:!0}){const n=r.clone?I({},e):e;return X(e)&&X(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(X(t[o])&&o in e&&X(e[o])?n[o]=Q(e[o],t[o],r):r.clone?n[o]=X(t[o])?ht(t[o]):t[o]:n[o]=t[o])}),n}function Dt(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function ie(e){if(typeof e!="string")throw new Error(Dt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function je(e){return e&&e.ownerDocument||document}function Ut(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const qt=typeof window<"u"?E.useLayoutEffect:E.useEffect,Xt=qt;function Ne(e){const t=E.useRef(e);return Xt(()=>{t.current=e}),E.useRef((...r)=>(0,t.current)(...r)).current}function Yt(...e){return E.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ut(r,t)})},e)}function rt(e){return e.substring(2).toLowerCase()}function Vt(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function Zt(e){const{children:t,disableReactTree:r=!1,mouseEvent:n="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,s=E.useRef(!1),a=E.useRef(null),c=E.useRef(!1),f=E.useRef(!1);E.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const y=Yt(t.ref,a),d=Ne(l=>{const m=f.current;f.current=!1;const v=je(a.current);if(!c.current||!a.current||"clientX"in l&&Vt(l,v))return;if(s.current){s.current=!1;return}let h;l.composedPath?h=l.composedPath().indexOf(a.current)>-1:h=!v.documentElement.contains(l.target)||a.current.contains(l.target),!h&&(r||!m)&&o(l)}),p=l=>m=>{f.current=!0;const v=t.props[l];v&&v(m)},x={ref:y};return i!==!1&&(x[i]=p(i)),E.useEffect(()=>{if(i!==!1){const l=rt(i),m=je(a.current),v=()=>{s.current=!0};return m.addEventListener(l,d),m.addEventListener("touchmove",v),()=>{m.removeEventListener(l,d),m.removeEventListener("touchmove",v)}}},[d,i]),n!==!1&&(x[n]=p(n)),E.useEffect(()=>{if(n!==!1){const l=rt(n),m=je(a.current);return m.addEventListener(l,d),()=>{m.removeEventListener(l,d)}}},[d,n]),z(E.Fragment,{children:E.cloneElement(t,x)})}function Jt(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:n,open:o,resumeHideDuration:i}=e,s=E.useRef();E.useEffect(()=>{if(!o)return;function h(g){g.defaultPrevented||(g.key==="Escape"||g.key==="Esc")&&(n==null||n(g,"escapeKeyDown"))}return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[o,n]);const a=Ne((h,g)=>{n==null||n(h,g)}),c=Ne(h=>{!n||h==null||(clearTimeout(s.current),s.current=setTimeout(()=>{a(null,"timeout")},h))});E.useEffect(()=>(o&&c(t),()=>{clearTimeout(s.current)}),[o,t,c]);const f=h=>{n==null||n(h,"clickaway")},y=()=>{clearTimeout(s.current)},d=E.useCallback(()=>{t!=null&&c(i??t*.5)},[t,i,c]),p=h=>g=>{const b=h.onBlur;b==null||b(g),d()},x=h=>g=>{const b=h.onFocus;b==null||b(g),y()},l=h=>g=>{const b=h.onMouseEnter;b==null||b(g),y()},m=h=>g=>{const b=h.onMouseLeave;b==null||b(g),d()};return E.useEffect(()=>{if(!r&&o)return window.addEventListener("focus",d),window.addEventListener("blur",y),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",y)}},[r,d,o]),{getRootProps:(h={})=>{const g=I({},tt(e),tt(h));return I({role:"presentation"},h,g,{onBlur:p(g),onFocus:x(g),onMouseEnter:l(g),onMouseLeave:m(g)})},onClickAway:f}}function yt(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Qt=/^((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)-.*))$/,er=yt(function(e){return Qt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function tr(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 rr(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var nr=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rr(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=tr(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),M="-ms-",we="-moz-",k="-webkit-",gt="comm",De="rule",Ue="decl",or="@import",bt="@keyframes",ir="@layer",sr=Math.abs,Ee=String.fromCharCode,ar=Object.assign;function cr(e,t){return L(e,0)^45?(((t<<2^L(e,0))<<2^L(e,1))<<2^L(e,2))<<2^L(e,3):0}function xt(e){return e.trim()}function ur(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,r){return e.replace(t,r)}function We(e,t){return e.indexOf(t)}function L(e,t){return e.charCodeAt(t)|0}function ae(e,t,r){return e.slice(t,r)}function G(e){return e.length}function qe(e){return e.length}function ye(e,t){return t.push(e),e}function lr(e,t){return e.map(t).join("")}var Pe=1,ee=1,vt=0,B=0,_=0,te="";function Te(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Pe,column:ee,length:s,return:""}}function oe(e,t){return ar(Te("",null,null,"",null,null,0),e,{length:-e.length},t)}function fr(){return _}function dr(){return _=B>0?L(te,--B):0,ee--,_===10&&(ee=1,Pe--),_}function K(){return _=B<vt?L(te,B++):0,ee++,_===10&&(ee=1,Pe++),_}function U(){return L(te,B)}function ge(){return B}function le(e,t){return ae(te,e,t)}function ce(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 wt(e){return Pe=ee=1,vt=G(te=e),B=0,[]}function St(e){return te="",e}function be(e){return xt(le(B-1,He(e===91?e+2:e===40?e+1:e)))}function mr(e){for(;(_=U())&&_<33;)K();return ce(e)>2||ce(_)>3?"":" "}function pr(e,t){for(;--t&&K()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return le(e,ge()+(t<6&&U()==32&&K()==32))}function He(e){for(;K();)switch(_){case e:return B;case 34:case 39:e!==34&&e!==39&&He(_);break;case 40:e===41&&He(e);break;case 92:K();break}return B}function hr(e,t){for(;K()&&e+_!==47+10;)if(e+_===42+42&&U()===47)break;return"/*"+le(t,B-1)+"*"+Ee(e===47?e:K())}function yr(e){for(;!ce(U());)K();return le(e,B)}function gr(e){return St(xe("",null,null,null,[""],e=wt(e),0,[0],e))}function xe(e,t,r,n,o,i,s,a,c){for(var f=0,y=0,d=s,p=0,x=0,l=0,m=1,v=1,h=1,g=0,b="",P=o,u=i,T=n,w=b;v;)switch(l=g,g=K()){case 40:if(l!=108&&L(w,d-1)==58){We(w+=C(be(g),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:w+=be(g);break;case 9:case 10:case 13:case 32:w+=mr(l);break;case 92:w+=pr(ge()-1,7);continue;case 47:switch(U()){case 42:case 47:ye(br(hr(K(),ge()),t,r),c);break;default:w+="/"}break;case 123*m:a[f++]=G(w)*h;case 125*m:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+y:h==-1&&(w=C(w,/\f/g,"")),x>0&&G(w)-d&&ye(x>32?ot(w+";",n,r,d-1):ot(C(w," ","")+";",n,r,d-2),c);break;case 59:w+=";";default:if(ye(T=nt(w,t,r,f,y,o,a,b,P=[],u=[],d),i),g===123)if(y===0)xe(w,t,T,T,P,i,d,a,u);else switch(p===99&&L(w,3)===110?100:p){case 100:case 108:case 109:case 115:xe(e,T,T,n&&ye(nt(e,T,T,0,0,o,a,b,o,P=[],d),u),o,u,d,a,n?P:u);break;default:xe(w,T,T,T,[""],u,0,a,u)}}f=y=x=0,m=h=1,b=w="",d=s;break;case 58:d=1+G(w),x=l;default:if(m<1){if(g==123)--m;else if(g==125&&m++==0&&dr()==125)continue}switch(w+=Ee(g),g*m){case 38:h=y>0?1:(w+="\f",-1);break;case 44:a[f++]=(G(w)-1)*h,h=1;break;case 64:U()===45&&(w+=be(K())),p=U(),y=d=G(b=w+=yr(ge())),g++;break;case 45:l===45&&G(w)==2&&(m=0)}}return i}function nt(e,t,r,n,o,i,s,a,c,f,y){for(var d=o-1,p=o===0?i:[""],x=qe(p),l=0,m=0,v=0;l<n;++l)for(var h=0,g=ae(e,d+1,d=sr(m=s[l])),b=e;h<x;++h)(b=xt(m>0?p[h]+" "+g:C(g,/&\f/g,p[h])))&&(c[v++]=b);return Te(e,t,r,o===0?De:a,c,f,y)}function br(e,t,r){return Te(e,t,r,gt,Ee(fr()),ae(e,2,-2),0)}function ot(e,t,r,n){return Te(e,t,r,Ue,ae(e,0,n),ae(e,n+1,-1),n)}function Z(e,t){for(var r="",n=qe(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function xr(e,t,r,n){switch(e.type){case ir:if(e.children.length)break;case or:case Ue:return e.return=e.return||e.value;case gt:return"";case bt:return e.return=e.value+"{"+Z(e.children,n)+"}";case De:e.value=e.props.join(",")}return G(r=Z(e.children,n))?e.return=e.value+"{"+r+"}":""}function vr(e){var t=qe(e);return function(r,n,o,i){for(var s="",a=0;a<t;a++)s+=e[a](r,n,o,i)||"";return s}}function wr(e){return function(t){t.root||(t=t.return)&&e(t)}}var Sr=function(t,r,n){for(var o=0,i=0;o=i,i=U(),o===38&&i===12&&(r[n]=1),!ce(i);)K();return le(t,B)},kr=function(t,r){var n=-1,o=44;do switch(ce(o)){case 0:o===38&&U()===12&&(r[n]=1),t[n]+=Sr(B-1,r,n);break;case 2:t[n]+=be(o);break;case 4:if(o===44){t[++n]=U()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ee(o)}while(o=K());return t},Cr=function(t,r){return St(kr(wt(t),r))},it=new WeakMap,Rr=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!it.get(n))&&!o){it.set(t,!0);for(var i=[],s=Cr(r,i),a=n.props,c=0,f=0;c<s.length;c++)for(var y=0;y<a.length;y++,f++)t.props[f]=i[c]?s[c].replace(/&\f/g,a[y]):a[y]+" "+s[c]}}},Er=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function kt(e,t){switch(cr(e,t)){case 5103:return k+"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 k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+we+e+M+e+e;case 6828:case 4268:return k+e+M+e+e;case 6165:return k+e+M+"flex-"+e+e;case 5187:return k+e+C(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return k+e+M+"flex-item-"+C(e,/flex-|-self/,"")+e;case 4675:return k+e+M+"flex-line-pack"+C(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+M+C(e,"shrink","negative")+e;case 5292:return k+e+M+C(e,"basis","preferred-size")+e;case 6060:return k+"box-"+C(e,"-grow","")+k+e+M+C(e,"grow","positive")+e;case 4554:return k+C(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,k+"$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(G(e)-1-t>6)switch(L(e,t+1)){case 109:if(L(e,t+4)!==45)break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+we+(L(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~We(e,"stretch")?kt(C(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(L(e,t+1)!==115)break;case 6444:switch(L(e,G(e)-3-(~We(e,"!important")&&10))){case 107:return C(e,":",":"+k)+e;case 101:return C(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(L(e,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(L(e,t+11)){case 114:return k+e+M+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+M+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+M+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+M+e+e}return e}var Pr=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ue:t.return=kt(t.value,t.length);break;case bt:return Z([oe(t,{value:C(t.value,"@","@"+k)})],o);case De:if(t.length)return lr(t.props,function(i){switch(ur(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z([oe(t,{props:[C(i,/:(read-\w+)/,":"+we+"$1")]})],o);case"::placeholder":return Z([oe(t,{props:[C(i,/:(plac\w+)/,":"+k+"input-$1")]}),oe(t,{props:[C(i,/:(plac\w+)/,":"+we+"$1")]}),oe(t,{props:[C(i,/:(plac\w+)/,M+"input-$1")]})],o)}return""})}},Tr=[Pr],$r=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Tr,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),h=1;h<v.length;h++)i[v[h]]=!0;a.push(m)});var c,f=[Rr,Er];{var y,d=[xr,wr(function(m){y.insert(m)})],p=vr(f.concat(o,d)),x=function(v){return Z(gr(v),p)};c=function(v,h,g,b){y=g,x(v?v+"{"+h.styles+"}":h.styles),b&&(l.inserted[h.name]=!0)}}var l={key:r,sheet:new nr({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return l.sheet.hydrate(a),l},Ct=Gt(),Or={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ar={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rt={};Rt[Ct.ForwardRef]=Or;Rt[Ct.Memo]=Ar;var _r=!0;function Ir(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Et=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||_r===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Lr=function(t,r,n){Et(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Mr(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Br={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,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},Fr=/[A-Z]|^ms/g,jr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pt=function(t){return t.charCodeAt(1)===45},st=function(t){return t!=null&&typeof t!="boolean"},Ke=yt(function(e){return Pt(e)?e:e.replace(Fr,"-$&").toLowerCase()}),at=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(jr,function(n,o,i){return D={name:o,styles:i,next:D},o})}return Br[t]!==1&&!Pt(t)&&typeof r=="number"&&r!==0?r+"px":r};function ue(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return D={name:r.name,styles:r.styles,next:D},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)D={name:n.name,styles:n.styles,next:D},n=n.next;var o=r.styles+";";return o}return Kr(e,t,r)}case"function":{if(e!==void 0){var i=D,s=r(e);return D=i,ue(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function Kr(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ue(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":st(s)&&(n+=Ke(i)+":"+at(i,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)st(s[a])&&(n+=Ke(i)+":"+at(i,s[a])+";");else{var c=ue(e,t,s);switch(i){case"animation":case"animationName":{n+=Ke(i)+":"+c+";";break}default:n+=i+"{"+c+"}"}}}return n}var ct=/label:\s*([^\s;\n{]+)\s*(;|$)/g,D,Tt=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";D=void 0;var s=t[0];s==null||s.raw===void 0?(o=!1,i+=ue(n,r,s)):i+=s[0];for(var a=1;a<t.length;a++)i+=ue(n,r,t[a]),o&&(i+=s[a]);ct.lastIndex=0;for(var c="",f;(f=ct.exec(i))!==null;)c+="-"+f[1];var y=Mr(i)+c;return{name:y,styles:i,next:D}},zr=function(t){return t()},Nr=Je["useInsertionEffect"]?Je["useInsertionEffect"]:!1,Wr=Nr||zr,$t=E.createContext(typeof HTMLElement<"u"?$r({key:"css"}):null);$t.Provider;var Hr=function(t){return E.forwardRef(function(r,n){var o=E.useContext($t);return t(r,o,n)})},Gr=E.createContext({});function fe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tt(t)}var Dr=function(){var t=fe.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ur=er,qr=function(t){return t!=="theme"},ut=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ur:qr},lt=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Xr=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Et(r,n,o),Wr(function(){return Lr(r,n,o)}),null},Yr=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var a=lt(t,r,n),c=a||ut(o),f=!c("as");return function(){var y=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),y[0]==null||y[0].raw===void 0)d.push.apply(d,y);else{d.push(y[0][0]);for(var p=y.length,x=1;x<p;x++)d.push(y[x],y[0][x])}var l=Hr(function(m,v,h){var g=f&&m.as||o,b="",P=[],u=m;if(m.theme==null){u={};for(var T in m)u[T]=m[T];u.theme=E.useContext(Gr)}typeof m.className=="string"?b=Ir(v.registered,P,m.className):m.className!=null&&(b=m.className+" ");var w=Tt(d.concat(P),v.registered,u);b+=v.key+"-"+w.name,s!==void 0&&(b+=" "+s);var pe=f&&a===void 0?ut(g):c,Y={};for(var S in m)f&&S==="as"||pe(S)&&(Y[S]=m[S]);return Y.className=b,Y.ref=h,E.createElement(E.Fragment,null,E.createElement(Xr,{cache:v,serialized:w,isStringTag:typeof g=="string"}),E.createElement(g,Y))});return l.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_styles=d,l.__emotion_forwardProp=a,Object.defineProperty(l,"toString",{value:function(){return"."+s}}),l.withComponent=function(m,v){return e(m,I({},r,v,{shouldForwardProp:lt(l,v,!0)})).apply(void 0,d)},l}},Vr=["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"],Ge=Yr.bind();Vr.forEach(function(e){Ge[e]=Ge(e)});/**
|
|
9
|
+
* @mui/styled-engine v5.15.0
|
|
10
|
+
*
|
|
11
|
+
* @license MIT
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/function Zr(e,t){return Ge(e,t)}const Jr=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Qr=["values","unit","step"],en=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>I({},r,{[n.key]:n.val}),{})};function tn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Re(e,Qr),i=en(t),s=Object.keys(i);function a(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function c(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function f(p,x){const l=s.indexOf(x);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(l!==-1&&typeof t[s[l]]=="number"?t[s[l]]:x)-n/100}${r})`}function y(p){return s.indexOf(p)+1<s.length?f(p,s[s.indexOf(p)+1]):a(p)}function d(p){const x=s.indexOf(p);return x===0?a(s[1]):x===s.length-1?c(s[x]):f(p,s[s.indexOf(p)+1]).replace("@media","@media not all and")}return I({keys:s,values:i,up:a,down:c,between:f,only:y,not:d,unit:r},o)}const rn={borderRadius:4},nn=rn;function se(e,t){return t?Q(e,t,{clone:!1}):e}const Xe={xs:0,sm:600,md:900,lg:1200,xl:1536},ft={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xe[e]}px)`};function q(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||ft;return t.reduce((s,a,c)=>(s[i.up(i.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const i=n.breakpoints||ft;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Xe).indexOf(a)!==-1){const c=i.up(a);s[c]=r(t[a],a)}else{const c=a;s[c]=t[c]}return s},{})}return r(t)}function on(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function sn(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function $e(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Se(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=$e(e,r)||n,t&&(o=t(o,n,e)),o}function A(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],c=s.theme,f=$e(c,n)||{};return q(s,a,d=>{let p=Se(f,o,d);return d===p&&typeof d=="string"&&(p=Se(f,o,`${t}${d==="default"?"":ie(d)}`,d)),r===!1?p:{[r]:p}})};return i.propTypes={},i.filterProps=[t],i}function an(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const cn={m:"margin",p:"padding"},un={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},dt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ln=an(e=>{if(e.length>2)if(dt[e])e=dt[e];else return[e];const[t,r]=e.split(""),n=cn[t],o=un[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ye=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ve=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ye,...Ve];function de(e,t,r,n){var o;const i=(o=$e(e,t,!1))!=null?o:r;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Ot(e){return de(e,"spacing",8)}function me(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function fn(e,t){return r=>e.reduce((n,o)=>(n[o]=me(t,r),n),{})}function dn(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=ln(r),i=fn(o,n),s=e[r];return q(e,s,i)}function At(e,t){const r=Ot(e.theme);return Object.keys(e).map(n=>dn(e,t,n,r)).reduce(se,{})}function $(e){return At(e,Ye)}$.propTypes={};$.filterProps=Ye;function O(e){return At(e,Ve)}O.propTypes={};O.filterProps=Ve;function mn(e=8){if(e.mui)return e;const t=Ot({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Oe(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?se(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function N(e){return typeof e!="number"?e:`${e}px solid`}function W(e,t){return A({prop:e,themeKey:"borders",transform:t})}const pn=W("border",N),hn=W("borderTop",N),yn=W("borderRight",N),gn=W("borderBottom",N),bn=W("borderLeft",N),xn=W("borderColor"),vn=W("borderTopColor"),wn=W("borderRightColor"),Sn=W("borderBottomColor"),kn=W("borderLeftColor"),Cn=W("outline",N),Rn=W("outlineColor"),Ae=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=de(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:me(t,n)});return q(e,e.borderRadius,r)}return null};Ae.propTypes={};Ae.filterProps=["borderRadius"];Oe(pn,hn,yn,gn,bn,xn,vn,wn,Sn,kn,Ae,Cn,Rn);const _e=e=>{if(e.gap!==void 0&&e.gap!==null){const t=de(e.theme,"spacing",8),r=n=>({gap:me(t,n)});return q(e,e.gap,r)}return null};_e.propTypes={};_e.filterProps=["gap"];const Ie=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=de(e.theme,"spacing",8),r=n=>({columnGap:me(t,n)});return q(e,e.columnGap,r)}return null};Ie.propTypes={};Ie.filterProps=["columnGap"];const Le=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=de(e.theme,"spacing",8),r=n=>({rowGap:me(t,n)});return q(e,e.rowGap,r)}return null};Le.propTypes={};Le.filterProps=["rowGap"];const En=A({prop:"gridColumn"}),Pn=A({prop:"gridRow"}),Tn=A({prop:"gridAutoFlow"}),$n=A({prop:"gridAutoColumns"}),On=A({prop:"gridAutoRows"}),An=A({prop:"gridTemplateColumns"}),_n=A({prop:"gridTemplateRows"}),In=A({prop:"gridTemplateAreas"}),Ln=A({prop:"gridArea"});Oe(_e,Ie,Le,En,Pn,Tn,$n,On,An,_n,In,Ln);function J(e,t){return t==="grey"?t:e}const Mn=A({prop:"color",themeKey:"palette",transform:J}),Bn=A({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:J}),Fn=A({prop:"backgroundColor",themeKey:"palette",transform:J});Oe(Mn,Bn,Fn);function j(e){return e<=1&&e!==0?`${e*100}%`:e}const jn=A({prop:"width",transform:j}),Ze=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Xe[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:j(r)}};return q(e,e.maxWidth,t)}return null};Ze.filterProps=["maxWidth"];const Kn=A({prop:"minWidth",transform:j}),zn=A({prop:"height",transform:j}),Nn=A({prop:"maxHeight",transform:j}),Wn=A({prop:"minHeight",transform:j});A({prop:"size",cssProperty:"width",transform:j});A({prop:"size",cssProperty:"height",transform:j});const Hn=A({prop:"boxSizing"});Oe(jn,Ze,Kn,zn,Nn,Wn,Hn);const Gn={border:{themeKey:"borders",transform:N},borderTop:{themeKey:"borders",transform:N},borderRight:{themeKey:"borders",transform:N},borderBottom:{themeKey:"borders",transform:N},borderLeft:{themeKey:"borders",transform:N},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:N},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ae},color:{themeKey:"palette",transform:J},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:J},backgroundColor:{themeKey:"palette",transform:J},p:{style:O},pt:{style:O},pr:{style:O},pb:{style:O},pl:{style:O},px:{style:O},py:{style:O},padding:{style:O},paddingTop:{style:O},paddingRight:{style:O},paddingBottom:{style:O},paddingLeft:{style:O},paddingX:{style:O},paddingY:{style:O},paddingInline:{style:O},paddingInlineStart:{style:O},paddingInlineEnd:{style:O},paddingBlock:{style:O},paddingBlockStart:{style:O},paddingBlockEnd:{style:O},m:{style:$},mt:{style:$},mr:{style:$},mb:{style:$},ml:{style:$},mx:{style:$},my:{style:$},margin:{style:$},marginTop:{style:$},marginRight:{style:$},marginBottom:{style:$},marginLeft:{style:$},marginX:{style:$},marginY:{style:$},marginInline:{style:$},marginInlineStart:{style:$},marginInlineEnd:{style:$},marginBlock:{style:$},marginBlockStart:{style:$},marginBlockEnd:{style:$},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_e},rowGap:{style:Le},columnGap:{style:Ie},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:Ze},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},_t=Gn;function Dn(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Un(e,t){return typeof e=="function"?e(t):e}function qn(){function e(r,n,o,i){const s={[r]:n,theme:o},a=i[r];if(!a)return{[r]:n};const{cssProperty:c=r,themeKey:f,transform:y,style:d}=a;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const p=$e(o,f)||{};return d?d(s):q(s,n,l=>{let m=Se(p,y,l);return l===m&&typeof l=="string"&&(m=Se(p,y,`${r}${l==="default"?"":ie(l)}`,l)),c===!1?m:{[c]:m}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const s=(n=i.unstable_sxConfig)!=null?n:_t;function a(c){let f=c;if(typeof c=="function")f=c(i);else if(typeof c!="object")return c;if(!f)return null;const y=on(i.breakpoints),d=Object.keys(y);let p=y;return Object.keys(f).forEach(x=>{const l=Un(f[x],i);if(l!=null)if(typeof l=="object")if(s[x])p=se(p,e(x,l,i,s));else{const m=q({theme:i},l,v=>({[x]:v}));Dn(m,l)?p[x]=t({sx:l,theme:i}):p=se(p,m)}else p=se(p,e(x,l,i,s))}),sn(d,p)}return Array.isArray(o)?o.map(a):a(o)}return t}const It=qn();It.filterProps=["sx"];const Lt=It,Xn=["breakpoints","palette","spacing","shape"];function Yn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,s=Re(e,Xn),a=tn(r),c=mn(o);let f=Q({breakpoints:a,direction:"ltr",components:{},palette:I({mode:"light"},n),spacing:c,shape:I({},nn,i)},s);return f=t.reduce((y,d)=>Q(y,d),f),f.unstable_sxConfig=I({},_t,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(d){return Lt({sx:d,theme:this})},f}const Vn=["variant"];function mt(e){return e.length===0}function Mt(e){const{variant:t}=e,r=Re(e,Vn);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=mt(n)?e[o]:ie(e[o]):n+=`${mt(n)?o:ie(o)}${ie(e[o].toString())}`}),n}const Zn=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Jn(e){return Object.keys(e).length===0}function Qn(e){return typeof e=="string"&&e.charCodeAt(0)>96}const eo=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,ke=e=>{const t={};return e&&e.forEach(r=>{const n=Mt(r.props);t[n]=r.style}),t},to=(e,t)=>{let r=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants),ke(r)},Ce=(e,t,r)=>{const{ownerState:n={}}=e,o=[];return r&&r.forEach(i=>{let s=!0;Object.keys(i.props).forEach(a=>{n[a]!==i.props[a]&&e[a]!==i.props[a]&&(s=!1)}),s&&o.push(t[Mt(i.props)])}),o},ro=(e,t,r,n)=>{var o;const i=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return Ce(e,t,i)};function ze(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const no=Yn(),oo=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ve({defaultTheme:e,theme:t,themeId:r}){return Jn(t)?e:t[r]||t}function io(e){return e?(t,r)=>r[e]:null}const pt=({styledArg:e,props:t,defaultTheme:r,themeId:n})=>{const o=e(I({},t,{theme:ve(I({},t,{defaultTheme:r,themeId:n}))}));let i;if(o&&o.variants&&(i=o.variants,delete o.variants),i){const s=Ce(t,ke(i),i);return[o,...s]}return o};function so(e={}){const{themeId:t,defaultTheme:r=no,rootShouldForwardProp:n=ze,slotShouldForwardProp:o=ze}=e,i=s=>Lt(I({},s,{theme:ve(I({},s,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{Jr(s,P=>P.filter(u=>!(u!=null&&u.__mui_systemSx)));const{name:c,slot:f,skipVariantsResolver:y,skipSx:d,overridesResolver:p=io(oo(f))}=a,x=Re(a,Zn),l=y!==void 0?y:f&&f!=="Root"&&f!=="root"||!1,m=d||!1;let v,h=ze;f==="Root"||f==="root"?h=n:f?h=o:Qn(s)&&(h=void 0);const g=Zr(s,I({shouldForwardProp:h,label:v},x)),b=(P,...u)=>{const T=u?u.map(S=>{if(typeof S=="function"&&S.__emotion_real!==S)return F=>pt({styledArg:S,props:F,defaultTheme:r,themeId:t});if(X(S)){let F=S,H;return S&&S.variants&&(H=S.variants,delete F.variants,F=re=>{let V=S;return Ce(re,ke(H),H).forEach(Bt=>{V=Q(V,Bt)}),V}),F}return S}):[];let w=P;if(X(P)){let S;P&&P.variants&&(S=P.variants,delete w.variants,w=F=>{let H=P;return Ce(F,ke(S),S).forEach(V=>{H=Q(H,V)}),H})}else typeof P=="function"&&P.__emotion_real!==P&&(w=S=>pt({styledArg:P,props:S,defaultTheme:r,themeId:t}));c&&p&&T.push(S=>{const F=ve(I({},S,{defaultTheme:r,themeId:t})),H=eo(c,F);if(H){const re={};return Object.entries(H).forEach(([V,he])=>{re[V]=typeof he=="function"?he(I({},S,{theme:F})):he}),p(S,re)}return null}),c&&!l&&T.push(S=>{const F=ve(I({},S,{defaultTheme:r,themeId:t}));return ro(S,to(c,F),F,c)}),m||T.push(i);const pe=T.length-u.length;if(Array.isArray(P)&&pe>0){const S=new Array(pe).fill("");w=[...P,...S],w.raw=[...P.raw,...S]}const Y=g(w,...T);return s.muiName&&(Y.muiName=s.muiName),Y};return g.withConfig&&(b.withConfig=g.withConfig),b}}const ao=so(),Me=ao,Be=Dr`
|
|
15
|
+
from {
|
|
16
|
+
transform: translateX(100%);
|
|
17
|
+
}
|
|
18
|
+
to {
|
|
19
|
+
transform: translateX(0);
|
|
20
|
+
}
|
|
21
|
+
`,co=Me("div")(()=>fe`
|
|
22
|
+
position: fixed;
|
|
23
|
+
z-index: 5500;
|
|
24
|
+
display: flex;
|
|
25
|
+
right: 16px;
|
|
26
|
+
bottom: 16px;
|
|
27
|
+
left: auto;
|
|
28
|
+
justify-content: start;
|
|
29
|
+
max-width: 560px;
|
|
30
|
+
min-width: 300px;
|
|
31
|
+
border-radius: 10px;
|
|
32
|
+
padding: 12px 14px;
|
|
33
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
34
|
+
color: #fff;
|
|
35
|
+
background-color: #f92d68;
|
|
36
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
animation: ${Be} 200ms;
|
|
39
|
+
transition: transform 0.2s ease-out;
|
|
40
|
+
`),uo=Me("div")(()=>fe`
|
|
41
|
+
position: fixed;
|
|
42
|
+
z-index: 5500;
|
|
43
|
+
display: flex;
|
|
44
|
+
right: 16px;
|
|
45
|
+
bottom: 16px;
|
|
46
|
+
left: auto;
|
|
47
|
+
justify-content: start;
|
|
48
|
+
max-width: 560px;
|
|
49
|
+
min-width: 300px;
|
|
50
|
+
border-radius: 10px;
|
|
51
|
+
padding: 12px 14px;
|
|
52
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
53
|
+
color: #fff;
|
|
54
|
+
background-color: #f9822d;
|
|
55
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
56
|
+
font-weight: 500;
|
|
57
|
+
animation: ${Be} 200ms;
|
|
58
|
+
transition: transform 0.2s ease-out;
|
|
59
|
+
`),lo=Me("div")(()=>fe`
|
|
60
|
+
position: fixed;
|
|
61
|
+
z-index: 5500;
|
|
62
|
+
display: flex;
|
|
63
|
+
right: 16px;
|
|
64
|
+
bottom: 16px;
|
|
65
|
+
left: auto;
|
|
66
|
+
justify-content: start;
|
|
67
|
+
max-width: 560px;
|
|
68
|
+
min-width: 300px;
|
|
69
|
+
border-radius: 10px;
|
|
70
|
+
padding: 12px 14px;
|
|
71
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
72
|
+
color: #fff;
|
|
73
|
+
background-color: #2ed24a;
|
|
74
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
75
|
+
font-weight: 500;
|
|
76
|
+
animation: ${Be} 200ms;
|
|
77
|
+
transition: transform 0.2s ease-out;
|
|
78
|
+
`),fo=Me("div")(()=>fe`
|
|
79
|
+
position: fixed;
|
|
80
|
+
z-index: 5500;
|
|
81
|
+
display: flex;
|
|
82
|
+
right: 16px;
|
|
83
|
+
bottom: 16px;
|
|
84
|
+
left: auto;
|
|
85
|
+
justify-content: start;
|
|
86
|
+
max-width: 560px;
|
|
87
|
+
min-width: 300px;
|
|
88
|
+
border-radius: 10px;
|
|
89
|
+
padding: 12px 14px;
|
|
90
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
91
|
+
color: #fff;
|
|
92
|
+
background-color: #3283fc;
|
|
93
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
94
|
+
font-weight: 500;
|
|
95
|
+
animation: ${Be} 200ms;
|
|
96
|
+
transition: transform 0.2s ease-out;
|
|
97
|
+
`),{AmbientLight:mo,PointLight:po,Grid:ho,Hands:yo}=Wt;function go(){const e=typeof window>"u",[{message:t,mtype:r},n]=Ft.useState({message:null,mtype:null}),{getRootProps:o,onClickAway:i}=Jt({onClose:()=>{n({message:null,mtype:null})},open:!!t,autoHideDuration:5e3});E.useEffect(()=>{const c=console.warn;return console.warn=f=>{setTimeout(()=>{n({message:f,mtype:"warning"}),console.log(f)},1)},()=>{console.warn=c}},[]);const s={showError:c=>setTimeout(()=>n({message:c,mtype:"error"}),1),showSuccess:c=>setTimeout(()=>n({message:c,mtype:"success"}),1),showWarning:c=>setTimeout(()=>n({message:c,mtype:"warning"}),1),showInfo:c=>setTimeout(()=>n({message:c,mtype:"info"}),1),showModal:c=>{console.log(c)}};function a({message:c,mtype:f}){switch(f){case"error":return ne(co,{...o(),children:["ERROR: ",c]});case"warning":return ne(uo,{...o(),children:["WARNING: ",c]});case"success":return ne(lo,{...o(),children:["SUCCESS: ",c]});case"info":default:return ne(fo,{...o(),children:["INFO: ",c]})}}return ne(jt,{children:[z(Kt,{children:z("title",{children:"Vuer (Technical Preview)"})}),t?z(Zt,{onClickAway:i,children:a({message:t,mtype:r})}):null,z(zt,{value:s,children:z(E.Suspense,{fallback:z("div",{children:"Loading..."}),children:e?null:z(Nt,{bgChildren:[z(ho,{},"default-grid"),z(mo,{intensity:1},"default-ambient-light"),z(po,{intensity:1,position:[0,1,1]},"default-point-light")],children:z(yo,{},"hands")})})})]})}const So={Page:go};export{So as default};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import{r as E,j as z,b as Je,R as Ft,a as ne,F as jt}from"../chunks/chunk-0c07adda.js";import{H as Kt,a4 as zt,a5 as Nt,c as Wt}from"../chunks/chunk-181cf52e.js";import"../chunks/chunk-ceb3463c.js";import"../chunks/chunk-cf010ec4.js";var Fe={exports:{}},R={};/** @license React v16.13.1
|
|
2
|
+
* react-is.production.min.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/var Qe;function Ht(){if(Qe)return R;Qe=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,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,c=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,x=e?Symbol.for("react.memo"):60115,l=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function b(u){if(typeof u=="object"&&u!==null){var T=u.$$typeof;switch(T){case t:switch(u=u.type,u){case c:case f:case n:case i:case o:case d:return u;default:switch(u=u&&u.$$typeof,u){case a:case y:case l:case x:case s:return u;default:return T}}case r:return T}}}function P(u){return b(u)===f}return R.AsyncMode=c,R.ConcurrentMode=f,R.ContextConsumer=a,R.ContextProvider=s,R.Element=t,R.ForwardRef=y,R.Fragment=n,R.Lazy=l,R.Memo=x,R.Portal=r,R.Profiler=i,R.StrictMode=o,R.Suspense=d,R.isAsyncMode=function(u){return P(u)||b(u)===c},R.isConcurrentMode=P,R.isContextConsumer=function(u){return b(u)===a},R.isContextProvider=function(u){return b(u)===s},R.isElement=function(u){return typeof u=="object"&&u!==null&&u.$$typeof===t},R.isForwardRef=function(u){return b(u)===y},R.isFragment=function(u){return b(u)===n},R.isLazy=function(u){return b(u)===l},R.isMemo=function(u){return b(u)===x},R.isPortal=function(u){return b(u)===r},R.isProfiler=function(u){return b(u)===i},R.isStrictMode=function(u){return b(u)===o},R.isSuspense=function(u){return b(u)===d},R.isValidElementType=function(u){return typeof u=="string"||typeof u=="function"||u===n||u===f||u===i||u===o||u===d||u===p||typeof u=="object"&&u!==null&&(u.$$typeof===l||u.$$typeof===x||u.$$typeof===s||u.$$typeof===a||u.$$typeof===y||u.$$typeof===v||u.$$typeof===h||u.$$typeof===g||u.$$typeof===m)},R.typeOf=b,R}var et;function Gt(){return et||(et=1,Fe.exports=Ht()),Fe.exports}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}function tt(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Re(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function X(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function ht(e){if(!X(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=ht(e[r])}),t}function Q(e,t,r={clone:!0}){const n=r.clone?I({},e):e;return X(e)&&X(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(X(t[o])&&o in e&&X(e[o])?n[o]=Q(e[o],t[o],r):r.clone?n[o]=X(t[o])?ht(t[o]):t[o]:n[o]=t[o])}),n}function Dt(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function ie(e){if(typeof e!="string")throw new Error(Dt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function je(e){return e&&e.ownerDocument||document}function Ut(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const qt=typeof window<"u"?E.useLayoutEffect:E.useEffect,Xt=qt;function Ne(e){const t=E.useRef(e);return Xt(()=>{t.current=e}),E.useRef((...r)=>(0,t.current)(...r)).current}function Yt(...e){return E.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Ut(r,t)})},e)}function rt(e){return e.substring(2).toLowerCase()}function Vt(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function Zt(e){const{children:t,disableReactTree:r=!1,mouseEvent:n="onClick",onClickAway:o,touchEvent:i="onTouchEnd"}=e,s=E.useRef(!1),a=E.useRef(null),c=E.useRef(!1),f=E.useRef(!1);E.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const y=Yt(t.ref,a),d=Ne(l=>{const m=f.current;f.current=!1;const v=je(a.current);if(!c.current||!a.current||"clientX"in l&&Vt(l,v))return;if(s.current){s.current=!1;return}let h;l.composedPath?h=l.composedPath().indexOf(a.current)>-1:h=!v.documentElement.contains(l.target)||a.current.contains(l.target),!h&&(r||!m)&&o(l)}),p=l=>m=>{f.current=!0;const v=t.props[l];v&&v(m)},x={ref:y};return i!==!1&&(x[i]=p(i)),E.useEffect(()=>{if(i!==!1){const l=rt(i),m=je(a.current),v=()=>{s.current=!0};return m.addEventListener(l,d),m.addEventListener("touchmove",v),()=>{m.removeEventListener(l,d),m.removeEventListener("touchmove",v)}}},[d,i]),n!==!1&&(x[n]=p(n)),E.useEffect(()=>{if(n!==!1){const l=rt(n),m=je(a.current);return m.addEventListener(l,d),()=>{m.removeEventListener(l,d)}}},[d,n]),z(E.Fragment,{children:E.cloneElement(t,x)})}function Jt(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:n,open:o,resumeHideDuration:i}=e,s=E.useRef();E.useEffect(()=>{if(!o)return;function h(g){g.defaultPrevented||(g.key==="Escape"||g.key==="Esc")&&(n==null||n(g,"escapeKeyDown"))}return document.addEventListener("keydown",h),()=>{document.removeEventListener("keydown",h)}},[o,n]);const a=Ne((h,g)=>{n==null||n(h,g)}),c=Ne(h=>{!n||h==null||(clearTimeout(s.current),s.current=setTimeout(()=>{a(null,"timeout")},h))});E.useEffect(()=>(o&&c(t),()=>{clearTimeout(s.current)}),[o,t,c]);const f=h=>{n==null||n(h,"clickaway")},y=()=>{clearTimeout(s.current)},d=E.useCallback(()=>{t!=null&&c(i??t*.5)},[t,i,c]),p=h=>g=>{const b=h.onBlur;b==null||b(g),d()},x=h=>g=>{const b=h.onFocus;b==null||b(g),y()},l=h=>g=>{const b=h.onMouseEnter;b==null||b(g),y()},m=h=>g=>{const b=h.onMouseLeave;b==null||b(g),d()};return E.useEffect(()=>{if(!r&&o)return window.addEventListener("focus",d),window.addEventListener("blur",y),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",y)}},[r,d,o]),{getRootProps:(h={})=>{const g=I({},tt(e),tt(h));return I({role:"presentation"},h,g,{onBlur:p(g),onFocus:x(g),onMouseEnter:l(g),onMouseLeave:m(g)})},onClickAway:f}}function yt(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Qt=/^((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)-.*))$/,er=yt(function(e){return Qt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function tr(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 rr(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var nr=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rr(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=tr(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),M="-ms-",we="-moz-",k="-webkit-",gt="comm",De="rule",Ue="decl",or="@import",bt="@keyframes",ir="@layer",sr=Math.abs,Ee=String.fromCharCode,ar=Object.assign;function cr(e,t){return L(e,0)^45?(((t<<2^L(e,0))<<2^L(e,1))<<2^L(e,2))<<2^L(e,3):0}function xt(e){return e.trim()}function ur(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,r){return e.replace(t,r)}function We(e,t){return e.indexOf(t)}function L(e,t){return e.charCodeAt(t)|0}function ae(e,t,r){return e.slice(t,r)}function G(e){return e.length}function qe(e){return e.length}function ye(e,t){return t.push(e),e}function lr(e,t){return e.map(t).join("")}var Pe=1,ee=1,vt=0,B=0,_=0,te="";function Te(e,t,r,n,o,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Pe,column:ee,length:s,return:""}}function oe(e,t){return ar(Te("",null,null,"",null,null,0),e,{length:-e.length},t)}function fr(){return _}function dr(){return _=B>0?L(te,--B):0,ee--,_===10&&(ee=1,Pe--),_}function K(){return _=B<vt?L(te,B++):0,ee++,_===10&&(ee=1,Pe++),_}function U(){return L(te,B)}function ge(){return B}function le(e,t){return ae(te,e,t)}function ce(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 wt(e){return Pe=ee=1,vt=G(te=e),B=0,[]}function St(e){return te="",e}function be(e){return xt(le(B-1,He(e===91?e+2:e===40?e+1:e)))}function mr(e){for(;(_=U())&&_<33;)K();return ce(e)>2||ce(_)>3?"":" "}function pr(e,t){for(;--t&&K()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return le(e,ge()+(t<6&&U()==32&&K()==32))}function He(e){for(;K();)switch(_){case e:return B;case 34:case 39:e!==34&&e!==39&&He(_);break;case 40:e===41&&He(e);break;case 92:K();break}return B}function hr(e,t){for(;K()&&e+_!==47+10;)if(e+_===42+42&&U()===47)break;return"/*"+le(t,B-1)+"*"+Ee(e===47?e:K())}function yr(e){for(;!ce(U());)K();return le(e,B)}function gr(e){return St(xe("",null,null,null,[""],e=wt(e),0,[0],e))}function xe(e,t,r,n,o,i,s,a,c){for(var f=0,y=0,d=s,p=0,x=0,l=0,m=1,v=1,h=1,g=0,b="",P=o,u=i,T=n,w=b;v;)switch(l=g,g=K()){case 40:if(l!=108&&L(w,d-1)==58){We(w+=C(be(g),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:w+=be(g);break;case 9:case 10:case 13:case 32:w+=mr(l);break;case 92:w+=pr(ge()-1,7);continue;case 47:switch(U()){case 42:case 47:ye(br(hr(K(),ge()),t,r),c);break;default:w+="/"}break;case 123*m:a[f++]=G(w)*h;case 125*m:case 59:case 0:switch(g){case 0:case 125:v=0;case 59+y:h==-1&&(w=C(w,/\f/g,"")),x>0&&G(w)-d&&ye(x>32?ot(w+";",n,r,d-1):ot(C(w," ","")+";",n,r,d-2),c);break;case 59:w+=";";default:if(ye(T=nt(w,t,r,f,y,o,a,b,P=[],u=[],d),i),g===123)if(y===0)xe(w,t,T,T,P,i,d,a,u);else switch(p===99&&L(w,3)===110?100:p){case 100:case 108:case 109:case 115:xe(e,T,T,n&&ye(nt(e,T,T,0,0,o,a,b,o,P=[],d),u),o,u,d,a,n?P:u);break;default:xe(w,T,T,T,[""],u,0,a,u)}}f=y=x=0,m=h=1,b=w="",d=s;break;case 58:d=1+G(w),x=l;default:if(m<1){if(g==123)--m;else if(g==125&&m++==0&&dr()==125)continue}switch(w+=Ee(g),g*m){case 38:h=y>0?1:(w+="\f",-1);break;case 44:a[f++]=(G(w)-1)*h,h=1;break;case 64:U()===45&&(w+=be(K())),p=U(),y=d=G(b=w+=yr(ge())),g++;break;case 45:l===45&&G(w)==2&&(m=0)}}return i}function nt(e,t,r,n,o,i,s,a,c,f,y){for(var d=o-1,p=o===0?i:[""],x=qe(p),l=0,m=0,v=0;l<n;++l)for(var h=0,g=ae(e,d+1,d=sr(m=s[l])),b=e;h<x;++h)(b=xt(m>0?p[h]+" "+g:C(g,/&\f/g,p[h])))&&(c[v++]=b);return Te(e,t,r,o===0?De:a,c,f,y)}function br(e,t,r){return Te(e,t,r,gt,Ee(fr()),ae(e,2,-2),0)}function ot(e,t,r,n){return Te(e,t,r,Ue,ae(e,0,n),ae(e,n+1,-1),n)}function Z(e,t){for(var r="",n=qe(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function xr(e,t,r,n){switch(e.type){case ir:if(e.children.length)break;case or:case Ue:return e.return=e.return||e.value;case gt:return"";case bt:return e.return=e.value+"{"+Z(e.children,n)+"}";case De:e.value=e.props.join(",")}return G(r=Z(e.children,n))?e.return=e.value+"{"+r+"}":""}function vr(e){var t=qe(e);return function(r,n,o,i){for(var s="",a=0;a<t;a++)s+=e[a](r,n,o,i)||"";return s}}function wr(e){return function(t){t.root||(t=t.return)&&e(t)}}var Sr=function(t,r,n){for(var o=0,i=0;o=i,i=U(),o===38&&i===12&&(r[n]=1),!ce(i);)K();return le(t,B)},kr=function(t,r){var n=-1,o=44;do switch(ce(o)){case 0:o===38&&U()===12&&(r[n]=1),t[n]+=Sr(B-1,r,n);break;case 2:t[n]+=be(o);break;case 4:if(o===44){t[++n]=U()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ee(o)}while(o=K());return t},Cr=function(t,r){return St(kr(wt(t),r))},it=new WeakMap,Rr=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!it.get(n))&&!o){it.set(t,!0);for(var i=[],s=Cr(r,i),a=n.props,c=0,f=0;c<s.length;c++)for(var y=0;y<a.length;y++,f++)t.props[f]=i[c]?s[c].replace(/&\f/g,a[y]):a[y]+" "+s[c]}}},Er=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function kt(e,t){switch(cr(e,t)){case 5103:return k+"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 k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+we+e+M+e+e;case 6828:case 4268:return k+e+M+e+e;case 6165:return k+e+M+"flex-"+e+e;case 5187:return k+e+C(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+M+"flex-$1$2")+e;case 5443:return k+e+M+"flex-item-"+C(e,/flex-|-self/,"")+e;case 4675:return k+e+M+"flex-line-pack"+C(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+M+C(e,"shrink","negative")+e;case 5292:return k+e+M+C(e,"basis","preferred-size")+e;case 6060:return k+"box-"+C(e,"-grow","")+k+e+M+C(e,"grow","positive")+e;case 4554:return k+C(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+M+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,k+"$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(G(e)-1-t>6)switch(L(e,t+1)){case 109:if(L(e,t+4)!==45)break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+we+(L(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~We(e,"stretch")?kt(C(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(L(e,t+1)!==115)break;case 6444:switch(L(e,G(e)-3-(~We(e,"!important")&&10))){case 107:return C(e,":",":"+k)+e;case 101:return C(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(L(e,14)===45?"inline-":"")+"box$3$1"+k+"$2$3$1"+M+"$2box$3")+e}break;case 5936:switch(L(e,t+11)){case 114:return k+e+M+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+M+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+M+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+M+e+e}return e}var Pr=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Ue:t.return=kt(t.value,t.length);break;case bt:return Z([oe(t,{value:C(t.value,"@","@"+k)})],o);case De:if(t.length)return lr(t.props,function(i){switch(ur(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z([oe(t,{props:[C(i,/:(read-\w+)/,":"+we+"$1")]})],o);case"::placeholder":return Z([oe(t,{props:[C(i,/:(plac\w+)/,":"+k+"input-$1")]}),oe(t,{props:[C(i,/:(plac\w+)/,":"+we+"$1")]}),oe(t,{props:[C(i,/:(plac\w+)/,M+"input-$1")]})],o)}return""})}},Tr=[Pr],$r=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var v=m.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||Tr,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var v=m.getAttribute("data-emotion").split(" "),h=1;h<v.length;h++)i[v[h]]=!0;a.push(m)});var c,f=[Rr,Er];{var y,d=[xr,wr(function(m){y.insert(m)})],p=vr(f.concat(o,d)),x=function(v){return Z(gr(v),p)};c=function(v,h,g,b){y=g,x(v?v+"{"+h.styles+"}":h.styles),b&&(l.inserted[h.name]=!0)}}var l={key:r,sheet:new nr({key:r,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return l.sheet.hydrate(a),l},Ct=Gt(),Or={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ar={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rt={};Rt[Ct.ForwardRef]=Or;Rt[Ct.Memo]=Ar;var _r=!0;function Ir(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Et=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||_r===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Lr=function(t,r,n){Et(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Mr(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Br={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,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},Fr=/[A-Z]|^ms/g,jr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pt=function(t){return t.charCodeAt(1)===45},st=function(t){return t!=null&&typeof t!="boolean"},Ke=yt(function(e){return Pt(e)?e:e.replace(Fr,"-$&").toLowerCase()}),at=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(jr,function(n,o,i){return D={name:o,styles:i,next:D},o})}return Br[t]!==1&&!Pt(t)&&typeof r=="number"&&r!==0?r+"px":r};function ue(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return D={name:r.name,styles:r.styles,next:D},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)D={name:n.name,styles:n.styles,next:D},n=n.next;var o=r.styles+";";return o}return Kr(e,t,r)}case"function":{if(e!==void 0){var i=D,s=r(e);return D=i,ue(e,t,s)}break}}if(t==null)return r;var a=t[r];return a!==void 0?a:r}function Kr(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ue(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object")t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":st(s)&&(n+=Ke(i)+":"+at(i,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var a=0;a<s.length;a++)st(s[a])&&(n+=Ke(i)+":"+at(i,s[a])+";");else{var c=ue(e,t,s);switch(i){case"animation":case"animationName":{n+=Ke(i)+":"+c+";";break}default:n+=i+"{"+c+"}"}}}return n}var ct=/label:\s*([^\s;\n{]+)\s*(;|$)/g,D,Tt=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";D=void 0;var s=t[0];s==null||s.raw===void 0?(o=!1,i+=ue(n,r,s)):i+=s[0];for(var a=1;a<t.length;a++)i+=ue(n,r,t[a]),o&&(i+=s[a]);ct.lastIndex=0;for(var c="",f;(f=ct.exec(i))!==null;)c+="-"+f[1];var y=Mr(i)+c;return{name:y,styles:i,next:D}},zr=function(t){return t()},Nr=Je["useInsertionEffect"]?Je["useInsertionEffect"]:!1,Wr=Nr||zr,$t=E.createContext(typeof HTMLElement<"u"?$r({key:"css"}):null);$t.Provider;var Hr=function(t){return E.forwardRef(function(r,n){var o=E.useContext($t);return t(r,o,n)})},Gr=E.createContext({});function fe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tt(t)}var Dr=function(){var t=fe.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ur=er,qr=function(t){return t!=="theme"},ut=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Ur:qr},lt=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Xr=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Et(r,n,o),Wr(function(){return Lr(r,n,o)}),null},Yr=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var a=lt(t,r,n),c=a||ut(o),f=!c("as");return function(){var y=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),y[0]==null||y[0].raw===void 0)d.push.apply(d,y);else{d.push(y[0][0]);for(var p=y.length,x=1;x<p;x++)d.push(y[x],y[0][x])}var l=Hr(function(m,v,h){var g=f&&m.as||o,b="",P=[],u=m;if(m.theme==null){u={};for(var T in m)u[T]=m[T];u.theme=E.useContext(Gr)}typeof m.className=="string"?b=Ir(v.registered,P,m.className):m.className!=null&&(b=m.className+" ");var w=Tt(d.concat(P),v.registered,u);b+=v.key+"-"+w.name,s!==void 0&&(b+=" "+s);var pe=f&&a===void 0?ut(g):c,Y={};for(var S in m)f&&S==="as"||pe(S)&&(Y[S]=m[S]);return Y.className=b,Y.ref=h,E.createElement(E.Fragment,null,E.createElement(Xr,{cache:v,serialized:w,isStringTag:typeof g=="string"}),E.createElement(g,Y))});return l.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_styles=d,l.__emotion_forwardProp=a,Object.defineProperty(l,"toString",{value:function(){return"."+s}}),l.withComponent=function(m,v){return e(m,I({},r,v,{shouldForwardProp:lt(l,v,!0)})).apply(void 0,d)},l}},Vr=["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"],Ge=Yr.bind();Vr.forEach(function(e){Ge[e]=Ge(e)});/**
|
|
9
|
+
* @mui/styled-engine v5.15.0
|
|
10
|
+
*
|
|
11
|
+
* @license MIT
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/function Zr(e,t){return Ge(e,t)}const Jr=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Qr=["values","unit","step"],en=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>I({},r,{[n.key]:n.val}),{})};function tn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=Re(e,Qr),i=en(t),s=Object.keys(i);function a(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function c(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function f(p,x){const l=s.indexOf(x);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(l!==-1&&typeof t[s[l]]=="number"?t[s[l]]:x)-n/100}${r})`}function y(p){return s.indexOf(p)+1<s.length?f(p,s[s.indexOf(p)+1]):a(p)}function d(p){const x=s.indexOf(p);return x===0?a(s[1]):x===s.length-1?c(s[x]):f(p,s[s.indexOf(p)+1]).replace("@media","@media not all and")}return I({keys:s,values:i,up:a,down:c,between:f,only:y,not:d,unit:r},o)}const rn={borderRadius:4},nn=rn;function se(e,t){return t?Q(e,t,{clone:!1}):e}const Xe={xs:0,sm:600,md:900,lg:1200,xl:1536},ft={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xe[e]}px)`};function q(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||ft;return t.reduce((s,a,c)=>(s[i.up(i.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const i=n.breakpoints||ft;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Xe).indexOf(a)!==-1){const c=i.up(a);s[c]=r(t[a],a)}else{const c=a;s[c]=t[c]}return s},{})}return r(t)}function on(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function sn(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function $e(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Se(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=$e(e,r)||n,t&&(o=t(o,n,e)),o}function A(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],c=s.theme,f=$e(c,n)||{};return q(s,a,d=>{let p=Se(f,o,d);return d===p&&typeof d=="string"&&(p=Se(f,o,`${t}${d==="default"?"":ie(d)}`,d)),r===!1?p:{[r]:p}})};return i.propTypes={},i.filterProps=[t],i}function an(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const cn={m:"margin",p:"padding"},un={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},dt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ln=an(e=>{if(e.length>2)if(dt[e])e=dt[e];else return[e];const[t,r]=e.split(""),n=cn[t],o=un[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ye=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ve=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ye,...Ve];function de(e,t,r,n){var o;const i=(o=$e(e,t,!1))!=null?o:r;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Ot(e){return de(e,"spacing",8)}function me(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function fn(e,t){return r=>e.reduce((n,o)=>(n[o]=me(t,r),n),{})}function dn(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=ln(r),i=fn(o,n),s=e[r];return q(e,s,i)}function At(e,t){const r=Ot(e.theme);return Object.keys(e).map(n=>dn(e,t,n,r)).reduce(se,{})}function $(e){return At(e,Ye)}$.propTypes={};$.filterProps=Ye;function O(e){return At(e,Ve)}O.propTypes={};O.filterProps=Ve;function mn(e=8){if(e.mui)return e;const t=Ot({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return r.mui=!0,r}function Oe(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?se(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function N(e){return typeof e!="number"?e:`${e}px solid`}function W(e,t){return A({prop:e,themeKey:"borders",transform:t})}const pn=W("border",N),hn=W("borderTop",N),yn=W("borderRight",N),gn=W("borderBottom",N),bn=W("borderLeft",N),xn=W("borderColor"),vn=W("borderTopColor"),wn=W("borderRightColor"),Sn=W("borderBottomColor"),kn=W("borderLeftColor"),Cn=W("outline",N),Rn=W("outlineColor"),Ae=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=de(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:me(t,n)});return q(e,e.borderRadius,r)}return null};Ae.propTypes={};Ae.filterProps=["borderRadius"];Oe(pn,hn,yn,gn,bn,xn,vn,wn,Sn,kn,Ae,Cn,Rn);const _e=e=>{if(e.gap!==void 0&&e.gap!==null){const t=de(e.theme,"spacing",8),r=n=>({gap:me(t,n)});return q(e,e.gap,r)}return null};_e.propTypes={};_e.filterProps=["gap"];const Ie=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=de(e.theme,"spacing",8),r=n=>({columnGap:me(t,n)});return q(e,e.columnGap,r)}return null};Ie.propTypes={};Ie.filterProps=["columnGap"];const Le=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=de(e.theme,"spacing",8),r=n=>({rowGap:me(t,n)});return q(e,e.rowGap,r)}return null};Le.propTypes={};Le.filterProps=["rowGap"];const En=A({prop:"gridColumn"}),Pn=A({prop:"gridRow"}),Tn=A({prop:"gridAutoFlow"}),$n=A({prop:"gridAutoColumns"}),On=A({prop:"gridAutoRows"}),An=A({prop:"gridTemplateColumns"}),_n=A({prop:"gridTemplateRows"}),In=A({prop:"gridTemplateAreas"}),Ln=A({prop:"gridArea"});Oe(_e,Ie,Le,En,Pn,Tn,$n,On,An,_n,In,Ln);function J(e,t){return t==="grey"?t:e}const Mn=A({prop:"color",themeKey:"palette",transform:J}),Bn=A({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:J}),Fn=A({prop:"backgroundColor",themeKey:"palette",transform:J});Oe(Mn,Bn,Fn);function j(e){return e<=1&&e!==0?`${e*100}%`:e}const jn=A({prop:"width",transform:j}),Ze=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Xe[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:j(r)}};return q(e,e.maxWidth,t)}return null};Ze.filterProps=["maxWidth"];const Kn=A({prop:"minWidth",transform:j}),zn=A({prop:"height",transform:j}),Nn=A({prop:"maxHeight",transform:j}),Wn=A({prop:"minHeight",transform:j});A({prop:"size",cssProperty:"width",transform:j});A({prop:"size",cssProperty:"height",transform:j});const Hn=A({prop:"boxSizing"});Oe(jn,Ze,Kn,zn,Nn,Wn,Hn);const Gn={border:{themeKey:"borders",transform:N},borderTop:{themeKey:"borders",transform:N},borderRight:{themeKey:"borders",transform:N},borderBottom:{themeKey:"borders",transform:N},borderLeft:{themeKey:"borders",transform:N},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:N},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ae},color:{themeKey:"palette",transform:J},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:J},backgroundColor:{themeKey:"palette",transform:J},p:{style:O},pt:{style:O},pr:{style:O},pb:{style:O},pl:{style:O},px:{style:O},py:{style:O},padding:{style:O},paddingTop:{style:O},paddingRight:{style:O},paddingBottom:{style:O},paddingLeft:{style:O},paddingX:{style:O},paddingY:{style:O},paddingInline:{style:O},paddingInlineStart:{style:O},paddingInlineEnd:{style:O},paddingBlock:{style:O},paddingBlockStart:{style:O},paddingBlockEnd:{style:O},m:{style:$},mt:{style:$},mr:{style:$},mb:{style:$},ml:{style:$},mx:{style:$},my:{style:$},margin:{style:$},marginTop:{style:$},marginRight:{style:$},marginBottom:{style:$},marginLeft:{style:$},marginX:{style:$},marginY:{style:$},marginInline:{style:$},marginInlineStart:{style:$},marginInlineEnd:{style:$},marginBlock:{style:$},marginBlockStart:{style:$},marginBlockEnd:{style:$},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:_e},rowGap:{style:Le},columnGap:{style:Ie},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:Ze},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},_t=Gn;function Dn(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Un(e,t){return typeof e=="function"?e(t):e}function qn(){function e(r,n,o,i){const s={[r]:n,theme:o},a=i[r];if(!a)return{[r]:n};const{cssProperty:c=r,themeKey:f,transform:y,style:d}=a;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const p=$e(o,f)||{};return d?d(s):q(s,n,l=>{let m=Se(p,y,l);return l===m&&typeof l=="string"&&(m=Se(p,y,`${r}${l==="default"?"":ie(l)}`,l)),c===!1?m:{[c]:m}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const s=(n=i.unstable_sxConfig)!=null?n:_t;function a(c){let f=c;if(typeof c=="function")f=c(i);else if(typeof c!="object")return c;if(!f)return null;const y=on(i.breakpoints),d=Object.keys(y);let p=y;return Object.keys(f).forEach(x=>{const l=Un(f[x],i);if(l!=null)if(typeof l=="object")if(s[x])p=se(p,e(x,l,i,s));else{const m=q({theme:i},l,v=>({[x]:v}));Dn(m,l)?p[x]=t({sx:l,theme:i}):p=se(p,m)}else p=se(p,e(x,l,i,s))}),sn(d,p)}return Array.isArray(o)?o.map(a):a(o)}return t}const It=qn();It.filterProps=["sx"];const Lt=It,Xn=["breakpoints","palette","spacing","shape"];function Yn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,s=Re(e,Xn),a=tn(r),c=mn(o);let f=Q({breakpoints:a,direction:"ltr",components:{},palette:I({mode:"light"},n),spacing:c,shape:I({},nn,i)},s);return f=t.reduce((y,d)=>Q(y,d),f),f.unstable_sxConfig=I({},_t,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(d){return Lt({sx:d,theme:this})},f}const Vn=["variant"];function mt(e){return e.length===0}function Mt(e){const{variant:t}=e,r=Re(e,Vn);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=mt(n)?e[o]:ie(e[o]):n+=`${mt(n)?o:ie(o)}${ie(e[o].toString())}`}),n}const Zn=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Jn(e){return Object.keys(e).length===0}function Qn(e){return typeof e=="string"&&e.charCodeAt(0)>96}const eo=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,ke=e=>{const t={};return e&&e.forEach(r=>{const n=Mt(r.props);t[n]=r.style}),t},to=(e,t)=>{let r=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants),ke(r)},Ce=(e,t,r)=>{const{ownerState:n={}}=e,o=[];return r&&r.forEach(i=>{let s=!0;Object.keys(i.props).forEach(a=>{n[a]!==i.props[a]&&e[a]!==i.props[a]&&(s=!1)}),s&&o.push(t[Mt(i.props)])}),o},ro=(e,t,r,n)=>{var o;const i=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return Ce(e,t,i)};function ze(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const no=Yn(),oo=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ve({defaultTheme:e,theme:t,themeId:r}){return Jn(t)?e:t[r]||t}function io(e){return e?(t,r)=>r[e]:null}const pt=({styledArg:e,props:t,defaultTheme:r,themeId:n})=>{const o=e(I({},t,{theme:ve(I({},t,{defaultTheme:r,themeId:n}))}));let i;if(o&&o.variants&&(i=o.variants,delete o.variants),i){const s=Ce(t,ke(i),i);return[o,...s]}return o};function so(e={}){const{themeId:t,defaultTheme:r=no,rootShouldForwardProp:n=ze,slotShouldForwardProp:o=ze}=e,i=s=>Lt(I({},s,{theme:ve(I({},s,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{Jr(s,P=>P.filter(u=>!(u!=null&&u.__mui_systemSx)));const{name:c,slot:f,skipVariantsResolver:y,skipSx:d,overridesResolver:p=io(oo(f))}=a,x=Re(a,Zn),l=y!==void 0?y:f&&f!=="Root"&&f!=="root"||!1,m=d||!1;let v,h=ze;f==="Root"||f==="root"?h=n:f?h=o:Qn(s)&&(h=void 0);const g=Zr(s,I({shouldForwardProp:h,label:v},x)),b=(P,...u)=>{const T=u?u.map(S=>{if(typeof S=="function"&&S.__emotion_real!==S)return F=>pt({styledArg:S,props:F,defaultTheme:r,themeId:t});if(X(S)){let F=S,H;return S&&S.variants&&(H=S.variants,delete F.variants,F=re=>{let V=S;return Ce(re,ke(H),H).forEach(Bt=>{V=Q(V,Bt)}),V}),F}return S}):[];let w=P;if(X(P)){let S;P&&P.variants&&(S=P.variants,delete w.variants,w=F=>{let H=P;return Ce(F,ke(S),S).forEach(V=>{H=Q(H,V)}),H})}else typeof P=="function"&&P.__emotion_real!==P&&(w=S=>pt({styledArg:P,props:S,defaultTheme:r,themeId:t}));c&&p&&T.push(S=>{const F=ve(I({},S,{defaultTheme:r,themeId:t})),H=eo(c,F);if(H){const re={};return Object.entries(H).forEach(([V,he])=>{re[V]=typeof he=="function"?he(I({},S,{theme:F})):he}),p(S,re)}return null}),c&&!l&&T.push(S=>{const F=ve(I({},S,{defaultTheme:r,themeId:t}));return ro(S,to(c,F),F,c)}),m||T.push(i);const pe=T.length-u.length;if(Array.isArray(P)&&pe>0){const S=new Array(pe).fill("");w=[...P,...S],w.raw=[...P.raw,...S]}const Y=g(w,...T);return s.muiName&&(Y.muiName=s.muiName),Y};return g.withConfig&&(b.withConfig=g.withConfig),b}}const ao=so(),Me=ao,Be=Dr`
|
|
15
|
+
from {
|
|
16
|
+
transform: translateX(100%);
|
|
17
|
+
}
|
|
18
|
+
to {
|
|
19
|
+
transform: translateX(0);
|
|
20
|
+
}
|
|
21
|
+
`,co=Me("div")(()=>fe`
|
|
22
|
+
position: fixed;
|
|
23
|
+
z-index: 5500;
|
|
24
|
+
display: flex;
|
|
25
|
+
right: 16px;
|
|
26
|
+
bottom: 16px;
|
|
27
|
+
left: auto;
|
|
28
|
+
justify-content: start;
|
|
29
|
+
max-width: 560px;
|
|
30
|
+
min-width: 300px;
|
|
31
|
+
border-radius: 10px;
|
|
32
|
+
padding: 12px 14px;
|
|
33
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
34
|
+
color: #fff;
|
|
35
|
+
background-color: #f92d68;
|
|
36
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
animation: ${Be} 200ms;
|
|
39
|
+
transition: transform 0.2s ease-out;
|
|
40
|
+
`),uo=Me("div")(()=>fe`
|
|
41
|
+
position: fixed;
|
|
42
|
+
z-index: 5500;
|
|
43
|
+
display: flex;
|
|
44
|
+
right: 16px;
|
|
45
|
+
bottom: 16px;
|
|
46
|
+
left: auto;
|
|
47
|
+
justify-content: start;
|
|
48
|
+
max-width: 560px;
|
|
49
|
+
min-width: 300px;
|
|
50
|
+
border-radius: 10px;
|
|
51
|
+
padding: 12px 14px;
|
|
52
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
53
|
+
color: #fff;
|
|
54
|
+
background-color: #f9822d;
|
|
55
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
56
|
+
font-weight: 500;
|
|
57
|
+
animation: ${Be} 200ms;
|
|
58
|
+
transition: transform 0.2s ease-out;
|
|
59
|
+
`),lo=Me("div")(()=>fe`
|
|
60
|
+
position: fixed;
|
|
61
|
+
z-index: 5500;
|
|
62
|
+
display: flex;
|
|
63
|
+
right: 16px;
|
|
64
|
+
bottom: 16px;
|
|
65
|
+
left: auto;
|
|
66
|
+
justify-content: start;
|
|
67
|
+
max-width: 560px;
|
|
68
|
+
min-width: 300px;
|
|
69
|
+
border-radius: 10px;
|
|
70
|
+
padding: 12px 14px;
|
|
71
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
72
|
+
color: #fff;
|
|
73
|
+
background-color: #2ed24a;
|
|
74
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
75
|
+
font-weight: 500;
|
|
76
|
+
animation: ${Be} 200ms;
|
|
77
|
+
transition: transform 0.2s ease-out;
|
|
78
|
+
`),fo=Me("div")(()=>fe`
|
|
79
|
+
position: fixed;
|
|
80
|
+
z-index: 5500;
|
|
81
|
+
display: flex;
|
|
82
|
+
right: 16px;
|
|
83
|
+
bottom: 16px;
|
|
84
|
+
left: auto;
|
|
85
|
+
justify-content: start;
|
|
86
|
+
max-width: 560px;
|
|
87
|
+
min-width: 300px;
|
|
88
|
+
border-radius: 10px;
|
|
89
|
+
padding: 12px 14px;
|
|
90
|
+
box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
|
|
91
|
+
color: #fff;
|
|
92
|
+
background-color: #3283fc;
|
|
93
|
+
font-family: 'IBM Plex Sans', sans-serif;
|
|
94
|
+
font-weight: 500;
|
|
95
|
+
animation: ${Be} 200ms;
|
|
96
|
+
transition: transform 0.2s ease-out;
|
|
97
|
+
`),{AmbientLight:mo,PointLight:po,Grid:ho,Hands:yo}=Wt;function go(){const e=typeof window>"u",[{message:t,mtype:r},n]=Ft.useState({message:null,mtype:null}),{getRootProps:o,onClickAway:i}=Jt({onClose:()=>{n({message:null,mtype:null})},open:!!t,autoHideDuration:5e3});E.useEffect(()=>{const c=console.warn;return console.warn=f=>{setTimeout(()=>{n({message:f,mtype:"warning"}),console.log(f)},1)},()=>{console.warn=c}},[]);const s={showError:c=>setTimeout(()=>n({message:c,mtype:"error"}),1),showSuccess:c=>setTimeout(()=>n({message:c,mtype:"success"}),1),showWarning:c=>setTimeout(()=>n({message:c,mtype:"warning"}),1),showInfo:c=>setTimeout(()=>n({message:c,mtype:"info"}),1),showModal:c=>{console.log(c)}};function a({message:c,mtype:f}){switch(f){case"error":return ne(co,{...o(),children:["ERROR: ",c]});case"warning":return ne(uo,{...o(),children:["WARNING: ",c]});case"success":return ne(lo,{...o(),children:["SUCCESS: ",c]});case"info":default:return ne(fo,{...o(),children:["INFO: ",c]})}}return ne(jt,{children:[z(Kt,{children:z("title",{children:"Vuer (Technical Preview)"})}),t?z(Zt,{onClickAway:i,children:a({message:t,mtype:r})}):null,z(zt,{value:s,children:z(E.Suspense,{fallback:z("div",{children:"Loading..."}),children:e?null:z(Nt,{bgChildren:[z(ho,{},"default-grid"),z(mo,{intensity:1},"default-ambient-light"),z(po,{intensity:1,position:[0,1,1]},"default-point-light")],children:z(yo,{},"hands")})})})]})}const So={Page:go};export{So as default};
|