@oslokommune/punkt-react 13.0.0 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/index.d.ts +5 -1
- package/dist/punkt-react.es.js +666 -661
- package/dist/punkt-react.umd.js +63 -63
- package/package.json +2 -2
- package/src/components/checkbox/Checkbox.tsx +5 -2
- package/src/components/inputwrapper/InputWrapper.tsx +1 -1
- package/src/components/radio/RadioButton.tsx +7 -1
package/dist/punkt-react.umd.js
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
*
|
|
50
50
|
* This source code is licensed under the MIT license found in the
|
|
51
51
|
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var LC;function P$(){return LC||(LC=1,process.env.NODE_ENV!=="production"&&function(){var r=$e,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"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),
|
|
52
|
+
*/var LC;function P$(){return LC||(LC=1,process.env.NODE_ENV!=="production"&&function(){var r=$e,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"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),I=Symbol.iterator,J="@@iterator";function V(G){if(G===null||typeof G!="object")return null;var Fe=I&&G[I]||G[J];return typeof Fe=="function"?Fe:null}var De=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function q(G){{for(var Fe=arguments.length,et=new Array(Fe>1?Fe-1:0),ft=1;ft<Fe;ft++)et[ft-1]=arguments[ft];W("error",G,et)}}function W(G,Fe,et){{var ft=De.ReactDebugCurrentFrame,Ht=ft.getStackAddendum();Ht!==""&&(Fe+="%s",et=et.concat([Ht]));var It=et.map(function(Vt){return String(Vt)});It.unshift("Warning: "+Fe),Function.prototype.apply.call(console[G],console,It)}}var K=!1,X=!1,ae=!1,ue=!1,xe=!1,ye;ye=Symbol.for("react.module.reference");function Ye(G){return!!(typeof G=="string"||typeof G=="function"||G===l||G===h||xe||G===c||G===E||G===$||ue||G===O||K||X||ae||typeof G=="object"&&G!==null&&(G.$$typeof===R||G.$$typeof===P||G.$$typeof===m||G.$$typeof===D||G.$$typeof===C||G.$$typeof===ye||G.getModuleId!==void 0))}function We(G,Fe,et){var ft=G.displayName;if(ft)return ft;var Ht=Fe.displayName||Fe.name||"";return Ht!==""?et+"("+Ht+")":et}function Me(G){return G.displayName||"Context"}function Qe(G){if(G==null)return null;if(typeof G.tag=="number"&&q("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof G=="function")return G.displayName||G.name||null;if(typeof G=="string")return G;switch(G){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 G=="object")switch(G.$$typeof){case D:var Fe=G;return Me(Fe)+".Consumer";case m:var et=G;return Me(et._context)+".Provider";case C:return We(G,G.render,"ForwardRef");case P:var ft=G.displayName||null;return ft!==null?ft:Qe(G.type)||"Memo";case R:{var Ht=G,It=Ht._payload,Vt=Ht._init;try{return Qe(Vt(It))}catch{return null}}}return null}var Ie=Object.assign,at=0,Le,Ae,ce,Ne,Se,Q,le;function it(){}it.__reactDisabledLog=!0;function Je(){{if(at===0){Le=console.log,Ae=console.info,ce=console.warn,Ne=console.error,Se=console.group,Q=console.groupCollapsed,le=console.groupEnd;var G={configurable:!0,enumerable:!0,value:it,writable:!0};Object.defineProperties(console,{info:G,log:G,warn:G,error:G,group:G,groupCollapsed:G,groupEnd:G})}at++}}function pt(){{if(at--,at===0){var G={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ie({},G,{value:Le}),info:Ie({},G,{value:Ae}),warn:Ie({},G,{value:ce}),error:Ie({},G,{value:Ne}),group:Ie({},G,{value:Se}),groupCollapsed:Ie({},G,{value:Q}),groupEnd:Ie({},G,{value:le})})}at<0&&q("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var lt=De.ReactCurrentDispatcher,gt;function vt(G,Fe,et){{if(gt===void 0)try{throw Error()}catch(Ht){var ft=Ht.stack.trim().match(/\n( *(at )?)/);gt=ft&&ft[1]||""}return`
|
|
53
53
|
`+gt+G}}var Et=!1,tn;{var zt=typeof WeakMap=="function"?WeakMap:Map;tn=new zt}function zn(G,Fe){if(!G||Et)return"";{var et=tn.get(G);if(et!==void 0)return et}var ft;Et=!0;var Ht=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var It;It=lt.current,lt.current=null,Je();try{if(Fe){var Vt=function(){throw Error()};if(Object.defineProperty(Vt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Vt,[])}catch(Tt){ft=Tt}Reflect.construct(G,[],Vt)}else{try{Vt.call()}catch(Tt){ft=Tt}G.call(Vt.prototype)}}else{try{throw Error()}catch(Tt){ft=Tt}G()}}catch(Tt){if(Tt&&ft&&typeof Tt.stack=="string"){for(var nn=Tt.stack.split(`
|
|
54
54
|
`),wr=ft.stack.split(`
|
|
55
55
|
`),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 Lr=`
|
|
@@ -66,13 +66,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
66
66
|
* @license
|
|
67
67
|
* Copyright 2018 Google LLC
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
|
-
*/const N$=new Set(["children","localName","ref","style","className"]),OC=new WeakMap,BC=(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,C)=>{let E=OC.get(m);E===void 0&&OC.set(m,E=new Map);let $=E.get(D);C!==void 0?$===void 0?(E.set(D,$={handleEvent:C}),m.addEventListener(D,$)):$.handleEvent=C:$!==void 0&&(E.delete(D),m.removeEventListener(D,$))})(r,h,i)},ti=({react:r,tagName:n,elementClass:i,events:l,displayName:c})=>{const h=new Set(Object.keys(l??{})),m=r.forwardRef((D,C)=>{const E=r.useRef(new Map),$=r.useRef(null),P={},R={};for(const[O,
|
|
69
|
+
*/const N$=new Set(["children","localName","ref","style","className"]),OC=new WeakMap,BC=(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,C)=>{let E=OC.get(m);E===void 0&&OC.set(m,E=new Map);let $=E.get(D);C!==void 0?$===void 0?(E.set(D,$={handleEvent:C}),m.addEventListener(D,$)):$.handleEvent=C:$!==void 0&&(E.delete(D),m.removeEventListener(D,$))})(r,h,i)},ti=({react:r,tagName:n,elementClass:i,events:l,displayName:c})=>{const h=new Set(Object.keys(l??{})),m=r.forwardRef((D,C)=>{const E=r.useRef(new Map),$=r.useRef(null),P={},R={};for(const[O,I]of Object.entries(D))N$.has(O)?P[O==="className"?"class":O]=I:h.has(O)||O in i.prototype?R[O]=I:P[O]=I;return r.useLayoutEffect(()=>{if($.current===null)return;const O=new Map;for(const I in R)BC($.current,I,D[I],E.current.get(I),l),E.current.delete(I),O.set(I,D[I]);for(const[I,J]of E.current)BC($.current,I,void 0,J,l);E.current=O}),r.useLayoutEffect(()=>{var O;(O=$.current)==null||O.removeAttribute("defer-hydration")},[]),P.suppressHydrationWarning=!0,r.createElement(n,{...P,ref:r.useCallback(O=>{$.current=O,typeof C=="function"?C(O):C!==null&&(C.current=O)},[C])})});return m.displayName=c??i.name,m};/**
|
|
70
70
|
* @license
|
|
71
71
|
* Copyright 2017 Google LLC
|
|
72
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
73
|
*/const jy=globalThis,zy=jy.trustedTypes,MC=zy?zy.createPolicy("lit-html",{createHTML:r=>r}):void 0,IC="$lit$",xd=`lit$${Math.random().toFixed(9).slice(2)}$`,jC="?"+xd,R$=`<${jC}>`,Pf=document,kg=()=>Pf.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=`[
|
|
74
74
|
\f\r]`,Dg=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zC=/-->/g,UC=/>/g,Nf=RegExp(`>|${Qw}(?:([^\\s"'>=/]+)(${Qw}*=${Qw}*(?:[^
|
|
75
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),HC=/'/g,WC=/"/g,qC=/^(?:script|style|textarea|title)$/i,O$=r=>(n,...i)=>({_$litType$:r,strings:n,values:i}),we=O$(1),vo=Symbol.for("lit-noChange"),Ge=Symbol.for("lit-nothing"),VC=new WeakMap,Rf=Pf.createTreeWalker(Pf,129);function YC(r,n){if(!Jw(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return MC!==void 0?MC.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 C=r[D];let E,$,P=-1,R=0;for(;R<C.length&&(m.lastIndex=R,$=m.exec(C),$!==null);)R=m.lastIndex,m===Dg?$[1]==="!--"?m=zC:$[1]!==void 0?m=UC:$[2]!==void 0?(qC.test($[2])&&(c=RegExp("</"+$[2],"g")),m=Nf):$[3]!==void 0&&(m=Nf):m===Nf?$[0]===">"?(m=c??Dg,P=-1):$[1]===void 0?P=-2:(P=m.lastIndex-$[2].length,E=$[1],m=$[3]===void 0?Nf:$[3]==='"'?WC:HC):m===WC||m===HC?m=Nf:m===zC||m===UC?m=Dg:(m=Nf,c=void 0);const O=m===Nf&&r[D+1].startsWith("/>")?" ":"";h+=m===Dg?C+R$:P>=0?(l.push(E),C.slice(0,P)+IC+C.slice(P)+xd+O):C+xd+(P===-2?D:O)}return[YC(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,C=this.parts,[E,$]=B$(n,i);if(this.el=Sg.createElement(E,l),Rf.currentNode=this.el.content,i===2||i===3){const P=this.el.content.firstChild;P.replaceWith(...P.childNodes)}for(;(c=Rf.nextNode())!==null&&C.length<D;){if(c.nodeType===1){if(c.hasAttributes())for(const P of c.getAttributeNames())if(P.endsWith(IC)){const R=$[m++],O=c.getAttribute(P).split(xd),
|
|
75
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),HC=/'/g,WC=/"/g,qC=/^(?:script|style|textarea|title)$/i,O$=r=>(n,...i)=>({_$litType$:r,strings:n,values:i}),we=O$(1),vo=Symbol.for("lit-noChange"),Ge=Symbol.for("lit-nothing"),VC=new WeakMap,Rf=Pf.createTreeWalker(Pf,129);function YC(r,n){if(!Jw(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return MC!==void 0?MC.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 C=r[D];let E,$,P=-1,R=0;for(;R<C.length&&(m.lastIndex=R,$=m.exec(C),$!==null);)R=m.lastIndex,m===Dg?$[1]==="!--"?m=zC:$[1]!==void 0?m=UC:$[2]!==void 0?(qC.test($[2])&&(c=RegExp("</"+$[2],"g")),m=Nf):$[3]!==void 0&&(m=Nf):m===Nf?$[0]===">"?(m=c??Dg,P=-1):$[1]===void 0?P=-2:(P=m.lastIndex-$[2].length,E=$[1],m=$[3]===void 0?Nf:$[3]==='"'?WC:HC):m===WC||m===HC?m=Nf:m===zC||m===UC?m=Dg:(m=Nf,c=void 0);const O=m===Nf&&r[D+1].startsWith("/>")?" ":"";h+=m===Dg?C+R$:P>=0?(l.push(E),C.slice(0,P)+IC+C.slice(P)+xd+O):C+xd+(P===-2?D:O)}return[YC(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,C=this.parts,[E,$]=B$(n,i);if(this.el=Sg.createElement(E,l),Rf.currentNode=this.el.content,i===2||i===3){const P=this.el.content.firstChild;P.replaceWith(...P.childNodes)}for(;(c=Rf.nextNode())!==null&&C.length<D;){if(c.nodeType===1){if(c.hasAttributes())for(const P of c.getAttributeNames())if(P.endsWith(IC)){const R=$[m++],O=c.getAttribute(P).split(xd),I=/([.?@])?(.*)/.exec(R);C.push({type:1,index:h,name:I[2],strings:O,ctor:I[1]==="."?I$:I[1]==="?"?j$:I[1]==="@"?z$:Uy}),c.removeAttribute(P)}else P.startsWith(xd)&&(C.push({type:6,index:h}),c.removeAttribute(P));if(qC.test(c.tagName)){const P=c.textContent.split(xd),R=P.length-1;if(R>0){c.textContent=zy?zy.emptyScript:"";for(let O=0;O<R;O++)c.append(P[O],kg()),Rf.nextNode(),C.push({type:2,index:++h});c.append(P[R],kg())}}}else if(c.nodeType===8)if(c.data===jC)C.push({type:2,index:h});else{let P=-1;for(;(P=c.data.indexOf(xd,P+1))!==-1;)C.push({type:7,index:h}),P+=xd.length-1}h++}}static createElement(n,i){const l=Pf.createElement("template");return l.innerHTML=n,l}}function vh(r,n,i=r,l){var c,h;if(n===vo)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)??Pf).importNode(i,!0);Rf.currentNode=c;let h=Rf.nextNode(),m=0,D=0,C=l[0];for(;C!==void 0;){if(m===C.index){let E;C.type===2?E=new yh(h,h.nextSibling,this,n):C.type===1?E=new C.ctor(h,C.name,C.strings,this,n):C.type===6&&(E=new U$(h,this,n)),this._$AV.push(E),C=l[++D]}m!==(C==null?void 0:C.index)&&(h=Rf.nextNode(),m++)}return Rf.currentNode=Pf,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=Ge,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===Ge||n==null||n===""?(this._$AH!==Ge&&this._$AR(),this._$AH=Ge):n!==this._$AH&&n!==vo&&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!==Ge&&wg(this._$AH)?this._$AA.nextSibling.data=n:this.T(Pf.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(YC(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=VC.get(n.strings);return i===void 0&&VC.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=Ge,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=Ge}_$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!==vo,m&&(this._$AH=n);else{const D=n;let C,E;for(n=h[0],C=0;C<h.length-1;C++)E=vh(this,D[l+C],i,C),E===vo&&(E=this._$AH[C]),m||(m=!wg(E)||E!==this._$AH[C]),E===Ge?n=Ge:n!==Ge&&(n+=(E??"")+h[C+1]),this._$AH[C]=E}m&&!c&&this.j(n)}j(n){n===Ge?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,n??"")}}class I$ extends Uy{constructor(){super(...arguments),this.type=3}j(n){this.element[this.name]=n===Ge?void 0:n}}class j$ extends Uy{constructor(){super(...arguments),this.type=4}j(n){this.element.toggleAttribute(this.name,!!n&&n!==Ge)}}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)??Ge)===vo)return;const l=this._$AH,c=n===Ge&&l!==Ge||n.capture!==l.capture||n.once!==l.once||n.passive!==l.passive,h=n!==Ge&&(l===Ge||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},GC=jy.litHtmlPolyfillSupport;GC==null||GC(Sg,yh),(jy.litHtmlVersions??(jy.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};/**
|
|
76
76
|
* @license
|
|
77
77
|
* Copyright 2017 Google LLC
|
|
78
78
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -100,7 +100,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
100
100
|
*
|
|
101
101
|
* This source code is licensed under the MIT license found in the
|
|
102
102
|
* LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/var rx;function rP(){if(rx)return gn;rx=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"),C=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),P=Symbol.iterator;function R(Q){return Q===null||typeof Q!="object"?null:(Q=P&&Q[P]||Q["@@iterator"],typeof Q=="function"?Q:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},
|
|
103
|
+
*/var rx;function rP(){if(rx)return gn;rx=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"),C=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),P=Symbol.iterator;function R(Q){return Q===null||typeof Q!="object"?null:(Q=P&&Q[P]||Q["@@iterator"],typeof Q=="function"?Q:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},I=Object.assign,J={};function V(Q,le,it){this.props=Q,this.context=le,this.refs=J,this.updater=it||O}V.prototype.isReactComponent={},V.prototype.setState=function(Q,le){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,le,"setState")},V.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};function De(){}De.prototype=V.prototype;function q(Q,le,it){this.props=Q,this.context=le,this.refs=J,this.updater=it||O}var W=q.prototype=new De;W.constructor=q,I(W,V.prototype),W.isPureReactComponent=!0;var K=Array.isArray,X=Object.prototype.hasOwnProperty,ae={current:null},ue={key:!0,ref:!0,__self:!0,__source:!0};function xe(Q,le,it){var Je,pt={},lt=null,gt=null;if(le!=null)for(Je in le.ref!==void 0&&(gt=le.ref),le.key!==void 0&&(lt=""+le.key),le)X.call(le,Je)&&!ue.hasOwnProperty(Je)&&(pt[Je]=le[Je]);var vt=arguments.length-2;if(vt===1)pt.children=it;else if(1<vt){for(var Et=Array(vt),tn=0;tn<vt;tn++)Et[tn]=arguments[tn+2];pt.children=Et}if(Q&&Q.defaultProps)for(Je in vt=Q.defaultProps,vt)pt[Je]===void 0&&(pt[Je]=vt[Je]);return{$$typeof:r,type:Q,key:lt,ref:gt,props:pt,_owner:ae.current}}function ye(Q,le){return{$$typeof:r,type:Q.type,key:le,ref:Q.ref,props:Q.props,_owner:Q._owner}}function Ye(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===r}function We(Q){var le={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(it){return le[it]})}var Me=/\/+/g;function Qe(Q,le){return typeof Q=="object"&&Q!==null&&Q.key!=null?We(""+Q.key):le.toString(36)}function Ie(Q,le,it,Je,pt){var lt=typeof Q;(lt==="undefined"||lt==="boolean")&&(Q=null);var gt=!1;if(Q===null)gt=!0;else switch(lt){case"string":case"number":gt=!0;break;case"object":switch(Q.$$typeof){case r:case n:gt=!0}}if(gt)return gt=Q,pt=pt(gt),Q=Je===""?"."+Qe(gt,0):Je,K(pt)?(it="",Q!=null&&(it=Q.replace(Me,"$&/")+"/"),Ie(pt,le,it,"",function(tn){return tn})):pt!=null&&(Ye(pt)&&(pt=ye(pt,it+(!pt.key||gt&>.key===pt.key?"":(""+pt.key).replace(Me,"$&/")+"/")+Q)),le.push(pt)),1;if(gt=0,Je=Je===""?".":Je+":",K(Q))for(var vt=0;vt<Q.length;vt++){lt=Q[vt];var Et=Je+Qe(lt,vt);gt+=Ie(lt,le,it,Et,pt)}else if(Et=R(Q),typeof Et=="function")for(Q=Et.call(Q),vt=0;!(lt=Q.next()).done;)lt=lt.value,Et=Je+Qe(lt,vt++),gt+=Ie(lt,le,it,Et,pt);else if(lt==="object")throw le=String(Q),Error("Objects are not valid as a React child (found: "+(le==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":le)+"). If you meant to render a collection of children, use an array instead.");return gt}function at(Q,le,it){if(Q==null)return Q;var Je=[],pt=0;return Ie(Q,Je,"","",function(lt){return le.call(it,lt,pt++)}),Je}function Le(Q){if(Q._status===-1){var le=Q._result;le=le(),le.then(function(it){(Q._status===0||Q._status===-1)&&(Q._status=1,Q._result=it)},function(it){(Q._status===0||Q._status===-1)&&(Q._status=2,Q._result=it)}),Q._status===-1&&(Q._status=0,Q._result=le)}if(Q._status===1)return Q._result.default;throw Q._result}var Ae={current:null},ce={transition:null},Ne={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:ce,ReactCurrentOwner:ae};function Se(){throw Error("act(...) is not supported in production builds of React.")}return gn.Children={map:at,forEach:function(Q,le,it){at(Q,function(){le.apply(this,arguments)},it)},count:function(Q){var le=0;return at(Q,function(){le++}),le},toArray:function(Q){return at(Q,function(le){return le})||[]},only:function(Q){if(!Ye(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=C,gn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ne,gn.act=Se,gn.cloneElement=function(Q,le,it){if(Q==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+Q+".");var Je=I({},Q.props),pt=Q.key,lt=Q.ref,gt=Q._owner;if(le!=null){if(le.ref!==void 0&&(lt=le.ref,gt=ae.current),le.key!==void 0&&(pt=""+le.key),Q.type&&Q.type.defaultProps)var vt=Q.type.defaultProps;for(Et in le)X.call(le,Et)&&!ue.hasOwnProperty(Et)&&(Je[Et]=le[Et]===void 0&&vt!==void 0?vt[Et]:le[Et])}var Et=arguments.length-2;if(Et===1)Je.children=it;else if(1<Et){vt=Array(Et);for(var tn=0;tn<Et;tn++)vt[tn]=arguments[tn+2];Je.children=vt}return{$$typeof:r,type:Q.type,key:pt,ref:lt,props:Je,_owner:gt}},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=xe,gn.createFactory=function(Q){var le=xe.bind(null,Q);return le.type=Q,le},gn.createRef=function(){return{current:null}},gn.forwardRef=function(Q){return{$$typeof:D,render:Q}},gn.isValidElement=Ye,gn.lazy=function(Q){return{$$typeof:$,_payload:{_status:-1,_result:Q},_init:Le}},gn.memo=function(Q,le){return{$$typeof:E,type:Q,compare:le===void 0?null:le}},gn.startTransition=function(Q){var le=ce.transition;ce.transition={};try{Q()}finally{ce.transition=le}},gn.unstable_act=Se,gn.useCallback=function(Q,le){return Ae.current.useCallback(Q,le)},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,le){return Ae.current.useEffect(Q,le)},gn.useId=function(){return Ae.current.useId()},gn.useImperativeHandle=function(Q,le,it){return Ae.current.useImperativeHandle(Q,le,it)},gn.useInsertionEffect=function(Q,le){return Ae.current.useInsertionEffect(Q,le)},gn.useLayoutEffect=function(Q,le){return Ae.current.useLayoutEffect(Q,le)},gn.useMemo=function(Q,le){return Ae.current.useMemo(Q,le)},gn.useReducer=function(Q,le,it){return Ae.current.useReducer(Q,le,it)},gn.useRef=function(Q){return Ae.current.useRef(Q)},gn.useState=function(Q){return Ae.current.useState(Q)},gn.useSyncExternalStore=function(Q,le,it){return Ae.current.useSyncExternalStore(Q,le,it)},gn.useTransition=function(){return Ae.current.useTransition()},gn.version="18.3.1",gn}var qy={exports:{}};/**
|
|
104
104
|
* @license React
|
|
105
105
|
* react.development.js
|
|
106
106
|
*
|
|
@@ -108,7 +108,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
108
108
|
*
|
|
109
109
|
* This source code is licensed under the MIT license found in the
|
|
110
110
|
* LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/qy.exports;var ax;function aP(){return ax||(ax=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"),C=Symbol.for("react.provider"),E=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),J=Symbol.for("react.offscreen"),V=Symbol.iterator,De="@@iterator";function q(A){if(A===null||typeof A!="object")return null;var Y=V&&A[V]||A[De];return typeof Y=="function"?Y:null}var W={current:null},K={transition:null},X={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ae={current:null},ue={},xe=null;function ye(A){xe=A}ue.setExtraStackFrame=function(A){xe=A},ue.getCurrentStack=null,ue.getStackAddendum=function(){var A="";xe&&(A+=xe);var Y=ue.getCurrentStack;return Y&&(A+=Y()||""),A};var Ye=!1,We=!1,Me=!1,Qe=!1,Ie=!1,at={ReactCurrentDispatcher:W,ReactCurrentBatchConfig:K,ReactCurrentOwner:ae};at.ReactDebugCurrentFrame=ue,at.ReactCurrentActQueue=X;function Le(A){{for(var Y=arguments.length,he=new Array(Y>1?Y-1:0),ke=1;ke<Y;ke++)he[ke-1]=arguments[ke];ce("warn",A,he)}}function Ae(A){{for(var Y=arguments.length,he=new Array(Y>1?Y-1:0),ke=1;ke<Y;ke++)he[ke-1]=arguments[ke];ce("error",A,he)}}function ce(A,Y,he){{var ke=at.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(Y+="%s",he=he.concat([He]));var Ft=he.map(function(Ke){return String(Ke)});Ft.unshift("Warning: "+Y),Function.prototype.apply.call(console[A],console,Ft)}}var Ne={};function Se(A,Y){{var he=A.constructor,ke=he&&(he.displayName||he.name)||"ReactClass",He=ke+"."+Y;if(Ne[He])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.",Y,ke),Ne[He]=!0}}var Q={isMounted:function(A){return!1},enqueueForceUpdate:function(A,Y,he){Se(A,"forceUpdate")},enqueueReplaceState:function(A,Y,he,ke){Se(A,"replaceState")},enqueueSetState:function(A,Y,he,ke){Se(A,"setState")}},le=Object.assign,it={};Object.freeze(it);function Je(A,Y,he){this.props=A,this.context=Y,this.refs=it,this.updater=he||Q}Je.prototype.isReactComponent={},Je.prototype.setState=function(A,Y){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,Y,"setState")},Je.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};{var pt={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,Y){Object.defineProperty(Je.prototype,A,{get:function(){Le("%s(...) is deprecated in plain JavaScript React classes. %s",Y[0],Y[1])}})};for(var gt in pt)pt.hasOwnProperty(gt)&<(gt,pt[gt])}function vt(){}vt.prototype=Je.prototype;function Et(A,Y,he){this.props=A,this.context=Y,this.refs=it,this.updater=he||Q}var tn=Et.prototype=new vt;tn.constructor=Et,le(tn,Je.prototype),tn.isPureReactComponent=!0;function zt(){var A={current:null};return Object.seal(A),A}var zn=Array.isArray;function At(A){return zn(A)}function ot(A){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,he=Y&&A[Symbol.toStringTag]||A.constructor.name||"Object";return he}}function Un(A){try{return yn(A),!1}catch{return!0}}function yn(A){return""+A}function br(A){if(Un(A))return Ae("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ot(A)),yn(A)}function Xi(A,Y,he){var ke=A.displayName;if(ke)return ke;var He=Y.displayName||Y.name||"";return He!==""?he+"("+He+")":he}function Rr(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 P:return"Suspense";case R:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case E:var Y=A;return Rr(Y)+".Consumer";case C:var he=A;return Rr(he._context)+".Provider";case $:return Xi(A,A.render,"ForwardRef");case O:var ke=A.displayName||null;return ke!==null?ke:kr(A.type)||"Memo";case j:{var He=A,Ft=He._payload,Ke=He._init;try{return kr(Ke(Ft))}catch{return null}}}return null}var Zn=Object.prototype.hasOwnProperty,un={key:!0,ref:!0,__self:!0,__source:!0},bn,sn,pe;pe={};function ee(A){if(Zn.call(A,"ref")){var Y=Object.getOwnPropertyDescriptor(A,"ref").get;if(Y&&Y.isReactWarning)return!1}return A.ref!==void 0}function be(A){if(Zn.call(A,"key")){var Y=Object.getOwnPropertyDescriptor(A,"key").get;if(Y&&Y.isReactWarning)return!1}return A.key!==void 0}function Pe(A,Y){var he=function(){bn||(bn=!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)",Y))};he.isReactWarning=!0,Object.defineProperty(A,"key",{get:he,configurable:!0})}function Ee(A,Y){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)",Y))};he.isReactWarning=!0,Object.defineProperty(A,"ref",{get:he,configurable:!0})}function Be(A){if(typeof A.ref=="string"&&ae.current&&A.__self&&ae.current.stateNode!==A.__self){var Y=kr(ae.current.type);pe[Y]||(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',Y,A.ref),pe[Y]=!0)}}var Xe=function(A,Y,he,ke,He,Ft,Ke){var $t={$$typeof:l,type:A,key:Y,ref:he,props:Ke,_owner:Ft};return $t._store={},Object.defineProperty($t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($t,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty($t,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze($t.props),Object.freeze($t)),$t};function _t(A,Y,he){var ke,He={},Ft=null,Ke=null,$t=null,ln=null;if(Y!=null){ee(Y)&&(Ke=Y.ref,Be(Y)),be(Y)&&(br(Y.key),Ft=""+Y.key),$t=Y.__self===void 0?null:Y.__self,ln=Y.__source===void 0?null:Y.__source;for(ke in Y)Zn.call(Y,ke)&&!un.hasOwnProperty(ke)&&(He[ke]=Y[ke])}var Dn=arguments.length-2;if(Dn===1)He.children=he;else if(Dn>1){for(var Wn=Array(Dn),qn=0;qn<Dn;qn++)Wn[qn]=arguments[qn+2];Object.freeze&&Object.freeze(Wn),He.children=Wn}if(A&&A.defaultProps){var Yt=A.defaultProps;for(ke in Yt)He[ke]===void 0&&(He[ke]=Yt[ke])}if(Ft||Ke){var Vn=typeof A=="function"?A.displayName||A.name||"Unknown":A;Ft&&Pe(He,Vn),Ke&&Ee(He,Vn)}return Xe(A,Ft,Ke,$t,ln,ae.current,He)}function Ut(A,Y){var he=Xe(A.type,Y,A.ref,A._self,A._source,A._owner,A.props);return he}function Sn(A,Y,he){if(A==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var ke,He=le({},A.props),Ft=A.key,Ke=A.ref,$t=A._self,ln=A._source,Dn=A._owner;if(Y!=null){ee(Y)&&(Ke=Y.ref,Dn=ae.current),be(Y)&&(br(Y.key),Ft=""+Y.key);var Wn;A.type&&A.type.defaultProps&&(Wn=A.type.defaultProps);for(ke in Y)Zn.call(Y,ke)&&!un.hasOwnProperty(ke)&&(Y[ke]===void 0&&Wn!==void 0?He[ke]=Wn[ke]:He[ke]=Y[ke])}var qn=arguments.length-2;if(qn===1)He.children=he;else if(qn>1){for(var Yt=Array(qn),Vn=0;Vn<qn;Vn++)Yt[Vn]=arguments[Vn+2];He.children=Yt}return Xe(A.type,Ft,Ke,$t,ln,Dn,He)}function _n(A){return typeof A=="object"&&A!==null&&A.$$typeof===l}var Er=".",kn=":";function ha(A){var Y=/[=:]/g,he={"=":"=0",":":"=2"},ke=A.replace(Y,function(He){return he[He]});return"$"+ke}var mr=!1,Hn=/\/+/g;function ma(A){return A.replace(Hn,"$&/")}function ga(A,Y){return typeof A=="object"&&A!==null&&A.key!=null?(br(A.key),ha(""+A.key)):Y.toString(36)}function Si(A,Y,he,ke,He){var Ft=typeof A;(Ft==="undefined"||Ft==="boolean")&&(A=null);var Ke=!1;if(A===null)Ke=!0;else switch(Ft){case"string":case"number":Ke=!0;break;case"object":switch(A.$$typeof){case l:case c:Ke=!0}}if(Ke){var $t=A,ln=He($t),Dn=ke===""?Er+ga($t,0):ke;if(At(ln)){var Wn="";Dn!=null&&(Wn=ma(Dn)+"/"),Si(ln,Y,Wn,"",function(ip){return ip})}else ln!=null&&(_n(ln)&&(ln.key&&(!$t||$t.key!==ln.key)&&br(ln.key),ln=Ut(ln,he+(ln.key&&(!$t||$t.key!==ln.key)?ma(""+ln.key)+"/":"")+Dn)),Y.push(ln));return 1}var qn,Yt,Vn=0,gr=ke===""?Er:ke+kn;if(At(A))for(var Ms=0;Ms<A.length;Ms++)qn=A[Ms],Yt=gr+ga(qn,Ms),Vn+=Si(qn,Y,he,Yt,He);else{var Ac=q(A);if(typeof Ac=="function"){var as=A;Ac===as.entries&&(mr||Le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mr=!0);for(var $c=Ac.call(as),_l,Md=0;!(_l=$c.next()).done;)qn=_l.value,Yt=gr+ga(qn,Md++),Vn+=Si(qn,Y,he,Yt,He)}else if(Ft==="object"){var Id=String(A);throw new Error("Objects are not valid as a React child (found: "+(Id==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Id)+"). If you meant to render a collection of children, use an array instead.")}}return Vn}function Co(A,Y,he){if(A==null)return A;var ke=[],He=0;return Si(A,ke,"","",function(Ft){return Y.call(he,Ft,He++)}),ke}function vl(A){var Y=0;return Co(A,function(){Y++}),Y}function yl(A,Y,he){Co(A,function(){Y.apply(this,arguments)},he)}function Ps(A){return Co(A,function(Y){return Y})||[]}function Ji(A){if(!_n(A))throw new Error("React.Children.only expected to receive a single React element child.");return A}function Ci(A){var Y={$$typeof:E,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};Y.Provider={$$typeof:C,_context:Y};var he=!1,ke=!1,He=!1;{var Ft={$$typeof:E,_context:Y};Object.defineProperties(Ft,{Provider:{get:function(){return ke||(ke=!0,Ae("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),Y.Provider},set:function(Ke){Y.Provider=Ke}},_currentValue:{get:function(){return Y._currentValue},set:function(Ke){Y._currentValue=Ke}},_currentValue2:{get:function(){return Y._currentValue2},set:function(Ke){Y._currentValue2=Ke}},_threadCount:{get:function(){return Y._threadCount},set:function(Ke){Y._threadCount=Ke}},Consumer:{get:function(){return he||(he=!0,Ae("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),Y.Consumer}},displayName:{get:function(){return Y.displayName},set:function(Ke){He||(Le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Ke),He=!0)}}}),Y.Consumer=Ft}return Y._currentRenderer=null,Y._currentRenderer2=null,Y}var lr=-1,xa=0,aa=1,xo=2;function xi(A){if(A._status===lr){var Y=A._result,he=Y();if(he.then(function(Ft){if(A._status===xa||A._status===lr){var Ke=A;Ke._status=aa,Ke._result=Ft}},function(Ft){if(A._status===xa||A._status===lr){var Ke=A;Ke._status=xo,Ke._result=Ft}}),A._status===lr){var ke=A;ke._status=xa,ke._result=he}}if(A._status===aa){var He=A._result;return He===void 0&&Ae(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
111
|
+
*/qy.exports;var ax;function aP(){return ax||(ax=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"),C=Symbol.for("react.provider"),E=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),R=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),J=Symbol.for("react.offscreen"),V=Symbol.iterator,De="@@iterator";function q(A){if(A===null||typeof A!="object")return null;var Y=V&&A[V]||A[De];return typeof Y=="function"?Y:null}var W={current:null},K={transition:null},X={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ae={current:null},ue={},xe=null;function ye(A){xe=A}ue.setExtraStackFrame=function(A){xe=A},ue.getCurrentStack=null,ue.getStackAddendum=function(){var A="";xe&&(A+=xe);var Y=ue.getCurrentStack;return Y&&(A+=Y()||""),A};var Ye=!1,We=!1,Me=!1,Qe=!1,Ie=!1,at={ReactCurrentDispatcher:W,ReactCurrentBatchConfig:K,ReactCurrentOwner:ae};at.ReactDebugCurrentFrame=ue,at.ReactCurrentActQueue=X;function Le(A){{for(var Y=arguments.length,he=new Array(Y>1?Y-1:0),ke=1;ke<Y;ke++)he[ke-1]=arguments[ke];ce("warn",A,he)}}function Ae(A){{for(var Y=arguments.length,he=new Array(Y>1?Y-1:0),ke=1;ke<Y;ke++)he[ke-1]=arguments[ke];ce("error",A,he)}}function ce(A,Y,he){{var ke=at.ReactDebugCurrentFrame,He=ke.getStackAddendum();He!==""&&(Y+="%s",he=he.concat([He]));var Ft=he.map(function(Ke){return String(Ke)});Ft.unshift("Warning: "+Y),Function.prototype.apply.call(console[A],console,Ft)}}var Ne={};function Se(A,Y){{var he=A.constructor,ke=he&&(he.displayName||he.name)||"ReactClass",He=ke+"."+Y;if(Ne[He])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.",Y,ke),Ne[He]=!0}}var Q={isMounted:function(A){return!1},enqueueForceUpdate:function(A,Y,he){Se(A,"forceUpdate")},enqueueReplaceState:function(A,Y,he,ke){Se(A,"replaceState")},enqueueSetState:function(A,Y,he,ke){Se(A,"setState")}},le=Object.assign,it={};Object.freeze(it);function Je(A,Y,he){this.props=A,this.context=Y,this.refs=it,this.updater=he||Q}Je.prototype.isReactComponent={},Je.prototype.setState=function(A,Y){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,Y,"setState")},Je.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};{var pt={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,Y){Object.defineProperty(Je.prototype,A,{get:function(){Le("%s(...) is deprecated in plain JavaScript React classes. %s",Y[0],Y[1])}})};for(var gt in pt)pt.hasOwnProperty(gt)&<(gt,pt[gt])}function vt(){}vt.prototype=Je.prototype;function Et(A,Y,he){this.props=A,this.context=Y,this.refs=it,this.updater=he||Q}var tn=Et.prototype=new vt;tn.constructor=Et,le(tn,Je.prototype),tn.isPureReactComponent=!0;function zt(){var A={current:null};return Object.seal(A),A}var zn=Array.isArray;function At(A){return zn(A)}function ot(A){{var Y=typeof Symbol=="function"&&Symbol.toStringTag,he=Y&&A[Symbol.toStringTag]||A.constructor.name||"Object";return he}}function Un(A){try{return yn(A),!1}catch{return!0}}function yn(A){return""+A}function br(A){if(Un(A))return Ae("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ot(A)),yn(A)}function Xi(A,Y,he){var ke=A.displayName;if(ke)return ke;var He=Y.displayName||Y.name||"";return He!==""?he+"("+He+")":he}function Rr(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 P:return"Suspense";case R:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case E:var Y=A;return Rr(Y)+".Consumer";case C:var he=A;return Rr(he._context)+".Provider";case $:return Xi(A,A.render,"ForwardRef");case O:var ke=A.displayName||null;return ke!==null?ke:kr(A.type)||"Memo";case I:{var He=A,Ft=He._payload,Ke=He._init;try{return kr(Ke(Ft))}catch{return null}}}return null}var Zn=Object.prototype.hasOwnProperty,un={key:!0,ref:!0,__self:!0,__source:!0},bn,sn,pe;pe={};function ee(A){if(Zn.call(A,"ref")){var Y=Object.getOwnPropertyDescriptor(A,"ref").get;if(Y&&Y.isReactWarning)return!1}return A.ref!==void 0}function be(A){if(Zn.call(A,"key")){var Y=Object.getOwnPropertyDescriptor(A,"key").get;if(Y&&Y.isReactWarning)return!1}return A.key!==void 0}function Pe(A,Y){var he=function(){bn||(bn=!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)",Y))};he.isReactWarning=!0,Object.defineProperty(A,"key",{get:he,configurable:!0})}function Ee(A,Y){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)",Y))};he.isReactWarning=!0,Object.defineProperty(A,"ref",{get:he,configurable:!0})}function Be(A){if(typeof A.ref=="string"&&ae.current&&A.__self&&ae.current.stateNode!==A.__self){var Y=kr(ae.current.type);pe[Y]||(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',Y,A.ref),pe[Y]=!0)}}var Xe=function(A,Y,he,ke,He,Ft,Ke){var $t={$$typeof:l,type:A,key:Y,ref:he,props:Ke,_owner:Ft};return $t._store={},Object.defineProperty($t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($t,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.defineProperty($t,"_source",{configurable:!1,enumerable:!1,writable:!1,value:He}),Object.freeze&&(Object.freeze($t.props),Object.freeze($t)),$t};function _t(A,Y,he){var ke,He={},Ft=null,Ke=null,$t=null,ln=null;if(Y!=null){ee(Y)&&(Ke=Y.ref,Be(Y)),be(Y)&&(br(Y.key),Ft=""+Y.key),$t=Y.__self===void 0?null:Y.__self,ln=Y.__source===void 0?null:Y.__source;for(ke in Y)Zn.call(Y,ke)&&!un.hasOwnProperty(ke)&&(He[ke]=Y[ke])}var Dn=arguments.length-2;if(Dn===1)He.children=he;else if(Dn>1){for(var Wn=Array(Dn),qn=0;qn<Dn;qn++)Wn[qn]=arguments[qn+2];Object.freeze&&Object.freeze(Wn),He.children=Wn}if(A&&A.defaultProps){var Yt=A.defaultProps;for(ke in Yt)He[ke]===void 0&&(He[ke]=Yt[ke])}if(Ft||Ke){var Vn=typeof A=="function"?A.displayName||A.name||"Unknown":A;Ft&&Pe(He,Vn),Ke&&Ee(He,Vn)}return Xe(A,Ft,Ke,$t,ln,ae.current,He)}function Ut(A,Y){var he=Xe(A.type,Y,A.ref,A._self,A._source,A._owner,A.props);return he}function Sn(A,Y,he){if(A==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var ke,He=le({},A.props),Ft=A.key,Ke=A.ref,$t=A._self,ln=A._source,Dn=A._owner;if(Y!=null){ee(Y)&&(Ke=Y.ref,Dn=ae.current),be(Y)&&(br(Y.key),Ft=""+Y.key);var Wn;A.type&&A.type.defaultProps&&(Wn=A.type.defaultProps);for(ke in Y)Zn.call(Y,ke)&&!un.hasOwnProperty(ke)&&(Y[ke]===void 0&&Wn!==void 0?He[ke]=Wn[ke]:He[ke]=Y[ke])}var qn=arguments.length-2;if(qn===1)He.children=he;else if(qn>1){for(var Yt=Array(qn),Vn=0;Vn<qn;Vn++)Yt[Vn]=arguments[Vn+2];He.children=Yt}return Xe(A.type,Ft,Ke,$t,ln,Dn,He)}function _n(A){return typeof A=="object"&&A!==null&&A.$$typeof===l}var Er=".",kn=":";function ha(A){var Y=/[=:]/g,he={"=":"=0",":":"=2"},ke=A.replace(Y,function(He){return he[He]});return"$"+ke}var mr=!1,Hn=/\/+/g;function ma(A){return A.replace(Hn,"$&/")}function ga(A,Y){return typeof A=="object"&&A!==null&&A.key!=null?(br(A.key),ha(""+A.key)):Y.toString(36)}function Si(A,Y,he,ke,He){var Ft=typeof A;(Ft==="undefined"||Ft==="boolean")&&(A=null);var Ke=!1;if(A===null)Ke=!0;else switch(Ft){case"string":case"number":Ke=!0;break;case"object":switch(A.$$typeof){case l:case c:Ke=!0}}if(Ke){var $t=A,ln=He($t),Dn=ke===""?Er+ga($t,0):ke;if(At(ln)){var Wn="";Dn!=null&&(Wn=ma(Dn)+"/"),Si(ln,Y,Wn,"",function(ip){return ip})}else ln!=null&&(_n(ln)&&(ln.key&&(!$t||$t.key!==ln.key)&&br(ln.key),ln=Ut(ln,he+(ln.key&&(!$t||$t.key!==ln.key)?ma(""+ln.key)+"/":"")+Dn)),Y.push(ln));return 1}var qn,Yt,Vn=0,gr=ke===""?Er:ke+kn;if(At(A))for(var Ms=0;Ms<A.length;Ms++)qn=A[Ms],Yt=gr+ga(qn,Ms),Vn+=Si(qn,Y,he,Yt,He);else{var Ac=q(A);if(typeof Ac=="function"){var as=A;Ac===as.entries&&(mr||Le("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),mr=!0);for(var $c=Ac.call(as),_l,Md=0;!(_l=$c.next()).done;)qn=_l.value,Yt=gr+ga(qn,Md++),Vn+=Si(qn,Y,he,Yt,He)}else if(Ft==="object"){var Id=String(A);throw new Error("Objects are not valid as a React child (found: "+(Id==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Id)+"). If you meant to render a collection of children, use an array instead.")}}return Vn}function Co(A,Y,he){if(A==null)return A;var ke=[],He=0;return Si(A,ke,"","",function(Ft){return Y.call(he,Ft,He++)}),ke}function vl(A){var Y=0;return Co(A,function(){Y++}),Y}function yl(A,Y,he){Co(A,function(){Y.apply(this,arguments)},he)}function Ps(A){return Co(A,function(Y){return Y})||[]}function Ji(A){if(!_n(A))throw new Error("React.Children.only expected to receive a single React element child.");return A}function Ci(A){var Y={$$typeof:E,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};Y.Provider={$$typeof:C,_context:Y};var he=!1,ke=!1,He=!1;{var Ft={$$typeof:E,_context:Y};Object.defineProperties(Ft,{Provider:{get:function(){return ke||(ke=!0,Ae("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),Y.Provider},set:function(Ke){Y.Provider=Ke}},_currentValue:{get:function(){return Y._currentValue},set:function(Ke){Y._currentValue=Ke}},_currentValue2:{get:function(){return Y._currentValue2},set:function(Ke){Y._currentValue2=Ke}},_threadCount:{get:function(){return Y._threadCount},set:function(Ke){Y._threadCount=Ke}},Consumer:{get:function(){return he||(he=!0,Ae("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),Y.Consumer}},displayName:{get:function(){return Y.displayName},set:function(Ke){He||(Le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Ke),He=!0)}}}),Y.Consumer=Ft}return Y._currentRenderer=null,Y._currentRenderer2=null,Y}var lr=-1,xa=0,aa=1,xo=2;function xi(A){if(A._status===lr){var Y=A._result,he=Y();if(he.then(function(Ft){if(A._status===xa||A._status===lr){var Ke=A;Ke._status=aa,Ke._result=Ft}},function(Ft){if(A._status===xa||A._status===lr){var Ke=A;Ke._status=xo,Ke._result=Ft}}),A._status===lr){var ke=A;ke._status=xa,ke._result=he}}if(A._status===aa){var He=A._result;return He===void 0&&Ae(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
112
112
|
|
|
113
113
|
Your code should look like:
|
|
114
114
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -116,7 +116,7 @@ Your code should look like:
|
|
|
116
116
|
Did you accidentally put curly braces around the import?`,He),"default"in He||Ae(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
117
117
|
|
|
118
118
|
Your code should look like:
|
|
119
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,He),He.default}else throw A._result}function _o(A){var Y={_status:lr,_result:A},he={$$typeof:
|
|
119
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,He),He.default}else throw A._result}function _o(A){var Y={_status:lr,_result:A},he={$$typeof:I,_payload:Y,_init:xi};{var ke,He;Object.defineProperties(he,{defaultProps:{configurable:!0,get:function(){return ke},set:function(Ft){Ae("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),ke=Ft,Object.defineProperty(he,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return He},set:function(Ft){Ae("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),He=Ft,Object.defineProperty(he,"propTypes",{enumerable:!0})}}})}return he}function Eo(A){A!=null&&A.$$typeof===O?Ae("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof A!="function"?Ae("forwardRef requires a render function but was given %s.",A===null?"null":typeof A):A.length!==0&&A.length!==2&&Ae("forwardRef render functions accept exactly two parameters: props and ref. %s",A.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),A!=null&&(A.defaultProps!=null||A.propTypes!=null)&&Ae("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var Y={$$typeof:$,render:A};{var he;Object.defineProperty(Y,"displayName",{enumerable:!1,configurable:!0,get:function(){return he},set:function(ke){he=ke,!A.name&&!A.displayName&&(A.displayName=ke)}})}return Y}var G;G=Symbol.for("react.module.reference");function Fe(A){return!!(typeof A=="string"||typeof A=="function"||A===h||A===D||Ie||A===m||A===P||A===R||Qe||A===J||Ye||We||Me||typeof A=="object"&&A!==null&&(A.$$typeof===I||A.$$typeof===O||A.$$typeof===C||A.$$typeof===E||A.$$typeof===$||A.$$typeof===G||A.getModuleId!==void 0))}function et(A,Y){Fe(A)||Ae("memo: The first argument must be a component. Instead received: %s",A===null?"null":typeof A);var he={$$typeof:O,type:A,compare:Y===void 0?null:Y};{var ke;Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return ke},set:function(He){ke=He,!A.name&&!A.displayName&&(A.displayName=He)}})}return he}function ft(){var A=W.current;return A===null&&Ae(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
120
120
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
121
121
|
2. You might be breaking the Rules of Hooks
|
|
122
122
|
3. You might have more than one copy of React in the same app
|
|
@@ -124,7 +124,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
124
124
|
`+eo+A}}var Dl=!1,Ls;{var Cu=typeof WeakMap=="function"?WeakMap:Map;Ls=new Cu}function Sl(A,Y){if(!A||Dl)return"";{var he=Ls.get(A);if(he!==void 0)return he}var ke;Dl=!0;var He=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ft;Ft=ii.current,ii.current=null,es();try{if(Y){var Ke=function(){throw Error()};if(Object.defineProperty(Ke.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ke,[])}catch(gr){ke=gr}Reflect.construct(A,[],Ke)}else{try{Ke.call()}catch(gr){ke=gr}A.call(Ke.prototype)}}else{try{throw Error()}catch(gr){ke=gr}A()}}catch(gr){if(gr&&ke&&typeof gr.stack=="string"){for(var $t=gr.stack.split(`
|
|
125
125
|
`),ln=ke.stack.split(`
|
|
126
126
|
`),Dn=$t.length-1,Wn=ln.length-1;Dn>=1&&Wn>=0&&$t[Dn]!==ln[Wn];)Wn--;for(;Dn>=1&&Wn>=0;Dn--,Wn--)if($t[Dn]!==ln[Wn]){if(Dn!==1||Wn!==1)do if(Dn--,Wn--,Wn<0||$t[Dn]!==ln[Wn]){var qn=`
|
|
127
|
-
`+$t[Dn].replace(" at new "," at ");return A.displayName&&qn.includes("<anonymous>")&&(qn=qn.replace("<anonymous>",A.displayName)),typeof A=="function"&&Ls.set(A,qn),qn}while(Dn>=1&&Wn>=0);break}}}finally{Dl=!1,ii.current=Ft,qa(),Error.prepareStackTrace=He}var Yt=A?A.displayName||A.name:"",Vn=Yt?wl(Yt):"";return typeof A=="function"&&Ls.set(A,Vn),Vn}function oi(A,Y,he){return Sl(A,!1)}function rp(A){var Y=A.prototype;return!!(Y&&Y.isReactComponent)}function ts(A,Y,he){if(A==null)return"";if(typeof A=="function")return Sl(A,rp(A));if(typeof A=="string")return wl(A);switch(A){case P:return wl("Suspense");case R:return wl("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case $:return oi(A.render);case O:return ts(A.type,Y,he);case
|
|
127
|
+
`+$t[Dn].replace(" at new "," at ");return A.displayName&&qn.includes("<anonymous>")&&(qn=qn.replace("<anonymous>",A.displayName)),typeof A=="function"&&Ls.set(A,qn),qn}while(Dn>=1&&Wn>=0);break}}}finally{Dl=!1,ii.current=Ft,qa(),Error.prepareStackTrace=He}var Yt=A?A.displayName||A.name:"",Vn=Yt?wl(Yt):"";return typeof A=="function"&&Ls.set(A,Vn),Vn}function oi(A,Y,he){return Sl(A,!1)}function rp(A){var Y=A.prototype;return!!(Y&&Y.isReactComponent)}function ts(A,Y,he){if(A==null)return"";if(typeof A=="function")return Sl(A,rp(A));if(typeof A=="string")return wl(A);switch(A){case P:return wl("Suspense");case R:return wl("SuspenseList")}if(typeof A=="object")switch(A.$$typeof){case $:return oi(A.render);case O:return ts(A.type,Y,he);case I:{var ke=A,He=ke._payload,Ft=ke._init;try{return ts(Ft(He),Y,he)}catch{}}}return""}var En={},xu=at.ReactDebugCurrentFrame;function wn(A){if(A){var Y=A._owner,he=ts(A.type,A._source,Y?Y.type:null);xu.setExtraStackFrame(he)}else xu.setExtraStackFrame(null)}function To(A,Y,he,ke,He){{var Ft=Function.call.bind(Zn);for(var Ke in A)if(Ft(A,Ke)){var $t=void 0;try{if(typeof A[Ke]!="function"){var ln=Error((ke||"React class")+": "+he+" type `"+Ke+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof A[Ke]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ln.name="Invariant Violation",ln}$t=A[Ke](Y,Ke,ke,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Dn){$t=Dn}$t&&!($t instanceof Error)&&(wn(He),Ae("%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).",ke||"React class",he,Ke,typeof $t),wn(null)),$t instanceof Error&&!($t.message in En)&&(En[$t.message]=!0,wn(He),Ae("Failed %s type: %s",he,$t.message),wn(null))}}}function Fo(A){if(A){var Y=A._owner,he=ts(A.type,A._source,Y?Y.type:null);ye(he)}else ye(null)}var Bt;Bt=!1;function Cl(){if(ae.current){var A=kr(ae.current.type);if(A)return`
|
|
128
128
|
|
|
129
129
|
Check the render method of \``+A+"`."}return""}function oa(A){if(A!==void 0){var Y=A.fileName.replace(/^.*[\\\/]/,""),he=A.lineNumber;return`
|
|
130
130
|
|
|
@@ -138,7 +138,7 @@ Check the top-level render call using <`+he+">.")}return Y}function ur(A,Y){if(!
|
|
|
138
138
|
*
|
|
139
139
|
* This source code is licensed under the MIT license found in the
|
|
140
140
|
* LICENSE file in the root directory of this source tree.
|
|
141
|
-
*/var lx;function iP(){return lx||(lx=1,function(r){function n(ce,Ne){var Se=ce.length;ce.push(Ne);e:for(;0<Se;){var Q=Se-1>>>1,le=ce[Q];if(0<c(le,Ne))ce[Q]=Ne,ce[Se]=le,Se=Q;else break e}}function i(ce){return ce.length===0?null:ce[0]}function l(ce){if(ce.length===0)return null;var Ne=ce[0],Se=ce.pop();if(Se!==Ne){ce[0]=Se;e:for(var Q=0,le=ce.length,it=le>>>1;Q<it;){var Je=2*(Q+1)-1,pt=ce[Je],lt=Je+1,gt=ce[lt];if(0>c(pt,Se))lt<le&&0>c(gt,pt)?(ce[Q]=gt,ce[lt]=Se,Q=lt):(ce[Q]=pt,ce[Je]=Se,Q=Je);else if(lt<le&&0>c(gt,Se))ce[Q]=gt,ce[lt]=Se,Q=lt;else break e}}return Ne}function c(ce,Ne){var Se=ce.sortIndex-Ne.sortIndex;return Se!==0?Se:ce.id-Ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;r.unstable_now=function(){return h.now()}}else{var m=Date,D=m.now();r.unstable_now=function(){return m.now()-D}}var C=[],E=[],$=1,P=null,R=3,O=!1,
|
|
141
|
+
*/var lx;function iP(){return lx||(lx=1,function(r){function n(ce,Ne){var Se=ce.length;ce.push(Ne);e:for(;0<Se;){var Q=Se-1>>>1,le=ce[Q];if(0<c(le,Ne))ce[Q]=Ne,ce[Se]=le,Se=Q;else break e}}function i(ce){return ce.length===0?null:ce[0]}function l(ce){if(ce.length===0)return null;var Ne=ce[0],Se=ce.pop();if(Se!==Ne){ce[0]=Se;e:for(var Q=0,le=ce.length,it=le>>>1;Q<it;){var Je=2*(Q+1)-1,pt=ce[Je],lt=Je+1,gt=ce[lt];if(0>c(pt,Se))lt<le&&0>c(gt,pt)?(ce[Q]=gt,ce[lt]=Se,Q=lt):(ce[Q]=pt,ce[Je]=Se,Q=Je);else if(lt<le&&0>c(gt,Se))ce[Q]=gt,ce[lt]=Se,Q=lt;else break e}}return Ne}function c(ce,Ne){var Se=ce.sortIndex-Ne.sortIndex;return Se!==0?Se:ce.id-Ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var h=performance;r.unstable_now=function(){return h.now()}}else{var m=Date,D=m.now();r.unstable_now=function(){return m.now()-D}}var C=[],E=[],$=1,P=null,R=3,O=!1,I=!1,J=!1,V=typeof setTimeout=="function"?setTimeout:null,De=typeof clearTimeout=="function"?clearTimeout:null,q=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function W(ce){for(var Ne=i(E);Ne!==null;){if(Ne.callback===null)l(E);else if(Ne.startTime<=ce)l(E),Ne.sortIndex=Ne.expirationTime,n(C,Ne);else break;Ne=i(E)}}function K(ce){if(J=!1,W(ce),!I)if(i(C)!==null)I=!0,Le(X);else{var Ne=i(E);Ne!==null&&Ae(K,Ne.startTime-ce)}}function X(ce,Ne){I=!1,J&&(J=!1,De(xe),xe=-1),O=!0;var Se=R;try{for(W(Ne),P=i(C);P!==null&&(!(P.expirationTime>Ne)||ce&&!We());){var Q=P.callback;if(typeof Q=="function"){P.callback=null,R=P.priorityLevel;var le=Q(P.expirationTime<=Ne);Ne=r.unstable_now(),typeof le=="function"?P.callback=le:P===i(C)&&l(C),W(Ne)}else l(C);P=i(C)}if(P!==null)var it=!0;else{var Je=i(E);Je!==null&&Ae(K,Je.startTime-Ne),it=!1}return it}finally{P=null,R=Se,O=!1}}var ae=!1,ue=null,xe=-1,ye=5,Ye=-1;function We(){return!(r.unstable_now()-Ye<ye)}function Me(){if(ue!==null){var ce=r.unstable_now();Ye=ce;var Ne=!0;try{Ne=ue(!0,ce)}finally{Ne?Qe():(ae=!1,ue=null)}}else ae=!1}var Qe;if(typeof q=="function")Qe=function(){q(Me)};else if(typeof MessageChannel<"u"){var Ie=new MessageChannel,at=Ie.port2;Ie.port1.onmessage=Me,Qe=function(){at.postMessage(null)}}else Qe=function(){V(Me,0)};function Le(ce){ue=ce,ae||(ae=!0,Qe())}function Ae(ce,Ne){xe=V(function(){ce(r.unstable_now())},Ne)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(ce){ce.callback=null},r.unstable_continueExecution=function(){I||O||(I=!0,Le(X))},r.unstable_forceFrameRate=function(ce){0>ce||125<ce?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ye=0<ce?Math.floor(1e3/ce):5},r.unstable_getCurrentPriorityLevel=function(){return R},r.unstable_getFirstCallbackNode=function(){return i(C)},r.unstable_next=function(ce){switch(R){case 1:case 2:case 3:var Ne=3;break;default:Ne=R}var Se=R;R=Ne;try{return ce()}finally{R=Se}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(ce,Ne){switch(ce){case 1:case 2:case 3:case 4:case 5:break;default:ce=3}var Se=R;R=ce;try{return Ne()}finally{R=Se}},r.unstable_scheduleCallback=function(ce,Ne,Se){var Q=r.unstable_now();switch(typeof Se=="object"&&Se!==null?(Se=Se.delay,Se=typeof Se=="number"&&0<Se?Q+Se:Q):Se=Q,ce){case 1:var le=-1;break;case 2:le=250;break;case 5:le=1073741823;break;case 4:le=1e4;break;default:le=5e3}return le=Se+le,ce={id:$++,callback:Ne,priorityLevel:ce,startTime:Se,expirationTime:le,sortIndex:-1},Se>Q?(ce.sortIndex=Se,n(E,ce),i(C)===null&&ce===i(E)&&(J?(De(xe),xe=-1):J=!0,Ae(K,Se-Q))):(ce.sortIndex=le,n(C,ce),I||O||(I=!0,Le(X))),ce},r.unstable_shouldYield=We,r.unstable_wrapCallback=function(ce){var Ne=R;return function(){var Se=R;R=Ne;try{return ce.apply(this,arguments)}finally{R=Se}}}}(sx)),sx}var ux={};/**
|
|
142
142
|
* @license React
|
|
143
143
|
* scheduler.development.js
|
|
144
144
|
*
|
|
@@ -146,7 +146,7 @@ Check the top-level render call using <`+he+">.")}return Y}function ur(A,Y){if(!
|
|
|
146
146
|
*
|
|
147
147
|
* This source code is licensed under the MIT license found in the
|
|
148
148
|
* LICENSE file in the root directory of this source tree.
|
|
149
|
-
*/var cx;function oP(){return cx||(cx=1,function(r){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 n=!1,i=5;function l(Ee,Be){var Xe=Ee.length;Ee.push(Be),m(Ee,Be,Xe)}function c(Ee){return Ee.length===0?null:Ee[0]}function h(Ee){if(Ee.length===0)return null;var Be=Ee[0],Xe=Ee.pop();return Xe!==Be&&(Ee[0]=Xe,D(Ee,Xe,0)),Be}function m(Ee,Be,Xe){for(var _t=Xe;_t>0;){var Ut=_t-1>>>1,Sn=Ee[Ut];if(C(Sn,Be)>0)Ee[Ut]=Be,Ee[_t]=Sn,_t=Ut;else return}}function D(Ee,Be,Xe){for(var _t=Xe,Ut=Ee.length,Sn=Ut>>>1;_t<Sn;){var _n=(_t+1)*2-1,Er=Ee[_n],kn=_n+1,ha=Ee[kn];if(C(Er,Be)<0)kn<Ut&&C(ha,Er)<0?(Ee[_t]=ha,Ee[kn]=Be,_t=kn):(Ee[_t]=Er,Ee[_n]=Be,_t=_n);else if(kn<Ut&&C(ha,Be)<0)Ee[_t]=ha,Ee[kn]=Be,_t=kn;else return}}function C(Ee,Be){var Xe=Ee.sortIndex-Be.sortIndex;return Xe!==0?Xe:Ee.id-Be.id}var E=1,$=2,P=3,R=4,O=5,
|
|
149
|
+
*/var cx;function oP(){return cx||(cx=1,function(r){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 n=!1,i=5;function l(Ee,Be){var Xe=Ee.length;Ee.push(Be),m(Ee,Be,Xe)}function c(Ee){return Ee.length===0?null:Ee[0]}function h(Ee){if(Ee.length===0)return null;var Be=Ee[0],Xe=Ee.pop();return Xe!==Be&&(Ee[0]=Xe,D(Ee,Xe,0)),Be}function m(Ee,Be,Xe){for(var _t=Xe;_t>0;){var Ut=_t-1>>>1,Sn=Ee[Ut];if(C(Sn,Be)>0)Ee[Ut]=Be,Ee[_t]=Sn,_t=Ut;else return}}function D(Ee,Be,Xe){for(var _t=Xe,Ut=Ee.length,Sn=Ut>>>1;_t<Sn;){var _n=(_t+1)*2-1,Er=Ee[_n],kn=_n+1,ha=Ee[kn];if(C(Er,Be)<0)kn<Ut&&C(ha,Er)<0?(Ee[_t]=ha,Ee[kn]=Be,_t=kn):(Ee[_t]=Er,Ee[_n]=Be,_t=_n);else if(kn<Ut&&C(ha,Be)<0)Ee[_t]=ha,Ee[kn]=Be,_t=kn;else return}}function C(Ee,Be){var Xe=Ee.sortIndex-Be.sortIndex;return Xe!==0?Xe:Ee.id-Be.id}var E=1,$=2,P=3,R=4,O=5,I=typeof performance=="object"&&typeof performance.now=="function";if(I){var J=performance;r.unstable_now=function(){return J.now()}}else{var V=Date,De=V.now();r.unstable_now=function(){return V.now()-De}}var q=1073741823,W=-1,K=250,X=5e3,ae=1e4,ue=q,xe=[],ye=[],Ye=1,We=null,Me=P,Qe=!1,Ie=!1,at=!1,Le=typeof setTimeout=="function"?setTimeout:null,Ae=typeof clearTimeout=="function"?clearTimeout:null,ce=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ne(Ee){for(var Be=c(ye);Be!==null;){if(Be.callback===null)h(ye);else if(Be.startTime<=Ee)h(ye),Be.sortIndex=Be.expirationTime,l(xe,Be);else return;Be=c(ye)}}function Se(Ee){if(at=!1,Ne(Ee),!Ie)if(c(xe)!==null)Ie=!0,sn(Q);else{var Be=c(ye);Be!==null&&pe(Se,Be.startTime-Ee)}}function Q(Ee,Be){Ie=!1,at&&(at=!1,ee()),Qe=!0;var Xe=Me;try{var _t;if(!n)return le(Ee,Be)}finally{We=null,Me=Xe,Qe=!1}}function le(Ee,Be){var Xe=Be;for(Ne(Xe),We=c(xe);We!==null&&!(We.expirationTime>Xe&&(!Ee||br()));){var _t=We.callback;if(typeof _t=="function"){We.callback=null,Me=We.priorityLevel;var Ut=We.expirationTime<=Xe,Sn=_t(Ut);Xe=r.unstable_now(),typeof Sn=="function"?We.callback=Sn:We===c(xe)&&h(xe),Ne(Xe)}else h(xe);We=c(xe)}if(We!==null)return!0;var _n=c(ye);return _n!==null&&pe(Se,_n.startTime-Xe),!1}function it(Ee,Be){switch(Ee){case E:case $:case P:case R:case O:break;default:Ee=P}var Xe=Me;Me=Ee;try{return Be()}finally{Me=Xe}}function Je(Ee){var Be;switch(Me){case E:case $:case P:Be=P;break;default:Be=Me;break}var Xe=Me;Me=Be;try{return Ee()}finally{Me=Xe}}function pt(Ee){var Be=Me;return function(){var Xe=Me;Me=Be;try{return Ee.apply(this,arguments)}finally{Me=Xe}}}function lt(Ee,Be,Xe){var _t=r.unstable_now(),Ut;if(typeof Xe=="object"&&Xe!==null){var Sn=Xe.delay;typeof Sn=="number"&&Sn>0?Ut=_t+Sn:Ut=_t}else Ut=_t;var _n;switch(Ee){case E:_n=W;break;case $:_n=K;break;case O:_n=ue;break;case R:_n=ae;break;case P:default:_n=X;break}var Er=Ut+_n,kn={id:Ye++,callback:Be,priorityLevel:Ee,startTime:Ut,expirationTime:Er,sortIndex:-1};return Ut>_t?(kn.sortIndex=Ut,l(ye,kn),c(xe)===null&&kn===c(ye)&&(at?ee():at=!0,pe(Se,Ut-_t))):(kn.sortIndex=Er,l(xe,kn),!Ie&&!Qe&&(Ie=!0,sn(Q))),kn}function gt(){}function vt(){!Ie&&!Qe&&(Ie=!0,sn(Q))}function Et(){return c(xe)}function tn(Ee){Ee.callback=null}function zt(){return Me}var zn=!1,At=null,ot=-1,Un=i,yn=-1;function br(){var Ee=r.unstable_now()-yn;return!(Ee<Un)}function Xi(){}function Rr(Ee){if(Ee<0||Ee>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ee>0?Un=Math.floor(1e3/Ee):Un=i}var kr=function(){if(At!==null){var Ee=r.unstable_now();yn=Ee;var Be=!0,Xe=!0;try{Xe=At(Be,Ee)}finally{Xe?Zn():(zn=!1,At=null)}}else zn=!1},Zn;if(typeof ce=="function")Zn=function(){ce(kr)};else if(typeof MessageChannel<"u"){var un=new MessageChannel,bn=un.port2;un.port1.onmessage=kr,Zn=function(){bn.postMessage(null)}}else Zn=function(){Le(kr,0)};function sn(Ee){At=Ee,zn||(zn=!0,Zn())}function pe(Ee,Be){ot=Le(function(){Ee(r.unstable_now())},Be)}function ee(){Ae(ot),ot=-1}var be=Xi,Pe=null;r.unstable_IdlePriority=O,r.unstable_ImmediatePriority=E,r.unstable_LowPriority=R,r.unstable_NormalPriority=P,r.unstable_Profiling=Pe,r.unstable_UserBlockingPriority=$,r.unstable_cancelCallback=tn,r.unstable_continueExecution=vt,r.unstable_forceFrameRate=Rr,r.unstable_getCurrentPriorityLevel=zt,r.unstable_getFirstCallbackNode=Et,r.unstable_next=Je,r.unstable_pauseExecution=gt,r.unstable_requestPaint=be,r.unstable_runWithPriority=it,r.unstable_scheduleCallback=lt,r.unstable_shouldYield=br,r.unstable_wrapCallback=pt,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(ux)),ux}var dx;function fx(){return dx||(dx=1,process.env.NODE_ENV==="production"?n0.exports=iP():n0.exports=oP()),n0.exports}/**
|
|
150
150
|
* @license React
|
|
151
151
|
* react-dom.production.min.js
|
|
152
152
|
*
|
|
@@ -154,7 +154,7 @@ Check the top-level render call using <`+he+">.")}return Y}function ur(A,Y){if(!
|
|
|
154
154
|
*
|
|
155
155
|
* This source code is licensed under the MIT license found in the
|
|
156
156
|
* LICENSE file in the root directory of this source tree.
|
|
157
|
-
*/var px;function sP(){if(px)return yo;px=1;var r=ox(),n=fx();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)o+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,c={};function h(a,o){m(a,o),m(a+"Capture",o)}function m(a,o){for(c[a]=o,a=0;a<o.length;a++)l.add(o[a])}var D=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),C=Object.prototype.hasOwnProperty,E=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,$={},P={};function R(a){return C.call(P,a)?!0:C.call($,a)?!1:E.test(a)?P[a]=!0:($[a]=!0,!1)}function O(a,o,d,v){if(d!==null&&d.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return v?!1:d!==null?!d.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function
|
|
157
|
+
*/var px;function sP(){if(px)return yo;px=1;var r=ox(),n=fx();function i(a){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)o+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+a+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,c={};function h(a,o){m(a,o),m(a+"Capture",o)}function m(a,o){for(c[a]=o,a=0;a<o.length;a++)l.add(o[a])}var D=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),C=Object.prototype.hasOwnProperty,E=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,$={},P={};function R(a){return C.call(P,a)?!0:C.call($,a)?!1:E.test(a)?P[a]=!0:($[a]=!0,!1)}function O(a,o,d,v){if(d!==null&&d.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return v?!1:d!==null?!d.acceptsBooleans:(a=a.toLowerCase().slice(0,5),a!=="data-"&&a!=="aria-");default:return!1}}function I(a,o,d,v){if(o===null||typeof o>"u"||O(a,o,d,v))return!0;if(v)return!1;if(d!==null)switch(d.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function J(a,o,d,v,b,S,N){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=v,this.attributeNamespace=b,this.mustUseProperty=d,this.propertyName=a,this.type=o,this.sanitizeURL=S,this.removeEmptyString=N}var V={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){V[a]=new J(a,0,!1,a,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var o=a[0];V[o]=new J(o,1,!1,a[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(a){V[a]=new J(a,2,!1,a.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){V[a]=new J(a,2,!1,a,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){V[a]=new J(a,3,!1,a.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(a){V[a]=new J(a,3,!0,a,null,!1,!1)}),["capture","download"].forEach(function(a){V[a]=new J(a,4,!1,a,null,!1,!1)}),["cols","rows","size","span"].forEach(function(a){V[a]=new J(a,6,!1,a,null,!1,!1)}),["rowSpan","start"].forEach(function(a){V[a]=new J(a,5,!1,a.toLowerCase(),null,!1,!1)});var De=/[\-:]([a-z])/g;function q(a){return a[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var o=a.replace(De,q);V[o]=new J(o,1,!1,a,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var o=a.replace(De,q);V[o]=new J(o,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(a){var o=a.replace(De,q);V[o]=new J(o,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(a){V[a]=new J(a,1,!1,a.toLowerCase(),null,!1,!1)}),V.xlinkHref=new J("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(a){V[a]=new J(a,1,!1,a.toLowerCase(),null,!0,!0)});function W(a,o,d,v){var b=V.hasOwnProperty(o)?V[o]:null;(b!==null?b.type!==0:v||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(I(o,d,b,v)&&(d=null),v||b===null?R(o)&&(d===null?a.removeAttribute(o):a.setAttribute(o,""+d)):b.mustUseProperty?a[b.propertyName]=d===null?b.type===3?!1:"":d:(o=b.attributeName,v=b.attributeNamespace,d===null?a.removeAttribute(o):(b=b.type,d=b===3||b===4&&d===!0?"":""+d,v?a.setAttributeNS(v,o,d):a.setAttribute(o,d))))}var K=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,X=Symbol.for("react.element"),ae=Symbol.for("react.portal"),ue=Symbol.for("react.fragment"),xe=Symbol.for("react.strict_mode"),ye=Symbol.for("react.profiler"),Ye=Symbol.for("react.provider"),We=Symbol.for("react.context"),Me=Symbol.for("react.forward_ref"),Qe=Symbol.for("react.suspense"),Ie=Symbol.for("react.suspense_list"),at=Symbol.for("react.memo"),Le=Symbol.for("react.lazy"),Ae=Symbol.for("react.offscreen"),ce=Symbol.iterator;function Ne(a){return a===null||typeof a!="object"?null:(a=ce&&a[ce]||a["@@iterator"],typeof a=="function"?a:null)}var Se=Object.assign,Q;function le(a){if(Q===void 0)try{throw Error()}catch(d){var o=d.stack.trim().match(/\n( *(at )?)/);Q=o&&o[1]||""}return`
|
|
158
158
|
`+Q+a}var it=!1;function Je(a,o){if(!a||it)return"";it=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(me){var v=me}Reflect.construct(a,[],o)}else{try{o.call()}catch(me){v=me}a.call(o.prototype)}else{try{throw Error()}catch(me){v=me}a()}}catch(me){if(me&&v&&typeof me.stack=="string"){for(var b=me.stack.split(`
|
|
159
159
|
`),S=v.stack.split(`
|
|
160
160
|
`),N=b.length-1,H=S.length-1;1<=N&&0<=H&&b[N]!==S[H];)H--;for(;1<=N&&0<=H;N--,H--)if(b[N]!==S[H]){if(N!==1||H!==1)do if(N--,H--,0>H||b[N]!==S[H]){var Z=`
|
|
@@ -169,15 +169,15 @@ Error generating stack: `+S.message+`
|
|
|
169
169
|
*
|
|
170
170
|
* This source code is licensed under the MIT license found in the
|
|
171
171
|
* LICENSE file in the root directory of this source tree.
|
|
172
|
-
*/var hx;function lP(){return hx||(hx=1,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 r=ox(),n=fx(),i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function c(e){l=e}function h(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("warn",e,s)}}function m(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("error",e,s)}}function D(e,t,s){{var u=i.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(t+="%s",s=s.concat([p]));var y=s.map(function(w){return String(w)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var C=0,E=1,$=2,P=3,R=4,O=5,j=6,J=7,V=8,De=9,q=10,W=11,K=12,X=13,ae=14,ue=15,xe=16,ye=17,Ye=18,We=19,Me=21,Qe=22,Ie=23,at=24,Le=25,Ae=!0,ce=!1,Ne=!1,Se=!1,Q=!1,le=!0,it=!0,Je=!0,pt=!0,lt=new Set,gt={},vt={};function Et(e,t){tn(e,t),tn(e+"Capture",t)}function tn(e,t){gt[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),gt[e]=t;{var s=e.toLowerCase();vt[s]=e,e==="onDoubleClick"&&(vt.ondblclick=e)}for(var u=0;u<t.length;u++)lt.add(t[u])}var zt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zn=Object.prototype.hasOwnProperty;function At(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function ot(e){try{return Un(e),!1}catch{return!0}}function Un(e){return""+e}function yn(e,t){if(ot(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,At(e)),Un(e)}function br(e){if(ot(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",At(e)),Un(e)}function Xi(e,t){if(ot(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,At(e)),Un(e)}function Rr(e,t){if(ot(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,At(e)),Un(e)}function kr(e){if(ot(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",At(e)),Un(e)}function Zn(e){if(ot(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",At(e)),Un(e)}var un=0,bn=1,sn=2,pe=3,ee=4,be=5,Pe=6,Ee=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Be=Ee+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Xe=new RegExp("^["+Ee+"]["+Be+"]*$"),_t={},Ut={};function Sn(e){return zn.call(Ut,e)?!0:zn.call(_t,e)?!1:Xe.test(e)?(Ut[e]=!0,!0):(_t[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function _n(e,t,s){return t!==null?t.type===un:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Er(e,t,s,u){if(s!==null&&s.type===un)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(s!==null)return!s.acceptsBooleans;var p=e.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function kn(e,t,s,u){if(t===null||typeof t>"u"||Er(e,t,s,u))return!0;if(u)return!1;if(s!==null)switch(s.type){case pe:return!t;case ee:return t===!1;case be:return isNaN(t);case Pe:return isNaN(t)||t<1}return!1}function ha(e){return Hn.hasOwnProperty(e)?Hn[e]:null}function mr(e,t,s,u,p,y,w){this.acceptsBooleans=t===sn||t===pe||t===ee,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=y,this.removeEmptyString=w}var Hn={},ma=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ma.forEach(function(e){Hn[e]=new mr(e,un,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];Hn[t]=new mr(t,bn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Hn[e]=new mr(e,sn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Hn[e]=new mr(e,sn,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Hn[e]=new mr(e,pe,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Hn[e]=new mr(e,pe,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Hn[e]=new mr(e,ee,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Hn[e]=new mr(e,Pe,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Hn[e]=new mr(e,be,!1,e.toLowerCase(),null,!1,!1)});var ga=/[\-\:]([a-z])/g,Si=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ga,Si);Hn[t]=new mr(t,bn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ga,Si);Hn[t]=new mr(t,bn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ga,Si);Hn[t]=new mr(t,bn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Hn[e]=new mr(e,bn,!1,e.toLowerCase(),null,!1,!1)});var Co="xlinkHref";Hn[Co]=new mr("xlinkHref",bn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Hn[e]=new mr(e,bn,!1,e.toLowerCase(),null,!0,!0)});var vl=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,yl=!1;function Ps(e){!yl&&vl.test(e)&&(yl=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ji(e,t,s,u){if(u.mustUseProperty){var p=u.propertyName;return e[p]}else{yn(s,t),u.sanitizeURL&&Ps(""+s);var y=u.attributeName,w=null;if(u.type===ee){if(e.hasAttribute(y)){var _=e.getAttribute(y);return _===""?!0:kn(t,s,u,!1)?_:_===""+s?s:_}}else if(e.hasAttribute(y)){if(kn(t,s,u,!1))return e.getAttribute(y);if(u.type===pe)return s;w=e.getAttribute(y)}return kn(t,s,u,!1)?w===null?s:w:w===""+s?s:w}}function Ci(e,t,s,u){{if(!Sn(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var p=e.getAttribute(t);return yn(s,t),p===""+s?s:p}}function lr(e,t,s,u){var p=ha(t);if(!_n(t,p,u)){if(kn(t,s,p,u)&&(s=null),u||p===null){if(Sn(t)){var y=t;s===null?e.removeAttribute(y):(yn(s,t),e.setAttribute(y,""+s))}return}var w=p.mustUseProperty;if(w){var _=p.propertyName;if(s===null){var F=p.type;e[_]=F===pe?!1:""}else e[_]=s;return}var B=p.attributeName,I=p.attributeNamespace;if(s===null)e.removeAttribute(B);else{var re=p.type,te;re===pe||re===ee&&s===!0?te="":(yn(s,B),te=""+s,p.sanitizeURL&&Ps(te.toString())),I?e.setAttributeNS(I,B,te):e.setAttribute(B,te)}}}var xa=Symbol.for("react.element"),aa=Symbol.for("react.portal"),xo=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),_o=Symbol.for("react.profiler"),Eo=Symbol.for("react.provider"),G=Symbol.for("react.context"),Fe=Symbol.for("react.forward_ref"),et=Symbol.for("react.suspense"),ft=Symbol.for("react.suspense_list"),Ht=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),Vt=Symbol.for("react.scope"),nn=Symbol.for("react.debug_trace_mode"),wr=Symbol.for("react.offscreen"),er=Symbol.for("react.legacy_hidden"),tr=Symbol.for("react.cache"),Lr=Symbol.for("react.tracing_marker"),Qi=Symbol.iterator,Dr="@@iterator";function Tt(e){if(e===null||typeof e!="object")return null;var t=Qi&&e[Qi]||e[Dr];return typeof t=="function"?t:null}var Qt=Object.assign,Ki=0,Ns,bl,Rs,Du,Zi,Wa,Su;function ia(){}ia.__reactDisabledLog=!0;function Bd(){{if(Ki===0){Ns=console.log,bl=console.info,Rs=console.warn,Du=console.error,Zi=console.group,Wa=console.groupCollapsed,Su=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ia,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ki++}}function Fc(){{if(Ki--,Ki===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Qt({},e,{value:Ns}),info:Qt({},e,{value:bl}),warn:Qt({},e,{value:Rs}),error:Qt({},e,{value:Du}),group:Qt({},e,{value:Zi}),groupCollapsed:Qt({},e,{value:Wa}),groupEnd:Qt({},e,{value:Su})})}Ki<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var kl=i.ReactCurrentDispatcher,es;function qa(e,t,s){{if(es===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);es=u&&u[1]||""}return`
|
|
172
|
+
*/var hx;function lP(){return hx||(hx=1,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 r=ox(),n=fx(),i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,l=!1;function c(e){l=e}function h(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("warn",e,s)}}function m(e){if(!l){for(var t=arguments.length,s=new Array(t>1?t-1:0),u=1;u<t;u++)s[u-1]=arguments[u];D("error",e,s)}}function D(e,t,s){{var u=i.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(t+="%s",s=s.concat([p]));var y=s.map(function(w){return String(w)});y.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,y)}}var C=0,E=1,$=2,P=3,R=4,O=5,I=6,J=7,V=8,De=9,q=10,W=11,K=12,X=13,ae=14,ue=15,xe=16,ye=17,Ye=18,We=19,Me=21,Qe=22,Ie=23,at=24,Le=25,Ae=!0,ce=!1,Ne=!1,Se=!1,Q=!1,le=!0,it=!0,Je=!0,pt=!0,lt=new Set,gt={},vt={};function Et(e,t){tn(e,t),tn(e+"Capture",t)}function tn(e,t){gt[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),gt[e]=t;{var s=e.toLowerCase();vt[s]=e,e==="onDoubleClick"&&(vt.ondblclick=e)}for(var u=0;u<t.length;u++)lt.add(t[u])}var zt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zn=Object.prototype.hasOwnProperty;function At(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,s=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function ot(e){try{return Un(e),!1}catch{return!0}}function Un(e){return""+e}function yn(e,t){if(ot(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,At(e)),Un(e)}function br(e){if(ot(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",At(e)),Un(e)}function Xi(e,t){if(ot(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,At(e)),Un(e)}function Rr(e,t){if(ot(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,At(e)),Un(e)}function kr(e){if(ot(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",At(e)),Un(e)}function Zn(e){if(ot(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",At(e)),Un(e)}var un=0,bn=1,sn=2,pe=3,ee=4,be=5,Pe=6,Ee=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Be=Ee+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Xe=new RegExp("^["+Ee+"]["+Be+"]*$"),_t={},Ut={};function Sn(e){return zn.call(Ut,e)?!0:zn.call(_t,e)?!1:Xe.test(e)?(Ut[e]=!0,!0):(_t[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function _n(e,t,s){return t!==null?t.type===un:s?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Er(e,t,s,u){if(s!==null&&s.type===un)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(s!==null)return!s.acceptsBooleans;var p=e.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function kn(e,t,s,u){if(t===null||typeof t>"u"||Er(e,t,s,u))return!0;if(u)return!1;if(s!==null)switch(s.type){case pe:return!t;case ee:return t===!1;case be:return isNaN(t);case Pe:return isNaN(t)||t<1}return!1}function ha(e){return Hn.hasOwnProperty(e)?Hn[e]:null}function mr(e,t,s,u,p,y,w){this.acceptsBooleans=t===sn||t===pe||t===ee,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=e,this.type=t,this.sanitizeURL=y,this.removeEmptyString=w}var Hn={},ma=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ma.forEach(function(e){Hn[e]=new mr(e,un,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],s=e[1];Hn[t]=new mr(t,bn,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Hn[e]=new mr(e,sn,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Hn[e]=new mr(e,sn,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Hn[e]=new mr(e,pe,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Hn[e]=new mr(e,pe,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Hn[e]=new mr(e,ee,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Hn[e]=new mr(e,Pe,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Hn[e]=new mr(e,be,!1,e.toLowerCase(),null,!1,!1)});var ga=/[\-\:]([a-z])/g,Si=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(ga,Si);Hn[t]=new mr(t,bn,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(ga,Si);Hn[t]=new mr(t,bn,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ga,Si);Hn[t]=new mr(t,bn,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Hn[e]=new mr(e,bn,!1,e.toLowerCase(),null,!1,!1)});var Co="xlinkHref";Hn[Co]=new mr("xlinkHref",bn,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Hn[e]=new mr(e,bn,!1,e.toLowerCase(),null,!0,!0)});var vl=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,yl=!1;function Ps(e){!yl&&vl.test(e)&&(yl=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ji(e,t,s,u){if(u.mustUseProperty){var p=u.propertyName;return e[p]}else{yn(s,t),u.sanitizeURL&&Ps(""+s);var y=u.attributeName,w=null;if(u.type===ee){if(e.hasAttribute(y)){var _=e.getAttribute(y);return _===""?!0:kn(t,s,u,!1)?_:_===""+s?s:_}}else if(e.hasAttribute(y)){if(kn(t,s,u,!1))return e.getAttribute(y);if(u.type===pe)return s;w=e.getAttribute(y)}return kn(t,s,u,!1)?w===null?s:w:w===""+s?s:w}}function Ci(e,t,s,u){{if(!Sn(t))return;if(!e.hasAttribute(t))return s===void 0?void 0:null;var p=e.getAttribute(t);return yn(s,t),p===""+s?s:p}}function lr(e,t,s,u){var p=ha(t);if(!_n(t,p,u)){if(kn(t,s,p,u)&&(s=null),u||p===null){if(Sn(t)){var y=t;s===null?e.removeAttribute(y):(yn(s,t),e.setAttribute(y,""+s))}return}var w=p.mustUseProperty;if(w){var _=p.propertyName;if(s===null){var F=p.type;e[_]=F===pe?!1:""}else e[_]=s;return}var B=p.attributeName,j=p.attributeNamespace;if(s===null)e.removeAttribute(B);else{var re=p.type,te;re===pe||re===ee&&s===!0?te="":(yn(s,B),te=""+s,p.sanitizeURL&&Ps(te.toString())),j?e.setAttributeNS(j,B,te):e.setAttribute(B,te)}}}var xa=Symbol.for("react.element"),aa=Symbol.for("react.portal"),xo=Symbol.for("react.fragment"),xi=Symbol.for("react.strict_mode"),_o=Symbol.for("react.profiler"),Eo=Symbol.for("react.provider"),G=Symbol.for("react.context"),Fe=Symbol.for("react.forward_ref"),et=Symbol.for("react.suspense"),ft=Symbol.for("react.suspense_list"),Ht=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),Vt=Symbol.for("react.scope"),nn=Symbol.for("react.debug_trace_mode"),wr=Symbol.for("react.offscreen"),er=Symbol.for("react.legacy_hidden"),tr=Symbol.for("react.cache"),Lr=Symbol.for("react.tracing_marker"),Qi=Symbol.iterator,Dr="@@iterator";function Tt(e){if(e===null||typeof e!="object")return null;var t=Qi&&e[Qi]||e[Dr];return typeof t=="function"?t:null}var Qt=Object.assign,Ki=0,Ns,bl,Rs,Du,Zi,Wa,Su;function ia(){}ia.__reactDisabledLog=!0;function Bd(){{if(Ki===0){Ns=console.log,bl=console.info,Rs=console.warn,Du=console.error,Zi=console.group,Wa=console.groupCollapsed,Su=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ia,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ki++}}function Fc(){{if(Ki--,Ki===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Qt({},e,{value:Ns}),info:Qt({},e,{value:bl}),warn:Qt({},e,{value:Rs}),error:Qt({},e,{value:Du}),group:Qt({},e,{value:Zi}),groupCollapsed:Qt({},e,{value:Wa}),groupEnd:Qt({},e,{value:Su})})}Ki<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var kl=i.ReactCurrentDispatcher,es;function qa(e,t,s){{if(es===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);es=u&&u[1]||""}return`
|
|
173
173
|
`+es+e}}var ii=!1,eo;{var wl=typeof WeakMap=="function"?WeakMap:Map;eo=new wl}function Dl(e,t){if(!e||ii)return"";{var s=eo.get(e);if(s!==void 0)return s}var u;ii=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=kl.current,kl.current=null,Bd();try{if(t){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(ge){u=ge}Reflect.construct(e,[],w)}else{try{w.call()}catch(ge){u=ge}e.call(w.prototype)}}else{try{throw Error()}catch(ge){u=ge}e()}}catch(ge){if(ge&&u&&typeof ge.stack=="string"){for(var _=ge.stack.split(`
|
|
174
174
|
`),F=u.stack.split(`
|
|
175
|
-
`),B=_.length-1,
|
|
176
|
-
`+_[B].replace(" at new "," at ");return e.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",e.displayName)),typeof e=="function"&&eo.set(e,re),re}while(B>=1&&
|
|
175
|
+
`),B=_.length-1,j=F.length-1;B>=1&&j>=0&&_[B]!==F[j];)j--;for(;B>=1&&j>=0;B--,j--)if(_[B]!==F[j]){if(B!==1||j!==1)do if(B--,j--,j<0||_[B]!==F[j]){var re=`
|
|
176
|
+
`+_[B].replace(" at new "," at ");return e.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",e.displayName)),typeof e=="function"&&eo.set(e,re),re}while(B>=1&&j>=0);break}}}finally{ii=!1,kl.current=y,Fc(),Error.prepareStackTrace=p}var te=e?e.displayName||e.name:"",fe=te?qa(te):"";return typeof e=="function"&&eo.set(e,fe),fe}function Ls(e,t,s){return Dl(e,!0)}function Cu(e,t,s){return Dl(e,!1)}function Sl(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function oi(e,t,s){if(e==null)return"";if(typeof e=="function")return Dl(e,Sl(e));if(typeof e=="string")return qa(e);switch(e){case et:return qa("Suspense");case ft:return qa("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Fe:return Cu(e.render);case Ht:return oi(e.type,t,s);case It:{var u=e,p=u._payload,y=u._init;try{return oi(y(p),t,s)}catch{}}}return""}function rp(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case O:return qa(e.type);case xe:return qa("Lazy");case X:return qa("Suspense");case We:return qa("SuspenseList");case C:case $:case ue:return Cu(e.type);case W:return Cu(e.type.render);case E:return Ls(e.type);default:return""}}function ts(e){try{var t="",s=e;do t+=rp(s),s=s.return;while(s);return t}catch(u){return`
|
|
177
177
|
Error generating stack: `+u.message+`
|
|
178
|
-
`+u.stack}}function En(e,t,s){var u=e.displayName;if(u)return u;var p=t.displayName||t.name||"";return p!==""?s+"("+p+")":s}function xu(e){return e.displayName||"Context"}function wn(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xo:return"Fragment";case aa:return"Portal";case _o:return"Profiler";case xi:return"StrictMode";case et:return"Suspense";case ft:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G:var t=e;return xu(t)+".Consumer";case Eo:var s=e;return xu(s._context)+".Provider";case Fe:return En(e,e.render,"ForwardRef");case Ht:var u=e.displayName||null;return u!==null?u:wn(e.type)||"Memo";case It:{var p=e,y=p._payload,w=p._init;try{return wn(w(y))}catch{return null}}}return null}function To(e,t,s){var u=t.displayName||t.name||"";return e.displayName||(u!==""?s+"("+u+")":s)}function Fo(e){return e.displayName||"Context"}function Bt(e){var t=e.tag,s=e.type;switch(t){case at:return"Cache";case De:var u=s;return Fo(u)+".Consumer";case q:var p=s;return Fo(p._context)+".Provider";case Ye:return"DehydratedFragment";case W:return To(s,s.render,"ForwardRef");case J:return"Fragment";case O:return s;case R:return"Portal";case P:return"Root";case
|
|
178
|
+
`+u.stack}}function En(e,t,s){var u=e.displayName;if(u)return u;var p=t.displayName||t.name||"";return p!==""?s+"("+p+")":s}function xu(e){return e.displayName||"Context"}function wn(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xo:return"Fragment";case aa:return"Portal";case _o:return"Profiler";case xi:return"StrictMode";case et:return"Suspense";case ft:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G:var t=e;return xu(t)+".Consumer";case Eo:var s=e;return xu(s._context)+".Provider";case Fe:return En(e,e.render,"ForwardRef");case Ht:var u=e.displayName||null;return u!==null?u:wn(e.type)||"Memo";case It:{var p=e,y=p._payload,w=p._init;try{return wn(w(y))}catch{return null}}}return null}function To(e,t,s){var u=t.displayName||t.name||"";return e.displayName||(u!==""?s+"("+u+")":s)}function Fo(e){return e.displayName||"Context"}function Bt(e){var t=e.tag,s=e.type;switch(t){case at:return"Cache";case De:var u=s;return Fo(u)+".Consumer";case q:var p=s;return Fo(p._context)+".Provider";case Ye:return"DehydratedFragment";case W:return To(s,s.render,"ForwardRef");case J:return"Fragment";case O:return s;case R:return"Portal";case P:return"Root";case I:return"Text";case xe:return wn(s);case V:return s===xi?"StrictMode":"Mode";case Qe:return"Offscreen";case K:return"Profiler";case Me:return"Scope";case X:return"Suspense";case We:return"SuspenseList";case Le:return"TracingMarker";case E:case C:case ye:case $:case ae:case ue:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var Cl=i.ReactDebugCurrentFrame,oa=null,to=!1;function va(){{if(oa===null)return null;var e=oa._debugOwner;if(e!==null&&typeof e<"u")return Bt(e)}return null}function sa(){return oa===null?"":ts(oa)}function ur(){Cl.getCurrentStack=null,oa=null,to=!1}function $n(e){Cl.getCurrentStack=e===null?null:sa,oa=e,to=!1}function si(){return oa}function Tr(e){to=e}function _a(e){return""+e}function _i(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Zn(e),e;default:return""}}var Os={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function _u(e,t){Os[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Eu(e){var t=e.type,s=e.nodeName;return s&&s.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Bs(e){return e._valueTracker}function ns(e){e._valueTracker=null}function ap(e){var t="";return e&&(Eu(e)?t=e.checked?"true":"false":t=e.value),t}function Ei(e){var t=Eu(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Zn(e[t]);var u=""+e[t];if(!(e.hasOwnProperty(t)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var p=s.get,y=s.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return p.call(this)},set:function(_){Zn(_),u=""+_,y.call(this,_)}}),Object.defineProperty(e,t,{enumerable:s.enumerable});var w={getValue:function(){return u},setValue:function(_){Zn(_),u=""+_},stopTracking:function(){ns(e),delete e[t]}};return w}}function no(e){Bs(e)||(e._valueTracker=Ei(e))}function Ao(e){if(!e)return!1;var t=Bs(e);if(!t)return!0;var s=t.getValue(),u=ap(e);return u!==s?(t.setValue(u),!0):!1}function Ti(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Tu=!1,Fu=!1,rs=!1,xl=!1;function Au(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function $u(e,t){var s=e,u=t.checked,p=Qt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??s._wrapperState.initialChecked});return p}function ro(e,t){_u("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Fu&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",va()||"A component",t.type),Fu=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Tu&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",va()||"A component",t.type),Tu=!0);var s=e,u=t.defaultValue==null?"":t.defaultValue;s._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:_i(t.value!=null?t.value:u),controlled:Au(t)}}function A(e,t){var s=e,u=t.checked;u!=null&&lr(s,"checked",u,!1)}function Y(e,t){var s=e;{var u=Au(t);!s._wrapperState.controlled&&u&&!xl&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),xl=!0),s._wrapperState.controlled&&!u&&!rs&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),rs=!0)}A(e,t);var p=_i(t.value),y=t.type;if(p!=null)y==="number"?(p===0&&s.value===""||s.value!=p)&&(s.value=_a(p)):s.value!==_a(p)&&(s.value=_a(p));else if(y==="submit"||y==="reset"){s.removeAttribute("value");return}t.hasOwnProperty("value")?Ft(s,t.type,p):t.hasOwnProperty("defaultValue")&&Ft(s,t.type,_i(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(s.defaultChecked=!!t.defaultChecked)}function he(e,t,s){var u=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var p=t.type,y=p==="submit"||p==="reset";if(y&&(t.value===void 0||t.value===null))return;var w=_a(u._wrapperState.initialValue);s||w!==u.value&&(u.value=w),u.defaultValue=w}var _=u.name;_!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,_!==""&&(u.name=_)}function ke(e,t){var s=e;Y(s,t),He(s,t)}function He(e,t){var s=t.name;if(t.type==="radio"&&s!=null){for(var u=e;u.parentNode;)u=u.parentNode;yn(s,"name");for(var p=u.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),y=0;y<p.length;y++){var w=p[y];if(!(w===e||w.form!==e.form)){var _=Rk(w);if(!_)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ao(w),Y(w,_)}}}}function Ft(e,t,s){(t!=="number"||Ti(e.ownerDocument)!==e)&&(s==null?e.defaultValue=_a(e._wrapperState.initialValue):e.defaultValue!==_a(s)&&(e.defaultValue=_a(s)))}var Ke=!1,$t=!1,ln=!1;function Dn(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(s){s!=null&&(typeof s=="string"||typeof s=="number"||$t||($t=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(ln||(ln=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Ke&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ke=!0)}function Wn(e,t){t.value!=null&&e.setAttribute("value",_a(_i(t.value)))}var qn=Array.isArray;function Yt(e){return qn(e)}var Vn;Vn=!1;function gr(){var e=va();return e?`
|
|
179
179
|
|
|
180
|
-
Check the render method of \``+e+"`.":""}var Ms=["value","defaultValue"];function Ac(e){{_u("select",e);for(var t=0;t<Ms.length;t++){var s=Ms[t];if(e[s]!=null){var u=Yt(e[s]);e.multiple&&!u?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,gr()):!e.multiple&&u&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,gr())}}}}function as(e,t,s,u){var p=e.options;if(t){for(var y=s,w={},_=0;_<y.length;_++)w["$"+y[_]]=!0;for(var F=0;F<p.length;F++){var B=w.hasOwnProperty("$"+p[F].value);p[F].selected!==B&&(p[F].selected=B),B&&u&&(p[F].defaultSelected=!0)}}else{for(var I=_a(_i(s)),re=null,te=0;te<p.length;te++){if(p[te].value===I){p[te].selected=!0,u&&(p[te].defaultSelected=!0);return}re===null&&!p[te].disabled&&(re=p[te])}re!==null&&(re.selected=!0)}}function $c(e,t){return Qt({},t,{value:void 0})}function _l(e,t){var s=e;Ac(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Vn&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Vn=!0)}function Md(e,t){var s=e;s.multiple=!!t.multiple;var u=t.value;u!=null?as(s,!!t.multiple,u,!1):t.defaultValue!=null&&as(s,!!t.multiple,t.defaultValue,!0)}function Id(e,t){var s=e,u=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?as(s,!!t.multiple,p,!1):u!==!!t.multiple&&(t.defaultValue!=null?as(s,!!t.multiple,t.defaultValue,!0):as(s,!!t.multiple,t.multiple?[]:"",!1))}function ip(e,t){var s=e,u=t.value;u!=null&&as(s,!!t.multiple,u,!1)}var Jh=!1;function op(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Qt({},t,{value:void 0,defaultValue:void 0,children:_a(s._wrapperState.initialValue)});return u}function jd(e,t){var s=e;_u("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Jh&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",va()||"A component"),Jh=!0);var u=t.value;if(u==null){var p=t.children,y=t.defaultValue;if(p!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}y=p}}y==null&&(y=""),u=y}s._wrapperState={initialValue:_i(u)}}function sp(e,t){var s=e,u=_i(t.value),p=_i(t.defaultValue);if(u!=null){var y=_a(u);y!==s.value&&(s.value=y),t.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)}p!=null&&(s.defaultValue=_a(p))}function Qh(e,t){var s=e,u=s.textContent;u===s._wrapperState.initialValue&&u!==""&&u!==null&&(s.value=u)}function lp(e,t){sp(e,t)}var li="http://www.w3.org/1999/xhtml",El="http://www.w3.org/1998/Math/MathML",Pc="http://www.w3.org/2000/svg";function up(e){switch(e){case"svg":return Pc;case"math":return El;default:return li}}function Tl(e,t){return e==null||e===li?up(t):e===Pc&&t==="foreignObject"?li:e}var Kh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,u,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,u,p)})}:e},$o,zd=Kh(function(e,t){if(e.namespaceURI===Pc&&!("innerHTML"in e)){$o=$o||document.createElement("div"),$o.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=$o.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Jr=1,Po=3,nr=8,ui=9,Fl=11,is=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Po){s.nodeValue=t;return}}e.textContent=t},Nc={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Is={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Zh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var em=["Webkit","ms","Moz","O"];Object.keys(Is).forEach(function(e){em.forEach(function(t){Is[Zh(t,e)]=Is[e]})});function Pu(e,t,s){var u=t==null||typeof t=="boolean"||t==="";return u?"":!s&&typeof t=="number"&&t!==0&&!(Is.hasOwnProperty(e)&&Is[e])?t+"px":(Rr(t,e),(""+t).trim())}var Nu=/([A-Z])/g,js=/^ms-/;function Al(e){return e.replace(Nu,"-$1").toLowerCase().replace(js,"-ms-")}var Ud=function(){};{var cp=/^(?:webkit|moz|o)[A-Z]/,nv=/^-ms-/,dp=/-(.)/g,fp=/;\s*$/,No={},$l={},Ru=!1,os=!1,rv=function(e){return e.replace(dp,function(t,s){return s.toUpperCase()})},tm=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,rv(e.replace(nv,"ms-"))))},pp=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},hp=function(e,t){$l.hasOwnProperty(t)&&$l[t]||($l[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(fp,"")))},nm=function(e,t){Ru||(Ru=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},rm=function(e,t){os||(os=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};Ud=function(e,t){e.indexOf("-")>-1?tm(e):cp.test(e)?pp(e):fp.test(t)&&hp(e,t),typeof t=="number"&&(isNaN(t)?nm(e,t):isFinite(t)||rm(e,t))}}var am=Ud;function av(e){{var t="",s="";for(var u in e)if(e.hasOwnProperty(u)){var p=e[u];if(p!=null){var y=u.indexOf("--")===0;t+=s+(y?u:Al(u))+":",t+=Pu(u,p,y),s=";"}}return t||null}}function im(e,t){var s=e.style;for(var u in t)if(t.hasOwnProperty(u)){var p=u.indexOf("--")===0;p||am(u,t[u]);var y=Pu(u,t[u],p);u==="float"&&(u="cssFloat"),p?s.setProperty(u,y):s[u]=y}}function iv(e){return e==null||typeof e=="boolean"||e===""}function om(e){var t={};for(var s in e)for(var u=Nc[s]||[s],p=0;p<u.length;p++)t[u[p]]=s;return t}function sm(e,t){{if(!t)return;var s=om(e),u=om(t),p={};for(var y in s){var w=s[y],_=u[y];if(_&&w!==_){var F=w+","+_;if(p[F])continue;p[F]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",iv(e[w])?"Removing":"Updating",w,_)}}}}var Ea={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},zs=Qt({menuitem:!0},Ea),Hd="__html";function Wd(e,t){if(t){if(zs[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Hd in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ss(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qd={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Lu={},ov=new RegExp("^(aria)-["+Be+"]*$"),Ou=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Bu(e,t){{if(zn.call(Lu,t)&&Lu[t])return!0;if(Ou.test(t)){var s="aria-"+t.slice(4).toLowerCase(),u=qd.hasOwnProperty(s)?s:null;if(u==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Lu[t]=!0,!0;if(t!==u)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Lu[t]=!0,!0}if(ov.test(t)){var p=t.toLowerCase(),y=qd.hasOwnProperty(p)?p:null;if(y==null)return Lu[t]=!0,!1;if(t!==y)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),Lu[t]=!0,!0}}return!0}function Pl(e,t){{var s=[];for(var u in t){var p=Bu(e,u);p||s.push(u)}var y=s.map(function(w){return"`"+w+"`"}).join(", ");s.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):s.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function Mu(e,t){ss(e,t)||Pl(e,t)}var mp=!1;function Iu(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!mp&&(mp=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Us=function(){};{var Hr={},gp=/^on./,Vd=/^on[^A-Z]/,Yd=new RegExp("^(aria)-["+Be+"]*$"),vp=new RegExp("^(aria)[A-Z]["+Be+"]*$");Us=function(e,t,s,u){if(zn.call(Hr,t)&&Hr[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Hr[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,w=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var _=w.hasOwnProperty(p)?w[p]:null;if(_!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,_),Hr[t]=!0,!0;if(gp.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),Hr[t]=!0,!0}else if(gp.test(t))return Vd.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Hr[t]=!0,!0;if(Yd.test(t)||vp.test(t))return!0;if(p==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Hr[t]=!0,!0;if(p==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Hr[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Hr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Hr[t]=!0,!0;var F=ha(t),B=F!==null&&F.type===un;if(Rc.hasOwnProperty(p)){var I=Rc[p];if(I!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,I),Hr[t]=!0,!0}else if(!B&&t!==p)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,p),Hr[t]=!0,!0;return typeof s=="boolean"&&Er(t,s,F,!1)?(s?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,t,t,s,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,t,t,s,t,t,t),Hr[t]=!0,!0):B?!0:Er(t,s,F,!1)?(Hr[t]=!0,!1):((s==="false"||s==="true")&&F!==null&&F.type===pe&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,s),Hr[t]=!0),!0)}}var rn=function(e,t,s){{var u=[];for(var p in t){var y=Us(e,p,t[p],s);y||u.push(p)}var w=u.map(function(_){return"`"+_+"`"}).join(", ");u.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,e):u.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,e)}};function Lc(e,t,s){ss(e,t)||rn(e,t,s)}var Gd=1,Xd=2,Fi=4,yp=Gd|Xd|Fi,Nl=null;function sv(e){Nl!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Nl=e}function lv(){Nl===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Nl=null}function Oc(e){return e===Nl}function bp(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Po?t.parentNode:t}var Jd=null,Rl=null,Rn=null;function Qd(e){var t=mf(e);if(t){if(typeof Jd!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=t.stateNode;if(s){var u=Rk(s);Jd(t.stateNode,t.type,u)}}}function Kd(e){Jd=e}function ju(e){Rl?Rn?Rn.push(e):Rn=[e]:Rl=e}function lm(){return Rl!==null||Rn!==null}function Zd(){if(Rl){var e=Rl,t=Rn;if(Rl=null,Rn=null,Qd(e),t)for(var s=0;s<t.length;s++)Qd(t[s])}}var zu=function(e,t){return e(t)},Bc=function(){},ls=!1;function kp(){var e=lm();e&&(Bc(),Zd())}function um(e,t,s){if(ls)return e(t,s);ls=!0;try{return zu(e,t,s)}finally{ls=!1,kp()}}function uv(e,t,s){zu=e,Bc=s}function wp(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Mc(e,t,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&wp(t));default:return!1}}function us(e,t){var s=e.stateNode;if(s===null)return null;var u=Rk(s);if(u===null)return null;var p=u[t];if(Mc(t,e.type,u))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var Uu=!1;if(zt)try{var Hs={};Object.defineProperty(Hs,"passive",{get:function(){Uu=!0}}),window.addEventListener("test",Hs,Hs),window.removeEventListener("test",Hs,Hs)}catch{Uu=!1}function Ic(e,t,s,u,p,y,w,_,F){var B=Array.prototype.slice.call(arguments,3);try{t.apply(s,B)}catch(I){this.onError(I)}}var Ro=Ic;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var ef=document.createElement("react");Ro=function(e,t,s,u,p,y,w,_,F){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var B=document.createEvent("Event"),I=!1,re=!0,te=window.event,fe=Object.getOwnPropertyDescriptor(window,"event");function ge(){ef.removeEventListener(se,rt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=te)}var _e=Array.prototype.slice.call(arguments,3);function rt(){I=!0,ge(),t.apply(s,_e),re=!1}var St,Rt=!1,pn=!1;function cn(Ce){if(St=Ce.error,Rt=!0,St===null&&Ce.colno===0&&Ce.lineno===0&&(pn=!0),Ce.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch{}}var se="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",cn),ef.addEventListener(se,rt,!1),B.initEvent(se,!1,!1),ef.dispatchEvent(B),fe&&Object.defineProperty(window,"event",fe),I&&re&&(Rt?pn&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",cn),!I)return ge(),Ic.apply(this,arguments)}}var Ai=Ro,cs=!1,jc=null,Ll=!1,ci=null,zc={onError:function(e){cs=!0,jc=e}};function ao(e,t,s,u,p,y,w,_,F){cs=!1,jc=null,Ai.apply(zc,arguments)}function io(e,t,s,u,p,y,w,_,F){if(ao.apply(this,arguments),cs){var B=Uc();Ll||(Ll=!0,ci=B)}}function Ws(){if(Ll){var e=ci;throw Ll=!1,ci=null,e}}function ds(){return cs}function Uc(){if(cs){var e=jc;return cs=!1,jc=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Hu(e){return e._reactInternals}function cv(e){return e._reactInternals!==void 0}function Ol(e,t){e._reactInternals=t}var Ct=0,$i=1,Fr=2,mn=4,Pi=16,Pt=32,Xn=64,kt=128,ya=256,Jn=512,Wr=1024,Va=2048,Ni=4096,Or=8192,Wu=16384,fs=32767,Hc=32768,Ya=65536,ps=131072,oo=1048576,Bl=2097152,Lo=4194304,tf=8388608,so=16777216,Oo=33554432,qs=mn|Wr|0,Vs=Fr|mn|Pi|Pt|Jn|Ni|Or,Ys=mn|Xn|Jn|Or,Bo=Va|Pi,Sr=Lo|tf|Bl,Ri=i.ReactCurrentOwner;function di(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(Fr|Ni))!==Ct&&(s=t.return),u=t.return;while(u)}return t.tag===P?s:null}function Mo(e){if(e.tag===X){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function Ta(e){return e.tag===P?e.stateNode.containerInfo:null}function Gs(e){return di(e)===e}function cm(e){{var t=Ri.current;if(t!==null&&t.tag===E){var s=t,u=s.stateNode;u._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Bt(s)||"A component"),u._warnedAboutRefsInRender=!0}}var p=Hu(e);return p?di(p)===p:!1}function Ml(e){if(di(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function qu(e){var t=e.alternate;if(!t){var s=di(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var u=e,p=t;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){var _=y.return;if(_!==null){u=p=_;continue}break}if(y.child===w.child){for(var F=y.child;F;){if(F===u)return Ml(y),e;if(F===p)return Ml(y),t;F=F.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==p.return)u=y,p=w;else{for(var B=!1,I=y.child;I;){if(I===u){B=!0,u=y,p=w;break}if(I===p){B=!0,p=y,u=w;break}I=I.sibling}if(!B){for(I=w.child;I;){if(I===u){B=!0,u=w,p=y;break}if(I===p){B=!0,p=w,u=y;break}I=I.sibling}if(!B)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==p)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==P)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Ga(e){var t=qu(e);return t!==null?Cn(t):null}function Cn(e){if(e.tag===O||e.tag===j)return e;for(var t=e.child;t!==null;){var s=Cn(t);if(s!==null)return s;t=t.sibling}return null}function cr(e){var t=qu(e);return t!==null?Li(t):null}function Li(e){if(e.tag===O||e.tag===j)return e;for(var t=e.child;t!==null;){if(t.tag!==R){var s=Li(t);if(s!==null)return s}t=t.sibling}return null}var Dp=n.unstable_scheduleCallback,dm=n.unstable_cancelCallback,Sp=n.unstable_shouldYield,Cp=n.unstable_requestPaint,Br=n.unstable_now,Wc=n.unstable_getCurrentPriorityLevel,Vu=n.unstable_ImmediatePriority,Xs=n.unstable_UserBlockingPriority,Io=n.unstable_NormalPriority,dv=n.unstable_LowPriority,hs=n.unstable_IdlePriority,Qr=n.unstable_yieldValue,fm=n.unstable_setDisableYieldValue,Il=null,Ar=null,tt=null,Xa=!1,Ja=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Js(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{it&&(e=Qt({},e,{getLaneLabelMap:jl,injectProfilingHooks:Oi})),Il=t.inject(e),Ar=t}catch(s){m("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function xp(e,t){if(Ar&&typeof Ar.onScheduleFiberRoot=="function")try{Ar.onScheduleFiberRoot(Il,e,t)}catch(s){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",s))}}function nf(e,t){if(Ar&&typeof Ar.onCommitFiberRoot=="function")try{var s=(e.current.flags&kt)===kt;if(Je){var u;switch(t){case Mi:u=Vu;break;case ys:u=Xs;break;case Zs:u=Io;break;case rd:u=hs;break;default:u=Io;break}Ar.onCommitFiberRoot(Il,e,u,s)}}catch(p){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",p))}}function _p(e){if(Ar&&typeof Ar.onPostCommitFiberRoot=="function")try{Ar.onPostCommitFiberRoot(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function Ep(e){if(Ar&&typeof Ar.onCommitFiberUnmount=="function")try{Ar.onCommitFiberUnmount(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function rr(e){if(typeof Qr=="function"&&(fm(e),c(e)),Ar&&typeof Ar.setStrictMode=="function")try{Ar.setStrictMode(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function Oi(e){tt=e}function jl(){{for(var e=new Map,t=1,s=0;s<x;s++){var u=Bb(t);e.set(t,u),t*=2}return e}}function Tp(e){tt!==null&&typeof tt.markCommitStarted=="function"&&tt.markCommitStarted(e)}function Yu(){tt!==null&&typeof tt.markCommitStopped=="function"&&tt.markCommitStopped()}function Qa(e){tt!==null&&typeof tt.markComponentRenderStarted=="function"&&tt.markComponentRenderStarted(e)}function Kr(){tt!==null&&typeof tt.markComponentRenderStopped=="function"&&tt.markComponentRenderStopped()}function qc(e){tt!==null&&typeof tt.markComponentPassiveEffectMountStarted=="function"&&tt.markComponentPassiveEffectMountStarted(e)}function rf(){tt!==null&&typeof tt.markComponentPassiveEffectMountStopped=="function"&&tt.markComponentPassiveEffectMountStopped()}function ms(e){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStarted=="function"&&tt.markComponentPassiveEffectUnmountStarted(e)}function Qs(){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStopped=="function"&&tt.markComponentPassiveEffectUnmountStopped()}function af(e){tt!==null&&typeof tt.markComponentLayoutEffectMountStarted=="function"&&tt.markComponentLayoutEffectMountStarted(e)}function pm(){tt!==null&&typeof tt.markComponentLayoutEffectMountStopped=="function"&&tt.markComponentLayoutEffectMountStopped()}function Vc(e){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStarted=="function"&&tt.markComponentLayoutEffectUnmountStarted(e)}function Fp(){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStopped=="function"&&tt.markComponentLayoutEffectUnmountStopped()}function Yc(e,t,s){tt!==null&&typeof tt.markComponentErrored=="function"&&tt.markComponentErrored(e,t,s)}function jo(e,t,s){tt!==null&&typeof tt.markComponentSuspended=="function"&&tt.markComponentSuspended(e,t,s)}function zl(e){tt!==null&&typeof tt.markLayoutEffectsStarted=="function"&&tt.markLayoutEffectsStarted(e)}function Gc(){tt!==null&&typeof tt.markLayoutEffectsStopped=="function"&&tt.markLayoutEffectsStopped()}function Ul(e){tt!==null&&typeof tt.markPassiveEffectsStarted=="function"&&tt.markPassiveEffectsStarted(e)}function Ap(){tt!==null&&typeof tt.markPassiveEffectsStopped=="function"&&tt.markPassiveEffectsStopped()}function Hl(e){tt!==null&&typeof tt.markRenderStarted=="function"&&tt.markRenderStarted(e)}function $p(){tt!==null&&typeof tt.markRenderYielded=="function"&&tt.markRenderYielded()}function of(){tt!==null&&typeof tt.markRenderStopped=="function"&&tt.markRenderStopped()}function hr(e){tt!==null&&typeof tt.markRenderScheduled=="function"&&tt.markRenderScheduled(e)}function Xc(e,t){tt!==null&&typeof tt.markForceUpdateScheduled=="function"&&tt.markForceUpdateScheduled(e,t)}function Ks(e,t){tt!==null&&typeof tt.markStateUpdateScheduled=="function"&&tt.markStateUpdateScheduled(e,t)}var xt=0,an=1,Tn=2,Yn=8,Fn=16,Mr=Math.clz32?Math.clz32:k,f=Math.log,g=Math.LN2;function k(e){var t=e>>>0;return t===0?32:31-(f(t)/g|0)|0}var x=31,T=0,M=0,U=1,ve=2,ze=4,nt=8,Ve=16,Gt=32,Kt=4194240,Xt=64,In=128,Cr=256,Ir=512,qr=1024,ht=2048,on=4096,xr=8192,vr=16384,$r=32768,gs=65536,Gu=131072,Wl=262144,Jc=524288,Pp=1048576,hm=2097152,Np=130023424,Qc=4194304,mm=8388608,Rp=16777216,gm=33554432,vm=67108864,fv=Qc,Lp=134217728,pv=268435455,Op=268435456,Kc=536870912,lo=1073741824;function Bb(e){{if(e&U)return"Sync";if(e&ve)return"InputContinuousHydration";if(e&ze)return"InputContinuous";if(e&nt)return"DefaultHydration";if(e&Ve)return"Default";if(e&Gt)return"TransitionHydration";if(e&Kt)return"Transition";if(e&Np)return"Retry";if(e&Lp)return"SelectiveHydration";if(e&Op)return"IdleHydration";if(e&Kc)return"Idle";if(e&lo)return"Offscreen"}}var dr=-1,Zc=Xt,ym=Qc;function Bp(e){switch(Xu(e)){case U:return U;case ve:return ve;case ze:return ze;case nt:return nt;case Ve:return Ve;case Gt:return Gt;case Xt:case In:case Cr:case Ir:case qr:case ht:case on:case xr:case vr:case $r:case gs:case Gu:case Wl:case Jc:case Pp:case hm:return e&Kt;case Qc:case mm:case Rp:case gm:case vm:return e&Np;case Lp:return Lp;case Op:return Op;case Kc:return Kc;case lo:return lo;default:return m("Should have found matching lanes. This is a bug in React."),e}}function bm(e,t){var s=e.pendingLanes;if(s===T)return T;var u=T,p=e.suspendedLanes,y=e.pingedLanes,w=s&pv;if(w!==T){var _=w&~p;if(_!==T)u=Bp(_);else{var F=w&y;F!==T&&(u=Bp(F))}}else{var B=s&~p;B!==T?u=Bp(B):y!==T&&(u=Bp(y))}if(u===T)return T;if(t!==T&&t!==u&&(t&p)===T){var I=Xu(u),re=Xu(t);if(I>=re||I===Ve&&(re&Kt)!==T)return t}(u&ze)!==T&&(u|=s&Ve);var te=e.entangledLanes;if(te!==T)for(var fe=e.entanglements,ge=u&te;ge>0;){var _e=Zr(ge),rt=1<<_e;u|=fe[_e],ge&=~rt}return u}function vs(e,t){for(var s=e.eventTimes,u=dr;t>0;){var p=Zr(t),y=1<<p,w=s[p];w>u&&(u=w),t&=~y}return u}function hv(e,t){switch(e){case U:case ve:case ze:return t+250;case nt:case Ve:case Gt:case Xt:case In:case Cr:case Ir:case qr:case ht:case on:case xr:case vr:case $r:case gs:case Gu:case Wl:case Jc:case Pp:case hm:return t+5e3;case Qc:case mm:case Rp:case gm:case vm:return dr;case Lp:case Op:case Kc:case lo:return dr;default:return m("Should have found matching lanes. This is a bug in React."),dr}}function km(e,t){for(var s=e.pendingLanes,u=e.suspendedLanes,p=e.pingedLanes,y=e.expirationTimes,w=s;w>0;){var _=Zr(w),F=1<<_,B=y[_];B===dr?((F&u)===T||(F&p)!==T)&&(y[_]=hv(F,t)):B<=t&&(e.expiredLanes|=F),w&=~F}}function Mb(e){return Bp(e.pendingLanes)}function wm(e){var t=e.pendingLanes&-1073741825;return t!==T?t:t&lo?lo:T}function Ib(e){return(e&U)!==T}function Mp(e){return(e&pv)!==T}function ed(e){return(e&Np)===e}function mv(e){var t=U|ze|Ve;return(e&t)===T}function gv(e){return(e&Kt)===e}function Dm(e,t){var s=ve|ze|nt|Ve;return(t&s)!==T}function jb(e,t){return(t&e.expiredLanes)!==T}function vv(e){return(e&Kt)!==T}function yv(){var e=Zc;return Zc<<=1,(Zc&Kt)===T&&(Zc=Xt),e}function zb(){var e=ym;return ym<<=1,(ym&Np)===T&&(ym=Qc),e}function Xu(e){return e&-e}function Ip(e){return Xu(e)}function Zr(e){return 31-Mr(e)}function Fa(e){return Zr(e)}function Bi(e,t){return(e&t)!==T}function td(e,t){return(e&t)===t}function Zt(e,t){return e|t}function jp(e,t){return e&~t}function bv(e,t){return e&t}function kv(e,t){return e!==M&&e<t?e:t}function Sm(e){for(var t=[],s=0;s<x;s++)t.push(e);return t}function nd(e,t,s){e.pendingLanes|=t,t!==Kc&&(e.suspendedLanes=T,e.pingedLanes=T);var u=e.eventTimes,p=Fa(t);u[p]=s}function Ub(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,u=t;u>0;){var p=Zr(u),y=1<<p;s[p]=dr,u&=~y}}function wv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function Dv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=T,e.pingedLanes=T,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,p=e.eventTimes,y=e.expirationTimes,w=s;w>0;){var _=Zr(w),F=1<<_;u[_]=T,p[_]=dr,y[_]=dr,w&=~F}}function zp(e,t){for(var s=e.entangledLanes|=t,u=e.entanglements,p=s;p;){var y=Zr(p),w=1<<y;w&t|u[y]&t&&(u[y]|=t),p&=~w}}function Hb(e,t){var s=Xu(t),u;switch(s){case ze:u=ve;break;case Ve:u=nt;break;case Xt:case In:case Cr:case Ir:case qr:case ht:case on:case xr:case vr:case $r:case gs:case Gu:case Wl:case Jc:case Pp:case hm:case Qc:case mm:case Rp:case gm:case vm:u=Gt;break;case Kc:u=Op;break;default:u=M;break}return(u&(e.suspendedLanes|t))!==M?M:u}function Cm(e,t,s){if(Ja)for(var u=e.pendingUpdatersLaneMap;s>0;){var p=Fa(s),y=1<<p,w=u[p];w.add(t),s&=~y}}function Up(e,t){if(Ja)for(var s=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var p=Fa(t),y=1<<p,w=s[p];w.size>0&&(w.forEach(function(_){var F=_.alternate;(F===null||!u.has(F))&&u.add(_)}),w.clear()),t&=~y}}function Wb(e,t){return null}var Mi=U,ys=ze,Zs=Ve,rd=Kc,uo=M;function bs(){return uo}function la(e){uo=e}function Sv(e,t){var s=uo;try{return uo=e,t()}finally{uo=s}}function qb(e,t){return e!==0&&e<t?e:t}function Vb(e,t){return e>t?e:t}function ad(e,t){return e!==0&&e<t}function Aa(e){var t=Xu(e);return ad(Mi,t)?ad(ys,t)?Mp(t)?Zs:rd:ys:Mi}function xm(e){var t=e.current.memoizedState;return t.isDehydrated}var Yb;function _m(e){Yb=e}function Ka(e){Yb(e)}var Cv;function mt(e){Cv=e}var id;function Gb(e){id=e}var xv;function R2(e){xv=e}var sf;function Em(e){sf=e}var Hp=!1,Wp=[],ql=null,Vl=null,el=null,od=new Map,Vr=new Map,ba=[],Ju=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function Xb(e){return Ju.indexOf(e)>-1}function Jb(e,t,s,u,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[u]}}function zo(e,t){switch(e){case"focusin":case"focusout":ql=null;break;case"dragenter":case"dragleave":Vl=null;break;case"mouseover":case"mouseout":el=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;od.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Vr.delete(u);break}}}function lf(e,t,s,u,p,y){if(e===null||e.nativeEvent!==y){var w=Jb(t,s,u,p,y);if(t!==null){var _=mf(t);_!==null&&Cv(_)}return w}e.eventSystemFlags|=u;var F=e.targetContainers;return p!==null&&F.indexOf(p)===-1&&F.push(p),e}function tl(e,t,s,u,p){switch(t){case"focusin":{var y=p;return ql=lf(ql,e,t,s,u,y),!0}case"dragenter":{var w=p;return Vl=lf(Vl,e,t,s,u,w),!0}case"mouseover":{var _=p;return el=lf(el,e,t,s,u,_),!0}case"pointerover":{var F=p,B=F.pointerId;return od.set(B,lf(od.get(B)||null,e,t,s,u,F)),!0}case"gotpointercapture":{var I=p,re=I.pointerId;return Vr.set(re,lf(Vr.get(re)||null,e,t,s,u,I)),!0}}return!1}function Qb(e){var t=th(e.target);if(t!==null){var s=di(t);if(s!==null){var u=s.tag;if(u===X){var p=Mo(s);if(p!==null){e.blockedOn=p,sf(e.priority,function(){id(s)});return}}else if(u===P){var y=s.stateNode;if(xm(y)){e.blockedOn=Ta(s);return}}}}e.blockedOn=null}function Kb(e){for(var t=xv(),s={blockedOn:null,target:e,priority:t},u=0;u<ba.length&&ad(t,ba[u].priority);u++);ba.splice(u,0,s),u===0&&Qb(s)}function qp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],u=Yl(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(u===null){var p=e.nativeEvent,y=new p.constructor(p.type,p);sv(y),p.target.dispatchEvent(y),lv()}else{var w=mf(u);return w!==null&&Cv(w),e.blockedOn=u,!1}t.shift()}return!0}function _v(e,t,s){qp(e)&&s.delete(t)}function Zb(){Hp=!1,ql!==null&&qp(ql)&&(ql=null),Vl!==null&&qp(Vl)&&(Vl=null),el!==null&&qp(el)&&(el=null),od.forEach(_v),Vr.forEach(_v)}function Vp(e,t){e.blockedOn===t&&(e.blockedOn=null,Hp||(Hp=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Zb)))}function Qu(e){if(Wp.length>0){Vp(Wp[0],e);for(var t=1;t<Wp.length;t++){var s=Wp[t];s.blockedOn===e&&(s.blockedOn=null)}}ql!==null&&Vp(ql,e),Vl!==null&&Vp(Vl,e),el!==null&&Vp(el,e);var u=function(_){return Vp(_,e)};od.forEach(u),Vr.forEach(u);for(var p=0;p<ba.length;p++){var y=ba[p];y.blockedOn===e&&(y.blockedOn=null)}for(;ba.length>0;){var w=ba[0];if(w.blockedOn!==null)break;Qb(w),w.blockedOn===null&&ba.shift()}}var Ku=i.ReactCurrentBatchConfig,Ii=!0;function An(e){Ii=!!e}function ka(){return Ii}function ea(e,t,s){var u=Yp(t),p;switch(u){case Mi:p=$a;break;case ys:p=co;break;case Zs:default:p=Zu;break}return p.bind(null,t,s,e)}function $a(e,t,s,u){var p=bs(),y=Ku.transition;Ku.transition=null;try{la(Mi),Zu(e,t,s,u)}finally{la(p),Ku.transition=y}}function co(e,t,s,u){var p=bs(),y=Ku.transition;Ku.transition=null;try{la(ys),Zu(e,t,s,u)}finally{la(p),Ku.transition=y}}function Zu(e,t,s,u){Ii&&ua(e,t,s,u)}function ua(e,t,s,u){var p=Yl(e,t,s,u);if(p===null){G2(e,t,u,ec,s),zo(e,u);return}if(tl(p,e,t,s,u)){u.stopPropagation();return}if(zo(e,u),t&Fi&&Xb(e)){for(;p!==null;){var y=mf(p);y!==null&&Ka(y);var w=Yl(e,t,s,u);if(w===null&&G2(e,t,u,ec,s),w===p)break;p=w}p!==null&&u.stopPropagation();return}G2(e,t,u,null,s)}var ec=null;function Yl(e,t,s,u){ec=null;var p=bp(u),y=th(p);if(y!==null){var w=di(y);if(w===null)y=null;else{var _=w.tag;if(_===X){var F=Mo(w);if(F!==null)return F;y=null}else if(_===P){var B=w.stateNode;if(xm(B))return Ta(w);y=null}else w!==y&&(y=null)}}return ec=y,null}function Yp(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Mi;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ys;case"message":{var t=Wc();switch(t){case Vu:return Mi;case Xs:return ys;case Io:case dv:return Zs;case hs:return rd;default:return Zs}}default:return Zs}}function Ev(e,t,s){return e.addEventListener(t,s,!1),s}function Gp(e,t,s){return e.addEventListener(t,s,!0),s}function ji(e,t,s,u){return e.addEventListener(t,s,{capture:!0,passive:u}),s}function Tv(e,t,s,u){return e.addEventListener(t,s,{passive:u}),s}var nl=null,ks=null,tc=null;function Fv(e){return nl=e,ks=Gl(),!0}function nc(){nl=null,ks=null,tc=null}function Xp(){if(tc)return tc;var e,t=ks,s=t.length,u,p=Gl(),y=p.length;for(e=0;e<s&&t[e]===p[e];e++);var w=s-e;for(u=1;u<=w&&t[s-u]===p[y-u];u++);var _=u>1?1-u:void 0;return tc=p.slice(e,_),tc}function Gl(){return"value"in nl?nl.value:nl.textContent}function sd(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function rc(){return!0}function Tm(){return!1}function Za(e){function t(s,u,p,y,w){this._reactName=s,this._targetInst=p,this.type=u,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var _ in e)if(e.hasOwnProperty(_)){var F=e[_];F?this[_]=F(y):this[_]=y[_]}var B=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return B?this.isDefaultPrevented=rc:this.isDefaultPrevented=Tm,this.isPropagationStopped=Tm,this}return Qt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=rc)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=rc)},persist:function(){},isPersistent:rc}),t}var Xl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pa=Za(Xl),Uo=Qt({},Xl,{view:0,detail:0}),ws=Za(Uo),ei,Fm,ld;function Av(e){e!==ld&&(ld&&e.type==="mousemove"?(ei=e.screenX-ld.screenX,Fm=e.screenY-ld.screenY):(ei=0,Fm=0),ld=e)}var Am=Qt({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Av(e),ei)},movementY:function(e){return"movementY"in e?e.movementY:Fm}}),Jl=Za(Am),ek=Qt({},Am,{dataTransfer:0}),$v=Za(ek),ud=Qt({},Uo,{relatedTarget:0}),Jp=Za(ud),cd=Qt({},Xl,{animationName:0,elapsedTime:0,pseudoElement:0}),tk=Za(cd),nk=Qt({},Xl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pv=Za(nk),$m=Qt({},Xl,{data:0}),rk=Za($m),L2=rk,ak={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ik={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function dd(e){if(e.key){var t=ak[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=sd(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?ik[e.keyCode]||"Unidentified":""}var O2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uf(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var u=O2[e];return u?!!s[u]:!1}function Pm(e){return uf}var jr=Qt({},Uo,{key:dd,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pm,charCode:function(e){return e.type==="keypress"?sd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?sd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),B2=Za(jr),ok=Qt({},Am,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sk=Za(ok),M2=Qt({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pm}),lk=Za(M2),uk=Qt({},Xl,{propertyName:0,elapsedTime:0,pseudoElement:0}),I2=Za(uk),Ho=Qt({},Am,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nv=Za(Ho),j2=[9,13,27,32],Ql=229,cf=zt&&"CompositionEvent"in window,Ds=null;zt&&"documentMode"in document&&(Ds=document.documentMode);var Nm=zt&&"TextEvent"in window&&!Ds,Rm=zt&&(!cf||Ds&&Ds>8&&Ds<=11),Lm=32,ck=String.fromCharCode(Lm);function Rv(){Et("onBeforeInput",["compositionend","keypress","textInput","paste"]),Et("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Et("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Et("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var dk=!1;function fk(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function pk(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Om(e,t){return e==="keydown"&&t.keyCode===Ql}function Qp(e,t){switch(e){case"keyup":return j2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Ql;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Bm(e){return e.locale==="ko"}var df=!1;function hk(e,t,s,u,p){var y,w;if(cf?y=pk(t):df?Qp(t,u)&&(y="onCompositionEnd"):Om(t,u)&&(y="onCompositionStart"),!y)return null;Rm&&!Bm(u)&&(!df&&y==="onCompositionStart"?df=Fv(p):y==="onCompositionEnd"&&df&&(w=Xp()));var _=wk(s,y);if(_.length>0){var F=new rk(y,t,null,u,p);if(e.push({event:F,listeners:_}),w)F.data=w;else{var B=Lv(u);B!==null&&(F.data=B)}}}function Ov(e,t){switch(e){case"compositionend":return Lv(t);case"keypress":var s=t.which;return s!==Lm?null:(dk=!0,ck);case"textInput":var u=t.data;return u===ck&&dk?null:u;default:return null}}function Mm(e,t){if(df){if(e==="compositionend"||!cf&&Qp(e,t)){var s=Xp();return nc(),df=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!fk(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rm&&!Bm(t)?null:t.data;default:return null}}function Bv(e,t,s,u,p){var y;if(Nm?y=Ov(t,u):y=Mm(t,u),!y)return null;var w=wk(s,"onBeforeInput");if(w.length>0){var _=new L2("onBeforeInput","beforeinput",null,u,p);e.push({event:_,listeners:w}),_.data=y}}function Im(e,t,s,u,p,y,w){hk(e,t,s,u,p),Bv(e,t,s,u,p)}var mk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!mk[e.type]:t==="textarea"}/**
|
|
180
|
+
Check the render method of \``+e+"`.":""}var Ms=["value","defaultValue"];function Ac(e){{_u("select",e);for(var t=0;t<Ms.length;t++){var s=Ms[t];if(e[s]!=null){var u=Yt(e[s]);e.multiple&&!u?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,gr()):!e.multiple&&u&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,gr())}}}}function as(e,t,s,u){var p=e.options;if(t){for(var y=s,w={},_=0;_<y.length;_++)w["$"+y[_]]=!0;for(var F=0;F<p.length;F++){var B=w.hasOwnProperty("$"+p[F].value);p[F].selected!==B&&(p[F].selected=B),B&&u&&(p[F].defaultSelected=!0)}}else{for(var j=_a(_i(s)),re=null,te=0;te<p.length;te++){if(p[te].value===j){p[te].selected=!0,u&&(p[te].defaultSelected=!0);return}re===null&&!p[te].disabled&&(re=p[te])}re!==null&&(re.selected=!0)}}function $c(e,t){return Qt({},t,{value:void 0})}function _l(e,t){var s=e;Ac(t),s._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Vn&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Vn=!0)}function Md(e,t){var s=e;s.multiple=!!t.multiple;var u=t.value;u!=null?as(s,!!t.multiple,u,!1):t.defaultValue!=null&&as(s,!!t.multiple,t.defaultValue,!0)}function Id(e,t){var s=e,u=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!t.multiple;var p=t.value;p!=null?as(s,!!t.multiple,p,!1):u!==!!t.multiple&&(t.defaultValue!=null?as(s,!!t.multiple,t.defaultValue,!0):as(s,!!t.multiple,t.multiple?[]:"",!1))}function ip(e,t){var s=e,u=t.value;u!=null&&as(s,!!t.multiple,u,!1)}var Jh=!1;function op(e,t){var s=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=Qt({},t,{value:void 0,defaultValue:void 0,children:_a(s._wrapperState.initialValue)});return u}function jd(e,t){var s=e;_u("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Jh&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",va()||"A component"),Jh=!0);var u=t.value;if(u==null){var p=t.children,y=t.defaultValue;if(p!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}y=p}}y==null&&(y=""),u=y}s._wrapperState={initialValue:_i(u)}}function sp(e,t){var s=e,u=_i(t.value),p=_i(t.defaultValue);if(u!=null){var y=_a(u);y!==s.value&&(s.value=y),t.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)}p!=null&&(s.defaultValue=_a(p))}function Qh(e,t){var s=e,u=s.textContent;u===s._wrapperState.initialValue&&u!==""&&u!==null&&(s.value=u)}function lp(e,t){sp(e,t)}var li="http://www.w3.org/1999/xhtml",El="http://www.w3.org/1998/Math/MathML",Pc="http://www.w3.org/2000/svg";function up(e){switch(e){case"svg":return Pc;case"math":return El;default:return li}}function Tl(e,t){return e==null||e===li?up(t):e===Pc&&t==="foreignObject"?li:e}var Kh=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,s,u,p){MSApp.execUnsafeLocalFunction(function(){return e(t,s,u,p)})}:e},$o,zd=Kh(function(e,t){if(e.namespaceURI===Pc&&!("innerHTML"in e)){$o=$o||document.createElement("div"),$o.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var s=$o.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;s.firstChild;)e.appendChild(s.firstChild);return}e.innerHTML=t}),Jr=1,Po=3,nr=8,ui=9,Fl=11,is=function(e,t){if(t){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===Po){s.nodeValue=t;return}}e.textContent=t},Nc={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Is={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Zh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var em=["Webkit","ms","Moz","O"];Object.keys(Is).forEach(function(e){em.forEach(function(t){Is[Zh(t,e)]=Is[e]})});function Pu(e,t,s){var u=t==null||typeof t=="boolean"||t==="";return u?"":!s&&typeof t=="number"&&t!==0&&!(Is.hasOwnProperty(e)&&Is[e])?t+"px":(Rr(t,e),(""+t).trim())}var Nu=/([A-Z])/g,js=/^ms-/;function Al(e){return e.replace(Nu,"-$1").toLowerCase().replace(js,"-ms-")}var Ud=function(){};{var cp=/^(?:webkit|moz|o)[A-Z]/,nv=/^-ms-/,dp=/-(.)/g,fp=/;\s*$/,No={},$l={},Ru=!1,os=!1,rv=function(e){return e.replace(dp,function(t,s){return s.toUpperCase()})},tm=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,rv(e.replace(nv,"ms-"))))},pp=function(e){No.hasOwnProperty(e)&&No[e]||(No[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},hp=function(e,t){$l.hasOwnProperty(t)&&$l[t]||($l[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(fp,"")))},nm=function(e,t){Ru||(Ru=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},rm=function(e,t){os||(os=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};Ud=function(e,t){e.indexOf("-")>-1?tm(e):cp.test(e)?pp(e):fp.test(t)&&hp(e,t),typeof t=="number"&&(isNaN(t)?nm(e,t):isFinite(t)||rm(e,t))}}var am=Ud;function av(e){{var t="",s="";for(var u in e)if(e.hasOwnProperty(u)){var p=e[u];if(p!=null){var y=u.indexOf("--")===0;t+=s+(y?u:Al(u))+":",t+=Pu(u,p,y),s=";"}}return t||null}}function im(e,t){var s=e.style;for(var u in t)if(t.hasOwnProperty(u)){var p=u.indexOf("--")===0;p||am(u,t[u]);var y=Pu(u,t[u],p);u==="float"&&(u="cssFloat"),p?s.setProperty(u,y):s[u]=y}}function iv(e){return e==null||typeof e=="boolean"||e===""}function om(e){var t={};for(var s in e)for(var u=Nc[s]||[s],p=0;p<u.length;p++)t[u[p]]=s;return t}function sm(e,t){{if(!t)return;var s=om(e),u=om(t),p={};for(var y in s){var w=s[y],_=u[y];if(_&&w!==_){var F=w+","+_;if(p[F])continue;p[F]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",iv(e[w])?"Removing":"Updating",w,_)}}}}var Ea={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},zs=Qt({menuitem:!0},Ea),Hd="__html";function Wd(e,t){if(t){if(zs[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Hd in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ss(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},qd={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Lu={},ov=new RegExp("^(aria)-["+Be+"]*$"),Ou=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Bu(e,t){{if(zn.call(Lu,t)&&Lu[t])return!0;if(Ou.test(t)){var s="aria-"+t.slice(4).toLowerCase(),u=qd.hasOwnProperty(s)?s:null;if(u==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Lu[t]=!0,!0;if(t!==u)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Lu[t]=!0,!0}if(ov.test(t)){var p=t.toLowerCase(),y=qd.hasOwnProperty(p)?p:null;if(y==null)return Lu[t]=!0,!1;if(t!==y)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,y),Lu[t]=!0,!0}}return!0}function Pl(e,t){{var s=[];for(var u in t){var p=Bu(e,u);p||s.push(u)}var y=s.map(function(w){return"`"+w+"`"}).join(", ");s.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e):s.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",y,e)}}function Mu(e,t){ss(e,t)||Pl(e,t)}var mp=!1;function Iu(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!mp&&(mp=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Us=function(){};{var Hr={},gp=/^on./,Vd=/^on[^A-Z]/,Yd=new RegExp("^(aria)-["+Be+"]*$"),vp=new RegExp("^(aria)[A-Z]["+Be+"]*$");Us=function(e,t,s,u){if(zn.call(Hr,t)&&Hr[t])return!0;var p=t.toLowerCase();if(p==="onfocusin"||p==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Hr[t]=!0,!0;if(u!=null){var y=u.registrationNameDependencies,w=u.possibleRegistrationNames;if(y.hasOwnProperty(t))return!0;var _=w.hasOwnProperty(p)?w[p]:null;if(_!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,_),Hr[t]=!0,!0;if(gp.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),Hr[t]=!0,!0}else if(gp.test(t))return Vd.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Hr[t]=!0,!0;if(Yd.test(t)||vp.test(t))return!0;if(p==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Hr[t]=!0,!0;if(p==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Hr[t]=!0,!0;if(p==="is"&&s!==null&&s!==void 0&&typeof s!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),Hr[t]=!0,!0;if(typeof s=="number"&&isNaN(s))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Hr[t]=!0,!0;var F=ha(t),B=F!==null&&F.type===un;if(Rc.hasOwnProperty(p)){var j=Rc[p];if(j!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,j),Hr[t]=!0,!0}else if(!B&&t!==p)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,p),Hr[t]=!0,!0;return typeof s=="boolean"&&Er(t,s,F,!1)?(s?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,t,t,s,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,t,t,s,t,t,t),Hr[t]=!0,!0):B?!0:Er(t,s,F,!1)?(Hr[t]=!0,!1):((s==="false"||s==="true")&&F!==null&&F.type===pe&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,t,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,s),Hr[t]=!0),!0)}}var rn=function(e,t,s){{var u=[];for(var p in t){var y=Us(e,p,t[p],s);y||u.push(p)}var w=u.map(function(_){return"`"+_+"`"}).join(", ");u.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,e):u.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,e)}};function Lc(e,t,s){ss(e,t)||rn(e,t,s)}var Gd=1,Xd=2,Fi=4,yp=Gd|Xd|Fi,Nl=null;function sv(e){Nl!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Nl=e}function lv(){Nl===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Nl=null}function Oc(e){return e===Nl}function bp(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Po?t.parentNode:t}var Jd=null,Rl=null,Rn=null;function Qd(e){var t=mf(e);if(t){if(typeof Jd!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var s=t.stateNode;if(s){var u=Rk(s);Jd(t.stateNode,t.type,u)}}}function Kd(e){Jd=e}function ju(e){Rl?Rn?Rn.push(e):Rn=[e]:Rl=e}function lm(){return Rl!==null||Rn!==null}function Zd(){if(Rl){var e=Rl,t=Rn;if(Rl=null,Rn=null,Qd(e),t)for(var s=0;s<t.length;s++)Qd(t[s])}}var zu=function(e,t){return e(t)},Bc=function(){},ls=!1;function kp(){var e=lm();e&&(Bc(),Zd())}function um(e,t,s){if(ls)return e(t,s);ls=!0;try{return zu(e,t,s)}finally{ls=!1,kp()}}function uv(e,t,s){zu=e,Bc=s}function wp(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Mc(e,t,s){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(s.disabled&&wp(t));default:return!1}}function us(e,t){var s=e.stateNode;if(s===null)return null;var u=Rk(s);if(u===null)return null;var p=u[t];if(Mc(t,e.type,u))return null;if(p&&typeof p!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof p+"` type.");return p}var Uu=!1;if(zt)try{var Hs={};Object.defineProperty(Hs,"passive",{get:function(){Uu=!0}}),window.addEventListener("test",Hs,Hs),window.removeEventListener("test",Hs,Hs)}catch{Uu=!1}function Ic(e,t,s,u,p,y,w,_,F){var B=Array.prototype.slice.call(arguments,3);try{t.apply(s,B)}catch(j){this.onError(j)}}var Ro=Ic;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var ef=document.createElement("react");Ro=function(e,t,s,u,p,y,w,_,F){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var B=document.createEvent("Event"),j=!1,re=!0,te=window.event,fe=Object.getOwnPropertyDescriptor(window,"event");function ge(){ef.removeEventListener(se,rt,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=te)}var _e=Array.prototype.slice.call(arguments,3);function rt(){j=!0,ge(),t.apply(s,_e),re=!1}var St,Rt=!1,pn=!1;function cn(Ce){if(St=Ce.error,Rt=!0,St===null&&Ce.colno===0&&Ce.lineno===0&&(pn=!0),Ce.defaultPrevented&&St!=null&&typeof St=="object")try{St._suppressLogging=!0}catch{}}var se="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",cn),ef.addEventListener(se,rt,!1),B.initEvent(se,!1,!1),ef.dispatchEvent(B),fe&&Object.defineProperty(window,"event",fe),j&&re&&(Rt?pn&&(St=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):St=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(St)),window.removeEventListener("error",cn),!j)return ge(),Ic.apply(this,arguments)}}var Ai=Ro,cs=!1,jc=null,Ll=!1,ci=null,zc={onError:function(e){cs=!0,jc=e}};function ao(e,t,s,u,p,y,w,_,F){cs=!1,jc=null,Ai.apply(zc,arguments)}function io(e,t,s,u,p,y,w,_,F){if(ao.apply(this,arguments),cs){var B=Uc();Ll||(Ll=!0,ci=B)}}function Ws(){if(Ll){var e=ci;throw Ll=!1,ci=null,e}}function ds(){return cs}function Uc(){if(cs){var e=jc;return cs=!1,jc=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Hu(e){return e._reactInternals}function cv(e){return e._reactInternals!==void 0}function Ol(e,t){e._reactInternals=t}var Ct=0,$i=1,Fr=2,mn=4,Pi=16,Pt=32,Xn=64,kt=128,ya=256,Jn=512,Wr=1024,Va=2048,Ni=4096,Or=8192,Wu=16384,fs=32767,Hc=32768,Ya=65536,ps=131072,oo=1048576,Bl=2097152,Lo=4194304,tf=8388608,so=16777216,Oo=33554432,qs=mn|Wr|0,Vs=Fr|mn|Pi|Pt|Jn|Ni|Or,Ys=mn|Xn|Jn|Or,Bo=Va|Pi,Sr=Lo|tf|Bl,Ri=i.ReactCurrentOwner;function di(e){var t=e,s=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(Fr|Ni))!==Ct&&(s=t.return),u=t.return;while(u)}return t.tag===P?s:null}function Mo(e){if(e.tag===X){var t=e.memoizedState;if(t===null){var s=e.alternate;s!==null&&(t=s.memoizedState)}if(t!==null)return t.dehydrated}return null}function Ta(e){return e.tag===P?e.stateNode.containerInfo:null}function Gs(e){return di(e)===e}function cm(e){{var t=Ri.current;if(t!==null&&t.tag===E){var s=t,u=s.stateNode;u._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Bt(s)||"A component"),u._warnedAboutRefsInRender=!0}}var p=Hu(e);return p?di(p)===p:!1}function Ml(e){if(di(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function qu(e){var t=e.alternate;if(!t){var s=di(e);if(s===null)throw new Error("Unable to find node on an unmounted component.");return s!==e?null:e}for(var u=e,p=t;;){var y=u.return;if(y===null)break;var w=y.alternate;if(w===null){var _=y.return;if(_!==null){u=p=_;continue}break}if(y.child===w.child){for(var F=y.child;F;){if(F===u)return Ml(y),e;if(F===p)return Ml(y),t;F=F.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==p.return)u=y,p=w;else{for(var B=!1,j=y.child;j;){if(j===u){B=!0,u=y,p=w;break}if(j===p){B=!0,p=y,u=w;break}j=j.sibling}if(!B){for(j=w.child;j;){if(j===u){B=!0,u=w,p=y;break}if(j===p){B=!0,p=w,u=y;break}j=j.sibling}if(!B)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==p)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==P)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function Ga(e){var t=qu(e);return t!==null?Cn(t):null}function Cn(e){if(e.tag===O||e.tag===I)return e;for(var t=e.child;t!==null;){var s=Cn(t);if(s!==null)return s;t=t.sibling}return null}function cr(e){var t=qu(e);return t!==null?Li(t):null}function Li(e){if(e.tag===O||e.tag===I)return e;for(var t=e.child;t!==null;){if(t.tag!==R){var s=Li(t);if(s!==null)return s}t=t.sibling}return null}var Dp=n.unstable_scheduleCallback,dm=n.unstable_cancelCallback,Sp=n.unstable_shouldYield,Cp=n.unstable_requestPaint,Br=n.unstable_now,Wc=n.unstable_getCurrentPriorityLevel,Vu=n.unstable_ImmediatePriority,Xs=n.unstable_UserBlockingPriority,Io=n.unstable_NormalPriority,dv=n.unstable_LowPriority,hs=n.unstable_IdlePriority,Qr=n.unstable_yieldValue,fm=n.unstable_setDisableYieldValue,Il=null,Ar=null,tt=null,Xa=!1,Ja=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Js(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{it&&(e=Qt({},e,{getLaneLabelMap:jl,injectProfilingHooks:Oi})),Il=t.inject(e),Ar=t}catch(s){m("React instrumentation encountered an error: %s.",s)}return!!t.checkDCE}function xp(e,t){if(Ar&&typeof Ar.onScheduleFiberRoot=="function")try{Ar.onScheduleFiberRoot(Il,e,t)}catch(s){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",s))}}function nf(e,t){if(Ar&&typeof Ar.onCommitFiberRoot=="function")try{var s=(e.current.flags&kt)===kt;if(Je){var u;switch(t){case Mi:u=Vu;break;case ys:u=Xs;break;case Zs:u=Io;break;case rd:u=hs;break;default:u=Io;break}Ar.onCommitFiberRoot(Il,e,u,s)}}catch(p){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",p))}}function _p(e){if(Ar&&typeof Ar.onPostCommitFiberRoot=="function")try{Ar.onPostCommitFiberRoot(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function Ep(e){if(Ar&&typeof Ar.onCommitFiberUnmount=="function")try{Ar.onCommitFiberUnmount(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function rr(e){if(typeof Qr=="function"&&(fm(e),c(e)),Ar&&typeof Ar.setStrictMode=="function")try{Ar.setStrictMode(Il,e)}catch(t){Xa||(Xa=!0,m("React instrumentation encountered an error: %s",t))}}function Oi(e){tt=e}function jl(){{for(var e=new Map,t=1,s=0;s<x;s++){var u=Bb(t);e.set(t,u),t*=2}return e}}function Tp(e){tt!==null&&typeof tt.markCommitStarted=="function"&&tt.markCommitStarted(e)}function Yu(){tt!==null&&typeof tt.markCommitStopped=="function"&&tt.markCommitStopped()}function Qa(e){tt!==null&&typeof tt.markComponentRenderStarted=="function"&&tt.markComponentRenderStarted(e)}function Kr(){tt!==null&&typeof tt.markComponentRenderStopped=="function"&&tt.markComponentRenderStopped()}function qc(e){tt!==null&&typeof tt.markComponentPassiveEffectMountStarted=="function"&&tt.markComponentPassiveEffectMountStarted(e)}function rf(){tt!==null&&typeof tt.markComponentPassiveEffectMountStopped=="function"&&tt.markComponentPassiveEffectMountStopped()}function ms(e){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStarted=="function"&&tt.markComponentPassiveEffectUnmountStarted(e)}function Qs(){tt!==null&&typeof tt.markComponentPassiveEffectUnmountStopped=="function"&&tt.markComponentPassiveEffectUnmountStopped()}function af(e){tt!==null&&typeof tt.markComponentLayoutEffectMountStarted=="function"&&tt.markComponentLayoutEffectMountStarted(e)}function pm(){tt!==null&&typeof tt.markComponentLayoutEffectMountStopped=="function"&&tt.markComponentLayoutEffectMountStopped()}function Vc(e){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStarted=="function"&&tt.markComponentLayoutEffectUnmountStarted(e)}function Fp(){tt!==null&&typeof tt.markComponentLayoutEffectUnmountStopped=="function"&&tt.markComponentLayoutEffectUnmountStopped()}function Yc(e,t,s){tt!==null&&typeof tt.markComponentErrored=="function"&&tt.markComponentErrored(e,t,s)}function jo(e,t,s){tt!==null&&typeof tt.markComponentSuspended=="function"&&tt.markComponentSuspended(e,t,s)}function zl(e){tt!==null&&typeof tt.markLayoutEffectsStarted=="function"&&tt.markLayoutEffectsStarted(e)}function Gc(){tt!==null&&typeof tt.markLayoutEffectsStopped=="function"&&tt.markLayoutEffectsStopped()}function Ul(e){tt!==null&&typeof tt.markPassiveEffectsStarted=="function"&&tt.markPassiveEffectsStarted(e)}function Ap(){tt!==null&&typeof tt.markPassiveEffectsStopped=="function"&&tt.markPassiveEffectsStopped()}function Hl(e){tt!==null&&typeof tt.markRenderStarted=="function"&&tt.markRenderStarted(e)}function $p(){tt!==null&&typeof tt.markRenderYielded=="function"&&tt.markRenderYielded()}function of(){tt!==null&&typeof tt.markRenderStopped=="function"&&tt.markRenderStopped()}function hr(e){tt!==null&&typeof tt.markRenderScheduled=="function"&&tt.markRenderScheduled(e)}function Xc(e,t){tt!==null&&typeof tt.markForceUpdateScheduled=="function"&&tt.markForceUpdateScheduled(e,t)}function Ks(e,t){tt!==null&&typeof tt.markStateUpdateScheduled=="function"&&tt.markStateUpdateScheduled(e,t)}var xt=0,an=1,Tn=2,Yn=8,Fn=16,Mr=Math.clz32?Math.clz32:k,f=Math.log,g=Math.LN2;function k(e){var t=e>>>0;return t===0?32:31-(f(t)/g|0)|0}var x=31,T=0,M=0,U=1,ve=2,ze=4,nt=8,Ve=16,Gt=32,Kt=4194240,Xt=64,In=128,Cr=256,Ir=512,qr=1024,ht=2048,on=4096,xr=8192,vr=16384,$r=32768,gs=65536,Gu=131072,Wl=262144,Jc=524288,Pp=1048576,hm=2097152,Np=130023424,Qc=4194304,mm=8388608,Rp=16777216,gm=33554432,vm=67108864,fv=Qc,Lp=134217728,pv=268435455,Op=268435456,Kc=536870912,lo=1073741824;function Bb(e){{if(e&U)return"Sync";if(e&ve)return"InputContinuousHydration";if(e&ze)return"InputContinuous";if(e&nt)return"DefaultHydration";if(e&Ve)return"Default";if(e&Gt)return"TransitionHydration";if(e&Kt)return"Transition";if(e&Np)return"Retry";if(e&Lp)return"SelectiveHydration";if(e&Op)return"IdleHydration";if(e&Kc)return"Idle";if(e&lo)return"Offscreen"}}var dr=-1,Zc=Xt,ym=Qc;function Bp(e){switch(Xu(e)){case U:return U;case ve:return ve;case ze:return ze;case nt:return nt;case Ve:return Ve;case Gt:return Gt;case Xt:case In:case Cr:case Ir:case qr:case ht:case on:case xr:case vr:case $r:case gs:case Gu:case Wl:case Jc:case Pp:case hm:return e&Kt;case Qc:case mm:case Rp:case gm:case vm:return e&Np;case Lp:return Lp;case Op:return Op;case Kc:return Kc;case lo:return lo;default:return m("Should have found matching lanes. This is a bug in React."),e}}function bm(e,t){var s=e.pendingLanes;if(s===T)return T;var u=T,p=e.suspendedLanes,y=e.pingedLanes,w=s&pv;if(w!==T){var _=w&~p;if(_!==T)u=Bp(_);else{var F=w&y;F!==T&&(u=Bp(F))}}else{var B=s&~p;B!==T?u=Bp(B):y!==T&&(u=Bp(y))}if(u===T)return T;if(t!==T&&t!==u&&(t&p)===T){var j=Xu(u),re=Xu(t);if(j>=re||j===Ve&&(re&Kt)!==T)return t}(u&ze)!==T&&(u|=s&Ve);var te=e.entangledLanes;if(te!==T)for(var fe=e.entanglements,ge=u&te;ge>0;){var _e=Zr(ge),rt=1<<_e;u|=fe[_e],ge&=~rt}return u}function vs(e,t){for(var s=e.eventTimes,u=dr;t>0;){var p=Zr(t),y=1<<p,w=s[p];w>u&&(u=w),t&=~y}return u}function hv(e,t){switch(e){case U:case ve:case ze:return t+250;case nt:case Ve:case Gt:case Xt:case In:case Cr:case Ir:case qr:case ht:case on:case xr:case vr:case $r:case gs:case Gu:case Wl:case Jc:case Pp:case hm:return t+5e3;case Qc:case mm:case Rp:case gm:case vm:return dr;case Lp:case Op:case Kc:case lo:return dr;default:return m("Should have found matching lanes. This is a bug in React."),dr}}function km(e,t){for(var s=e.pendingLanes,u=e.suspendedLanes,p=e.pingedLanes,y=e.expirationTimes,w=s;w>0;){var _=Zr(w),F=1<<_,B=y[_];B===dr?((F&u)===T||(F&p)!==T)&&(y[_]=hv(F,t)):B<=t&&(e.expiredLanes|=F),w&=~F}}function Mb(e){return Bp(e.pendingLanes)}function wm(e){var t=e.pendingLanes&-1073741825;return t!==T?t:t&lo?lo:T}function Ib(e){return(e&U)!==T}function Mp(e){return(e&pv)!==T}function ed(e){return(e&Np)===e}function mv(e){var t=U|ze|Ve;return(e&t)===T}function gv(e){return(e&Kt)===e}function Dm(e,t){var s=ve|ze|nt|Ve;return(t&s)!==T}function jb(e,t){return(t&e.expiredLanes)!==T}function vv(e){return(e&Kt)!==T}function yv(){var e=Zc;return Zc<<=1,(Zc&Kt)===T&&(Zc=Xt),e}function zb(){var e=ym;return ym<<=1,(ym&Np)===T&&(ym=Qc),e}function Xu(e){return e&-e}function Ip(e){return Xu(e)}function Zr(e){return 31-Mr(e)}function Fa(e){return Zr(e)}function Bi(e,t){return(e&t)!==T}function td(e,t){return(e&t)===t}function Zt(e,t){return e|t}function jp(e,t){return e&~t}function bv(e,t){return e&t}function kv(e,t){return e!==M&&e<t?e:t}function Sm(e){for(var t=[],s=0;s<x;s++)t.push(e);return t}function nd(e,t,s){e.pendingLanes|=t,t!==Kc&&(e.suspendedLanes=T,e.pingedLanes=T);var u=e.eventTimes,p=Fa(t);u[p]=s}function Ub(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var s=e.expirationTimes,u=t;u>0;){var p=Zr(u),y=1<<p;s[p]=dr,u&=~y}}function wv(e,t,s){e.pingedLanes|=e.suspendedLanes&t}function Dv(e,t){var s=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=T,e.pingedLanes=T,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,p=e.eventTimes,y=e.expirationTimes,w=s;w>0;){var _=Zr(w),F=1<<_;u[_]=T,p[_]=dr,y[_]=dr,w&=~F}}function zp(e,t){for(var s=e.entangledLanes|=t,u=e.entanglements,p=s;p;){var y=Zr(p),w=1<<y;w&t|u[y]&t&&(u[y]|=t),p&=~w}}function Hb(e,t){var s=Xu(t),u;switch(s){case ze:u=ve;break;case Ve:u=nt;break;case Xt:case In:case Cr:case Ir:case qr:case ht:case on:case xr:case vr:case $r:case gs:case Gu:case Wl:case Jc:case Pp:case hm:case Qc:case mm:case Rp:case gm:case vm:u=Gt;break;case Kc:u=Op;break;default:u=M;break}return(u&(e.suspendedLanes|t))!==M?M:u}function Cm(e,t,s){if(Ja)for(var u=e.pendingUpdatersLaneMap;s>0;){var p=Fa(s),y=1<<p,w=u[p];w.add(t),s&=~y}}function Up(e,t){if(Ja)for(var s=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var p=Fa(t),y=1<<p,w=s[p];w.size>0&&(w.forEach(function(_){var F=_.alternate;(F===null||!u.has(F))&&u.add(_)}),w.clear()),t&=~y}}function Wb(e,t){return null}var Mi=U,ys=ze,Zs=Ve,rd=Kc,uo=M;function bs(){return uo}function la(e){uo=e}function Sv(e,t){var s=uo;try{return uo=e,t()}finally{uo=s}}function qb(e,t){return e!==0&&e<t?e:t}function Vb(e,t){return e>t?e:t}function ad(e,t){return e!==0&&e<t}function Aa(e){var t=Xu(e);return ad(Mi,t)?ad(ys,t)?Mp(t)?Zs:rd:ys:Mi}function xm(e){var t=e.current.memoizedState;return t.isDehydrated}var Yb;function _m(e){Yb=e}function Ka(e){Yb(e)}var Cv;function mt(e){Cv=e}var id;function Gb(e){id=e}var xv;function R2(e){xv=e}var sf;function Em(e){sf=e}var Hp=!1,Wp=[],ql=null,Vl=null,el=null,od=new Map,Vr=new Map,ba=[],Ju=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function Xb(e){return Ju.indexOf(e)>-1}function Jb(e,t,s,u,p){return{blockedOn:e,domEventName:t,eventSystemFlags:s,nativeEvent:p,targetContainers:[u]}}function zo(e,t){switch(e){case"focusin":case"focusout":ql=null;break;case"dragenter":case"dragleave":Vl=null;break;case"mouseover":case"mouseout":el=null;break;case"pointerover":case"pointerout":{var s=t.pointerId;od.delete(s);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;Vr.delete(u);break}}}function lf(e,t,s,u,p,y){if(e===null||e.nativeEvent!==y){var w=Jb(t,s,u,p,y);if(t!==null){var _=mf(t);_!==null&&Cv(_)}return w}e.eventSystemFlags|=u;var F=e.targetContainers;return p!==null&&F.indexOf(p)===-1&&F.push(p),e}function tl(e,t,s,u,p){switch(t){case"focusin":{var y=p;return ql=lf(ql,e,t,s,u,y),!0}case"dragenter":{var w=p;return Vl=lf(Vl,e,t,s,u,w),!0}case"mouseover":{var _=p;return el=lf(el,e,t,s,u,_),!0}case"pointerover":{var F=p,B=F.pointerId;return od.set(B,lf(od.get(B)||null,e,t,s,u,F)),!0}case"gotpointercapture":{var j=p,re=j.pointerId;return Vr.set(re,lf(Vr.get(re)||null,e,t,s,u,j)),!0}}return!1}function Qb(e){var t=th(e.target);if(t!==null){var s=di(t);if(s!==null){var u=s.tag;if(u===X){var p=Mo(s);if(p!==null){e.blockedOn=p,sf(e.priority,function(){id(s)});return}}else if(u===P){var y=s.stateNode;if(xm(y)){e.blockedOn=Ta(s);return}}}}e.blockedOn=null}function Kb(e){for(var t=xv(),s={blockedOn:null,target:e,priority:t},u=0;u<ba.length&&ad(t,ba[u].priority);u++);ba.splice(u,0,s),u===0&&Qb(s)}function qp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var s=t[0],u=Yl(e.domEventName,e.eventSystemFlags,s,e.nativeEvent);if(u===null){var p=e.nativeEvent,y=new p.constructor(p.type,p);sv(y),p.target.dispatchEvent(y),lv()}else{var w=mf(u);return w!==null&&Cv(w),e.blockedOn=u,!1}t.shift()}return!0}function _v(e,t,s){qp(e)&&s.delete(t)}function Zb(){Hp=!1,ql!==null&&qp(ql)&&(ql=null),Vl!==null&&qp(Vl)&&(Vl=null),el!==null&&qp(el)&&(el=null),od.forEach(_v),Vr.forEach(_v)}function Vp(e,t){e.blockedOn===t&&(e.blockedOn=null,Hp||(Hp=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Zb)))}function Qu(e){if(Wp.length>0){Vp(Wp[0],e);for(var t=1;t<Wp.length;t++){var s=Wp[t];s.blockedOn===e&&(s.blockedOn=null)}}ql!==null&&Vp(ql,e),Vl!==null&&Vp(Vl,e),el!==null&&Vp(el,e);var u=function(_){return Vp(_,e)};od.forEach(u),Vr.forEach(u);for(var p=0;p<ba.length;p++){var y=ba[p];y.blockedOn===e&&(y.blockedOn=null)}for(;ba.length>0;){var w=ba[0];if(w.blockedOn!==null)break;Qb(w),w.blockedOn===null&&ba.shift()}}var Ku=i.ReactCurrentBatchConfig,Ii=!0;function An(e){Ii=!!e}function ka(){return Ii}function ea(e,t,s){var u=Yp(t),p;switch(u){case Mi:p=$a;break;case ys:p=co;break;case Zs:default:p=Zu;break}return p.bind(null,t,s,e)}function $a(e,t,s,u){var p=bs(),y=Ku.transition;Ku.transition=null;try{la(Mi),Zu(e,t,s,u)}finally{la(p),Ku.transition=y}}function co(e,t,s,u){var p=bs(),y=Ku.transition;Ku.transition=null;try{la(ys),Zu(e,t,s,u)}finally{la(p),Ku.transition=y}}function Zu(e,t,s,u){Ii&&ua(e,t,s,u)}function ua(e,t,s,u){var p=Yl(e,t,s,u);if(p===null){G2(e,t,u,ec,s),zo(e,u);return}if(tl(p,e,t,s,u)){u.stopPropagation();return}if(zo(e,u),t&Fi&&Xb(e)){for(;p!==null;){var y=mf(p);y!==null&&Ka(y);var w=Yl(e,t,s,u);if(w===null&&G2(e,t,u,ec,s),w===p)break;p=w}p!==null&&u.stopPropagation();return}G2(e,t,u,null,s)}var ec=null;function Yl(e,t,s,u){ec=null;var p=bp(u),y=th(p);if(y!==null){var w=di(y);if(w===null)y=null;else{var _=w.tag;if(_===X){var F=Mo(w);if(F!==null)return F;y=null}else if(_===P){var B=w.stateNode;if(xm(B))return Ta(w);y=null}else w!==y&&(y=null)}}return ec=y,null}function Yp(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Mi;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ys;case"message":{var t=Wc();switch(t){case Vu:return Mi;case Xs:return ys;case Io:case dv:return Zs;case hs:return rd;default:return Zs}}default:return Zs}}function Ev(e,t,s){return e.addEventListener(t,s,!1),s}function Gp(e,t,s){return e.addEventListener(t,s,!0),s}function ji(e,t,s,u){return e.addEventListener(t,s,{capture:!0,passive:u}),s}function Tv(e,t,s,u){return e.addEventListener(t,s,{passive:u}),s}var nl=null,ks=null,tc=null;function Fv(e){return nl=e,ks=Gl(),!0}function nc(){nl=null,ks=null,tc=null}function Xp(){if(tc)return tc;var e,t=ks,s=t.length,u,p=Gl(),y=p.length;for(e=0;e<s&&t[e]===p[e];e++);var w=s-e;for(u=1;u<=w&&t[s-u]===p[y-u];u++);var _=u>1?1-u:void 0;return tc=p.slice(e,_),tc}function Gl(){return"value"in nl?nl.value:nl.textContent}function sd(e){var t,s=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&s===13&&(t=13)):t=s,t===10&&(t=13),t>=32||t===13?t:0}function rc(){return!0}function Tm(){return!1}function Za(e){function t(s,u,p,y,w){this._reactName=s,this._targetInst=p,this.type=u,this.nativeEvent=y,this.target=w,this.currentTarget=null;for(var _ in e)if(e.hasOwnProperty(_)){var F=e[_];F?this[_]=F(y):this[_]=y[_]}var B=y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1;return B?this.isDefaultPrevented=rc:this.isDefaultPrevented=Tm,this.isPropagationStopped=Tm,this}return Qt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=rc)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=rc)},persist:function(){},isPersistent:rc}),t}var Xl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pa=Za(Xl),Uo=Qt({},Xl,{view:0,detail:0}),ws=Za(Uo),ei,Fm,ld;function Av(e){e!==ld&&(ld&&e.type==="mousemove"?(ei=e.screenX-ld.screenX,Fm=e.screenY-ld.screenY):(ei=0,Fm=0),ld=e)}var Am=Qt({},Uo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pm,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Av(e),ei)},movementY:function(e){return"movementY"in e?e.movementY:Fm}}),Jl=Za(Am),ek=Qt({},Am,{dataTransfer:0}),$v=Za(ek),ud=Qt({},Uo,{relatedTarget:0}),Jp=Za(ud),cd=Qt({},Xl,{animationName:0,elapsedTime:0,pseudoElement:0}),tk=Za(cd),nk=Qt({},Xl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Pv=Za(nk),$m=Qt({},Xl,{data:0}),rk=Za($m),L2=rk,ak={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ik={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function dd(e){if(e.key){var t=ak[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var s=sd(e);return s===13?"Enter":String.fromCharCode(s)}return e.type==="keydown"||e.type==="keyup"?ik[e.keyCode]||"Unidentified":""}var O2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uf(e){var t=this,s=t.nativeEvent;if(s.getModifierState)return s.getModifierState(e);var u=O2[e];return u?!!s[u]:!1}function Pm(e){return uf}var jr=Qt({},Uo,{key:dd,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pm,charCode:function(e){return e.type==="keypress"?sd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?sd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),B2=Za(jr),ok=Qt({},Am,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),sk=Za(ok),M2=Qt({},Uo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pm}),lk=Za(M2),uk=Qt({},Xl,{propertyName:0,elapsedTime:0,pseudoElement:0}),I2=Za(uk),Ho=Qt({},Am,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nv=Za(Ho),j2=[9,13,27,32],Ql=229,cf=zt&&"CompositionEvent"in window,Ds=null;zt&&"documentMode"in document&&(Ds=document.documentMode);var Nm=zt&&"TextEvent"in window&&!Ds,Rm=zt&&(!cf||Ds&&Ds>8&&Ds<=11),Lm=32,ck=String.fromCharCode(Lm);function Rv(){Et("onBeforeInput",["compositionend","keypress","textInput","paste"]),Et("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Et("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Et("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var dk=!1;function fk(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function pk(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Om(e,t){return e==="keydown"&&t.keyCode===Ql}function Qp(e,t){switch(e){case"keyup":return j2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Ql;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lv(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Bm(e){return e.locale==="ko"}var df=!1;function hk(e,t,s,u,p){var y,w;if(cf?y=pk(t):df?Qp(t,u)&&(y="onCompositionEnd"):Om(t,u)&&(y="onCompositionStart"),!y)return null;Rm&&!Bm(u)&&(!df&&y==="onCompositionStart"?df=Fv(p):y==="onCompositionEnd"&&df&&(w=Xp()));var _=wk(s,y);if(_.length>0){var F=new rk(y,t,null,u,p);if(e.push({event:F,listeners:_}),w)F.data=w;else{var B=Lv(u);B!==null&&(F.data=B)}}}function Ov(e,t){switch(e){case"compositionend":return Lv(t);case"keypress":var s=t.which;return s!==Lm?null:(dk=!0,ck);case"textInput":var u=t.data;return u===ck&&dk?null:u;default:return null}}function Mm(e,t){if(df){if(e==="compositionend"||!cf&&Qp(e,t)){var s=Xp();return nc(),df=!1,s}return null}switch(e){case"paste":return null;case"keypress":if(!fk(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rm&&!Bm(t)?null:t.data;default:return null}}function Bv(e,t,s,u,p){var y;if(Nm?y=Ov(t,u):y=Mm(t,u),!y)return null;var w=wk(s,"onBeforeInput");if(w.length>0){var _=new L2("onBeforeInput","beforeinput",null,u,p);e.push({event:_,listeners:w}),_.data=y}}function Im(e,t,s,u,p,y,w){hk(e,t,s,u,p),Bv(e,t,s,u,p)}var mk={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!mk[e.type]:t==="textarea"}/**
|
|
181
181
|
* Checks if an event is supported in the current execution environment.
|
|
182
182
|
*
|
|
183
183
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -189,8 +189,8 @@ Check the render method of \``+e+"`.":""}var Ms=["value","defaultValue"];functio
|
|
|
189
189
|
* @return {boolean} True if the event is supported.
|
|
190
190
|
* @internal
|
|
191
191
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
192
|
-
*/function jm(e){if(!zt)return!1;var t="on"+e,s=t in document;if(!s){var u=document.createElement("div");u.setAttribute(t,"return;"),s=typeof u[t]=="function"}return s}function z2(){Et("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function ff(e,t,s,u){ju(u);var p=wk(t,"onChange");if(p.length>0){var y=new Pa("onChange","change",null,s,u);e.push({event:y,listeners:p})}}var Kp=null,ac=null;function a(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function o(e){var t=[];ff(t,ac,e,bp(e)),um(d,t)}function d(e){nT(e,0)}function v(e){var t=Vm(e);if(Ao(t))return e}function b(e,t){if(e==="change")return t}var S=!1;zt&&(S=jm("input")&&(!document.documentMode||document.documentMode>9));function N(e,t){Kp=e,ac=t,Kp.attachEvent("onpropertychange",Z)}function H(){Kp&&(Kp.detachEvent("onpropertychange",Z),Kp=null,ac=null)}function Z(e){e.propertyName==="value"&&v(ac)&&o(e)}function me(e,t,s){e==="focusin"?(H(),N(t,s)):e==="focusout"&&H()}function Oe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return v(ac)}function je(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Re(e,t){if(e==="click")return v(t)}function ut(e,t){if(e==="input"||e==="change")return v(t)}function yt(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ft(e,"number",e.value)}function wt(e,t,s,u,p,y,w){var _=s?Vm(s):window,F,B;if(a(_)?F=b:gk(_)?S?F=ut:(F=Oe,B=me):je(_)&&(F=Re),F){var I=F(t,s);if(I){ff(e,I,u,p);return}}B&&B(t,_,s),t==="focusout"&&yt(_)}function Yr(){tn("onMouseEnter",["mouseout","mouseover"]),tn("onMouseLeave",["mouseout","mouseover"]),tn("onPointerEnter",["pointerout","pointerover"]),tn("onPointerLeave",["pointerout","pointerover"])}function oe(e,t,s,u,p,y,w){var _=t==="mouseover"||t==="pointerover",F=t==="mouseout"||t==="pointerout";if(_&&!Oc(u)){var B=u.relatedTarget||u.fromElement;if(B&&(th(B)||Qv(B)))return}if(!(!F&&!_)){var I;if(p.window===p)I=p;else{var re=p.ownerDocument;re?I=re.defaultView||re.parentWindow:I=window}var te,fe;if(F){var ge=u.relatedTarget||u.toElement;if(te=s,fe=ge?th(ge):null,fe!==null){var _e=di(fe);(fe!==_e||fe.tag!==O&&fe.tag!==j)&&(fe=null)}}else te=null,fe=s;if(te!==fe){var rt=Jl,St="onMouseLeave",Rt="onMouseEnter",pn="mouse";(t==="pointerout"||t==="pointerover")&&(rt=sk,St="onPointerLeave",Rt="onPointerEnter",pn="pointer");var cn=te==null?I:Vm(te),se=fe==null?I:Vm(fe),Ce=new rt(St,pn+"leave",te,u,p);Ce.target=cn,Ce.relatedTarget=se;var de=null,Ue=th(p);if(Ue===s){var dt=new rt(Rt,pn+"enter",fe,u,p);dt.target=se,dt.relatedTarget=cn,de=dt}c8(e,Ce,de,te,fe)}}}function ne(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ie=typeof Object.is=="function"?Object.is:ne;function qe(e,t){if(ie(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),u=Object.keys(t);if(s.length!==u.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!zn.call(t,y)||!ie(e[y],t[y]))return!1}return!0}function Dt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Nt(e,t){for(var s=Dt(e),u=0,p=0;s;){if(s.nodeType===Po){if(p=u+s.textContent.length,u<=t&&p>=t)return{node:s,offset:t-u};u=p}s=Dt(Lt(s))}}function jt(e){var t=e.ownerDocument,s=t&&t.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var p=u.anchorNode,y=u.anchorOffset,w=u.focusNode,_=u.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return wa(e,p,y,w,_)}function wa(e,t,s,u,p){var y=0,w=-1,_=-1,F=0,B=0,I=e,re=null;e:for(;;){for(var te=null;I===t&&(s===0||I.nodeType===Po)&&(w=y+s),I===u&&(p===0||I.nodeType===Po)&&(_=y+p),I.nodeType===Po&&(y+=I.nodeValue.length),(te=I.firstChild)!==null;)re=I,I=te;for(;;){if(I===e)break e;if(re===t&&++F===s&&(w=y),re===u&&++B===p&&(_=y),(te=I.nextSibling)!==null)break;I=re,re=I.parentNode}I=te}return w===-1||_===-1?null:{start:w,end:_}}function Ln(e,t){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var p=u.getSelection(),y=e.textContent.length,w=Math.min(t.start,y),_=t.end===void 0?w:Math.min(t.end,y);if(!p.extend&&w>_){var F=_;_=w,w=F}var B=Nt(e,w),I=Nt(e,_);if(B&&I){if(p.rangeCount===1&&p.anchorNode===B.node&&p.anchorOffset===B.offset&&p.focusNode===I.node&&p.focusOffset===I.offset)return;var re=s.createRange();re.setStart(B.node,B.offset),p.removeAllRanges(),w>_?(p.addRange(re),p.extend(I.node,I.offset)):(re.setEnd(I.node,I.offset),p.addRange(re))}}}function Kl(e){return e&&e.nodeType===Po}function vk(e,t){return!e||!t?!1:e===t?!0:Kl(e)?!1:Kl(t)?vk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function V4(e){return e&&e.ownerDocument&&vk(e.ownerDocument.documentElement,e)}function Y4(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function VE(){for(var e=window,t=Ti();t instanceof e.HTMLIFrameElement;){if(Y4(t))e=t.contentWindow;else return t;t=Ti(e.document)}return t}function U2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function G4(){var e=VE();return{focusedElem:e,selectionRange:U2(e)?J4(e):null}}function X4(e){var t=VE(),s=e.focusedElem,u=e.selectionRange;if(t!==s&&V4(s)){u!==null&&U2(s)&&Q4(s,u);for(var p=[],y=s;y=y.parentNode;)y.nodeType===Jr&&p.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof s.focus=="function"&&s.focus();for(var w=0;w<p.length;w++){var _=p[w];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function J4(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=jt(e),t||{start:0,end:0}}function Q4(e,t){var s=t.start,u=t.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):Ln(e,t)}var K4=zt&&"documentMode"in document&&document.documentMode<=11;function Z4(){Et("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var zm=null,H2=null,Mv=null,W2=!1;function e8(e){if("selectionStart"in e&&U2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function t8(e){return e.window===e?e.document:e.nodeType===ui?e:e.ownerDocument}function YE(e,t,s){var u=t8(s);if(!(W2||zm==null||zm!==Ti(u))){var p=e8(zm);if(!Mv||!qe(Mv,p)){Mv=p;var y=wk(H2,"onSelect");if(y.length>0){var w=new Pa("onSelect","select",null,t,s);e.push({event:w,listeners:y}),w.target=zm}}}}function n8(e,t,s,u,p,y,w){var _=s?Vm(s):window;switch(t){case"focusin":(gk(_)||_.contentEditable==="true")&&(zm=_,H2=s,Mv=null);break;case"focusout":zm=null,H2=null,Mv=null;break;case"mousedown":W2=!0;break;case"contextmenu":case"mouseup":case"dragend":W2=!1,YE(e,u,p);break;case"selectionchange":if(K4)break;case"keydown":case"keyup":YE(e,u,p)}}function yk(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var Um={animationend:yk("Animation","AnimationEnd"),animationiteration:yk("Animation","AnimationIteration"),animationstart:yk("Animation","AnimationStart"),transitionend:yk("Transition","TransitionEnd")},q2={},GE={};zt&&(GE=document.createElement("div").style,"AnimationEvent"in window||(delete Um.animationend.animation,delete Um.animationiteration.animation,delete Um.animationstart.animation),"TransitionEvent"in window||delete Um.transitionend.transition);function bk(e){if(q2[e])return q2[e];if(!Um[e])return e;var t=Um[e];for(var s in t)if(t.hasOwnProperty(s)&&s in GE)return q2[e]=t[s];return e}var XE=bk("animationend"),JE=bk("animationiteration"),QE=bk("animationstart"),KE=bk("transitionend"),ZE=new Map,eT=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function pf(e,t){ZE.set(e,t),Et(t,[e])}function r8(){for(var e=0;e<eT.length;e++){var t=eT[e],s=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);pf(s,"on"+u)}pf(XE,"onAnimationEnd"),pf(JE,"onAnimationIteration"),pf(QE,"onAnimationStart"),pf("dblclick","onDoubleClick"),pf("focusin","onFocus"),pf("focusout","onBlur"),pf(KE,"onTransitionEnd")}function a8(e,t,s,u,p,y,w){var _=ZE.get(t);if(_!==void 0){var F=Pa,B=t;switch(t){case"keypress":if(sd(u)===0)return;case"keydown":case"keyup":F=B2;break;case"focusin":B="focus",F=Jp;break;case"focusout":B="blur",F=Jp;break;case"beforeblur":case"afterblur":F=Jp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=Jl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=$v;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=lk;break;case XE:case JE:case QE:F=tk;break;case KE:F=I2;break;case"scroll":F=ws;break;case"wheel":F=Nv;break;case"copy":case"cut":case"paste":F=Pv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=sk;break}var I=(y&Fi)!==0;{var re=!I&&t==="scroll",te=l8(s,_,u.type,I,re);if(te.length>0){var fe=new F(_,B,null,u,p);e.push({event:fe,listeners:te})}}}}r8(),Yr(),z2(),Z4(),Rv();function i8(e,t,s,u,p,y,w){a8(e,t,s,u,p,y);var _=(y&yp)===0;_&&(oe(e,t,s,u,p),wt(e,t,s,u,p),n8(e,t,s,u,p),Im(e,t,s,u,p))}var Iv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],V2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Iv));function tT(e,t,s){var u=e.type||"unknown-event";e.currentTarget=s,io(u,t,void 0,e),e.currentTarget=null}function o8(e,t,s){var u;if(s)for(var p=t.length-1;p>=0;p--){var y=t[p],w=y.instance,_=y.currentTarget,F=y.listener;if(w!==u&&e.isPropagationStopped())return;tT(e,F,_),u=w}else for(var B=0;B<t.length;B++){var I=t[B],re=I.instance,te=I.currentTarget,fe=I.listener;if(re!==u&&e.isPropagationStopped())return;tT(e,fe,te),u=re}}function nT(e,t){for(var s=(t&Fi)!==0,u=0;u<e.length;u++){var p=e[u],y=p.event,w=p.listeners;o8(y,w,s)}Ws()}function s8(e,t,s,u,p){var y=bp(s),w=[];i8(w,e,u,s,y,t),nT(w,t)}function Pr(e,t){V2.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=B6(t),p=d8(e);u.has(p)||(rT(t,e,Xd,s),u.add(p))}function Y2(e,t,s){V2.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=Fi),rT(s,e,u,t)}var kk="_reactListening"+Math.random().toString(36).slice(2);function jv(e){if(!e[kk]){e[kk]=!0,lt.forEach(function(s){s!=="selectionchange"&&(V2.has(s)||Y2(s,!1,e),Y2(s,!0,e))});var t=e.nodeType===ui?e:e.ownerDocument;t!==null&&(t[kk]||(t[kk]=!0,Y2("selectionchange",!1,t)))}}function rT(e,t,s,u,p){var y=ea(e,t,s),w=void 0;Uu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(w=!0),e=e,u?w!==void 0?ji(e,t,y,w):Gp(e,t,y):w!==void 0?Tv(e,t,y,w):Ev(e,t,y)}function aT(e,t){return e===t||e.nodeType===nr&&e.parentNode===t}function G2(e,t,s,u,p){var y=u;if(!(t&Gd)&&!(t&Xd)){var w=p;if(u!==null){var _=u;e:for(;;){if(_===null)return;var F=_.tag;if(F===P||F===R){var B=_.stateNode.containerInfo;if(aT(B,w))break;if(F===R)for(var I=_.return;I!==null;){var re=I.tag;if(re===P||re===R){var te=I.stateNode.containerInfo;if(aT(te,w))return}I=I.return}for(;B!==null;){var fe=th(B);if(fe===null)return;var ge=fe.tag;if(ge===O||ge===j){_=y=fe;continue e}B=B.parentNode}}_=_.return}}}um(function(){return s8(e,t,s,y)})}function zv(e,t,s){return{instance:e,listener:t,currentTarget:s}}function l8(e,t,s,u,p,y){for(var w=t!==null?t+"Capture":null,_=u?w:t,F=[],B=e,I=null;B!==null;){var re=B,te=re.stateNode,fe=re.tag;if(fe===O&&te!==null&&(I=te,_!==null)){var ge=us(B,_);ge!=null&&F.push(zv(B,ge,I))}if(p)break;B=B.return}return F}function wk(e,t){for(var s=t+"Capture",u=[],p=e;p!==null;){var y=p,w=y.stateNode,_=y.tag;if(_===O&&w!==null){var F=w,B=us(p,s);B!=null&&u.unshift(zv(p,B,F));var I=us(p,t);I!=null&&u.push(zv(p,I,F))}p=p.return}return u}function Hm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==O);return e||null}function u8(e,t){for(var s=e,u=t,p=0,y=s;y;y=Hm(y))p++;for(var w=0,_=u;_;_=Hm(_))w++;for(;p-w>0;)s=Hm(s),p--;for(;w-p>0;)u=Hm(u),w--;for(var F=p;F--;){if(s===u||u!==null&&s===u.alternate)return s;s=Hm(s),u=Hm(u)}return null}function iT(e,t,s,u,p){for(var y=t._reactName,w=[],_=s;_!==null&&_!==u;){var F=_,B=F.alternate,I=F.stateNode,re=F.tag;if(B!==null&&B===u)break;if(re===O&&I!==null){var te=I;if(p){var fe=us(_,y);fe!=null&&w.unshift(zv(_,fe,te))}else if(!p){var ge=us(_,y);ge!=null&&w.push(zv(_,ge,te))}}_=_.return}w.length!==0&&e.push({event:t,listeners:w})}function c8(e,t,s,u,p){var y=u&&p?u8(u,p):null;u!==null&&iT(e,t,u,y,!1),p!==null&&s!==null&&iT(e,s,p,y,!0)}function d8(e,t){return e+"__bubble"}var Wo=!1,Uv="dangerouslySetInnerHTML",Dk="suppressContentEditableWarning",hf="suppressHydrationWarning",oT="autoFocus",Zp="children",eh="style",Sk="__html",X2,Ck,Hv,sT,xk,lT,uT;X2={dialog:!0,webview:!0},Ck=function(e,t){Mu(e,t),Iu(e,t),Lc(e,t,{registrationNameDependencies:gt,possibleRegistrationNames:vt})},lT=zt&&!document.documentMode,Hv=function(e,t,s){if(!Wo){var u=_k(s),p=_k(t);p!==u&&(Wo=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(u)))}},sT=function(e){if(!Wo){Wo=!0;var t=[];e.forEach(function(s){t.push(s)}),m("Extra attributes from the server: %s",t)}},xk=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},uT=function(e,t){var s=e.namespaceURI===li?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var f8=/\r\n?/g,p8=/\u0000|\uFFFD/g;function _k(e){kr(e);var t=typeof e=="string"?e:""+e;return t.replace(f8,`
|
|
193
|
-
`).replace(p8,"")}function Ek(e,t,s,u){var p=_k(t),y=_k(e);if(y!==p&&(u&&(Wo||(Wo=!0,m('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Ae))throw new Error("Text content does not match server-rendered HTML.")}function cT(e){return e.nodeType===ui?e:e.ownerDocument}function h8(){}function Tk(e){e.onclick=h8}function m8(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===eh)w&&Object.freeze(w),im(t,w);else if(y===Uv){var _=w?w[Sk]:void 0;_!=null&&zd(t,_)}else if(y===Zp)if(typeof w=="string"){var F=e!=="textarea"||w!=="";F&&is(t,w)}else typeof w=="number"&&is(t,""+w);else y===Dk||y===hf||y===oT||(gt.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&xk(y,w),y==="onScroll"&&Pr("scroll",t)):w!=null&&lr(t,y,w,p))}}function g8(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===eh?im(e,w):y===Uv?zd(e,w):y===Zp?is(e,w):lr(e,y,w,u)}}function v8(e,t,s,u){var p,y=cT(s),w,_=u;if(_===li&&(_=up(e)),_===li){if(p=ss(e,t),!p&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var F=y.createElement("div");F.innerHTML="<script><\/script>";var B=F.firstChild;w=F.removeChild(B)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var I=w;t.multiple?I.multiple=!0:t.size&&(I.size=t.size)}}else w=y.createElementNS(_,e);return _===li&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!zn.call(X2,e)&&(X2[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function y8(e,t){return cT(t).createTextNode(e)}function b8(e,t,s,u){var p=ss(t,s);Ck(t,s);var y;switch(t){case"dialog":Pr("cancel",e),Pr("close",e),y=s;break;case"iframe":case"object":case"embed":Pr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Iv.length;w++)Pr(Iv[w],e);y=s;break;case"source":Pr("error",e),y=s;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),y=s;break;case"details":Pr("toggle",e),y=s;break;case"input":ro(e,s),y=$u(e,s),Pr("invalid",e);break;case"option":Dn(e,s),y=s;break;case"select":_l(e,s),y=$c(e,s),Pr("invalid",e);break;case"textarea":jd(e,s),y=op(e,s),Pr("invalid",e);break;default:y=s}switch(Wd(t,y),m8(t,e,u,y,p),t){case"input":no(e),he(e,s,!1);break;case"textarea":no(e),Qh(e);break;case"option":Wn(e,s);break;case"select":Md(e,s);break;default:typeof y.onClick=="function"&&Tk(e);break}}function k8(e,t,s,u,p){Ck(t,u);var y=null,w,_;switch(t){case"input":w=$u(e,s),_=$u(e,u),y=[];break;case"select":w=$c(e,s),_=$c(e,u),y=[];break;case"textarea":w=op(e,s),_=op(e,u),y=[];break;default:w=s,_=u,typeof w.onClick!="function"&&typeof _.onClick=="function"&&Tk(e);break}Wd(t,_);var F,B,I=null;for(F in w)if(!(_.hasOwnProperty(F)||!w.hasOwnProperty(F)||w[F]==null))if(F===eh){var re=w[F];for(B in re)re.hasOwnProperty(B)&&(I||(I={}),I[B]="")}else F===Uv||F===Zp||F===Dk||F===hf||F===oT||(gt.hasOwnProperty(F)?y||(y=[]):(y=y||[]).push(F,null));for(F in _){var te=_[F],fe=w!=null?w[F]:void 0;if(!(!_.hasOwnProperty(F)||te===fe||te==null&&fe==null))if(F===eh)if(te&&Object.freeze(te),fe){for(B in fe)fe.hasOwnProperty(B)&&(!te||!te.hasOwnProperty(B))&&(I||(I={}),I[B]="");for(B in te)te.hasOwnProperty(B)&&fe[B]!==te[B]&&(I||(I={}),I[B]=te[B])}else I||(y||(y=[]),y.push(F,I)),I=te;else if(F===Uv){var ge=te?te[Sk]:void 0,_e=fe?fe[Sk]:void 0;ge!=null&&_e!==ge&&(y=y||[]).push(F,ge)}else F===Zp?(typeof te=="string"||typeof te=="number")&&(y=y||[]).push(F,""+te):F===Dk||F===hf||(gt.hasOwnProperty(F)?(te!=null&&(typeof te!="function"&&xk(F,te),F==="onScroll"&&Pr("scroll",e)),!y&&fe!==te&&(y=[])):(y=y||[]).push(F,te))}return I&&(sm(I,_[eh]),(y=y||[]).push(eh,I)),y}function w8(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&A(e,p);var y=ss(s,u),w=ss(s,p);switch(g8(e,t,y,w),s){case"input":Y(e,p);break;case"textarea":sp(e,p);break;case"select":Id(e,p);break}}function D8(e){{var t=e.toLowerCase();return Rc.hasOwnProperty(t)&&Rc[t]||null}}function S8(e,t,s,u,p,y,w){var _,F;switch(_=ss(t,s),Ck(t,s),t){case"dialog":Pr("cancel",e),Pr("close",e);break;case"iframe":case"object":case"embed":Pr("load",e);break;case"video":case"audio":for(var B=0;B<Iv.length;B++)Pr(Iv[B],e);break;case"source":Pr("error",e);break;case"img":case"image":case"link":Pr("error",e),Pr("load",e);break;case"details":Pr("toggle",e);break;case"input":ro(e,s),Pr("invalid",e);break;case"option":Dn(e,s);break;case"select":_l(e,s),Pr("invalid",e);break;case"textarea":jd(e,s),Pr("invalid",e);break}Wd(t,s);{F=new Set;for(var I=e.attributes,re=0;re<I.length;re++){var te=I[re].name.toLowerCase();switch(te){case"value":break;case"checked":break;case"selected":break;default:F.add(I[re].name)}}}var fe=null;for(var ge in s)if(s.hasOwnProperty(ge)){var _e=s[ge];if(ge===Zp)typeof _e=="string"?e.textContent!==_e&&(s[hf]!==!0&&Ek(e.textContent,_e,y,w),fe=[Zp,_e]):typeof _e=="number"&&e.textContent!==""+_e&&(s[hf]!==!0&&Ek(e.textContent,_e,y,w),fe=[Zp,""+_e]);else if(gt.hasOwnProperty(ge))_e!=null&&(typeof _e!="function"&&xk(ge,_e),ge==="onScroll"&&Pr("scroll",e));else if(w&&typeof _=="boolean"){var rt=void 0,St=ha(ge);if(s[hf]!==!0&&!(ge===Dk||ge===hf||ge==="value"||ge==="checked"||ge==="selected")){if(ge===Uv){var Rt=e.innerHTML,pn=_e?_e[Sk]:void 0;if(pn!=null){var cn=uT(e,pn);cn!==Rt&&Hv(ge,Rt,cn)}}else if(ge===eh){if(F.delete(ge),lT){var se=av(_e);rt=e.getAttribute("style"),se!==rt&&Hv(ge,rt,se)}}else if(_)F.delete(ge.toLowerCase()),rt=Ci(e,ge,_e),_e!==rt&&Hv(ge,rt,_e);else if(!_n(ge,St,_)&&!kn(ge,_e,St,_)){var Ce=!1;if(St!==null)F.delete(St.attributeName),rt=Ji(e,ge,_e,St);else{var de=u;if(de===li&&(de=up(t)),de===li)F.delete(ge.toLowerCase());else{var Ue=D8(ge);Ue!==null&&Ue!==ge&&(Ce=!0,F.delete(Ue)),F.delete(ge)}rt=Ci(e,ge,_e)}var dt=Q;!dt&&_e!==rt&&!Ce&&Hv(ge,rt,_e)}}}}switch(w&&F.size>0&&s[hf]!==!0&&sT(F),t){case"input":no(e),he(e,s,!0);break;case"textarea":no(e),Qh(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&Tk(e);break}return fe}function C8(e,t,s){var u=e.nodeValue!==t;return u}function J2(e,t){{if(Wo)return;Wo=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Q2(e,t){{if(Wo)return;Wo=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function K2(e,t,s){{if(Wo)return;Wo=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Z2(e,t){{if(t===""||Wo)return;Wo=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function x8(e,t,s){switch(t){case"input":ke(e,s);return;case"textarea":lp(e,s);return;case"select":ip(e,s);return}}var Wv=function(){},qv=function(){};{var _8=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],dT=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],E8=dT.concat(["button"]),T8=["dd","dt","li","option","optgroup","p","rp","rt"],fT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};qv=function(e,t){var s=Qt({},e||fT),u={tag:t};return dT.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),E8.indexOf(t)!==-1&&(s.pTagInButtonScope=null),_8.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var F8=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return T8.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},A8=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},pT={};Wv=function(e,t,s){s=s||fT;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=F8(e,p)?null:u,w=y?null:A8(e,s),_=y||w;if(_){var F=_.tag,B=!!y+"|"+e+"|"+F;if(!pT[B]){pT[B]=!0;var I=e,re="";if(e==="#text"?/\S/.test(t)?I="Text nodes":(I="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):I="<"+e+">",y){var te="";F==="table"&&e==="tr"&&(te+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",I,F,re,te)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",I,F)}}}}var Fk="suppressHydrationWarning",Ak="$",$k="/$",Vv="$?",Yv="$!",$8="style",eD=null,tD=null;function P8(e){var t,s,u=e.nodeType;switch(u){case ui:case Fl:{t=u===ui?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:Tl(null,"");break}default:{var y=u===nr?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=Tl(w,t);break}}{var _=t.toLowerCase(),F=qv(null,_);return{namespace:s,ancestorInfo:F}}}function N8(e,t,s){{var u=e,p=Tl(u.namespace,t),y=qv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function R8(e){eD=ka(),tD=G4();var t=null;return An(!1),t}function L8(e){X4(tD),An(eD),eD=null,tD=null}function O8(e,t,s,u,p){var y;{var w=u;if(Wv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,F=qv(w.ancestorInfo,e);Wv(null,_,F)}y=w.namespace}var B=v8(e,t,s,y);return Jv(p,B),uD(B,t),B}function B8(e,t){e.appendChild(t)}function M8(e,t,s,u,p){switch(b8(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function I8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,F=qv(w.ancestorInfo,t);Wv(null,_,F)}}return k8(e,t,s,u)}function nD(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function j8(e,t,s,u){{var p=s;Wv(null,e,p.ancestorInfo)}var y=y8(e,t);return Jv(u,y),y}function z8(){var e=window.event;return e===void 0?Zs:Yp(e.type)}var rD=typeof setTimeout=="function"?setTimeout:void 0,U8=typeof clearTimeout=="function"?clearTimeout:void 0,aD=-1,hT=typeof Promise=="function"?Promise:void 0,H8=typeof queueMicrotask=="function"?queueMicrotask:typeof hT<"u"?function(e){return hT.resolve(null).then(e).catch(W8)}:rD;function W8(e){setTimeout(function(){throw e})}function q8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function V8(e,t,s,u,p,y){w8(e,t,s,u,p),uD(e,p)}function mT(e){is(e,"")}function Y8(e,t,s){e.nodeValue=s}function G8(e,t){e.appendChild(t)}function X8(e,t){var s;e.nodeType===nr?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&Tk(s)}function J8(e,t,s){e.insertBefore(t,s)}function Q8(e,t,s){e.nodeType===nr?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function K8(e,t){e.removeChild(t)}function Z8(e,t){e.nodeType===nr?e.parentNode.removeChild(t):e.removeChild(t)}function iD(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===nr){var y=p.data;if(y===$k)if(u===0){e.removeChild(p),Qu(t);return}else u--;else(y===Ak||y===Vv||y===Yv)&&u++}s=p}while(s);Qu(t)}function e6(e,t){e.nodeType===nr?iD(e.parentNode,t):e.nodeType===Jr&&iD(e,t),Qu(e)}function t6(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function n6(e){e.nodeValue=""}function r6(e,t){e=e;var s=t[$8],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Pu("display",u)}function a6(e,t){e.nodeValue=t}function i6(e){e.nodeType===Jr?e.textContent="":e.nodeType===ui&&e.documentElement&&e.removeChild(e.documentElement)}function o6(e,t,s){return e.nodeType!==Jr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function s6(e,t){return t===""||e.nodeType!==Po?null:e}function l6(e){return e.nodeType!==nr?null:e}function gT(e){return e.data===Vv}function oD(e){return e.data===Yv}function u6(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function c6(e,t){e._reactRetry=t}function Pk(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Jr||t===Po)break;if(t===nr){var s=e.data;if(s===Ak||s===Yv||s===Vv)break;if(s===$k)return null}}return e}function Gv(e){return Pk(e.nextSibling)}function d6(e){return Pk(e.firstChild)}function f6(e){return Pk(e.firstChild)}function p6(e){return Pk(e.nextSibling)}function h6(e,t,s,u,p,y,w){Jv(y,e),uD(e,s);var _;{var F=p;_=F.namespace}var B=(y.mode&an)!==xt;return S8(e,t,s,_,u,B,w)}function m6(e,t,s,u){return Jv(s,e),s.mode&an,C8(e,t)}function g6(e,t){Jv(t,e)}function v6(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===nr){var u=t.data;if(u===$k){if(s===0)return Gv(t);s--}else(u===Ak||u===Yv||u===Vv)&&s++}t=t.nextSibling}return null}function vT(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===nr){var u=t.data;if(u===Ak||u===Yv||u===Vv){if(s===0)return t;s--}else u===$k&&s++}t=t.previousSibling}return null}function y6(e){Qu(e)}function b6(e){Qu(e)}function k6(e){return e!=="head"&&e!=="body"}function w6(e,t,s,u){var p=!0;Ek(t.nodeValue,s,u,p)}function D6(e,t,s,u,p,y){if(t[Fk]!==!0){var w=!0;Ek(u.nodeValue,p,y,w)}}function S6(e,t){t.nodeType===Jr?J2(e,t):t.nodeType===nr||Q2(e,t)}function C6(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Jr?J2(s,t):t.nodeType===nr||Q2(s,t))}}function x6(e,t,s,u,p){(p||t[Fk]!==!0)&&(u.nodeType===Jr?J2(s,u):u.nodeType===nr||Q2(s,u))}function _6(e,t,s){K2(e,t)}function E6(e,t){Z2(e,t)}function T6(e,t,s){{var u=e.parentNode;u!==null&&K2(u,t)}}function F6(e,t){{var s=e.parentNode;s!==null&&Z2(s,t)}}function A6(e,t,s,u,p,y){(y||t[Fk]!==!0)&&K2(s,u)}function $6(e,t,s,u,p){(p||t[Fk]!==!0)&&Z2(s,u)}function P6(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function N6(e){jv(e)}var Wm=Math.random().toString(36).slice(2),qm="__reactFiber$"+Wm,sD="__reactProps$"+Wm,Xv="__reactContainer$"+Wm,lD="__reactEvents$"+Wm,R6="__reactListeners$"+Wm,L6="__reactHandles$"+Wm;function O6(e){delete e[qm],delete e[sD],delete e[lD],delete e[R6],delete e[L6]}function Jv(e,t){t[qm]=e}function Nk(e,t){t[Xv]=e}function yT(e){e[Xv]=null}function Qv(e){return!!e[Xv]}function th(e){var t=e[qm];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Xv]||s[qm],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=vT(e);p!==null;){var y=p[qm];if(y)return y;p=vT(p)}return t}e=s,s=e.parentNode}return null}function mf(e){var t=e[qm]||e[Xv];return t&&(t.tag===O||t.tag===j||t.tag===X||t.tag===P)?t:null}function Vm(e){if(e.tag===O||e.tag===j)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Rk(e){return e[sD]||null}function uD(e,t){e[sD]=t}function B6(e){var t=e[lD];return t===void 0&&(t=e[lD]=new Set),t}var bT={},kT=i.ReactDebugCurrentFrame;function Lk(e){if(e){var t=e._owner,s=oi(e.type,e._source,t?t.type:null);kT.setExtraStackFrame(s)}else kT.setExtraStackFrame(null)}function Zl(e,t,s,u,p){{var y=Function.call.bind(zn);for(var w in e)if(y(e,w)){var _=void 0;try{if(typeof e[w]!="function"){var F=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}_=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){_=B}_&&!(_ instanceof Error)&&(Lk(p),m("%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).",u||"React class",s,w,typeof _),Lk(null)),_ instanceof Error&&!(_.message in bT)&&(bT[_.message]=!0,Lk(p),m("Failed %s type: %s",s,_.message),Lk(null))}}}var cD=[],Ok;Ok=[];var fd=-1;function gf(e){return{current:e}}function zi(e,t){if(fd<0){m("Unexpected pop.");return}t!==Ok[fd]&&m("Unexpected Fiber popped."),e.current=cD[fd],cD[fd]=null,Ok[fd]=null,fd--}function Ui(e,t,s){fd++,cD[fd]=e.current,Ok[fd]=s,e.current=t}var dD;dD={};var Ss={};Object.freeze(Ss);var pd=gf(Ss),ic=gf(!1),fD=Ss;function Ym(e,t,s){return s&&oc(t)?fD:pd.current}function wT(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Gm(e,t){{var s=e.type,u=s.contextTypes;if(!u)return Ss;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var _=Bt(e)||"Unknown";Zl(u,y,"context",_)}return p&&wT(e,t,y),y}}function Bk(){return ic.current}function oc(e){{var t=e.childContextTypes;return t!=null}}function Mk(e){zi(ic,e),zi(pd,e)}function pD(e){zi(ic,e),zi(pd,e)}function DT(e,t,s){{if(pd.current!==Ss)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ui(pd,t,e),Ui(ic,s,e)}}function ST(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Bt(e)||"Unknown";dD[y]||(dD[y]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",y,y))}return s}var w=u.getChildContext();for(var _ in w)if(!(_ in p))throw new Error((Bt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var F=Bt(e)||"Unknown";Zl(p,w,"child context",F)}return Qt({},s,w)}}function Ik(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Ss;return fD=pd.current,Ui(pd,s,e),Ui(ic,ic.current,e),!0}}function CT(e,t,s){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var p=ST(e,t,fD);u.__reactInternalMemoizedMergedChildContext=p,zi(ic,e),zi(pd,e),Ui(pd,p,e),Ui(ic,s,e)}else zi(ic,e),Ui(ic,s,e)}}function M6(e){{if(!Gs(e)||e.tag!==E)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case P:return t.stateNode.context;case E:{var s=t.type;if(oc(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var vf=0,jk=1,hd=null,hD=!1,mD=!1;function xT(e){hd===null?hd=[e]:hd.push(e)}function I6(e){hD=!0,xT(e)}function _T(){hD&&yf()}function yf(){if(!mD&&hd!==null){mD=!0;var e=0,t=bs();try{var s=!0,u=hd;for(la(Mi);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}hd=null,hD=!1}catch(y){throw hd!==null&&(hd=hd.slice(e+1)),Dp(Vu,yf),y}finally{la(t),mD=!1}}return null}var Xm=[],Jm=0,zk=null,Uk=0,rl=[],al=0,nh=null,md=1,gd="";function j6(e){return ah(),(e.flags&oo)!==Ct}function z6(e){return ah(),Uk}function U6(){var e=gd,t=md,s=t&~H6(t);return s.toString(32)+e}function rh(e,t){ah(),Xm[Jm++]=Uk,Xm[Jm++]=zk,zk=e,Uk=t}function ET(e,t,s){ah(),rl[al++]=md,rl[al++]=gd,rl[al++]=nh,nh=e;var u=md,p=gd,y=Hk(u)-1,w=u&~(1<<y),_=s+1,F=Hk(t)+y;if(F>30){var B=y-y%5,I=(1<<B)-1,re=(w&I).toString(32),te=w>>B,fe=y-B,ge=Hk(t)+fe,_e=_<<fe,rt=_e|te,St=re+p;md=1<<ge|rt,gd=St}else{var Rt=_<<y,pn=Rt|w,cn=p;md=1<<F|pn,gd=cn}}function gD(e){ah();var t=e.return;if(t!==null){var s=1,u=0;rh(e,s),ET(e,s,u)}}function Hk(e){return 32-Mr(e)}function H6(e){return 1<<Hk(e)-1}function vD(e){for(;e===zk;)zk=Xm[--Jm],Xm[Jm]=null,Uk=Xm[--Jm],Xm[Jm]=null;for(;e===nh;)nh=rl[--al],rl[al]=null,gd=rl[--al],rl[al]=null,md=rl[--al],rl[al]=null}function W6(){return ah(),nh!==null?{id:md,overflow:gd}:null}function q6(e,t){ah(),rl[al++]=md,rl[al++]=gd,rl[al++]=nh,md=t.id,gd=t.overflow,nh=e}function ah(){pi()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fi=null,il=null,eu=!1,ih=!1,bf=null;function V6(){eu&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function TT(){ih=!0}function Y6(){return ih}function G6(e){var t=e.stateNode.containerInfo;return il=f6(t),fi=e,eu=!0,bf=null,ih=!1,!0}function X6(e,t,s){return il=p6(t),fi=e,eu=!0,bf=null,ih=!1,s!==null&&q6(e,s),!0}function FT(e,t){switch(e.tag){case P:{S6(e.stateNode.containerInfo,t);break}case O:{var s=(e.mode&an)!==xt;x6(e.type,e.memoizedProps,e.stateNode,t,s);break}case X:{var u=e.memoizedState;u.dehydrated!==null&&C6(u.dehydrated,t);break}}}function AT(e,t){FT(e,t);var s=Zz();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Pi):u.push(s)}function yD(e,t){{if(ih)return;switch(e.tag){case P:{var s=e.stateNode.containerInfo;switch(t.tag){case O:var u=t.type;t.pendingProps,_6(s,u);break;case j:var p=t.pendingProps;E6(s,p);break}break}case O:{var y=e.type,w=e.memoizedProps,_=e.stateNode;switch(t.tag){case O:{var F=t.type,B=t.pendingProps,I=(e.mode&an)!==xt;A6(y,w,_,F,B,I);break}case j:{var re=t.pendingProps,te=(e.mode&an)!==xt;$6(y,w,_,re,te);break}}break}case X:{var fe=e.memoizedState,ge=fe.dehydrated;if(ge!==null)switch(t.tag){case O:var _e=t.type;t.pendingProps,T6(ge,_e);break;case j:var rt=t.pendingProps;F6(ge,rt);break}break}default:return}}}function $T(e,t){t.flags=t.flags&-4097|Fr,yD(e,t)}function PT(e,t){switch(e.tag){case O:{var s=e.type;e.pendingProps;var u=o6(t,s);return u!==null?(e.stateNode=u,fi=e,il=d6(u),!0):!1}case j:{var p=e.pendingProps,y=s6(t,p);return y!==null?(e.stateNode=y,fi=e,il=null,!0):!1}case X:{var w=l6(t);if(w!==null){var _={dehydrated:w,treeContext:W6(),retryLane:lo};e.memoizedState=_;var F=e7(w);return F.return=e,e.child=F,fi=e,il=null,!0}return!1}default:return!1}}function bD(e){return(e.mode&an)!==xt&&(e.flags&kt)===Ct}function kD(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function wD(e){if(eu){var t=il;if(!t){bD(e)&&(yD(fi,e),kD()),$T(fi,e),eu=!1,fi=e;return}var s=t;if(!PT(e,t)){bD(e)&&(yD(fi,e),kD()),t=Gv(s);var u=fi;if(!t||!PT(e,t)){$T(fi,e),eu=!1,fi=e;return}AT(u,s)}}}function J6(e,t,s){var u=e.stateNode,p=!ih,y=h6(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function Q6(e){var t=e.stateNode,s=e.memoizedProps,u=m6(t,s,e);if(u){var p=fi;if(p!==null)switch(p.tag){case P:{var y=p.stateNode.containerInfo,w=(p.mode&an)!==xt;w6(y,t,s,w);break}case O:{var _=p.type,F=p.memoizedProps,B=p.stateNode,I=(p.mode&an)!==xt;D6(_,F,B,t,s,I);break}}}return u}function K6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");g6(s,e)}function Z6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return v6(s)}function NT(e){for(var t=e.return;t!==null&&t.tag!==O&&t.tag!==P&&t.tag!==X;)t=t.return;fi=t}function Wk(e){if(e!==fi)return!1;if(!eu)return NT(e),eu=!0,!1;if(e.tag!==P&&(e.tag!==O||k6(e.type)&&!nD(e.type,e.memoizedProps))){var t=il;if(t)if(bD(e))RT(e),kD();else for(;t;)AT(e,t),t=Gv(t)}return NT(e),e.tag===X?il=Z6(e):il=fi?Gv(e.stateNode):null,!0}function e5(){return eu&&il!==null}function RT(e){for(var t=il;t;)FT(e,t),t=Gv(t)}function Qm(){fi=null,il=null,eu=!1,ih=!1}function LT(){bf!==null&&(TA(bf),bf=null)}function pi(){return eu}function DD(e){bf===null?bf=[e]:bf.push(e)}var t5=i.ReactCurrentBatchConfig,n5=null;function r5(){return t5.transition}var tu={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var a5=function(e){for(var t=null,s=e;s!==null;)s.mode&Yn&&(t=s),s=s.return;return t},oh=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],sh=new Set;tu.recordUnsafeLifecycleWarnings=function(e,t){sh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Kv.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillMount=="function"&&Zv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ey.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ty.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ny.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillUpdate=="function"&&ry.push(e))},tu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Kv.length>0&&(Kv.forEach(function(te){e.add(Bt(te)||"Component"),sh.add(te.type)}),Kv=[]);var t=new Set;Zv.length>0&&(Zv.forEach(function(te){t.add(Bt(te)||"Component"),sh.add(te.type)}),Zv=[]);var s=new Set;ey.length>0&&(ey.forEach(function(te){s.add(Bt(te)||"Component"),sh.add(te.type)}),ey=[]);var u=new Set;ty.length>0&&(ty.forEach(function(te){u.add(Bt(te)||"Component"),sh.add(te.type)}),ty=[]);var p=new Set;ny.length>0&&(ny.forEach(function(te){p.add(Bt(te)||"Component"),sh.add(te.type)}),ny=[]);var y=new Set;if(ry.length>0&&(ry.forEach(function(te){y.add(Bt(te)||"Component"),sh.add(te.type)}),ry=[]),t.size>0){var w=oh(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
192
|
+
*/function jm(e){if(!zt)return!1;var t="on"+e,s=t in document;if(!s){var u=document.createElement("div");u.setAttribute(t,"return;"),s=typeof u[t]=="function"}return s}function z2(){Et("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function ff(e,t,s,u){ju(u);var p=wk(t,"onChange");if(p.length>0){var y=new Pa("onChange","change",null,s,u);e.push({event:y,listeners:p})}}var Kp=null,ac=null;function a(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function o(e){var t=[];ff(t,ac,e,bp(e)),um(d,t)}function d(e){nT(e,0)}function v(e){var t=Vm(e);if(Ao(t))return e}function b(e,t){if(e==="change")return t}var S=!1;zt&&(S=jm("input")&&(!document.documentMode||document.documentMode>9));function N(e,t){Kp=e,ac=t,Kp.attachEvent("onpropertychange",Z)}function H(){Kp&&(Kp.detachEvent("onpropertychange",Z),Kp=null,ac=null)}function Z(e){e.propertyName==="value"&&v(ac)&&o(e)}function me(e,t,s){e==="focusin"?(H(),N(t,s)):e==="focusout"&&H()}function Oe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return v(ac)}function je(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Re(e,t){if(e==="click")return v(t)}function ut(e,t){if(e==="input"||e==="change")return v(t)}function yt(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ft(e,"number",e.value)}function wt(e,t,s,u,p,y,w){var _=s?Vm(s):window,F,B;if(a(_)?F=b:gk(_)?S?F=ut:(F=Oe,B=me):je(_)&&(F=Re),F){var j=F(t,s);if(j){ff(e,j,u,p);return}}B&&B(t,_,s),t==="focusout"&&yt(_)}function Yr(){tn("onMouseEnter",["mouseout","mouseover"]),tn("onMouseLeave",["mouseout","mouseover"]),tn("onPointerEnter",["pointerout","pointerover"]),tn("onPointerLeave",["pointerout","pointerover"])}function oe(e,t,s,u,p,y,w){var _=t==="mouseover"||t==="pointerover",F=t==="mouseout"||t==="pointerout";if(_&&!Oc(u)){var B=u.relatedTarget||u.fromElement;if(B&&(th(B)||Qv(B)))return}if(!(!F&&!_)){var j;if(p.window===p)j=p;else{var re=p.ownerDocument;re?j=re.defaultView||re.parentWindow:j=window}var te,fe;if(F){var ge=u.relatedTarget||u.toElement;if(te=s,fe=ge?th(ge):null,fe!==null){var _e=di(fe);(fe!==_e||fe.tag!==O&&fe.tag!==I)&&(fe=null)}}else te=null,fe=s;if(te!==fe){var rt=Jl,St="onMouseLeave",Rt="onMouseEnter",pn="mouse";(t==="pointerout"||t==="pointerover")&&(rt=sk,St="onPointerLeave",Rt="onPointerEnter",pn="pointer");var cn=te==null?j:Vm(te),se=fe==null?j:Vm(fe),Ce=new rt(St,pn+"leave",te,u,p);Ce.target=cn,Ce.relatedTarget=se;var de=null,Ue=th(p);if(Ue===s){var dt=new rt(Rt,pn+"enter",fe,u,p);dt.target=se,dt.relatedTarget=cn,de=dt}c8(e,Ce,de,te,fe)}}}function ne(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ie=typeof Object.is=="function"?Object.is:ne;function qe(e,t){if(ie(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var s=Object.keys(e),u=Object.keys(t);if(s.length!==u.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!zn.call(t,y)||!ie(e[y],t[y]))return!1}return!0}function Dt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Nt(e,t){for(var s=Dt(e),u=0,p=0;s;){if(s.nodeType===Po){if(p=u+s.textContent.length,u<=t&&p>=t)return{node:s,offset:t-u};u=p}s=Dt(Lt(s))}}function jt(e){var t=e.ownerDocument,s=t&&t.defaultView||window,u=s.getSelection&&s.getSelection();if(!u||u.rangeCount===0)return null;var p=u.anchorNode,y=u.anchorOffset,w=u.focusNode,_=u.focusOffset;try{p.nodeType,w.nodeType}catch{return null}return wa(e,p,y,w,_)}function wa(e,t,s,u,p){var y=0,w=-1,_=-1,F=0,B=0,j=e,re=null;e:for(;;){for(var te=null;j===t&&(s===0||j.nodeType===Po)&&(w=y+s),j===u&&(p===0||j.nodeType===Po)&&(_=y+p),j.nodeType===Po&&(y+=j.nodeValue.length),(te=j.firstChild)!==null;)re=j,j=te;for(;;){if(j===e)break e;if(re===t&&++F===s&&(w=y),re===u&&++B===p&&(_=y),(te=j.nextSibling)!==null)break;j=re,re=j.parentNode}j=te}return w===-1||_===-1?null:{start:w,end:_}}function Ln(e,t){var s=e.ownerDocument||document,u=s&&s.defaultView||window;if(u.getSelection){var p=u.getSelection(),y=e.textContent.length,w=Math.min(t.start,y),_=t.end===void 0?w:Math.min(t.end,y);if(!p.extend&&w>_){var F=_;_=w,w=F}var B=Nt(e,w),j=Nt(e,_);if(B&&j){if(p.rangeCount===1&&p.anchorNode===B.node&&p.anchorOffset===B.offset&&p.focusNode===j.node&&p.focusOffset===j.offset)return;var re=s.createRange();re.setStart(B.node,B.offset),p.removeAllRanges(),w>_?(p.addRange(re),p.extend(j.node,j.offset)):(re.setEnd(j.node,j.offset),p.addRange(re))}}}function Kl(e){return e&&e.nodeType===Po}function vk(e,t){return!e||!t?!1:e===t?!0:Kl(e)?!1:Kl(t)?vk(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function V4(e){return e&&e.ownerDocument&&vk(e.ownerDocument.documentElement,e)}function Y4(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function VE(){for(var e=window,t=Ti();t instanceof e.HTMLIFrameElement;){if(Y4(t))e=t.contentWindow;else return t;t=Ti(e.document)}return t}function U2(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function G4(){var e=VE();return{focusedElem:e,selectionRange:U2(e)?J4(e):null}}function X4(e){var t=VE(),s=e.focusedElem,u=e.selectionRange;if(t!==s&&V4(s)){u!==null&&U2(s)&&Q4(s,u);for(var p=[],y=s;y=y.parentNode;)y.nodeType===Jr&&p.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof s.focus=="function"&&s.focus();for(var w=0;w<p.length;w++){var _=p[w];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}}function J4(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=jt(e),t||{start:0,end:0}}function Q4(e,t){var s=t.start,u=t.end;u===void 0&&(u=s),"selectionStart"in e?(e.selectionStart=s,e.selectionEnd=Math.min(u,e.value.length)):Ln(e,t)}var K4=zt&&"documentMode"in document&&document.documentMode<=11;function Z4(){Et("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var zm=null,H2=null,Mv=null,W2=!1;function e8(e){if("selectionStart"in e&&U2(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,s=t.getSelection();return{anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}}function t8(e){return e.window===e?e.document:e.nodeType===ui?e:e.ownerDocument}function YE(e,t,s){var u=t8(s);if(!(W2||zm==null||zm!==Ti(u))){var p=e8(zm);if(!Mv||!qe(Mv,p)){Mv=p;var y=wk(H2,"onSelect");if(y.length>0){var w=new Pa("onSelect","select",null,t,s);e.push({event:w,listeners:y}),w.target=zm}}}}function n8(e,t,s,u,p,y,w){var _=s?Vm(s):window;switch(t){case"focusin":(gk(_)||_.contentEditable==="true")&&(zm=_,H2=s,Mv=null);break;case"focusout":zm=null,H2=null,Mv=null;break;case"mousedown":W2=!0;break;case"contextmenu":case"mouseup":case"dragend":W2=!1,YE(e,u,p);break;case"selectionchange":if(K4)break;case"keydown":case"keyup":YE(e,u,p)}}function yk(e,t){var s={};return s[e.toLowerCase()]=t.toLowerCase(),s["Webkit"+e]="webkit"+t,s["Moz"+e]="moz"+t,s}var Um={animationend:yk("Animation","AnimationEnd"),animationiteration:yk("Animation","AnimationIteration"),animationstart:yk("Animation","AnimationStart"),transitionend:yk("Transition","TransitionEnd")},q2={},GE={};zt&&(GE=document.createElement("div").style,"AnimationEvent"in window||(delete Um.animationend.animation,delete Um.animationiteration.animation,delete Um.animationstart.animation),"TransitionEvent"in window||delete Um.transitionend.transition);function bk(e){if(q2[e])return q2[e];if(!Um[e])return e;var t=Um[e];for(var s in t)if(t.hasOwnProperty(s)&&s in GE)return q2[e]=t[s];return e}var XE=bk("animationend"),JE=bk("animationiteration"),QE=bk("animationstart"),KE=bk("transitionend"),ZE=new Map,eT=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function pf(e,t){ZE.set(e,t),Et(t,[e])}function r8(){for(var e=0;e<eT.length;e++){var t=eT[e],s=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);pf(s,"on"+u)}pf(XE,"onAnimationEnd"),pf(JE,"onAnimationIteration"),pf(QE,"onAnimationStart"),pf("dblclick","onDoubleClick"),pf("focusin","onFocus"),pf("focusout","onBlur"),pf(KE,"onTransitionEnd")}function a8(e,t,s,u,p,y,w){var _=ZE.get(t);if(_!==void 0){var F=Pa,B=t;switch(t){case"keypress":if(sd(u)===0)return;case"keydown":case"keyup":F=B2;break;case"focusin":B="focus",F=Jp;break;case"focusout":B="blur",F=Jp;break;case"beforeblur":case"afterblur":F=Jp;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":F=Jl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":F=$v;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":F=lk;break;case XE:case JE:case QE:F=tk;break;case KE:F=I2;break;case"scroll":F=ws;break;case"wheel":F=Nv;break;case"copy":case"cut":case"paste":F=Pv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":F=sk;break}var j=(y&Fi)!==0;{var re=!j&&t==="scroll",te=l8(s,_,u.type,j,re);if(te.length>0){var fe=new F(_,B,null,u,p);e.push({event:fe,listeners:te})}}}}r8(),Yr(),z2(),Z4(),Rv();function i8(e,t,s,u,p,y,w){a8(e,t,s,u,p,y);var _=(y&yp)===0;_&&(oe(e,t,s,u,p),wt(e,t,s,u,p),n8(e,t,s,u,p),Im(e,t,s,u,p))}var Iv=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],V2=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Iv));function tT(e,t,s){var u=e.type||"unknown-event";e.currentTarget=s,io(u,t,void 0,e),e.currentTarget=null}function o8(e,t,s){var u;if(s)for(var p=t.length-1;p>=0;p--){var y=t[p],w=y.instance,_=y.currentTarget,F=y.listener;if(w!==u&&e.isPropagationStopped())return;tT(e,F,_),u=w}else for(var B=0;B<t.length;B++){var j=t[B],re=j.instance,te=j.currentTarget,fe=j.listener;if(re!==u&&e.isPropagationStopped())return;tT(e,fe,te),u=re}}function nT(e,t){for(var s=(t&Fi)!==0,u=0;u<e.length;u++){var p=e[u],y=p.event,w=p.listeners;o8(y,w,s)}Ws()}function s8(e,t,s,u,p){var y=bp(s),w=[];i8(w,e,u,s,y,t),nT(w,t)}function Pr(e,t){V2.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var s=!1,u=B6(t),p=d8(e);u.has(p)||(rT(t,e,Xd,s),u.add(p))}function Y2(e,t,s){V2.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=Fi),rT(s,e,u,t)}var kk="_reactListening"+Math.random().toString(36).slice(2);function jv(e){if(!e[kk]){e[kk]=!0,lt.forEach(function(s){s!=="selectionchange"&&(V2.has(s)||Y2(s,!1,e),Y2(s,!0,e))});var t=e.nodeType===ui?e:e.ownerDocument;t!==null&&(t[kk]||(t[kk]=!0,Y2("selectionchange",!1,t)))}}function rT(e,t,s,u,p){var y=ea(e,t,s),w=void 0;Uu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(w=!0),e=e,u?w!==void 0?ji(e,t,y,w):Gp(e,t,y):w!==void 0?Tv(e,t,y,w):Ev(e,t,y)}function aT(e,t){return e===t||e.nodeType===nr&&e.parentNode===t}function G2(e,t,s,u,p){var y=u;if(!(t&Gd)&&!(t&Xd)){var w=p;if(u!==null){var _=u;e:for(;;){if(_===null)return;var F=_.tag;if(F===P||F===R){var B=_.stateNode.containerInfo;if(aT(B,w))break;if(F===R)for(var j=_.return;j!==null;){var re=j.tag;if(re===P||re===R){var te=j.stateNode.containerInfo;if(aT(te,w))return}j=j.return}for(;B!==null;){var fe=th(B);if(fe===null)return;var ge=fe.tag;if(ge===O||ge===I){_=y=fe;continue e}B=B.parentNode}}_=_.return}}}um(function(){return s8(e,t,s,y)})}function zv(e,t,s){return{instance:e,listener:t,currentTarget:s}}function l8(e,t,s,u,p,y){for(var w=t!==null?t+"Capture":null,_=u?w:t,F=[],B=e,j=null;B!==null;){var re=B,te=re.stateNode,fe=re.tag;if(fe===O&&te!==null&&(j=te,_!==null)){var ge=us(B,_);ge!=null&&F.push(zv(B,ge,j))}if(p)break;B=B.return}return F}function wk(e,t){for(var s=t+"Capture",u=[],p=e;p!==null;){var y=p,w=y.stateNode,_=y.tag;if(_===O&&w!==null){var F=w,B=us(p,s);B!=null&&u.unshift(zv(p,B,F));var j=us(p,t);j!=null&&u.push(zv(p,j,F))}p=p.return}return u}function Hm(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==O);return e||null}function u8(e,t){for(var s=e,u=t,p=0,y=s;y;y=Hm(y))p++;for(var w=0,_=u;_;_=Hm(_))w++;for(;p-w>0;)s=Hm(s),p--;for(;w-p>0;)u=Hm(u),w--;for(var F=p;F--;){if(s===u||u!==null&&s===u.alternate)return s;s=Hm(s),u=Hm(u)}return null}function iT(e,t,s,u,p){for(var y=t._reactName,w=[],_=s;_!==null&&_!==u;){var F=_,B=F.alternate,j=F.stateNode,re=F.tag;if(B!==null&&B===u)break;if(re===O&&j!==null){var te=j;if(p){var fe=us(_,y);fe!=null&&w.unshift(zv(_,fe,te))}else if(!p){var ge=us(_,y);ge!=null&&w.push(zv(_,ge,te))}}_=_.return}w.length!==0&&e.push({event:t,listeners:w})}function c8(e,t,s,u,p){var y=u&&p?u8(u,p):null;u!==null&&iT(e,t,u,y,!1),p!==null&&s!==null&&iT(e,s,p,y,!0)}function d8(e,t){return e+"__bubble"}var Wo=!1,Uv="dangerouslySetInnerHTML",Dk="suppressContentEditableWarning",hf="suppressHydrationWarning",oT="autoFocus",Zp="children",eh="style",Sk="__html",X2,Ck,Hv,sT,xk,lT,uT;X2={dialog:!0,webview:!0},Ck=function(e,t){Mu(e,t),Iu(e,t),Lc(e,t,{registrationNameDependencies:gt,possibleRegistrationNames:vt})},lT=zt&&!document.documentMode,Hv=function(e,t,s){if(!Wo){var u=_k(s),p=_k(t);p!==u&&(Wo=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(p),JSON.stringify(u)))}},sT=function(e){if(!Wo){Wo=!0;var t=[];e.forEach(function(s){t.push(s)}),m("Extra attributes from the server: %s",t)}},xk=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},uT=function(e,t){var s=e.namespaceURI===li?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return s.innerHTML=t,s.innerHTML};var f8=/\r\n?/g,p8=/\u0000|\uFFFD/g;function _k(e){kr(e);var t=typeof e=="string"?e:""+e;return t.replace(f8,`
|
|
193
|
+
`).replace(p8,"")}function Ek(e,t,s,u){var p=_k(t),y=_k(e);if(y!==p&&(u&&(Wo||(Wo=!0,m('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&Ae))throw new Error("Text content does not match server-rendered HTML.")}function cT(e){return e.nodeType===ui?e:e.ownerDocument}function h8(){}function Tk(e){e.onclick=h8}function m8(e,t,s,u,p){for(var y in u)if(u.hasOwnProperty(y)){var w=u[y];if(y===eh)w&&Object.freeze(w),im(t,w);else if(y===Uv){var _=w?w[Sk]:void 0;_!=null&&zd(t,_)}else if(y===Zp)if(typeof w=="string"){var F=e!=="textarea"||w!=="";F&&is(t,w)}else typeof w=="number"&&is(t,""+w);else y===Dk||y===hf||y===oT||(gt.hasOwnProperty(y)?w!=null&&(typeof w!="function"&&xk(y,w),y==="onScroll"&&Pr("scroll",t)):w!=null&&lr(t,y,w,p))}}function g8(e,t,s,u){for(var p=0;p<t.length;p+=2){var y=t[p],w=t[p+1];y===eh?im(e,w):y===Uv?zd(e,w):y===Zp?is(e,w):lr(e,y,w,u)}}function v8(e,t,s,u){var p,y=cT(s),w,_=u;if(_===li&&(_=up(e)),_===li){if(p=ss(e,t),!p&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var F=y.createElement("div");F.innerHTML="<script><\/script>";var B=F.firstChild;w=F.removeChild(B)}else if(typeof t.is=="string")w=y.createElement(e,{is:t.is});else if(w=y.createElement(e),e==="select"){var j=w;t.multiple?j.multiple=!0:t.size&&(j.size=t.size)}}else w=y.createElementNS(_,e);return _===li&&!p&&Object.prototype.toString.call(w)==="[object HTMLUnknownElement]"&&!zn.call(X2,e)&&(X2[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),w}function y8(e,t){return cT(t).createTextNode(e)}function b8(e,t,s,u){var p=ss(t,s);Ck(t,s);var y;switch(t){case"dialog":Pr("cancel",e),Pr("close",e),y=s;break;case"iframe":case"object":case"embed":Pr("load",e),y=s;break;case"video":case"audio":for(var w=0;w<Iv.length;w++)Pr(Iv[w],e);y=s;break;case"source":Pr("error",e),y=s;break;case"img":case"image":case"link":Pr("error",e),Pr("load",e),y=s;break;case"details":Pr("toggle",e),y=s;break;case"input":ro(e,s),y=$u(e,s),Pr("invalid",e);break;case"option":Dn(e,s),y=s;break;case"select":_l(e,s),y=$c(e,s),Pr("invalid",e);break;case"textarea":jd(e,s),y=op(e,s),Pr("invalid",e);break;default:y=s}switch(Wd(t,y),m8(t,e,u,y,p),t){case"input":no(e),he(e,s,!1);break;case"textarea":no(e),Qh(e);break;case"option":Wn(e,s);break;case"select":Md(e,s);break;default:typeof y.onClick=="function"&&Tk(e);break}}function k8(e,t,s,u,p){Ck(t,u);var y=null,w,_;switch(t){case"input":w=$u(e,s),_=$u(e,u),y=[];break;case"select":w=$c(e,s),_=$c(e,u),y=[];break;case"textarea":w=op(e,s),_=op(e,u),y=[];break;default:w=s,_=u,typeof w.onClick!="function"&&typeof _.onClick=="function"&&Tk(e);break}Wd(t,_);var F,B,j=null;for(F in w)if(!(_.hasOwnProperty(F)||!w.hasOwnProperty(F)||w[F]==null))if(F===eh){var re=w[F];for(B in re)re.hasOwnProperty(B)&&(j||(j={}),j[B]="")}else F===Uv||F===Zp||F===Dk||F===hf||F===oT||(gt.hasOwnProperty(F)?y||(y=[]):(y=y||[]).push(F,null));for(F in _){var te=_[F],fe=w!=null?w[F]:void 0;if(!(!_.hasOwnProperty(F)||te===fe||te==null&&fe==null))if(F===eh)if(te&&Object.freeze(te),fe){for(B in fe)fe.hasOwnProperty(B)&&(!te||!te.hasOwnProperty(B))&&(j||(j={}),j[B]="");for(B in te)te.hasOwnProperty(B)&&fe[B]!==te[B]&&(j||(j={}),j[B]=te[B])}else j||(y||(y=[]),y.push(F,j)),j=te;else if(F===Uv){var ge=te?te[Sk]:void 0,_e=fe?fe[Sk]:void 0;ge!=null&&_e!==ge&&(y=y||[]).push(F,ge)}else F===Zp?(typeof te=="string"||typeof te=="number")&&(y=y||[]).push(F,""+te):F===Dk||F===hf||(gt.hasOwnProperty(F)?(te!=null&&(typeof te!="function"&&xk(F,te),F==="onScroll"&&Pr("scroll",e)),!y&&fe!==te&&(y=[])):(y=y||[]).push(F,te))}return j&&(sm(j,_[eh]),(y=y||[]).push(eh,j)),y}function w8(e,t,s,u,p){s==="input"&&p.type==="radio"&&p.name!=null&&A(e,p);var y=ss(s,u),w=ss(s,p);switch(g8(e,t,y,w),s){case"input":Y(e,p);break;case"textarea":sp(e,p);break;case"select":Id(e,p);break}}function D8(e){{var t=e.toLowerCase();return Rc.hasOwnProperty(t)&&Rc[t]||null}}function S8(e,t,s,u,p,y,w){var _,F;switch(_=ss(t,s),Ck(t,s),t){case"dialog":Pr("cancel",e),Pr("close",e);break;case"iframe":case"object":case"embed":Pr("load",e);break;case"video":case"audio":for(var B=0;B<Iv.length;B++)Pr(Iv[B],e);break;case"source":Pr("error",e);break;case"img":case"image":case"link":Pr("error",e),Pr("load",e);break;case"details":Pr("toggle",e);break;case"input":ro(e,s),Pr("invalid",e);break;case"option":Dn(e,s);break;case"select":_l(e,s),Pr("invalid",e);break;case"textarea":jd(e,s),Pr("invalid",e);break}Wd(t,s);{F=new Set;for(var j=e.attributes,re=0;re<j.length;re++){var te=j[re].name.toLowerCase();switch(te){case"value":break;case"checked":break;case"selected":break;default:F.add(j[re].name)}}}var fe=null;for(var ge in s)if(s.hasOwnProperty(ge)){var _e=s[ge];if(ge===Zp)typeof _e=="string"?e.textContent!==_e&&(s[hf]!==!0&&Ek(e.textContent,_e,y,w),fe=[Zp,_e]):typeof _e=="number"&&e.textContent!==""+_e&&(s[hf]!==!0&&Ek(e.textContent,_e,y,w),fe=[Zp,""+_e]);else if(gt.hasOwnProperty(ge))_e!=null&&(typeof _e!="function"&&xk(ge,_e),ge==="onScroll"&&Pr("scroll",e));else if(w&&typeof _=="boolean"){var rt=void 0,St=ha(ge);if(s[hf]!==!0&&!(ge===Dk||ge===hf||ge==="value"||ge==="checked"||ge==="selected")){if(ge===Uv){var Rt=e.innerHTML,pn=_e?_e[Sk]:void 0;if(pn!=null){var cn=uT(e,pn);cn!==Rt&&Hv(ge,Rt,cn)}}else if(ge===eh){if(F.delete(ge),lT){var se=av(_e);rt=e.getAttribute("style"),se!==rt&&Hv(ge,rt,se)}}else if(_)F.delete(ge.toLowerCase()),rt=Ci(e,ge,_e),_e!==rt&&Hv(ge,rt,_e);else if(!_n(ge,St,_)&&!kn(ge,_e,St,_)){var Ce=!1;if(St!==null)F.delete(St.attributeName),rt=Ji(e,ge,_e,St);else{var de=u;if(de===li&&(de=up(t)),de===li)F.delete(ge.toLowerCase());else{var Ue=D8(ge);Ue!==null&&Ue!==ge&&(Ce=!0,F.delete(Ue)),F.delete(ge)}rt=Ci(e,ge,_e)}var dt=Q;!dt&&_e!==rt&&!Ce&&Hv(ge,rt,_e)}}}}switch(w&&F.size>0&&s[hf]!==!0&&sT(F),t){case"input":no(e),he(e,s,!0);break;case"textarea":no(e),Qh(e);break;case"select":case"option":break;default:typeof s.onClick=="function"&&Tk(e);break}return fe}function C8(e,t,s){var u=e.nodeValue!==t;return u}function J2(e,t){{if(Wo)return;Wo=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Q2(e,t){{if(Wo)return;Wo=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function K2(e,t,s){{if(Wo)return;Wo=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Z2(e,t){{if(t===""||Wo)return;Wo=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function x8(e,t,s){switch(t){case"input":ke(e,s);return;case"textarea":lp(e,s);return;case"select":ip(e,s);return}}var Wv=function(){},qv=function(){};{var _8=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],dT=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],E8=dT.concat(["button"]),T8=["dd","dt","li","option","optgroup","p","rp","rt"],fT={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};qv=function(e,t){var s=Qt({},e||fT),u={tag:t};return dT.indexOf(t)!==-1&&(s.aTagInScope=null,s.buttonTagInScope=null,s.nobrTagInScope=null),E8.indexOf(t)!==-1&&(s.pTagInButtonScope=null),_8.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(s.listItemTagAutoclosing=null,s.dlItemTagAutoclosing=null),s.current=u,t==="form"&&(s.formTag=u),t==="a"&&(s.aTagInScope=u),t==="button"&&(s.buttonTagInScope=u),t==="nobr"&&(s.nobrTagInScope=u),t==="p"&&(s.pTagInButtonScope=u),t==="li"&&(s.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(s.dlItemTagAutoclosing=u),s};var F8=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return T8.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},A8=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},pT={};Wv=function(e,t,s){s=s||fT;var u=s.current,p=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var y=F8(e,p)?null:u,w=y?null:A8(e,s),_=y||w;if(_){var F=_.tag,B=!!y+"|"+e+"|"+F;if(!pT[B]){pT[B]=!0;var j=e,re="";if(e==="#text"?/\S/.test(t)?j="Text nodes":(j="Whitespace text nodes",re=" Make sure you don't have any extra whitespace between tags on each line of your source code."):j="<"+e+">",y){var te="";F==="table"&&e==="tr"&&(te+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",j,F,re,te)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",j,F)}}}}var Fk="suppressHydrationWarning",Ak="$",$k="/$",Vv="$?",Yv="$!",$8="style",eD=null,tD=null;function P8(e){var t,s,u=e.nodeType;switch(u){case ui:case Fl:{t=u===ui?"#document":"#fragment";var p=e.documentElement;s=p?p.namespaceURI:Tl(null,"");break}default:{var y=u===nr?e.parentNode:e,w=y.namespaceURI||null;t=y.tagName,s=Tl(w,t);break}}{var _=t.toLowerCase(),F=qv(null,_);return{namespace:s,ancestorInfo:F}}}function N8(e,t,s){{var u=e,p=Tl(u.namespace,t),y=qv(u.ancestorInfo,t);return{namespace:p,ancestorInfo:y}}}function R8(e){eD=ka(),tD=G4();var t=null;return An(!1),t}function L8(e){X4(tD),An(eD),eD=null,tD=null}function O8(e,t,s,u,p){var y;{var w=u;if(Wv(e,null,w.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var _=""+t.children,F=qv(w.ancestorInfo,e);Wv(null,_,F)}y=w.namespace}var B=v8(e,t,s,y);return Jv(p,B),uD(B,t),B}function B8(e,t){e.appendChild(t)}function M8(e,t,s,u,p){switch(b8(e,t,s,u),t){case"button":case"input":case"select":case"textarea":return!!s.autoFocus;case"img":return!0;default:return!1}}function I8(e,t,s,u,p,y){{var w=y;if(typeof u.children!=typeof s.children&&(typeof u.children=="string"||typeof u.children=="number")){var _=""+u.children,F=qv(w.ancestorInfo,t);Wv(null,_,F)}}return k8(e,t,s,u)}function nD(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function j8(e,t,s,u){{var p=s;Wv(null,e,p.ancestorInfo)}var y=y8(e,t);return Jv(u,y),y}function z8(){var e=window.event;return e===void 0?Zs:Yp(e.type)}var rD=typeof setTimeout=="function"?setTimeout:void 0,U8=typeof clearTimeout=="function"?clearTimeout:void 0,aD=-1,hT=typeof Promise=="function"?Promise:void 0,H8=typeof queueMicrotask=="function"?queueMicrotask:typeof hT<"u"?function(e){return hT.resolve(null).then(e).catch(W8)}:rD;function W8(e){setTimeout(function(){throw e})}function q8(e,t,s,u){switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&e.focus();return;case"img":{s.src&&(e.src=s.src);return}}}function V8(e,t,s,u,p,y){w8(e,t,s,u,p),uD(e,p)}function mT(e){is(e,"")}function Y8(e,t,s){e.nodeValue=s}function G8(e,t){e.appendChild(t)}function X8(e,t){var s;e.nodeType===nr?(s=e.parentNode,s.insertBefore(t,e)):(s=e,s.appendChild(t));var u=e._reactRootContainer;u==null&&s.onclick===null&&Tk(s)}function J8(e,t,s){e.insertBefore(t,s)}function Q8(e,t,s){e.nodeType===nr?e.parentNode.insertBefore(t,s):e.insertBefore(t,s)}function K8(e,t){e.removeChild(t)}function Z8(e,t){e.nodeType===nr?e.parentNode.removeChild(t):e.removeChild(t)}function iD(e,t){var s=t,u=0;do{var p=s.nextSibling;if(e.removeChild(s),p&&p.nodeType===nr){var y=p.data;if(y===$k)if(u===0){e.removeChild(p),Qu(t);return}else u--;else(y===Ak||y===Vv||y===Yv)&&u++}s=p}while(s);Qu(t)}function e6(e,t){e.nodeType===nr?iD(e.parentNode,t):e.nodeType===Jr&&iD(e,t),Qu(e)}function t6(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function n6(e){e.nodeValue=""}function r6(e,t){e=e;var s=t[$8],u=s!=null&&s.hasOwnProperty("display")?s.display:null;e.style.display=Pu("display",u)}function a6(e,t){e.nodeValue=t}function i6(e){e.nodeType===Jr?e.textContent="":e.nodeType===ui&&e.documentElement&&e.removeChild(e.documentElement)}function o6(e,t,s){return e.nodeType!==Jr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function s6(e,t){return t===""||e.nodeType!==Po?null:e}function l6(e){return e.nodeType!==nr?null:e}function gT(e){return e.data===Vv}function oD(e){return e.data===Yv}function u6(e){var t=e.nextSibling&&e.nextSibling.dataset,s,u,p;return t&&(s=t.dgst,u=t.msg,p=t.stck),{message:u,digest:s,stack:p}}function c6(e,t){e._reactRetry=t}function Pk(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Jr||t===Po)break;if(t===nr){var s=e.data;if(s===Ak||s===Yv||s===Vv)break;if(s===$k)return null}}return e}function Gv(e){return Pk(e.nextSibling)}function d6(e){return Pk(e.firstChild)}function f6(e){return Pk(e.firstChild)}function p6(e){return Pk(e.nextSibling)}function h6(e,t,s,u,p,y,w){Jv(y,e),uD(e,s);var _;{var F=p;_=F.namespace}var B=(y.mode&an)!==xt;return S8(e,t,s,_,u,B,w)}function m6(e,t,s,u){return Jv(s,e),s.mode&an,C8(e,t)}function g6(e,t){Jv(t,e)}function v6(e){for(var t=e.nextSibling,s=0;t;){if(t.nodeType===nr){var u=t.data;if(u===$k){if(s===0)return Gv(t);s--}else(u===Ak||u===Yv||u===Vv)&&s++}t=t.nextSibling}return null}function vT(e){for(var t=e.previousSibling,s=0;t;){if(t.nodeType===nr){var u=t.data;if(u===Ak||u===Yv||u===Vv){if(s===0)return t;s--}else u===$k&&s++}t=t.previousSibling}return null}function y6(e){Qu(e)}function b6(e){Qu(e)}function k6(e){return e!=="head"&&e!=="body"}function w6(e,t,s,u){var p=!0;Ek(t.nodeValue,s,u,p)}function D6(e,t,s,u,p,y){if(t[Fk]!==!0){var w=!0;Ek(u.nodeValue,p,y,w)}}function S6(e,t){t.nodeType===Jr?J2(e,t):t.nodeType===nr||Q2(e,t)}function C6(e,t){{var s=e.parentNode;s!==null&&(t.nodeType===Jr?J2(s,t):t.nodeType===nr||Q2(s,t))}}function x6(e,t,s,u,p){(p||t[Fk]!==!0)&&(u.nodeType===Jr?J2(s,u):u.nodeType===nr||Q2(s,u))}function _6(e,t,s){K2(e,t)}function E6(e,t){Z2(e,t)}function T6(e,t,s){{var u=e.parentNode;u!==null&&K2(u,t)}}function F6(e,t){{var s=e.parentNode;s!==null&&Z2(s,t)}}function A6(e,t,s,u,p,y){(y||t[Fk]!==!0)&&K2(s,u)}function $6(e,t,s,u,p){(p||t[Fk]!==!0)&&Z2(s,u)}function P6(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function N6(e){jv(e)}var Wm=Math.random().toString(36).slice(2),qm="__reactFiber$"+Wm,sD="__reactProps$"+Wm,Xv="__reactContainer$"+Wm,lD="__reactEvents$"+Wm,R6="__reactListeners$"+Wm,L6="__reactHandles$"+Wm;function O6(e){delete e[qm],delete e[sD],delete e[lD],delete e[R6],delete e[L6]}function Jv(e,t){t[qm]=e}function Nk(e,t){t[Xv]=e}function yT(e){e[Xv]=null}function Qv(e){return!!e[Xv]}function th(e){var t=e[qm];if(t)return t;for(var s=e.parentNode;s;){if(t=s[Xv]||s[qm],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var p=vT(e);p!==null;){var y=p[qm];if(y)return y;p=vT(p)}return t}e=s,s=e.parentNode}return null}function mf(e){var t=e[qm]||e[Xv];return t&&(t.tag===O||t.tag===I||t.tag===X||t.tag===P)?t:null}function Vm(e){if(e.tag===O||e.tag===I)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Rk(e){return e[sD]||null}function uD(e,t){e[sD]=t}function B6(e){var t=e[lD];return t===void 0&&(t=e[lD]=new Set),t}var bT={},kT=i.ReactDebugCurrentFrame;function Lk(e){if(e){var t=e._owner,s=oi(e.type,e._source,t?t.type:null);kT.setExtraStackFrame(s)}else kT.setExtraStackFrame(null)}function Zl(e,t,s,u,p){{var y=Function.call.bind(zn);for(var w in e)if(y(e,w)){var _=void 0;try{if(typeof e[w]!="function"){var F=Error((u||"React class")+": "+s+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}_=e[w](t,w,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(B){_=B}_&&!(_ instanceof Error)&&(Lk(p),m("%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).",u||"React class",s,w,typeof _),Lk(null)),_ instanceof Error&&!(_.message in bT)&&(bT[_.message]=!0,Lk(p),m("Failed %s type: %s",s,_.message),Lk(null))}}}var cD=[],Ok;Ok=[];var fd=-1;function gf(e){return{current:e}}function zi(e,t){if(fd<0){m("Unexpected pop.");return}t!==Ok[fd]&&m("Unexpected Fiber popped."),e.current=cD[fd],cD[fd]=null,Ok[fd]=null,fd--}function Ui(e,t,s){fd++,cD[fd]=e.current,Ok[fd]=s,e.current=t}var dD;dD={};var Ss={};Object.freeze(Ss);var pd=gf(Ss),ic=gf(!1),fD=Ss;function Ym(e,t,s){return s&&oc(t)?fD:pd.current}function wT(e,t,s){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=s}}function Gm(e,t){{var s=e.type,u=s.contextTypes;if(!u)return Ss;var p=e.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===t)return p.__reactInternalMemoizedMaskedChildContext;var y={};for(var w in u)y[w]=t[w];{var _=Bt(e)||"Unknown";Zl(u,y,"context",_)}return p&&wT(e,t,y),y}}function Bk(){return ic.current}function oc(e){{var t=e.childContextTypes;return t!=null}}function Mk(e){zi(ic,e),zi(pd,e)}function pD(e){zi(ic,e),zi(pd,e)}function DT(e,t,s){{if(pd.current!==Ss)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Ui(pd,t,e),Ui(ic,s,e)}}function ST(e,t,s){{var u=e.stateNode,p=t.childContextTypes;if(typeof u.getChildContext!="function"){{var y=Bt(e)||"Unknown";dD[y]||(dD[y]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",y,y))}return s}var w=u.getChildContext();for(var _ in w)if(!(_ in p))throw new Error((Bt(e)||"Unknown")+'.getChildContext(): key "'+_+'" is not defined in childContextTypes.');{var F=Bt(e)||"Unknown";Zl(p,w,"child context",F)}return Qt({},s,w)}}function Ik(e){{var t=e.stateNode,s=t&&t.__reactInternalMemoizedMergedChildContext||Ss;return fD=pd.current,Ui(pd,s,e),Ui(ic,ic.current,e),!0}}function CT(e,t,s){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(s){var p=ST(e,t,fD);u.__reactInternalMemoizedMergedChildContext=p,zi(ic,e),zi(pd,e),Ui(pd,p,e),Ui(ic,s,e)}else zi(ic,e),Ui(ic,s,e)}}function M6(e){{if(!Gs(e)||e.tag!==E)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case P:return t.stateNode.context;case E:{var s=t.type;if(oc(s))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var vf=0,jk=1,hd=null,hD=!1,mD=!1;function xT(e){hd===null?hd=[e]:hd.push(e)}function I6(e){hD=!0,xT(e)}function _T(){hD&&yf()}function yf(){if(!mD&&hd!==null){mD=!0;var e=0,t=bs();try{var s=!0,u=hd;for(la(Mi);e<u.length;e++){var p=u[e];do p=p(s);while(p!==null)}hd=null,hD=!1}catch(y){throw hd!==null&&(hd=hd.slice(e+1)),Dp(Vu,yf),y}finally{la(t),mD=!1}}return null}var Xm=[],Jm=0,zk=null,Uk=0,rl=[],al=0,nh=null,md=1,gd="";function j6(e){return ah(),(e.flags&oo)!==Ct}function z6(e){return ah(),Uk}function U6(){var e=gd,t=md,s=t&~H6(t);return s.toString(32)+e}function rh(e,t){ah(),Xm[Jm++]=Uk,Xm[Jm++]=zk,zk=e,Uk=t}function ET(e,t,s){ah(),rl[al++]=md,rl[al++]=gd,rl[al++]=nh,nh=e;var u=md,p=gd,y=Hk(u)-1,w=u&~(1<<y),_=s+1,F=Hk(t)+y;if(F>30){var B=y-y%5,j=(1<<B)-1,re=(w&j).toString(32),te=w>>B,fe=y-B,ge=Hk(t)+fe,_e=_<<fe,rt=_e|te,St=re+p;md=1<<ge|rt,gd=St}else{var Rt=_<<y,pn=Rt|w,cn=p;md=1<<F|pn,gd=cn}}function gD(e){ah();var t=e.return;if(t!==null){var s=1,u=0;rh(e,s),ET(e,s,u)}}function Hk(e){return 32-Mr(e)}function H6(e){return 1<<Hk(e)-1}function vD(e){for(;e===zk;)zk=Xm[--Jm],Xm[Jm]=null,Uk=Xm[--Jm],Xm[Jm]=null;for(;e===nh;)nh=rl[--al],rl[al]=null,gd=rl[--al],rl[al]=null,md=rl[--al],rl[al]=null}function W6(){return ah(),nh!==null?{id:md,overflow:gd}:null}function q6(e,t){ah(),rl[al++]=md,rl[al++]=gd,rl[al++]=nh,md=t.id,gd=t.overflow,nh=e}function ah(){pi()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fi=null,il=null,eu=!1,ih=!1,bf=null;function V6(){eu&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function TT(){ih=!0}function Y6(){return ih}function G6(e){var t=e.stateNode.containerInfo;return il=f6(t),fi=e,eu=!0,bf=null,ih=!1,!0}function X6(e,t,s){return il=p6(t),fi=e,eu=!0,bf=null,ih=!1,s!==null&&q6(e,s),!0}function FT(e,t){switch(e.tag){case P:{S6(e.stateNode.containerInfo,t);break}case O:{var s=(e.mode&an)!==xt;x6(e.type,e.memoizedProps,e.stateNode,t,s);break}case X:{var u=e.memoizedState;u.dehydrated!==null&&C6(u.dehydrated,t);break}}}function AT(e,t){FT(e,t);var s=Zz();s.stateNode=t,s.return=e;var u=e.deletions;u===null?(e.deletions=[s],e.flags|=Pi):u.push(s)}function yD(e,t){{if(ih)return;switch(e.tag){case P:{var s=e.stateNode.containerInfo;switch(t.tag){case O:var u=t.type;t.pendingProps,_6(s,u);break;case I:var p=t.pendingProps;E6(s,p);break}break}case O:{var y=e.type,w=e.memoizedProps,_=e.stateNode;switch(t.tag){case O:{var F=t.type,B=t.pendingProps,j=(e.mode&an)!==xt;A6(y,w,_,F,B,j);break}case I:{var re=t.pendingProps,te=(e.mode&an)!==xt;$6(y,w,_,re,te);break}}break}case X:{var fe=e.memoizedState,ge=fe.dehydrated;if(ge!==null)switch(t.tag){case O:var _e=t.type;t.pendingProps,T6(ge,_e);break;case I:var rt=t.pendingProps;F6(ge,rt);break}break}default:return}}}function $T(e,t){t.flags=t.flags&-4097|Fr,yD(e,t)}function PT(e,t){switch(e.tag){case O:{var s=e.type;e.pendingProps;var u=o6(t,s);return u!==null?(e.stateNode=u,fi=e,il=d6(u),!0):!1}case I:{var p=e.pendingProps,y=s6(t,p);return y!==null?(e.stateNode=y,fi=e,il=null,!0):!1}case X:{var w=l6(t);if(w!==null){var _={dehydrated:w,treeContext:W6(),retryLane:lo};e.memoizedState=_;var F=e7(w);return F.return=e,e.child=F,fi=e,il=null,!0}return!1}default:return!1}}function bD(e){return(e.mode&an)!==xt&&(e.flags&kt)===Ct}function kD(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function wD(e){if(eu){var t=il;if(!t){bD(e)&&(yD(fi,e),kD()),$T(fi,e),eu=!1,fi=e;return}var s=t;if(!PT(e,t)){bD(e)&&(yD(fi,e),kD()),t=Gv(s);var u=fi;if(!t||!PT(e,t)){$T(fi,e),eu=!1,fi=e;return}AT(u,s)}}}function J6(e,t,s){var u=e.stateNode,p=!ih,y=h6(u,e.type,e.memoizedProps,t,s,e,p);return e.updateQueue=y,y!==null}function Q6(e){var t=e.stateNode,s=e.memoizedProps,u=m6(t,s,e);if(u){var p=fi;if(p!==null)switch(p.tag){case P:{var y=p.stateNode.containerInfo,w=(p.mode&an)!==xt;w6(y,t,s,w);break}case O:{var _=p.type,F=p.memoizedProps,B=p.stateNode,j=(p.mode&an)!==xt;D6(_,F,B,t,s,j);break}}}return u}function K6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");g6(s,e)}function Z6(e){var t=e.memoizedState,s=t!==null?t.dehydrated:null;if(!s)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return v6(s)}function NT(e){for(var t=e.return;t!==null&&t.tag!==O&&t.tag!==P&&t.tag!==X;)t=t.return;fi=t}function Wk(e){if(e!==fi)return!1;if(!eu)return NT(e),eu=!0,!1;if(e.tag!==P&&(e.tag!==O||k6(e.type)&&!nD(e.type,e.memoizedProps))){var t=il;if(t)if(bD(e))RT(e),kD();else for(;t;)AT(e,t),t=Gv(t)}return NT(e),e.tag===X?il=Z6(e):il=fi?Gv(e.stateNode):null,!0}function e5(){return eu&&il!==null}function RT(e){for(var t=il;t;)FT(e,t),t=Gv(t)}function Qm(){fi=null,il=null,eu=!1,ih=!1}function LT(){bf!==null&&(TA(bf),bf=null)}function pi(){return eu}function DD(e){bf===null?bf=[e]:bf.push(e)}var t5=i.ReactCurrentBatchConfig,n5=null;function r5(){return t5.transition}var tu={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var a5=function(e){for(var t=null,s=e;s!==null;)s.mode&Yn&&(t=s),s=s.return;return t},oh=function(e){var t=[];return e.forEach(function(s){t.push(s)}),t.sort().join(", ")},Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],sh=new Set;tu.recordUnsafeLifecycleWarnings=function(e,t){sh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Kv.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillMount=="function"&&Zv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ey.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&ty.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ny.push(e),e.mode&Yn&&typeof t.UNSAFE_componentWillUpdate=="function"&&ry.push(e))},tu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Kv.length>0&&(Kv.forEach(function(te){e.add(Bt(te)||"Component"),sh.add(te.type)}),Kv=[]);var t=new Set;Zv.length>0&&(Zv.forEach(function(te){t.add(Bt(te)||"Component"),sh.add(te.type)}),Zv=[]);var s=new Set;ey.length>0&&(ey.forEach(function(te){s.add(Bt(te)||"Component"),sh.add(te.type)}),ey=[]);var u=new Set;ty.length>0&&(ty.forEach(function(te){u.add(Bt(te)||"Component"),sh.add(te.type)}),ty=[]);var p=new Set;ny.length>0&&(ny.forEach(function(te){p.add(Bt(te)||"Component"),sh.add(te.type)}),ny=[]);var y=new Set;if(ry.length>0&&(ry.forEach(function(te){y.add(Bt(te)||"Component"),sh.add(te.type)}),ry=[]),t.size>0){var w=oh(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
194
194
|
|
|
195
195
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
196
196
|
|
|
@@ -208,13 +208,13 @@ Please update the following components: %s`,F)}if(e.size>0){var B=oh(e);h(`compo
|
|
|
208
208
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
209
209
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
210
210
|
|
|
211
|
-
Please update the following components: %s`,B)}if(s.size>0){var
|
|
211
|
+
Please update the following components: %s`,B)}if(s.size>0){var j=oh(s);h(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
212
212
|
|
|
213
213
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
214
214
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
215
215
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
216
216
|
|
|
217
|
-
Please update the following components: %s`,
|
|
217
|
+
Please update the following components: %s`,j)}if(p.size>0){var re=oh(p);h(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
218
218
|
|
|
219
219
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
220
220
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
@@ -225,11 +225,11 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
225
225
|
|
|
226
226
|
Please update the following components: %s
|
|
227
227
|
|
|
228
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}finally{ur()}}})},tu.discardPendingWarnings=function(){Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],qk=new Map}}var SD,CD,xD,_D,ED,BT=function(e,t){};SD=!1,CD=!1,xD={},_D={},ED={},BT=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var s=Bt(t)||"Component";_D[s]||(_D[s]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function i5(e){return e.prototype&&e.prototype.isReactComponent}function ay(e,t,s){var u=s.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&Yn||le)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)&&!(s._owner&&s._owner.tag!==E)&&!(typeof s.type=="function"&&!i5(s.type))&&s._owner){var p=Bt(e)||"Component";xD[p]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',p,u),xD[p]=!0)}if(s._owner){var y=s._owner,w;if(y){var _=y;if(_.tag!==E)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");w=_.stateNode}if(!w)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var F=w;Xi(u,"ref");var B=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===B)return t.ref;var
|
|
228
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)}finally{ur()}}})},tu.discardPendingWarnings=function(){Kv=[],Zv=[],ey=[],ty=[],ny=[],ry=[],qk=new Map}}var SD,CD,xD,_D,ED,BT=function(e,t){};SD=!1,CD=!1,xD={},_D={},ED={},BT=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var s=Bt(t)||"Component";_D[s]||(_D[s]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function i5(e){return e.prototype&&e.prototype.isReactComponent}function ay(e,t,s){var u=s.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode&Yn||le)&&!(s._owner&&s._self&&s._owner.stateNode!==s._self)&&!(s._owner&&s._owner.tag!==E)&&!(typeof s.type=="function"&&!i5(s.type))&&s._owner){var p=Bt(e)||"Component";xD[p]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',p,u),xD[p]=!0)}if(s._owner){var y=s._owner,w;if(y){var _=y;if(_.tag!==E)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");w=_.stateNode}if(!w)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var F=w;Xi(u,"ref");var B=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===B)return t.ref;var j=function(re){var te=F.refs;re===null?delete te[B]:te[B]=re};return j._stringRef=B,j}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!s._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
|
|
229
229
|
1. You may be adding a ref to a function component
|
|
230
230
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
231
231
|
3. You have multiple copies of React loaded
|
|
232
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function Vk(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function Yk(e){{var t=Bt(e)||"Component";if(ED[t])return;ED[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function MT(e){var t=e._payload,s=e._init;return s(t)}function IT(e){function t(se,Ce){if(e){var de=se.deletions;de===null?(se.deletions=[Ce],se.flags|=Pi):de.push(Ce)}}function s(se,Ce){if(!e)return null;for(var de=Ce;de!==null;)t(se,de),de=de.sibling;return null}function u(se,Ce){for(var de=new Map,Ue=Ce;Ue!==null;)Ue.key!==null?de.set(Ue.key,Ue):de.set(Ue.index,Ue),Ue=Ue.sibling;return de}function p(se,Ce){var de=gh(se,Ce);return de.index=0,de.sibling=null,de}function y(se,Ce,de){if(se.index=de,!e)return se.flags|=oo,Ce;var Ue=se.alternate;if(Ue!==null){var dt=Ue.index;return dt<Ce?(se.flags|=Fr,Ce):dt}else return se.flags|=Fr,Ce}function w(se){return e&&se.alternate===null&&(se.flags|=Fr),se}function _(se,Ce,de,Ue){if(Ce===null||Ce.tag!==j){var dt=DC(de,se.mode,Ue);return dt.return=se,dt}else{var st=p(Ce,de);return st.return=se,st}}function F(se,Ce,de,Ue){var dt=de.type;if(dt===xo)return I(se,Ce,de.props.children,Ue,de.key);if(Ce!==null&&(Ce.elementType===dt||WA(Ce,de)||typeof dt=="object"&&dt!==null&&dt.$$typeof===It&&MT(dt)===Ce.type)){var st=p(Ce,de.props);return st.ref=ay(se,Ce,de),st.return=se,st._debugSource=de._source,st._debugOwner=de._owner,st}var Mt=wC(de,se.mode,Ue);return Mt.ref=ay(se,Ce,de),Mt.return=se,Mt}function B(se,Ce,de,Ue){if(Ce===null||Ce.tag!==R||Ce.stateNode.containerInfo!==de.containerInfo||Ce.stateNode.implementation!==de.implementation){var dt=SC(de,se.mode,Ue);return dt.return=se,dt}else{var st=p(Ce,de.children||[]);return st.return=se,st}}function I(se,Ce,de,Ue,dt){if(Ce===null||Ce.tag!==J){var st=Af(de,se.mode,Ue,dt);return st.return=se,st}else{var Mt=p(Ce,de);return Mt.return=se,Mt}}function re(se,Ce,de){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Ue=DC(""+Ce,se.mode,de);return Ue.return=se,Ue}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case xa:{var dt=wC(Ce,se.mode,de);return dt.ref=ay(se,null,Ce),dt.return=se,dt}case aa:{var st=SC(Ce,se.mode,de);return st.return=se,st}case It:{var Mt=Ce._payload,Jt=Ce._init;return re(se,Jt(Mt),de)}}if(Yt(Ce)||Tt(Ce)){var ir=Af(Ce,se.mode,de,null);return ir.return=se,ir}Vk(se,Ce)}return typeof Ce=="function"&&Yk(se),null}function te(se,Ce,de,Ue){var dt=Ce!==null?Ce.key:null;if(typeof de=="string"&&de!==""||typeof de=="number")return dt!==null?null:_(se,Ce,""+de,Ue);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case xa:return de.key===dt?F(se,Ce,de,Ue):null;case aa:return de.key===dt?B(se,Ce,de,Ue):null;case It:{var st=de._payload,Mt=de._init;return te(se,Ce,Mt(st),Ue)}}if(Yt(de)||Tt(de))return dt!==null?null:I(se,Ce,de,Ue,null);Vk(se,de)}return typeof de=="function"&&Yk(se),null}function fe(se,Ce,de,Ue,dt){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number"){var st=se.get(de)||null;return _(Ce,st,""+Ue,dt)}if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case xa:{var Mt=se.get(Ue.key===null?de:Ue.key)||null;return F(Ce,Mt,Ue,dt)}case aa:{var Jt=se.get(Ue.key===null?de:Ue.key)||null;return B(Ce,Jt,Ue,dt)}case It:var ir=Ue._payload,On=Ue._init;return fe(se,Ce,de,On(ir),dt)}if(Yt(Ue)||Tt(Ue)){var ca=se.get(de)||null;return I(Ce,ca,Ue,dt,null)}Vk(Ce,Ue)}return typeof Ue=="function"&&Yk(Ce),null}function ge(se,Ce,de){{if(typeof se!="object"||se===null)return Ce;switch(se.$$typeof){case xa:case aa:BT(se,de);var Ue=se.key;if(typeof Ue!="string")break;if(Ce===null){Ce=new Set,Ce.add(Ue);break}if(!Ce.has(Ue)){Ce.add(Ue);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ue);break;case It:var dt=se._payload,st=se._init;ge(st(dt),Ce,de);break}}return Ce}function _e(se,Ce,de,Ue){for(var dt=null,st=0;st<de.length;st++){var Mt=de[st];dt=ge(Mt,dt,se)}for(var Jt=null,ir=null,On=Ce,ca=0,Bn=0,ta=null;On!==null&&Bn<de.length;Bn++){On.index>Bn?(ta=On,On=null):ta=On.sibling;var Wi=te(se,On,de[Bn],Ue);if(Wi===null){On===null&&(On=ta);break}e&&On&&Wi.alternate===null&&t(se,On),ca=y(Wi,ca,Bn),ir===null?Jt=Wi:ir.sibling=Wi,ir=Wi,On=ta}if(Bn===de.length){if(s(se,On),pi()){var ki=Bn;rh(se,ki)}return Jt}if(On===null){for(;Bn<de.length;Bn++){var xs=re(se,de[Bn],Ue);xs!==null&&(ca=y(xs,ca,Bn),ir===null?Jt=xs:ir.sibling=xs,ir=xs)}if(pi()){var mo=Bn;rh(se,mo)}return Jt}for(var go=u(se,On);Bn<de.length;Bn++){var qi=fe(go,se,Bn,de[Bn],Ue);qi!==null&&(e&&qi.alternate!==null&&go.delete(qi.key===null?Bn:qi.key),ca=y(qi,ca,Bn),ir===null?Jt=qi:ir.sibling=qi,ir=qi)}if(e&&go.forEach(function(gg){return t(se,gg)}),pi()){var Sd=Bn;rh(se,Sd)}return Jt}function rt(se,Ce,de,Ue){var dt=Tt(de);if(typeof dt!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&de[Symbol.toStringTag]==="Generator"&&(CD||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),CD=!0),de.entries===dt&&(SD||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),SD=!0);var st=dt.call(de);if(st)for(var Mt=null,Jt=st.next();!Jt.done;Jt=st.next()){var ir=Jt.value;Mt=ge(ir,Mt,se)}}var On=dt.call(de);if(On==null)throw new Error("An iterable object provided no iterator.");for(var ca=null,Bn=null,ta=Ce,Wi=0,ki=0,xs=null,mo=On.next();ta!==null&&!mo.done;ki++,mo=On.next()){ta.index>ki?(xs=ta,ta=null):xs=ta.sibling;var go=te(se,ta,mo.value,Ue);if(go===null){ta===null&&(ta=xs);break}e&&ta&&go.alternate===null&&t(se,ta),Wi=y(go,Wi,ki),Bn===null?ca=go:Bn.sibling=go,Bn=go,ta=xs}if(mo.done){if(s(se,ta),pi()){var qi=ki;rh(se,qi)}return ca}if(ta===null){for(;!mo.done;ki++,mo=On.next()){var Sd=re(se,mo.value,Ue);Sd!==null&&(Wi=y(Sd,Wi,ki),Bn===null?ca=Sd:Bn.sibling=Sd,Bn=Sd)}if(pi()){var gg=ki;rh(se,gg)}return ca}for(var Ly=u(se,ta);!mo.done;ki++,mo=On.next()){var hc=fe(Ly,se,ki,mo.value,Ue);hc!==null&&(e&&hc.alternate!==null&&Ly.delete(hc.key===null?ki:hc.key),Wi=y(hc,Wi,ki),Bn===null?ca=hc:Bn.sibling=hc,Bn=hc)}if(e&&Ly.forEach(function($7){return t(se,$7)}),pi()){var A7=ki;rh(se,A7)}return ca}function St(se,Ce,de,Ue){if(Ce!==null&&Ce.tag===j){s(se,Ce.sibling);var dt=p(Ce,de);return dt.return=se,dt}s(se,Ce);var st=DC(de,se.mode,Ue);return st.return=se,st}function Rt(se,Ce,de,Ue){for(var dt=de.key,st=Ce;st!==null;){if(st.key===dt){var Mt=de.type;if(Mt===xo){if(st.tag===J){s(se,st.sibling);var Jt=p(st,de.props.children);return Jt.return=se,Jt._debugSource=de._source,Jt._debugOwner=de._owner,Jt}}else if(st.elementType===Mt||WA(st,de)||typeof Mt=="object"&&Mt!==null&&Mt.$$typeof===It&&MT(Mt)===st.type){s(se,st.sibling);var ir=p(st,de.props);return ir.ref=ay(se,st,de),ir.return=se,ir._debugSource=de._source,ir._debugOwner=de._owner,ir}s(se,st);break}else t(se,st);st=st.sibling}if(de.type===xo){var On=Af(de.props.children,se.mode,Ue,de.key);return On.return=se,On}else{var ca=wC(de,se.mode,Ue);return ca.ref=ay(se,Ce,de),ca.return=se,ca}}function pn(se,Ce,de,Ue){for(var dt=de.key,st=Ce;st!==null;){if(st.key===dt)if(st.tag===R&&st.stateNode.containerInfo===de.containerInfo&&st.stateNode.implementation===de.implementation){s(se,st.sibling);var Mt=p(st,de.children||[]);return Mt.return=se,Mt}else{s(se,st);break}else t(se,st);st=st.sibling}var Jt=SC(de,se.mode,Ue);return Jt.return=se,Jt}function cn(se,Ce,de,Ue){var dt=typeof de=="object"&&de!==null&&de.type===xo&&de.key===null;if(dt&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case xa:return w(Rt(se,Ce,de,Ue));case aa:return w(pn(se,Ce,de,Ue));case It:var st=de._payload,Mt=de._init;return cn(se,Ce,Mt(st),Ue)}if(Yt(de))return _e(se,Ce,de,Ue);if(Tt(de))return rt(se,Ce,de,Ue);Vk(se,de)}return typeof de=="string"&&de!==""||typeof de=="number"?w(St(se,Ce,""+de,Ue)):(typeof de=="function"&&Yk(se),s(se,Ce))}return cn}var Km=IT(!0),jT=IT(!1);function o5(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=gh(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=gh(s,s.pendingProps),u.return=t;u.sibling=null}}function s5(e,t){for(var s=e.child;s!==null;)Gz(s,t),s=s.sibling}var TD=gf(null),FD;FD={};var Gk=null,Zm=null,AD=null,Xk=!1;function Jk(){Gk=null,Zm=null,AD=null,Xk=!1}function zT(){Xk=!0}function UT(){Xk=!1}function HT(e,t,s){Ui(TD,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==FD&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=FD}function $D(e,t){var s=TD.current;zi(TD,t),e._currentValue=s}function PD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(td(u.childLanes,t)?p!==null&&!td(p.childLanes,t)&&(p.childLanes=Zt(p.childLanes,t)):(u.childLanes=Zt(u.childLanes,t),p!==null&&(p.childLanes=Zt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function l5(e,t,s){u5(e,t,s)}function u5(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===E){var _=Ip(s),F=vd(dr,_);F.tag=Kk;var B=u.updateQueue;if(B!==null){var I=B.shared,re=I.pending;re===null?F.next=F:(F.next=re.next,re.next=F),I.pending=F}}u.lanes=Zt(u.lanes,s);var te=u.alternate;te!==null&&(te.lanes=Zt(te.lanes,s)),PD(u.return,s,e),y.lanes=Zt(y.lanes,s);break}w=w.next}}else if(u.tag===q)p=u.type===e.type?null:u.child;else if(u.tag===Ye){var fe=u.return;if(fe===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");fe.lanes=Zt(fe.lanes,s);var ge=fe.alternate;ge!==null&&(ge.lanes=Zt(ge.lanes,s)),PD(fe,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var _e=p.sibling;if(_e!==null){_e.return=p.return,p=_e;break}p=p.return}u=p}}function eg(e,t){Gk=e,Zm=null,AD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Bi(s.lanes,t)&&by(),s.firstContext=null)}}function Da(e){Xk&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(AD!==e){var s={context:e,memoizedValue:t,next:null};if(Zm===null){if(Gk===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Zm=s,Gk.dependencies={lanes:T,firstContext:s}}else Zm=Zm.next=s}return t}var lh=null;function ND(e){lh===null?lh=[e]:lh.push(e)}function c5(){if(lh!==null){for(var e=0;e<lh.length;e++){var t=lh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}lh=null}}function WT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,ND(t)):(s.next=p.next,p.next=s),t.interleaved=s,Qk(e,u)}function d5(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,ND(t)):(s.next=p.next,p.next=s),t.interleaved=s}function f5(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,ND(t)):(s.next=p.next,p.next=s),t.interleaved=s,Qk(e,u)}function qo(e,t){return Qk(e,t)}var p5=Qk;function Qk(e,t){e.lanes=Zt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Zt(s.lanes,t)),s===null&&(e.flags&(Fr|Ni))!==Ct&&jA(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Zt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Zt(s.childLanes,t):(p.flags&(Fr|Ni))!==Ct&&jA(e),u=p,p=p.return;if(u.tag===P){var y=u.stateNode;return y}else return null}var qT=0,VT=1,Kk=2,RD=3,Zk=!1,LD,ew;LD=!1,ew=null;function OD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:T},effects:null};e.updateQueue=t}function YT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function vd(e,t){var s={eventTime:e,lane:t,tag:qT,payload:null,callback:null,next:null};return s}function kf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(ew===p&&!LD&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),LD=!0),dz()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,p5(e,s)}else return f5(e,p,t,s)}function tw(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(vv(s)){var y=p.lanes;y=bv(y,e.pendingLanes);var w=Zt(y,s);p.lanes=w,zp(e,w)}}}function BD(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,_=s.firstBaseUpdate;if(_!==null){var F=_;do{var B={eventTime:F.eventTime,lane:F.lane,tag:F.tag,payload:F.payload,callback:F.callback,next:null};w===null?y=w=B:(w.next=B,w=B),F=F.next}while(F!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var I=s.lastBaseUpdate;I===null?s.firstBaseUpdate=t:I.next=t,s.lastBaseUpdate=t}function h5(e,t,s,u,p,y){switch(s.tag){case VT:{var w=s.payload;if(typeof w=="function"){zT();var _=w.call(y,u,p);{if(e.mode&Yn){rr(!0);try{w.call(y,u,p)}finally{rr(!1)}}UT()}return _}return w}case RD:e.flags=e.flags&-65537|kt;case qT:{var F=s.payload,B;if(typeof F=="function"){zT(),B=F.call(y,u,p);{if(e.mode&Yn){rr(!0);try{F.call(y,u,p)}finally{rr(!1)}}UT()}}else B=F;return B==null?u:Qt({},u,B)}case Kk:return Zk=!0,u}return u}function nw(e,t,s,u){var p=e.updateQueue;Zk=!1,ew=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,_=p.shared.pending;if(_!==null){p.shared.pending=null;var F=_,B=F.next;F.next=null,w===null?y=B:w.next=B,w=F;var I=e.alternate;if(I!==null){var re=I.updateQueue,te=re.lastBaseUpdate;te!==w&&(te===null?re.firstBaseUpdate=B:te.next=B,re.lastBaseUpdate=F)}}if(y!==null){var fe=p.baseState,ge=T,_e=null,rt=null,St=null,Rt=y;do{var pn=Rt.lane,cn=Rt.eventTime;if(td(u,pn)){if(St!==null){var se={eventTime:cn,lane:M,tag:Rt.tag,payload:Rt.payload,callback:Rt.callback,next:null};St=St.next=se}fe=h5(e,p,Rt,fe,t,s);var Ce=Rt.callback;if(Ce!==null&&Rt.lane!==M){e.flags|=Xn;var de=p.effects;de===null?p.effects=[Rt]:de.push(Rt)}}else{var Ue={eventTime:cn,lane:pn,tag:Rt.tag,payload:Rt.payload,callback:Rt.callback,next:null};St===null?(rt=St=Ue,_e=fe):St=St.next=Ue,ge=Zt(ge,pn)}if(Rt=Rt.next,Rt===null){if(_=p.shared.pending,_===null)break;var dt=_,st=dt.next;dt.next=null,Rt=st,p.lastBaseUpdate=dt,p.shared.pending=null}}while(!0);St===null&&(_e=fe),p.baseState=_e,p.firstBaseUpdate=rt,p.lastBaseUpdate=St;var Mt=p.shared.interleaved;if(Mt!==null){var Jt=Mt;do ge=Zt(ge,Jt.lane),Jt=Jt.next;while(Jt!==Mt)}else y===null&&(p.shared.lanes=T);Ay(ge),e.lanes=ge,e.memoizedState=fe}ew=null}function m5(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function GT(){Zk=!1}function rw(){return Zk}function XT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,m5(w,s))}}var iy={},wf=gf(iy),oy=gf(iy),aw=gf(iy);function iw(e){if(e===iy)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function JT(){var e=iw(aw.current);return e}function MD(e,t){Ui(aw,t,e),Ui(oy,e,e),Ui(wf,iy,e);var s=P8(t);zi(wf,e),Ui(wf,s,e)}function tg(e){zi(wf,e),zi(oy,e),zi(aw,e)}function ID(){var e=iw(wf.current);return e}function QT(e){iw(aw.current);var t=iw(wf.current),s=N8(t,e.type);t!==s&&(Ui(oy,e,e),Ui(wf,s,e))}function jD(e){oy.current===e&&(zi(wf,e),zi(oy,e))}var g5=0,KT=1,ZT=1,sy=2,nu=gf(g5);function zD(e,t){return(e&t)!==0}function ng(e){return e&KT}function UD(e,t){return e&KT|t}function v5(e,t){return e|t}function Df(e,t){Ui(nu,t,e)}function rg(e){zi(nu,e)}function y5(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function ow(e){for(var t=e;t!==null;){if(t.tag===X){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||gT(u)||oD(u))return t}}else if(t.tag===We&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&kt)!==Ct;if(p)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vo=0,Na=1,sc=2,Ra=4,hi=8,HD=[];function WD(){for(var e=0;e<HD.length;e++){var t=HD[e];t._workInProgressVersionPrimary=null}HD.length=0}function b5(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var ct=i.ReactCurrentDispatcher,ly=i.ReactCurrentBatchConfig,qD,ag;qD=new Set;var uh=T,ar=null,La=null,Oa=null,sw=!1,uy=!1,cy=0,k5=0,w5=25,Te=null,ol=null,Sf=-1,VD=!1;function Gn(){{var e=Te;ol===null?ol=[e]:ol.push(e)}}function Ze(){{var e=Te;ol!==null&&(Sf++,ol[Sf]!==e&&D5(e))}}function ig(e){e!=null&&!Yt(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Te,typeof e)}function D5(e){{var t=Bt(ar);if(!qD.has(t)&&(qD.add(t),ol!==null)){for(var s="",u=30,p=0;p<=Sf;p++){for(var y=ol[p],w=p===Sf?e:y,_=p+1+". "+y;_.length<u;)_+=" ";_+=w+`
|
|
232
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function Vk(e,t){var s=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function Yk(e){{var t=Bt(e)||"Component";if(ED[t])return;ED[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function MT(e){var t=e._payload,s=e._init;return s(t)}function IT(e){function t(se,Ce){if(e){var de=se.deletions;de===null?(se.deletions=[Ce],se.flags|=Pi):de.push(Ce)}}function s(se,Ce){if(!e)return null;for(var de=Ce;de!==null;)t(se,de),de=de.sibling;return null}function u(se,Ce){for(var de=new Map,Ue=Ce;Ue!==null;)Ue.key!==null?de.set(Ue.key,Ue):de.set(Ue.index,Ue),Ue=Ue.sibling;return de}function p(se,Ce){var de=gh(se,Ce);return de.index=0,de.sibling=null,de}function y(se,Ce,de){if(se.index=de,!e)return se.flags|=oo,Ce;var Ue=se.alternate;if(Ue!==null){var dt=Ue.index;return dt<Ce?(se.flags|=Fr,Ce):dt}else return se.flags|=Fr,Ce}function w(se){return e&&se.alternate===null&&(se.flags|=Fr),se}function _(se,Ce,de,Ue){if(Ce===null||Ce.tag!==I){var dt=DC(de,se.mode,Ue);return dt.return=se,dt}else{var st=p(Ce,de);return st.return=se,st}}function F(se,Ce,de,Ue){var dt=de.type;if(dt===xo)return j(se,Ce,de.props.children,Ue,de.key);if(Ce!==null&&(Ce.elementType===dt||WA(Ce,de)||typeof dt=="object"&&dt!==null&&dt.$$typeof===It&&MT(dt)===Ce.type)){var st=p(Ce,de.props);return st.ref=ay(se,Ce,de),st.return=se,st._debugSource=de._source,st._debugOwner=de._owner,st}var Mt=wC(de,se.mode,Ue);return Mt.ref=ay(se,Ce,de),Mt.return=se,Mt}function B(se,Ce,de,Ue){if(Ce===null||Ce.tag!==R||Ce.stateNode.containerInfo!==de.containerInfo||Ce.stateNode.implementation!==de.implementation){var dt=SC(de,se.mode,Ue);return dt.return=se,dt}else{var st=p(Ce,de.children||[]);return st.return=se,st}}function j(se,Ce,de,Ue,dt){if(Ce===null||Ce.tag!==J){var st=Af(de,se.mode,Ue,dt);return st.return=se,st}else{var Mt=p(Ce,de);return Mt.return=se,Mt}}function re(se,Ce,de){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var Ue=DC(""+Ce,se.mode,de);return Ue.return=se,Ue}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case xa:{var dt=wC(Ce,se.mode,de);return dt.ref=ay(se,null,Ce),dt.return=se,dt}case aa:{var st=SC(Ce,se.mode,de);return st.return=se,st}case It:{var Mt=Ce._payload,Jt=Ce._init;return re(se,Jt(Mt),de)}}if(Yt(Ce)||Tt(Ce)){var ir=Af(Ce,se.mode,de,null);return ir.return=se,ir}Vk(se,Ce)}return typeof Ce=="function"&&Yk(se),null}function te(se,Ce,de,Ue){var dt=Ce!==null?Ce.key:null;if(typeof de=="string"&&de!==""||typeof de=="number")return dt!==null?null:_(se,Ce,""+de,Ue);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case xa:return de.key===dt?F(se,Ce,de,Ue):null;case aa:return de.key===dt?B(se,Ce,de,Ue):null;case It:{var st=de._payload,Mt=de._init;return te(se,Ce,Mt(st),Ue)}}if(Yt(de)||Tt(de))return dt!==null?null:j(se,Ce,de,Ue,null);Vk(se,de)}return typeof de=="function"&&Yk(se),null}function fe(se,Ce,de,Ue,dt){if(typeof Ue=="string"&&Ue!==""||typeof Ue=="number"){var st=se.get(de)||null;return _(Ce,st,""+Ue,dt)}if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case xa:{var Mt=se.get(Ue.key===null?de:Ue.key)||null;return F(Ce,Mt,Ue,dt)}case aa:{var Jt=se.get(Ue.key===null?de:Ue.key)||null;return B(Ce,Jt,Ue,dt)}case It:var ir=Ue._payload,On=Ue._init;return fe(se,Ce,de,On(ir),dt)}if(Yt(Ue)||Tt(Ue)){var ca=se.get(de)||null;return j(Ce,ca,Ue,dt,null)}Vk(Ce,Ue)}return typeof Ue=="function"&&Yk(Ce),null}function ge(se,Ce,de){{if(typeof se!="object"||se===null)return Ce;switch(se.$$typeof){case xa:case aa:BT(se,de);var Ue=se.key;if(typeof Ue!="string")break;if(Ce===null){Ce=new Set,Ce.add(Ue);break}if(!Ce.has(Ue)){Ce.add(Ue);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ue);break;case It:var dt=se._payload,st=se._init;ge(st(dt),Ce,de);break}}return Ce}function _e(se,Ce,de,Ue){for(var dt=null,st=0;st<de.length;st++){var Mt=de[st];dt=ge(Mt,dt,se)}for(var Jt=null,ir=null,On=Ce,ca=0,Bn=0,ta=null;On!==null&&Bn<de.length;Bn++){On.index>Bn?(ta=On,On=null):ta=On.sibling;var Wi=te(se,On,de[Bn],Ue);if(Wi===null){On===null&&(On=ta);break}e&&On&&Wi.alternate===null&&t(se,On),ca=y(Wi,ca,Bn),ir===null?Jt=Wi:ir.sibling=Wi,ir=Wi,On=ta}if(Bn===de.length){if(s(se,On),pi()){var ki=Bn;rh(se,ki)}return Jt}if(On===null){for(;Bn<de.length;Bn++){var xs=re(se,de[Bn],Ue);xs!==null&&(ca=y(xs,ca,Bn),ir===null?Jt=xs:ir.sibling=xs,ir=xs)}if(pi()){var mo=Bn;rh(se,mo)}return Jt}for(var go=u(se,On);Bn<de.length;Bn++){var qi=fe(go,se,Bn,de[Bn],Ue);qi!==null&&(e&&qi.alternate!==null&&go.delete(qi.key===null?Bn:qi.key),ca=y(qi,ca,Bn),ir===null?Jt=qi:ir.sibling=qi,ir=qi)}if(e&&go.forEach(function(gg){return t(se,gg)}),pi()){var Sd=Bn;rh(se,Sd)}return Jt}function rt(se,Ce,de,Ue){var dt=Tt(de);if(typeof dt!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&de[Symbol.toStringTag]==="Generator"&&(CD||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),CD=!0),de.entries===dt&&(SD||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),SD=!0);var st=dt.call(de);if(st)for(var Mt=null,Jt=st.next();!Jt.done;Jt=st.next()){var ir=Jt.value;Mt=ge(ir,Mt,se)}}var On=dt.call(de);if(On==null)throw new Error("An iterable object provided no iterator.");for(var ca=null,Bn=null,ta=Ce,Wi=0,ki=0,xs=null,mo=On.next();ta!==null&&!mo.done;ki++,mo=On.next()){ta.index>ki?(xs=ta,ta=null):xs=ta.sibling;var go=te(se,ta,mo.value,Ue);if(go===null){ta===null&&(ta=xs);break}e&&ta&&go.alternate===null&&t(se,ta),Wi=y(go,Wi,ki),Bn===null?ca=go:Bn.sibling=go,Bn=go,ta=xs}if(mo.done){if(s(se,ta),pi()){var qi=ki;rh(se,qi)}return ca}if(ta===null){for(;!mo.done;ki++,mo=On.next()){var Sd=re(se,mo.value,Ue);Sd!==null&&(Wi=y(Sd,Wi,ki),Bn===null?ca=Sd:Bn.sibling=Sd,Bn=Sd)}if(pi()){var gg=ki;rh(se,gg)}return ca}for(var Ly=u(se,ta);!mo.done;ki++,mo=On.next()){var hc=fe(Ly,se,ki,mo.value,Ue);hc!==null&&(e&&hc.alternate!==null&&Ly.delete(hc.key===null?ki:hc.key),Wi=y(hc,Wi,ki),Bn===null?ca=hc:Bn.sibling=hc,Bn=hc)}if(e&&Ly.forEach(function($7){return t(se,$7)}),pi()){var A7=ki;rh(se,A7)}return ca}function St(se,Ce,de,Ue){if(Ce!==null&&Ce.tag===I){s(se,Ce.sibling);var dt=p(Ce,de);return dt.return=se,dt}s(se,Ce);var st=DC(de,se.mode,Ue);return st.return=se,st}function Rt(se,Ce,de,Ue){for(var dt=de.key,st=Ce;st!==null;){if(st.key===dt){var Mt=de.type;if(Mt===xo){if(st.tag===J){s(se,st.sibling);var Jt=p(st,de.props.children);return Jt.return=se,Jt._debugSource=de._source,Jt._debugOwner=de._owner,Jt}}else if(st.elementType===Mt||WA(st,de)||typeof Mt=="object"&&Mt!==null&&Mt.$$typeof===It&&MT(Mt)===st.type){s(se,st.sibling);var ir=p(st,de.props);return ir.ref=ay(se,st,de),ir.return=se,ir._debugSource=de._source,ir._debugOwner=de._owner,ir}s(se,st);break}else t(se,st);st=st.sibling}if(de.type===xo){var On=Af(de.props.children,se.mode,Ue,de.key);return On.return=se,On}else{var ca=wC(de,se.mode,Ue);return ca.ref=ay(se,Ce,de),ca.return=se,ca}}function pn(se,Ce,de,Ue){for(var dt=de.key,st=Ce;st!==null;){if(st.key===dt)if(st.tag===R&&st.stateNode.containerInfo===de.containerInfo&&st.stateNode.implementation===de.implementation){s(se,st.sibling);var Mt=p(st,de.children||[]);return Mt.return=se,Mt}else{s(se,st);break}else t(se,st);st=st.sibling}var Jt=SC(de,se.mode,Ue);return Jt.return=se,Jt}function cn(se,Ce,de,Ue){var dt=typeof de=="object"&&de!==null&&de.type===xo&&de.key===null;if(dt&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case xa:return w(Rt(se,Ce,de,Ue));case aa:return w(pn(se,Ce,de,Ue));case It:var st=de._payload,Mt=de._init;return cn(se,Ce,Mt(st),Ue)}if(Yt(de))return _e(se,Ce,de,Ue);if(Tt(de))return rt(se,Ce,de,Ue);Vk(se,de)}return typeof de=="string"&&de!==""||typeof de=="number"?w(St(se,Ce,""+de,Ue)):(typeof de=="function"&&Yk(se),s(se,Ce))}return cn}var Km=IT(!0),jT=IT(!1);function o5(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var s=t.child,u=gh(s,s.pendingProps);for(t.child=u,u.return=t;s.sibling!==null;)s=s.sibling,u=u.sibling=gh(s,s.pendingProps),u.return=t;u.sibling=null}}function s5(e,t){for(var s=e.child;s!==null;)Gz(s,t),s=s.sibling}var TD=gf(null),FD;FD={};var Gk=null,Zm=null,AD=null,Xk=!1;function Jk(){Gk=null,Zm=null,AD=null,Xk=!1}function zT(){Xk=!0}function UT(){Xk=!1}function HT(e,t,s){Ui(TD,t._currentValue,e),t._currentValue=s,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==FD&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=FD}function $D(e,t){var s=TD.current;zi(TD,t),e._currentValue=s}function PD(e,t,s){for(var u=e;u!==null;){var p=u.alternate;if(td(u.childLanes,t)?p!==null&&!td(p.childLanes,t)&&(p.childLanes=Zt(p.childLanes,t)):(u.childLanes=Zt(u.childLanes,t),p!==null&&(p.childLanes=Zt(p.childLanes,t))),u===s)break;u=u.return}u!==s&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function l5(e,t,s){u5(e,t,s)}function u5(e,t,s){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var p=void 0,y=u.dependencies;if(y!==null){p=u.child;for(var w=y.firstContext;w!==null;){if(w.context===t){if(u.tag===E){var _=Ip(s),F=vd(dr,_);F.tag=Kk;var B=u.updateQueue;if(B!==null){var j=B.shared,re=j.pending;re===null?F.next=F:(F.next=re.next,re.next=F),j.pending=F}}u.lanes=Zt(u.lanes,s);var te=u.alternate;te!==null&&(te.lanes=Zt(te.lanes,s)),PD(u.return,s,e),y.lanes=Zt(y.lanes,s);break}w=w.next}}else if(u.tag===q)p=u.type===e.type?null:u.child;else if(u.tag===Ye){var fe=u.return;if(fe===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");fe.lanes=Zt(fe.lanes,s);var ge=fe.alternate;ge!==null&&(ge.lanes=Zt(ge.lanes,s)),PD(fe,s,e),p=u.sibling}else p=u.child;if(p!==null)p.return=u;else for(p=u;p!==null;){if(p===e){p=null;break}var _e=p.sibling;if(_e!==null){_e.return=p.return,p=_e;break}p=p.return}u=p}}function eg(e,t){Gk=e,Zm=null,AD=null;var s=e.dependencies;if(s!==null){var u=s.firstContext;u!==null&&(Bi(s.lanes,t)&&by(),s.firstContext=null)}}function Da(e){Xk&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(AD!==e){var s={context:e,memoizedValue:t,next:null};if(Zm===null){if(Gk===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Zm=s,Gk.dependencies={lanes:T,firstContext:s}}else Zm=Zm.next=s}return t}var lh=null;function ND(e){lh===null?lh=[e]:lh.push(e)}function c5(){if(lh!==null){for(var e=0;e<lh.length;e++){var t=lh[e],s=t.interleaved;if(s!==null){t.interleaved=null;var u=s.next,p=t.pending;if(p!==null){var y=p.next;p.next=u,s.next=y}t.pending=s}}lh=null}}function WT(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,ND(t)):(s.next=p.next,p.next=s),t.interleaved=s,Qk(e,u)}function d5(e,t,s,u){var p=t.interleaved;p===null?(s.next=s,ND(t)):(s.next=p.next,p.next=s),t.interleaved=s}function f5(e,t,s,u){var p=t.interleaved;return p===null?(s.next=s,ND(t)):(s.next=p.next,p.next=s),t.interleaved=s,Qk(e,u)}function qo(e,t){return Qk(e,t)}var p5=Qk;function Qk(e,t){e.lanes=Zt(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=Zt(s.lanes,t)),s===null&&(e.flags&(Fr|Ni))!==Ct&&jA(e);for(var u=e,p=e.return;p!==null;)p.childLanes=Zt(p.childLanes,t),s=p.alternate,s!==null?s.childLanes=Zt(s.childLanes,t):(p.flags&(Fr|Ni))!==Ct&&jA(e),u=p,p=p.return;if(u.tag===P){var y=u.stateNode;return y}else return null}var qT=0,VT=1,Kk=2,RD=3,Zk=!1,LD,ew;LD=!1,ew=null;function OD(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:T},effects:null};e.updateQueue=t}function YT(e,t){var s=t.updateQueue,u=e.updateQueue;if(s===u){var p={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=p}}function vd(e,t){var s={eventTime:e,lane:t,tag:qT,payload:null,callback:null,next:null};return s}function kf(e,t,s){var u=e.updateQueue;if(u===null)return null;var p=u.shared;if(ew===p&&!LD&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),LD=!0),dz()){var y=p.pending;return y===null?t.next=t:(t.next=y.next,y.next=t),p.pending=t,p5(e,s)}else return f5(e,p,t,s)}function tw(e,t,s){var u=t.updateQueue;if(u!==null){var p=u.shared;if(vv(s)){var y=p.lanes;y=bv(y,e.pendingLanes);var w=Zt(y,s);p.lanes=w,zp(e,w)}}}function BD(e,t){var s=e.updateQueue,u=e.alternate;if(u!==null){var p=u.updateQueue;if(s===p){var y=null,w=null,_=s.firstBaseUpdate;if(_!==null){var F=_;do{var B={eventTime:F.eventTime,lane:F.lane,tag:F.tag,payload:F.payload,callback:F.callback,next:null};w===null?y=w=B:(w.next=B,w=B),F=F.next}while(F!==null);w===null?y=w=t:(w.next=t,w=t)}else y=w=t;s={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:w,shared:p.shared,effects:p.effects},e.updateQueue=s;return}}var j=s.lastBaseUpdate;j===null?s.firstBaseUpdate=t:j.next=t,s.lastBaseUpdate=t}function h5(e,t,s,u,p,y){switch(s.tag){case VT:{var w=s.payload;if(typeof w=="function"){zT();var _=w.call(y,u,p);{if(e.mode&Yn){rr(!0);try{w.call(y,u,p)}finally{rr(!1)}}UT()}return _}return w}case RD:e.flags=e.flags&-65537|kt;case qT:{var F=s.payload,B;if(typeof F=="function"){zT(),B=F.call(y,u,p);{if(e.mode&Yn){rr(!0);try{F.call(y,u,p)}finally{rr(!1)}}UT()}}else B=F;return B==null?u:Qt({},u,B)}case Kk:return Zk=!0,u}return u}function nw(e,t,s,u){var p=e.updateQueue;Zk=!1,ew=p.shared;var y=p.firstBaseUpdate,w=p.lastBaseUpdate,_=p.shared.pending;if(_!==null){p.shared.pending=null;var F=_,B=F.next;F.next=null,w===null?y=B:w.next=B,w=F;var j=e.alternate;if(j!==null){var re=j.updateQueue,te=re.lastBaseUpdate;te!==w&&(te===null?re.firstBaseUpdate=B:te.next=B,re.lastBaseUpdate=F)}}if(y!==null){var fe=p.baseState,ge=T,_e=null,rt=null,St=null,Rt=y;do{var pn=Rt.lane,cn=Rt.eventTime;if(td(u,pn)){if(St!==null){var se={eventTime:cn,lane:M,tag:Rt.tag,payload:Rt.payload,callback:Rt.callback,next:null};St=St.next=se}fe=h5(e,p,Rt,fe,t,s);var Ce=Rt.callback;if(Ce!==null&&Rt.lane!==M){e.flags|=Xn;var de=p.effects;de===null?p.effects=[Rt]:de.push(Rt)}}else{var Ue={eventTime:cn,lane:pn,tag:Rt.tag,payload:Rt.payload,callback:Rt.callback,next:null};St===null?(rt=St=Ue,_e=fe):St=St.next=Ue,ge=Zt(ge,pn)}if(Rt=Rt.next,Rt===null){if(_=p.shared.pending,_===null)break;var dt=_,st=dt.next;dt.next=null,Rt=st,p.lastBaseUpdate=dt,p.shared.pending=null}}while(!0);St===null&&(_e=fe),p.baseState=_e,p.firstBaseUpdate=rt,p.lastBaseUpdate=St;var Mt=p.shared.interleaved;if(Mt!==null){var Jt=Mt;do ge=Zt(ge,Jt.lane),Jt=Jt.next;while(Jt!==Mt)}else y===null&&(p.shared.lanes=T);Ay(ge),e.lanes=ge,e.memoizedState=fe}ew=null}function m5(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function GT(){Zk=!1}function rw(){return Zk}function XT(e,t,s){var u=t.effects;if(t.effects=null,u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.callback;w!==null&&(y.callback=null,m5(w,s))}}var iy={},wf=gf(iy),oy=gf(iy),aw=gf(iy);function iw(e){if(e===iy)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function JT(){var e=iw(aw.current);return e}function MD(e,t){Ui(aw,t,e),Ui(oy,e,e),Ui(wf,iy,e);var s=P8(t);zi(wf,e),Ui(wf,s,e)}function tg(e){zi(wf,e),zi(oy,e),zi(aw,e)}function ID(){var e=iw(wf.current);return e}function QT(e){iw(aw.current);var t=iw(wf.current),s=N8(t,e.type);t!==s&&(Ui(oy,e,e),Ui(wf,s,e))}function jD(e){oy.current===e&&(zi(wf,e),zi(oy,e))}var g5=0,KT=1,ZT=1,sy=2,nu=gf(g5);function zD(e,t){return(e&t)!==0}function ng(e){return e&KT}function UD(e,t){return e&KT|t}function v5(e,t){return e|t}function Df(e,t){Ui(nu,t,e)}function rg(e){zi(nu,e)}function y5(e,t){var s=e.memoizedState;return s!==null?s.dehydrated!==null:(e.memoizedProps,!0)}function ow(e){for(var t=e;t!==null;){if(t.tag===X){var s=t.memoizedState;if(s!==null){var u=s.dehydrated;if(u===null||gT(u)||oD(u))return t}}else if(t.tag===We&&t.memoizedProps.revealOrder!==void 0){var p=(t.flags&kt)!==Ct;if(p)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Vo=0,Na=1,sc=2,Ra=4,hi=8,HD=[];function WD(){for(var e=0;e<HD.length;e++){var t=HD[e];t._workInProgressVersionPrimary=null}HD.length=0}function b5(e,t){var s=t._getVersion,u=s(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var ct=i.ReactCurrentDispatcher,ly=i.ReactCurrentBatchConfig,qD,ag;qD=new Set;var uh=T,ar=null,La=null,Oa=null,sw=!1,uy=!1,cy=0,k5=0,w5=25,Te=null,ol=null,Sf=-1,VD=!1;function Gn(){{var e=Te;ol===null?ol=[e]:ol.push(e)}}function Ze(){{var e=Te;ol!==null&&(Sf++,ol[Sf]!==e&&D5(e))}}function ig(e){e!=null&&!Yt(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Te,typeof e)}function D5(e){{var t=Bt(ar);if(!qD.has(t)&&(qD.add(t),ol!==null)){for(var s="",u=30,p=0;p<=Sf;p++){for(var y=ol[p],w=p===Sf?e:y,_=p+1+". "+y;_.length<u;)_+=" ";_+=w+`
|
|
233
233
|
`,s+=_}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
234
234
|
|
|
235
235
|
Previous render Next render
|
|
@@ -242,11 +242,11 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
242
242
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function YD(e,t){if(VD)return!1;if(t===null)return m("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Te),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
243
243
|
|
|
244
244
|
Previous: %s
|
|
245
|
-
Incoming: %s`,Te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!ie(e[s],t[s]))return!1;return!0}function og(e,t,s,u,p,y){uh=y,ar=t,ol=e!==null?e._debugHookTypes:null,Sf=-1,VD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=T,e!==null&&e.memoizedState!==null?ct.current=wF:ol!==null?ct.current=kF:ct.current=bF;var w=s(u,p);if(uy){var _=0;do{if(uy=!1,cy=0,_>=w5)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,VD=!1,La=null,Oa=null,t.updateQueue=null,Sf=-1,ct.current=DF,w=s(u,p)}while(uy)}ct.current=kw,t._debugHookTypes=ol;var F=La!==null&&La.next!==null;if(uh=T,ar=null,La=null,Oa=null,Te=null,ol=null,Sf=-1,e!==null&&(e.flags&Sr)!==(t.flags&Sr)&&(e.mode&an)!==xt&&m("Internal React error: Expected static flag was missing. Please notify the React team."),sw=!1,F)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function sg(){var e=cy!==0;return cy=0,e}function eF(e,t,s){t.updateQueue=e.updateQueue,(t.mode&Fn)!==xt?t.flags&=-50333701:t.flags&=-2053,e.lanes=jp(e.lanes,s)}function tF(){if(ct.current=kw,sw){for(var e=ar.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}sw=!1}uh=T,ar=null,La=null,Oa=null,ol=null,Sf=-1,Te=null,hF=!1,uy=!1,cy=0}function lc(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oa===null?ar.memoizedState=Oa=e:Oa=Oa.next=e,Oa}function sl(){var e;if(La===null){var t=ar.alternate;t!==null?e=t.memoizedState:e=null}else e=La.next;var s;if(Oa===null?s=ar.memoizedState:s=Oa.next,s!==null)Oa=s,s=Oa.next,La=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");La=e;var u={memoizedState:La.memoizedState,baseState:La.baseState,baseQueue:La.baseQueue,queue:La.queue,next:null};Oa===null?ar.memoizedState=Oa=u:Oa=Oa.next=u}return Oa}function nF(){return{lastEffect:null,stores:null}}function GD(e,t){return typeof t=="function"?t(e):t}function XD(e,t,s){var u=lc(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:T,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=_5.bind(null,ar,y);return[u.memoizedState,w]}function JD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=La,w=y.baseQueue,_=p.pending;if(_!==null){if(w!==null){var F=w.next,B=_.next;w.next=B,_.next=F}y.baseQueue!==w&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=_,p.pending=null}if(w!==null){var I=w.next,re=y.baseState,te=null,fe=null,ge=null,_e=I;do{var rt=_e.lane;if(td(uh,rt)){if(ge!==null){var St={lane:M,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ge=ge.next=St}if(_e.hasEagerState)re=_e.eagerState;else{var Rt=_e.action;re=e(re,Rt)}}else{var pn={lane:rt,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ge===null?(fe=ge=pn,te=re):ge=ge.next=pn,ar.lanes=Zt(ar.lanes,rt),Ay(rt)}_e=_e.next}while(_e!==null&&_e!==I);ge===null?te=re:ge.next=fe,ie(re,u.memoizedState)||by(),u.memoizedState=re,u.baseState=te,u.baseQueue=ge,p.lastRenderedState=re}var cn=p.interleaved;if(cn!==null){var se=cn;do{var Ce=se.lane;ar.lanes=Zt(ar.lanes,Ce),Ay(Ce),se=se.next}while(se!==cn)}else w===null&&(p.lanes=T);var de=p.dispatch;return[u.memoizedState,de]}function QD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,_=u.memoizedState;if(w!==null){p.pending=null;var F=w.next,B=F;do{var I=B.action;_=e(_,I),B=B.next}while(B!==F);ie(_,u.memoizedState)||by(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),p.lastRenderedState=_}return[_,y]}function KD(e,t,s){var u=ar,p=lc(),y,w=pi();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),ag||y!==s()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),ag=!0)}else{if(y=t(),!ag){var _=t();ie(y,_)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var F=jw();if(F===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(F,uh)||rF(u,t,y)}p.memoizedState=y;var B={value:y,getSnapshot:t};return p.queue=B,fw(iF.bind(null,u,B,e),[e]),u.flags|=Va,dy(Na|hi,aF.bind(null,u,B,y,t),void 0,null),y}function lw(e,t,s){var u=ar,p=sl(),y=t();if(!ag){var w=t();ie(y,w)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var _=p.memoizedState,F=!ie(_,y);F&&(p.memoizedState=y,by());var B=p.queue;if(py(iF.bind(null,u,B,e),[e]),B.getSnapshot!==t||F||Oa!==null&&Oa.memoizedState.tag&Na){u.flags|=Va,dy(Na|hi,aF.bind(null,u,B,y,t),void 0,null);var I=jw();if(I===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(I,uh)||rF(u,t,y)}return y}function rF(e,t,s){e.flags|=Wu;var u={getSnapshot:t,value:s},p=ar.updateQueue;if(p===null)p=nF(),ar.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function aF(e,t,s,u){t.value=s,t.getSnapshot=u,oF(t)&&sF(e)}function iF(e,t,s){var u=function(){oF(t)&&sF(e)};return s(u)}function oF(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!ie(s,u)}catch{return!0}}function sF(e){var t=qo(e,U);t!==null&&ja(t,e,U,dr)}function uw(e){var t=lc();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:T,dispatch:null,lastRenderedReducer:GD,lastRenderedState:e};t.queue=s;var u=s.dispatch=E5.bind(null,ar,s);return[t.memoizedState,u]}function ZD(e){return JD(GD)}function eS(e){return QD(GD)}function dy(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=ar.updateQueue;if(y===null)y=nF(),ar.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var _=w.next;w.next=p,p.next=_,y.lastEffect=p}}return p}function tS(e){var t=lc();{var s={current:e};return t.memoizedState=s,s}}function cw(e){var t=sl();return t.memoizedState}function fy(e,t,s,u){var p=lc(),y=u===void 0?null:u;ar.flags|=e,p.memoizedState=dy(Na|t,s,void 0,y)}function dw(e,t,s,u){var p=sl(),y=u===void 0?null:u,w=void 0;if(La!==null){var _=La.memoizedState;if(w=_.destroy,y!==null){var F=_.deps;if(YD(y,F)){p.memoizedState=dy(t,s,w,y);return}}}ar.flags|=e,p.memoizedState=dy(Na|t,s,w,y)}function fw(e,t){return(ar.mode&Fn)!==xt?fy(Oo|Va|tf,hi,e,t):fy(Va|tf,hi,e,t)}function py(e,t){return dw(Va,hi,e,t)}function nS(e,t){return fy(mn,sc,e,t)}function pw(e,t){return dw(mn,sc,e,t)}function rS(e,t){var s=mn;return s|=Lo,(ar.mode&Fn)!==xt&&(s|=so),fy(s,Ra,e,t)}function hw(e,t){return dw(mn,Ra,e,t)}function lF(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function aS(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Lo,(ar.mode&Fn)!==xt&&(p|=so),fy(p,Ra,lF.bind(null,t,e),u)}function mw(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return dw(mn,Ra,lF.bind(null,t,e),u)}function S5(e,t){}var gw=S5;function iS(e,t){var s=lc(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function vw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(YD(u,y))return p[0]}return s.memoizedState=[e,u],e}function oS(e,t){var s=lc(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function yw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(YD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function sS(e){var t=lc();return t.memoizedState=e,e}function uF(e){var t=sl(),s=La,u=s.memoizedState;return dF(t,u,e)}function cF(e){var t=sl();if(La===null)return t.memoizedState=e,e;var s=La.memoizedState;return dF(t,s,e)}function dF(e,t,s){var u=!mv(uh);if(u){if(!ie(s,t)){var p=yv();ar.lanes=Zt(ar.lanes,p),Ay(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,by()),e.memoizedState=s,s}function C5(e,t,s){var u=bs();la(qb(u,ys)),e(!0);var p=ly.transition;ly.transition={};var y=ly.transition;ly.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(la(u),ly.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&h("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),y._updatedFibers.clear()}}}function lS(){var e=uw(!1),t=e[0],s=e[1],u=C5.bind(null,s),p=lc();return p.memoizedState=u,[t,u]}function fF(){var e=ZD(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}function pF(){var e=eS(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}var hF=!1;function x5(){return hF}function uS(){var e=lc(),t=jw(),s=t.identifierPrefix,u;if(pi()){var p=U6();u=":"+s+"R"+p;var y=cy++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=k5++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function bw(){var e=sl(),t=e.memoizedState;return t}function _5(e,t,s){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=WT(e,t,p,u);if(y!==null){var w=ho();ja(y,e,u,w),vF(y,t,u)}}yF(e,u)}function E5(e,t,s){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=e.alternate;if(e.lanes===T&&(y===null||y.lanes===T)){var w=t.lastRenderedReducer;if(w!==null){var _;_=ct.current,ct.current=ru;try{var F=t.lastRenderedState,B=w(F,s);if(p.hasEagerState=!0,p.eagerState=B,ie(B,F)){d5(e,t,p,u);return}}catch{}finally{ct.current=_}}}var I=WT(e,t,p,u);if(I!==null){var re=ho();ja(I,e,u,re),vF(I,t,u)}}yF(e,u)}function mF(e){var t=e.alternate;return e===ar||t!==null&&t===ar}function gF(e,t){uy=sw=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function vF(e,t,s){if(vv(s)){var u=t.lanes;u=bv(u,e.pendingLanes);var p=Zt(u,s);t.lanes=p,zp(e,p)}}function yF(e,t,s){Ks(e,t)}var kw={readContext:Da,useCallback:Hi,useContext:Hi,useEffect:Hi,useImperativeHandle:Hi,useInsertionEffect:Hi,useLayoutEffect:Hi,useMemo:Hi,useReducer:Hi,useRef:Hi,useState:Hi,useDebugValue:Hi,useDeferredValue:Hi,useTransition:Hi,useMutableSource:Hi,useSyncExternalStore:Hi,useId:Hi,unstable_isNewReconciler:ce},bF=null,kF=null,wF=null,DF=null,uc=null,ru=null,ww=null;{var cS=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Wt=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};bF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Gn(),ig(t),iS(e,t)},useContext:function(e){return Te="useContext",Gn(),Da(e)},useEffect:function(e,t){return Te="useEffect",Gn(),ig(t),fw(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Gn(),ig(s),aS(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Gn(),ig(t),nS(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Gn(),ig(t),rS(e,t)},useMemo:function(e,t){Te="useMemo",Gn(),ig(t);var s=ct.current;ct.current=uc;try{return oS(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Gn();var u=ct.current;ct.current=uc;try{return XD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Gn(),tS(e)},useState:function(e){Te="useState",Gn();var t=ct.current;ct.current=uc;try{return uw(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Gn(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Gn(),sS(e)},useTransition:function(){return Te="useTransition",Gn(),lS()},useMutableSource:function(e,t,s){return Te="useMutableSource",Gn(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Gn(),KD(e,t,s)},useId:function(){return Te="useId",Gn(),uS()},unstable_isNewReconciler:ce},kF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Ze(),iS(e,t)},useContext:function(e){return Te="useContext",Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Ze(),fw(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),aS(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),nS(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),rS(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ct.current;ct.current=uc;try{return oS(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ct.current;ct.current=uc;try{return XD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Ze(),tS(e)},useState:function(e){Te="useState",Ze();var t=ct.current;ct.current=uc;try{return uw(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),sS(e)},useTransition:function(){return Te="useTransition",Ze(),lS()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),KD(e,t,s)},useId:function(){return Te="useId",Ze(),uS()},unstable_isNewReconciler:ce},wF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ct.current;ct.current=ru;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ct.current;ct.current=ru;try{return JD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Ze(),cw()},useState:function(e){Te="useState",Ze();var t=ct.current;ct.current=ru;try{return ZD(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),uF(e)},useTransition:function(){return Te="useTransition",Ze(),fF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),lw(e,t)},useId:function(){return Te="useId",Ze(),bw()},unstable_isNewReconciler:ce},DF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ct.current;ct.current=ww;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ct.current;ct.current=ww;try{return QD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Ze(),cw()},useState:function(e){Te="useState",Ze();var t=ct.current;ct.current=ww;try{return eS(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),cF(e)},useTransition:function(){return Te="useTransition",Ze(),pF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),lw(e,t)},useId:function(){return Te="useId",Ze(),bw()},unstable_isNewReconciler:ce},uc={readContext:function(e){return cS(),Da(e)},useCallback:function(e,t){return Te="useCallback",Wt(),Gn(),iS(e,t)},useContext:function(e){return Te="useContext",Wt(),Gn(),Da(e)},useEffect:function(e,t){return Te="useEffect",Wt(),Gn(),fw(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Wt(),Gn(),aS(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Wt(),Gn(),nS(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Wt(),Gn(),rS(e,t)},useMemo:function(e,t){Te="useMemo",Wt(),Gn();var s=ct.current;ct.current=uc;try{return oS(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Wt(),Gn();var u=ct.current;ct.current=uc;try{return XD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Wt(),Gn(),tS(e)},useState:function(e){Te="useState",Wt(),Gn();var t=ct.current;ct.current=uc;try{return uw(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Wt(),Gn(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Wt(),Gn(),sS(e)},useTransition:function(){return Te="useTransition",Wt(),Gn(),lS()},useMutableSource:function(e,t,s){return Te="useMutableSource",Wt(),Gn(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Wt(),Gn(),KD(e,t,s)},useId:function(){return Te="useId",Wt(),Gn(),uS()},unstable_isNewReconciler:ce},ru={readContext:function(e){return cS(),Da(e)},useCallback:function(e,t){return Te="useCallback",Wt(),Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Wt(),Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Wt(),Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Wt(),Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Wt(),Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Wt(),Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Wt(),Ze();var s=ct.current;ct.current=ru;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Wt(),Ze();var u=ct.current;ct.current=ru;try{return JD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Wt(),Ze(),cw()},useState:function(e){Te="useState",Wt(),Ze();var t=ct.current;ct.current=ru;try{return ZD(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Wt(),Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Wt(),Ze(),uF(e)},useTransition:function(){return Te="useTransition",Wt(),Ze(),fF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Wt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Wt(),Ze(),lw(e,t)},useId:function(){return Te="useId",Wt(),Ze(),bw()},unstable_isNewReconciler:ce},ww={readContext:function(e){return cS(),Da(e)},useCallback:function(e,t){return Te="useCallback",Wt(),Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Wt(),Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Wt(),Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Wt(),Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Wt(),Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Wt(),Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Wt(),Ze();var s=ct.current;ct.current=ru;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Wt(),Ze();var u=ct.current;ct.current=ru;try{return QD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Wt(),Ze(),cw()},useState:function(e){Te="useState",Wt(),Ze();var t=ct.current;ct.current=ru;try{return eS(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Wt(),Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Wt(),Ze(),cF(e)},useTransition:function(){return Te="useTransition",Wt(),Ze(),pF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Wt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Wt(),Ze(),lw(e,t)},useId:function(){return Te="useId",Wt(),Ze(),bw()},unstable_isNewReconciler:ce}}var Cf=n.unstable_now,SF=0,Dw=-1,hy=-1,Sw=-1,dS=!1,Cw=!1;function CF(){return dS}function T5(){Cw=!0}function F5(){dS=!1,Cw=!1}function A5(){dS=Cw,Cw=!1}function xF(){return SF}function _F(){SF=Cf()}function fS(e){hy=Cf(),e.actualStartTime<0&&(e.actualStartTime=Cf())}function EF(e){hy=-1}function xw(e,t){if(hy>=0){var s=Cf()-hy;e.actualDuration+=s,t&&(e.selfBaseDuration=s),hy=-1}}function cc(e){if(Dw>=0){var t=Cf()-Dw;Dw=-1;for(var s=e.return;s!==null;){switch(s.tag){case P:var u=s.stateNode;u.effectDuration+=t;return;case K:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function pS(e){if(Sw>=0){var t=Cf()-Sw;Sw=-1;for(var s=e.return;s!==null;){switch(s.tag){case P:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case K:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function dc(){Dw=Cf()}function hS(){Sw=Cf()}function mS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function au(e,t){if(e&&e.defaultProps){var s=Qt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var gS={},vS,yS,bS,kS,wS,TF,_w,DS,SS,CS,my;{vS=new Set,yS=new Set,bS=new Set,kS=new Set,DS=new Set,wS=new Set,SS=new Set,CS=new Set,my=new Set;var FF=new Set;_w=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FF.has(s)||(FF.add(s),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},TF=function(e,t){if(t===void 0){var s=wn(e)||"Component";wS.has(s)||(wS.add(s),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(gS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(gS)}function xS(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&Yn){rr(!0);try{y=s(u,p)}finally{rr(!1)}}TF(t,y)}var w=y==null?p:Qt({},p,y);if(e.memoizedState=w,e.lanes===T){var _=e.updateQueue;_.baseState=w}}var _S={isMounted:cm,enqueueSetState:function(e,t,s){var u=Hu(e),p=ho(),y=Tf(u),w=vd(p,y);w.payload=t,s!=null&&(_w(s,"setState"),w.callback=s);var _=kf(u,w,y);_!==null&&(ja(_,u,y,p),tw(_,u,y)),Ks(u,y)},enqueueReplaceState:function(e,t,s){var u=Hu(e),p=ho(),y=Tf(u),w=vd(p,y);w.tag=VT,w.payload=t,s!=null&&(_w(s,"replaceState"),w.callback=s);var _=kf(u,w,y);_!==null&&(ja(_,u,y,p),tw(_,u,y)),Ks(u,y)},enqueueForceUpdate:function(e,t){var s=Hu(e),u=ho(),p=Tf(s),y=vd(u,p);y.tag=Kk,t!=null&&(_w(t,"forceUpdate"),y.callback=t);var w=kf(s,y,p);w!==null&&(ja(w,s,p,u),tw(w,s,p)),Xc(s,p)}};function AF(e,t,s,u,p,y,w){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var F=_.shouldComponentUpdate(u,y,w);{if(e.mode&Yn){rr(!0);try{F=_.shouldComponentUpdate(u,y,w)}finally{rr(!1)}}F===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",wn(t)||"Component")}return F}return t.prototype&&t.prototype.isPureReactComponent?!qe(s,u)||!qe(p,y):!0}function $5(e,t,s){var u=e.stateNode;{var p=wn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",p),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!my.has(t)&&(e.mode&Yn)===xt&&(my.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
245
|
+
Incoming: %s`,Te,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var s=0;s<t.length&&s<e.length;s++)if(!ie(e[s],t[s]))return!1;return!0}function og(e,t,s,u,p,y){uh=y,ar=t,ol=e!==null?e._debugHookTypes:null,Sf=-1,VD=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=T,e!==null&&e.memoizedState!==null?ct.current=wF:ol!==null?ct.current=kF:ct.current=bF;var w=s(u,p);if(uy){var _=0;do{if(uy=!1,cy=0,_>=w5)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");_+=1,VD=!1,La=null,Oa=null,t.updateQueue=null,Sf=-1,ct.current=DF,w=s(u,p)}while(uy)}ct.current=kw,t._debugHookTypes=ol;var F=La!==null&&La.next!==null;if(uh=T,ar=null,La=null,Oa=null,Te=null,ol=null,Sf=-1,e!==null&&(e.flags&Sr)!==(t.flags&Sr)&&(e.mode&an)!==xt&&m("Internal React error: Expected static flag was missing. Please notify the React team."),sw=!1,F)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return w}function sg(){var e=cy!==0;return cy=0,e}function eF(e,t,s){t.updateQueue=e.updateQueue,(t.mode&Fn)!==xt?t.flags&=-50333701:t.flags&=-2053,e.lanes=jp(e.lanes,s)}function tF(){if(ct.current=kw,sw){for(var e=ar.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}sw=!1}uh=T,ar=null,La=null,Oa=null,ol=null,Sf=-1,Te=null,hF=!1,uy=!1,cy=0}function lc(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Oa===null?ar.memoizedState=Oa=e:Oa=Oa.next=e,Oa}function sl(){var e;if(La===null){var t=ar.alternate;t!==null?e=t.memoizedState:e=null}else e=La.next;var s;if(Oa===null?s=ar.memoizedState:s=Oa.next,s!==null)Oa=s,s=Oa.next,La=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");La=e;var u={memoizedState:La.memoizedState,baseState:La.baseState,baseQueue:La.baseQueue,queue:La.queue,next:null};Oa===null?ar.memoizedState=Oa=u:Oa=Oa.next=u}return Oa}function nF(){return{lastEffect:null,stores:null}}function GD(e,t){return typeof t=="function"?t(e):t}function XD(e,t,s){var u=lc(),p;s!==void 0?p=s(t):p=t,u.memoizedState=u.baseState=p;var y={pending:null,interleaved:null,lanes:T,dispatch:null,lastRenderedReducer:e,lastRenderedState:p};u.queue=y;var w=y.dispatch=_5.bind(null,ar,y);return[u.memoizedState,w]}function JD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=La,w=y.baseQueue,_=p.pending;if(_!==null){if(w!==null){var F=w.next,B=_.next;w.next=B,_.next=F}y.baseQueue!==w&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=w=_,p.pending=null}if(w!==null){var j=w.next,re=y.baseState,te=null,fe=null,ge=null,_e=j;do{var rt=_e.lane;if(td(uh,rt)){if(ge!==null){var St={lane:M,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ge=ge.next=St}if(_e.hasEagerState)re=_e.eagerState;else{var Rt=_e.action;re=e(re,Rt)}}else{var pn={lane:rt,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ge===null?(fe=ge=pn,te=re):ge=ge.next=pn,ar.lanes=Zt(ar.lanes,rt),Ay(rt)}_e=_e.next}while(_e!==null&&_e!==j);ge===null?te=re:ge.next=fe,ie(re,u.memoizedState)||by(),u.memoizedState=re,u.baseState=te,u.baseQueue=ge,p.lastRenderedState=re}var cn=p.interleaved;if(cn!==null){var se=cn;do{var Ce=se.lane;ar.lanes=Zt(ar.lanes,Ce),Ay(Ce),se=se.next}while(se!==cn)}else w===null&&(p.lanes=T);var de=p.dispatch;return[u.memoizedState,de]}function QD(e,t,s){var u=sl(),p=u.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=e;var y=p.dispatch,w=p.pending,_=u.memoizedState;if(w!==null){p.pending=null;var F=w.next,B=F;do{var j=B.action;_=e(_,j),B=B.next}while(B!==F);ie(_,u.memoizedState)||by(),u.memoizedState=_,u.baseQueue===null&&(u.baseState=_),p.lastRenderedState=_}return[_,y]}function KD(e,t,s){var u=ar,p=lc(),y,w=pi();if(w){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");y=s(),ag||y!==s()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),ag=!0)}else{if(y=t(),!ag){var _=t();ie(y,_)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var F=jw();if(F===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(F,uh)||rF(u,t,y)}p.memoizedState=y;var B={value:y,getSnapshot:t};return p.queue=B,fw(iF.bind(null,u,B,e),[e]),u.flags|=Va,dy(Na|hi,aF.bind(null,u,B,y,t),void 0,null),y}function lw(e,t,s){var u=ar,p=sl(),y=t();if(!ag){var w=t();ie(y,w)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),ag=!0)}var _=p.memoizedState,F=!ie(_,y);F&&(p.memoizedState=y,by());var B=p.queue;if(py(iF.bind(null,u,B,e),[e]),B.getSnapshot!==t||F||Oa!==null&&Oa.memoizedState.tag&Na){u.flags|=Va,dy(Na|hi,aF.bind(null,u,B,y,t),void 0,null);var j=jw();if(j===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Dm(j,uh)||rF(u,t,y)}return y}function rF(e,t,s){e.flags|=Wu;var u={getSnapshot:t,value:s},p=ar.updateQueue;if(p===null)p=nF(),ar.updateQueue=p,p.stores=[u];else{var y=p.stores;y===null?p.stores=[u]:y.push(u)}}function aF(e,t,s,u){t.value=s,t.getSnapshot=u,oF(t)&&sF(e)}function iF(e,t,s){var u=function(){oF(t)&&sF(e)};return s(u)}function oF(e){var t=e.getSnapshot,s=e.value;try{var u=t();return!ie(s,u)}catch{return!0}}function sF(e){var t=qo(e,U);t!==null&&ja(t,e,U,dr)}function uw(e){var t=lc();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var s={pending:null,interleaved:null,lanes:T,dispatch:null,lastRenderedReducer:GD,lastRenderedState:e};t.queue=s;var u=s.dispatch=E5.bind(null,ar,s);return[t.memoizedState,u]}function ZD(e){return JD(GD)}function eS(e){return QD(GD)}function dy(e,t,s,u){var p={tag:e,create:t,destroy:s,deps:u,next:null},y=ar.updateQueue;if(y===null)y=nF(),ar.updateQueue=y,y.lastEffect=p.next=p;else{var w=y.lastEffect;if(w===null)y.lastEffect=p.next=p;else{var _=w.next;w.next=p,p.next=_,y.lastEffect=p}}return p}function tS(e){var t=lc();{var s={current:e};return t.memoizedState=s,s}}function cw(e){var t=sl();return t.memoizedState}function fy(e,t,s,u){var p=lc(),y=u===void 0?null:u;ar.flags|=e,p.memoizedState=dy(Na|t,s,void 0,y)}function dw(e,t,s,u){var p=sl(),y=u===void 0?null:u,w=void 0;if(La!==null){var _=La.memoizedState;if(w=_.destroy,y!==null){var F=_.deps;if(YD(y,F)){p.memoizedState=dy(t,s,w,y);return}}}ar.flags|=e,p.memoizedState=dy(Na|t,s,w,y)}function fw(e,t){return(ar.mode&Fn)!==xt?fy(Oo|Va|tf,hi,e,t):fy(Va|tf,hi,e,t)}function py(e,t){return dw(Va,hi,e,t)}function nS(e,t){return fy(mn,sc,e,t)}function pw(e,t){return dw(mn,sc,e,t)}function rS(e,t){var s=mn;return s|=Lo,(ar.mode&Fn)!==xt&&(s|=so),fy(s,Ra,e,t)}function hw(e,t){return dw(mn,Ra,e,t)}function lF(e,t){if(typeof t=="function"){var s=t,u=e();return s(u),function(){s(null)}}else if(t!=null){var p=t;p.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(p).join(", ")+"}");var y=e();return p.current=y,function(){p.current=null}}}function aS(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null,p=mn;return p|=Lo,(ar.mode&Fn)!==xt&&(p|=so),fy(p,Ra,lF.bind(null,t,e),u)}function mw(e,t,s){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=s!=null?s.concat([e]):null;return dw(mn,Ra,lF.bind(null,t,e),u)}function S5(e,t){}var gw=S5;function iS(e,t){var s=lc(),u=t===void 0?null:t;return s.memoizedState=[e,u],e}function vw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(YD(u,y))return p[0]}return s.memoizedState=[e,u],e}function oS(e,t){var s=lc(),u=t===void 0?null:t,p=e();return s.memoizedState=[p,u],p}function yw(e,t){var s=sl(),u=t===void 0?null:t,p=s.memoizedState;if(p!==null&&u!==null){var y=p[1];if(YD(u,y))return p[0]}var w=e();return s.memoizedState=[w,u],w}function sS(e){var t=lc();return t.memoizedState=e,e}function uF(e){var t=sl(),s=La,u=s.memoizedState;return dF(t,u,e)}function cF(e){var t=sl();if(La===null)return t.memoizedState=e,e;var s=La.memoizedState;return dF(t,s,e)}function dF(e,t,s){var u=!mv(uh);if(u){if(!ie(s,t)){var p=yv();ar.lanes=Zt(ar.lanes,p),Ay(p),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,by()),e.memoizedState=s,s}function C5(e,t,s){var u=bs();la(qb(u,ys)),e(!0);var p=ly.transition;ly.transition={};var y=ly.transition;ly.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(la(u),ly.transition=p,p===null&&y._updatedFibers){var w=y._updatedFibers.size;w>10&&h("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),y._updatedFibers.clear()}}}function lS(){var e=uw(!1),t=e[0],s=e[1],u=C5.bind(null,s),p=lc();return p.memoizedState=u,[t,u]}function fF(){var e=ZD(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}function pF(){var e=eS(),t=e[0],s=sl(),u=s.memoizedState;return[t,u]}var hF=!1;function x5(){return hF}function uS(){var e=lc(),t=jw(),s=t.identifierPrefix,u;if(pi()){var p=U6();u=":"+s+"R"+p;var y=cy++;y>0&&(u+="H"+y.toString(32)),u+=":"}else{var w=k5++;u=":"+s+"r"+w.toString(32)+":"}return e.memoizedState=u,u}function bw(){var e=sl(),t=e.memoizedState;return t}function _5(e,t,s){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=WT(e,t,p,u);if(y!==null){var w=ho();ja(y,e,u,w),vF(y,t,u)}}yF(e,u)}function E5(e,t,s){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Tf(e),p={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(mF(e))gF(t,p);else{var y=e.alternate;if(e.lanes===T&&(y===null||y.lanes===T)){var w=t.lastRenderedReducer;if(w!==null){var _;_=ct.current,ct.current=ru;try{var F=t.lastRenderedState,B=w(F,s);if(p.hasEagerState=!0,p.eagerState=B,ie(B,F)){d5(e,t,p,u);return}}catch{}finally{ct.current=_}}}var j=WT(e,t,p,u);if(j!==null){var re=ho();ja(j,e,u,re),vF(j,t,u)}}yF(e,u)}function mF(e){var t=e.alternate;return e===ar||t!==null&&t===ar}function gF(e,t){uy=sw=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function vF(e,t,s){if(vv(s)){var u=t.lanes;u=bv(u,e.pendingLanes);var p=Zt(u,s);t.lanes=p,zp(e,p)}}function yF(e,t,s){Ks(e,t)}var kw={readContext:Da,useCallback:Hi,useContext:Hi,useEffect:Hi,useImperativeHandle:Hi,useInsertionEffect:Hi,useLayoutEffect:Hi,useMemo:Hi,useReducer:Hi,useRef:Hi,useState:Hi,useDebugValue:Hi,useDeferredValue:Hi,useTransition:Hi,useMutableSource:Hi,useSyncExternalStore:Hi,useId:Hi,unstable_isNewReconciler:ce},bF=null,kF=null,wF=null,DF=null,uc=null,ru=null,ww=null;{var cS=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Wt=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};bF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Gn(),ig(t),iS(e,t)},useContext:function(e){return Te="useContext",Gn(),Da(e)},useEffect:function(e,t){return Te="useEffect",Gn(),ig(t),fw(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Gn(),ig(s),aS(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Gn(),ig(t),nS(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Gn(),ig(t),rS(e,t)},useMemo:function(e,t){Te="useMemo",Gn(),ig(t);var s=ct.current;ct.current=uc;try{return oS(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Gn();var u=ct.current;ct.current=uc;try{return XD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Gn(),tS(e)},useState:function(e){Te="useState",Gn();var t=ct.current;ct.current=uc;try{return uw(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Gn(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Gn(),sS(e)},useTransition:function(){return Te="useTransition",Gn(),lS()},useMutableSource:function(e,t,s){return Te="useMutableSource",Gn(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Gn(),KD(e,t,s)},useId:function(){return Te="useId",Gn(),uS()},unstable_isNewReconciler:ce},kF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Ze(),iS(e,t)},useContext:function(e){return Te="useContext",Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Ze(),fw(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),aS(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),nS(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),rS(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ct.current;ct.current=uc;try{return oS(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ct.current;ct.current=uc;try{return XD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Ze(),tS(e)},useState:function(e){Te="useState",Ze();var t=ct.current;ct.current=uc;try{return uw(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),sS(e)},useTransition:function(){return Te="useTransition",Ze(),lS()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),KD(e,t,s)},useId:function(){return Te="useId",Ze(),uS()},unstable_isNewReconciler:ce},wF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ct.current;ct.current=ru;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ct.current;ct.current=ru;try{return JD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Ze(),cw()},useState:function(e){Te="useState",Ze();var t=ct.current;ct.current=ru;try{return ZD(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),uF(e)},useTransition:function(){return Te="useTransition",Ze(),fF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),lw(e,t)},useId:function(){return Te="useId",Ze(),bw()},unstable_isNewReconciler:ce},DF={readContext:function(e){return Da(e)},useCallback:function(e,t){return Te="useCallback",Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Ze();var s=ct.current;ct.current=ww;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Ze();var u=ct.current;ct.current=ww;try{return QD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Ze(),cw()},useState:function(e){Te="useState",Ze();var t=ct.current;ct.current=ww;try{return eS(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Ze(),cF(e)},useTransition:function(){return Te="useTransition",Ze(),pF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Ze(),lw(e,t)},useId:function(){return Te="useId",Ze(),bw()},unstable_isNewReconciler:ce},uc={readContext:function(e){return cS(),Da(e)},useCallback:function(e,t){return Te="useCallback",Wt(),Gn(),iS(e,t)},useContext:function(e){return Te="useContext",Wt(),Gn(),Da(e)},useEffect:function(e,t){return Te="useEffect",Wt(),Gn(),fw(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Wt(),Gn(),aS(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Wt(),Gn(),nS(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Wt(),Gn(),rS(e,t)},useMemo:function(e,t){Te="useMemo",Wt(),Gn();var s=ct.current;ct.current=uc;try{return oS(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Wt(),Gn();var u=ct.current;ct.current=uc;try{return XD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Wt(),Gn(),tS(e)},useState:function(e){Te="useState",Wt(),Gn();var t=ct.current;ct.current=uc;try{return uw(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Wt(),Gn(),void 0},useDeferredValue:function(e){return Te="useDeferredValue",Wt(),Gn(),sS(e)},useTransition:function(){return Te="useTransition",Wt(),Gn(),lS()},useMutableSource:function(e,t,s){return Te="useMutableSource",Wt(),Gn(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Wt(),Gn(),KD(e,t,s)},useId:function(){return Te="useId",Wt(),Gn(),uS()},unstable_isNewReconciler:ce},ru={readContext:function(e){return cS(),Da(e)},useCallback:function(e,t){return Te="useCallback",Wt(),Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Wt(),Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Wt(),Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Wt(),Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Wt(),Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Wt(),Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Wt(),Ze();var s=ct.current;ct.current=ru;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Wt(),Ze();var u=ct.current;ct.current=ru;try{return JD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Wt(),Ze(),cw()},useState:function(e){Te="useState",Wt(),Ze();var t=ct.current;ct.current=ru;try{return ZD(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Wt(),Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Wt(),Ze(),uF(e)},useTransition:function(){return Te="useTransition",Wt(),Ze(),fF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Wt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Wt(),Ze(),lw(e,t)},useId:function(){return Te="useId",Wt(),Ze(),bw()},unstable_isNewReconciler:ce},ww={readContext:function(e){return cS(),Da(e)},useCallback:function(e,t){return Te="useCallback",Wt(),Ze(),vw(e,t)},useContext:function(e){return Te="useContext",Wt(),Ze(),Da(e)},useEffect:function(e,t){return Te="useEffect",Wt(),Ze(),py(e,t)},useImperativeHandle:function(e,t,s){return Te="useImperativeHandle",Wt(),Ze(),mw(e,t,s)},useInsertionEffect:function(e,t){return Te="useInsertionEffect",Wt(),Ze(),pw(e,t)},useLayoutEffect:function(e,t){return Te="useLayoutEffect",Wt(),Ze(),hw(e,t)},useMemo:function(e,t){Te="useMemo",Wt(),Ze();var s=ct.current;ct.current=ru;try{return yw(e,t)}finally{ct.current=s}},useReducer:function(e,t,s){Te="useReducer",Wt(),Ze();var u=ct.current;ct.current=ru;try{return QD(e,t,s)}finally{ct.current=u}},useRef:function(e){return Te="useRef",Wt(),Ze(),cw()},useState:function(e){Te="useState",Wt(),Ze();var t=ct.current;ct.current=ru;try{return eS(e)}finally{ct.current=t}},useDebugValue:function(e,t){return Te="useDebugValue",Wt(),Ze(),gw()},useDeferredValue:function(e){return Te="useDeferredValue",Wt(),Ze(),cF(e)},useTransition:function(){return Te="useTransition",Wt(),Ze(),pF()},useMutableSource:function(e,t,s){return Te="useMutableSource",Wt(),Ze(),void 0},useSyncExternalStore:function(e,t,s){return Te="useSyncExternalStore",Wt(),Ze(),lw(e,t)},useId:function(){return Te="useId",Wt(),Ze(),bw()},unstable_isNewReconciler:ce}}var Cf=n.unstable_now,SF=0,Dw=-1,hy=-1,Sw=-1,dS=!1,Cw=!1;function CF(){return dS}function T5(){Cw=!0}function F5(){dS=!1,Cw=!1}function A5(){dS=Cw,Cw=!1}function xF(){return SF}function _F(){SF=Cf()}function fS(e){hy=Cf(),e.actualStartTime<0&&(e.actualStartTime=Cf())}function EF(e){hy=-1}function xw(e,t){if(hy>=0){var s=Cf()-hy;e.actualDuration+=s,t&&(e.selfBaseDuration=s),hy=-1}}function cc(e){if(Dw>=0){var t=Cf()-Dw;Dw=-1;for(var s=e.return;s!==null;){switch(s.tag){case P:var u=s.stateNode;u.effectDuration+=t;return;case K:var p=s.stateNode;p.effectDuration+=t;return}s=s.return}}}function pS(e){if(Sw>=0){var t=Cf()-Sw;Sw=-1;for(var s=e.return;s!==null;){switch(s.tag){case P:var u=s.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case K:var p=s.stateNode;p!==null&&(p.passiveEffectDuration+=t);return}s=s.return}}}function dc(){Dw=Cf()}function hS(){Sw=Cf()}function mS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function au(e,t){if(e&&e.defaultProps){var s=Qt({},t),u=e.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return t}var gS={},vS,yS,bS,kS,wS,TF,_w,DS,SS,CS,my;{vS=new Set,yS=new Set,bS=new Set,kS=new Set,DS=new Set,wS=new Set,SS=new Set,CS=new Set,my=new Set;var FF=new Set;_w=function(e,t){if(!(e===null||typeof e=="function")){var s=t+"_"+e;FF.has(s)||(FF.add(s),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},TF=function(e,t){if(t===void 0){var s=wn(e)||"Component";wS.has(s)||(wS.add(s),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}},Object.defineProperty(gS,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(gS)}function xS(e,t,s,u){var p=e.memoizedState,y=s(u,p);{if(e.mode&Yn){rr(!0);try{y=s(u,p)}finally{rr(!1)}}TF(t,y)}var w=y==null?p:Qt({},p,y);if(e.memoizedState=w,e.lanes===T){var _=e.updateQueue;_.baseState=w}}var _S={isMounted:cm,enqueueSetState:function(e,t,s){var u=Hu(e),p=ho(),y=Tf(u),w=vd(p,y);w.payload=t,s!=null&&(_w(s,"setState"),w.callback=s);var _=kf(u,w,y);_!==null&&(ja(_,u,y,p),tw(_,u,y)),Ks(u,y)},enqueueReplaceState:function(e,t,s){var u=Hu(e),p=ho(),y=Tf(u),w=vd(p,y);w.tag=VT,w.payload=t,s!=null&&(_w(s,"replaceState"),w.callback=s);var _=kf(u,w,y);_!==null&&(ja(_,u,y,p),tw(_,u,y)),Ks(u,y)},enqueueForceUpdate:function(e,t){var s=Hu(e),u=ho(),p=Tf(s),y=vd(u,p);y.tag=Kk,t!=null&&(_w(t,"forceUpdate"),y.callback=t);var w=kf(s,y,p);w!==null&&(ja(w,s,p,u),tw(w,s,p)),Xc(s,p)}};function AF(e,t,s,u,p,y,w){var _=e.stateNode;if(typeof _.shouldComponentUpdate=="function"){var F=_.shouldComponentUpdate(u,y,w);{if(e.mode&Yn){rr(!0);try{F=_.shouldComponentUpdate(u,y,w)}finally{rr(!1)}}F===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",wn(t)||"Component")}return F}return t.prototype&&t.prototype.isPureReactComponent?!qe(s,u)||!qe(p,y):!0}function $5(e,t,s){var u=e.stateNode;{var p=wn(t)||"Component",y=u.render;y||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",p):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",p)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",p),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",p),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",p),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",p),t.childContextTypes&&!my.has(t)&&(e.mode&Yn)===xt&&(my.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
246
246
|
|
|
247
247
|
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),t.contextTypes&&!my.has(t)&&(e.mode&Yn)===xt&&(my.add(t),m(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
248
248
|
|
|
249
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),u.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",p),t.contextType&&t.contextTypes&&!SS.has(t)&&(SS.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",p)),typeof u.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",p),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",wn(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof u.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",p),typeof u.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof u.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p);var w=u.props!==s;u.props!==void 0&&w&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p,p),u.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",p,p),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!bS.has(t)&&(bS.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",wn(t))),typeof u.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof u.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p);var _=u.state;_&&(typeof _!="object"||Yt(_))&&m("%s.state: must be set to an object or null",p),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p)}}function $F(e,t){t.updater=_S,e.stateNode=t,Ol(t,e),t._reactInternalInstance=gS}function PF(e,t,s){var u=!1,p=Ss,y=Ss,w=t.contextType;if("contextType"in t){var _=w===null||w!==void 0&&w.$$typeof===G&&w._context===void 0;if(!_&&!CS.has(t)){CS.add(t);var F="";w===void 0?F=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof w!="object"?F=" However, it is set to a "+typeof w+".":w.$$typeof===Eo?F=" Did you accidentally pass the Context.Provider instead?":w._context!==void 0?F=" Did you accidentally pass the Context.Consumer instead?":F=" However, it is set to an object with keys {"+Object.keys(w).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",wn(t)||"Component",F)}}if(typeof w=="object"&&w!==null)y=Da(w);else{p=Ym(e,t,!0);var B=t.contextTypes;u=B!=null,y=u?Gm(e,p):Ss}var
|
|
249
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,p)),u.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",p),t.contextType&&t.contextTypes&&!SS.has(t)&&(SS.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",p)),typeof u.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",p),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",wn(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",p),typeof u.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",p),typeof u.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p),typeof u.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p);var w=u.props!==s;u.props!==void 0&&w&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",p,p),u.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",p,p),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!bS.has(t)&&(bS.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",wn(t))),typeof u.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof u.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",p),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",p);var _=u.state;_&&(typeof _!="object"||Yt(_))&&m("%s.state: must be set to an object or null",p),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",p)}}function $F(e,t){t.updater=_S,e.stateNode=t,Ol(t,e),t._reactInternalInstance=gS}function PF(e,t,s){var u=!1,p=Ss,y=Ss,w=t.contextType;if("contextType"in t){var _=w===null||w!==void 0&&w.$$typeof===G&&w._context===void 0;if(!_&&!CS.has(t)){CS.add(t);var F="";w===void 0?F=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof w!="object"?F=" However, it is set to a "+typeof w+".":w.$$typeof===Eo?F=" Did you accidentally pass the Context.Provider instead?":w._context!==void 0?F=" Did you accidentally pass the Context.Consumer instead?":F=" However, it is set to an object with keys {"+Object.keys(w).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",wn(t)||"Component",F)}}if(typeof w=="object"&&w!==null)y=Da(w);else{p=Ym(e,t,!0);var B=t.contextTypes;u=B!=null,y=u?Gm(e,p):Ss}var j=new t(s,y);if(e.mode&Yn){rr(!0);try{j=new t(s,y)}finally{rr(!1)}}var re=e.memoizedState=j.state!==null&&j.state!==void 0?j.state:null;$F(e,j);{if(typeof t.getDerivedStateFromProps=="function"&&re===null){var te=wn(t)||"Component";yS.has(te)||(yS.add(te),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",te,j.state===null?"null":"undefined",te))}if(typeof t.getDerivedStateFromProps=="function"||typeof j.getSnapshotBeforeUpdate=="function"){var fe=null,ge=null,_e=null;if(typeof j.componentWillMount=="function"&&j.componentWillMount.__suppressDeprecationWarning!==!0?fe="componentWillMount":typeof j.UNSAFE_componentWillMount=="function"&&(fe="UNSAFE_componentWillMount"),typeof j.componentWillReceiveProps=="function"&&j.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ge="componentWillReceiveProps":typeof j.UNSAFE_componentWillReceiveProps=="function"&&(ge="UNSAFE_componentWillReceiveProps"),typeof j.componentWillUpdate=="function"&&j.componentWillUpdate.__suppressDeprecationWarning!==!0?_e="componentWillUpdate":typeof j.UNSAFE_componentWillUpdate=="function"&&(_e="UNSAFE_componentWillUpdate"),fe!==null||ge!==null||_e!==null){var rt=wn(t)||"Component",St=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kS.has(rt)||(kS.add(rt),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
250
250
|
|
|
251
251
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
252
252
|
|
|
@@ -254,13 +254,13 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
254
254
|
https://reactjs.org/link/unsafe-component-lifecycles`,rt,St,fe!==null?`
|
|
255
255
|
`+fe:"",ge!==null?`
|
|
256
256
|
`+ge:"",_e!==null?`
|
|
257
|
-
`+_e:""))}}}return u&&wT(e,p,y),
|
|
258
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var
|
|
257
|
+
`+_e:""))}}}return u&&wT(e,p,y),j}function P5(e,t){var s=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),s!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Bt(e)||"Component"),_S.enqueueReplaceState(t,t.state,null))}function NF(e,t,s,u){var p=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(s,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(s,u),t.state!==p){{var y=Bt(e)||"Component";vS.has(y)||(vS.add(y),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}_S.enqueueReplaceState(t,t.state,null)}}function ES(e,t,s,u){$5(e,t,s);var p=e.stateNode;p.props=s,p.state=e.memoizedState,p.refs={},OD(e);var y=t.contextType;if(typeof y=="object"&&y!==null)p.context=Da(y);else{var w=Ym(e,t,!0);p.context=Gm(e,w)}{if(p.state===s){var _=wn(t)||"Component";DS.has(_)||(DS.add(_),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",_))}e.mode&Yn&&tu.recordLegacyContextWarning(e,p),tu.recordUnsafeLifecycleWarnings(e,p)}p.state=e.memoizedState;var F=t.getDerivedStateFromProps;if(typeof F=="function"&&(xS(e,t,F,s),p.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(P5(e,p),nw(e,s,p,u),p.state=e.memoizedState),typeof p.componentDidMount=="function"){var B=mn;B|=Lo,(e.mode&Fn)!==xt&&(B|=so),e.flags|=B}}function N5(e,t,s,u){var p=e.stateNode,y=e.memoizedProps;p.props=y;var w=p.context,_=t.contextType,F=Ss;if(typeof _=="object"&&_!==null)F=Da(_);else{var B=Ym(e,t,!0);F=Gm(e,B)}var j=t.getDerivedStateFromProps,re=typeof j=="function"||typeof p.getSnapshotBeforeUpdate=="function";!re&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(y!==s||w!==F)&&NF(e,p,s,F),GT();var te=e.memoizedState,fe=p.state=te;if(nw(e,s,p,u),fe=e.memoizedState,y===s&&te===fe&&!Bk()&&!rw()){if(typeof p.componentDidMount=="function"){var ge=mn;ge|=Lo,(e.mode&Fn)!==xt&&(ge|=so),e.flags|=ge}return!1}typeof j=="function"&&(xS(e,t,j,s),fe=e.memoizedState);var _e=rw()||AF(e,t,y,s,te,fe,F);if(_e){if(!re&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var rt=mn;rt|=Lo,(e.mode&Fn)!==xt&&(rt|=so),e.flags|=rt}}else{if(typeof p.componentDidMount=="function"){var St=mn;St|=Lo,(e.mode&Fn)!==xt&&(St|=so),e.flags|=St}e.memoizedProps=s,e.memoizedState=fe}return p.props=s,p.state=fe,p.context=F,_e}function R5(e,t,s,u,p){var y=t.stateNode;YT(e,t);var w=t.memoizedProps,_=t.type===t.elementType?w:au(t.type,w);y.props=_;var F=t.pendingProps,B=y.context,j=s.contextType,re=Ss;if(typeof j=="object"&&j!==null)re=Da(j);else{var te=Ym(t,s,!0);re=Gm(t,te)}var fe=s.getDerivedStateFromProps,ge=typeof fe=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ge&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(w!==F||B!==re)&&NF(t,y,u,re),GT();var _e=t.memoizedState,rt=y.state=_e;if(nw(t,u,y,p),rt=t.memoizedState,w===F&&_e===rt&&!Bk()&&!rw())return typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=Wr),!1;typeof fe=="function"&&(xS(t,s,fe,u),rt=t.memoizedState);var St=rw()||AF(t,s,_,u,_e,rt,re)||Ne;return St?(!ge&&(typeof y.UNSAFE_componentWillUpdate=="function"||typeof y.componentWillUpdate=="function")&&(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(u,rt,re),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(u,rt,re)),typeof y.componentDidUpdate=="function"&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(t.flags|=Wr)):(typeof y.componentDidUpdate=="function"&&(w!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=mn),typeof y.getSnapshotBeforeUpdate=="function"&&(w!==e.memoizedProps||_e!==e.memoizedState)&&(t.flags|=Wr),t.memoizedProps=u,t.memoizedState=rt),y.props=u,y.state=rt,y.context=re,St}function ch(e,t){return{value:e,source:t,stack:ts(t),digest:null}}function TS(e,t,s){return{value:e,source:null,stack:s??null,digest:t??null}}function L5(e,t){return!0}function FS(e,t){try{var s=L5(e,t);if(s===!1)return;var u=t.value,p=t.source,y=t.stack,w=y!==null?y:"";if(u!=null&&u._suppressLogging){if(e.tag===E)return;console.error(u)}var _=p?Bt(p):null,F=_?"The above error occurred in the <"+_+"> component:":"The above error occurred in one of your React components:",B;if(e.tag===P)B=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
258
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var j=Bt(e)||"Anonymous";B="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+j+".")}var re=F+`
|
|
259
259
|
`+w+`
|
|
260
260
|
|
|
261
|
-
`+(""+B);console.error(re)}catch(te){setTimeout(function(){throw te})}}var O5=typeof WeakMap=="function"?WeakMap:Map;function RF(e,t,s){var u=vd(dr,s);u.tag=RD,u.payload={element:null};var p=t.value;return u.callback=function(){Tz(p),FS(e,t)},u}function AS(e,t,s){var u=vd(dr,s);u.tag=RD;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var y=t.value;u.payload=function(){return p(y)},u.callback=function(){qA(e),FS(e,t)}}var w=e.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){qA(e),FS(e,t),typeof p!="function"&&_z(this);var _=t.value,F=t.stack;this.componentDidCatch(_,{componentStack:F!==null?F:""}),typeof p!="function"&&(Bi(e.lanes,U)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Bt(e)||"Unknown"))}),u}function LF(e,t,s){var u=e.pingCache,p;if(u===null?(u=e.pingCache=new O5,p=new Set,u.set(t,p)):(p=u.get(t),p===void 0&&(p=new Set,u.set(t,p))),!p.has(s)){p.add(s);var y=Fz.bind(null,e,t,s);Ja&&$y(e,s),t.then(y,y)}}function B5(e,t,s,u){var p=e.updateQueue;if(p===null){var y=new Set;y.add(s),e.updateQueue=y}else p.add(s)}function M5(e,t){var s=e.tag;if((e.mode&an)===xt&&(s===C||s===W||s===ue)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function OF(e){var t=e;do{if(t.tag===X&&y5(t))return t;t=t.return}while(t!==null);return null}function BF(e,t,s,u,p){if((e.mode&an)===xt){if(e===t)e.flags|=Ya;else{if(e.flags|=kt,s.flags|=ps,s.flags&=-52805,s.tag===E){var y=s.alternate;if(y===null)s.tag=ye;else{var w=vd(dr,U);w.tag=Kk,kf(s,w,U)}}s.lanes=Zt(s.lanes,U)}return e}return e.flags|=Ya,e.lanes=p,e}function I5(e,t,s,u,p){if(s.flags|=Hc,Ja&&$y(e,p),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;M5(s),pi()&&s.mode&an&&TT();var w=OF(t);if(w!==null){w.flags&=-257,BF(w,t,s,e,p),w.mode&an&&LF(e,y,p),B5(w,e,y);return}else{if(!Ib(p)){LF(e,y,p),uC();return}var _=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=_}}else if(pi()&&s.mode&an){TT();var F=OF(t);if(F!==null){(F.flags&Ya)===Ct&&(F.flags|=ya),BF(F,t,s,e,p),DD(ch(u,s));return}}u=ch(u,s),yz(u);var B=t;do{switch(B.tag){case P:{var I=u;B.flags|=Ya;var re=Ip(p);B.lanes=Zt(B.lanes,re);var te=RF(B,I,re);BD(B,te);return}case E:var fe=u,ge=B.type,_e=B.stateNode;if((B.flags&kt)===Ct&&(typeof ge.getDerivedStateFromError=="function"||_e!==null&&typeof _e.componentDidCatch=="function"&&!OA(_e))){B.flags|=Ya;var rt=Ip(p);B.lanes=Zt(B.lanes,rt);var St=AS(B,fe,rt);BD(B,St);return}break}B=B.return}while(B!==null)}function j5(){return null}var gy=i.ReactCurrentOwner,iu=!1,$S,vy,PS,NS,RS,dh,LS,Ew,yy;$S={},vy={},PS={},NS={},RS={},dh=!1,LS={},Ew={},yy={};function fo(e,t,s,u){e===null?t.child=jT(t,null,s,u):t.child=Km(t,e.child,s,u)}function z5(e,t,s,u){t.child=Km(t,e.child,null,u),t.child=Km(t,null,s,u)}function MF(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",wn(s))}var w=s.render,_=t.ref,F,B;eg(t,p),Qa(t);{if(gy.current=t,Tr(!0),F=og(e,t,w,u,_,p),B=sg(),t.mode&Yn){rr(!0);try{F=og(e,t,w,u,_,p),B=sg()}finally{rr(!1)}}Tr(!1)}return Kr(),e!==null&&!iu?(eF(e,t,p),yd(e,t,p)):(pi()&&B&&gD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function IF(e,t,s,u,p){if(e===null){var y=s.type;if(Vz(y)&&s.compare===null&&s.defaultProps===void 0){var w=y;return w=mg(y),t.tag=ue,t.type=w,MS(t,y),jF(e,t,w,u,p)}{var _=y.propTypes;if(_&&Zl(_,u,"prop",wn(y)),s.defaultProps!==void 0){var F=wn(y)||"Unknown";yy[F]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",F),yy[F]=!0)}}var B=kC(s.type,null,u,t,t.mode,p);return B.ref=t.ref,B.return=t,t.child=B,B}{var I=s.type,re=I.propTypes;re&&Zl(re,u,"prop",wn(I))}var te=e.child,fe=WS(e,p);if(!fe){var ge=te.memoizedProps,_e=s.compare;if(_e=_e!==null?_e:qe,_e(ge,u)&&e.ref===t.ref)return yd(e,t,p)}t.flags|=$i;var rt=gh(te,u);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function jF(e,t,s,u,p){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===It){var w=y,_=w._payload,F=w._init;try{y=F(_)}catch{y=null}var B=y&&y.propTypes;B&&Zl(B,u,"prop",wn(y))}}if(e!==null){var I=e.memoizedProps;if(qe(I,u)&&e.ref===t.ref&&t.type===e.type)if(iu=!1,t.pendingProps=u=I,WS(e,p))(e.flags&ps)!==Ct&&(iu=!0);else return t.lanes=e.lanes,yd(e,t,p)}return OS(e,t,s,u,p)}function zF(e,t,s){var u=t.pendingProps,p=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||Se)if((t.mode&an)===xt){var w={baseLanes:T,cachePool:null,transitions:null};t.memoizedState=w,zw(t,s)}else if(Bi(s,lo)){var _={baseLanes:T,cachePool:null,transitions:null};t.memoizedState=_;var F=y!==null?y.baseLanes:s;zw(t,F)}else{var B=null,I;if(y!==null){var re=y.baseLanes;I=Zt(re,s)}else I=s;t.lanes=t.childLanes=lo;var te={baseLanes:I,cachePool:B,transitions:null};return t.memoizedState=te,t.updateQueue=null,zw(t,I),null}else{var fe;y!==null?(fe=Zt(y.baseLanes,s),t.memoizedState=null):fe=s,zw(t,fe)}return fo(e,t,p,s),t.child}function U5(e,t,s){var u=t.pendingProps;return fo(e,t,u,s),t.child}function H5(e,t,s){var u=t.pendingProps.children;return fo(e,t,u,s),t.child}function W5(e,t,s){{t.flags|=mn;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var p=t.pendingProps,y=p.children;return fo(e,t,y,s),t.child}function UF(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Jn,t.flags|=Bl)}function OS(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",wn(s))}var w;{var _=Ym(t,s,!0);w=Gm(t,_)}var F,B;eg(t,p),Qa(t);{if(gy.current=t,Tr(!0),F=og(e,t,s,u,w,p),B=sg(),t.mode&Yn){rr(!0);try{F=og(e,t,s,u,w,p),B=sg()}finally{rr(!1)}}Tr(!1)}return Kr(),e!==null&&!iu?(eF(e,t,p),yd(e,t,p)):(pi()&&B&&gD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function HF(e,t,s,u,p){{switch(s7(t)){case!1:{var y=t.stateNode,w=t.type,_=new w(t.memoizedProps,y.context),F=_.state;y.updater.enqueueSetState(y,F,null);break}case!0:{t.flags|=kt,t.flags|=Ya;var B=new Error("Simulated error coming from DevTools"),I=Ip(p);t.lanes=Zt(t.lanes,I);var re=AS(t,ch(B,t),I);BD(t,re);break}}if(t.type!==t.elementType){var te=s.propTypes;te&&Zl(te,u,"prop",wn(s))}}var fe;oc(s)?(fe=!0,Ik(t)):fe=!1,eg(t,p);var ge=t.stateNode,_e;ge===null?(Fw(e,t),PF(t,s,u),ES(t,s,u,p),_e=!0):e===null?_e=N5(t,s,u,p):_e=R5(e,t,s,u,p);var rt=BS(e,t,s,_e,fe,p);{var St=t.stateNode;_e&&St.props!==u&&(dh||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Bt(t)||"a component"),dh=!0)}return rt}function BS(e,t,s,u,p,y){UF(e,t);var w=(t.flags&kt)!==Ct;if(!u&&!w)return p&&CT(t,s,!1),yd(e,t,y);var _=t.stateNode;gy.current=t;var F;if(w&&typeof s.getDerivedStateFromError!="function")F=null,EF();else{Qa(t);{if(Tr(!0),F=_.render(),t.mode&Yn){rr(!0);try{_.render()}finally{rr(!1)}}Tr(!1)}Kr()}return t.flags|=$i,e!==null&&w?z5(e,t,F,y):fo(e,t,F,y),t.memoizedState=_.state,p&&CT(t,s,!0),t.child}function WF(e){var t=e.stateNode;t.pendingContext?DT(e,t.pendingContext,t.pendingContext!==t.context):t.context&&DT(e,t.context,!1),MD(e,t.containerInfo)}function q5(e,t,s){if(WF(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,p=t.memoizedState,y=p.element;YT(e,t),nw(t,u,null,s);var w=t.memoizedState;t.stateNode;var _=w.element;if(p.isDehydrated){var F={element:_,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},B=t.updateQueue;if(B.baseState=F,t.memoizedState=F,t.flags&ya){var I=ch(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return qF(e,t,_,s,I)}else if(_!==y){var re=ch(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return qF(e,t,_,s,re)}else{G6(t);var te=jT(t,null,_,s);t.child=te;for(var fe=te;fe;)fe.flags=fe.flags&-3|Ni,fe=fe.sibling}}else{if(Qm(),_===y)return yd(e,t,s);fo(e,t,_,s)}return t.child}function qF(e,t,s,u,p){return Qm(),DD(p),t.flags|=ya,fo(e,t,s,u),t.child}function V5(e,t,s){QT(t),e===null&&wD(t);var u=t.type,p=t.pendingProps,y=e!==null?e.memoizedProps:null,w=p.children,_=nD(u,p);return _?w=null:y!==null&&nD(u,y)&&(t.flags|=Pt),UF(e,t),fo(e,t,w,s),t.child}function Y5(e,t){return e===null&&wD(t),null}function G5(e,t,s,u){Fw(e,t);var p=t.pendingProps,y=s,w=y._payload,_=y._init,F=_(w);t.type=F;var B=t.tag=Yz(F),I=au(F,p),re;switch(B){case C:return MS(t,F),t.type=F=mg(F),re=OS(null,t,F,I,u),re;case E:return t.type=F=hC(F),re=HF(null,t,F,I,u),re;case W:return t.type=F=mC(F),re=MF(null,t,F,I,u),re;case ae:{if(t.type!==t.elementType){var te=F.propTypes;te&&Zl(te,I,"prop",wn(F))}return re=IF(null,t,F,au(F.type,I),u),re}}var fe="";throw F!==null&&typeof F=="object"&&F.$$typeof===It&&(fe=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+F+". "+("Lazy element type must resolve to a class or function."+fe))}function X5(e,t,s,u,p){Fw(e,t),t.tag=E;var y;return oc(s)?(y=!0,Ik(t)):y=!1,eg(t,p),PF(t,s,u),ES(t,s,u,p),BS(null,t,s,!0,y,p)}function J5(e,t,s,u){Fw(e,t);var p=t.pendingProps,y;{var w=Ym(t,s,!1);y=Gm(t,w)}eg(t,u);var _,F;Qa(t);{if(s.prototype&&typeof s.prototype.render=="function"){var B=wn(s)||"Unknown";$S[B]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),$S[B]=!0)}t.mode&Yn&&tu.recordLegacyContextWarning(t,null),Tr(!0),gy.current=t,_=og(null,t,s,p,y,u),F=sg(),Tr(!1)}if(Kr(),t.flags|=$i,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var I=wn(s)||"Unknown";vy[I]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",I,I,I),vy[I]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var re=wn(s)||"Unknown";vy[re]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",re,re,re),vy[re]=!0)}t.tag=E,t.memoizedState=null,t.updateQueue=null;var te=!1;return oc(s)?(te=!0,Ik(t)):te=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,OD(t),$F(t,_),ES(t,s,p,u),BS(null,t,s,!0,te,u)}else{if(t.tag=C,t.mode&Yn){rr(!0);try{_=og(null,t,s,p,y,u),F=sg()}finally{rr(!1)}}return pi()&&F&&gD(t),fo(null,t,_,u),MS(t,s),t.child}}function MS(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",u=va();u&&(s+=`
|
|
261
|
+
`+(""+B);console.error(re)}catch(te){setTimeout(function(){throw te})}}var O5=typeof WeakMap=="function"?WeakMap:Map;function RF(e,t,s){var u=vd(dr,s);u.tag=RD,u.payload={element:null};var p=t.value;return u.callback=function(){Tz(p),FS(e,t)},u}function AS(e,t,s){var u=vd(dr,s);u.tag=RD;var p=e.type.getDerivedStateFromError;if(typeof p=="function"){var y=t.value;u.payload=function(){return p(y)},u.callback=function(){qA(e),FS(e,t)}}var w=e.stateNode;return w!==null&&typeof w.componentDidCatch=="function"&&(u.callback=function(){qA(e),FS(e,t),typeof p!="function"&&_z(this);var _=t.value,F=t.stack;this.componentDidCatch(_,{componentStack:F!==null?F:""}),typeof p!="function"&&(Bi(e.lanes,U)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Bt(e)||"Unknown"))}),u}function LF(e,t,s){var u=e.pingCache,p;if(u===null?(u=e.pingCache=new O5,p=new Set,u.set(t,p)):(p=u.get(t),p===void 0&&(p=new Set,u.set(t,p))),!p.has(s)){p.add(s);var y=Fz.bind(null,e,t,s);Ja&&$y(e,s),t.then(y,y)}}function B5(e,t,s,u){var p=e.updateQueue;if(p===null){var y=new Set;y.add(s),e.updateQueue=y}else p.add(s)}function M5(e,t){var s=e.tag;if((e.mode&an)===xt&&(s===C||s===W||s===ue)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function OF(e){var t=e;do{if(t.tag===X&&y5(t))return t;t=t.return}while(t!==null);return null}function BF(e,t,s,u,p){if((e.mode&an)===xt){if(e===t)e.flags|=Ya;else{if(e.flags|=kt,s.flags|=ps,s.flags&=-52805,s.tag===E){var y=s.alternate;if(y===null)s.tag=ye;else{var w=vd(dr,U);w.tag=Kk,kf(s,w,U)}}s.lanes=Zt(s.lanes,U)}return e}return e.flags|=Ya,e.lanes=p,e}function I5(e,t,s,u,p){if(s.flags|=Hc,Ja&&$y(e,p),u!==null&&typeof u=="object"&&typeof u.then=="function"){var y=u;M5(s),pi()&&s.mode&an&&TT();var w=OF(t);if(w!==null){w.flags&=-257,BF(w,t,s,e,p),w.mode&an&&LF(e,y,p),B5(w,e,y);return}else{if(!Ib(p)){LF(e,y,p),uC();return}var _=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=_}}else if(pi()&&s.mode&an){TT();var F=OF(t);if(F!==null){(F.flags&Ya)===Ct&&(F.flags|=ya),BF(F,t,s,e,p),DD(ch(u,s));return}}u=ch(u,s),yz(u);var B=t;do{switch(B.tag){case P:{var j=u;B.flags|=Ya;var re=Ip(p);B.lanes=Zt(B.lanes,re);var te=RF(B,j,re);BD(B,te);return}case E:var fe=u,ge=B.type,_e=B.stateNode;if((B.flags&kt)===Ct&&(typeof ge.getDerivedStateFromError=="function"||_e!==null&&typeof _e.componentDidCatch=="function"&&!OA(_e))){B.flags|=Ya;var rt=Ip(p);B.lanes=Zt(B.lanes,rt);var St=AS(B,fe,rt);BD(B,St);return}break}B=B.return}while(B!==null)}function j5(){return null}var gy=i.ReactCurrentOwner,iu=!1,$S,vy,PS,NS,RS,dh,LS,Ew,yy;$S={},vy={},PS={},NS={},RS={},dh=!1,LS={},Ew={},yy={};function fo(e,t,s,u){e===null?t.child=jT(t,null,s,u):t.child=Km(t,e.child,s,u)}function z5(e,t,s,u){t.child=Km(t,e.child,null,u),t.child=Km(t,null,s,u)}function MF(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",wn(s))}var w=s.render,_=t.ref,F,B;eg(t,p),Qa(t);{if(gy.current=t,Tr(!0),F=og(e,t,w,u,_,p),B=sg(),t.mode&Yn){rr(!0);try{F=og(e,t,w,u,_,p),B=sg()}finally{rr(!1)}}Tr(!1)}return Kr(),e!==null&&!iu?(eF(e,t,p),yd(e,t,p)):(pi()&&B&&gD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function IF(e,t,s,u,p){if(e===null){var y=s.type;if(Vz(y)&&s.compare===null&&s.defaultProps===void 0){var w=y;return w=mg(y),t.tag=ue,t.type=w,MS(t,y),jF(e,t,w,u,p)}{var _=y.propTypes;if(_&&Zl(_,u,"prop",wn(y)),s.defaultProps!==void 0){var F=wn(y)||"Unknown";yy[F]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",F),yy[F]=!0)}}var B=kC(s.type,null,u,t,t.mode,p);return B.ref=t.ref,B.return=t,t.child=B,B}{var j=s.type,re=j.propTypes;re&&Zl(re,u,"prop",wn(j))}var te=e.child,fe=WS(e,p);if(!fe){var ge=te.memoizedProps,_e=s.compare;if(_e=_e!==null?_e:qe,_e(ge,u)&&e.ref===t.ref)return yd(e,t,p)}t.flags|=$i;var rt=gh(te,u);return rt.ref=t.ref,rt.return=t,t.child=rt,rt}function jF(e,t,s,u,p){if(t.type!==t.elementType){var y=t.elementType;if(y.$$typeof===It){var w=y,_=w._payload,F=w._init;try{y=F(_)}catch{y=null}var B=y&&y.propTypes;B&&Zl(B,u,"prop",wn(y))}}if(e!==null){var j=e.memoizedProps;if(qe(j,u)&&e.ref===t.ref&&t.type===e.type)if(iu=!1,t.pendingProps=u=j,WS(e,p))(e.flags&ps)!==Ct&&(iu=!0);else return t.lanes=e.lanes,yd(e,t,p)}return OS(e,t,s,u,p)}function zF(e,t,s){var u=t.pendingProps,p=u.children,y=e!==null?e.memoizedState:null;if(u.mode==="hidden"||Se)if((t.mode&an)===xt){var w={baseLanes:T,cachePool:null,transitions:null};t.memoizedState=w,zw(t,s)}else if(Bi(s,lo)){var _={baseLanes:T,cachePool:null,transitions:null};t.memoizedState=_;var F=y!==null?y.baseLanes:s;zw(t,F)}else{var B=null,j;if(y!==null){var re=y.baseLanes;j=Zt(re,s)}else j=s;t.lanes=t.childLanes=lo;var te={baseLanes:j,cachePool:B,transitions:null};return t.memoizedState=te,t.updateQueue=null,zw(t,j),null}else{var fe;y!==null?(fe=Zt(y.baseLanes,s),t.memoizedState=null):fe=s,zw(t,fe)}return fo(e,t,p,s),t.child}function U5(e,t,s){var u=t.pendingProps;return fo(e,t,u,s),t.child}function H5(e,t,s){var u=t.pendingProps.children;return fo(e,t,u,s),t.child}function W5(e,t,s){{t.flags|=mn;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var p=t.pendingProps,y=p.children;return fo(e,t,y,s),t.child}function UF(e,t){var s=t.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(t.flags|=Jn,t.flags|=Bl)}function OS(e,t,s,u,p){if(t.type!==t.elementType){var y=s.propTypes;y&&Zl(y,u,"prop",wn(s))}var w;{var _=Ym(t,s,!0);w=Gm(t,_)}var F,B;eg(t,p),Qa(t);{if(gy.current=t,Tr(!0),F=og(e,t,s,u,w,p),B=sg(),t.mode&Yn){rr(!0);try{F=og(e,t,s,u,w,p),B=sg()}finally{rr(!1)}}Tr(!1)}return Kr(),e!==null&&!iu?(eF(e,t,p),yd(e,t,p)):(pi()&&B&&gD(t),t.flags|=$i,fo(e,t,F,p),t.child)}function HF(e,t,s,u,p){{switch(s7(t)){case!1:{var y=t.stateNode,w=t.type,_=new w(t.memoizedProps,y.context),F=_.state;y.updater.enqueueSetState(y,F,null);break}case!0:{t.flags|=kt,t.flags|=Ya;var B=new Error("Simulated error coming from DevTools"),j=Ip(p);t.lanes=Zt(t.lanes,j);var re=AS(t,ch(B,t),j);BD(t,re);break}}if(t.type!==t.elementType){var te=s.propTypes;te&&Zl(te,u,"prop",wn(s))}}var fe;oc(s)?(fe=!0,Ik(t)):fe=!1,eg(t,p);var ge=t.stateNode,_e;ge===null?(Fw(e,t),PF(t,s,u),ES(t,s,u,p),_e=!0):e===null?_e=N5(t,s,u,p):_e=R5(e,t,s,u,p);var rt=BS(e,t,s,_e,fe,p);{var St=t.stateNode;_e&&St.props!==u&&(dh||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Bt(t)||"a component"),dh=!0)}return rt}function BS(e,t,s,u,p,y){UF(e,t);var w=(t.flags&kt)!==Ct;if(!u&&!w)return p&&CT(t,s,!1),yd(e,t,y);var _=t.stateNode;gy.current=t;var F;if(w&&typeof s.getDerivedStateFromError!="function")F=null,EF();else{Qa(t);{if(Tr(!0),F=_.render(),t.mode&Yn){rr(!0);try{_.render()}finally{rr(!1)}}Tr(!1)}Kr()}return t.flags|=$i,e!==null&&w?z5(e,t,F,y):fo(e,t,F,y),t.memoizedState=_.state,p&&CT(t,s,!0),t.child}function WF(e){var t=e.stateNode;t.pendingContext?DT(e,t.pendingContext,t.pendingContext!==t.context):t.context&&DT(e,t.context,!1),MD(e,t.containerInfo)}function q5(e,t,s){if(WF(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,p=t.memoizedState,y=p.element;YT(e,t),nw(t,u,null,s);var w=t.memoizedState;t.stateNode;var _=w.element;if(p.isDehydrated){var F={element:_,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},B=t.updateQueue;if(B.baseState=F,t.memoizedState=F,t.flags&ya){var j=ch(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return qF(e,t,_,s,j)}else if(_!==y){var re=ch(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return qF(e,t,_,s,re)}else{G6(t);var te=jT(t,null,_,s);t.child=te;for(var fe=te;fe;)fe.flags=fe.flags&-3|Ni,fe=fe.sibling}}else{if(Qm(),_===y)return yd(e,t,s);fo(e,t,_,s)}return t.child}function qF(e,t,s,u,p){return Qm(),DD(p),t.flags|=ya,fo(e,t,s,u),t.child}function V5(e,t,s){QT(t),e===null&&wD(t);var u=t.type,p=t.pendingProps,y=e!==null?e.memoizedProps:null,w=p.children,_=nD(u,p);return _?w=null:y!==null&&nD(u,y)&&(t.flags|=Pt),UF(e,t),fo(e,t,w,s),t.child}function Y5(e,t){return e===null&&wD(t),null}function G5(e,t,s,u){Fw(e,t);var p=t.pendingProps,y=s,w=y._payload,_=y._init,F=_(w);t.type=F;var B=t.tag=Yz(F),j=au(F,p),re;switch(B){case C:return MS(t,F),t.type=F=mg(F),re=OS(null,t,F,j,u),re;case E:return t.type=F=hC(F),re=HF(null,t,F,j,u),re;case W:return t.type=F=mC(F),re=MF(null,t,F,j,u),re;case ae:{if(t.type!==t.elementType){var te=F.propTypes;te&&Zl(te,j,"prop",wn(F))}return re=IF(null,t,F,au(F.type,j),u),re}}var fe="";throw F!==null&&typeof F=="object"&&F.$$typeof===It&&(fe=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+F+". "+("Lazy element type must resolve to a class or function."+fe))}function X5(e,t,s,u,p){Fw(e,t),t.tag=E;var y;return oc(s)?(y=!0,Ik(t)):y=!1,eg(t,p),PF(t,s,u),ES(t,s,u,p),BS(null,t,s,!0,y,p)}function J5(e,t,s,u){Fw(e,t);var p=t.pendingProps,y;{var w=Ym(t,s,!1);y=Gm(t,w)}eg(t,u);var _,F;Qa(t);{if(s.prototype&&typeof s.prototype.render=="function"){var B=wn(s)||"Unknown";$S[B]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),$S[B]=!0)}t.mode&Yn&&tu.recordLegacyContextWarning(t,null),Tr(!0),gy.current=t,_=og(null,t,s,p,y,u),F=sg(),Tr(!1)}if(Kr(),t.flags|=$i,typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){var j=wn(s)||"Unknown";vy[j]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",j,j,j),vy[j]=!0)}if(typeof _=="object"&&_!==null&&typeof _.render=="function"&&_.$$typeof===void 0){{var re=wn(s)||"Unknown";vy[re]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",re,re,re),vy[re]=!0)}t.tag=E,t.memoizedState=null,t.updateQueue=null;var te=!1;return oc(s)?(te=!0,Ik(t)):te=!1,t.memoizedState=_.state!==null&&_.state!==void 0?_.state:null,OD(t),$F(t,_),ES(t,s,p,u),BS(null,t,s,!0,te,u)}else{if(t.tag=C,t.mode&Yn){rr(!0);try{_=og(null,t,s,p,y,u),F=sg()}finally{rr(!1)}}return pi()&&F&&gD(t),fo(null,t,_,u),MS(t,s),t.child}}function MS(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var s="",u=va();u&&(s+=`
|
|
262
262
|
|
|
263
|
-
Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),RS[p]||(RS[p]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=wn(t)||"Unknown";yy[w]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),yy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var _=wn(t)||"Unknown";NS[_]||(m("%s: Function components do not support getDerivedStateFromProps.",_),NS[_]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var F=wn(t)||"Unknown";PS[F]||(m("%s: Function components do not support contextType.",F),PS[F]=!0)}}}var IS={dehydrated:null,treeContext:null,retryLane:M};function jS(e){return{baseLanes:e,cachePool:j5(),transitions:null}}function Q5(e,t){var s=null;return{baseLanes:Zt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function K5(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return zD(e,sy)}function Z5(e,t){return jp(e.childLanes,t)}function VF(e,t,s){var u=t.pendingProps;l7(t)&&(t.flags|=kt);var p=nu.current,y=!1,w=(t.flags&kt)!==Ct;if(w||K5(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=v5(p,ZT)),p=ng(p),Df(t,p),e===null){wD(t);var _=t.memoizedState;if(_!==null){var F=_.dehydrated;if(F!==null)return a9(t,F)}var B=u.children,I=u.fallback;if(y){var re=e9(t,B,I,s),te=t.child;return te.memoizedState=jS(s),t.memoizedState=IS,re}else return zS(t,B)}else{var fe=e.memoizedState;if(fe!==null){var ge=fe.dehydrated;if(ge!==null)return i9(e,t,w,u,ge,fe,s)}if(y){var _e=u.fallback,rt=u.children,St=n9(e,t,rt,_e,s),Rt=t.child,pn=e.child.memoizedState;return Rt.memoizedState=pn===null?jS(s):Q5(pn,s),Rt.childLanes=Z5(e,s),t.memoizedState=IS,St}else{var cn=u.children,se=t9(e,t,cn,s);return t.memoizedState=null,se}}}function zS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=US(p,u);return y.return=e,e.child=y,y}function e9(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},_,F;return(p&an)===xt&&y!==null?(_=y,_.childLanes=T,_.pendingProps=w,e.mode&Tn&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),F=Af(s,p,u,null)):(_=US(w,p),F=Af(s,p,u,null)),_.return=e,F.return=e,_.sibling=F,e.child=_,F}function US(e,t,s){return VA(e,t,T,null)}function YF(e,t){return gh(e,t)}function t9(e,t,s,u){var p=e.child,y=p.sibling,w=YF(p,{mode:"visible",children:s});if((t.mode&an)===xt&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var _=t.deletions;_===null?(t.deletions=[y],t.flags|=Pi):_.push(y)}return t.child=w,w}function n9(e,t,s,u,p){var y=t.mode,w=e.child,_=w.sibling,F={mode:"hidden",children:s},B;if((y&an)===xt&&t.child!==w){var I=t.child;B=I,B.childLanes=T,B.pendingProps=F,t.mode&Tn&&(B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=w.selfBaseDuration,B.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else B=YF(w,F),B.subtreeFlags=w.subtreeFlags&Sr;var re;return _!==null?re=gh(_,u):(re=Af(u,y,p,null),re.flags|=Fr),re.return=t,B.return=t,B.sibling=re,t.child=B,re}function Tw(e,t,s,u){u!==null&&DD(u),Km(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=zS(t,y);return w.flags|=Fr,t.memoizedState=null,w}function r9(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},_=US(w,y),F=Af(u,y,p,null);return F.flags|=Fr,_.return=t,F.return=t,_.sibling=F,t.child=_,(t.mode&an)!==xt&&Km(t,e.child,null,p),F}function a9(e,t,s){return(e.mode&an)===xt?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=U):oD(t)?e.lanes=nt:e.lanes=lo,null}function i9(e,t,s,u,p,y,w){if(s)if(t.flags&ya){t.flags&=-257;var _=TS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Tw(e,t,w,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=kt,null;var F=u.children,B=u.fallback,I=r9(e,t,F,B,w),re=t.child;return re.memoizedState=jS(w),t.memoizedState=IS,I}else{if(V6(),(t.mode&an)===xt)return Tw(e,t,w,null);if(oD(p)){var te,fe,ge;{var _e=u6(p);te=_e.digest,fe=_e.message,ge=_e.stack}var rt;fe?rt=new Error(fe):rt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=TS(rt,te,ge);return Tw(e,t,w,St)}var Rt=Bi(w,e.childLanes);if(iu||Rt){var pn=jw();if(pn!==null){var cn=Hb(pn,w);if(cn!==M&&cn!==y.retryLane){y.retryLane=cn;var se=dr;qo(e,cn),ja(pn,e,cn,se)}}uC();var Ce=TS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Tw(e,t,w,Ce)}else if(gT(p)){t.flags|=kt,t.child=e.child;var de=Az.bind(null,e);return c6(p,de),null}else{X6(t,p,y.treeContext);var Ue=u.children,dt=zS(t,Ue);return dt.flags|=Ni,dt}}}function GF(e,t,s){e.lanes=Zt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Zt(u.lanes,t)),PD(e.return,t,s)}function o9(e,t,s){for(var u=t;u!==null;){if(u.tag===X){var p=u.memoizedState;p!==null&&GF(u,s,e)}else if(u.tag===We)GF(u,s,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function s9(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&ow(u)===null&&(s=t),t=t.sibling}return s}function l9(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!LS[e])if(LS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function u9(e,t){e!==void 0&&!Ew[e]&&(e!=="collapsed"&&e!=="hidden"?(Ew[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Ew[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function XF(e,t){{var s=Yt(e),u=!s&&typeof Tt(e)=="function";if(s||u){var p=s?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",p,t,p),!1}}return!0}function c9(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Yt(e)){for(var s=0;s<e.length;s++)if(!XF(e[s],s))return}else{var u=Tt(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!XF(y.value,w))return;w++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function HS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function JF(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;l9(p),u9(y,p),c9(w,p),fo(e,t,w,s);var _=nu.current,F=zD(_,sy);if(F)_=UD(_,sy),t.flags|=kt;else{var B=e!==null&&(e.flags&kt)!==Ct;B&&o9(t,t.child,s),_=ng(_)}if(Df(t,_),(t.mode&an)===xt)t.memoizedState=null;else switch(p){case"forwards":{var I=s9(t.child),re;I===null?(re=t.child,t.child=null):(re=I.sibling,I.sibling=null),HS(t,!1,re,I,y);break}case"backwards":{var te=null,fe=t.child;for(t.child=null;fe!==null;){var ge=fe.alternate;if(ge!==null&&ow(ge)===null){t.child=fe;break}var _e=fe.sibling;fe.sibling=te,te=fe,fe=_e}HS(t,!0,te,null,y);break}case"together":{HS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function d9(e,t,s){MD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=Km(t,null,u,s):fo(e,t,u,s),t.child}var QF=!1;function f9(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,_=y.value;{"value"in y||QF||(QF=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var F=t.type.propTypes;F&&Zl(F,y,"prop","Context.Provider")}if(HT(t,p,_),w!==null){var B=w.value;if(ie(B,_)){if(w.children===y.children&&!Bk())return yd(e,t,s)}else l5(t,p,s)}var I=y.children;return fo(e,t,I,s),t.child}var KF=!1;function p9(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(KF||(KF=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var p=t.pendingProps,y=p.children;typeof y!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),eg(t,s);var w=Da(u);Qa(t);var _;return gy.current=t,Tr(!0),_=y(w),Tr(!1),Kr(),t.flags|=$i,fo(e,t,_,s),t.child}function by(){iu=!0}function Fw(e,t){(t.mode&an)===xt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Fr)}function yd(e,t,s){return e!==null&&(t.dependencies=e.dependencies),EF(),Ay(t.lanes),Bi(s,t.childLanes)?(o5(e,t),t.child):null}function h9(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Pi):y.push(e),s.flags|=Fr,s}}function WS(e,t){var s=e.lanes;return!!Bi(s,t)}function m9(e,t,s){switch(t.tag){case P:WF(t),t.stateNode,Qm();break;case O:QT(t);break;case E:{var u=t.type;oc(u)&&Ik(t);break}case R:MD(t,t.stateNode.containerInfo);break;case q:{var p=t.memoizedProps.value,y=t.type._context;HT(t,y,p);break}case K:{var w=Bi(s,t.childLanes);w&&(t.flags|=mn);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case X:{var F=t.memoizedState;if(F!==null){if(F.dehydrated!==null)return Df(t,ng(nu.current)),t.flags|=kt,null;var B=t.child,I=B.childLanes;if(Bi(s,I))return VF(e,t,s);Df(t,ng(nu.current));var re=yd(e,t,s);return re!==null?re.sibling:null}else Df(t,ng(nu.current));break}case We:{var te=(e.flags&kt)!==Ct,fe=Bi(s,t.childLanes);if(te){if(fe)return JF(e,t,s);t.flags|=kt}var ge=t.memoizedState;if(ge!==null&&(ge.rendering=null,ge.tail=null,ge.lastEffect=null),Df(t,nu.current),fe)break;return null}case Qe:case Ie:return t.lanes=T,zF(e,t,s)}return yd(e,t,s)}function ZF(e,t,s){if(t._debugNeedsRemount&&e!==null)return h9(e,t,kC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||Bk()||t.type!==e.type)iu=!0;else{var y=WS(e,s);if(!y&&(t.flags&kt)===Ct)return iu=!1,m9(e,t,s);(e.flags&ps)!==Ct?iu=!0:iu=!1}}else if(iu=!1,pi()&&j6(t)){var w=t.index,_=z6();ET(t,_,w)}switch(t.lanes=T,t.tag){case $:return J5(e,t,t.type,s);case xe:{var F=t.elementType;return G5(e,t,F,s)}case C:{var B=t.type,I=t.pendingProps,re=t.elementType===B?I:au(B,I);return OS(e,t,B,re,s)}case E:{var te=t.type,fe=t.pendingProps,ge=t.elementType===te?fe:au(te,fe);return HF(e,t,te,ge,s)}case P:return q5(e,t,s);case O:return V5(e,t,s);case j:return Y5(e,t);case X:return VF(e,t,s);case R:return d9(e,t,s);case W:{var _e=t.type,rt=t.pendingProps,St=t.elementType===_e?rt:au(_e,rt);return MF(e,t,_e,St,s)}case J:return U5(e,t,s);case V:return H5(e,t,s);case K:return W5(e,t,s);case q:return f9(e,t,s);case De:return p9(e,t,s);case ae:{var Rt=t.type,pn=t.pendingProps,cn=au(Rt,pn);if(t.type!==t.elementType){var se=Rt.propTypes;se&&Zl(se,cn,"prop",wn(Rt))}return cn=au(Rt.type,cn),IF(e,t,Rt,cn,s)}case ue:return jF(e,t,t.type,t.pendingProps,s);case ye:{var Ce=t.type,de=t.pendingProps,Ue=t.elementType===Ce?de:au(Ce,de);return X5(e,t,Ce,Ue,s)}case We:return JF(e,t,s);case Me:break;case Qe:return zF(e,t,s)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lg(e){e.flags|=mn}function eA(e){e.flags|=Jn,e.flags|=Bl}var tA,qS,nA,rA;tA=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===O||p.tag===j)B8(e,p.stateNode);else if(p.tag!==R&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},qS=function(e,t){},nA=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,_=ID(),F=I8(w,s,y,u,p,_);t.updateQueue=F,F&&lg(t)}},rA=function(e,t,s,u){s!==u&&lg(t)};function ky(e,t){if(!pi())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function mi(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=T,u=Ct;if(t){if((e.mode&Tn)!==xt){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Zt(s,Zt(y.lanes,y.childLanes)),u|=y.subtreeFlags&Sr,u|=y.flags&Sr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Zt(s,Zt(w.lanes,w.childLanes)),u|=w.subtreeFlags&Sr,u|=w.flags&Sr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&Tn)!==xt){for(var _=e.actualDuration,F=e.selfBaseDuration,B=e.child;B!==null;)s=Zt(s,Zt(B.lanes,B.childLanes)),u|=B.subtreeFlags,u|=B.flags,_+=B.actualDuration,F+=B.treeBaseDuration,B=B.sibling;e.actualDuration=_,e.treeBaseDuration=F}else for(var I=e.child;I!==null;)s=Zt(s,Zt(I.lanes,I.childLanes)),u|=I.subtreeFlags,u|=I.flags,I.return=e,I=I.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function g9(e,t,s){if(e5()&&(t.mode&an)!==xt&&(t.flags&kt)===Ct)return RT(t),Qm(),t.flags|=ya|Hc|Ya,!1;var u=Wk(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(K6(t),mi(t),(t.mode&Tn)!==xt){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(Qm(),(t.flags&kt)===Ct&&(t.memoizedState=null),t.flags|=mn,mi(t),(t.mode&Tn)!==xt){var w=s!==null;if(w){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return LT(),!0}function aA(e,t,s){var u=t.pendingProps;switch(vD(t),t.tag){case $:case xe:case ue:case C:case W:case J:case V:case K:case De:case ae:return mi(t),null;case E:{var p=t.type;return oc(p)&&Mk(t),mi(t),null}case P:{var y=t.stateNode;if(tg(t),pD(t),WD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Wk(t);if(w)lg(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&ya)!==Ct)&&(t.flags|=Wr,LT())}}return qS(e,t),mi(t),null}case O:{jD(t);var F=JT(),B=t.type;if(e!==null&&t.stateNode!=null)nA(e,t,B,u,F),e.ref!==t.ref&&eA(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return mi(t),null}var I=ID(),re=Wk(t);if(re)J6(t,F,I)&&lg(t);else{var te=O8(B,u,F,I,t);tA(te,t,!1,!1),t.stateNode=te,M8(te,B,u,F)&&lg(t)}t.ref!==null&&eA(t)}return mi(t),null}case j:{var fe=u;if(e&&t.stateNode!=null){var ge=e.memoizedProps;rA(e,t,ge,fe)}else{if(typeof fe!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var _e=JT(),rt=ID(),St=Wk(t);St?Q6(t)&&lg(t):t.stateNode=j8(fe,_e,rt,t)}return mi(t),null}case X:{rg(t);var Rt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pn=g9(e,t,Rt);if(!pn)return t.flags&Ya?t:null}if((t.flags&kt)!==Ct)return t.lanes=s,(t.mode&Tn)!==xt&&mS(t),t;var cn=Rt!==null,se=e!==null&&e.memoizedState!==null;if(cn!==se&&cn){var Ce=t.child;if(Ce.flags|=Or,(t.mode&an)!==xt){var de=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);de||zD(nu.current,ZT)?vz():uC()}}var Ue=t.updateQueue;if(Ue!==null&&(t.flags|=mn),mi(t),(t.mode&Tn)!==xt&&cn){var dt=t.child;dt!==null&&(t.treeBaseDuration-=dt.treeBaseDuration)}return null}case R:return tg(t),qS(e,t),e===null&&N6(t.stateNode.containerInfo),mi(t),null;case q:var st=t.type._context;return $D(st,t),mi(t),null;case ye:{var Mt=t.type;return oc(Mt)&&Mk(t),mi(t),null}case We:{rg(t);var Jt=t.memoizedState;if(Jt===null)return mi(t),null;var ir=(t.flags&kt)!==Ct,On=Jt.rendering;if(On===null)if(ir)ky(Jt,!1);else{var ca=bz()&&(e===null||(e.flags&kt)===Ct);if(!ca)for(var Bn=t.child;Bn!==null;){var ta=ow(Bn);if(ta!==null){ir=!0,t.flags|=kt,ky(Jt,!1);var Wi=ta.updateQueue;return Wi!==null&&(t.updateQueue=Wi,t.flags|=mn),t.subtreeFlags=Ct,s5(t,s),Df(t,UD(nu.current,sy)),t.child}Bn=Bn.sibling}Jt.tail!==null&&Br()>xA()&&(t.flags|=kt,ir=!0,ky(Jt,!1),t.lanes=fv)}else{if(!ir){var ki=ow(On);if(ki!==null){t.flags|=kt,ir=!0;var xs=ki.updateQueue;if(xs!==null&&(t.updateQueue=xs,t.flags|=mn),ky(Jt,!0),Jt.tail===null&&Jt.tailMode==="hidden"&&!On.alternate&&!pi())return mi(t),null}else Br()*2-Jt.renderingStartTime>xA()&&s!==lo&&(t.flags|=kt,ir=!0,ky(Jt,!1),t.lanes=fv)}if(Jt.isBackwards)On.sibling=t.child,t.child=On;else{var mo=Jt.last;mo!==null?mo.sibling=On:t.child=On,Jt.last=On}}if(Jt.tail!==null){var go=Jt.tail;Jt.rendering=go,Jt.tail=go.sibling,Jt.renderingStartTime=Br(),go.sibling=null;var qi=nu.current;return ir?qi=UD(qi,sy):qi=ng(qi),Df(t,qi),go}return mi(t),null}case Me:break;case Qe:case Ie:{lC(t);var Sd=t.memoizedState,gg=Sd!==null;if(e!==null){var Ly=e.memoizedState,hc=Ly!==null;hc!==gg&&(t.flags|=Or)}return!gg||(t.mode&an)===xt?mi(t):Bi(pc,lo)&&(mi(t),t.subtreeFlags&(Fr|mn)&&(t.flags|=Or)),null}case at:return null;case Le:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function v9(e,t,s){switch(vD(t),t.tag){case E:{var u=t.type;oc(u)&&Mk(t);var p=t.flags;return p&Ya?(t.flags=p&-65537|kt,(t.mode&Tn)!==xt&&mS(t),t):null}case P:{t.stateNode,tg(t),pD(t),WD();var y=t.flags;return(y&Ya)!==Ct&&(y&kt)===Ct?(t.flags=y&-65537|kt,t):null}case O:return jD(t),null;case X:{rg(t);var w=t.memoizedState;if(w!==null&&w.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qm()}var _=t.flags;return _&Ya?(t.flags=_&-65537|kt,(t.mode&Tn)!==xt&&mS(t),t):null}case We:return rg(t),null;case R:return tg(t),null;case q:var F=t.type._context;return $D(F,t),null;case Qe:case Ie:return lC(t),null;case at:return null;default:return null}}function iA(e,t,s){switch(vD(t),t.tag){case E:{var u=t.type.childContextTypes;u!=null&&Mk(t);break}case P:{t.stateNode,tg(t),pD(t),WD();break}case O:{jD(t);break}case R:tg(t);break;case X:rg(t);break;case We:rg(t);break;case q:var p=t.type._context;$D(p,t);break;case Qe:case Ie:lC(t);break}}var oA=null;oA=new Set;var Aw=!1,gi=!1,y9=typeof WeakSet=="function"?WeakSet:Set,bt=null,ug=null,cg=null;function b9(e){ao(null,function(){throw e}),Uc()}var k9=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Tn)try{dc(),t.componentWillUnmount()}finally{cc(e)}else t.componentWillUnmount()};function sA(e,t){try{xf(Ra,e)}catch(s){yr(e,t,s)}}function VS(e,t,s){try{k9(e,s)}catch(u){yr(e,t,u)}}function w9(e,t,s){try{s.componentDidMount()}catch(u){yr(e,t,u)}}function lA(e,t){try{cA(e)}catch(s){yr(e,t,s)}}function dg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(Je&&pt&&e.mode&Tn)try{dc(),u=s(null)}finally{cc(e)}else u=s(null)}catch(p){yr(e,t,p)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else s.current=null}function $w(e,t,s){try{s()}catch(u){yr(e,t,u)}}var uA=!1;function D9(e,t){R8(e.containerInfo),bt=t,S9();var s=uA;return uA=!1,s}function S9(){for(;bt!==null;){var e=bt,t=e.child;(e.subtreeFlags&qs)!==Ct&&t!==null?(t.return=e,bt=t):C9()}}function C9(){for(;bt!==null;){var e=bt;$n(e);try{x9(e)}catch(s){yr(e,e.return,s)}ur();var t=e.sibling;if(t!==null){t.return=e.return,bt=t;return}bt=e.return}}function x9(e){var t=e.alternate,s=e.flags;if((s&Wr)!==Ct){switch($n(e),e.tag){case C:case W:case ue:break;case E:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!dh&&(y.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(e)||"instance"),y.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:au(e.type,u),p);{var _=oA;w===void 0&&!_.has(e.type)&&(_.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Bt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case P:{{var F=e.stateNode;i6(F.containerInfo)}break}case O:case j:case R:case ye:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}ur()}}function ou(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var _=w.destroy;w.destroy=void 0,_!==void 0&&((e&hi)!==Vo?ms(t):(e&Ra)!==Vo&&Vc(t),(e&sc)!==Vo&&Py(!0),$w(t,s,_),(e&sc)!==Vo&&Py(!1),(e&hi)!==Vo?Qs():(e&Ra)!==Vo&&Fp())}w=w.next}while(w!==y)}}function xf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&hi)!==Vo?qc(t):(e&Ra)!==Vo&&af(t);var w=y.create;(e&sc)!==Vo&&Py(!0),y.destroy=w(),(e&sc)!==Vo&&Py(!1),(e&hi)!==Vo?rf():(e&Ra)!==Vo&&pm();{var _=y.destroy;if(_!==void 0&&typeof _!="function"){var F=void 0;(y.tag&Ra)!==Ct?F="useLayoutEffect":(y.tag&sc)!==Ct?F="useInsertionEffect":F="useEffect";var B=void 0;_===null?B=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?B=`
|
|
263
|
+
Check the render method of \``+u+"`.");var p=u||"",y=e._debugSource;y&&(p=y.fileName+":"+y.lineNumber),RS[p]||(RS[p]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(t.defaultProps!==void 0){var w=wn(t)||"Unknown";yy[w]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",w),yy[w]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var _=wn(t)||"Unknown";NS[_]||(m("%s: Function components do not support getDerivedStateFromProps.",_),NS[_]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var F=wn(t)||"Unknown";PS[F]||(m("%s: Function components do not support contextType.",F),PS[F]=!0)}}}var IS={dehydrated:null,treeContext:null,retryLane:M};function jS(e){return{baseLanes:e,cachePool:j5(),transitions:null}}function Q5(e,t){var s=null;return{baseLanes:Zt(e.baseLanes,t),cachePool:s,transitions:e.transitions}}function K5(e,t,s,u){if(t!==null){var p=t.memoizedState;if(p===null)return!1}return zD(e,sy)}function Z5(e,t){return jp(e.childLanes,t)}function VF(e,t,s){var u=t.pendingProps;l7(t)&&(t.flags|=kt);var p=nu.current,y=!1,w=(t.flags&kt)!==Ct;if(w||K5(p,e)?(y=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(p=v5(p,ZT)),p=ng(p),Df(t,p),e===null){wD(t);var _=t.memoizedState;if(_!==null){var F=_.dehydrated;if(F!==null)return a9(t,F)}var B=u.children,j=u.fallback;if(y){var re=e9(t,B,j,s),te=t.child;return te.memoizedState=jS(s),t.memoizedState=IS,re}else return zS(t,B)}else{var fe=e.memoizedState;if(fe!==null){var ge=fe.dehydrated;if(ge!==null)return i9(e,t,w,u,ge,fe,s)}if(y){var _e=u.fallback,rt=u.children,St=n9(e,t,rt,_e,s),Rt=t.child,pn=e.child.memoizedState;return Rt.memoizedState=pn===null?jS(s):Q5(pn,s),Rt.childLanes=Z5(e,s),t.memoizedState=IS,St}else{var cn=u.children,se=t9(e,t,cn,s);return t.memoizedState=null,se}}}function zS(e,t,s){var u=e.mode,p={mode:"visible",children:t},y=US(p,u);return y.return=e,e.child=y,y}function e9(e,t,s,u){var p=e.mode,y=e.child,w={mode:"hidden",children:t},_,F;return(p&an)===xt&&y!==null?(_=y,_.childLanes=T,_.pendingProps=w,e.mode&Tn&&(_.actualDuration=0,_.actualStartTime=-1,_.selfBaseDuration=0,_.treeBaseDuration=0),F=Af(s,p,u,null)):(_=US(w,p),F=Af(s,p,u,null)),_.return=e,F.return=e,_.sibling=F,e.child=_,F}function US(e,t,s){return VA(e,t,T,null)}function YF(e,t){return gh(e,t)}function t9(e,t,s,u){var p=e.child,y=p.sibling,w=YF(p,{mode:"visible",children:s});if((t.mode&an)===xt&&(w.lanes=u),w.return=t,w.sibling=null,y!==null){var _=t.deletions;_===null?(t.deletions=[y],t.flags|=Pi):_.push(y)}return t.child=w,w}function n9(e,t,s,u,p){var y=t.mode,w=e.child,_=w.sibling,F={mode:"hidden",children:s},B;if((y&an)===xt&&t.child!==w){var j=t.child;B=j,B.childLanes=T,B.pendingProps=F,t.mode&Tn&&(B.actualDuration=0,B.actualStartTime=-1,B.selfBaseDuration=w.selfBaseDuration,B.treeBaseDuration=w.treeBaseDuration),t.deletions=null}else B=YF(w,F),B.subtreeFlags=w.subtreeFlags&Sr;var re;return _!==null?re=gh(_,u):(re=Af(u,y,p,null),re.flags|=Fr),re.return=t,B.return=t,B.sibling=re,t.child=B,re}function Tw(e,t,s,u){u!==null&&DD(u),Km(t,e.child,null,s);var p=t.pendingProps,y=p.children,w=zS(t,y);return w.flags|=Fr,t.memoizedState=null,w}function r9(e,t,s,u,p){var y=t.mode,w={mode:"visible",children:s},_=US(w,y),F=Af(u,y,p,null);return F.flags|=Fr,_.return=t,F.return=t,_.sibling=F,t.child=_,(t.mode&an)!==xt&&Km(t,e.child,null,p),F}function a9(e,t,s){return(e.mode&an)===xt?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=U):oD(t)?e.lanes=nt:e.lanes=lo,null}function i9(e,t,s,u,p,y,w){if(s)if(t.flags&ya){t.flags&=-257;var _=TS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Tw(e,t,w,_)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=kt,null;var F=u.children,B=u.fallback,j=r9(e,t,F,B,w),re=t.child;return re.memoizedState=jS(w),t.memoizedState=IS,j}else{if(V6(),(t.mode&an)===xt)return Tw(e,t,w,null);if(oD(p)){var te,fe,ge;{var _e=u6(p);te=_e.digest,fe=_e.message,ge=_e.stack}var rt;fe?rt=new Error(fe):rt=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var St=TS(rt,te,ge);return Tw(e,t,w,St)}var Rt=Bi(w,e.childLanes);if(iu||Rt){var pn=jw();if(pn!==null){var cn=Hb(pn,w);if(cn!==M&&cn!==y.retryLane){y.retryLane=cn;var se=dr;qo(e,cn),ja(pn,e,cn,se)}}uC();var Ce=TS(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Tw(e,t,w,Ce)}else if(gT(p)){t.flags|=kt,t.child=e.child;var de=Az.bind(null,e);return c6(p,de),null}else{X6(t,p,y.treeContext);var Ue=u.children,dt=zS(t,Ue);return dt.flags|=Ni,dt}}}function GF(e,t,s){e.lanes=Zt(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=Zt(u.lanes,t)),PD(e.return,t,s)}function o9(e,t,s){for(var u=t;u!==null;){if(u.tag===X){var p=u.memoizedState;p!==null&&GF(u,s,e)}else if(u.tag===We)GF(u,s,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function s9(e){for(var t=e,s=null;t!==null;){var u=t.alternate;u!==null&&ow(u)===null&&(s=t),t=t.sibling}return s}function l9(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!LS[e])if(LS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function u9(e,t){e!==void 0&&!Ew[e]&&(e!=="collapsed"&&e!=="hidden"?(Ew[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Ew[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function XF(e,t){{var s=Yt(e),u=!s&&typeof Tt(e)=="function";if(s||u){var p=s?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",p,t,p),!1}}return!0}function c9(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Yt(e)){for(var s=0;s<e.length;s++)if(!XF(e[s],s))return}else{var u=Tt(e);if(typeof u=="function"){var p=u.call(e);if(p)for(var y=p.next(),w=0;!y.done;y=p.next()){if(!XF(y.value,w))return;w++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function HS(e,t,s,u,p){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:p}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=u,y.tail=s,y.tailMode=p)}function JF(e,t,s){var u=t.pendingProps,p=u.revealOrder,y=u.tail,w=u.children;l9(p),u9(y,p),c9(w,p),fo(e,t,w,s);var _=nu.current,F=zD(_,sy);if(F)_=UD(_,sy),t.flags|=kt;else{var B=e!==null&&(e.flags&kt)!==Ct;B&&o9(t,t.child,s),_=ng(_)}if(Df(t,_),(t.mode&an)===xt)t.memoizedState=null;else switch(p){case"forwards":{var j=s9(t.child),re;j===null?(re=t.child,t.child=null):(re=j.sibling,j.sibling=null),HS(t,!1,re,j,y);break}case"backwards":{var te=null,fe=t.child;for(t.child=null;fe!==null;){var ge=fe.alternate;if(ge!==null&&ow(ge)===null){t.child=fe;break}var _e=fe.sibling;fe.sibling=te,te=fe,fe=_e}HS(t,!0,te,null,y);break}case"together":{HS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function d9(e,t,s){MD(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=Km(t,null,u,s):fo(e,t,u,s),t.child}var QF=!1;function f9(e,t,s){var u=t.type,p=u._context,y=t.pendingProps,w=t.memoizedProps,_=y.value;{"value"in y||QF||(QF=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var F=t.type.propTypes;F&&Zl(F,y,"prop","Context.Provider")}if(HT(t,p,_),w!==null){var B=w.value;if(ie(B,_)){if(w.children===y.children&&!Bk())return yd(e,t,s)}else l5(t,p,s)}var j=y.children;return fo(e,t,j,s),t.child}var KF=!1;function p9(e,t,s){var u=t.type;u._context===void 0?u!==u.Consumer&&(KF||(KF=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var p=t.pendingProps,y=p.children;typeof y!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),eg(t,s);var w=Da(u);Qa(t);var _;return gy.current=t,Tr(!0),_=y(w),Tr(!1),Kr(),t.flags|=$i,fo(e,t,_,s),t.child}function by(){iu=!0}function Fw(e,t){(t.mode&an)===xt&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Fr)}function yd(e,t,s){return e!==null&&(t.dependencies=e.dependencies),EF(),Ay(t.lanes),Bi(s,t.childLanes)?(o5(e,t),t.child):null}function h9(e,t,s){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,s.index=t.index,s.sibling=t.sibling,s.return=t.return,s.ref=t.ref,t===u.child)u.child=s;else{var p=u.child;if(p===null)throw new Error("Expected parent to have a child.");for(;p.sibling!==t;)if(p=p.sibling,p===null)throw new Error("Expected to find the previous sibling.");p.sibling=s}var y=u.deletions;return y===null?(u.deletions=[e],u.flags|=Pi):y.push(e),s.flags|=Fr,s}}function WS(e,t){var s=e.lanes;return!!Bi(s,t)}function m9(e,t,s){switch(t.tag){case P:WF(t),t.stateNode,Qm();break;case O:QT(t);break;case E:{var u=t.type;oc(u)&&Ik(t);break}case R:MD(t,t.stateNode.containerInfo);break;case q:{var p=t.memoizedProps.value,y=t.type._context;HT(t,y,p);break}case K:{var w=Bi(s,t.childLanes);w&&(t.flags|=mn);{var _=t.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}}break;case X:{var F=t.memoizedState;if(F!==null){if(F.dehydrated!==null)return Df(t,ng(nu.current)),t.flags|=kt,null;var B=t.child,j=B.childLanes;if(Bi(s,j))return VF(e,t,s);Df(t,ng(nu.current));var re=yd(e,t,s);return re!==null?re.sibling:null}else Df(t,ng(nu.current));break}case We:{var te=(e.flags&kt)!==Ct,fe=Bi(s,t.childLanes);if(te){if(fe)return JF(e,t,s);t.flags|=kt}var ge=t.memoizedState;if(ge!==null&&(ge.rendering=null,ge.tail=null,ge.lastEffect=null),Df(t,nu.current),fe)break;return null}case Qe:case Ie:return t.lanes=T,zF(e,t,s)}return yd(e,t,s)}function ZF(e,t,s){if(t._debugNeedsRemount&&e!==null)return h9(e,t,kC(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,p=t.pendingProps;if(u!==p||Bk()||t.type!==e.type)iu=!0;else{var y=WS(e,s);if(!y&&(t.flags&kt)===Ct)return iu=!1,m9(e,t,s);(e.flags&ps)!==Ct?iu=!0:iu=!1}}else if(iu=!1,pi()&&j6(t)){var w=t.index,_=z6();ET(t,_,w)}switch(t.lanes=T,t.tag){case $:return J5(e,t,t.type,s);case xe:{var F=t.elementType;return G5(e,t,F,s)}case C:{var B=t.type,j=t.pendingProps,re=t.elementType===B?j:au(B,j);return OS(e,t,B,re,s)}case E:{var te=t.type,fe=t.pendingProps,ge=t.elementType===te?fe:au(te,fe);return HF(e,t,te,ge,s)}case P:return q5(e,t,s);case O:return V5(e,t,s);case I:return Y5(e,t);case X:return VF(e,t,s);case R:return d9(e,t,s);case W:{var _e=t.type,rt=t.pendingProps,St=t.elementType===_e?rt:au(_e,rt);return MF(e,t,_e,St,s)}case J:return U5(e,t,s);case V:return H5(e,t,s);case K:return W5(e,t,s);case q:return f9(e,t,s);case De:return p9(e,t,s);case ae:{var Rt=t.type,pn=t.pendingProps,cn=au(Rt,pn);if(t.type!==t.elementType){var se=Rt.propTypes;se&&Zl(se,cn,"prop",wn(Rt))}return cn=au(Rt.type,cn),IF(e,t,Rt,cn,s)}case ue:return jF(e,t,t.type,t.pendingProps,s);case ye:{var Ce=t.type,de=t.pendingProps,Ue=t.elementType===Ce?de:au(Ce,de);return X5(e,t,Ce,Ue,s)}case We:return JF(e,t,s);case Me:break;case Qe:return zF(e,t,s)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function lg(e){e.flags|=mn}function eA(e){e.flags|=Jn,e.flags|=Bl}var tA,qS,nA,rA;tA=function(e,t,s,u){for(var p=t.child;p!==null;){if(p.tag===O||p.tag===I)B8(e,p.stateNode);else if(p.tag!==R&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===t)return;for(;p.sibling===null;){if(p.return===null||p.return===t)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},qS=function(e,t){},nA=function(e,t,s,u,p){var y=e.memoizedProps;if(y!==u){var w=t.stateNode,_=ID(),F=I8(w,s,y,u,p,_);t.updateQueue=F,F&&lg(t)}},rA=function(e,t,s,u){s!==u&&lg(t)};function ky(e,t){if(!pi())switch(e.tailMode){case"hidden":{for(var s=e.tail,u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var p=e.tail,y=null;p!==null;)p.alternate!==null&&(y=p),p=p.sibling;y===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:y.sibling=null;break}}}function mi(e){var t=e.alternate!==null&&e.alternate.child===e.child,s=T,u=Ct;if(t){if((e.mode&Tn)!==xt){for(var p=e.selfBaseDuration,y=e.child;y!==null;)s=Zt(s,Zt(y.lanes,y.childLanes)),u|=y.subtreeFlags&Sr,u|=y.flags&Sr,p+=y.treeBaseDuration,y=y.sibling;e.treeBaseDuration=p}else for(var w=e.child;w!==null;)s=Zt(s,Zt(w.lanes,w.childLanes)),u|=w.subtreeFlags&Sr,u|=w.flags&Sr,w.return=e,w=w.sibling;e.subtreeFlags|=u}else{if((e.mode&Tn)!==xt){for(var _=e.actualDuration,F=e.selfBaseDuration,B=e.child;B!==null;)s=Zt(s,Zt(B.lanes,B.childLanes)),u|=B.subtreeFlags,u|=B.flags,_+=B.actualDuration,F+=B.treeBaseDuration,B=B.sibling;e.actualDuration=_,e.treeBaseDuration=F}else for(var j=e.child;j!==null;)s=Zt(s,Zt(j.lanes,j.childLanes)),u|=j.subtreeFlags,u|=j.flags,j.return=e,j=j.sibling;e.subtreeFlags|=u}return e.childLanes=s,t}function g9(e,t,s){if(e5()&&(t.mode&an)!==xt&&(t.flags&kt)===Ct)return RT(t),Qm(),t.flags|=ya|Hc|Ya,!1;var u=Wk(t);if(s!==null&&s.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(K6(t),mi(t),(t.mode&Tn)!==xt){var p=s!==null;if(p){var y=t.child;y!==null&&(t.treeBaseDuration-=y.treeBaseDuration)}}return!1}else{if(Qm(),(t.flags&kt)===Ct&&(t.memoizedState=null),t.flags|=mn,mi(t),(t.mode&Tn)!==xt){var w=s!==null;if(w){var _=t.child;_!==null&&(t.treeBaseDuration-=_.treeBaseDuration)}}return!1}else return LT(),!0}function aA(e,t,s){var u=t.pendingProps;switch(vD(t),t.tag){case $:case xe:case ue:case C:case W:case J:case V:case K:case De:case ae:return mi(t),null;case E:{var p=t.type;return oc(p)&&Mk(t),mi(t),null}case P:{var y=t.stateNode;if(tg(t),pD(t),WD(),y.pendingContext&&(y.context=y.pendingContext,y.pendingContext=null),e===null||e.child===null){var w=Wk(t);if(w)lg(t);else if(e!==null){var _=e.memoizedState;(!_.isDehydrated||(t.flags&ya)!==Ct)&&(t.flags|=Wr,LT())}}return qS(e,t),mi(t),null}case O:{jD(t);var F=JT(),B=t.type;if(e!==null&&t.stateNode!=null)nA(e,t,B,u,F),e.ref!==t.ref&&eA(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return mi(t),null}var j=ID(),re=Wk(t);if(re)J6(t,F,j)&&lg(t);else{var te=O8(B,u,F,j,t);tA(te,t,!1,!1),t.stateNode=te,M8(te,B,u,F)&&lg(t)}t.ref!==null&&eA(t)}return mi(t),null}case I:{var fe=u;if(e&&t.stateNode!=null){var ge=e.memoizedProps;rA(e,t,ge,fe)}else{if(typeof fe!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var _e=JT(),rt=ID(),St=Wk(t);St?Q6(t)&&lg(t):t.stateNode=j8(fe,_e,rt,t)}return mi(t),null}case X:{rg(t);var Rt=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var pn=g9(e,t,Rt);if(!pn)return t.flags&Ya?t:null}if((t.flags&kt)!==Ct)return t.lanes=s,(t.mode&Tn)!==xt&&mS(t),t;var cn=Rt!==null,se=e!==null&&e.memoizedState!==null;if(cn!==se&&cn){var Ce=t.child;if(Ce.flags|=Or,(t.mode&an)!==xt){var de=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!0);de||zD(nu.current,ZT)?vz():uC()}}var Ue=t.updateQueue;if(Ue!==null&&(t.flags|=mn),mi(t),(t.mode&Tn)!==xt&&cn){var dt=t.child;dt!==null&&(t.treeBaseDuration-=dt.treeBaseDuration)}return null}case R:return tg(t),qS(e,t),e===null&&N6(t.stateNode.containerInfo),mi(t),null;case q:var st=t.type._context;return $D(st,t),mi(t),null;case ye:{var Mt=t.type;return oc(Mt)&&Mk(t),mi(t),null}case We:{rg(t);var Jt=t.memoizedState;if(Jt===null)return mi(t),null;var ir=(t.flags&kt)!==Ct,On=Jt.rendering;if(On===null)if(ir)ky(Jt,!1);else{var ca=bz()&&(e===null||(e.flags&kt)===Ct);if(!ca)for(var Bn=t.child;Bn!==null;){var ta=ow(Bn);if(ta!==null){ir=!0,t.flags|=kt,ky(Jt,!1);var Wi=ta.updateQueue;return Wi!==null&&(t.updateQueue=Wi,t.flags|=mn),t.subtreeFlags=Ct,s5(t,s),Df(t,UD(nu.current,sy)),t.child}Bn=Bn.sibling}Jt.tail!==null&&Br()>xA()&&(t.flags|=kt,ir=!0,ky(Jt,!1),t.lanes=fv)}else{if(!ir){var ki=ow(On);if(ki!==null){t.flags|=kt,ir=!0;var xs=ki.updateQueue;if(xs!==null&&(t.updateQueue=xs,t.flags|=mn),ky(Jt,!0),Jt.tail===null&&Jt.tailMode==="hidden"&&!On.alternate&&!pi())return mi(t),null}else Br()*2-Jt.renderingStartTime>xA()&&s!==lo&&(t.flags|=kt,ir=!0,ky(Jt,!1),t.lanes=fv)}if(Jt.isBackwards)On.sibling=t.child,t.child=On;else{var mo=Jt.last;mo!==null?mo.sibling=On:t.child=On,Jt.last=On}}if(Jt.tail!==null){var go=Jt.tail;Jt.rendering=go,Jt.tail=go.sibling,Jt.renderingStartTime=Br(),go.sibling=null;var qi=nu.current;return ir?qi=UD(qi,sy):qi=ng(qi),Df(t,qi),go}return mi(t),null}case Me:break;case Qe:case Ie:{lC(t);var Sd=t.memoizedState,gg=Sd!==null;if(e!==null){var Ly=e.memoizedState,hc=Ly!==null;hc!==gg&&(t.flags|=Or)}return!gg||(t.mode&an)===xt?mi(t):Bi(pc,lo)&&(mi(t),t.subtreeFlags&(Fr|mn)&&(t.flags|=Or)),null}case at:return null;case Le:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function v9(e,t,s){switch(vD(t),t.tag){case E:{var u=t.type;oc(u)&&Mk(t);var p=t.flags;return p&Ya?(t.flags=p&-65537|kt,(t.mode&Tn)!==xt&&mS(t),t):null}case P:{t.stateNode,tg(t),pD(t),WD();var y=t.flags;return(y&Ya)!==Ct&&(y&kt)===Ct?(t.flags=y&-65537|kt,t):null}case O:return jD(t),null;case X:{rg(t);var w=t.memoizedState;if(w!==null&&w.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qm()}var _=t.flags;return _&Ya?(t.flags=_&-65537|kt,(t.mode&Tn)!==xt&&mS(t),t):null}case We:return rg(t),null;case R:return tg(t),null;case q:var F=t.type._context;return $D(F,t),null;case Qe:case Ie:return lC(t),null;case at:return null;default:return null}}function iA(e,t,s){switch(vD(t),t.tag){case E:{var u=t.type.childContextTypes;u!=null&&Mk(t);break}case P:{t.stateNode,tg(t),pD(t),WD();break}case O:{jD(t);break}case R:tg(t);break;case X:rg(t);break;case We:rg(t);break;case q:var p=t.type._context;$D(p,t);break;case Qe:case Ie:lC(t);break}}var oA=null;oA=new Set;var Aw=!1,gi=!1,y9=typeof WeakSet=="function"?WeakSet:Set,bt=null,ug=null,cg=null;function b9(e){ao(null,function(){throw e}),Uc()}var k9=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Tn)try{dc(),t.componentWillUnmount()}finally{cc(e)}else t.componentWillUnmount()};function sA(e,t){try{xf(Ra,e)}catch(s){yr(e,t,s)}}function VS(e,t,s){try{k9(e,s)}catch(u){yr(e,t,u)}}function w9(e,t,s){try{s.componentDidMount()}catch(u){yr(e,t,u)}}function lA(e,t){try{cA(e)}catch(s){yr(e,t,s)}}function dg(e,t){var s=e.ref;if(s!==null)if(typeof s=="function"){var u;try{if(Je&&pt&&e.mode&Tn)try{dc(),u=s(null)}finally{cc(e)}else u=s(null)}catch(p){yr(e,t,p)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else s.current=null}function $w(e,t,s){try{s()}catch(u){yr(e,t,u)}}var uA=!1;function D9(e,t){R8(e.containerInfo),bt=t,S9();var s=uA;return uA=!1,s}function S9(){for(;bt!==null;){var e=bt,t=e.child;(e.subtreeFlags&qs)!==Ct&&t!==null?(t.return=e,bt=t):C9()}}function C9(){for(;bt!==null;){var e=bt;$n(e);try{x9(e)}catch(s){yr(e,e.return,s)}ur();var t=e.sibling;if(t!==null){t.return=e.return,bt=t;return}bt=e.return}}function x9(e){var t=e.alternate,s=e.flags;if((s&Wr)!==Ct){switch($n(e),e.tag){case C:case W:case ue:break;case E:{if(t!==null){var u=t.memoizedProps,p=t.memoizedState,y=e.stateNode;e.type===e.elementType&&!dh&&(y.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(e)||"instance"),y.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(e)||"instance"));var w=y.getSnapshotBeforeUpdate(e.elementType===e.type?u:au(e.type,u),p);{var _=oA;w===void 0&&!_.has(e.type)&&(_.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Bt(e)))}y.__reactInternalSnapshotBeforeUpdate=w}break}case P:{{var F=e.stateNode;i6(F.containerInfo)}break}case O:case I:case R:case ye:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}ur()}}function ou(e,t,s){var u=t.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var y=p.next,w=y;do{if((w.tag&e)===e){var _=w.destroy;w.destroy=void 0,_!==void 0&&((e&hi)!==Vo?ms(t):(e&Ra)!==Vo&&Vc(t),(e&sc)!==Vo&&Py(!0),$w(t,s,_),(e&sc)!==Vo&&Py(!1),(e&hi)!==Vo?Qs():(e&Ra)!==Vo&&Fp())}w=w.next}while(w!==y)}}function xf(e,t){var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var p=u.next,y=p;do{if((y.tag&e)===e){(e&hi)!==Vo?qc(t):(e&Ra)!==Vo&&af(t);var w=y.create;(e&sc)!==Vo&&Py(!0),y.destroy=w(),(e&sc)!==Vo&&Py(!1),(e&hi)!==Vo?rf():(e&Ra)!==Vo&&pm();{var _=y.destroy;if(_!==void 0&&typeof _!="function"){var F=void 0;(y.tag&Ra)!==Ct?F="useLayoutEffect":(y.tag&sc)!==Ct?F="useInsertionEffect":F="useEffect";var B=void 0;_===null?B=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof _.then=="function"?B=`
|
|
264
264
|
|
|
265
265
|
It looks like you wrote `+F+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
266
266
|
|
|
@@ -273,7 +273,7 @@ It looks like you wrote `+F+`(async () => ...) or returned a Promise. Instead, w
|
|
|
273
273
|
fetchData();
|
|
274
274
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
275
275
|
|
|
276
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:B=" You returned: "+_,m("%s must not return anything besides a function, which is used for clean-up.%s",F,B)}}}y=y.next}while(y!==p)}}function _9(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case K:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=xF(),_=t.alternate===null?"mount":"update";CF()&&(_="nested-update"),typeof y=="function"&&y(p,_,s,w);var F=t.return;e:for(;F!==null;){switch(F.tag){case P:var B=F.stateNode;B.passiveEffectDuration+=s;break e;case K:var I=F.stateNode;I.passiveEffectDuration+=s;break e}F=F.return}break}}}function E9(e,t,s,u){if((s.flags&Ys)!==Ct)switch(s.tag){case C:case W:case ue:{if(!gi)if(s.mode&Tn)try{dc(),xf(Ra|Na,s)}finally{cc(s)}else xf(Ra|Na,s);break}case E:{var p=s.stateNode;if(s.flags&mn&&!gi)if(t===null)if(s.type===s.elementType&&!dh&&(p.props!==s.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(s)||"instance")),s.mode&Tn)try{dc(),p.componentDidMount()}finally{cc(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:au(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!dh&&(p.props!==s.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(s)||"instance")),s.mode&Tn)try{dc(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{cc(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var _=s.updateQueue;_!==null&&(s.type===s.elementType&&!dh&&(p.props!==s.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(s)||"instance")),XT(s,_,p));break}case P:{var F=s.updateQueue;if(F!==null){var B=null;if(s.child!==null)switch(s.child.tag){case O:B=s.child.stateNode;break;case E:B=s.child.stateNode;break}XT(s,F,B)}break}case O:{var I=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,te=s.memoizedProps;q8(I,re,te)}break}case j:break;case R:break;case K:{{var fe=s.memoizedProps,ge=fe.onCommit,_e=fe.onRender,rt=s.stateNode.effectDuration,St=xF(),Rt=t===null?"mount":"update";CF()&&(Rt="nested-update"),typeof _e=="function"&&_e(s.memoizedProps.id,Rt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ge=="function"&&ge(s.memoizedProps.id,Rt,rt,St),Cz(s);var pn=s.return;e:for(;pn!==null;){switch(pn.tag){case P:var cn=pn.stateNode;cn.effectDuration+=rt;break e;case K:var se=pn.stateNode;se.effectDuration+=rt;break e}pn=pn.return}}}break}case X:{L9(e,s);break}case We:case ye:case Me:case Qe:case Ie:case Le:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}gi||s.flags&Jn&&cA(s)}function T9(e){switch(e.tag){case C:case W:case ue:{if(e.mode&Tn)try{dc(),sA(e,e.return)}finally{cc(e)}else sA(e,e.return);break}case E:{var t=e.stateNode;typeof t.componentDidMount=="function"&&w9(e,e.return,t),lA(e,e.return);break}case O:{lA(e,e.return);break}}}function F9(e,t){for(var s=null,u=e;;){if(u.tag===O){if(s===null){s=u;try{var p=u.stateNode;t?t6(p):r6(u.stateNode,u.memoizedProps)}catch(w){yr(e,e.return,w)}}}else if(u.tag===j){if(s===null)try{var y=u.stateNode;t?n6(y):a6(y,u.memoizedProps)}catch(w){yr(e,e.return,w)}}else if(!((u.tag===Qe||u.tag===Ie)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function cA(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case O:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&Tn)try{dc(),p=t(u)}finally{cc(e)}else p=t(u);typeof p=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Bt(e)),t.current=u}}function A9(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function dA(e){var t=e.alternate;t!==null&&(e.alternate=null,dA(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===O){var s=e.stateNode;s!==null&&O6(s)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function $9(e){for(var t=e.return;t!==null;){if(fA(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function fA(e){return e.tag===O||e.tag===P||e.tag===R}function pA(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||fA(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==O&&t.tag!==j&&t.tag!==Ye;){if(t.flags&Fr||t.child===null||t.tag===R)continue e;t.child.return=t,t=t.child}if(!(t.flags&Fr))return t.stateNode}}function P9(e){var t=$9(e);switch(t.tag){case O:{var s=t.stateNode;t.flags&Pt&&(mT(s),t.flags&=-33);var u=pA(e);GS(e,u,s);break}case P:case R:{var p=t.stateNode.containerInfo,y=pA(e);YS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function YS(e,t,s){var u=e.tag,p=u===O||u===j;if(p){var y=e.stateNode;t?Q8(s,y,t):X8(s,y)}else if(u!==R){var w=e.child;if(w!==null){YS(w,t,s);for(var _=w.sibling;_!==null;)YS(_,t,s),_=_.sibling}}}function GS(e,t,s){var u=e.tag,p=u===O||u===j;if(p){var y=e.stateNode;t?J8(s,y,t):G8(s,y)}else if(u!==R){var w=e.child;if(w!==null){GS(w,t,s);for(var _=w.sibling;_!==null;)GS(_,t,s),_=_.sibling}}}var vi=null,su=!1;function N9(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case O:{vi=u.stateNode,su=!1;break e}case P:{vi=u.stateNode.containerInfo,su=!0;break e}case R:{vi=u.stateNode.containerInfo,su=!0;break e}}u=u.return}if(vi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");hA(e,t,s),vi=null,su=!1}A9(s)}function _f(e,t,s){for(var u=s.child;u!==null;)hA(e,t,u),u=u.sibling}function hA(e,t,s){switch(Ep(s),s.tag){case O:gi||dg(s,t);case j:{{var u=vi,p=su;vi=null,_f(e,t,s),vi=u,su=p,vi!==null&&(su?Z8(vi,s.stateNode):K8(vi,s.stateNode))}return}case Ye:{vi!==null&&(su?e6(vi,s.stateNode):iD(vi,s.stateNode));return}case R:{{var y=vi,w=su;vi=s.stateNode.containerInfo,su=!0,_f(e,t,s),vi=y,su=w}return}case C:case W:case ae:case ue:{if(!gi){var _=s.updateQueue;if(_!==null){var F=_.lastEffect;if(F!==null){var B=F.next,I=B;do{var re=I,te=re.destroy,fe=re.tag;te!==void 0&&((fe&sc)!==Vo?$w(s,t,te):(fe&Ra)!==Vo&&(Vc(s),s.mode&Tn?(dc(),$w(s,t,te),cc(s)):$w(s,t,te),Fp())),I=I.next}while(I!==B)}}}_f(e,t,s);return}case E:{if(!gi){dg(s,t);var ge=s.stateNode;typeof ge.componentWillUnmount=="function"&&VS(s,t,ge)}_f(e,t,s);return}case Me:{_f(e,t,s);return}case Qe:{if(s.mode&an){var _e=gi;gi=_e||s.memoizedState!==null,_f(e,t,s),gi=_e}else _f(e,t,s);break}default:{_f(e,t,s);return}}}function R9(e){e.memoizedState}function L9(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&b6(y)}}}}function mA(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new y9),t.forEach(function(u){var p=$z.bind(null,e,u);if(!s.has(u)){if(s.add(u),Ja)if(ug!==null&&cg!==null)$y(cg,ug);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function O9(e,t,s){ug=s,cg=e,$n(t),gA(t,e),$n(t),ug=null,cg=null}function lu(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{N9(e,t,y)}catch(F){yr(y,t,F)}}var w=si();if(t.subtreeFlags&Vs)for(var _=t.child;_!==null;)$n(_),gA(_,e),_=_.sibling;$n(w)}function gA(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case C:case W:case ae:case ue:{if(lu(t,e),fc(e),p&mn){try{ou(sc|Na,e,e.return),xf(sc|Na,e)}catch(Mt){yr(e,e.return,Mt)}if(e.mode&Tn){try{dc(),ou(Ra|Na,e,e.return)}catch(Mt){yr(e,e.return,Mt)}cc(e)}else try{ou(Ra|Na,e,e.return)}catch(Mt){yr(e,e.return,Mt)}}return}case E:{lu(t,e),fc(e),p&Jn&&u!==null&&dg(u,u.return);return}case O:{lu(t,e),fc(e),p&Jn&&u!==null&&dg(u,u.return);{if(e.flags&Pt){var y=e.stateNode;try{mT(y)}catch(Mt){yr(e,e.return,Mt)}}if(p&mn){var w=e.stateNode;if(w!=null){var _=e.memoizedProps,F=u!==null?u.memoizedProps:_,B=e.type,I=e.updateQueue;if(e.updateQueue=null,I!==null)try{V8(w,I,B,F,_,e)}catch(Mt){yr(e,e.return,Mt)}}}}return}case j:{if(lu(t,e),fc(e),p&mn){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var re=e.stateNode,te=e.memoizedProps,fe=u!==null?u.memoizedProps:te;try{Y8(re,fe,te)}catch(Mt){yr(e,e.return,Mt)}}return}case P:{if(lu(t,e),fc(e),p&mn&&u!==null){var ge=u.memoizedState;if(ge.isDehydrated)try{y6(t.containerInfo)}catch(Mt){yr(e,e.return,Mt)}}return}case R:{lu(t,e),fc(e);return}case X:{lu(t,e),fc(e);var _e=e.child;if(_e.flags&Or){var rt=_e.stateNode,St=_e.memoizedState,Rt=St!==null;if(rt.isHidden=Rt,Rt){var pn=_e.alternate!==null&&_e.alternate.memoizedState!==null;pn||gz()}}if(p&mn){try{R9(e)}catch(Mt){yr(e,e.return,Mt)}mA(e)}return}case Qe:{var cn=u!==null&&u.memoizedState!==null;if(e.mode&an){var se=gi;gi=se||cn,lu(t,e),gi=se}else lu(t,e);if(fc(e),p&Or){var Ce=e.stateNode,de=e.memoizedState,Ue=de!==null,dt=e;if(Ce.isHidden=Ue,Ue&&!cn&&(dt.mode&an)!==xt){bt=dt;for(var st=dt.child;st!==null;)bt=st,M9(st),st=st.sibling}F9(dt,Ue)}return}case We:{lu(t,e),fc(e),p&mn&&mA(e);return}case Me:return;default:{lu(t,e),fc(e);return}}}function fc(e){var t=e.flags;if(t&Fr){try{P9(e)}catch(s){yr(e,e.return,s)}e.flags&=-3}t&Ni&&(e.flags&=-4097)}function B9(e,t,s){ug=s,cg=t,bt=e,vA(e,t,s),ug=null,cg=null}function vA(e,t,s){for(var u=(e.mode&an)!==xt;bt!==null;){var p=bt,y=p.child;if(p.tag===Qe&&u){var w=p.memoizedState!==null,_=w||Aw;if(_){XS(e,t,s);continue}else{var F=p.alternate,B=F!==null&&F.memoizedState!==null,I=B||gi,re=Aw,te=gi;Aw=_,gi=I,gi&&!te&&(bt=p,I9(p));for(var fe=y;fe!==null;)bt=fe,vA(fe,t,s),fe=fe.sibling;bt=p,Aw=re,gi=te,XS(e,t,s);continue}}(p.subtreeFlags&Ys)!==Ct&&y!==null?(y.return=p,bt=y):XS(e,t,s)}}function XS(e,t,s){for(;bt!==null;){var u=bt;if((u.flags&Ys)!==Ct){var p=u.alternate;$n(u);try{E9(t,p,u,s)}catch(w){yr(u,u.return,w)}ur()}if(u===e){bt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,bt=y;return}bt=u.return}}function M9(e){for(;bt!==null;){var t=bt,s=t.child;switch(t.tag){case C:case W:case ae:case ue:{if(t.mode&Tn)try{dc(),ou(Ra,t,t.return)}finally{cc(t)}else ou(Ra,t,t.return);break}case E:{dg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&VS(t,t.return,u);break}case O:{dg(t,t.return);break}case Qe:{var p=t.memoizedState!==null;if(p){yA(e);continue}break}}s!==null?(s.return=t,bt=s):yA(e)}}function yA(e){for(;bt!==null;){var t=bt;if(t===e){bt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,bt=s;return}bt=t.return}}function I9(e){for(;bt!==null;){var t=bt,s=t.child;if(t.tag===Qe){var u=t.memoizedState!==null;if(u){bA(e);continue}}s!==null?(s.return=t,bt=s):bA(e)}}function bA(e){for(;bt!==null;){var t=bt;$n(t);try{T9(t)}catch(u){yr(t,t.return,u)}if(ur(),t===e){bt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,bt=s;return}bt=t.return}}function j9(e,t,s,u){bt=t,z9(t,e,s,u)}function z9(e,t,s,u){for(;bt!==null;){var p=bt,y=p.child;(p.subtreeFlags&Bo)!==Ct&&y!==null?(y.return=p,bt=y):U9(e,t,s,u)}}function U9(e,t,s,u){for(;bt!==null;){var p=bt;if((p.flags&Va)!==Ct){$n(p);try{H9(t,p,s,u)}catch(w){yr(p,p.return,w)}ur()}if(p===e){bt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,bt=y;return}bt=p.return}}function H9(e,t,s,u){switch(t.tag){case C:case W:case ue:{if(t.mode&Tn){hS();try{xf(hi|Na,t)}finally{pS(t)}}else xf(hi|Na,t);break}}}function W9(e){bt=e,q9()}function q9(){for(;bt!==null;){var e=bt,t=e.child;if((bt.flags&Pi)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];bt=p,G9(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var _=w.sibling;w.sibling=null,w=_}while(w!==null)}}}bt=e}}(e.subtreeFlags&Bo)!==Ct&&t!==null?(t.return=e,bt=t):V9()}}function V9(){for(;bt!==null;){var e=bt;(e.flags&Va)!==Ct&&($n(e),Y9(e),ur());var t=e.sibling;if(t!==null){t.return=e.return,bt=t;return}bt=e.return}}function Y9(e){switch(e.tag){case C:case W:case ue:{e.mode&Tn?(hS(),ou(hi|Na,e,e.return),pS(e)):ou(hi|Na,e,e.return);break}}}function G9(e,t){for(;bt!==null;){var s=bt;$n(s),J9(s,t),ur();var u=s.child;u!==null?(u.return=s,bt=u):X9(e)}}function X9(e){for(;bt!==null;){var t=bt,s=t.sibling,u=t.return;if(dA(t),t===e){bt=null;return}if(s!==null){s.return=u,bt=s;return}bt=u}}function J9(e,t){switch(e.tag){case C:case W:case ue:{e.mode&Tn?(hS(),ou(hi,e,t),pS(e)):ou(hi,e,t);break}}}function Q9(e){switch(e.tag){case C:case W:case ue:{try{xf(Ra|Na,e)}catch(s){yr(e,e.return,s)}break}case E:{var t=e.stateNode;try{t.componentDidMount()}catch(s){yr(e,e.return,s)}break}}}function K9(e){switch(e.tag){case C:case W:case ue:{try{xf(hi|Na,e)}catch(t){yr(e,e.return,t)}break}}}function Z9(e){switch(e.tag){case C:case W:case ue:{try{ou(Ra|Na,e,e.return)}catch(s){yr(e,e.return,s)}break}case E:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&VS(e,e.return,t);break}}}function ez(e){switch(e.tag){case C:case W:case ue:try{ou(hi|Na,e,e.return)}catch(t){yr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var wy=Symbol.for;wy("selector.component"),wy("selector.has_pseudo_class"),wy("selector.role"),wy("selector.test_id"),wy("selector.text")}var tz=[];function nz(){tz.forEach(function(e){return e()})}var rz=i.ReactCurrentActQueue;function az(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function kA(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&rz.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var iz=Math.ceil,JS=i.ReactCurrentDispatcher,QS=i.ReactCurrentOwner,yi=i.ReactCurrentBatchConfig,uu=i.ReactCurrentActQueue,Ba=0,wA=1,bi=2,ll=4,bd=0,Dy=1,fh=2,Pw=3,Sy=4,DA=5,KS=6,xn=Ba,po=null,Gr=null,Ma=T,pc=T,ZS=gf(T),Ia=bd,Cy=null,Nw=T,xy=T,Rw=T,_y=null,Yo=null,eC=0,SA=500,CA=1/0,oz=500,kd=null;function Ey(){CA=Br()+oz}function xA(){return CA}var Lw=!1,tC=null,fg=null,ph=!1,Ef=null,Ty=T,nC=[],rC=null,sz=50,Fy=0,aC=null,iC=!1,Ow=!1,lz=50,pg=0,Bw=null,Mw=dr,Iw=T,_A=!1;function jw(){return po}function ho(){return(xn&(bi|ll))!==Ba?Br():(Mw!==dr||(Mw=Br()),Mw)}function Tf(e){var t=e.mode;if((t&an)===xt)return U;if((xn&bi)!==Ba&&Ma!==T)return Ip(Ma);var s=r5()!==n5;if(s){if(yi.transition!==null){var u=yi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Iw===M&&(Iw=yv()),Iw}var p=bs();if(p!==M)return p;var y=z8();return y}function uz(e){var t=e.mode;return(t&an)===xt?U:zb()}function ja(e,t,s,u){Nz(),_A&&m("useInsertionEffect must not schedule updates."),iC&&(Ow=!0),nd(e,s,u),(xn&bi)!==T&&e===po?Oz(t):(Ja&&Cm(e,t,s),Bz(t),e===po&&((xn&bi)===Ba&&(xy=Zt(xy,s)),Ia===Sy&&Ff(e,Ma)),Go(e,u),s===U&&xn===Ba&&(t.mode&an)===xt&&!uu.isBatchingLegacy&&(Ey(),_T()))}function cz(e,t,s){var u=e.current;u.lanes=t,nd(e,t,s),Go(e,s)}function dz(e){return(xn&bi)!==Ba}function Go(e,t){var s=e.callbackNode;km(e,t);var u=bm(e,e===po?Ma:T);if(u===T){s!==null&&UA(s),e.callbackNode=null,e.callbackPriority=M;return}var p=Xu(u),y=e.callbackPriority;if(y===p&&!(uu.current!==null&&s!==fC)){s==null&&y!==U&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&UA(s);var w;if(p===U)e.tag===vf?(uu.isBatchingLegacy!==null&&(uu.didScheduleLegacyUpdate=!0),I6(FA.bind(null,e))):xT(FA.bind(null,e)),uu.current!==null?uu.current.push(yf):H8(function(){(xn&(bi|ll))===Ba&&yf()}),w=null;else{var _;switch(Aa(u)){case Mi:_=Vu;break;case ys:_=Xs;break;case Zs:_=Io;break;case rd:_=hs;break;default:_=Io;break}w=pC(_,EA.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function EA(e,t){if(F5(),Mw=dr,Iw=T,(xn&(bi|ll))!==Ba)throw new Error("Should not already be working.");var s=e.callbackNode,u=Dd();if(u&&e.callbackNode!==s)return null;var p=bm(e,e===po?Ma:T);if(p===T)return null;var y=!Dm(e,p)&&!jb(e,p)&&!t,w=y?wz(e,p):Uw(e,p);if(w!==bd){if(w===fh){var _=wm(e);_!==T&&(p=_,w=oC(e,_))}if(w===Dy){var F=Cy;throw hh(e,T),Ff(e,p),Go(e,Br()),F}if(w===KS)Ff(e,p);else{var B=!Dm(e,p),I=e.current.alternate;if(B&&!pz(I)){if(w=Uw(e,p),w===fh){var re=wm(e);re!==T&&(p=re,w=oC(e,re))}if(w===Dy){var te=Cy;throw hh(e,T),Ff(e,p),Go(e,Br()),te}}e.finishedWork=I,e.finishedLanes=p,fz(e,w,p)}}return Go(e,Br()),e.callbackNode===s?EA.bind(null,e):null}function oC(e,t){var s=_y;if(xm(e)){var u=hh(e,t);u.flags|=ya,P6(e.containerInfo)}var p=Uw(e,t);if(p!==fh){var y=Yo;Yo=s,y!==null&&TA(y)}return p}function TA(e){Yo===null?Yo=e:Yo.push.apply(Yo,e)}function fz(e,t,s){switch(t){case bd:case Dy:throw new Error("Root did not complete. This is a bug in React.");case fh:{mh(e,Yo,kd);break}case Pw:{if(Ff(e,s),ed(s)&&!HA()){var u=eC+SA-Br();if(u>10){var p=bm(e,T);if(p!==T)break;var y=e.suspendedLanes;if(!td(y,s)){ho(),wv(e,y);break}e.timeoutHandle=rD(mh.bind(null,e,Yo,kd),u);break}}mh(e,Yo,kd);break}case Sy:{if(Ff(e,s),gv(s))break;if(!HA()){var w=vs(e,s),_=w,F=Br()-_,B=Pz(F)-F;if(B>10){e.timeoutHandle=rD(mh.bind(null,e,Yo,kd),B);break}}mh(e,Yo,kd);break}case DA:{mh(e,Yo,kd);break}default:throw new Error("Unknown root exit status.")}}function pz(e){for(var t=e;;){if(t.flags&Wu){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,_=y.value;try{if(!ie(w(),_))return!1}catch{return!1}}}}var F=t.child;if(t.subtreeFlags&Wu&&F!==null){F.return=t,t=F;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Ff(e,t){t=jp(t,Rw),t=jp(t,xy),Ub(e,t)}function FA(e){if(A5(),(xn&(bi|ll))!==Ba)throw new Error("Should not already be working.");Dd();var t=bm(e,T);if(!Bi(t,U))return Go(e,Br()),null;var s=Uw(e,t);if(e.tag!==vf&&s===fh){var u=wm(e);u!==T&&(t=u,s=oC(e,u))}if(s===Dy){var p=Cy;throw hh(e,T),Ff(e,t),Go(e,Br()),p}if(s===KS)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,mh(e,Yo,kd),Go(e,Br()),null}function hz(e,t){t!==T&&(zp(e,Zt(t,U)),Go(e,Br()),(xn&(bi|ll))===Ba&&(Ey(),yf()))}function sC(e,t){var s=xn;xn|=wA;try{return e(t)}finally{xn=s,xn===Ba&&!uu.isBatchingLegacy&&(Ey(),_T())}}function mz(e,t,s,u,p){var y=bs(),w=yi.transition;try{return yi.transition=null,la(Mi),e(t,s,u,p)}finally{la(y),yi.transition=w,xn===Ba&&Ey()}}function wd(e){Ef!==null&&Ef.tag===vf&&(xn&(bi|ll))===Ba&&Dd();var t=xn;xn|=wA;var s=yi.transition,u=bs();try{return yi.transition=null,la(Mi),e?e():void 0}finally{la(u),yi.transition=s,xn=t,(xn&(bi|ll))===Ba&&yf()}}function AA(){return(xn&(bi|ll))!==Ba}function zw(e,t){Ui(ZS,pc,e),pc=Zt(pc,t)}function lC(e){pc=ZS.current,zi(ZS,e)}function hh(e,t){e.finishedWork=null,e.finishedLanes=T;var s=e.timeoutHandle;if(s!==aD&&(e.timeoutHandle=aD,U8(s)),Gr!==null)for(var u=Gr.return;u!==null;){var p=u.alternate;iA(p,u),u=u.return}po=e;var y=gh(e.current,null);return Gr=y,Ma=pc=t,Ia=bd,Cy=null,Nw=T,xy=T,Rw=T,_y=null,Yo=null,c5(),tu.discardPendingWarnings(),y}function $A(e,t){do{var s=Gr;try{if(Jk(),tF(),ur(),QS.current=null,s===null||s.return===null){Ia=Dy,Cy=t,Gr=null;return}if(Je&&s.mode&Tn&&xw(s,!0),it)if(Kr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;jo(s,u,Ma)}else Yc(s,t,Ma);I5(e,s.return,s,t,Ma),LA(s)}catch(p){t=p,Gr===s&&s!==null?(s=s.return,Gr=s):s=Gr;continue}return}while(!0)}function PA(){var e=JS.current;return JS.current=kw,e===null?kw:e}function NA(e){JS.current=e}function gz(){eC=Br()}function Ay(e){Nw=Zt(e,Nw)}function vz(){Ia===bd&&(Ia=Pw)}function uC(){(Ia===bd||Ia===Pw||Ia===fh)&&(Ia=Sy),po!==null&&(Mp(Nw)||Mp(xy))&&Ff(po,Ma)}function yz(e){Ia!==Sy&&(Ia=fh),_y===null?_y=[e]:_y.push(e)}function bz(){return Ia===bd}function Uw(e,t){var s=xn;xn|=bi;var u=PA();if(po!==e||Ma!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ma),p.clear()),Up(e,t)}kd=Wb(),hh(e,t)}Hl(t);do try{kz();break}catch(y){$A(e,y)}while(!0);if(Jk(),xn=s,NA(u),Gr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return of(),po=null,Ma=T,Ia}function kz(){for(;Gr!==null;)RA(Gr)}function wz(e,t){var s=xn;xn|=bi;var u=PA();if(po!==e||Ma!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ma),p.clear()),Up(e,t)}kd=Wb(),Ey(),hh(e,t)}Hl(t);do try{Dz();break}catch(y){$A(e,y)}while(!0);return Jk(),NA(u),xn=s,Gr!==null?($p(),bd):(of(),po=null,Ma=T,Ia)}function Dz(){for(;Gr!==null&&!Sp();)RA(Gr)}function RA(e){var t=e.alternate;$n(e);var s;(e.mode&Tn)!==xt?(fS(e),s=cC(t,e,pc),xw(e,!0)):s=cC(t,e,pc),ur(),e.memoizedProps=e.pendingProps,s===null?LA(e):Gr=s,QS.current=null}function LA(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Hc)===Ct){$n(t);var p=void 0;if((t.mode&Tn)===xt?p=aA(s,t,pc):(fS(t),p=aA(s,t,pc),xw(t,!1)),ur(),p!==null){Gr=p;return}}else{var y=v9(s,t);if(y!==null){y.flags&=fs,Gr=y;return}if((t.mode&Tn)!==xt){xw(t,!1);for(var w=t.actualDuration,_=t.child;_!==null;)w+=_.actualDuration,_=_.sibling;t.actualDuration=w}if(u!==null)u.flags|=Hc,u.subtreeFlags=Ct,u.deletions=null;else{Ia=KS,Gr=null;return}}var F=t.sibling;if(F!==null){Gr=F;return}t=u,Gr=t}while(t!==null);Ia===bd&&(Ia=DA)}function mh(e,t,s){var u=bs(),p=yi.transition;try{yi.transition=null,la(Mi),Sz(e,t,s,u)}finally{yi.transition=p,la(u)}return null}function Sz(e,t,s,u){do Dd();while(Ef!==null);if(Rz(),(xn&(bi|ll))!==Ba)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Tp(y),p===null)return Yu(),null;if(y===T&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=T,p===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=M;var w=Zt(p.lanes,p.childLanes);Dv(e,w),e===po&&(po=null,Gr=null,Ma=T),((p.subtreeFlags&Bo)!==Ct||(p.flags&Bo)!==Ct)&&(ph||(ph=!0,rC=s,pC(Io,function(){return Dd(),null})));var _=(p.subtreeFlags&(qs|Vs|Ys|Bo))!==Ct,F=(p.flags&(qs|Vs|Ys|Bo))!==Ct;if(_||F){var B=yi.transition;yi.transition=null;var I=bs();la(Mi);var re=xn;xn|=ll,QS.current=null,D9(e,p),_F(),O9(e,p,y),L8(e.containerInfo),e.current=p,zl(y),B9(p,e,y),Gc(),Cp(),xn=re,la(I),yi.transition=B}else e.current=p,_F();var te=ph;if(ph?(ph=!1,Ef=e,Ty=y):(pg=0,Bw=null),w=e.pendingLanes,w===T&&(fg=null),te||IA(e.current,!1),nf(p.stateNode,u),Ja&&e.memoizedUpdaters.clear(),nz(),Go(e,Br()),t!==null)for(var fe=e.onRecoverableError,ge=0;ge<t.length;ge++){var _e=t[ge],rt=_e.stack,St=_e.digest;fe(_e.value,{componentStack:rt,digest:St})}if(Lw){Lw=!1;var Rt=tC;throw tC=null,Rt}return Bi(Ty,U)&&e.tag!==vf&&Dd(),w=e.pendingLanes,Bi(w,U)?(T5(),e===aC?Fy++:(Fy=0,aC=e)):Fy=0,yf(),Yu(),null}function Dd(){if(Ef!==null){var e=Aa(Ty),t=Vb(Zs,e),s=yi.transition,u=bs();try{return yi.transition=null,la(t),xz()}finally{la(u),yi.transition=s}}return!1}function Cz(e){nC.push(e),ph||(ph=!0,pC(Io,function(){return Dd(),null}))}function xz(){if(Ef===null)return!1;var e=rC;rC=null;var t=Ef,s=Ty;if(Ef=null,Ty=T,(xn&(bi|ll))!==Ba)throw new Error("Cannot flush passive effects while already rendering.");iC=!0,Ow=!1,Ul(s);var u=xn;xn|=ll,W9(t.current),j9(t,t.current,s,e);{var p=nC;nC=[];for(var y=0;y<p.length;y++){var w=p[y];_9(t,w)}}Ap(),IA(t.current,!0),xn=u,yf(),Ow?t===Bw?pg++:(pg=0,Bw=t):pg=0,iC=!1,Ow=!1,_p(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function OA(e){return fg!==null&&fg.has(e)}function _z(e){fg===null?fg=new Set([e]):fg.add(e)}function Ez(e){Lw||(Lw=!0,tC=e)}var Tz=Ez;function BA(e,t,s){var u=ch(s,t),p=RF(e,u,U),y=kf(e,p,U),w=ho();y!==null&&(nd(y,U,w),Go(y,w))}function yr(e,t,s){if(b9(s),Py(!1),e.tag===P){BA(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===P){BA(u,e,s);return}else if(u.tag===E){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!OA(y)){var w=ch(s,e),_=AS(u,w,U),F=kf(u,_,U),B=ho();F!==null&&(nd(F,U,B),Go(F,B));return}}u=u.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
276
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:B=" You returned: "+_,m("%s must not return anything besides a function, which is used for clean-up.%s",F,B)}}}y=y.next}while(y!==p)}}function _9(e,t){if((t.flags&mn)!==Ct)switch(t.tag){case K:{var s=t.stateNode.passiveEffectDuration,u=t.memoizedProps,p=u.id,y=u.onPostCommit,w=xF(),_=t.alternate===null?"mount":"update";CF()&&(_="nested-update"),typeof y=="function"&&y(p,_,s,w);var F=t.return;e:for(;F!==null;){switch(F.tag){case P:var B=F.stateNode;B.passiveEffectDuration+=s;break e;case K:var j=F.stateNode;j.passiveEffectDuration+=s;break e}F=F.return}break}}}function E9(e,t,s,u){if((s.flags&Ys)!==Ct)switch(s.tag){case C:case W:case ue:{if(!gi)if(s.mode&Tn)try{dc(),xf(Ra|Na,s)}finally{cc(s)}else xf(Ra|Na,s);break}case E:{var p=s.stateNode;if(s.flags&mn&&!gi)if(t===null)if(s.type===s.elementType&&!dh&&(p.props!==s.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(s)||"instance")),s.mode&Tn)try{dc(),p.componentDidMount()}finally{cc(s)}else p.componentDidMount();else{var y=s.elementType===s.type?t.memoizedProps:au(s.type,t.memoizedProps),w=t.memoizedState;if(s.type===s.elementType&&!dh&&(p.props!==s.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(s)||"instance")),s.mode&Tn)try{dc(),p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}finally{cc(s)}else p.componentDidUpdate(y,w,p.__reactInternalSnapshotBeforeUpdate)}var _=s.updateQueue;_!==null&&(s.type===s.elementType&&!dh&&(p.props!==s.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Bt(s)||"instance"),p.state!==s.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Bt(s)||"instance")),XT(s,_,p));break}case P:{var F=s.updateQueue;if(F!==null){var B=null;if(s.child!==null)switch(s.child.tag){case O:B=s.child.stateNode;break;case E:B=s.child.stateNode;break}XT(s,F,B)}break}case O:{var j=s.stateNode;if(t===null&&s.flags&mn){var re=s.type,te=s.memoizedProps;q8(j,re,te)}break}case I:break;case R:break;case K:{{var fe=s.memoizedProps,ge=fe.onCommit,_e=fe.onRender,rt=s.stateNode.effectDuration,St=xF(),Rt=t===null?"mount":"update";CF()&&(Rt="nested-update"),typeof _e=="function"&&_e(s.memoizedProps.id,Rt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,St);{typeof ge=="function"&&ge(s.memoizedProps.id,Rt,rt,St),Cz(s);var pn=s.return;e:for(;pn!==null;){switch(pn.tag){case P:var cn=pn.stateNode;cn.effectDuration+=rt;break e;case K:var se=pn.stateNode;se.effectDuration+=rt;break e}pn=pn.return}}}break}case X:{L9(e,s);break}case We:case ye:case Me:case Qe:case Ie:case Le:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}gi||s.flags&Jn&&cA(s)}function T9(e){switch(e.tag){case C:case W:case ue:{if(e.mode&Tn)try{dc(),sA(e,e.return)}finally{cc(e)}else sA(e,e.return);break}case E:{var t=e.stateNode;typeof t.componentDidMount=="function"&&w9(e,e.return,t),lA(e,e.return);break}case O:{lA(e,e.return);break}}}function F9(e,t){for(var s=null,u=e;;){if(u.tag===O){if(s===null){s=u;try{var p=u.stateNode;t?t6(p):r6(u.stateNode,u.memoizedProps)}catch(w){yr(e,e.return,w)}}}else if(u.tag===I){if(s===null)try{var y=u.stateNode;t?n6(y):a6(y,u.memoizedProps)}catch(w){yr(e,e.return,w)}}else if(!((u.tag===Qe||u.tag===Ie)&&u.memoizedState!==null&&u!==e)&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;s===u&&(s=null),u=u.return}s===u&&(s=null),u.sibling.return=u.return,u=u.sibling}}function cA(e){var t=e.ref;if(t!==null){var s=e.stateNode,u;switch(e.tag){case O:u=s;break;default:u=s}if(typeof t=="function"){var p;if(e.mode&Tn)try{dc(),p=t(u)}finally{cc(e)}else p=t(u);typeof p=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Bt(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Bt(e)),t.current=u}}function A9(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function dA(e){var t=e.alternate;t!==null&&(e.alternate=null,dA(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===O){var s=e.stateNode;s!==null&&O6(s)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function $9(e){for(var t=e.return;t!==null;){if(fA(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function fA(e){return e.tag===O||e.tag===P||e.tag===R}function pA(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||fA(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==O&&t.tag!==I&&t.tag!==Ye;){if(t.flags&Fr||t.child===null||t.tag===R)continue e;t.child.return=t,t=t.child}if(!(t.flags&Fr))return t.stateNode}}function P9(e){var t=$9(e);switch(t.tag){case O:{var s=t.stateNode;t.flags&Pt&&(mT(s),t.flags&=-33);var u=pA(e);GS(e,u,s);break}case P:case R:{var p=t.stateNode.containerInfo,y=pA(e);YS(e,y,p);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function YS(e,t,s){var u=e.tag,p=u===O||u===I;if(p){var y=e.stateNode;t?Q8(s,y,t):X8(s,y)}else if(u!==R){var w=e.child;if(w!==null){YS(w,t,s);for(var _=w.sibling;_!==null;)YS(_,t,s),_=_.sibling}}}function GS(e,t,s){var u=e.tag,p=u===O||u===I;if(p){var y=e.stateNode;t?J8(s,y,t):G8(s,y)}else if(u!==R){var w=e.child;if(w!==null){GS(w,t,s);for(var _=w.sibling;_!==null;)GS(_,t,s),_=_.sibling}}}var vi=null,su=!1;function N9(e,t,s){{var u=t;e:for(;u!==null;){switch(u.tag){case O:{vi=u.stateNode,su=!1;break e}case P:{vi=u.stateNode.containerInfo,su=!0;break e}case R:{vi=u.stateNode.containerInfo,su=!0;break e}}u=u.return}if(vi===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");hA(e,t,s),vi=null,su=!1}A9(s)}function _f(e,t,s){for(var u=s.child;u!==null;)hA(e,t,u),u=u.sibling}function hA(e,t,s){switch(Ep(s),s.tag){case O:gi||dg(s,t);case I:{{var u=vi,p=su;vi=null,_f(e,t,s),vi=u,su=p,vi!==null&&(su?Z8(vi,s.stateNode):K8(vi,s.stateNode))}return}case Ye:{vi!==null&&(su?e6(vi,s.stateNode):iD(vi,s.stateNode));return}case R:{{var y=vi,w=su;vi=s.stateNode.containerInfo,su=!0,_f(e,t,s),vi=y,su=w}return}case C:case W:case ae:case ue:{if(!gi){var _=s.updateQueue;if(_!==null){var F=_.lastEffect;if(F!==null){var B=F.next,j=B;do{var re=j,te=re.destroy,fe=re.tag;te!==void 0&&((fe&sc)!==Vo?$w(s,t,te):(fe&Ra)!==Vo&&(Vc(s),s.mode&Tn?(dc(),$w(s,t,te),cc(s)):$w(s,t,te),Fp())),j=j.next}while(j!==B)}}}_f(e,t,s);return}case E:{if(!gi){dg(s,t);var ge=s.stateNode;typeof ge.componentWillUnmount=="function"&&VS(s,t,ge)}_f(e,t,s);return}case Me:{_f(e,t,s);return}case Qe:{if(s.mode&an){var _e=gi;gi=_e||s.memoizedState!==null,_f(e,t,s),gi=_e}else _f(e,t,s);break}default:{_f(e,t,s);return}}}function R9(e){e.memoizedState}function L9(e,t){var s=t.memoizedState;if(s===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var y=p.dehydrated;y!==null&&b6(y)}}}}function mA(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new y9),t.forEach(function(u){var p=$z.bind(null,e,u);if(!s.has(u)){if(s.add(u),Ja)if(ug!==null&&cg!==null)$y(cg,ug);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(p,p)}})}}function O9(e,t,s){ug=s,cg=e,$n(t),gA(t,e),$n(t),ug=null,cg=null}function lu(e,t,s){var u=t.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{N9(e,t,y)}catch(F){yr(y,t,F)}}var w=si();if(t.subtreeFlags&Vs)for(var _=t.child;_!==null;)$n(_),gA(_,e),_=_.sibling;$n(w)}function gA(e,t,s){var u=e.alternate,p=e.flags;switch(e.tag){case C:case W:case ae:case ue:{if(lu(t,e),fc(e),p&mn){try{ou(sc|Na,e,e.return),xf(sc|Na,e)}catch(Mt){yr(e,e.return,Mt)}if(e.mode&Tn){try{dc(),ou(Ra|Na,e,e.return)}catch(Mt){yr(e,e.return,Mt)}cc(e)}else try{ou(Ra|Na,e,e.return)}catch(Mt){yr(e,e.return,Mt)}}return}case E:{lu(t,e),fc(e),p&Jn&&u!==null&&dg(u,u.return);return}case O:{lu(t,e),fc(e),p&Jn&&u!==null&&dg(u,u.return);{if(e.flags&Pt){var y=e.stateNode;try{mT(y)}catch(Mt){yr(e,e.return,Mt)}}if(p&mn){var w=e.stateNode;if(w!=null){var _=e.memoizedProps,F=u!==null?u.memoizedProps:_,B=e.type,j=e.updateQueue;if(e.updateQueue=null,j!==null)try{V8(w,j,B,F,_,e)}catch(Mt){yr(e,e.return,Mt)}}}}return}case I:{if(lu(t,e),fc(e),p&mn){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var re=e.stateNode,te=e.memoizedProps,fe=u!==null?u.memoizedProps:te;try{Y8(re,fe,te)}catch(Mt){yr(e,e.return,Mt)}}return}case P:{if(lu(t,e),fc(e),p&mn&&u!==null){var ge=u.memoizedState;if(ge.isDehydrated)try{y6(t.containerInfo)}catch(Mt){yr(e,e.return,Mt)}}return}case R:{lu(t,e),fc(e);return}case X:{lu(t,e),fc(e);var _e=e.child;if(_e.flags&Or){var rt=_e.stateNode,St=_e.memoizedState,Rt=St!==null;if(rt.isHidden=Rt,Rt){var pn=_e.alternate!==null&&_e.alternate.memoizedState!==null;pn||gz()}}if(p&mn){try{R9(e)}catch(Mt){yr(e,e.return,Mt)}mA(e)}return}case Qe:{var cn=u!==null&&u.memoizedState!==null;if(e.mode&an){var se=gi;gi=se||cn,lu(t,e),gi=se}else lu(t,e);if(fc(e),p&Or){var Ce=e.stateNode,de=e.memoizedState,Ue=de!==null,dt=e;if(Ce.isHidden=Ue,Ue&&!cn&&(dt.mode&an)!==xt){bt=dt;for(var st=dt.child;st!==null;)bt=st,M9(st),st=st.sibling}F9(dt,Ue)}return}case We:{lu(t,e),fc(e),p&mn&&mA(e);return}case Me:return;default:{lu(t,e),fc(e);return}}}function fc(e){var t=e.flags;if(t&Fr){try{P9(e)}catch(s){yr(e,e.return,s)}e.flags&=-3}t&Ni&&(e.flags&=-4097)}function B9(e,t,s){ug=s,cg=t,bt=e,vA(e,t,s),ug=null,cg=null}function vA(e,t,s){for(var u=(e.mode&an)!==xt;bt!==null;){var p=bt,y=p.child;if(p.tag===Qe&&u){var w=p.memoizedState!==null,_=w||Aw;if(_){XS(e,t,s);continue}else{var F=p.alternate,B=F!==null&&F.memoizedState!==null,j=B||gi,re=Aw,te=gi;Aw=_,gi=j,gi&&!te&&(bt=p,I9(p));for(var fe=y;fe!==null;)bt=fe,vA(fe,t,s),fe=fe.sibling;bt=p,Aw=re,gi=te,XS(e,t,s);continue}}(p.subtreeFlags&Ys)!==Ct&&y!==null?(y.return=p,bt=y):XS(e,t,s)}}function XS(e,t,s){for(;bt!==null;){var u=bt;if((u.flags&Ys)!==Ct){var p=u.alternate;$n(u);try{E9(t,p,u,s)}catch(w){yr(u,u.return,w)}ur()}if(u===e){bt=null;return}var y=u.sibling;if(y!==null){y.return=u.return,bt=y;return}bt=u.return}}function M9(e){for(;bt!==null;){var t=bt,s=t.child;switch(t.tag){case C:case W:case ae:case ue:{if(t.mode&Tn)try{dc(),ou(Ra,t,t.return)}finally{cc(t)}else ou(Ra,t,t.return);break}case E:{dg(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&VS(t,t.return,u);break}case O:{dg(t,t.return);break}case Qe:{var p=t.memoizedState!==null;if(p){yA(e);continue}break}}s!==null?(s.return=t,bt=s):yA(e)}}function yA(e){for(;bt!==null;){var t=bt;if(t===e){bt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,bt=s;return}bt=t.return}}function I9(e){for(;bt!==null;){var t=bt,s=t.child;if(t.tag===Qe){var u=t.memoizedState!==null;if(u){bA(e);continue}}s!==null?(s.return=t,bt=s):bA(e)}}function bA(e){for(;bt!==null;){var t=bt;$n(t);try{T9(t)}catch(u){yr(t,t.return,u)}if(ur(),t===e){bt=null;return}var s=t.sibling;if(s!==null){s.return=t.return,bt=s;return}bt=t.return}}function j9(e,t,s,u){bt=t,z9(t,e,s,u)}function z9(e,t,s,u){for(;bt!==null;){var p=bt,y=p.child;(p.subtreeFlags&Bo)!==Ct&&y!==null?(y.return=p,bt=y):U9(e,t,s,u)}}function U9(e,t,s,u){for(;bt!==null;){var p=bt;if((p.flags&Va)!==Ct){$n(p);try{H9(t,p,s,u)}catch(w){yr(p,p.return,w)}ur()}if(p===e){bt=null;return}var y=p.sibling;if(y!==null){y.return=p.return,bt=y;return}bt=p.return}}function H9(e,t,s,u){switch(t.tag){case C:case W:case ue:{if(t.mode&Tn){hS();try{xf(hi|Na,t)}finally{pS(t)}}else xf(hi|Na,t);break}}}function W9(e){bt=e,q9()}function q9(){for(;bt!==null;){var e=bt,t=e.child;if((bt.flags&Pi)!==Ct){var s=e.deletions;if(s!==null){for(var u=0;u<s.length;u++){var p=s[u];bt=p,G9(p,e)}{var y=e.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var _=w.sibling;w.sibling=null,w=_}while(w!==null)}}}bt=e}}(e.subtreeFlags&Bo)!==Ct&&t!==null?(t.return=e,bt=t):V9()}}function V9(){for(;bt!==null;){var e=bt;(e.flags&Va)!==Ct&&($n(e),Y9(e),ur());var t=e.sibling;if(t!==null){t.return=e.return,bt=t;return}bt=e.return}}function Y9(e){switch(e.tag){case C:case W:case ue:{e.mode&Tn?(hS(),ou(hi|Na,e,e.return),pS(e)):ou(hi|Na,e,e.return);break}}}function G9(e,t){for(;bt!==null;){var s=bt;$n(s),J9(s,t),ur();var u=s.child;u!==null?(u.return=s,bt=u):X9(e)}}function X9(e){for(;bt!==null;){var t=bt,s=t.sibling,u=t.return;if(dA(t),t===e){bt=null;return}if(s!==null){s.return=u,bt=s;return}bt=u}}function J9(e,t){switch(e.tag){case C:case W:case ue:{e.mode&Tn?(hS(),ou(hi,e,t),pS(e)):ou(hi,e,t);break}}}function Q9(e){switch(e.tag){case C:case W:case ue:{try{xf(Ra|Na,e)}catch(s){yr(e,e.return,s)}break}case E:{var t=e.stateNode;try{t.componentDidMount()}catch(s){yr(e,e.return,s)}break}}}function K9(e){switch(e.tag){case C:case W:case ue:{try{xf(hi|Na,e)}catch(t){yr(e,e.return,t)}break}}}function Z9(e){switch(e.tag){case C:case W:case ue:{try{ou(Ra|Na,e,e.return)}catch(s){yr(e,e.return,s)}break}case E:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&VS(e,e.return,t);break}}}function ez(e){switch(e.tag){case C:case W:case ue:try{ou(hi|Na,e,e.return)}catch(t){yr(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var wy=Symbol.for;wy("selector.component"),wy("selector.has_pseudo_class"),wy("selector.role"),wy("selector.test_id"),wy("selector.text")}var tz=[];function nz(){tz.forEach(function(e){return e()})}var rz=i.ReactCurrentActQueue;function az(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,s=typeof jest<"u";return s&&t!==!1}}function kA(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&rz.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var iz=Math.ceil,JS=i.ReactCurrentDispatcher,QS=i.ReactCurrentOwner,yi=i.ReactCurrentBatchConfig,uu=i.ReactCurrentActQueue,Ba=0,wA=1,bi=2,ll=4,bd=0,Dy=1,fh=2,Pw=3,Sy=4,DA=5,KS=6,xn=Ba,po=null,Gr=null,Ma=T,pc=T,ZS=gf(T),Ia=bd,Cy=null,Nw=T,xy=T,Rw=T,_y=null,Yo=null,eC=0,SA=500,CA=1/0,oz=500,kd=null;function Ey(){CA=Br()+oz}function xA(){return CA}var Lw=!1,tC=null,fg=null,ph=!1,Ef=null,Ty=T,nC=[],rC=null,sz=50,Fy=0,aC=null,iC=!1,Ow=!1,lz=50,pg=0,Bw=null,Mw=dr,Iw=T,_A=!1;function jw(){return po}function ho(){return(xn&(bi|ll))!==Ba?Br():(Mw!==dr||(Mw=Br()),Mw)}function Tf(e){var t=e.mode;if((t&an)===xt)return U;if((xn&bi)!==Ba&&Ma!==T)return Ip(Ma);var s=r5()!==n5;if(s){if(yi.transition!==null){var u=yi.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return Iw===M&&(Iw=yv()),Iw}var p=bs();if(p!==M)return p;var y=z8();return y}function uz(e){var t=e.mode;return(t&an)===xt?U:zb()}function ja(e,t,s,u){Nz(),_A&&m("useInsertionEffect must not schedule updates."),iC&&(Ow=!0),nd(e,s,u),(xn&bi)!==T&&e===po?Oz(t):(Ja&&Cm(e,t,s),Bz(t),e===po&&((xn&bi)===Ba&&(xy=Zt(xy,s)),Ia===Sy&&Ff(e,Ma)),Go(e,u),s===U&&xn===Ba&&(t.mode&an)===xt&&!uu.isBatchingLegacy&&(Ey(),_T()))}function cz(e,t,s){var u=e.current;u.lanes=t,nd(e,t,s),Go(e,s)}function dz(e){return(xn&bi)!==Ba}function Go(e,t){var s=e.callbackNode;km(e,t);var u=bm(e,e===po?Ma:T);if(u===T){s!==null&&UA(s),e.callbackNode=null,e.callbackPriority=M;return}var p=Xu(u),y=e.callbackPriority;if(y===p&&!(uu.current!==null&&s!==fC)){s==null&&y!==U&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}s!=null&&UA(s);var w;if(p===U)e.tag===vf?(uu.isBatchingLegacy!==null&&(uu.didScheduleLegacyUpdate=!0),I6(FA.bind(null,e))):xT(FA.bind(null,e)),uu.current!==null?uu.current.push(yf):H8(function(){(xn&(bi|ll))===Ba&&yf()}),w=null;else{var _;switch(Aa(u)){case Mi:_=Vu;break;case ys:_=Xs;break;case Zs:_=Io;break;case rd:_=hs;break;default:_=Io;break}w=pC(_,EA.bind(null,e))}e.callbackPriority=p,e.callbackNode=w}function EA(e,t){if(F5(),Mw=dr,Iw=T,(xn&(bi|ll))!==Ba)throw new Error("Should not already be working.");var s=e.callbackNode,u=Dd();if(u&&e.callbackNode!==s)return null;var p=bm(e,e===po?Ma:T);if(p===T)return null;var y=!Dm(e,p)&&!jb(e,p)&&!t,w=y?wz(e,p):Uw(e,p);if(w!==bd){if(w===fh){var _=wm(e);_!==T&&(p=_,w=oC(e,_))}if(w===Dy){var F=Cy;throw hh(e,T),Ff(e,p),Go(e,Br()),F}if(w===KS)Ff(e,p);else{var B=!Dm(e,p),j=e.current.alternate;if(B&&!pz(j)){if(w=Uw(e,p),w===fh){var re=wm(e);re!==T&&(p=re,w=oC(e,re))}if(w===Dy){var te=Cy;throw hh(e,T),Ff(e,p),Go(e,Br()),te}}e.finishedWork=j,e.finishedLanes=p,fz(e,w,p)}}return Go(e,Br()),e.callbackNode===s?EA.bind(null,e):null}function oC(e,t){var s=_y;if(xm(e)){var u=hh(e,t);u.flags|=ya,P6(e.containerInfo)}var p=Uw(e,t);if(p!==fh){var y=Yo;Yo=s,y!==null&&TA(y)}return p}function TA(e){Yo===null?Yo=e:Yo.push.apply(Yo,e)}function fz(e,t,s){switch(t){case bd:case Dy:throw new Error("Root did not complete. This is a bug in React.");case fh:{mh(e,Yo,kd);break}case Pw:{if(Ff(e,s),ed(s)&&!HA()){var u=eC+SA-Br();if(u>10){var p=bm(e,T);if(p!==T)break;var y=e.suspendedLanes;if(!td(y,s)){ho(),wv(e,y);break}e.timeoutHandle=rD(mh.bind(null,e,Yo,kd),u);break}}mh(e,Yo,kd);break}case Sy:{if(Ff(e,s),gv(s))break;if(!HA()){var w=vs(e,s),_=w,F=Br()-_,B=Pz(F)-F;if(B>10){e.timeoutHandle=rD(mh.bind(null,e,Yo,kd),B);break}}mh(e,Yo,kd);break}case DA:{mh(e,Yo,kd);break}default:throw new Error("Unknown root exit status.")}}function pz(e){for(var t=e;;){if(t.flags&Wu){var s=t.updateQueue;if(s!==null){var u=s.stores;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p],w=y.getSnapshot,_=y.value;try{if(!ie(w(),_))return!1}catch{return!1}}}}var F=t.child;if(t.subtreeFlags&Wu&&F!==null){F.return=t,t=F;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Ff(e,t){t=jp(t,Rw),t=jp(t,xy),Ub(e,t)}function FA(e){if(A5(),(xn&(bi|ll))!==Ba)throw new Error("Should not already be working.");Dd();var t=bm(e,T);if(!Bi(t,U))return Go(e,Br()),null;var s=Uw(e,t);if(e.tag!==vf&&s===fh){var u=wm(e);u!==T&&(t=u,s=oC(e,u))}if(s===Dy){var p=Cy;throw hh(e,T),Ff(e,t),Go(e,Br()),p}if(s===KS)throw new Error("Root did not complete. This is a bug in React.");var y=e.current.alternate;return e.finishedWork=y,e.finishedLanes=t,mh(e,Yo,kd),Go(e,Br()),null}function hz(e,t){t!==T&&(zp(e,Zt(t,U)),Go(e,Br()),(xn&(bi|ll))===Ba&&(Ey(),yf()))}function sC(e,t){var s=xn;xn|=wA;try{return e(t)}finally{xn=s,xn===Ba&&!uu.isBatchingLegacy&&(Ey(),_T())}}function mz(e,t,s,u,p){var y=bs(),w=yi.transition;try{return yi.transition=null,la(Mi),e(t,s,u,p)}finally{la(y),yi.transition=w,xn===Ba&&Ey()}}function wd(e){Ef!==null&&Ef.tag===vf&&(xn&(bi|ll))===Ba&&Dd();var t=xn;xn|=wA;var s=yi.transition,u=bs();try{return yi.transition=null,la(Mi),e?e():void 0}finally{la(u),yi.transition=s,xn=t,(xn&(bi|ll))===Ba&&yf()}}function AA(){return(xn&(bi|ll))!==Ba}function zw(e,t){Ui(ZS,pc,e),pc=Zt(pc,t)}function lC(e){pc=ZS.current,zi(ZS,e)}function hh(e,t){e.finishedWork=null,e.finishedLanes=T;var s=e.timeoutHandle;if(s!==aD&&(e.timeoutHandle=aD,U8(s)),Gr!==null)for(var u=Gr.return;u!==null;){var p=u.alternate;iA(p,u),u=u.return}po=e;var y=gh(e.current,null);return Gr=y,Ma=pc=t,Ia=bd,Cy=null,Nw=T,xy=T,Rw=T,_y=null,Yo=null,c5(),tu.discardPendingWarnings(),y}function $A(e,t){do{var s=Gr;try{if(Jk(),tF(),ur(),QS.current=null,s===null||s.return===null){Ia=Dy,Cy=t,Gr=null;return}if(Je&&s.mode&Tn&&xw(s,!0),it)if(Kr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;jo(s,u,Ma)}else Yc(s,t,Ma);I5(e,s.return,s,t,Ma),LA(s)}catch(p){t=p,Gr===s&&s!==null?(s=s.return,Gr=s):s=Gr;continue}return}while(!0)}function PA(){var e=JS.current;return JS.current=kw,e===null?kw:e}function NA(e){JS.current=e}function gz(){eC=Br()}function Ay(e){Nw=Zt(e,Nw)}function vz(){Ia===bd&&(Ia=Pw)}function uC(){(Ia===bd||Ia===Pw||Ia===fh)&&(Ia=Sy),po!==null&&(Mp(Nw)||Mp(xy))&&Ff(po,Ma)}function yz(e){Ia!==Sy&&(Ia=fh),_y===null?_y=[e]:_y.push(e)}function bz(){return Ia===bd}function Uw(e,t){var s=xn;xn|=bi;var u=PA();if(po!==e||Ma!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ma),p.clear()),Up(e,t)}kd=Wb(),hh(e,t)}Hl(t);do try{kz();break}catch(y){$A(e,y)}while(!0);if(Jk(),xn=s,NA(u),Gr!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return of(),po=null,Ma=T,Ia}function kz(){for(;Gr!==null;)RA(Gr)}function wz(e,t){var s=xn;xn|=bi;var u=PA();if(po!==e||Ma!==t){if(Ja){var p=e.memoizedUpdaters;p.size>0&&($y(e,Ma),p.clear()),Up(e,t)}kd=Wb(),Ey(),hh(e,t)}Hl(t);do try{Dz();break}catch(y){$A(e,y)}while(!0);return Jk(),NA(u),xn=s,Gr!==null?($p(),bd):(of(),po=null,Ma=T,Ia)}function Dz(){for(;Gr!==null&&!Sp();)RA(Gr)}function RA(e){var t=e.alternate;$n(e);var s;(e.mode&Tn)!==xt?(fS(e),s=cC(t,e,pc),xw(e,!0)):s=cC(t,e,pc),ur(),e.memoizedProps=e.pendingProps,s===null?LA(e):Gr=s,QS.current=null}function LA(e){var t=e;do{var s=t.alternate,u=t.return;if((t.flags&Hc)===Ct){$n(t);var p=void 0;if((t.mode&Tn)===xt?p=aA(s,t,pc):(fS(t),p=aA(s,t,pc),xw(t,!1)),ur(),p!==null){Gr=p;return}}else{var y=v9(s,t);if(y!==null){y.flags&=fs,Gr=y;return}if((t.mode&Tn)!==xt){xw(t,!1);for(var w=t.actualDuration,_=t.child;_!==null;)w+=_.actualDuration,_=_.sibling;t.actualDuration=w}if(u!==null)u.flags|=Hc,u.subtreeFlags=Ct,u.deletions=null;else{Ia=KS,Gr=null;return}}var F=t.sibling;if(F!==null){Gr=F;return}t=u,Gr=t}while(t!==null);Ia===bd&&(Ia=DA)}function mh(e,t,s){var u=bs(),p=yi.transition;try{yi.transition=null,la(Mi),Sz(e,t,s,u)}finally{yi.transition=p,la(u)}return null}function Sz(e,t,s,u){do Dd();while(Ef!==null);if(Rz(),(xn&(bi|ll))!==Ba)throw new Error("Should not already be working.");var p=e.finishedWork,y=e.finishedLanes;if(Tp(y),p===null)return Yu(),null;if(y===T&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=T,p===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=M;var w=Zt(p.lanes,p.childLanes);Dv(e,w),e===po&&(po=null,Gr=null,Ma=T),((p.subtreeFlags&Bo)!==Ct||(p.flags&Bo)!==Ct)&&(ph||(ph=!0,rC=s,pC(Io,function(){return Dd(),null})));var _=(p.subtreeFlags&(qs|Vs|Ys|Bo))!==Ct,F=(p.flags&(qs|Vs|Ys|Bo))!==Ct;if(_||F){var B=yi.transition;yi.transition=null;var j=bs();la(Mi);var re=xn;xn|=ll,QS.current=null,D9(e,p),_F(),O9(e,p,y),L8(e.containerInfo),e.current=p,zl(y),B9(p,e,y),Gc(),Cp(),xn=re,la(j),yi.transition=B}else e.current=p,_F();var te=ph;if(ph?(ph=!1,Ef=e,Ty=y):(pg=0,Bw=null),w=e.pendingLanes,w===T&&(fg=null),te||IA(e.current,!1),nf(p.stateNode,u),Ja&&e.memoizedUpdaters.clear(),nz(),Go(e,Br()),t!==null)for(var fe=e.onRecoverableError,ge=0;ge<t.length;ge++){var _e=t[ge],rt=_e.stack,St=_e.digest;fe(_e.value,{componentStack:rt,digest:St})}if(Lw){Lw=!1;var Rt=tC;throw tC=null,Rt}return Bi(Ty,U)&&e.tag!==vf&&Dd(),w=e.pendingLanes,Bi(w,U)?(T5(),e===aC?Fy++:(Fy=0,aC=e)):Fy=0,yf(),Yu(),null}function Dd(){if(Ef!==null){var e=Aa(Ty),t=Vb(Zs,e),s=yi.transition,u=bs();try{return yi.transition=null,la(t),xz()}finally{la(u),yi.transition=s}}return!1}function Cz(e){nC.push(e),ph||(ph=!0,pC(Io,function(){return Dd(),null}))}function xz(){if(Ef===null)return!1;var e=rC;rC=null;var t=Ef,s=Ty;if(Ef=null,Ty=T,(xn&(bi|ll))!==Ba)throw new Error("Cannot flush passive effects while already rendering.");iC=!0,Ow=!1,Ul(s);var u=xn;xn|=ll,W9(t.current),j9(t,t.current,s,e);{var p=nC;nC=[];for(var y=0;y<p.length;y++){var w=p[y];_9(t,w)}}Ap(),IA(t.current,!0),xn=u,yf(),Ow?t===Bw?pg++:(pg=0,Bw=t):pg=0,iC=!1,Ow=!1,_p(t);{var _=t.current.stateNode;_.effectDuration=0,_.passiveEffectDuration=0}return!0}function OA(e){return fg!==null&&fg.has(e)}function _z(e){fg===null?fg=new Set([e]):fg.add(e)}function Ez(e){Lw||(Lw=!0,tC=e)}var Tz=Ez;function BA(e,t,s){var u=ch(s,t),p=RF(e,u,U),y=kf(e,p,U),w=ho();y!==null&&(nd(y,U,w),Go(y,w))}function yr(e,t,s){if(b9(s),Py(!1),e.tag===P){BA(e,e,s);return}var u=null;for(u=t;u!==null;){if(u.tag===P){BA(u,e,s);return}else if(u.tag===E){var p=u.type,y=u.stateNode;if(typeof p.getDerivedStateFromError=="function"||typeof y.componentDidCatch=="function"&&!OA(y)){var w=ch(s,e),_=AS(u,w,U),F=kf(u,_,U),B=ho();F!==null&&(nd(F,U,B),Go(F,B));return}}u=u.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
277
277
|
|
|
278
278
|
Error message:
|
|
279
279
|
|
|
@@ -295,14 +295,14 @@ act(() => {
|
|
|
295
295
|
});
|
|
296
296
|
/* assert on the output */
|
|
297
297
|
|
|
298
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Py(e){_A=e}var ul=null,hg=null,Iz=function(e){ul=e};function mg(e){{if(ul===null)return e;var t=ul(e);return t===void 0?e:t.current}}function hC(e){return mg(e)}function mC(e){{if(ul===null)return e;var t=ul(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=mg(e.render);if(e.render!==s){var u={$$typeof:Fe,render:s};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function WA(e,t){{if(ul===null)return!1;var s=e.elementType,u=t.type,p=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case E:{typeof u=="function"&&(p=!0);break}case C:{(typeof u=="function"||y===It)&&(p=!0);break}case W:{(y===Fe||y===It)&&(p=!0);break}case ae:case ue:{(y===Ht||y===It)&&(p=!0);break}default:return!1}if(p){var w=ul(s);if(w!==void 0&&w===ul(u))return!0}return!1}}function qA(e){{if(ul===null||typeof WeakSet!="function")return;hg===null&&(hg=new WeakSet),hg.add(e)}}var jz=function(e,t){{if(ul===null)return;var s=t.staleFamilies,u=t.updatedFamilies;Dd(),wd(function(){gC(e.current,u,s)})}},zz=function(e,t){{if(e.context!==Ss)return;Dd(),wd(function(){Ny(t,e,null,null)})}};function gC(e,t,s){{var u=e.alternate,p=e.child,y=e.sibling,w=e.tag,_=e.type,F=null;switch(w){case C:case ue:case E:F=_;break;case W:F=_.render;break}if(ul===null)throw new Error("Expected resolveFamily to be set during hot reload.");var B=!1,
|
|
298
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Py(e){_A=e}var ul=null,hg=null,Iz=function(e){ul=e};function mg(e){{if(ul===null)return e;var t=ul(e);return t===void 0?e:t.current}}function hC(e){return mg(e)}function mC(e){{if(ul===null)return e;var t=ul(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var s=mg(e.render);if(e.render!==s){var u={$$typeof:Fe,render:s};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function WA(e,t){{if(ul===null)return!1;var s=e.elementType,u=t.type,p=!1,y=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case E:{typeof u=="function"&&(p=!0);break}case C:{(typeof u=="function"||y===It)&&(p=!0);break}case W:{(y===Fe||y===It)&&(p=!0);break}case ae:case ue:{(y===Ht||y===It)&&(p=!0);break}default:return!1}if(p){var w=ul(s);if(w!==void 0&&w===ul(u))return!0}return!1}}function qA(e){{if(ul===null||typeof WeakSet!="function")return;hg===null&&(hg=new WeakSet),hg.add(e)}}var jz=function(e,t){{if(ul===null)return;var s=t.staleFamilies,u=t.updatedFamilies;Dd(),wd(function(){gC(e.current,u,s)})}},zz=function(e,t){{if(e.context!==Ss)return;Dd(),wd(function(){Ny(t,e,null,null)})}};function gC(e,t,s){{var u=e.alternate,p=e.child,y=e.sibling,w=e.tag,_=e.type,F=null;switch(w){case C:case ue:case E:F=_;break;case W:F=_.render;break}if(ul===null)throw new Error("Expected resolveFamily to be set during hot reload.");var B=!1,j=!1;if(F!==null){var re=ul(F);re!==void 0&&(s.has(re)?j=!0:t.has(re)&&(w===E?j=!0:B=!0))}if(hg!==null&&(hg.has(e)||u!==null&&hg.has(u))&&(j=!0),j&&(e._debugNeedsRemount=!0),j||B){var te=qo(e,U);te!==null&&ja(te,e,U,dr)}p!==null&&!j&&gC(p,t,s),y!==null&&gC(y,t,s)}}var Uz=function(e,t){{var s=new Set,u=new Set(t.map(function(p){return p.current}));return vC(e.current,u,s),s}};function vC(e,t,s){{var u=e.child,p=e.sibling,y=e.tag,w=e.type,_=null;switch(y){case C:case ue:case E:_=w;break;case W:_=w.render;break}var F=!1;_!==null&&t.has(_)&&(F=!0),F?Hz(e,s):u!==null&&vC(u,t,s),p!==null&&vC(p,t,s)}}function Hz(e,t){{var s=Wz(e,t);if(s)return;for(var u=e;;){switch(u.tag){case O:t.add(u.stateNode);return;case R:t.add(u.stateNode.containerInfo);return;case P:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function Wz(e,t){for(var s=e,u=!1;;){if(s.tag===O)u=!0,t.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return u;for(;s.sibling===null;){if(s.return===null||s.return===e)return u;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var yC;{yC=!1;try{var NH=Object.preventExtensions({})}catch{yC=!0}}function qz(e,t,s,u){this.tag=e,this.key=s,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=Ct,this.subtreeFlags=Ct,this.deletions=null,this.lanes=T,this.childLanes=T,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!yC&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Cs=function(e,t,s,u){return new qz(e,t,s,u)};function bC(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Vz(e){return typeof e=="function"&&!bC(e)&&e.defaultProps===void 0}function Yz(e){if(typeof e=="function")return bC(e)?E:C;if(e!=null){var t=e.$$typeof;if(t===Fe)return W;if(t===Ht)return ae}return $}function gh(e,t){var s=e.alternate;s===null?(s=Cs(e.tag,t,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s._debugSource=e._debugSource,s._debugOwner=e._debugOwner,s._debugHookTypes=e._debugHookTypes,s.alternate=e,e.alternate=s):(s.pendingProps=t,s.type=e.type,s.flags=Ct,s.subtreeFlags=Ct,s.deletions=null,s.actualDuration=0,s.actualStartTime=-1),s.flags=e.flags&Sr,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue;var u=e.dependencies;switch(s.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s.selfBaseDuration=e.selfBaseDuration,s.treeBaseDuration=e.treeBaseDuration,s._debugNeedsRemount=e._debugNeedsRemount,s.tag){case $:case C:case ue:s.type=mg(e.type);break;case E:s.type=hC(e.type);break;case W:s.type=mC(e.type);break}return s}function Gz(e,t){e.flags&=Sr|Fr;var s=e.alternate;if(s===null)e.childLanes=T,e.lanes=t,e.child=null,e.subtreeFlags=Ct,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=s.childLanes,e.lanes=s.lanes,e.child=s.child,e.subtreeFlags=Ct,e.deletions=null,e.memoizedProps=s.memoizedProps,e.memoizedState=s.memoizedState,e.updateQueue=s.updateQueue,e.type=s.type;var u=s.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=s.selfBaseDuration,e.treeBaseDuration=s.treeBaseDuration}return e}function Xz(e,t,s){var u;return e===jk?(u=an,t===!0&&(u|=Yn,u|=Fn)):u=xt,Ja&&(u|=Tn),Cs(P,null,null,u)}function kC(e,t,s,u,p,y){var w=$,_=e;if(typeof e=="function")bC(e)?(w=E,_=hC(_)):_=mg(_);else if(typeof e=="string")w=O;else e:switch(e){case xo:return Af(s.children,p,y,t);case xi:w=V,p|=Yn,(p&an)!==xt&&(p|=Fn);break;case _o:return Jz(s,p,y,t);case et:return Qz(s,p,y,t);case ft:return Kz(s,p,y,t);case wr:return VA(s,p,y,t);case er:case Vt:case tr:case Lr:case nn:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Eo:w=q;break e;case G:w=De;break e;case Fe:w=W,_=mC(_);break e;case Ht:w=ae;break e;case It:w=xe,_=null;break e}var F="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(F+=" 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 B=u?Bt(u):null;B&&(F+=`
|
|
299
299
|
|
|
300
|
-
Check the render method of \``+B+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+F))}}var
|
|
300
|
+
Check the render method of \``+B+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+F))}}var j=Cs(w,s,t,p);return j.elementType=e,j.type=_,j.lanes=y,j._debugOwner=u,j}function wC(e,t,s){var u=null;u=e._owner;var p=e.type,y=e.key,w=e.props,_=kC(p,y,w,u,t,s);return _._debugSource=e._source,_._debugOwner=e._owner,_}function Af(e,t,s,u){var p=Cs(J,e,u,t);return p.lanes=s,p}function Jz(e,t,s,u){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var p=Cs(K,e,u,t|Tn);return p.elementType=_o,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function Qz(e,t,s,u){var p=Cs(X,e,u,t);return p.elementType=et,p.lanes=s,p}function Kz(e,t,s,u){var p=Cs(We,e,u,t);return p.elementType=ft,p.lanes=s,p}function VA(e,t,s,u){var p=Cs(Qe,e,u,t);p.elementType=wr,p.lanes=s;var y={isHidden:!1};return p.stateNode=y,p}function DC(e,t,s){var u=Cs(I,e,null,t);return u.lanes=s,u}function Zz(){var e=Cs(O,null,null,xt);return e.elementType="DELETED",e}function e7(e){var t=Cs(Ye,null,null,xt);return t.stateNode=e,t}function SC(e,t,s){var u=e.children!==null?e.children:[],p=Cs(R,u,e.key,t);return p.lanes=s,p.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},p}function YA(e,t){return e===null&&(e=Cs($,null,null,xt)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function t7(e,t,s,u,p){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=aD,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=M,this.eventTimes=Sm(T),this.expirationTimes=Sm(dr),this.pendingLanes=T,this.suspendedLanes=T,this.pingedLanes=T,this.expiredLanes=T,this.mutableReadLanes=T,this.finishedLanes=T,this.entangledLanes=T,this.entanglements=Sm(T),this.identifierPrefix=u,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],w=0;w<x;w++)y.push(new Set)}switch(t){case jk:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case vf:this._debugRootType=s?"hydrate()":"render()";break}}function GA(e,t,s,u,p,y,w,_,F,B){var j=new t7(e,t,s,_,F),re=Xz(t,y);j.current=re,re.stateNode=j;{var te={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};re.memoizedState=te}return OD(re),j}var CC="18.3.1";function n7(e,t,s){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return br(u),{$$typeof:aa,key:u==null?null:""+u,children:e,containerInfo:t,implementation:s}}var xC,_C;xC=!1,_C={};function XA(e){if(!e)return Ss;var t=Hu(e),s=M6(t);if(t.tag===E){var u=t.type;if(oc(u))return ST(t,u,s)}return s}function r7(e,t){{var s=Hu(e);if(s===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var p=Ga(s);if(p===null)return null;if(p.mode&Yn){var y=Bt(s)||"Component";if(!_C[y]){_C[y]=!0;var w=oa;try{$n(p),s.mode&Yn?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,y)}finally{w?$n(w):ur()}}}return p.stateNode}}function JA(e,t,s,u,p,y,w,_){var F=!1,B=null;return GA(e,t,F,B,s,u,p,y,w)}function QA(e,t,s,u,p,y,w,_,F,B){var j=!0,re=GA(s,u,j,e,p,y,w,_,F);re.context=XA(null);var te=re.current,fe=ho(),ge=Tf(te),_e=vd(fe,ge);return _e.callback=t??null,kf(te,_e,ge),cz(re,ge,fe),re}function Ny(e,t,s,u){xp(t,e);var p=t.current,y=ho(),w=Tf(p);hr(w);var _=XA(s);t.context===null?t.context=_:t.pendingContext=_,to&&oa!==null&&!xC&&(xC=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
301
301
|
|
|
302
302
|
Check the render method of %s.`,Bt(oa)||"Unknown"));var F=vd(y,w);F.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),F.callback=u);var B=kf(p,F,w);return B!==null&&(ja(B,p,w,y),tw(B,p,w)),w}function qw(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case O:return t.child.stateNode;default:return t.child.stateNode}}function a7(e){switch(e.tag){case P:{var t=e.stateNode;if(xm(t)){var s=Mb(t);hz(t,s)}break}case X:{wd(function(){var p=qo(e,U);if(p!==null){var y=ho();ja(p,e,U,y)}});var u=U;EC(e,u);break}}}function KA(e,t){var s=e.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=kv(s.retryLane,t))}function EC(e,t){KA(e,t);var s=e.alternate;s&&KA(s,t)}function i7(e){if(e.tag===X){var t=Lp,s=qo(e,t);if(s!==null){var u=ho();ja(s,e,t,u)}EC(e,t)}}function o7(e){if(e.tag===X){var t=Tf(e),s=qo(e,t);if(s!==null){var u=ho();ja(s,e,t,u)}EC(e,t)}}function ZA(e){var t=cr(e);return t===null?null:t.stateNode}var e$=function(e){return null};function s7(e){return e$(e)}var t$=function(e){return!1};function l7(e){return t$(e)}var n$=null,r$=null,a$=null,i$=null,o$=null,s$=null,l$=null,u$=null,c$=null;{var d$=function(e,t,s){var u=t[s],p=Yt(e)?e.slice():Qt({},e);return s+1===t.length?(Yt(p)?p.splice(u,1):delete p[u],p):(p[u]=d$(e[u],t,s+1),p)},f$=function(e,t){return d$(e,t,0)},p$=function(e,t,s,u){var p=t[u],y=Yt(e)?e.slice():Qt({},e);if(u+1===t.length){var w=s[u];y[w]=y[p],Yt(y)?y.splice(p,1):delete y[p]}else y[p]=p$(e[p],t,s,u+1);return y},h$=function(e,t,s){if(t.length!==s.length){h("copyWithRename() expects paths of the same length");return}else for(var u=0;u<s.length-1;u++)if(t[u]!==s[u]){h("copyWithRename() expects paths to be the same except for the deepest key");return}return p$(e,t,s,0)},m$=function(e,t,s,u){if(s>=t.length)return u;var p=t[s],y=Yt(e)?e.slice():Qt({},e);return y[p]=m$(e[p],t,s+1,u),y},g$=function(e,t,s){return m$(e,t,0,s)},TC=function(e,t){for(var s=e.memoizedState;s!==null&&t>0;)s=s.next,t--;return s};n$=function(e,t,s,u){var p=TC(e,t);if(p!==null){var y=g$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Qt({},e.memoizedProps);var w=qo(e,U);w!==null&&ja(w,e,U,dr)}},r$=function(e,t,s){var u=TC(e,t);if(u!==null){var p=f$(u.memoizedState,s);u.memoizedState=p,u.baseState=p,e.memoizedProps=Qt({},e.memoizedProps);var y=qo(e,U);y!==null&&ja(y,e,U,dr)}},a$=function(e,t,s,u){var p=TC(e,t);if(p!==null){var y=h$(p.memoizedState,s,u);p.memoizedState=y,p.baseState=y,e.memoizedProps=Qt({},e.memoizedProps);var w=qo(e,U);w!==null&&ja(w,e,U,dr)}},i$=function(e,t,s){e.pendingProps=g$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=qo(e,U);u!==null&&ja(u,e,U,dr)},o$=function(e,t){e.pendingProps=f$(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=qo(e,U);s!==null&&ja(s,e,U,dr)},s$=function(e,t,s){e.pendingProps=h$(e.memoizedProps,t,s),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=qo(e,U);u!==null&&ja(u,e,U,dr)},l$=function(e){var t=qo(e,U);t!==null&&ja(t,e,U,dr)},u$=function(e){e$=e},c$=function(e){t$=e}}function u7(e){var t=Ga(e);return t===null?null:t.stateNode}function c7(e){return null}function d7(){return oa}function f7(e){var t=e.findFiberByHostInstance,s=i.ReactCurrentDispatcher;return Js({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:n$,overrideHookStateDeletePath:r$,overrideHookStateRenamePath:a$,overrideProps:i$,overridePropsDeletePath:o$,overridePropsRenamePath:s$,setErrorHandler:u$,setSuspenseHandler:c$,scheduleUpdate:l$,currentDispatcherRef:s,findHostInstanceByFiber:u7,findFiberByHostInstance:t||c7,findHostInstancesForRefresh:Uz,scheduleRefresh:jz,scheduleRoot:zz,setRefreshHandler:Iz,getCurrentFiber:d7,reconcilerVersion:CC})}var v$=typeof reportError=="function"?reportError:function(e){console.error(e)};function FC(e){this._internalRoot=e}Vw.prototype.render=FC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Yw(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var s=t.containerInfo;if(s.nodeType!==nr){var u=ZA(t.current);u&&u.parentNode!==s&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Ny(e,t,null,null)},Vw.prototype.unmount=FC.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;AA()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),wd(function(){Ny(null,e,null,null)}),yT(t)}};function p7(e,t){if(!Yw(e))throw new Error("createRoot(...): Target container is not a DOM element.");y$(e);var s=!1,u=!1,p="",y=v$;t!=null&&(t.hydrate?h("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===xa&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
303
303
|
|
|
304
304
|
let root = createRoot(domContainer);
|
|
305
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var w=JA(e,jk,null,s,u,p,y);Nk(w.current,e);var _=e.nodeType===nr?e.parentNode:e;return jv(_),new FC(w)}function Vw(e){this._internalRoot=e}function h7(e){e&&Kb(e)}Vw.prototype.unstable_scheduleHydration=h7;function m7(e,t,s){if(!Yw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");y$(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=s??null,p=s!=null&&s.hydratedSources||null,y=!1,w=!1,_="",F=v$;s!=null&&(s.unstable_strictMode===!0&&(y=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onRecoverableError!==void 0&&(F=s.onRecoverableError));var B=QA(t,null,e,jk,u,y,w,_,F);if(Nk(B.current,e),jv(e),p)for(var
|
|
305
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(s=!0),t.identifierPrefix!==void 0&&(p=t.identifierPrefix),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var w=JA(e,jk,null,s,u,p,y);Nk(w.current,e);var _=e.nodeType===nr?e.parentNode:e;return jv(_),new FC(w)}function Vw(e){this._internalRoot=e}function h7(e){e&&Kb(e)}Vw.prototype.unstable_scheduleHydration=h7;function m7(e,t,s){if(!Yw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");y$(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=s??null,p=s!=null&&s.hydratedSources||null,y=!1,w=!1,_="",F=v$;s!=null&&(s.unstable_strictMode===!0&&(y=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onRecoverableError!==void 0&&(F=s.onRecoverableError));var B=QA(t,null,e,jk,u,y,w,_,F);if(Nk(B.current,e),jv(e),p)for(var j=0;j<p.length;j++){var re=p[j];b5(B,re)}return new Vw(B)}function Yw(e){return!!(e&&(e.nodeType===Jr||e.nodeType===ui||e.nodeType===Fl))}function Ry(e){return!!(e&&(e.nodeType===Jr||e.nodeType===ui||e.nodeType===Fl||e.nodeType===nr&&e.nodeValue===" react-mount-point-unstable "))}function y$(e){e.nodeType===Jr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Qv(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var g7=i.ReactCurrentOwner,b$;b$=function(e){if(e._reactRootContainer&&e.nodeType!==nr){var t=ZA(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var s=!!e._reactRootContainer,u=AC(e),p=!!(u&&mf(u));p&&!s&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Jr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function AC(e){return e?e.nodeType===ui?e.documentElement:e.firstChild:null}function k$(){}function v7(e,t,s,u,p){if(p){if(typeof u=="function"){var y=u;u=function(){var te=qw(w);y.call(te)}}var w=QA(t,u,e,vf,null,!1,!1,"",k$);e._reactRootContainer=w,Nk(w.current,e);var _=e.nodeType===nr?e.parentNode:e;return jv(_),wd(),w}else{for(var F;F=e.lastChild;)e.removeChild(F);if(typeof u=="function"){var B=u;u=function(){var te=qw(j);B.call(te)}}var j=JA(e,vf,null,!1,!1,"",k$);e._reactRootContainer=j,Nk(j.current,e);var re=e.nodeType===nr?e.parentNode:e;return jv(re),wd(function(){Ny(t,j,s,u)}),j}}function y7(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Gw(e,t,s,u,p){b$(s),y7(p===void 0?null:p,"render");var y=s._reactRootContainer,w;if(!y)w=v7(s,t,e,p,u);else{if(w=y,typeof p=="function"){var _=p;p=function(){var F=qw(w);_.call(F)}}Ny(t,w,e,p)}return qw(w)}var w$=!1;function b7(e){{w$||(w$=!0,m("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=g7.current;if(t!==null&&t.stateNode!==null){var s=t.stateNode._warnedAboutRefsInRender;s||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",wn(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Jr?e:r7(e,"findDOMNode")}function k7(e,t,s){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Ry(t))throw new Error("Target container is not a DOM element.");{var u=Qv(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Gw(null,e,t,!0,s)}function w7(e,t,s){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Ry(t))throw new Error("Target container is not a DOM element.");{var u=Qv(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Gw(null,e,t,!1,s)}function D7(e,t,s,u){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Ry(s))throw new Error("Target container is not a DOM element.");if(e==null||!cv(e))throw new Error("parentComponent must be a valid React Component");return Gw(e,t,s,!1,u)}var D$=!1;function S7(e){if(D$||(D$=!0,m("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Ry(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=Qv(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var s=AC(e),u=s&&!mf(s);u&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return wd(function(){Gw(null,null,e,!1,function(){e._reactRootContainer=null,yT(e)})}),!0}else{{var p=AC(e),y=!!(p&&mf(p)),w=e.nodeType===Jr&&Ry(e.parentNode)&&!!e.parentNode._reactRootContainer;y&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",w?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}_m(a7),mt(i7),Gb(o7),R2(bs),Em(Sv),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Kd(x8),uv(sC,mz,wd);function C7(e,t){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Yw(t))throw new Error("Target container is not a DOM element.");return n7(e,t,null,s)}function x7(e,t,s,u){return D7(e,t,s,u)}var $C={usingClientEntryPoint:!1,Events:[mf,Vm,Rk,ju,Zd,sC]};function _7(e,t){return $C.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),p7(e,t)}function E7(e,t,s){return $C.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),m7(e,t,s)}function T7(e){return AA()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),wd(e)}var F7=f7({findFiberByHostInstance:th,bundleType:1,version:CC,rendererPackageName:"react-dom"});if(!F7&&zt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var S$=window.location.protocol;/^(https?|file):$/.test(S$)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(S$==="file:"?`
|
|
306
306
|
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$C,Xo.createPortal=C7,Xo.createRoot=_7,Xo.findDOMNode=b7,Xo.flushSync=T7,Xo.hydrate=k7,Xo.hydrateRoot=E7,Xo.render=w7,Xo.unmountComponentAtNode=S7,Xo.unstable_batchedUpdates=sC,Xo.unstable_renderSubtreeIntoContainer=x7,Xo.version=CC,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Xo}function mx(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mx)}catch(r){console.error(r)}}}process.env.NODE_ENV==="production"?(mx(),e0.exports=sP()):e0.exports=lP();var gx=e0.exports,r0,Vy=gx;if(process.env.NODE_ENV==="production")r0=Vy.createRoot,Vy.hydrateRoot;else{var vx=Vy.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;r0=function(r,n){vx.usingClientEntryPoint=!0;try{return Vy.createRoot(r,n)}finally{vx.usingClientEntryPoint=!1}}}const uP=r=>{const n=document.createElement("div"),i=r0(n);return gx.flushSync(()=>{i.render(r)}),n.innerHTML},cP={hi:"Hei!"},dP={from:"Fra",to:"Til"},fP={buttonAltText:"Åpne kalender",deleteDate:"Fjern dato"},pP={month:"Måned",year:"År",days:["Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Man","Tir","Ons","Tor","Fre","Lør","Søn"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],week:"Uke",prevMonth:"Forrige måned",nextMonth:"Neste måned"},hP={search:{placeholder:"Søk…"},labels:{optional:"Valgfritt",required:"Må fylles ut"},messages:{required:"Dette feltet er påkrevd",invalid:"Ugyldig verdi",invalidPattern:"Ugyldig format",tooShort:"For kort",tooLong:"For lang",rangeUnderflow:"For lav verdi",rangeOverflow:"For høy verdi",rangeUnderflowMin:"Verdien må være større enn eller lik {min}.",rangeOverflowMax:"Verdien må være mindre enn eller lik {max}.",dateUnderflow:"For tidlig dato",dateOverflow:"For sen dato"},helptext:{helptextDropdownButton:"Les mer"},date:{multiple:"Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato."}},Vi={example:cP,generic:dP,calendar:fP,dates:pP,forms:hP};var mP=Object.defineProperty,yx=(r,n,i,l)=>{for(var c=void 0,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=m(n,i,c)||c);return c&&mP(n,i,c),c};class Yy extends wh{constructor(){super(...arguments),this.strings=Vi,this.role=null}hotReplacedCallback(){this.requestUpdate()}update(n){n.forEach((i,l)=>{typeof l=="string"&&this[l]&&typeof this[l]=="object"&&this[l].$$typeof&&(this[l]=uP(this[l]))}),super.update(n)}}yx([z({type:Object})],Yy.prototype,"strings"),yx([z({type:String})],Yy.prototype,"role");class da extends Yy{createRenderRoot(){return this}}/**
|
|
307
307
|
* @license
|
|
308
308
|
* Copyright 2017 Google LLC
|
|
@@ -432,7 +432,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
432
432
|
<span class="pkt-btn__text" ${dn(this.defaultSlot)}></span>
|
|
433
433
|
${this.variant==="icons-right-and-left"?we`<pkt-icon class="pkt-btn__icon" name=${this.secondIconName}></pkt-icon>`:Ge}
|
|
434
434
|
</button>
|
|
435
|
-
`}};bo([z({type:String})],Yi.prototype,"iconName",2),bo([z({type:String})],Yi.prototype,"secondIconName",2),bo([z({type:String})],Yi.prototype,"mode",2),bo([z({type:String})],Yi.prototype,"size",2),bo([z({type:String})],Yi.prototype,"color",2),bo([z({type:String})],Yi.prototype,"skin",2),bo([z({type:String})],Yi.prototype,"variant",2),bo([z({type:String,reflect:!0})],Yi.prototype,"state",2),bo([z({type:String,reflect:!0})],Yi.prototype,"type",2),bo([z({type:String})],Yi.prototype,"form",2),bo([z({type:Boolean,reflect:!0})],Yi.prototype,"isLoading",2),bo([z({type:Boolean,reflect:!0})],Yi.prototype,"disabled",2),bo([z({type:String})],Yi.prototype,"loadingAnimationPath",2),Yi=bo([fr("pkt-button")],Yi);const _x=6048e5,UP=864e5,Ex=Symbol.for("constructDateFrom");function du(r,n){return typeof r=="function"?r(n):r&&typeof r=="object"&&Ex in r?r[Ex](n):r instanceof Date?new r.constructor(n):new Date(n)}function ko(r,n){return du(n||r,r)}function u0(r,n,i){const l=ko(r,void 0);return isNaN(n)?du(r,NaN):(n&&l.setDate(l.getDate()+n),l)}let HP={};function tb(){return HP}function Ag(r,n){var i,l,c,h;const m=tb(),D=(n==null?void 0:n.weekStartsOn)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??m.weekStartsOn??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,C=ko(r,n==null?void 0:n.in),E=C.getDay(),$=(E<D?7:0)+E-D;return C.setDate(C.getDate()-$),C.setHours(0,0,0,0),C}function nb(r,n){return Ag(r,{...n,weekStartsOn:1})}function Tx(r,n){const i=ko(r,void 0),l=i.getFullYear(),c=du(i,0);c.setFullYear(l+1,0,4),c.setHours(0,0,0,0);const h=nb(c),m=du(i,0);m.setFullYear(l,0,4),m.setHours(0,0,0,0);const D=nb(m);return i.getTime()>=h.getTime()?l+1:i.getTime()>=D.getTime()?l:l-1}function Fx(r){const n=ko(r),i=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return i.setUTCFullYear(n.getFullYear()),+r-+i}function Ax(r,...n){const i=du.bind(null,n.find(l=>typeof l=="object"));return n.map(i)}function c0(r,n){const i=ko(r,void 0);return i.setHours(0,0,0,0),i}function WP(r,n,i){const[l,c]=Ax(void 0,r,n),h=c0(l),m=c0(c),D=+h-Fx(h),C=+m-Fx(m);return Math.round((D-C)/UP)}function qP(r,n){const i=Tx(r),l=du(r,0);return l.setFullYear(i,0,4),l.setHours(0,0,0,0),nb(l)}function VP(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function YP(r){return!(!VP(r)&&typeof r!="number"||isNaN(+ko(r)))}function GP(r,n){const i=ko(r,void 0);return i.setHours(23,59,59,999),i}function XP(r,n){const[i,l]=Ax(r,n.start,n.end);return{start:i,end:l}}function d0(r,n){const{start:i,end:l}=XP(void 0,r);let c=+i>+l;const h=c?+i:+l,m=c?l:i;m.setHours(0,0,0,0);let D=1;const C=[];for(;+m<=h;)C.push(du(i,m)),m.setDate(m.getDate()+D),m.setHours(0,0,0,0);return c?C.reverse():C}function JP(r,n){const i=ko(r,void 0);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}const QP={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},KP=(r,n,i)=>{let l;const c=QP[r];return typeof c=="string"?l=c:n===1?l=c.one:l=c.other.replace("{{count}}",n.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+l:l+" ago":l};function f0(r){return(n={})=>{const i=n.width?String(n.width):r.defaultWidth;return r.formats[i]||r.formats[r.defaultWidth]}}const ZP={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},eN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},tN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},nN={date:f0({formats:ZP,defaultWidth:"full"}),time:f0({formats:eN,defaultWidth:"full"}),dateTime:f0({formats:tN,defaultWidth:"full"})},rN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},aN=(r,n,i,l)=>rN[r];function $g(r){return(n,i)=>{const l=i!=null&&i.context?String(i.context):"standalone";let c;if(l==="formatting"&&r.formattingValues){const m=r.defaultFormattingWidth||r.defaultWidth,D=i!=null&&i.width?String(i.width):m;c=r.formattingValues[D]||r.formattingValues[m]}else{const m=r.defaultWidth,D=i!=null&&i.width?String(i.width):r.defaultWidth;c=r.values[D]||r.values[m]}const h=r.argumentCallback?r.argumentCallback(n):n;return c[h]}}const iN={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sN={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},lN={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},uN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},cN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},dN=(r,n)=>{const i=Number(r),l=i%100;if(l>20||l<10)switch(l%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},fN={ordinalNumber:dN,era:$g({values:iN,defaultWidth:"wide"}),quarter:$g({values:oN,defaultWidth:"wide",argumentCallback:r=>r-1}),month:$g({values:sN,defaultWidth:"wide"}),day:$g({values:lN,defaultWidth:"wide"}),dayPeriod:$g({values:uN,defaultWidth:"wide",formattingValues:cN,defaultFormattingWidth:"wide"})};function Pg(r){return(n,i={})=>{const l=i.width,c=l&&r.matchPatterns[l]||r.matchPatterns[r.defaultMatchWidth],h=n.match(c);if(!h)return null;const m=h[0],D=l&&r.parsePatterns[l]||r.parsePatterns[r.defaultParseWidth],C=Array.isArray(D)?hN(D,P=>P.test(m)):pN(D,P=>P.test(m));let E;E=r.valueCallback?r.valueCallback(C):C,E=i.valueCallback?i.valueCallback(E):E;const $=n.slice(m.length);return{value:E,rest:$}}}function pN(r,n){for(const i in r)if(Object.prototype.hasOwnProperty.call(r,i)&&n(r[i]))return i}function hN(r,n){for(let i=0;i<r.length;i++)if(n(r[i]))return i}function mN(r){return(n,i={})=>{const l=n.match(r.matchPattern);if(!l)return null;const c=l[0],h=n.match(r.parsePattern);if(!h)return null;let m=r.valueCallback?r.valueCallback(h[0]):h[0];m=i.valueCallback?i.valueCallback(m):m;const D=n.slice(c.length);return{value:m,rest:D}}}const gN=/^(\d+)(th|st|nd|rd)?/i,vN=/\d+/i,yN={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bN={any:[/^b/i,/^(a|c)/i]},kN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},wN={any:[/1/i,/2/i,/3/i,/4/i]},DN={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},SN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},CN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},xN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},_N={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},EN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},TN={ordinalNumber:mN({matchPattern:gN,parsePattern:vN,valueCallback:r=>parseInt(r,10)}),era:Pg({matchPatterns:yN,defaultMatchWidth:"wide",parsePatterns:bN,defaultParseWidth:"any"}),quarter:Pg({matchPatterns:kN,defaultMatchWidth:"wide",parsePatterns:wN,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Pg({matchPatterns:DN,defaultMatchWidth:"wide",parsePatterns:SN,defaultParseWidth:"any"}),day:Pg({matchPatterns:CN,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"}),dayPeriod:Pg({matchPatterns:_N,defaultMatchWidth:"any",parsePatterns:EN,defaultParseWidth:"any"})},FN={code:"en-US",formatDistance:KP,formatLong:nN,formatRelative:aN,localize:fN,match:TN,options:{weekStartsOn:0,firstWeekContainsDate:1}};function AN(r,n){const i=ko(r,void 0);return WP(i,JP(i))+1}function $N(r,n){const i=ko(r,void 0),l=+nb(i)-+qP(i);return Math.round(l/_x)+1}function $x(r,n){var i,l,c,h;const m=ko(r,n==null?void 0:n.in),D=m.getFullYear(),C=tb(),E=(n==null?void 0:n.firstWeekContainsDate)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??C.firstWeekContainsDate??((h=(c=C.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,$=du((n==null?void 0:n.in)||r,0);$.setFullYear(D+1,0,E),$.setHours(0,0,0,0);const P=Ag($,n),R=du((n==null?void 0:n.in)||r,0);R.setFullYear(D,0,E),R.setHours(0,0,0,0);const O=Ag(R,n);return+m>=+P?D+1:+m>=+O?D:D-1}function PN(r,n){var i,l,c,h;const m=tb(),D=(n==null?void 0:n.firstWeekContainsDate)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??m.firstWeekContainsDate??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,C=$x(r,n),E=du((n==null?void 0:n.in)||r,0);return E.setFullYear(C,0,D),E.setHours(0,0,0,0),Ag(E,n)}function Px(r,n){const i=ko(r,n==null?void 0:n.in),l=+Ag(i,n)-+PN(i,n);return Math.round(l/_x)+1}function or(r,n){const i=r<0?"-":"",l=Math.abs(r).toString().padStart(n,"0");return i+l}const Ed={y(r,n){const i=r.getFullYear(),l=i>0?i:1-i;return or(n==="yy"?l%100:l,n.length)},M(r,n){const i=r.getMonth();return n==="M"?String(i+1):or(i+1,2)},d(r,n){return or(r.getDate(),n.length)},a(r,n){const i=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(r,n){return or(r.getHours()%12||12,n.length)},H(r,n){return or(r.getHours(),n.length)},m(r,n){return or(r.getMinutes(),n.length)},s(r,n){return or(r.getSeconds(),n.length)},S(r,n){const i=n.length,l=r.getMilliseconds(),c=Math.trunc(l*Math.pow(10,i-3));return or(c,n.length)}},Eh={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Nx={G:function(r,n,i){const l=r.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return i.era(l,{width:"abbreviated"});case"GGGGG":return i.era(l,{width:"narrow"});case"GGGG":default:return i.era(l,{width:"wide"})}},y:function(r,n,i){if(n==="yo"){const l=r.getFullYear(),c=l>0?l:1-l;return i.ordinalNumber(c,{unit:"year"})}return Ed.y(r,n)},Y:function(r,n,i,l){const c=$x(r,l),h=c>0?c:1-c;if(n==="YY"){const m=h%100;return or(m,2)}return n==="Yo"?i.ordinalNumber(h,{unit:"year"}):or(h,n.length)},R:function(r,n){const i=Tx(r);return or(i,n.length)},u:function(r,n){const i=r.getFullYear();return or(i,n.length)},Q:function(r,n,i){const l=Math.ceil((r.getMonth()+1)/3);switch(n){case"Q":return String(l);case"QQ":return or(l,2);case"Qo":return i.ordinalNumber(l,{unit:"quarter"});case"QQQ":return i.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(l,{width:"wide",context:"formatting"})}},q:function(r,n,i){const l=Math.ceil((r.getMonth()+1)/3);switch(n){case"q":return String(l);case"qq":return or(l,2);case"qo":return i.ordinalNumber(l,{unit:"quarter"});case"qqq":return i.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(l,{width:"wide",context:"standalone"})}},M:function(r,n,i){const l=r.getMonth();switch(n){case"M":case"MM":return Ed.M(r,n);case"Mo":return i.ordinalNumber(l+1,{unit:"month"});case"MMM":return i.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(l,{width:"wide",context:"formatting"})}},L:function(r,n,i){const l=r.getMonth();switch(n){case"L":return String(l+1);case"LL":return or(l+1,2);case"Lo":return i.ordinalNumber(l+1,{unit:"month"});case"LLL":return i.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(l,{width:"wide",context:"standalone"})}},w:function(r,n,i,l){const c=Px(r,l);return n==="wo"?i.ordinalNumber(c,{unit:"week"}):or(c,n.length)},I:function(r,n,i){const l=$N(r);return n==="Io"?i.ordinalNumber(l,{unit:"week"}):or(l,n.length)},d:function(r,n,i){return n==="do"?i.ordinalNumber(r.getDate(),{unit:"date"}):Ed.d(r,n)},D:function(r,n,i){const l=AN(r);return n==="Do"?i.ordinalNumber(l,{unit:"dayOfYear"}):or(l,n.length)},E:function(r,n,i){const l=r.getDay();switch(n){case"E":case"EE":case"EEE":return i.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(l,{width:"short",context:"formatting"});case"EEEE":default:return i.day(l,{width:"wide",context:"formatting"})}},e:function(r,n,i,l){const c=r.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(n){case"e":return String(h);case"ee":return or(h,2);case"eo":return i.ordinalNumber(h,{unit:"day"});case"eee":return i.day(c,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(c,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(c,{width:"short",context:"formatting"});case"eeee":default:return i.day(c,{width:"wide",context:"formatting"})}},c:function(r,n,i,l){const c=r.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(n){case"c":return String(h);case"cc":return or(h,n.length);case"co":return i.ordinalNumber(h,{unit:"day"});case"ccc":return i.day(c,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(c,{width:"narrow",context:"standalone"});case"cccccc":return i.day(c,{width:"short",context:"standalone"});case"cccc":default:return i.day(c,{width:"wide",context:"standalone"})}},i:function(r,n,i){const l=r.getDay(),c=l===0?7:l;switch(n){case"i":return String(c);case"ii":return or(c,n.length);case"io":return i.ordinalNumber(c,{unit:"day"});case"iii":return i.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(l,{width:"short",context:"formatting"});case"iiii":default:return i.day(l,{width:"wide",context:"formatting"})}},a:function(r,n,i){const l=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(l,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(r,n,i){const l=r.getHours();let c;switch(l===12?c=Eh.noon:l===0?c=Eh.midnight:c=l/12>=1?"pm":"am",n){case"b":case"bb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},B:function(r,n,i){const l=r.getHours();let c;switch(l>=17?c=Eh.evening:l>=12?c=Eh.afternoon:l>=4?c=Eh.morning:c=Eh.night,n){case"B":case"BB":case"BBB":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},h:function(r,n,i){if(n==="ho"){let l=r.getHours()%12;return l===0&&(l=12),i.ordinalNumber(l,{unit:"hour"})}return Ed.h(r,n)},H:function(r,n,i){return n==="Ho"?i.ordinalNumber(r.getHours(),{unit:"hour"}):Ed.H(r,n)},K:function(r,n,i){const l=r.getHours()%12;return n==="Ko"?i.ordinalNumber(l,{unit:"hour"}):or(l,n.length)},k:function(r,n,i){let l=r.getHours();return l===0&&(l=24),n==="ko"?i.ordinalNumber(l,{unit:"hour"}):or(l,n.length)},m:function(r,n,i){return n==="mo"?i.ordinalNumber(r.getMinutes(),{unit:"minute"}):Ed.m(r,n)},s:function(r,n,i){return n==="so"?i.ordinalNumber(r.getSeconds(),{unit:"second"}):Ed.s(r,n)},S:function(r,n){return Ed.S(r,n)},X:function(r,n,i){const l=r.getTimezoneOffset();if(l===0)return"Z";switch(n){case"X":return Lx(l);case"XXXX":case"XX":return Mf(l);case"XXXXX":case"XXX":default:return Mf(l,":")}},x:function(r,n,i){const l=r.getTimezoneOffset();switch(n){case"x":return Lx(l);case"xxxx":case"xx":return Mf(l);case"xxxxx":case"xxx":default:return Mf(l,":")}},O:function(r,n,i){const l=r.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Rx(l,":");case"OOOO":default:return"GMT"+Mf(l,":")}},z:function(r,n,i){const l=r.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Rx(l,":");case"zzzz":default:return"GMT"+Mf(l,":")}},t:function(r,n,i){const l=Math.trunc(+r/1e3);return or(l,n.length)},T:function(r,n,i){return or(+r,n.length)}};function Rx(r,n=""){const i=r>0?"-":"+",l=Math.abs(r),c=Math.trunc(l/60),h=l%60;return h===0?i+String(c):i+String(c)+n+or(h,2)}function Lx(r,n){return r%60===0?(r>0?"-":"+")+or(Math.abs(r)/60,2):Mf(r,n)}function Mf(r,n=""){const i=r>0?"-":"+",l=Math.abs(r),c=or(Math.trunc(l/60),2),h=or(l%60,2);return i+c+n+h}const Ox=(r,n)=>{switch(r){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Bx=(r,n)=>{switch(r){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},NN=(r,n)=>{const i=r.match(/(P+)(p+)?/)||[],l=i[1],c=i[2];if(!c)return Ox(r,n);let h;switch(l){case"P":h=n.dateTime({width:"short"});break;case"PP":h=n.dateTime({width:"medium"});break;case"PPP":h=n.dateTime({width:"long"});break;case"PPPP":default:h=n.dateTime({width:"full"});break}return h.replace("{{date}}",Ox(l,n)).replace("{{time}}",Bx(c,n))},RN={p:Bx,P:NN},LN=/^D+$/,ON=/^Y+$/,BN=["D","DD","YY","YYYY"];function MN(r){return LN.test(r)}function IN(r){return ON.test(r)}function jN(r,n,i){const l=zN(r,n,i);if(console.warn(l),BN.includes(r))throw new RangeError(l)}function zN(r,n,i){const l=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${n}\`) for formatting ${l} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const UN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,WN=/^'([^]*?)'?$/,qN=/''/g,VN=/[a-zA-Z]/;function YN(r,n,i){var l,c,h,m;const D=tb(),C=D.locale??FN,E=D.firstWeekContainsDate??((c=(l=D.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,$=D.weekStartsOn??((m=(h=D.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??0,P=ko(r,void 0);if(!YP(P))throw new RangeError("Invalid time value");let R=n.match(HN).map(j=>{const J=j[0];if(J==="p"||J==="P"){const V=RN[J];return V(j,C.formatLong)}return j}).join("").match(UN).map(j=>{if(j==="''")return{isToken:!1,value:"'"};const J=j[0];if(J==="'")return{isToken:!1,value:GN(j)};if(Nx[J])return{isToken:!0,value:j};if(J.match(VN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+J+"`");return{isToken:!1,value:j}});C.localize.preprocessor&&(R=C.localize.preprocessor(P,R));const O={firstWeekContainsDate:E,weekStartsOn:$,locale:C};return R.map(j=>{if(!j.isToken)return j.value;const J=j.value;(IN(J)||MN(J))&&jN(J,n,String(r));const V=Nx[J[0]];return V(P,J,C.localize,O)}).join("")}function GN(r){const n=r.match(WN);return n?n[1].replace(qN,"'"):r}function XN(r,n){const i=ko(r,void 0).getDay();return i===0?7:i}const Mx={},Ng={};function Rg(r,n){try{const i=(Mx[r]||(Mx[r]=new Intl.DateTimeFormat("en-GB",{timeZone:r,hour:"numeric",timeZoneName:"longOffset"}).format))(n).split("GMT")[1]||"";return i in Ng?Ng[i]:Ix(i,i.split(":"))}catch{if(r in Ng)return Ng[r];const i=r==null?void 0:r.match(JN);return i?Ix(r,i.slice(1)):NaN}}const JN=/([+-]\d\d):?(\d\d)?/;function Ix(r,n){const i=+n[0],l=+(n[1]||0);return Ng[r]=i>0?i*60+l:i*60-l}let Lg=class Oy extends Date{constructor(...n){super(),n.length>1&&typeof n[n.length-1]=="string"&&(this.timeZone=n.pop()),this.internal=new Date,isNaN(Rg(this.timeZone,this))?this.setTime(NaN):n.length?typeof n[0]=="number"&&(n.length===1||n.length===2&&typeof n[1]!="number")?this.setTime(n[0]):typeof n[0]=="string"?this.setTime(+new Date(n[0])):n[0]instanceof Date?this.setTime(+n[0]):(this.setTime(+new Date(...n)),zx(this),p0(this)):this.setTime(Date.now())}static tz(n,...i){return i.length?new Oy(...i,n):new Oy(Date.now(),n)}withTimeZone(n){return new Oy(+this,n)}getTimezoneOffset(){return-Rg(this.timeZone,this)}setTime(n){return Date.prototype.setTime.apply(this,arguments),p0(this),+this}[Symbol.for("constructDateFrom")](n){return new Oy(+new Date(n),this.timeZone)}};const jx=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(r=>{if(!jx.test(r))return;const n=r.replace(jx,"$1UTC");Lg.prototype[n]&&(r.startsWith("get")?Lg.prototype[r]=function(){return this.internal[n]()}:(Lg.prototype[r]=function(){return Date.prototype[n].apply(this.internal,arguments),QN(this),+this},Lg.prototype[n]=function(){return Date.prototype[n].apply(this,arguments),p0(this),+this}))});function p0(r){r.internal.setTime(+r),r.internal.setUTCMinutes(r.internal.getUTCMinutes()-r.getTimezoneOffset())}function QN(r){Date.prototype.setFullYear.call(r,r.internal.getUTCFullYear(),r.internal.getUTCMonth(),r.internal.getUTCDate()),Date.prototype.setHours.call(r,r.internal.getUTCHours(),r.internal.getUTCMinutes(),r.internal.getUTCSeconds(),r.internal.getUTCMilliseconds()),zx(r)}function zx(r){const n=Rg(r.timeZone,r),i=new Date(+r);i.setUTCHours(i.getUTCHours()-1);const l=-new Date(+r).getTimezoneOffset(),c=-new Date(+i).getTimezoneOffset(),h=l-c,m=Date.prototype.getHours.apply(r)!==r.internal.getUTCHours();h&&m&&r.internal.setUTCMinutes(r.internal.getUTCMinutes()+h);const D=l-n;D&&Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+D);const C=Rg(r.timeZone,r),E=-new Date(+r).getTimezoneOffset()-C,$=C!==n,P=E-D;if($&&P){Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+P);const R=Rg(r.timeZone,r),O=C-R;O&&(r.internal.setUTCMinutes(r.internal.getUTCMinutes()+O),Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+O))}}let KN=class By extends Lg{static tz(n,...i){return i.length?new By(...i,n):new By(Date.now(),n)}toISOString(){const[n,i,l]=this.tzComponents(),c=`${n}${i}:${l}`;return this.internal.toISOString().slice(0,-1)+c}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[n,i,l,c]=this.internal.toUTCString().split(" ");return`${n==null?void 0:n.slice(0,-1)} ${l} ${i} ${c}`}toTimeString(){const n=this.internal.toUTCString().split(" ")[4],[i,l,c]=this.tzComponents();return`${n} GMT${i}${l}${c} (${ZN(this.timeZone,this)})`}toLocaleString(n,i){return Date.prototype.toLocaleString.call(this,n,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleDateString(n,i){return Date.prototype.toLocaleDateString.call(this,n,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleTimeString(n,i){return Date.prototype.toLocaleTimeString.call(this,n,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}tzComponents(){const n=this.getTimezoneOffset(),i=n>0?"-":"+",l=String(Math.floor(Math.abs(n)/60)).padStart(2,"0"),c=String(Math.abs(n)%60).padStart(2,"0");return[i,l,c]}withTimeZone(n){return new By(+this,n)}[Symbol.for("constructDateFrom")](n){return new By(+new Date(n),this.timeZone)}};function ZN(r,n){return new Intl.DateTimeFormat("en-GB",{timeZone:r,timeZoneName:"long"}).format(n).slice(12)}window.pktTz=window.pktTz===void 0?"Europe/Oslo":window.pktTz;const e3=(r=window.pktTz)=>{const n=new KN(new Date().toISOString(),r);return n.setHours(0,0,0,0),isNaN(n.getTime())?new Date:new Date(n.getFullYear(),n.getMonth(),n.getDate())};function If(r){if(!r||r==="")return new Date;if(/^\d{4}-\d{2}-\d{2}$/.test(r)){const[n,i,l]=r.split("-").map(Number);return new Date(n,i-1,l)}if(/^\d{4}-\d{2}$/.test(r)){const[n,i]=r.split("-").map(Number);return new Date(n,i-1,1)}return/^\d{4}$/.test(r)?new Date(Number(r),0,1):new Date(r)}const Ua=r=>{if(!r||isNaN(r.getTime()))return"";const n=r.getFullYear(),i=String(r.getMonth()+1).padStart(2,"0"),l=String(r.getDate()).padStart(2,"0");return`${n}-${i}-${l}`},h0=r=>{if(!r)return null;const n=If(r);return isNaN(n.getTime())?null:n},Ux=(r,n)=>{const i=wi(r);return isNaN(i.getTime())?"":YN(i,n)},wi=(r="",n)=>{const i=typeof r=="string"?If(r):r;return!i||isNaN(i.getTime())?new Date:n?n==="end"?GP(i):c0(i):i},Td=(r,n,i=1)=>{if(typeof r!="number"||typeof n!="number"||typeof i!="number"||isNaN(r)||isNaN(n)||isNaN(i))return new Date;const l=new Date(r,n,i);return isNaN(l.getTime())?new Date:l},t3=r=>!r||isNaN(r.getTime())?"":new Intl.DateTimeFormat("no",{dateStyle:"full",timeZone:window.pktTz}).format(r),Hx=r=>{if(Array.isArray(r))return r;if(typeof r=="string")return r.split(",")},n3=r=>r?If(r):null,r3=r=>{if(typeof r=="string")return r.split(",").map(n=>If(n));if(Array.isArray(r))return r.map(n=>If(n))},Th={csvToArray:Hx,stringToDate:n3,stringsToDate:r3},a3={earliest:{default:null},latest:{default:null},weeknumbers:{default:!1},withcontrols:{default:!1},multiple:{default:!1},maxMultiple:{default:4},range:{default:!1}},jf={props:a3};var i3=Object.defineProperty,o3=Object.getOwnPropertyDescriptor,pr=(r,n,i,l)=>{for(var c=l>1?void 0:l?o3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&i3(n,i,c),c};let sr=class extends da{constructor(){super(...arguments),this.multiple=jf.props.multiple.default,this.maxMultiple=jf.props.maxMultiple.default,this.range=jf.props.range.default,this.weeknumbers=jf.props.weeknumbers.default,this.withcontrols=jf.props.withcontrols.default,this.selected=[],this.earliest=jf.props.earliest.default,this.latest=jf.props.latest.default,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.dayStrings=this.strings.dates.daysShort,this.dayStringsLong=this.strings.dates.days,this.monthStrings=this.strings.dates.months,this.weekString=this.strings.dates.week,this.prevMonthString=this.strings.dates.prevMonth,this.nextMonthString=this.strings.dates.nextMonth,this._selected=[],this.year=0,this.month=0,this.week=0,this.rangeHovered=null,this.inRange={},this.focusedDate=null,this.selectableDates=[],this.currentmonthtouched=!1,this.tabIndexSet=0}connectedCallback(){super.connectedCallback()}disconnectedCallback(){this.removeEventListener("keydown",this.handleKeydown),super.disconnectedCallback()}attributeChangedCallback(n,i,l){n==="selected"&&l&&this.convertSelected(),super.attributeChangedCallback(n,i,l)}updated(n){super.updated(n),n.has("selected")&&this.convertSelected()}firstUpdated(n){this.addEventListener("keydown",this.handleKeydown)}convertSelected(){if(typeof this.selected=="string"&&(this.selected=this.selected.split(",")),this.selected.length===1&&this.selected[0]===""&&(this.selected=[]),this._selected=this.selected.map(n=>If(n)),this.range&&this.selected.length===2){const n=d0({start:this._selected[0],end:this._selected[1]});if(this.inRange={},Array.isArray(n)&&n.length){const i={};for(let l=0;l<n.length;l++)i[Ua(n[l])]=this.isInRange(n[l]);this.inRange=i}}this.setCurrentMonth()}setCurrentMonth(){if(this.currentmonth===null&&!this.currentmonthtouched){this.currentmonthtouched=!0;return}if(this.selected.length&&this.selected[0]!==""){const n=If(this.selected[this.selected.length-1]);this.currentmonth=isNaN(n.getTime())?new Date:n}else this.currentmonth===null&&(this.currentmonth=new Date);(!this.currentmonth||isNaN(this.currentmonth.getTime()))&&(this.currentmonth=new Date),this.year=this.currentmonth.getFullYear(),this.month=this.currentmonth.getMonth()}handleKeydown(n){switch(n.key){case"ArrowLeft":this.handleArrowKey(n,-1);break;case"ArrowRight":this.handleArrowKey(n,1);break;case"ArrowUp":this.handleArrowKey(n,-7);break;case"ArrowDown":this.handleArrowKey(n,7);break}}handleArrowKey(n,i){var l,c,h;if(((l=n.target)==null?void 0:l.nodeName)==="INPUT"||((c=n.target)==null?void 0:c.nodeName)==="SELECT"||((h=n.target)==null?void 0:h.nodeName)==="BUTTON")return;n.preventDefault(),this.focusedDate||this.focusOnCurrentDate();const m=this.focusedDate?wi(this.focusedDate):Td(this.year,this.month,1);let D=u0(m,i);if(D){let C=this.querySelector(`div[data-date="${Ua(D)}"]`);if(C instanceof HTMLDivElement){if(C.dataset.disabled){D=u0(D,i);let E=this.querySelector(`div[data-date="${Ua(D)}"]`);for(;E&&E instanceof HTMLDivElement&&E.dataset.disabled;)D=u0(D,i),E=this.querySelector(`div[data-date="${Ua(D)}"]`);C=E}C instanceof HTMLDivElement&&!C.dataset.disabled&&(this.focusedDate=Ua(D),C.focus())}}}render(){return we`
|
|
435
|
+
`}};bo([z({type:String})],Yi.prototype,"iconName",2),bo([z({type:String})],Yi.prototype,"secondIconName",2),bo([z({type:String})],Yi.prototype,"mode",2),bo([z({type:String})],Yi.prototype,"size",2),bo([z({type:String})],Yi.prototype,"color",2),bo([z({type:String})],Yi.prototype,"skin",2),bo([z({type:String})],Yi.prototype,"variant",2),bo([z({type:String,reflect:!0})],Yi.prototype,"state",2),bo([z({type:String,reflect:!0})],Yi.prototype,"type",2),bo([z({type:String})],Yi.prototype,"form",2),bo([z({type:Boolean,reflect:!0})],Yi.prototype,"isLoading",2),bo([z({type:Boolean,reflect:!0})],Yi.prototype,"disabled",2),bo([z({type:String})],Yi.prototype,"loadingAnimationPath",2),Yi=bo([fr("pkt-button")],Yi);const _x=6048e5,UP=864e5,Ex=Symbol.for("constructDateFrom");function du(r,n){return typeof r=="function"?r(n):r&&typeof r=="object"&&Ex in r?r[Ex](n):r instanceof Date?new r.constructor(n):new Date(n)}function ko(r,n){return du(n||r,r)}function u0(r,n,i){const l=ko(r,void 0);return isNaN(n)?du(r,NaN):(n&&l.setDate(l.getDate()+n),l)}let HP={};function tb(){return HP}function Ag(r,n){var i,l,c,h;const m=tb(),D=(n==null?void 0:n.weekStartsOn)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.weekStartsOn)??m.weekStartsOn??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.weekStartsOn)??0,C=ko(r,n==null?void 0:n.in),E=C.getDay(),$=(E<D?7:0)+E-D;return C.setDate(C.getDate()-$),C.setHours(0,0,0,0),C}function nb(r,n){return Ag(r,{...n,weekStartsOn:1})}function Tx(r,n){const i=ko(r,void 0),l=i.getFullYear(),c=du(i,0);c.setFullYear(l+1,0,4),c.setHours(0,0,0,0);const h=nb(c),m=du(i,0);m.setFullYear(l,0,4),m.setHours(0,0,0,0);const D=nb(m);return i.getTime()>=h.getTime()?l+1:i.getTime()>=D.getTime()?l:l-1}function Fx(r){const n=ko(r),i=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return i.setUTCFullYear(n.getFullYear()),+r-+i}function Ax(r,...n){const i=du.bind(null,n.find(l=>typeof l=="object"));return n.map(i)}function c0(r,n){const i=ko(r,void 0);return i.setHours(0,0,0,0),i}function WP(r,n,i){const[l,c]=Ax(void 0,r,n),h=c0(l),m=c0(c),D=+h-Fx(h),C=+m-Fx(m);return Math.round((D-C)/UP)}function qP(r,n){const i=Tx(r),l=du(r,0);return l.setFullYear(i,0,4),l.setHours(0,0,0,0),nb(l)}function VP(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function YP(r){return!(!VP(r)&&typeof r!="number"||isNaN(+ko(r)))}function GP(r,n){const i=ko(r,void 0);return i.setHours(23,59,59,999),i}function XP(r,n){const[i,l]=Ax(r,n.start,n.end);return{start:i,end:l}}function d0(r,n){const{start:i,end:l}=XP(void 0,r);let c=+i>+l;const h=c?+i:+l,m=c?l:i;m.setHours(0,0,0,0);let D=1;const C=[];for(;+m<=h;)C.push(du(i,m)),m.setDate(m.getDate()+D),m.setHours(0,0,0,0);return c?C.reverse():C}function JP(r,n){const i=ko(r,void 0);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}const QP={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},KP=(r,n,i)=>{let l;const c=QP[r];return typeof c=="string"?l=c:n===1?l=c.one:l=c.other.replace("{{count}}",n.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+l:l+" ago":l};function f0(r){return(n={})=>{const i=n.width?String(n.width):r.defaultWidth;return r.formats[i]||r.formats[r.defaultWidth]}}const ZP={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},eN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},tN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},nN={date:f0({formats:ZP,defaultWidth:"full"}),time:f0({formats:eN,defaultWidth:"full"}),dateTime:f0({formats:tN,defaultWidth:"full"})},rN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},aN=(r,n,i,l)=>rN[r];function $g(r){return(n,i)=>{const l=i!=null&&i.context?String(i.context):"standalone";let c;if(l==="formatting"&&r.formattingValues){const m=r.defaultFormattingWidth||r.defaultWidth,D=i!=null&&i.width?String(i.width):m;c=r.formattingValues[D]||r.formattingValues[m]}else{const m=r.defaultWidth,D=i!=null&&i.width?String(i.width):r.defaultWidth;c=r.values[D]||r.values[m]}const h=r.argumentCallback?r.argumentCallback(n):n;return c[h]}}const iN={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sN={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},lN={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},uN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},cN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},dN=(r,n)=>{const i=Number(r),l=i%100;if(l>20||l<10)switch(l%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},fN={ordinalNumber:dN,era:$g({values:iN,defaultWidth:"wide"}),quarter:$g({values:oN,defaultWidth:"wide",argumentCallback:r=>r-1}),month:$g({values:sN,defaultWidth:"wide"}),day:$g({values:lN,defaultWidth:"wide"}),dayPeriod:$g({values:uN,defaultWidth:"wide",formattingValues:cN,defaultFormattingWidth:"wide"})};function Pg(r){return(n,i={})=>{const l=i.width,c=l&&r.matchPatterns[l]||r.matchPatterns[r.defaultMatchWidth],h=n.match(c);if(!h)return null;const m=h[0],D=l&&r.parsePatterns[l]||r.parsePatterns[r.defaultParseWidth],C=Array.isArray(D)?hN(D,P=>P.test(m)):pN(D,P=>P.test(m));let E;E=r.valueCallback?r.valueCallback(C):C,E=i.valueCallback?i.valueCallback(E):E;const $=n.slice(m.length);return{value:E,rest:$}}}function pN(r,n){for(const i in r)if(Object.prototype.hasOwnProperty.call(r,i)&&n(r[i]))return i}function hN(r,n){for(let i=0;i<r.length;i++)if(n(r[i]))return i}function mN(r){return(n,i={})=>{const l=n.match(r.matchPattern);if(!l)return null;const c=l[0],h=n.match(r.parsePattern);if(!h)return null;let m=r.valueCallback?r.valueCallback(h[0]):h[0];m=i.valueCallback?i.valueCallback(m):m;const D=n.slice(c.length);return{value:m,rest:D}}}const gN=/^(\d+)(th|st|nd|rd)?/i,vN=/\d+/i,yN={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},bN={any:[/^b/i,/^(a|c)/i]},kN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},wN={any:[/1/i,/2/i,/3/i,/4/i]},DN={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},SN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},CN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},xN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},_N={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},EN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},TN={ordinalNumber:mN({matchPattern:gN,parsePattern:vN,valueCallback:r=>parseInt(r,10)}),era:Pg({matchPatterns:yN,defaultMatchWidth:"wide",parsePatterns:bN,defaultParseWidth:"any"}),quarter:Pg({matchPatterns:kN,defaultMatchWidth:"wide",parsePatterns:wN,defaultParseWidth:"any",valueCallback:r=>r+1}),month:Pg({matchPatterns:DN,defaultMatchWidth:"wide",parsePatterns:SN,defaultParseWidth:"any"}),day:Pg({matchPatterns:CN,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"}),dayPeriod:Pg({matchPatterns:_N,defaultMatchWidth:"any",parsePatterns:EN,defaultParseWidth:"any"})},FN={code:"en-US",formatDistance:KP,formatLong:nN,formatRelative:aN,localize:fN,match:TN,options:{weekStartsOn:0,firstWeekContainsDate:1}};function AN(r,n){const i=ko(r,void 0);return WP(i,JP(i))+1}function $N(r,n){const i=ko(r,void 0),l=+nb(i)-+qP(i);return Math.round(l/_x)+1}function $x(r,n){var i,l,c,h;const m=ko(r,n==null?void 0:n.in),D=m.getFullYear(),C=tb(),E=(n==null?void 0:n.firstWeekContainsDate)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??C.firstWeekContainsDate??((h=(c=C.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,$=du((n==null?void 0:n.in)||r,0);$.setFullYear(D+1,0,E),$.setHours(0,0,0,0);const P=Ag($,n),R=du((n==null?void 0:n.in)||r,0);R.setFullYear(D,0,E),R.setHours(0,0,0,0);const O=Ag(R,n);return+m>=+P?D+1:+m>=+O?D:D-1}function PN(r,n){var i,l,c,h;const m=tb(),D=(n==null?void 0:n.firstWeekContainsDate)??((l=(i=n==null?void 0:n.locale)==null?void 0:i.options)==null?void 0:l.firstWeekContainsDate)??m.firstWeekContainsDate??((h=(c=m.locale)==null?void 0:c.options)==null?void 0:h.firstWeekContainsDate)??1,C=$x(r,n),E=du((n==null?void 0:n.in)||r,0);return E.setFullYear(C,0,D),E.setHours(0,0,0,0),Ag(E,n)}function Px(r,n){const i=ko(r,n==null?void 0:n.in),l=+Ag(i,n)-+PN(i,n);return Math.round(l/_x)+1}function or(r,n){const i=r<0?"-":"",l=Math.abs(r).toString().padStart(n,"0");return i+l}const Ed={y(r,n){const i=r.getFullYear(),l=i>0?i:1-i;return or(n==="yy"?l%100:l,n.length)},M(r,n){const i=r.getMonth();return n==="M"?String(i+1):or(i+1,2)},d(r,n){return or(r.getDate(),n.length)},a(r,n){const i=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(r,n){return or(r.getHours()%12||12,n.length)},H(r,n){return or(r.getHours(),n.length)},m(r,n){return or(r.getMinutes(),n.length)},s(r,n){return or(r.getSeconds(),n.length)},S(r,n){const i=n.length,l=r.getMilliseconds(),c=Math.trunc(l*Math.pow(10,i-3));return or(c,n.length)}},Eh={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Nx={G:function(r,n,i){const l=r.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return i.era(l,{width:"abbreviated"});case"GGGGG":return i.era(l,{width:"narrow"});case"GGGG":default:return i.era(l,{width:"wide"})}},y:function(r,n,i){if(n==="yo"){const l=r.getFullYear(),c=l>0?l:1-l;return i.ordinalNumber(c,{unit:"year"})}return Ed.y(r,n)},Y:function(r,n,i,l){const c=$x(r,l),h=c>0?c:1-c;if(n==="YY"){const m=h%100;return or(m,2)}return n==="Yo"?i.ordinalNumber(h,{unit:"year"}):or(h,n.length)},R:function(r,n){const i=Tx(r);return or(i,n.length)},u:function(r,n){const i=r.getFullYear();return or(i,n.length)},Q:function(r,n,i){const l=Math.ceil((r.getMonth()+1)/3);switch(n){case"Q":return String(l);case"QQ":return or(l,2);case"Qo":return i.ordinalNumber(l,{unit:"quarter"});case"QQQ":return i.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(l,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(l,{width:"wide",context:"formatting"})}},q:function(r,n,i){const l=Math.ceil((r.getMonth()+1)/3);switch(n){case"q":return String(l);case"qq":return or(l,2);case"qo":return i.ordinalNumber(l,{unit:"quarter"});case"qqq":return i.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(l,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(l,{width:"wide",context:"standalone"})}},M:function(r,n,i){const l=r.getMonth();switch(n){case"M":case"MM":return Ed.M(r,n);case"Mo":return i.ordinalNumber(l+1,{unit:"month"});case"MMM":return i.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(l,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(l,{width:"wide",context:"formatting"})}},L:function(r,n,i){const l=r.getMonth();switch(n){case"L":return String(l+1);case"LL":return or(l+1,2);case"Lo":return i.ordinalNumber(l+1,{unit:"month"});case"LLL":return i.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(l,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(l,{width:"wide",context:"standalone"})}},w:function(r,n,i,l){const c=Px(r,l);return n==="wo"?i.ordinalNumber(c,{unit:"week"}):or(c,n.length)},I:function(r,n,i){const l=$N(r);return n==="Io"?i.ordinalNumber(l,{unit:"week"}):or(l,n.length)},d:function(r,n,i){return n==="do"?i.ordinalNumber(r.getDate(),{unit:"date"}):Ed.d(r,n)},D:function(r,n,i){const l=AN(r);return n==="Do"?i.ordinalNumber(l,{unit:"dayOfYear"}):or(l,n.length)},E:function(r,n,i){const l=r.getDay();switch(n){case"E":case"EE":case"EEE":return i.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(l,{width:"short",context:"formatting"});case"EEEE":default:return i.day(l,{width:"wide",context:"formatting"})}},e:function(r,n,i,l){const c=r.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(n){case"e":return String(h);case"ee":return or(h,2);case"eo":return i.ordinalNumber(h,{unit:"day"});case"eee":return i.day(c,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(c,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(c,{width:"short",context:"formatting"});case"eeee":default:return i.day(c,{width:"wide",context:"formatting"})}},c:function(r,n,i,l){const c=r.getDay(),h=(c-l.weekStartsOn+8)%7||7;switch(n){case"c":return String(h);case"cc":return or(h,n.length);case"co":return i.ordinalNumber(h,{unit:"day"});case"ccc":return i.day(c,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(c,{width:"narrow",context:"standalone"});case"cccccc":return i.day(c,{width:"short",context:"standalone"});case"cccc":default:return i.day(c,{width:"wide",context:"standalone"})}},i:function(r,n,i){const l=r.getDay(),c=l===0?7:l;switch(n){case"i":return String(c);case"ii":return or(c,n.length);case"io":return i.ordinalNumber(c,{unit:"day"});case"iii":return i.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(l,{width:"short",context:"formatting"});case"iiii":default:return i.day(l,{width:"wide",context:"formatting"})}},a:function(r,n,i){const l=r.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(l,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(l,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(l,{width:"wide",context:"formatting"})}},b:function(r,n,i){const l=r.getHours();let c;switch(l===12?c=Eh.noon:l===0?c=Eh.midnight:c=l/12>=1?"pm":"am",n){case"b":case"bb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},B:function(r,n,i){const l=r.getHours();let c;switch(l>=17?c=Eh.evening:l>=12?c=Eh.afternoon:l>=4?c=Eh.morning:c=Eh.night,n){case"B":case"BB":case"BBB":return i.dayPeriod(c,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(c,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(c,{width:"wide",context:"formatting"})}},h:function(r,n,i){if(n==="ho"){let l=r.getHours()%12;return l===0&&(l=12),i.ordinalNumber(l,{unit:"hour"})}return Ed.h(r,n)},H:function(r,n,i){return n==="Ho"?i.ordinalNumber(r.getHours(),{unit:"hour"}):Ed.H(r,n)},K:function(r,n,i){const l=r.getHours()%12;return n==="Ko"?i.ordinalNumber(l,{unit:"hour"}):or(l,n.length)},k:function(r,n,i){let l=r.getHours();return l===0&&(l=24),n==="ko"?i.ordinalNumber(l,{unit:"hour"}):or(l,n.length)},m:function(r,n,i){return n==="mo"?i.ordinalNumber(r.getMinutes(),{unit:"minute"}):Ed.m(r,n)},s:function(r,n,i){return n==="so"?i.ordinalNumber(r.getSeconds(),{unit:"second"}):Ed.s(r,n)},S:function(r,n){return Ed.S(r,n)},X:function(r,n,i){const l=r.getTimezoneOffset();if(l===0)return"Z";switch(n){case"X":return Lx(l);case"XXXX":case"XX":return Mf(l);case"XXXXX":case"XXX":default:return Mf(l,":")}},x:function(r,n,i){const l=r.getTimezoneOffset();switch(n){case"x":return Lx(l);case"xxxx":case"xx":return Mf(l);case"xxxxx":case"xxx":default:return Mf(l,":")}},O:function(r,n,i){const l=r.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+Rx(l,":");case"OOOO":default:return"GMT"+Mf(l,":")}},z:function(r,n,i){const l=r.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+Rx(l,":");case"zzzz":default:return"GMT"+Mf(l,":")}},t:function(r,n,i){const l=Math.trunc(+r/1e3);return or(l,n.length)},T:function(r,n,i){return or(+r,n.length)}};function Rx(r,n=""){const i=r>0?"-":"+",l=Math.abs(r),c=Math.trunc(l/60),h=l%60;return h===0?i+String(c):i+String(c)+n+or(h,2)}function Lx(r,n){return r%60===0?(r>0?"-":"+")+or(Math.abs(r)/60,2):Mf(r,n)}function Mf(r,n=""){const i=r>0?"-":"+",l=Math.abs(r),c=or(Math.trunc(l/60),2),h=or(l%60,2);return i+c+n+h}const Ox=(r,n)=>{switch(r){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Bx=(r,n)=>{switch(r){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},NN=(r,n)=>{const i=r.match(/(P+)(p+)?/)||[],l=i[1],c=i[2];if(!c)return Ox(r,n);let h;switch(l){case"P":h=n.dateTime({width:"short"});break;case"PP":h=n.dateTime({width:"medium"});break;case"PPP":h=n.dateTime({width:"long"});break;case"PPPP":default:h=n.dateTime({width:"full"});break}return h.replace("{{date}}",Ox(l,n)).replace("{{time}}",Bx(c,n))},RN={p:Bx,P:NN},LN=/^D+$/,ON=/^Y+$/,BN=["D","DD","YY","YYYY"];function MN(r){return LN.test(r)}function IN(r){return ON.test(r)}function jN(r,n,i){const l=zN(r,n,i);if(console.warn(l),BN.includes(r))throw new RangeError(l)}function zN(r,n,i){const l=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${n}\`) for formatting ${l} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const UN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,HN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,WN=/^'([^]*?)'?$/,qN=/''/g,VN=/[a-zA-Z]/;function YN(r,n,i){var l,c,h,m;const D=tb(),C=D.locale??FN,E=D.firstWeekContainsDate??((c=(l=D.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??1,$=D.weekStartsOn??((m=(h=D.locale)==null?void 0:h.options)==null?void 0:m.weekStartsOn)??0,P=ko(r,void 0);if(!YP(P))throw new RangeError("Invalid time value");let R=n.match(HN).map(I=>{const J=I[0];if(J==="p"||J==="P"){const V=RN[J];return V(I,C.formatLong)}return I}).join("").match(UN).map(I=>{if(I==="''")return{isToken:!1,value:"'"};const J=I[0];if(J==="'")return{isToken:!1,value:GN(I)};if(Nx[J])return{isToken:!0,value:I};if(J.match(VN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+J+"`");return{isToken:!1,value:I}});C.localize.preprocessor&&(R=C.localize.preprocessor(P,R));const O={firstWeekContainsDate:E,weekStartsOn:$,locale:C};return R.map(I=>{if(!I.isToken)return I.value;const J=I.value;(IN(J)||MN(J))&&jN(J,n,String(r));const V=Nx[J[0]];return V(P,J,C.localize,O)}).join("")}function GN(r){const n=r.match(WN);return n?n[1].replace(qN,"'"):r}function XN(r,n){const i=ko(r,void 0).getDay();return i===0?7:i}const Mx={},Ng={};function Rg(r,n){try{const i=(Mx[r]||(Mx[r]=new Intl.DateTimeFormat("en-GB",{timeZone:r,hour:"numeric",timeZoneName:"longOffset"}).format))(n).split("GMT")[1]||"";return i in Ng?Ng[i]:Ix(i,i.split(":"))}catch{if(r in Ng)return Ng[r];const i=r==null?void 0:r.match(JN);return i?Ix(r,i.slice(1)):NaN}}const JN=/([+-]\d\d):?(\d\d)?/;function Ix(r,n){const i=+n[0],l=+(n[1]||0);return Ng[r]=i>0?i*60+l:i*60-l}let Lg=class Oy extends Date{constructor(...n){super(),n.length>1&&typeof n[n.length-1]=="string"&&(this.timeZone=n.pop()),this.internal=new Date,isNaN(Rg(this.timeZone,this))?this.setTime(NaN):n.length?typeof n[0]=="number"&&(n.length===1||n.length===2&&typeof n[1]!="number")?this.setTime(n[0]):typeof n[0]=="string"?this.setTime(+new Date(n[0])):n[0]instanceof Date?this.setTime(+n[0]):(this.setTime(+new Date(...n)),zx(this),p0(this)):this.setTime(Date.now())}static tz(n,...i){return i.length?new Oy(...i,n):new Oy(Date.now(),n)}withTimeZone(n){return new Oy(+this,n)}getTimezoneOffset(){return-Rg(this.timeZone,this)}setTime(n){return Date.prototype.setTime.apply(this,arguments),p0(this),+this}[Symbol.for("constructDateFrom")](n){return new Oy(+new Date(n),this.timeZone)}};const jx=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(r=>{if(!jx.test(r))return;const n=r.replace(jx,"$1UTC");Lg.prototype[n]&&(r.startsWith("get")?Lg.prototype[r]=function(){return this.internal[n]()}:(Lg.prototype[r]=function(){return Date.prototype[n].apply(this.internal,arguments),QN(this),+this},Lg.prototype[n]=function(){return Date.prototype[n].apply(this,arguments),p0(this),+this}))});function p0(r){r.internal.setTime(+r),r.internal.setUTCMinutes(r.internal.getUTCMinutes()-r.getTimezoneOffset())}function QN(r){Date.prototype.setFullYear.call(r,r.internal.getUTCFullYear(),r.internal.getUTCMonth(),r.internal.getUTCDate()),Date.prototype.setHours.call(r,r.internal.getUTCHours(),r.internal.getUTCMinutes(),r.internal.getUTCSeconds(),r.internal.getUTCMilliseconds()),zx(r)}function zx(r){const n=Rg(r.timeZone,r),i=new Date(+r);i.setUTCHours(i.getUTCHours()-1);const l=-new Date(+r).getTimezoneOffset(),c=-new Date(+i).getTimezoneOffset(),h=l-c,m=Date.prototype.getHours.apply(r)!==r.internal.getUTCHours();h&&m&&r.internal.setUTCMinutes(r.internal.getUTCMinutes()+h);const D=l-n;D&&Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+D);const C=Rg(r.timeZone,r),E=-new Date(+r).getTimezoneOffset()-C,$=C!==n,P=E-D;if($&&P){Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+P);const R=Rg(r.timeZone,r),O=C-R;O&&(r.internal.setUTCMinutes(r.internal.getUTCMinutes()+O),Date.prototype.setUTCMinutes.call(r,Date.prototype.getUTCMinutes.call(r)+O))}}let KN=class By extends Lg{static tz(n,...i){return i.length?new By(...i,n):new By(Date.now(),n)}toISOString(){const[n,i,l]=this.tzComponents(),c=`${n}${i}:${l}`;return this.internal.toISOString().slice(0,-1)+c}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[n,i,l,c]=this.internal.toUTCString().split(" ");return`${n==null?void 0:n.slice(0,-1)} ${l} ${i} ${c}`}toTimeString(){const n=this.internal.toUTCString().split(" ")[4],[i,l,c]=this.tzComponents();return`${n} GMT${i}${l}${c} (${ZN(this.timeZone,this)})`}toLocaleString(n,i){return Date.prototype.toLocaleString.call(this,n,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleDateString(n,i){return Date.prototype.toLocaleDateString.call(this,n,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}toLocaleTimeString(n,i){return Date.prototype.toLocaleTimeString.call(this,n,{...i,timeZone:(i==null?void 0:i.timeZone)||this.timeZone})}tzComponents(){const n=this.getTimezoneOffset(),i=n>0?"-":"+",l=String(Math.floor(Math.abs(n)/60)).padStart(2,"0"),c=String(Math.abs(n)%60).padStart(2,"0");return[i,l,c]}withTimeZone(n){return new By(+this,n)}[Symbol.for("constructDateFrom")](n){return new By(+new Date(n),this.timeZone)}};function ZN(r,n){return new Intl.DateTimeFormat("en-GB",{timeZone:r,timeZoneName:"long"}).format(n).slice(12)}window.pktTz=window.pktTz===void 0?"Europe/Oslo":window.pktTz;const e3=(r=window.pktTz)=>{const n=new KN(new Date().toISOString(),r);return n.setHours(0,0,0,0),isNaN(n.getTime())?new Date:new Date(n.getFullYear(),n.getMonth(),n.getDate())};function If(r){if(!r||r==="")return new Date;if(/^\d{4}-\d{2}-\d{2}$/.test(r)){const[n,i,l]=r.split("-").map(Number);return new Date(n,i-1,l)}if(/^\d{4}-\d{2}$/.test(r)){const[n,i]=r.split("-").map(Number);return new Date(n,i-1,1)}return/^\d{4}$/.test(r)?new Date(Number(r),0,1):new Date(r)}const Ua=r=>{if(!r||isNaN(r.getTime()))return"";const n=r.getFullYear(),i=String(r.getMonth()+1).padStart(2,"0"),l=String(r.getDate()).padStart(2,"0");return`${n}-${i}-${l}`},h0=r=>{if(!r)return null;const n=If(r);return isNaN(n.getTime())?null:n},Ux=(r,n)=>{const i=wi(r);return isNaN(i.getTime())?"":YN(i,n)},wi=(r="",n)=>{const i=typeof r=="string"?If(r):r;return!i||isNaN(i.getTime())?new Date:n?n==="end"?GP(i):c0(i):i},Td=(r,n,i=1)=>{if(typeof r!="number"||typeof n!="number"||typeof i!="number"||isNaN(r)||isNaN(n)||isNaN(i))return new Date;const l=new Date(r,n,i);return isNaN(l.getTime())?new Date:l},t3=r=>!r||isNaN(r.getTime())?"":new Intl.DateTimeFormat("no",{dateStyle:"full",timeZone:window.pktTz}).format(r),Hx=r=>{if(Array.isArray(r))return r;if(typeof r=="string")return r.split(",")},n3=r=>r?If(r):null,r3=r=>{if(typeof r=="string")return r.split(",").map(n=>If(n));if(Array.isArray(r))return r.map(n=>If(n))},Th={csvToArray:Hx,stringToDate:n3,stringsToDate:r3},a3={earliest:{default:null},latest:{default:null},weeknumbers:{default:!1},withcontrols:{default:!1},multiple:{default:!1},maxMultiple:{default:4},range:{default:!1}},jf={props:a3};var i3=Object.defineProperty,o3=Object.getOwnPropertyDescriptor,pr=(r,n,i,l)=>{for(var c=l>1?void 0:l?o3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&i3(n,i,c),c};let sr=class extends da{constructor(){super(...arguments),this.multiple=jf.props.multiple.default,this.maxMultiple=jf.props.maxMultiple.default,this.range=jf.props.range.default,this.weeknumbers=jf.props.weeknumbers.default,this.withcontrols=jf.props.withcontrols.default,this.selected=[],this.earliest=jf.props.earliest.default,this.latest=jf.props.latest.default,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.dayStrings=this.strings.dates.daysShort,this.dayStringsLong=this.strings.dates.days,this.monthStrings=this.strings.dates.months,this.weekString=this.strings.dates.week,this.prevMonthString=this.strings.dates.prevMonth,this.nextMonthString=this.strings.dates.nextMonth,this._selected=[],this.year=0,this.month=0,this.week=0,this.rangeHovered=null,this.inRange={},this.focusedDate=null,this.selectableDates=[],this.currentmonthtouched=!1,this.tabIndexSet=0}connectedCallback(){super.connectedCallback()}disconnectedCallback(){this.removeEventListener("keydown",this.handleKeydown),super.disconnectedCallback()}attributeChangedCallback(n,i,l){n==="selected"&&l&&this.convertSelected(),super.attributeChangedCallback(n,i,l)}updated(n){super.updated(n),n.has("selected")&&this.convertSelected()}firstUpdated(n){this.addEventListener("keydown",this.handleKeydown)}convertSelected(){if(typeof this.selected=="string"&&(this.selected=this.selected.split(",")),this.selected.length===1&&this.selected[0]===""&&(this.selected=[]),this._selected=this.selected.map(n=>If(n)),this.range&&this.selected.length===2){const n=d0({start:this._selected[0],end:this._selected[1]});if(this.inRange={},Array.isArray(n)&&n.length){const i={};for(let l=0;l<n.length;l++)i[Ua(n[l])]=this.isInRange(n[l]);this.inRange=i}}this.setCurrentMonth()}setCurrentMonth(){if(this.currentmonth===null&&!this.currentmonthtouched){this.currentmonthtouched=!0;return}if(this.selected.length&&this.selected[0]!==""){const n=If(this.selected[this.selected.length-1]);this.currentmonth=isNaN(n.getTime())?new Date:n}else this.currentmonth===null&&(this.currentmonth=new Date);(!this.currentmonth||isNaN(this.currentmonth.getTime()))&&(this.currentmonth=new Date),this.year=this.currentmonth.getFullYear(),this.month=this.currentmonth.getMonth()}handleKeydown(n){switch(n.key){case"ArrowLeft":this.handleArrowKey(n,-1);break;case"ArrowRight":this.handleArrowKey(n,1);break;case"ArrowUp":this.handleArrowKey(n,-7);break;case"ArrowDown":this.handleArrowKey(n,7);break}}handleArrowKey(n,i){var l,c,h;if(((l=n.target)==null?void 0:l.nodeName)==="INPUT"||((c=n.target)==null?void 0:c.nodeName)==="SELECT"||((h=n.target)==null?void 0:h.nodeName)==="BUTTON")return;n.preventDefault(),this.focusedDate||this.focusOnCurrentDate();const m=this.focusedDate?wi(this.focusedDate):Td(this.year,this.month,1);let D=u0(m,i);if(D){let C=this.querySelector(`div[data-date="${Ua(D)}"]`);if(C instanceof HTMLDivElement){if(C.dataset.disabled){D=u0(D,i);let E=this.querySelector(`div[data-date="${Ua(D)}"]`);for(;E&&E instanceof HTMLDivElement&&E.dataset.disabled;)D=u0(D,i),E=this.querySelector(`div[data-date="${Ua(D)}"]`);C=E}C instanceof HTMLDivElement&&!C.dataset.disabled&&(this.focusedDate=Ua(D),C.focus())}}}render(){return we`
|
|
436
436
|
<div
|
|
437
437
|
class="pkt-calendar ${this.weeknumbers?"pkt-cal-weeknumbers":Ge}"
|
|
438
438
|
@focusout=${this.closeEvent}
|
|
@@ -646,7 +646,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
646
646
|
* @license
|
|
647
647
|
* Copyright 2017 Google LLC
|
|
648
648
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
649
|
-
*/const Wx=(r,n,i)=>{const l=new Map;for(let c=n;c<=i;c++)l.set(r[c],c);return l},g0=Lf(class extends Dh{constructor(r){if(super(r),r.type!==cl.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,n,i){let l;i===void 0?i=n:n!==void 0&&(l=n);const c=[],h=[];let m=0;for(const D of r)c[m]=l?l(D,m):m,h[m]=i(D,m),m++;return{values:h,keys:c}}render(r,n,i){return this.dt(r,n,i).values}update(r,[n,i,l]){const c=bP(r),{values:h,keys:m}=this.dt(n,i,l);if(!Array.isArray(c))return this.ut=m,h;const D=this.ut??(this.ut=[]),C=[];let E,$,P=0,R=c.length-1,O=0,j=h.length-1;for(;P<=R&&O<=j;)if(c[P]===null)P++;else if(c[R]===null)R--;else if(D[P]===m[O])C[O]=Of(c[P],h[O]),P++,O++;else if(D[R]===m[j])C[j]=Of(c[R],h[j]),R--,j--;else if(D[P]===m[j])C[j]=Of(c[P],h[j]),Eg(r,C[j+1],c[P]),P++,j--;else if(D[R]===m[O])C[O]=Of(c[R],h[O]),Eg(r,c[P],c[R]),R--,O++;else if(E===void 0&&(E=Wx(m,O,j),$=Wx(D,P,R)),E.has(D[P]))if(E.has(D[R])){const J=$.get(m[O]),V=J!==void 0?c[J]:null;if(V===null){const De=Eg(r,c[P]);Of(De,h[O]),C[O]=De}else C[O]=Of(V,h[O]),Eg(r,c[P],V),c[J]=null;O++}else i0(c[R]),R--;else i0(c[P]),P++;for(;O<=j;){const J=Eg(r,C[j+1]);Of(J,h[O]),C[O++]=J}for(;P<=R;){const J=c[P++];J!==null&&i0(J)}return this.ut=m,Dx(r,C),vo}}),qx=()=>("00000000000000000"+(Math.random()*18446744073709552e3).toString(16)).slice(-16),zf=()=>{const r=qx(),n=qx();return r.slice(0,8)+"-"+r.slice(8,12)+"-4"+r.slice(13)+"-a"+n.slice(1,4)+"-"+n.slice(4)},p3={helptextDropdownButton:{default:"Les mer <span class='pkt-sr-only'>om feltet</span>"},counter:{default:!1},optionalTag:{default:!1},optionalText:{default:"Valgfritt"},requiredTag:{default:!1},requiredText:{default:"Må fylles ut"},hasError:{default:!1},disabled:{default:!1},inline:{default:!1},hasFieldset:{default:!1},useWrapper:{default:!0}},Jo={props:p3};(function(){(function(r){const n=new WeakMap,i=new WeakMap,l=new WeakMap,c=new WeakMap,h=new WeakMap,m=new WeakMap,D=new WeakMap,C=new WeakMap,E=new WeakMap,$=new WeakMap,P=new WeakMap,R=new WeakMap,O=new WeakMap,j=new WeakMap,J=new WeakMap,V={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"},De=(pe,ee)=>{for(let be in V){ee[be]=null;let Pe=null;const Ee=V[be];Object.defineProperty(ee,be,{get(){return Pe},set(Be){Pe=Be,pe.isConnected?Ye(pe,Ee,Be):$.set(pe,ee)}})}};function q(pe){const ee=c.get(pe),{form:be}=ee;Q(pe,be,ee),at(pe,ee.labels)}const W=(pe,ee=!1)=>{const be=document.createTreeWalker(pe,NodeFilter.SHOW_ELEMENT,{acceptNode(Be){return c.has(Be)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let Pe=be.nextNode();const Ee=!ee||pe.disabled;for(;Pe;)Pe.formDisabledCallback&&Ee&&We(Pe,pe.disabled),Pe=be.nextNode()},K={attributes:!0,attributeFilter:["disabled","name"]},X=lt()?new MutationObserver(pe=>{for(const ee of pe){const be=ee.target;if(ee.attributeName==="disabled"&&(be.constructor.formAssociated?We(be,be.hasAttribute("disabled")):be.localName==="fieldset"&&W(be)),ee.attributeName==="name"&&be.constructor.formAssociated){const Pe=c.get(be),Ee=E.get(be);Pe.setFormValue(Ee)}}}):{};function ae(pe){pe.forEach(ee=>{const{addedNodes:be,removedNodes:Pe}=ee,Ee=Array.from(be),Be=Array.from(Pe);Ee.forEach(Xe=>{var _t;if(c.has(Xe)&&Xe.constructor.formAssociated&&q(Xe),$.has(Xe)){const Ut=$.get(Xe);Object.keys(V).filter(Sn=>Ut[Sn]!==null).forEach(Sn=>{Ye(Xe,V[Sn],Ut[Sn])}),$.delete(Xe)}if(J.has(Xe)){const Ut=J.get(Xe);Ye(Xe,"internals-valid",Ut.validity.valid.toString()),Ye(Xe,"internals-invalid",(!Ut.validity.valid).toString()),Ye(Xe,"aria-invalid",(!Ut.validity.valid).toString()),J.delete(Xe)}if(Xe.localName==="form"){const Ut=C.get(Xe),Sn=document.createTreeWalker(Xe,NodeFilter.SHOW_ELEMENT,{acceptNode(Er){return c.has(Er)&&Er.constructor.formAssociated&&!(Ut&&Ut.has(Er))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let _n=Sn.nextNode();for(;_n;)q(_n),_n=Sn.nextNode()}Xe.localName==="fieldset"&&((_t=X.observe)===null||_t===void 0||_t.call(X,Xe,K),W(Xe,!0))}),Be.forEach(Xe=>{const _t=c.get(Xe);_t&&l.get(_t)&&Me(_t),D.has(Xe)&&D.get(Xe).disconnect()})})}function ue(pe){pe.forEach(ee=>{const{removedNodes:be}=ee;be.forEach(Pe=>{const Ee=O.get(ee.target);c.has(Pe)&&pt(Pe),Ee.disconnect()})})}const xe=pe=>{var ee,be;const Pe=new MutationObserver(ue);!((ee=window==null?void 0:window.ShadyDOM)===null||ee===void 0)&&ee.inUse&&pe.mode&&pe.host&&(pe=pe.host),(be=Pe.observe)===null||be===void 0||be.call(Pe,pe,{childList:!0}),O.set(pe,Pe)};lt()&&new MutationObserver(ae);const ye={childList:!0,subtree:!0},Ye=(pe,ee,be)=>{pe.getAttribute(ee)!==be&&pe.setAttribute(ee,be)},We=(pe,ee)=>{pe.toggleAttribute("internals-disabled",ee),ee?Ye(pe,"aria-disabled","true"):pe.removeAttribute("aria-disabled"),pe.formDisabledCallback&&pe.formDisabledCallback.apply(pe,[ee])},Me=pe=>{l.get(pe).forEach(ee=>{ee.remove()}),l.set(pe,[])},Qe=(pe,ee)=>{const be=document.createElement("input");return be.type="hidden",be.name=pe.getAttribute("name"),pe.after(be),l.get(ee).push(be),be},Ie=(pe,ee)=>{var be;l.set(ee,[]),(be=X.observe)===null||be===void 0||be.call(X,pe,K)},at=(pe,ee)=>{if(ee.length){Array.from(ee).forEach(Pe=>Pe.addEventListener("click",pe.click.bind(pe)));let be=ee[0].id;ee[0].id||(be=`${ee[0].htmlFor}_Label`,ee[0].id=be),Ye(pe,"aria-labelledby",be)}},Le=pe=>{const ee=Array.from(pe.elements).filter(Be=>!Be.tagName.includes("-")&&Be.validity).map(Be=>Be.validity.valid),be=C.get(pe)||[],Pe=Array.from(be).filter(Be=>Be.isConnected).map(Be=>c.get(Be).validity.valid),Ee=[...ee,...Pe].includes(!1);pe.toggleAttribute("internals-invalid",Ee),pe.toggleAttribute("internals-valid",!Ee)},Ae=pe=>{Le(le(pe.target))},ce=pe=>{Le(le(pe.target))},Ne=pe=>{const ee=["button[type=submit]","input[type=submit]","button:not([type])"].map(be=>`${be}:not([disabled])`).map(be=>`${be}:not([form])${pe.id?`,${be}[form='${pe.id}']`:""}`).join(",");pe.addEventListener("click",be=>{if(be.target.closest(ee)){const Pe=C.get(pe);if(pe.noValidate)return;Pe.size&&Array.from(Pe).reverse().map(Ee=>c.get(Ee).reportValidity()).includes(!1)&&be.preventDefault()}})},Se=pe=>{const ee=C.get(pe.target);ee&&ee.size&&ee.forEach(be=>{be.constructor.formAssociated&&be.formResetCallback&&be.formResetCallback.apply(be)})},Q=(pe,ee,be)=>{if(ee){const Pe=C.get(ee);if(Pe)Pe.add(pe);else{const Ee=new Set;Ee.add(pe),C.set(ee,Ee),Ne(ee),ee.addEventListener("reset",Se),ee.addEventListener("input",Ae),ee.addEventListener("change",ce)}m.set(ee,{ref:pe,internals:be}),pe.constructor.formAssociated&&pe.formAssociatedCallback&&setTimeout(()=>{pe.formAssociatedCallback.apply(pe,[ee])},0),Le(ee)}},le=pe=>{let ee=pe.parentNode;return ee&&ee.tagName!=="FORM"&&(ee=le(ee)),ee},it=(pe,ee,be=DOMException)=>{if(!pe.constructor.formAssociated)throw new be(ee)},Je=(pe,ee,be)=>{const Pe=C.get(pe);return Pe&&Pe.size&&Pe.forEach(Ee=>{c.get(Ee)[be]()||(ee=!1)}),ee},pt=pe=>{if(pe.constructor.formAssociated){const ee=c.get(pe),{labels:be,form:Pe}=ee;at(pe,be),Q(pe,Pe,ee)}};function lt(){return typeof MutationObserver<"u"}class gt{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const vt=pe=>(pe.badInput=!1,pe.customError=!1,pe.patternMismatch=!1,pe.rangeOverflow=!1,pe.rangeUnderflow=!1,pe.stepMismatch=!1,pe.tooLong=!1,pe.tooShort=!1,pe.typeMismatch=!1,pe.valid=!0,pe.valueMissing=!1,pe),Et=(pe,ee,be)=>(pe.valid=tn(ee),Object.keys(ee).forEach(Pe=>pe[Pe]=ee[Pe]),be&&Le(be),pe),tn=pe=>{let ee=!0;for(let be in pe)be!=="valid"&&pe[be]!==!1&&(ee=!1);return ee},zt=new WeakMap;function zn(pe,ee){pe.toggleAttribute(ee,!0),pe.part&&pe.part.add(ee)}class At extends Set{static get isPolyfilled(){return!0}constructor(ee){if(super(),!ee||!ee.tagName||ee.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");zt.set(this,ee)}add(ee){if(!/^--/.test(ee)||typeof ee!="string")throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${ee} must start with '--'.`);const be=super.add(ee),Pe=zt.get(this),Ee=`state${ee}`;return Pe.isConnected?zn(Pe,Ee):setTimeout(()=>{zn(Pe,Ee)}),be}clear(){for(let[ee]of this.entries())this.delete(ee);super.clear()}delete(ee){const be=super.delete(ee),Pe=zt.get(this);return Pe.isConnected?(Pe.toggleAttribute(`state${ee}`,!1),Pe.part&&Pe.part.remove(`state${ee}`)):setTimeout(()=>{Pe.toggleAttribute(`state${ee}`,!1),Pe.part&&Pe.part.remove(`state${ee}`)}),be}}function ot(pe,ee,be,Pe){if(typeof ee=="function"?pe!==ee||!0:!ee.has(pe))throw new TypeError("Cannot read private member from an object whose class did not declare it");return be==="m"?Pe:be==="a"?Pe.call(pe):Pe?Pe.value:ee.get(pe)}function Un(pe,ee,be,Pe,Ee){if(typeof ee=="function"?pe!==ee||!0:!ee.has(pe))throw new TypeError("Cannot write private member to an object whose class did not declare it");return ee.set(pe,be),be}var yn;class br{constructor(ee){yn.set(this,void 0),Un(this,yn,ee);for(let be=0;be<ee.length;be++){let Pe=ee[be];this[be]=Pe,Pe.hasAttribute("name")&&(this[Pe.getAttribute("name")]=Pe)}Object.freeze(this)}get length(){return ot(this,yn,"f").length}[(yn=new WeakMap,Symbol.iterator)](){return ot(this,yn,"f")[Symbol.iterator]()}item(ee){return this[ee]==null?null:this[ee]}namedItem(ee){return this[ee]==null?null:this[ee]}}function Xi(){const pe=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=be;const ee=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=Pe;function be(...Be){let Xe=pe.apply(this,Be);return Je(this,Xe,"checkValidity")}function Pe(...Be){let Xe=ee.apply(this,Be);return Je(this,Xe,"reportValidity")}const{get:Ee}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...Be){const Xe=Ee.call(this,...Be),_t=Array.from(C.get(this)||[]);if(_t.length===0)return Xe;const Ut=Array.from(Xe).concat(_t).sort((Sn,_n)=>Sn.compareDocumentPosition?Sn.compareDocumentPosition(_n)&2?1:-1:0);return new br(Ut)}})}class Rr{static get isPolyfilled(){return!0}constructor(ee){if(!ee||!ee.tagName||ee.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");const be=ee.getRootNode(),Pe=new gt;this.states=new At(ee),n.set(this,ee),i.set(this,Pe),c.set(ee,this),De(ee,this),Ie(ee,this),Object.seal(this),be instanceof DocumentFragment&&xe(be)}checkValidity(){const ee=n.get(this);if(it(ee,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const be=i.get(this);if(!be.valid){const Pe=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});ee.dispatchEvent(Pe)}return be.valid}get form(){const ee=n.get(this);it(ee,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");let be;return ee.constructor.formAssociated===!0&&(be=le(ee)),be}get labels(){const ee=n.get(this);it(ee,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const be=ee.getAttribute("id"),Pe=ee.getRootNode();return Pe&&be?Pe.querySelectorAll(`[for="${be}"]`):[]}reportValidity(){const ee=n.get(this);if(it(ee,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const be=this.checkValidity(),Pe=R.get(this);if(Pe&&!ee.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!be&&Pe&&(ee.focus(),Pe.focus()),be}setFormValue(ee){const be=n.get(this);if(it(be,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),Me(this),ee!=null&&!(ee instanceof FormData)){if(be.getAttribute("name")){const Pe=Qe(be,this);Pe.value=ee}}else ee!=null&&ee instanceof FormData&&Array.from(ee).reverse().forEach(([Pe,Ee])=>{if(typeof Ee=="string"){const Be=Qe(be,this);Be.name=Pe,Be.value=Ee}});E.set(be,ee)}setValidity(ee,be,Pe){const Ee=n.get(this);if(it(Ee,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!ee)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");R.set(this,Pe);const Be=i.get(this),Xe={};for(const Sn in ee)Xe[Sn]=ee[Sn];Object.keys(Xe).length===0&&vt(Be);const _t=Object.assign(Object.assign({},Be),Xe);delete _t.valid;const{valid:Ut}=Et(Be,_t,this.form);if(!Ut&&!be)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");h.set(this,Ut?"":be),Ee.isConnected?(Ee.toggleAttribute("internals-invalid",!Ut),Ee.toggleAttribute("internals-valid",Ut),Ye(Ee,"aria-invalid",`${!Ut}`)):J.set(Ee,this)}get shadowRoot(){const ee=n.get(this);return P.get(ee)||null}get validationMessage(){const ee=n.get(this);return it(ee,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),h.get(this)}get validity(){const ee=n.get(this);return it(ee,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const ee=n.get(this);return it(ee,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(ee.disabled||ee.hasAttribute("disabled")||ee.hasAttribute("readonly"))}}function kr(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class pe extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const ee=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(ee,pe);const be=new pe;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(Pe=>Pe in be.internals)}let Zn=!1,un=!1;function bn(pe){un||(un=!0,window.CustomStateSet=At,pe&&(HTMLElement.prototype.attachInternals=function(...ee){const be=pe.call(this,ee);return be.states=new At(this),be}))}function sn(pe=!0){if(!Zn){if(Zn=!0,typeof window<"u"&&(window.ElementInternals=Rr),typeof CustomElementRegistry<"u"){const ee=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(be,Pe,Ee){if(Pe.formAssociated){const Be=Pe.prototype.connectedCallback;Pe.prototype.connectedCallback=function(){j.has(this)||(j.set(this,!0),this.hasAttribute("disabled")&&We(this,!0)),Be!=null&&Be.apply(this),pt(this)}}ee.call(this,be,Pe,Ee)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(this.tagName){if(this.tagName.indexOf("-")===-1)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.")}else return{};if(c.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new Rr(this)}),typeof Element<"u"){let ee=function(...Pe){const Ee=be.apply(this,Pe);if(P.set(this,Ee),lt()){const Be=new MutationObserver(ae);window.ShadyDOM?Be.observe(this,ye):Be.observe(Ee,ye),D.set(this,Be)}return Ee};const be=Element.prototype.attachShadow;Element.prototype.attachShadow=ee}lt()&&typeof document<"u"&&new MutationObserver(ae).observe(document.documentElement,ye),typeof HTMLFormElement<"u"&&Xi(),(pe||typeof window<"u"&&!window.CustomStateSet)&&bn()}}return customElements.polyfillWrapFlushCallback||(kr()?typeof window<"u"&&!window.CustomStateSet&&bn(HTMLElement.prototype.attachInternals):sn(!1)),r.forceCustomStateSetPolyfill=bn,r.forceElementInternalsPolyfill=sn,Object.defineProperty(r,"__esModule",{value:!0}),r})({})})();var h3=Object.defineProperty,Nn=(r,n,i,l)=>{for(var c=void 0,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=m(n,i,c)||c);return c&&h3(n,i,c),c};let fn=class extends da{constructor(){super(),this.defaultValue=null,this.disabled=!1,this.readonly=!1,this.required=!1,this.max=null,this.maxlength=null,this.min=null,this.minlength=null,this.step=null,this.ariaDescribedBy=null,this.ariaLabelledby=null,this.name="",this.pattern=null,this.placeholder=null,this.id=zf(),this.counter=!1,this.hasError=!1,this.inline=!1,this.hasFieldset=!1,this.optionalTag=!1,this.requiredTag=!1,this.skipForwardTestid=!1,this.useWrapper=!0,this.fullwidth=!1,this.counterMaxLength=0,this.errorMessage="",this.helptext="",this.helptextDropdown="",this.helptextDropdownButton=Jo.props.helptextDropdownButton.default,this.label=null,this.optionalText=Vi.forms.labels.optional,this.requiredText=Vi.forms.labels.required,this.dataTestid="",this.touched=!1,this.internals=this.attachInternals()}static get formAssociated(){return!0}manageValidity(n){var i,l,c,h,m,D,C,E,$,P,R;n&&(this.required&&!this.value?this.internals.setValidity({valueMissing:!0},Vi.forms.messages.required,n):(i=n.validity)!=null&&i.typeMismatch||(l=n.validity)!=null&&l.badInput?this.internals.setValidity({typeMismatch:!0},Vi.forms.messages.invalid,n):(c=n.validity)!=null&&c.patternMismatch?this.internals.setValidity({patternMismatch:!0},Vi.forms.messages.invalidPattern,n):(h=n.validity)!=null&&h.tooShort||this.minlength&&this.minlength>0&&this.value.length<this.minlength?this.internals.setValidity({tooShort:!0},Vi.forms.messages.tooShort,n):(m=n.validity)!=null&&m.tooLong||this.maxlength&&this.maxlength>0&&this.value.length>this.maxlength?this.internals.setValidity({tooLong:!0},Vi.forms.messages.tooLong,n):(D=n.validity)!=null&&D.rangeUnderflow?this.internals.setValidity({rangeUnderflow:!0},this.min?Vi.forms.messages.rangeUnderflowMin.replace("{min}",(C=this.min)==null?void 0:C.toString()):Vi.forms.messages.rangeUnderflow,n):(E=n.validity)!=null&&E.stepMismatch?this.internals.setValidity({stepMismatch:!0},Vi.forms.messages.invalid,n):($=n.validity)!=null&&$.rangeOverflow?this.internals.setValidity({rangeOverflow:!0},this.max?Vi.forms.messages.rangeOverflowMax.replace("{max}",(P=this.max)==null?void 0:P.toString()):Vi.forms.messages.rangeOverflow,n):(R=n.validity)!=null&&R.customError?this.internals.setValidity({customError:!0},n.validationMessage,n):this.internals.setValidity({}))}setFormValue(n){if(this.internals)if(Array.isArray(n)){const i=new FormData;n.forEach(l=>{i.append(this.name,l)}),this.internals.setFormValue(i)}else this.internals.setFormValue(n)}valueChecked(n){if(!this.touched)return;const i=this.internals.form||this.closest("form"),l=i?new FormData(i):null;i&&i.querySelectorAll(`pkt-radiobutton[name="${this.name}"], input[type=radio][name="${this.name}"]`).forEach(c=>{const h=c;h.name===this.name&&h.value!==this.value&&h.checked&&(h.checked=!1)}),typeof n=="string"?(this.checked=n==="true",this.internals.ariaChecked=n==="true"):typeof n=="boolean"&&(this.checked=n,this.internals.ariaChecked=n),this.checked?(this.internals.setFormValue(this.value||"on",this.value||"on"),l&&l.append(this.name,this.value||"on"),this.internals.states.add("--checked")):(this.internals.setFormValue(null,null),l&&l.delete(this.name),this.internals.states.delete("--checked")),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("value-change",{detail:this.checked,bubbles:!0,composed:!0})),this.internals.reportValidity()}valueChanged(n,i){(i!==this.value||i!==this._value)&&(typeof n=="string"?((this.multiple||this.range)&&n.includes(",")&&(n=n.split(",")),this.value=n,this._value=Array.isArray(n)?n:[n]):Array.isArray(n)?(this.value=this.multiple||this.range?n:n[0],this._value=n):(this.value="",this._value=[]),(!this.value||this.value.length===0)&&i&&i.length!==0?this.clearInputValue():this.value&&this.value.toString()!==(i==null?void 0:i.toString())&&this.onChange(this.value),this.updateComplete.then(()=>this.requestUpdate()))}clearInputValue(){const n=this.multiple||this.range?[]:"";this.value=n,this.internals.setFormValue(n),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("value-change",{detail:n,bubbles:!0,composed:!0}))}onFocus(){this.dispatchEvent(new FocusEvent("focus",{bubbles:!0,composed:!0}))}onBlur(){this.dispatchEvent(new FocusEvent("blur",{bubbles:!0,composed:!0}))}onInput(){this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))}onChange(n){if(!this.touched){this.touched=!0,n&&this.setFormValue(n);return}typeof n!="string"&&!Array.isArray(n)||((this.range||this.multiple)&&!Array.isArray(n)&&n.includes(",")&&(n=n.split(",")),!this.multiple&&!this.range&&Array.isArray(n)&&(n=n[0]),this.setFormValue(n),this.manageValidity(this.inputRef.value),this.inputRefTo&&this.manageValidity(this.inputRefTo.value),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("value-change",{detail:n,bubbles:!0,composed:!0})))}formResetCallback(){this.touched=!1,this._options&&this._options.length&&this._options.forEach(n=>{n.selected=!1}),this.checked!==void 0?(this.checked=!1,this.internals.ariaChecked=!1,this.internals.setFormValue("",""),this.inputRef.value.checked=!1,this.valueChecked(this.checked)):(this.internals.setFormValue(""),this.value=this.defaultValue||(this.multiple||this.range?[]:""),this._value=this.value,this.valueChanged(this.value,null)),this.internals.ariaInvalid=!1}updated(n){super.updated(n),n.has("dataTestid")&&this.dataTestid&&this.inputRef.value&&(this.skipForwardTestid?this.hasAttribute("data-testid")||this.setAttribute("data-testid",this.dataTestid):(this.inputRef.value.dataset.testid=this.dataTestid,this.removeAttribute("data-testid")))}firstUpdated(n){if(super.firstUpdated(n),!this.form){const i=this.internals.form||this.closest("form");this.form=i}if(this.value&&this.defaultValue!==null&&(this.defaultValue=this.value),this.defaultValue!==null&&!this.value&&this.valueChanged(this.defaultValue,null),this.defaultChecked&&(this.internals.ariaChecked=!0,this.checked=!0),this.required&&(this.internals.ariaRequired=!0),this.disabled&&(this.internals.ariaDisabled=!0),this.id&&!this.name&&(this.name=this.id),this.checked!==void 0){const i=this.checked===""||this.checked==="true"||this.checked===!0;this.internals.ariaChecked=i,this.internals.setFormValue(i?this.value||"on":"",i?this.value||"on":"")}else this.internals.setFormValue(this.value);this.inputRef&&this.inputRef.value&&(this.inputRef.value.setAttribute("form",""),this.manageValidity(this.inputRef.value)),this.inputRefTo&&this.inputRefTo.value&&(this.inputRefTo.value.setAttribute("form",""),this.manageValidity(this.inputRefTo.value))}};Nn([z()],fn.prototype,"defaultValue"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"disabled"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"readonly"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"required"),Nn([z({type:Number,reflect:!0})],fn.prototype,"max"),Nn([z({type:Number,reflect:!0})],fn.prototype,"maxlength"),Nn([z({type:Number,reflect:!0})],fn.prototype,"min"),Nn([z({type:Number,reflect:!0})],fn.prototype,"minlength"),Nn([z({type:Number,reflect:!0})],fn.prototype,"step"),Nn([z({type:String})],fn.prototype,"ariaDescribedBy"),Nn([z({type:String})],fn.prototype,"ariaLabelledby"),Nn([z({type:String,reflect:!0})],fn.prototype,"name"),Nn([z({type:String,reflect:!0})],fn.prototype,"pattern"),Nn([z({type:String,reflect:!0})],fn.prototype,"placeholder"),Nn([z({type:String,reflect:!0})],fn.prototype,"id"),Nn([z({type:Boolean})],fn.prototype,"counter"),Nn([z({type:Boolean})],fn.prototype,"hasError"),Nn([z({type:Boolean})],fn.prototype,"inline"),Nn([z({type:Boolean})],fn.prototype,"hasFieldset"),Nn([z({type:Boolean})],fn.prototype,"optionalTag"),Nn([z({type:Boolean})],fn.prototype,"requiredTag"),Nn([z({type:Boolean})],fn.prototype,"skipForwardTestid"),Nn([z({type:Boolean,reflect:!1})],fn.prototype,"useWrapper"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"fullwidth"),Nn([z({type:Number})],fn.prototype,"counterMaxLength"),Nn([z({type:String})],fn.prototype,"errorMessage"),Nn([z({type:String})],fn.prototype,"helptext"),Nn([z({type:String})],fn.prototype,"helptextDropdown"),Nn([z({type:String,reflect:!1})],fn.prototype,"helptextDropdownButton"),Nn([z({type:String})],fn.prototype,"label"),Nn([z({type:String,reflect:!1})],fn.prototype,"optionalText"),Nn([z({type:String,reflect:!1})],fn.prototype,"requiredText"),Nn([z({type:String,attribute:"data-testid"})],fn.prototype,"dataTestid"),Nn([Pn()],fn.prototype,"touched");let Vx=class{constructor(n){this.nodes=[],this.options=[],this.host=n,this.host.addController(this),this.nodes=[],this.options=[],this.observer=new MutationObserver(i=>this.handleMutations(i))}hostConnected(){Array.from(this.host.childNodes).forEach(n=>{(n.nodeName==="OPTION"||n.nodeName==="DATA")&&this.addNode(n)}),this.observer.observe(this.host,{childList:!0,subtree:!1,attributes:!0})}hostDisconnected(){this.observer.disconnect()}addNode(n){(n.nodeName==="OPTION"||n.nodeName==="DATA")&&(n.hasAttribute("hidden")&&!n.hasAttribute("data-skip")&&n.setAttribute("data-hidden","true"),!n.hasAttribute("hidden")&&n.hasAttribute("data-skip")&&n.hasAttribute("data-hidden")&&n.removeAttribute("data-hidden"),n.setAttribute("class","pkt-hide"),n.setAttribute("data-skip","true"),n.setAttribute("hidden","true"),this.nodes.push(n))}createOptions(){this.options=this.nodes.map(n=>({value:n.hasAttribute("value")?n.getAttribute("value")??"":n.textContent??"",label:n.textContent||n.getAttribute("value")||"",selected:n.hasAttribute("selected"),disabled:n.hasAttribute("disabled"),hidden:n.hasAttribute("data-hidden")})),this.host.setAttribute("options",JSON.stringify(this.options))}handleMutations(n){let i=!1;n.forEach(l=>{l.type==="childList"&&(l.addedNodes.forEach(c=>{Sh(c)&&(this.addNode(c),i=!0)}),l.removedNodes.forEach(c=>{Sh(c)&&(this.nodes=this.nodes.filter(h=>h!==c),i=!0)})),l.type==="attributes"&&Sh(l.target)&&(this.addNode(l.target),i=!0)}),i&&this.createOptions()}};var m3=Object.defineProperty,g3=Object.getOwnPropertyDescriptor,Uf=(r,n,i,l)=>{for(var c=l>1?void 0:l?g3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&m3(n,i,c),c};let mc=class extends da{constructor(){super(),this.defaultSlot=hn(),this.forId=zf(),this.helptext="",this.helptextDropdown="",this.helptextDropdownButton=Jo.props.helptextDropdownButton.default,this.isHelpTextOpen=!1,this.filledSlots=new Set,this.slotController=new za(this,this.defaultSlot)}updateSlots(n){this.filledSlots=new Set(n)}render(){const n=()=>{const c=!this.isHelpTextOpen;this.isHelpTextOpen=c,this.dispatchEvent(new CustomEvent("toggleHelpText",{bubbles:!0,detail:{isOpen:c}}))},i=qt({"pkt-inputwrapper__helptext-container":!0,"pkt-inputwrapper__has-helptext":this.helptext||this.helptextDropdown||this.filledSlots.size>0}),l=()=>this.helptextDropdown?we`<div class="pkt-inputwrapper__helptext-expandable">
|
|
649
|
+
*/const Wx=(r,n,i)=>{const l=new Map;for(let c=n;c<=i;c++)l.set(r[c],c);return l},g0=Lf(class extends Dh{constructor(r){if(super(r),r.type!==cl.CHILD)throw Error("repeat() can only be used in text expressions")}dt(r,n,i){let l;i===void 0?i=n:n!==void 0&&(l=n);const c=[],h=[];let m=0;for(const D of r)c[m]=l?l(D,m):m,h[m]=i(D,m),m++;return{values:h,keys:c}}render(r,n,i){return this.dt(r,n,i).values}update(r,[n,i,l]){const c=bP(r),{values:h,keys:m}=this.dt(n,i,l);if(!Array.isArray(c))return this.ut=m,h;const D=this.ut??(this.ut=[]),C=[];let E,$,P=0,R=c.length-1,O=0,I=h.length-1;for(;P<=R&&O<=I;)if(c[P]===null)P++;else if(c[R]===null)R--;else if(D[P]===m[O])C[O]=Of(c[P],h[O]),P++,O++;else if(D[R]===m[I])C[I]=Of(c[R],h[I]),R--,I--;else if(D[P]===m[I])C[I]=Of(c[P],h[I]),Eg(r,C[I+1],c[P]),P++,I--;else if(D[R]===m[O])C[O]=Of(c[R],h[O]),Eg(r,c[P],c[R]),R--,O++;else if(E===void 0&&(E=Wx(m,O,I),$=Wx(D,P,R)),E.has(D[P]))if(E.has(D[R])){const J=$.get(m[O]),V=J!==void 0?c[J]:null;if(V===null){const De=Eg(r,c[P]);Of(De,h[O]),C[O]=De}else C[O]=Of(V,h[O]),Eg(r,c[P],V),c[J]=null;O++}else i0(c[R]),R--;else i0(c[P]),P++;for(;O<=I;){const J=Eg(r,C[I+1]);Of(J,h[O]),C[O++]=J}for(;P<=R;){const J=c[P++];J!==null&&i0(J)}return this.ut=m,Dx(r,C),vo}}),qx=()=>("00000000000000000"+(Math.random()*18446744073709552e3).toString(16)).slice(-16),zf=()=>{const r=qx(),n=qx();return r.slice(0,8)+"-"+r.slice(8,12)+"-4"+r.slice(13)+"-a"+n.slice(1,4)+"-"+n.slice(4)},p3={helptextDropdownButton:{default:"Les mer <span class='pkt-sr-only'>om feltet</span>"},counter:{default:!1},optionalTag:{default:!1},optionalText:{default:"Valgfritt"},requiredTag:{default:!1},requiredText:{default:"Må fylles ut"},hasError:{default:!1},disabled:{default:!1},inline:{default:!1},hasFieldset:{default:!1},useWrapper:{default:!0}},Jo={props:p3};(function(){(function(r){const n=new WeakMap,i=new WeakMap,l=new WeakMap,c=new WeakMap,h=new WeakMap,m=new WeakMap,D=new WeakMap,C=new WeakMap,E=new WeakMap,$=new WeakMap,P=new WeakMap,R=new WeakMap,O=new WeakMap,I=new WeakMap,J=new WeakMap,V={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"},De=(pe,ee)=>{for(let be in V){ee[be]=null;let Pe=null;const Ee=V[be];Object.defineProperty(ee,be,{get(){return Pe},set(Be){Pe=Be,pe.isConnected?Ye(pe,Ee,Be):$.set(pe,ee)}})}};function q(pe){const ee=c.get(pe),{form:be}=ee;Q(pe,be,ee),at(pe,ee.labels)}const W=(pe,ee=!1)=>{const be=document.createTreeWalker(pe,NodeFilter.SHOW_ELEMENT,{acceptNode(Be){return c.has(Be)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let Pe=be.nextNode();const Ee=!ee||pe.disabled;for(;Pe;)Pe.formDisabledCallback&&Ee&&We(Pe,pe.disabled),Pe=be.nextNode()},K={attributes:!0,attributeFilter:["disabled","name"]},X=lt()?new MutationObserver(pe=>{for(const ee of pe){const be=ee.target;if(ee.attributeName==="disabled"&&(be.constructor.formAssociated?We(be,be.hasAttribute("disabled")):be.localName==="fieldset"&&W(be)),ee.attributeName==="name"&&be.constructor.formAssociated){const Pe=c.get(be),Ee=E.get(be);Pe.setFormValue(Ee)}}}):{};function ae(pe){pe.forEach(ee=>{const{addedNodes:be,removedNodes:Pe}=ee,Ee=Array.from(be),Be=Array.from(Pe);Ee.forEach(Xe=>{var _t;if(c.has(Xe)&&Xe.constructor.formAssociated&&q(Xe),$.has(Xe)){const Ut=$.get(Xe);Object.keys(V).filter(Sn=>Ut[Sn]!==null).forEach(Sn=>{Ye(Xe,V[Sn],Ut[Sn])}),$.delete(Xe)}if(J.has(Xe)){const Ut=J.get(Xe);Ye(Xe,"internals-valid",Ut.validity.valid.toString()),Ye(Xe,"internals-invalid",(!Ut.validity.valid).toString()),Ye(Xe,"aria-invalid",(!Ut.validity.valid).toString()),J.delete(Xe)}if(Xe.localName==="form"){const Ut=C.get(Xe),Sn=document.createTreeWalker(Xe,NodeFilter.SHOW_ELEMENT,{acceptNode(Er){return c.has(Er)&&Er.constructor.formAssociated&&!(Ut&&Ut.has(Er))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});let _n=Sn.nextNode();for(;_n;)q(_n),_n=Sn.nextNode()}Xe.localName==="fieldset"&&((_t=X.observe)===null||_t===void 0||_t.call(X,Xe,K),W(Xe,!0))}),Be.forEach(Xe=>{const _t=c.get(Xe);_t&&l.get(_t)&&Me(_t),D.has(Xe)&&D.get(Xe).disconnect()})})}function ue(pe){pe.forEach(ee=>{const{removedNodes:be}=ee;be.forEach(Pe=>{const Ee=O.get(ee.target);c.has(Pe)&&pt(Pe),Ee.disconnect()})})}const xe=pe=>{var ee,be;const Pe=new MutationObserver(ue);!((ee=window==null?void 0:window.ShadyDOM)===null||ee===void 0)&&ee.inUse&&pe.mode&&pe.host&&(pe=pe.host),(be=Pe.observe)===null||be===void 0||be.call(Pe,pe,{childList:!0}),O.set(pe,Pe)};lt()&&new MutationObserver(ae);const ye={childList:!0,subtree:!0},Ye=(pe,ee,be)=>{pe.getAttribute(ee)!==be&&pe.setAttribute(ee,be)},We=(pe,ee)=>{pe.toggleAttribute("internals-disabled",ee),ee?Ye(pe,"aria-disabled","true"):pe.removeAttribute("aria-disabled"),pe.formDisabledCallback&&pe.formDisabledCallback.apply(pe,[ee])},Me=pe=>{l.get(pe).forEach(ee=>{ee.remove()}),l.set(pe,[])},Qe=(pe,ee)=>{const be=document.createElement("input");return be.type="hidden",be.name=pe.getAttribute("name"),pe.after(be),l.get(ee).push(be),be},Ie=(pe,ee)=>{var be;l.set(ee,[]),(be=X.observe)===null||be===void 0||be.call(X,pe,K)},at=(pe,ee)=>{if(ee.length){Array.from(ee).forEach(Pe=>Pe.addEventListener("click",pe.click.bind(pe)));let be=ee[0].id;ee[0].id||(be=`${ee[0].htmlFor}_Label`,ee[0].id=be),Ye(pe,"aria-labelledby",be)}},Le=pe=>{const ee=Array.from(pe.elements).filter(Be=>!Be.tagName.includes("-")&&Be.validity).map(Be=>Be.validity.valid),be=C.get(pe)||[],Pe=Array.from(be).filter(Be=>Be.isConnected).map(Be=>c.get(Be).validity.valid),Ee=[...ee,...Pe].includes(!1);pe.toggleAttribute("internals-invalid",Ee),pe.toggleAttribute("internals-valid",!Ee)},Ae=pe=>{Le(le(pe.target))},ce=pe=>{Le(le(pe.target))},Ne=pe=>{const ee=["button[type=submit]","input[type=submit]","button:not([type])"].map(be=>`${be}:not([disabled])`).map(be=>`${be}:not([form])${pe.id?`,${be}[form='${pe.id}']`:""}`).join(",");pe.addEventListener("click",be=>{if(be.target.closest(ee)){const Pe=C.get(pe);if(pe.noValidate)return;Pe.size&&Array.from(Pe).reverse().map(Ee=>c.get(Ee).reportValidity()).includes(!1)&&be.preventDefault()}})},Se=pe=>{const ee=C.get(pe.target);ee&&ee.size&&ee.forEach(be=>{be.constructor.formAssociated&&be.formResetCallback&&be.formResetCallback.apply(be)})},Q=(pe,ee,be)=>{if(ee){const Pe=C.get(ee);if(Pe)Pe.add(pe);else{const Ee=new Set;Ee.add(pe),C.set(ee,Ee),Ne(ee),ee.addEventListener("reset",Se),ee.addEventListener("input",Ae),ee.addEventListener("change",ce)}m.set(ee,{ref:pe,internals:be}),pe.constructor.formAssociated&&pe.formAssociatedCallback&&setTimeout(()=>{pe.formAssociatedCallback.apply(pe,[ee])},0),Le(ee)}},le=pe=>{let ee=pe.parentNode;return ee&&ee.tagName!=="FORM"&&(ee=le(ee)),ee},it=(pe,ee,be=DOMException)=>{if(!pe.constructor.formAssociated)throw new be(ee)},Je=(pe,ee,be)=>{const Pe=C.get(pe);return Pe&&Pe.size&&Pe.forEach(Ee=>{c.get(Ee)[be]()||(ee=!1)}),ee},pt=pe=>{if(pe.constructor.formAssociated){const ee=c.get(pe),{labels:be,form:Pe}=ee;at(pe,be),Q(pe,Pe,ee)}};function lt(){return typeof MutationObserver<"u"}class gt{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}const vt=pe=>(pe.badInput=!1,pe.customError=!1,pe.patternMismatch=!1,pe.rangeOverflow=!1,pe.rangeUnderflow=!1,pe.stepMismatch=!1,pe.tooLong=!1,pe.tooShort=!1,pe.typeMismatch=!1,pe.valid=!0,pe.valueMissing=!1,pe),Et=(pe,ee,be)=>(pe.valid=tn(ee),Object.keys(ee).forEach(Pe=>pe[Pe]=ee[Pe]),be&&Le(be),pe),tn=pe=>{let ee=!0;for(let be in pe)be!=="valid"&&pe[be]!==!1&&(ee=!1);return ee},zt=new WeakMap;function zn(pe,ee){pe.toggleAttribute(ee,!0),pe.part&&pe.part.add(ee)}class At extends Set{static get isPolyfilled(){return!0}constructor(ee){if(super(),!ee||!ee.tagName||ee.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");zt.set(this,ee)}add(ee){if(!/^--/.test(ee)||typeof ee!="string")throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${ee} must start with '--'.`);const be=super.add(ee),Pe=zt.get(this),Ee=`state${ee}`;return Pe.isConnected?zn(Pe,Ee):setTimeout(()=>{zn(Pe,Ee)}),be}clear(){for(let[ee]of this.entries())this.delete(ee);super.clear()}delete(ee){const be=super.delete(ee),Pe=zt.get(this);return Pe.isConnected?(Pe.toggleAttribute(`state${ee}`,!1),Pe.part&&Pe.part.remove(`state${ee}`)):setTimeout(()=>{Pe.toggleAttribute(`state${ee}`,!1),Pe.part&&Pe.part.remove(`state${ee}`)}),be}}function ot(pe,ee,be,Pe){if(typeof ee=="function"?pe!==ee||!0:!ee.has(pe))throw new TypeError("Cannot read private member from an object whose class did not declare it");return be==="m"?Pe:be==="a"?Pe.call(pe):Pe?Pe.value:ee.get(pe)}function Un(pe,ee,be,Pe,Ee){if(typeof ee=="function"?pe!==ee||!0:!ee.has(pe))throw new TypeError("Cannot write private member to an object whose class did not declare it");return ee.set(pe,be),be}var yn;class br{constructor(ee){yn.set(this,void 0),Un(this,yn,ee);for(let be=0;be<ee.length;be++){let Pe=ee[be];this[be]=Pe,Pe.hasAttribute("name")&&(this[Pe.getAttribute("name")]=Pe)}Object.freeze(this)}get length(){return ot(this,yn,"f").length}[(yn=new WeakMap,Symbol.iterator)](){return ot(this,yn,"f")[Symbol.iterator]()}item(ee){return this[ee]==null?null:this[ee]}namedItem(ee){return this[ee]==null?null:this[ee]}}function Xi(){const pe=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=be;const ee=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=Pe;function be(...Be){let Xe=pe.apply(this,Be);return Je(this,Xe,"checkValidity")}function Pe(...Be){let Xe=ee.apply(this,Be);return Je(this,Xe,"reportValidity")}const{get:Ee}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...Be){const Xe=Ee.call(this,...Be),_t=Array.from(C.get(this)||[]);if(_t.length===0)return Xe;const Ut=Array.from(Xe).concat(_t).sort((Sn,_n)=>Sn.compareDocumentPosition?Sn.compareDocumentPosition(_n)&2?1:-1:0);return new br(Ut)}})}class Rr{static get isPolyfilled(){return!0}constructor(ee){if(!ee||!ee.tagName||ee.tagName.indexOf("-")===-1)throw new TypeError("Illegal constructor");const be=ee.getRootNode(),Pe=new gt;this.states=new At(ee),n.set(this,ee),i.set(this,Pe),c.set(ee,this),De(ee,this),Ie(ee,this),Object.seal(this),be instanceof DocumentFragment&&xe(be)}checkValidity(){const ee=n.get(this);if(it(ee,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const be=i.get(this);if(!be.valid){const Pe=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});ee.dispatchEvent(Pe)}return be.valid}get form(){const ee=n.get(this);it(ee,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");let be;return ee.constructor.formAssociated===!0&&(be=le(ee)),be}get labels(){const ee=n.get(this);it(ee,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");const be=ee.getAttribute("id"),Pe=ee.getRootNode();return Pe&&be?Pe.querySelectorAll(`[for="${be}"]`):[]}reportValidity(){const ee=n.get(this);if(it(ee,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;const be=this.checkValidity(),Pe=R.get(this);if(Pe&&!ee.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!be&&Pe&&(ee.focus(),Pe.focus()),be}setFormValue(ee){const be=n.get(this);if(it(be,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),Me(this),ee!=null&&!(ee instanceof FormData)){if(be.getAttribute("name")){const Pe=Qe(be,this);Pe.value=ee}}else ee!=null&&ee instanceof FormData&&Array.from(ee).reverse().forEach(([Pe,Ee])=>{if(typeof Ee=="string"){const Be=Qe(be,this);Be.name=Pe,Be.value=Ee}});E.set(be,ee)}setValidity(ee,be,Pe){const Ee=n.get(this);if(it(Ee,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!ee)throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");R.set(this,Pe);const Be=i.get(this),Xe={};for(const Sn in ee)Xe[Sn]=ee[Sn];Object.keys(Xe).length===0&&vt(Be);const _t=Object.assign(Object.assign({},Be),Xe);delete _t.valid;const{valid:Ut}=Et(Be,_t,this.form);if(!Ut&&!be)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");h.set(this,Ut?"":be),Ee.isConnected?(Ee.toggleAttribute("internals-invalid",!Ut),Ee.toggleAttribute("internals-valid",Ut),Ye(Ee,"aria-invalid",`${!Ut}`)):J.set(Ee,this)}get shadowRoot(){const ee=n.get(this);return P.get(ee)||null}get validationMessage(){const ee=n.get(this);return it(ee,"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),h.get(this)}get validity(){const ee=n.get(this);return it(ee,"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){const ee=n.get(this);return it(ee,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(ee.disabled||ee.hasAttribute("disabled")||ee.hasAttribute("readonly"))}}function kr(){if(typeof window>"u"||!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class pe extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}const ee=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(ee,pe);const be=new pe;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(Pe=>Pe in be.internals)}let Zn=!1,un=!1;function bn(pe){un||(un=!0,window.CustomStateSet=At,pe&&(HTMLElement.prototype.attachInternals=function(...ee){const be=pe.call(this,ee);return be.states=new At(this),be}))}function sn(pe=!0){if(!Zn){if(Zn=!0,typeof window<"u"&&(window.ElementInternals=Rr),typeof CustomElementRegistry<"u"){const ee=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(be,Pe,Ee){if(Pe.formAssociated){const Be=Pe.prototype.connectedCallback;Pe.prototype.connectedCallback=function(){I.has(this)||(I.set(this,!0),this.hasAttribute("disabled")&&We(this,!0)),Be!=null&&Be.apply(this),pt(this)}}ee.call(this,be,Pe,Ee)}}if(typeof HTMLElement<"u"&&(HTMLElement.prototype.attachInternals=function(){if(this.tagName){if(this.tagName.indexOf("-")===-1)throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.")}else return{};if(c.has(this))throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new Rr(this)}),typeof Element<"u"){let ee=function(...Pe){const Ee=be.apply(this,Pe);if(P.set(this,Ee),lt()){const Be=new MutationObserver(ae);window.ShadyDOM?Be.observe(this,ye):Be.observe(Ee,ye),D.set(this,Be)}return Ee};const be=Element.prototype.attachShadow;Element.prototype.attachShadow=ee}lt()&&typeof document<"u"&&new MutationObserver(ae).observe(document.documentElement,ye),typeof HTMLFormElement<"u"&&Xi(),(pe||typeof window<"u"&&!window.CustomStateSet)&&bn()}}return customElements.polyfillWrapFlushCallback||(kr()?typeof window<"u"&&!window.CustomStateSet&&bn(HTMLElement.prototype.attachInternals):sn(!1)),r.forceCustomStateSetPolyfill=bn,r.forceElementInternalsPolyfill=sn,Object.defineProperty(r,"__esModule",{value:!0}),r})({})})();var h3=Object.defineProperty,Nn=(r,n,i,l)=>{for(var c=void 0,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=m(n,i,c)||c);return c&&h3(n,i,c),c};let fn=class extends da{constructor(){super(),this.defaultValue=null,this.disabled=!1,this.readonly=!1,this.required=!1,this.max=null,this.maxlength=null,this.min=null,this.minlength=null,this.step=null,this.ariaDescribedBy=null,this.ariaLabelledby=null,this.name="",this.pattern=null,this.placeholder=null,this.id=zf(),this.counter=!1,this.hasError=!1,this.inline=!1,this.hasFieldset=!1,this.optionalTag=!1,this.requiredTag=!1,this.skipForwardTestid=!1,this.useWrapper=!0,this.fullwidth=!1,this.counterMaxLength=0,this.errorMessage="",this.helptext="",this.helptextDropdown="",this.helptextDropdownButton=Jo.props.helptextDropdownButton.default,this.label=null,this.optionalText=Vi.forms.labels.optional,this.requiredText=Vi.forms.labels.required,this.dataTestid="",this.touched=!1,this.internals=this.attachInternals()}static get formAssociated(){return!0}manageValidity(n){var i,l,c,h,m,D,C,E,$,P,R;n&&(this.required&&!this.value?this.internals.setValidity({valueMissing:!0},Vi.forms.messages.required,n):(i=n.validity)!=null&&i.typeMismatch||(l=n.validity)!=null&&l.badInput?this.internals.setValidity({typeMismatch:!0},Vi.forms.messages.invalid,n):(c=n.validity)!=null&&c.patternMismatch?this.internals.setValidity({patternMismatch:!0},Vi.forms.messages.invalidPattern,n):(h=n.validity)!=null&&h.tooShort||this.minlength&&this.minlength>0&&this.value.length<this.minlength?this.internals.setValidity({tooShort:!0},Vi.forms.messages.tooShort,n):(m=n.validity)!=null&&m.tooLong||this.maxlength&&this.maxlength>0&&this.value.length>this.maxlength?this.internals.setValidity({tooLong:!0},Vi.forms.messages.tooLong,n):(D=n.validity)!=null&&D.rangeUnderflow?this.internals.setValidity({rangeUnderflow:!0},this.min?Vi.forms.messages.rangeUnderflowMin.replace("{min}",(C=this.min)==null?void 0:C.toString()):Vi.forms.messages.rangeUnderflow,n):(E=n.validity)!=null&&E.stepMismatch?this.internals.setValidity({stepMismatch:!0},Vi.forms.messages.invalid,n):($=n.validity)!=null&&$.rangeOverflow?this.internals.setValidity({rangeOverflow:!0},this.max?Vi.forms.messages.rangeOverflowMax.replace("{max}",(P=this.max)==null?void 0:P.toString()):Vi.forms.messages.rangeOverflow,n):(R=n.validity)!=null&&R.customError?this.internals.setValidity({customError:!0},n.validationMessage,n):this.internals.setValidity({}))}setFormValue(n){if(this.internals)if(Array.isArray(n)){const i=new FormData;n.forEach(l=>{i.append(this.name,l)}),this.internals.setFormValue(i)}else this.internals.setFormValue(n)}valueChecked(n){if(!this.touched)return;const i=this.internals.form||this.closest("form"),l=i?new FormData(i):null;i&&i.querySelectorAll(`pkt-radiobutton[name="${this.name}"], input[type=radio][name="${this.name}"]`).forEach(c=>{const h=c;h.name===this.name&&h.value!==this.value&&h.checked&&(h.checked=!1)}),typeof n=="string"?(this.checked=n==="true",this.internals.ariaChecked=n==="true"):typeof n=="boolean"&&(this.checked=n,this.internals.ariaChecked=n),this.checked?(this.internals.setFormValue(this.value||"on",this.value||"on"),l&&l.append(this.name,this.value||"on"),this.internals.states.add("--checked")):(this.internals.setFormValue(null,null),l&&l.delete(this.name),this.internals.states.delete("--checked")),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("value-change",{detail:this.checked,bubbles:!0,composed:!0})),this.internals.reportValidity()}valueChanged(n,i){(i!==this.value||i!==this._value)&&(typeof n=="string"?((this.multiple||this.range)&&n.includes(",")&&(n=n.split(",")),this.value=n,this._value=Array.isArray(n)?n:[n]):Array.isArray(n)?(this.value=this.multiple||this.range?n:n[0],this._value=n):(this.value="",this._value=[]),(!this.value||this.value.length===0)&&i&&i.length!==0?this.clearInputValue():this.value&&this.value.toString()!==(i==null?void 0:i.toString())&&this.onChange(this.value),this.updateComplete.then(()=>this.requestUpdate()))}clearInputValue(){const n=this.multiple||this.range?[]:"";this.value=n,this.internals.setFormValue(n),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("value-change",{detail:n,bubbles:!0,composed:!0}))}onFocus(){this.dispatchEvent(new FocusEvent("focus",{bubbles:!0,composed:!0}))}onBlur(){this.dispatchEvent(new FocusEvent("blur",{bubbles:!0,composed:!0}))}onInput(){this.dispatchEvent(new InputEvent("input",{bubbles:!0,composed:!0}))}onChange(n){if(!this.touched){this.touched=!0,n&&this.setFormValue(n);return}typeof n!="string"&&!Array.isArray(n)||((this.range||this.multiple)&&!Array.isArray(n)&&n.includes(",")&&(n=n.split(",")),!this.multiple&&!this.range&&Array.isArray(n)&&(n=n[0]),this.setFormValue(n),this.manageValidity(this.inputRef.value),this.inputRefTo&&this.manageValidity(this.inputRefTo.value),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("value-change",{detail:n,bubbles:!0,composed:!0})))}formResetCallback(){this.touched=!1,this._options&&this._options.length&&this._options.forEach(n=>{n.selected=!1}),this.checked!==void 0?(this.checked=!1,this.internals.ariaChecked=!1,this.internals.setFormValue("",""),this.inputRef.value.checked=!1,this.valueChecked(this.checked)):(this.internals.setFormValue(""),this.value=this.defaultValue||(this.multiple||this.range?[]:""),this._value=this.value,this.valueChanged(this.value,null)),this.internals.ariaInvalid=!1}updated(n){super.updated(n),n.has("dataTestid")&&this.dataTestid&&this.inputRef.value&&(this.skipForwardTestid?this.hasAttribute("data-testid")||this.setAttribute("data-testid",this.dataTestid):(this.inputRef.value.dataset.testid=this.dataTestid,this.removeAttribute("data-testid")))}firstUpdated(n){if(super.firstUpdated(n),!this.form){const i=this.internals.form||this.closest("form");this.form=i}if(this.value&&this.defaultValue!==null&&(this.defaultValue=this.value),this.defaultValue!==null&&!this.value&&this.valueChanged(this.defaultValue,null),this.defaultChecked&&(this.internals.ariaChecked=!0,this.checked=!0),this.required&&(this.internals.ariaRequired=!0),this.disabled&&(this.internals.ariaDisabled=!0),this.id&&!this.name&&(this.name=this.id),this.checked!==void 0){const i=this.checked===""||this.checked==="true"||this.checked===!0;this.internals.ariaChecked=i,this.internals.setFormValue(i?this.value||"on":"",i?this.value||"on":"")}else this.internals.setFormValue(this.value);this.inputRef&&this.inputRef.value&&(this.inputRef.value.setAttribute("form",""),this.manageValidity(this.inputRef.value)),this.inputRefTo&&this.inputRefTo.value&&(this.inputRefTo.value.setAttribute("form",""),this.manageValidity(this.inputRefTo.value))}};Nn([z()],fn.prototype,"defaultValue"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"disabled"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"readonly"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"required"),Nn([z({type:Number,reflect:!0})],fn.prototype,"max"),Nn([z({type:Number,reflect:!0})],fn.prototype,"maxlength"),Nn([z({type:Number,reflect:!0})],fn.prototype,"min"),Nn([z({type:Number,reflect:!0})],fn.prototype,"minlength"),Nn([z({type:Number,reflect:!0})],fn.prototype,"step"),Nn([z({type:String})],fn.prototype,"ariaDescribedBy"),Nn([z({type:String})],fn.prototype,"ariaLabelledby"),Nn([z({type:String,reflect:!0})],fn.prototype,"name"),Nn([z({type:String,reflect:!0})],fn.prototype,"pattern"),Nn([z({type:String,reflect:!0})],fn.prototype,"placeholder"),Nn([z({type:String,reflect:!0})],fn.prototype,"id"),Nn([z({type:Boolean})],fn.prototype,"counter"),Nn([z({type:Boolean})],fn.prototype,"hasError"),Nn([z({type:Boolean})],fn.prototype,"inline"),Nn([z({type:Boolean})],fn.prototype,"hasFieldset"),Nn([z({type:Boolean})],fn.prototype,"optionalTag"),Nn([z({type:Boolean})],fn.prototype,"requiredTag"),Nn([z({type:Boolean})],fn.prototype,"skipForwardTestid"),Nn([z({type:Boolean,reflect:!1})],fn.prototype,"useWrapper"),Nn([z({type:Boolean,reflect:!0})],fn.prototype,"fullwidth"),Nn([z({type:Number})],fn.prototype,"counterMaxLength"),Nn([z({type:String})],fn.prototype,"errorMessage"),Nn([z({type:String})],fn.prototype,"helptext"),Nn([z({type:String})],fn.prototype,"helptextDropdown"),Nn([z({type:String,reflect:!1})],fn.prototype,"helptextDropdownButton"),Nn([z({type:String})],fn.prototype,"label"),Nn([z({type:String,reflect:!1})],fn.prototype,"optionalText"),Nn([z({type:String,reflect:!1})],fn.prototype,"requiredText"),Nn([z({type:String,attribute:"data-testid"})],fn.prototype,"dataTestid"),Nn([Pn()],fn.prototype,"touched");let Vx=class{constructor(n){this.nodes=[],this.options=[],this.host=n,this.host.addController(this),this.nodes=[],this.options=[],this.observer=new MutationObserver(i=>this.handleMutations(i))}hostConnected(){Array.from(this.host.childNodes).forEach(n=>{(n.nodeName==="OPTION"||n.nodeName==="DATA")&&this.addNode(n)}),this.observer.observe(this.host,{childList:!0,subtree:!1,attributes:!0})}hostDisconnected(){this.observer.disconnect()}addNode(n){(n.nodeName==="OPTION"||n.nodeName==="DATA")&&(n.hasAttribute("hidden")&&!n.hasAttribute("data-skip")&&n.setAttribute("data-hidden","true"),!n.hasAttribute("hidden")&&n.hasAttribute("data-skip")&&n.hasAttribute("data-hidden")&&n.removeAttribute("data-hidden"),n.setAttribute("class","pkt-hide"),n.setAttribute("data-skip","true"),n.setAttribute("hidden","true"),this.nodes.push(n))}createOptions(){this.options=this.nodes.map(n=>({value:n.hasAttribute("value")?n.getAttribute("value")??"":n.textContent??"",label:n.textContent||n.getAttribute("value")||"",selected:n.hasAttribute("selected"),disabled:n.hasAttribute("disabled"),hidden:n.hasAttribute("data-hidden")})),this.host.setAttribute("options",JSON.stringify(this.options))}handleMutations(n){let i=!1;n.forEach(l=>{l.type==="childList"&&(l.addedNodes.forEach(c=>{Sh(c)&&(this.addNode(c),i=!0)}),l.removedNodes.forEach(c=>{Sh(c)&&(this.nodes=this.nodes.filter(h=>h!==c),i=!0)})),l.type==="attributes"&&Sh(l.target)&&(this.addNode(l.target),i=!0)}),i&&this.createOptions()}};var m3=Object.defineProperty,g3=Object.getOwnPropertyDescriptor,Uf=(r,n,i,l)=>{for(var c=l>1?void 0:l?g3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&m3(n,i,c),c};let mc=class extends da{constructor(){super(),this.defaultSlot=hn(),this.forId=zf(),this.helptext="",this.helptextDropdown="",this.helptextDropdownButton=Jo.props.helptextDropdownButton.default,this.isHelpTextOpen=!1,this.filledSlots=new Set,this.slotController=new za(this,this.defaultSlot)}updateSlots(n){this.filledSlots=new Set(n)}render(){const n=()=>{const c=!this.isHelpTextOpen;this.isHelpTextOpen=c,this.dispatchEvent(new CustomEvent("toggleHelpText",{bubbles:!0,detail:{isOpen:c}}))},i=qt({"pkt-inputwrapper__helptext-container":!0,"pkt-inputwrapper__has-helptext":this.helptext||this.helptextDropdown||this.filledSlots.size>0}),l=()=>this.helptextDropdown?we`<div class="pkt-inputwrapper__helptext-expandable">
|
|
650
650
|
<button
|
|
651
651
|
class="pkt-link pkt-link--icon-right pkt-btn pkt-btn--small pkt-btn--tertiary pkt-btn--icon-right"
|
|
652
652
|
type="button"
|
|
@@ -931,7 +931,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
931
931
|
>
|
|
932
932
|
${this.renderValueTag(m)}
|
|
933
933
|
</pkt-tag>
|
|
934
|
-
`});return n?i:l}renderValueTag(n){if(!n)return"";switch(this.displayValueAs){case"prefixAndValue":return we`<span data-focusfix=${this.id}>${n.prefix||""} ${n.value}</span>`;case"value":return we`<span data-focusfix=${this.id}>${n.value}</span>`;case"label":default:return we`<span data-focusfix=${this.id}>${n.label||n.value}</span>`}}handleInput(n){if(n.stopPropagation(),n.stopImmediatePropagation(),this.disabled)return;this.touched=!0;const i=n.target;if(this._search=i.value,this.checkForMatches(),this.typeahead)if(this._search){if(this._options=this.options.filter(l=>{var c;return(c=l.fulltext)==null?void 0:c.toLowerCase().includes(this._search.toLowerCase())}),n.inputType!=="deleteContentBackward"){const l=this._options.filter(c=>{var h;return!c.selected&&((h=c.label)==null?void 0:h.toLowerCase().startsWith(this._search.toLowerCase()))});if(l.length>0&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const c=l[0];c!=null&&c.label&&(i.value=c.label,window.setTimeout(()=>i.setSelectionRange(this._search.length,i.value.length),0),i.selectionDirection="backward")}}}else this._options=[...this.options]}handleFocus(){if(!this.disabled){if(!this.multiple&&this._value[0]&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const n=this.findValueInOptions(this._value[0]);this._editingSingleValue=!0,this.inputRef.value.value=this.displayValueAs==="label"&&n!=null&&n.label?n.label:this._value[0]}this._inputFocus=!0,this._search="",this._options=[...this.options],this._isOptionsOpen=!0,this.onFocus(),this.requestUpdate()}}handleFocusOut(n){var i,l,c,h,m;if(!this.disabled&&((l=(i=n.relatedTarget)==null?void 0:i.closest("pkt-combobox"))==null?void 0:l.id)!==this.id&&((h=(c=n.relatedTarget)==null?void 0:c.closest("pkt-combobox"))==null?void 0:h.id)!==this.id&&((m=n.target)==null?void 0:m.getAttribute("data-focusfix"))!==this.id&&n.relatedTarget!==this.focusRef.value&&n.relatedTarget!==this.inputRef.value&&n.relatedTarget!==this.arrowRef.value&&this._isOptionsOpen){if(this._inputFocus=!1,this._addValueText=null,this._userInfoMessage="",this._search="",this.inputRef.value&&this.inputRef.value.type!=="hidden"&&this.inputRef.value.value!==""){const D=this.inputRef.value.value,C=this.findValueInOptions(D);!this._value.includes(D)&&!C?this.allowUserInput?this.addNewUserValue(D):this.multiple||this.removeValue(this._value[0]):C&&!this._value.includes(C.value)&&this.setSelected(C.value),this.inputRef.value.value=""}this._isOptionsOpen=!1,this.onBlur()}}handleBlur(){this._inputFocus=!1,this._editingSingleValue=!1,this.onBlur()}handleInputClick(n){var i,l;this.disabled||(n.currentTarget&&n.currentTarget!==this.arrowRef.value&&((i=this.inputRef.value)==null?void 0:i.type)!=="hidden"?(l=this.inputRef.value)==null||l.focus():this.handleArrowClick(n))}handleArrowClick(n){var i,l;this.disabled||n instanceof KeyboardEvent&&n.key&&n.key!=="Enter"&&n.key!==" "&&n.key!=="ArrowDown"||(n.stopImmediatePropagation(),n.preventDefault(),this._isOptionsOpen=!this._isOptionsOpen,this._isOptionsOpen?(i=this.listboxRef.value)==null||i.focusFirstOrSelectedOption():(l=this.arrowRef.value)==null||l.focus())}handleOptionToggled(n){this.toggleValue(n.detail)}handleSearch(n){n.stopPropagation(),this._search=n.detail.toLowerCase()}handleInputKeydown(n){var i,l,c;switch(n.key){case",":case"Enter":n.preventDefault(),this.addValue();break;case"Backspace":!this._search&&((i=this.inputRef.value)==null?void 0:i.type)==="hidden"&&this.removeLastValue(n);break;case"Tab":case"ArrowDown":n.shiftKey||((l=this.listboxRef.value)==null||l.focusFirstOrSelectedOption(),n.preventDefault());break;case"Escape":this._isOptionsOpen=!1,(c=this.arrowRef.value)==null||c.focus(),n.preventDefault();break}}handleTagRemove(n){this.removeSelected(n)}blurInput(){this.inputRef.value&&this.inputRef.value.matches(":focus")&&this.inputRef.value.blur()}checkForMatches(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value)||this._search||"",l=i.trim().toLowerCase()||"";if(!l){!this.multiple&&this._value[0]&&this.removeValue(this._value[0]),this.resetComboboxInput(!1);return}const c=this._value.find(D=>D.toLowerCase()===l),h=this._options.filter(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase().includes(l))??!1}),m=h.find(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase())===l||D.value.toLowerCase()===l});switch(!0){case((h.length===0||!m)&&this.allowUserInput):this._addValueText=i,this._userInfoMessage="";break;case(h.length===0&&!this.allowUserInput):this._addValueText=null,this._userInfoMessage="Ingen match i søket";break;case!!c:this._addValueText=null,this._userInfoMessage="Verdien er allerede valgt";break;case h.length>1:this._addValueText=null,this._userInfoMessage="";break;default:this._addValueText=null,this._userInfoMessage=""}}findValueInOptions(n){return this.options.find(i=>i.value===n||i.label===n)||null}findIndexInOptions(n){return this._options.findIndex(i=>i.value===n||i.label===n)}isMaxItemsReached(){const n=this.maxlength!==null&&this._value.length>=this.maxlength;return n?this._maxIsReached=!0:this._maxIsReached=!1,n}toggleValue(n){var i,l;if(this.disabled)return;this.touched=!0,this._userInfoMessage="",this._addValueText=null;const c=((i=this.findValueInOptions(n))==null?void 0:i.value)||null,h=this._value.includes(n||c||""),m=!!c,D=((l=this._options.find(V=>V.value===n))==null?void 0:l.disabled)||!1,C=!(n!=null&&n.trim()),E=!this.multiple,$=this.multiple,P=this.isMaxItemsReached();let R=!1,O=!0,j="",J="";D||(!m&&this.allowUserInput&&!C?(this.addNewUserValue(n),j="Ny verdi lagt til",R=!$):!m&&!this.allowUserInput?(E&&this._value[0]&&this.removeValue(this._value[0]),O=!1,R=!0,j="Ingen treff i søket"):h?(this.removeValue(c),R=!0):C&&E?(this.removeAllSelected(),R=!0):E?(this._value[0]&&this.removeSelected(this._value[0]),this.setSelected(c),R=!1,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&(this.inputRef.value.value="",this.inputRef.value.blur())):$&&!P?(this.setSelected(c),R=!0):$&&P?(this._userInfoMessage="Maks antall valg nådd",O=!1,J=n):(E&&this.removeAllSelected(),this._userInfoMessage="Ingen gyldig verdi valgt",O=!1,R=!0,J=n),this._isOptionsOpen=R,R||window.setTimeout(()=>{var V;(V=this.focusRef.value)==null||V.focus()},0),this._userInfoMessage=j,this._search=J||"",this.resetComboboxInput(O),$&&this.isMaxItemsReached())}setSelected(n){if(!this._value.includes(n)){if(this.multiple&&this.isMaxItemsReached()){this._userInfoMessage="Maks antall valg nådd";return}!this.multiple&&this.removeAllSelected(),this._value=n?[...this._value,n]:this._value,this._options=this._options.map(i=>(i.value===n&&(i.selected=!0),i)),this.resetComboboxInput(!0)}}removeSelected(n){if(!n)return;this._value=this._value.filter(l=>l!==n);const i=this.findValueInOptions(n);i?(i.selected=!1,i.userAdded?(this._options=[...this._options.filter(l=>l.value!==n)],this.options=[...this.options.filter(l=>l.value!==n)]):this._options=[...this._options,i]):!n&&!this.multiple&&(this._options=this._options.map(l=>(l.selected=!1,l)))}addAllOptions(){if(this.multiple){if(this.maxlength&&this._options.length>this.maxlength){this._userInfoMessage="For mange valgt";return}this._value=this._options.map(n=>n.value),this._options=this._options.map(n=>(n.selected=!0,n)),this.requestUpdate()}}removeAllSelected(){this._value=[],this._options=this._options.map(n=>(n.selected=!1,n)),this._options=this._options.filter(n=>!n.userAdded),this.requestUpdate()}addValue(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value.trim())||"";this._search=i,this.toggleValue(i)}removeValue(n){this._value=this.multiple?this._value.filter(i=>i!==n):[],this.removeSelected(n)}addNewUserValue(n){if(!n||n.trim()==="")return;if(!this.multiple)this._value[0]&&this.removeSelected(this._value[0]),this._value=[n],this._isOptionsOpen=!1,this.blurInput();else if(!this.findValueInOptions(n)){if(this.isMaxItemsReached())return;this._value=[...this._value,n]}const i={value:n,label:n,userAdded:!0};this.options=[i,...this.options],this._options=[i,...this._options],this.setSelected(n),this.requestUpdate()}resetComboboxInput(n=!0){if(this._addValueText=null,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&n)if(this._search="",this.multiple)this.inputRef.value.value="";else{const i=this.findValueInOptions(this._value[0]);window.setTimeout(()=>{!this.inputRef.value||this.inputRef.value.type==="hidden"||(this.inputRef.value.value=this.displayValueAs==="label"&&i!=null&&i.label?i.label:this._value[0]||"")},0),this._userInfoMessage=""}this._options=[...this.options]}removeLastValue(n){if(this._value.length===0)return;n.preventDefault();const i=this._value[this._value.length-1];i&&this.removeSelected(i),this.isMaxItemsReached()}};na([z({type:String,reflect:!0})],Ur.prototype,"value",2),na([z({type:Array})],Ur.prototype,"options",2),na([z({type:Array})],Ur.prototype,"defaultOptions",2),na([z({type:Boolean})],Ur.prototype,"allowUserInput",2),na([z({type:Boolean})],Ur.prototype,"typeahead",2),na([z({type:Boolean})],Ur.prototype,"includeSearch",2),na([z({type:String})],Ur.prototype,"searchPlaceholder",2),na([z({type:Boolean})],Ur.prototype,"multiple",2),na([z({type:Number})],Ur.prototype,"maxlength",2),na([z({type:String})],Ur.prototype,"displayValueAs",2),na([z({type:String})],Ur.prototype,"tagPlacement",2),na([Pn()],Ur.prototype,"_options",2),na([Pn()],Ur.prototype,"_isOptionsOpen",2),na([Pn()],Ur.prototype,"_value",2),na([Pn()],Ur.prototype,"_userInfoMessage",2),na([Pn()],Ur.prototype,"_addValueText",2),na([Pn()],Ur.prototype,"_maxIsReached",2),na([Pn()],Ur.prototype,"_search",2),na([Pn()],Ur.prototype,"_inputFocus",2),na([Pn()],Ur.prototype,"_editingSingleValue",2),Ur=na([fr("pkt-combobox")],Ur);const _3={i18n:{nb:{contentPresentation:{title:"Oslo kommune bruker informasjonskapsler",description:["For at nettstedet skal fungere og være trygt, bruker Oslo kommune informasjonskapsler. Noen er teknisk nødvendige, mens andre sikrer ulik funksjonalitet.","Godtar du alle informasjonskapsler, tillater du også at vi samler inn data om statistikk og brukeradferd. Da hjelper du oss med å lage et bedre nettsted uten at du trenger å dele noe personlig informasjon med oss."],buttons:{accept:"Godta alle",reject:"Kun nødvendige",settings:"Innstillinger for informasjonskapsler"}},contentSettings:{title:"Innstillinger for informasjonskapsler",description:["Her kan du velge hvilke typer informasjonskapsler du vil tillate. Tillatelsen gjelder i 90 dager. Husk at nødvendige informasjonskapsler ikke kan velges bort.","Du kan når som helst endre innstillingene og finne mer informasjon nederst på nettstedet under «Innstillinger for informasjonskapsler» og «Personvern og informasjonskapsler»."],buttons:{back:"Tilbake",save:"Lagre innstillinger"}}},en:{contentPresentation:{title:"Before you visit Oslo kommune ...",description:["This website uses cookies to make improvements. In this context, we need your consent to measure the traffic on the website in relation to statistics and feedback.","To read more about what we use cookies for, go to our privacy declaration which you will find at the bottom of our websites."],buttons:{accept:"Yes, I accept",reject:"Only necessary",settings:"Go to settings"}},contentSettings:{title:"Her kan du aktivt velge mellom ulike informasjonskapsler",description:["For å lese mer om hva vi bruker informasjonskapsler til gå til vår personvernserklering som du finner på våre nettsider"],buttons:{back:"Back",save:"Save settings"}}}}};var E3=Object.defineProperty,T3=Object.getOwnPropertyDescriptor,pu=(r,n,i,l)=>{for(var c=l>1?void 0:l?T3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&E3(n,i,c),c};let v0=null;function F3(){return v0||(v0=new Promise((r,n)=>{if(document.querySelector("#oslo-consent-script")){r();return}const i=document.createElement("script");i.src="https://cdn.web.oslo.kommune.no/cb/cb-v1.1.0.js",i.id="oslo-consent-script",i.onload=()=>r(),i.onerror=n,document.head.appendChild(i);const l=document.createElement("link");l.href="https://cdn.web.oslo.kommune.no/cb/cb-v1.1.0.css",l.type="text/css",l.rel="stylesheet",l.id="oslo-consent-styles",document.head.appendChild(l)}),v0)}let Ts=class extends da{constructor(){super(),this.devMode=!1,this.hotjarId=null,this.googleAnalyticsId=null,this.cookieDomain=null,this.cookieSecure=null,this.cookieExpiryDays=null,this.triggerType="button",this.triggerText=null,this.i18nLanguage="nb"}connectedCallback(){super.connectedCallback(),this.triggerText=this.triggerText||_3.i18n[this.i18nLanguage].contentPresentation.buttons.settings}disconnectedCallback(){var n;super.disconnectedCallback(),this._cookieEventHandler&&((n=window.__cookieEvents)==null||n.off("CookieManager.setCookie",this._cookieEventHandler))}returnJsonOrObject(n){let i;try{i=JSON.parse(n)}catch{i=n}return i}emitCookieConsents(n){const i=this.returnJsonOrObject(n.value).items.reduce((l,c)=>(l[c.name]=c.consent,l),{});this.dispatchEvent(new CustomEvent("toggle-consent",{detail:i,bubbles:!0,cancelable:!1}))}async firstUpdated(n){window.cookieBanner_googleAnalyticsId=this.googleAnalyticsId,window.cookieBanner_hotjarId=this.hotjarId,this.cookieDomain&&(window.cookieBanner_cookieDomain=this.cookieDomain),this.cookieSecure&&(window.cookieBanner_cookieSecure=this.cookieSecure),this.cookieExpiryDays&&(window.cookieBanner_cookieExpiryDays=this.cookieExpiryDays),this.devMode&&(window.cookieBanner_devMode=this.devMode),await F3(),this.triggerInit()}triggerInit(){window.document.dispatchEvent(new Event("CookieBannerReady",{bubbles:!0,cancelable:!0})),window.cookieBanner.cookieConsent.validateConsentCookie().then(n=>{if(n){const i={value:window.cookieBanner.cookieConsent.getConsentCookie()};window.setTimeout(()=>this.emitCookieConsents(i),0),this._cookieEventHandler&&window.__cookieEvents.off("CookieManager.setCookie",this._cookieEventHandler),this._cookieEventHandler=l=>{this.emitCookieConsents(l)},window.__cookieEvents.on("CookieManager.setCookie",this._cookieEventHandler)}})}openModal(n){var i;n.preventDefault(),(i=window.cookieBanner)!=null&&i.cookieConsent||this.triggerInit(),setTimeout(()=>window.cookieBanner.openCookieModal())}render(){return this.triggerType==="link"?we`<a href="#" class="pkt-link" @click=${this.openModal}>${this.triggerText}</a>`:this.triggerType==="footerlink"?we`<a href="#" class="pkt-footer__link" @click=${this.openModal}>
|
|
934
|
+
`});return n?i:l}renderValueTag(n){if(!n)return"";switch(this.displayValueAs){case"prefixAndValue":return we`<span data-focusfix=${this.id}>${n.prefix||""} ${n.value}</span>`;case"value":return we`<span data-focusfix=${this.id}>${n.value}</span>`;case"label":default:return we`<span data-focusfix=${this.id}>${n.label||n.value}</span>`}}handleInput(n){if(n.stopPropagation(),n.stopImmediatePropagation(),this.disabled)return;this.touched=!0;const i=n.target;if(this._search=i.value,this.checkForMatches(),this.typeahead)if(this._search){if(this._options=this.options.filter(l=>{var c;return(c=l.fulltext)==null?void 0:c.toLowerCase().includes(this._search.toLowerCase())}),n.inputType!=="deleteContentBackward"){const l=this._options.filter(c=>{var h;return!c.selected&&((h=c.label)==null?void 0:h.toLowerCase().startsWith(this._search.toLowerCase()))});if(l.length>0&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const c=l[0];c!=null&&c.label&&(i.value=c.label,window.setTimeout(()=>i.setSelectionRange(this._search.length,i.value.length),0),i.selectionDirection="backward")}}}else this._options=[...this.options]}handleFocus(){if(!this.disabled){if(!this.multiple&&this._value[0]&&this.inputRef.value&&this.inputRef.value.type!=="hidden"){const n=this.findValueInOptions(this._value[0]);this._editingSingleValue=!0,this.inputRef.value.value=this.displayValueAs==="label"&&n!=null&&n.label?n.label:this._value[0]}this._inputFocus=!0,this._search="",this._options=[...this.options],this._isOptionsOpen=!0,this.onFocus(),this.requestUpdate()}}handleFocusOut(n){var i,l,c,h,m;if(!this.disabled&&((l=(i=n.relatedTarget)==null?void 0:i.closest("pkt-combobox"))==null?void 0:l.id)!==this.id&&((h=(c=n.relatedTarget)==null?void 0:c.closest("pkt-combobox"))==null?void 0:h.id)!==this.id&&((m=n.target)==null?void 0:m.getAttribute("data-focusfix"))!==this.id&&n.relatedTarget!==this.focusRef.value&&n.relatedTarget!==this.inputRef.value&&n.relatedTarget!==this.arrowRef.value&&this._isOptionsOpen){if(this._inputFocus=!1,this._addValueText=null,this._userInfoMessage="",this._search="",this.inputRef.value&&this.inputRef.value.type!=="hidden"&&this.inputRef.value.value!==""){const D=this.inputRef.value.value,C=this.findValueInOptions(D);!this._value.includes(D)&&!C?this.allowUserInput?this.addNewUserValue(D):this.multiple||this.removeValue(this._value[0]):C&&!this._value.includes(C.value)&&this.setSelected(C.value),this.inputRef.value.value=""}this._isOptionsOpen=!1,this.onBlur()}}handleBlur(){this._inputFocus=!1,this._editingSingleValue=!1,this.onBlur()}handleInputClick(n){var i,l;this.disabled||(n.currentTarget&&n.currentTarget!==this.arrowRef.value&&((i=this.inputRef.value)==null?void 0:i.type)!=="hidden"?(l=this.inputRef.value)==null||l.focus():this.handleArrowClick(n))}handleArrowClick(n){var i,l;this.disabled||n instanceof KeyboardEvent&&n.key&&n.key!=="Enter"&&n.key!==" "&&n.key!=="ArrowDown"||(n.stopImmediatePropagation(),n.preventDefault(),this._isOptionsOpen=!this._isOptionsOpen,this._isOptionsOpen?(i=this.listboxRef.value)==null||i.focusFirstOrSelectedOption():(l=this.arrowRef.value)==null||l.focus())}handleOptionToggled(n){this.toggleValue(n.detail)}handleSearch(n){n.stopPropagation(),this._search=n.detail.toLowerCase()}handleInputKeydown(n){var i,l,c;switch(n.key){case",":case"Enter":n.preventDefault(),this.addValue();break;case"Backspace":!this._search&&((i=this.inputRef.value)==null?void 0:i.type)==="hidden"&&this.removeLastValue(n);break;case"Tab":case"ArrowDown":n.shiftKey||((l=this.listboxRef.value)==null||l.focusFirstOrSelectedOption(),n.preventDefault());break;case"Escape":this._isOptionsOpen=!1,(c=this.arrowRef.value)==null||c.focus(),n.preventDefault();break}}handleTagRemove(n){this.removeSelected(n)}blurInput(){this.inputRef.value&&this.inputRef.value.matches(":focus")&&this.inputRef.value.blur()}checkForMatches(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value)||this._search||"",l=i.trim().toLowerCase()||"";if(!l){!this.multiple&&this._value[0]&&this.removeValue(this._value[0]),this.resetComboboxInput(!1);return}const c=this._value.find(D=>D.toLowerCase()===l),h=this._options.filter(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase().includes(l))??!1}),m=h.find(D=>{var C;return((C=D.label)==null?void 0:C.toLowerCase())===l||D.value.toLowerCase()===l});switch(!0){case((h.length===0||!m)&&this.allowUserInput):this._addValueText=i,this._userInfoMessage="";break;case(h.length===0&&!this.allowUserInput):this._addValueText=null,this._userInfoMessage="Ingen match i søket";break;case!!c:this._addValueText=null,this._userInfoMessage="Verdien er allerede valgt";break;case h.length>1:this._addValueText=null,this._userInfoMessage="";break;default:this._addValueText=null,this._userInfoMessage=""}}findValueInOptions(n){return this.options.find(i=>i.value===n||i.label===n)||null}findIndexInOptions(n){return this._options.findIndex(i=>i.value===n||i.label===n)}isMaxItemsReached(){const n=this.maxlength!==null&&this._value.length>=this.maxlength;return n?this._maxIsReached=!0:this._maxIsReached=!1,n}toggleValue(n){var i,l;if(this.disabled)return;this.touched=!0,this._userInfoMessage="",this._addValueText=null;const c=((i=this.findValueInOptions(n))==null?void 0:i.value)||null,h=this._value.includes(n||c||""),m=!!c,D=((l=this._options.find(V=>V.value===n))==null?void 0:l.disabled)||!1,C=!(n!=null&&n.trim()),E=!this.multiple,$=this.multiple,P=this.isMaxItemsReached();let R=!1,O=!0,I="",J="";D||(!m&&this.allowUserInput&&!C?(this.addNewUserValue(n),I="Ny verdi lagt til",R=!$):!m&&!this.allowUserInput?(E&&this._value[0]&&this.removeValue(this._value[0]),O=!1,R=!0,I="Ingen treff i søket"):h?(this.removeValue(c),R=!0):C&&E?(this.removeAllSelected(),R=!0):E?(this._value[0]&&this.removeSelected(this._value[0]),this.setSelected(c),R=!1,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&(this.inputRef.value.value="",this.inputRef.value.blur())):$&&!P?(this.setSelected(c),R=!0):$&&P?(this._userInfoMessage="Maks antall valg nådd",O=!1,J=n):(E&&this.removeAllSelected(),this._userInfoMessage="Ingen gyldig verdi valgt",O=!1,R=!0,J=n),this._isOptionsOpen=R,R||window.setTimeout(()=>{var V;(V=this.focusRef.value)==null||V.focus()},0),this._userInfoMessage=I,this._search=J||"",this.resetComboboxInput(O),$&&this.isMaxItemsReached())}setSelected(n){if(!this._value.includes(n)){if(this.multiple&&this.isMaxItemsReached()){this._userInfoMessage="Maks antall valg nådd";return}!this.multiple&&this.removeAllSelected(),this._value=n?[...this._value,n]:this._value,this._options=this._options.map(i=>(i.value===n&&(i.selected=!0),i)),this.resetComboboxInput(!0)}}removeSelected(n){if(!n)return;this._value=this._value.filter(l=>l!==n);const i=this.findValueInOptions(n);i?(i.selected=!1,i.userAdded?(this._options=[...this._options.filter(l=>l.value!==n)],this.options=[...this.options.filter(l=>l.value!==n)]):this._options=[...this._options,i]):!n&&!this.multiple&&(this._options=this._options.map(l=>(l.selected=!1,l)))}addAllOptions(){if(this.multiple){if(this.maxlength&&this._options.length>this.maxlength){this._userInfoMessage="For mange valgt";return}this._value=this._options.map(n=>n.value),this._options=this._options.map(n=>(n.selected=!0,n)),this.requestUpdate()}}removeAllSelected(){this._value=[],this._options=this._options.map(n=>(n.selected=!1,n)),this._options=this._options.filter(n=>!n.userAdded),this.requestUpdate()}addValue(){var n;const i=((n=this.inputRef.value)==null?void 0:n.value.trim())||"";this._search=i,this.toggleValue(i)}removeValue(n){this._value=this.multiple?this._value.filter(i=>i!==n):[],this.removeSelected(n)}addNewUserValue(n){if(!n||n.trim()==="")return;if(!this.multiple)this._value[0]&&this.removeSelected(this._value[0]),this._value=[n],this._isOptionsOpen=!1,this.blurInput();else if(!this.findValueInOptions(n)){if(this.isMaxItemsReached())return;this._value=[...this._value,n]}const i={value:n,label:n,userAdded:!0};this.options=[i,...this.options],this._options=[i,...this._options],this.setSelected(n),this.requestUpdate()}resetComboboxInput(n=!0){if(this._addValueText=null,this.inputRef.value&&this.inputRef.value.type!=="hidden"&&n)if(this._search="",this.multiple)this.inputRef.value.value="";else{const i=this.findValueInOptions(this._value[0]);window.setTimeout(()=>{!this.inputRef.value||this.inputRef.value.type==="hidden"||(this.inputRef.value.value=this.displayValueAs==="label"&&i!=null&&i.label?i.label:this._value[0]||"")},0),this._userInfoMessage=""}this._options=[...this.options]}removeLastValue(n){if(this._value.length===0)return;n.preventDefault();const i=this._value[this._value.length-1];i&&this.removeSelected(i),this.isMaxItemsReached()}};na([z({type:String,reflect:!0})],Ur.prototype,"value",2),na([z({type:Array})],Ur.prototype,"options",2),na([z({type:Array})],Ur.prototype,"defaultOptions",2),na([z({type:Boolean})],Ur.prototype,"allowUserInput",2),na([z({type:Boolean})],Ur.prototype,"typeahead",2),na([z({type:Boolean})],Ur.prototype,"includeSearch",2),na([z({type:String})],Ur.prototype,"searchPlaceholder",2),na([z({type:Boolean})],Ur.prototype,"multiple",2),na([z({type:Number})],Ur.prototype,"maxlength",2),na([z({type:String})],Ur.prototype,"displayValueAs",2),na([z({type:String})],Ur.prototype,"tagPlacement",2),na([Pn()],Ur.prototype,"_options",2),na([Pn()],Ur.prototype,"_isOptionsOpen",2),na([Pn()],Ur.prototype,"_value",2),na([Pn()],Ur.prototype,"_userInfoMessage",2),na([Pn()],Ur.prototype,"_addValueText",2),na([Pn()],Ur.prototype,"_maxIsReached",2),na([Pn()],Ur.prototype,"_search",2),na([Pn()],Ur.prototype,"_inputFocus",2),na([Pn()],Ur.prototype,"_editingSingleValue",2),Ur=na([fr("pkt-combobox")],Ur);const _3={i18n:{nb:{contentPresentation:{title:"Oslo kommune bruker informasjonskapsler",description:["For at nettstedet skal fungere og være trygt, bruker Oslo kommune informasjonskapsler. Noen er teknisk nødvendige, mens andre sikrer ulik funksjonalitet.","Godtar du alle informasjonskapsler, tillater du også at vi samler inn data om statistikk og brukeradferd. Da hjelper du oss med å lage et bedre nettsted uten at du trenger å dele noe personlig informasjon med oss."],buttons:{accept:"Godta alle",reject:"Kun nødvendige",settings:"Innstillinger for informasjonskapsler"}},contentSettings:{title:"Innstillinger for informasjonskapsler",description:["Her kan du velge hvilke typer informasjonskapsler du vil tillate. Tillatelsen gjelder i 90 dager. Husk at nødvendige informasjonskapsler ikke kan velges bort.","Du kan når som helst endre innstillingene og finne mer informasjon nederst på nettstedet under «Innstillinger for informasjonskapsler» og «Personvern og informasjonskapsler»."],buttons:{back:"Tilbake",save:"Lagre innstillinger"}}},en:{contentPresentation:{title:"Before you visit Oslo kommune ...",description:["This website uses cookies to make improvements. In this context, we need your consent to measure the traffic on the website in relation to statistics and feedback.","To read more about what we use cookies for, go to our privacy declaration which you will find at the bottom of our websites."],buttons:{accept:"Yes, I accept",reject:"Only necessary",settings:"Go to settings"}},contentSettings:{title:"Her kan du aktivt velge mellom ulike informasjonskapsler",description:["For å lese mer om hva vi bruker informasjonskapsler til gå til vår personvernserklering som du finner på våre nettsider"],buttons:{back:"Back",save:"Save settings"}}}}};var E3=Object.defineProperty,T3=Object.getOwnPropertyDescriptor,pu=(r,n,i,l)=>{for(var c=l>1?void 0:l?T3(n,i):n,h=r.length-1,m;h>=0;h--)(m=r[h])&&(c=(l?m(n,i,c):m(c))||c);return l&&c&&E3(n,i,c),c};let v0=null;function F3(){return v0||(v0=new Promise((r,n)=>{if(document.querySelector("#oslo-consent-script")){r();return}const i=document.createElement("script");i.src="https://cdn.web.oslo.kommune.no/cb/cb-v1.1.0.js",i.id="oslo-consent-script",i.onload=()=>r(),i.onerror=n,document.head.appendChild(i);const l=document.createElement("link");l.href="https://cdn.web.oslo.kommune.no/cb/cb-v1.1.0.css",l.type="text/css",l.rel="stylesheet",l.id="oslo-consent-styles",document.head.appendChild(l)}),v0)}let Ts=class extends da{constructor(){super(),this.devMode=!1,this.hotjarId=null,this.googleAnalyticsId=null,this.cookieDomain=null,this.cookieSecure=null,this.cookieExpiryDays=null,this.triggerType="button",this.triggerText=null,this.i18nLanguage="nb"}connectedCallback(){super.connectedCallback(),this.triggerText=this.triggerText||_3.i18n[this.i18nLanguage].contentPresentation.buttons.settings}disconnectedCallback(){var n;super.disconnectedCallback(),this._cookieEventHandler&&((n=window.__cookieEvents)==null||n.off("CookieManager.setCookie",this._cookieEventHandler))}returnJsonOrObject(n){let i;try{i=JSON.parse(n)}catch{i=n}return i}emitCookieConsents(n){const i=this.returnJsonOrObject(n.value).items.reduce((l,c)=>(l[c.name]=c.consent,l),{});this.dispatchEvent(new CustomEvent("toggle-consent",{detail:i,bubbles:!0,cancelable:!1}))}async firstUpdated(n){window.cookieBanner_googleAnalyticsId=this.googleAnalyticsId,window.cookieBanner_hotjarId=this.hotjarId,this.cookieDomain&&(window.cookieBanner_cookieDomain=this.cookieDomain),this.cookieSecure&&(window.cookieBanner_cookieSecure=this.cookieSecure),this.cookieExpiryDays&&(window.cookieBanner_cookieExpiryDays=this.cookieExpiryDays),this.devMode&&(window.cookieBanner_devMode=this.devMode),await F3(),this.triggerInit()}triggerInit(){window.document.dispatchEvent(new Event("CookieBannerReady",{bubbles:!0,cancelable:!0})),window.cookieBanner.cookieConsent.validateConsentCookie().then(n=>{if(n){const i={value:window.cookieBanner.cookieConsent.getConsentCookie()};window.setTimeout(()=>this.emitCookieConsents(i),0),this._cookieEventHandler&&window.__cookieEvents.off("CookieManager.setCookie",this._cookieEventHandler),this._cookieEventHandler=l=>{this.emitCookieConsents(l)},window.__cookieEvents.on("CookieManager.setCookie",this._cookieEventHandler)}})}openModal(n){var i;n.preventDefault(),(i=window.cookieBanner)!=null&&i.cookieConsent||this.triggerInit(),setTimeout(()=>window.cookieBanner.openCookieModal())}render(){return this.triggerType==="link"?we`<a href="#" class="pkt-link" @click=${this.openModal}>${this.triggerText}</a>`:this.triggerType==="footerlink"?we`<a href="#" class="pkt-footer__link" @click=${this.openModal}>
|
|
935
935
|
<pkt-icon name="chevron-right" class="pkt-footer__link-icon"></pkt-icon>
|
|
936
936
|
${this.triggerText}
|
|
937
937
|
</a>`:this.triggerType==="icon"?we`<pkt-button
|
|
@@ -1429,11 +1429,11 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1429
1429
|
<ul>
|
|
1430
1430
|
${r.map(n=>we`<li>${n}</li>`)}
|
|
1431
1431
|
</ul>
|
|
1432
|
-
`}doStuff(r){return r.reverse()}handleGreeting(){this.dispatchEvent(new CustomEvent("pkt-greeting",{detail:"Hei på deg!"}))}};Ig([z({type:String})],Nh.prototype,"string",2),Ig([z({converter:Hx})],Nh.prototype,"strings",2),Ig([z({type:Boolean})],Nh.prototype,"darkmode",2),Ig([z({type:Array})],Nh.prototype,"_list",2),Nh=Ig([fr("pkt-component")],Nh);const dR=ti({tagName:"pkt-accordion",elementClass:RP,react:$e,displayName:"PktAccordion"}),Xx=$e.forwardRef(({children:r,...n},i)=>L.jsx(dR,{"data-testid":"pkt-accordion",...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));Xx.displayName="PktAccordion";const fR=ti({tagName:"pkt-accordion-item",elementClass:BP,react:$e,displayName:"PktAccordionItem",events:{onClick:"click"}}),Jx=$e.forwardRef(({children:r,...n},i)=>L.jsx(fR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));Jx.displayName="PktAccordionItem";const pR=ti({tagName:"pkt-alert",elementClass:_s,react:$e,displayName:"PktAlert",events:{onClose:"close"}}),w0=$e.forwardRef(({children:r,...n},i)=>L.jsx(pR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));w0.displayName="PktAlert";const Qx=ti({tagName:"pkt-backlink",elementClass:_h,react:$e,displayName:"PktBackLink"});Qx.displayName="PktBackLink";const Mn=ti({tagName:"pkt-icon",elementClass:Bf,react:$e,displayName:"PktIcon",events:{}}),hR=$e.forwardRef(({breadcrumbs:r,navigationType:n,className:i,...l},c)=>{const h=r,m=h[h.length-2],D=[i,"pkt-breadcrumbs"].filter(Boolean).join(" ");return L.jsxs("nav",{ref:c,"aria-label":"brødsmulemeny",className:D,children:[L.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:h.map((C,E)=>L.jsx("li",{className:"pkt-breadcrumbs__item",children:E===h.length-1?L.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:L.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})}):n==="router"?L.jsxs($f.Link,{to:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[L.jsx(Mn,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]}):L.jsxs("a",{href:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[L.jsx(Mn,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]})},`breadcrumb-${E}`))}),n==="router"?L.jsxs($f.Link,{to:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[L.jsx(Mn,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]}):L.jsxs("a",{href:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[L.jsx(Mn,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]})]})});window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/13.0/animations/";const bc=$e.forwardRef(({children:r,className:n,iconName:i="user",secondIconName:l="user",size:c="medium",skin:h="primary",type:m="button",variant:D="label-only",state:C,color:E,isLoading:$=void 0,disabled:P=void 0,loadingAnimationPath:R=window.pktAnimationPath,...O},j)=>{const J=[n,"pkt-btn",c&&`pkt-btn--${c}`,h&&`pkt-btn--${h}`,D&&`pkt-btn--${D}`,E&&`pkt-btn--${E}`,C&&`pkt-btn--${C}`,$&&"pkt-btn--isLoading"].filter(Boolean).join(" ");return L.jsxs("button",{...O,"aria-busy":$||void 0,"aria-disabled":P||void 0,disabled:P,className:J,type:m,ref:j,children:[$&&L.jsx(Mn,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:R}),D!=="label-only"&&L.jsx(Mn,{className:"pkt-btn__icon",name:i}),L.jsx("span",{className:"pkt-btn__text",children:r}),D==="icons-right-and-left"&&L.jsx(Mn,{className:"pkt-btn__icon",name:l})]})});bc.displayName="PktButton";const mR=ti({tagName:"pkt-card",elementClass:Sa,react:$e,displayName:"PktCard",events:{}}),Kx=$e.forwardRef(({children:r,...n},i)=>L.jsx(mR,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));Kx.displayName="PktCard";const ib=$e.forwardRef(({id:r,hasTile:n=!1,disabled:i=!1,label:l,checkHelptext:c,hasError:h=!1,className:m,isSwitch:D=!1,hideLabel:C=!1,labelPosition:E,checked:$,...P},R)=>{const O=[m,"pkt-input-check"].filter(Boolean).join(" ");return L.jsx("div",{className:O,children:L.jsxs("div",{className:`pkt-input-check__input ${n?"pkt-input-check__input--tile":""}`,children:[L.jsx("input",{role:D?"switch":"checkbox",ref:R,className:`pkt-input-check__input-checkbox ${h?"pkt-input-check__input-checkbox--error":""}`,type:"checkbox",id:r,disabled:i,...P}),L.jsxs("label",{className:"pkt-input-check__input-label",htmlFor:r,children:[l,c&&L.jsx("div",{className:"pkt-input-check__input-helptext",children:c})]})]})})});ib.displayName="PktCheckbox";const gR=ti({tagName:"pkt-combobox",elementClass:Ur,react:$e,displayName:"PktCombobox",events:{onClick:"click",onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Zx=$e.forwardRef(({children:r,helptext:n,...i},l)=>L.jsxs(gR,{...i,ref:l,children:[n&&L.jsx("div",{slot:"helptext",className:"pkt-contents",children:n}),r]}));Zx.displayName="PktCombobox";const ob=ti({tagName:"pkt-consent",elementClass:Ts,react:$e,displayName:"PktConsent",events:{onToggleConsent:"toggle-consent"}});ob.displayName="PktConsent";const vR=ti({tagName:"pkt-datepicker",elementClass:Xr,react:$e,displayName:"PktDatepicker",events:{onChange:"change",onBlur:"blur",onFocus:"focus",onValueChange:"value-change",onToggleHelpText:"toggleHelpText"}}),D0=$e.forwardRef(({helptext:r,...n},i)=>L.jsx(vR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",slot:"helptext",children:r})}));D0.displayName="PktDatepicker";const yR=({columnOne:r,columnTwo:n,socialLinks:i,className:l,openLinksInNewTab:c=!1,personvernOgInfoLink:h="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:m="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:D=!1,hotjarId:C=null,googleAnalyticsId:E=null,devMode:$=!1,cookieDomain:P=null,cookieSecure:R=null,cookieExpiryDays:O=null,onToggleConsent:j=J=>{console.log(J.detail)}})=>{var V,De;const J=[l,"pkt-footer"].filter(Boolean).join(" ");return L.jsx("footer",{className:J,"data-mode":"dark",children:L.jsxs("div",{className:"pkt-footer__container",children:[L.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[L.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[L.jsx("h2",{className:"pkt-footer__title",children:r.title}),L.jsxs("ul",{className:"pkt-footer__list",children:[r.text&&L.jsx("li",{className:"pkt-footer__text",children:r.text}),(V=r.links)==null?void 0:V.map((q,W)=>L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),L.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[L.jsx("h2",{className:"pkt-footer__title",children:n.title}),L.jsxs("ul",{className:"pkt-footer__list",children:[n.text&&L.jsx("li",{className:"pkt-footer__text",children:n.text}),(De=n.links)==null?void 0:De.map((q,W)=>L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),L.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[L.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),L.jsxs("ul",{className:"pkt-footer__list",children:[L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:"pkt-footer__link",href:h,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:"pkt-footer__link",href:m,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),D&&L.jsx("li",{className:"pkt-footer__list-item",children:L.jsx(ob,{triggerType:"footerlink",hotjarId:C,googleAnalyticsId:E,devMode:$,cookieDomain:P,cookieSecure:R,cookieExpiryDays:O,onToggleConsent:j})})]})]})]}),i&&L.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[L.jsx("div",{className:"pkt-footer__social-languages",children:i.filter(q=>q.language).map((q,W)=>L.jsx("div",{className:"pkt-footer__social-language",children:L.jsx("a",{href:q.href,"aria-label":`til ${q.language} versjon av nettsiden`,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:q.language})},`sociallinks-language-${W}`))}),L.jsx("div",{className:"pkt-footer__social-icons",children:i.filter(q=>q.iconName).map((q,W)=>L.jsx($e.Fragment,{children:L.jsx("a",{href:q.href,"aria-label":`til ${q.iconName}`,className:"pkt-footer__social-icon-link",target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:L.jsx(Mn,{className:"pkt-footer__social-icon",name:q.iconName})})},`sociallinks-${W}`))})]})]})})},bR=({links:r=[],openLinksInNewTab:n=!1,personvernOgInfoLink:i="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:l="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:c=!1,hotjarId:h=null,googleAnalyticsId:m=null,devMode:D=!1,cookieDomain:C=null,cookieSecure:E=null,cookieExpiryDays:$=null,onToggleConsent:P=O=>{console.log(O.detail)},className:R})=>{const O=[R,"pkt-footer-simple"].filter(Boolean).join(" ");return L.jsx("footer",{className:O,"data-mode":"dark",children:L.jsx("div",{className:"pkt-footer-simple__container",children:L.jsxs("ul",{className:"pkt-footer-simple__list",children:[r.map((j,J)=>L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsxs("a",{className:`pkt-footer-simple__link ${j.external?" pkt-link--external":""}`,href:j.href,target:j.openInNewTab||n?"_blank":"_self",rel:j.openInNewTab||n?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),j.text]})},J)),L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsxs("a",{className:"pkt-footer-simple__link",href:i,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsxs("a",{className:"pkt-footer-simple__link",href:l,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),c&&L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsx(ob,{triggerType:"footerlink",hotjarId:h,googleAnalyticsId:m,devMode:D,cookieDomain:C,cookieSecure:E,cookieExpiryDays:$,onToggleConsent:P})})]})})})};var e_={exports:{}};/*!
|
|
1432
|
+
`}doStuff(r){return r.reverse()}handleGreeting(){this.dispatchEvent(new CustomEvent("pkt-greeting",{detail:"Hei på deg!"}))}};Ig([z({type:String})],Nh.prototype,"string",2),Ig([z({converter:Hx})],Nh.prototype,"strings",2),Ig([z({type:Boolean})],Nh.prototype,"darkmode",2),Ig([z({type:Array})],Nh.prototype,"_list",2),Nh=Ig([fr("pkt-component")],Nh);const dR=ti({tagName:"pkt-accordion",elementClass:RP,react:$e,displayName:"PktAccordion"}),Xx=$e.forwardRef(({children:r,...n},i)=>L.jsx(dR,{"data-testid":"pkt-accordion",...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));Xx.displayName="PktAccordion";const fR=ti({tagName:"pkt-accordion-item",elementClass:BP,react:$e,displayName:"PktAccordionItem",events:{onClick:"click"}}),Jx=$e.forwardRef(({children:r,...n},i)=>L.jsx(fR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));Jx.displayName="PktAccordionItem";const pR=ti({tagName:"pkt-alert",elementClass:_s,react:$e,displayName:"PktAlert",events:{onClose:"close"}}),w0=$e.forwardRef(({children:r,...n},i)=>L.jsx(pR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));w0.displayName="PktAlert";const Qx=ti({tagName:"pkt-backlink",elementClass:_h,react:$e,displayName:"PktBackLink"});Qx.displayName="PktBackLink";const Mn=ti({tagName:"pkt-icon",elementClass:Bf,react:$e,displayName:"PktIcon",events:{}}),hR=$e.forwardRef(({breadcrumbs:r,navigationType:n,className:i,...l},c)=>{const h=r,m=h[h.length-2],D=[i,"pkt-breadcrumbs"].filter(Boolean).join(" ");return L.jsxs("nav",{ref:c,"aria-label":"brødsmulemeny",className:D,children:[L.jsx("ol",{className:"pkt-breadcrumbs__list pkt-breadcrumbs--desktop",children:h.map((C,E)=>L.jsx("li",{className:"pkt-breadcrumbs__item",children:E===h.length-1?L.jsx("span",{className:"pkt-breadcrumbs__label","aria-current":"true",children:L.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})}):n==="router"?L.jsxs($f.Link,{to:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[L.jsx(Mn,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]}):L.jsxs("a",{href:C.href,className:"pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",...l,children:[L.jsx(Mn,{className:"pkt-icon pkt-breadcrumbs__icon pkt-link__icon",name:"chevron-thin-right"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:C.text})]})},`breadcrumb-${E}`))}),n==="router"?L.jsxs($f.Link,{to:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[L.jsx(Mn,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]}):L.jsxs("a",{href:m.href,className:"pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",...l,children:[L.jsx(Mn,{className:"pkt-back-link__icon pkt-icon pkt-link__icon",name:"chevron-thin-left"}),L.jsx("span",{className:"pkt-breadcrumbs__text",children:m.text})]})]})});window.pktAnimationPath=window.pktAnimationPath||"https://punkt-cdn.oslo.kommune.no/13.0/animations/";const bc=$e.forwardRef(({children:r,className:n,iconName:i="user",secondIconName:l="user",size:c="medium",skin:h="primary",type:m="button",variant:D="label-only",state:C,color:E,isLoading:$=void 0,disabled:P=void 0,loadingAnimationPath:R=window.pktAnimationPath,...O},I)=>{const J=[n,"pkt-btn",c&&`pkt-btn--${c}`,h&&`pkt-btn--${h}`,D&&`pkt-btn--${D}`,E&&`pkt-btn--${E}`,C&&`pkt-btn--${C}`,$&&"pkt-btn--isLoading"].filter(Boolean).join(" ");return L.jsxs("button",{...O,"aria-busy":$||void 0,"aria-disabled":P||void 0,disabled:P,className:J,type:m,ref:I,children:[$&&L.jsx(Mn,{className:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:R}),D!=="label-only"&&L.jsx(Mn,{className:"pkt-btn__icon",name:i}),L.jsx("span",{className:"pkt-btn__text",children:r}),D==="icons-right-and-left"&&L.jsx(Mn,{className:"pkt-btn__icon",name:l})]})});bc.displayName="PktButton";const mR=ti({tagName:"pkt-card",elementClass:Sa,react:$e,displayName:"PktCard",events:{}}),Kx=$e.forwardRef(({children:r,...n},i)=>L.jsx(mR,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));Kx.displayName="PktCard";const ib=$e.forwardRef(({id:r,hasTile:n=!1,disabled:i=!1,label:l,checkHelptext:c,hasError:h=!1,className:m,isSwitch:D=!1,hideLabel:C=!1,labelPosition:E,defaultChecked:$,checked:P,...R},O)=>{const I=[m,"pkt-input-check"].filter(Boolean).join(" ");return L.jsx("div",{className:I,children:L.jsxs("div",{className:`pkt-input-check__input ${n?"pkt-input-check__input--tile":""}`,children:[L.jsx("input",{role:D?"switch":"checkbox",ref:O,className:`pkt-input-check__input-checkbox ${h?"pkt-input-check__input-checkbox--error":""}`,type:"checkbox",id:r,disabled:i,defaultChecked:$||P,...R}),L.jsxs("label",{className:"pkt-input-check__input-label",htmlFor:r,children:[l,c&&L.jsx("div",{className:"pkt-input-check__input-helptext",children:c})]})]})})});ib.displayName="PktCheckbox";const gR=ti({tagName:"pkt-combobox",elementClass:Ur,react:$e,displayName:"PktCombobox",events:{onClick:"click",onChange:"change",onInput:"input",onBlur:"blur",onFocus:"focus",onValueChange:"valueChange",onToggleHelpText:"toggleHelpText"}}),Zx=$e.forwardRef(({children:r,helptext:n,...i},l)=>L.jsxs(gR,{...i,ref:l,children:[n&&L.jsx("div",{slot:"helptext",className:"pkt-contents",children:n}),r]}));Zx.displayName="PktCombobox";const ob=ti({tagName:"pkt-consent",elementClass:Ts,react:$e,displayName:"PktConsent",events:{onToggleConsent:"toggle-consent"}});ob.displayName="PktConsent";const vR=ti({tagName:"pkt-datepicker",elementClass:Xr,react:$e,displayName:"PktDatepicker",events:{onChange:"change",onBlur:"blur",onFocus:"focus",onValueChange:"value-change",onToggleHelpText:"toggleHelpText"}}),D0=$e.forwardRef(({helptext:r,...n},i)=>L.jsx(vR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",slot:"helptext",children:r})}));D0.displayName="PktDatepicker";const yR=({columnOne:r,columnTwo:n,socialLinks:i,className:l,openLinksInNewTab:c=!1,personvernOgInfoLink:h="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:m="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:D=!1,hotjarId:C=null,googleAnalyticsId:E=null,devMode:$=!1,cookieDomain:P=null,cookieSecure:R=null,cookieExpiryDays:O=null,onToggleConsent:I=J=>{console.log(J.detail)}})=>{var V,De;const J=[l,"pkt-footer"].filter(Boolean).join(" ");return L.jsx("footer",{className:J,"data-mode":"dark",children:L.jsxs("div",{className:"pkt-footer__container",children:[L.jsxs("div",{className:"pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16",children:[L.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[L.jsx("h2",{className:"pkt-footer__title",children:r.title}),L.jsxs("ul",{className:"pkt-footer__list",children:[r.text&&L.jsx("li",{className:"pkt-footer__text",children:r.text}),(V=r.links)==null?void 0:V.map((q,W)=>L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),L.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[L.jsx("h2",{className:"pkt-footer__title",children:n.title}),L.jsxs("ul",{className:"pkt-footer__list",children:[n.text&&L.jsx("li",{className:"pkt-footer__text",children:n.text}),(De=n.links)==null?void 0:De.map((q,W)=>L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:`pkt-footer__link ${q.external?"pkt-link--external":""}`,href:q.href,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),q.text]})},`links-${W}`))]})]}),L.jsxs("div",{className:"pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up",children:[L.jsx("h2",{className:"pkt-footer__title",children:"Om nettstedet"}),L.jsxs("ul",{className:"pkt-footer__list",children:[L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:"pkt-footer__link",href:h,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),L.jsx("li",{className:"pkt-footer__list-item",children:L.jsxs("a",{className:"pkt-footer__link",href:m,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),D&&L.jsx("li",{className:"pkt-footer__list-item",children:L.jsx(ob,{triggerType:"footerlink",hotjarId:C,googleAnalyticsId:E,devMode:$,cookieDomain:P,cookieSecure:R,cookieExpiryDays:O,onToggleConsent:I})})]})]})]}),i&&L.jsxs("div",{className:"pkt-footer__social","aria-label":"standard lenker",children:[L.jsx("div",{className:"pkt-footer__social-languages",children:i.filter(q=>q.language).map((q,W)=>L.jsx("div",{className:"pkt-footer__social-language",children:L.jsx("a",{href:q.href,"aria-label":`til ${q.language} versjon av nettsiden`,target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:q.language})},`sociallinks-language-${W}`))}),L.jsx("div",{className:"pkt-footer__social-icons",children:i.filter(q=>q.iconName).map((q,W)=>L.jsx($e.Fragment,{children:L.jsx("a",{href:q.href,"aria-label":`til ${q.iconName}`,className:"pkt-footer__social-icon-link",target:q.openInNewTab||c?"_blank":"_self",rel:q.openInNewTab||c?"noopener noreferrer":void 0,children:L.jsx(Mn,{className:"pkt-footer__social-icon",name:q.iconName})})},`sociallinks-${W}`))})]})]})})},bR=({links:r=[],openLinksInNewTab:n=!1,personvernOgInfoLink:i="https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",tilgjengelighetLink:l="https://www.oslo.kommune.no/tilgjengelighet/",includeConsent:c=!1,hotjarId:h=null,googleAnalyticsId:m=null,devMode:D=!1,cookieDomain:C=null,cookieSecure:E=null,cookieExpiryDays:$=null,onToggleConsent:P=O=>{console.log(O.detail)},className:R})=>{const O=[R,"pkt-footer-simple"].filter(Boolean).join(" ");return L.jsx("footer",{className:O,"data-mode":"dark",children:L.jsx("div",{className:"pkt-footer-simple__container",children:L.jsxs("ul",{className:"pkt-footer-simple__list",children:[r.map((I,J)=>L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsxs("a",{className:`pkt-footer-simple__link ${I.external?" pkt-link--external":""}`,href:I.href,target:I.openInNewTab||n?"_blank":"_self",rel:I.openInNewTab||n?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),I.text]})},J)),L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsxs("a",{className:"pkt-footer-simple__link",href:i,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Personvern og informasjonskapsler"]})}),L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsxs("a",{className:"pkt-footer-simple__link",href:l,target:n?"_blank":"_self",rel:n?"noopener noreferrer":void 0,children:[L.jsx(Mn,{className:"pkt-footer-simple__link-icon",name:"chevron-right"}),"Tilgjengelighet"]})}),c&&L.jsx("li",{className:"pkt-footer-simple__list-item",children:L.jsx(ob,{triggerType:"footerlink",hotjarId:h,googleAnalyticsId:m,devMode:D,cookieDomain:C,cookieSecure:E,cookieExpiryDays:$,onToggleConsent:P})})]})})})};var e_={exports:{}};/*!
|
|
1433
1433
|
Copyright (c) 2018 Jed Watson.
|
|
1434
1434
|
Licensed under the MIT License (MIT), see
|
|
1435
1435
|
http://jedwatson.github.io/classnames
|
|
1436
|
-
*/(function(r){(function(){var n={}.hasOwnProperty;function i(){for(var h="",m=0;m<arguments.length;m++){var D=arguments[m];D&&(h=c(h,l(D)))}return h}function l(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return i.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var D in h)n.call(h,D)&&h[D]&&(m=c(m,D));return m}function c(h,m){return m?h?h+" "+m:h+m:h}r.exports?(i.default=i,r.exports=i):window.classNames=i})()})(e_);var kR=e_.exports;const ml=Iy(kR),wR=$e.forwardRef(({className:r,logoLink:n="https://www.oslo.kommune.no/",serviceName:i,fixed:l=!0,scrollToHide:c=!0,user:h,userMenu:m,representing:D,userOptions:C,userMenuFooter:E,canChangeRepresentation:$=!0,showMenuButton:P=!1,showLogOutButton:R=!1,openMenu:O,logOut:j,changeRepresentation:J,children:V,...De},q)=>{const W=$e.useMemo(()=>typeof(h==null?void 0:h.lastLoggedIn)=="string"?h.lastLoggedIn:h!=null&&h.lastLoggedIn?new Date(h.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):"",[h]),[K,X]=$e.useState(!1),[ae,ue]=$e.useState(0),[xe,ye]=$e.useState(!1),Ye=$e.useRef(null);$e.useEffect(()=>(document&&(document.addEventListener("mouseup",Me),window.addEventListener("scroll",Qe)),()=>{document&&(document.removeEventListener("mouseup",Me),window.removeEventListener("scroll",Qe))}));const We=()=>{ye(!xe)},Me=Ie=>{Ye.current&&!Ye.current.contains(Ie.target)&&ye(!1)},Qe=()=>{if(c){const Ie=window.pageYOffset||document.documentElement.scrollTop;if(Ie<0||Math.abs(Ie-ae)<60)return;X(Ie>ae),ue(Ie)}};return L.jsxs("header",{...De,id:"pkt-header","data-testid":"pkt-header","aria-label":"Topp",className:ml(r,"pkt-header",{"pkt-header--fixed":l,"pkt-header--scroll-to-hide":c,"pkt-header--hidden":K}),ref:q,children:[L.jsxs("div",{className:"pkt-header__logo",children:[typeof n=="string"?L.jsx("a",{"aria-label":"Tilbake til forside",className:"pkt-header__logo-link",href:n,children:L.jsx(Mn,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/13.0/logos/"})}):L.jsx("button",{"aria-label":"Tilbake til forside",className:"pkt-link-button pkt-link pkt-header__logo-link",onClick:n,children:L.jsx(Mn,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/13.0/logos/"})}),L.jsx("span",{className:"pkt-header__logo-service",translate:"no",children:i})]}),L.jsx("nav",{className:"pkt-header__actions",children:L.jsxs("ul",{className:"pkt-header__actions-row",children:[P&&L.jsx("li",{children:L.jsx(bc,{className:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onClick:O,children:"Meny"})}),(h||D)&&L.jsxs("li",{"data-testid":"usermenu",className:`pkt-header--has-dropdown ${xe&&!K?"pkt-header--open-dropdown":""}`,ref:Ye,children:[L.jsxs("button",{className:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button",role:"button","aria-controls":"pktUserDropdown","aria-expanded":xe,onClick:We,children:[L.jsx(Mn,{name:"user",className:"pkt-btn__icon"}),L.jsx("span",{className:"pkt-header__user-fullname",translate:"no",children:(D==null?void 0:D.name)||(h==null?void 0:h.name)}),L.jsx("span",{className:"pkt-header__user-shortname",translate:"no",children:(D==null?void 0:D.shortname)||(h==null?void 0:h.shortname)}),L.jsx(Mn,{name:"chevron-thin-down",className:"pkt-btn--closed"}),L.jsx(Mn,{name:"chevron-thin-up",className:"pkt-btn--open"})]}),L.jsxs("ul",{id:"pktUserDropdown",className:"pkt-header__dropdown pkt-user-menu",children:[h&&L.jsxs("li",{children:[L.jsx("div",{className:"pkt-user-menu__label",children:"Pålogget som"}),L.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:h.name}),h.lastLoggedIn&&L.jsxs("div",{className:"pkt-user-menu__last-logged-in",children:["Sist pålogget: ",L.jsx("time",{children:W})]})]}),m&&L.jsx("li",{children:L.jsx("ul",{className:"pkt-list",children:m.map((Ie,at)=>L.jsx("li",{children:typeof Ie.target=="string"?L.jsxs("a",{href:Ie.target,className:"pkt-link",children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]}):L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:Ie.target,children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]})},`userMenu-${at}`))})}),(D||$)&&L.jsxs("li",{children:[D&&L.jsxs(L.Fragment,{children:[L.jsx("div",{className:"pkt-user-menu__label",children:"Representerer"}),L.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:D.name}),D.orgNumber&&L.jsxs("div",{className:"pkt-user-menu__org-number",children:["Org.nr. ",D.orgNumber]})]}),L.jsx("ul",{className:"pkt-list mt-size-16",children:$&&L.jsx("li",{children:L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:J,children:[L.jsx(Mn,{name:"cogwheel",className:"pkt-link__icon"}),"Endre organisasjon"]})})})]}),L.jsx("li",{children:L.jsx("ul",{className:"pkt-list",children:(C||!R)&&L.jsxs(L.Fragment,{children:[C==null?void 0:C.map((Ie,at)=>L.jsx("li",{children:typeof Ie.target=="string"?L.jsxs("a",{href:Ie.target,className:"pkt-link",children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]}):L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:Ie.target,children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]})},`userOptions-${at}`)),!R&&L.jsx("li",{children:L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:j,children:[L.jsx(Mn,{name:"exit",className:"pkt-link__icon"}),"Logg ut"]})})]})})}),E&&L.jsx("li",{className:"footer",children:L.jsx("ul",{className:"pkt-list-horizontal bordered",children:E.map((Ie,at)=>L.jsx("li",{children:typeof Ie.target=="string"?L.jsx("a",{href:Ie.target,className:"pkt-link",children:Ie.title}):L.jsx("button",{className:"pkt-link-button pkt-link",onClick:Ie.target,children:Ie.title})},`userMenuFooter-${at}`))})})]})]}),V&&L.jsx("li",{children:V}),R&&L.jsx("li",{children:L.jsx(bc,{className:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",role:"button",onClick:j,skin:"secondary",variant:"icon-right",children:"Logg ut"})})]})})]})}),DR=ti({tagName:"pkt-helptext",elementClass:mc,react:$e,displayName:"PktHelptext",events:{onToggleHelpText:"toggleHelpText"}}),t_=$e.forwardRef(({children:r,...n},i)=>L.jsx(DR,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));t_.displayName="PktHelptext";const n_=$e.forwardRef(({label:r,id:n,children:i,...l},c)=>L.jsxs("div",{className:"pkt-form-group",children:[L.jsx("label",{htmlFor:n,className:"pkt-form-label",children:r}),L.jsx("input",{className:"pkt-form-input",id:n,...l,ref:c}),i]}));n_.displayName="PktInput";const Rh=$e.forwardRef(({forId:r,label:n,helptext:i,helptextDropdown:l,helptextDropdownButton:c,counter:h,counterCurrent:m=0,counterMaxLength:D,optionalTag:C=!1,optionalText:E="Valgfritt",requiredTag:$=!1,requiredText:P="Må fylles ut",hasError:R=!1,errorMessage:O,disabled:j=!1,inline:J=!1,ariaDescribedby:V,useWrapper:De=!0,children:q,className:W="",hasFieldset:K=!1,role:X="group",counterPosition:ae="bottom"},ue)=>{const[xe,ye]=$e.useState(!1),Ye=C?E:$?P:null,We=V||(i?`${r}-helptext`:void 0),Me=!!h,Qe=Me&&ae==="top",Ie=Me&&ae==="bottom",at=()=>ye(le=>!le),Le=["pkt-inputwrapper",W,R?"pkt-inputwrapper--error":"",j?"pkt-inputwrapper--disabled":"",J?"pkt-inputwrapper--inline":""].filter(Boolean).join(" "),Ae=["pkt-tag","pkt-tag--small","pkt-tag--thin-text",C&&"pkt-tag--blue-light",!C&&$&&"pkt-tag--beige"].filter(Boolean).join(" "),ce=()=>Me?L.jsxs("div",{className:"pkt-input__counter","aria-live":"polite","aria-atomic":"true",children:[m,D?`/${D}`:""]}):null,Ne=()=>{const le=L.jsxs(L.Fragment,{children:[n," ",Ye&&L.jsx("span",{className:Ae,children:Ye})]});return De?K?L.jsx("legend",{className:"pkt-inputwrapper__legend",id:`${r}-label`,children:le}):L.jsx("label",{className:"pkt-inputwrapper__label",htmlFor:r,"aria-describedby":We,id:`${r}-label`,children:le}):L.jsx("label",{htmlFor:r,className:"pkt-sr-only","aria-describedby":We,id:`${r}-label`,children:n})},Se=()=>!i&&!l?null:L.jsxs(L.Fragment,{children:[i&&L.jsx("div",{className:"pkt-inputwrapper__helptext",id:`${r}-helptext`,children:i}),l&&L.jsxs("div",{className:"pkt-inputwrapper__helptext-expandable",children:[L.jsx(bc,{skin:"tertiary",size:"small",variant:"icon-right",iconName:xe?"chevron-thin-up":"chevron-thin-down",className:"pkt-link pkt-link--icon-right",onClick:at,children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c??'Les mer <span class="pkt-sr-only">om inputfeltet</span>'}})}),L.jsx("div",{className:`pkt-inputwrapper__helptext ${xe?"pkt-inputwrapper__helptext-expandable-open":"pkt-inputwrapper__helptext-expandable-closed"}`,children:l})]})]}),Q=L.jsxs(L.Fragment,{children:[Ne(),Se(),Qe&&L.jsx(ce,{}),q,Ie&&L.jsx(ce,{}),R&&O&&L.jsx("div",{className:"pkt-inputwrapper__alert-wrapper",children:L.jsx(w0,{skin:"error","aria-live":"assertive",role:"alert",id:`${r}-error`,compact:!0,children:O})})]});return L.jsx("div",{className:Le,ref:ue,role:X,children:K?L.jsx("fieldset",{className:"pkt-inputwrapper__fieldset","aria-describedby":We,children:Q}):L.jsx("div",{className:"pkt-inputwrapper__fieldset",children:Q})})});Rh.displayName="PktInputWrapper";const SR=ti({tagName:"pkt-link",elementClass:Fd,react:$e,displayName:"PktLink"}),r_=$e.forwardRef(({children:r,...n},i)=>L.jsx(SR,{...n,ref:i,children:L.jsx("span",{className:"pkt-contents",children:r})}));r_.displayName="PktLink";const CR=ti({tagName:"pkt-linkcard",elementClass:gc,react:$e,displayName:"PktLinkCard",events:{}}),a_=$e.forwardRef(({children:r,...n},i)=>L.jsx(CR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));a_.displayName="PktLinkCard";const xR=ti({tagName:"pkt-loader",elementClass:fl,react:$e,displayName:"PktLoader",events:{}}),i_=$e.forwardRef(({children:r,...n},i)=>L.jsx(xR,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));i_.displayName="PktLoader";const _R=ti({tagName:"pkt-messagebox",elementClass:Ad,react:$e,displayName:"PktMessagebox",events:{onClose:"close"}}),o_=$e.forwardRef(({children:r,...n},i)=>L.jsx(_R,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));o_.displayName="PktMessagebox";const ER=ti({tagName:"pkt-modal",elementClass:Qo,react:$e,displayName:"PktModal",events:{}}),s_=$e.forwardRef(({children:r,...n},i)=>L.jsx(ER,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));s_.displayName="PktModal";/*!
|
|
1436
|
+
*/(function(r){(function(){var n={}.hasOwnProperty;function i(){for(var h="",m=0;m<arguments.length;m++){var D=arguments[m];D&&(h=c(h,l(D)))}return h}function l(h){if(typeof h=="string"||typeof h=="number")return h;if(typeof h!="object")return"";if(Array.isArray(h))return i.apply(null,h);if(h.toString!==Object.prototype.toString&&!h.toString.toString().includes("[native code]"))return h.toString();var m="";for(var D in h)n.call(h,D)&&h[D]&&(m=c(m,D));return m}function c(h,m){return m?h?h+" "+m:h+m:h}r.exports?(i.default=i,r.exports=i):window.classNames=i})()})(e_);var kR=e_.exports;const ml=Iy(kR),wR=$e.forwardRef(({className:r,logoLink:n="https://www.oslo.kommune.no/",serviceName:i,fixed:l=!0,scrollToHide:c=!0,user:h,userMenu:m,representing:D,userOptions:C,userMenuFooter:E,canChangeRepresentation:$=!0,showMenuButton:P=!1,showLogOutButton:R=!1,openMenu:O,logOut:I,changeRepresentation:J,children:V,...De},q)=>{const W=$e.useMemo(()=>typeof(h==null?void 0:h.lastLoggedIn)=="string"?h.lastLoggedIn:h!=null&&h.lastLoggedIn?new Date(h.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):"",[h]),[K,X]=$e.useState(!1),[ae,ue]=$e.useState(0),[xe,ye]=$e.useState(!1),Ye=$e.useRef(null);$e.useEffect(()=>(document&&(document.addEventListener("mouseup",Me),window.addEventListener("scroll",Qe)),()=>{document&&(document.removeEventListener("mouseup",Me),window.removeEventListener("scroll",Qe))}));const We=()=>{ye(!xe)},Me=Ie=>{Ye.current&&!Ye.current.contains(Ie.target)&&ye(!1)},Qe=()=>{if(c){const Ie=window.pageYOffset||document.documentElement.scrollTop;if(Ie<0||Math.abs(Ie-ae)<60)return;X(Ie>ae),ue(Ie)}};return L.jsxs("header",{...De,id:"pkt-header","data-testid":"pkt-header","aria-label":"Topp",className:ml(r,"pkt-header",{"pkt-header--fixed":l,"pkt-header--scroll-to-hide":c,"pkt-header--hidden":K}),ref:q,children:[L.jsxs("div",{className:"pkt-header__logo",children:[typeof n=="string"?L.jsx("a",{"aria-label":"Tilbake til forside",className:"pkt-header__logo-link",href:n,children:L.jsx(Mn,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/13.0/logos/"})}):L.jsx("button",{"aria-label":"Tilbake til forside",className:"pkt-link-button pkt-link pkt-header__logo-link",onClick:n,children:L.jsx(Mn,{name:"oslologo",className:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/13.0/logos/"})}),L.jsx("span",{className:"pkt-header__logo-service",translate:"no",children:i})]}),L.jsx("nav",{className:"pkt-header__actions",children:L.jsxs("ul",{className:"pkt-header__actions-row",children:[P&&L.jsx("li",{children:L.jsx(bc,{className:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onClick:O,children:"Meny"})}),(h||D)&&L.jsxs("li",{"data-testid":"usermenu",className:`pkt-header--has-dropdown ${xe&&!K?"pkt-header--open-dropdown":""}`,ref:Ye,children:[L.jsxs("button",{className:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button",role:"button","aria-controls":"pktUserDropdown","aria-expanded":xe,onClick:We,children:[L.jsx(Mn,{name:"user",className:"pkt-btn__icon"}),L.jsx("span",{className:"pkt-header__user-fullname",translate:"no",children:(D==null?void 0:D.name)||(h==null?void 0:h.name)}),L.jsx("span",{className:"pkt-header__user-shortname",translate:"no",children:(D==null?void 0:D.shortname)||(h==null?void 0:h.shortname)}),L.jsx(Mn,{name:"chevron-thin-down",className:"pkt-btn--closed"}),L.jsx(Mn,{name:"chevron-thin-up",className:"pkt-btn--open"})]}),L.jsxs("ul",{id:"pktUserDropdown",className:"pkt-header__dropdown pkt-user-menu",children:[h&&L.jsxs("li",{children:[L.jsx("div",{className:"pkt-user-menu__label",children:"Pålogget som"}),L.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:h.name}),h.lastLoggedIn&&L.jsxs("div",{className:"pkt-user-menu__last-logged-in",children:["Sist pålogget: ",L.jsx("time",{children:W})]})]}),m&&L.jsx("li",{children:L.jsx("ul",{className:"pkt-list",children:m.map((Ie,at)=>L.jsx("li",{children:typeof Ie.target=="string"?L.jsxs("a",{href:Ie.target,className:"pkt-link",children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]}):L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:Ie.target,children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]})},`userMenu-${at}`))})}),(D||$)&&L.jsxs("li",{children:[D&&L.jsxs(L.Fragment,{children:[L.jsx("div",{className:"pkt-user-menu__label",children:"Representerer"}),L.jsx("div",{className:"pkt-user-menu__name",translate:"no",children:D.name}),D.orgNumber&&L.jsxs("div",{className:"pkt-user-menu__org-number",children:["Org.nr. ",D.orgNumber]})]}),L.jsx("ul",{className:"pkt-list mt-size-16",children:$&&L.jsx("li",{children:L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:J,children:[L.jsx(Mn,{name:"cogwheel",className:"pkt-link__icon"}),"Endre organisasjon"]})})})]}),L.jsx("li",{children:L.jsx("ul",{className:"pkt-list",children:(C||!R)&&L.jsxs(L.Fragment,{children:[C==null?void 0:C.map((Ie,at)=>L.jsx("li",{children:typeof Ie.target=="string"?L.jsxs("a",{href:Ie.target,className:"pkt-link",children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]}):L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:Ie.target,children:[Ie.iconName&&L.jsx(Mn,{name:Ie.iconName,className:"pkt-link__icon"}),Ie.title]})},`userOptions-${at}`)),!R&&L.jsx("li",{children:L.jsxs("button",{className:"pkt-link-button pkt-link",onClick:I,children:[L.jsx(Mn,{name:"exit",className:"pkt-link__icon"}),"Logg ut"]})})]})})}),E&&L.jsx("li",{className:"footer",children:L.jsx("ul",{className:"pkt-list-horizontal bordered",children:E.map((Ie,at)=>L.jsx("li",{children:typeof Ie.target=="string"?L.jsx("a",{href:Ie.target,className:"pkt-link",children:Ie.title}):L.jsx("button",{className:"pkt-link-button pkt-link",onClick:Ie.target,children:Ie.title})},`userMenuFooter-${at}`))})})]})]}),V&&L.jsx("li",{children:V}),R&&L.jsx("li",{children:L.jsx(bc,{className:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",role:"button",onClick:I,skin:"secondary",variant:"icon-right",children:"Logg ut"})})]})})]})}),DR=ti({tagName:"pkt-helptext",elementClass:mc,react:$e,displayName:"PktHelptext",events:{onToggleHelpText:"toggleHelpText"}}),t_=$e.forwardRef(({children:r,...n},i)=>L.jsx(DR,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));t_.displayName="PktHelptext";const n_=$e.forwardRef(({label:r,id:n,children:i,...l},c)=>L.jsxs("div",{className:"pkt-form-group",children:[L.jsx("label",{htmlFor:n,className:"pkt-form-label",children:r}),L.jsx("input",{className:"pkt-form-input",id:n,...l,ref:c}),i]}));n_.displayName="PktInput";const Rh=$e.forwardRef(({forId:r,label:n,helptext:i,helptextDropdown:l,helptextDropdownButton:c,counter:h,counterCurrent:m=0,counterMaxLength:D,optionalTag:C=!1,optionalText:E="Valgfritt",requiredTag:$=!1,requiredText:P="Må fylles ut",hasError:R=!1,errorMessage:O,disabled:I=!1,inline:J=!1,ariaDescribedby:V,useWrapper:De=!0,children:q,className:W="",hasFieldset:K=!1,role:X="group",counterPosition:ae="bottom"},ue)=>{const[xe,ye]=$e.useState(!1),Ye=C?E:$?P:null,We=V||(i?`${r}-helptext`:void 0),Me=!!h,Qe=Me&&ae==="top",Ie=Me&&ae==="bottom",at=()=>ye(le=>!le),Le=["pkt-inputwrapper",W,R?"pkt-inputwrapper--error":"",I?"pkt-inputwrapper--disabled":"",J?"pkt-inputwrapper--inline":""].filter(Boolean).join(" "),Ae=["pkt-tag","pkt-tag--small","pkt-tag--thin-text",C&&"pkt-tag--blue-light",!C&&$&&"pkt-tag--beige"].filter(Boolean).join(" "),ce=()=>Me?L.jsxs("div",{className:"pkt-input__counter","aria-live":"polite","aria-atomic":"true",children:[m,D?`/${D}`:""]}):null,Ne=()=>{const le=L.jsxs(L.Fragment,{children:[n," ",Ye&&L.jsx("span",{className:Ae,children:Ye})]});return De?K?L.jsx("legend",{className:"pkt-inputwrapper__legend",id:`${r}-label`,children:le}):L.jsx("label",{className:"pkt-inputwrapper__label",htmlFor:r,"aria-describedby":We,id:`${r}-label`,children:le}):L.jsx("label",{htmlFor:r,className:"pkt-sr-only","aria-describedby":We,id:`${r}-label`,children:n})},Se=()=>!i&&!l?null:L.jsxs(L.Fragment,{children:[i&&De&&L.jsx("div",{className:"pkt-inputwrapper__helptext",id:`${r}-helptext`,children:i}),l&&L.jsxs("div",{className:"pkt-inputwrapper__helptext-expandable",children:[L.jsx(bc,{skin:"tertiary",size:"small",variant:"icon-right",iconName:xe?"chevron-thin-up":"chevron-thin-down",className:"pkt-link pkt-link--icon-right",onClick:at,children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c??'Les mer <span class="pkt-sr-only">om inputfeltet</span>'}})}),L.jsx("div",{className:`pkt-inputwrapper__helptext ${xe?"pkt-inputwrapper__helptext-expandable-open":"pkt-inputwrapper__helptext-expandable-closed"}`,children:l})]})]}),Q=L.jsxs(L.Fragment,{children:[Ne(),Se(),Qe&&L.jsx(ce,{}),q,Ie&&L.jsx(ce,{}),R&&O&&L.jsx("div",{className:"pkt-inputwrapper__alert-wrapper",children:L.jsx(w0,{skin:"error","aria-live":"assertive",role:"alert",id:`${r}-error`,compact:!0,children:O})})]});return L.jsx("div",{className:Le,ref:ue,role:X,children:K?L.jsx("fieldset",{className:"pkt-inputwrapper__fieldset","aria-describedby":We,children:Q}):L.jsx("div",{className:"pkt-inputwrapper__fieldset",children:Q})})});Rh.displayName="PktInputWrapper";const SR=ti({tagName:"pkt-link",elementClass:Fd,react:$e,displayName:"PktLink"}),r_=$e.forwardRef(({children:r,...n},i)=>L.jsx(SR,{...n,ref:i,children:L.jsx("span",{className:"pkt-contents",children:r})}));r_.displayName="PktLink";const CR=ti({tagName:"pkt-linkcard",elementClass:gc,react:$e,displayName:"PktLinkCard",events:{}}),a_=$e.forwardRef(({children:r,...n},i)=>L.jsx(CR,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));a_.displayName="PktLinkCard";const xR=ti({tagName:"pkt-loader",elementClass:fl,react:$e,displayName:"PktLoader",events:{}}),i_=$e.forwardRef(({children:r,...n},i)=>L.jsx(xR,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));i_.displayName="PktLoader";const _R=ti({tagName:"pkt-messagebox",elementClass:Ad,react:$e,displayName:"PktMessagebox",events:{onClose:"close"}}),o_=$e.forwardRef(({children:r,...n},i)=>L.jsx(_R,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));o_.displayName="PktMessagebox";const ER=ti({tagName:"pkt-modal",elementClass:Qo,react:$e,displayName:"PktModal",events:{}}),s_=$e.forwardRef(({children:r,...n},i)=>L.jsx(ER,{...n,ref:i,children:L.jsx("div",{className:"pkt-contents",children:r})}));s_.displayName="PktModal";/*!
|
|
1437
1437
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
1438
1438
|
*
|
|
1439
1439
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
@@ -1441,7 +1441,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1441
1441
|
*/function l_(r){return Object.prototype.toString.call(r)==="[object Object]"}function TR(r){var n,i;return l_(r)===!1?!1:(n=r.constructor,n===void 0?!0:(i=n.prototype,!(l_(i)===!1||i.hasOwnProperty("isPrototypeOf")===!1)))}var u_={},sb=Cd&&Cd.__assign||function(){return sb=Object.assign||function(r){for(var n,i=1,l=arguments.length;i<l;i++){n=arguments[i];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(r[c]=n[c])}return r},sb.apply(this,arguments)},FR=Cd&&Cd.__spreadArrays||function(){for(var r=0,n=0,i=arguments.length;n<i;n++)r+=arguments[n].length;for(var l=Array(r),c=0,n=0;n<i;n++)for(var h=arguments[n],m=0,D=h.length;m<D;m++,c++)l[c]=h[m];return l};Object.defineProperty(u_,"__esModule",{value:!0});var jg=[];function AR(r){var n=typeof r;return r!==null&&(n==="object"||n==="function")}function $R(r){return Object.prototype.toString.call(r)==="[object RegExp]"}function PR(r){return Object.getOwnPropertySymbols(r).filter(function(n){return Object.prototype.propertyIsEnumerable.call(r,n)})}function lb(r,n,i){i===void 0&&(i="");var l={indent:" ",singleQuotes:!0},c=sb(sb({},l),n),h;c.inlineCharacterLimit===void 0?h={newLine:`
|
|
1442
1442
|
`,newLineOrSpace:`
|
|
1443
1443
|
`,pad:i,indent:i+c.indent}:h={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var m=function(E){if(c.inlineCharacterLimit===void 0)return E;var $=E.replace(new RegExp(h.newLine,"g"),"").replace(new RegExp(h.newLineOrSpace,"g")," ").replace(new RegExp(h.pad+"|"+h.indent,"g"),"");return $.length<=c.inlineCharacterLimit?$:E.replace(new RegExp(h.newLine+"|"+h.newLineOrSpace,"g"),`
|
|
1444
|
-
`).replace(new RegExp(h.pad,"g"),i).replace(new RegExp(h.indent,"g"),i+c.indent)};if(jg.indexOf(r)!==-1)return'"[Circular]"';if(r==null||typeof r=="number"||typeof r=="boolean"||typeof r=="function"||typeof r=="symbol"||$R(r))return String(r);if(r instanceof Date)return"new Date('"+r.toISOString()+"')";if(Array.isArray(r)){if(r.length===0)return"[]";jg.push(r);var D="["+h.newLine+r.map(function(E,$){var P=r.length-1===$?h.newLine:","+h.newLineOrSpace,R=lb(E,c,i+c.indent);return c.transform&&(R=c.transform(r,$,R)),h.indent+R+P}).join("")+h.pad+"]";return jg.pop(),m(D)}if(AR(r)){var C=FR(Object.keys(r),PR(r));if(c.filter&&(C=C.filter(function($){return c.filter&&c.filter(r,$)})),C.length===0)return"{}";jg.push(r);var D="{"+h.newLine+C.map(function($,P){var R=C.length-1===P?h.newLine:","+h.newLineOrSpace,O=typeof $=="symbol",
|
|
1444
|
+
`).replace(new RegExp(h.pad,"g"),i).replace(new RegExp(h.indent,"g"),i+c.indent)};if(jg.indexOf(r)!==-1)return'"[Circular]"';if(r==null||typeof r=="number"||typeof r=="boolean"||typeof r=="function"||typeof r=="symbol"||$R(r))return String(r);if(r instanceof Date)return"new Date('"+r.toISOString()+"')";if(Array.isArray(r)){if(r.length===0)return"[]";jg.push(r);var D="["+h.newLine+r.map(function(E,$){var P=r.length-1===$?h.newLine:","+h.newLineOrSpace,R=lb(E,c,i+c.indent);return c.transform&&(R=c.transform(r,$,R)),h.indent+R+P}).join("")+h.pad+"]";return jg.pop(),m(D)}if(AR(r)){var C=FR(Object.keys(r),PR(r));if(c.filter&&(C=C.filter(function($){return c.filter&&c.filter(r,$)})),C.length===0)return"{}";jg.push(r);var D="{"+h.newLine+C.map(function($,P){var R=C.length-1===P?h.newLine:","+h.newLineOrSpace,O=typeof $=="symbol",I=!O&&/^[a-z$_][a-z$_0-9]*$/i.test($.toString()),J=O||I?$:lb($,c),V=lb(r[$],c,i+c.indent);return c.transform&&(V=c.transform(r,$,V)),h.indent+String(J)+": "+V+R}).join("")+h.pad+"}";return jg.pop(),m(D)}return r=String(r).replace(/[\r\n]/g,function(E){return E===`
|
|
1445
1445
|
`?"\\n":"\\r"}),c.singleQuotes?(r=r.replace(/\\?'/g,"\\'"),"'"+r+"'"):(r=r.replace(/"/g,'\\"'),'"'+r+'"')}var NR=u_.prettyPrint=lb,S0={exports:{}},Qn={};/**
|
|
1446
1446
|
* @license React
|
|
1447
1447
|
* react-is.production.min.js
|
|
@@ -1450,7 +1450,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1450
1450
|
*
|
|
1451
1451
|
* This source code is licensed under the MIT license found in the
|
|
1452
1452
|
* LICENSE file in the root directory of this source tree.
|
|
1453
|
-
*/var c_;function RR(){if(c_)return Qn;c_=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.server_context"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),
|
|
1453
|
+
*/var c_;function RR(){if(c_)return Qn;c_=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.server_context"),C=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),I;I=Symbol.for("react.module.reference");function J(V){if(typeof V=="object"&&V!==null){var De=V.$$typeof;switch(De){case r:switch(V=V.type,V){case i:case c:case l:case E:case $:return V;default:switch(V=V&&V.$$typeof,V){case D:case m:case C:case R:case P:case h:return V;default:return De}}case n:return De}}}return Qn.ContextConsumer=m,Qn.ContextProvider=h,Qn.Element=r,Qn.ForwardRef=C,Qn.Fragment=i,Qn.Lazy=R,Qn.Memo=P,Qn.Portal=n,Qn.Profiler=c,Qn.StrictMode=l,Qn.Suspense=E,Qn.SuspenseList=$,Qn.isAsyncMode=function(){return!1},Qn.isConcurrentMode=function(){return!1},Qn.isContextConsumer=function(V){return J(V)===m},Qn.isContextProvider=function(V){return J(V)===h},Qn.isElement=function(V){return typeof V=="object"&&V!==null&&V.$$typeof===r},Qn.isForwardRef=function(V){return J(V)===C},Qn.isFragment=function(V){return J(V)===i},Qn.isLazy=function(V){return J(V)===R},Qn.isMemo=function(V){return J(V)===P},Qn.isPortal=function(V){return J(V)===n},Qn.isProfiler=function(V){return J(V)===c},Qn.isStrictMode=function(V){return J(V)===l},Qn.isSuspense=function(V){return J(V)===E},Qn.isSuspenseList=function(V){return J(V)===$},Qn.isValidElementType=function(V){return typeof V=="string"||typeof V=="function"||V===i||V===c||V===l||V===E||V===$||V===O||typeof V=="object"&&V!==null&&(V.$$typeof===R||V.$$typeof===P||V.$$typeof===h||V.$$typeof===m||V.$$typeof===C||V.$$typeof===I||V.getModuleId!==void 0)},Qn.typeOf=J,Qn}var Kn={};/**
|
|
1454
1454
|
* @license React
|
|
1455
1455
|
* react-is.development.js
|
|
1456
1456
|
*
|
|
@@ -1458,21 +1458,21 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1458
1458
|
*
|
|
1459
1459
|
* This source code is licensed under the MIT license found in the
|
|
1460
1460
|
* LICENSE file in the root directory of this source tree.
|
|
1461
|
-
*/var d_;function LR(){return d_||(d_=1,process.env.NODE_ENV!=="production"&&function(){var r=!1,n=!1,i=!1,l=!1,c=!1,h=Symbol.for("react.element"),m=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),P=Symbol.for("react.context"),R=Symbol.for("react.server_context"),O=Symbol.for("react.forward_ref"),
|
|
1461
|
+
*/var d_;function LR(){return d_||(d_=1,process.env.NODE_ENV!=="production"&&function(){var r=!1,n=!1,i=!1,l=!1,c=!1,h=Symbol.for("react.element"),m=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),$=Symbol.for("react.provider"),P=Symbol.for("react.context"),R=Symbol.for("react.server_context"),O=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),De=Symbol.for("react.lazy"),q=Symbol.for("react.offscreen"),W;W=Symbol.for("react.module.reference");function K(ot){return!!(typeof ot=="string"||typeof ot=="function"||ot===D||ot===E||c||ot===C||ot===I||ot===J||l||ot===q||r||n||i||typeof ot=="object"&&ot!==null&&(ot.$$typeof===De||ot.$$typeof===V||ot.$$typeof===$||ot.$$typeof===P||ot.$$typeof===O||ot.$$typeof===W||ot.getModuleId!==void 0))}function X(ot){if(typeof ot=="object"&&ot!==null){var Un=ot.$$typeof;switch(Un){case h:var yn=ot.type;switch(yn){case D:case E:case C:case I:case J:return yn;default:var br=yn&&yn.$$typeof;switch(br){case R:case P:case O:case De:case V:case $:return br;default:return Un}}case m:return Un}}}var ae=P,ue=$,xe=h,ye=O,Ye=D,We=De,Me=V,Qe=m,Ie=E,at=C,Le=I,Ae=J,ce=!1,Ne=!1;function Se(ot){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Q(ot){return Ne||(Ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(ot){return X(ot)===P}function it(ot){return X(ot)===$}function Je(ot){return typeof ot=="object"&&ot!==null&&ot.$$typeof===h}function pt(ot){return X(ot)===O}function lt(ot){return X(ot)===D}function gt(ot){return X(ot)===De}function vt(ot){return X(ot)===V}function Et(ot){return X(ot)===m}function tn(ot){return X(ot)===E}function zt(ot){return X(ot)===C}function zn(ot){return X(ot)===I}function At(ot){return X(ot)===J}Kn.ContextConsumer=ae,Kn.ContextProvider=ue,Kn.Element=xe,Kn.ForwardRef=ye,Kn.Fragment=Ye,Kn.Lazy=We,Kn.Memo=Me,Kn.Portal=Qe,Kn.Profiler=Ie,Kn.StrictMode=at,Kn.Suspense=Le,Kn.SuspenseList=Ae,Kn.isAsyncMode=Se,Kn.isConcurrentMode=Q,Kn.isContextConsumer=le,Kn.isContextProvider=it,Kn.isElement=Je,Kn.isForwardRef=pt,Kn.isFragment=lt,Kn.isLazy=gt,Kn.isMemo=vt,Kn.isPortal=Et,Kn.isProfiler=tn,Kn.isStrictMode=zt,Kn.isSuspense=zn,Kn.isSuspenseList=At,Kn.isValidElementType=K,Kn.typeOf=X}()),Kn}process.env.NODE_ENV==="production"?S0.exports=RR():S0.exports=LR();var gu=S0.exports,kc=function(r,n){return r===0?"":new Array(r*n).fill(" ").join("")};function zg(r){"@babel/helpers - typeof";return zg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},zg(r)}function f_(r){return OR(r)||BR(r)||MR(r)||IR()}function OR(r){if(Array.isArray(r))return C0(r)}function BR(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function MR(r,n){if(r){if(typeof r=="string")return C0(r,n);var i=Object.prototype.toString.call(r).slice(8,-1);if(i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set")return Array.from(r);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return C0(r,n)}}function C0(r,n){(n==null||n>r.length)&&(n=r.length);for(var i=0,l=new Array(n);i<n;i++)l[i]=r[i];return l}function IR(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1462
1462
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x0(r,n){return r===null||zg(r)!=="object"||r instanceof Date||r instanceof RegExp||A$.isValidElement(r)?r:(n.add(r),Array.isArray(r)?r.map(function(i){return x0(i,n)}):Object.keys(r).sort().reduce(function(i,l){return l==="_owner"||(l==="current"||n.has(r[l])?i[l]="[Circular]":i[l]=x0(r[l],n)),i},{}))}function jR(r){return x0(r,new WeakSet)}var p_=function(n){return{type:"string",value:n}},zR=function(n){return{type:"number",value:n}},UR=function(n,i,l,c){return{type:"ReactElement",displayName:n,props:i,defaultProps:l,childrens:c}},HR=function(n,i){return{type:"ReactFragment",key:n,childrens:i}},WR=!!$e.Fragment,h_=function(n){return!n.name||n.name==="_default"?"No Display Name":n.name},qR=function r(n){switch(!0){case!!n.displayName:return n.displayName;case n.$$typeof===gu.Memo:return r(n.type);case n.$$typeof===gu.ForwardRef:return r(n.render);default:return h_(n)}},VR=function(n){switch(!0){case typeof n.type=="string":return n.type;case typeof n.type=="function":return n.type.displayName?n.type.displayName:h_(n.type);case gu.isForwardRef(n):case gu.isMemo(n):return qR(n.type);case gu.isContextConsumer(n):return"".concat(n.type._context.displayName||"Context",".Consumer");case gu.isContextProvider(n):return"".concat(n.type._context.displayName||"Context",".Provider");case gu.isLazy(n):return"Lazy";case gu.isProfiler(n):return"Profiler";case gu.isStrictMode(n):return"StrictMode";case gu.isSuspense(n):return"Suspense";default:return"UnknownElementType"}},m_=function(n,i){return i!=="children"},YR=function(n){return n!==!0&&n!==!1&&n!==null&&n!==""},g_=function(n,i){var l={};return Object.keys(n).filter(function(c){return i(n[c],c)}).forEach(function(c){return l[c]=n[c]}),l},_0=function r(n,i){var l=i.displayName,c=l===void 0?VR:l;if(typeof n=="string")return p_(n);if(typeof n=="number")return zR(n);if(!$e.isValidElement(n))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(zg(n),"`"));var h=c(n),m=g_(n.props,m_);n.ref!==null&&(m.ref=n.ref);var D=n.key;typeof D=="string"&&D.search(/^\./)&&(m.key=D);var C=g_(n.type.defaultProps||{},m_),E=$e.Children.toArray(n.props.children).filter(YR).map(function($){return r($,i)});return WR&&n.type===$e.Fragment?HR(D,E):UR(h,m,C,E)};function GR(){}var XR=function(n){return n.toString().split(`
|
|
1463
1463
|
`).map(function(i){return i.trim()}).join("")},v_=XR,y_=function(r,n){var i=n.functionValue,l=i===void 0?v_:i,c=n.showFunctions;return l(!c&&l===v_?GR:r)},JR=function(r,n,i,l){var c=jR(r),h=NR(c,{transform:function(D,C,E){var $=D[C];return $&&$e.isValidElement($)?ub(_0($,l),!0,i,l):typeof $=="function"?y_($,l):E}});return n?h.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):h.replace(/\t/g,kc(1,l.tabStop)).replace(/\n([^$])/g,`
|
|
1464
1464
|
`.concat(kc(i+1,l.tabStop),"$1"))},QR=function(n){return n.replace(/"/g,""")},KR=function(n,i,l,c){if(typeof n=="number")return"{".concat(String(n),"}");if(typeof n=="string")return'"'.concat(QR(n),'"');if(zg(n)==="symbol"){var h=n.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return h?"{Symbol('".concat(h,"')}"):"{Symbol()}"}return typeof n=="function"?"{".concat(y_(n,c),"}"):$e.isValidElement(n)?"{".concat(ub(_0(n,c),!0,l,c),"}"):n instanceof Date?isNaN(n.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(n.toISOString(),'")}'):TR(n)||Array.isArray(n)?"{".concat(JR(n,i,l,c),"}"):"{".concat(String(n),"}")},ZR=function(r,n,i,l,c,h,m,D){if(!n&&!l)throw new Error('The prop "'.concat(r,'" has no value and no default: could not be formatted'));var C=n?i:c,E=D.useBooleanShorthandSyntax,$=D.tabStop,P=KR(C,h,m,D),R=" ",O=`
|
|
1465
|
-
`.concat(kc(m+1,$)),
|
|
1466
|
-
`);return E&&P==="{false}"&&!l?(R="",O=""):E&&P==="{true}"?(R+="".concat(r),O+="".concat(r)):(R+="".concat(r,"=").concat(P),O+="".concat(r,"=").concat(P)),{attributeFormattedInline:R,attributeFormattedMultiline:O,isMultilineAttribute:
|
|
1465
|
+
`.concat(kc(m+1,$)),I=P.includes(`
|
|
1466
|
+
`);return E&&P==="{false}"&&!l?(R="",O=""):E&&P==="{true}"?(R+="".concat(r),O+="".concat(r)):(R+="".concat(r,"=").concat(P),O+="".concat(r,"=").concat(P)),{attributeFormattedInline:R,attributeFormattedMultiline:O,isMultilineAttribute:I}},eL=function(r,n){var i=r.slice(0,r.length>0?r.length-1:0),l=r[r.length-1];return l&&(n.type==="string"||n.type==="number")&&(l.type==="string"||l.type==="number")?i.push(p_(String(l.value)+String(n.value))):(l&&i.push(l),i.push(n)),i},tL=function(n){return["key","ref"].includes(n)},nL=function(r){return function(n){var i=n.includes("key"),l=n.includes("ref"),c=n.filter(function(m){return!tL(m)}),h=f_(r?c.sort():c);return l&&h.unshift("ref"),i&&h.unshift("key"),h}};function rL(r,n){return Array.isArray(n)?function(i){return n.indexOf(i)===-1}:function(i){return n(r[i],i)}}var aL=function(n,i,l,c,h){var m=h.tabStop;return n.type==="string"?i.split(`
|
|
1467
1467
|
`).map(function(D,C){return C===0?D:"".concat(kc(c,m)).concat(D)}).join(`
|
|
1468
|
-
`):i},iL=function(n,i,l){return function(c){return aL(c,ub(c,n,i,l),n,i,l)}},oL=function(n,i){return function(l){var c=Object.keys(n).includes(l);return!c||c&&n[l]!==i[l]}},b_=function(n,i,l,c,h){return h?kc(l,c).length+i.length>h:n.length>1},sL=function(n,i,l,c,h,m,D){return(b_(n,i,h,m,D)||l)&&!c},k_=function(r,n,i,l){var c=r.type,h=r.displayName,m=h===void 0?"":h,D=r.childrens,C=r.props,E=C===void 0?{}:C,$=r.defaultProps,P=$===void 0?{}:$;if(c!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(c));var R=l.filterProps,O=l.maxInlineAttributesLineLength,
|
|
1468
|
+
`):i},iL=function(n,i,l){return function(c){return aL(c,ub(c,n,i,l),n,i,l)}},oL=function(n,i){return function(l){var c=Object.keys(n).includes(l);return!c||c&&n[l]!==i[l]}},b_=function(n,i,l,c,h){return h?kc(l,c).length+i.length>h:n.length>1},sL=function(n,i,l,c,h,m,D){return(b_(n,i,h,m,D)||l)&&!c},k_=function(r,n,i,l){var c=r.type,h=r.displayName,m=h===void 0?"":h,D=r.childrens,C=r.props,E=C===void 0?{}:C,$=r.defaultProps,P=$===void 0?{}:$;if(c!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(c));var R=l.filterProps,O=l.maxInlineAttributesLineLength,I=l.showDefaultProps,J=l.sortProps,V=l.tabStop,De="<".concat(m),q=De,W=De,K=!1,X=[],ae=rL(E,R);Object.keys(E).filter(ae).filter(oL(P,E)).forEach(function(ye){return X.push(ye)}),Object.keys(P).filter(ae).filter(function(){return I}).filter(function(ye){return!X.includes(ye)}).forEach(function(ye){return X.push(ye)});var ue=nL(J)(X);if(ue.forEach(function(ye){var Ye=ZR(ye,Object.keys(E).includes(ye),E[ye],Object.keys(P).includes(ye),P[ye],n,i,l),We=Ye.attributeFormattedInline,Me=Ye.attributeFormattedMultiline,Qe=Ye.isMultilineAttribute;Qe&&(K=!0),q+=We,W+=Me}),W+=`
|
|
1469
1469
|
`.concat(kc(i,V)),sL(ue,q,K,n,i,V,O)?De=W:De=q,D&&D.length>0){var xe=i+1;De+=">",n||(De+=`
|
|
1470
1470
|
`,De+=kc(xe,V)),De+=D.reduce(eL,[]).map(iL(n,xe,l)).join(n?"":`
|
|
1471
1471
|
`.concat(kc(xe,V))),n||(De+=`
|
|
1472
|
-
`,De+=kc(xe-1,V)),De+="</".concat(m,">")}else b_(ue,q,i,V,O)||(De+=" "),De+="/>";return De},lL="",w_="React.Fragment",uL=function(n,i,l){var c={};return i&&(c={key:i}),{type:"ReactElement",displayName:n,props:c,defaultProps:{},childrens:l}},cL=function(n){var i=n.key;return!!i},dL=function(n){var i=n.childrens;return i.length===0},fL=function(r,n,i,l){var c=r.type,h=r.key,m=r.childrens;if(c!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(c));var D=l.useFragmentShortSyntax,C;return D?dL(r)||cL(r)?C=w_:C=lL:C=w_,k_(uL(C,h,m),n,i,l)},pL=["<",">","{","}"],hL=function(n){return pL.some(function(i){return n.includes(i)})},mL=function(n){return hL(n)?"{`".concat(n,"`}"):n},gL=function(n){var i=n;return i.endsWith(" ")&&(i=i.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),i.startsWith(" ")&&(i=i.replace(/^(\s+)(.*)$/,"{'$1'}$2")),i},ub=function(r,n,i,l){if(r.type==="number")return String(r.value);if(r.type==="string")return r.value?"".concat(gL(mL(String(r.value)))):"";if(r.type==="ReactElement")return k_(r,n,i,l);if(r.type==="ReactFragment")return fL(r,n,i,l);throw new TypeError('Unknow format type "'.concat(r.type,'"'))},vL=function(r,n){return ub(r,!1,0,n)},yL=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=i.filterProps,c=l===void 0?[]:l,h=i.showDefaultProps,m=h===void 0?!0:h,D=i.showFunctions,C=D===void 0?!1:D,E=i.functionValue,$=i.tabStop,P=$===void 0?2:$,R=i.useBooleanShorthandSyntax,O=R===void 0?!0:R,
|
|
1472
|
+
`,De+=kc(xe-1,V)),De+="</".concat(m,">")}else b_(ue,q,i,V,O)||(De+=" "),De+="/>";return De},lL="",w_="React.Fragment",uL=function(n,i,l){var c={};return i&&(c={key:i}),{type:"ReactElement",displayName:n,props:c,defaultProps:{},childrens:l}},cL=function(n){var i=n.key;return!!i},dL=function(n){var i=n.childrens;return i.length===0},fL=function(r,n,i,l){var c=r.type,h=r.key,m=r.childrens;if(c!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(c));var D=l.useFragmentShortSyntax,C;return D?dL(r)||cL(r)?C=w_:C=lL:C=w_,k_(uL(C,h,m),n,i,l)},pL=["<",">","{","}"],hL=function(n){return pL.some(function(i){return n.includes(i)})},mL=function(n){return hL(n)?"{`".concat(n,"`}"):n},gL=function(n){var i=n;return i.endsWith(" ")&&(i=i.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),i.startsWith(" ")&&(i=i.replace(/^(\s+)(.*)$/,"{'$1'}$2")),i},ub=function(r,n,i,l){if(r.type==="number")return String(r.value);if(r.type==="string")return r.value?"".concat(gL(mL(String(r.value)))):"";if(r.type==="ReactElement")return k_(r,n,i,l);if(r.type==="ReactFragment")return fL(r,n,i,l);throw new TypeError('Unknow format type "'.concat(r.type,'"'))},vL=function(r,n){return ub(r,!1,0,n)},yL=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=i.filterProps,c=l===void 0?[]:l,h=i.showDefaultProps,m=h===void 0?!0:h,D=i.showFunctions,C=D===void 0?!1:D,E=i.functionValue,$=i.tabStop,P=$===void 0?2:$,R=i.useBooleanShorthandSyntax,O=R===void 0?!0:R,I=i.useFragmentShortSyntax,J=I===void 0?!0:I,V=i.sortProps,De=V===void 0?!0:V,q=i.maxInlineAttributesLineLength,W=i.displayName;if(!n)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var K={filterProps:c,showDefaultProps:m,showFunctions:C,functionValue:E,tabStop:P,useBooleanShorthandSyntax:O,useFragmentShortSyntax:J,sortProps:De,maxInlineAttributesLineLength:q,displayName:W};return vL(_0(n,K),K)},bL=Object.create,E0=Object.defineProperty,kL=Object.getOwnPropertyDescriptor,wL=Object.getOwnPropertyNames,DL=Object.getPrototypeOf,SL=Object.prototype.hasOwnProperty,D_=r=>{throw TypeError(r)},S_=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports),T0=(r,n)=>{for(var i in n)E0(r,i,{get:n[i],enumerable:!0})},CL=(r,n,i,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let c of wL(n))!SL.call(r,c)&&c!==i&&E0(r,c,{get:()=>n[c],enumerable:!(l=kL(n,c))||l.enumerable});return r},cb=(r,n,i)=>(i=r!=null?bL(DL(r)):{},CL(E0(i,"default",{value:r,enumerable:!0}),r)),xL=(r,n,i)=>n.has(r)||D_("Cannot "+i),_L=(r,n,i)=>n.has(r)?D_("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(r):n.set(r,i),Ug=(r,n,i)=>(xL(r,n,"access private method"),i),F0=S_((r,n)=>{var i=new Proxy(String,{get:()=>i});n.exports=i}),EL=S_(r=>{Object.defineProperty(r,"__esModule",{value:!0});function n(){return new Proxy({},{get:()=>h=>h})}var i=/\r\n|[\n\r\u2028\u2029]/;function l(h,m,D){let C=Object.assign({column:0,line:-1},h.start),E=Object.assign({},C,h.end),{linesAbove:$=2,linesBelow:P=3}=D||{},R=C.line,O=C.column,I=E.line,J=E.column,V=Math.max(R-($+1),0),De=Math.min(m.length,I+P);R===-1&&(V=0),I===-1&&(De=m.length);let q=I-R,W={};if(q)for(let K=0;K<=q;K++){let X=K+R;if(!O)W[X]=!0;else if(K===0){let ae=m[X-1].length;W[X]=[O,ae-O+1]}else if(K===q)W[X]=[0,J];else{let ae=m[X-K].length;W[X]=[0,ae]}}else O===J?O?W[R]=[O,0]:W[R]=!0:W[R]=[O,J-O];return{start:V,end:De,markerLines:W}}function c(h,m,D={}){let C=n(),E=h.split(i),{start:$,end:P,markerLines:R}=l(m,E,D),O=m.start&&typeof m.start.column=="number",I=String(P).length,J=h.split(i,P).slice($,P).map((V,De)=>{let q=$+1+De,W=` ${` ${q}`.slice(-I)} |`,K=R[q],X=!R[q+1];if(K){let ae="";if(Array.isArray(K)){let ue=V.slice(0,Math.max(K[0]-1,0)).replace(/[^\t]/g," "),xe=K[1]||1;ae=[`
|
|
1473
1473
|
`,C.gutter(W.replace(/\d/g," "))," ",ue,C.marker("^").repeat(xe)].join(""),X&&D.message&&(ae+=" "+C.message(D.message))}return[C.marker(">"),C.gutter(W),V.length>0?` ${V}`:"",ae].join("")}else return` ${C.gutter(W)}${V.length>0?` ${V}`:""}`}).join(`
|
|
1474
|
-
`);return D.message&&!O&&(J=`${" ".repeat(
|
|
1475
|
-
${J}`),J}r.codeFrameColumns=c}),TL={};T0(TL,{__debug:()=>LM,check:()=>NM,doc:()=>R1,format:()=>Tb,formatWithCursor:()=>B1,getSupportInfo:()=>RM,util:()=>L1,version:()=>sM});var FL=(r,n,i,l)=>{if(!(r&&n==null))return n.replaceAll?n.replaceAll(i,l):i.global?n.replace(i,l):n.split(i).join(l)},db=FL;function vu(){}vu.prototype={diff:function(r,n){var i,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=l.callback;typeof l=="function"&&(c=l,l={});var h=this;function m(W){return W=h.postProcess(W,l),c?(setTimeout(function(){c(W)},0),!0):W}r=this.castInput(r,l),n=this.castInput(n,l),r=this.removeEmpty(this.tokenize(r,l)),n=this.removeEmpty(this.tokenize(n,l));var D=n.length,C=r.length,E=1,$=D+C;l.maxEditLength!=null&&($=Math.min($,l.maxEditLength));var P=(i=l.timeout)!==null&&i!==void 0?i:1/0,R=Date.now()+P,O=[{oldPos:-1,lastComponent:void 0}],
|
|
1474
|
+
`);return D.message&&!O&&(J=`${" ".repeat(I+1)}${D.message}
|
|
1475
|
+
${J}`),J}r.codeFrameColumns=c}),TL={};T0(TL,{__debug:()=>LM,check:()=>NM,doc:()=>R1,format:()=>Tb,formatWithCursor:()=>B1,getSupportInfo:()=>RM,util:()=>L1,version:()=>sM});var FL=(r,n,i,l)=>{if(!(r&&n==null))return n.replaceAll?n.replaceAll(i,l):i.global?n.replace(i,l):n.split(i).join(l)},db=FL;function vu(){}vu.prototype={diff:function(r,n){var i,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=l.callback;typeof l=="function"&&(c=l,l={});var h=this;function m(W){return W=h.postProcess(W,l),c?(setTimeout(function(){c(W)},0),!0):W}r=this.castInput(r,l),n=this.castInput(n,l),r=this.removeEmpty(this.tokenize(r,l)),n=this.removeEmpty(this.tokenize(n,l));var D=n.length,C=r.length,E=1,$=D+C;l.maxEditLength!=null&&($=Math.min($,l.maxEditLength));var P=(i=l.timeout)!==null&&i!==void 0?i:1/0,R=Date.now()+P,O=[{oldPos:-1,lastComponent:void 0}],I=this.extractCommon(O[0],n,r,0,l);if(O[0].oldPos+1>=C&&I+1>=D)return m(C_(h,O[0].lastComponent,n,r,h.useLongestToken));var J=-1/0,V=1/0;function De(){for(var W=Math.max(J,-E);W<=Math.min(V,E);W+=2){var K=void 0,X=O[W-1],ae=O[W+1];X&&(O[W-1]=void 0);var ue=!1;if(ae){var xe=ae.oldPos-W;ue=ae&&0<=xe&&xe<D}var ye=X&&X.oldPos+1<C;if(!ue&&!ye){O[W]=void 0;continue}if(!ye||ue&&X.oldPos<ae.oldPos?K=h.addToPath(ae,!0,!1,0,l):K=h.addToPath(X,!1,!0,1,l),I=h.extractCommon(K,n,r,W,l),K.oldPos+1>=C&&I+1>=D)return m(C_(h,K.lastComponent,n,r,h.useLongestToken));O[W]=K,K.oldPos+1>=C&&(V=Math.min(V,W-1)),I+1>=D&&(J=Math.max(J,W+1))}E++}if(c)(function W(){setTimeout(function(){if(E>$||Date.now()>R)return c();De()||W()},0)})();else for(;E<=$&&Date.now()<=R;){var q=De();if(q)return q}},addToPath:function(r,n,i,l,c){var h=r.lastComponent;return h&&!c.oneChangePerToken&&h.added===n&&h.removed===i?{oldPos:r.oldPos+l,lastComponent:{count:h.count+1,added:n,removed:i,previousComponent:h.previousComponent}}:{oldPos:r.oldPos+l,lastComponent:{count:1,added:n,removed:i,previousComponent:h}}},extractCommon:function(r,n,i,l,c){for(var h=n.length,m=i.length,D=r.oldPos,C=D-l,E=0;C+1<h&&D+1<m&&this.equals(i[D+1],n[C+1],c);)C++,D++,E++,c.oneChangePerToken&&(r.lastComponent={count:1,previousComponent:r.lastComponent,added:!1,removed:!1});return E&&!c.oneChangePerToken&&(r.lastComponent={count:E,previousComponent:r.lastComponent,added:!1,removed:!1}),r.oldPos=D,C},equals:function(r,n,i){return i.comparator?i.comparator(r,n):r===n||i.ignoreCase&&r.toLowerCase()===n.toLowerCase()},removeEmpty:function(r){for(var n=[],i=0;i<r.length;i++)r[i]&&n.push(r[i]);return n},castInput:function(r){return r},tokenize:function(r){return Array.from(r)},join:function(r){return r.join("")},postProcess:function(r){return r}};function C_(r,n,i,l,c){for(var h=[],m;n;)h.push(n),m=n.previousComponent,delete n.previousComponent,n=m;h.reverse();for(var D=0,C=h.length,E=0,$=0;D<C;D++){var P=h[D];if(P.removed)P.value=r.join(l.slice($,$+P.count)),$+=P.count;else{if(!P.added&&c){var R=i.slice(E,E+P.count);R=R.map(function(O,I){var J=l[$+I];return J.length>O.length?J:O}),P.value=r.join(R)}else P.value=r.join(i.slice(E,E+P.count));E+=P.count,P.added||($+=P.count)}}return h}function x_(r,n){var i;for(i=0;i<r.length&&i<n.length;i++)if(r[i]!=n[i])return r.slice(0,i);return r.slice(0,i)}function __(r,n){var i;if(!r||!n||r[r.length-1]!=n[n.length-1])return"";for(i=0;i<r.length&&i<n.length;i++)if(r[r.length-(i+1)]!=n[n.length-(i+1)])return r.slice(-i);return r.slice(-i)}function A0(r,n,i){if(r.slice(0,n.length)!=n)throw Error("string ".concat(JSON.stringify(r)," doesn't start with prefix ").concat(JSON.stringify(n),"; this is a bug"));return i+r.slice(n.length)}function $0(r,n,i){if(!n)return r+i;if(r.slice(-n.length)!=n)throw Error("string ".concat(JSON.stringify(r)," doesn't end with suffix ").concat(JSON.stringify(n),"; this is a bug"));return r.slice(0,-n.length)+i}function Hg(r,n){return A0(r,n,"")}function fb(r,n){return $0(r,n,"")}function E_(r,n){return n.slice(0,AL(r,n))}function AL(r,n){var i=0;r.length>n.length&&(i=r.length-n.length);var l=n.length;r.length<n.length&&(l=r.length);var c=Array(l),h=0;c[0]=0;for(var m=1;m<l;m++){for(n[m]==n[h]?c[m]=c[h]:c[m]=h;h>0&&n[m]!=n[h];)h=c[h];n[m]==n[h]&&h++}h=0;for(var D=i;D<r.length;D++){for(;h>0&&r[D]!=n[h];)h=c[h];r[D]==n[h]&&h++}return h}var pb="a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",$L=new RegExp("[".concat(pb,"]+|\\s+|[^").concat(pb,"]"),"ug"),hb=new vu;hb.equals=function(r,n,i){return i.ignoreCase&&(r=r.toLowerCase(),n=n.toLowerCase()),r.trim()===n.trim()},hb.tokenize=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i;if(n.intlSegmenter){if(n.intlSegmenter.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');i=Array.from(n.intlSegmenter.segment(r),function(h){return h.segment})}else i=r.match($L)||[];var l=[],c=null;return i.forEach(function(h){/\s/.test(h)?c==null?l.push(h):l.push(l.pop()+h):/\s/.test(c)?l[l.length-1]==c?l.push(l.pop()+h):l.push(c+h):l.push(h),c=h}),l},hb.join=function(r){return r.map(function(n,i){return i==0?n:n.replace(/^\s+/,"")}).join("")},hb.postProcess=function(r,n){if(!r||n.oneChangePerToken)return r;var i=null,l=null,c=null;return r.forEach(function(h){h.added?l=h:h.removed?c=h:((l||c)&&T_(i,c,l,h),i=h,l=null,c=null)}),(l||c)&&T_(i,c,l,null),r};function T_(r,n,i,l){if(n&&i){var c=n.value.match(/^\s*/)[0],h=n.value.match(/\s*$/)[0],m=i.value.match(/^\s*/)[0],D=i.value.match(/\s*$/)[0];if(r){var C=x_(c,m);r.value=$0(r.value,m,C),n.value=Hg(n.value,C),i.value=Hg(i.value,C)}if(l){var E=__(h,D);l.value=A0(l.value,D,E),n.value=fb(n.value,E),i.value=fb(i.value,E)}}else if(i)r&&(i.value=i.value.replace(/^\s*/,"")),l&&(l.value=l.value.replace(/^\s*/,""));else if(r&&l){var $=l.value.match(/^\s*/)[0],P=n.value.match(/^\s*/)[0],R=n.value.match(/\s*$/)[0],O=x_($,P);n.value=Hg(n.value,O);var I=__(Hg($,O),R);n.value=fb(n.value,I),l.value=A0(l.value,$,I),r.value=$0(r.value,$,$.slice(0,$.length-I.length))}else if(l){var J=l.value.match(/^\s*/)[0],V=n.value.match(/\s*$/)[0],De=E_(V,J);n.value=fb(n.value,De)}else if(r){var q=r.value.match(/\s*$/)[0],W=n.value.match(/^\s*/)[0],K=E_(q,W);n.value=Hg(n.value,K)}}var PL=new vu;PL.tokenize=function(r){var n=new RegExp("(\\r?\\n)|[".concat(pb,"]+|[^\\S\\n\\r]+|[^").concat(pb,"]"),"ug");return r.match(n)||[]};var P0=new vu;P0.tokenize=function(r,n){n.stripTrailingCr&&(r=r.replace(/\r\n/g,`
|
|
1476
1476
|
`));var i=[],l=r.split(/(\n|\r\n)/);l[l.length-1]||l.pop();for(var c=0;c<l.length;c++){var h=l[c];c%2&&!n.newlineIsToken?i[i.length-1]+=h:i.push(h)}return i},P0.equals=function(r,n,i){return i.ignoreWhitespace?((!i.newlineIsToken||!r.includes(`
|
|
1477
1477
|
`))&&(r=r.trim()),(!i.newlineIsToken||!n.includes(`
|
|
1478
1478
|
`))&&(n=n.trim())):i.ignoreNewlineAtEof&&!i.newlineIsToken&&(r.endsWith(`
|
|
@@ -1486,31 +1486,31 @@ ${J}`),J}r.codeFrameColumns=c}),TL={};T0(TL,{__debug:()=>LM,check:()=>NM,doc:()=
|
|
|
1486
1486
|
`)}var qf="string",wc="array",Vf="cursor",Dc="indent",Sc="align",Cc="trim",wo="group",yu="fill",Ko="if-break",xc="indent-if-break",_c="line-suffix",Ec="line-suffix-boundary",ai="line",bu="label",Fs="break-parent",A_=new Set([Vf,Dc,Sc,Cc,wo,yu,Ko,xc,_c,Ec,ai,bu,Fs]),ML=(r,n,i)=>{if(!(r&&n==null))return Array.isArray(n)||typeof n=="string"?n[i<0?n.length+i:i]:n.at(i)},Ha=ML;function IL(r){if(typeof r=="string")return qf;if(Array.isArray(r))return wc;if(!r)return;let{type:n}=r;if(A_.has(n))return n}var Yf=IL,jL=r=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(r);function zL(r){let n=r===null?"null":typeof r;if(n!=="string"&&n!=="object")return`Unexpected doc '${n}',
|
|
1487
1487
|
Expected it to be 'string' or 'object'.`;if(Yf(r))throw new Error("doc is valid.");let i=Object.prototype.toString.call(r);if(i!=="[object Object]")return`Unexpected doc '${i}'.`;let l=jL([...A_].map(c=>`'${c}'`));return`Unexpected doc.type '${r.type}'.
|
|
1488
1488
|
Expected it to be ${l}.`}var UL=class extends Error{constructor(n){super(zL(n));vg(this,"name","InvalidDocError");this.doc=n}},Lh=UL,$_={};function HL(r,n,i,l){let c=[r];for(;c.length>0;){let h=c.pop();if(h===$_){i(c.pop());continue}i&&c.push(h,$_);let m=Yf(h);if(!m)throw new Lh(h);if((n==null?void 0:n(h))!==!1)switch(m){case wc:case yu:{let D=m===wc?h:h.parts;for(let C=D.length,E=C-1;E>=0;--E)c.push(D[E]);break}case Ko:c.push(h.flatContents,h.breakContents);break;case wo:if(l&&h.expandedStates)for(let D=h.expandedStates.length,C=D-1;C>=0;--C)c.push(h.expandedStates[C]);else c.push(h.contents);break;case Sc:case Dc:case xc:case bu:case _c:c.push(h.contents);break;case qf:case Vf:case Cc:case Ec:case ai:case Fs:break;default:throw new Lh(h)}}}var O0=HL;function gb(r,n){if(typeof r=="string")return n(r);let i=new Map;return l(r);function l(h){if(i.has(h))return i.get(h);let m=c(h);return i.set(h,m),m}function c(h){switch(Yf(h)){case wc:return n(h.map(l));case yu:return n({...h,parts:h.parts.map(l)});case Ko:return n({...h,breakContents:l(h.breakContents),flatContents:l(h.flatContents)});case wo:{let{expandedStates:m,contents:D}=h;return m?(m=m.map(l),D=m[0]):D=l(D),n({...h,contents:D,expandedStates:m})}case Sc:case Dc:case xc:case bu:case _c:return n({...h,contents:l(h.contents)});case qf:case Vf:case Cc:case Ec:case ai:case Fs:return n(h);default:throw new Lh(h)}}}function B0(r,n,i){let l=i,c=!1;function h(m){if(c)return!1;let D=n(m);D!==void 0&&(c=!0,l=D)}return O0(r,h),l}function WL(r){if(r.type===wo&&r.break||r.type===ai&&r.hard||r.type===Fs)return!0}function qL(r){return B0(r,WL,!1)}function P_(r){if(r.length>0){let n=Ha(!1,r,-1);!n.expandedStates&&!n.break&&(n.break="propagated")}return null}function VL(r){let n=new Set,i=[];function l(h){if(h.type===Fs&&P_(i),h.type===wo){if(i.push(h),n.has(h))return!1;n.add(h)}}function c(h){h.type===wo&&i.pop().break&&P_(i)}O0(r,l,c,!0)}function YL(r){return r.type===ai&&!r.hard?r.soft?"":" ":r.type===Ko?r.flatContents:r}function GL(r){return gb(r,YL)}function N_(r){for(r=[...r];r.length>=2&&Ha(!1,r,-2).type===ai&&Ha(!1,r,-1).type===Fs;)r.length-=2;if(r.length>0){let n=qg(Ha(!1,r,-1));r[r.length-1]=n}return r}function qg(r){switch(Yf(r)){case Dc:case xc:case wo:case _c:case bu:{let n=qg(r.contents);return{...r,contents:n}}case Ko:return{...r,breakContents:qg(r.breakContents),flatContents:qg(r.flatContents)};case yu:return{...r,parts:N_(r.parts)};case wc:return N_(r);case qf:return r.replace(/[\n\r]*$/u,"");case Sc:case Vf:case Cc:case Ec:case ai:case Fs:break;default:throw new Lh(r)}return r}function R_(r){return qg(JL(r))}function XL(r){switch(Yf(r)){case yu:if(r.parts.every(n=>n===""))return"";break;case wo:if(!r.contents&&!r.id&&!r.break&&!r.expandedStates)return"";if(r.contents.type===wo&&r.contents.id===r.id&&r.contents.break===r.break&&r.contents.expandedStates===r.expandedStates)return r.contents;break;case Sc:case Dc:case xc:case _c:if(!r.contents)return"";break;case Ko:if(!r.flatContents&&!r.breakContents)return"";break;case wc:{let n=[];for(let i of r){if(!i)continue;let[l,...c]=Array.isArray(i)?i:[i];typeof l=="string"&&typeof Ha(!1,n,-1)=="string"?n[n.length-1]+=l:n.push(l),n.push(...c)}return n.length===0?"":n.length===1?n[0]:n}case qf:case Vf:case Cc:case Ec:case ai:case bu:case Fs:break;default:throw new Lh(r)}return r}function JL(r){return gb(r,n=>XL(n))}function QL(r,n=M_){return gb(r,i=>typeof i=="string"?I_(n,i.split(`
|
|
1489
|
-
`)):i)}function KL(r){if(r.type===ai)return!0}function ZL(r){return B0(r,KL,!1)}function vb(r,n){return r.type===bu?{...r,contents:n(r.contents)}:n(r)}var eO=()=>{},tO=eO;function yb(r){return{type:Dc,contents:r}}function Oh(r,n){return{type:Sc,contents:n,n:r}}function L_(r,n={}){return tO(n.expandedStates),{type:wo,id:n.id,contents:r,break:!!n.shouldBreak,expandedStates:n.expandedStates}}function nO(r){return Oh(Number.NEGATIVE_INFINITY,r)}function rO(r){return Oh({type:"root"},r)}function aO(r){return Oh(-1,r)}function iO(r,n){return L_(r[0],{...n,expandedStates:r})}function oO(r){return{type:yu,parts:r}}function sO(r,n="",i={}){return{type:Ko,breakContents:r,flatContents:n,groupId:i.groupId}}function lO(r,n){return{type:xc,contents:r,groupId:n.groupId,negate:n.negate}}function M0(r){return{type:_c,contents:r}}var uO={type:Ec},bb={type:Fs},cO={type:Cc},I0={type:ai,hard:!0},O_={type:ai,hard:!0,literal:!0},B_={type:ai},dO={type:ai,soft:!0},Gf=[I0,bb],M_=[O_,bb],Xf={type:Vf};function I_(r,n){let i=[];for(let l=0;l<n.length;l++)l!==0&&i.push(r),i.push(n[l]);return i}function j_(r,n,i){let l=r;if(n>0){for(let c=0;c<Math.floor(n/i);++c)l=yb(l);l=Oh(n%i,l),l=Oh(Number.NEGATIVE_INFINITY,l)}return l}function fO(r,n){return r?{type:bu,label:r,contents:n}:n}function Tc(r){var n;if(!r)return"";if(Array.isArray(r)){let i=[];for(let l of r)if(Array.isArray(l))i.push(...Tc(l));else{let c=Tc(l);c!==""&&i.push(c)}return i}return r.type===Ko?{...r,breakContents:Tc(r.breakContents),flatContents:Tc(r.flatContents)}:r.type===wo?{...r,contents:Tc(r.contents),expandedStates:(n=r.expandedStates)==null?void 0:n.map(Tc)}:r.type===yu?{type:"fill",parts:r.parts.map(Tc)}:r.contents?{...r,contents:Tc(r.contents)}:r}function pO(r){let n=Object.create(null),i=new Set;return l(Tc(r));function l(h,m,D){var C,E;if(typeof h=="string")return JSON.stringify(h);if(Array.isArray(h)){let $=h.map(l).filter(Boolean);return $.length===1?$[0]:`[${$.join(", ")}]`}if(h.type===ai){let $=((C=D==null?void 0:D[m+1])==null?void 0:C.type)===Fs;return h.literal?$?"literalline":"literallineWithoutBreakParent":h.hard?$?"hardline":"hardlineWithoutBreakParent":h.soft?"softline":"line"}if(h.type===Fs)return((E=D==null?void 0:D[m-1])==null?void 0:E.type)===ai&&D[m-1].hard?void 0:"breakParent";if(h.type===Cc)return"trim";if(h.type===Dc)return"indent("+l(h.contents)+")";if(h.type===Sc)return h.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+l(h.contents)+")":h.n<0?"dedent("+l(h.contents)+")":h.n.type==="root"?"markAsRoot("+l(h.contents)+")":"align("+JSON.stringify(h.n)+", "+l(h.contents)+")";if(h.type===Ko)return"ifBreak("+l(h.breakContents)+(h.flatContents?", "+l(h.flatContents):"")+(h.groupId?(h.flatContents?"":', ""')+`, { groupId: ${c(h.groupId)} }`:"")+")";if(h.type===xc){let $=[];h.negate&&$.push("negate: true"),h.groupId&&$.push(`groupId: ${c(h.groupId)}`);let P=$.length>0?`, { ${$.join(", ")} }`:"";return`indentIfBreak(${l(h.contents)}${P})`}if(h.type===wo){let $=[];h.break&&h.break!=="propagated"&&$.push("shouldBreak: true"),h.id&&$.push(`id: ${c(h.id)}`);let P=$.length>0?`, { ${$.join(", ")} }`:"";return h.expandedStates?`conditionalGroup([${h.expandedStates.map(R=>l(R)).join(",")}]${P})`:`group(${l(h.contents)}${P})`}if(h.type===yu)return`fill([${h.parts.map($=>l($)).join(", ")}])`;if(h.type===_c)return"lineSuffix("+l(h.contents)+")";if(h.type===Ec)return"lineSuffixBoundary";if(h.type===bu)return`label(${JSON.stringify(h.label)}, ${l(h.contents)})`;throw new Error("Unknown doc type "+h.type)}function c(h){if(typeof h!="symbol")return JSON.stringify(String(h));if(h in n)return n[h];let m=h.description||"symbol";for(let D=0;;D++){let C=m+(D>0?` #${D}`:"");if(!i.has(C))return i.add(C),n[h]=`Symbol.for(${JSON.stringify(C)})`}}}var hO=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function mO(r){return r===12288||r>=65281&&r<=65376||r>=65504&&r<=65510}function gO(r){return r>=4352&&r<=4447||r===8986||r===8987||r===9001||r===9002||r>=9193&&r<=9196||r===9200||r===9203||r===9725||r===9726||r===9748||r===9749||r>=9776&&r<=9783||r>=9800&&r<=9811||r===9855||r>=9866&&r<=9871||r===9875||r===9889||r===9898||r===9899||r===9917||r===9918||r===9924||r===9925||r===9934||r===9940||r===9962||r===9970||r===9971||r===9973||r===9978||r===9981||r===9989||r===9994||r===9995||r===10024||r===10060||r===10062||r>=10067&&r<=10069||r===10071||r>=10133&&r<=10135||r===10160||r===10175||r===11035||r===11036||r===11088||r===11093||r>=11904&&r<=11929||r>=11931&&r<=12019||r>=12032&&r<=12245||r>=12272&&r<=12287||r>=12289&&r<=12350||r>=12353&&r<=12438||r>=12441&&r<=12543||r>=12549&&r<=12591||r>=12593&&r<=12686||r>=12688&&r<=12773||r>=12783&&r<=12830||r>=12832&&r<=12871||r>=12880&&r<=42124||r>=42128&&r<=42182||r>=43360&&r<=43388||r>=44032&&r<=55203||r>=63744&&r<=64255||r>=65040&&r<=65049||r>=65072&&r<=65106||r>=65108&&r<=65126||r>=65128&&r<=65131||r>=94176&&r<=94180||r===94192||r===94193||r>=94208&&r<=100343||r>=100352&&r<=101589||r>=101631&&r<=101640||r>=110576&&r<=110579||r>=110581&&r<=110587||r===110589||r===110590||r>=110592&&r<=110882||r===110898||r>=110928&&r<=110930||r===110933||r>=110948&&r<=110951||r>=110960&&r<=111355||r>=119552&&r<=119638||r>=119648&&r<=119670||r===126980||r===127183||r===127374||r>=127377&&r<=127386||r>=127488&&r<=127490||r>=127504&&r<=127547||r>=127552&&r<=127560||r===127568||r===127569||r>=127584&&r<=127589||r>=127744&&r<=127776||r>=127789&&r<=127797||r>=127799&&r<=127868||r>=127870&&r<=127891||r>=127904&&r<=127946||r>=127951&&r<=127955||r>=127968&&r<=127984||r===127988||r>=127992&&r<=128062||r===128064||r>=128066&&r<=128252||r>=128255&&r<=128317||r>=128331&&r<=128334||r>=128336&&r<=128359||r===128378||r===128405||r===128406||r===128420||r>=128507&&r<=128591||r>=128640&&r<=128709||r===128716||r>=128720&&r<=128722||r>=128725&&r<=128727||r>=128732&&r<=128735||r===128747||r===128748||r>=128756&&r<=128764||r>=128992&&r<=129003||r===129008||r>=129292&&r<=129338||r>=129340&&r<=129349||r>=129351&&r<=129535||r>=129648&&r<=129660||r>=129664&&r<=129673||r>=129679&&r<=129734||r>=129742&&r<=129756||r>=129759&&r<=129769||r>=129776&&r<=129784||r>=131072&&r<=196605||r>=196608&&r<=262141}var vO=r=>!(mO(r)||gO(r)),yO=/[^\x20-\x7F]/u;function bO(r){if(!r)return 0;if(!yO.test(r))return r.length;r=r.replace(hO()," ");let n=0;for(let i of r){let l=i.codePointAt(0);l<=31||l>=127&&l<=159||l>=768&&l<=879||(n+=vO(l)?1:2)}return n}var j0=bO,Do=Symbol("MODE_BREAK"),ku=Symbol("MODE_FLAT"),Bh=Symbol("cursor"),z0=Symbol("DOC_FILL_PRINTED_LENGTH");function z_(){return{value:"",length:0,queue:[]}}function kO(r,n){return U0(r,{type:"indent"},n)}function wO(r,n,i){return n===Number.NEGATIVE_INFINITY?r.root||z_():n<0?U0(r,{type:"dedent"},i):n?n.type==="root"?{...r,root:r}:U0(r,{type:typeof n=="string"?"stringAlign":"numberAlign",n},i):r}function U0(r,n,i){let l=n.type==="dedent"?r.queue.slice(0,-1):[...r.queue,n],c="",h=0,m=0,D=0;for(let j of l)switch(j.type){case"indent":$(),i.useTabs?C(1):E(i.tabWidth);break;case"stringAlign":$(),c+=j.n,h+=j.n.length;break;case"numberAlign":m+=1,D+=j.n;break;default:throw new Error(`Unexpected type '${j.type}'`)}return R(),{...r,value:c,length:h,queue:l};function C(j){c+=" ".repeat(j),h+=i.tabWidth*j}function E(j){c+=" ".repeat(j),h+=j}function $(){i.useTabs?P():R()}function P(){m>0&&C(m),O()}function R(){D>0&&E(D),O()}function O(){m=0,D=0}}function H0(r){let n=0,i=0,l=r.length;e:for(;l--;){let c=r[l];if(c===Bh){i++;continue}for(let h=c.length-1;h>=0;h--){let m=c[h];if(m===" "||m===" ")n++;else{r[l]=c.slice(0,h+1);break e}}}if(n>0||i>0)for(r.length=l+1;i-- >0;)r.push(Bh);return n}function kb(r,n,i,l,c,h){if(i===Number.POSITIVE_INFINITY)return!0;let m=n.length,D=[r],C=[];for(;i>=0;){if(D.length===0){if(m===0)return!0;D.push(n[--m]);continue}let{mode:E,doc:$}=D.pop(),P=Yf($);switch(P){case qf:C.push($),i-=j0($);break;case wc:case yu:{let R=P===wc?$:$.parts,O=$[z0]??0;for(let j=R.length-1;j>=O;j--)D.push({mode:E,doc:R[j]});break}case Dc:case Sc:case xc:case bu:D.push({mode:E,doc:$.contents});break;case Cc:i+=H0(C);break;case wo:{if(h&&$.break)return!1;let R=$.break?Do:E,O=$.expandedStates&&R===Do?Ha(!1,$.expandedStates,-1):$.contents;D.push({mode:R,doc:O});break}case Ko:{let R=($.groupId?c[$.groupId]||ku:E)===Do?$.breakContents:$.flatContents;R&&D.push({mode:E,doc:R});break}case ai:if(E===Do||$.hard)return!0;$.soft||(C.push(" "),i--);break;case _c:l=!0;break;case Ec:if(l)return!1;break}}return!1}function wb(r,n){let i={},l=n.printWidth,c=L0(n.endOfLine),h=0,m=[{ind:z_(),mode:Do,doc:r}],D=[],C=!1,E=[],$=0;for(VL(r);m.length>0;){let{ind:R,mode:O,doc:j}=m.pop();switch(Yf(j)){case qf:{let J=c!==`
|
|
1490
|
-
`?db(!1,
|
|
1491
|
-
`,c):
|
|
1489
|
+
`)):i)}function KL(r){if(r.type===ai)return!0}function ZL(r){return B0(r,KL,!1)}function vb(r,n){return r.type===bu?{...r,contents:n(r.contents)}:n(r)}var eO=()=>{},tO=eO;function yb(r){return{type:Dc,contents:r}}function Oh(r,n){return{type:Sc,contents:n,n:r}}function L_(r,n={}){return tO(n.expandedStates),{type:wo,id:n.id,contents:r,break:!!n.shouldBreak,expandedStates:n.expandedStates}}function nO(r){return Oh(Number.NEGATIVE_INFINITY,r)}function rO(r){return Oh({type:"root"},r)}function aO(r){return Oh(-1,r)}function iO(r,n){return L_(r[0],{...n,expandedStates:r})}function oO(r){return{type:yu,parts:r}}function sO(r,n="",i={}){return{type:Ko,breakContents:r,flatContents:n,groupId:i.groupId}}function lO(r,n){return{type:xc,contents:r,groupId:n.groupId,negate:n.negate}}function M0(r){return{type:_c,contents:r}}var uO={type:Ec},bb={type:Fs},cO={type:Cc},I0={type:ai,hard:!0},O_={type:ai,hard:!0,literal:!0},B_={type:ai},dO={type:ai,soft:!0},Gf=[I0,bb],M_=[O_,bb],Xf={type:Vf};function I_(r,n){let i=[];for(let l=0;l<n.length;l++)l!==0&&i.push(r),i.push(n[l]);return i}function j_(r,n,i){let l=r;if(n>0){for(let c=0;c<Math.floor(n/i);++c)l=yb(l);l=Oh(n%i,l),l=Oh(Number.NEGATIVE_INFINITY,l)}return l}function fO(r,n){return r?{type:bu,label:r,contents:n}:n}function Tc(r){var n;if(!r)return"";if(Array.isArray(r)){let i=[];for(let l of r)if(Array.isArray(l))i.push(...Tc(l));else{let c=Tc(l);c!==""&&i.push(c)}return i}return r.type===Ko?{...r,breakContents:Tc(r.breakContents),flatContents:Tc(r.flatContents)}:r.type===wo?{...r,contents:Tc(r.contents),expandedStates:(n=r.expandedStates)==null?void 0:n.map(Tc)}:r.type===yu?{type:"fill",parts:r.parts.map(Tc)}:r.contents?{...r,contents:Tc(r.contents)}:r}function pO(r){let n=Object.create(null),i=new Set;return l(Tc(r));function l(h,m,D){var C,E;if(typeof h=="string")return JSON.stringify(h);if(Array.isArray(h)){let $=h.map(l).filter(Boolean);return $.length===1?$[0]:`[${$.join(", ")}]`}if(h.type===ai){let $=((C=D==null?void 0:D[m+1])==null?void 0:C.type)===Fs;return h.literal?$?"literalline":"literallineWithoutBreakParent":h.hard?$?"hardline":"hardlineWithoutBreakParent":h.soft?"softline":"line"}if(h.type===Fs)return((E=D==null?void 0:D[m-1])==null?void 0:E.type)===ai&&D[m-1].hard?void 0:"breakParent";if(h.type===Cc)return"trim";if(h.type===Dc)return"indent("+l(h.contents)+")";if(h.type===Sc)return h.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+l(h.contents)+")":h.n<0?"dedent("+l(h.contents)+")":h.n.type==="root"?"markAsRoot("+l(h.contents)+")":"align("+JSON.stringify(h.n)+", "+l(h.contents)+")";if(h.type===Ko)return"ifBreak("+l(h.breakContents)+(h.flatContents?", "+l(h.flatContents):"")+(h.groupId?(h.flatContents?"":', ""')+`, { groupId: ${c(h.groupId)} }`:"")+")";if(h.type===xc){let $=[];h.negate&&$.push("negate: true"),h.groupId&&$.push(`groupId: ${c(h.groupId)}`);let P=$.length>0?`, { ${$.join(", ")} }`:"";return`indentIfBreak(${l(h.contents)}${P})`}if(h.type===wo){let $=[];h.break&&h.break!=="propagated"&&$.push("shouldBreak: true"),h.id&&$.push(`id: ${c(h.id)}`);let P=$.length>0?`, { ${$.join(", ")} }`:"";return h.expandedStates?`conditionalGroup([${h.expandedStates.map(R=>l(R)).join(",")}]${P})`:`group(${l(h.contents)}${P})`}if(h.type===yu)return`fill([${h.parts.map($=>l($)).join(", ")}])`;if(h.type===_c)return"lineSuffix("+l(h.contents)+")";if(h.type===Ec)return"lineSuffixBoundary";if(h.type===bu)return`label(${JSON.stringify(h.label)}, ${l(h.contents)})`;throw new Error("Unknown doc type "+h.type)}function c(h){if(typeof h!="symbol")return JSON.stringify(String(h));if(h in n)return n[h];let m=h.description||"symbol";for(let D=0;;D++){let C=m+(D>0?` #${D}`:"");if(!i.has(C))return i.add(C),n[h]=`Symbol.for(${JSON.stringify(C)})`}}}var hO=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function mO(r){return r===12288||r>=65281&&r<=65376||r>=65504&&r<=65510}function gO(r){return r>=4352&&r<=4447||r===8986||r===8987||r===9001||r===9002||r>=9193&&r<=9196||r===9200||r===9203||r===9725||r===9726||r===9748||r===9749||r>=9776&&r<=9783||r>=9800&&r<=9811||r===9855||r>=9866&&r<=9871||r===9875||r===9889||r===9898||r===9899||r===9917||r===9918||r===9924||r===9925||r===9934||r===9940||r===9962||r===9970||r===9971||r===9973||r===9978||r===9981||r===9989||r===9994||r===9995||r===10024||r===10060||r===10062||r>=10067&&r<=10069||r===10071||r>=10133&&r<=10135||r===10160||r===10175||r===11035||r===11036||r===11088||r===11093||r>=11904&&r<=11929||r>=11931&&r<=12019||r>=12032&&r<=12245||r>=12272&&r<=12287||r>=12289&&r<=12350||r>=12353&&r<=12438||r>=12441&&r<=12543||r>=12549&&r<=12591||r>=12593&&r<=12686||r>=12688&&r<=12773||r>=12783&&r<=12830||r>=12832&&r<=12871||r>=12880&&r<=42124||r>=42128&&r<=42182||r>=43360&&r<=43388||r>=44032&&r<=55203||r>=63744&&r<=64255||r>=65040&&r<=65049||r>=65072&&r<=65106||r>=65108&&r<=65126||r>=65128&&r<=65131||r>=94176&&r<=94180||r===94192||r===94193||r>=94208&&r<=100343||r>=100352&&r<=101589||r>=101631&&r<=101640||r>=110576&&r<=110579||r>=110581&&r<=110587||r===110589||r===110590||r>=110592&&r<=110882||r===110898||r>=110928&&r<=110930||r===110933||r>=110948&&r<=110951||r>=110960&&r<=111355||r>=119552&&r<=119638||r>=119648&&r<=119670||r===126980||r===127183||r===127374||r>=127377&&r<=127386||r>=127488&&r<=127490||r>=127504&&r<=127547||r>=127552&&r<=127560||r===127568||r===127569||r>=127584&&r<=127589||r>=127744&&r<=127776||r>=127789&&r<=127797||r>=127799&&r<=127868||r>=127870&&r<=127891||r>=127904&&r<=127946||r>=127951&&r<=127955||r>=127968&&r<=127984||r===127988||r>=127992&&r<=128062||r===128064||r>=128066&&r<=128252||r>=128255&&r<=128317||r>=128331&&r<=128334||r>=128336&&r<=128359||r===128378||r===128405||r===128406||r===128420||r>=128507&&r<=128591||r>=128640&&r<=128709||r===128716||r>=128720&&r<=128722||r>=128725&&r<=128727||r>=128732&&r<=128735||r===128747||r===128748||r>=128756&&r<=128764||r>=128992&&r<=129003||r===129008||r>=129292&&r<=129338||r>=129340&&r<=129349||r>=129351&&r<=129535||r>=129648&&r<=129660||r>=129664&&r<=129673||r>=129679&&r<=129734||r>=129742&&r<=129756||r>=129759&&r<=129769||r>=129776&&r<=129784||r>=131072&&r<=196605||r>=196608&&r<=262141}var vO=r=>!(mO(r)||gO(r)),yO=/[^\x20-\x7F]/u;function bO(r){if(!r)return 0;if(!yO.test(r))return r.length;r=r.replace(hO()," ");let n=0;for(let i of r){let l=i.codePointAt(0);l<=31||l>=127&&l<=159||l>=768&&l<=879||(n+=vO(l)?1:2)}return n}var j0=bO,Do=Symbol("MODE_BREAK"),ku=Symbol("MODE_FLAT"),Bh=Symbol("cursor"),z0=Symbol("DOC_FILL_PRINTED_LENGTH");function z_(){return{value:"",length:0,queue:[]}}function kO(r,n){return U0(r,{type:"indent"},n)}function wO(r,n,i){return n===Number.NEGATIVE_INFINITY?r.root||z_():n<0?U0(r,{type:"dedent"},i):n?n.type==="root"?{...r,root:r}:U0(r,{type:typeof n=="string"?"stringAlign":"numberAlign",n},i):r}function U0(r,n,i){let l=n.type==="dedent"?r.queue.slice(0,-1):[...r.queue,n],c="",h=0,m=0,D=0;for(let I of l)switch(I.type){case"indent":$(),i.useTabs?C(1):E(i.tabWidth);break;case"stringAlign":$(),c+=I.n,h+=I.n.length;break;case"numberAlign":m+=1,D+=I.n;break;default:throw new Error(`Unexpected type '${I.type}'`)}return R(),{...r,value:c,length:h,queue:l};function C(I){c+=" ".repeat(I),h+=i.tabWidth*I}function E(I){c+=" ".repeat(I),h+=I}function $(){i.useTabs?P():R()}function P(){m>0&&C(m),O()}function R(){D>0&&E(D),O()}function O(){m=0,D=0}}function H0(r){let n=0,i=0,l=r.length;e:for(;l--;){let c=r[l];if(c===Bh){i++;continue}for(let h=c.length-1;h>=0;h--){let m=c[h];if(m===" "||m===" ")n++;else{r[l]=c.slice(0,h+1);break e}}}if(n>0||i>0)for(r.length=l+1;i-- >0;)r.push(Bh);return n}function kb(r,n,i,l,c,h){if(i===Number.POSITIVE_INFINITY)return!0;let m=n.length,D=[r],C=[];for(;i>=0;){if(D.length===0){if(m===0)return!0;D.push(n[--m]);continue}let{mode:E,doc:$}=D.pop(),P=Yf($);switch(P){case qf:C.push($),i-=j0($);break;case wc:case yu:{let R=P===wc?$:$.parts,O=$[z0]??0;for(let I=R.length-1;I>=O;I--)D.push({mode:E,doc:R[I]});break}case Dc:case Sc:case xc:case bu:D.push({mode:E,doc:$.contents});break;case Cc:i+=H0(C);break;case wo:{if(h&&$.break)return!1;let R=$.break?Do:E,O=$.expandedStates&&R===Do?Ha(!1,$.expandedStates,-1):$.contents;D.push({mode:R,doc:O});break}case Ko:{let R=($.groupId?c[$.groupId]||ku:E)===Do?$.breakContents:$.flatContents;R&&D.push({mode:E,doc:R});break}case ai:if(E===Do||$.hard)return!0;$.soft||(C.push(" "),i--);break;case _c:l=!0;break;case Ec:if(l)return!1;break}}return!1}function wb(r,n){let i={},l=n.printWidth,c=L0(n.endOfLine),h=0,m=[{ind:z_(),mode:Do,doc:r}],D=[],C=!1,E=[],$=0;for(VL(r);m.length>0;){let{ind:R,mode:O,doc:I}=m.pop();switch(Yf(I)){case qf:{let J=c!==`
|
|
1490
|
+
`?db(!1,I,`
|
|
1491
|
+
`,c):I;D.push(J),m.length>0&&(h+=j0(J));break}case wc:for(let J=I.length-1;J>=0;J--)m.push({ind:R,mode:O,doc:I[J]});break;case Vf:if($>=2)throw new Error("There are too many 'cursor' in doc.");D.push(Bh),$++;break;case Dc:m.push({ind:kO(R,n),mode:O,doc:I.contents});break;case Sc:m.push({ind:wO(R,I.n,n),mode:O,doc:I.contents});break;case Cc:h-=H0(D);break;case wo:switch(O){case ku:if(!C){m.push({ind:R,mode:I.break?Do:ku,doc:I.contents});break}case Do:{C=!1;let J={ind:R,mode:ku,doc:I.contents},V=l-h,De=E.length>0;if(!I.break&&kb(J,m,V,De,i))m.push(J);else if(I.expandedStates){let q=Ha(!1,I.expandedStates,-1);if(I.break){m.push({ind:R,mode:Do,doc:q});break}else for(let W=1;W<I.expandedStates.length+1;W++)if(W>=I.expandedStates.length){m.push({ind:R,mode:Do,doc:q});break}else{let K=I.expandedStates[W],X={ind:R,mode:ku,doc:K};if(kb(X,m,V,De,i)){m.push(X);break}}}else m.push({ind:R,mode:Do,doc:I.contents});break}}I.id&&(i[I.id]=Ha(!1,m,-1).mode);break;case yu:{let J=l-h,V=I[z0]??0,{parts:De}=I,q=De.length-V;if(q===0)break;let W=De[V+0],K=De[V+1],X={ind:R,mode:ku,doc:W},ae={ind:R,mode:Do,doc:W},ue=kb(X,[],J,E.length>0,i,!0);if(q===1){ue?m.push(X):m.push(ae);break}let xe={ind:R,mode:ku,doc:K},ye={ind:R,mode:Do,doc:K};if(q===2){ue?m.push(xe,X):m.push(ye,ae);break}let Ye=De[V+2],We={ind:R,mode:O,doc:{...I,[z0]:V+2}};kb({ind:R,mode:ku,doc:[W,K,Ye]},[],J,E.length>0,i,!0)?m.push(We,xe,X):ue?m.push(We,ye,X):m.push(We,ye,ae);break}case Ko:case xc:{let J=I.groupId?i[I.groupId]:O;if(J===Do){let V=I.type===Ko?I.breakContents:I.negate?I.contents:yb(I.contents);V&&m.push({ind:R,mode:O,doc:V})}if(J===ku){let V=I.type===Ko?I.flatContents:I.negate?yb(I.contents):I.contents;V&&m.push({ind:R,mode:O,doc:V})}break}case _c:E.push({ind:R,mode:O,doc:I.contents});break;case Ec:E.length>0&&m.push({ind:R,mode:O,doc:I0});break;case ai:switch(O){case ku:if(I.hard)C=!0;else{I.soft||(D.push(" "),h+=1);break}case Do:if(E.length>0){m.push({ind:R,mode:O,doc:I},...E.reverse()),E.length=0;break}I.literal?R.root?(D.push(c,R.root.value),h=R.root.length):(D.push(c),h=0):(h-=H0(D),D.push(c+R.value),h=R.length);break}break;case bu:m.push({ind:R,mode:O,doc:I.contents});break;case Fs:break;default:throw new Lh(I)}m.length===0&&E.length>0&&(m.push(...E.reverse()),E.length=0)}let P=D.indexOf(Bh);if(P!==-1){let R=D.indexOf(Bh,P+1);if(R===-1)return{formatted:D.filter(V=>V!==Bh).join("")};let O=D.slice(0,P).join(""),I=D.slice(P+1,R).join(""),J=D.slice(R+1).join("");return{formatted:O+I+J,cursorNodeStart:O.length,cursorNodeText:I}}return{formatted:D.join("")}}function DO(r,n,i=0){let l=0;for(let c=i;c<r.length;++c)r[c]===" "?l=l+n-l%n:l++;return l}var W0=DO,Jf,q0,Db,SO=class{constructor(r){_L(this,Jf),this.stack=[r]}get key(){let{stack:r,siblings:n}=this;return Ha(!1,r,n===null?-2:-4)??null}get index(){return this.siblings===null?null:Ha(!1,this.stack,-2)}get node(){return Ha(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:r}=this,n=Ha(!1,r,-3);return Array.isArray(n)?n:null}get next(){let{siblings:r}=this;return r===null?null:r[this.index+1]}get previous(){let{siblings:r}=this;return r===null?null:r[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:r,index:n}=this;return r!==null&&n===r.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Ug(this,Jf,Db).call(this)]}getName(){let{stack:r}=this,{length:n}=r;return n>1?Ha(!1,r,-2):null}getValue(){return Ha(!1,this.stack,-1)}getNode(r=0){let n=Ug(this,Jf,q0).call(this,r);return n===-1?null:this.stack[n]}getParentNode(r=0){return this.getNode(r+1)}call(r,...n){let{stack:i}=this,{length:l}=i,c=Ha(!1,i,-1);for(let h of n)c=c[h],i.push(h,c);try{return r(this)}finally{i.length=l}}callParent(r,n=0){let i=Ug(this,Jf,q0).call(this,n+1),l=this.stack.splice(i+1);try{return r(this)}finally{this.stack.push(...l)}}each(r,...n){let{stack:i}=this,{length:l}=i,c=Ha(!1,i,-1);for(let h of n)c=c[h],i.push(h,c);try{for(let h=0;h<c.length;++h)i.push(h,c[h]),r(this,h,c),i.length-=2}finally{i.length=l}}map(r,...n){let i=[];return this.each((l,c,h)=>{i[c]=r(l,c,h)},...n),i}match(...r){let n=this.stack.length-1,i=null,l=this.stack[n--];for(let c of r){if(l===void 0)return!1;let h=null;if(typeof i=="number"&&(h=i,i=this.stack[n--],l=this.stack[n--]),c&&!c(l,i,h))return!1;i=this.stack[n--],l=this.stack[n--]}return!0}findAncestor(r){for(let n of Ug(this,Jf,Db).call(this))if(r(n))return n}hasAncestor(r){for(let n of Ug(this,Jf,Db).call(this))if(r(n))return!0;return!1}};Jf=new WeakSet,q0=function(r){let{stack:n}=this;for(let i=n.length-1;i>=0;i-=2)if(!Array.isArray(n[i])&&--r<0)return i;return-1},Db=function*(){let{stack:r}=this;for(let n=r.length-3;n>=0;n-=2){let i=r[n];Array.isArray(i)||(yield i)}};var CO=SO,U_=new Proxy(()=>{},{get:()=>U_}),V0=U_;function xO(r){return r!==null&&typeof r=="object"}var _O=xO;function*Sb(r,n){let{getVisitorKeys:i,filter:l=()=>!0}=n,c=h=>_O(h)&&l(h);for(let h of i(r)){let m=r[h];if(Array.isArray(m))for(let D of m)c(D)&&(yield D);else c(m)&&(yield m)}}function*EO(r,n){let i=[r];for(let l=0;l<i.length;l++){let c=i[l];for(let h of Sb(c,n))yield h,i.push(h)}}function TO(r,n){return Sb(r,n).next().done}function Vg(r){return(n,i,l)=>{let c=!!(l!=null&&l.backwards);if(i===!1)return!1;let{length:h}=n,m=i;for(;m>=0&&m<h;){let D=n.charAt(m);if(r instanceof RegExp){if(!r.test(D))return m}else if(!r.includes(D))return m;c?m--:m++}return m===-1||m===h?m:!1}}var FO=Vg(/\s/u),Pd=Vg(" "),H_=Vg(",; "),W_=Vg(/[^\n\r]/u);function AO(r,n,i){let l=!!(i!=null&&i.backwards);if(n===!1)return!1;let c=r.charAt(n);if(l){if(r.charAt(n-1)==="\r"&&c===`
|
|
1492
1492
|
`)return n-2;if(c===`
|
|
1493
1493
|
`||c==="\r"||c==="\u2028"||c==="\u2029")return n-1}else{if(c==="\r"&&r.charAt(n+1)===`
|
|
1494
1494
|
`)return n+2;if(c===`
|
|
1495
|
-
`||c==="\r"||c==="\u2028"||c==="\u2029")return n+1}return n}var Qf=AO;function $O(r,n,i={}){let l=Pd(r,i.backwards?n-1:n,i),c=Qf(r,l,i);return l!==c}var Nd=$O;function PO(r){return Array.isArray(r)&&r.length>0}var NO=PO,q_=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),RO=r=>Object.keys(r).filter(n=>!q_.has(n));function LO(r){return r?n=>r(n,q_):RO}var Cb=LO;function OO(r){let n=r.type||r.kind||"(unknown type)",i=String(r.name||r.id&&(typeof r.id=="object"?r.id.name:r.id)||r.key&&(typeof r.key=="object"?r.key.name:r.key)||r.value&&(typeof r.value=="object"?"":String(r.value))||r.operator||"");return i.length>20&&(i=i.slice(0,19)+"…"),n+(i?" "+i:"")}function Y0(r,n){(r.comments??(r.comments=[])).push(n),n.printed=!1,n.nodeDescription=OO(r)}function Mh(r,n){n.leading=!0,n.trailing=!1,Y0(r,n)}function Kf(r,n,i){n.leading=!1,n.trailing=!1,i&&(n.marker=i),Y0(r,n)}function Ih(r,n){n.leading=!1,n.trailing=!0,Y0(r,n)}var G0=new WeakMap;function X0(r,n){if(G0.has(r))return G0.get(r);let{printer:{getCommentChildNodes:i,canAttachComment:l,getVisitorKeys:c},locStart:h,locEnd:m}=n;if(!l)return[];let D=((i==null?void 0:i(r,n))??[...Sb(r,{getVisitorKeys:Cb(c)})]).flatMap(C=>l(C)?[C]:X0(C,n));return D.sort((C,E)=>h(C)-h(E)||m(C)-m(E)),G0.set(r,D),D}function V_(r,n,i,l){let{locStart:c,locEnd:h}=i,m=c(n),D=h(n),C=X0(r,i),E,$,P=0,R=C.length;for(;P<R;){let O=P+R>>1,
|
|
1495
|
+
`||c==="\r"||c==="\u2028"||c==="\u2029")return n+1}return n}var Qf=AO;function $O(r,n,i={}){let l=Pd(r,i.backwards?n-1:n,i),c=Qf(r,l,i);return l!==c}var Nd=$O;function PO(r){return Array.isArray(r)&&r.length>0}var NO=PO,q_=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),RO=r=>Object.keys(r).filter(n=>!q_.has(n));function LO(r){return r?n=>r(n,q_):RO}var Cb=LO;function OO(r){let n=r.type||r.kind||"(unknown type)",i=String(r.name||r.id&&(typeof r.id=="object"?r.id.name:r.id)||r.key&&(typeof r.key=="object"?r.key.name:r.key)||r.value&&(typeof r.value=="object"?"":String(r.value))||r.operator||"");return i.length>20&&(i=i.slice(0,19)+"…"),n+(i?" "+i:"")}function Y0(r,n){(r.comments??(r.comments=[])).push(n),n.printed=!1,n.nodeDescription=OO(r)}function Mh(r,n){n.leading=!0,n.trailing=!1,Y0(r,n)}function Kf(r,n,i){n.leading=!1,n.trailing=!1,i&&(n.marker=i),Y0(r,n)}function Ih(r,n){n.leading=!1,n.trailing=!0,Y0(r,n)}var G0=new WeakMap;function X0(r,n){if(G0.has(r))return G0.get(r);let{printer:{getCommentChildNodes:i,canAttachComment:l,getVisitorKeys:c},locStart:h,locEnd:m}=n;if(!l)return[];let D=((i==null?void 0:i(r,n))??[...Sb(r,{getVisitorKeys:Cb(c)})]).flatMap(C=>l(C)?[C]:X0(C,n));return D.sort((C,E)=>h(C)-h(E)||m(C)-m(E)),G0.set(r,D),D}function V_(r,n,i,l){let{locStart:c,locEnd:h}=i,m=c(n),D=h(n),C=X0(r,i),E,$,P=0,R=C.length;for(;P<R;){let O=P+R>>1,I=C[O],J=c(I),V=h(I);if(J<=m&&D<=V)return V_(I,n,i,I);if(V<=m){E=I,P=O+1;continue}if(D<=J){$=I,R=O;continue}throw new Error("Comment location overlaps with node location")}if((l==null?void 0:l.type)==="TemplateLiteral"){let{quasis:O}=l,I=Q0(O,n,i);E&&Q0(O,E,i)!==I&&(E=null),$&&Q0(O,$,i)!==I&&($=null)}return{enclosingNode:l,precedingNode:E,followingNode:$}}var J0=()=>!1;function BO(r,n){let{comments:i}=r;if(delete r.comments,!NO(i)||!n.printer.canAttachComment)return;let l=[],{locStart:c,locEnd:h,printer:{experimentalFeatures:{avoidAstMutation:m=!1}={},handleComments:D={}},originalText:C}=n,{ownLine:E=J0,endOfLine:$=J0,remaining:P=J0}=D,R=i.map((O,I)=>({...V_(r,O,n),comment:O,text:C,options:n,ast:r,isLastComment:i.length-1===I}));for(let[O,I]of R.entries()){let{comment:J,precedingNode:V,enclosingNode:De,followingNode:q,text:W,options:K,ast:X,isLastComment:ae}=I;if(K.parser==="json"||K.parser==="json5"||K.parser==="jsonc"||K.parser==="__js_expression"||K.parser==="__ts_expression"||K.parser==="__vue_expression"||K.parser==="__vue_ts_expression"){if(c(J)-c(X)<=0){Mh(X,J);continue}if(h(J)-h(X)>=0){Ih(X,J);continue}}let ue;if(m?ue=[I]:(J.enclosingNode=De,J.precedingNode=V,J.followingNode=q,ue=[J,W,K,X,ae]),MO(W,K,R,O))J.placement="ownLine",E(...ue)||(q?Mh(q,J):V?Ih(V,J):Kf(De||X,J));else if(IO(W,K,R,O))J.placement="endOfLine",$(...ue)||(V?Ih(V,J):q?Mh(q,J):Kf(De||X,J));else if(J.placement="remaining",!P(...ue))if(V&&q){let xe=l.length;xe>0&&l[xe-1].followingNode!==q&&G_(l,K),l.push(I)}else V?Ih(V,J):q?Mh(q,J):Kf(De||X,J)}if(G_(l,n),!m)for(let O of i)delete O.precedingNode,delete O.enclosingNode,delete O.followingNode}var Y_=r=>!/[\S\n\u2028\u2029]/u.test(r);function MO(r,n,i,l){let{comment:c,precedingNode:h}=i[l],{locStart:m,locEnd:D}=n,C=m(c);if(h)for(let E=l-1;E>=0;E--){let{comment:$,precedingNode:P}=i[E];if(P!==h||!Y_(r.slice(D($),C)))break;C=m($)}return Nd(r,C,{backwards:!0})}function IO(r,n,i,l){let{comment:c,followingNode:h}=i[l],{locStart:m,locEnd:D}=n,C=D(c);if(h)for(let E=l+1;E<i.length;E++){let{comment:$,followingNode:P}=i[E];if(P!==h||!Y_(r.slice(C,m($))))break;C=D($)}return Nd(r,C)}function G_(r,n){var i,l;let c=r.length;if(c===0)return;let{precedingNode:h,followingNode:m}=r[0],D=n.locStart(m),C;for(C=c;C>0;--C){let{comment:E,precedingNode:$,followingNode:P}=r[C-1];V0.strictEqual($,h),V0.strictEqual(P,m);let R=n.originalText.slice(n.locEnd(E),D);if(((l=(i=n.printer).isGap)==null?void 0:l.call(i,R,n))??/^[\s(]*$/u.test(R))D=n.locStart(E);else break}for(let[E,{comment:$}]of r.entries())E<C?Ih(h,$):Mh(m,$);for(let E of[h,m])E.comments&&E.comments.length>1&&E.comments.sort(($,P)=>n.locStart($)-n.locStart(P));r.length=0}function Q0(r,n,i){let l=i.locStart(n)-1;for(let c=1;c<r.length;++c)if(l<i.locStart(r[c]))return c-1;return 0}function jO(r,n){let i=n-1;i=Pd(r,i,{backwards:!0}),i=Qf(r,i,{backwards:!0}),i=Pd(r,i,{backwards:!0});let l=Qf(r,i,{backwards:!0});return i!==l}var K0=jO;function X_(r,n){let i=r.node;return i.printed=!0,n.printer.printComment(r,n)}function zO(r,n){var i;let l=r.node,c=[X_(r,n)],{printer:h,originalText:m,locStart:D,locEnd:C}=n;if((i=h.isBlockComment)!=null&&i.call(h,l)){let $=Nd(m,C(l))?Nd(m,D(l),{backwards:!0})?Gf:B_:" ";c.push($)}else c.push(Gf);let E=Qf(m,Pd(m,C(l)));return E!==!1&&Nd(m,E)&&c.push(Gf),c}function UO(r,n,i){var l;let c=r.node,h=X_(r,n),{printer:m,originalText:D,locStart:C}=n,E=(l=m.isBlockComment)==null?void 0:l.call(m,c);if(i!=null&&i.hasLineSuffix&&!(i!=null&&i.isBlock)||Nd(D,C(c),{backwards:!0})){let $=K0(D,C(c));return{doc:M0([Gf,$?Gf:"",h]),isBlock:E,hasLineSuffix:!0}}return!E||i!=null&&i.hasLineSuffix?{doc:[M0([" ",h]),bb],isBlock:E,hasLineSuffix:!0}:{doc:[" ",h],isBlock:E,hasLineSuffix:!1}}function HO(r,n){let i=r.node;if(!i)return{};let l=n[Symbol.for("printedComments")];if((i.comments||[]).filter(D=>!l.has(D)).length===0)return{leading:"",trailing:""};let c=[],h=[],m;return r.each(()=>{let D=r.node;if(l!=null&&l.has(D))return;let{leading:C,trailing:E}=D;C?c.push(zO(r,n)):E&&(m=UO(r,n,m),h.push(m.doc))},"comments"),{leading:c,trailing:h}}function WO(r,n,i){let{leading:l,trailing:c}=HO(r,i);return!l&&!c?n:vb(n,h=>[l,h,c])}function qO(r){let{[Symbol.for("comments")]:n,[Symbol.for("printedComments")]:i}=r;for(let l of n){if(!l.printed&&!i.has(l))throw new Error('Comment "'+l.value.trim()+'" was not printed. Please report this error!');delete l.printed}}var J_=class extends Error{constructor(){super(...arguments);vg(this,"name","ConfigError")}},Q_=class extends Error{constructor(){super(...arguments);vg(this,"name","UndefinedParserError")}},VO={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing
|
|
1496
1496
|
(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:r=>typeof r=="string"||typeof r=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:r=>typeof r=="string"||typeof r=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive).
|
|
1497
1497
|
The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset.
|
|
1498
1498
|
The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
1499
1499
|
in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function K_({plugins:r=[],showDeprecated:n=!1}={}){let i=r.flatMap(c=>c.languages??[]),l=[];for(let c of GO(Object.assign({},...r.map(({options:h})=>h),VO)))!n&&c.deprecated||(Array.isArray(c.choices)&&(n||(c.choices=c.choices.filter(h=>!h.deprecated)),c.name==="parser"&&(c.choices=[...c.choices,...YO(c.choices,i,r)])),c.pluginDefaults=Object.fromEntries(r.filter(h=>{var m;return((m=h.defaultOptions)==null?void 0:m[c.name])!==void 0}).map(h=>[h.name,h.defaultOptions[c.name]])),l.push(c));return{languages:i,options:l}}function*YO(r,n,i){let l=new Set(r.map(c=>c.value));for(let c of n)if(c.parsers){for(let h of c.parsers)if(!l.has(h)){l.add(h);let m=i.find(C=>C.parsers&&Object.prototype.hasOwnProperty.call(C.parsers,h)),D=c.name;m!=null&&m.name&&(D+=` (plugin: ${m.name})`),yield{value:h,description:D}}}}function GO(r){let n=[];for(let[i,l]of Object.entries(r)){let c={name:i,...l};Array.isArray(c.default)&&(c.default=Ha(!1,c.default,-1).value),n.push(c)}return n}var XO=r=>String(r).split(/[/\\]/u).pop();function Z_(r,n){if(!n)return;let i=XO(n).toLowerCase();return r.find(({filenames:l})=>l==null?void 0:l.some(c=>c.toLowerCase()===i))??r.find(({extensions:l})=>l==null?void 0:l.some(c=>i.endsWith(c)))}function JO(r,n){if(n)return r.find(({name:i})=>i.toLowerCase()===n)??r.find(({aliases:i})=>i==null?void 0:i.includes(n))??r.find(({extensions:i})=>i==null?void 0:i.includes(`.${n}`))}function QO(r,n){let i=r.plugins.flatMap(c=>c.languages??[]),l=JO(i,n.language)??Z_(i,n.physicalFile)??Z_(i,n.file)??(n.physicalFile,void 0);return l==null?void 0:l.parsers[0]}var KO=QO,jh={key:r=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(r)?r:JSON.stringify(r),value(r){if(r===null||typeof r!="object")return JSON.stringify(r);if(Array.isArray(r))return`[${r.map(i=>jh.value(i)).join(", ")}]`;let n=Object.keys(r);return n.length===0?"{}":`{ ${n.map(i=>`${jh.key(i)}: ${jh.value(r[i])}`).join(", ")} }`},pair:({key:r,value:n})=>jh.value({[r]:n})},e1=cb(F0()),ZO=(r,n,{descriptor:i})=>{let l=[`${e1.default.yellow(typeof r=="string"?i.key(r):i.pair(r))} is deprecated`];return n&&l.push(`we now treat it as ${e1.default.blue(typeof n=="string"?i.key(n):i.pair(n))}`),l.join("; ")+"."},zh=cb(F0()),t1=Symbol.for("vnopts.VALUE_NOT_EXIST"),xb=Symbol.for("vnopts.VALUE_UNCHANGED"),n1=" ".repeat(2),eB=(r,n,i)=>{let{text:l,list:c}=i.normalizeExpectedResult(i.schemas[r].expected(i)),h=[];return l&&h.push(r1(r,n,l,i.descriptor)),c&&h.push([r1(r,n,c.title,i.descriptor)].concat(c.values.map(m=>a1(m,i.loggerPrintWidth))).join(`
|
|
1500
1500
|
`)),i1(h,i.loggerPrintWidth)};function r1(r,n,i,l){return[`Invalid ${zh.default.red(l.key(r))} value.`,`Expected ${zh.default.blue(i)},`,`but received ${n===t1?zh.default.gray("nothing"):zh.default.red(l.value(n))}.`].join(" ")}function a1({text:r,list:n},i){let l=[];return r&&l.push(`- ${zh.default.blue(r)}`),n&&l.push([`- ${zh.default.blue(n.title)}:`].concat(n.values.map(c=>a1(c,i-n1.length).replace(/^|\n/g,`$&${n1}`))).join(`
|
|
1501
1501
|
`)),i1(l,i)}function i1(r,n){if(r.length===1)return r[0];let[i,l]=r,[c,h]=r.map(m=>m.split(`
|
|
1502
|
-
`,1)[0].length);return c>n&&c>h?l:i}var o1=cb(F0()),Z0=[],s1=[];function tB(r,n){if(r===n)return 0;let i=r;r.length>n.length&&(r=n,n=i);let l=r.length,c=n.length;for(;l>0&&r.charCodeAt(~-l)===n.charCodeAt(~-c);)l--,c--;let h=0;for(;h<l&&r.charCodeAt(h)===n.charCodeAt(h);)h++;if(l-=h,c-=h,l===0)return c;let m,D,C,E,$=0,P=0;for(;$<l;)s1[$]=r.charCodeAt(h+$),Z0[$]=++$;for(;P<c;)for(m=n.charCodeAt(h+P),C=P++,D=P,$=0;$<l;$++)E=m===s1[$]?C:C+1,C=Z0[$],D=Z0[$]=C>D?E>D?D+1:E:E>C?C+1:E;return D}var l1=(r,n,{descriptor:i,logger:l,schemas:c})=>{let h=[`Ignored unknown option ${o1.default.yellow(i.pair({key:r,value:n}))}.`],m=Object.keys(c).sort().find(D=>tB(r,D)<3);m&&h.push(`Did you mean ${o1.default.blue(i.key(m))}?`),l.warn(h.join(" "))},nB=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function rB(r,n){let i=new r(n),l=Object.create(i);for(let c of nB)c in n&&(l[c]=aB(n[c],i,Rd.prototype[c].length));return l}var Rd=class{static create(n){return rB(this,n)}constructor(n){this.name=n.name}default(n){}expected(n){return"nothing"}validate(n,i){return!1}deprecated(n,i){return!1}forward(n,i){}redirect(n,i){}overlap(n,i,l){return n}preprocess(n,i){return n}postprocess(n,i){return xb}};function aB(r,n,i){return typeof r=="function"?(...l)=>r(...l.slice(0,i-1),n,...l.slice(i-1)):()=>r}var iB=class extends Rd{constructor(r){super(r),this._sourceName=r.sourceName}expected(r){return r.schemas[this._sourceName].expected(r)}validate(r,n){return n.schemas[this._sourceName].validate(r,n)}redirect(r,n){return this._sourceName}},oB=class extends Rd{expected(){return"anything"}validate(){return!0}},sB=class extends Rd{constructor({valueSchema:r,name:n=r.name,...i}){super({...i,name:n}),this._valueSchema=r}expected(r){let{text:n,list:i}=r.normalizeExpectedResult(this._valueSchema.expected(r));return{text:n&&`an array of ${n}`,list:i&&{title:"an array of the following values",values:[{list:i}]}}}validate(r,n){if(!Array.isArray(r))return!1;let i=[];for(let l of r){let c=n.normalizeValidateResult(this._valueSchema.validate(l,n),l);c!==!0&&i.push(c.value)}return i.length===0?!0:{value:i}}deprecated(r,n){let i=[];for(let l of r){let c=n.normalizeDeprecatedResult(this._valueSchema.deprecated(l,n),l);c!==!1&&i.push(...c.map(({value:h})=>({value:[h]})))}return i}forward(r,n){let i=[];for(let l of r){let c=n.normalizeForwardResult(this._valueSchema.forward(l,n),l);i.push(...c.map(u1))}return i}redirect(r,n){let i=[],l=[];for(let c of r){let h=n.normalizeRedirectResult(this._valueSchema.redirect(c,n),c);"remain"in h&&i.push(h.remain),l.push(...h.redirect.map(u1))}return i.length===0?{redirect:l}:{redirect:l,remain:i}}overlap(r,n){return r.concat(n)}};function u1({from:r,to:n}){return{from:[r],to:n}}var lB=class extends Rd{expected(){return"true or false"}validate(r){return typeof r=="boolean"}};function uB(r,n){let i=Object.create(null);for(let l of r){let c=l[n];if(i[c])throw new Error(`Duplicate ${n} ${JSON.stringify(c)}`);i[c]=l}return i}function cB(r,n){let i=new Map;for(let l of r){let c=l[n];if(i.has(c))throw new Error(`Duplicate ${n} ${JSON.stringify(c)}`);i.set(c,l)}return i}function dB(){let r=Object.create(null);return n=>{let i=JSON.stringify(n);return r[i]?!0:(r[i]=!0,!1)}}function fB(r,n){let i=[],l=[];for(let c of r)n(c)?i.push(c):l.push(c);return[i,l]}function pB(r){return r===Math.floor(r)}function hB(r,n){if(r===n)return 0;let i=typeof r,l=typeof n,c=["undefined","object","boolean","number","string"];return i!==l?c.indexOf(i)-c.indexOf(l):i!=="string"?Number(r)-Number(n):r.localeCompare(n)}function mB(r){return(...n)=>{let i=r(...n);return typeof i=="string"?new Error(i):i}}function c1(r){return r===void 0?{}:r}function d1(r){if(typeof r=="string")return{text:r};let{text:n,list:i}=r;return gB((n||i)!==void 0,"Unexpected `expected` result, there should be at least one field."),i?{text:n,list:{title:i.title,values:i.values.map(d1)}}:{text:n}}function f1(r,n){return r===!0?!0:r===!1?{value:n}:r}function p1(r,n,i=!1){return r===!1?!1:r===!0?i?!0:[{value:n}]:"value"in r?[r]:r.length===0?!1:r}function h1(r,n){return typeof r=="string"||"key"in r?{from:n,to:r}:"from"in r?{from:r.from,to:r.to}:{from:n,to:r.to}}function e2(r,n){return r===void 0?[]:Array.isArray(r)?r.map(i=>h1(i,n)):[h1(r,n)]}function m1(r,n){let i=e2(typeof r=="object"&&"redirect"in r?r.redirect:r,n);return i.length===0?{remain:n,redirect:i}:typeof r=="object"&&"remain"in r?{remain:r.remain,redirect:i}:{redirect:i}}function gB(r,n){if(!r)throw new Error(n)}var vB=class extends Rd{constructor(r){super(r),this._choices=cB(r.choices.map(n=>n&&typeof n=="object"?n:{value:n}),"value")}expected({descriptor:r}){let n=Array.from(this._choices.keys()).map(c=>this._choices.get(c)).filter(({hidden:c})=>!c).map(c=>c.value).sort(hB).map(r.value),i=n.slice(0,-2),l=n.slice(-2);return{text:i.concat(l.join(" or ")).join(", "),list:{title:"one of the following values",values:n}}}validate(r){return this._choices.has(r)}deprecated(r){let n=this._choices.get(r);return n&&n.deprecated?{value:r}:!1}forward(r){let n=this._choices.get(r);return n?n.forward:void 0}redirect(r){let n=this._choices.get(r);return n?n.redirect:void 0}},yB=class extends Rd{expected(){return"a number"}validate(r,n){return typeof r=="number"}},bB=class extends yB{expected(){return"an integer"}validate(r,n){return n.normalizeValidateResult(super.validate(r,n),r)===!0&&pB(r)}},g1=class extends Rd{expected(){return"a string"}validate(r){return typeof r=="string"}},kB=jh,wB=l1,DB=eB,SB=ZO,CB=class{constructor(r,n){let{logger:i=console,loggerPrintWidth:l=80,descriptor:c=kB,unknown:h=wB,invalid:m=DB,deprecated:D=SB,missing:C=()=>!1,required:E=()=>!1,preprocess:$=R=>R,postprocess:P=()=>xb}=n||{};this._utils={descriptor:c,logger:i||{warn:()=>{}},loggerPrintWidth:l,schemas:uB(r,"name"),normalizeDefaultResult:c1,normalizeExpectedResult:d1,normalizeDeprecatedResult:p1,normalizeForwardResult:e2,normalizeRedirectResult:m1,normalizeValidateResult:f1},this._unknownHandler=h,this._invalidHandler=mB(m),this._deprecatedHandler=D,this._identifyMissing=(R,O)=>!(R in O)||C(R,O),this._identifyRequired=E,this._preprocess=$,this._postprocess=P,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=dB()}normalize(r){let n={},i=[this._preprocess(r,this._utils)],l=()=>{for(;i.length!==0;){let c=i.shift(),h=this._applyNormalization(c,n);i.push(...h)}};l();for(let c of Object.keys(this._utils.schemas)){let h=this._utils.schemas[c];if(!(c in n)){let m=c1(h.default(this._utils));"value"in m&&i.push({[c]:m.value})}}l();for(let c of Object.keys(this._utils.schemas)){if(!(c in n))continue;let h=this._utils.schemas[c],m=n[c],D=h.postprocess(m,this._utils);D!==xb&&(this._applyValidation(D,c,h),n[c]=D)}return this._applyPostprocess(n),this._applyRequiredCheck(n),n}_applyNormalization(r,n){let i=[],{knownKeys:l,unknownKeys:c}=this._partitionOptionKeys(r);for(let h of l){let m=this._utils.schemas[h],D=m.preprocess(r[h],this._utils);this._applyValidation(D,h,m);let C=({from:P,to:R})=>{i.push(typeof R=="string"?{[R]:P}:{[R.key]:R.value})},E=({value:P,redirectTo:R})=>{let O=p1(m.deprecated(P,this._utils),D,!0);if(O!==!1)if(O===!0)this._hasDeprecationWarned(h)||this._utils.logger.warn(this._deprecatedHandler(h,R,this._utils));else for(let{value:j}of O){let J={key:h,value:j};if(!this._hasDeprecationWarned(J)){let V=typeof R=="string"?{key:R,value:j}:R;this._utils.logger.warn(this._deprecatedHandler(J,V,this._utils))}}};e2(m.forward(D,this._utils),D).forEach(C);let $=m1(m.redirect(D,this._utils),D);if($.redirect.forEach(C),"remain"in $){let P=$.remain;n[h]=h in n?m.overlap(n[h],P,this._utils):P,E({value:P})}for(let{from:P,to:R}of $.redirect)E({value:P,redirectTo:R})}for(let h of c){let m=r[h];this._applyUnknownHandler(h,m,n,(D,C)=>{i.push({[D]:C})})}return i}_applyRequiredCheck(r){for(let n of Object.keys(this._utils.schemas))if(this._identifyMissing(n,r)&&this._identifyRequired(n))throw this._invalidHandler(n,t1,this._utils)}_partitionOptionKeys(r){let[n,i]=fB(Object.keys(r).filter(l=>!this._identifyMissing(l,r)),l=>l in this._utils.schemas);return{knownKeys:n,unknownKeys:i}}_applyValidation(r,n,i){let l=f1(i.validate(r,this._utils),r);if(l!==!0)throw this._invalidHandler(n,l.value,this._utils)}_applyUnknownHandler(r,n,i,l){let c=this._unknownHandler(r,n,this._utils);if(c)for(let h of Object.keys(c)){if(this._identifyMissing(h,c))continue;let m=c[h];h in this._utils.schemas?l(h,m):i[h]=m}}_applyPostprocess(r){let n=this._postprocess(r,this._utils);if(n!==xb){if(n.delete)for(let i of n.delete)delete r[i];if(n.override){let{knownKeys:i,unknownKeys:l}=this._partitionOptionKeys(n.override);for(let c of i){let h=n.override[c];this._applyValidation(h,c,this._utils.schemas[c]),r[c]=h}for(let c of l){let h=n.override[c];this._applyUnknownHandler(c,h,r,(m,D)=>{let C=this._utils.schemas[m];this._applyValidation(D,m,C),r[m]=D})}}}}},t2;function xB(r,n,{logger:i=!1,isCLI:l=!1,passThrough:c=!1,FlagSchema:h,descriptor:m}={}){if(l){if(!h)throw new Error("'FlagSchema' option is required.");if(!m)throw new Error("'descriptor' option is required.")}else m=jh;let D=c?Array.isArray(c)?(R,O)=>c.includes(R)?{[R]:O}:void 0:(R,O)=>({[R]:O}):(R,O,j)=>{let{_:J,...V}=j.schemas;return l1(R,O,{...j,schemas:V})},C=_B(n,{isCLI:l,FlagSchema:h}),E=new CB(C,{logger:i,unknown:D,descriptor:m}),$=i!==!1;$&&t2&&(E._hasDeprecationWarned=t2);let P=E.normalize(r);return $&&(t2=E._hasDeprecationWarned),P}function _B(r,{isCLI:n,FlagSchema:i}){let l=[];n&&l.push(oB.create({name:"_"}));for(let c of r)l.push(EB(c,{isCLI:n,optionInfos:r,FlagSchema:i})),c.alias&&n&&l.push(iB.create({name:c.alias,sourceName:c.name}));return l}function EB(r,{isCLI:n,optionInfos:i,FlagSchema:l}){let{name:c}=r,h={name:c},m,D={};switch(r.type){case"int":m=bB,n&&(h.preprocess=Number);break;case"string":m=g1;break;case"choice":m=vB,h.choices=r.choices.map(C=>C!=null&&C.redirect?{...C,redirect:{to:{key:r.name,value:C.redirect}}}:C);break;case"boolean":m=lB;break;case"flag":m=l,h.flags=i.flatMap(C=>[C.alias,C.description&&C.name,C.oppositeDescription&&`no-${C.name}`].filter(Boolean));break;case"path":m=g1;break;default:throw new Error(`Unexpected type ${r.type}`)}if(r.exception?h.validate=(C,E,$)=>r.exception(C)||E.validate(C,$):h.validate=(C,E,$)=>C===void 0||E.validate(C,$),r.redirect&&(D.redirect=C=>C?{to:typeof r.redirect=="string"?r.redirect:{key:r.redirect.option,value:r.redirect.value}}:void 0),r.deprecated&&(D.deprecated=!0),n&&!r.array){let C=h.preprocess||(E=>E);h.preprocess=(E,$,P)=>$.preprocess(C(Array.isArray(E)?Ha(!1,E,-1):E),P)}return r.array?sB.create({...n?{preprocess:C=>Array.isArray(C)?C:[C]}:{},...D,valueSchema:m.create(h)}):m.create({...h,...D})}var TB=xB,FB=(r,n,i)=>{if(!(r&&n==null)){if(n.findLast)return n.findLast(i);for(let l=n.length-1;l>=0;l--){let c=n[l];if(i(c,l,n))return c}}},v1=FB;function y1(r,n){if(!n)throw new Error("parserName is required.");let i=v1(!1,r,c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,n));if(i)return i;let l=`Couldn't resolve parser "${n}".`;throw l+=" Plugins must be explicitly added to the standalone bundle.",new J_(l)}function AB(r,n){if(!n)throw new Error("astFormat is required.");let i=v1(!1,r,c=>c.printers&&Object.prototype.hasOwnProperty.call(c.printers,n));if(i)return i;let l=`Couldn't find plugin for AST format "${n}".`;throw l+=" Plugins must be explicitly added to the standalone bundle.",new J_(l)}function b1({plugins:r,parser:n}){let i=y1(r,n);return k1(i,n)}function k1(r,n){let i=r.parsers[n];return typeof i=="function"?i():i}function $B(r,n){let i=r.printers[n];return typeof i=="function"?i():i}var w1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function PB(r,n={}){var i;let l={...r};if(!l.parser)if(l.filepath){if(l.parser=KO(l,{physicalFile:l.filepath}),!l.parser)throw new Q_(`No parser could be inferred for file "${l.filepath}".`)}else throw new Q_("No parser and no file path given, couldn't infer a parser.");let c=K_({plugins:r.plugins,showDeprecated:!0}).options,h={...w1,...Object.fromEntries(c.filter(R=>R.default!==void 0).map(R=>[R.name,R.default]))},m=y1(l.plugins,l.parser),D=await k1(m,l.parser);l.astFormat=D.astFormat,l.locEnd=D.locEnd,l.locStart=D.locStart;let C=(i=m.printers)!=null&&i[D.astFormat]?m:AB(l.plugins,D.astFormat),E=await $B(C,D.astFormat);l.printer=E;let $=C.defaultOptions?Object.fromEntries(Object.entries(C.defaultOptions).filter(([,R])=>R!==void 0)):{},P={...h,...$};for(let[R,O]of Object.entries(P))(l[R]===null||l[R]===void 0)&&(l[R]=O);return l.parser==="json"&&(l.trailingComma="none"),TB(l,c,{passThrough:Object.keys(w1),...n})}var Uh=PB,NB=cb(EL());async function RB(r,n){let i=await b1(n),l=i.preprocess?i.preprocess(r,n):r;n.originalText=l;let c;try{c=await i.parse(l,n,n)}catch(h){LB(h,r)}return{text:l,ast:c}}function LB(r,n){let{loc:i}=r;if(i){let l=(0,NB.codeFrameColumns)(n,i,{highlightCode:!0});throw r.message+=`
|
|
1503
|
-
`+l,r.codeFrame=l,r}throw r}var Yg=RB;async function OB(r,n,i,l,c){let{embeddedLanguageFormatting:h,printer:{embed:m,hasPrettierIgnore:D=()=>!1,getVisitorKeys:C}}=i;if(!m||h!=="auto")return;if(m.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/plugins#optional-embed");let E=Cb(m.getVisitorKeys??C),$=[];O();let P=r.stack;for(let{print:
|
|
1504
|
-
`,c)+1),C=l.slice(D,c).match(/^\s*/u)[0],E=W0(C,n.tabWidth),$=await F1(m,{...n,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:n.cursorOffset>c&&n.cursorOffset<=h?n.cursorOffset-c:-1,endOfLine:"lf"},E),P=$.formatted.trimEnd(),{cursorOffset:R}=n;R>h?R+=P.length-m.length:$.cursorOffset>=0&&(R=$.cursorOffset+c);let O=l.slice(0,c)+P+l.slice(h);if(n.endOfLine!=="lf"){let
|
|
1502
|
+
`,1)[0].length);return c>n&&c>h?l:i}var o1=cb(F0()),Z0=[],s1=[];function tB(r,n){if(r===n)return 0;let i=r;r.length>n.length&&(r=n,n=i);let l=r.length,c=n.length;for(;l>0&&r.charCodeAt(~-l)===n.charCodeAt(~-c);)l--,c--;let h=0;for(;h<l&&r.charCodeAt(h)===n.charCodeAt(h);)h++;if(l-=h,c-=h,l===0)return c;let m,D,C,E,$=0,P=0;for(;$<l;)s1[$]=r.charCodeAt(h+$),Z0[$]=++$;for(;P<c;)for(m=n.charCodeAt(h+P),C=P++,D=P,$=0;$<l;$++)E=m===s1[$]?C:C+1,C=Z0[$],D=Z0[$]=C>D?E>D?D+1:E:E>C?C+1:E;return D}var l1=(r,n,{descriptor:i,logger:l,schemas:c})=>{let h=[`Ignored unknown option ${o1.default.yellow(i.pair({key:r,value:n}))}.`],m=Object.keys(c).sort().find(D=>tB(r,D)<3);m&&h.push(`Did you mean ${o1.default.blue(i.key(m))}?`),l.warn(h.join(" "))},nB=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function rB(r,n){let i=new r(n),l=Object.create(i);for(let c of nB)c in n&&(l[c]=aB(n[c],i,Rd.prototype[c].length));return l}var Rd=class{static create(n){return rB(this,n)}constructor(n){this.name=n.name}default(n){}expected(n){return"nothing"}validate(n,i){return!1}deprecated(n,i){return!1}forward(n,i){}redirect(n,i){}overlap(n,i,l){return n}preprocess(n,i){return n}postprocess(n,i){return xb}};function aB(r,n,i){return typeof r=="function"?(...l)=>r(...l.slice(0,i-1),n,...l.slice(i-1)):()=>r}var iB=class extends Rd{constructor(r){super(r),this._sourceName=r.sourceName}expected(r){return r.schemas[this._sourceName].expected(r)}validate(r,n){return n.schemas[this._sourceName].validate(r,n)}redirect(r,n){return this._sourceName}},oB=class extends Rd{expected(){return"anything"}validate(){return!0}},sB=class extends Rd{constructor({valueSchema:r,name:n=r.name,...i}){super({...i,name:n}),this._valueSchema=r}expected(r){let{text:n,list:i}=r.normalizeExpectedResult(this._valueSchema.expected(r));return{text:n&&`an array of ${n}`,list:i&&{title:"an array of the following values",values:[{list:i}]}}}validate(r,n){if(!Array.isArray(r))return!1;let i=[];for(let l of r){let c=n.normalizeValidateResult(this._valueSchema.validate(l,n),l);c!==!0&&i.push(c.value)}return i.length===0?!0:{value:i}}deprecated(r,n){let i=[];for(let l of r){let c=n.normalizeDeprecatedResult(this._valueSchema.deprecated(l,n),l);c!==!1&&i.push(...c.map(({value:h})=>({value:[h]})))}return i}forward(r,n){let i=[];for(let l of r){let c=n.normalizeForwardResult(this._valueSchema.forward(l,n),l);i.push(...c.map(u1))}return i}redirect(r,n){let i=[],l=[];for(let c of r){let h=n.normalizeRedirectResult(this._valueSchema.redirect(c,n),c);"remain"in h&&i.push(h.remain),l.push(...h.redirect.map(u1))}return i.length===0?{redirect:l}:{redirect:l,remain:i}}overlap(r,n){return r.concat(n)}};function u1({from:r,to:n}){return{from:[r],to:n}}var lB=class extends Rd{expected(){return"true or false"}validate(r){return typeof r=="boolean"}};function uB(r,n){let i=Object.create(null);for(let l of r){let c=l[n];if(i[c])throw new Error(`Duplicate ${n} ${JSON.stringify(c)}`);i[c]=l}return i}function cB(r,n){let i=new Map;for(let l of r){let c=l[n];if(i.has(c))throw new Error(`Duplicate ${n} ${JSON.stringify(c)}`);i.set(c,l)}return i}function dB(){let r=Object.create(null);return n=>{let i=JSON.stringify(n);return r[i]?!0:(r[i]=!0,!1)}}function fB(r,n){let i=[],l=[];for(let c of r)n(c)?i.push(c):l.push(c);return[i,l]}function pB(r){return r===Math.floor(r)}function hB(r,n){if(r===n)return 0;let i=typeof r,l=typeof n,c=["undefined","object","boolean","number","string"];return i!==l?c.indexOf(i)-c.indexOf(l):i!=="string"?Number(r)-Number(n):r.localeCompare(n)}function mB(r){return(...n)=>{let i=r(...n);return typeof i=="string"?new Error(i):i}}function c1(r){return r===void 0?{}:r}function d1(r){if(typeof r=="string")return{text:r};let{text:n,list:i}=r;return gB((n||i)!==void 0,"Unexpected `expected` result, there should be at least one field."),i?{text:n,list:{title:i.title,values:i.values.map(d1)}}:{text:n}}function f1(r,n){return r===!0?!0:r===!1?{value:n}:r}function p1(r,n,i=!1){return r===!1?!1:r===!0?i?!0:[{value:n}]:"value"in r?[r]:r.length===0?!1:r}function h1(r,n){return typeof r=="string"||"key"in r?{from:n,to:r}:"from"in r?{from:r.from,to:r.to}:{from:n,to:r.to}}function e2(r,n){return r===void 0?[]:Array.isArray(r)?r.map(i=>h1(i,n)):[h1(r,n)]}function m1(r,n){let i=e2(typeof r=="object"&&"redirect"in r?r.redirect:r,n);return i.length===0?{remain:n,redirect:i}:typeof r=="object"&&"remain"in r?{remain:r.remain,redirect:i}:{redirect:i}}function gB(r,n){if(!r)throw new Error(n)}var vB=class extends Rd{constructor(r){super(r),this._choices=cB(r.choices.map(n=>n&&typeof n=="object"?n:{value:n}),"value")}expected({descriptor:r}){let n=Array.from(this._choices.keys()).map(c=>this._choices.get(c)).filter(({hidden:c})=>!c).map(c=>c.value).sort(hB).map(r.value),i=n.slice(0,-2),l=n.slice(-2);return{text:i.concat(l.join(" or ")).join(", "),list:{title:"one of the following values",values:n}}}validate(r){return this._choices.has(r)}deprecated(r){let n=this._choices.get(r);return n&&n.deprecated?{value:r}:!1}forward(r){let n=this._choices.get(r);return n?n.forward:void 0}redirect(r){let n=this._choices.get(r);return n?n.redirect:void 0}},yB=class extends Rd{expected(){return"a number"}validate(r,n){return typeof r=="number"}},bB=class extends yB{expected(){return"an integer"}validate(r,n){return n.normalizeValidateResult(super.validate(r,n),r)===!0&&pB(r)}},g1=class extends Rd{expected(){return"a string"}validate(r){return typeof r=="string"}},kB=jh,wB=l1,DB=eB,SB=ZO,CB=class{constructor(r,n){let{logger:i=console,loggerPrintWidth:l=80,descriptor:c=kB,unknown:h=wB,invalid:m=DB,deprecated:D=SB,missing:C=()=>!1,required:E=()=>!1,preprocess:$=R=>R,postprocess:P=()=>xb}=n||{};this._utils={descriptor:c,logger:i||{warn:()=>{}},loggerPrintWidth:l,schemas:uB(r,"name"),normalizeDefaultResult:c1,normalizeExpectedResult:d1,normalizeDeprecatedResult:p1,normalizeForwardResult:e2,normalizeRedirectResult:m1,normalizeValidateResult:f1},this._unknownHandler=h,this._invalidHandler=mB(m),this._deprecatedHandler=D,this._identifyMissing=(R,O)=>!(R in O)||C(R,O),this._identifyRequired=E,this._preprocess=$,this._postprocess=P,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=dB()}normalize(r){let n={},i=[this._preprocess(r,this._utils)],l=()=>{for(;i.length!==0;){let c=i.shift(),h=this._applyNormalization(c,n);i.push(...h)}};l();for(let c of Object.keys(this._utils.schemas)){let h=this._utils.schemas[c];if(!(c in n)){let m=c1(h.default(this._utils));"value"in m&&i.push({[c]:m.value})}}l();for(let c of Object.keys(this._utils.schemas)){if(!(c in n))continue;let h=this._utils.schemas[c],m=n[c],D=h.postprocess(m,this._utils);D!==xb&&(this._applyValidation(D,c,h),n[c]=D)}return this._applyPostprocess(n),this._applyRequiredCheck(n),n}_applyNormalization(r,n){let i=[],{knownKeys:l,unknownKeys:c}=this._partitionOptionKeys(r);for(let h of l){let m=this._utils.schemas[h],D=m.preprocess(r[h],this._utils);this._applyValidation(D,h,m);let C=({from:P,to:R})=>{i.push(typeof R=="string"?{[R]:P}:{[R.key]:R.value})},E=({value:P,redirectTo:R})=>{let O=p1(m.deprecated(P,this._utils),D,!0);if(O!==!1)if(O===!0)this._hasDeprecationWarned(h)||this._utils.logger.warn(this._deprecatedHandler(h,R,this._utils));else for(let{value:I}of O){let J={key:h,value:I};if(!this._hasDeprecationWarned(J)){let V=typeof R=="string"?{key:R,value:I}:R;this._utils.logger.warn(this._deprecatedHandler(J,V,this._utils))}}};e2(m.forward(D,this._utils),D).forEach(C);let $=m1(m.redirect(D,this._utils),D);if($.redirect.forEach(C),"remain"in $){let P=$.remain;n[h]=h in n?m.overlap(n[h],P,this._utils):P,E({value:P})}for(let{from:P,to:R}of $.redirect)E({value:P,redirectTo:R})}for(let h of c){let m=r[h];this._applyUnknownHandler(h,m,n,(D,C)=>{i.push({[D]:C})})}return i}_applyRequiredCheck(r){for(let n of Object.keys(this._utils.schemas))if(this._identifyMissing(n,r)&&this._identifyRequired(n))throw this._invalidHandler(n,t1,this._utils)}_partitionOptionKeys(r){let[n,i]=fB(Object.keys(r).filter(l=>!this._identifyMissing(l,r)),l=>l in this._utils.schemas);return{knownKeys:n,unknownKeys:i}}_applyValidation(r,n,i){let l=f1(i.validate(r,this._utils),r);if(l!==!0)throw this._invalidHandler(n,l.value,this._utils)}_applyUnknownHandler(r,n,i,l){let c=this._unknownHandler(r,n,this._utils);if(c)for(let h of Object.keys(c)){if(this._identifyMissing(h,c))continue;let m=c[h];h in this._utils.schemas?l(h,m):i[h]=m}}_applyPostprocess(r){let n=this._postprocess(r,this._utils);if(n!==xb){if(n.delete)for(let i of n.delete)delete r[i];if(n.override){let{knownKeys:i,unknownKeys:l}=this._partitionOptionKeys(n.override);for(let c of i){let h=n.override[c];this._applyValidation(h,c,this._utils.schemas[c]),r[c]=h}for(let c of l){let h=n.override[c];this._applyUnknownHandler(c,h,r,(m,D)=>{let C=this._utils.schemas[m];this._applyValidation(D,m,C),r[m]=D})}}}}},t2;function xB(r,n,{logger:i=!1,isCLI:l=!1,passThrough:c=!1,FlagSchema:h,descriptor:m}={}){if(l){if(!h)throw new Error("'FlagSchema' option is required.");if(!m)throw new Error("'descriptor' option is required.")}else m=jh;let D=c?Array.isArray(c)?(R,O)=>c.includes(R)?{[R]:O}:void 0:(R,O)=>({[R]:O}):(R,O,I)=>{let{_:J,...V}=I.schemas;return l1(R,O,{...I,schemas:V})},C=_B(n,{isCLI:l,FlagSchema:h}),E=new CB(C,{logger:i,unknown:D,descriptor:m}),$=i!==!1;$&&t2&&(E._hasDeprecationWarned=t2);let P=E.normalize(r);return $&&(t2=E._hasDeprecationWarned),P}function _B(r,{isCLI:n,FlagSchema:i}){let l=[];n&&l.push(oB.create({name:"_"}));for(let c of r)l.push(EB(c,{isCLI:n,optionInfos:r,FlagSchema:i})),c.alias&&n&&l.push(iB.create({name:c.alias,sourceName:c.name}));return l}function EB(r,{isCLI:n,optionInfos:i,FlagSchema:l}){let{name:c}=r,h={name:c},m,D={};switch(r.type){case"int":m=bB,n&&(h.preprocess=Number);break;case"string":m=g1;break;case"choice":m=vB,h.choices=r.choices.map(C=>C!=null&&C.redirect?{...C,redirect:{to:{key:r.name,value:C.redirect}}}:C);break;case"boolean":m=lB;break;case"flag":m=l,h.flags=i.flatMap(C=>[C.alias,C.description&&C.name,C.oppositeDescription&&`no-${C.name}`].filter(Boolean));break;case"path":m=g1;break;default:throw new Error(`Unexpected type ${r.type}`)}if(r.exception?h.validate=(C,E,$)=>r.exception(C)||E.validate(C,$):h.validate=(C,E,$)=>C===void 0||E.validate(C,$),r.redirect&&(D.redirect=C=>C?{to:typeof r.redirect=="string"?r.redirect:{key:r.redirect.option,value:r.redirect.value}}:void 0),r.deprecated&&(D.deprecated=!0),n&&!r.array){let C=h.preprocess||(E=>E);h.preprocess=(E,$,P)=>$.preprocess(C(Array.isArray(E)?Ha(!1,E,-1):E),P)}return r.array?sB.create({...n?{preprocess:C=>Array.isArray(C)?C:[C]}:{},...D,valueSchema:m.create(h)}):m.create({...h,...D})}var TB=xB,FB=(r,n,i)=>{if(!(r&&n==null)){if(n.findLast)return n.findLast(i);for(let l=n.length-1;l>=0;l--){let c=n[l];if(i(c,l,n))return c}}},v1=FB;function y1(r,n){if(!n)throw new Error("parserName is required.");let i=v1(!1,r,c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,n));if(i)return i;let l=`Couldn't resolve parser "${n}".`;throw l+=" Plugins must be explicitly added to the standalone bundle.",new J_(l)}function AB(r,n){if(!n)throw new Error("astFormat is required.");let i=v1(!1,r,c=>c.printers&&Object.prototype.hasOwnProperty.call(c.printers,n));if(i)return i;let l=`Couldn't find plugin for AST format "${n}".`;throw l+=" Plugins must be explicitly added to the standalone bundle.",new J_(l)}function b1({plugins:r,parser:n}){let i=y1(r,n);return k1(i,n)}function k1(r,n){let i=r.parsers[n];return typeof i=="function"?i():i}function $B(r,n){let i=r.printers[n];return typeof i=="function"?i():i}var w1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function PB(r,n={}){var i;let l={...r};if(!l.parser)if(l.filepath){if(l.parser=KO(l,{physicalFile:l.filepath}),!l.parser)throw new Q_(`No parser could be inferred for file "${l.filepath}".`)}else throw new Q_("No parser and no file path given, couldn't infer a parser.");let c=K_({plugins:r.plugins,showDeprecated:!0}).options,h={...w1,...Object.fromEntries(c.filter(R=>R.default!==void 0).map(R=>[R.name,R.default]))},m=y1(l.plugins,l.parser),D=await k1(m,l.parser);l.astFormat=D.astFormat,l.locEnd=D.locEnd,l.locStart=D.locStart;let C=(i=m.printers)!=null&&i[D.astFormat]?m:AB(l.plugins,D.astFormat),E=await $B(C,D.astFormat);l.printer=E;let $=C.defaultOptions?Object.fromEntries(Object.entries(C.defaultOptions).filter(([,R])=>R!==void 0)):{},P={...h,...$};for(let[R,O]of Object.entries(P))(l[R]===null||l[R]===void 0)&&(l[R]=O);return l.parser==="json"&&(l.trailingComma="none"),TB(l,c,{passThrough:Object.keys(w1),...n})}var Uh=PB,NB=cb(EL());async function RB(r,n){let i=await b1(n),l=i.preprocess?i.preprocess(r,n):r;n.originalText=l;let c;try{c=await i.parse(l,n,n)}catch(h){LB(h,r)}return{text:l,ast:c}}function LB(r,n){let{loc:i}=r;if(i){let l=(0,NB.codeFrameColumns)(n,i,{highlightCode:!0});throw r.message+=`
|
|
1503
|
+
`+l,r.codeFrame=l,r}throw r}var Yg=RB;async function OB(r,n,i,l,c){let{embeddedLanguageFormatting:h,printer:{embed:m,hasPrettierIgnore:D=()=>!1,getVisitorKeys:C}}=i;if(!m||h!=="auto")return;if(m.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/plugins#optional-embed");let E=Cb(m.getVisitorKeys??C),$=[];O();let P=r.stack;for(let{print:I,node:J,pathStack:V}of $)try{r.stack=V;let De=await I(R,n,r,i);De&&c.set(J,De)}catch(De){if(globalThis.PRETTIER_DEBUG)throw De}r.stack=P;function R(I,J){return BB(I,J,i,l)}function O(){let{node:I}=r;if(I===null||typeof I!="object"||D(r))return;for(let V of E(I))Array.isArray(I[V])?r.each(O,V):r.call(O,V);let J=m(r,i);if(J){if(typeof J=="function"){$.push({print:J,node:I,pathStack:[...r.stack]});return}c.set(I,J)}}}async function BB(r,n,i,l){let c=await Uh({...i,...n,parentParser:i.parser,originalText:r},{passThrough:!0}),{ast:h}=await Yg(r,c),m=await l(h,c);return R_(m)}function MB(r,n){let{originalText:i,[Symbol.for("comments")]:l,locStart:c,locEnd:h,[Symbol.for("printedComments")]:m}=n,{node:D}=r,C=c(D),E=h(D);for(let $ of l)c($)>=C&&h($)<=E&&m.add($);return i.slice(C,E)}var IB=MB;async function _b(r,n){({ast:r}=await S1(r,n));let i=new Map,l=new CO(r),c=new Map;await OB(l,m,n,_b,c);let h=await D1(l,n,m,void 0,c);if(qO(n),n.nodeAfterCursor&&!n.nodeBeforeCursor)return[Xf,h];if(n.nodeBeforeCursor&&!n.nodeAfterCursor)return[h,Xf];return h;function m(C,E){return C===void 0||C===l?D(E):Array.isArray(C)?l.call(()=>D(E),...C):l.call(()=>D(E),C)}function D(C){let E=l.node;if(E==null)return"";let $=E&&typeof E=="object"&&C===void 0;if($&&i.has(E))return i.get(E);let P=D1(l,n,m,C,c);return $&&i.set(E,P),P}}function D1(r,n,i,l,c){var h;let{node:m}=r,{printer:D}=n,C;switch((h=D.hasPrettierIgnore)!=null&&h.call(D,r)?C=IB(r,n):c.has(m)?C=c.get(m):C=D.print(r,n,i,l),m){case n.cursorNode:C=vb(C,E=>[Xf,E,Xf]);break;case n.nodeBeforeCursor:C=vb(C,E=>[E,Xf]);break;case n.nodeAfterCursor:C=vb(C,E=>[Xf,E]);break}return D.printComment&&(!D.willPrintOwnComments||!D.willPrintOwnComments(r,n))&&(C=WO(r,C,n)),C}async function S1(r,n){let i=r.comments??[];n[Symbol.for("comments")]=i,n[Symbol.for("tokens")]=r.tokens??[],n[Symbol.for("printedComments")]=new Set,BO(r,n);let{printer:{preprocess:l}}=n;return r=l?await l(r,n):r,{ast:r,comments:i}}function jB(r,n){let{cursorOffset:i,locStart:l,locEnd:c}=n,h=Cb(n.printer.getVisitorKeys),m=O=>l(O)<=i&&c(O)>=i,D=r,C=[r];for(let O of EO(r,{getVisitorKeys:h,filter:m}))C.push(O),D=O;if(TO(D,{getVisitorKeys:h}))return{cursorNode:D};let E,$,P=-1,R=Number.POSITIVE_INFINITY;for(;C.length>0&&(E===void 0||$===void 0);){D=C.pop();let O=E!==void 0,I=$!==void 0;for(let J of Sb(D,{getVisitorKeys:h})){if(!O){let V=c(J);V<=i&&V>P&&(E=J,P=V)}if(!I){let V=l(J);V>=i&&V<R&&($=J,R=V)}}}return{nodeBeforeCursor:E,nodeAfterCursor:$}}var zB=jB;function UB(r,n){let{printer:{massageAstNode:i,getVisitorKeys:l}}=n;if(!i)return r;let c=Cb(l),h=i.ignoredProperties??new Set;return m(r);function m(D,C){if(!(D!==null&&typeof D=="object"))return D;if(Array.isArray(D))return D.map(R=>m(R,C)).filter(Boolean);let E={},$=new Set(c(D));for(let R in D)!Object.prototype.hasOwnProperty.call(D,R)||h.has(R)||($.has(R)?E[R]=m(D[R],D):E[R]=D[R]);let P=i(D,E,C);if(P!==null)return P??E}}var HB=UB,WB=(r,n,i)=>{if(!(r&&n==null)){if(n.findLastIndex)return n.findLastIndex(i);for(let l=n.length-1;l>=0;l--){let c=n[l];if(i(c,l,n))return l}return-1}},qB=WB,VB=({parser:r})=>r==="json"||r==="json5"||r==="jsonc"||r==="json-stringify";function YB(r,n){let i=[r.node,...r.parentNodes],l=new Set([n.node,...n.parentNodes]);return i.find(c=>x1.has(c.type)&&l.has(c))}function C1(r){let n=qB(!1,r,i=>i.type!=="Program"&&i.type!=="File");return n===-1?r:r.slice(0,n+1)}function GB(r,n,{locStart:i,locEnd:l}){let c=r.node,h=n.node;if(c===h)return{startNode:c,endNode:h};let m=i(r.node);for(let C of C1(n.parentNodes))if(i(C)>=m)h=C;else break;let D=l(n.node);for(let C of C1(r.parentNodes)){if(l(C)<=D)c=C;else break;if(c===h)break}return{startNode:c,endNode:h}}function n2(r,n,i,l,c=[],h){let{locStart:m,locEnd:D}=i,C=m(r),E=D(r);if(!(n>E||n<C||h==="rangeEnd"&&n===C||h==="rangeStart"&&n===E)){for(let $ of X0(r,i)){let P=n2($,n,i,l,[r,...c],h);if(P)return P}if(!l||l(r,c[0]))return{node:r,parentNodes:c}}}function XB(r,n){return n!=="DeclareExportDeclaration"&&r!=="TypeParameterDeclaration"&&(r==="Directive"||r==="TypeAlias"||r==="TSExportAssignment"||r.startsWith("Declare")||r.startsWith("TSDeclare")||r.endsWith("Statement")||r.endsWith("Declaration"))}var x1=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),JB=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function _1(r,n,i){if(!n)return!1;switch(r.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return XB(n.type,i==null?void 0:i.type);case"json":case"json5":case"jsonc":case"json-stringify":return x1.has(n.type);case"graphql":return JB.has(n.kind);case"vue":return n.tag!=="root"}return!1}function QB(r,n,i){let{rangeStart:l,rangeEnd:c,locStart:h,locEnd:m}=n;V0.ok(c>l);let D=r.slice(l,c).search(/\S/u),C=D===-1;if(!C)for(l+=D;c>l&&!/\S/u.test(r[c-1]);--c);let E=n2(i,l,n,(O,I)=>_1(n,O,I),[],"rangeStart"),$=C?E:n2(i,c,n,O=>_1(n,O),[],"rangeEnd");if(!E||!$)return{rangeStart:0,rangeEnd:0};let P,R;if(VB(n)){let O=YB(E,$);P=O,R=O}else({startNode:P,endNode:R}=GB(E,$,n));return{rangeStart:Math.min(h(P),h(R)),rangeEnd:Math.max(m(P),m(R))}}var E1="\uFEFF",T1=Symbol("cursor");async function F1(r,n,i=0){if(!r||r.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:l,text:c}=await Yg(r,n);n.cursorOffset>=0&&(n={...n,...zB(l,n)});let h=await _b(l,n);i>0&&(h=j_([Gf,h],i,n.tabWidth));let m=wb(h,n);if(i>0){let C=m.formatted.trim();m.cursorNodeStart!==void 0&&(m.cursorNodeStart-=m.formatted.indexOf(C),m.cursorNodeStart<0&&(m.cursorNodeStart=0,m.cursorNodeText=m.cursorNodeText.trimStart()),m.cursorNodeStart+m.cursorNodeText.length>C.length&&(m.cursorNodeText=m.cursorNodeText.trimEnd())),m.formatted=C+L0(n.endOfLine)}let D=n[Symbol.for("comments")];if(n.cursorOffset>=0){let C,E,$,P;if((n.cursorNode||n.nodeBeforeCursor||n.nodeAfterCursor)&&m.cursorNodeText)if($=m.cursorNodeStart,P=m.cursorNodeText,n.cursorNode)C=n.locStart(n.cursorNode),E=c.slice(C,n.locEnd(n.cursorNode));else{if(!n.nodeBeforeCursor&&!n.nodeAfterCursor)throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");C=n.nodeBeforeCursor?n.locEnd(n.nodeBeforeCursor):0;let De=n.nodeAfterCursor?n.locStart(n.nodeAfterCursor):c.length;E=c.slice(C,De)}else C=0,E=c,$=0,P=m.formatted;let R=n.cursorOffset-C;if(E===P)return{formatted:m.formatted,cursorOffset:$+R,comments:D};let O=E.split("");O.splice(R,0,T1);let I=P.split(""),J=LL(O,I),V=$;for(let De of J)if(De.removed){if(De.value.includes(T1))break}else V+=De.count;return{formatted:m.formatted,cursorOffset:V,comments:D}}return{formatted:m.formatted,cursorOffset:-1,comments:D}}async function KB(r,n){let{ast:i,text:l}=await Yg(r,n),{rangeStart:c,rangeEnd:h}=QB(l,n,i),m=l.slice(c,h),D=Math.min(c,l.lastIndexOf(`
|
|
1504
|
+
`,c)+1),C=l.slice(D,c).match(/^\s*/u)[0],E=W0(C,n.tabWidth),$=await F1(m,{...n,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:n.cursorOffset>c&&n.cursorOffset<=h?n.cursorOffset-c:-1,endOfLine:"lf"},E),P=$.formatted.trimEnd(),{cursorOffset:R}=n;R>h?R+=P.length-m.length:$.cursorOffset>=0&&(R=$.cursorOffset+c);let O=l.slice(0,c)+P+l.slice(h);if(n.endOfLine!=="lf"){let I=L0(n.endOfLine);R>=0&&I===`\r
|
|
1505
1505
|
`&&(R+=F_(O.slice(0,R),`
|
|
1506
1506
|
`)),O=db(!1,O,`
|
|
1507
|
-
`,
|
|
1507
|
+
`,I)}return{formatted:O,cursorOffset:R,comments:$.comments}}function r2(r,n,i){return typeof n!="number"||Number.isNaN(n)||n<0||n>r.length?i:n}function A1(r,n){let{cursorOffset:i,rangeStart:l,rangeEnd:c}=n;return i=r2(r,i,-1),l=r2(r,l,0),c=r2(r,c,r.length),{...n,cursorOffset:i,rangeStart:l,rangeEnd:c}}function $1(r,n){let{cursorOffset:i,rangeStart:l,rangeEnd:c,endOfLine:h}=A1(r,n),m=r.charAt(0)===E1;if(m&&(r=r.slice(1),i--,l--,c--),h==="auto"&&(h=OL(r)),r.includes("\r")){let D=C=>F_(r.slice(0,Math.max(C,0)),`\r
|
|
1508
1508
|
`);i-=D(i),l-=D(l),c-=D(c),r=BL(r)}return{hasBOM:m,text:r,options:A1(r,{...n,cursorOffset:i,rangeStart:l,rangeEnd:c,endOfLine:h})}}async function P1(r,n){let i=await b1(n);return!i.hasPragma||i.hasPragma(r)}async function N1(r,n){let{hasBOM:i,text:l,options:c}=$1(r,await Uh(n));if(c.rangeStart>=c.rangeEnd&&l!==""||c.requirePragma&&!await P1(l,c))return{formatted:r,cursorOffset:n.cursorOffset,comments:[]};let h;return c.rangeStart>0||c.rangeEnd<l.length?h=await KB(l,c):(!c.requirePragma&&c.insertPragma&&c.printer.insertPragma&&!await P1(l,c)&&(l=c.printer.insertPragma(l)),h=await F1(l,c)),i&&(h.formatted=E1+h.formatted,h.cursorOffset>=0&&h.cursorOffset++),h}async function ZB(r,n,i){let{text:l,options:c}=$1(r,await Uh(n)),h=await Yg(l,c);return i&&(i.preprocessForPrint&&(h.ast=await S1(h.ast,c)),i.massage&&(h.ast=HB(h.ast,c))),h}async function eM(r,n){n=await Uh(n);let i=await _b(r,n);return wb(i,n)}async function tM(r,n){let i=pO(r),{formatted:l}=await N1(i,{...n,parser:"__js_expression"});return l}async function nM(r,n){n=await Uh(n);let{ast:i}=await Yg(r,n);return _b(i,n)}async function rM(r,n){return wb(r,await Uh(n))}var R1={};T0(R1,{builders:()=>aM,printer:()=>iM,utils:()=>oM});var aM={join:I_,line:B_,softline:dO,hardline:Gf,literalline:M_,group:L_,conditionalGroup:iO,fill:oO,lineSuffix:M0,lineSuffixBoundary:uO,cursor:Xf,breakParent:bb,ifBreak:sO,trim:cO,indent:yb,indentIfBreak:lO,align:Oh,addAlignmentToDoc:j_,markAsRoot:rO,dedentToRoot:nO,dedent:aO,hardlineWithoutBreakParent:I0,literallineWithoutBreakParent:O_,label:fO,concat:r=>r},iM={printDocToString:wb},oM={willBreak:qL,traverseDoc:O0,findInDoc:B0,mapDoc:gb,removeLines:GL,stripTrailingHardline:R_,replaceEndOfLine:QL,canBreak:ZL},sM="3.5.3",L1={};T0(L1,{addDanglingComment:()=>Kf,addLeadingComment:()=>Mh,addTrailingComment:()=>Ih,getAlignmentSize:()=>W0,getIndentSize:()=>pM,getMaxContinuousCount:()=>gM,getNextNonSpaceNonCommentCharacter:()=>yM,getNextNonSpaceNonCommentCharacterIndex:()=>TM,getPreferredQuote:()=>kM,getStringWidth:()=>j0,hasNewline:()=>Nd,hasNewlineInRange:()=>DM,hasSpaces:()=>CM,isNextLineEmpty:()=>PM,isNextLineEmptyAfterIndex:()=>s2,isPreviousLineEmpty:()=>AM,makeString:()=>_M,skip:()=>Vg,skipEverythingButNewLine:()=>W_,skipInlineComment:()=>a2,skipNewline:()=>Qf,skipSpaces:()=>Pd,skipToLineEnd:()=>H_,skipTrailingComment:()=>i2,skipWhitespace:()=>FO});function lM(r,n){if(n===!1)return!1;if(r.charAt(n)==="/"&&r.charAt(n+1)==="*"){for(let i=n+2;i<r.length;++i)if(r.charAt(i)==="*"&&r.charAt(i+1)==="/")return i+2}return n}var a2=lM;function uM(r,n){return n===!1?!1:r.charAt(n)==="/"&&r.charAt(n+1)==="/"?W_(r,n):n}var i2=uM;function cM(r,n){let i=null,l=n;for(;l!==i;)i=l,l=Pd(r,l),l=a2(r,l),l=i2(r,l),l=Qf(r,l);return l}var o2=cM;function dM(r,n){let i=null,l=n;for(;l!==i;)i=l,l=H_(r,l),l=a2(r,l),l=Pd(r,l);return l=i2(r,l),l=Qf(r,l),l!==!1&&Nd(r,l)}var s2=dM;function fM(r,n){let i=r.lastIndexOf(`
|
|
1509
1509
|
`);return i===-1?0:W0(r.slice(i+1).match(/^[\t ]*/u)[0],n)}var pM=fM;function hM(r){if(typeof r!="string")throw new TypeError("Expected a string");return r.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function mM(r,n){let i=r.match(new RegExp(`(${hM(n)})+`,"gu"));return i===null?0:i.reduce((l,c)=>Math.max(l,c.length/n.length),0)}var gM=mM;function vM(r,n){let i=o2(r,n);return i===!1?"":r.charAt(i)}var yM=vM,Eb="'",O1='"';function bM(r,n){let i=n===!0||n===Eb?Eb:O1,l=i===Eb?O1:Eb,c=0,h=0;for(let m of r)m===i?c++:m===l&&h++;return c>h?l:i}var kM=bM;function wM(r,n,i){for(let l=n;l<i;++l)if(r.charAt(l)===`
|
|
1510
|
-
`)return!0;return!1}var DM=wM;function SM(r,n,i={}){return Pd(r,i.backwards?n-1:n,i)!==n}var CM=SM;function xM(r,n,i){let l=n==='"'?"'":'"',c=db(!1,r,/\\(.)|(["'])/gsu,(h,m,D)=>m===l?m:D===n?"\\"+D:D||(i&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(m)?m:"\\"+m));return n+c+n}var _M=xM;function EM(r,n,i){return o2(r,i(n))}function TM(r,n){return arguments.length===2||typeof n=="number"?o2(r,n):EM(...arguments)}function FM(r,n,i){return K0(r,i(n))}function AM(r,n){return arguments.length===2||typeof n=="number"?K0(r,n):FM(...arguments)}function $M(r,n,i){return s2(r,i(n))}function PM(r,n){return arguments.length===2||typeof n=="number"?s2(r,n):$M(...arguments)}function Zf(r,n=1){return async(...i)=>{let l=i[n]??{},c=l.plugins??[];return i[n]={...l,plugins:Array.isArray(c)?c:Object.values(c)},r(...i)}}var B1=Zf(N1);async function Tb(r,n){let{formatted:i}=await B1(r,{...n,cursorOffset:-1});return i}async function NM(r,n){return await Tb(r,n)===r}var RM=Zf(K_,0),LM={parse:Zf(ZB),formatAST:Zf(eM),formatDoc:Zf(tM),printToDoc:Zf(nM),printDocToString:Zf(rM)},M1={exports:{}};(function(r,n){(function(i){function l(){var c=i();return c.default||c}r.exports=l()})(function(){var i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,h=Object.prototype.hasOwnProperty,m=f=>{throw TypeError(f)},D=(f,g,k)=>g in f?i(f,g,{enumerable:!0,configurable:!0,writable:!0,value:k}):f[g]=k,C=(f,g)=>{for(var k in g)i(f,k,{get:g[k],enumerable:!0})},E=(f,g,k,x)=>{if(g&&typeof g=="object"||typeof g=="function")for(let T of c(g))!h.call(f,T)&&T!==k&&i(f,T,{get:()=>g[T],enumerable:!(x=l(g,T))||x.enumerable});return f},$=f=>E(i({},"__esModule",{value:!0}),f),P=(f,g,k)=>D(f,typeof g!="symbol"?g+"":g,k),R=(f,g,k)=>g.has(f)||m("Cannot "+k),O=(f,g,k)=>(R(f,g,"read from private field"),k?k.call(f):g.get(f)),
|
|
1510
|
+
`)return!0;return!1}var DM=wM;function SM(r,n,i={}){return Pd(r,i.backwards?n-1:n,i)!==n}var CM=SM;function xM(r,n,i){let l=n==='"'?"'":'"',c=db(!1,r,/\\(.)|(["'])/gsu,(h,m,D)=>m===l?m:D===n?"\\"+D:D||(i&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(m)?m:"\\"+m));return n+c+n}var _M=xM;function EM(r,n,i){return o2(r,i(n))}function TM(r,n){return arguments.length===2||typeof n=="number"?o2(r,n):EM(...arguments)}function FM(r,n,i){return K0(r,i(n))}function AM(r,n){return arguments.length===2||typeof n=="number"?K0(r,n):FM(...arguments)}function $M(r,n,i){return s2(r,i(n))}function PM(r,n){return arguments.length===2||typeof n=="number"?s2(r,n):$M(...arguments)}function Zf(r,n=1){return async(...i)=>{let l=i[n]??{},c=l.plugins??[];return i[n]={...l,plugins:Array.isArray(c)?c:Object.values(c)},r(...i)}}var B1=Zf(N1);async function Tb(r,n){let{formatted:i}=await B1(r,{...n,cursorOffset:-1});return i}async function NM(r,n){return await Tb(r,n)===r}var RM=Zf(K_,0),LM={parse:Zf(ZB),formatAST:Zf(eM),formatDoc:Zf(tM),printToDoc:Zf(nM),printDocToString:Zf(rM)},M1={exports:{}};(function(r,n){(function(i){function l(){var c=i();return c.default||c}r.exports=l()})(function(){var i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,h=Object.prototype.hasOwnProperty,m=f=>{throw TypeError(f)},D=(f,g,k)=>g in f?i(f,g,{enumerable:!0,configurable:!0,writable:!0,value:k}):f[g]=k,C=(f,g)=>{for(var k in g)i(f,k,{get:g[k],enumerable:!0})},E=(f,g,k,x)=>{if(g&&typeof g=="object"||typeof g=="function")for(let T of c(g))!h.call(f,T)&&T!==k&&i(f,T,{get:()=>g[T],enumerable:!(x=l(g,T))||x.enumerable});return f},$=f=>E(i({},"__esModule",{value:!0}),f),P=(f,g,k)=>D(f,typeof g!="symbol"?g+"":g,k),R=(f,g,k)=>g.has(f)||m("Cannot "+k),O=(f,g,k)=>(R(f,g,"read from private field"),k?k.call(f):g.get(f)),I=(f,g,k)=>g.has(f)?m("Cannot add the same private member more than once"):g instanceof WeakSet?g.add(f):g.set(f,k),J=(f,g,k,x)=>(R(f,g,"write to private field"),g.set(f,k),k),V={};C(V,{languages:()=>Bc,options:()=>uv,parsers:()=>wp,printers:()=>Mr});var De=(f,g,k,x)=>{if(!(f&&g==null))return g.replaceAll?g.replaceAll(k,x):k.global?g.replace(k,x):g.split(k).join(x)},q=De,W="string",K="array",X="cursor",ae="indent",ue="align",xe="trim",ye="group",Ye="fill",We="if-break",Me="indent-if-break",Qe="line-suffix",Ie="line-suffix-boundary",at="line",Le="label",Ae="break-parent",ce=new Set([X,ae,ue,xe,ye,Ye,We,Me,Qe,Ie,at,Le,Ae]),Ne=(f,g,k)=>{if(!(f&&g==null))return Array.isArray(g)||typeof g=="string"?g[k<0?g.length+k:k]:g.at(k)},Se=Ne;function Q(f){if(typeof f=="string")return W;if(Array.isArray(f))return K;if(!f)return;let{type:g}=f;if(ce.has(g))return g}var le=Q,it=f=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(f);function Je(f){let g=f===null?"null":typeof f;if(g!=="string"&&g!=="object")return`Unexpected doc '${g}',
|
|
1511
1511
|
Expected it to be 'string' or 'object'.`;if(le(f))throw new Error("doc is valid.");let k=Object.prototype.toString.call(f);if(k!=="[object Object]")return`Unexpected doc '${k}'.`;let x=it([...ce].map(T=>`'${T}'`));return`Unexpected doc.type '${f.type}'.
|
|
1512
1512
|
Expected it to be ${x}.`}var pt=class extends Error{constructor(g){super(Je(g));vg(this,"name","InvalidDocError");this.doc=g}},lt=pt;function gt(f,g){if(typeof f=="string")return g(f);let k=new Map;return x(f);function x(M){if(k.has(M))return k.get(M);let U=T(M);return k.set(M,U),U}function T(M){switch(le(M)){case K:return g(M.map(x));case Ye:return g({...M,parts:M.parts.map(x)});case We:return g({...M,breakContents:x(M.breakContents),flatContents:x(M.flatContents)});case ye:{let{expandedStates:U,contents:ve}=M;return U?(U=U.map(x),ve=U[0]):ve=x(ve),g({...M,contents:ve,expandedStates:U})}case ue:case ae:case Me:case Le:case Qe:return g({...M,contents:x(M.contents)});case W:case X:case xe:case Ie:case at:case Ae:return g(M);default:throw new lt(M)}}}function vt(f,g=pe){return gt(f,k=>typeof k=="string"?ee(g,k.split(`
|
|
1513
|
-
`)):k)}var Et=()=>{},tn=Et;function zt(f){return{type:ae,contents:f}}function zn(f,g){return{type:ue,contents:g,n:f}}function At(f,g={}){return tn(g.expandedStates),{type:ye,id:g.id,contents:f,break:!!g.shouldBreak,expandedStates:g.expandedStates}}function ot(f){return zn(Number.NEGATIVE_INFINITY,f)}function Un(f){return zn({type:"root"},f)}function yn(f){return{type:Ye,parts:f}}function br(f,g="",k={}){return{type:We,breakContents:f,flatContents:g,groupId:k.groupId}}function Xi(f,g){return{type:Me,contents:f,groupId:g.groupId,negate:g.negate}}var Rr={type:Ae},kr={type:at,hard:!0},Zn={type:at,hard:!0,literal:!0},un={type:at},bn={type:at,soft:!0},sn=[kr,Rr],pe=[Zn,Rr];function ee(f,g){let k=[];for(let x=0;x<g.length;x++)x!==0&&k.push(f),k.push(g[x]);return k}var be="'",Pe='"';function Ee(f,g){let k=g===!0||g===be?be:Pe,x=k===be?Pe:be,T=0,M=0;for(let U of f)U===k?T++:U===x&&M++;return T>M?x:k}var Be=Ee;function Xe(f){if(typeof f!="string")throw new TypeError("Expected a string");return f.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _t,Ut=class{constructor(f){
|
|
1513
|
+
`)):k)}var Et=()=>{},tn=Et;function zt(f){return{type:ae,contents:f}}function zn(f,g){return{type:ue,contents:g,n:f}}function At(f,g={}){return tn(g.expandedStates),{type:ye,id:g.id,contents:f,break:!!g.shouldBreak,expandedStates:g.expandedStates}}function ot(f){return zn(Number.NEGATIVE_INFINITY,f)}function Un(f){return zn({type:"root"},f)}function yn(f){return{type:Ye,parts:f}}function br(f,g="",k={}){return{type:We,breakContents:f,flatContents:g,groupId:k.groupId}}function Xi(f,g){return{type:Me,contents:f,groupId:g.groupId,negate:g.negate}}var Rr={type:Ae},kr={type:at,hard:!0},Zn={type:at,hard:!0,literal:!0},un={type:at},bn={type:at,soft:!0},sn=[kr,Rr],pe=[Zn,Rr];function ee(f,g){let k=[];for(let x=0;x<g.length;x++)x!==0&&k.push(f),k.push(g[x]);return k}var be="'",Pe='"';function Ee(f,g){let k=g===!0||g===be?be:Pe,x=k===be?Pe:be,T=0,M=0;for(let U of f)U===k?T++:U===x&&M++;return T>M?x:k}var Be=Ee;function Xe(f){if(typeof f!="string")throw new TypeError("Expected a string");return f.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var _t,Ut=class{constructor(f){I(this,_t),J(this,_t,new Set(f))}getLeadingWhitespaceCount(f){let g=O(this,_t),k=0;for(let x=0;x<f.length&&g.has(f.charAt(x));x++)k++;return k}getTrailingWhitespaceCount(f){let g=O(this,_t),k=0;for(let x=f.length-1;x>=0&&g.has(f.charAt(x));x--)k++;return k}getLeadingWhitespace(f){let g=this.getLeadingWhitespaceCount(f);return f.slice(0,g)}getTrailingWhitespace(f){let g=this.getTrailingWhitespaceCount(f);return f.slice(f.length-g)}hasLeadingWhitespace(f){return O(this,_t).has(f.charAt(0))}hasTrailingWhitespace(f){return O(this,_t).has(Se(!1,f,-1))}trimStart(f){let g=this.getLeadingWhitespaceCount(f);return f.slice(g)}trimEnd(f){let g=this.getTrailingWhitespaceCount(f);return f.slice(0,f.length-g)}trim(f){return this.trimEnd(this.trimStart(f))}split(f,g=!1){let k=`[${Xe([...O(this,_t)].join(""))}]+`,x=new RegExp(g?`(${k})`:k,"u");return f.split(x)}hasWhitespaceCharacter(f){let g=O(this,_t);return Array.prototype.some.call(f,k=>g.has(k))}hasNonWhitespaceCharacter(f){let g=O(this,_t);return Array.prototype.some.call(f,k=>!g.has(k))}isWhitespaceOnly(f){let g=O(this,_t);return Array.prototype.every.call(f,k=>g.has(k))}};_t=new WeakMap;var Sn=Ut,_n=[" ",`
|
|
1514
1514
|
`,"\f","\r"," "],Er=new Sn(_n),kn=Er,ha=class extends Error{constructor(g,k,x="type"){super(`Unexpected ${k} node ${x}: ${JSON.stringify(g[x])}.`);vg(this,"name","UnexpectedNodeError");this.node=g}},mr=ha;function Hn(f){return(f==null?void 0:f.type)==="front-matter"}var ma=Hn,ga=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Si=new Set(["if","else if","for","switch","case"]);function Co(f,g){var k;if(f.type==="text"||f.type==="comment"||ma(f)||f.type==="yaml"||f.type==="toml")return null;if(f.type==="attribute"&&delete g.value,f.type==="docType"&&delete g.value,f.type==="angularControlFlowBlock"&&(k=f.parameters)!=null&&k.children)for(let x of g.parameters.children)Si.has(f.name)?delete x.expression:x.expression=x.expression.trim();f.type==="angularIcuExpression"&&(g.switchValue=f.switchValue.trim()),f.type==="angularLetDeclarationInitializer"&&delete g.value}Co.ignoredProperties=ga;var vl=Co;async function yl(f,g){if(f.language==="yaml"){let k=f.value.trim(),x=k?await g(k,{parser:"yaml"}):"";return Un([f.startDelimiter,f.explicitLanguage,sn,x,x?sn:"",f.endDelimiter])}}var Ps=yl;function Ji(f,g=!0){return[zt([bn,f]),g?bn:""]}function Ci(f,g){let k=f.type==="NGRoot"?f.node.type==="NGMicrosyntax"&&f.node.body.length===1&&f.node.body[0].type==="NGMicrosyntaxExpression"?f.node.body[0].expression:f.node:f.type==="JsExpressionRoot"?f.node:f;return k&&(k.type==="ObjectExpression"||k.type==="ArrayExpression"||(g.parser==="__vue_expression"||g.parser==="__vue_ts_expression")&&(k.type==="TemplateLiteral"||k.type==="StringLiteral"))}async function lr(f,g,k,x){k={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...k};let T=!0;x&&(k.__onHtmlBindingRoot=(U,ve)=>{T=x(U,ve)});let M=await g(f,k,g);return T?At(M):Ji(M)}function xa(f,g,k,x){let{node:T}=k,M=x.originalText.slice(T.sourceSpan.start.offset,T.sourceSpan.end.offset);return/^\s*$/u.test(M)?"":lr(M,f,{parser:"__ng_directive",__isInHtmlAttribute:!1},Ci)}var aa=xa,xo=f=>String(f).split(/[/\\]/u).pop();function xi(f,g){if(!g)return;let k=xo(g).toLowerCase();return f.find(({filenames:x})=>x==null?void 0:x.some(T=>T.toLowerCase()===k))??f.find(({extensions:x})=>x==null?void 0:x.some(T=>k.endsWith(T)))}function _o(f,g){if(g)return f.find(({name:k})=>k.toLowerCase()===g)??f.find(({aliases:k})=>k==null?void 0:k.includes(g))??f.find(({extensions:k})=>k==null?void 0:k.includes(`.${g}`))}function Eo(f,g){let k=f.plugins.flatMap(T=>T.languages??[]),x=_o(k,g.language)??xi(k,g.physicalFile)??xi(k,g.file)??(g.physicalFile,void 0);return x==null?void 0:x.parsers[0]}var G=Eo,Fe="inline",et={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",details:"block",summary:"block",marquee:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},ft="normal",Ht={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function It(f){return f.type==="element"&&!f.hasExplicitNamespace&&!["html","svg"].includes(f.namespace)}var Vt=It,nn=f=>q(!1,f,/^[\t\f\r ]*\n/gu,""),wr=f=>nn(kn.trimEnd(f)),er=f=>{let g=f,k=kn.getLeadingWhitespace(g);k&&(g=g.slice(k.length));let x=kn.getTrailingWhitespace(g);return x&&(g=g.slice(0,-x.length)),{leadingWhitespace:k,trailingWhitespace:x,text:g}};function tr(f,g){return!!(f.type==="ieConditionalComment"&&f.lastChild&&!f.lastChild.isSelfClosing&&!f.lastChild.endSourceSpan||f.type==="ieConditionalComment"&&!f.complete||To(f)&&f.children.some(k=>k.type!=="text"&&k.type!=="interpolation")||Tr(f,g)&&!Tt(f)&&f.type!=="interpolation")}function Lr(f){return f.type==="attribute"||!f.parent||!f.prev?!1:Qi(f.prev)}function Qi(f){return f.type==="comment"&&f.value.trim()==="prettier-ignore"}function Dr(f){return f.type==="text"||f.type==="comment"}function Tt(f){return f.type==="element"&&(f.fullName==="script"||f.fullName==="style"||f.fullName==="svg:style"||f.fullName==="svg:script"||Vt(f)&&(f.name==="script"||f.name==="style"))}function Qt(f){return f.children&&!Tt(f)}function Ki(f){return Tt(f)||f.type==="interpolation"||Ns(f)}function Ns(f){return Cl(f).startsWith("pre")}function bl(f,g){var k,x;let T=M();if(T&&!f.prev&&(x=(k=f.parent)==null?void 0:k.tagDefinition)!=null&&x.ignoreFirstLf)return f.type==="interpolation";return T;function M(){return ma(f)||f.type==="angularControlFlowBlock"?!1:(f.type==="text"||f.type==="interpolation")&&f.prev&&(f.prev.type==="text"||f.prev.type==="interpolation")?!0:!f.parent||f.parent.cssDisplay==="none"?!1:To(f.parent)?!0:!(!f.prev&&(f.parent.type==="root"||To(f)&&f.parent||Tt(f.parent)||$n(f.parent,g)||!rp(f.parent.cssDisplay))||f.prev&&!xu(f.prev.cssDisplay))}}function Rs(f,g){return ma(f)||f.type==="angularControlFlowBlock"?!1:(f.type==="text"||f.type==="interpolation")&&f.next&&(f.next.type==="text"||f.next.type==="interpolation")?!0:!f.parent||f.parent.cssDisplay==="none"?!1:To(f.parent)?!0:!(!f.next&&(f.parent.type==="root"||To(f)&&f.parent||Tt(f.parent)||$n(f.parent,g)||!ts(f.parent.cssDisplay))||f.next&&!En(f.next.cssDisplay))}function Du(f){return wn(f.cssDisplay)&&!Tt(f)}function Zi(f){return ma(f)||f.next&&f.sourceSpan.end&&f.sourceSpan.end.line+1<f.next.sourceSpan.start.line}function Wa(f){return Su(f)||f.type==="element"&&f.children.length>0&&(["body","script","style"].includes(f.name)||f.children.some(g=>eo(g)))||f.firstChild&&f.firstChild===f.lastChild&&f.firstChild.type!=="text"&&kl(f.firstChild)&&(!f.lastChild.isTrailingSpaceSensitive||es(f.lastChild))}function Su(f){return f.type==="element"&&f.children.length>0&&(["html","head","ul","ol","select"].includes(f.name)||f.cssDisplay.startsWith("table")&&f.cssDisplay!=="table-cell")}function ia(f){return qa(f)||f.prev&&Bd(f.prev)||Fc(f)}function Bd(f){return qa(f)||f.type==="element"&&f.fullName==="br"||Fc(f)}function Fc(f){return kl(f)&&es(f)}function kl(f){return f.hasLeadingSpaces&&(f.prev?f.prev.sourceSpan.end.line<f.sourceSpan.start.line:f.parent.type==="root"||f.parent.startSourceSpan.end.line<f.sourceSpan.start.line)}function es(f){return f.hasTrailingSpaces&&(f.next?f.next.sourceSpan.start.line>f.sourceSpan.end.line:f.parent.type==="root"||f.parent.endSourceSpan&&f.parent.endSourceSpan.start.line>f.sourceSpan.end.line)}function qa(f){switch(f.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(f.name)}return!1}function ii(f){return f.lastChild?ii(f.lastChild):f}function eo(f){var g;return(g=f.children)==null?void 0:g.some(k=>k.type!=="text")}function wl(f){if(f)switch(f){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(f.endsWith("json")||f.endsWith("importmap")||f==="speculationrules")return"json"}}function Dl(f,g){let{name:k,attrMap:x}=f;if(k!=="script"||Object.prototype.hasOwnProperty.call(x,"src"))return;let{type:T,lang:M}=f.attrMap;return!M&&!T?"babel":G(g,{language:M})??wl(T)}function Ls(f,g){if(!Tr(f,g))return;let{attrMap:k}=f;if(Object.prototype.hasOwnProperty.call(k,"src"))return;let{type:x,lang:T}=k;return G(g,{language:T})??wl(x)}function Cu(f,g){if(f.name!=="style")return;let{lang:k}=f.attrMap;return k?G(g,{language:k}):"css"}function Sl(f,g){return Dl(f,g)??Cu(f,g)??Ls(f,g)}function oi(f){return f==="block"||f==="list-item"||f.startsWith("table")}function rp(f){return!oi(f)&&f!=="inline-block"}function ts(f){return!oi(f)&&f!=="inline-block"}function En(f){return!oi(f)}function xu(f){return!oi(f)}function wn(f){return!oi(f)&&f!=="inline-block"}function To(f){return Cl(f).startsWith("pre")}function Fo(f,g){let k=f;for(;k;){if(g(k))return!0;k=k.parent}return!1}function Bt(f,g){var k;if(si(f,g))return"block";if(((k=f.prev)==null?void 0:k.type)==="comment"){let T=f.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(T)return T[1]}let x=!1;if(f.type==="element"&&f.namespace==="svg")if(Fo(f,T=>T.fullName==="svg:foreignObject"))x=!0;else return f.name==="svg"?"inline-block":"block";switch(g.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return f.type==="element"&&(!f.namespace||x||Vt(f))&&et[f.name]||Fe}}function Cl(f){return f.type==="element"&&(!f.namespace||Vt(f))&&Ht[f.name]||ft}function oa(f){let g=Number.POSITIVE_INFINITY;for(let k of f.split(`
|
|
1515
1515
|
`)){if(k.length===0)continue;let x=kn.getLeadingWhitespaceCount(k);if(x===0)return 0;k.length!==x&&x<g&&(g=x)}return g===Number.POSITIVE_INFINITY?0:g}function to(f,g=oa(f)){return g===0?f:f.split(`
|
|
1516
1516
|
`).map(k=>k.slice(g)).join(`
|
|
@@ -1529,20 +1529,20 @@ If '${f}' is a directive input, make sure the directive is imported by the curre
|
|
|
1529
1529
|
`){let M=this._getContainer();M!=null&&M.children.length===0&&this.getTagDefinition(M.name).ignoreFirstLf&&(T=T.substring(1),k[0]={type:g.type,sourceSpan:g.sourceSpan,parts:[T]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)g=this._advance(),k.push(g),g.type===8?T+=g.parts.join("").replace(/&([^;]+);/g,Xa):g.type===9?T+=g.parts[0]:T+=g.parts.join("");if(T.length>0){let M=g.sourceSpan;this._addToParent(new Wr(T,new rn(x.start,M.end,x.fullStart,x.details),k))}}_closeVoidElement(){let g=this._getContainer();g instanceof fs&&this.getTagDefinition(g.name).isVoid&&this._containerStack.pop()}_consumeStartTag(g){let[k,x]=g.parts,T=[];for(;this._peek.type===14;)T.push(this._consumeAttr(this._advance()));let M=this._getElementFullName(k,x,this._getClosestParentElement()),U=!1;if(this._peek.type===2){this._advance(),U=!0;let Xt=this.getTagDefinition(M);this.canSelfClose||Xt.canSelfClose||ci(M)!==null||Xt.isVoid||this.errors.push(Qr.create(M,g.sourceSpan,`Only void, custom and foreign elements can be self closed "${g.parts[1]}"`))}else this._peek.type===1&&(this._advance(),U=!1);let ve=this._peek.sourceSpan.fullStart,ze=new rn(g.sourceSpan.start,ve,g.sourceSpan.fullStart),nt=new rn(g.sourceSpan.start,ve,g.sourceSpan.fullStart),Ve=new rn(g.sourceSpan.start.moveBy(1),g.sourceSpan.end),Gt=new fs(M,T,[],ze,nt,void 0,Ve),Kt=this._getContainer();this._pushContainer(Gt,Kt instanceof fs&&this.getTagDefinition(Kt.name).isClosedByChild(Gt.name)),U?this._popContainer(M,fs,ze):g.type===4&&(this._popContainer(M,fs,null),this.errors.push(Qr.create(M,ze,`Opening tag "${M}" not terminated.`)))}_pushContainer(g,k){k&&this._containerStack.pop(),this._addToParent(g),this._containerStack.push(g)}_consumeEndTag(g){let k=this.allowHtmComponentClosingTags&&g.parts.length===0?null:this._getElementFullName(g.parts[0],g.parts[1],this._getClosestParentElement());if(k&&this.getTagDefinition(k).isVoid)this.errors.push(Qr.create(k,g.sourceSpan,`Void elements do not have end tags "${g.parts[1]}"`));else if(!this._popContainer(k,fs,g.sourceSpan)){let x=`Unexpected closing tag "${k}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Qr.create(k,g.sourceSpan,x))}}_popContainer(g,k,x){let T=!1;for(let M=this._containerStack.length-1;M>=0;M--){let U=this._containerStack[M];if(ci(U.name)?U.name===g:(g==null||U.name.toLowerCase()===g.toLowerCase())&&U instanceof k)return U.endSourceSpan=x,U.sourceSpan.end=x!==null?x.end:U.sourceSpan.end,this._containerStack.splice(M,this._containerStack.length-M),!T;(U instanceof ps||U instanceof fs&&!this.getTagDefinition(U.name).closedByParent)&&(T=!0)}return!1}_consumeAttr(g){let k=zc(g.parts[0],g.parts[1]),x=g.sourceSpan.end,T;this._peek.type===15&&(T=this._advance());let M="",U=[],ve,ze;if(this._peek.type===16)for(ve=this._peek.sourceSpan,ze=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let Ve=this._advance();U.push(Ve),Ve.type===17?M+=Ve.parts.join("").replace(/&([^;]+);/g,Xa):Ve.type===9?M+=Ve.parts[0]:M+=Ve.parts.join(""),ze=x=Ve.sourceSpan.end}this._peek.type===15&&(ze=x=this._advance().sourceSpan.end);let nt=ve&&ze&&new rn((T==null?void 0:T.sourceSpan.start)??ve.start,ze,(T==null?void 0:T.sourceSpan.fullStart)??ve.fullStart);return new Wu(k,M,new rn(g.sourceSpan.start,x,g.sourceSpan.fullStart),g.sourceSpan,nt,U.length>0?U:void 0,void 0)}_consumeBlockOpen(g){let k=[];for(;this._peek.type===28;){let ve=this._advance();k.push(new oo(ve.parts[0],ve.sourceSpan))}this._peek.type===26&&this._advance();let x=this._peek.sourceSpan.fullStart,T=new rn(g.sourceSpan.start,x,g.sourceSpan.fullStart),M=new rn(g.sourceSpan.start,x,g.sourceSpan.fullStart),U=new ps(g.parts[0],k,[],T,g.sourceSpan,M);this._pushContainer(U,!1)}_consumeBlockClose(g){this._popContainer(null,ps,g.sourceSpan)||this.errors.push(Qr.create(null,g.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(g){let k=[];for(;this._peek.type===28;){let ve=this._advance();k.push(new oo(ve.parts[0],ve.sourceSpan))}let x=this._peek.sourceSpan.fullStart,T=new rn(g.sourceSpan.start,x,g.sourceSpan.fullStart),M=new rn(g.sourceSpan.start,x,g.sourceSpan.fullStart),U=new ps(g.parts[0],k,[],T,g.sourceSpan,M);this._pushContainer(U,!1),this._popContainer(null,ps,null),this.errors.push(Qr.create(g.parts[0],T,`Incomplete block "${g.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(g){let k=g.parts[0],x,T;if(this._peek.type!==31){this.errors.push(Qr.create(g.parts[0],g.sourceSpan,`Invalid @let declaration "${k}". Declaration must have a value.`));return}else x=this._advance();if(this._peek.type!==32){this.errors.push(Qr.create(g.parts[0],g.sourceSpan,`Unterminated @let declaration "${k}". Declaration must be terminated with a semicolon.`));return}else T=this._advance();let M=T.sourceSpan.fullStart,U=new rn(g.sourceSpan.start,M,g.sourceSpan.fullStart),ve=g.sourceSpan.toString().lastIndexOf(k),ze=g.sourceSpan.start.moveBy(ve),nt=new rn(ze,g.sourceSpan.end),Ve=new Bl(k,x.parts[0],U,nt,x.sourceSpan);this._addToParent(Ve)}_consumeIncompleteLet(g){let k=g.parts[0]??"",x=k?` "${k}"`:"";if(k.length>0){let T=g.sourceSpan.toString().lastIndexOf(k),M=g.sourceSpan.start.moveBy(T),U=new rn(M,g.sourceSpan.end),ve=new rn(g.sourceSpan.start,g.sourceSpan.start.moveBy(0)),ze=new Bl(k,"",g.sourceSpan,U,ve);this._addToParent(ze)}this.errors.push(Qr.create(g.parts[0],g.sourceSpan,`Incomplete @let declaration${x}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let g=this._containerStack.length-1;g>-1;g--)if(this._containerStack[g]instanceof fs)return this._containerStack[g];return null}_addToParent(g){let k=this._getContainer();k===null?this.rootNodes.push(g):k.children.push(g)}_getElementFullName(g,k,x){if(g===""&&(g=this.getTagDefinition(k).implicitNamespacePrefix||"",g===""&&x!=null)){let T=cs(x.name)[1];this.getTagDefinition(T).preventNamespaceInheritance||(g=ci(x.name))}return zc(g,k)}};function tt(f,g){return f.length>0&&f[f.length-1]===g}function Xa(f,g){return so[g]!==void 0?so[g]||f:/^#x[a-f0-9]+$/i.test(g)?String.fromCodePoint(parseInt(g.slice(2),16)):/^#\d+$/.test(g)?String.fromCodePoint(parseInt(g.slice(1),10)):f}var Ja=class extends Il{constructor(){super(ya)}parse(f,g,k,x=!1,T){return super.parse(f,g,k,x,T)}},Js=null,xp=()=>(Js||(Js=new Ja),Js);function nf(f,g={}){let{canSelfClose:k=!1,allowHtmComponentClosingTags:x=!1,isTagNameCaseSensitive:T=!1,getTagContentType:M,tokenizeAngularBlocks:U=!1,tokenizeAngularLetDeclaration:ve=!1}=g;return xp().parse(f,"angular-html-parser",{tokenizeExpansionForms:U,interpolationConfig:void 0,canSelfClose:k,allowHtmComponentClosingTags:x,tokenizeBlocks:U,tokenizeLet:ve},T,M)}function _p(f,g){let k=new SyntaxError(f+" ("+g.loc.start.line+":"+g.loc.start.column+")");return Object.assign(k,g)}var Ep=_p,rr=3;function Oi(f){let g=f.slice(0,rr);if(g!=="---"&&g!=="+++")return;let k=f.indexOf(`
|
|
1530
1530
|
`,rr);if(k===-1)return;let x=f.slice(rr,k).trim(),T=f.indexOf(`
|
|
1531
1531
|
${g}`,k),M=x;if(M||(M=g==="+++"?"toml":"yaml"),T===-1&&g==="---"&&M==="yaml"&&(T=f.indexOf(`
|
|
1532
|
-
...`,k)),T===-1)return;let U=T+1+rr,ve=f.charAt(U+1);if(!/\s?/u.test(ve))return;let ze=f.slice(0,U);return{type:"front-matter",language:M,explicitLanguage:x,value:f.slice(k+1,T),startDelimiter:g,endDelimiter:ze.slice(-3),raw:ze}}function jl(f){let g=Oi(f);if(!g)return{content:f};let{raw:k}=g;return{frontMatter:g,content:q(!1,k,/[^\n]/gu," ")+f.slice(k.length)}}var Tp=jl,Yu={attrs:!0,children:!0,cases:!0,expression:!0},Qa=new Set(["parent"]),Kr,qc,rf,ms=class My{constructor(g={}){j(this,Kr),P(this,"type"),P(this,"parent");for(let k of new Set([...Qa,...Object.keys(g)]))this.setProperty(k,g[k])}setProperty(g,k){if(this[g]!==k){if(g in Yu&&(k=k.map(x=>this.createChild(x))),!Qa.has(g)){this[g]=k;return}Object.defineProperty(this,g,{value:k,enumerable:!1,configurable:!0})}}map(g){let k;for(let x in Yu){let T=this[x];if(T){let M=af(T,U=>U.map(g));k!==T&&(k||(k=new My({parent:this.parent})),k.setProperty(x,M))}}if(k)for(let x in this)x in Yu||(k[x]=this[x]);return g(k||this)}walk(g){for(let k in Yu){let x=this[k];if(x)for(let T=0;T<x.length;T++)x[T].walk(g)}g(this)}createChild(g){let k=g instanceof My?g.clone():new My(g);return k.setProperty("parent",this),k}insertChildBefore(g,k){let x=this.$children;x.splice(x.indexOf(g),0,this.createChild(k))}removeChild(g){let k=this.$children;k.splice(k.indexOf(g),1)}replaceChild(g,k){let x=this.$children;x[x.indexOf(g)]=this.createChild(k)}clone(){return new My(this)}get $children(){return this[O(this,Kr,qc)]}set $children(g){this[O(this,Kr,qc)]=g}get firstChild(){var g;return(g=this.$children)==null?void 0:g[0]}get lastChild(){return Se(!0,this.$children,-1)}get prev(){let g=O(this,Kr,rf);return g[g.indexOf(this)-1]}get next(){let g=O(this,Kr,rf);return g[g.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(g=>[g.fullName,g.value]))}};Kr=new WeakSet,qc=function(){return this.type==="angularIcuCase"?"expression":this.type==="angularIcuExpression"?"cases":"children"},rf=function(){var f;return((f=this.parent)==null?void 0:f.$children)??[]};var Qs=ms;function af(f,g){let k=f.map(g);return k.some((x,T)=>x!==f[T])?k:f}var pm=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:Fp},{regex:/^\[if([^\]]*)\]><!$/u,parse:Yc},{regex:/^<!\s*\[endif\]$/u,parse:jo}];function Vc(f,g){if(f.value)for(let{regex:k,parse:x}of pm){let T=f.value.match(k);if(T)return x(f,g,T)}return null}function Fp(f,g,k){let[,x,T,M]=k,U=4+x.length,ve=f.sourceSpan.start.moveBy(U),ze=ve.moveBy(M.length),[nt,Ve]=(()=>{try{return[!0,g(M,ve).children]}catch{return[!1,[{type:"text",value:M,sourceSpan:new rn(ve,ze)}]]}})();return{type:"ieConditionalComment",complete:nt,children:Ve,condition:q(!1,T.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan,startSourceSpan:new rn(f.sourceSpan.start,ve),endSourceSpan:new rn(ze,f.sourceSpan.end)}}function Yc(f,g,k){let[,x]=k;return{type:"ieConditionalStartComment",condition:q(!1,x.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan}}function jo(f){return{type:"ieConditionalEndComment",sourceSpan:f.sourceSpan}}var zl=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),Gc=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function Ul(f){if(f.type==="block"){if(f.name=q(!1,f.name.toLowerCase(),/\s+/gu," ").trim(),f.type="angularControlFlowBlock",!lp(f.parameters)){delete f.parameters;return}for(let g of f.parameters)g.type="angularControlFlowBlockParameter";f.parameters={type:"angularControlFlowBlockParameters",children:f.parameters,sourceSpan:new rn(f.parameters[0].sourceSpan.start,Se(!1,f.parameters,-1).sourceSpan.end)}}}function Ap(f){f.type==="letDeclaration"&&(f.type="angularLetDeclaration",f.id=f.name,f.init={type:"angularLetDeclarationInitializer",sourceSpan:new rn(f.valueSpan.start,f.valueSpan.end),value:f.value},delete f.name,delete f.value)}function Hl(f){(f.type==="plural"||f.type==="select")&&(f.clause=f.type,f.type="angularIcuExpression"),f.type==="expansionCase"&&(f.type="angularIcuCase")}function $p(f,g,k){let{name:x,canSelfClose:T=!0,normalizeTagName:M=!1,normalizeAttributeName:U=!1,allowHtmComponentClosingTags:ve=!1,isTagNameCaseSensitive:ze=!1,shouldParseAsRawText:nt}=g,{rootNodes:Ve,errors:Gt}=nf(f,{canSelfClose:T,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:ze,getTagContentType:nt?(...ht)=>nt(...ht)?Ai.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:x==="angular"?!0:void 0,tokenizeAngularLetDeclaration:x==="angular"?!0:void 0});if(x==="vue"){if(Ve.some(vr=>vr.type==="docType"&&vr.value==="html"||vr.type==="element"&&vr.name.toLowerCase()==="html"))return $p(f,xt,k);let ht,on=()=>ht??(ht=nf(f,{canSelfClose:T,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:ze})),xr=vr=>on().rootNodes.find(({startSourceSpan:$r})=>$r&&$r.start.offset===vr.startSourceSpan.start.offset)??vr;for(let[vr,$r]of Ve.entries()){let{endSourceSpan:gs,startSourceSpan:Gu}=$r;if(gs===null)Gt=on().errors,Ve[vr]=xr($r);else if(of($r,k)){let Wl=on().errors.find(Jc=>Jc.span.start.offset>Gu.start.offset&&Jc.span.start.offset<gs.end.offset);Wl&&hr(Wl),Ve[vr]=xr($r)}}}Gt.length>0&&hr(Gt[0]);let Kt=ht=>{let on=ht.name.startsWith(":")?ht.name.slice(1).split(":")[0]:null,xr=ht.nameSpan.toString(),vr=on!==null&&xr.startsWith(`${on}:`),$r=vr?xr.slice(on.length+1):xr;ht.name=$r,ht.namespace=on,ht.hasExplicitNamespace=vr},Xt=ht=>{switch(ht.type){case"element":Kt(ht);for(let on of ht.attrs)Kt(on),on.valueSpan?(on.value=on.valueSpan.toString(),/["']/u.test(on.value[0])&&(on.value=on.value.slice(1,-1))):on.value=null;break;case"comment":ht.value=ht.sourceSpan.toString().slice(4,-3);break;case"text":ht.value=ht.sourceSpan.toString();break}},In=(ht,on)=>{let xr=ht.toLowerCase();return on(xr)?xr:ht},Cr=ht=>{if(ht.type==="element"&&(M&&(!ht.namespace||ht.namespace===ht.tagDefinition.implicitNamespacePrefix||Vt(ht))&&(ht.name=In(ht.name,on=>Gc.has(on))),U))for(let on of ht.attrs)on.namespace||(on.name=In(on.name,xr=>zl.has(ht.name)&&(zl.get("*").has(xr)||zl.get(ht.name).has(xr))))},Ir=ht=>{ht.sourceSpan&&ht.endSourceSpan&&(ht.sourceSpan=new rn(ht.sourceSpan.start,ht.endSourceSpan.end))},qr=ht=>{if(ht.type==="element"){let on=ya(ze?ht.name:ht.name.toLowerCase());!ht.namespace||ht.namespace===on.implicitNamespacePrefix||Vt(ht)?ht.tagDefinition=on:ht.tagDefinition=ya("")}};return Lo(new class extends tf{visitExpansionCase(ht,on){x==="angular"&&this.visitChildren(on,xr=>{xr(ht.expression)})}visit(ht){Xt(ht),qr(ht),Cr(ht),Ir(ht)}},Ve),Ve}function of(f,g){var k;if(f.type!=="element"||f.name!=="template")return!1;let x=(k=f.attrs.find(T=>T.name==="lang"))==null?void 0:k.value;return!x||G(g,{language:x})==="html"}function hr(f){let{msg:g,span:{start:k,end:x}}=f;throw Ep(g,{loc:{start:{line:k.line+1,column:k.col+1},end:{line:x.line+1,column:x.col+1}},cause:f})}function Xc(f,g,k={},x=!0){let{frontMatter:T,content:M}=x?Tp(f):{frontMatter:null,content:f},U=new vp(f,k.filepath),ve=new Yd(U,0,0,0),ze=ve.moveBy(f.length),nt={type:"root",sourceSpan:new rn(ve,ze),children:$p(M,g,k)};if(T){let Kt=new Yd(U,0,0,0),Xt=Kt.moveBy(T.raw.length);T.sourceSpan=new rn(Kt,Xt),nt.children.unshift(T)}let Ve=new Qs(nt),Gt=(Kt,Xt)=>{let{offset:In}=Xt,Cr=q(!1,f.slice(0,In),/[^\n\r]/gu," "),Ir=Xc(Cr+Kt,g,k,!1);Ir.sourceSpan=new rn(Xt,Se(!1,Ir.children,-1).sourceSpan.end);let qr=Ir.children[0];return qr.length===In?Ir.children.shift():(qr.sourceSpan=new rn(qr.sourceSpan.start.moveBy(In),qr.sourceSpan.end),qr.value=qr.value.slice(In)),Ir};return Ve.walk(Kt=>{if(Kt.type==="comment"){let Xt=Vc(Kt,Gt);Xt&&Kt.parent.replaceChild(Kt,Xt)}Ul(Kt),Ap(Kt),Hl(Kt)}),Ve}function Ks(f){return{parse:(g,k)=>Xc(g,f,k),hasPragma:im,astFormat:"html",locStart:li,locEnd:El}}var xt={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},an=Ks(xt),Tn=Ks({name:"angular"}),Yn=Ks({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(f,g,k,x){return f.toLowerCase()!=="html"&&!k&&(f!=="template"||x.some(({name:T,value:M})=>T==="lang"&&M!=="html"&&M!==""&&M!==void 0))}}),Fn=Ks({name:"lwc",canSelfClose:!1}),Mr={html:zu};return $(V)})})(M1);var I1=M1.exports;const j1=F$({__proto__:null,default:Iy(I1)},[I1]);function OM(r,n){if(r==null)return{};var i={};for(var l in r)if({}.hasOwnProperty.call(r,l)){if(n.indexOf(l)!==-1)continue;i[l]=r[l]}return i}function BM(r,n){if(r==null)return{};var i,l,c=OM(r,n);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(r);for(l=0;l<h.length;l++)i=h[l],n.indexOf(i)===-1&&{}.propertyIsEnumerable.call(r,i)&&(c[i]=r[i])}return c}function l2(r,n){(n==null||n>r.length)&&(n=r.length);for(var i=0,l=Array(n);i<n;i++)l[i]=r[i];return l}function MM(r){if(Array.isArray(r))return l2(r)}function IM(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function jM(r,n){if(r){if(typeof r=="string")return l2(r,n);var i={}.toString.call(r).slice(8,-1);return i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set"?Array.from(r):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l2(r,n):void 0}}function zM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1533
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u2(r){return MM(r)||IM(r)||jM(r)||zM()}function Gg(r){"@babel/helpers - typeof";return Gg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Gg(r)}function UM(r,n){if(Gg(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var l=i.call(r,n);if(Gg(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}function HM(r){var n=UM(r,"string");return Gg(n)=="symbol"?n:n+""}function z1(r,n,i){return(n=HM(n))in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,r}function c2(){return c2=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var l in i)({}).hasOwnProperty.call(i,l)&&(r[l]=i[l])}return r},c2.apply(null,arguments)}function U1(r,n){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);n&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),i.push.apply(i,l)}return i}function Hh(r){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?U1(Object(i),!0).forEach(function(l){z1(r,l,i[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):U1(Object(i)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(i,l))})}return r}function WM(r){var n=r.length;if(n===0||n===1)return r;if(n===2)return[r[0],r[1],"".concat(r[0],".").concat(r[1]),"".concat(r[1],".").concat(r[0])];if(n===3)return[r[0],r[1],r[2],"".concat(r[0],".").concat(r[1]),"".concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[0]),"".concat(r[1],".").concat(r[2]),"".concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[1]),"".concat(r[0],".").concat(r[1],".").concat(r[2]),"".concat(r[0],".").concat(r[2],".").concat(r[1]),"".concat(r[1],".").concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[0],".").concat(r[1]),"".concat(r[2],".").concat(r[1],".").concat(r[0])];if(n>=4)return[r[0],r[1],r[2],r[3],"".concat(r[0],".").concat(r[1]),"".concat(r[0],".").concat(r[2]),"".concat(r[0],".").concat(r[3]),"".concat(r[1],".").concat(r[0]),"".concat(r[1],".").concat(r[2]),"".concat(r[1],".").concat(r[3]),"".concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[1]),"".concat(r[2],".").concat(r[3]),"".concat(r[3],".").concat(r[0]),"".concat(r[3],".").concat(r[1]),"".concat(r[3],".").concat(r[2]),"".concat(r[0],".").concat(r[1],".").concat(r[2]),"".concat(r[0],".").concat(r[1],".").concat(r[3]),"".concat(r[0],".").concat(r[2],".").concat(r[1]),"".concat(r[0],".").concat(r[2],".").concat(r[3]),"".concat(r[0],".").concat(r[3],".").concat(r[1]),"".concat(r[0],".").concat(r[3],".").concat(r[2]),"".concat(r[1],".").concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[0],".").concat(r[3]),"".concat(r[1],".").concat(r[2],".").concat(r[0]),"".concat(r[1],".").concat(r[2],".").concat(r[3]),"".concat(r[1],".").concat(r[3],".").concat(r[0]),"".concat(r[1],".").concat(r[3],".").concat(r[2]),"".concat(r[2],".").concat(r[0],".").concat(r[1]),"".concat(r[2],".").concat(r[0],".").concat(r[3]),"".concat(r[2],".").concat(r[1],".").concat(r[0]),"".concat(r[2],".").concat(r[1],".").concat(r[3]),"".concat(r[2],".").concat(r[3],".").concat(r[0]),"".concat(r[2],".").concat(r[3],".").concat(r[1]),"".concat(r[3],".").concat(r[0],".").concat(r[1]),"".concat(r[3],".").concat(r[0],".").concat(r[2]),"".concat(r[3],".").concat(r[1],".").concat(r[0]),"".concat(r[3],".").concat(r[1],".").concat(r[2]),"".concat(r[3],".").concat(r[2],".").concat(r[0]),"".concat(r[3],".").concat(r[2],".").concat(r[1]),"".concat(r[0],".").concat(r[1],".").concat(r[2],".").concat(r[3]),"".concat(r[0],".").concat(r[1],".").concat(r[3],".").concat(r[2]),"".concat(r[0],".").concat(r[2],".").concat(r[1],".").concat(r[3]),"".concat(r[0],".").concat(r[2],".").concat(r[3],".").concat(r[1]),"".concat(r[0],".").concat(r[3],".").concat(r[1],".").concat(r[2]),"".concat(r[0],".").concat(r[3],".").concat(r[2],".").concat(r[1]),"".concat(r[1],".").concat(r[0],".").concat(r[2],".").concat(r[3]),"".concat(r[1],".").concat(r[0],".").concat(r[3],".").concat(r[2]),"".concat(r[1],".").concat(r[2],".").concat(r[0],".").concat(r[3]),"".concat(r[1],".").concat(r[2],".").concat(r[3],".").concat(r[0]),"".concat(r[1],".").concat(r[3],".").concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[3],".").concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[0],".").concat(r[1],".").concat(r[3]),"".concat(r[2],".").concat(r[0],".").concat(r[3],".").concat(r[1]),"".concat(r[2],".").concat(r[1],".").concat(r[0],".").concat(r[3]),"".concat(r[2],".").concat(r[1],".").concat(r[3],".").concat(r[0]),"".concat(r[2],".").concat(r[3],".").concat(r[0],".").concat(r[1]),"".concat(r[2],".").concat(r[3],".").concat(r[1],".").concat(r[0]),"".concat(r[3],".").concat(r[0],".").concat(r[1],".").concat(r[2]),"".concat(r[3],".").concat(r[0],".").concat(r[2],".").concat(r[1]),"".concat(r[3],".").concat(r[1],".").concat(r[0],".").concat(r[2]),"".concat(r[3],".").concat(r[1],".").concat(r[2],".").concat(r[0]),"".concat(r[3],".").concat(r[2],".").concat(r[0],".").concat(r[1]),"".concat(r[3],".").concat(r[2],".").concat(r[1],".").concat(r[0])]}var d2={};function qM(r){if(r.length===0||r.length===1)return r;var n=r.join(".");return d2[n]||(d2[n]=WM(r)),d2[n]}function VM(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,l=r.filter(function(h){return h!=="token"}),c=qM(l);return c.reduce(function(h,m){return Hh(Hh({},h),i[m])},n)}function H1(r){return r.join(" ")}function YM(r,n){var i=0;return function(l){return i+=1,l.map(function(c,h){return W1({node:c,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(i,"-").concat(h)})})}}function W1(r){var n=r.node,i=r.stylesheet,l=r.style,c=l===void 0?{}:l,h=r.useInlineStyles,m=r.key,D=n.properties,C=n.type,E=n.tagName,$=n.value;if(C==="text")return $;if(E){var P=YM(i,h),R;if(!h)R=Hh(Hh({},D),{},{className:H1(D.className)});else{var O=Object.keys(i).reduce(function(De,q){return q.split(".").forEach(function(W){De.includes(W)||De.push(W)}),De},[]),
|
|
1532
|
+
...`,k)),T===-1)return;let U=T+1+rr,ve=f.charAt(U+1);if(!/\s?/u.test(ve))return;let ze=f.slice(0,U);return{type:"front-matter",language:M,explicitLanguage:x,value:f.slice(k+1,T),startDelimiter:g,endDelimiter:ze.slice(-3),raw:ze}}function jl(f){let g=Oi(f);if(!g)return{content:f};let{raw:k}=g;return{frontMatter:g,content:q(!1,k,/[^\n]/gu," ")+f.slice(k.length)}}var Tp=jl,Yu={attrs:!0,children:!0,cases:!0,expression:!0},Qa=new Set(["parent"]),Kr,qc,rf,ms=class My{constructor(g={}){I(this,Kr),P(this,"type"),P(this,"parent");for(let k of new Set([...Qa,...Object.keys(g)]))this.setProperty(k,g[k])}setProperty(g,k){if(this[g]!==k){if(g in Yu&&(k=k.map(x=>this.createChild(x))),!Qa.has(g)){this[g]=k;return}Object.defineProperty(this,g,{value:k,enumerable:!1,configurable:!0})}}map(g){let k;for(let x in Yu){let T=this[x];if(T){let M=af(T,U=>U.map(g));k!==T&&(k||(k=new My({parent:this.parent})),k.setProperty(x,M))}}if(k)for(let x in this)x in Yu||(k[x]=this[x]);return g(k||this)}walk(g){for(let k in Yu){let x=this[k];if(x)for(let T=0;T<x.length;T++)x[T].walk(g)}g(this)}createChild(g){let k=g instanceof My?g.clone():new My(g);return k.setProperty("parent",this),k}insertChildBefore(g,k){let x=this.$children;x.splice(x.indexOf(g),0,this.createChild(k))}removeChild(g){let k=this.$children;k.splice(k.indexOf(g),1)}replaceChild(g,k){let x=this.$children;x[x.indexOf(g)]=this.createChild(k)}clone(){return new My(this)}get $children(){return this[O(this,Kr,qc)]}set $children(g){this[O(this,Kr,qc)]=g}get firstChild(){var g;return(g=this.$children)==null?void 0:g[0]}get lastChild(){return Se(!0,this.$children,-1)}get prev(){let g=O(this,Kr,rf);return g[g.indexOf(this)-1]}get next(){let g=O(this,Kr,rf);return g[g.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(g=>[g.fullName,g.value]))}};Kr=new WeakSet,qc=function(){return this.type==="angularIcuCase"?"expression":this.type==="angularIcuExpression"?"cases":"children"},rf=function(){var f;return((f=this.parent)==null?void 0:f.$children)??[]};var Qs=ms;function af(f,g){let k=f.map(g);return k.some((x,T)=>x!==f[T])?k:f}var pm=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:Fp},{regex:/^\[if([^\]]*)\]><!$/u,parse:Yc},{regex:/^<!\s*\[endif\]$/u,parse:jo}];function Vc(f,g){if(f.value)for(let{regex:k,parse:x}of pm){let T=f.value.match(k);if(T)return x(f,g,T)}return null}function Fp(f,g,k){let[,x,T,M]=k,U=4+x.length,ve=f.sourceSpan.start.moveBy(U),ze=ve.moveBy(M.length),[nt,Ve]=(()=>{try{return[!0,g(M,ve).children]}catch{return[!1,[{type:"text",value:M,sourceSpan:new rn(ve,ze)}]]}})();return{type:"ieConditionalComment",complete:nt,children:Ve,condition:q(!1,T.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan,startSourceSpan:new rn(f.sourceSpan.start,ve),endSourceSpan:new rn(ze,f.sourceSpan.end)}}function Yc(f,g,k){let[,x]=k;return{type:"ieConditionalStartComment",condition:q(!1,x.trim(),/\s+/gu," "),sourceSpan:f.sourceSpan}}function jo(f){return{type:"ieConditionalEndComment",sourceSpan:f.sourceSpan}}var zl=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),Gc=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function Ul(f){if(f.type==="block"){if(f.name=q(!1,f.name.toLowerCase(),/\s+/gu," ").trim(),f.type="angularControlFlowBlock",!lp(f.parameters)){delete f.parameters;return}for(let g of f.parameters)g.type="angularControlFlowBlockParameter";f.parameters={type:"angularControlFlowBlockParameters",children:f.parameters,sourceSpan:new rn(f.parameters[0].sourceSpan.start,Se(!1,f.parameters,-1).sourceSpan.end)}}}function Ap(f){f.type==="letDeclaration"&&(f.type="angularLetDeclaration",f.id=f.name,f.init={type:"angularLetDeclarationInitializer",sourceSpan:new rn(f.valueSpan.start,f.valueSpan.end),value:f.value},delete f.name,delete f.value)}function Hl(f){(f.type==="plural"||f.type==="select")&&(f.clause=f.type,f.type="angularIcuExpression"),f.type==="expansionCase"&&(f.type="angularIcuCase")}function $p(f,g,k){let{name:x,canSelfClose:T=!0,normalizeTagName:M=!1,normalizeAttributeName:U=!1,allowHtmComponentClosingTags:ve=!1,isTagNameCaseSensitive:ze=!1,shouldParseAsRawText:nt}=g,{rootNodes:Ve,errors:Gt}=nf(f,{canSelfClose:T,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:ze,getTagContentType:nt?(...ht)=>nt(...ht)?Ai.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:x==="angular"?!0:void 0,tokenizeAngularLetDeclaration:x==="angular"?!0:void 0});if(x==="vue"){if(Ve.some(vr=>vr.type==="docType"&&vr.value==="html"||vr.type==="element"&&vr.name.toLowerCase()==="html"))return $p(f,xt,k);let ht,on=()=>ht??(ht=nf(f,{canSelfClose:T,allowHtmComponentClosingTags:ve,isTagNameCaseSensitive:ze})),xr=vr=>on().rootNodes.find(({startSourceSpan:$r})=>$r&&$r.start.offset===vr.startSourceSpan.start.offset)??vr;for(let[vr,$r]of Ve.entries()){let{endSourceSpan:gs,startSourceSpan:Gu}=$r;if(gs===null)Gt=on().errors,Ve[vr]=xr($r);else if(of($r,k)){let Wl=on().errors.find(Jc=>Jc.span.start.offset>Gu.start.offset&&Jc.span.start.offset<gs.end.offset);Wl&&hr(Wl),Ve[vr]=xr($r)}}}Gt.length>0&&hr(Gt[0]);let Kt=ht=>{let on=ht.name.startsWith(":")?ht.name.slice(1).split(":")[0]:null,xr=ht.nameSpan.toString(),vr=on!==null&&xr.startsWith(`${on}:`),$r=vr?xr.slice(on.length+1):xr;ht.name=$r,ht.namespace=on,ht.hasExplicitNamespace=vr},Xt=ht=>{switch(ht.type){case"element":Kt(ht);for(let on of ht.attrs)Kt(on),on.valueSpan?(on.value=on.valueSpan.toString(),/["']/u.test(on.value[0])&&(on.value=on.value.slice(1,-1))):on.value=null;break;case"comment":ht.value=ht.sourceSpan.toString().slice(4,-3);break;case"text":ht.value=ht.sourceSpan.toString();break}},In=(ht,on)=>{let xr=ht.toLowerCase();return on(xr)?xr:ht},Cr=ht=>{if(ht.type==="element"&&(M&&(!ht.namespace||ht.namespace===ht.tagDefinition.implicitNamespacePrefix||Vt(ht))&&(ht.name=In(ht.name,on=>Gc.has(on))),U))for(let on of ht.attrs)on.namespace||(on.name=In(on.name,xr=>zl.has(ht.name)&&(zl.get("*").has(xr)||zl.get(ht.name).has(xr))))},Ir=ht=>{ht.sourceSpan&&ht.endSourceSpan&&(ht.sourceSpan=new rn(ht.sourceSpan.start,ht.endSourceSpan.end))},qr=ht=>{if(ht.type==="element"){let on=ya(ze?ht.name:ht.name.toLowerCase());!ht.namespace||ht.namespace===on.implicitNamespacePrefix||Vt(ht)?ht.tagDefinition=on:ht.tagDefinition=ya("")}};return Lo(new class extends tf{visitExpansionCase(ht,on){x==="angular"&&this.visitChildren(on,xr=>{xr(ht.expression)})}visit(ht){Xt(ht),qr(ht),Cr(ht),Ir(ht)}},Ve),Ve}function of(f,g){var k;if(f.type!=="element"||f.name!=="template")return!1;let x=(k=f.attrs.find(T=>T.name==="lang"))==null?void 0:k.value;return!x||G(g,{language:x})==="html"}function hr(f){let{msg:g,span:{start:k,end:x}}=f;throw Ep(g,{loc:{start:{line:k.line+1,column:k.col+1},end:{line:x.line+1,column:x.col+1}},cause:f})}function Xc(f,g,k={},x=!0){let{frontMatter:T,content:M}=x?Tp(f):{frontMatter:null,content:f},U=new vp(f,k.filepath),ve=new Yd(U,0,0,0),ze=ve.moveBy(f.length),nt={type:"root",sourceSpan:new rn(ve,ze),children:$p(M,g,k)};if(T){let Kt=new Yd(U,0,0,0),Xt=Kt.moveBy(T.raw.length);T.sourceSpan=new rn(Kt,Xt),nt.children.unshift(T)}let Ve=new Qs(nt),Gt=(Kt,Xt)=>{let{offset:In}=Xt,Cr=q(!1,f.slice(0,In),/[^\n\r]/gu," "),Ir=Xc(Cr+Kt,g,k,!1);Ir.sourceSpan=new rn(Xt,Se(!1,Ir.children,-1).sourceSpan.end);let qr=Ir.children[0];return qr.length===In?Ir.children.shift():(qr.sourceSpan=new rn(qr.sourceSpan.start.moveBy(In),qr.sourceSpan.end),qr.value=qr.value.slice(In)),Ir};return Ve.walk(Kt=>{if(Kt.type==="comment"){let Xt=Vc(Kt,Gt);Xt&&Kt.parent.replaceChild(Kt,Xt)}Ul(Kt),Ap(Kt),Hl(Kt)}),Ve}function Ks(f){return{parse:(g,k)=>Xc(g,f,k),hasPragma:im,astFormat:"html",locStart:li,locEnd:El}}var xt={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},an=Ks(xt),Tn=Ks({name:"angular"}),Yn=Ks({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(f,g,k,x){return f.toLowerCase()!=="html"&&!k&&(f!=="template"||x.some(({name:T,value:M})=>T==="lang"&&M!=="html"&&M!==""&&M!==void 0))}}),Fn=Ks({name:"lwc",canSelfClose:!1}),Mr={html:zu};return $(V)})})(M1);var I1=M1.exports;const j1=F$({__proto__:null,default:Iy(I1)},[I1]);function OM(r,n){if(r==null)return{};var i={};for(var l in r)if({}.hasOwnProperty.call(r,l)){if(n.indexOf(l)!==-1)continue;i[l]=r[l]}return i}function BM(r,n){if(r==null)return{};var i,l,c=OM(r,n);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(r);for(l=0;l<h.length;l++)i=h[l],n.indexOf(i)===-1&&{}.propertyIsEnumerable.call(r,i)&&(c[i]=r[i])}return c}function l2(r,n){(n==null||n>r.length)&&(n=r.length);for(var i=0,l=Array(n);i<n;i++)l[i]=r[i];return l}function MM(r){if(Array.isArray(r))return l2(r)}function IM(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function jM(r,n){if(r){if(typeof r=="string")return l2(r,n);var i={}.toString.call(r).slice(8,-1);return i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set"?Array.from(r):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l2(r,n):void 0}}function zM(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1533
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u2(r){return MM(r)||IM(r)||jM(r)||zM()}function Gg(r){"@babel/helpers - typeof";return Gg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Gg(r)}function UM(r,n){if(Gg(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var l=i.call(r,n);if(Gg(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(r)}function HM(r){var n=UM(r,"string");return Gg(n)=="symbol"?n:n+""}function z1(r,n,i){return(n=HM(n))in r?Object.defineProperty(r,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[n]=i,r}function c2(){return c2=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var l in i)({}).hasOwnProperty.call(i,l)&&(r[l]=i[l])}return r},c2.apply(null,arguments)}function U1(r,n){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);n&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),i.push.apply(i,l)}return i}function Hh(r){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?U1(Object(i),!0).forEach(function(l){z1(r,l,i[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):U1(Object(i)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(i,l))})}return r}function WM(r){var n=r.length;if(n===0||n===1)return r;if(n===2)return[r[0],r[1],"".concat(r[0],".").concat(r[1]),"".concat(r[1],".").concat(r[0])];if(n===3)return[r[0],r[1],r[2],"".concat(r[0],".").concat(r[1]),"".concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[0]),"".concat(r[1],".").concat(r[2]),"".concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[1]),"".concat(r[0],".").concat(r[1],".").concat(r[2]),"".concat(r[0],".").concat(r[2],".").concat(r[1]),"".concat(r[1],".").concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[0],".").concat(r[1]),"".concat(r[2],".").concat(r[1],".").concat(r[0])];if(n>=4)return[r[0],r[1],r[2],r[3],"".concat(r[0],".").concat(r[1]),"".concat(r[0],".").concat(r[2]),"".concat(r[0],".").concat(r[3]),"".concat(r[1],".").concat(r[0]),"".concat(r[1],".").concat(r[2]),"".concat(r[1],".").concat(r[3]),"".concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[1]),"".concat(r[2],".").concat(r[3]),"".concat(r[3],".").concat(r[0]),"".concat(r[3],".").concat(r[1]),"".concat(r[3],".").concat(r[2]),"".concat(r[0],".").concat(r[1],".").concat(r[2]),"".concat(r[0],".").concat(r[1],".").concat(r[3]),"".concat(r[0],".").concat(r[2],".").concat(r[1]),"".concat(r[0],".").concat(r[2],".").concat(r[3]),"".concat(r[0],".").concat(r[3],".").concat(r[1]),"".concat(r[0],".").concat(r[3],".").concat(r[2]),"".concat(r[1],".").concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[0],".").concat(r[3]),"".concat(r[1],".").concat(r[2],".").concat(r[0]),"".concat(r[1],".").concat(r[2],".").concat(r[3]),"".concat(r[1],".").concat(r[3],".").concat(r[0]),"".concat(r[1],".").concat(r[3],".").concat(r[2]),"".concat(r[2],".").concat(r[0],".").concat(r[1]),"".concat(r[2],".").concat(r[0],".").concat(r[3]),"".concat(r[2],".").concat(r[1],".").concat(r[0]),"".concat(r[2],".").concat(r[1],".").concat(r[3]),"".concat(r[2],".").concat(r[3],".").concat(r[0]),"".concat(r[2],".").concat(r[3],".").concat(r[1]),"".concat(r[3],".").concat(r[0],".").concat(r[1]),"".concat(r[3],".").concat(r[0],".").concat(r[2]),"".concat(r[3],".").concat(r[1],".").concat(r[0]),"".concat(r[3],".").concat(r[1],".").concat(r[2]),"".concat(r[3],".").concat(r[2],".").concat(r[0]),"".concat(r[3],".").concat(r[2],".").concat(r[1]),"".concat(r[0],".").concat(r[1],".").concat(r[2],".").concat(r[3]),"".concat(r[0],".").concat(r[1],".").concat(r[3],".").concat(r[2]),"".concat(r[0],".").concat(r[2],".").concat(r[1],".").concat(r[3]),"".concat(r[0],".").concat(r[2],".").concat(r[3],".").concat(r[1]),"".concat(r[0],".").concat(r[3],".").concat(r[1],".").concat(r[2]),"".concat(r[0],".").concat(r[3],".").concat(r[2],".").concat(r[1]),"".concat(r[1],".").concat(r[0],".").concat(r[2],".").concat(r[3]),"".concat(r[1],".").concat(r[0],".").concat(r[3],".").concat(r[2]),"".concat(r[1],".").concat(r[2],".").concat(r[0],".").concat(r[3]),"".concat(r[1],".").concat(r[2],".").concat(r[3],".").concat(r[0]),"".concat(r[1],".").concat(r[3],".").concat(r[0],".").concat(r[2]),"".concat(r[1],".").concat(r[3],".").concat(r[2],".").concat(r[0]),"".concat(r[2],".").concat(r[0],".").concat(r[1],".").concat(r[3]),"".concat(r[2],".").concat(r[0],".").concat(r[3],".").concat(r[1]),"".concat(r[2],".").concat(r[1],".").concat(r[0],".").concat(r[3]),"".concat(r[2],".").concat(r[1],".").concat(r[3],".").concat(r[0]),"".concat(r[2],".").concat(r[3],".").concat(r[0],".").concat(r[1]),"".concat(r[2],".").concat(r[3],".").concat(r[1],".").concat(r[0]),"".concat(r[3],".").concat(r[0],".").concat(r[1],".").concat(r[2]),"".concat(r[3],".").concat(r[0],".").concat(r[2],".").concat(r[1]),"".concat(r[3],".").concat(r[1],".").concat(r[0],".").concat(r[2]),"".concat(r[3],".").concat(r[1],".").concat(r[2],".").concat(r[0]),"".concat(r[3],".").concat(r[2],".").concat(r[0],".").concat(r[1]),"".concat(r[3],".").concat(r[2],".").concat(r[1],".").concat(r[0])]}var d2={};function qM(r){if(r.length===0||r.length===1)return r;var n=r.join(".");return d2[n]||(d2[n]=WM(r)),d2[n]}function VM(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,l=r.filter(function(h){return h!=="token"}),c=qM(l);return c.reduce(function(h,m){return Hh(Hh({},h),i[m])},n)}function H1(r){return r.join(" ")}function YM(r,n){var i=0;return function(l){return i+=1,l.map(function(c,h){return W1({node:c,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(i,"-").concat(h)})})}}function W1(r){var n=r.node,i=r.stylesheet,l=r.style,c=l===void 0?{}:l,h=r.useInlineStyles,m=r.key,D=n.properties,C=n.type,E=n.tagName,$=n.value;if(C==="text")return $;if(E){var P=YM(i,h),R;if(!h)R=Hh(Hh({},D),{},{className:H1(D.className)});else{var O=Object.keys(i).reduce(function(De,q){return q.split(".").forEach(function(W){De.includes(W)||De.push(W)}),De},[]),I=D.className&&D.className.includes("token")?["token"]:[],J=D.className&&I.concat(D.className.filter(function(De){return!O.includes(De)}));R=Hh(Hh({},D),{},{className:H1(J)||void 0,style:VM(D.className,Object.assign({},D.style,c),i)})}var V=P(n.children);return $e.createElement(E,c2({key:m},R),V)}}const GM=function(r,n){var i=r.listLanguages();return i.indexOf(n)!==-1};var XM=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function q1(r,n){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(r);n&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable})),i.push.apply(i,l)}return i}function Ld(r){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?q1(Object(i),!0).forEach(function(l){z1(r,l,i[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):q1(Object(i)).forEach(function(l){Object.defineProperty(r,l,Object.getOwnPropertyDescriptor(i,l))})}return r}var JM=/\n/g;function QM(r){return r.match(JM)}function KM(r){var n=r.lines,i=r.startingLineNumber,l=r.style;return n.map(function(c,h){var m=h+i;return $e.createElement("span",{key:"line-".concat(h),className:"react-syntax-highlighter-line-number",style:typeof l=="function"?l(m):l},"".concat(m,`
|
|
1534
1534
|
`))})}function ZM(r){var n=r.codeString,i=r.codeStyle,l=r.containerStyle,c=l===void 0?{float:"left",paddingRight:"10px"}:l,h=r.numberStyle,m=h===void 0?{}:h,D=r.startingLineNumber;return $e.createElement("code",{style:Object.assign({},i,c)},KM({lines:n.replace(/\n$/,"").split(`
|
|
1535
|
-
`),style:m,startingLineNumber:D}))}function eI(r){return"".concat(r.toString().length,".25em")}function V1(r,n){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(r),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:n},children:[{type:"text",value:r}]}}function Y1(r,n,i){var l={display:"inline-block",minWidth:eI(i),paddingRight:"1em",textAlign:"right",userSelect:"none"},c=typeof r=="function"?r(n):r,h=Ld(Ld({},l),c);return h}function Fb(r){var n=r.children,i=r.lineNumber,l=r.lineNumberStyle,c=r.largestLineNumber,h=r.showInlineLineNumbers,m=r.lineProps,D=m===void 0?{}:m,C=r.className,E=C===void 0?[]:C,$=r.showLineNumbers,P=r.wrapLongLines,R=r.wrapLines,O=R===void 0?!1:R,
|
|
1535
|
+
`),style:m,startingLineNumber:D}))}function eI(r){return"".concat(r.toString().length,".25em")}function V1(r,n){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(r),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:n},children:[{type:"text",value:r}]}}function Y1(r,n,i){var l={display:"inline-block",minWidth:eI(i),paddingRight:"1em",textAlign:"right",userSelect:"none"},c=typeof r=="function"?r(n):r,h=Ld(Ld({},l),c);return h}function Fb(r){var n=r.children,i=r.lineNumber,l=r.lineNumberStyle,c=r.largestLineNumber,h=r.showInlineLineNumbers,m=r.lineProps,D=m===void 0?{}:m,C=r.className,E=C===void 0?[]:C,$=r.showLineNumbers,P=r.wrapLongLines,R=r.wrapLines,O=R===void 0?!1:R,I=O?Ld({},typeof D=="function"?D(i):D):{};if(I.className=I.className?[].concat(u2(I.className.trim().split(/\s+/)),u2(E)):E,i&&h){var J=Y1(l,i,c);n.unshift(V1(i,J))}return P&$&&(I.style=Ld({display:"flex"},I.style)),{type:"element",tagName:"span",properties:I,children:n}}function G1(r){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],l=0;l<r.length;l++){var c=r[l];if(c.type==="text")i.push(Fb({children:[c],className:u2(new Set(n))}));else if(c.children){var h=n.concat(c.properties.className);G1(c.children,h).forEach(function(m){return i.push(m)})}}return i}function tI(r,n,i,l,c,h,m,D,C){var E,$=G1(r.value),P=[],R=-1,O=0;function I(X,ae){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Fb({children:X,lineNumber:ae,lineNumberStyle:D,largestLineNumber:m,showInlineLineNumbers:c,lineProps:i,className:ue,showLineNumbers:l,wrapLongLines:C,wrapLines:n})}function J(X,ae){if(l&&ae&&c){var ue=Y1(D,ae,m);X.unshift(V1(ae,ue))}return X}function V(X,ae){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return n||ue.length>0?I(X,ae,ue):J(X,ae)}for(var De=function(){var ae=$[O],ue=ae.children[0].value,xe=QM(ue);if(xe){var ye=ue.split(`
|
|
1536
1536
|
`);ye.forEach(function(Ye,We){var Me=l&&P.length+h,Qe={type:"text",value:"".concat(Ye,`
|
|
1537
|
-
`)};if(We===0){var Ie=$.slice(R+1,O).concat(Fb({children:[Qe],className:ae.properties.className})),at=V(Ie,Me);P.push(at)}else if(We===ye.length-1){var Le=$[O+1]&&$[O+1].children&&$[O+1].children[0],Ae={type:"text",value:"".concat(Ye)};if(Le){var ce=Fb({children:[Ae],className:ae.properties.className});$.splice(O+1,0,ce)}else{var Ne=[Ae],Se=V(Ne,Me,ae.properties.className);P.push(Se)}}else{var Q=[Qe],le=V(Q,Me,ae.properties.className);P.push(le)}}),R=O}O++};O<$.length;)De();if(R!==$.length-1){var q=$.slice(R+1,$.length);if(q&&q.length){var W=l&&P.length+h,K=V(q,W);P.push(K)}}return n?P:(E=[]).concat.apply(E,P)}function nI(r){var n=r.rows,i=r.stylesheet,l=r.useInlineStyles;return n.map(function(c,h){return W1({node:c,stylesheet:i,useInlineStyles:l,key:"code-segement".concat(h)})})}function X1(r){return r&&typeof r.highlightAuto<"u"}function rI(r){var n=r.astGenerator,i=r.language,l=r.code,c=r.defaultCodeValue;if(X1(n)){var h=GM(n,i);return i==="text"?{value:c,language:"text"}:h?n.highlight(i,l):n.highlightAuto(l)}try{return i&&i!=="text"?{value:n.highlight(l,i)}:{value:c}}catch{return{value:c}}}function aI(r,n){return function(l){var c=l.language,h=l.children,m=l.style,D=m===void 0?n:m,C=l.customStyle,E=C===void 0?{}:C,$=l.codeTagProps,P=$===void 0?{className:c?"language-".concat(c):void 0,style:Ld(Ld({},D['code[class*="language-"]']),D['code[class*="language-'.concat(c,'"]')])}:$,R=l.useInlineStyles,O=R===void 0?!0:R,
|
|
1538
|
-
`).length);var vt=gt+W,Et=tI(lt,ue,We,J,De,W,vt,ae,ye);return $e.createElement(Ie,Je,$e.createElement(Le,P,!De&&Q,Me({rows:Et,stylesheet:D,useInlineStyles:O})))}}var iI=sI,oI=Object.prototype.hasOwnProperty;function sI(){for(var r={},n=0;n<arguments.length;n++){var i=arguments[n];for(var l in i)oI.call(i,l)&&(r[l]=i[l])}return r}var J1=Q1,f2=Q1.prototype;f2.space=null,f2.normal={},f2.property={};function Q1(r,n,i){this.property=r,this.normal=n,i&&(this.space=i)}var K1=iI,lI=J1,uI=cI;function cI(r){for(var n=r.length,i=[],l=[],c=-1,h,m;++c<n;)h=r[c],i.push(h.property),l.push(h.normal),m=h.space;return new lI(K1.apply(null,i),K1.apply(null,l),m)}var p2=dI;function dI(r){return r.toLowerCase()}var Z1=eE,As=eE.prototype;As.space=null,As.attribute=null,As.property=null,As.boolean=!1,As.booleanish=!1,As.overloadedBoolean=!1,As.number=!1,As.commaSeparated=!1,As.spaceSeparated=!1,As.commaOrSpaceSeparated=!1,As.mustUseProperty=!1,As.defined=!1;function eE(r,n){this.property=r,this.attribute=n}var wu={},fI=0;wu.boolean=ep(),wu.booleanish=ep(),wu.overloadedBoolean=ep(),wu.number=ep(),wu.spaceSeparated=ep(),wu.commaSeparated=ep(),wu.commaOrSpaceSeparated=ep();function ep(){return Math.pow(2,++fI)}var tE=Z1,nE=wu,rE=h2;h2.prototype=new tE,h2.prototype.defined=!0;var aE=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],pI=aE.length;function h2(r,n,i,l){var c=-1,h;for(iE(this,"space",l),tE.call(this,r,n);++c<pI;)h=aE[c],iE(this,h,(i&nE[h])===nE[h])}function iE(r,n,i){i&&(r[n]=i)}var oE=p2,hI=J1,mI=rE,Xg=gI;function gI(r){var n=r.space,i=r.mustUseProperty||[],l=r.attributes||{},c=r.properties,h=r.transform,m={},D={},C,E;for(C in c)E=new mI(C,h(l,C),c[C],n),i.indexOf(C)!==-1&&(E.mustUseProperty=!0),m[C]=E,D[oE(C)]=C,D[oE(E.attribute)]=C;return new hI(m,D,n)}var vI=Xg,yI=vI({space:"xlink",transform:bI,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function bI(r,n){return"xlink:"+n.slice(5).toLowerCase()}var kI=Xg,wI=kI({space:"xml",transform:DI,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function DI(r,n){return"xml:"+n.slice(3).toLowerCase()}var SI=CI;function CI(r,n){return n in r?r[n]:n}var xI=SI,sE=_I;function _I(r,n){return xI(r,n.toLowerCase())}var EI=Xg,TI=sE,FI=EI({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:TI,properties:{xmlns:null,xmlnsXLink:null}}),m2=wu,AI=Xg,So=m2.booleanish,$s=m2.number,tp=m2.spaceSeparated,$I=AI({transform:PI,properties:{ariaActiveDescendant:null,ariaAtomic:So,ariaAutoComplete:null,ariaBusy:So,ariaChecked:So,ariaColCount:$s,ariaColIndex:$s,ariaColSpan:$s,ariaControls:tp,ariaCurrent:null,ariaDescribedBy:tp,ariaDetails:null,ariaDisabled:So,ariaDropEffect:tp,ariaErrorMessage:null,ariaExpanded:So,ariaFlowTo:tp,ariaGrabbed:So,ariaHasPopup:null,ariaHidden:So,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tp,ariaLevel:$s,ariaLive:null,ariaModal:So,ariaMultiLine:So,ariaMultiSelectable:So,ariaOrientation:null,ariaOwns:tp,ariaPlaceholder:null,ariaPosInSet:$s,ariaPressed:So,ariaReadOnly:So,ariaRelevant:null,ariaRequired:So,ariaRoleDescription:tp,ariaRowCount:$s,ariaRowIndex:$s,ariaRowSpan:$s,ariaSelected:So,ariaSetSize:$s,ariaSort:null,ariaValueMax:$s,ariaValueMin:$s,ariaValueNow:$s,ariaValueText:null,role:null}});function PI(r,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}var Wh=wu,NI=Xg,RI=sE,vn=Wh.boolean,LI=Wh.overloadedBoolean,Jg=Wh.booleanish,_r=Wh.number,Gi=Wh.spaceSeparated,Ab=Wh.commaSeparated,OI=NI({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:RI,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ab,acceptCharset:Gi,accessKey:Gi,action:null,allow:null,allowFullScreen:vn,allowPaymentRequest:vn,allowUserMedia:vn,alt:null,as:null,async:vn,autoCapitalize:null,autoComplete:Gi,autoFocus:vn,autoPlay:vn,capture:vn,charSet:null,checked:vn,cite:null,className:Gi,cols:_r,colSpan:null,content:null,contentEditable:Jg,controls:vn,controlsList:Gi,coords:_r|Ab,crossOrigin:null,data:null,dateTime:null,decoding:null,default:vn,defer:vn,dir:null,dirName:null,disabled:vn,download:LI,draggable:Jg,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:vn,formTarget:null,headers:Gi,height:_r,hidden:vn,high:_r,href:null,hrefLang:null,htmlFor:Gi,httpEquiv:Gi,id:null,imageSizes:null,imageSrcSet:Ab,inputMode:null,integrity:null,is:null,isMap:vn,itemId:null,itemProp:Gi,itemRef:Gi,itemScope:vn,itemType:Gi,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:vn,low:_r,manifest:null,max:null,maxLength:_r,media:null,method:null,min:null,minLength:_r,multiple:vn,muted:vn,name:null,nonce:null,noModule:vn,noValidate:vn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:vn,optimum:_r,pattern:null,ping:Gi,placeholder:null,playsInline:vn,poster:null,preload:null,readOnly:vn,referrerPolicy:null,rel:Gi,required:vn,reversed:vn,rows:_r,rowSpan:_r,sandbox:Gi,scope:null,scoped:vn,seamless:vn,selected:vn,shape:null,size:_r,sizes:null,slot:null,span:_r,spellCheck:Jg,src:null,srcDoc:null,srcLang:null,srcSet:Ab,start:_r,step:null,style:null,tabIndex:_r,target:null,title:null,translate:null,type:null,typeMustMatch:vn,useMap:null,value:Jg,width:_r,wrap:null,align:null,aLink:null,archive:Gi,axis:null,background:null,bgColor:null,border:_r,borderColor:null,bottomMargin:_r,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:vn,declare:vn,event:null,face:null,frame:null,frameBorder:null,hSpace:_r,leftMargin:_r,link:null,longDesc:null,lowSrc:null,marginHeight:_r,marginWidth:_r,noResize:vn,noHref:vn,noShade:vn,noWrap:vn,object:null,profile:null,prompt:null,rev:null,rightMargin:_r,rules:null,scheme:null,scrolling:Jg,standby:null,summary:null,text:null,topMargin:_r,valueType:null,version:null,vAlign:null,vLink:null,vSpace:_r,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:vn,disableRemotePlayback:vn,prefix:null,property:null,results:_r,security:null,unselectable:null}}),BI=uI,MI=yI,II=wI,jI=FI,zI=$I,UI=OI,HI=BI([II,MI,jI,zI,UI]),WI=p2,qI=rE,VI=Z1,g2="data",YI=JI,GI=/^data[-\w.:]+$/i,lE=/-[a-z]/g,XI=/[A-Z]/g;function JI(r,n){var i=WI(n),l=n,c=VI;return i in r.normal?r.property[r.normal[i]]:(i.length>4&&i.slice(0,4)===g2&&GI.test(n)&&(n.charAt(4)==="-"?l=QI(n):n=KI(n),c=qI),new c(l,n))}function QI(r){var n=r.slice(5).replace(lE,ej);return g2+n.charAt(0).toUpperCase()+n.slice(1)}function KI(r){var n=r.slice(4);return lE.test(n)?r:(n=n.replace(XI,ZI),n.charAt(0)!=="-"&&(n="-"+n),g2+n)}function ZI(r){return"-"+r.toLowerCase()}function ej(r){return r.charAt(1).toUpperCase()}var tj=nj,uE=/[#.]/g;function nj(r,n){for(var i=r||"",l=n||"div",c={},h=0,m,D,C;h<i.length;)uE.lastIndex=h,C=uE.exec(i),m=i.slice(h,C?C.index:i.length),m&&(D?D==="#"?c.id=m:c.className?c.className.push(m):c.className=[m]:l=m,h+=m.length),C&&(D=C[0],h++);return{type:"element",tagName:l,properties:c,children:[]}}var v2={};v2.parse=ij,v2.stringify=oj;var cE="",rj=" ",aj=/[ \t\n\r\f]+/g;function ij(r){var n=String(r||cE).trim();return n===cE?[]:n.split(aj)}function oj(r){return r.join(rj).trim()}var y2={};y2.parse=sj,y2.stringify=lj;var b2=",",dE=" ",Qg="";function sj(r){for(var n=[],i=String(r||Qg),l=i.indexOf(b2),c=0,h=!1,m;!h;)l===-1&&(l=i.length,h=!0),m=i.slice(c,l).trim(),(m||!h)&&n.push(m),c=l+1,l=i.indexOf(b2,c);return n}function lj(r,n){var i=n||{},l=i.padLeft===!1?Qg:dE,c=i.padRight?dE:Qg;return r[r.length-1]===Qg&&(r=r.concat(Qg)),r.join(c+b2+l).trim()}var uj=YI,fE=p2,cj=tj,pE=v2.parse,hE=y2.parse,dj=pj,fj={}.hasOwnProperty;function pj(r,n,i){var l=i?yj(i):null;return c;function c(m,D){var C=cj(m,n),E=Array.prototype.slice.call(arguments,2),$=C.tagName.toLowerCase(),P;if(C.tagName=l&&fj.call(l,$)?l[$]:$,D&&hj(D,C)&&(E.unshift(D),D=null),D)for(P in D)h(C.properties,P,D[P]);return mE(C.children,E),C.tagName==="template"&&(C.content={type:"root",children:C.children},C.children=[]),C}function h(m,D,C){var E,$,P;C==null||C!==C||(E=uj(r,D),$=E.property,P=C,typeof P=="string"&&(E.spaceSeparated?P=pE(P):E.commaSeparated?P=hE(P):E.commaOrSpaceSeparated&&(P=pE(hE(P).join(" ")))),$==="style"&&typeof C!="string"&&(P=vj(P)),$==="className"&&m.className&&(P=m.className.concat(P)),m[$]=gj(E,$,P))}}function hj(r,n){return typeof r=="string"||"length"in r||mj(n.tagName,r)}function mj(r,n){var i=n.type;return r==="input"||!i||typeof i!="string"?!1:typeof n.children=="object"&&"length"in n.children?!0:(i=i.toLowerCase(),r==="button"?i!=="menu"&&i!=="submit"&&i!=="reset"&&i!=="button":"value"in n)}function mE(r,n){var i,l;if(typeof n=="string"||typeof n=="number"){r.push({type:"text",value:String(n)});return}if(typeof n=="object"&&"length"in n){for(i=-1,l=n.length;++i<l;)mE(r,n[i]);return}if(typeof n!="object"||!("type"in n))throw new Error("Expected node, nodes, or string, got `"+n+"`");r.push(n)}function gj(r,n,i){var l,c,h;if(typeof i!="object"||!("length"in i))return gE(r,n,i);for(c=i.length,l=-1,h=[];++l<c;)h[l]=gE(r,n,i[l]);return h}function gE(r,n,i){var l=i;return r.number||r.positiveNumber?!isNaN(l)&&l!==""&&(l=Number(l)):(r.boolean||r.overloadedBoolean)&&typeof l=="string"&&(l===""||fE(i)===fE(n))&&(l=!0),l}function vj(r){var n=[],i;for(i in r)n.push([i,r[i]].join(": "));return n.join("; ")}function yj(r){for(var n=r.length,i=-1,l={},c;++i<n;)c=r[i],l[c.toLowerCase()]=c;return l}var bj=HI,kj=dj,vE=kj(bj,"div");vE.displayName="html";var wj=vE,Dj=wj;const Sj={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"},Cj={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var yE=xj;function xj(r){var n=typeof r=="string"?r.charCodeAt(0):r;return n>=48&&n<=57}var _j=Ej;function Ej(r){var n=typeof r=="string"?r.charCodeAt(0):r;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}var Tj=Fj;function Fj(r){var n=typeof r=="string"?r.charCodeAt(0):r;return n>=97&&n<=122||n>=65&&n<=90}var Aj=Tj,$j=yE,Pj=Nj;function Nj(r){return Aj(r)||$j(r)}var $b,Rj=59,Lj=Oj;function Oj(r){var n="&"+r+";",i;return $b=$b||document.createElement("i"),$b.innerHTML=n,i=$b.textContent,i.charCodeAt(i.length-1)===Rj&&r!=="semi"||i===n?!1:i}var bE=Sj,kE=Cj,Bj=yE,Mj=_j,wE=Pj,Ij=Lj,jj=Zj,zj={}.hasOwnProperty,qh=String.fromCharCode,Uj=Function.prototype,DE={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Hj=9,SE=10,Wj=12,qj=32,CE=38,Vj=59,Yj=60,Gj=61,Xj=35,Jj=88,Qj=120,Kj=65533,Vh="named",k2="hexadecimal",w2="decimal",D2={};D2[k2]=16,D2[w2]=10;var Pb={};Pb[Vh]=wE,Pb[w2]=Bj,Pb[k2]=Mj;var xE=1,_E=2,EE=3,TE=4,FE=5,S2=6,AE=7,Od={};Od[xE]="Named character references must be terminated by a semicolon",Od[_E]="Numeric character references must be terminated by a semicolon",Od[EE]="Named character references cannot be empty",Od[TE]="Numeric character references cannot be empty",Od[FE]="Named character references must be known",Od[S2]="Numeric character references cannot be disallowed",Od[AE]="Numeric character references cannot be outside the permissible Unicode range";function Zj(r,n){var i={},l,c;n||(n={});for(c in DE)l=n[c],i[c]=l??DE[c];return(i.position.indent||i.position.start)&&(i.indent=i.position.indent||[],i.position=i.position.start),e4(r,i)}function e4(r,n){var i=n.additional,l=n.nonTerminated,c=n.text,h=n.reference,m=n.warning,D=n.textContext,C=n.referenceContext,E=n.warningContext,$=n.position,P=n.indent||[],R=r.length,O=0,j=-1,J=$.column||1,V=$.line||1,De="",q=[],W,K,X,ae,ue,xe,ye,Ye,We,Me,Qe,Ie,at,Le,Ae,ce,Ne,Se,Q;for(typeof i=="string"&&(i=i.charCodeAt(0)),ce=le(),Ye=m?it:Uj,O--,R++;++O<R;)if(ue===SE&&(J=P[j]||1),ue=r.charCodeAt(O),ue===CE){if(ye=r.charCodeAt(O+1),ye===Hj||ye===SE||ye===Wj||ye===qj||ye===CE||ye===Yj||ye!==ye||i&&ye===i){De+=qh(ue),J++;continue}for(at=O+1,Ie=at,Q=at,ye===Xj?(Q=++Ie,ye=r.charCodeAt(Q),ye===Jj||ye===Qj?(Le=k2,Q=++Ie):Le=w2):Le=Vh,W="",Qe="",ae="",Ae=Pb[Le],Q--;++Q<R&&(ye=r.charCodeAt(Q),!!Ae(ye));)ae+=qh(ye),Le===Vh&&zj.call(bE,ae)&&(W=ae,Qe=bE[ae]);X=r.charCodeAt(Q)===Vj,X&&(Q++,K=Le===Vh?Ij(ae):!1,K&&(W=ae,Qe=K)),Se=1+Q-at,!X&&!l||(ae?Le===Vh?(X&&!Qe?Ye(FE,1):(W!==ae&&(Q=Ie+W.length,Se=1+Q-Ie,X=!1),X||(We=W?xE:EE,n.attribute?(ye=r.charCodeAt(Q),ye===Gj?(Ye(We,Se),Qe=null):wE(ye)?Qe=null:Ye(We,Se)):Ye(We,Se))),xe=Qe):(X||Ye(_E,Se),xe=parseInt(ae,D2[Le]),t4(xe)?(Ye(AE,Se),xe=qh(Kj)):xe in kE?(Ye(S2,Se),xe=kE[xe]):(Me="",n4(xe)&&Ye(S2,Se),xe>65535&&(xe-=65536,Me+=qh(xe>>>10|55296),xe=56320|xe&1023),xe=Me+qh(xe))):Le!==Vh&&Ye(TE,Se)),xe?(Je(),ce=le(),O=Q-1,J+=Q-at+1,q.push(xe),Ne=le(),Ne.offset++,h&&h.call(C,xe,{start:ce,end:Ne},r.slice(at-1,Q)),ce=Ne):(ae=r.slice(at-1,Q),De+=ae,J+=ae.length,O=Q-1)}else ue===10&&(V++,j++,J=0),ue===ue?(De+=qh(ue),J++):Je();return q.join("");function le(){return{line:V,column:J,offset:O+($.offset||0)}}function it(pt,lt){var gt=le();gt.column+=lt,gt.offset+=lt,m.call(E,Od[pt],gt,pt)}function Je(){De&&(q.push(De),c&&c.call(D,De,{start:ce,end:le()}),De="")}}function t4(r){return r>=55296&&r<=57343||r>1114111}function n4(r){return r>=1&&r<=8||r===11||r>=13&&r<=31||r>=127&&r<=159||r>=64976&&r<=65007||(r&65535)===65535||(r&65535)===65534}var $E={exports:{}};(function(r){var n=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
1537
|
+
`)};if(We===0){var Ie=$.slice(R+1,O).concat(Fb({children:[Qe],className:ae.properties.className})),at=V(Ie,Me);P.push(at)}else if(We===ye.length-1){var Le=$[O+1]&&$[O+1].children&&$[O+1].children[0],Ae={type:"text",value:"".concat(Ye)};if(Le){var ce=Fb({children:[Ae],className:ae.properties.className});$.splice(O+1,0,ce)}else{var Ne=[Ae],Se=V(Ne,Me,ae.properties.className);P.push(Se)}}else{var Q=[Qe],le=V(Q,Me,ae.properties.className);P.push(le)}}),R=O}O++};O<$.length;)De();if(R!==$.length-1){var q=$.slice(R+1,$.length);if(q&&q.length){var W=l&&P.length+h,K=V(q,W);P.push(K)}}return n?P:(E=[]).concat.apply(E,P)}function nI(r){var n=r.rows,i=r.stylesheet,l=r.useInlineStyles;return n.map(function(c,h){return W1({node:c,stylesheet:i,useInlineStyles:l,key:"code-segement".concat(h)})})}function X1(r){return r&&typeof r.highlightAuto<"u"}function rI(r){var n=r.astGenerator,i=r.language,l=r.code,c=r.defaultCodeValue;if(X1(n)){var h=GM(n,i);return i==="text"?{value:c,language:"text"}:h?n.highlight(i,l):n.highlightAuto(l)}try{return i&&i!=="text"?{value:n.highlight(l,i)}:{value:c}}catch{return{value:c}}}function aI(r,n){return function(l){var c=l.language,h=l.children,m=l.style,D=m===void 0?n:m,C=l.customStyle,E=C===void 0?{}:C,$=l.codeTagProps,P=$===void 0?{className:c?"language-".concat(c):void 0,style:Ld(Ld({},D['code[class*="language-"]']),D['code[class*="language-'.concat(c,'"]')])}:$,R=l.useInlineStyles,O=R===void 0?!0:R,I=l.showLineNumbers,J=I===void 0?!1:I,V=l.showInlineLineNumbers,De=V===void 0?!0:V,q=l.startingLineNumber,W=q===void 0?1:q,K=l.lineNumberContainerStyle,X=l.lineNumberStyle,ae=X===void 0?{}:X,ue=l.wrapLines,xe=l.wrapLongLines,ye=xe===void 0?!1:xe,Ye=l.lineProps,We=Ye===void 0?{}:Ye,Me=l.renderer,Qe=l.PreTag,Ie=Qe===void 0?"pre":Qe,at=l.CodeTag,Le=at===void 0?"code":at,Ae=l.code,ce=Ae===void 0?(Array.isArray(h)?h[0]:h)||"":Ae,Ne=l.astGenerator,Se=BM(l,XM);Ne=Ne||r;var Q=J?$e.createElement(ZM,{containerStyle:K,codeStyle:P.style||{},numberStyle:ae,startingLineNumber:W,codeString:ce}):null,le=D.hljs||D['pre[class*="language-"]']||{backgroundColor:"#fff"},it=X1(Ne)?"hljs":"prismjs",Je=O?Object.assign({},Se,{style:Object.assign({},le,E)}):Object.assign({},Se,{className:Se.className?"".concat(it," ").concat(Se.className):it,style:Object.assign({},E)});if(ye?P.style=Ld({whiteSpace:"pre-wrap"},P.style):P.style=Ld({whiteSpace:"pre"},P.style),!Ne)return $e.createElement(Ie,Je,Q,$e.createElement(Le,P,ce));(ue===void 0&&Me||ye)&&(ue=!0),Me=Me||nI;var pt=[{type:"text",value:ce}],lt=rI({astGenerator:Ne,language:c,code:ce,defaultCodeValue:pt});lt.language===null&&(lt.value=pt);var gt=lt.value.length;gt===1&<.value[0].type==="text"&&(gt=lt.value[0].value.split(`
|
|
1538
|
+
`).length);var vt=gt+W,Et=tI(lt,ue,We,J,De,W,vt,ae,ye);return $e.createElement(Ie,Je,$e.createElement(Le,P,!De&&Q,Me({rows:Et,stylesheet:D,useInlineStyles:O})))}}var iI=sI,oI=Object.prototype.hasOwnProperty;function sI(){for(var r={},n=0;n<arguments.length;n++){var i=arguments[n];for(var l in i)oI.call(i,l)&&(r[l]=i[l])}return r}var J1=Q1,f2=Q1.prototype;f2.space=null,f2.normal={},f2.property={};function Q1(r,n,i){this.property=r,this.normal=n,i&&(this.space=i)}var K1=iI,lI=J1,uI=cI;function cI(r){for(var n=r.length,i=[],l=[],c=-1,h,m;++c<n;)h=r[c],i.push(h.property),l.push(h.normal),m=h.space;return new lI(K1.apply(null,i),K1.apply(null,l),m)}var p2=dI;function dI(r){return r.toLowerCase()}var Z1=eE,As=eE.prototype;As.space=null,As.attribute=null,As.property=null,As.boolean=!1,As.booleanish=!1,As.overloadedBoolean=!1,As.number=!1,As.commaSeparated=!1,As.spaceSeparated=!1,As.commaOrSpaceSeparated=!1,As.mustUseProperty=!1,As.defined=!1;function eE(r,n){this.property=r,this.attribute=n}var wu={},fI=0;wu.boolean=ep(),wu.booleanish=ep(),wu.overloadedBoolean=ep(),wu.number=ep(),wu.spaceSeparated=ep(),wu.commaSeparated=ep(),wu.commaOrSpaceSeparated=ep();function ep(){return Math.pow(2,++fI)}var tE=Z1,nE=wu,rE=h2;h2.prototype=new tE,h2.prototype.defined=!0;var aE=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],pI=aE.length;function h2(r,n,i,l){var c=-1,h;for(iE(this,"space",l),tE.call(this,r,n);++c<pI;)h=aE[c],iE(this,h,(i&nE[h])===nE[h])}function iE(r,n,i){i&&(r[n]=i)}var oE=p2,hI=J1,mI=rE,Xg=gI;function gI(r){var n=r.space,i=r.mustUseProperty||[],l=r.attributes||{},c=r.properties,h=r.transform,m={},D={},C,E;for(C in c)E=new mI(C,h(l,C),c[C],n),i.indexOf(C)!==-1&&(E.mustUseProperty=!0),m[C]=E,D[oE(C)]=C,D[oE(E.attribute)]=C;return new hI(m,D,n)}var vI=Xg,yI=vI({space:"xlink",transform:bI,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function bI(r,n){return"xlink:"+n.slice(5).toLowerCase()}var kI=Xg,wI=kI({space:"xml",transform:DI,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function DI(r,n){return"xml:"+n.slice(3).toLowerCase()}var SI=CI;function CI(r,n){return n in r?r[n]:n}var xI=SI,sE=_I;function _I(r,n){return xI(r,n.toLowerCase())}var EI=Xg,TI=sE,FI=EI({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:TI,properties:{xmlns:null,xmlnsXLink:null}}),m2=wu,AI=Xg,So=m2.booleanish,$s=m2.number,tp=m2.spaceSeparated,$I=AI({transform:PI,properties:{ariaActiveDescendant:null,ariaAtomic:So,ariaAutoComplete:null,ariaBusy:So,ariaChecked:So,ariaColCount:$s,ariaColIndex:$s,ariaColSpan:$s,ariaControls:tp,ariaCurrent:null,ariaDescribedBy:tp,ariaDetails:null,ariaDisabled:So,ariaDropEffect:tp,ariaErrorMessage:null,ariaExpanded:So,ariaFlowTo:tp,ariaGrabbed:So,ariaHasPopup:null,ariaHidden:So,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tp,ariaLevel:$s,ariaLive:null,ariaModal:So,ariaMultiLine:So,ariaMultiSelectable:So,ariaOrientation:null,ariaOwns:tp,ariaPlaceholder:null,ariaPosInSet:$s,ariaPressed:So,ariaReadOnly:So,ariaRelevant:null,ariaRequired:So,ariaRoleDescription:tp,ariaRowCount:$s,ariaRowIndex:$s,ariaRowSpan:$s,ariaSelected:So,ariaSetSize:$s,ariaSort:null,ariaValueMax:$s,ariaValueMin:$s,ariaValueNow:$s,ariaValueText:null,role:null}});function PI(r,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}var Wh=wu,NI=Xg,RI=sE,vn=Wh.boolean,LI=Wh.overloadedBoolean,Jg=Wh.booleanish,_r=Wh.number,Gi=Wh.spaceSeparated,Ab=Wh.commaSeparated,OI=NI({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:RI,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ab,acceptCharset:Gi,accessKey:Gi,action:null,allow:null,allowFullScreen:vn,allowPaymentRequest:vn,allowUserMedia:vn,alt:null,as:null,async:vn,autoCapitalize:null,autoComplete:Gi,autoFocus:vn,autoPlay:vn,capture:vn,charSet:null,checked:vn,cite:null,className:Gi,cols:_r,colSpan:null,content:null,contentEditable:Jg,controls:vn,controlsList:Gi,coords:_r|Ab,crossOrigin:null,data:null,dateTime:null,decoding:null,default:vn,defer:vn,dir:null,dirName:null,disabled:vn,download:LI,draggable:Jg,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:vn,formTarget:null,headers:Gi,height:_r,hidden:vn,high:_r,href:null,hrefLang:null,htmlFor:Gi,httpEquiv:Gi,id:null,imageSizes:null,imageSrcSet:Ab,inputMode:null,integrity:null,is:null,isMap:vn,itemId:null,itemProp:Gi,itemRef:Gi,itemScope:vn,itemType:Gi,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:vn,low:_r,manifest:null,max:null,maxLength:_r,media:null,method:null,min:null,minLength:_r,multiple:vn,muted:vn,name:null,nonce:null,noModule:vn,noValidate:vn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:vn,optimum:_r,pattern:null,ping:Gi,placeholder:null,playsInline:vn,poster:null,preload:null,readOnly:vn,referrerPolicy:null,rel:Gi,required:vn,reversed:vn,rows:_r,rowSpan:_r,sandbox:Gi,scope:null,scoped:vn,seamless:vn,selected:vn,shape:null,size:_r,sizes:null,slot:null,span:_r,spellCheck:Jg,src:null,srcDoc:null,srcLang:null,srcSet:Ab,start:_r,step:null,style:null,tabIndex:_r,target:null,title:null,translate:null,type:null,typeMustMatch:vn,useMap:null,value:Jg,width:_r,wrap:null,align:null,aLink:null,archive:Gi,axis:null,background:null,bgColor:null,border:_r,borderColor:null,bottomMargin:_r,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:vn,declare:vn,event:null,face:null,frame:null,frameBorder:null,hSpace:_r,leftMargin:_r,link:null,longDesc:null,lowSrc:null,marginHeight:_r,marginWidth:_r,noResize:vn,noHref:vn,noShade:vn,noWrap:vn,object:null,profile:null,prompt:null,rev:null,rightMargin:_r,rules:null,scheme:null,scrolling:Jg,standby:null,summary:null,text:null,topMargin:_r,valueType:null,version:null,vAlign:null,vLink:null,vSpace:_r,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:vn,disableRemotePlayback:vn,prefix:null,property:null,results:_r,security:null,unselectable:null}}),BI=uI,MI=yI,II=wI,jI=FI,zI=$I,UI=OI,HI=BI([II,MI,jI,zI,UI]),WI=p2,qI=rE,VI=Z1,g2="data",YI=JI,GI=/^data[-\w.:]+$/i,lE=/-[a-z]/g,XI=/[A-Z]/g;function JI(r,n){var i=WI(n),l=n,c=VI;return i in r.normal?r.property[r.normal[i]]:(i.length>4&&i.slice(0,4)===g2&&GI.test(n)&&(n.charAt(4)==="-"?l=QI(n):n=KI(n),c=qI),new c(l,n))}function QI(r){var n=r.slice(5).replace(lE,ej);return g2+n.charAt(0).toUpperCase()+n.slice(1)}function KI(r){var n=r.slice(4);return lE.test(n)?r:(n=n.replace(XI,ZI),n.charAt(0)!=="-"&&(n="-"+n),g2+n)}function ZI(r){return"-"+r.toLowerCase()}function ej(r){return r.charAt(1).toUpperCase()}var tj=nj,uE=/[#.]/g;function nj(r,n){for(var i=r||"",l=n||"div",c={},h=0,m,D,C;h<i.length;)uE.lastIndex=h,C=uE.exec(i),m=i.slice(h,C?C.index:i.length),m&&(D?D==="#"?c.id=m:c.className?c.className.push(m):c.className=[m]:l=m,h+=m.length),C&&(D=C[0],h++);return{type:"element",tagName:l,properties:c,children:[]}}var v2={};v2.parse=ij,v2.stringify=oj;var cE="",rj=" ",aj=/[ \t\n\r\f]+/g;function ij(r){var n=String(r||cE).trim();return n===cE?[]:n.split(aj)}function oj(r){return r.join(rj).trim()}var y2={};y2.parse=sj,y2.stringify=lj;var b2=",",dE=" ",Qg="";function sj(r){for(var n=[],i=String(r||Qg),l=i.indexOf(b2),c=0,h=!1,m;!h;)l===-1&&(l=i.length,h=!0),m=i.slice(c,l).trim(),(m||!h)&&n.push(m),c=l+1,l=i.indexOf(b2,c);return n}function lj(r,n){var i=n||{},l=i.padLeft===!1?Qg:dE,c=i.padRight?dE:Qg;return r[r.length-1]===Qg&&(r=r.concat(Qg)),r.join(c+b2+l).trim()}var uj=YI,fE=p2,cj=tj,pE=v2.parse,hE=y2.parse,dj=pj,fj={}.hasOwnProperty;function pj(r,n,i){var l=i?yj(i):null;return c;function c(m,D){var C=cj(m,n),E=Array.prototype.slice.call(arguments,2),$=C.tagName.toLowerCase(),P;if(C.tagName=l&&fj.call(l,$)?l[$]:$,D&&hj(D,C)&&(E.unshift(D),D=null),D)for(P in D)h(C.properties,P,D[P]);return mE(C.children,E),C.tagName==="template"&&(C.content={type:"root",children:C.children},C.children=[]),C}function h(m,D,C){var E,$,P;C==null||C!==C||(E=uj(r,D),$=E.property,P=C,typeof P=="string"&&(E.spaceSeparated?P=pE(P):E.commaSeparated?P=hE(P):E.commaOrSpaceSeparated&&(P=pE(hE(P).join(" ")))),$==="style"&&typeof C!="string"&&(P=vj(P)),$==="className"&&m.className&&(P=m.className.concat(P)),m[$]=gj(E,$,P))}}function hj(r,n){return typeof r=="string"||"length"in r||mj(n.tagName,r)}function mj(r,n){var i=n.type;return r==="input"||!i||typeof i!="string"?!1:typeof n.children=="object"&&"length"in n.children?!0:(i=i.toLowerCase(),r==="button"?i!=="menu"&&i!=="submit"&&i!=="reset"&&i!=="button":"value"in n)}function mE(r,n){var i,l;if(typeof n=="string"||typeof n=="number"){r.push({type:"text",value:String(n)});return}if(typeof n=="object"&&"length"in n){for(i=-1,l=n.length;++i<l;)mE(r,n[i]);return}if(typeof n!="object"||!("type"in n))throw new Error("Expected node, nodes, or string, got `"+n+"`");r.push(n)}function gj(r,n,i){var l,c,h;if(typeof i!="object"||!("length"in i))return gE(r,n,i);for(c=i.length,l=-1,h=[];++l<c;)h[l]=gE(r,n,i[l]);return h}function gE(r,n,i){var l=i;return r.number||r.positiveNumber?!isNaN(l)&&l!==""&&(l=Number(l)):(r.boolean||r.overloadedBoolean)&&typeof l=="string"&&(l===""||fE(i)===fE(n))&&(l=!0),l}function vj(r){var n=[],i;for(i in r)n.push([i,r[i]].join(": "));return n.join("; ")}function yj(r){for(var n=r.length,i=-1,l={},c;++i<n;)c=r[i],l[c.toLowerCase()]=c;return l}var bj=HI,kj=dj,vE=kj(bj,"div");vE.displayName="html";var wj=vE,Dj=wj;const Sj={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"},Cj={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var yE=xj;function xj(r){var n=typeof r=="string"?r.charCodeAt(0):r;return n>=48&&n<=57}var _j=Ej;function Ej(r){var n=typeof r=="string"?r.charCodeAt(0):r;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}var Tj=Fj;function Fj(r){var n=typeof r=="string"?r.charCodeAt(0):r;return n>=97&&n<=122||n>=65&&n<=90}var Aj=Tj,$j=yE,Pj=Nj;function Nj(r){return Aj(r)||$j(r)}var $b,Rj=59,Lj=Oj;function Oj(r){var n="&"+r+";",i;return $b=$b||document.createElement("i"),$b.innerHTML=n,i=$b.textContent,i.charCodeAt(i.length-1)===Rj&&r!=="semi"||i===n?!1:i}var bE=Sj,kE=Cj,Bj=yE,Mj=_j,wE=Pj,Ij=Lj,jj=Zj,zj={}.hasOwnProperty,qh=String.fromCharCode,Uj=Function.prototype,DE={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Hj=9,SE=10,Wj=12,qj=32,CE=38,Vj=59,Yj=60,Gj=61,Xj=35,Jj=88,Qj=120,Kj=65533,Vh="named",k2="hexadecimal",w2="decimal",D2={};D2[k2]=16,D2[w2]=10;var Pb={};Pb[Vh]=wE,Pb[w2]=Bj,Pb[k2]=Mj;var xE=1,_E=2,EE=3,TE=4,FE=5,S2=6,AE=7,Od={};Od[xE]="Named character references must be terminated by a semicolon",Od[_E]="Numeric character references must be terminated by a semicolon",Od[EE]="Named character references cannot be empty",Od[TE]="Numeric character references cannot be empty",Od[FE]="Named character references must be known",Od[S2]="Numeric character references cannot be disallowed",Od[AE]="Numeric character references cannot be outside the permissible Unicode range";function Zj(r,n){var i={},l,c;n||(n={});for(c in DE)l=n[c],i[c]=l??DE[c];return(i.position.indent||i.position.start)&&(i.indent=i.position.indent||[],i.position=i.position.start),e4(r,i)}function e4(r,n){var i=n.additional,l=n.nonTerminated,c=n.text,h=n.reference,m=n.warning,D=n.textContext,C=n.referenceContext,E=n.warningContext,$=n.position,P=n.indent||[],R=r.length,O=0,I=-1,J=$.column||1,V=$.line||1,De="",q=[],W,K,X,ae,ue,xe,ye,Ye,We,Me,Qe,Ie,at,Le,Ae,ce,Ne,Se,Q;for(typeof i=="string"&&(i=i.charCodeAt(0)),ce=le(),Ye=m?it:Uj,O--,R++;++O<R;)if(ue===SE&&(J=P[I]||1),ue=r.charCodeAt(O),ue===CE){if(ye=r.charCodeAt(O+1),ye===Hj||ye===SE||ye===Wj||ye===qj||ye===CE||ye===Yj||ye!==ye||i&&ye===i){De+=qh(ue),J++;continue}for(at=O+1,Ie=at,Q=at,ye===Xj?(Q=++Ie,ye=r.charCodeAt(Q),ye===Jj||ye===Qj?(Le=k2,Q=++Ie):Le=w2):Le=Vh,W="",Qe="",ae="",Ae=Pb[Le],Q--;++Q<R&&(ye=r.charCodeAt(Q),!!Ae(ye));)ae+=qh(ye),Le===Vh&&zj.call(bE,ae)&&(W=ae,Qe=bE[ae]);X=r.charCodeAt(Q)===Vj,X&&(Q++,K=Le===Vh?Ij(ae):!1,K&&(W=ae,Qe=K)),Se=1+Q-at,!X&&!l||(ae?Le===Vh?(X&&!Qe?Ye(FE,1):(W!==ae&&(Q=Ie+W.length,Se=1+Q-Ie,X=!1),X||(We=W?xE:EE,n.attribute?(ye=r.charCodeAt(Q),ye===Gj?(Ye(We,Se),Qe=null):wE(ye)?Qe=null:Ye(We,Se)):Ye(We,Se))),xe=Qe):(X||Ye(_E,Se),xe=parseInt(ae,D2[Le]),t4(xe)?(Ye(AE,Se),xe=qh(Kj)):xe in kE?(Ye(S2,Se),xe=kE[xe]):(Me="",n4(xe)&&Ye(S2,Se),xe>65535&&(xe-=65536,Me+=qh(xe>>>10|55296),xe=56320|xe&1023),xe=Me+qh(xe))):Le!==Vh&&Ye(TE,Se)),xe?(Je(),ce=le(),O=Q-1,J+=Q-at+1,q.push(xe),Ne=le(),Ne.offset++,h&&h.call(C,xe,{start:ce,end:Ne},r.slice(at-1,Q)),ce=Ne):(ae=r.slice(at-1,Q),De+=ae,J+=ae.length,O=Q-1)}else ue===10&&(V++,I++,J=0),ue===ue?(De+=qh(ue),J++):Je();return q.join("");function le(){return{line:V,column:J,offset:O+($.offset||0)}}function it(pt,lt){var gt=le();gt.column+=lt,gt.offset+=lt,m.call(E,Od[pt],gt,pt)}function Je(){De&&(q.push(De),c&&c.call(D,De,{start:ce,end:le()}),De="")}}function t4(r){return r>=55296&&r<=57343||r>1114111}function n4(r){return r>=1&&r<=8||r===11||r>=13&&r<=31||r>=127&&r<=159||r>=64976&&r<=65007||(r&65535)===65535||(r&65535)===65534}var $E={exports:{}};(function(r){var n=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/**
|
|
1539
1539
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
1540
1540
|
*
|
|
1541
1541
|
* @license MIT <https://opensource.org/licenses/MIT>
|
|
1542
1542
|
* @author Lea Verou <https://lea.verou.me>
|
|
1543
1543
|
* @namespace
|
|
1544
1544
|
* @public
|
|
1545
|
-
*/var i=function(l){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,m={},D={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function q(W){return W instanceof C?new C(W.type,q(W.content),W.alias):Array.isArray(W)?W.map(q):W.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(q){return Object.prototype.toString.call(q).slice(8,-1)},objId:function(q){return q.__id||Object.defineProperty(q,"__id",{value:++h}),q.__id},clone:function q(W,K){K=K||{};var X,ae;switch(D.util.type(W)){case"Object":if(ae=D.util.objId(W),K[ae])return K[ae];X={},K[ae]=X;for(var ue in W)W.hasOwnProperty(ue)&&(X[ue]=q(W[ue],K));return X;case"Array":return ae=D.util.objId(W),K[ae]?K[ae]:(X=[],K[ae]=X,W.forEach(function(xe,ye){X[ye]=q(xe,K)}),X);default:return W}},getLanguage:function(q){for(;q;){var W=c.exec(q.className);if(W)return W[1].toLowerCase();q=q.parentElement}return"none"},setLanguage:function(q,W){q.className=q.className.replace(RegExp(c,"gi"),""),q.classList.add("language-"+W)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(X){var q=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(X.stack)||[])[1];if(q){var W=document.getElementsByTagName("script");for(var K in W)if(W[K].src==q)return W[K]}return null}},isActive:function(q,W,K){for(var X="no-"+W;q;){var ae=q.classList;if(ae.contains(W))return!0;if(ae.contains(X))return!1;q=q.parentElement}return!!K}},languages:{plain:m,plaintext:m,text:m,txt:m,extend:function(q,W){var K=D.util.clone(D.languages[q]);for(var X in W)K[X]=W[X];return K},insertBefore:function(q,W,K,X){X=X||D.languages;var ae=X[q],ue={};for(var xe in ae)if(ae.hasOwnProperty(xe)){if(xe==W)for(var ye in K)K.hasOwnProperty(ye)&&(ue[ye]=K[ye]);K.hasOwnProperty(xe)||(ue[xe]=ae[xe])}var Ye=X[q];return X[q]=ue,D.languages.DFS(D.languages,function(We,Me){Me===Ye&&We!=q&&(this[We]=ue)}),ue},DFS:function q(W,K,X,ae){ae=ae||{};var ue=D.util.objId;for(var xe in W)if(W.hasOwnProperty(xe)){K.call(W,xe,W[xe],X||xe);var ye=W[xe],Ye=D.util.type(ye);Ye==="Object"&&!ae[ue(ye)]?(ae[ue(ye)]=!0,q(ye,K,null,ae)):Ye==="Array"&&!ae[ue(ye)]&&(ae[ue(ye)]=!0,q(ye,K,xe,ae))}}},plugins:{},highlightAll:function(q,W){D.highlightAllUnder(document,q,W)},highlightAllUnder:function(q,W,K){var X={callback:K,container:q,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};D.hooks.run("before-highlightall",X),X.elements=Array.prototype.slice.apply(X.container.querySelectorAll(X.selector)),D.hooks.run("before-all-elements-highlight",X);for(var ae=0,ue;ue=X.elements[ae++];)D.highlightElement(ue,W===!0,X.callback)},highlightElement:function(q,W,K){var X=D.util.getLanguage(q),ae=D.languages[X];D.util.setLanguage(q,X);var ue=q.parentElement;ue&&ue.nodeName.toLowerCase()==="pre"&&D.util.setLanguage(ue,X);var xe=q.textContent,ye={element:q,language:X,grammar:ae,code:xe};function Ye(Me){ye.highlightedCode=Me,D.hooks.run("before-insert",ye),ye.element.innerHTML=ye.highlightedCode,D.hooks.run("after-highlight",ye),D.hooks.run("complete",ye),K&&K.call(ye.element)}if(D.hooks.run("before-sanity-check",ye),ue=ye.element.parentElement,ue&&ue.nodeName.toLowerCase()==="pre"&&!ue.hasAttribute("tabindex")&&ue.setAttribute("tabindex","0"),!ye.code){D.hooks.run("complete",ye),K&&K.call(ye.element);return}if(D.hooks.run("before-highlight",ye),!ye.grammar){Ye(D.util.encode(ye.code));return}if(W&&l.Worker){var We=new Worker(D.filename);We.onmessage=function(Me){Ye(Me.data)},We.postMessage(JSON.stringify({language:ye.language,code:ye.code,immediateClose:!0}))}else Ye(D.highlight(ye.code,ye.grammar,ye.language))},highlight:function(q,W,K){var X={code:q,grammar:W,language:K};if(D.hooks.run("before-tokenize",X),!X.grammar)throw new Error('The language "'+X.language+'" has no grammar.');return X.tokens=D.tokenize(X.code,X.grammar),D.hooks.run("after-tokenize",X),C.stringify(D.util.encode(X.tokens),X.language)},tokenize:function(q,W){var K=W.rest;if(K){for(var X in K)W[X]=K[X];delete W.rest}var ae=new P;return R(ae,ae.head,q),$(q,ae,W,ae.head,0),j(ae)},hooks:{all:{},add:function(q,W){var K=D.hooks.all;K[q]=K[q]||[],K[q].push(W)},run:function(q,W){var K=D.hooks.all[q];if(!(!K||!K.length))for(var X=0,ae;ae=K[X++];)ae(W)}},Token:C};l.Prism=D;function C(q,W,K,X){this.type=q,this.content=W,this.alias=K,this.length=(X||"").length|0}C.stringify=function q(W,K){if(typeof W=="string")return W;if(Array.isArray(W)){var X="";return W.forEach(function(Ye){X+=q(Ye,K)}),X}var ae={type:W.type,content:q(W.content,K),tag:"span",classes:["token",W.type],attributes:{},language:K},ue=W.alias;ue&&(Array.isArray(ue)?Array.prototype.push.apply(ae.classes,ue):ae.classes.push(ue)),D.hooks.run("wrap",ae);var xe="";for(var ye in ae.attributes)xe+=" "+ye+'="'+(ae.attributes[ye]||"").replace(/"/g,""")+'"';return"<"+ae.tag+' class="'+ae.classes.join(" ")+'"'+xe+">"+ae.content+"</"+ae.tag+">"};function E(q,W,K,X){q.lastIndex=W;var ae=q.exec(K);if(ae&&X&&ae[1]){var ue=ae[1].length;ae.index+=ue,ae[0]=ae[0].slice(ue)}return ae}function $(q,W,K,X,ae,ue){for(var xe in K)if(!(!K.hasOwnProperty(xe)||!K[xe])){var ye=K[xe];ye=Array.isArray(ye)?ye:[ye];for(var Ye=0;Ye<ye.length;++Ye){if(ue&&ue.cause==xe+","+Ye)return;var We=ye[Ye],Me=We.inside,Qe=!!We.lookbehind,Ie=!!We.greedy,at=We.alias;if(Ie&&!We.pattern.global){var Le=We.pattern.toString().match(/[imsuy]*$/)[0];We.pattern=RegExp(We.pattern.source,Le+"g")}for(var Ae=We.pattern||We,ce=X.next,Ne=ae;ce!==W.tail&&!(ue&&Ne>=ue.reach);Ne+=ce.value.length,ce=ce.next){var Se=ce.value;if(W.length>q.length)return;if(!(Se instanceof C)){var Q=1,le;if(Ie){if(le=E(Ae,Ne,q,Qe),!le||le.index>=q.length)break;var lt=le.index,it=le.index+le[0].length,Je=Ne;for(Je+=ce.value.length;lt>=Je;)ce=ce.next,Je+=ce.value.length;if(Je-=ce.value.length,Ne=Je,ce.value instanceof C)continue;for(var pt=ce;pt!==W.tail&&(Je<it||typeof pt.value=="string");pt=pt.next)Q++,Je+=pt.value.length;Q--,Se=q.slice(Ne,Je),le.index-=Ne}else if(le=E(Ae,0,Se,Qe),!le)continue;var lt=le.index,gt=le[0],vt=Se.slice(0,lt),Et=Se.slice(lt+gt.length),tn=Ne+Se.length;ue&&tn>ue.reach&&(ue.reach=tn);var zt=ce.prev;vt&&(zt=R(W,zt,vt),Ne+=vt.length),O(W,zt,Q);var zn=new C(xe,Me?D.tokenize(gt,Me):gt,at,gt);if(ce=R(W,zt,zn),Et&&R(W,ce,Et),Q>1){var At={cause:xe+","+Ye,reach:tn};$(q,W,K,ce.prev,Ne,At),ue&&At.reach>ue.reach&&(ue.reach=At.reach)}}}}}}function P(){var q={value:null,prev:null,next:null},W={value:null,prev:q,next:null};q.next=W,this.head=q,this.tail=W,this.length=0}function R(q,W,K){var X=W.next,ae={value:K,prev:W,next:X};return W.next=ae,X.prev=ae,q.length++,ae}function O(q,W,K){for(var X=W.next,ae=0;ae<K&&X!==q.tail;ae++)X=X.next;W.next=X,X.prev=W,q.length-=ae}function j(q){for(var W=[],K=q.head.next;K!==q.tail;)W.push(K.value),K=K.next;return W}if(!l.document)return l.addEventListener&&(D.disableWorkerMessageHandler||l.addEventListener("message",function(q){var W=JSON.parse(q.data),K=W.language,X=W.code,ae=W.immediateClose;l.postMessage(D.highlight(X,D.languages[K],K)),ae&&l.close()},!1)),D;var J=D.util.currentScript();J&&(D.filename=J.src,J.hasAttribute("data-manual")&&(D.manual=!0));function V(){D.manual||D.highlightAll()}if(!D.manual){var De=document.readyState;De==="loading"||De==="interactive"&&J&&J.defer?document.addEventListener("DOMContentLoaded",V):window.requestAnimationFrame?window.requestAnimationFrame(V):window.setTimeout(V,16)}return D}(n);r.exports&&(r.exports=i),typeof Cd<"u"&&(Cd.Prism=i)})($E);var r4=$E.exports,a4=C2;C2.displayName="markup",C2.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function C2(r){r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(i,l){var c={};c["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[l]},c.cdata=/^<!\[CDATA\[|\]\]>$/i;var h={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:c}};h["language-"+l]={pattern:/[\s\S]+/,inside:r.languages[l]};var m={};m[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:h},r.languages.insertBefore("markup","cdata",m)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(n,i){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:r.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml}var i4=x2;x2.displayName="css",x2.aliases=[];function x2(r){(function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var l=n.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(r)}var o4=_2;_2.displayName="clike",_2.aliases=[];function _2(r){r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var s4=E2;E2.displayName="javascript",E2.aliases=["js"];function E2(r){r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript}var Kg=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Cd=="object"?Cd:{},l4=C4();Kg.Prism={manual:!0,disableWorkerMessageHandler:!0};var u4=Dj,c4=jj,PE=r4,d4=a4,f4=i4,p4=o4,h4=s4;l4();var T2={}.hasOwnProperty;function NE(){}NE.prototype=PE;var pa=new NE,m4=pa;pa.highlight=v4,pa.register=Zg,pa.alias=g4,pa.registered=y4,pa.listLanguages=b4,Zg(d4),Zg(f4),Zg(p4),Zg(h4),pa.util.encode=D4,pa.Token.stringify=k4;function Zg(r){if(typeof r!="function"||!r.displayName)throw new Error("Expected `function` for `grammar`, got `"+r+"`");pa.languages[r.displayName]===void 0&&r(pa)}function g4(r,n){var i=pa.languages,l=r,c,h,m,D;n&&(l={},l[r]=n);for(c in l)for(h=l[c],h=typeof h=="string"?[h]:h,m=h.length,D=-1;++D<m;)i[h[D]]=i[c]}function v4(r,n){var i=PE.highlight,l;if(typeof r!="string")throw new Error("Expected `string` for `value`, got `"+r+"`");if(pa.util.type(n)==="Object")l=n,n=null;else{if(typeof n!="string")throw new Error("Expected `string` for `name`, got `"+n+"`");if(T2.call(pa.languages,n))l=pa.languages[n];else throw new Error("Unknown language: `"+n+"` is not registered")}return i.call(this,r,l,n)}function y4(r){if(typeof r!="string")throw new Error("Expected `string` for `language`, got `"+r+"`");return T2.call(pa.languages,r)}function b4(){var r=pa.languages,n=[],i;for(i in r)T2.call(r,i)&&typeof r[i]=="object"&&n.push(i);return n}function k4(r,n,i){var l;return typeof r=="string"?{type:"text",value:r}:pa.util.type(r)==="Array"?w4(r,n):(l={type:r.type,content:pa.Token.stringify(r.content,n,i),tag:"span",classes:["token",r.type],attributes:{},language:n,parent:i},r.alias&&(l.classes=l.classes.concat(r.alias)),pa.hooks.run("wrap",l),u4(l.tag+"."+l.classes.join("."),S4(l.attributes),l.content))}function w4(r,n){for(var i=[],l=r.length,c=-1,h;++c<l;)h=r[c],h!==""&&h!==null&&h!==void 0&&i.push(h);for(c=-1,l=i.length;++c<l;)h=i[c],i[c]=pa.Token.stringify(h,n,i);return i}function D4(r){return r}function S4(r){var n;for(n in r)r[n]=c4(r[n]);return r}function C4(){var r="Prism"in Kg,n=r?Kg.Prism:void 0;return i;function i(){r?Kg.Prism=n:delete Kg.Prism,r=void 0,n=void 0}}const F2=Iy(m4);var ev=aI(F2,{});ev.registerLanguage=function(r,n){return F2.register(n)},ev.alias=function(r,n){return F2.alias(r,n)};const RE={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var x4=A2;A2.displayName="jsx",A2.aliases=[];function A2(r){(function(n){var i=n.util.clone(n.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,h=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function m(E,$){return E=E.replace(/<S>/g,function(){return l}).replace(/<BRACES>/g,function(){return c}).replace(/<SPREAD>/g,function(){return h}),RegExp(E,$)}h=m(h).source,n.languages.jsx=n.languages.extend("markup",i),n.languages.jsx.tag.pattern=m(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=i.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:m(/<SPREAD>/.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:m(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var D=function(E){return E?typeof E=="string"?E:typeof E.content=="string"?E.content:E.content.map(D).join(""):""},C=function(E){for(var $=[],P=0;P<E.length;P++){var R=E[P],O=!1;if(typeof R!="string"&&(R.type==="tag"&&R.content[0]&&R.content[0].type==="tag"?R.content[0].content[0].content==="</"?$.length>0&&$[$.length-1].tagName===D(R.content[0].content[1])&&$.pop():R.content[R.content.length-1].content==="/>"||$.push({tagName:D(R.content[0].content[1]),openedBraces:0}):$.length>0&&R.type==="punctuation"&&R.content==="{"?$[$.length-1].openedBraces++:$.length>0&&$[$.length-1].openedBraces>0&&R.type==="punctuation"&&R.content==="}"?$[$.length-1].openedBraces--:O=!0),(O||typeof R=="string")&&$.length>0&&$[$.length-1].openedBraces===0){var j=D(R);P<E.length-1&&(typeof E[P+1]=="string"||E[P+1].type==="plain-text")&&(j+=D(E[P+1]),E.splice(P+1,1)),P>0&&(typeof E[P-1]=="string"||E[P-1].type==="plain-text")&&(j=D(E[P-1])+j,E.splice(P-1,1),P--),E[P]=new n.Token("plain-text",j,null,j)}R.content&&typeof R.content!="string"&&C(R.content)}};n.hooks.add("after-tokenize",function(E){E.language!=="jsx"&&E.language!=="tsx"||C(E.tokens)})})(r)}const _4=Iy(x4),E4=ti({tagName:"pkt-tag",elementClass:Es,react:$e,displayName:"PktTag",events:{onClose:"close"}}),Yh=$e.forwardRef(({children:r,...n},i)=>L.jsx(E4,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));Yh.displayName="PktTag";const LE=$e.forwardRef(({arrowNav:r=!0,tabs:n,onTabSelected:i},l)=>{const c=$e.useRef([]);$e.useEffect(()=>{c.current=c.current.slice(0,n.length)},[n]);const h=(D,C)=>{C.action&&C.action(D),i&&i(D)},m=(D,C)=>{var E,$;r&&(C.code==="ArrowLeft"&&D!==0&&((E=c.current[D-1])==null||E.focus()),C.code==="ArrowRight"&&D<n.length-1&&(($=c.current[D+1])==null||$.focus()),(C.code==="ArrowDown"||C.code==="Space")&&h(D,n[D]))};return L.jsx("div",{className:"pkt-tabs",ref:l,children:L.jsx("div",{className:"pkt-tabs__list",role:r?"tablist":"navigation",children:n.map((D,C)=>L.jsx($e.Fragment,{children:D.href?L.jsxs("a",{"aria-selected":!!D.active,role:r?"tab":void 0,href:D.href,"aria-controls":D.controls,className:`pkt-tabs__link ${D.active?"active":""}`,onKeyUp:E=>m(C,E),onClick:()=>h(C,D),tabIndex:D.active||!r?void 0:-1,ref:E=>{c.current[C]=E},children:[D.icon&&L.jsx(Mn,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&L.jsx(Yh,{skin:D.tag.skin,size:"small",children:D.tag.text})]}):L.jsxs("button",{"aria-selected":!!D.active,role:r?"tab":void 0,type:"button","aria-controls":D.controls,className:`pkt-tabs__button pkt-link-button ${D.active?"active":""}`,onKeyUp:E=>m(C,E),onClick:()=>h(C,D),tabIndex:D.active||!r?void 0:-1,ref:E=>{c.current[C]=E},children:[D.icon&&L.jsx(Mn,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&L.jsx(Yh,{skin:D.tag.skin,size:"small",children:D.tag.text})]},"b-"+C)},C))})})}),Nb=$e.forwardRef(({id:r,ariaDescribedby:n,ariaLabelledby:i,autocomplete:l="off",counter:c,counterMaxLength:h,className:m,disabled:D=!1,errorMessage:C,hasError:E=!1,helptext:$,helptextDropdown:P,helptextDropdownButton:R,iconNameRight:O,inline:j=!1,fullwidth:J=!1,label:V,name:De,optionalTag:q=!1,optionalText:W,requiredTag:K=!1,requiredText:X,placeholder:ae,prefix:ue,suffix:xe,type:ye="text",useWrapper:Ye=!0,omitSearchIcon:We=!1,value:Me,minLength:Qe,maxLength:Ie,min:at,max:Le,step:Ae,size:ce,readonly:Ne,required:Se,dataTestid:Q,onChange:le,skipForwardTestid:it=!1,...Je},pt)=>{const lt=[m,"pkt-textinput"].join(" "),gt=ye==="search"&&!O&&!We,vt=ye==="date"&&Me?Me.slice(0,10):Me,[Et,tn]=$e.useState((Me==null?void 0:Me.length)||0),zt=`${r}`,zn=`${zt}-label`,At=i||zn,ot=Un=>{const yn=Un.currentTarget.value;c&&tn((yn==null?void 0:yn.length)||0),le&&le(Un)};return $e.useEffect(()=>{Me!==void 0&&tn((Me==null?void 0:Me.length)||0)},[Me]),L.jsx(Rh,{ariaDescribedby:n,className:lt,disabled:D,errorMessage:C,forId:zt,hasError:E,helptext:$,helptextDropdown:P,helptextDropdownButton:R,inline:j,label:V,optionalTag:q,optionalText:W,requiredTag:K,requiredText:X,useWrapper:Ye,counter:c,counterCurrent:Et,counterMaxLength:h,children:L.jsxs("div",{className:"pkt-input__container","data-testid":Q,"data-skip-forward-testid":it?"true":void 0,children:[ue&&L.jsx("div",{className:"pkt-input-prefix",children:ue}),L.jsx("input",{...Je,ref:pt,className:`pkt-input ${J?"pkt-input--fullwidth":""} ${h&&Et>h?"pkt-input--counter-error":""}`,type:ye,name:`${De||r}`,value:vt,id:zt,placeholder:ae,autoComplete:l,disabled:D,"aria-invalid":E,"aria-errormessage":`${r}-error`,"aria-labelledby":At,min:at,max:Le,onChange:ot,step:Ae,minLength:Qe,maxLength:Ie,size:ce,required:Se}),xe&&L.jsxs("p",{className:"pkt-input-suffix",children:[xe,O&&L.jsx(Mn,{className:"pkt-input-suffix-icon",name:O}),gt&&L.jsx(Mn,{className:"pkt-input-suffix-icon",name:"magnifying-glass-big"})]}),!xe&&O&&L.jsx(Mn,{className:"pkt-input-icon",name:O}),!xe&>&&L.jsx(Mn,{className:"pkt-input-icon",name:"magnifying-glass-big"})]})})}),Rb=({className:r,compact:n=!1,skin:i="basic",responsiveView:l=!0,children:c})=>L.jsx("table",{"data-testid":"pkt-table",className:ml(r,"pkt-table",{"pkt-table--responsive":l,"pkt-table--compact":n,"pkt-table--basic":i==="basic","pkt-table--zebra-blue":i==="zebra-blue"}),role:"table",children:c}),Lb=({className:r,children:n})=>L.jsx("thead",{className:ml(r,"pkt-table__header",{}),role:"rowgroup",children:n}),Ob=({children:r,className:n})=>L.jsx("tbody",{className:ml(n,"pkt-table__body",{}),role:"rowgroup",children:r}),np=({className:r,children:n})=>L.jsx("tr",{className:ml(r,"pkt-table__row",{}),role:"row",children:n}),gl=({className:r,children:n})=>L.jsx("th",{className:ml(r,"pkt-table__header-cell",{}),role:"columnheader",children:n}),Zo=({children:r,className:n,dataLabel:i})=>L.jsx("td",{className:ml(n,"pkt-table__data-cell",{}),"data-label":i,role:"cell","data-testid":"pkt-table__data-cell",children:r}),T4=({specs:r})=>{const n=l=>Array.isArray(l)?l.join(`
|
|
1545
|
+
*/var i=function(l){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,h=0,m={},D={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function q(W){return W instanceof C?new C(W.type,q(W.content),W.alias):Array.isArray(W)?W.map(q):W.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(q){return Object.prototype.toString.call(q).slice(8,-1)},objId:function(q){return q.__id||Object.defineProperty(q,"__id",{value:++h}),q.__id},clone:function q(W,K){K=K||{};var X,ae;switch(D.util.type(W)){case"Object":if(ae=D.util.objId(W),K[ae])return K[ae];X={},K[ae]=X;for(var ue in W)W.hasOwnProperty(ue)&&(X[ue]=q(W[ue],K));return X;case"Array":return ae=D.util.objId(W),K[ae]?K[ae]:(X=[],K[ae]=X,W.forEach(function(xe,ye){X[ye]=q(xe,K)}),X);default:return W}},getLanguage:function(q){for(;q;){var W=c.exec(q.className);if(W)return W[1].toLowerCase();q=q.parentElement}return"none"},setLanguage:function(q,W){q.className=q.className.replace(RegExp(c,"gi"),""),q.classList.add("language-"+W)},currentScript:function(){if(typeof document>"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(X){var q=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(X.stack)||[])[1];if(q){var W=document.getElementsByTagName("script");for(var K in W)if(W[K].src==q)return W[K]}return null}},isActive:function(q,W,K){for(var X="no-"+W;q;){var ae=q.classList;if(ae.contains(W))return!0;if(ae.contains(X))return!1;q=q.parentElement}return!!K}},languages:{plain:m,plaintext:m,text:m,txt:m,extend:function(q,W){var K=D.util.clone(D.languages[q]);for(var X in W)K[X]=W[X];return K},insertBefore:function(q,W,K,X){X=X||D.languages;var ae=X[q],ue={};for(var xe in ae)if(ae.hasOwnProperty(xe)){if(xe==W)for(var ye in K)K.hasOwnProperty(ye)&&(ue[ye]=K[ye]);K.hasOwnProperty(xe)||(ue[xe]=ae[xe])}var Ye=X[q];return X[q]=ue,D.languages.DFS(D.languages,function(We,Me){Me===Ye&&We!=q&&(this[We]=ue)}),ue},DFS:function q(W,K,X,ae){ae=ae||{};var ue=D.util.objId;for(var xe in W)if(W.hasOwnProperty(xe)){K.call(W,xe,W[xe],X||xe);var ye=W[xe],Ye=D.util.type(ye);Ye==="Object"&&!ae[ue(ye)]?(ae[ue(ye)]=!0,q(ye,K,null,ae)):Ye==="Array"&&!ae[ue(ye)]&&(ae[ue(ye)]=!0,q(ye,K,xe,ae))}}},plugins:{},highlightAll:function(q,W){D.highlightAllUnder(document,q,W)},highlightAllUnder:function(q,W,K){var X={callback:K,container:q,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};D.hooks.run("before-highlightall",X),X.elements=Array.prototype.slice.apply(X.container.querySelectorAll(X.selector)),D.hooks.run("before-all-elements-highlight",X);for(var ae=0,ue;ue=X.elements[ae++];)D.highlightElement(ue,W===!0,X.callback)},highlightElement:function(q,W,K){var X=D.util.getLanguage(q),ae=D.languages[X];D.util.setLanguage(q,X);var ue=q.parentElement;ue&&ue.nodeName.toLowerCase()==="pre"&&D.util.setLanguage(ue,X);var xe=q.textContent,ye={element:q,language:X,grammar:ae,code:xe};function Ye(Me){ye.highlightedCode=Me,D.hooks.run("before-insert",ye),ye.element.innerHTML=ye.highlightedCode,D.hooks.run("after-highlight",ye),D.hooks.run("complete",ye),K&&K.call(ye.element)}if(D.hooks.run("before-sanity-check",ye),ue=ye.element.parentElement,ue&&ue.nodeName.toLowerCase()==="pre"&&!ue.hasAttribute("tabindex")&&ue.setAttribute("tabindex","0"),!ye.code){D.hooks.run("complete",ye),K&&K.call(ye.element);return}if(D.hooks.run("before-highlight",ye),!ye.grammar){Ye(D.util.encode(ye.code));return}if(W&&l.Worker){var We=new Worker(D.filename);We.onmessage=function(Me){Ye(Me.data)},We.postMessage(JSON.stringify({language:ye.language,code:ye.code,immediateClose:!0}))}else Ye(D.highlight(ye.code,ye.grammar,ye.language))},highlight:function(q,W,K){var X={code:q,grammar:W,language:K};if(D.hooks.run("before-tokenize",X),!X.grammar)throw new Error('The language "'+X.language+'" has no grammar.');return X.tokens=D.tokenize(X.code,X.grammar),D.hooks.run("after-tokenize",X),C.stringify(D.util.encode(X.tokens),X.language)},tokenize:function(q,W){var K=W.rest;if(K){for(var X in K)W[X]=K[X];delete W.rest}var ae=new P;return R(ae,ae.head,q),$(q,ae,W,ae.head,0),I(ae)},hooks:{all:{},add:function(q,W){var K=D.hooks.all;K[q]=K[q]||[],K[q].push(W)},run:function(q,W){var K=D.hooks.all[q];if(!(!K||!K.length))for(var X=0,ae;ae=K[X++];)ae(W)}},Token:C};l.Prism=D;function C(q,W,K,X){this.type=q,this.content=W,this.alias=K,this.length=(X||"").length|0}C.stringify=function q(W,K){if(typeof W=="string")return W;if(Array.isArray(W)){var X="";return W.forEach(function(Ye){X+=q(Ye,K)}),X}var ae={type:W.type,content:q(W.content,K),tag:"span",classes:["token",W.type],attributes:{},language:K},ue=W.alias;ue&&(Array.isArray(ue)?Array.prototype.push.apply(ae.classes,ue):ae.classes.push(ue)),D.hooks.run("wrap",ae);var xe="";for(var ye in ae.attributes)xe+=" "+ye+'="'+(ae.attributes[ye]||"").replace(/"/g,""")+'"';return"<"+ae.tag+' class="'+ae.classes.join(" ")+'"'+xe+">"+ae.content+"</"+ae.tag+">"};function E(q,W,K,X){q.lastIndex=W;var ae=q.exec(K);if(ae&&X&&ae[1]){var ue=ae[1].length;ae.index+=ue,ae[0]=ae[0].slice(ue)}return ae}function $(q,W,K,X,ae,ue){for(var xe in K)if(!(!K.hasOwnProperty(xe)||!K[xe])){var ye=K[xe];ye=Array.isArray(ye)?ye:[ye];for(var Ye=0;Ye<ye.length;++Ye){if(ue&&ue.cause==xe+","+Ye)return;var We=ye[Ye],Me=We.inside,Qe=!!We.lookbehind,Ie=!!We.greedy,at=We.alias;if(Ie&&!We.pattern.global){var Le=We.pattern.toString().match(/[imsuy]*$/)[0];We.pattern=RegExp(We.pattern.source,Le+"g")}for(var Ae=We.pattern||We,ce=X.next,Ne=ae;ce!==W.tail&&!(ue&&Ne>=ue.reach);Ne+=ce.value.length,ce=ce.next){var Se=ce.value;if(W.length>q.length)return;if(!(Se instanceof C)){var Q=1,le;if(Ie){if(le=E(Ae,Ne,q,Qe),!le||le.index>=q.length)break;var lt=le.index,it=le.index+le[0].length,Je=Ne;for(Je+=ce.value.length;lt>=Je;)ce=ce.next,Je+=ce.value.length;if(Je-=ce.value.length,Ne=Je,ce.value instanceof C)continue;for(var pt=ce;pt!==W.tail&&(Je<it||typeof pt.value=="string");pt=pt.next)Q++,Je+=pt.value.length;Q--,Se=q.slice(Ne,Je),le.index-=Ne}else if(le=E(Ae,0,Se,Qe),!le)continue;var lt=le.index,gt=le[0],vt=Se.slice(0,lt),Et=Se.slice(lt+gt.length),tn=Ne+Se.length;ue&&tn>ue.reach&&(ue.reach=tn);var zt=ce.prev;vt&&(zt=R(W,zt,vt),Ne+=vt.length),O(W,zt,Q);var zn=new C(xe,Me?D.tokenize(gt,Me):gt,at,gt);if(ce=R(W,zt,zn),Et&&R(W,ce,Et),Q>1){var At={cause:xe+","+Ye,reach:tn};$(q,W,K,ce.prev,Ne,At),ue&&At.reach>ue.reach&&(ue.reach=At.reach)}}}}}}function P(){var q={value:null,prev:null,next:null},W={value:null,prev:q,next:null};q.next=W,this.head=q,this.tail=W,this.length=0}function R(q,W,K){var X=W.next,ae={value:K,prev:W,next:X};return W.next=ae,X.prev=ae,q.length++,ae}function O(q,W,K){for(var X=W.next,ae=0;ae<K&&X!==q.tail;ae++)X=X.next;W.next=X,X.prev=W,q.length-=ae}function I(q){for(var W=[],K=q.head.next;K!==q.tail;)W.push(K.value),K=K.next;return W}if(!l.document)return l.addEventListener&&(D.disableWorkerMessageHandler||l.addEventListener("message",function(q){var W=JSON.parse(q.data),K=W.language,X=W.code,ae=W.immediateClose;l.postMessage(D.highlight(X,D.languages[K],K)),ae&&l.close()},!1)),D;var J=D.util.currentScript();J&&(D.filename=J.src,J.hasAttribute("data-manual")&&(D.manual=!0));function V(){D.manual||D.highlightAll()}if(!D.manual){var De=document.readyState;De==="loading"||De==="interactive"&&J&&J.defer?document.addEventListener("DOMContentLoaded",V):window.requestAnimationFrame?window.requestAnimationFrame(V):window.setTimeout(V,16)}return D}(n);r.exports&&(r.exports=i),typeof Cd<"u"&&(Cd.Prism=i)})($E);var r4=$E.exports,a4=C2;C2.displayName="markup",C2.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function C2(r){r.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.value.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(i,l){var c={};c["language-"+l]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:r.languages[l]},c.cdata=/^<!\[CDATA\[|\]\]>$/i;var h={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:c}};h["language-"+l]={pattern:/[\s\S]+/,inside:r.languages[l]};var m={};m[i]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return i}),"i"),lookbehind:!0,greedy:!0,inside:h},r.languages.insertBefore("markup","cdata",m)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(n,i){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[i,"language-"+i],inside:r.languages[i]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml}var i4=x2;x2.displayName="css",x2.aliases=[];function x2(r){(function(n){var i=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+i.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+i.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+i.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:i,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var l=n.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(r)}var o4=_2;_2.displayName="clike",_2.aliases=[];function _2(r){r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var s4=E2;E2.displayName="javascript",E2.aliases=["js"];function E2(r){r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript}var Kg=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Cd=="object"?Cd:{},l4=C4();Kg.Prism={manual:!0,disableWorkerMessageHandler:!0};var u4=Dj,c4=jj,PE=r4,d4=a4,f4=i4,p4=o4,h4=s4;l4();var T2={}.hasOwnProperty;function NE(){}NE.prototype=PE;var pa=new NE,m4=pa;pa.highlight=v4,pa.register=Zg,pa.alias=g4,pa.registered=y4,pa.listLanguages=b4,Zg(d4),Zg(f4),Zg(p4),Zg(h4),pa.util.encode=D4,pa.Token.stringify=k4;function Zg(r){if(typeof r!="function"||!r.displayName)throw new Error("Expected `function` for `grammar`, got `"+r+"`");pa.languages[r.displayName]===void 0&&r(pa)}function g4(r,n){var i=pa.languages,l=r,c,h,m,D;n&&(l={},l[r]=n);for(c in l)for(h=l[c],h=typeof h=="string"?[h]:h,m=h.length,D=-1;++D<m;)i[h[D]]=i[c]}function v4(r,n){var i=PE.highlight,l;if(typeof r!="string")throw new Error("Expected `string` for `value`, got `"+r+"`");if(pa.util.type(n)==="Object")l=n,n=null;else{if(typeof n!="string")throw new Error("Expected `string` for `name`, got `"+n+"`");if(T2.call(pa.languages,n))l=pa.languages[n];else throw new Error("Unknown language: `"+n+"` is not registered")}return i.call(this,r,l,n)}function y4(r){if(typeof r!="string")throw new Error("Expected `string` for `language`, got `"+r+"`");return T2.call(pa.languages,r)}function b4(){var r=pa.languages,n=[],i;for(i in r)T2.call(r,i)&&typeof r[i]=="object"&&n.push(i);return n}function k4(r,n,i){var l;return typeof r=="string"?{type:"text",value:r}:pa.util.type(r)==="Array"?w4(r,n):(l={type:r.type,content:pa.Token.stringify(r.content,n,i),tag:"span",classes:["token",r.type],attributes:{},language:n,parent:i},r.alias&&(l.classes=l.classes.concat(r.alias)),pa.hooks.run("wrap",l),u4(l.tag+"."+l.classes.join("."),S4(l.attributes),l.content))}function w4(r,n){for(var i=[],l=r.length,c=-1,h;++c<l;)h=r[c],h!==""&&h!==null&&h!==void 0&&i.push(h);for(c=-1,l=i.length;++c<l;)h=i[c],i[c]=pa.Token.stringify(h,n,i);return i}function D4(r){return r}function S4(r){var n;for(n in r)r[n]=c4(r[n]);return r}function C4(){var r="Prism"in Kg,n=r?Kg.Prism:void 0;return i;function i(){r?Kg.Prism=n:delete Kg.Prism,r=void 0,n=void 0}}const F2=Iy(m4);var ev=aI(F2,{});ev.registerLanguage=function(r,n){return F2.register(n)},ev.alias=function(r,n){return F2.alias(r,n)};const RE={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var x4=A2;A2.displayName="jsx",A2.aliases=[];function A2(r){(function(n){var i=n.util.clone(n.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,h=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function m(E,$){return E=E.replace(/<S>/g,function(){return l}).replace(/<BRACES>/g,function(){return c}).replace(/<SPREAD>/g,function(){return h}),RegExp(E,$)}h=m(h).source,n.languages.jsx=n.languages.extend("markup",i),n.languages.jsx.tag.pattern=m(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=i.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:m(/<SPREAD>/.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:m(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var D=function(E){return E?typeof E=="string"?E:typeof E.content=="string"?E.content:E.content.map(D).join(""):""},C=function(E){for(var $=[],P=0;P<E.length;P++){var R=E[P],O=!1;if(typeof R!="string"&&(R.type==="tag"&&R.content[0]&&R.content[0].type==="tag"?R.content[0].content[0].content==="</"?$.length>0&&$[$.length-1].tagName===D(R.content[0].content[1])&&$.pop():R.content[R.content.length-1].content==="/>"||$.push({tagName:D(R.content[0].content[1]),openedBraces:0}):$.length>0&&R.type==="punctuation"&&R.content==="{"?$[$.length-1].openedBraces++:$.length>0&&$[$.length-1].openedBraces>0&&R.type==="punctuation"&&R.content==="}"?$[$.length-1].openedBraces--:O=!0),(O||typeof R=="string")&&$.length>0&&$[$.length-1].openedBraces===0){var I=D(R);P<E.length-1&&(typeof E[P+1]=="string"||E[P+1].type==="plain-text")&&(I+=D(E[P+1]),E.splice(P+1,1)),P>0&&(typeof E[P-1]=="string"||E[P-1].type==="plain-text")&&(I=D(E[P-1])+I,E.splice(P-1,1),P--),E[P]=new n.Token("plain-text",I,null,I)}R.content&&typeof R.content!="string"&&C(R.content)}};n.hooks.add("after-tokenize",function(E){E.language!=="jsx"&&E.language!=="tsx"||C(E.tokens)})})(r)}const _4=Iy(x4),E4=ti({tagName:"pkt-tag",elementClass:Es,react:$e,displayName:"PktTag",events:{onClose:"close"}}),Yh=$e.forwardRef(({children:r,...n},i)=>L.jsx(E4,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));Yh.displayName="PktTag";const LE=$e.forwardRef(({arrowNav:r=!0,tabs:n,onTabSelected:i},l)=>{const c=$e.useRef([]);$e.useEffect(()=>{c.current=c.current.slice(0,n.length)},[n]);const h=(D,C)=>{C.action&&C.action(D),i&&i(D)},m=(D,C)=>{var E,$;r&&(C.code==="ArrowLeft"&&D!==0&&((E=c.current[D-1])==null||E.focus()),C.code==="ArrowRight"&&D<n.length-1&&(($=c.current[D+1])==null||$.focus()),(C.code==="ArrowDown"||C.code==="Space")&&h(D,n[D]))};return L.jsx("div",{className:"pkt-tabs",ref:l,children:L.jsx("div",{className:"pkt-tabs__list",role:r?"tablist":"navigation",children:n.map((D,C)=>L.jsx($e.Fragment,{children:D.href?L.jsxs("a",{"aria-selected":!!D.active,role:r?"tab":void 0,href:D.href,"aria-controls":D.controls,className:`pkt-tabs__link ${D.active?"active":""}`,onKeyUp:E=>m(C,E),onClick:()=>h(C,D),tabIndex:D.active||!r?void 0:-1,ref:E=>{c.current[C]=E},children:[D.icon&&L.jsx(Mn,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&L.jsx(Yh,{skin:D.tag.skin,size:"small",children:D.tag.text})]}):L.jsxs("button",{"aria-selected":!!D.active,role:r?"tab":void 0,type:"button","aria-controls":D.controls,className:`pkt-tabs__button pkt-link-button ${D.active?"active":""}`,onKeyUp:E=>m(C,E),onClick:()=>h(C,D),tabIndex:D.active||!r?void 0:-1,ref:E=>{c.current[C]=E},children:[D.icon&&L.jsx(Mn,{name:D.icon,className:"pkt-icon--small"}),D.text,D.tag&&L.jsx(Yh,{skin:D.tag.skin,size:"small",children:D.tag.text})]},"b-"+C)},C))})})}),Nb=$e.forwardRef(({id:r,ariaDescribedby:n,ariaLabelledby:i,autocomplete:l="off",counter:c,counterMaxLength:h,className:m,disabled:D=!1,errorMessage:C,hasError:E=!1,helptext:$,helptextDropdown:P,helptextDropdownButton:R,iconNameRight:O,inline:I=!1,fullwidth:J=!1,label:V,name:De,optionalTag:q=!1,optionalText:W,requiredTag:K=!1,requiredText:X,placeholder:ae,prefix:ue,suffix:xe,type:ye="text",useWrapper:Ye=!0,omitSearchIcon:We=!1,value:Me,minLength:Qe,maxLength:Ie,min:at,max:Le,step:Ae,size:ce,readonly:Ne,required:Se,dataTestid:Q,onChange:le,skipForwardTestid:it=!1,...Je},pt)=>{const lt=[m,"pkt-textinput"].join(" "),gt=ye==="search"&&!O&&!We,vt=ye==="date"&&Me?Me.slice(0,10):Me,[Et,tn]=$e.useState((Me==null?void 0:Me.length)||0),zt=`${r}`,zn=`${zt}-label`,At=i||zn,ot=Un=>{const yn=Un.currentTarget.value;c&&tn((yn==null?void 0:yn.length)||0),le&&le(Un)};return $e.useEffect(()=>{Me!==void 0&&tn((Me==null?void 0:Me.length)||0)},[Me]),L.jsx(Rh,{ariaDescribedby:n,className:lt,disabled:D,errorMessage:C,forId:zt,hasError:E,helptext:$,helptextDropdown:P,helptextDropdownButton:R,inline:I,label:V,optionalTag:q,optionalText:W,requiredTag:K,requiredText:X,useWrapper:Ye,counter:c,counterCurrent:Et,counterMaxLength:h,children:L.jsxs("div",{className:"pkt-input__container","data-testid":Q,"data-skip-forward-testid":it?"true":void 0,children:[ue&&L.jsx("div",{className:"pkt-input-prefix",children:ue}),L.jsx("input",{...Je,ref:pt,className:`pkt-input ${J?"pkt-input--fullwidth":""} ${h&&Et>h?"pkt-input--counter-error":""}`,type:ye,name:`${De||r}`,value:vt,id:zt,placeholder:ae,autoComplete:l,disabled:D,"aria-invalid":E,"aria-errormessage":`${r}-error`,"aria-labelledby":At,min:at,max:Le,onChange:ot,step:Ae,minLength:Qe,maxLength:Ie,size:ce,required:Se}),xe&&L.jsxs("p",{className:"pkt-input-suffix",children:[xe,O&&L.jsx(Mn,{className:"pkt-input-suffix-icon",name:O}),gt&&L.jsx(Mn,{className:"pkt-input-suffix-icon",name:"magnifying-glass-big"})]}),!xe&&O&&L.jsx(Mn,{className:"pkt-input-icon",name:O}),!xe&>&&L.jsx(Mn,{className:"pkt-input-icon",name:"magnifying-glass-big"})]})})}),Rb=({className:r,compact:n=!1,skin:i="basic",responsiveView:l=!0,children:c})=>L.jsx("table",{"data-testid":"pkt-table",className:ml(r,"pkt-table",{"pkt-table--responsive":l,"pkt-table--compact":n,"pkt-table--basic":i==="basic","pkt-table--zebra-blue":i==="zebra-blue"}),role:"table",children:c}),Lb=({className:r,children:n})=>L.jsx("thead",{className:ml(r,"pkt-table__header",{}),role:"rowgroup",children:n}),Ob=({children:r,className:n})=>L.jsx("tbody",{className:ml(n,"pkt-table__body",{}),role:"rowgroup",children:r}),np=({className:r,children:n})=>L.jsx("tr",{className:ml(r,"pkt-table__row",{}),role:"row",children:n}),gl=({className:r,children:n})=>L.jsx("th",{className:ml(r,"pkt-table__header-cell",{}),role:"columnheader",children:n}),Zo=({children:r,className:n,dataLabel:i})=>L.jsx("td",{className:ml(n,"pkt-table__data-cell",{}),"data-label":i,role:"cell","data-testid":"pkt-table__data-cell",children:r}),T4=({specs:r})=>{const n=l=>Array.isArray(l)?l.join(`
|
|
1546
1546
|
`):l,i=l=>typeof l=="boolean"?l?"true":"false":l;return L.jsxs(L.Fragment,{children:[L.jsx("h2",{children:"Egenskaper"}),L.jsxs(Rb,{compact:!0,children:[L.jsx(Lb,{children:L.jsxs(np,{children:[L.jsx(gl,{children:"Prop"}),L.jsx(gl,{children:"Navn"}),L.jsx(gl,{children:"Beskrivelse"}),L.jsx(gl,{children:"Type"}),L.jsx(gl,{children:"Standardverdi"})]})}),L.jsx(Ob,{children:Object.entries(r.props||{}).map(([l,c])=>L.jsxs(np,{children:[L.jsx(Zo,{dataLabel:"Prop",children:L.jsx("pre",{children:l})}),L.jsx(Zo,{dataLabel:"Navn",children:!Array.isArray(c)&&c.name||l}),Array.isArray(c)?L.jsxs(L.Fragment,{children:[L.jsx(Zo,{dataLabel:"Beskrivelse"}),L.jsx(Zo,{dataLabel:"Type",children:L.jsx("pre",{children:c.join(`
|
|
1547
|
-
`)})})]}):L.jsxs(L.Fragment,{children:[L.jsx(Zo,{dataLabel:"Beskrivelse",children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),L.jsx(Zo,{dataLabel:"Type",children:L.jsx("pre",{children:c.type&&n(c.type)})}),L.jsx(Zo,{dataLabel:"Standardverdi",children:L.jsx("pre",{children:i(c.default)})})]})]},l))})]}),r.events&&L.jsxs(L.Fragment,{children:[L.jsx("h2",{children:"Hendelser / handlinger"}),L.jsxs(Rb,{compact:!0,children:[L.jsx(Lb,{children:L.jsxs(np,{children:[L.jsx(gl,{children:"Event"}),L.jsx(gl,{children:"Beskrivelse"}),L.jsx(gl,{children:"Type"})]})}),L.jsx(Ob,{children:Object.entries(r.events||{}).map(([l,c])=>L.jsxs(np,{children:[L.jsx(Zo,{dataLabel:"Event",children:L.jsx("pre",{children:l})}),L.jsx(Zo,{dataLabel:"Beskrivelse",children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),L.jsx(Zo,{dataLabel:"Type",children:c.type})]},l))})]})]}),r.slots&&L.jsxs(L.Fragment,{children:[L.jsx("h2",{children:"Innhold"}),L.jsxs(Rb,{compact:!0,children:[L.jsx(Lb,{children:L.jsxs(np,{children:[L.jsx(gl,{children:"Slot"}),L.jsx(gl,{children:"Beskrivelse"})]})}),L.jsx(Ob,{children:Object.entries(r.slots||{}).map(([l,c])=>L.jsxs(np,{children:[L.jsx(Zo,{dataLabel:"Slot",children:L.jsx("pre",{children:l})}),L.jsx(Zo,{dataLabel:"Beskrivelse",children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})})]},l))})]})]})]})},$2=$e.forwardRef(({ariaDescribedby:r,ariaLabelledby:n,children:i,className:l,disabled:c=!1,errorMessage:h,hasError:m,helptext:D,helptextDropdown:C,helptextDropdownButton:E,id:$,inline:P=!1,fullwidth:R=!1,label:O,name:j,optionalTag:J=!1,optionalText:V,requiredTag:De=!1,requiredText:q,...W},K)=>{const X=[l,"pkt-select"].join(" ");return L.jsx(Rh,{className:X,forId:`${$}-input`,label:O,helptext:D,helptextDropdown:C,helptextDropdownButton:E,optionalTag:J,optionalText:V,requiredTag:De,requiredText:q,hasError:m,errorMessage:h,disabled:c,inline:P,ariaDescribedby:r,children:L.jsx("select",{ref:K,className:`pkt-input ${R?"pkt-input--fullwidth":""}`,"aria-invalid":m,"aria-errormessage":`${$}-error`,"aria-labelledby":n||void 0,disabled:c,id:`${$}-input`,name:j||$,...W,children:i})})}),F4=[{id:"24h",fn:"24h.svg",cat:"health"},{id:"access-prohibited",fn:"access-prohibited.svg",cat:"signs"},{id:"accessibility",fn:"accessibility.svg",cat:"signs"},{id:"accessible-water-access",fn:"accessible-water-access.svg",cat:"activities"},{id:"active-person",fn:"active-person.svg",cat:"activities"},{id:"adjust",fn:"adjust.svg",cat:"ui"},{id:"advice",fn:"advice.svg",cat:"social"},{id:"alcohol-prohibited",fn:"alcohol-prohibited.svg",cat:"food"},{id:"alert-circle",fn:"alert-circle.svg",cat:"status"},{id:"alert-error-system",fn:"alert-error-system.svg",cat:"status"},{id:"alert-error",fn:"alert-error.svg",cat:"status"},{id:"alert-information",fn:"alert-information.svg",cat:"status"},{id:"alert-success-system",fn:"alert-success-system.svg",cat:"status"},{id:"alert-success",fn:"alert-success.svg",cat:"status"},{id:"alert-warning",fn:"alert-warning.svg",cat:"status"},{id:"ambulance",fn:"ambulance.svg",cat:"travel"},{id:"apple",fn:"apple.svg",cat:"food"},{id:"archive",fn:"archive.svg",cat:"ui"},{id:"arrow-circle",fn:"arrow-circle.svg",cat:"ui"},{id:"arrow-return",fn:"arrow-return.svg",cat:"navigation"},{id:"arrow",fn:"arrow.svg",cat:"navigation"},{id:"arts-and-culture",fn:"arts-and-culture.svg",cat:"places"},{id:"attachment",fn:"attachment.svg",cat:"ui"},{id:"audioguide",fn:"audioguide.svg",cat:"objects"},{id:"baby-bottle",fn:"baby-bottle.svg",cat:"food"},{id:"baby-changing-room",fn:"baby-changing-room.svg",cat:"activities"},{id:"backpack-prohibited",fn:"backpack-prohibited.svg",cat:"objects"},{id:"backpack",fn:"backpack.svg",cat:"services"},{id:"ball-sports",fn:"ball-sports.svg",cat:"activities"},{id:"balloons",fn:"balloons.svg",cat:"objects"},{id:"bath",fn:"bath.svg",cat:"objects"},{id:"bed",fn:"bed.svg",cat:"objects"},{id:"beehive",fn:"beehive.svg",cat:"objects"},{id:"bicycle-parking",fn:"bicycle-parking.svg",cat:"travel"},{id:"bicycle-prohibited",fn:"bicycle-prohibited.svg",cat:"travel"},{id:"bicycle-service",fn:"bicycle-service.svg",cat:"travel"},{id:"bicycle",fn:"bicycle.svg",cat:"travel"},{id:"books",fn:"books.svg",cat:"health"},{id:"boys-shower",fn:"boys-shower.svg",cat:"signs"},{id:"boys-toilet",fn:"boys-toilet.svg",cat:"user"},{id:"brain-heart",fn:"brain-heart.svg",cat:"health"},{id:"brain-signal",fn:"brain-signal.svg",cat:"health"},{id:"brain",fn:"brain.svg",cat:"health"},{id:"briefcase",fn:"briefcase.svg",cat:"objects"},{id:"bulb",fn:"bulb.svg",cat:"objects"},{id:"bullseye",fn:"bullseye.svg",cat:"objects"},{id:"bus",fn:"bus.svg",cat:"travel"},{id:"cafe",fn:"cafe.svg",cat:"food"},{id:"calendar",fn:"calendar.svg",cat:"ui"},{id:"camera-surveillance-CCTV",fn:"camera-surveillance-CCTV.svg",cat:"objects"},{id:"camera",fn:"camera.svg",cat:"objects"},{id:"campfire-site",fn:"campfire-site.svg",cat:"health"},{id:"camping",fn:"camping.svg",cat:"places"},{id:"car",fn:"car.svg",cat:"travel"},{id:"character-exclamation-mark",fn:"character-exclamation-mark.svg",cat:"status"},{id:"character-information",fn:"character-information.svg",cat:"status"},{id:"charging-point",fn:"charging-point.svg",cat:"objects"},{id:"check-big",fn:"check-big.svg",cat:"ui"},{id:"check-box-checked",fn:"check-box-checked.svg",cat:"ui"},{id:"check-box-unchecked",fn:"check-box-unchecked.svg",cat:"ui"},{id:"check-circle",fn:"check-circle.svg",cat:"ui"},{id:"check-medium",fn:"check-medium.svg",cat:"ui"},{id:"check",fn:"check.svg",cat:"ui"},{id:"chevron-down",fn:"chevron-down.svg",cat:"navigation"},{id:"chevron-left",fn:"chevron-left.svg",cat:"navigation"},{id:"chevron-right",fn:"chevron-right.svg",cat:"navigation"},{id:"chevron-thin-down",fn:"chevron-thin-down.svg",cat:"navigation"},{id:"chevron-thin-left",fn:"chevron-thin-left.svg",cat:"navigation"},{id:"chevron-thin-right",fn:"chevron-thin-right.svg",cat:"navigation"},{id:"chevron-thin-up",fn:"chevron-thin-up.svg",cat:"navigation"},{id:"chevron-up-and-down",fn:"chevron-up-and-down.svg",cat:"ui"},{id:"chevron-up",fn:"chevron-up.svg",cat:"navigation"},{id:"childrens-toilet",fn:"childrens-toilet.svg",cat:"signs"},{id:"circular-economy",fn:"circular-economy.svg",cat:"ui"},{id:"climbing",fn:"climbing.svg",cat:"activities"},{id:"clock-history",fn:"clock-history.svg",cat:"ui"},{id:"clock",fn:"clock.svg",cat:"ui"},{id:"close",fn:"close.svg",cat:"ui"},{id:"cloud",fn:"cloud.svg",cat:"objects"},{id:"code",fn:"code.svg",cat:"data"},{id:"coffee",fn:"coffee.svg",cat:"food"},{id:"cogwheel",fn:"cogwheel.svg",cat:"ui"},{id:"coin-stacks",fn:"coin-stacks.svg",cat:"health"},{id:"computer",fn:"computer.svg",cat:"objects"},{id:"cookie",fn:"cookie.svg",cat:"ui"},{id:"copy",fn:"copy.svg",cat:"ui"},{id:"crane",fn:"crane.svg",cat:"places"},{id:"crayfish",fn:"crayfish.svg",cat:"objects"},{id:"cross-circle-big",fn:"cross-circle-big.svg",cat:"ui"},{id:"cross-circle-fill-large",fn:"cross-circle-fill-large.svg",cat:"ui"},{id:"cross-circle-fill",fn:"cross-circle-fill.svg",cat:"ui"},{id:"cross-circle",fn:"cross-circle.svg",cat:"ui"},{id:"cross",fn:"cross.svg",cat:"ui"},{id:"cupboard",fn:"cupboard.svg",cat:"objects"},{id:"dancing",fn:"dancing.svg",cat:"activities"},{id:"data",fn:"data.svg",cat:"data"},{id:"deer",fn:"deer.svg",cat:"objects"},{id:"defibrillators",fn:"defibrillators.svg",cat:"signs"},{id:"district",fn:"district.svg",cat:"places"},{id:"diving-prohibited",fn:"diving-prohibited.svg",cat:"activities"},{id:"dock",fn:"dock.svg",cat:"places"},{id:"document-code",fn:"document-code.svg",cat:"ui"},{id:"document-pdf",fn:"document-pdf.svg",cat:"ui"},{id:"document-plain",fn:"document-plain.svg",cat:"ui"},{id:"document-table",fn:"document-table.svg",cat:"ui"},{id:"document-text",fn:"document-text.svg",cat:"ui"},{id:"dog-forbidden",fn:"dog-forbidden.svg",cat:"objects"},{id:"dog-on-a-leash",fn:"dog-on-a-leash.svg",cat:"objects"},{id:"download",fn:"download.svg",cat:"ui"},{id:"drag",fn:"drag.svg",cat:"ui"},{id:"drinking-area-refreshments",fn:"drinking-area-refreshments.svg",cat:"food"},{id:"drone",fn:"drone.svg",cat:"objects"},{id:"drugs-prohibited",fn:"drugs-prohibited.svg",cat:"objects"},{id:"ecg-heart",fn:"ecg-heart.svg",cat:"health"},{id:"edit",fn:"edit.svg",cat:"ui"},{id:"elderly",fn:"elderly.svg",cat:"user"},{id:"electric-car",fn:"electric-car.svg",cat:"travel"},{id:"electric-van",fn:"electric-van.svg",cat:"travel"},{id:"elevator",fn:"elevator.svg",cat:"signs"},{id:"email",fn:"email.svg",cat:"social"},{id:"escalator",fn:"escalator.svg",cat:"signs"},{id:"exclamation-mark-circle",fn:"exclamation-mark-circle.svg",cat:"status"},{id:"exclamation-mark-square",fn:"exclamation-mark-square.svg",cat:"status"},{id:"exit-door",fn:"exit-door.svg",cat:"ui"},{id:"exit",fn:"exit.svg",cat:"navigation"},{id:"expand",fn:"expand.svg",cat:"ui"},{id:"eye",fn:"eye.svg",cat:"ui"},{id:"face-almost-happy",fn:"face-almost-happy.svg",cat:"feedback"},{id:"face-almost-sad",fn:"face-almost-sad.svg",cat:"feedback"},{id:"face-happy",fn:"face-happy.svg",cat:"feedback"},{id:"face-neutral",fn:"face-neutral.svg",cat:"feedback"},{id:"face-sad",fn:"face-sad.svg",cat:"feedback"},{id:"facebook",fn:"facebook.svg",cat:"social"},{id:"factory-fill",fn:"factory-fill.svg",cat:"places"},{id:"feedback",fn:"feedback.svg",cat:"social"},{id:"figma",fn:"figma.svg",cat:"social"},{id:"filming-prohibited",fn:"filming-prohibited.svg",cat:"signs"},{id:"filter",fn:"filter.svg",cat:"ui"},{id:"fire-prohibited",fn:"fire-prohibited.svg",cat:"signs"},{id:"fire-safety",fn:"fire-safety.svg",cat:"health"},{id:"fireworks-prohibited",fn:"fireworks-prohibited.svg",cat:"signs"},{id:"fishing-prohibited",fn:"fishing-prohibited.svg",cat:"signs"},{id:"fixed-bench",fn:"fixed-bench.svg",cat:"objects"},{id:"fixed-grill",fn:"fixed-grill.svg",cat:"objects"},{id:"flammable-waste",fn:"flammable-waste.svg",cat:"signs"},{id:"flash-prohibited",fn:"flash-prohibited.svg",cat:"objects"},{id:"folder",fn:"folder.svg",cat:"ui"},{id:"food-and-drinks-prohibited",fn:"food-and-drinks-prohibited.svg",cat:"food"},{id:"fountain",fn:"fountain.svg",cat:"places"},{id:"game-console",fn:"game-console.svg",cat:"objects"},{id:"girls-shower",fn:"girls-shower.svg",cat:"signs"},{id:"girls-toilet",fn:"girls-toilet.svg",cat:"user"},{id:"github",fn:"github.svg",cat:"social"},{id:"graffiti-allowed",fn:"graffiti-allowed.svg",cat:"objects"},{id:"graffiti-prohibited",fn:"graffiti-prohibited.svg",cat:"objects"},{id:"graph",fn:"graph.svg",cat:"data"},{id:"grid",fn:"grid.svg",cat:"ui"},{id:"gym",fn:"gym.svg",cat:"objects"},{id:"handicap-elevator",fn:"handicap-elevator.svg",cat:"signs"},{id:"handicap",fn:"handicap.svg",cat:"user"},{id:"hands-globe",fn:"hands-globe.svg",cat:"health"},{id:"headset",fn:"headset.svg",cat:"objects"},{id:"heart-hand",fn:"heart-hand.svg",cat:"health"},{id:"heart-plus",fn:"heart-plus.svg",cat:"health"},{id:"heart",fn:"heart.svg",cat:"health"},{id:"height-restriction",fn:"height-restriction.svg",cat:"objects"},{id:"helmet",fn:"helmet.svg",cat:"objects"},{id:"hiking-trail",fn:"hiking-trail.svg",cat:"places"},{id:"holding-hands",fn:"holding-hands.svg",cat:"user"},{id:"home",fn:"home.svg",cat:"places"},{id:"horizontal-menu",fn:"horizontal-menu.svg",cat:"ui"},{id:"house-heart",fn:"house-heart.svg",cat:"places"},{id:"ice-skating",fn:"ice-skating.svg",cat:"objects"},{id:"indoor-pool",fn:"indoor-pool.svg",cat:"activities"},{id:"information",fn:"information.svg",cat:"status"},{id:"instagram",fn:"instagram.svg",cat:"social"},{id:"invoice",fn:"invoice.svg",cat:"ui"},{id:"key",fn:"key.svg",cat:"objects"},{id:"ladies-toilet",fn:"ladies-toilet.svg",cat:"user"},{id:"language",fn:"language.svg",cat:"user"},{id:"law-paragraph",fn:"law-paragraph.svg",cat:"user"},{id:"lecture-workplace",fn:"lecture-workplace.svg",cat:"sign"},{id:"lecture",fn:"lecture.svg",cat:"activities"},{id:"life-ring",fn:"life-ring.svg",cat:"objects"},{id:"link",fn:"link.svg",cat:"ui"},{id:"linkedin",fn:"linkedin.svg",cat:"social"},{id:"list",fn:"list.svg",cat:"ui"},{id:"living-room",fn:"living-room.svg",cat:"objects"},{id:"location-pin-filled",fn:"location-pin-filled.svg",cat:"travel"},{id:"location-pin",fn:"location-pin.svg",cat:"travel"},{id:"lock-locked",fn:"lock-locked.svg",cat:"ui"},{id:"lock-unlocked",fn:"lock-unlocked.svg",cat:"ui"},{id:"luggage-prohibited",fn:"luggage-prohibited.svg",cat:"objects"},{id:"magnifying-glass-big",fn:"magnifying-glass-big.svg",cat:"ui"},{id:"magnifying-glass-small",fn:"magnifying-glass-small.svg",cat:"ui"},{id:"map",fn:"map.svg",cat:"travel"},{id:"medicine-cabinet",fn:"medicine-cabinet.svg",cat:"objects"},{id:"megaphone",fn:"megaphone.svg",cat:"objects"},{id:"memorial-stone",fn:"memorial-stone.svg",cat:"objects"},{id:"mens-toilet",fn:"mens-toilet.svg",cat:"user"},{id:"menu",fn:"menu.svg",cat:"navigation"},{id:"message",fn:"message.svg",cat:"social"},{id:"minimize",fn:"minimize.svg",cat:"ui"},{id:"minus-circle-fill",fn:"minus-circle-fill.svg",cat:"ui"},{id:"minus-circle",fn:"minus-circle.svg",cat:"ui"},{id:"minus-sign",fn:"minus-sign.svg",cat:"ui"},{id:"mobile-phone",fn:"mobile-phone.svg",cat:"objects"},{id:"moon",fn:"moon.svg",cat:"objects"},{id:"motorcycle",fn:"motorcycle.svg",cat:"travel"},{id:"museum",fn:"museum.svg",cat:"places"},{id:"music-notes",fn:"music-notes.svg",cat:"objects"},{id:"nature-plant-2",fn:"nature-plant-2.svg",cat:"objects"},{id:"nature-plant",fn:"nature-plant.svg",cat:"objects"},{id:"new-window-small",fn:"new-window-small.svg",cat:"navigation"},{id:"new-window",fn:"new-window.svg",cat:"navigation"},{id:"no-walking",fn:"no-walking.svg",cat:"activities"},{id:"nodejs",fn:"nodejs.svg",cat:"social"},{id:"obstacle",fn:"obstacle.svg",cat:"objects"},{id:"organization",fn:"organization.svg",cat:"places"},{id:"package",fn:"package.svg",cat:"data"},{id:"paint-bucket",fn:"paint-bucket.svg",cat:"objects"},{id:"palette",fn:"palette.svg",cat:"objects"},{id:"paragraph",fn:"paragraph.svg",cat:"ui"},{id:"park",fn:"park.svg",cat:"places"},{id:"parking-meter",fn:"parking-meter.svg",cat:"signs"},{id:"partner-workout",fn:"partner-workout.svg",cat:"activities"},{id:"paste",fn:"paste.svg",cat:"ui"},{id:"picnic-table",fn:"picnic-table.svg",cat:"objects"},{id:"picture",fn:"picture.svg",cat:"objects"},{id:"placeholder-icon",fn:"placeholder-icon.svg",cat:"ui"},{id:"planter-box",fn:"planter-box.svg",cat:"places"},{id:"playground",fn:"playground.svg",cat:"places"},{id:"plus-circle-fill",fn:"plus-circle-fill.svg",cat:"ui"},{id:"plus-circle",fn:"plus-circle.svg",cat:"ui"},{id:"plus-sign",fn:"plus-sign.svg",cat:"ui"},{id:"pregnant",fn:"pregnant.svg",cat:"user"},{id:"pride-heart",fn:"pride-heart.svg",cat:"health"},{id:"print",fn:"print.svg",cat:"objects"},{id:"privacy",fn:"privacy.svg",cat:"user"},{id:"process-back",fn:"process-back.svg",cat:"ui"},{id:"process-forward",fn:"process-forward.svg",cat:"ui"},{id:"process-iteration",fn:"process-iteration.svg",cat:"ui"},{id:"processing",fn:"processing.svg",cat:"ui"},{id:"prohibited",fn:"prohibited.svg",cat:"signs"},{id:"punkt-circle-blue",fn:"punkt-circle-blue.svg",cat:"social"},{id:"qr-code",fn:"qr-code.svg",cat:"ui"},{id:"question",fn:"question.svg",cat:"ui"},{id:"radio-checked",fn:"radio-checked.svg",cat:"ui"},{id:"radio-unchecked",fn:"radio-unchecked.svg",cat:"ui"},{id:"react",fn:"react.svg",cat:"social"},{id:"receipt",fn:"receipt.svg",cat:"ui"},{id:"recycling",fn:"recycling.svg",cat:"health"},{id:"restaurant",fn:"restaurant.svg",cat:"food"},{id:"roadblock",fn:"roadblock.svg",cat:"objects"},{id:"ruler",fn:"ruler.svg",cat:"objects"},{id:"sass",fn:"sass.svg",cat:"social"},{id:"sauna",fn:"sauna.svg",cat:"activities"},{id:"save",fn:"save.svg",cat:"ui"},{id:"scooter-prohibited",fn:"scooter-prohibited.svg",cat:"travel"},{id:"scooter",fn:"scooter.svg",cat:"travel"},{id:"search-icon-round-active",fn:"search-icon-round-active.svg",cat:"uncategorized"},{id:"search-icon-round-disabled",fn:"search-icon-round-disabled.svg",cat:"uncategorized"},{id:"search-icon-round-normal",fn:"search-icon-round-normal.svg",cat:"uncategorized"},{id:"search-icon-square-active",fn:"search-icon-square-active.svg",cat:"uncategorized"},{id:"search-icon-square-disabled",fn:"search-icon-square-disabled.svg",cat:"uncategorized"},{id:"search-icon-square-normal",fn:"search-icon-square-normal.svg",cat:"uncategorized"},{id:"share-outline",fn:"share-outline.svg",cat:"social"},{id:"share",fn:"share.svg",cat:"social"},{id:"shield-fire",fn:"shield-fire.svg",cat:"health"},{id:"shield-law-paragraph",fn:"shield-law-paragraph.svg",cat:"user"},{id:"shoes-prohibited",fn:"shoes-prohibited.svg",cat:"objects"},{id:"shopping-bag",fn:"shopping-bag.svg",cat:"objects"},{id:"shower",fn:"shower.svg",cat:"objects"},{id:"signature",fn:"signature.svg",cat:"objects"},{id:"skateboarding",fn:"skateboarding.svg",cat:"activities"},{id:"slack",fn:"slack.svg",cat:"social"},{id:"sledding",fn:"sledding.svg",cat:"activities"},{id:"smiley-neutral",fn:"smiley-neutral.svg",cat:"feedback"},{id:"smiley-sad",fn:"smiley-sad.svg",cat:"feedback"},{id:"smiley-smile",fn:"smiley-smile.svg",cat:"feedback"},{id:"smoking-prohibited",fn:"smoking-prohibited.svg",cat:"signs"},{id:"snow",fn:"snow.svg",cat:"objects"},{id:"sort",fn:"sort.svg",cat:"ui"},{id:"sound-off",fn:"sound-off.svg",cat:"status"},{id:"sound-on",fn:"sound-on.svg",cat:"status"},{id:"sparkles",fn:"sparkles.svg",cat:"objects"},{id:"stairs-down",fn:"stairs-down.svg",cat:"signs"},{id:"stairs-up",fn:"stairs-up.svg",cat:"signs"},{id:"stairs",fn:"stairs.svg",cat:"signs"},{id:"street-vendor",fn:"street-vendor.svg",cat:"places"},{id:"stroller-prohibited",fn:"stroller-prohibited.svg",cat:"objects"},{id:"stroller",fn:"stroller.svg",cat:"objects"},{id:"studded-tires",fn:"studded-tires.svg",cat:"objects"},{id:"svg",fn:"svg.svg",cat:"social"},{id:"swimming-area",fn:"swimming-area.svg",cat:"activities"},{id:"swingset",fn:"swingset.svg",cat:"places"},{id:"table",fn:"table.svg",cat:"data"},{id:"tap",fn:"tap.svg",cat:"objects"},{id:"target",fn:"target.svg",cat:"ui"},{id:"thumbs-down",fn:"thumbs-down.svg",cat:"feedback"},{id:"thumbs-up",fn:"thumbs-up.svg",cat:"feedback"},{id:"tickets",fn:"tickets.svg",cat:"objects"},{id:"toilet-unisex",fn:"toilet-unisex.svg",cat:"user"},{id:"toilet",fn:"toilet.svg",cat:"signs"},{id:"tool",fn:"tool.svg",cat:"objects"},{id:"touching-prohibited",fn:"touching-prohibited.svg",cat:"signs"},{id:"trail-gate",fn:"trail-gate.svg",cat:"objects"},{id:"trail",fn:"trail.svg",cat:"sign"},{id:"tram",fn:"tram.svg",cat:"travel"},{id:"trash-can",fn:"trash-can.svg",cat:"ui"},{id:"trash",fn:"trash.svg",cat:"activities"},{id:"twitter",fn:"twitter.svg",cat:"social"},{id:"two-people-dancing",fn:"two-people-dancing.svg",cat:"activities"},{id:"two-people-talking",fn:"two-people-talking.svg",cat:"activities"},{id:"umbrella-prohibited",fn:"umbrella-prohibited.svg",cat:"objects"},{id:"urban-landscape",fn:"urban-landscape.svg",cat:"places"},{id:"urinal",fn:"urinal.svg",cat:"signs"},{id:"user",fn:"user.svg",cat:"user"},{id:"van",fn:"van.svg",cat:"travel"},{id:"vertical-menu",fn:"vertical-menu.svg",cat:"ui"},{id:"viewpoint",fn:"viewpoint.svg",cat:"objects"},{id:"virus",fn:"virus.svg",cat:"objects"},{id:"vue",fn:"vue.svg",cat:"social"},{id:"walking",fn:"walking.svg",cat:"activities"},{id:"wardrobe-boys",fn:"wardrobe-boys.svg",cat:"signs"},{id:"wardrobe-girls",fn:"wardrobe-girls.svg",cat:"signs"},{id:"wardrobe",fn:"wardrobe.svg",cat:"objects"},{id:"waste-container",fn:"waste-container.svg",cat:"objects"},{id:"water-faucet",fn:"water-faucet.svg",cat:"health"},{id:"wheelchair-ramp",fn:"wheelchair-ramp.svg",cat:"activities"},{id:"wheelchair",fn:"wheelchair.svg",cat:"sign"},{id:"wifi",fn:"wifi.svg",cat:"signs"},{id:"wine-bottle",fn:"wine-bottle.svg",cat:"food"},{id:"workplace",fn:"workplace.svg",cat:"social"},{id:"wrench",fn:"wrench.svg",cat:"objects"},{id:"x",fn:"x.svg",cat:"social"}],P2=({propKey:r,spec:n,props:i,handleChange:l})=>{const c={BOOLEAN:"boolean",ICON:"icon",ARRAY:"array",OBJECT:"object",DATE:"ISOdatestring",NUMBER:"number"},h=(E,$)=>{l(r,{...i[r],[E]:$})},m=(E,$,P)=>{const R=[...i[r]];R[E]={...R[E],[$]:P},l(r,R)},D=()=>{const E=[...i[r],{}];l(r,E)},C=E=>{const $=i[r].filter((P,R)=>R!==E);l(r,$)};if(n.type===c.BOOLEAN)return L.jsx(Rh,{label:n.name||r,forId:r,helptext:n.description||null,hasFieldset:!0,requiredTag:n.required,children:L.jsx(ib,{id:r,label:r,type:"checkbox",checked:i[r]||!1,onChange:E=>l(r,E.target.checked,n.displayAsFalse),labelPosition:"right",isSwitch:!0})});if(n.type===c.ICON)return L.jsxs($2,{label:n.name||r,helptext:n.description||null,id:r,value:i[r]||"",onChange:E=>l(r,E.target.value),requiredTag:n.required,children:[L.jsx("option",{value:""}),F4.map(E=>L.jsx("option",{value:E.id,children:E.id},E.id))]});if(n.type===c.DATE)return L.jsx(D0,{id:r,label:n.name||r,helptext:n.description||null,value:i[r]||"",multiple:n.variant==="multiple",maxlength:999,onChange:E=>l(r,E.target.value),requiredTag:n.required});if(Array.isArray(n)||Array.isArray(n.type)||Array.isArray(n.values)){const E=Array.isArray(n)?n:n.values||n.type;return L.jsxs($2,{label:n.name||r,helptext:n.description||null,id:r,value:i[r],onChange:$=>l(r,$.target.value),requiredTag:n.required,children:[L.jsx("option",{value:""}),E.map($=>L.jsx("option",{value:$,children:$},$))]})}return n.type===c.NUMBER?L.jsx(Nb,{id:r,label:n.name||r,helptext:n.description||null,type:"number",value:i[r]||"",onChange:E=>l(r,parseFloat(E.currentTarget.value)),requiredTag:n.required}):n.type===c.OBJECT?(i[r]||(i[r]={}),L.jsxs("div",{children:[L.jsx("div",{className:"pkt-inputwrapper__label",children:L.jsx("h2",{children:n.name||r})}),n.description&&L.jsx("p",{children:n.description}),L.jsxs("fieldset",{children:[L.jsx("legend",{children:n.name||r}),Object.entries(n.properties).map(([E,$])=>L.jsx(P2,{propKey:E,props:i[r],spec:$,handleChange:(P,R)=>h(P,R)},E))]})]})):n.type===c.ARRAY&&n.items.type===c.OBJECT?(i[r]||(i[r]=[]),L.jsxs("div",{children:[L.jsx("div",{className:"pkt-inputwrapper__label",children:L.jsx("h2",{children:n.name||r})}),n.description&&L.jsx("p",{children:n.description}),i[r].map((E,$)=>L.jsx("div",{children:L.jsxs("fieldset",{children:[L.jsxs("legend",{children:["Item ",$+1]}),Object.entries(n.items.properties).map(([P,R])=>L.jsx(P2,{propKey:P,props:E,spec:R,handleChange:(O,j)=>m($,O,j)},P)),L.jsx(bc,{onClick:()=>C($),children:"Fjern denne"})]})},$)),L.jsx(bc,{onClick:D,children:"Legg til ny"})]})):L.jsx(Nb,{id:r,label:n.name||r,helptext:n.description||null,type:"text",value:i[r]||"",onChange:E=>l(r,n.type==="number"?parseFloat(E.currentTarget.value):E.currentTarget.value),requiredTag:n.required})};ev.registerLanguage("jsx",_4);const OE=({specs:r,children:n,fullWidth:i})=>{var Ie,at;const l=r.props&&typeof r.props=="object"&&!Array.isArray(r.props)?Object.entries(r.props).reduce((Le,[Ae,ce])=>(typeof ce=="object"&&!Array.isArray(ce)&&ce.previewDefault!==void 0&&ce.previewDefault!==null?(ce.previewDefault==="false"&&(ce.previewDefault=!1),ce.previewDefault==="true"&&(ce.previewDefault=!0),Le[Ae]=ce.previewDefault):typeof ce=="object"&&!Array.isArray(ce)&&ce.default!==void 0&&ce.default!==null&&(ce.default==="false"&&(ce.default=!1),ce.default==="true"&&(ce.default=!0),Le[Ae]=ce.default),Le),{}):{},[c,h]=$e.useState(0),[m,D]=$e.useState(l),[C,E]=$e.useState("light"),[$,P]=$e.useState(""),[R,O]=$e.useState(""),[j,J]=$e.useState(""),[V,De]=$e.useState("Rediger innhold"),[q,W]=$e.useState([{text:"Rediger",icon:"adjust",active:!0},{text:"Kode (React)",icon:"react",active:!1},{text:`Kode (${r.isElement?"Element":"HTML"})`,icon:"code",active:!1},{text:"Egenskaper",icon:"list",active:!1}]),K=Le=>{Le===1&&ue(),Le===2&&ae(),J(""),W(Ae=>Ae.map((ce,Ne)=>({...ce,active:Ne===Le})))},X=$e.useRef(null),ae=async()=>{if(r.isElement&&$e.isValidElement(Me)){const Le=$e.isValidElement(Me)?Me.type.displayName||Me.type.name:r.name,Ae=Object.entries(m).map(([Ne,Se])=>{if(Se&&!ye(Se)&&!Ye(Se))return typeof Se=="object"?`${Ne}='${JSON.stringify(Se)}'`:`${Ne}="${Se}"`}).join(" "),ce=await Tb(`<${r.name||Le} ${Ae}>${V}</${r.name||Le}>`,{parser:"html",plugins:[j1]});P(`<!-- Denne koden bør testes grundig før bruk. Spør en Punkt-utvikler om du er usikker. -->
|
|
1548
|
-
`+ce)}else{const Le=await Tb(X.current.innerHTML,{parser:"html",plugins:[j1]});P(Le.replace(/<\!--.*?-->/g,""))}},ue=async()=>{const Le=await yL(Me);return O(Le),Promise.resolve()},xe=(Le,Ae)=>{navigator.clipboard.writeText(Ae).then(()=>{J(Le),console.log("Copied to clipboard",Le)})},ye=Le=>Array.isArray(Le)&&Le.length===0,Ye=Le=>Le&&typeof Le=="object"&&!Object.keys(Le).length,We=(Le,Ae)=>L.jsxs("div",{className:"pkt-preview__copy",children:[j===Le&&L.jsx("span",{className:"pkt-preview__copied",children:"Kode kopiert til utklippstavle"}),L.jsx(bc,{skin:"tertiary",variant:"icon-only",size:"small",iconName:"copy",onClick:()=>xe(Le,Ae),children:"Kopier kode"})]}),Me=$e.isValidElement(n)&&$e.cloneElement(n,{...m},n.props.children?n.props.children:(Ie=r.slots)!=null&&Ie.default?V:null),Qe=(Le,Ae,ce=!1)=>{if(h(c+1),!ce&&(!Ae||Ae=="false")){const{[Le]:Ne,...Se}=m;D(Se)}else D(Ne=>({...Ne,[Le]:Ae}))};return L.jsxs("div",{className:"pkt-preview",children:[L.jsxs("div",{className:"pkt-preview__component-container","data-mode":C,children:[r["dark-mode"]&&L.jsx("div",{className:"pkt-preview__mode",children:L.jsx(ib,{id:"mode",label:"Dark mode",type:"checkbox",checked:C==="dark",onChange:Le=>E(Le.target.checked?"dark":"light"),labelPosition:"right",isSwitch:!0})}),L.jsx("div",{className:`pkt-preview__component ${i&&"pkt-preview__component--fullwidth"}`,ref:X,children:L.jsx("div",{children:Me})},c)]}),L.jsx(LE,{tabs:q,onTabSelected:K}),L.jsxs("div",{className:`pkt-grid pkt-preview__opts ${q[0].active?"":"pkt-hide"}`,children:[((at=r.slots)==null?void 0:at.default)&&!n.props.children&&L.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[L.jsx(Yh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:"children"}),L.jsx(Nb,{id:"slot",label:"Slot",helptext:r.slots.default.description||"Innholdet i slot",type:"text",value:V,onChange:Le=>De(Le.currentTarget.value)})]}),r.props&&typeof r.props=="object"&&!Array.isArray(r.props)?Object.entries(r.props).map(([Le,Ae])=>L.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[L.jsx(Yh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:Le}),L.jsx(P2,{propKey:Le,props:m,spec:Ae,handleChange:Qe})]},Le)):L.jsx("p",{children:"OBS! Specs mangler props!"})]}),L.jsxs("div",{className:`pkt-preview__code ${q[1].active?"":"pkt-hide"}`,children:[L.jsx(ev,{language:"jsx",style:RE,children:R}),We("jsx",R)]}),L.jsxs("div",{className:`pkt-preview__code ${q[2].active?"":"pkt-hide"}`,children:[L.jsx(ev,{language:"html",style:RE,children:$}),We("html",$)]}),L.jsx("div",{className:`pkt-preview__specs ${q[3].active?"":"pkt-hide"}`,children:L.jsx(T4,{specs:r})})]})};OE.displayName="PktPreview";const A4=ti({tagName:"pkt-progressbar",elementClass:ra,react:$e,displayName:"PktProgressbar",events:{}}),BE=$e.forwardRef(({children:r,...n},i)=>L.jsx(A4,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));BE.displayName="PktProgressbar";const ME=$e.forwardRef(({id:r,name:n,label:i,className:l,hasTile:c=!1,disabled:h=!1,checkHelptext:m,hasError:D=!1,...C},E)=>{const $=[l,"pkt-input-check"].filter(Boolean).join(" ");return L.jsx("div",{className:$,children:L.jsxs("div",{className:`pkt-input-check__input ${c?"pkt-input-check__input--tile":""} ${h&&c?"pkt-input-check__input--tile-disabled":""}`,children:[L.jsx("input",{ref:E,id:r,type:"radio",name:n,disabled:h,className:`pkt-input-check__input-checkbox ${D?"pkt-input-check__input-checkbox--error":""}`,...C}),L.jsxs("label",{className:"pkt-input-check__input-label",htmlFor:r,children:[i,m&&L.jsx("div",{className:"pkt-input-check__input-helptext",children:m})]})]})})});ME.displayName="PktRadioButton";const $4=$e.forwardRef(({appearance:r="local",disabled:n=!1,fullwidth:i=!1,id:l,label:c,name:h,placeholder:m="Søk…",suggestions:D,value:C="",action:E,method:$,onChange:P,onSearch:R,onSuggestionClick:O,...j},J)=>{const V=(K,X)=>{K?K():O&&O(X)},De=K=>{C=K.target.value},q=`pkt-searchinput pkt-searchinput--${r} ${i?"pkt-searchinput--fullwidth":""}`;let W;return E?W=K=>L.jsx("form",{role:"search",className:q,action:E,method:$,children:K}):W=K=>L.jsx("div",{role:"search",className:q,children:K}),W(L.jsxs(L.Fragment,{children:[c&&L.jsx("label",{htmlFor:c?l:void 0,className:c?"pkt-inputwrapper__label":"",children:c}),L.jsxs("div",{className:r==="local"?"pkt-input__container":"pkt-searchinput__field",children:[L.jsx("input",{className:`pkt-input ${i?"pkt-input--fullwidth":""}`,type:"search",name:h||l,id:l,placeholder:m,defaultValue:C,disabled:n,autoComplete:"off","aria-autocomplete":"list",ref:J,"aria-controls":`${l}-suggestions`,onChange:P||De,onKeyUp:R&&(K=>{K.key==="Enter"&&(K.preventDefault(),R(C))}),...j}),L.jsx(bc,{className:`pkt-searchinput__button ${r==="local"?"pkt-input-icon":""}`,variant:"icon-only",iconName:"magnifying-glass-big",skin:r==="local"?"tertiary":"primary",color:r==="global"?"yellow":void 0,type:"submit",disabled:n,onClick:R&&(K=>{K.preventDefault(),R(C)}),children:c||m})]}),D&&L.jsx("ul",{id:`${l}-suggestions`,className:"pkt-searchinput__suggestions","aria-live":"assertive",children:D.map((K,X)=>L.jsx("li",{children:$e.createElement(K.href?"a":K.onClick?"button":"div",{href:K.href,className:`pkt-searchinput__suggestion ${K.onClick?"pkt-link-button":""} ${K.href||K.onClick?"pkt-searchinput__suggestion--has-hover":""}`,type:K.onClick?"button":void 0,onClick:()=>V(K.onClick,X),onKeyUp:ae=>ae.key==="Enter"&&V(K.onClick,X)},L.jsxs(L.Fragment,{children:[K.title&&L.jsx("h3",{className:"pkt-searchinput__suggestion-title",children:K.title}),K.text&&L.jsx("p",{className:"pkt-searchinput__suggestion-text",children:K.text})]}))},`search-suggestion-${X}`))})]}))}),P4=$e.forwardRef(({activeStep:r,className:n,children:i,hideNonActiveSteps:l=!1,hideNonActiveStepsContent:c=!0,orientation:h="vertical",...m},D)=>{const C=ml(n,"pkt-stepper",h==="horizontal"?"pkt-stepper--horizontal":"pkt-stepper--vertical"),E=$e.Children.map(i,($,P)=>$e.isValidElement($)?$e.cloneElement($,{className:ml($.props.className,{"pkt-step--hideStep":l&&P!==r,"pkt-step--hideContent":c&&P!==r})}):$);return L.jsx("ol",{"data-testid":"pkt-stepper",className:C,ref:D,...m,children:E})}),N4=L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:L.jsx("circle",{cx:"12",cy:"12",r:"7",style:{fill:"var(--pkt-color-grays-grey-200, #CCC)"}})}),R4=L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[L.jsx("circle",{opacity:".15",cx:"12",cy:"12",r:"12",fill:"#2A2859"}),L.jsx("circle",{cx:"12",cy:"12",r:"6",fill:"#2A2859"})]}),L4=L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[L.jsx("path",{fill:"#2A2859",d:"M3 3h18v18H3z"}),L.jsx("path",{d:"m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z",fill:"#F1FDFF"})]}),O4=({children:r,className:n,status:i="incomplete",title:l})=>L.jsxs("li",{className:ml("pkt-step",n,`pkt-step--${i}`),"data-testid":"pkt-step",children:[L.jsx("span",{className:"pkt-step__line pkt-step__line--1","aria-hidden":!0}),L.jsx("span",{className:"pkt-step__line pkt-step__line--2","aria-hidden":!0}),L.jsx("span",{className:ml("pkt-step__indicator"),children:i==="current"?R4:i==="completed"?L4:N4}),L.jsx("span",{className:"pkt-step__line pkt-step__line--3","aria-hidden":!0}),L.jsxs("div",{className:"pkt-step__wrapper",children:[L.jsx("div",{className:"pkt-step__title",children:l}),L.jsx("div",{className:"pkt-step__content",children:r})]})]}),B4=$e.forwardRef(({id:r,ariaDescribedby:n,ariaLabelledby:i,counter:l,counterMaxLength:c,className:h,disabled:m,errorMessage:D,hasError:C,helptext:E,helptextDropdown:$,helptextDropdownButton:P,inline:R,fullwidth:O=!1,label:j,name:J,optionalTag:V=!1,optionalText:De,requiredTag:q=!1,requiredText:W,placeholder:K,rows:X,useWrapper:ae=!0,onChange:ue,value:xe,autoComplete:ye="off",minLength:Ye,maxLength:We,readOnly:Me=!1,skipForwardTestid:Qe=!1,...Ie},at)=>{const Le=[h,"pkt-textinput","pkt-textarea"].join(" "),Ae=`${r}-input`,ce=`${Ae}-label`,Ne=i||ce,Se=$e.useRef(null),[Q,le]=$e.useState(0),it=Je=>{var pt,lt;if(l&&le(((lt=(pt=Je.currentTarget)==null?void 0:pt.value)==null?void 0:lt.length)||0),ue)return ue(Je)};return $e.useEffect(()=>{var Je,pt;typeof at=="function"&&at(Se.current),l&&le(((pt=(Je=Se==null?void 0:Se.current)==null?void 0:Je.value)==null?void 0:pt.length)||0)},[at]),L.jsx(Rh,{ariaDescribedby:n,className:Le,disabled:m,errorMessage:D,forId:Ae,hasError:C,helptext:E,helptextDropdown:$,helptextDropdownButton:P,inline:R,label:j,optionalTag:V,optionalText:De,requiredTag:q,requiredText:W,useWrapper:ae,counter:l,counterCurrent:Q,counterMaxLength:c,children:L.jsx("textarea",{ref:Se,className:`pkt-input ${O?"pkt-input--fullwidth":""} ${c&&Q>c?"pkt-input--counter-error":""}`,name:`${J||r}-input`,id:Ae,placeholder:K,disabled:m,rows:X,"aria-labelledby":Ne,"aria-invalid":C,"aria-errormessage":`${r}-error`,...Ie,onChange:it,value:xe,autoComplete:ye,minLength:Ye,maxLength:We,"data-skip-forward-testid":Qe?"true":void 0})})});var Gh=window.CustomEvent;(!Gh||typeof Gh=="object")&&(Gh=function(r,n){n=n||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(r,!!n.bubbles,!!n.cancelable,n.detail||null),i},Gh.prototype=window.Event.prototype);function IE(r,n){var i="on"+n.type.toLowerCase();return typeof r[i]=="function"&&r[i](n),r.dispatchEvent(n)}function M4(r){for(;r&&r!==document.body;){var n=window.getComputedStyle(r),i=function(l,c){return!(n[l]===void 0||n[l]===c)};if(n.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||n.isolation==="isolate"||n.position==="fixed"||n.webkitOverflowScrolling==="touch")return!0;r=r.parentElement}return!1}function tv(r){for(;r;){if(r.localName==="dialog")return r;r.parentElement?r=r.parentElement:r.parentNode?r=r.parentNode.host:r=null}return null}function jE(r){for(;r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;r&&r.blur&&r!==document.body&&r.blur()}function I4(r,n){for(var i=0;i<r.length;++i)if(r[i]===n)return!0;return!1}function N2(r){return!r||!r.hasAttribute("method")?!1:r.getAttribute("method").toLowerCase()==="dialog"}function zE(r){var n=["button","input","keygen","select","textarea"],i=n.map(function(m){return m+":not([disabled])"});i.push('[tabindex]:not([disabled]):not([tabindex=""])');var l=r.querySelector(i.join(", "));if(!l&&"attachShadow"in Element.prototype)for(var c=r.querySelectorAll("*"),h=0;h<c.length&&!(c[h].tagName&&c[h].shadowRoot&&(l=zE(c[h].shadowRoot),l));h++);return l}function UE(r){return r.isConnected||document.body.contains(r)}function HE(r){if(r.submitter)return r.submitter;var n=r.target;if(!(n instanceof HTMLFormElement))return null;var i=jn.formSubmitter;if(!i){var l=r.target,c="getRootNode"in l&&l.getRootNode()||document;i=c.activeElement}return!i||i.form!==n?null:i}function j4(r){if(!r.defaultPrevented){var n=r.target,i=jn.imagemapUseValue,l=HE(r);i===null&&l&&(i=l.value);var c=tv(n);if(c){var h=l&&l.getAttribute("formmethod")||n.getAttribute("method");h==="dialog"&&(r.preventDefault(),i!=null?c.close(i):c.close())}}}function WE(r){if(this.dialog_=r,this.replacedStyleTop_=!1,this.openAsModal_=!1,r.hasAttribute("role")||r.setAttribute("role","dialog"),r.show=this.show.bind(this),r.showModal=this.showModal.bind(this),r.close=this.close.bind(this),r.addEventListener("submit",j4,!1),"returnValue"in r||(r.returnValue=""),"MutationObserver"in window){var n=new MutationObserver(this.maybeHideModal.bind(this));n.observe(r,{attributes:!0,attributeFilter:["open"]})}else{var i=!1,l=(function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}).bind(this),c,h=function(m){if(m.target===r){var D="DOMNodeRemoved";i|=m.type.substr(0,D.length)===D,window.clearTimeout(c),c=window.setTimeout(l,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(m){r.addEventListener(m,h)})}Object.defineProperty(r,"open",{set:this.setOpen.bind(this),get:r.hasAttribute.bind(r,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}WE.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&UE(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),jn.dm.removeDialog(this))},setOpen:function(r){r?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(r){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var n=document.createElement("div");this.dialog_.insertBefore(n,this.dialog_.firstChild),n.tabIndex=-1,n.focus(),this.dialog_.removeChild(n)}var i=document.createEvent("MouseEvents");i.initMouseEvent(r.type,r.bubbles,r.cancelable,window,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget),this.dialog_.dispatchEvent(i),r.stopPropagation()},focus_:function(){var r=this.dialog_.querySelector("[autofocus]:not([disabled])");!r&&this.dialog_.tabIndex>=0&&(r=this.dialog_),r||(r=zE(this.dialog_)),jE(document.activeElement),r&&r.focus()},updateZIndex:function(r,n){if(r<n)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=r,this.backdrop_.style.zIndex=n},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!UE(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!jn.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");M4(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,jn.needsCentering(this.dialog_)?(jn.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(r){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),r!==void 0&&(this.dialog_.returnValue=r);var n=new Gh("close",{bubbles:!1,cancelable:!1});IE(this.dialog_,n)}};var jn={};if(jn.reposition=function(r){var n=document.body.scrollTop||document.documentElement.scrollTop,i=n+(window.innerHeight-r.offsetHeight)/2;r.style.top=Math.max(n,i)+"px"},jn.isInlinePositionSetByStylesheet=function(r){for(var n=0;n<document.styleSheets.length;++n){var i=document.styleSheets[n],l=null;try{l=i.cssRules}catch{}if(l)for(var c=0;c<l.length;++c){var h=l[c],m=null;try{m=document.querySelectorAll(h.selectorText)}catch{}if(!(!m||!I4(m,r))){var D=h.style.getPropertyValue("top"),C=h.style.getPropertyValue("bottom");if(D&&D!=="auto"||C&&C!=="auto")return!0}}}return!1},jn.needsCentering=function(r){var n=window.getComputedStyle(r);return n.position!=="absolute"||r.style.top!=="auto"&&r.style.top!==""||r.style.bottom!=="auto"&&r.style.bottom!==""?!1:!jn.isInlinePositionSetByStylesheet(r)},jn.forceRegisterDialog=function(r){if((window.HTMLDialogElement||r.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",r),r.localName!=="dialog")throw new Error("Failed to register dialog: The element is not a dialog.");new WE(r)},jn.registerDialog=function(r){r.showModal||jn.forceRegisterDialog(r)},jn.DialogManager=function(){this.pendingDialogStack=[];var r=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",(function(n){this.forwardTab_=void 0,n.stopPropagation(),r([])}).bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(n){var i=[];n.forEach(function(l){for(var c=0,h;h=l.removedNodes[c];++c){if(h instanceof Element)h.localName==="dialog"&&i.push(h);else continue;i=i.concat(h.querySelectorAll("dialog"))}}),i.length&&r(i)}))},jn.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},jn.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},jn.DialogManager.prototype.updateStacking=function(){for(var r=this.zIndexHigh_,n=0,i;i=this.pendingDialogStack[n];++n)i.updateZIndex(--r,--r),n===0&&(this.overlay.style.zIndex=--r);var l=this.pendingDialogStack[0];if(l){var c=l.dialog.parentNode||document.body;c.appendChild(this.overlay)}else this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},jn.DialogManager.prototype.containedByTopDialog_=function(r){for(;r=tv(r);){for(var n=0,i;i=this.pendingDialogStack[n];++n)if(i.dialog===r)return n===0;r=r.parentElement}return!1},jn.DialogManager.prototype.handleFocus_=function(r){var n=r.composedPath?r.composedPath()[0]:r.target;if(!this.containedByTopDialog_(n)&&document.activeElement!==document.documentElement&&(r.preventDefault(),r.stopPropagation(),jE(n),this.forwardTab_!==void 0)){var i=this.pendingDialogStack[0],l=i.dialog,c=l.compareDocumentPosition(n);return c&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():n!==document.documentElement&&document.documentElement.focus()),!1}},jn.DialogManager.prototype.handleKey_=function(r){if(this.forwardTab_=void 0,r.keyCode===27){r.preventDefault(),r.stopPropagation();var n=new Gh("cancel",{bubbles:!1,cancelable:!0}),i=this.pendingDialogStack[0];i&&IE(i.dialog,n)&&i.dialog.close()}else r.keyCode===9&&(this.forwardTab_=!r.shiftKey)},jn.DialogManager.prototype.checkDOM_=function(r){var n=this.pendingDialogStack.slice();n.forEach(function(i){r.indexOf(i.dialog)!==-1?i.downgradeModal():i.maybeHideModal()})},jn.DialogManager.prototype.pushDialog=function(r){var n=(this.zIndexHigh_-this.zIndexLow_)/2-1;return this.pendingDialogStack.length>=n?!1:(this.pendingDialogStack.unshift(r)===1&&this.blockDocument(),this.updateStacking(),!0)},jn.DialogManager.prototype.removeDialog=function(r){var n=this.pendingDialogStack.indexOf(r);n!==-1&&(this.pendingDialogStack.splice(n,1),this.pendingDialogStack.length===0&&this.unblockDocument(),this.updateStacking())},jn.dm=new jn.DialogManager,jn.formSubmitter=null,jn.imagemapUseValue=null,window.HTMLDialogElement===void 0){var qE=document.createElement("form");if(qE.setAttribute("method","dialog"),qE.method!=="dialog"){var Xh=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Xh){var z4=Xh.get;Xh.get=function(){return N2(this)?"dialog":z4.call(this)};var U4=Xh.set;Xh.set=function(r){return typeof r=="string"&&r.toLowerCase()==="dialog"?this.setAttribute("method",r):U4.call(this,r)},Object.defineProperty(HTMLFormElement.prototype,"method",Xh)}}document.addEventListener("click",function(r){if(jn.formSubmitter=null,jn.imagemapUseValue=null,!r.defaultPrevented){var n=r.target;if("composedPath"in r){var i=r.composedPath();n=i.shift()||n}if(!(!n||!N2(n.form))){var l=n.type==="submit"&&["button","input"].indexOf(n.localName)>-1;if(!l){if(!(n.localName==="input"&&n.type==="image"))return;jn.imagemapUseValue=r.offsetX+","+r.offsetY}var c=tv(n);c&&(jn.formSubmitter=n)}}},!1),document.addEventListener("submit",function(r){var n=r.target,i=tv(n);if(!i){var l=HE(r),c=l&&l.getAttribute("formmethod")||n.getAttribute("method");c==="dialog"&&r.preventDefault()}});var H4=HTMLFormElement.prototype.submit,W4=function(){if(!N2(this))return H4.call(this);var r=tv(this);r&&r.close()};HTMLFormElement.prototype.submit=W4}const q4=Object.freeze(Object.defineProperty({__proto__:null,default:jn},Symbol.toStringTag,{value:"Module"}));Ot.PktAccordion=Xx,Ot.PktAccordionItem=Jx,Ot.PktAlert=w0,Ot.PktBackLink=Qx,Ot.PktBreadcrumbs=hR,Ot.PktButton=bc,Ot.PktCard=Kx,Ot.PktCheckbox=ib,Ot.PktCombobox=Zx,Ot.PktConsent=ob,Ot.PktDatepicker=D0,Ot.PktFooter=yR,Ot.PktFooterSimple=bR,Ot.PktHeader=wR,Ot.PktHelptext=t_,Ot.PktIcon=Mn,Ot.PktInput=n_,Ot.PktInputWrapper=Rh,Ot.PktLink=r_,Ot.PktLinkCard=a_,Ot.PktLoader=i_,Ot.PktMessagebox=o_,Ot.PktModal=s_,Ot.PktPreview=OE,Ot.PktProgressbar=BE,Ot.PktRadioButton=ME,Ot.PktSearchInput=$4,Ot.PktSelect=$2,Ot.PktStep=O4,Ot.PktStepper=P4,Ot.PktTable=Rb,Ot.PktTableBody=Ob,Ot.PktTableDataCell=Zo,Ot.PktTableHeader=Lb,Ot.PktTableHeaderCell=gl,Ot.PktTableRow=np,Ot.PktTabs=LE,Ot.PktTag=Yh,Ot.PktTextarea=B4,Ot.PktTextinput=Nb,Object.defineProperty(Ot,Symbol.toStringTag,{value:"Module"})});
|
|
1547
|
+
`)})})]}):L.jsxs(L.Fragment,{children:[L.jsx(Zo,{dataLabel:"Beskrivelse",children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),L.jsx(Zo,{dataLabel:"Type",children:L.jsx("pre",{children:c.type&&n(c.type)})}),L.jsx(Zo,{dataLabel:"Standardverdi",children:L.jsx("pre",{children:i(c.default)})})]})]},l))})]}),r.events&&L.jsxs(L.Fragment,{children:[L.jsx("h2",{children:"Hendelser / handlinger"}),L.jsxs(Rb,{compact:!0,children:[L.jsx(Lb,{children:L.jsxs(np,{children:[L.jsx(gl,{children:"Event"}),L.jsx(gl,{children:"Beskrivelse"}),L.jsx(gl,{children:"Type"})]})}),L.jsx(Ob,{children:Object.entries(r.events||{}).map(([l,c])=>L.jsxs(np,{children:[L.jsx(Zo,{dataLabel:"Event",children:L.jsx("pre",{children:l})}),L.jsx(Zo,{dataLabel:"Beskrivelse",children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})}),L.jsx(Zo,{dataLabel:"Type",children:c.type})]},l))})]})]}),r.slots&&L.jsxs(L.Fragment,{children:[L.jsx("h2",{children:"Innhold"}),L.jsxs(Rb,{compact:!0,children:[L.jsx(Lb,{children:L.jsxs(np,{children:[L.jsx(gl,{children:"Slot"}),L.jsx(gl,{children:"Beskrivelse"})]})}),L.jsx(Ob,{children:Object.entries(r.slots||{}).map(([l,c])=>L.jsxs(np,{children:[L.jsx(Zo,{dataLabel:"Slot",children:L.jsx("pre",{children:l})}),L.jsx(Zo,{dataLabel:"Beskrivelse",children:L.jsx("span",{dangerouslySetInnerHTML:{__html:c.description||""}})})]},l))})]})]})]})},$2=$e.forwardRef(({ariaDescribedby:r,ariaLabelledby:n,children:i,className:l,disabled:c=!1,errorMessage:h,hasError:m,helptext:D,helptextDropdown:C,helptextDropdownButton:E,id:$,inline:P=!1,fullwidth:R=!1,label:O,name:I,optionalTag:J=!1,optionalText:V,requiredTag:De=!1,requiredText:q,...W},K)=>{const X=[l,"pkt-select"].join(" ");return L.jsx(Rh,{className:X,forId:`${$}-input`,label:O,helptext:D,helptextDropdown:C,helptextDropdownButton:E,optionalTag:J,optionalText:V,requiredTag:De,requiredText:q,hasError:m,errorMessage:h,disabled:c,inline:P,ariaDescribedby:r,children:L.jsx("select",{ref:K,className:`pkt-input ${R?"pkt-input--fullwidth":""}`,"aria-invalid":m,"aria-errormessage":`${$}-error`,"aria-labelledby":n||void 0,disabled:c,id:`${$}-input`,name:I||$,...W,children:i})})}),F4=[{id:"24h",fn:"24h.svg",cat:"health"},{id:"access-prohibited",fn:"access-prohibited.svg",cat:"signs"},{id:"accessibility",fn:"accessibility.svg",cat:"signs"},{id:"accessible-water-access",fn:"accessible-water-access.svg",cat:"activities"},{id:"active-person",fn:"active-person.svg",cat:"activities"},{id:"adjust",fn:"adjust.svg",cat:"ui"},{id:"advice",fn:"advice.svg",cat:"social"},{id:"alcohol-prohibited",fn:"alcohol-prohibited.svg",cat:"food"},{id:"alert-circle",fn:"alert-circle.svg",cat:"status"},{id:"alert-error-system",fn:"alert-error-system.svg",cat:"status"},{id:"alert-error",fn:"alert-error.svg",cat:"status"},{id:"alert-information",fn:"alert-information.svg",cat:"status"},{id:"alert-success-system",fn:"alert-success-system.svg",cat:"status"},{id:"alert-success",fn:"alert-success.svg",cat:"status"},{id:"alert-warning",fn:"alert-warning.svg",cat:"status"},{id:"ambulance",fn:"ambulance.svg",cat:"travel"},{id:"apple",fn:"apple.svg",cat:"food"},{id:"archive",fn:"archive.svg",cat:"ui"},{id:"arrow-circle",fn:"arrow-circle.svg",cat:"ui"},{id:"arrow-return",fn:"arrow-return.svg",cat:"navigation"},{id:"arrow",fn:"arrow.svg",cat:"navigation"},{id:"arts-and-culture",fn:"arts-and-culture.svg",cat:"places"},{id:"attachment",fn:"attachment.svg",cat:"ui"},{id:"audioguide",fn:"audioguide.svg",cat:"objects"},{id:"baby-bottle",fn:"baby-bottle.svg",cat:"food"},{id:"baby-changing-room",fn:"baby-changing-room.svg",cat:"activities"},{id:"backpack-prohibited",fn:"backpack-prohibited.svg",cat:"objects"},{id:"backpack",fn:"backpack.svg",cat:"services"},{id:"ball-sports",fn:"ball-sports.svg",cat:"activities"},{id:"balloons",fn:"balloons.svg",cat:"objects"},{id:"bath",fn:"bath.svg",cat:"objects"},{id:"bed",fn:"bed.svg",cat:"objects"},{id:"beehive",fn:"beehive.svg",cat:"objects"},{id:"bicycle-parking",fn:"bicycle-parking.svg",cat:"travel"},{id:"bicycle-prohibited",fn:"bicycle-prohibited.svg",cat:"travel"},{id:"bicycle-service",fn:"bicycle-service.svg",cat:"travel"},{id:"bicycle",fn:"bicycle.svg",cat:"travel"},{id:"books",fn:"books.svg",cat:"health"},{id:"boys-shower",fn:"boys-shower.svg",cat:"signs"},{id:"boys-toilet",fn:"boys-toilet.svg",cat:"user"},{id:"brain-heart",fn:"brain-heart.svg",cat:"health"},{id:"brain-signal",fn:"brain-signal.svg",cat:"health"},{id:"brain",fn:"brain.svg",cat:"health"},{id:"briefcase",fn:"briefcase.svg",cat:"objects"},{id:"bulb",fn:"bulb.svg",cat:"objects"},{id:"bullseye",fn:"bullseye.svg",cat:"objects"},{id:"bus",fn:"bus.svg",cat:"travel"},{id:"cafe",fn:"cafe.svg",cat:"food"},{id:"calendar",fn:"calendar.svg",cat:"ui"},{id:"camera-surveillance-CCTV",fn:"camera-surveillance-CCTV.svg",cat:"objects"},{id:"camera",fn:"camera.svg",cat:"objects"},{id:"campfire-site",fn:"campfire-site.svg",cat:"health"},{id:"camping",fn:"camping.svg",cat:"places"},{id:"car",fn:"car.svg",cat:"travel"},{id:"character-exclamation-mark",fn:"character-exclamation-mark.svg",cat:"status"},{id:"character-information",fn:"character-information.svg",cat:"status"},{id:"charging-point",fn:"charging-point.svg",cat:"objects"},{id:"check-big",fn:"check-big.svg",cat:"ui"},{id:"check-box-checked",fn:"check-box-checked.svg",cat:"ui"},{id:"check-box-unchecked",fn:"check-box-unchecked.svg",cat:"ui"},{id:"check-circle",fn:"check-circle.svg",cat:"ui"},{id:"check-medium",fn:"check-medium.svg",cat:"ui"},{id:"check",fn:"check.svg",cat:"ui"},{id:"chevron-down",fn:"chevron-down.svg",cat:"navigation"},{id:"chevron-left",fn:"chevron-left.svg",cat:"navigation"},{id:"chevron-right",fn:"chevron-right.svg",cat:"navigation"},{id:"chevron-thin-down",fn:"chevron-thin-down.svg",cat:"navigation"},{id:"chevron-thin-left",fn:"chevron-thin-left.svg",cat:"navigation"},{id:"chevron-thin-right",fn:"chevron-thin-right.svg",cat:"navigation"},{id:"chevron-thin-up",fn:"chevron-thin-up.svg",cat:"navigation"},{id:"chevron-up-and-down",fn:"chevron-up-and-down.svg",cat:"ui"},{id:"chevron-up",fn:"chevron-up.svg",cat:"navigation"},{id:"childrens-toilet",fn:"childrens-toilet.svg",cat:"signs"},{id:"circular-economy",fn:"circular-economy.svg",cat:"ui"},{id:"climbing",fn:"climbing.svg",cat:"activities"},{id:"clock-history",fn:"clock-history.svg",cat:"ui"},{id:"clock",fn:"clock.svg",cat:"ui"},{id:"close",fn:"close.svg",cat:"ui"},{id:"cloud",fn:"cloud.svg",cat:"objects"},{id:"code",fn:"code.svg",cat:"data"},{id:"coffee",fn:"coffee.svg",cat:"food"},{id:"cogwheel",fn:"cogwheel.svg",cat:"ui"},{id:"coin-stacks",fn:"coin-stacks.svg",cat:"health"},{id:"computer",fn:"computer.svg",cat:"objects"},{id:"cookie",fn:"cookie.svg",cat:"ui"},{id:"copy",fn:"copy.svg",cat:"ui"},{id:"crane",fn:"crane.svg",cat:"places"},{id:"crayfish",fn:"crayfish.svg",cat:"objects"},{id:"cross-circle-big",fn:"cross-circle-big.svg",cat:"ui"},{id:"cross-circle-fill-large",fn:"cross-circle-fill-large.svg",cat:"ui"},{id:"cross-circle-fill",fn:"cross-circle-fill.svg",cat:"ui"},{id:"cross-circle",fn:"cross-circle.svg",cat:"ui"},{id:"cross",fn:"cross.svg",cat:"ui"},{id:"cupboard",fn:"cupboard.svg",cat:"objects"},{id:"dancing",fn:"dancing.svg",cat:"activities"},{id:"data",fn:"data.svg",cat:"data"},{id:"deer",fn:"deer.svg",cat:"objects"},{id:"defibrillators",fn:"defibrillators.svg",cat:"signs"},{id:"district",fn:"district.svg",cat:"places"},{id:"diving-prohibited",fn:"diving-prohibited.svg",cat:"activities"},{id:"dock",fn:"dock.svg",cat:"places"},{id:"document-code",fn:"document-code.svg",cat:"ui"},{id:"document-pdf",fn:"document-pdf.svg",cat:"ui"},{id:"document-plain",fn:"document-plain.svg",cat:"ui"},{id:"document-table",fn:"document-table.svg",cat:"ui"},{id:"document-text",fn:"document-text.svg",cat:"ui"},{id:"dog-forbidden",fn:"dog-forbidden.svg",cat:"objects"},{id:"dog-on-a-leash",fn:"dog-on-a-leash.svg",cat:"objects"},{id:"download",fn:"download.svg",cat:"ui"},{id:"drag",fn:"drag.svg",cat:"ui"},{id:"drinking-area-refreshments",fn:"drinking-area-refreshments.svg",cat:"food"},{id:"drone",fn:"drone.svg",cat:"objects"},{id:"drugs-prohibited",fn:"drugs-prohibited.svg",cat:"objects"},{id:"ecg-heart",fn:"ecg-heart.svg",cat:"health"},{id:"edit",fn:"edit.svg",cat:"ui"},{id:"elderly",fn:"elderly.svg",cat:"user"},{id:"electric-car",fn:"electric-car.svg",cat:"travel"},{id:"electric-van",fn:"electric-van.svg",cat:"travel"},{id:"elevator",fn:"elevator.svg",cat:"signs"},{id:"email",fn:"email.svg",cat:"social"},{id:"escalator",fn:"escalator.svg",cat:"signs"},{id:"exclamation-mark-circle",fn:"exclamation-mark-circle.svg",cat:"status"},{id:"exclamation-mark-square",fn:"exclamation-mark-square.svg",cat:"status"},{id:"exit-door",fn:"exit-door.svg",cat:"ui"},{id:"exit",fn:"exit.svg",cat:"navigation"},{id:"expand",fn:"expand.svg",cat:"ui"},{id:"eye",fn:"eye.svg",cat:"ui"},{id:"face-almost-happy",fn:"face-almost-happy.svg",cat:"feedback"},{id:"face-almost-sad",fn:"face-almost-sad.svg",cat:"feedback"},{id:"face-happy",fn:"face-happy.svg",cat:"feedback"},{id:"face-neutral",fn:"face-neutral.svg",cat:"feedback"},{id:"face-sad",fn:"face-sad.svg",cat:"feedback"},{id:"facebook",fn:"facebook.svg",cat:"social"},{id:"factory-fill",fn:"factory-fill.svg",cat:"places"},{id:"feedback",fn:"feedback.svg",cat:"social"},{id:"figma",fn:"figma.svg",cat:"social"},{id:"filming-prohibited",fn:"filming-prohibited.svg",cat:"signs"},{id:"filter",fn:"filter.svg",cat:"ui"},{id:"fire-prohibited",fn:"fire-prohibited.svg",cat:"signs"},{id:"fire-safety",fn:"fire-safety.svg",cat:"health"},{id:"fireworks-prohibited",fn:"fireworks-prohibited.svg",cat:"signs"},{id:"fishing-prohibited",fn:"fishing-prohibited.svg",cat:"signs"},{id:"fixed-bench",fn:"fixed-bench.svg",cat:"objects"},{id:"fixed-grill",fn:"fixed-grill.svg",cat:"objects"},{id:"flammable-waste",fn:"flammable-waste.svg",cat:"signs"},{id:"flash-prohibited",fn:"flash-prohibited.svg",cat:"objects"},{id:"folder",fn:"folder.svg",cat:"ui"},{id:"food-and-drinks-prohibited",fn:"food-and-drinks-prohibited.svg",cat:"food"},{id:"fountain",fn:"fountain.svg",cat:"places"},{id:"game-console",fn:"game-console.svg",cat:"objects"},{id:"girls-shower",fn:"girls-shower.svg",cat:"signs"},{id:"girls-toilet",fn:"girls-toilet.svg",cat:"user"},{id:"github",fn:"github.svg",cat:"social"},{id:"graffiti-allowed",fn:"graffiti-allowed.svg",cat:"objects"},{id:"graffiti-prohibited",fn:"graffiti-prohibited.svg",cat:"objects"},{id:"graph",fn:"graph.svg",cat:"data"},{id:"grid",fn:"grid.svg",cat:"ui"},{id:"gym",fn:"gym.svg",cat:"objects"},{id:"handicap-elevator",fn:"handicap-elevator.svg",cat:"signs"},{id:"handicap",fn:"handicap.svg",cat:"user"},{id:"hands-globe",fn:"hands-globe.svg",cat:"health"},{id:"headset",fn:"headset.svg",cat:"objects"},{id:"heart-hand",fn:"heart-hand.svg",cat:"health"},{id:"heart-plus",fn:"heart-plus.svg",cat:"health"},{id:"heart",fn:"heart.svg",cat:"health"},{id:"height-restriction",fn:"height-restriction.svg",cat:"objects"},{id:"helmet",fn:"helmet.svg",cat:"objects"},{id:"hiking-trail",fn:"hiking-trail.svg",cat:"places"},{id:"holding-hands",fn:"holding-hands.svg",cat:"user"},{id:"home",fn:"home.svg",cat:"places"},{id:"horizontal-menu",fn:"horizontal-menu.svg",cat:"ui"},{id:"house-heart",fn:"house-heart.svg",cat:"places"},{id:"ice-skating",fn:"ice-skating.svg",cat:"objects"},{id:"indoor-pool",fn:"indoor-pool.svg",cat:"activities"},{id:"information",fn:"information.svg",cat:"status"},{id:"instagram",fn:"instagram.svg",cat:"social"},{id:"invoice",fn:"invoice.svg",cat:"ui"},{id:"key",fn:"key.svg",cat:"objects"},{id:"ladies-toilet",fn:"ladies-toilet.svg",cat:"user"},{id:"language",fn:"language.svg",cat:"user"},{id:"law-paragraph",fn:"law-paragraph.svg",cat:"user"},{id:"lecture-workplace",fn:"lecture-workplace.svg",cat:"sign"},{id:"lecture",fn:"lecture.svg",cat:"activities"},{id:"life-ring",fn:"life-ring.svg",cat:"objects"},{id:"link",fn:"link.svg",cat:"ui"},{id:"linkedin",fn:"linkedin.svg",cat:"social"},{id:"list",fn:"list.svg",cat:"ui"},{id:"living-room",fn:"living-room.svg",cat:"objects"},{id:"location-pin-filled",fn:"location-pin-filled.svg",cat:"travel"},{id:"location-pin",fn:"location-pin.svg",cat:"travel"},{id:"lock-locked",fn:"lock-locked.svg",cat:"ui"},{id:"lock-unlocked",fn:"lock-unlocked.svg",cat:"ui"},{id:"luggage-prohibited",fn:"luggage-prohibited.svg",cat:"objects"},{id:"magnifying-glass-big",fn:"magnifying-glass-big.svg",cat:"ui"},{id:"magnifying-glass-small",fn:"magnifying-glass-small.svg",cat:"ui"},{id:"map",fn:"map.svg",cat:"travel"},{id:"medicine-cabinet",fn:"medicine-cabinet.svg",cat:"objects"},{id:"megaphone",fn:"megaphone.svg",cat:"objects"},{id:"memorial-stone",fn:"memorial-stone.svg",cat:"objects"},{id:"mens-toilet",fn:"mens-toilet.svg",cat:"user"},{id:"menu",fn:"menu.svg",cat:"navigation"},{id:"message",fn:"message.svg",cat:"social"},{id:"minimize",fn:"minimize.svg",cat:"ui"},{id:"minus-circle-fill",fn:"minus-circle-fill.svg",cat:"ui"},{id:"minus-circle",fn:"minus-circle.svg",cat:"ui"},{id:"minus-sign",fn:"minus-sign.svg",cat:"ui"},{id:"mobile-phone",fn:"mobile-phone.svg",cat:"objects"},{id:"moon",fn:"moon.svg",cat:"objects"},{id:"motorcycle",fn:"motorcycle.svg",cat:"travel"},{id:"museum",fn:"museum.svg",cat:"places"},{id:"music-notes",fn:"music-notes.svg",cat:"objects"},{id:"nature-plant-2",fn:"nature-plant-2.svg",cat:"objects"},{id:"nature-plant",fn:"nature-plant.svg",cat:"objects"},{id:"new-window-small",fn:"new-window-small.svg",cat:"navigation"},{id:"new-window",fn:"new-window.svg",cat:"navigation"},{id:"no-walking",fn:"no-walking.svg",cat:"activities"},{id:"nodejs",fn:"nodejs.svg",cat:"social"},{id:"obstacle",fn:"obstacle.svg",cat:"objects"},{id:"organization",fn:"organization.svg",cat:"places"},{id:"package",fn:"package.svg",cat:"data"},{id:"paint-bucket",fn:"paint-bucket.svg",cat:"objects"},{id:"palette",fn:"palette.svg",cat:"objects"},{id:"paragraph",fn:"paragraph.svg",cat:"ui"},{id:"park",fn:"park.svg",cat:"places"},{id:"parking-meter",fn:"parking-meter.svg",cat:"signs"},{id:"partner-workout",fn:"partner-workout.svg",cat:"activities"},{id:"paste",fn:"paste.svg",cat:"ui"},{id:"picnic-table",fn:"picnic-table.svg",cat:"objects"},{id:"picture",fn:"picture.svg",cat:"objects"},{id:"placeholder-icon",fn:"placeholder-icon.svg",cat:"ui"},{id:"planter-box",fn:"planter-box.svg",cat:"places"},{id:"playground",fn:"playground.svg",cat:"places"},{id:"plus-circle-fill",fn:"plus-circle-fill.svg",cat:"ui"},{id:"plus-circle",fn:"plus-circle.svg",cat:"ui"},{id:"plus-sign",fn:"plus-sign.svg",cat:"ui"},{id:"pregnant",fn:"pregnant.svg",cat:"user"},{id:"pride-heart",fn:"pride-heart.svg",cat:"health"},{id:"print",fn:"print.svg",cat:"objects"},{id:"privacy",fn:"privacy.svg",cat:"user"},{id:"process-back",fn:"process-back.svg",cat:"ui"},{id:"process-forward",fn:"process-forward.svg",cat:"ui"},{id:"process-iteration",fn:"process-iteration.svg",cat:"ui"},{id:"processing",fn:"processing.svg",cat:"ui"},{id:"prohibited",fn:"prohibited.svg",cat:"signs"},{id:"punkt-circle-blue",fn:"punkt-circle-blue.svg",cat:"social"},{id:"qr-code",fn:"qr-code.svg",cat:"ui"},{id:"question",fn:"question.svg",cat:"ui"},{id:"radio-checked",fn:"radio-checked.svg",cat:"ui"},{id:"radio-unchecked",fn:"radio-unchecked.svg",cat:"ui"},{id:"react",fn:"react.svg",cat:"social"},{id:"receipt",fn:"receipt.svg",cat:"ui"},{id:"recycling",fn:"recycling.svg",cat:"health"},{id:"restaurant",fn:"restaurant.svg",cat:"food"},{id:"roadblock",fn:"roadblock.svg",cat:"objects"},{id:"ruler",fn:"ruler.svg",cat:"objects"},{id:"sass",fn:"sass.svg",cat:"social"},{id:"sauna",fn:"sauna.svg",cat:"activities"},{id:"save",fn:"save.svg",cat:"ui"},{id:"scooter-prohibited",fn:"scooter-prohibited.svg",cat:"travel"},{id:"scooter",fn:"scooter.svg",cat:"travel"},{id:"search-icon-round-active",fn:"search-icon-round-active.svg",cat:"uncategorized"},{id:"search-icon-round-disabled",fn:"search-icon-round-disabled.svg",cat:"uncategorized"},{id:"search-icon-round-normal",fn:"search-icon-round-normal.svg",cat:"uncategorized"},{id:"search-icon-square-active",fn:"search-icon-square-active.svg",cat:"uncategorized"},{id:"search-icon-square-disabled",fn:"search-icon-square-disabled.svg",cat:"uncategorized"},{id:"search-icon-square-normal",fn:"search-icon-square-normal.svg",cat:"uncategorized"},{id:"share-outline",fn:"share-outline.svg",cat:"social"},{id:"share",fn:"share.svg",cat:"social"},{id:"shield-fire",fn:"shield-fire.svg",cat:"health"},{id:"shield-law-paragraph",fn:"shield-law-paragraph.svg",cat:"user"},{id:"shoes-prohibited",fn:"shoes-prohibited.svg",cat:"objects"},{id:"shopping-bag",fn:"shopping-bag.svg",cat:"objects"},{id:"shower",fn:"shower.svg",cat:"objects"},{id:"signature",fn:"signature.svg",cat:"objects"},{id:"skateboarding",fn:"skateboarding.svg",cat:"activities"},{id:"slack",fn:"slack.svg",cat:"social"},{id:"sledding",fn:"sledding.svg",cat:"activities"},{id:"smiley-neutral",fn:"smiley-neutral.svg",cat:"feedback"},{id:"smiley-sad",fn:"smiley-sad.svg",cat:"feedback"},{id:"smiley-smile",fn:"smiley-smile.svg",cat:"feedback"},{id:"smoking-prohibited",fn:"smoking-prohibited.svg",cat:"signs"},{id:"snow",fn:"snow.svg",cat:"objects"},{id:"sort",fn:"sort.svg",cat:"ui"},{id:"sound-off",fn:"sound-off.svg",cat:"status"},{id:"sound-on",fn:"sound-on.svg",cat:"status"},{id:"sparkles",fn:"sparkles.svg",cat:"objects"},{id:"stairs-down",fn:"stairs-down.svg",cat:"signs"},{id:"stairs-up",fn:"stairs-up.svg",cat:"signs"},{id:"stairs",fn:"stairs.svg",cat:"signs"},{id:"street-vendor",fn:"street-vendor.svg",cat:"places"},{id:"stroller-prohibited",fn:"stroller-prohibited.svg",cat:"objects"},{id:"stroller",fn:"stroller.svg",cat:"objects"},{id:"studded-tires",fn:"studded-tires.svg",cat:"objects"},{id:"svg",fn:"svg.svg",cat:"social"},{id:"swimming-area",fn:"swimming-area.svg",cat:"activities"},{id:"swingset",fn:"swingset.svg",cat:"places"},{id:"table",fn:"table.svg",cat:"data"},{id:"tap",fn:"tap.svg",cat:"objects"},{id:"target",fn:"target.svg",cat:"ui"},{id:"thumbs-down",fn:"thumbs-down.svg",cat:"feedback"},{id:"thumbs-up",fn:"thumbs-up.svg",cat:"feedback"},{id:"tickets",fn:"tickets.svg",cat:"objects"},{id:"toilet-unisex",fn:"toilet-unisex.svg",cat:"user"},{id:"toilet",fn:"toilet.svg",cat:"signs"},{id:"tool",fn:"tool.svg",cat:"objects"},{id:"touching-prohibited",fn:"touching-prohibited.svg",cat:"signs"},{id:"trail-gate",fn:"trail-gate.svg",cat:"objects"},{id:"trail",fn:"trail.svg",cat:"sign"},{id:"tram",fn:"tram.svg",cat:"travel"},{id:"trash-can",fn:"trash-can.svg",cat:"ui"},{id:"trash",fn:"trash.svg",cat:"activities"},{id:"twitter",fn:"twitter.svg",cat:"social"},{id:"two-people-dancing",fn:"two-people-dancing.svg",cat:"activities"},{id:"two-people-talking",fn:"two-people-talking.svg",cat:"activities"},{id:"umbrella-prohibited",fn:"umbrella-prohibited.svg",cat:"objects"},{id:"urban-landscape",fn:"urban-landscape.svg",cat:"places"},{id:"urinal",fn:"urinal.svg",cat:"signs"},{id:"user",fn:"user.svg",cat:"user"},{id:"van",fn:"van.svg",cat:"travel"},{id:"vertical-menu",fn:"vertical-menu.svg",cat:"ui"},{id:"viewpoint",fn:"viewpoint.svg",cat:"objects"},{id:"virus",fn:"virus.svg",cat:"objects"},{id:"vue",fn:"vue.svg",cat:"social"},{id:"walking",fn:"walking.svg",cat:"activities"},{id:"wardrobe-boys",fn:"wardrobe-boys.svg",cat:"signs"},{id:"wardrobe-girls",fn:"wardrobe-girls.svg",cat:"signs"},{id:"wardrobe",fn:"wardrobe.svg",cat:"objects"},{id:"waste-container",fn:"waste-container.svg",cat:"objects"},{id:"water-faucet",fn:"water-faucet.svg",cat:"health"},{id:"wheelchair-ramp",fn:"wheelchair-ramp.svg",cat:"activities"},{id:"wheelchair",fn:"wheelchair.svg",cat:"sign"},{id:"wifi",fn:"wifi.svg",cat:"signs"},{id:"wine-bottle",fn:"wine-bottle.svg",cat:"food"},{id:"workplace",fn:"workplace.svg",cat:"social"},{id:"wrench",fn:"wrench.svg",cat:"objects"},{id:"x",fn:"x.svg",cat:"social"}],P2=({propKey:r,spec:n,props:i,handleChange:l})=>{const c={BOOLEAN:"boolean",ICON:"icon",ARRAY:"array",OBJECT:"object",DATE:"ISOdatestring",NUMBER:"number"},h=(E,$)=>{l(r,{...i[r],[E]:$})},m=(E,$,P)=>{const R=[...i[r]];R[E]={...R[E],[$]:P},l(r,R)},D=()=>{const E=[...i[r],{}];l(r,E)},C=E=>{const $=i[r].filter((P,R)=>R!==E);l(r,$)};if(n.type===c.BOOLEAN)return L.jsx(Rh,{label:n.name||r,forId:r,helptext:n.description||null,hasFieldset:!0,requiredTag:n.required,children:L.jsx(ib,{id:r,label:r,type:"checkbox",checked:i[r]||!1,onChange:E=>l(r,E.target.checked,n.displayAsFalse),labelPosition:"right",isSwitch:!0})});if(n.type===c.ICON)return L.jsxs($2,{label:n.name||r,helptext:n.description||null,id:r,value:i[r]||"",onChange:E=>l(r,E.target.value),requiredTag:n.required,children:[L.jsx("option",{value:""}),F4.map(E=>L.jsx("option",{value:E.id,children:E.id},E.id))]});if(n.type===c.DATE)return L.jsx(D0,{id:r,label:n.name||r,helptext:n.description||null,value:i[r]||"",multiple:n.variant==="multiple",maxlength:999,onChange:E=>l(r,E.target.value),requiredTag:n.required});if(Array.isArray(n)||Array.isArray(n.type)||Array.isArray(n.values)){const E=Array.isArray(n)?n:n.values||n.type;return L.jsxs($2,{label:n.name||r,helptext:n.description||null,id:r,value:i[r],onChange:$=>l(r,$.target.value),requiredTag:n.required,children:[L.jsx("option",{value:""}),E.map($=>L.jsx("option",{value:$,children:$},$))]})}return n.type===c.NUMBER?L.jsx(Nb,{id:r,label:n.name||r,helptext:n.description||null,type:"number",value:i[r]||"",onChange:E=>l(r,parseFloat(E.currentTarget.value)),requiredTag:n.required}):n.type===c.OBJECT?(i[r]||(i[r]={}),L.jsxs("div",{children:[L.jsx("div",{className:"pkt-inputwrapper__label",children:L.jsx("h2",{children:n.name||r})}),n.description&&L.jsx("p",{children:n.description}),L.jsxs("fieldset",{children:[L.jsx("legend",{children:n.name||r}),Object.entries(n.properties).map(([E,$])=>L.jsx(P2,{propKey:E,props:i[r],spec:$,handleChange:(P,R)=>h(P,R)},E))]})]})):n.type===c.ARRAY&&n.items.type===c.OBJECT?(i[r]||(i[r]=[]),L.jsxs("div",{children:[L.jsx("div",{className:"pkt-inputwrapper__label",children:L.jsx("h2",{children:n.name||r})}),n.description&&L.jsx("p",{children:n.description}),i[r].map((E,$)=>L.jsx("div",{children:L.jsxs("fieldset",{children:[L.jsxs("legend",{children:["Item ",$+1]}),Object.entries(n.items.properties).map(([P,R])=>L.jsx(P2,{propKey:P,props:E,spec:R,handleChange:(O,I)=>m($,O,I)},P)),L.jsx(bc,{onClick:()=>C($),children:"Fjern denne"})]})},$)),L.jsx(bc,{onClick:D,children:"Legg til ny"})]})):L.jsx(Nb,{id:r,label:n.name||r,helptext:n.description||null,type:"text",value:i[r]||"",onChange:E=>l(r,n.type==="number"?parseFloat(E.currentTarget.value):E.currentTarget.value),requiredTag:n.required})};ev.registerLanguage("jsx",_4);const OE=({specs:r,children:n,fullWidth:i})=>{var Ie,at;const l=r.props&&typeof r.props=="object"&&!Array.isArray(r.props)?Object.entries(r.props).reduce((Le,[Ae,ce])=>(typeof ce=="object"&&!Array.isArray(ce)&&ce.previewDefault!==void 0&&ce.previewDefault!==null?(ce.previewDefault==="false"&&(ce.previewDefault=!1),ce.previewDefault==="true"&&(ce.previewDefault=!0),Le[Ae]=ce.previewDefault):typeof ce=="object"&&!Array.isArray(ce)&&ce.default!==void 0&&ce.default!==null&&(ce.default==="false"&&(ce.default=!1),ce.default==="true"&&(ce.default=!0),Le[Ae]=ce.default),Le),{}):{},[c,h]=$e.useState(0),[m,D]=$e.useState(l),[C,E]=$e.useState("light"),[$,P]=$e.useState(""),[R,O]=$e.useState(""),[I,J]=$e.useState(""),[V,De]=$e.useState("Rediger innhold"),[q,W]=$e.useState([{text:"Rediger",icon:"adjust",active:!0},{text:"Kode (React)",icon:"react",active:!1},{text:`Kode (${r.isElement?"Element":"HTML"})`,icon:"code",active:!1},{text:"Egenskaper",icon:"list",active:!1}]),K=Le=>{Le===1&&ue(),Le===2&&ae(),J(""),W(Ae=>Ae.map((ce,Ne)=>({...ce,active:Ne===Le})))},X=$e.useRef(null),ae=async()=>{if(r.isElement&&$e.isValidElement(Me)){const Le=$e.isValidElement(Me)?Me.type.displayName||Me.type.name:r.name,Ae=Object.entries(m).map(([Ne,Se])=>{if(Se&&!ye(Se)&&!Ye(Se))return typeof Se=="object"?`${Ne}='${JSON.stringify(Se)}'`:`${Ne}="${Se}"`}).join(" "),ce=await Tb(`<${r.name||Le} ${Ae}>${V}</${r.name||Le}>`,{parser:"html",plugins:[j1]});P(`<!-- Denne koden bør testes grundig før bruk. Spør en Punkt-utvikler om du er usikker. -->
|
|
1548
|
+
`+ce)}else{const Le=await Tb(X.current.innerHTML,{parser:"html",plugins:[j1]});P(Le.replace(/<\!--.*?-->/g,""))}},ue=async()=>{const Le=await yL(Me);return O(Le),Promise.resolve()},xe=(Le,Ae)=>{navigator.clipboard.writeText(Ae).then(()=>{J(Le),console.log("Copied to clipboard",Le)})},ye=Le=>Array.isArray(Le)&&Le.length===0,Ye=Le=>Le&&typeof Le=="object"&&!Object.keys(Le).length,We=(Le,Ae)=>L.jsxs("div",{className:"pkt-preview__copy",children:[I===Le&&L.jsx("span",{className:"pkt-preview__copied",children:"Kode kopiert til utklippstavle"}),L.jsx(bc,{skin:"tertiary",variant:"icon-only",size:"small",iconName:"copy",onClick:()=>xe(Le,Ae),children:"Kopier kode"})]}),Me=$e.isValidElement(n)&&$e.cloneElement(n,{...m},n.props.children?n.props.children:(Ie=r.slots)!=null&&Ie.default?V:null),Qe=(Le,Ae,ce=!1)=>{if(h(c+1),!ce&&(!Ae||Ae=="false")){const{[Le]:Ne,...Se}=m;D(Se)}else D(Ne=>({...Ne,[Le]:Ae}))};return L.jsxs("div",{className:"pkt-preview",children:[L.jsxs("div",{className:"pkt-preview__component-container","data-mode":C,children:[r["dark-mode"]&&L.jsx("div",{className:"pkt-preview__mode",children:L.jsx(ib,{id:"mode",label:"Dark mode",type:"checkbox",checked:C==="dark",onChange:Le=>E(Le.target.checked?"dark":"light"),labelPosition:"right",isSwitch:!0})}),L.jsx("div",{className:`pkt-preview__component ${i&&"pkt-preview__component--fullwidth"}`,ref:X,children:L.jsx("div",{children:Me})},c)]}),L.jsx(LE,{tabs:q,onTabSelected:K}),L.jsxs("div",{className:`pkt-grid pkt-preview__opts ${q[0].active?"":"pkt-hide"}`,children:[((at=r.slots)==null?void 0:at.default)&&!n.props.children&&L.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[L.jsx(Yh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:"children"}),L.jsx(Nb,{id:"slot",label:"Slot",helptext:r.slots.default.description||"Innholdet i slot",type:"text",value:V,onChange:Le=>De(Le.currentTarget.value)})]}),r.props&&typeof r.props=="object"&&!Array.isArray(r.props)?Object.entries(r.props).map(([Le,Ae])=>L.jsxs("div",{className:"pkt-cell pkt-cell--span12 pkt-cell--span6-phablet-up",children:[L.jsx(Yh,{size:"small",skin:"blue-light",textStyle:"thin-text",children:Le}),L.jsx(P2,{propKey:Le,props:m,spec:Ae,handleChange:Qe})]},Le)):L.jsx("p",{children:"OBS! Specs mangler props!"})]}),L.jsxs("div",{className:`pkt-preview__code ${q[1].active?"":"pkt-hide"}`,children:[L.jsx(ev,{language:"jsx",style:RE,children:R}),We("jsx",R)]}),L.jsxs("div",{className:`pkt-preview__code ${q[2].active?"":"pkt-hide"}`,children:[L.jsx(ev,{language:"html",style:RE,children:$}),We("html",$)]}),L.jsx("div",{className:`pkt-preview__specs ${q[3].active?"":"pkt-hide"}`,children:L.jsx(T4,{specs:r})})]})};OE.displayName="PktPreview";const A4=ti({tagName:"pkt-progressbar",elementClass:ra,react:$e,displayName:"PktProgressbar",events:{}}),BE=$e.forwardRef(({children:r,...n},i)=>L.jsx(A4,{ref:i,...n,children:L.jsx("div",{className:"pkt-contents",children:r})}));BE.displayName="PktProgressbar";const ME=$e.forwardRef(({id:r,name:n,label:i,className:l,hasTile:c=!1,disabled:h=!1,checkHelptext:m,hasError:D=!1,defaultChecked:C,checked:E,...$},P)=>{const R=[l,"pkt-input-check"].filter(Boolean).join(" ");return L.jsx("div",{className:R,children:L.jsxs("div",{className:`pkt-input-check__input ${c?"pkt-input-check__input--tile":""} ${h&&c?"pkt-input-check__input--tile-disabled":""}`,children:[L.jsx("input",{ref:P,id:r,type:"radio",name:n,disabled:h,className:`pkt-input-check__input-checkbox ${D?"pkt-input-check__input-checkbox--error":""}`,defaultChecked:C||E,...$}),L.jsxs("label",{className:"pkt-input-check__input-label",htmlFor:r,children:[i,m&&L.jsx("div",{className:"pkt-input-check__input-helptext",children:m})]})]})})});ME.displayName="PktRadioButton";const $4=$e.forwardRef(({appearance:r="local",disabled:n=!1,fullwidth:i=!1,id:l,label:c,name:h,placeholder:m="Søk…",suggestions:D,value:C="",action:E,method:$,onChange:P,onSearch:R,onSuggestionClick:O,...I},J)=>{const V=(K,X)=>{K?K():O&&O(X)},De=K=>{C=K.target.value},q=`pkt-searchinput pkt-searchinput--${r} ${i?"pkt-searchinput--fullwidth":""}`;let W;return E?W=K=>L.jsx("form",{role:"search",className:q,action:E,method:$,children:K}):W=K=>L.jsx("div",{role:"search",className:q,children:K}),W(L.jsxs(L.Fragment,{children:[c&&L.jsx("label",{htmlFor:c?l:void 0,className:c?"pkt-inputwrapper__label":"",children:c}),L.jsxs("div",{className:r==="local"?"pkt-input__container":"pkt-searchinput__field",children:[L.jsx("input",{className:`pkt-input ${i?"pkt-input--fullwidth":""}`,type:"search",name:h||l,id:l,placeholder:m,defaultValue:C,disabled:n,autoComplete:"off","aria-autocomplete":"list",ref:J,"aria-controls":`${l}-suggestions`,onChange:P||De,onKeyUp:R&&(K=>{K.key==="Enter"&&(K.preventDefault(),R(C))}),...I}),L.jsx(bc,{className:`pkt-searchinput__button ${r==="local"?"pkt-input-icon":""}`,variant:"icon-only",iconName:"magnifying-glass-big",skin:r==="local"?"tertiary":"primary",color:r==="global"?"yellow":void 0,type:"submit",disabled:n,onClick:R&&(K=>{K.preventDefault(),R(C)}),children:c||m})]}),D&&L.jsx("ul",{id:`${l}-suggestions`,className:"pkt-searchinput__suggestions","aria-live":"assertive",children:D.map((K,X)=>L.jsx("li",{children:$e.createElement(K.href?"a":K.onClick?"button":"div",{href:K.href,className:`pkt-searchinput__suggestion ${K.onClick?"pkt-link-button":""} ${K.href||K.onClick?"pkt-searchinput__suggestion--has-hover":""}`,type:K.onClick?"button":void 0,onClick:()=>V(K.onClick,X),onKeyUp:ae=>ae.key==="Enter"&&V(K.onClick,X)},L.jsxs(L.Fragment,{children:[K.title&&L.jsx("h3",{className:"pkt-searchinput__suggestion-title",children:K.title}),K.text&&L.jsx("p",{className:"pkt-searchinput__suggestion-text",children:K.text})]}))},`search-suggestion-${X}`))})]}))}),P4=$e.forwardRef(({activeStep:r,className:n,children:i,hideNonActiveSteps:l=!1,hideNonActiveStepsContent:c=!0,orientation:h="vertical",...m},D)=>{const C=ml(n,"pkt-stepper",h==="horizontal"?"pkt-stepper--horizontal":"pkt-stepper--vertical"),E=$e.Children.map(i,($,P)=>$e.isValidElement($)?$e.cloneElement($,{className:ml($.props.className,{"pkt-step--hideStep":l&&P!==r,"pkt-step--hideContent":c&&P!==r})}):$);return L.jsx("ol",{"data-testid":"pkt-stepper",className:C,ref:D,...m,children:E})}),N4=L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:L.jsx("circle",{cx:"12",cy:"12",r:"7",style:{fill:"var(--pkt-color-grays-grey-200, #CCC)"}})}),R4=L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[L.jsx("circle",{opacity:".15",cx:"12",cy:"12",r:"12",fill:"#2A2859"}),L.jsx("circle",{cx:"12",cy:"12",r:"6",fill:"#2A2859"})]}),L4=L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:[L.jsx("path",{fill:"#2A2859",d:"M3 3h18v18H3z"}),L.jsx("path",{d:"m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z",fill:"#F1FDFF"})]}),O4=({children:r,className:n,status:i="incomplete",title:l})=>L.jsxs("li",{className:ml("pkt-step",n,`pkt-step--${i}`),"data-testid":"pkt-step",children:[L.jsx("span",{className:"pkt-step__line pkt-step__line--1","aria-hidden":!0}),L.jsx("span",{className:"pkt-step__line pkt-step__line--2","aria-hidden":!0}),L.jsx("span",{className:ml("pkt-step__indicator"),children:i==="current"?R4:i==="completed"?L4:N4}),L.jsx("span",{className:"pkt-step__line pkt-step__line--3","aria-hidden":!0}),L.jsxs("div",{className:"pkt-step__wrapper",children:[L.jsx("div",{className:"pkt-step__title",children:l}),L.jsx("div",{className:"pkt-step__content",children:r})]})]}),B4=$e.forwardRef(({id:r,ariaDescribedby:n,ariaLabelledby:i,counter:l,counterMaxLength:c,className:h,disabled:m,errorMessage:D,hasError:C,helptext:E,helptextDropdown:$,helptextDropdownButton:P,inline:R,fullwidth:O=!1,label:I,name:J,optionalTag:V=!1,optionalText:De,requiredTag:q=!1,requiredText:W,placeholder:K,rows:X,useWrapper:ae=!0,onChange:ue,value:xe,autoComplete:ye="off",minLength:Ye,maxLength:We,readOnly:Me=!1,skipForwardTestid:Qe=!1,...Ie},at)=>{const Le=[h,"pkt-textinput","pkt-textarea"].join(" "),Ae=`${r}-input`,ce=`${Ae}-label`,Ne=i||ce,Se=$e.useRef(null),[Q,le]=$e.useState(0),it=Je=>{var pt,lt;if(l&&le(((lt=(pt=Je.currentTarget)==null?void 0:pt.value)==null?void 0:lt.length)||0),ue)return ue(Je)};return $e.useEffect(()=>{var Je,pt;typeof at=="function"&&at(Se.current),l&&le(((pt=(Je=Se==null?void 0:Se.current)==null?void 0:Je.value)==null?void 0:pt.length)||0)},[at]),L.jsx(Rh,{ariaDescribedby:n,className:Le,disabled:m,errorMessage:D,forId:Ae,hasError:C,helptext:E,helptextDropdown:$,helptextDropdownButton:P,inline:R,label:I,optionalTag:V,optionalText:De,requiredTag:q,requiredText:W,useWrapper:ae,counter:l,counterCurrent:Q,counterMaxLength:c,children:L.jsx("textarea",{ref:Se,className:`pkt-input ${O?"pkt-input--fullwidth":""} ${c&&Q>c?"pkt-input--counter-error":""}`,name:`${J||r}-input`,id:Ae,placeholder:K,disabled:m,rows:X,"aria-labelledby":Ne,"aria-invalid":C,"aria-errormessage":`${r}-error`,...Ie,onChange:it,value:xe,autoComplete:ye,minLength:Ye,maxLength:We,"data-skip-forward-testid":Qe?"true":void 0})})});var Gh=window.CustomEvent;(!Gh||typeof Gh=="object")&&(Gh=function(r,n){n=n||{};var i=document.createEvent("CustomEvent");return i.initCustomEvent(r,!!n.bubbles,!!n.cancelable,n.detail||null),i},Gh.prototype=window.Event.prototype);function IE(r,n){var i="on"+n.type.toLowerCase();return typeof r[i]=="function"&&r[i](n),r.dispatchEvent(n)}function M4(r){for(;r&&r!==document.body;){var n=window.getComputedStyle(r),i=function(l,c){return!(n[l]===void 0||n[l]===c)};if(n.opacity<1||i("zIndex","auto")||i("transform","none")||i("mixBlendMode","normal")||i("filter","none")||i("perspective","none")||n.isolation==="isolate"||n.position==="fixed"||n.webkitOverflowScrolling==="touch")return!0;r=r.parentElement}return!1}function tv(r){for(;r;){if(r.localName==="dialog")return r;r.parentElement?r=r.parentElement:r.parentNode?r=r.parentNode.host:r=null}return null}function jE(r){for(;r&&r.shadowRoot&&r.shadowRoot.activeElement;)r=r.shadowRoot.activeElement;r&&r.blur&&r!==document.body&&r.blur()}function I4(r,n){for(var i=0;i<r.length;++i)if(r[i]===n)return!0;return!1}function N2(r){return!r||!r.hasAttribute("method")?!1:r.getAttribute("method").toLowerCase()==="dialog"}function zE(r){var n=["button","input","keygen","select","textarea"],i=n.map(function(m){return m+":not([disabled])"});i.push('[tabindex]:not([disabled]):not([tabindex=""])');var l=r.querySelector(i.join(", "));if(!l&&"attachShadow"in Element.prototype)for(var c=r.querySelectorAll("*"),h=0;h<c.length&&!(c[h].tagName&&c[h].shadowRoot&&(l=zE(c[h].shadowRoot),l));h++);return l}function UE(r){return r.isConnected||document.body.contains(r)}function HE(r){if(r.submitter)return r.submitter;var n=r.target;if(!(n instanceof HTMLFormElement))return null;var i=jn.formSubmitter;if(!i){var l=r.target,c="getRootNode"in l&&l.getRootNode()||document;i=c.activeElement}return!i||i.form!==n?null:i}function j4(r){if(!r.defaultPrevented){var n=r.target,i=jn.imagemapUseValue,l=HE(r);i===null&&l&&(i=l.value);var c=tv(n);if(c){var h=l&&l.getAttribute("formmethod")||n.getAttribute("method");h==="dialog"&&(r.preventDefault(),i!=null?c.close(i):c.close())}}}function WE(r){if(this.dialog_=r,this.replacedStyleTop_=!1,this.openAsModal_=!1,r.hasAttribute("role")||r.setAttribute("role","dialog"),r.show=this.show.bind(this),r.showModal=this.showModal.bind(this),r.close=this.close.bind(this),r.addEventListener("submit",j4,!1),"returnValue"in r||(r.returnValue=""),"MutationObserver"in window){var n=new MutationObserver(this.maybeHideModal.bind(this));n.observe(r,{attributes:!0,attributeFilter:["open"]})}else{var i=!1,l=(function(){i?this.downgradeModal():this.maybeHideModal(),i=!1}).bind(this),c,h=function(m){if(m.target===r){var D="DOMNodeRemoved";i|=m.type.substr(0,D.length)===D,window.clearTimeout(c),c=window.setTimeout(l,0)}};["DOMAttrModified","DOMNodeRemoved","DOMNodeRemovedFromDocument"].forEach(function(m){r.addEventListener(m,h)})}Object.defineProperty(r,"open",{set:this.setOpen.bind(this),get:r.hasAttribute.bind(r,"open")}),this.backdrop_=document.createElement("div"),this.backdrop_.className="backdrop",this.backdrop_.addEventListener("mouseup",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("mousedown",this.backdropMouseEvent_.bind(this)),this.backdrop_.addEventListener("click",this.backdropMouseEvent_.bind(this))}WE.prototype={get dialog(){return this.dialog_},maybeHideModal:function(){this.dialog_.hasAttribute("open")&&UE(this.dialog_)||this.downgradeModal()},downgradeModal:function(){this.openAsModal_&&(this.openAsModal_=!1,this.dialog_.style.zIndex="",this.replacedStyleTop_&&(this.dialog_.style.top="",this.replacedStyleTop_=!1),this.backdrop_.parentNode&&this.backdrop_.parentNode.removeChild(this.backdrop_),jn.dm.removeDialog(this))},setOpen:function(r){r?this.dialog_.hasAttribute("open")||this.dialog_.setAttribute("open",""):(this.dialog_.removeAttribute("open"),this.maybeHideModal())},backdropMouseEvent_:function(r){if(this.dialog_.hasAttribute("tabindex"))this.dialog_.focus();else{var n=document.createElement("div");this.dialog_.insertBefore(n,this.dialog_.firstChild),n.tabIndex=-1,n.focus(),this.dialog_.removeChild(n)}var i=document.createEvent("MouseEvents");i.initMouseEvent(r.type,r.bubbles,r.cancelable,window,r.detail,r.screenX,r.screenY,r.clientX,r.clientY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,r.relatedTarget),this.dialog_.dispatchEvent(i),r.stopPropagation()},focus_:function(){var r=this.dialog_.querySelector("[autofocus]:not([disabled])");!r&&this.dialog_.tabIndex>=0&&(r=this.dialog_),r||(r=zE(this.dialog_)),jE(document.activeElement),r&&r.focus()},updateZIndex:function(r,n){if(r<n)throw new Error("dialogZ should never be < backdropZ");this.dialog_.style.zIndex=r,this.backdrop_.style.zIndex=n},show:function(){this.dialog_.open||(this.setOpen(!0),this.focus_())},showModal:function(){if(this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'showModal' on dialog: The element is already open, and therefore cannot be opened modally.");if(!UE(this.dialog_))throw new Error("Failed to execute 'showModal' on dialog: The element is not in a Document.");if(!jn.dm.pushDialog(this))throw new Error("Failed to execute 'showModal' on dialog: There are too many open modal dialogs.");M4(this.dialog_.parentElement)&&console.warn("A dialog is being shown inside a stacking context. This may cause it to be unusable. For more information, see this link: https://github.com/GoogleChrome/dialog-polyfill/#stacking-context"),this.setOpen(!0),this.openAsModal_=!0,jn.needsCentering(this.dialog_)?(jn.reposition(this.dialog_),this.replacedStyleTop_=!0):this.replacedStyleTop_=!1,this.dialog_.parentNode.insertBefore(this.backdrop_,this.dialog_.nextSibling),this.focus_()},close:function(r){if(!this.dialog_.hasAttribute("open"))throw new Error("Failed to execute 'close' on dialog: The element does not have an 'open' attribute, and therefore cannot be closed.");this.setOpen(!1),r!==void 0&&(this.dialog_.returnValue=r);var n=new Gh("close",{bubbles:!1,cancelable:!1});IE(this.dialog_,n)}};var jn={};if(jn.reposition=function(r){var n=document.body.scrollTop||document.documentElement.scrollTop,i=n+(window.innerHeight-r.offsetHeight)/2;r.style.top=Math.max(n,i)+"px"},jn.isInlinePositionSetByStylesheet=function(r){for(var n=0;n<document.styleSheets.length;++n){var i=document.styleSheets[n],l=null;try{l=i.cssRules}catch{}if(l)for(var c=0;c<l.length;++c){var h=l[c],m=null;try{m=document.querySelectorAll(h.selectorText)}catch{}if(!(!m||!I4(m,r))){var D=h.style.getPropertyValue("top"),C=h.style.getPropertyValue("bottom");if(D&&D!=="auto"||C&&C!=="auto")return!0}}}return!1},jn.needsCentering=function(r){var n=window.getComputedStyle(r);return n.position!=="absolute"||r.style.top!=="auto"&&r.style.top!==""||r.style.bottom!=="auto"&&r.style.bottom!==""?!1:!jn.isInlinePositionSetByStylesheet(r)},jn.forceRegisterDialog=function(r){if((window.HTMLDialogElement||r.showModal)&&console.warn("This browser already supports <dialog>, the polyfill may not work correctly",r),r.localName!=="dialog")throw new Error("Failed to register dialog: The element is not a dialog.");new WE(r)},jn.registerDialog=function(r){r.showModal||jn.forceRegisterDialog(r)},jn.DialogManager=function(){this.pendingDialogStack=[];var r=this.checkDOM_.bind(this);this.overlay=document.createElement("div"),this.overlay.className="_dialog_overlay",this.overlay.addEventListener("click",(function(n){this.forwardTab_=void 0,n.stopPropagation(),r([])}).bind(this)),this.handleKey_=this.handleKey_.bind(this),this.handleFocus_=this.handleFocus_.bind(this),this.zIndexLow_=1e5,this.zIndexHigh_=100150,this.forwardTab_=void 0,"MutationObserver"in window&&(this.mo_=new MutationObserver(function(n){var i=[];n.forEach(function(l){for(var c=0,h;h=l.removedNodes[c];++c){if(h instanceof Element)h.localName==="dialog"&&i.push(h);else continue;i=i.concat(h.querySelectorAll("dialog"))}}),i.length&&r(i)}))},jn.DialogManager.prototype.blockDocument=function(){document.documentElement.addEventListener("focus",this.handleFocus_,!0),document.addEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.observe(document,{childList:!0,subtree:!0})},jn.DialogManager.prototype.unblockDocument=function(){document.documentElement.removeEventListener("focus",this.handleFocus_,!0),document.removeEventListener("keydown",this.handleKey_),this.mo_&&this.mo_.disconnect()},jn.DialogManager.prototype.updateStacking=function(){for(var r=this.zIndexHigh_,n=0,i;i=this.pendingDialogStack[n];++n)i.updateZIndex(--r,--r),n===0&&(this.overlay.style.zIndex=--r);var l=this.pendingDialogStack[0];if(l){var c=l.dialog.parentNode||document.body;c.appendChild(this.overlay)}else this.overlay.parentNode&&this.overlay.parentNode.removeChild(this.overlay)},jn.DialogManager.prototype.containedByTopDialog_=function(r){for(;r=tv(r);){for(var n=0,i;i=this.pendingDialogStack[n];++n)if(i.dialog===r)return n===0;r=r.parentElement}return!1},jn.DialogManager.prototype.handleFocus_=function(r){var n=r.composedPath?r.composedPath()[0]:r.target;if(!this.containedByTopDialog_(n)&&document.activeElement!==document.documentElement&&(r.preventDefault(),r.stopPropagation(),jE(n),this.forwardTab_!==void 0)){var i=this.pendingDialogStack[0],l=i.dialog,c=l.compareDocumentPosition(n);return c&Node.DOCUMENT_POSITION_PRECEDING&&(this.forwardTab_?i.focus_():n!==document.documentElement&&document.documentElement.focus()),!1}},jn.DialogManager.prototype.handleKey_=function(r){if(this.forwardTab_=void 0,r.keyCode===27){r.preventDefault(),r.stopPropagation();var n=new Gh("cancel",{bubbles:!1,cancelable:!0}),i=this.pendingDialogStack[0];i&&IE(i.dialog,n)&&i.dialog.close()}else r.keyCode===9&&(this.forwardTab_=!r.shiftKey)},jn.DialogManager.prototype.checkDOM_=function(r){var n=this.pendingDialogStack.slice();n.forEach(function(i){r.indexOf(i.dialog)!==-1?i.downgradeModal():i.maybeHideModal()})},jn.DialogManager.prototype.pushDialog=function(r){var n=(this.zIndexHigh_-this.zIndexLow_)/2-1;return this.pendingDialogStack.length>=n?!1:(this.pendingDialogStack.unshift(r)===1&&this.blockDocument(),this.updateStacking(),!0)},jn.DialogManager.prototype.removeDialog=function(r){var n=this.pendingDialogStack.indexOf(r);n!==-1&&(this.pendingDialogStack.splice(n,1),this.pendingDialogStack.length===0&&this.unblockDocument(),this.updateStacking())},jn.dm=new jn.DialogManager,jn.formSubmitter=null,jn.imagemapUseValue=null,window.HTMLDialogElement===void 0){var qE=document.createElement("form");if(qE.setAttribute("method","dialog"),qE.method!=="dialog"){var Xh=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"method");if(Xh){var z4=Xh.get;Xh.get=function(){return N2(this)?"dialog":z4.call(this)};var U4=Xh.set;Xh.set=function(r){return typeof r=="string"&&r.toLowerCase()==="dialog"?this.setAttribute("method",r):U4.call(this,r)},Object.defineProperty(HTMLFormElement.prototype,"method",Xh)}}document.addEventListener("click",function(r){if(jn.formSubmitter=null,jn.imagemapUseValue=null,!r.defaultPrevented){var n=r.target;if("composedPath"in r){var i=r.composedPath();n=i.shift()||n}if(!(!n||!N2(n.form))){var l=n.type==="submit"&&["button","input"].indexOf(n.localName)>-1;if(!l){if(!(n.localName==="input"&&n.type==="image"))return;jn.imagemapUseValue=r.offsetX+","+r.offsetY}var c=tv(n);c&&(jn.formSubmitter=n)}}},!1),document.addEventListener("submit",function(r){var n=r.target,i=tv(n);if(!i){var l=HE(r),c=l&&l.getAttribute("formmethod")||n.getAttribute("method");c==="dialog"&&r.preventDefault()}});var H4=HTMLFormElement.prototype.submit,W4=function(){if(!N2(this))return H4.call(this);var r=tv(this);r&&r.close()};HTMLFormElement.prototype.submit=W4}const q4=Object.freeze(Object.defineProperty({__proto__:null,default:jn},Symbol.toStringTag,{value:"Module"}));Ot.PktAccordion=Xx,Ot.PktAccordionItem=Jx,Ot.PktAlert=w0,Ot.PktBackLink=Qx,Ot.PktBreadcrumbs=hR,Ot.PktButton=bc,Ot.PktCard=Kx,Ot.PktCheckbox=ib,Ot.PktCombobox=Zx,Ot.PktConsent=ob,Ot.PktDatepicker=D0,Ot.PktFooter=yR,Ot.PktFooterSimple=bR,Ot.PktHeader=wR,Ot.PktHelptext=t_,Ot.PktIcon=Mn,Ot.PktInput=n_,Ot.PktInputWrapper=Rh,Ot.PktLink=r_,Ot.PktLinkCard=a_,Ot.PktLoader=i_,Ot.PktMessagebox=o_,Ot.PktModal=s_,Ot.PktPreview=OE,Ot.PktProgressbar=BE,Ot.PktRadioButton=ME,Ot.PktSearchInput=$4,Ot.PktSelect=$2,Ot.PktStep=O4,Ot.PktStepper=P4,Ot.PktTable=Rb,Ot.PktTableBody=Ob,Ot.PktTableDataCell=Zo,Ot.PktTableHeader=Lb,Ot.PktTableHeaderCell=gl,Ot.PktTableRow=np,Ot.PktTabs=LE,Ot.PktTag=Yh,Ot.PktTextarea=B4,Ot.PktTextinput=Nb,Object.defineProperty(Ot,Symbol.toStringTag,{value:"Module"})});
|