UNPKG

matterbridge

Version:

Matterbridge plugin manager for Matter

1 lines • 33.6 kB
import{a as e,t}from"./rolldown-runtime.js";var n=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function ee(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function M(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,M(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),M(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=M(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=M(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return M(ee(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function N(e,t,n){if(e==null)return e;var r=[],i=0;return M(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function P(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var F=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},I={map:N,forEach:function(e,t,n){N(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return N(e,function(){t++}),t},toArray:function(e){return N(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=I,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:P}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,F)}catch(e){F(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.6`})),r=t(((e,t)=>{t.exports=n()}));function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(null,arguments)}var a=e(r()),o=!1;function s(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function c(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var l=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!o:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(c(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=s(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),u=`-ms-`,d=`-moz-`,f=`-webkit-`,p=`comm`,m=`rule`,h=`decl`,g=`@import`,_=`@keyframes`,v=`@layer`,y=Math.abs,b=String.fromCharCode,x=Object.assign;function S(e,t){return D(e,0)^45?(((t<<2^D(e,0))<<2^D(e,1))<<2^D(e,2))<<2^D(e,3):0}function C(e){return e.trim()}function w(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,n){return e.replace(t,n)}function E(e,t){return e.indexOf(t)}function D(e,t){return e.charCodeAt(t)|0}function O(e,t,n){return e.slice(t,n)}function k(e){return e.length}function A(e){return e.length}function j(e,t){return t.push(e),e}function ee(e,t){return e.map(t).join(``)}var M=1,N=1,P=0,F=0,I=0,L=``;function R(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:M,column:N,length:o,return:``}}function z(e,t){return x(R(``,null,null,``,null,null,0),e,{length:-e.length},t)}function te(){return I}function ne(){return I=F>0?D(L,--F):0,N--,I===10&&(N=1,M--),I}function B(){return I=F<P?D(L,F++):0,N++,I===10&&(N=1,M++),I}function V(){return D(L,F)}function H(){return F}function U(e,t){return O(L,e,t)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function re(e){return M=N=1,P=k(L=e),F=0,[]}function ie(e){return L=``,e}function G(e){return C(U(F-1,K(e===91?e+2:e===40?e+1:e)))}function ae(e){for(;(I=V())&&I<33;)B();return W(e)>2||W(I)>3?``:` `}function oe(e,t){for(;--t&&B()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return U(e,H()+(t<6&&V()==32&&B()==32))}function K(e){for(;B();)switch(I){case e:return F;case 34:case 39:e!==34&&e!==39&&K(I);break;case 40:e===41&&K(e);break;case 92:B();break}return F}function se(e,t){for(;B()&&e+I!==57&&!(e+I===84&&V()===47););return`/*`+U(t,F-1)+`*`+b(e===47?e:B())}function ce(e){for(;!W(V());)B();return U(e,F)}function le(e){return ie(q(``,null,null,null,[``],e=re(e),0,[0],e))}function q(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,x=i,S=a,C=r,w=y;g;)switch(m=v,v=B()){case 40:if(m!=108&&D(w,d-1)==58){E(w+=T(G(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:w+=G(v);break;case 9:case 10:case 13:case 32:w+=ae(m);break;case 92:w+=oe(H()-1,7);continue;case 47:switch(V()){case 42:case 47:j(de(se(B(),H()),t,n),c);break;default:w+=`/`}break;case 123*h:s[l++]=k(w)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(w=T(w,/\f/g,``)),p>0&&k(w)-d&&j(p>32?fe(w+`;`,r,n,d-1):fe(T(w,` `,``)+`;`,r,n,d-2),c);break;case 59:w+=`;`;default:if(j(C=ue(w,t,n,l,u,i,s,y,x=[],S=[],d),a),v===123)if(u===0)q(w,t,C,C,x,a,d,s,S);else switch(f===99&&D(w,3)===110?100:f){case 100:case 108:case 109:case 115:q(e,C,C,r&&j(ue(e,C,C,0,0,i,s,y,i,x=[],d),S),i,S,d,s,r?x:S);break;default:q(w,C,C,C,[``],S,0,s,S)}}l=u=p=0,h=_=1,y=w=``,d=o;break;case 58:d=1+k(w),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&ne()==125)continue}switch(w+=b(v),v*h){case 38:_=u>0?1:(w+=`\f`,-1);break;case 44:s[l++]=(k(w)-1)*_,_=1;break;case 64:V()===45&&(w+=G(B())),f=V(),u=d=k(y=w+=ce(H())),v++;break;case 45:m===45&&k(w)==2&&(h=0)}}return a}function ue(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=A(f),h=0,g=0,_=0;h<r;++h)for(var v=0,b=O(e,d+1,d=y(g=o[h])),x=e;v<p;++v)(x=C(g>0?f[v]+` `+b:T(b,/&\f/g,f[v])))&&(c[_++]=x);return R(e,t,n,i===0?m:s,c,l,u)}function de(e,t,n){return R(e,t,n,p,b(te()),O(e,2,-2),0)}function fe(e,t,n,r){return R(e,t,n,h,O(e,0,r),O(e,r+1,-1),r)}function J(e,t){for(var n=``,r=A(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function pe(e,t,n,r){switch(e.type){case v:if(e.children.length)break;case g:case h:return e.return=e.return||e.value;case p:return``;case _:return e.return=e.value+`{`+J(e.children,r)+`}`;case m:e.value=e.props.join(`,`)}return k(n=J(e.children,r))?e.return=e.value+`{`+n+`}`:``}function me(e){var t=A(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function he(e){return function(t){t.root||(t=t.return)&&e(t)}}function ge(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var _e=function(e,t,n){for(var r=0,i=0;r=i,i=V(),r===38&&i===12&&(t[n]=1),!W(i);)B();return U(e,F)},ve=function(e,t){var n=-1,r=44;do switch(W(r)){case 0:r===38&&V()===12&&(t[n]=1),e[n]+=_e(F-1,t,n);break;case 2:e[n]+=G(r);break;case 4:if(r===44){e[++n]=V()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=b(r)}while(r=B());return e},ye=function(e,t){return ie(ve(re(e),t))},be=new WeakMap,xe=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!be.get(n))&&!r){be.set(e,!0);for(var i=[],a=ye(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Se=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Ce(e,t){switch(S(e,t)){case 5103:return f+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return f+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return f+e+d+e+u+e+e;case 6828:case 4268:return f+e+u+e+e;case 6165:return f+e+u+`flex-`+e+e;case 5187:return f+e+T(e,/(\w+).+(:[^]+)/,f+`box-$1$2`+u+`flex-$1$2`)+e;case 5443:return f+e+u+`flex-item-`+T(e,/flex-|-self/,``)+e;case 4675:return f+e+u+`flex-line-pack`+T(e,/align-content|flex-|-self/,``)+e;case 5548:return f+e+u+T(e,`shrink`,`negative`)+e;case 5292:return f+e+u+T(e,`basis`,`preferred-size`)+e;case 6060:return f+`box-`+T(e,`-grow`,``)+f+e+u+T(e,`grow`,`positive`)+e;case 4554:return f+T(e,/([^-])(transform)/g,`$1`+f+`$2`)+e;case 6187:return T(T(T(e,/(zoom-|grab)/,f+`$1`),/(image-set)/,f+`$1`),e,``)+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,f+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,f+`box-pack:$3`+u+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+f+e+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,f+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(k(e)-1-t>6)switch(D(e,t+1)){case 109:if(D(e,t+4)!==45)break;case 102:return T(e,/(.+:)(.+)-([^]+)/,`$1`+f+`$2-$3$1`+d+(D(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~E(e,`stretch`)?Ce(T(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(D(e,t+1)!==115)break;case 6444:switch(D(e,k(e)-3-(~E(e,`!important`)&&10))){case 107:return T(e,`:`,`:`+f)+e;case 101:return T(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+f+(D(e,14)===45?`inline-`:``)+`box$3$1`+f+`$2$3$1`+u+`$2box$3`)+e}break;case 5936:switch(D(e,t+11)){case 114:return f+e+u+T(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return f+e+u+T(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return f+e+u+T(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return f+e+u+e+e}return e}var we=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:e.return=Ce(e.value,e.length);break;case _:return J([z(e,{value:T(e.value,`@`,`@`+f)})],r);case m:if(e.length)return ee(e.props,function(t){switch(w(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return J([z(e,{props:[T(t,/:(read-\w+)/,`:`+d+`$1`)]})],r);case`::placeholder`:return J([z(e,{props:[T(t,/:(plac\w+)/,`:`+f+`input-$1`)]}),z(e,{props:[T(t,/:(plac\w+)/,`:`+d+`$1`)]}),z(e,{props:[T(t,/:(plac\w+)/,u+`input-$1`)]})],r)}return``})}}],Te=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||we,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[xe,Se],u,d=[pe,he(function(e){u.insert(e)})],f=me(c.concat(r,d)),p=function(e){return J(le(e),f)};s=function(e,t,n,r){u=n,p(e?e+`{`+t.styles+`}`:t.styles),r&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new l({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return m.sheet.hydrate(o),m},Ee=t((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),De=t(((e,t)=>{t.exports=Ee()})),Oe=t(((e,t)=>{var n=De(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),ke=!0;function Ae(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Y=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||ke===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},je=function(e,t,n){Y(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Me(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ne={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Pe=!1,Fe=/[A-Z]|^ms/g,Ie=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Le=function(e){return e.charCodeAt(1)===45},Re=function(e){return e!=null&&typeof e!=`boolean`},ze=ge(function(e){return Le(e)?e:e.replace(Fe,`-$&`).toLowerCase()}),Be=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Ie,function(e,t,n){return Z={name:t,styles:n,next:Z},t})}return Ne[e]!==1&&!Le(e)&&typeof t==`number`&&t!==0?t+`px`:t},Ve=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function X(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Z={name:i.name,styles:i.styles,next:Z},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Z={name:o.name,styles:o.styles,next:Z},o=o.next;return a.styles+`;`}return He(e,t,n);case`function`:if(e!==void 0){var s=Z,c=n(e);return Z=s,X(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function He(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=X(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Re(s)&&(r+=ze(a)+`:`+Be(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Pe)throw Error(Ve);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Re(o[c])&&(r+=ze(a)+`:`+Be(a,o[c])+`;`);else{var l=X(e,t,o);switch(a){case`animation`:case`animationName`:r+=ze(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var Ue=/label:\s*([^\s;{]+)\s*(;|$)/g,Z;function Q(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Z=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=X(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=X(n,t,e[o]),r&&(i+=a[o]);Ue.lastIndex=0;for(var s=``,c;(c=Ue.exec(i))!==null;)s+=`-`+c[1];return{name:Me(i)+s,styles:i,next:Z}}var We=function(e){return e()},Ge=a.useInsertionEffect?a.useInsertionEffect:!1,Ke=Ge||We,qe=Ge||a.useLayoutEffect,Je=a.createContext(typeof HTMLElement<`u`?Te({key:`css`}):null);Je.Provider;var Ye=function(e){return(0,a.forwardRef)(function(t,n){return e(t,(0,a.useContext)(Je),n)})},$=a.createContext({}),Xe={}.hasOwnProperty,Ze=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Qe=function(e,t){var n={};for(var r in t)Xe.call(t,r)&&(n[r]=t[r]);return n[Ze]=e,n},$e=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Y(t,n,r),Ke(function(){return je(t,n,r)}),null},et=Ye(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Ze],o=[r],s=``;typeof e.className==`string`?s=Ae(t.registered,o,e.className):e.className!=null&&(s=e.className+` `);var c=Q(o,void 0,a.useContext($));s+=t.key+`-`+c.name;var l={};for(var u in e)Xe.call(e,u)&&u!==`css`&&u!==Ze&&(l[u]=e[u]);return l.className=s,n&&(l.ref=n),a.createElement(a.Fragment,null,a.createElement($e,{cache:t,serialized:c,isStringTag:typeof i==`string`}),a.createElement(i,l))});Oe();var tt=function(e,t){var n=arguments;if(t==null||!Xe.call(t,`css`))return a.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=et,i[1]=Qe(e,t);for(var o=2;o<r;o++)i[o]=n[o];return a.createElement.apply(null,i)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(tt||={});var nt=Ye(function(e,t){var n=e.styles,r=Q([n],void 0,a.useContext($)),i=a.useRef();return qe(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),qe(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&je(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function rt(){return Q([...arguments])}function it(){var e=rt.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var at=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ot=ge(function(e){return at.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),st=!1,ct=ot,lt=function(e){return e!==`theme`},ut=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?ct:lt},dt=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},ft=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Y(t,n,r),Ke(function(){return je(t,n,r)}),null},pt=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,s,c;n!==void 0&&(s=n.label,c=n.target);var l=dt(t,n,r),u=l||ut(o),d=!u(`as`);return function(){var f=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&p.push(`label:`+s+`;`),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{var m=f[0];p.push(m[0]);for(var h=f.length,g=1;g<h;g++)p.push(f[g],m[g])}var _=Ye(function(e,t,n){var r=d&&e.as||o,i=``,s=[],f=e;if(e.theme==null){for(var m in f={},e)f[m]=e[m];f.theme=a.useContext($)}typeof e.className==`string`?i=Ae(t.registered,s,e.className):e.className!=null&&(i=e.className+` `);var h=Q(p.concat(s),t.registered,f);i+=t.key+`-`+h.name,c!==void 0&&(i+=` `+c);var g=d&&l===void 0?ut(r):u,_={};for(var v in e)d&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=i,n&&(_.ref=n),a.createElement(a.Fragment,null,a.createElement(ft,{cache:t,serialized:h,isStringTag:typeof r==`string`}),a.createElement(r,_))});return _.displayName=s===void 0?`Styled(`+(typeof o==`string`?o:o.displayName||o.name||`Component`)+`)`:s,_.defaultProps=t.defaultProps,_.__emotion_real=_,_.__emotion_base=o,_.__emotion_styles=p,_.__emotion_forwardProp=l,Object.defineProperty(_,`toString`,{value:function(){return c===void 0&&st?`NO_COMPONENT_SELECTOR`:`.`+c}}),_.withComponent=function(t,r){return e(t,i({},n,r,{shouldForwardProp:dt(_,r,!0)})).apply(void 0,p)},_}},mt=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),ht=pt.bind(null);mt.forEach(function(e){ht[e]=ht(e)});export{$ as a,r as c,it as i,nt as n,Q as o,rt as r,i as s,ht as t};