galaxy-vizarr
Version:
A visualization for Zarr-based images based on Vizarr.
30 lines • 3.09 MB
JavaScript
import{JpxImage as Tq}from"https://cdn.jsdelivr.net/gh/mozilla/pdf.js@30bd5f0/src/core/jpx.js";(function(){const A=document.createElement("link").relList;if(A&&A.supports&&A.supports("modulepreload"))return;for(const C of document.querySelectorAll('link[rel="modulepreload"]'))B(C);new MutationObserver(C=>{for(const Q of C)if(Q.type==="childList")for(const E of Q.addedNodes)E.tagName==="LINK"&&E.rel==="modulepreload"&&B(E)}).observe(document,{childList:!0,subtree:!0});function g(C){const Q={};return C.integrity&&(Q.integrity=C.integrity),C.referrerPolicy&&(Q.referrerPolicy=C.referrerPolicy),C.crossOrigin==="use-credentials"?Q.credentials="include":C.crossOrigin==="anonymous"?Q.credentials="omit":Q.credentials="same-origin",Q}function B(C){if(C.ep)return;C.ep=!0;const Q=g(C);fetch(C.href,Q)}})();const Wq="modulepreload",Pq=function(I){return"/"+I},WS={},aB=function(A,g,B){let C=Promise.resolve();if(g&&g.length>0){document.getElementsByTagName("link");const E=document.querySelector("meta[property=csp-nonce]"),i=(E==null?void 0:E.nonce)||(E==null?void 0:E.getAttribute("nonce"));C=Promise.allSettled(g.map(t=>{if(t=Pq(t),t in WS)return;WS[t]=!0;const o=t.endsWith(".css"),e=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${e}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":Wq,o||(a.as="script"),a.crossOrigin="",a.href=t,i&&a.setAttribute("nonce",i),document.head.appendChild(a),o)return new Promise((s,n)=>{a.addEventListener("load",s),a.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${t}`)))})}))}function Q(E){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=E,window.dispatchEvent(i),!i.defaultPrevented)throw E}return C.then(E=>{for(const i of E||[])i.status==="rejected"&&Q(i.reason);return A().catch(Q)})},gE=(I,A=gE,g=A.f||(A.f=["./deflate-OB_1Jopc.js","./pako.esm-CXnuQ5cP.js","./lerc-IBRCA0wx.js","./blosc-CAH7LpMT.js","./chunk-INHXZS53-BwBC_UMW.js","./gzip-CVqG1GUK.js","./browser-B9yL0Ehp.js","./lz4-CQc_tcCf.js","./zlib-hYVBwrzN.js","./zstd-DZt0d94N.js"]))=>I.map(B=>g[B]);var Oq=Object.defineProperty,yU=I=>{throw TypeError(I)},_q=(I,A,g)=>A in I?Oq(I,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):I[A]=g,sI=(I,A,g)=>_q(I,typeof A!="symbol"?A+"":A,g),_w=(I,A,g)=>A.has(I)||yU("Cannot "+g),SA=(I,A,g)=>(_w(I,A,"read from private field"),g?g.call(I):A.get(I)),fI=(I,A,g)=>A.has(I)?yU("Cannot add the same private member more than once"):A instanceof WeakSet?A.add(I):A.set(I,g),EI=(I,A,g,B)=>(_w(I,A,"write to private field"),A.set(I,g),g),LI=(I,A,g)=>(_w(I,A,"access private method"),g),lU=(I,A,g,B)=>({set _(C){EI(I,A,C)},get _(){return SA(I,A,B)}});function Vq(I,A){for(var g=0;g<A.length;g++){const B=A[g];if(typeof B!="string"&&!Array.isArray(B)){for(const C in B)if(C!=="default"&&!(C in I)){const Q=Object.getOwnPropertyDescriptor(B,C);Q&&Object.defineProperty(I,C,Q.get?Q:{enumerable:!0,get:()=>B[C]})}}}return Object.freeze(Object.defineProperty(I,Symbol.toStringTag,{value:"Module"}))}function Fo(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}var dU={exports:{}},Qc={},wU={exports:{}},iI={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ta=Symbol.for("react.element"),Zq=Symbol.for("react.portal"),jq=Symbol.for("react.fragment"),zq=Symbol.for("react.strict_mode"),Xq=Symbol.for("react.profiler"),$q=Symbol.for("react.provider"),A1=Symbol.for("react.context"),I1=Symbol.for("react.forward_ref"),g1=Symbol.for("react.suspense"),B1=Symbol.for("react.memo"),C1=Symbol.for("react.lazy"),PS=Symbol.iterator;function Q1(I){return I===null||typeof I!="object"?null:(I=PS&&I[PS]||I["@@iterator"],typeof I=="function"?I:null)}var uU={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},FU=Object.assign,SU={};function So(I,A,g){this.props=I,this.context=A,this.refs=SU,this.updater=g||uU}So.prototype.isReactComponent={};So.prototype.setState=function(I,A){if(typeof I!="object"&&typeof I!="function"&&I!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,I,A,"setState")};So.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function GU(){}GU.prototype=So.prototype;function Vw(I,A,g){this.props=I,this.context=A,this.refs=SU,this.updater=g||uU}var Zw=Vw.prototype=new GU;Zw.constructor=Vw;FU(Zw,So.prototype);Zw.isPureReactComponent=!0;var OS=Array.isArray,RU=Object.prototype.hasOwnProperty,jw={current:null},NU={key:!0,ref:!0,__self:!0,__source:!0};function fU(I,A,g){var B,C={},Q=null,E=null;if(A!=null)for(B in A.ref!==void 0&&(E=A.ref),A.key!==void 0&&(Q=""+A.key),A)RU.call(A,B)&&!NU.hasOwnProperty(B)&&(C[B]=A[B]);var i=arguments.length-2;if(i===1)C.children=g;else if(1<i){for(var t=Array(i),o=0;o<i;o++)t[o]=arguments[o+2];C.children=t}if(I&&I.defaultProps)for(B in i=I.defaultProps,i)C[B]===void 0&&(C[B]=i[B]);return{$$typeof:Ta,type:I,key:Q,ref:E,props:C,_owner:jw.current}}function E1(I,A){return{$$typeof:Ta,type:I.type,key:A,ref:I.ref,props:I.props,_owner:I._owner}}function zw(I){return typeof I=="object"&&I!==null&&I.$$typeof===Ta}function i1(I){var A={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(g){return A[g]})}var _S=/\/+/g;function F0(I,A){return typeof I=="object"&&I!==null&&I.key!=null?i1(""+I.key):A.toString(36)}function Zn(I,A,g,B,C){var Q=typeof I;(Q==="undefined"||Q==="boolean")&&(I=null);var E=!1;if(I===null)E=!0;else switch(Q){case"string":case"number":E=!0;break;case"object":switch(I.$$typeof){case Ta:case Zq:E=!0}}if(E)return E=I,C=C(E),I=B===""?"."+F0(E,0):B,OS(C)?(g="",I!=null&&(g=I.replace(_S,"$&/")+"/"),Zn(C,A,g,"",function(o){return o})):C!=null&&(zw(C)&&(C=E1(C,g+(!C.key||E&&E.key===C.key?"":(""+C.key).replace(_S,"$&/")+"/")+I)),A.push(C)),1;if(E=0,B=B===""?".":B+":",OS(I))for(var i=0;i<I.length;i++){Q=I[i];var t=B+F0(Q,i);E+=Zn(Q,A,g,t,C)}else if(t=Q1(I),typeof t=="function")for(I=t.call(I),i=0;!(Q=I.next()).done;)Q=Q.value,t=B+F0(Q,i++),E+=Zn(Q,A,g,t,C);else if(Q==="object")throw A=String(I),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.");return E}function Ss(I,A,g){if(I==null)return I;var B=[],C=0;return Zn(I,B,"","",function(Q){return A.call(g,Q,C++)}),B}function t1(I){if(I._status===-1){var A=I._result;A=A(),A.then(function(g){(I._status===0||I._status===-1)&&(I._status=1,I._result=g)},function(g){(I._status===0||I._status===-1)&&(I._status=2,I._result=g)}),I._status===-1&&(I._status=0,I._result=A)}if(I._status===1)return I._result.default;throw I._result}var EB={current:null},jn={transition:null},o1={ReactCurrentDispatcher:EB,ReactCurrentBatchConfig:jn,ReactCurrentOwner:jw};function pU(){throw Error("act(...) is not supported in production builds of React.")}iI.Children={map:Ss,forEach:function(I,A,g){Ss(I,function(){A.apply(this,arguments)},g)},count:function(I){var A=0;return Ss(I,function(){A++}),A},toArray:function(I){return Ss(I,function(A){return A})||[]},only:function(I){if(!zw(I))throw Error("React.Children.only expected to receive a single React element child.");return I}};iI.Component=So;iI.Fragment=jq;iI.Profiler=Xq;iI.PureComponent=Vw;iI.StrictMode=zq;iI.Suspense=g1;iI.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o1;iI.act=pU;iI.cloneElement=function(I,A,g){if(I==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var B=FU({},I.props),C=I.key,Q=I.ref,E=I._owner;if(A!=null){if(A.ref!==void 0&&(Q=A.ref,E=jw.current),A.key!==void 0&&(C=""+A.key),I.type&&I.type.defaultProps)var i=I.type.defaultProps;for(t in A)RU.call(A,t)&&!NU.hasOwnProperty(t)&&(B[t]=A[t]===void 0&&i!==void 0?i[t]:A[t])}var t=arguments.length-2;if(t===1)B.children=g;else if(1<t){i=Array(t);for(var o=0;o<t;o++)i[o]=arguments[o+2];B.children=i}return{$$typeof:Ta,type:I.type,key:C,ref:Q,props:B,_owner:E}};iI.createContext=function(I){return I={$$typeof:A1,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:$q,_context:I},I.Consumer=I};iI.createElement=fU;iI.createFactory=function(I){var A=fU.bind(null,I);return A.type=I,A};iI.createRef=function(){return{current:null}};iI.forwardRef=function(I){return{$$typeof:I1,render:I}};iI.isValidElement=zw;iI.lazy=function(I){return{$$typeof:C1,_payload:{_status:-1,_result:I},_init:t1}};iI.memo=function(I,A){return{$$typeof:B1,type:I,compare:A===void 0?null:A}};iI.startTransition=function(I){var A=jn.transition;jn.transition={};try{I()}finally{jn.transition=A}};iI.unstable_act=pU;iI.useCallback=function(I,A){return EB.current.useCallback(I,A)};iI.useContext=function(I){return EB.current.useContext(I)};iI.useDebugValue=function(){};iI.useDeferredValue=function(I){return EB.current.useDeferredValue(I)};iI.useEffect=function(I,A){return EB.current.useEffect(I,A)};iI.useId=function(){return EB.current.useId()};iI.useImperativeHandle=function(I,A,g){return EB.current.useImperativeHandle(I,A,g)};iI.useInsertionEffect=function(I,A){return EB.current.useInsertionEffect(I,A)};iI.useLayoutEffect=function(I,A){return EB.current.useLayoutEffect(I,A)};iI.useMemo=function(I,A){return EB.current.useMemo(I,A)};iI.useReducer=function(I,A,g){return EB.current.useReducer(I,A,g)};iI.useRef=function(I){return EB.current.useRef(I)};iI.useState=function(I){return EB.current.useState(I)};iI.useSyncExternalStore=function(I,A,g){return EB.current.useSyncExternalStore(I,A,g)};iI.useTransition=function(){return EB.current.useTransition()};iI.version="18.3.1";wU.exports=iI;var x=wU.exports;const mI=Fo(x);/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var e1=x,a1=Symbol.for("react.element"),s1=Symbol.for("react.fragment"),n1=Object.prototype.hasOwnProperty,r1=e1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h1={key:!0,ref:!0,__self:!0,__source:!0};function kU(I,A,g){var B,C={},Q=null,E=null;g!==void 0&&(Q=""+g),A.key!==void 0&&(Q=""+A.key),A.ref!==void 0&&(E=A.ref);for(B in A)n1.call(A,B)&&!h1.hasOwnProperty(B)&&(C[B]=A[B]);if(I&&I.defaultProps)for(B in A=I.defaultProps,A)C[B]===void 0&&(C[B]=A[B]);return{$$typeof:a1,type:I,key:Q,ref:E,props:C,_owner:r1.current}}Qc.Fragment=s1;Qc.jsx=kU;Qc.jsxs=kU;dU.exports=Qc;var aA=dU.exports;function wA(){return wA=Object.assign?Object.assign.bind():function(I){for(var A=1;A<arguments.length;A++){var g=arguments[A];for(var B in g)({}).hasOwnProperty.call(g,B)&&(I[B]=g[B])}return I},wA.apply(null,arguments)}function Bo(I){"@babel/helpers - typeof";return Bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},Bo(I)}function S0(I){return I&&Bo(I)==="object"&&I.constructor===Object}function Co(I,A){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},B=g.clone?wA({},I):I;return S0(I)&&S0(A)&&Object.keys(A).forEach(function(C){C!=="__proto__"&&(S0(A[C])&&C in I?B[C]=Co(I[C],A[C],g):B[C]=A[C])}),B}function c1(I,A){if(Bo(I)!="object"||!I)return I;var g=I[Symbol.toPrimitive];if(g!==void 0){var B=g.call(I,A||"default");if(Bo(B)!="object")return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(I)}function LU(I){var A=c1(I,"string");return Bo(A)=="symbol"?A:A+""}function R(I,A,g){return(A=LU(A))in I?Object.defineProperty(I,A,{value:g,enumerable:!0,configurable:!0,writable:!0}):I[A]=g,I}function Xe(I){for(var A="https://mui.com/production-error/?code="+I,g=1;g<arguments.length;g+=1)A+="&args[]="+encodeURIComponent(arguments[g]);return"Minified Material-UI error #"+I+"; visit "+A+" for the full message."}if(typeof Symbol=="function"&&Symbol.for){var fg=Symbol.for;fg("react.element"),fg("react.portal"),fg("react.fragment"),fg("react.strict_mode"),fg("react.profiler"),fg("react.provider"),fg("react.context"),fg("react.forward_ref"),fg("react.suspense"),fg("react.suspense_list"),fg("react.memo"),fg("react.lazy"),fg("react.block"),fg("react.server.block"),fg("react.fundamental"),fg("react.debug_trace_mode"),fg("react.legacy_hidden")}var D1=typeof Symbol=="function"&&Symbol.for;const UU=D1?Symbol.for("mui.nested"):"__THEME_NESTED__";var y1=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function l1(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=I.disableGlobal,g=A===void 0?!1:A,B=I.productionPrefix,C=B===void 0?"jss":B,Q=I.seed,E=Q===void 0?"":Q,i=E===""?"":"".concat(E,"-"),t=0,o=function(){return t+=1,t};return function(e,a){var s=a.options.name;if(s&&s.indexOf("Mui")===0&&!a.options.link&&!g){if(y1.indexOf(e.key)!==-1)return"Mui-".concat(e.key);var n="".concat(i).concat(s,"-").concat(e.key);return!a.options.theme[UU]||E!==""?n:"".concat(n,"-").concat(o())}return"".concat(i).concat(C).concat(o())}}function mU(I){var A=I.theme,g=I.name,B=I.props;if(!A||!A.props||!A.props[g])return B;var C=A.props[g],Q;for(Q in C)B[Q]===void 0&&(B[Q]=C[Q]);return B}var VS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},Wa=(typeof window>"u"?"undefined":VS(window))==="object"&&(typeof document>"u"?"undefined":VS(document))==="object"&&document.nodeType===9;function d1(I,A){for(var g=0;g<A.length;g++){var B=A[g];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(I,LU(B.key),B)}}function Xw(I,A,g){return A&&d1(I.prototype,A),Object.defineProperty(I,"prototype",{writable:!1}),I}function $y(I,A){return $y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,B){return g.__proto__=B,g},$y(I,A)}function Ec(I,A){I.prototype=Object.create(A.prototype),I.prototype.constructor=I,$y(I,A)}function Al(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function ic(I,A){if(I==null)return{};var g={};for(var B in I)if({}.hasOwnProperty.call(I,B)){if(A.includes(B))continue;g[B]=I[B]}return g}var w1={}.constructor;function Il(I){if(I==null||typeof I!="object")return I;if(Array.isArray(I))return I.map(Il);if(I.constructor!==w1)return I;var A={};for(var g in I)A[g]=Il(I[g]);return A}function $w(I,A,g){I===void 0&&(I="unnamed");var B=g.jss,C=Il(A),Q=B.plugins.onCreateRule(I,C,g);return Q||(I[0],null)}var ZS=function(I,A){for(var g="",B=0;B<I.length&&I[B]!=="!important";B++)g&&(g+=A),g+=I[B];return g},hi=function(I){if(!Array.isArray(I))return I;var A="";if(Array.isArray(I[0]))for(var g=0;g<I.length&&I[g]!=="!important";g++)A&&(A+=", "),A+=ZS(I[g]," ");else A=ZS(I,", ");return I[I.length-1]==="!important"&&(A+=" !important"),A};function Go(I){return I&&I.format===!1?{linebreak:"",space:""}:{linebreak:`
`,space:" "}}function qo(I,A){for(var g="",B=0;B<A;B++)g+=" ";return g+I}function $e(I,A,g){g===void 0&&(g={});var B="";if(!A)return B;var C=g,Q=C.indent,E=Q===void 0?0:Q,i=A.fallbacks;g.format===!1&&(E=-1/0);var t=Go(g),o=t.linebreak,e=t.space;if(I&&E++,i)if(Array.isArray(i))for(var a=0;a<i.length;a++){var s=i[a];for(var n in s){var r=s[n];r!=null&&(B&&(B+=o),B+=qo(n+":"+e+hi(r)+";",E))}}else for(var h in i){var y=i[h];y!=null&&(B&&(B+=o),B+=qo(h+":"+e+hi(y)+";",E))}for(var D in A){var l=A[D];l!=null&&D!=="fallbacks"&&(B&&(B+=o),B+=qo(D+":"+e+hi(l)+";",E))}return!B&&!g.allowEmpty||!I?B:(E--,B&&(B=""+o+B+o),qo(""+I+e+"{"+B,E)+qo("}",E))}var u1=/([[\].#*$><+~=|^:(),"'`\s])/g,jS=typeof CSS<"u"&&CSS.escape,Au=function(I){return jS?jS(I):I.replace(u1,"\\$1")},MU=function(){function I(g,B,C){this.type="style",this.isProcessed=!1;var Q=C.sheet,E=C.Renderer;this.key=g,this.options=C,this.style=B,Q?this.renderer=Q.renderer:E&&(this.renderer=new E)}var A=I.prototype;return A.prop=function(g,B,C){if(B===void 0)return this.style[g];var Q=C?C.force:!1;if(!Q&&this.style[g]===B)return this;var E=B;(!C||C.process!==!1)&&(E=this.options.jss.plugins.onChangeValue(B,g,this));var i=E==null||E===!1,t=g in this.style;if(i&&!t&&!Q)return this;var o=i&&t;if(o?delete this.style[g]:this.style[g]=E,this.renderable&&this.renderer)return o?this.renderer.removeProperty(this.renderable,g):this.renderer.setProperty(this.renderable,g,E),this;var e=this.options.sheet;return e&&e.attached,this},I}(),gl=function(I){Ec(A,I);function A(B,C,Q){var E;E=I.call(this,B,C,Q)||this;var i=Q.selector,t=Q.scoped,o=Q.sheet,e=Q.generateId;return i?E.selectorText=i:t!==!1&&(E.id=e(Al(Al(E)),o),E.selectorText="."+Au(E.id)),E}var g=A.prototype;return g.applyTo=function(B){var C=this.renderer;if(C){var Q=this.toJSON();for(var E in Q)C.setProperty(B,E,Q[E])}return this},g.toJSON=function(){var B={};for(var C in this.style){var Q=this.style[C];typeof Q!="object"?B[C]=Q:Array.isArray(Q)&&(B[C]=hi(Q))}return B},g.toString=function(B){var C=this.options.sheet,Q=C?C.options.link:!1,E=Q?wA({},B,{allowEmpty:!0}):B;return $e(this.selectorText,this.style,E)},Xw(A,[{key:"selector",set:function(B){if(B!==this.selectorText){this.selectorText=B;var C=this.renderer,Q=this.renderable;if(!(!Q||!C)){var E=C.setSelector(Q,B);E||C.replaceRule(Q,this)}}},get:function(){return this.selectorText}}]),A}(MU),F1={onCreateRule:function(I,A,g){return I[0]==="@"||g.parent&&g.parent.type==="keyframes"?null:new gl(I,A,g)}},G0={indent:1,children:!0},S1=/@([\w-]+)/,G1=function(){function I(g,B,C){this.type="conditional",this.isProcessed=!1,this.key=g;var Q=g.match(S1);this.at=Q?Q[1]:"unknown",this.query=C.name||"@"+this.at,this.options=C,this.rules=new tc(wA({},C,{parent:this}));for(var E in B)this.rules.add(E,B[E]);this.rules.process()}var A=I.prototype;return A.getRule=function(g){return this.rules.get(g)},A.indexOf=function(g){return this.rules.indexOf(g)},A.addRule=function(g,B,C){var Q=this.rules.add(g,B,C);return Q?(this.options.jss.plugins.onProcessRule(Q),Q):null},A.replaceRule=function(g,B,C){var Q=this.rules.replace(g,B,C);return Q&&this.options.jss.plugins.onProcessRule(Q),Q},A.toString=function(g){g===void 0&&(g=G0);var B=Go(g),C=B.linebreak;if(g.indent==null&&(g.indent=G0.indent),g.children==null&&(g.children=G0.children),g.children===!1)return this.query+" {}";var Q=this.rules.toString(g);return Q?this.query+" {"+C+Q+C+"}":""},I}(),R1=/@container|@media|@supports\s+/,N1={onCreateRule:function(I,A,g){return R1.test(I)?new G1(I,A,g):null}},R0={indent:1,children:!0},f1=/@keyframes\s+([\w-]+)/,Bl=function(){function I(g,B,C){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var Q=g.match(f1);Q&&Q[1]?this.name=Q[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=C;var E=C.scoped,i=C.sheet,t=C.generateId;this.id=E===!1?this.name:Au(t(this,i)),this.rules=new tc(wA({},C,{parent:this}));for(var o in B)this.rules.add(o,B[o],wA({},C,{parent:this}));this.rules.process()}var A=I.prototype;return A.toString=function(g){g===void 0&&(g=R0);var B=Go(g),C=B.linebreak;if(g.indent==null&&(g.indent=R0.indent),g.children==null&&(g.children=R0.children),g.children===!1)return this.at+" "+this.id+" {}";var Q=this.rules.toString(g);return Q&&(Q=""+C+Q+C),this.at+" "+this.id+" {"+Q+"}"},I}(),p1=/@keyframes\s+/,k1=/\$([\w-]+)/g,Cl=function(I,A){return typeof I=="string"?I.replace(k1,function(g,B){return B in A?A[B]:g}):I},zS=function(I,A,g){var B=I[A],C=Cl(B,g);C!==B&&(I[A]=C)},L1={onCreateRule:function(I,A,g){return typeof I=="string"&&p1.test(I)?new Bl(I,A,g):null},onProcessStyle:function(I,A,g){return A.type!=="style"||!g||("animation-name"in I&&zS(I,"animation-name",g.keyframes),"animation"in I&&zS(I,"animation",g.keyframes)),I},onChangeValue:function(I,A,g){var B=g.options.sheet;if(!B)return I;switch(A){case"animation":return Cl(I,B.keyframes);case"animation-name":return Cl(I,B.keyframes);default:return I}}},U1=function(I){Ec(A,I);function A(){return I.apply(this,arguments)||this}var g=A.prototype;return g.toString=function(B){var C=this.options.sheet,Q=C?C.options.link:!1,E=Q?wA({},B,{allowEmpty:!0}):B;return $e(this.key,this.style,E)},A}(MU),m1={onCreateRule:function(I,A,g){return g.parent&&g.parent.type==="keyframes"?new U1(I,A,g):null}},M1=function(){function I(g,B,C){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=g,this.style=B,this.options=C}var A=I.prototype;return A.toString=function(g){var B=Go(g),C=B.linebreak;if(Array.isArray(this.style)){for(var Q="",E=0;E<this.style.length;E++)Q+=$e(this.at,this.style[E]),this.style[E+1]&&(Q+=C);return Q}return $e(this.at,this.style,g)},I}(),J1=/@font-face/,Y1={onCreateRule:function(I,A,g){return J1.test(I)?new M1(I,A,g):null}},K1=function(){function I(g,B,C){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=g,this.style=B,this.options=C}var A=I.prototype;return A.toString=function(g){return $e(this.key,this.style,g)},I}(),H1={onCreateRule:function(I,A,g){return I==="@viewport"||I==="@-ms-viewport"?new K1(I,A,g):null}},q1=function(){function I(g,B,C){this.type="simple",this.isProcessed=!1,this.key=g,this.value=B,this.options=C}var A=I.prototype;return A.toString=function(g){if(Array.isArray(this.value)){for(var B="",C=0;C<this.value.length;C++)B+=this.key+" "+this.value[C]+";",this.value[C+1]&&(B+=`
`);return B}return this.key+" "+this.value+";"},I}(),x1={"@charset":!0,"@import":!0,"@namespace":!0},v1={onCreateRule:function(I,A,g){return I in x1?new q1(I,A,g):null}},XS=[F1,N1,L1,m1,Y1,H1,v1],b1={process:!0},$S={force:!0,process:!0},tc=function(){function I(g){this.map={},this.raw={},this.index=[],this.counter=0,this.options=g,this.classes=g.classes,this.keyframes=g.keyframes}var A=I.prototype;return A.add=function(g,B,C){var Q=this.options,E=Q.parent,i=Q.sheet,t=Q.jss,o=Q.Renderer,e=Q.generateId,a=Q.scoped,s=wA({classes:this.classes,parent:E,sheet:i,jss:t,Renderer:o,generateId:e,scoped:a,name:g,keyframes:this.keyframes,selector:void 0},C),n=g;g in this.raw&&(n=g+"-d"+this.counter++),this.raw[n]=B,n in this.classes&&(s.selector="."+Au(this.classes[n]));var r=$w(n,B,s);if(!r)return null;this.register(r);var h=s.index===void 0?this.index.length:s.index;return this.index.splice(h,0,r),r},A.replace=function(g,B,C){var Q=this.get(g),E=this.index.indexOf(Q);Q&&this.remove(Q);var i=C;return E!==-1&&(i=wA({},C,{index:E})),this.add(g,B,i)},A.get=function(g){return this.map[g]},A.remove=function(g){this.unregister(g),delete this.raw[g.key],this.index.splice(this.index.indexOf(g),1)},A.indexOf=function(g){return this.index.indexOf(g)},A.process=function(){var g=this.options.jss.plugins;this.index.slice(0).forEach(g.onProcessRule,g)},A.register=function(g){this.map[g.key]=g,g instanceof gl?(this.map[g.selector]=g,g.id&&(this.classes[g.key]=g.id)):g instanceof Bl&&this.keyframes&&(this.keyframes[g.name]=g.id)},A.unregister=function(g){delete this.map[g.key],g instanceof gl?(delete this.map[g.selector],delete this.classes[g.key]):g instanceof Bl&&delete this.keyframes[g.name]},A.update=function(){var g,B,C;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(g=arguments.length<=0?void 0:arguments[0],B=arguments.length<=1?void 0:arguments[1],C=arguments.length<=2?void 0:arguments[2]):(B=arguments.length<=0?void 0:arguments[0],C=arguments.length<=1?void 0:arguments[1],g=null),g)this.updateOne(this.get(g),B,C);else for(var Q=0;Q<this.index.length;Q++)this.updateOne(this.index[Q],B,C)},A.updateOne=function(g,B,C){C===void 0&&(C=b1);var Q=this.options,E=Q.jss.plugins,i=Q.sheet;if(g.rules instanceof I){g.rules.update(B,C);return}var t=g.style;if(E.onUpdate(B,g,i,C),C.process&&t&&t!==g.style){E.onProcessStyle(g.style,g,i);for(var o in g.style){var e=g.style[o],a=t[o];e!==a&&g.prop(o,e,$S)}for(var s in t){var n=g.style[s],r=t[s];n==null&&n!==r&&g.prop(s,null,$S)}}},A.toString=function(g){for(var B="",C=this.options.sheet,Q=C?C.options.link:!1,E=Go(g),i=E.linebreak,t=0;t<this.index.length;t++){var o=this.index[t],e=o.toString(g);!e&&!Q||(B&&(B+=i),B+=e)}return B},I}(),JU=function(){function I(g,B){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=wA({},B,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),B.Renderer&&(this.renderer=new B.Renderer(this)),this.rules=new tc(this.options);for(var C in g)this.rules.add(C,g[C]);this.rules.process()}var A=I.prototype;return A.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},A.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},A.addRule=function(g,B,C){var Q=this.queue;this.attached&&!Q&&(this.queue=[]);var E=this.rules.add(g,B,C);return E?(this.options.jss.plugins.onProcessRule(E),this.attached?(this.deployed&&(Q?Q.push(E):(this.insertRule(E),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),E):(this.deployed=!1,E)):null},A.replaceRule=function(g,B,C){var Q=this.rules.get(g);if(!Q)return this.addRule(g,B,C);var E=this.rules.replace(g,B,C);return E&&this.options.jss.plugins.onProcessRule(E),this.attached?(this.deployed&&this.renderer&&(E?Q.renderable&&this.renderer.replaceRule(Q.renderable,E):this.renderer.deleteRule(Q)),E):(this.deployed=!1,E)},A.insertRule=function(g){this.renderer&&this.renderer.insertRule(g)},A.addRules=function(g,B){var C=[];for(var Q in g){var E=this.addRule(Q,g[Q],B);E&&C.push(E)}return C},A.getRule=function(g){return this.rules.get(g)},A.deleteRule=function(g){var B=typeof g=="object"?g:this.rules.get(g);return!B||this.attached&&!B.renderable?!1:(this.rules.remove(B),this.attached&&B.renderable&&this.renderer?this.renderer.deleteRule(B.renderable):!0)},A.indexOf=function(g){return this.rules.indexOf(g)},A.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},A.update=function(){var g;return(g=this.rules).update.apply(g,arguments),this},A.updateOne=function(g,B,C){return this.rules.updateOne(g,B,C),this},A.toString=function(g){return this.rules.toString(g)},I}(),T1=function(){function I(){this.plugins={internal:[],external:[]},this.registry={}}var A=I.prototype;return A.onCreateRule=function(g,B,C){for(var Q=0;Q<this.registry.onCreateRule.length;Q++){var E=this.registry.onCreateRule[Q](g,B,C);if(E)return E}return null},A.onProcessRule=function(g){if(!g.isProcessed){for(var B=g.options.sheet,C=0;C<this.registry.onProcessRule.length;C++)this.registry.onProcessRule[C](g,B);g.style&&this.onProcessStyle(g.style,g,B),g.isProcessed=!0}},A.onProcessStyle=function(g,B,C){for(var Q=0;Q<this.registry.onProcessStyle.length;Q++)B.style=this.registry.onProcessStyle[Q](B.style,B,C)},A.onProcessSheet=function(g){for(var B=0;B<this.registry.onProcessSheet.length;B++)this.registry.onProcessSheet[B](g)},A.onUpdate=function(g,B,C,Q){for(var E=0;E<this.registry.onUpdate.length;E++)this.registry.onUpdate[E](g,B,C,Q)},A.onChangeValue=function(g,B,C){for(var Q=g,E=0;E<this.registry.onChangeValue.length;E++)Q=this.registry.onChangeValue[E](Q,B,C);return Q},A.use=function(g,B){B===void 0&&(B={queue:"external"});var C=this.plugins[B.queue];C.indexOf(g)===-1&&(C.push(g),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(Q,E){for(var i in E)i in Q&&Q[i].push(E[i]);return Q},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},I}(),W1=function(){function I(){this.registry=[]}var A=I.prototype;return A.add=function(g){var B=this.registry,C=g.options.index;if(B.indexOf(g)===-1){if(B.length===0||C>=this.index){B.push(g);return}for(var Q=0;Q<B.length;Q++)if(B[Q].options.index>C){B.splice(Q,0,g);return}}},A.reset=function(){this.registry=[]},A.remove=function(g){var B=this.registry.indexOf(g);this.registry.splice(B,1)},A.toString=function(g){for(var B=g===void 0?{}:g,C=B.attached,Q=ic(B,["attached"]),E=Go(Q),i=E.linebreak,t="",o=0;o<this.registry.length;o++){var e=this.registry[o];C!=null&&e.attached!==C||(t&&(t+=i),t+=e.toString(Q))}return t},Xw(I,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),I}(),Re=new W1,Ql=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),El="2f1acc6c3a606b082e5eef5e54414ffb";Ql[El]==null&&(Ql[El]=0);var AG=Ql[El]++,IG=function(I){I===void 0&&(I={});var A=0,g=function(B,C){A+=1;var Q="",E="";return C&&(C.options.classNamePrefix&&(E=C.options.classNamePrefix),C.options.jss.id!=null&&(Q=String(C.options.jss.id))),I.minify?""+(E||"c")+AG+Q+A:E+B.key+"-"+AG+(Q?"-"+Q:"")+"-"+A};return g},YU=function(I){var A;return function(){return A||(A=I()),A}},P1=function(I,A){try{return I.attributeStyleMap?I.attributeStyleMap.get(A):I.style.getPropertyValue(A)}catch{return""}},O1=function(I,A,g){try{var B=g;if(Array.isArray(g)&&(B=hi(g)),I.attributeStyleMap)I.attributeStyleMap.set(A,B);else{var C=B?B.indexOf("!important"):-1,Q=C>-1?B.substr(0,C-1):B;I.style.setProperty(A,Q,C>-1?"important":"")}}catch{return!1}return!0},_1=function(I,A){try{I.attributeStyleMap?I.attributeStyleMap.delete(A):I.style.removeProperty(A)}catch{}},V1=function(I,A){return I.selectorText=A,I.selectorText===A},KU=YU(function(){return document.querySelector("head")});function Z1(I,A){for(var g=0;g<I.length;g++){var B=I[g];if(B.attached&&B.options.index>A.index&&B.options.insertionPoint===A.insertionPoint)return B}return null}function j1(I,A){for(var g=I.length-1;g>=0;g--){var B=I[g];if(B.attached&&B.options.insertionPoint===A.insertionPoint)return B}return null}function z1(I){for(var A=KU(),g=0;g<A.childNodes.length;g++){var B=A.childNodes[g];if(B.nodeType===8&&B.nodeValue.trim()===I)return B}return null}function X1(I){var A=Re.registry;if(A.length>0){var g=Z1(A,I);if(g&&g.renderer)return{parent:g.renderer.element.parentNode,node:g.renderer.element};if(g=j1(A,I),g&&g.renderer)return{parent:g.renderer.element.parentNode,node:g.renderer.element.nextSibling}}var B=I.insertionPoint;if(B&&typeof B=="string"){var C=z1(B);if(C)return{parent:C.parentNode,node:C.nextSibling}}return!1}function $1(I,A){var g=A.insertionPoint,B=X1(A);if(B!==!1&&B.parent){B.parent.insertBefore(I,B.node);return}if(g&&typeof g.nodeType=="number"){var C=g,Q=C.parentNode;Q&&Q.insertBefore(I,C.nextSibling);return}KU().appendChild(I)}var Ax=YU(function(){var I=document.querySelector('meta[property="csp-nonce"]');return I?I.getAttribute("content"):null}),gG=function(I,A,g){try{"insertRule"in I?I.insertRule(A,g):"appendRule"in I&&I.appendRule(A)}catch{return!1}return I.cssRules[g]},BG=function(I,A){var g=I.cssRules.length;return A===void 0||A>g?g:A},Ix=function(){var I=document.createElement("style");return I.textContent=`
`,I},gx=function(){function I(g){this.getPropertyValue=P1,this.setProperty=O1,this.removeProperty=_1,this.setSelector=V1,this.hasInsertedRules=!1,this.cssRules=[],g&&Re.add(g),this.sheet=g;var B=this.sheet?this.sheet.options:{},C=B.media,Q=B.meta,E=B.element;this.element=E||Ix(),this.element.setAttribute("data-jss",""),C&&this.element.setAttribute("media",C),Q&&this.element.setAttribute("data-meta",Q);var i=Ax();i&&this.element.setAttribute("nonce",i)}var A=I.prototype;return A.attach=function(){if(!(this.element.parentNode||!this.sheet)){$1(this.element,this.sheet.options);var g=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&g&&(this.hasInsertedRules=!1,this.deploy())}},A.detach=function(){if(this.sheet){var g=this.element.parentNode;g&&g.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
`)}},A.deploy=function(){var g=this.sheet;if(g){if(g.options.link){this.insertRules(g.rules);return}this.element.textContent=`
`+g.toString()+`
`}},A.insertRules=function(g,B){for(var C=0;C<g.index.length;C++)this.insertRule(g.index[C],C,B)},A.insertRule=function(g,B,C){if(C===void 0&&(C=this.element.sheet),g.rules){var Q=g,E=C;if(g.type==="conditional"||g.type==="keyframes"){var i=BG(C,B);if(E=gG(C,Q.toString({children:!1}),i),E===!1)return!1;this.refCssRule(g,i,E)}return this.insertRules(Q.rules,E),E}var t=g.toString();if(!t)return!1;var o=BG(C,B),e=gG(C,t,o);return e===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(g,o,e),e)},A.refCssRule=function(g,B,C){g.renderable=C,g.options.parent instanceof JU&&this.cssRules.splice(B,0,C)},A.deleteRule=function(g){var B=this.element.sheet,C=this.indexOf(g);return C===-1?!1:(B.deleteRule(C),this.cssRules.splice(C,1),!0)},A.indexOf=function(g){return this.cssRules.indexOf(g)},A.replaceRule=function(g,B){var C=this.indexOf(g);return C===-1?!1:(this.element.sheet.deleteRule(C),this.cssRules.splice(C,1),this.insertRule(B,C))},A.getRules=function(){return this.element.sheet.cssRules},I}(),Bx=0,Cx=function(){function I(g){this.id=Bx++,this.version="10.10.0",this.plugins=new T1,this.options={id:{minify:!1},createGenerateId:IG,Renderer:Wa?gx:null,plugins:[]},this.generateId=IG({minify:!1});for(var B=0;B<XS.length;B++)this.plugins.use(XS[B],{queue:"internal"});this.setup(g)}var A=I.prototype;return A.setup=function(g){return g===void 0&&(g={}),g.createGenerateId&&(this.options.createGenerateId=g.createGenerateId),g.id&&(this.options.id=wA({},this.options.id,g.id)),(g.createGenerateId||g.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),g.insertionPoint!=null&&(this.options.insertionPoint=g.insertionPoint),"Renderer"in g&&(this.options.Renderer=g.Renderer),g.plugins&&this.use.apply(this,g.plugins),this},A.createStyleSheet=function(g,B){B===void 0&&(B={});var C=B,Q=C.index;typeof Q!="number"&&(Q=Re.index===0?0:Re.index+1);var E=new JU(g,wA({},B,{jss:this,generateId:B.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:Q}));return this.plugins.onProcessSheet(E),E},A.removeStyleSheet=function(g){return g.detach(),Re.remove(g),this},A.createRule=function(g,B,C){if(B===void 0&&(B={}),C===void 0&&(C={}),typeof g=="object")return this.createRule(void 0,g,B);var Q=wA({},C,{name:g,jss:this,Renderer:this.options.Renderer});Q.generateId||(Q.generateId=this.generateId),Q.classes||(Q.classes={}),Q.keyframes||(Q.keyframes={});var E=$w(g,B,Q);return E&&this.plugins.onProcessRule(E),E},A.use=function(){for(var g=this,B=arguments.length,C=new Array(B),Q=0;Q<B;Q++)C[Q]=arguments[Q];return C.forEach(function(E){g.plugins.use(E)}),this},I}(),HU=function(I){return new Cx(I)},Iu=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function qU(I){var A=null;for(var g in I){var B=I[g],C=typeof B;if(C==="function")A||(A={}),A[g]=B;else if(C==="object"&&B!==null&&!Array.isArray(B)){var Q=qU(B);Q&&(A||(A={}),A[g]=Q)}}return A}/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/HU();var xU=Date.now(),N0="fnValues"+xU,f0="fnStyle"+ ++xU,Qx=function(){return{onCreateRule:function(I,A,g){if(typeof A!="function")return null;var B=$w(I,{},g);return B[f0]=A,B},onProcessStyle:function(I,A){if(N0 in A||f0 in A)return I;var g={};for(var B in I){var C=I[B];typeof C=="function"&&(delete I[B],g[B]=C)}return A[N0]=g,I},onUpdate:function(I,A,g,B){var C=A,Q=C[f0];Q&&(C.style=Q(I)||{});var E=C[N0];if(E)for(var i in E)C.prop(i,E[i](I),B)}}},nE="@global",il="@global ",Ex=function(){function I(g,B,C){this.type="global",this.at=nE,this.isProcessed=!1,this.key=g,this.options=C,this.rules=new tc(wA({},C,{parent:this}));for(var Q in B)this.rules.add(Q,B[Q]);this.rules.process()}var A=I.prototype;return A.getRule=function(g){return this.rules.get(g)},A.addRule=function(g,B,C){var Q=this.rules.add(g,B,C);return Q&&this.options.jss.plugins.onProcessRule(Q),Q},A.replaceRule=function(g,B,C){var Q=this.rules.replace(g,B,C);return Q&&this.options.jss.plugins.onProcessRule(Q),Q},A.indexOf=function(g){return this.rules.indexOf(g)},A.toString=function(g){return this.rules.toString(g)},I}(),ix=function(){function I(g,B,C){this.type="global",this.at=nE,this.isProcessed=!1,this.key=g,this.options=C;var Q=g.substr(il.length);this.rule=C.jss.createRule(Q,B,wA({},C,{parent:this}))}var A=I.prototype;return A.toString=function(g){return this.rule?this.rule.toString(g):""},I}(),tx=/\s*,\s*/g;function vU(I,A){for(var g=I.split(tx),B="",C=0;C<g.length;C++)B+=A+" "+g[C].trim(),g[C+1]&&(B+=", ");return B}function ox(I,A){var g=I.options,B=I.style,C=B?B[nE]:null;if(C){for(var Q in C)A.addRule(Q,C[Q],wA({},g,{selector:vU(Q,I.selector)}));delete B[nE]}}function ex(I,A){var g=I.options,B=I.style;for(var C in B)if(!(C[0]!=="@"||C.substr(0,nE.length)!==nE)){var Q=vU(C.substr(nE.length),I.selector);A.addRule(Q,B[C],wA({},g,{selector:Q})),delete B[C]}}function ax(){function I(g,B,C){if(!g)return null;if(g===nE)return new Ex(g,B,C);if(g[0]==="@"&&g.substr(0,il.length)===il)return new ix(g,B,C);var Q=C.parent;return Q&&(Q.type==="global"||Q.options.parent&&Q.options.parent.type==="global")&&(C.scoped=!1),!C.selector&&C.scoped===!1&&(C.selector=g),null}function A(g,B){g.type!=="style"||!B||(ox(g,B),ex(g,B))}return{onCreateRule:I,onProcessRule:A}}var CG=/\s*,\s*/g,sx=/&/g,nx=/\$([\w-]+)/g;function rx(){function I(C,Q){return function(E,i){var t=C.getRule(i)||Q&&Q.getRule(i);return t?t.selector:i}}function A(C,Q){for(var E=Q.split(CG),i=C.split(CG),t="",o=0;o<E.length;o++)for(var e=E[o],a=0;a<i.length;a++){var s=i[a];t&&(t+=", "),t+=s.indexOf("&")!==-1?s.replace(sx,e):e+" "+s}return t}function g(C,Q,E){if(E)return wA({},E,{index:E.index+1});var i=C.options.nestingLevel;i=i===void 0?1:i+1;var t=wA({},C.options,{nestingLevel:i,index:Q.indexOf(C)+1});return delete t.name,t}function B(C,Q,E){if(Q.type!=="style")return C;var i=Q,t=i.options.parent,o,e;for(var a in C){var s=a.indexOf("&")!==-1,n=a[0]==="@";if(!(!s&&!n)){if(o=g(i,t,o),s){var r=A(a,i.selector);e||(e=I(t,E)),r=r.replace(nx,e);var h=i.key+"-"+a;"replaceRule"in t?t.replaceRule(h,C[a],wA({},o,{selector:r})):t.addRule(h,C[a],wA({},o,{selector:r}))}else n&&t.addRule(a,{},o).addRule(i.key,C[a],{selector:i.selector});delete C[a]}}return C}return{onProcessStyle:B}}var hx=/[A-Z]/g,cx=/^ms-/,p0={};function Dx(I){return"-"+I.toLowerCase()}function bU(I){if(p0.hasOwnProperty(I))return p0[I];var A=I.replace(hx,Dx);return p0[I]=cx.test(A)?"-"+A:A}function Vr(I){var A={};for(var g in I){var B=g.indexOf("--")===0?g:bU(g);A[B]=I[g]}return I.fallbacks&&(Array.isArray(I.fallbacks)?A.fallbacks=I.fallbacks.map(Vr):A.fallbacks=Vr(I.fallbacks)),A}function yx(){function I(g){if(Array.isArray(g)){for(var B=0;B<g.length;B++)g[B]=Vr(g[B]);return g}return Vr(g)}function A(g,B,C){if(B.indexOf("--")===0)return g;var Q=bU(B);return B===Q?g:(C.prop(Q,g),null)}return{onProcessStyle:I,onChangeValue:A}}var hA=Iu&&CSS?CSS.px:"px",Gs=Iu&&CSS?CSS.ms:"ms",It=Iu&&CSS?CSS.percent:"%",lx={"animation-delay":Gs,"animation-duration":Gs,"background-position":hA,"background-position-x":hA,"background-position-y":hA,"background-size":hA,border:hA,"border-bottom":hA,"border-bottom-left-radius":hA,"border-bottom-right-radius":hA,"border-bottom-width":hA,"border-left":hA,"border-left-width":hA,"border-radius":hA,"border-right":hA,"border-right-width":hA,"border-top":hA,"border-top-left-radius":hA,"border-top-right-radius":hA,"border-top-width":hA,"border-width":hA,"border-block":hA,"border-block-end":hA,"border-block-end-width":hA,"border-block-start":hA,"border-block-start-width":hA,"border-block-width":hA,"border-inline":hA,"border-inline-end":hA,"border-inline-end-width":hA,"border-inline-start":hA,"border-inline-start-width":hA,"border-inline-width":hA,"border-start-start-radius":hA,"border-start-end-radius":hA,"border-end-start-radius":hA,"border-end-end-radius":hA,margin:hA,"margin-bottom":hA,"margin-left":hA,"margin-right":hA,"margin-top":hA,"margin-block":hA,"margin-block-end":hA,"margin-block-start":hA,"margin-inline":hA,"margin-inline-end":hA,"margin-inline-start":hA,padding:hA,"padding-bottom":hA,"padding-left":hA,"padding-right":hA,"padding-top":hA,"padding-block":hA,"padding-block-end":hA,"padding-block-start":hA,"padding-inline":hA,"padding-inline-end":hA,"padding-inline-start":hA,"mask-position-x":hA,"mask-position-y":hA,"mask-size":hA,height:hA,width:hA,"min-height":hA,"max-height":hA,"min-width":hA,"max-width":hA,bottom:hA,left:hA,top:hA,right:hA,inset:hA,"inset-block":hA,"inset-block-end":hA,"inset-block-start":hA,"inset-inline":hA,"inset-inline-end":hA,"inset-inline-start":hA,"box-shadow":hA,"text-shadow":hA,"column-gap":hA,"column-rule":hA,"column-rule-width":hA,"column-width":hA,"font-size":hA,"font-size-delta":hA,"letter-spacing":hA,"text-decoration-thickness":hA,"text-indent":hA,"text-stroke":hA,"text-stroke-width":hA,"word-spacing":hA,motion:hA,"motion-offset":hA,outline:hA,"outline-offset":hA,"outline-width":hA,perspective:hA,"perspective-origin-x":It,"perspective-origin-y":It,"transform-origin":It,"transform-origin-x":It,"transform-origin-y":It,"transform-origin-z":It,"transition-delay":Gs,"transition-duration":Gs,"vertical-align":hA,"flex-basis":hA,"shape-margin":hA,size:hA,gap:hA,grid:hA,"grid-gap":hA,"row-gap":hA,"grid-row-gap":hA,"grid-column-gap":hA,"grid-template-rows":hA,"grid-template-columns":hA,"grid-auto-rows":hA,"grid-auto-columns":hA,"box-shadow-x":hA,"box-shadow-y":hA,"box-shadow-blur":hA,"box-shadow-spread":hA,"font-line-height":hA,"text-shadow-x":hA,"text-shadow-y":hA,"text-shadow-blur":hA};function TU(I){var A=/(-[a-z])/g,g=function(Q){return Q[1].toUpperCase()},B={};for(var C in I)B[C]=I[C],B[C.replace(A,g)]=I[C];return B}var dx=TU(lx);function Ne(I,A,g){if(A==null)return A;if(Array.isArray(A))for(var B=0;B<A.length;B++)A[B]=Ne(I,A[B],g);else if(typeof A=="object")if(I==="fallbacks")for(var C in A)A[C]=Ne(C,A[C],g);else for(var Q in A)A[Q]=Ne(I+"-"+Q,A[Q],g);else if(typeof A=="number"&&isNaN(A)===!1){var E=g[I]||dx[I];return E&&!(A===0&&E===hA)?typeof E=="function"?E(A).toString():""+A+E:A.toString()}return A}function wx(I){I===void 0&&(I={});var A=TU(I);function g(C,Q){if(Q.type!=="style")return C;for(var E in C)C[E]=Ne(E,C[E],A);return C}function B(C,Q){return Ne(Q,C,A)}return{onProcessStyle:g,onChangeValue:B}}function tl(I,A){(A==null||A>I.length)&&(A=I.length);for(var g=0,B=Array(A);g<A;g++)B[g]=I[g];return B}function ux(I){if(Array.isArray(I))return tl(I)}function WU(I){if(typeof Symbol<"u"&&I[Symbol.iterator]!=null||I["@@iterator"]!=null)return Array.from(I)}function gu(I,A){if(I){if(typeof I=="string")return tl(I,A);var g={}.toString.call(I).slice(8,-1);return g==="Object"&&I.constructor&&(g=I.constructor.name),g==="Map"||g==="Set"?Array.from(I):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?tl(I,A):void 0}}function Fx(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oc(I){return ux(I)||WU(I)||gu(I)||Fx()}var ie="",ol="",PU="",OU="",Sx=Wa&&"ontouchstart"in document.documentElement;if(Wa){var k0={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Gx=document.createElement("p"),L0=Gx.style,Rx="Transform";for(var U0 in k0)if(U0+Rx in L0){ie=U0,ol=k0[U0];break}ie==="Webkit"&&"msHyphens"in L0&&(ie="ms",ol=k0.ms,OU="edge"),ie==="Webkit"&&"-apple-trailing-word"in L0&&(PU="apple")}var jA={js:ie,css:ol,vendor:PU,browser:OU,isTouch:Sx};function Nx(I){return I[1]==="-"||jA.js==="ms"?I:"@"+jA.css+"keyframes"+I.substr(10)}var fx={noPrefill:["appearance"],supportedProperty:function(I){return I!=="appearance"?!1:jA.js==="ms"?"-webkit-"+I:jA.css+I}},px={noPrefill:["color-adjust"],supportedProperty:function(I){return I!=="color-adjust"?!1:jA.js==="Webkit"?jA.css+"print-"+I:I}},kx=/[-\s]+(.)?/g;function Lx(I,A){return A?A.toUpperCase():""}function Bu(I){return I.replace(kx,Lx)}function fE(I){return Bu("-"+I)}var Ux={noPrefill:["mask"],supportedProperty:function(I,A){if(!/^mask/.test(I))return!1;if(jA.js==="Webkit"){var g="mask-image";if(Bu(g)in A)return I;if(jA.js+fE(g)in A)return jA.css+I}return I}},mx={noPrefill:["text-orientation"],supportedProperty:function(I){return I!=="text-orientation"?!1:jA.vendor==="apple"&&!jA.isTouch?jA.css+I:I}},Mx={noPrefill:["transform"],supportedProperty:function(I,A,g){return I!=="transform"?!1:g.transform?I:jA.css+I}},Jx={noPrefill:["transition"],supportedProperty:function(I,A,g){return I!=="transition"?!1:g.transition?I:jA.css+I}},Yx={noPrefill:["writing-mode"],supportedProperty:function(I){return I!=="writing-mode"?!1:jA.js==="Webkit"||jA.js==="ms"&&jA.browser!=="edge"?jA.css+I:I}},Kx={noPrefill:["user-select"],supportedProperty:function(I){return I!=="user-select"?!1:jA.js==="Moz"||jA.js==="ms"||jA.vendor==="apple"?jA.css+I:I}},Hx={supportedProperty:function(I,A){if(!/^break-/.test(I))return!1;if(jA.js==="Webkit"){var g="WebkitColumn"+fE(I);return g in A?jA.css+"column-"+I:!1}if(jA.js==="Moz"){var B="page"+fE(I);return B in A?"page-"+I:!1}return!1}},qx={supportedProperty:function(I,A){if(!/^(border|margin|padding)-inline/.test(I))return!1;if(jA.js==="Moz")return I;var g=I.replace("-inline","");return jA.js+fE(g)in A?jA.css+g:!1}},xx={supportedProperty:function(I,A){return Bu(I)in A?I:!1}},vx={supportedProperty:function(I,A){var g=fE(I);return I[0]==="-"||I[0]==="-"&&I[1]==="-"?I:jA.js+g in A?jA.css+I:jA.js!=="Webkit"&&"Webkit"+g in A?"-webkit-"+I:!1}},bx={supportedProperty:function(I){return I.substring(0,11)!=="scroll-snap"?!1:jA.js==="ms"?""+jA.css+I:I}},Tx={supportedProperty:function(I){return I!=="overscroll-behavior"?!1:jA.js==="ms"?jA.css+"scroll-chaining":I}},Wx={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Px={supportedProperty:function(I,A){var g=Wx[I];return g&&jA.js+fE(g)in A?jA.css+g:!1}},_U={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Ox=Object.keys(_U),_x=function(I){return jA.css+I},Vx={supportedProperty:function(I,A,g){var B=g.multiple;if(Ox.indexOf(I)>-1){var C=_U[I];if(!Array.isArray(C))return jA.js+fE(C)in A?jA.css+C:!1;if(!B)return!1;for(var Q=0;Q<C.length;Q++)if(!(jA.js+fE(C[0])in A))return!1;return C.map(_x)}return!1}},VU=[fx,px,Ux,mx,Mx,Jx,Yx,Kx,Hx,qx,xx,vx,bx,Tx,Px,Vx],QG=VU.filter(function(I){return I.supportedProperty}).map(function(I){return I.supportedProperty}),Zx=VU.filter(function(I){return I.noPrefill}).reduce(function(I,A){return I.push.apply(I,oc(A.noPrefill)),I},[]),te,Bi={};if(Wa){te=document.createElement("p");var m0=window.getComputedStyle(document.documentElement,"");for(var M0 in m0)isNaN(M0)||(Bi[m0[M0]]=m0[M0]);Zx.forEach(function(I){return delete Bi[I]})}function el(I,A){if(A===void 0&&(A={}),!te)return I;if(Bi[I]!=null)return Bi[I];(I==="transition"||I==="transform")&&(A[I]=I in te.style);for(var g=0;g<QG.length&&(Bi[I]=QG[g](I,te.style,A),!Bi[I]);g++);try{te.style[I]=""}catch{return!1}return Bi[I]}var gt={},jx={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},zx=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,XQ;function Xx(I,A,g){if(A==="var")return"var";if(A==="all")return"all";if(g==="all")return", all";var B=A?el(A):", "+el(g);return B||A||g}Wa&&(XQ=document.createElement("p"));function EG(I,A){var g=A;if(!XQ||I==="content")return A;if(typeof g!="string"||!isNaN(parseInt(g,10)))return g;var B=I+g;if(gt[B]!=null)return gt[B];try{XQ.style[I]=g}catch{return gt[B]=!1,!1}if(jx[I])g=g.replace(zx,Xx);else if(XQ.style[I]===""&&(g=jA.css+g,g==="-ms-flex"&&(XQ.style[I]="-ms-flexbox"),XQ.style[I]=g,XQ.style[I]===""))return gt[B]=!1,!1;return XQ.style[I]="",gt[B]=g,gt[B]}function $x(){function I(C){if(C.type==="keyframes"){var Q=C;Q.at=Nx(Q.at)}}function A(C){for(var Q in C){var E=C[Q];if(Q==="fallbacks"&&Array.isArray(E)){C[Q]=E.map(A);continue}var i=!1,t=el(Q);t&&t!==Q&&(i=!0);var o=!1,e=EG(t,hi(E));e&&e!==E&&(o=!0),(i||o)&&(i&&delete C[Q],C[t||Q]=e||E)}return C}function g(C,Q){return Q.type!=="style"?C:A(C)}function B(C,Q){return EG(Q,hi(C))||C}return{onProcessRule:I,onProcessStyle:g,onChangeValue:B}}function Av(){var I=function(A,g){return A.length===g.length?A>g?1:-1:A.length-g.length};return{onProcessStyle:function(A,g){if(g.type!=="style")return A;for(var B={},C=Object.keys(A).sort(I),Q=0;Q<C.length;Q++)B[C[Q]]=A[C[Q]];return B}}}function Iv(){return{plugins:[Qx(),ax(),rx(),yx(),wx(),typeof window>"u"?null:$x(),Av()]}}function dI(I,A){if(I==null)return{};var g,B,C=ic(I,A);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(I);for(B=0;B<Q.length;B++)g=Q[B],A.includes(g)||{}.propertyIsEnumerable.call(I,g)&&(C[g]=I[g])}return C}function ZU(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=I.baseClasses,g=I.newClasses;if(I.Component,!g)return A;var B=wA({},A);return Object.keys(g).forEach(function(C){g[C]&&(B[C]="".concat(A[C]," ").concat(g[C]))}),B}var Nt={set:function(I,A,g,B){var C=I.get(A);C||(C=new Map,I.set(A,C)),C.set(g,B)},get:function(I,A,g){var B=I.get(A);return B?B.get(g):void 0},delete:function(I,A,g){var B=I.get(A);B.delete(g)}},jU=mI.createContext(null);function Pa(){var I=mI.useContext(jU);return I}var gv=HU(Iv()),Bv=l1(),Cv=new Map,Qv={disableGeneration:!1,generateClassName:Bv,jss:gv,sheetsCache:null,sheetsManager:Cv,sheetsRegistry:null},Ev=mI.createContext(Qv),iG=-1e9;function iv(){return iG+=1,iG}var tv={};function ov(I){var A=typeof I=="function";return{cr