@galaxyproject/vizarr
Version:
A visualization for Zarr-based images based on Vizarr.
30 lines • 3.09 MB
JavaScript
import{JpxImage as qq}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 xq="modulepreload",vq=function(I){return"/"+I},xS={},sB=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=vq(t),t in xS)return;xS[t]=!0;const e=t.endsWith(".css"),o=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${o}`))return;const a=document.createElement("link");if(a.rel=e?"stylesheet":xq,e||(a.as="script"),a.crossOrigin="",a.href=t,i&&a.setAttribute("nonce",i),document.head.appendChild(a),e)return new Promise((s,r)=>{a.addEventListener("load",s),a.addEventListener("error",()=>r(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 bq=Object.defineProperty,rL=I=>{throw TypeError(I)},Tq=(I,A,g)=>A in I?bq(I,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):I[A]=g,sI=(I,A,g)=>Tq(I,typeof A!="symbol"?A+"":A,g),_w=(I,A,g)=>A.has(I)||rL("Cannot "+g),SA=(I,A,g)=>(_w(I,A,"read from private field"),g?g.call(I):A.get(I)),NI=(I,A,g)=>A.has(I)?rL("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),UI=(I,A,g)=>(_w(I,A,"access private method"),g),nL=(I,A,g,B)=>({set _(C){EI(I,A,C)},get _(){return SA(I,A,B)}});function Wq(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 we(I){return I&&I.__esModule&&Object.prototype.hasOwnProperty.call(I,"default")?I.default:I}var hL={exports:{}},Cc={},cL={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 xa=Symbol.for("react.element"),Pq=Symbol.for("react.portal"),Oq=Symbol.for("react.fragment"),_q=Symbol.for("react.strict_mode"),Vq=Symbol.for("react.profiler"),Zq=Symbol.for("react.provider"),jq=Symbol.for("react.context"),zq=Symbol.for("react.forward_ref"),Xq=Symbol.for("react.suspense"),$q=Symbol.for("react.memo"),Ax=Symbol.for("react.lazy"),vS=Symbol.iterator;function Ix(I){return I===null||typeof I!="object"?null:(I=vS&&I[vS]||I["@@iterator"],typeof I=="function"?I:null)}var DL={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lL=Object.assign,yL={};function ue(I,A,g){this.props=I,this.context=A,this.refs=yL,this.updater=g||DL}ue.prototype.isReactComponent={};ue.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")};ue.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function dL(){}dL.prototype=ue.prototype;function Vw(I,A,g){this.props=I,this.context=A,this.refs=yL,this.updater=g||DL}var Zw=Vw.prototype=new dL;Zw.constructor=Vw;lL(Zw,ue.prototype);Zw.isPureReactComponent=!0;var bS=Array.isArray,wL=Object.prototype.hasOwnProperty,jw={current:null},uL={key:!0,ref:!0,__self:!0,__source:!0};function FL(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)wL.call(A,B)&&!uL.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),e=0;e<i;e++)t[e]=arguments[e+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:xa,type:I,key:Q,ref:E,props:C,_owner:jw.current}}function gx(I,A){return{$$typeof:xa,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===xa}function Bx(I){var A={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(g){return A[g]})}var TS=/\/+/g;function GD(I,A){return typeof I=="object"&&I!==null&&I.key!=null?Bx(""+I.key):A.toString(36)}function Pr(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 xa:case Pq:E=!0}}if(E)return E=I,C=C(E),I=B===""?"."+GD(E,0):B,bS(C)?(g="",I!=null&&(g=I.replace(TS,"$&/")+"/"),Pr(C,A,g,"",function(e){return e})):C!=null&&(zw(C)&&(C=gx(C,g+(!C.key||E&&E.key===C.key?"":(""+C.key).replace(TS,"$&/")+"/")+I)),A.push(C)),1;if(E=0,B=B===""?".":B+":",bS(I))for(var i=0;i<I.length;i++){Q=I[i];var t=B+GD(Q,i);E+=Pr(Q,A,g,t,C)}else if(t=Ix(I),typeof t=="function")for(I=t.call(I),i=0;!(Q=I.next()).done;)Q=Q.value,t=B+GD(Q,i++),E+=Pr(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 us(I,A,g){if(I==null)return I;var B=[],C=0;return Pr(I,B,"","",function(Q){return A.call(g,Q,C++)}),B}function Cx(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 iB={current:null},Or={transition:null},Qx={ReactCurrentDispatcher:iB,ReactCurrentBatchConfig:Or,ReactCurrentOwner:jw};function SL(){throw Error("act(...) is not supported in production builds of React.")}iI.Children={map:us,forEach:function(I,A,g){us(I,function(){A.apply(this,arguments)},g)},count:function(I){var A=0;return us(I,function(){A++}),A},toArray:function(I){return us(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=ue;iI.Fragment=Oq;iI.Profiler=Vq;iI.PureComponent=Vw;iI.StrictMode=_q;iI.Suspense=Xq;iI.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qx;iI.act=SL;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=lL({},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)wL.call(A,t)&&!uL.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 e=0;e<t;e++)i[e]=arguments[e+2];B.children=i}return{$$typeof:xa,type:I.type,key:C,ref:Q,props:B,_owner:E}};iI.createContext=function(I){return I={$$typeof:jq,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:Zq,_context:I},I.Consumer=I};iI.createElement=FL;iI.createFactory=function(I){var A=FL.bind(null,I);return A.type=I,A};iI.createRef=function(){return{current:null}};iI.forwardRef=function(I){return{$$typeof:zq,render:I}};iI.isValidElement=zw;iI.lazy=function(I){return{$$typeof:Ax,_payload:{_status:-1,_result:I},_init:Cx}};iI.memo=function(I,A){return{$$typeof:$q,type:I,compare:A===void 0?null:A}};iI.startTransition=function(I){var A=Or.transition;Or.transition={};try{I()}finally{Or.transition=A}};iI.unstable_act=SL;iI.useCallback=function(I,A){return iB.current.useCallback(I,A)};iI.useContext=function(I){return iB.current.useContext(I)};iI.useDebugValue=function(){};iI.useDeferredValue=function(I){return iB.current.useDeferredValue(I)};iI.useEffect=function(I,A){return iB.current.useEffect(I,A)};iI.useId=function(){return iB.current.useId()};iI.useImperativeHandle=function(I,A,g){return iB.current.useImperativeHandle(I,A,g)};iI.useInsertionEffect=function(I,A){return iB.current.useInsertionEffect(I,A)};iI.useLayoutEffect=function(I,A){return iB.current.useLayoutEffect(I,A)};iI.useMemo=function(I,A){return iB.current.useMemo(I,A)};iI.useReducer=function(I,A,g){return iB.current.useReducer(I,A,g)};iI.useRef=function(I){return iB.current.useRef(I)};iI.useState=function(I){return iB.current.useState(I)};iI.useSyncExternalStore=function(I,A,g){return iB.current.useSyncExternalStore(I,A,g)};iI.useTransition=function(){return iB.current.useTransition()};iI.version="18.3.1";cL.exports=iI;var x=cL.exports;const mI=we(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 Ex=x,ix=Symbol.for("react.element"),tx=Symbol.for("react.fragment"),ex=Object.prototype.hasOwnProperty,ox=Ex.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ax={key:!0,ref:!0,__self:!0,__source:!0};function GL(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)ex.call(A,B)&&!ax.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:ix,type:I,key:Q,ref:E,props:C,_owner:ox.current}}Cc.Fragment=tx;Cc.jsx=GL;Cc.jsxs=GL;hL.exports=Cc;var aA=hL.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 ge(I){"@babel/helpers - typeof";return ge=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},ge(I)}function RD(I){return I&&ge(I)==="object"&&I.constructor===Object}function Be(I,A){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0},B=g.clone?wA({},I):I;return RD(I)&&RD(A)&&Object.keys(A).forEach(function(C){C!=="__proto__"&&(RD(A[C])&&C in I?B[C]=Be(I[C],A[C],g):B[C]=A[C])}),B}function sx(I,A){if(ge(I)!="object"||!I)return I;var g=I[Symbol.toPrimitive];if(g!==void 0){var B=g.call(I,A);if(ge(B)!="object")return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return(A==="string"?String:Number)(I)}function RL(I){var A=sx(I,"string");return ge(A)=="symbol"?A:A+""}function R(I,A,g){return(A=RL(A))in I?Object.defineProperty(I,A,{value:g,enumerable:!0,configurable:!0,writable:!0}):I[A]=g,I}function Zo(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 Ng=Symbol.for;Ng("react.element"),Ng("react.portal"),Ng("react.fragment"),Ng("react.strict_mode"),Ng("react.profiler"),Ng("react.provider"),Ng("react.context"),Ng("react.forward_ref"),Ng("react.suspense"),Ng("react.suspense_list"),Ng("react.memo"),Ng("react.lazy"),Ng("react.block"),Ng("react.server.block"),Ng("react.fundamental"),Ng("react.debug_trace_mode"),Ng("react.legacy_hidden")}var rx=typeof Symbol=="function"&&Symbol.for;const fL=rx?Symbol.for("mui.nested"):"__THEME_NESTED__";var nx=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function hx(){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,e=function(){return t+=1,t};return function(o,a){var s=a.options.name;if(s&&s.indexOf("Mui")===0&&!a.options.link&&!g){if(nx.indexOf(o.key)!==-1)return"Mui-".concat(o.key);var r="".concat(i).concat(s,"-").concat(o.key);return!a.options.theme[fL]||E!==""?r:"".concat(r,"-").concat(e())}return"".concat(i).concat(C).concat(e())}}function NL(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 WS=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},va=(typeof window>"u"?"undefined":WS(window))==="object"&&(typeof document>"u"?"undefined":WS(document))==="object"&&document.nodeType===9;function cx(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,RL(B.key),B)}}function Xw(I,A,g){return A&&cx(I.prototype,A),Object.defineProperty(I,"prototype",{writable:!1}),I}function Ay(I,A){return Ay=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,B){return g.__proto__=B,g},Ay(I,A)}function Qc(I,A){I.prototype=Object.create(A.prototype),I.prototype.constructor=I,Ay(I,A)}function Iy(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function Ec(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 Dx={}.constructor;function gy(I){if(I==null||typeof I!="object")return I;if(Array.isArray(I))return I.map(gy);if(I.constructor!==Dx)return I;var A={};for(var g in I)A[g]=gy(I[g]);return A}function $w(I,A,g){I===void 0&&(I="unnamed");var B=g.jss,C=gy(A),Q=B.plugins.onCreateRule(I,C,g);return Q||(I[0],null)}var PS=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+=PS(I[g]," ");else A=PS(I,", ");return I[I.length-1]==="!important"&&(A+=" !important"),A};function Fe(I){return I&&I.format===!1?{linebreak:"",space:""}:{linebreak:`
`,space:" "}}function Ye(I,A){for(var g="",B=0;B<A;B++)g+=" ";return g+I}function jo(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=Fe(g),e=t.linebreak,o=t.space;if(I&&E++,i)if(Array.isArray(i))for(var a=0;a<i.length;a++){var s=i[a];for(var r in s){var n=s[r];n!=null&&(B&&(B+=e),B+=Ye(r+":"+o+hi(n)+";",E))}}else for(var h in i){var l=i[h];l!=null&&(B&&(B+=e),B+=Ye(h+":"+o+hi(l)+";",E))}for(var D in A){var y=A[D];y!=null&&D!=="fallbacks"&&(B&&(B+=e),B+=Ye(D+":"+o+hi(y)+";",E))}return!B&&!g.allowEmpty||!I?B:(E--,B&&(B=""+e+B+e),Ye(""+I+o+"{"+B,E)+Ye("}",E))}var lx=/([[\].#*$><+~=|^:(),"'`\s])/g,OS=typeof CSS<"u"&&CSS.escape,Au=function(I){return OS?OS(I):I.replace(lx,"\\$1")},pL=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 e=i&&t;if(e?delete this.style[g]:this.style[g]=E,this.renderable&&this.renderer)return e?this.renderer.removeProperty(this.renderable,g):this.renderer.setProperty(this.renderable,g,E),this;var o=this.options.sheet;return o&&o.attached,this},I}(),By=function(I){Qc(A,I);function A(B,C,Q){var E;E=I.call(this,B,C,Q)||this;var i=Q.selector,t=Q.scoped,e=Q.sheet,o=Q.generateId;return i?E.selectorText=i:t!==!1&&(E.id=o(Iy(Iy(E)),e),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 jo(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}(pL),yx={onCreateRule:function(I,A,g){return I[0]==="@"||g.parent&&g.parent.type==="keyframes"?null:new By(I,A,g)}},fD={indent:1,children:!0},dx=/@([\w-]+)/,wx=function(){function I(g,B,C){this.type="conditional",this.isProcessed=!1,this.key=g;var Q=g.match(dx);this.at=Q?Q[1]:"unknown",this.query=C.name||"@"+this.at,this.options=C,this.rules=new ic(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=fD);var B=Fe(g),C=B.linebreak;if(g.indent==null&&(g.indent=fD.indent),g.children==null&&(g.children=fD.children),g.children===!1)return this.query+" {}";var Q=this.rules.toString(g);return Q?this.query+" {"+C+Q+C+"}":""},I}(),ux=/@container|@media|@supports\s+/,Fx={onCreateRule:function(I,A,g){return ux.test(I)?new wx(I,A,g):null}},ND={indent:1,children:!0},Sx=/@keyframes\s+([\w-]+)/,Cy=function(){function I(g,B,C){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var Q=g.match(Sx);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 ic(wA({},C,{parent:this}));for(var e in B)this.rules.add(e,B[e],wA({},C,{parent:this}));this.rules.process()}var A=I.prototype;return A.toString=function(g){g===void 0&&(g=ND);var B=Fe(g),C=B.linebreak;if(g.indent==null&&(g.indent=ND.indent),g.children==null&&(g.children=ND.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}(),Gx=/@keyframes\s+/,Rx=/\$([\w-]+)/g,Qy=function(I,A){return typeof I=="string"?I.replace(Rx,function(g,B){return B in A?A[B]:g}):I},_S=function(I,A,g){var B=I[A],C=Qy(B,g);C!==B&&(I[A]=C)},fx={onCreateRule:function(I,A,g){return typeof I=="string"&&Gx.test(I)?new Cy(I,A,g):null},onProcessStyle:function(I,A,g){return A.type!=="style"||!g||("animation-name"in I&&_S(I,"animation-name",g.keyframes),"animation"in I&&_S(I,"animation",g.keyframes)),I},onChangeValue:function(I,A,g){var B=g.options.sheet;if(!B)return I;switch(A){case"animation":return Qy(I,B.keyframes);case"animation-name":return Qy(I,B.keyframes);default:return I}}},Nx=function(I){Qc(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 jo(this.key,this.style,E)},A}(pL),px={onCreateRule:function(I,A,g){return g.parent&&g.parent.type==="keyframes"?new Nx(I,A,g):null}},kx=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=Fe(g),C=B.linebreak;if(Array.isArray(this.style)){for(var Q="",E=0;E<this.style.length;E++)Q+=jo(this.at,this.style[E]),this.style[E+1]&&(Q+=C);return Q}return jo(this.at,this.style,g)},I}(),Ux=/@font-face/,Lx={onCreateRule:function(I,A,g){return Ux.test(I)?new kx(I,A,g):null}},mx=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 jo(this.key,this.style,g)},I}(),Mx={onCreateRule:function(I,A,g){return I==="@viewport"||I==="@-ms-viewport"?new mx(I,A,g):null}},Jx=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}(),Yx={"@charset":!0,"@import":!0,"@namespace":!0},Kx={onCreateRule:function(I,A,g){return I in Yx?new Jx(I,A,g):null}},VS=[yx,Fx,fx,px,Lx,Mx,Kx],Hx={process:!0},ZS={force:!0,process:!0},ic=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,e=Q.Renderer,o=Q.generateId,a=Q.scoped,s=wA({classes:this.classes,parent:E,sheet:i,jss:t,Renderer:e,generateId:o,scoped:a,name:g,keyframes:this.keyframes,selector:void 0},C),r=g;g in this.raw&&(r=g+"-d"+this.counter++),this.raw[r]=B,r in this.classes&&(s.selector="."+Au(this.classes[r]));var n=$w(r,B,s);if(!n)return null;this.register(n);var h=s.index===void 0?this.index.length:s.index;return this.index.splice(h,0,n),n},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 By?(this.map[g.selector]=g,g.id&&(this.classes[g.key]=g.id)):g instanceof Cy&&this.keyframes&&(this.keyframes[g.name]=g.id)},A.unregister=function(g){delete this.map[g.key],g instanceof By?(delete this.map[g.selector],delete this.classes[g.key]):g instanceof Cy&&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=Hx);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 e in g.style){var o=g.style[e],a=t[e];o!==a&&g.prop(e,o,ZS)}for(var s in t){var r=g.style[s],n=t[s];r==null&&r!==n&&g.prop(s,null,ZS)}}},A.toString=function(g){for(var B="",C=this.options.sheet,Q=C?C.options.link:!1,E=Fe(g),i=E.linebreak,t=0;t<this.index.length;t++){var e=this.index[t],o=e.toString(g);!o&&!Q||(B&&(B+=i),B+=o)}return B},I}(),kL=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 ic(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}(),qx=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}(),xx=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=Ec(B,["attached"]),E=Fe(Q),i=E.linebreak,t="",e=0;e<this.registry.length;e++){var o=this.registry[e];C!=null&&o.attached!==C||(t&&(t+=i),t+=o.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}(),So=new xx,Ey=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),iy="2f1acc6c3a606b082e5eef5e54414ffb";Ey[iy]==null&&(Ey[iy]=0);var jS=Ey[iy]++,zS=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")+jS+Q+A:E+B.key+"-"+jS+(Q?"-"+Q:"")+"-"+A};return g},UL=function(I){var A;return function(){return A||(A=I()),A}},vx=function(I,A){try{return I.attributeStyleMap?I.attributeStyleMap.get(A):I.style.getPropertyValue(A)}catch{return""}},bx=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},Tx=function(I,A){try{I.attributeStyleMap?I.attributeStyleMap.delete(A):I.style.removeProperty(A)}catch{}},Wx=function(I,A){return I.selectorText=A,I.selectorText===A},LL=UL(function(){return document.querySelector("head")});function Px(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 Ox(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 _x(I){for(var A=LL(),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 Vx(I){var A=So.registry;if(A.length>0){var g=Px(A,I);if(g&&g.renderer)return{parent:g.renderer.element.parentNode,node:g.renderer.element};if(g=Ox(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=_x(B);if(C)return{parent:C.parentNode,node:C.nextSibling}}return!1}function Zx(I,A){var g=A.insertionPoint,B=Vx(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}LL().appendChild(I)}var jx=UL(function(){var I=document.querySelector('meta[property="csp-nonce"]');return I?I.getAttribute("content"):null}),XS=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]},$S=function(I,A){var g=I.cssRules.length;return A===void 0||A>g?g:A},zx=function(){var I=document.createElement("style");return I.textContent=`
`,I},Xx=function(){function I(g){this.getPropertyValue=vx,this.setProperty=bx,this.removeProperty=Tx,this.setSelector=Wx,this.hasInsertedRules=!1,this.cssRules=[],g&&So.add(g),this.sheet=g;var B=this.sheet?this.sheet.options:{},C=B.media,Q=B.meta,E=B.element;this.element=E||zx(),this.element.setAttribute("data-jss",""),C&&this.element.setAttribute("media",C),Q&&this.element.setAttribute("data-meta",Q);var i=jx();i&&this.element.setAttribute("nonce",i)}var A=I.prototype;return A.attach=function(){if(!(this.element.parentNode||!this.sheet)){Zx(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=$S(C,B);if(E=XS(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 e=$S(C,B),o=XS(C,t,e);return o===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(g,e,o),o)},A.refCssRule=function(g,B,C){g.renderable=C,g.options.parent instanceof kL&&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}(),$x=0,Av=function(){function I(g){this.id=$x++,this.version="10.10.0",this.plugins=new qx,this.options={id:{minify:!1},createGenerateId:zS,Renderer:va?Xx:null,plugins:[]},this.generateId=zS({minify:!1});for(var B=0;B<VS.length;B++)this.plugins.use(VS[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=So.index===0?0:So.index+1);var E=new kL(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(),So.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}(),mL=function(I){return new Av(I)},Iu=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function ML(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=ML(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
*/mL();var JL=Date.now(),pD="fnValues"+JL,kD="fnStyle"+ ++JL,Iv=function(){return{onCreateRule:function(I,A,g){if(typeof A!="function")return null;var B=$w(I,{},g);return B[kD]=A,B},onProcessStyle:function(I,A){if(pD in A||kD 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[pD]=g,I},onUpdate:function(I,A,g,B){var C=A,Q=C[kD];Q&&(C.style=Q(I)||{});var E=C[pD];if(E)for(var i in E)C.prop(i,E[i](I),B)}}},rE="@global",ty="@global ",gv=function(){function I(g,B,C){this.type="global",this.at=rE,this.isProcessed=!1,this.key=g,this.options=C,this.rules=new ic(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}(),Bv=function(){function I(g,B,C){this.type="global",this.at=rE,this.isProcessed=!1,this.key=g,this.options=C;var Q=g.substr(ty.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}(),Cv=/\s*,\s*/g;function YL(I,A){for(var g=I.split(Cv),B="",C=0;C<g.length;C++)B+=A+" "+g[C].trim(),g[C+1]&&(B+=", ");return B}function Qv(I,A){var g=I.options,B=I.style,C=B?B[rE]:null;if(C){for(var Q in C)A.addRule(Q,C[Q],wA({},g,{selector:YL(Q,I.selector)}));delete B[rE]}}function Ev(I,A){var g=I.options,B=I.style;for(var C in B)if(!(C[0]!=="@"||C.substr(0,rE.length)!==rE)){var Q=YL(C.substr(rE.length),I.selector);A.addRule(Q,B[C],wA({},g,{selector:Q})),delete B[C]}}function iv(){function I(g,B,C){if(!g)return null;if(g===rE)return new gv(g,B,C);if(g[0]==="@"&&g.substr(0,ty.length)===ty)return new Bv(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||(Qv(g,B),Ev(g,B))}return{onCreateRule:I,onProcessRule:A}}var AG=/\s*,\s*/g,tv=/&/g,ev=/\$([\w-]+)/g;function ov(){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(AG),i=C.split(AG),t="",e=0;e<E.length;e++)for(var o=E[e],a=0;a<i.length;a++){var s=i[a];t&&(t+=", "),t+=s.indexOf("&")!==-1?s.replace(tv,o):o+" "+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,e,o;for(var a in C){var s=a.indexOf("&")!==-1,r=a[0]==="@";if(!(!s&&!r)){if(e=g(i,t,e),s){var n=A(a,i.selector);o||(o=I(t,E)),n=n.replace(ev,o);var h=i.key+"-"+a;"replaceRule"in t?t.replaceRule(h,C[a],wA({},e,{selector:n})):t.addRule(h,C[a],wA({},e,{selector:n}))}else r&&t.addRule(a,{},e).addRule(i.key,C[a],{selector:i.selector});delete C[a]}}return C}return{onProcessStyle:B}}var av=/[A-Z]/g,sv=/^ms-/,UD={};function rv(I){return"-"+I.toLowerCase()}function KL(I){if(UD.hasOwnProperty(I))return UD[I];var A=I.replace(av,rv);return UD[I]=sv.test(A)?"-"+A:A}function On(I){var A={};for(var g in I){var B=g.indexOf("--")===0?g:KL(g);A[B]=I[g]}return I.fallbacks&&(Array.isArray(I.fallbacks)?A.fallbacks=I.fallbacks.map(On):A.fallbacks=On(I.fallbacks)),A}function nv(){function I(g){if(Array.isArray(g)){for(var B=0;B<g.length;B++)g[B]=On(g[B]);return g}return On(g)}function A(g,B,C){if(B.indexOf("--")===0)return g;var Q=KL(B);return B===Q?g:(C.prop(Q,g),null)}return{onProcessStyle:I,onChangeValue:A}}var hA=Iu&&CSS?CSS.px:"px",Fs=Iu&&CSS?CSS.ms:"ms",At=Iu&&CSS?CSS.percent:"%",hv={"animation-delay":Fs,"animation-duration":Fs,"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":At,"perspective-origin-y":At,"transform-origin":At,"transform-origin-x":At,"transform-origin-y":At,"transform-origin-z":At,"transition-delay":Fs,"transition-duration":Fs,"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 HL(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 cv=HL(hv);function Go(I,A,g){if(A==null)return A;if(Array.isArray(A))for(var B=0;B<A.length;B++)A[B]=Go(I,A[B],g);else if(typeof A=="object")if(I==="fallbacks")for(var C in A)A[C]=Go(C,A[C],g);else for(var Q in A)A[Q]=Go(I+"-"+Q,A[Q],g);else if(typeof A=="number"&&isNaN(A)===!1){var E=g[I]||cv[I];return E&&!(A===0&&E===hA)?typeof E=="function"?E(A).toString():""+A+E:A.toString()}return A}function Dv(I){I===void 0&&(I={});var A=HL(I);function g(C,Q){if(Q.type!=="style")return C;for(var E in C)C[E]=Go(E,C[E],A);return C}function B(C,Q){return Go(Q,C,A)}return{onProcessStyle:g,onChangeValue:B}}function ey(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 lv(I){if(Array.isArray(I))return ey(I)}function qL(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 ey(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)?ey(I,A):void 0}}function yv(){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 tc(I){return lv(I)||qL(I)||gu(I)||yv()}var Co="",oy="",xL="",vL="",dv=va&&"ontouchstart"in document.documentElement;if(va){var LD={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},wv=document.createElement("p"),mD=wv.style,uv="Transform";for(var MD in LD)if(MD+uv in mD){Co=MD,oy=LD[MD];break}Co==="Webkit"&&"msHyphens"in mD&&(Co="ms",oy=LD.ms,vL="edge"),Co==="Webkit"&&"-apple-trailing-word"in mD&&(xL="apple")}var jA={js:Co,css:oy,vendor:xL,browser:vL,isTouch:dv};function Fv(I){return I[1]==="-"||jA.js==="ms"?I:"@"+jA.css+"keyframes"+I.substr(10)}var Sv={noPrefill:["appearance"],supportedProperty:function(I){return I!=="appearance"?!1:jA.js==="ms"?"-webkit-"+I:jA.css+I}},Gv={noPrefill:["color-adjust"],supportedProperty:function(I){return I!=="color-adjust"?!1:jA.js==="Webkit"?jA.css+"print-"+I:I}},Rv=/[-\s]+(.)?/g;function fv(I,A){return A?A.toUpperCase():""}function Bu(I){return I.replace(Rv,fv)}function NE(I){return Bu("-"+I)}var Nv={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+NE(g)in A)return jA.css+I}return I}},pv={noPrefill:["text-orientation"],supportedProperty:function(I){return I!=="text-orientation"?!1:jA.vendor==="apple"&&!jA.isTouch?jA.css+I:I}},kv={noPrefill:["transform"],supportedProperty:function(I,A,g){return I!=="transform"?!1:g.transform?I:jA.css+I}},Uv={noPrefill:["transition"],supportedProperty:function(I,A,g){return I!=="transition"?!1:g.transition?I:jA.css+I}},Lv={noPrefill:["writing-mode"],supportedProperty:function(I){return I!=="writing-mode"?!1:jA.js==="Webkit"||jA.js==="ms"&&jA.browser!=="edge"?jA.css+I:I}},mv={noPrefill:["user-select"],supportedProperty:function(I){return I!=="user-select"?!1:jA.js==="Moz"||jA.js==="ms"||jA.vendor==="apple"?jA.css+I:I}},Mv={supportedProperty:function(I,A){if(!/^break-/.test(I))return!1;if(jA.js==="Webkit"){var g="WebkitColumn"+NE(I);return g in A?jA.css+"column-"+I:!1}if(jA.js==="Moz"){var B="page"+NE(I);return B in A?"page-"+I:!1}return!1}},Jv={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+NE(g)in A?jA.css+g:!1}},Yv={supportedProperty:function(I,A){return Bu(I)in A?I:!1}},Kv={supportedProperty:function(I,A){var g=NE(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}},Hv={supportedProperty:function(I){return I.substring(0,11)!=="scroll-snap"?!1:jA.js==="ms"?""+jA.css+I:I}},qv={supportedProperty:function(I){return I!=="overscroll-behavior"?!1:jA.js==="ms"?jA.css+"scroll-chaining":I}},xv={"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"},vv={supportedProperty:function(I,A){var g=xv[I];return g&&jA.js+NE(g)in A?jA.css+g:!1}},bL={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"},bv=Object.keys(bL),Tv=function(I){return jA.css+I},Wv={supportedProperty:function(I,A,g){var B=g.multiple;if(bv.indexOf(I)>-1){var C=bL[I];if(!Array.isArray(C))return jA.js+NE(C)in A?jA.css+C:!1;if(!B)return!1;for(var Q=0;Q<C.length;Q++)if(!(jA.js+NE(C[0])in A))return!1;return C.map(Tv)}return!1}},TL=[Sv,Gv,Nv,pv,kv,Uv,Lv,mv,Mv,Jv,Yv,Kv,Hv,qv,vv,Wv],IG=TL.filter(function(I){return I.supportedProperty}).map(function(I){return I.supportedProperty}),Pv=TL.filter(function(I){return I.noPrefill}).reduce(function(I,A){return I.push.apply(I,tc(A.noPrefill)),I},[]),Qo,Bi={};if(va){Qo=document.createElement("p");var JD=window.getComputedStyle(document.documentElement,"");for(var YD in JD)isNaN(YD)||(Bi[JD[YD]]=JD[YD]);Pv.forEach(function(I){return delete Bi[I]})}function ay(I,A){if(A===void 0&&(A={}),!Qo)return I;if(Bi[I]!=null)return Bi[I];(I==="transition"||I==="transform")&&(A[I]=I in Qo.style);for(var g=0;g<IG.length&&(Bi[I]=IG[g](I,Qo.style,A),!Bi[I]);g++);try{Qo.style[I]=""}catch{return!1}return Bi[I]}var It={},Ov={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},_v=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,XQ;function Vv(I,A,g){if(A==="var")return"var";if(A==="all")return"all";if(g==="all")return", all";var B=A?ay(A):", "+ay(g);return B||A||g}va&&(XQ=document.createElement("p"));function gG(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(It[B]!=null)return It[B];try{XQ.style[I]=g}catch{return It[B]=!1,!1}if(Ov[I])g=g.replace(_v,Vv);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 It[B]=!1,!1;return XQ.style[I]="",It[B]=g,It[B]}function Zv(){function I(C){if(C.type==="keyframes"){var Q=C;Q.at=Fv(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=ay(Q);t&&t!==Q&&(i=!0);var e=!1,o=gG(t,hi(E));o&&o!==E&&(e=!0),(i||e)&&(i&&delete C[Q],C[t||Q]=o||E)}return C}function g(C,Q){return Q.type!=="style"?C:A(C)}function B(C,Q){return gG(Q,hi(C))||C}return{onProcessRule:I,onProcessStyle:g,onChangeValue:B}}function jv(){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 zv(){return{plugins:[Iv(),iv(),ov(),nv(),Dv(),typeof window>"u"?null:Zv(),jv()]}}function dI(I,A){if(I==null)return{};var g,B,C=Ec(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 WL(){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 Rt={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)}},PL=mI.createContext(null);function ba(){var I=mI.useContext(PL);return I}var Xv=mL(zv()),$v=hx(),Ab=new Map,Ib={disableGeneration:!1,generateClassName:$v,jss:Xv,sheetsCache:null,sheetsManager:Ab,sheetsRegistry:null},gb=mI.createContext(Ib),BG=-1e9;function Bb(){return BG+=1,BG}var Cb={};function Qb(I){var A=typeof I=="function";return{create:functi