@oslokommune/punkt-react
Version:
React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo
111 lines (108 loc) • 1.07 MB
JavaScript
if (typeof HTMLElement === 'undefined') { globalThis.HTMLElement = function() {} };
if (typeof document === 'undefined') {
globalThis.document = {
createTreeWalker: function() {
return {
currentNode: null,
nextNode: function() { return null; },
previousNode: function() { return null; },
parentNode: function() { return null; },
firstChild: function() { return null; },
lastChild: function() { return null; },
previousSibling: function() { return null; },
nextSibling: function() { return null; }
};
},
getElementsByTagName: function() { return []; },
querySelectorAll: function() { return []; },
querySelector: function() {
return {
querySelectorAll: function() { return []; },
getElementsByTagName: function() { return []; }
};
},
}
};
if (typeof customElements === 'undefined') { globalThis.customElements = { define: function() {} }; }
if (typeof window === 'undefined') { globalThis.window = globalThis; }
if (typeof SVGElement === 'undefined') { globalThis.SVGElement = function() {} };
if (typeof Element === 'undefined') {
globalThis.Element = function() {};
globalThis.Element.prototype.querySelectorAll = function() {
return [];
};
}
(function(Ot,Pe){typeof exports=="object"&&typeof module<"u"?Pe(exports,require("react"),require("react-router-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom"],Pe):(Ot=typeof globalThis<"u"?globalThis:Ot||self,Pe(Ot["punkt-react"]={},Ot.React,Ot.reactRouterDom))})(this,function(Ot,Pe,$f){"use strict";var N7=Object.defineProperty;var P7=(Ot,Pe,$f)=>Pe in Ot?N7(Ot,Pe,{enumerable:!0,configurable:!0,writable:!0,value:$f}):Ot[Pe]=$f;var vg=(Ot,Pe,$f)=>P7(Ot,typeof Pe!="symbol"?Pe+"":Pe,$f);function T$(r){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const i in r)if(i!=="default"){const l=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,l.get?l:{enumerable:!0,get:()=>r[i]})}}return n.default=r,Object.freeze(n)}function F$(r,n){for(var i=0;i<n.length;i++){const l=n[i];if(typeof l!="string"&&!Array.isArray(l)){for(const c in l)if(c!=="default"&&!(c in r)){const h=Object.getOwnPropertyDescriptor(l,c);h&&Object.defineProperty(r,c,h.get?h:{enumerable:!0,get:()=>l[c]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}const A$=T$(Pe);var Cd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function jy(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Xw={exports:{}},yg={};/**
* @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 Rx;function $$(){if(Rx)return yg;Rx=1;var r=Pe,n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,h={key:!0,ref:!0,__self:!0,__source:!0};function m(D,x,E){var $,N={},L=null,O=null;E!==void 0&&(L=""+E),x.key!==void 0&&(L=""+x.key),x.ref!==void 0&&(O=x.ref);for($ in x)l.call(x,$)&&!h.hasOwnProperty($)&&(N[$]=x[$]);if(D&&D.defaultProps)for($ in x=D.defaultProps,x)N[$]===void 0&&(N[$]=x[$]);return{$$typeof:n,type:D,key:L,ref:O,props:N,_owner:c.current}}return yg.Fragment=i,yg.jsx=m,yg.jsxs=m,yg}var bg={};/**
* @license React
* react-jsx-runtime.development.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 Lx;function N$(){return Lx||(Lx=1,process.env.NODE_ENV!=="production"&&function(){var r=Pe,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),D=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),j=Symbol.iterator,J="@@iterator";function V(X){if(X===null||typeof X!="object")return null;var Fe=j&&X[j]||X[J];return typeof Fe=="function"?Fe:null}var we=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function q(X){{for(var Fe=arguments.length,tt=new Array(Fe>1?Fe-1:0),ft=1;ft<Fe;ft++)tt[ft-1]=arguments[ft];H("error",X,tt)}}function H(X,Fe,tt){{var ft=we.ReactDebugCurrentFrame,Ut=ft.getStackAddendum();Ut!==""&&(Fe+="%s",tt=tt.concat([Ut]));var jt=tt.map(function(qt){return String(qt)});jt.unshift("Warning: "+Fe),Function.prototype.apply.call(console[X],console,jt)}}var K=!1,Y=!1,ne=!1,le=!1,_e=!1,me;me=Symbol.for("react.module.reference");function Ge(X){return!!(typeof X=="string"||typeof X=="function"||X===l||X===h||_e||X===c||X===E||X===$||le||X===O||K||Y||ne||typeof X=="object"&&X!==null&&(X.$$typeof===L||X.$$typeof===N||X.$$typeof===m||X.$$typeof===D||X.$$typeof===x||X.$$typeof===me||X.getModuleId!==void 0))}function He(X,Fe,tt){var ft=X.displayName;if(ft)return ft;var Ut=Fe.displayName||Fe.name||"";return Ut!==""?tt+"("+Ut+")":tt}function Xe(X){return X.displayName||"Context"}function Ve(X){if(X==null)return null;if(typeof X.tag=="number"&&q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof X=="function")return X.displayName||X.name||null;if(typeof X=="string")return X;switch(X){case l:return"Fragment";case i:return"Portal";case h:return"Profiler";case c:return"StrictMode";case E:return"Suspense";case $:return"SuspenseList"}if(typeof X=="object")switch(X.$$typeof){case D:var Fe=X;return Xe(Fe)+".Consumer";case m:var tt=X;return Xe(tt._context)+".Provider";case x:return He(X,X.render,"ForwardRef");case N:var ft=X.displayName||null;return ft!==null?ft:Ve(X.type)||"Memo";case L:{var Ut=X,jt=Ut._payload,qt=Ut._init;try{return Ve(qt(jt))}catch{return null}}}return null}var Me=Object.assign,ot=0,Le,Ae,ue,$e,xe,Q,de;function Qe(){}Qe.__reactDisabledLog=!0;function Ke(){{if(ot===0){Le=console.log,Ae=console.info,ue=console.warn,$e=console.error,xe=console.group,Q=console.groupCollapsed,de=console.groupEnd;var X={configurable:!0,enumerable:!0,value:Qe,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}ot++}}function gt(){{if(ot--,ot===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Me({},X,{value:Le}),info:Me({},X,{value:Ae}),warn:Me({},X,{value:ue}),error:Me({},X,{value:$e}),group:Me({},X,{value:xe}),groupCollapsed:Me({},X,{value:Q}),groupEnd:Me({},X,{value:de})})}ot<0&&q("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lt=we.ReactCurrentDispatcher,vt;function pt(X,Fe,tt){{if(vt===void 0)try{throw Error()}catch(Ut){var ft=Ut.stack.trim().match(/\n( *(at )?)/);vt=ft&&ft[1]||""}return`
`+vt+X}}var Ft=!1,tn;{var Wt=typeof WeakMap=="function"?WeakMap:Map;tn=new Wt}function Rn(X,Fe){if(!X||Ft)return"";{var tt=tn.get(X);if(tt!==void 0)return tt}var ft;Ft=!0;var Ut=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var jt;jt=lt.current,lt.current=null,Ke();try{if(Fe){var qt=function(){throw Error()};if(Object.defineProperty(qt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(qt,[])}catch(Et){ft=Et}Reflect.construct(X,[],qt)}else{try{qt.call()}catch(Et){ft=Et}X.call(qt.prototype)}}else{try{throw Error()}catch(Et){ft=Et}X()}}catch(Et){if(Et&&ft&&typeof Et.stack=="string"){for(var nn=Et.stack.split(`
`),wr=ft.stack.split(`
`),er=nn.length-1,tr=wr.length-1;er>=1&&tr>=0&&nn[er]!==wr[tr];)tr--;for(;er>=1&&tr>=0;er--,tr--)if(nn[er]!==wr[tr]){if(er!==1||tr!==1)do if(er--,tr--,tr<0||nn[er]!==wr[tr]){var Or=`
`+nn[er].replace(" at new "," at ");return X.displayName&&Or.includes("<anonymous>")&&(Or=Or.replace("<anonymous>",X.displayName)),typeof X=="function"&&tn.set(X,Or),Or}while(er>=1&&tr>=0);break}}}finally{Ft=!1,lt.current=jt,gt(),Error.prepareStackTrace=Ut}var Zi=X?X.displayName||X.name:"",Dr=Zi?pt(Zi):"";return typeof X=="function"&&tn.set(X,Dr),Dr}function At(X,Fe,tt){return Rn(X,!1)}function it(X){var Fe=X.prototype;return!!(Fe&&Fe.isReactComponent)}function Gn(X,Fe,tt){if(X==null)return"";if(typeof X=="function")return Rn(X,it(X));if(typeof X=="string")return pt(X);switch(X){case E:return pt("Suspense");case $:return pt("SuspenseList")}if(typeof X=="object")switch(X.$$typeof){case x:return At(X.render);case N:return Gn(X.type,Fe,tt);case L:{var ft=X,Ut=ft._payload,jt=ft._init;try{return Gn(jt(Ut),Fe,tt)}catch{}}}return""}var Dn=Object.prototype.hasOwnProperty,lr={},Wa=we.ReactDebugCurrentFrame;function Lr(X){if(X){var Fe=X._owner,tt=Gn(X.type,X._source,Fe?Fe.type:null);Wa.setExtraStackFrame(tt)}else Wa.setExtraStackFrame(null)}function kr(X,Fe,tt,ft,Ut){{var jt=Function.call.bind(Dn);for(var qt in X)if(jt(X,qt)){var nn=void 0;try{if(typeof X[qt]!="function"){var wr=Error((ft||"React class")+": "+tt+" type `"+qt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof X[qt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw wr.name="Invariant Violation",wr}nn=X[qt](Fe,qt,ft,tt,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(er){nn=er}nn&&!(nn instanceof Error)&&(Lr(Ut),q("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ft||"React class",tt,qt,typeof nn),Lr(null)),nn instanceof Error&&!(nn.message in lr)&&(lr[nn.message]=!0,Lr(Ut),q("Failed %s type: %s",tt,nn.message),Lr(null))}}}var Zn=Array.isArray;function cn(X){return Zn(X)}function yn(X){{var Fe=typeof Symbol=="function"&&Symbol.toStringTag,tt=Fe&&X[Symbol.toStringTag]||X.constructor.name||"Object";return tt}}function sn(X){try{return pe(X),!1}catch{return!0}}function pe(X){return""+X}function ee(X){if(sn(X))return q("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",yn(X)),pe(X)}var ke=we.ReactCurrentOwner,Ne={key:!0,ref:!0,__self:!0,__source:!0},Ee,Be;function Je(X){if(Dn.call(X,"ref")){var Fe=Object.getOwnPropertyDescriptor(X,"ref").get;if(Fe&&Fe.isReactWarning)return!1}return X.ref!==void 0}function _t(X){if(Dn.call(X,"key")){var Fe=Object.getOwnPropertyDescriptor(X,"key").get;if(Fe&&Fe.isReactWarning)return!1}return X.key!==void 0}function zt(X,Fe){typeof X.ref=="string"&&ke.current}function Sn(X,Fe){{var tt=function(){Ee||(Ee=!0,q("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Fe))};tt.isReactWarning=!0,Object.defineProperty(X,"key",{get:tt,configurable:!0})}}function _n(X,Fe){{var tt=function(){Be||(Be=!0,q("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Fe))};tt.isReactWarning=!0,Object.defineProperty(X,"ref",{get:tt,configurable:!0})}}var Tr=function(X,Fe,tt,ft,Ut,jt,qt){var nn={$$typeof:n,type:X,key:Fe,ref:tt,props:qt,_owner:jt};return nn._store={},Object.defineProperty(nn._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(nn,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ft}),Object.defineProperty(nn,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ut}),Object.freeze&&(Object.freeze(nn.props),Object.freeze(nn)),nn};function bn(X,Fe,tt,ft,Ut){{var jt,qt={},nn=null,wr=null;tt!==void 0&&(ee(tt),nn=""+tt),_t(Fe)&&(ee(Fe.key),nn=""+Fe.key),Je(Fe)&&(wr=Fe.ref,zt(Fe,Ut));for(jt in Fe)Dn.call(Fe,jt)&&!Ne.hasOwnProperty(jt)&&(qt[jt]=Fe[jt]);if(X&&X.defaultProps){var er=X.defaultProps;for(jt in er)qt[jt]===void 0&&(qt[jt]=er[jt])}if(nn||wr){var tr=typeof X=="function"?X.displayName||X.name||"Unknown":X;nn&&Sn(qt,tr),wr&&_n(qt,tr)}return Tr(X,nn,wr,Ut,ft,ke.current,qt)}}var ha=we.ReactCurrentOwner,gr=we.ReactDebugCurrentFrame;function Un(X){if(X){var Fe=X._owner,tt=Gn(X.type,X._source,Fe?Fe.type:null);gr.setExtraStackFrame(tt)}else gr.setExtraStackFrame(null)}var ma;ma=!1;function ga(X){return typeof X=="object"&&X!==null&&X.$$typeof===n}function Ci(){{if(ha.current){var X=Ve(ha.current.type);if(X)return`
Check the render method of \``+X+"`."}return""}}function Eo(X){return""}var kl={};function wl(X){{var Fe=Ci();if(!Fe){var tt=typeof X=="string"?X:X.displayName||X.name;tt&&(Fe=`
Check the top-level render call using <`+tt+">.")}return Fe}}function Os(X,Fe){{if(!X._store||X._store.validated||X.key!=null)return;X._store.validated=!0;var tt=wl(Fe);if(kl[tt])return;kl[tt]=!0;var ft="";X&&X._owner&&X._owner!==ha.current&&(ft=" It was passed a child from "+Ve(X._owner.type)+"."),Un(X),q('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',tt,ft),Un(null)}}function Ki(X,Fe){{if(typeof X!="object")return;if(cn(X))for(var tt=0;tt<X.length;tt++){var ft=X[tt];ga(ft)&&Os(ft,Fe)}else if(ga(X))X._store&&(X._store.validated=!0);else if(X){var Ut=V(X);if(typeof Ut=="function"&&Ut!==X.entries)for(var jt=Ut.call(X),qt;!(qt=jt.next()).done;)ga(qt.value)&&Os(qt.value,Fe)}}}function _i(X){{var Fe=X.type;if(Fe==null||typeof Fe=="string")return;var tt;if(typeof Fe=="function")tt=Fe.propTypes;else if(typeof Fe=="object"&&(Fe.$$typeof===x||Fe.$$typeof===N))tt=Fe.propTypes;else return;if(tt){var ft=Ve(Fe);kr(tt,X.props,"prop",ft,X)}else if(Fe.PropTypes!==void 0&&!ma){ma=!0;var Ut=Ve(Fe);q("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ut||"Unknown")}typeof Fe.getDefaultProps=="function"&&!Fe.getDefaultProps.isReactClassApproved&&q("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ur(X){{for(var Fe=Object.keys(X.props),tt=0;tt<Fe.length;tt++){var ft=Fe[tt];if(ft!=="children"&&ft!=="key"){Un(X),q("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ft),Un(null);break}}X.ref!==null&&(Un(X),q("Invalid attribute `ref` supplied to `React.Fragment`."),Un(null))}}var Ca={};function aa(X,Fe,tt,ft,Ut,jt){{var qt=Ge(X);if(!qt){var nn="";(X===void 0||typeof X=="object"&&X!==null&&Object.keys(X).length===0)&&(nn+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var wr=Eo();wr?nn+=wr:nn+=Ci();var er;X===null?er="null":cn(X)?er="array":X!==void 0&&X.$$typeof===n?(er="<"+(Ve(X.type)||"Unknown")+" />",nn=" Did you accidentally export a JSX literal instead of a component?"):er=typeof X,q("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",er,nn)}var tr=bn(X,Fe,tt,Ut,jt);if(tr==null)return tr;if(qt){var Or=Fe.children;if(Or!==void 0)if(ft)if(cn(Or)){for(var Zi=0;Zi<Or.length;Zi++)Ki(Or[Zi],X);Object.freeze&&Object.freeze(Or)}else q("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ki(Or,X)}if(Dn.call(Fe,"key")){var Dr=Ve(X),Et=Object.keys(Fe).filter(function(Bs){return Bs!=="key"}),Qt=Et.length>0?"{key: someKey, "+Et.join(": ..., ")+": ...}":"{key: someKey}";if(!Ca[Dr+Qt]){var eo=Et.length>0?"{"+Et.join(": ..., ")+": ...}":"{}";q(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,Qt,Dr,eo,Dr),Ca[Dr+Qt]=!0}}return X===l?ur(tr):_i(tr),tr}}function To(X,Fe,tt){return aa(X,Fe,tt,!0)}function Ei(X,Fe,tt){return aa(X,Fe,tt,!1)}var Fo=Ei,Ao=To;bg.Fragment=l,bg.jsx=Fo,bg.jsxs=Ao}()),bg}process.env.NODE_ENV==="production"?Xw.exports=$$():Xw.exports=N$();var R=Xw.exports;/**
* @license
* Copyright 2018 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const P$=new Set(["children","localName","ref","style","className"]),Ox=new WeakMap,Bx=(r,n,i,l,c)=>{const h=c==null?void 0:c[n];h===void 0?(r[n]=i,i==null&&n in HTMLElement.prototype&&r.removeAttribute(n)):i!==l&&((m,D,x)=>{let E=Ox.get(m);E===void 0&&Ox.set(m,E=new Map);let $=E.get(D);x!==void 0?$===void 0?(E.set(D,$={handleEvent:x}),m.addEventListener(D,$)):$.handleEvent=x:$!==void 0&&(E.delete(D),m.removeEventListener(D,$))})(r,h,i)},ni=({react:r,tagName:n,elementClass:i,events:l,displayName:c})=>{const h=new Set(Object.keys(l??{})),m=r.forwardRef((D,x)=>{const E=r.useRef(new Map),$=r.useRef(null),N={},L={};for(const[O,j]of Object.entries(D))P$.has(O)?N[O==="className"?"class":O]=j:h.has(O)||O in i.prototype?L[O]=j:N[O]=j;return r.useLayoutEffect(()=>{if($.current===null)return;const O=new Map;for(const j in L)Bx($.current,j,D[j],E.current.get(j),l),E.current.delete(j),O.set(j,D[j]);for(const[j,J]of E.current)Bx($.current,j,void 0,J,l);E.current=O}),r.useLayoutEffect(()=>{var O;(O=$.current)==null||O.removeAttribute("defer-hydration")},[]),N.suppressHydrationWarning=!0,r.createElement(n,{...N,ref:r.useCallback(O=>{$.current=O,typeof x=="function"?x(O):x!==null&&(x.current=O)},[x])})});return m.displayName=c??i.name,m};/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const Iy=globalThis,zy=Iy.trustedTypes,Mx=zy?zy.createPolicy("lit-html",{createHTML:r=>r}):void 0,jx="$lit$",_d=`lit$${Math.random().toFixed(9).slice(2)}$`,Ix="?"+_d,R$=`<${Ix}>`,Nf=document,kg=()=>Nf.createComment(""),wg=r=>r===null||typeof r!="object"&&typeof r!="function",Jw=Array.isArray,L$=r=>Jw(r)||typeof(r==null?void 0:r[Symbol.iterator])=="function",Qw=`[
\f\r]`,Dg=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zx=/-->/g,Ux=/>/g,Pf=RegExp(`>|${Qw}(?:([^\\s"'>=/]+)(${Qw}*=${Qw}*(?:[^
\f\r"'\`<>=]|("|')|))|$)`,"g"),Hx=/'/g,Wx=/"/g,qx=/^(?:script|style|textarea|title)$/i,O$=r=>(n,...i)=>({_$litType$:r,strings:n,values:i}),ye=O$(1),bo=Symbol.for("lit-noChange"),qe=Symbol.for("lit-nothing"),Vx=new WeakMap,Rf=Nf.createTreeWalker(Nf,129);function Yx(r,n){if(!Jw(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Mx!==void 0?Mx.createHTML(n):n}const B$=(r,n)=>{const i=r.length-1,l=[];let c,h=n===2?"<svg>":n===3?"<math>":"",m=Dg;for(let D=0;D<i;D++){const x=r[D];let E,$,N=-1,L=0;for(;L<x.length&&(m.lastIndex=L,$=m.exec(x),$!==null);)L=m.lastIndex,m===Dg?$[1]==="!--"?m=zx:$[1]!==void 0?m=Ux:$[2]!==void 0?(qx.test($[2])&&(c=RegExp("</"+$[2],"g")),m=Pf):$[3]!==void 0&&(m=Pf):m===Pf?$[0]===">"?(m=c??Dg,N=-1):$[1]===void 0?N=-2:(N=m.lastIndex-$[2].length,E=$[1],m=$[3]===void 0?Pf:$[3]==='"'?Wx:Hx):m===Wx||m===Hx?m=Pf:m===zx||m===Ux?m=Dg:(m=Pf,c=void 0);const O=m===Pf&&r[D+1].startsWith("/>")?" ":"";h+=m===Dg?x+R$:N>=0?(l.push(E),x.slice(0,N)+jx+x.slice(N)+_d+O):x+_d+(N===-2?D:O)}return[Yx(r,h+(r[i]||"<?>")+(n===2?"</svg>":n===3?"</math>":"")),l]};class Sg{constructor({strings:n,_$litType$:i},l){let c;this.parts=[];let h=0,m=0;const D=n.length-1,x=this.parts,[E,$]=B$(n,i);if(this.el=Sg.createElement(E,l),Rf.currentNode=this.el.content,i===2||i===3){const N=this.el.content.firstChild;N.replaceWith(...N.childNodes)}for(;(c=Rf.nextNode())!==null&&x.length<D;){if(c.nodeType===1){if(c.hasAttributes())for(const N of c.getAttributeNames())if(N.endsWith(jx)){const L=$[m++],O=c.getAttribute(N).split(_d),j=/([.?@])?(.*)/.exec(L);x.push({type:1,index:h,name:j[2],strings:O,ctor:j[1]==="."?j$:j[1]==="?"?I$:j[1]==="@"?z$:Uy}),c.removeAttribute(N)}else N.startsWith(_d)&&(x.push({type:6,index:h}),c.removeAttribute(N));if(qx.test(c.tagName)){const N=c.textContent.split(_d),L=N.length-1;if(L>0){c.textContent=zy?zy.emptyScript:"";for(let O=0;O<L;O++)c.append(N[O],kg()),Rf.nextNode(),x.push({type:2,index:++h});c.append(N[L],kg())}}}else if(c.nodeType===8)if(c.data===Ix)x.push({type:2,index:h});else{let N=-1;for(;(N=c.data.indexOf(_d,N+1))!==-1;)x.push({type:7,index:h}),N+=_d.length-1}h++}}static createElement(n,i){const l=Nf.createElement("template");return l.innerHTML=n,l}}function vh(r,n,i=r,l){var c,h;if(n===bo)return n;let m=l!==void 0?(c=i._$Co)==null?void 0:c[l]:i._$Cl;const D=wg(n)?void 0:n._$litDirective$;return(m==null?void 0:m.constructor)!==D&&((h=m==null?void 0:m._$AO)==null||h.call(m,!1),D===void 0?m=void 0:(m=new D(r),m._$AT(r,i,l)),l!==void 0?(i._$Co??(i._$Co=[]))[l]=m:i._$Cl=m),m!==void 0&&(n=vh(r,m._$AS(r,n.values),m,l)),n}class M${constructor(n,i){this._$AV=[],this._$AN=void 0,this._$AD=n,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(n){const{el:{content:i},parts:l}=this._$AD,c=((n==null?void 0:n.creationScope)??Nf).importNode(i,!0);Rf.currentNode=c;let h=Rf.nextNode(),m=0,D=0,x=l[0];for(;x!==void 0;){if(m===x.index){let E;x.type===2?E=new yh(h,h.nextSibling,this,n):x.type===1?E=new x.ctor(h,x.name,x.strings,this,n):x.type===6&&(E=new U$(h,this,n)),this._$AV.push(E),x=l[++D]}m!==(x==null?void 0:x.index)&&(h=Rf.nextNode(),m++)}return Rf.currentNode=Nf,c}p(n){let i=0;for(const l of this._$AV)l!==void 0&&(l.strings!==void 0?(l._$AI(n,l,i),i+=l.strings.length-2):l._$AI(n[i])),i++}}class yh{get _$AU(){var n;return((n=this._$AM)==null?void 0:n._$AU)??this._$Cv}constructor(n,i,l,c){this.type=2,this._$AH=qe,this._$AN=void 0,this._$AA=n,this._$AB=i,this._$AM=l,this.options=c,this._$Cv=(c==null?void 0:c.isConnected)??!0}get parentNode(){let n=this._$AA.parentNode;const i=this._$AM;return i!==void 0&&(n==null?void 0:n.nodeType)===11&&(n=i.parentNode),n}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(n,i=this){n=vh(this,n,i),wg(n)?n===qe||n==null||n===""?(this._$AH!==qe&&this._$AR(),this._$AH=qe):n!==this._$AH&&n!==bo&&this._(n):n._$litType$!==void 0?this.$(n):n.nodeType!==void 0?this.T(n):L$(n)?this.k(n):this._(n)}O(n){return this._$AA.parentNode.insertBefore(n,this._$AB)}T(n){this._$AH!==n&&(this._$AR(),this._$AH=this.O(n))}_(n){this._$AH!==qe&&wg(this._$AH)?this._$AA.nextSibling.data=n:this.T(Nf.createTextNode(n)),this._$AH=n}$(n){var i;const{values:l,_$litType$:c}=n,h=typeof c=="number"?this._$AC(n):(c.el===void 0&&(c.el=Sg.createElement(Yx(c.h,c.h[0]),this.options)),c);if(((i=this._$AH)==null?void 0:i._$AD)===h)this._$AH.p(l);else{const m=new M$(h,this),D=m.u(this.options);m.p(l),this.T(D),this._$AH=m}}_$AC(n){let i=Vx.get(n.strings);return i===void 0&&Vx.set(n.strings,i=new Sg(n)),i}k(n){Jw(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let l,c=0;for(const h of n)c===i.length?i.push(l=new yh(this.O(kg()),this.O(kg()),this,this.options)):l=i[c],l._$AI(h),c++;c<i.length&&(this._$AR(l&&l._$AB.nextSibling,c),i.length=c)}_$AR(n=this._$AA.nextSibling,i){var l;for((l=this._$AP)==null?void 0:l.call(this,!1,!0,i);n&&n!==this._$AB;){const c=n.nextSibling;n.remove(),n=c}}setConnected(n){var i;this._$AM===void 0&&(this._$Cv=n,(i=this._$AP)==null||i.call(this,n))}}class Uy{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(n,i,l,c,h){this.type=1,this._$AH=qe,this._$AN=void 0,this.element=n,this.name=i,this._$AM=c,this.options=h,l.length>2||l[0]!==""||l[1]!==""?(this._$AH=Array(l.length-1).fill(new String),this.strings=l):this._$AH=qe}_$AI(n,i=this,l,c){const h=this.strings;let m=!1;if(h===void 0)n=vh(this,n,i,0),m=!wg(n)||n!==this._$AH&&n!==bo,m&&(this._$AH=n);else{const D=n;let x,E;for(n=h[0],x=0;x<h.length-1;x++)E=vh(this,D[l+x],i,x),E===bo&&(E=this._$AH[x]),m||(m=!wg(E)||E!==this._$AH[x]),E===qe?n=qe:n!==qe&&(n+=(E??"")+h[x+1]),this._$AH[x]=E}m&&!c&&this.j(n)}j(n){n===qe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,n??"")}}class j$ extends Uy{constructor(){super(...arguments),this.type=3}j(n){this.element[this.name]=n===qe?void 0:n}}class I$ extends Uy{constructor(){super(...arguments),this.type=4}j(n){this.element.toggleAttribute(this.name,!!n&&n!==qe)}}class z$ extends Uy{constructor(n,i,l,c,h){super(n,i,l,c,h),this.type=5}_$AI(n,i=this){if((n=vh(this,n,i,0)??qe)===bo)return;const l=this._$AH,c=n===qe&&l!==qe||n.capture!==l.capture||n.once!==l.once||n.passive!==l.passive,h=n!==qe&&(l===qe||c);c&&this.element.removeEventListener(this.name,this,l),h&&this.element.addEventListener(this.name,this,n),this._$AH=n}handleEvent(n){var i;typeof this._$AH=="function"?this._$AH.call(((i=this.options)==null?void 0:i.host)??this.element,n):this._$AH.handleEvent(n)}}class U${constructor(n,i,l){this.element=n,this.type=6,this._$AN=void 0,this._$AM=i,this.options=l}get _$AU(){return this._$AM._$AU}_$AI(n){vh(this,n)}}const H$={I:yh},Gx=Iy.litHtmlPolyfillSupport;Gx==null||Gx(Sg,yh),(Iy.litHtmlVersions??(Iy.litHtmlVersions=[])).push("3.3.0");const W$=(r,n,i)=>{const l=(i==null?void 0:i.renderBefore)??n;let c=l._$litPart$;if(c===void 0){const h=(i==null?void 0:i.renderBefore)??null;l._$litPart$=c=new yh(n.insertBefore(kg(),h),h,void 0,i??{})}return c._$AI(r),c};/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const pr=r=>(n,i)=>{i!==void 0?i.addInitializer(()=>{customElements.define(r,n)}):customElements.define(r,n)};/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const Hy=globalThis,Kw=Hy.ShadowRoot&&(Hy.ShadyCSS===void 0||Hy.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xx=Symbol(),Jx=new WeakMap;let q$=class{constructor(r,n,i){if(this._$cssResult$=!0,i!==Xx)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=r,this.t=n}get styleSheet(){let r=this.o;const n=this.t;if(Kw&&r===void 0){const i=n!==void 0&&n.length===1;i&&(r=Jx.get(n)),r===void 0&&((this.o=r=new CSSStyleSheet).replaceSync(this.cssText),i&&Jx.set(n,r))}return r}toString(){return this.cssText}};const V$=r=>new q$(typeof r=="string"?r:r+"",void 0,Xx),Y$=(r,n)=>{if(Kw)r.adoptedStyleSheets=n.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet);else for(const i of n){const l=document.createElement("style"),c=Hy.litNonce;c!==void 0&&l.setAttribute("nonce",c),l.textContent=i.cssText,r.appendChild(l)}},Qx=Kw?r=>r:r=>r instanceof CSSStyleSheet?(n=>{let i="";for(const l of n.cssRules)i+=l.cssText;return V$(i)})(r):r;/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const{is:G$,defineProperty:X$,getOwnPropertyDescriptor:J$,getOwnPropertyNames:Q$,getOwnPropertySymbols:K$,getPrototypeOf:Z$}=Object,bh=globalThis,Kx=bh.trustedTypes,eN=Kx?Kx.emptyScript:"",Zx=bh.reactiveElementPolyfillSupport,xg=(r,n)=>r,Wy={toAttribute(r,n){switch(n){case Boolean:r=r?eN:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,n){let i=r;switch(n){case Boolean:i=r!==null;break;case Number:i=r===null?null:Number(r);break;case Object:case Array:try{i=JSON.parse(r)}catch{i=null}}return i}},Zw=(r,n)=>!G$(r,n),eC={attribute:!0,type:String,converter:Wy,reflect:!1,useDefault:!1,hasChanged:Zw};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),bh.litPropertyMetadata??(bh.litPropertyMetadata=new WeakMap);class kh extends HTMLElement{static addInitializer(n){this._$Ei(),(this.l??(this.l=[])).push(n)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(n,i=eC){if(i.state&&(i.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(n)&&((i=Object.create(i)).wrapped=!0),this.elementProperties.set(n,i),!i.noAccessor){const l=Symbol(),c=this.getPropertyDescriptor(n,l,i);c!==void 0&&X$(this.prototype,n,c)}}static getPropertyDescriptor(n,i,l){const{get:c,set:h}=J$(this.prototype,n)??{get(){return this[i]},set(m){this[i]=m}};return{get:c,set(m){const D=c==null?void 0:c.call(this);h==null||h.call(this,m),this.requestUpdate(n,D,l)},configurable:!0,enumerable:!0}}static getPropertyOptions(n){return this.elementProperties.get(n)??eC}static _$Ei(){if(this.hasOwnProperty(xg("elementProperties")))return;const n=Z$(this);n.finalize(),n.l!==void 0&&(this.l=[...n.l]),this.elementProperties=new Map(n.elementProperties)}static finalize(){if(this.hasOwnProperty(xg("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(xg("properties"))){const i=this.properties,l=[...Q$(i),...K$(i)];for(const c of l)this.createProperty(c,i[c])}const n=this[Symbol.metadata];if(n!==null){const i=litPropertyMetadata.get(n);if(i!==void 0)for(const[l,c]of i)this.elementProperties.set(l,c)}this._$Eh=new Map;for(const[i,l]of this.elementProperties){const c=this._$Eu(i,l);c!==void 0&&this._$Eh.set(c,i)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(n){const i=[];if(Array.isArray(n)){const l=new Set(n.flat(1/0).reverse());for(const c of l)i.unshift(Qx(c))}else n!==void 0&&i.push(Qx(n));return i}static _$Eu(n,i){const l=i.attribute;return l===!1?void 0:typeof l=="string"?l:typeof n=="string"?n.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var n;this._$ES=new Promise(i=>this.enableUpdating=i),this._$AL=new Map,this._$E_(),this.requestUpdate(),(n=this.constructor.l)==null||n.forEach(i=>i(this))}addController(n){var i;(this._$EO??(this._$EO=new Set)).add(n),this.renderRoot!==void 0&&this.isConnected&&((i=n.hostConnected)==null||i.call(n))}removeController(n){var i;(i=this._$EO)==null||i.delete(n)}_$E_(){const n=new Map,i=this.constructor.elementProperties;for(const l of i.keys())this.hasOwnProperty(l)&&(n.set(l,this[l]),delete this[l]);n.size>0&&(this._$Ep=n)}createRenderRoot(){const n=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Y$(n,this.constructor.elementStyles),n}connectedCallback(){var n;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(n=this._$EO)==null||n.forEach(i=>{var l;return(l=i.hostConnected)==null?void 0:l.call(i)})}enableUpdating(n){}disconnectedCallback(){var n;(n=this._$EO)==null||n.forEach(i=>{var l;return(l=i.hostDisconnected)==null?void 0:l.call(i)})}attributeChangedCallback(n,i,l){this._$AK(n,l)}_$ET(n,i){var l;const c=this.constructor.elementProperties.get(n),h=this.constructor._$Eu(n,c);if(h!==void 0&&c.reflect===!0){const m=(((l=c.converter)==null?void 0:l.toAttribute)!==void 0?c.converter:Wy).toAttribute(i,c.type);this._$Em=n,m==null?this.removeAttribute(h):this.setAttribute(h,m),this._$Em=null}}_$AK(n,i){var l,c;const h=this.constructor,m=h._$Eh.get(n);if(m!==void 0&&this._$Em!==m){const D=h.getPropertyOptions(m),x=typeof D.converter=="function"?{fromAttribute:D.converter}:((l=D.converter)==null?void 0:l.fromAttribute)!==void 0?D.converter:Wy;this._$Em=m,this[m]=x.fromAttribute(i,D.type)??((c=this._$Ej)==null?void 0:c.get(m))??null,this._$Em=null}}requestUpdate(n,i,l){var c;if(n!==void 0){const h=this.constructor,m=this[n];if(l??(l=h.getPropertyOptions(n)),!((l.hasChanged??Zw)(m,i)||l.useDefault&&l.reflect&&m===((c=this._$Ej)==null?void 0:c.get(n))&&!this.hasAttribute(h._$Eu(n,l))))return;this.C(n,i,l)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(n,i,{useDefault:l,reflect:c,wrapped:h},m){l&&!(this._$Ej??(this._$Ej=new Map)).has(n)&&(this._$Ej.set(n,m??i??this[n]),h!==!0||m!==void 0)||(this._$AL.has(n)||(this.hasUpdated||l||(i=void 0),this._$AL.set(n,i)),c===!0&&this._$Em!==n&&(this._$Eq??(this._$Eq=new Set)).add(n))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(i){Promise.reject(i)}const n=this.scheduleUpdate();return n!=null&&await n,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[h,m]of this._$Ep)this[h]=m;this._$Ep=void 0}const c=this.constructor.elementProperties;if(c.size>0)for(const[h,m]of c){const{wrapped:D}=m,x=this[h];D!==!0||this._$AL.has(h)||x===void 0||this.C(h,void 0,m,x)}}let i=!1;const l=this._$AL;try{i=this.shouldUpdate(l),i?(this.willUpdate(l),(n=this._$EO)==null||n.forEach(c=>{var h;return(h=c.hostUpdate)==null?void 0:h.call(c)}),this.update(l)):this._$EM()}catch(c){throw i=!1,this._$EM(),c}i&&this._$AE(l)}willUpdate(n){}_$AE(n){var i;(i=this._$EO)==null||i.forEach(l=>{var c;return(c=l.hostUpdated)==null?void 0:c.call(l)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(n)),this.updated(n)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(n){return!0}update(n){this._$Eq&&(this._$Eq=this._$Eq.forEach(i=>this._$ET(i,this[i]))),this._$EM()}updated(n){}firstUpdated(n){}}kh.elementStyles=[],kh.shadowRootOptions={mode:"open"},kh[xg("elementProperties")]=new Map,kh[xg("finalized")]=new Map,Zx==null||Zx({ReactiveElement:kh}),(bh.reactiveElementVersions??(bh.reactiveElementVersions=[])).push("2.1.0");/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const tN={attribute:!0,type:String,converter:Wy,reflect:!1,hasChanged:Zw},nN=(r=tN,n,i)=>{const{kind:l,metadata:c}=i;let h=globalThis.litPropertyMetadata.get(c);if(h===void 0&&globalThis.litPropertyMetadata.set(c,h=new Map),l==="setter"&&((r=Object.create(r)).wrapped=!0),h.set(i.name,r),l==="accessor"){const{name:m}=i;return{set(D){const x=n.get.call(this);n.set.call(this,D),this.requestUpdate(m,x,r)},init(D){return D!==void 0&&this.C(m,void 0,r,D),D}}}if(l==="setter"){const{name:m}=i;return function(D){const x=this[m];n.call(this,D),this.requestUpdate(m,x,r)}}throw Error("Unsupported decorator location: "+l)};function z(r){return(n,i)=>typeof i=="object"?nN(r,n,i):((l,c,h)=>{const m=c.hasOwnProperty(h);return c.constructor.createProperty(h,l),m?Object.getOwnPropertyDescriptor(c,h):void 0})(r,n,i)}/**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*/const Cg=globalThis;let wh=class extends kh{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r;const n=super.createRenderRoot();return(r=this.renderOptions).renderBefore??(r.renderBefore=n.firstChild),n}update(r){const n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(r),this._$Do=W$(n,this.renderRoot,this.renderOptions)}connectedCallback(){var r;super.connectedCallback(),(r=this._$Do)==null||r.setConnected(!0)}disconnectedCallback(){var r;super.disconnectedCallback(),(r=this._$Do)==null||r.setConnected(!1)}render(){return bo}};var tC;wh._$litElement$=!0,wh.finalized=!0,(tC=Cg.litElementHydrateSupport)==null||tC.call(Cg,{LitElement:wh});const nC=Cg.litElementPolyfillSupport;nC==null||nC({LitElement:wh}),(Cg.litElementVersions??(Cg.litElementVersions=[])).push("4.2.0");var e0={exports:{}},ko={},t0={exports:{}},gn={};/**
* @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 rC;function rN(){if(rC)return gn;rC=1;var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),m=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),N=Symbol.iterator;function L(Q){return Q===null||typeof Q!="object"?null:(Q=N&&Q[N]||Q["@@iterator"],typeof Q=="function"?Q:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,J={};function V(Q,de,Qe){this.props=Q,this.context=de,this.refs=J,this.updater=Qe||O}V.prototype.isReactComponent={},V.prototype.setState=function(Q,de){if(typeof Q!="object"&&typeof Q!="function"&&Q!=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,Q,de,"setState")},V.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};function we(){}we.prototype=V.prototype;function q(Q,de,Qe){this.props=Q,this.context=de,this.refs=J,this.updater=Qe||O}var H=q.prototype=new we;H.constructor=q,j(H,V.prototype),H.isPureReactComponent=!0;var K=Array.isArray,Y=Object.prototype.hasOwnProperty,ne={current:null},le={key:!0,ref:!0,__self:!0,__source:!0};function _e(Q,de,Qe){var Ke,gt={},lt=null,vt=null;if(de!=null)for(Ke in de.ref!==void 0&&(vt=de.ref),de.key!==void 0&&(lt=""+de.key),de)Y.call(de,Ke)&&!le.hasOwnProperty(Ke)&&(gt[Ke]=de[Ke]);var pt=arguments.length-2;if(pt===1)gt.children=Qe;else if(1<pt){for(var Ft=Array(pt),tn=0;tn<pt;tn++)Ft[tn]=arguments[tn+2];gt.children=Ft}if(Q&&Q.defaultProps)for(Ke in pt=Q.defaultProps,pt)gt[Ke]===void 0&&(gt[Ke]=pt[Ke]);return{$$typeof:r,type:Q,key:lt,ref:vt,props:gt,_owner:ne.current}}function me(Q,de){return{$$typeof:r,type:Q.type,key:de,ref:Q.ref,props:Q.props,_owner:Q._owner}}function Ge(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===r}function He(Q){var de={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(Qe){return de[Qe]})}var Xe=/\/+/g;function Ve(Q,de){return typeof Q=="object"&&Q!==null&&Q.key!=null?He(""+Q.key):de.toString(36)}function Me(Q,de,Qe,Ke,gt){var lt=typeof Q;(lt==="undefined"||lt==="boolean")&&(Q=null);var vt=!1;if(Q===null)vt=!0;else switch(lt){case"string":case"number":vt=!0;break;case"object":switch(Q.$$typeof){case r:case n:vt=!0}}if(vt)return vt=Q,gt=gt(vt),Q=Ke===""?"."+Ve(vt,0):Ke,K(gt)?(Qe="",Q!=null&&(Qe=Q.replace(Xe,"$&/")+"/"),Me(gt,de,Qe,"",function(tn){return tn})):gt!=null&&(Ge(gt)&&(gt=me(gt,Qe+(!gt.key||vt&&vt.key===gt.key?"":(""+gt.key).replace(Xe,"$&/")+"/")+Q)),de.push(gt)),1;if(vt=0,Ke=Ke===""?".":Ke+":",K(Q))for(var pt=0;pt<Q.length;pt++){lt=Q[pt];var Ft=Ke+Ve(lt,pt);vt+=Me(lt,de,Qe,Ft,gt)}else if(Ft=L(Q),typeof Ft=="function")for(Q=Ft.call(Q),pt=0;!(lt=Q.next()).done;)lt=lt.value,Ft=Ke+Ve(lt,pt++),vt+=Me(lt,de,Qe,Ft,gt);else if(lt==="object")throw de=String(Q),Error("Objects are not valid as a React child (found: "+(de==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":de)+"). If you meant to render a collection of children, use an array instead.");return vt}function ot(Q,de,Qe){if(Q==null)return Q;var Ke=[],gt=0;return Me(Q,Ke,"","",function(lt){return de.call(Qe,lt,gt++)}),Ke}function Le(Q){if(Q._status===-1){var de=Q._result;de=de(),de.then(function(Qe){(Q._status===0||Q._status===-1)&&(Q._status=1,Q._result=Qe)},function(Qe){(Q._status===0||Q._status===-1)&&(Q._status=2,Q._result=Qe)}),Q._status===-1&&(Q._status=0,Q._result=de)}if(Q._status===1)return Q._result.default;throw Q._result}var Ae={current:null},ue={transition:null},$e={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:ue,ReactCurrentOwner:ne};function xe(){throw Error("act(...) is not supported in production builds of React.")}return gn.Children={map:ot,forEach:function(Q,de,Qe){ot(Q,function(){de.apply(this,arguments)},Qe)},count:function(Q){var de=0;return ot(Q,function(){de++}),de},toArray:function(Q){return ot(Q,function(de){return de})||[]},only:function(Q){if(!Ge(Q))throw Error("React.Children.only expected to receive a single React element child.");return Q}},gn.Component=V,gn.Fragment=i,gn.Profiler=c,gn.PureComponent=q,gn.StrictMode=l,gn.Suspense=x,gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$e,gn.act=xe,gn.cloneElement=function(Q,de,Qe){if(Q==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+Q+".");var Ke=j({},Q.props),gt=Q.key,lt=Q.ref,vt=Q._owner;if(de!=null){if(de.ref!==void 0&&(lt=de.ref,vt=ne.current),de.key!==void 0&&(gt=""+de.key),Q.type&&Q.type.defaultProps)var pt=Q.type.defaultProps;for(Ft in de)Y.call(de,Ft)&&!le.hasOwnProperty(Ft)&&(Ke[Ft]=de[Ft]===void 0&&pt!==void 0?pt[Ft]:de[Ft])}var Ft=arguments.length-2;if(Ft===1)Ke.children=Qe;else if(1<Ft){pt=Array(Ft);for(var tn=0;tn<Ft;tn++)pt[tn]=arguments[tn+2];Ke.children=pt}return{$$typeof:r,type:Q.type,key:gt,ref:lt,props:Ke,_owner:vt}},gn.createContext=function(Q){return Q={$$typeof:m,_currentValue:Q,_currentValue2:Q,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},Q.Provider={$$typeof:h,_context:Q},Q.Consumer=Q},gn.createElement=_e,gn.createFactory=function(Q){var de=_e.bind(null,Q);return de.type=Q,de},gn.createRef=function(){return{current:null}},gn.forwardRef=function(Q){return{$$typeof:D,render:Q}},gn.isValidElement=Ge,gn.lazy=function(Q){return{$$typeof:$,_payload:{_status:-1,_result:Q},_init:Le}},gn.memo=function(Q,de){return{$$typeof:E,type:Q,compare:de===void 0?null:de}},gn.startTransition=function(Q){var de=ue.transition;ue.transition={};try{Q()}finally{ue.transition=de}},gn.unstable_act=xe,gn.useCallback=function(Q,de){return Ae.current.useCallback(Q,de)},gn.useContext=function(Q){return Ae.current.useContext(Q)},gn.useDebugValue=function(){},gn.useDeferredValue=function(Q){return Ae.current.useDeferredValue(Q)},gn.useEffect=function(Q,de){return Ae.current.useEffect(Q,de)},gn.useId=function(){return Ae.current.useId()},gn.useImperativeHandle=function(Q,de,Qe){return Ae.current.useImperativeHandle(Q,de,Qe)},gn.useInsertionEffect=function(Q,de){return Ae.current.useInsertionEffect(Q,de)},gn.useLayoutEffect=function(Q,de){return Ae.current.useLayoutEffect(Q,de)},gn.useMemo=function(Q,de){return Ae.current.useMemo(Q,de)},gn.useReducer=function(Q,de,Qe){return Ae.current.useReducer(Q,de,Qe)},gn.useRef=function(Q){return Ae.current.useRef(Q)},gn.useState=function(Q){return Ae.current.useState(Q)},gn.useSyncExternalStore=function(Q,de,Qe){return Ae.current.useSyncExternalStore(Q,de,Qe)},gn.useTransition=function(){return Ae.current.useTransition()},gn.version="18.3.1",gn}var qy={exports:{}};/**
* @license React
* react.development.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.
*/qy.exports;var aC;function aN(){return aC||(aC=1,function(r,n){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i="18.3.1",l=Symbol.for("react.element"),c=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),E=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),J=Symbol.for("react.offscreen"),V=Symbol.iterator,we="@@iterator";function q(A){if(A===null||typeof A!="object")return null;var G=V&&A[V]||A[we];return typeof G=="function"?G:null}var H={current:null},K={transition:null},Y={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ne={current:null},le={},_e=null;function me(A){_e=A}le.setExtraStackFrame=function(A){_e=A},le.getCurrentStack=null,le.getStackAddendum=function(){var A="";_e&&(A+=_e);var G=le.getCurrentStack;return G&&(A+=G()||""),A};var Ge=!1,He=!1,Xe=!1,Ve=!1,Me=!1,ot={ReactCurrentDispatcher:H,ReactCurrentBatchConfig:K,ReactCurrentOwner:ne};ot.ReactDebugCurrentFrame=le,ot.ReactCurrentActQueue=Y;function Le(A){{for(var G=arguments.length,he=new Array(G>1?G-1:0),De=1;De<G;De++)he[De-1]=arguments[De];ue("warn",A,he)}}function Ae(A){{for(var G=arguments.length,he=new Array(G>1?G-1:0),De=1;De<G;De++)he[De-1]=arguments[De];ue("error",A,he)}}function ue(A,G,he){{var De=ot.ReactDebugCurrentFrame,Ue=De.getStackAddendum();Ue!==""&&(G+="%s",he=he.concat([Ue]));var Tt=he.map(function(Ze){return String(Ze)});Tt.unshift("Warning: "+G),Function.prototype.apply.call(console[A],console,Tt)}}var $e={};function xe(A,G){{var he=A.constructor,De=he&&(he.displayName||he.name)||"ReactClass",Ue=De+"."+G;if($e[Ue])return;Ae("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",G,De),$e[Ue]=!0}}var Q={isMounted:function(A){return!1},enqueueForceUpdate:function(A,G,he){xe(A,"forceUpdate")},enqueueReplaceState:function(A,G,he,De){xe(A,"replaceState")},enqueueSetState:function(A,G,he,De){xe(A,"setState")}},de=Object.assign,Qe={};Object.freeze(Qe);function Ke(A,G,he){this.props=A,this.context=G,this.refs=Qe,this.updater=he||Q}Ke.prototype.isReactComponent={},Ke.prototype.setState=function(A,G){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,G,"setState")},Ke.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};{var gt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},lt=function(A,G){Object.defineProperty(Ke.prototype,A,{get:function(){Le("%s(...) is deprecated in plain JavaScript React classes. %s",G[0],G[1])}})};for(var vt in gt)gt.hasOwnProperty(vt)&<(vt,gt[vt])}function pt(){}pt.prototype=Ke.prototype;function Ft(A,G,he){this.props=A,this.context=G,this.refs=Qe,this.updater=he||Q}var tn=Ft.prototype=new pt;tn.constructor=Ft,de(tn,Ke.prototype),tn.isPureReactComponent=!0;function Wt(){var A={current:null};return Object.seal(A),A}var Rn=Array.isArray;function At(A){return Rn(A)}function it(A){{var G=typeof Symbol=="function"&&Symbol.toStringTag,he=G&&A[Symbol.toStringTag]||A.constructor.name||"Object";return he}}function Gn(A){try{return Dn(A),!1}catch{return!0}}function Dn(A){return""+A}function lr(A){if(Gn(A))return Ae("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",it(A)),Dn(A)}function Wa(A,G,he){var De=A.displayName;if(De)return De;var Ue=G.displayName||G.name||"";return Ue!==""?he+"("+Ue+")":he}function Lr(A){return A.displayName||"Context"}function kr(A){if(A==null)return null;if(typeof A.tag=="number"&&Ae("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case h:return"Fragment";case c:return"Portal";case D:return"Profiler";case m:return"StrictMode";case N:return"Suspense";case L:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case E:var G=A;return Lr(G)+".Consumer";case x:var he=A;return Lr(he._context)+".Provider";case $:return Wa(A,A.render,"ForwardRef");case O:var De=A.displayName||null;return De!==null?De:kr(A.type)||"Memo";case j:{var Ue=A,Tt=Ue._payload,Ze=Ue._init;try{return kr(Ze(Tt))}catch{return null}}}return null}var Zn=Object.prototype.hasOwnProperty,cn={key:!0,ref:!0,__self:!0,__source:!0},yn,sn,pe;pe={};function ee(A){if(Zn.call(A,"ref")){var G=Object.getOwnPropertyDescriptor(A,"ref").get;if(G&&G.isReactWarning)return!1}return A.ref!==void 0}function ke(A){if(Zn.call(A,"key")){var G=Object.getOwnPropertyDescriptor(A,"key").get;if(G&&G.isReactWarning)return!1}return A.key!==void 0}function Ne(A,G){var he=function(){yn||(yn=!0,Ae("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",G))};he.isReactWarning=!0,Object.defineProperty(A,"key",{get:he,configurable:!0})}function Ee(A,G){var he=function(){sn||(sn=!0,Ae("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",G))};he.isReactWarning=!0,Object.defineProperty(A,"ref",{get:he,configurable:!0})}function Be(A){if(typeof A.ref=="string"&&ne.current&&A.__self&&ne.current.stateNode!==A.__self){var G=kr(ne.current.type);pe[G]||(Ae('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',G,A.ref),pe[G]=!0)}}var Je=function(A,G,he,De,Ue,Tt,Ze){var $t={$$typeof:l,type:A,key:G,ref