@guiexpert/preact-table 10.0.2 → 10.0.3
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/.eslintrc.js +23 -0
- package/{ComponentRendererWrapper.d.ts → dist/ComponentRendererWrapper.d.ts} +1 -1
- package/{GuiexpertTable.d.ts → dist/GuiexpertTable.d.ts} +1 -1
- package/dist/README.md +102 -0
- package/dist/index.cjs +254 -0
- package/dist/index.js +3393 -0
- package/dist/package.json +43 -0
- package/jest.config.ts +10 -0
- package/package.json +28 -3
- package/patch.js +16 -0
- package/src/ComponentRendererWrapper.ts +60 -0
- package/src/GuiexpertTable.tsx +138 -0
- package/src/index.ts +2 -0
- package/tsconfig.json +28 -0
- package/tsconfig.lib.json +16 -0
- package/tsconfig.spec.json +17 -0
- package/vite.config.ts +73 -0
- package/index.cjs +0 -461
- package/index.js +0 -24187
- /package/{index.d.ts → dist/index.d.ts} +0 -0
package/index.cjs
DELETED
|
@@ -1,461 +0,0 @@
|
|
|
1
|
-
"use strict";var dk=Object.defineProperty;var pk=(G,c,p)=>c in G?dk(G,c,{enumerable:!0,configurable:!0,writable:!0,value:p}):G[c]=p;var a1=(G,c,p)=>(pk(G,typeof c!="symbol"?c+"":c,p),p);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const hk=require("preact/jsx-runtime"),i1=require("preact");class Ws{constructor(){this.alreadySet=!1}static getInstance(){return Ws.instance||(Ws.instance=new Ws),Ws.instance}setLicenseKey(c){if(c&&!this.alreadySet){const p=document.createElement("meta");p.content="license="+c,p.name="guiexperttable",document.getElementsByTagName("head")[0].appendChild(p),this.alreadySet=!0}}}function v0(G){return G&&G.type==="TreeRow"}function m0(G){return G&&G.type==="AreaModelTree"}class S0{constructor(c=-1,p=-1,m=-1,E=-1,x,S,P,A=0,F=0,q=0,X=""){this.rowIndex=c,this.rowTop=p,this.columnIndex=m,this.columnLeft=E,this.areaIdent=x,this.sideIdent=S,this.originalEvent=P,this.clickCount=A,this.draggingX=F,this.draggingY=q,this.action=X}clone(){return new S0(this.rowIndex,this.rowTop,this.columnIndex,this.columnLeft,this.areaIdent,this.sideIdent,this.originalEvent,this.clickCount,this.draggingX,this.draggingY,this.action)}}class Mo{constructor(c=">",p="",m=[]){this.content=c,this.style=p,this.classes=m}}class y1{constructor(c=new Mo(">","transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",["gt-table-tree-arrow-expanded"]),p=new Mo(">","",["ge-table-tree-arrow-collapsed"]),m=new Mo(">","color:transparent;",["gt-table-tree-arrow-hidden"]),E=new Mo("↕","",["gt-table-tree-arrow-expanded-all"])){this.arrowExpanded=c,this.arrowCollapsed=p,this.arrowPlaceholder=m,this.arrowExpandCollapseAll=E}}class S1{constructor(c=new Mo("↑","",["ge-header-sorted-asc"]),p=new Mo("↓","",["ge-header-sorted-desc"]),m=new Mo("↑","color:transparent;",[])){this.iconAsc=c,this.iconDesc=p,this.iconPlaceholder=m}}class vk{constructor(c){this.domService=c}setStyle(c,p,m){return this.domService.setStyle(c,p,m),c}applyStyle(c,p){for(const m in p)this.domService.setStyle(c,m,p[m]);return c}applyDisplayNoneStyle(c){return this.domService.setStyle(c,"display","none"),c}applyDisplayBlockStyle(c){return this.domService.setStyle(c,"display","block"),c}applyStyleInPx(c,p){return Object.entries(p).forEach(([m,E])=>this.domService.setStyle(c,m,E+"px")),c}applyStylePosistionRelative(c){return this.domService.setStyle(c,"position","relative"),this.domService.setStyle(c,"overflow","clip"),c}applyStylePosistionAbsolute(c){return this.domService.setStyle(c,"position","absolute"),c}applyStyleFullSize(c){return this.domService.setStyle(c,"width","100%"),this.domService.setStyle(c,"height","100%"),c}applyStyleOverflowAuto(c="auto",p="auto",m){return this.domService.setStyle(m,"overflow-x",c),this.domService.setStyle(m,"overflow-y",p),m}applyStyleNoPadding(c){return this.domService.setStyle(c,"padding","0"),this.domService.setStyle(c,"margin","0"),this.domService.setStyle(c,"border","0"),c}appendRelativeChildDiv(c){const p=this.applyStylePosistionRelative(this.applyStyleFullSize(this.applyStyleNoPadding(this.domService.createElement("div"))));return this.domService.appendChild(c,p),this.applyStylePosistionAbsolute(c),{parent:c,child:p,cache:{}}}appendText(c,p){const m=this.domService.createText(p);return this.domService.appendChild(c,m),m}addClass(c,p){return c.includes(" ")?c.split(" ").forEach(m=>this.domService.addClass(p,m)):this.domService.addClass(p,c),p}removeClass(c,p){return c.includes(" ")?c.split(" ").forEach(m=>this.domService.removeClass(p,m)):this.domService.removeClass(p,c),p}addClasses(c,p){if(c)for(const m of c)this.domService.addClass(p,m);return p}setAttribute(c,p,m){return p&&m&&this.domService.setAttribute(c,p,m),c}createAreaDivWithClass(c,p,m,E){const x=this.domService.createElement("div");return this.addClass(c,x),this.domService.setAttribute(x,"data-area",m),this.domService.setAttribute(x,"data-side",E),this.domService.appendChild(p,x),x}createDivWithClass(c,p){const m=this.domService.createElement("div");return this.addClass(c,m),this.domService.appendChild(p,m),m}addRowDiv(c,p,m=-1,E,x,S=""){const P=p.index??-1,A=this.getDivOrCreateDiv(P,c);if(this.domService.addClass(A,"ge-table-row-div"),this.domService.addClass(A,`ge-table-row-div-${p.index}`),E==="body"&&x==="center"){const F=((p==null?void 0:p.index)??0)%2===0?"even":"odd";this.domService.addClass(A,`ge-table-row-${F}`)}if(this.domService.setStyle(A,"display","clip"),this.domService.setStyle(A,"position","absolute"),this.domService.setStyle(A,"left",`${p.left}px`),this.domService.setStyle(A,"top",`${p.top}px`),this.domService.setStyle(A,"width",`${p.width}px`),this.domService.setStyle(A,"height",`${p.height}px`),this.domService.setAttribute(A,"data-row-index",`${m}`),this.domService.setAttribute(A,"data-area",`${E}`),S){const F=this.domService.createText(S);this.domService.appendChild(A,F)}return this.domService.appendChild(c.child,A),A}addColumnDiv(c){const{parent:p,geo:m,rowIndex:E=-1,columnIndex:x=-1,areaIdent:S,sideIdent:P,text:A="",treeArrow:F,tableOptions:q,checkedType:X=void 0,sortState:J}=c,te=q==null?void 0:q.treeOptions,oe=q==null?void 0:q.showCheckboxWihoutExtraColumn,ge=this.domService.createElement("div");this.domService.addClass(ge,"ge-table-col-div"),this.domService.addClass(ge,`ge-table-col-div-${m.index}`),this.domService.setAttribute(ge,"data-col-index",`${m.index}`),this.domService.setAttribute(ge,"data-row-index",`${E}`),this.domService.setAttribute(ge,"data-area",`${S}`);const ce=((m==null?void 0:m.index)??0)%2===0?"even":"odd";if(S==="body"&&P==="center"&&this.domService.addClass(ge,`ge-table-column-${ce}`),this.domService.setStyle(ge,"display","clip"),this.domService.setStyle(ge,"position","absolute"),this.domService.setStyle(ge,"left",`${m.left}px`),this.domService.setStyle(ge,"top",`${m.top}px`),this.domService.setStyle(ge,"width",`${m.width}px`),this.domService.setStyle(ge,"height",`${m.height}px`),F&&F!=="none"&&(this.domService.addClass(ge,"ge-table-col-tree"),this.addArrowDiv(ge,F,te,E,x,S)),oe&&x===0&&X&&this.addCheckboxToDiv(ge,X,S,E),A){const ke=F!=="none"&&x===0;this.addLabelDiv(ge,A,ke,E,x,S)}return J&&this.addSortedIcon(ge,J,q==null?void 0:q.sortedOptions,x),this.domService.appendChild(p,ge),ge}addCheckboxToDiv(c,p,m,E){const x=this.domService.createElement("div"),S=p==="full"?"checked":"";return x.innerHTML=`
|
|
2
|
-
<input
|
|
3
|
-
type="checkbox"
|
|
4
|
-
data-area="${m}"
|
|
5
|
-
data-row-index="${E}"
|
|
6
|
-
data-input-type="checkbox"
|
|
7
|
-
${S}
|
|
8
|
-
class="ge-table-row-checkbox"> `,this.domService.setStyle(x,"display","inline"),this.domService.setStyle(x,"width","inherit"),this.domService.setAttribute(x,"data-row-index",`${E}`),this.domService.appendChild(c,x),x}addLabelDiv(c,p="",m=!1,E=-1,x=-1,S="body"){const P=this.domService.createElement("div");if(this.domService.addClass(P,"ge-table-label-div"),this.domService.setStyle(P,"position","relative"),this.domService.setStyle(P,"background","transparent"),this.domService.setStyle(P,"width","100%"),this.domService.setStyle(P,"height","100%"),this.domService.setAttribute(P,"data-row-index",`${E}`),this.domService.setAttribute(P,"data-col-index",`${x}`),this.domService.setAttribute(P,"data-area",`${S}`),p)if(m){const A=this.domService.createText(p);this.domService.appendChild(P,A)}else{const A=this.domService.createElement("div");this.domService.appendChild(P,A);const F=this.domService.createText(p);this.domService.addClass(A,"ge-table-label"),this.domService.appendChild(A,F),this.domService.setAttribute(A,"data-row-index",`${E}`),this.domService.setAttribute(A,"data-col-index",`${x}`),this.domService.setAttribute(A,"data-area",`${S}`)}return this.domService.appendChild(c,P),P}addSortedIcon(c,p="",m=new S1,E=-1){const x=this.domService.createElement("div");this.domService.addClass(x,"ge-table-sorted-icon-div"),this.domService.setStyle(x,"position","absolute"),this.domService.setStyle(x,"top","0"),this.domService.setStyle(x,"right","0"),this.domService.setStyle(x,"width","20px"),this.domService.setStyle(x,"background","transparent"),this.domService.setStyle(x,"cursor","pointer"),this.domService.setAttribute(x,"data-col-index",`${E}`),this.domService.setAttribute(x,"data-area","header");let S;p==="asc"?S=m.iconAsc:p==="desc"?S=m.iconDesc:S=m.iconPlaceholder;const P=S.content,A=this.domService.createText(P);this.domService.appendChild(x,A),S.style&&this.applyStyleString(x,S.style);for(const F of S.classes)this.domService.addClass(x,F);return this.domService.appendChild(c,x),x}addArrowDiv(c,p="none",m=new y1,E=-1,x=-1,S="body"){const P=this.domService.createElement("div");this.domService.addClass(P,"ge-table-tree-arrow-div"),this.domService.setStyle(P,"display","inline-block"),this.domService.setStyle(P,"position",""),this.domService.setStyle(P,"width","20px"),this.domService.setStyle(P,"background","transparent"),this.domService.setStyle(P,"cursor","pointer"),this.domService.setAttribute(P,"data-row-index",`${E}`),this.domService.setAttribute(P,"data-col-index",`${x}`),this.domService.setAttribute(P,"data-area",`${S}`);let A;p==="expanded"?A=m.arrowExpanded:p==="collapsed"?A=m.arrowCollapsed:A=m.arrowPlaceholder;const F=A.content,q=this.domService.createText(F);this.domService.appendChild(P,q),A.style&&this.applyStyleString(P,A.style);for(const X of A.classes)this.domService.addClass(P,X);return this.domService.appendChild(c,P),P}addColumnBorderDivs(c,p,m,E,x){if(c.verticalBorderVisible){const S=`ge-table-${E}-${x}-vertical-border`;this.addVerticalBorder(m,p,S)}if(c.horizontalBorderVisible){const S=`ge-table-${E}-${x}-horizontal-border`;this.addHorizontalBorder(m,p,S)}return p}addHorizontalBorder(c,p,m="ge-table-body-center-horizontal-border"){const E=this.domService.createElement("div");return this.domService.addClass(E,m),this.domService.setStyle(E,"display","clip"),this.domService.setStyle(E,"position","absolute"),this.domService.setStyle(E,"left",`${c.left}px`),this.domService.setStyle(E,"top",`${c.top}px`),this.domService.setStyle(E,"width",`${c.width}px`),this.domService.setStyle(E,"height","1px"),this.domService.appendChild(p,E),E}addFocusBorderDivs(c,p,m){p={...p,width:p.width+1,height:p.height+1};let E=this.domService.createElement("div");return this.domService.addClass(E,"ge-table-focus-border"),this.domService.setStyle(E,"display","clip"),this.domService.setStyle(E,"position","absolute"),this.domService.setStyle(E,"left",`${p.left}px`),this.domService.setStyle(E,"top",`${p.top}px`),this.domService.setStyle(E,"width","1px"),this.domService.setStyle(E,"height",`${p.height}px`),this.domService.setStyle(E,"z-index","9999"),this.applyStyle(E,m),this.domService.appendChild(c,E),E=this.domService.createElement("div"),this.domService.addClass(E,"ge-table-focus-border"),this.domService.setStyle(E,"display","clip"),this.domService.setStyle(E,"position","absolute"),this.domService.setStyle(E,"left",`${p.left+p.width-1}px`),this.domService.setStyle(E,"top",`${p.top}px`),this.domService.setStyle(E,"width","1px"),this.domService.setStyle(E,"height",`${p.height}px`),this.domService.setStyle(E,"z-index","9999"),this.applyStyle(E,m),this.domService.appendChild(c,E),E=this.domService.createElement("div"),this.domService.addClass(E,"ge-table-focus-border"),this.domService.setStyle(E,"display","clip"),this.domService.setStyle(E,"position","absolute"),this.domService.setStyle(E,"left",`${p.left}px`),this.domService.setStyle(E,"top",`${p.top}px`),this.domService.setStyle(E,"width",`${p.width}px`),this.domService.setStyle(E,"height","1px"),this.domService.setStyle(E,"z-index","9999"),this.applyStyle(E,m),this.domService.appendChild(c,E),E=this.domService.createElement("div"),this.domService.addClass(E,"ge-table-focus-border"),this.domService.setStyle(E,"display","clip"),this.domService.setStyle(E,"position","absolute"),this.domService.setStyle(E,"left",`${p.left}px`),this.domService.setStyle(E,"top",`${p.top+p.height-1}px`),this.domService.setStyle(E,"width",`${p.width}px`),this.domService.setStyle(E,"height","1px"),this.domService.setStyle(E,"z-index","9999"),this.applyStyle(E,m),this.domService.appendChild(c,E),c}addVerticalBorder(c,p,m="ge-table-body-center-vertical-border"){const E=this.domService.createElement("div");return this.domService.addClass(E,m),this.domService.setStyle(E,"display","clip"),this.domService.setStyle(E,"position","absolute"),this.domService.setStyle(E,"left",`${c.left}px`),this.domService.setStyle(E,"top",`${c.top}px`),this.domService.setStyle(E,"width","1px"),this.domService.setStyle(E,"height",`${c.height}px`),this.domService.appendChild(p,E),E}addDiv(c,p,m=""){const E=this.domService.createElement("div");return m&&this.domService.addClass(E,m),this.domService.setStyle(E,"display","clip"),this.domService.setStyle(E,"position","absolute"),this.domService.setStyle(E,"left",`${p.left}px`),this.domService.setStyle(E,"top",`${p.top}px`),this.domService.setStyle(E,"width",`${p.width}px`),this.domService.setStyle(E,"height",`${p.height}px`),this.domService.appendChild(c,E),E}applyStyleString(c,p){const m=p.split(";").map(E=>E.trim()).filter(E=>E);for(const E of m){const[x,S]=E.split(":");this.domService.setStyle(c,x.trim(),S.trim())}}getDivOrCreateDiv(c,p){let m=p.cache[c];return m?(m.innerText="",m):(m=this.domService.createElement("div"),p.cache[c]=m,m)}}const b0=G=>G==="header"?"header":G==="footer"?"footer":"body";class mk{constructor(c,p){if(this.rowIdx=-1,this.colIdx=-1,this.action=null,this.inputType=null,this.className="",c!==null&&(c instanceof HTMLDivElement||c instanceof HTMLSpanElement||c instanceof HTMLInputElement)){this.className=c.className,this.action=c.getAttribute("data-ge-action"),this.inputType=c.getAttribute("data-input-type"),this.rowIdx=Number(c.getAttribute("data-row-index")),this.colIdx=Number(c.getAttribute("data-col-index"));const m=c.getAttribute("data-area");if(m&&(this.areaIdent=b0(m),this.areaModel=p.tableModel.getAreaModel(this.areaIdent),this.row=this.areaModel.getRowByIndex(this.rowIdx)),c instanceof HTMLInputElement){const E=c;this.value=E.value}}}}class gk{constructor(c){this.tableScope=c,this.doubleClickDelay=500,this.expandedAll=!0,this.mouseDown=!1,this.dragging=!1,this.lastClicked=0,this.tableScope.hostElement.addEventListener("click",this.onHostElementClicked.bind(this)),this.tableScope.hostElement.addEventListener("dblclick",this.onHostElementDblClicked.bind(this)),this.tableScope.hostElement.addEventListener("mousedown",this.onMouseDown.bind(this)),this.tableScope.hostElement.addEventListener("mousemove",this.onMouseMove.bind(this)),this.tableScope.hostElement.addEventListener("mouseup",this.onMouseUp.bind(this)),this.tableScope.hostElement.addEventListener("contextmenu",this.onContextmenu.bind(this)),this.tableScope.hostElement._MouseHandler="true",this.tableScope.scrollViewport.addEventListener("scroll",this.tableScope.adjustAfterScrolling.bind(this.tableScope)),[window,this.tableScope.hostElement].forEach(p=>p.addEventListener("resize",this.tableScope.adjustContainersAndRows.bind(this.tableScope)))}onContextmenu(c){this.mouseEvent=c;const p=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.contextmenu(p)}onHostElementClicked(c){const p=Date.now();if(p-this.lastClicked<this.doubleClickDelay)return;this.lastClicked=p;const m=new mk(c.target,this.tableScope);if(m.action==="toggleExpandCollapseAll")this.expandedAll=!this.expandedAll,this.tableScope.toggleExpandCollapseAll(this.expandedAll),c.preventDefault(),c.stopPropagation();else if(m.action==="toggleHeaderGroup")this.tableScope.toggleHeaderGroup(m),c.preventDefault(),c.stopPropagation();else if(m.inputType==="checkbox"&&m.areaIdent)this.tableScope.toggleRowCheckbox(m.rowIdx,m.colIdx,m.areaIdent),c.preventDefault(),c.stopPropagation();else if(v0(m.row)&&m.areaModel){const E=m.colIdx===this.getArrowColumnIndex()&&c.altKey,x=m.className.includes("ge-table-tree-arrow-div");if(console.info(x,E),E||x){c.preventDefault(),c.stopPropagation();const S=m.row;S.expanded=!S.expanded,"recalcVisibleTreeRows"in m.areaModel&&m.areaModel.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(S)}}if(m.areaIdent==="body"&&this.tableScope.tableOptions.getFocusModel){const E=this.tableScope.tableOptions.getFocusModel();E==null||E.clear(),E==null||E.setFocus(m.rowIdx,m.colIdx)}this.publishGeMouseEvent(c,1)}onHostElementDblClicked(c){if(this.lastClicked=Date.now(),c.target instanceof HTMLElement){const p=c.target,m=p.getAttribute("data-area"),E=b0(m),x=Number(p.getAttribute("data-row-index")),S=Number(p.getAttribute("data-col-index")),P=this.tableScope.tableModel.getAreaModel(E);if(m&&E==="header")this.tableScope.tableModel.isSortable(S)&&(this.tableScope.clearSelection(),this.tableScope.onHeaderDblClicked(c,x,S));else if(p.getAttribute("data-row-index")){const A=P.getRowByIndex(x);if(m&&E==="body"&&P.isEditable(x,S)&&(this.tableScope.clearSelection(),this.tableScope.initRenderEditor(x,S)),v0(A)&&S===this.getArrowColumnIndex()){c.preventDefault(),c.stopPropagation();const F=A;F.expanded=!F.expanded,"recalcVisibleTreeRows"in P&&P.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(F)}}}this.publishGeMouseEvent(c,2)}publishGeMouseEvent(c,p){var m;this.mouseEvent=c,this.geMouseEventOld=(m=this.geMouseEvent)==null?void 0:m.clone(),this.geMouseEvent=this.tableScope.createGeMouseEvent(c),this.geMouseEvent&&(this.geMouseEvent.clickCount=p),this.tableScope.onMouseClicked(this.geMouseEvent,this.geMouseEventOld),this.tableScope.publishGeMouseEvent(this.geMouseEvent),p===1&&this.tableScope.debounceRepaint()}updateCollapsedExpandedState(c){var m,E,x,S,P;const p=(E=(m=this.tableScope.tableOptions)==null?void 0:m.autoRestoreOptions)==null?void 0:E.getRowId;if(p){const A=(x=this.tableScope.storeStateCollapsedExpandService)==null?void 0:x.collapsedExpandedStateGet().mode,F=A==="collapsed"&&!c.expanded||A==="expanded"&&c.expanded,q=A==="collapsed"&&c.expanded||A==="expanded"&&!c.expanded,X=p(c.data);F?(S=this.tableScope.storeStateCollapsedExpandService)==null||S.collapsedStateIdsPush(X):q&&((P=this.tableScope.storeStateCollapsedExpandService)==null||P.collapsedStateIdsRemove(X))}}getArrowColumnIndex(){return this.tableScope.tableModel.isRowCheckboxVisible()?1:0}onMouseDown(c){this.dragging||(this.mouseEvent=c,this.startMouseEvent=this.tableScope.createGeMouseEvent(this.mouseEvent),this.tableScope.onMouseDown(this.startMouseEvent),this.mouseDown=!0)}onMouseMove(c){this.mouseEvent=c,this.mouseDown?(this.dragging||(this.dragging=!0,this.tableScope.setDragging(!0)),requestAnimationFrame(this.mouseDraggingOnFrame.bind(this))):requestAnimationFrame(this.mouseMoveOnFrame.bind(this))}onMouseUp(c){this.mouseEvent=c,this.dragging&&requestAnimationFrame(this.mouseDraggingEndOnFrame.bind(this)),this.mouseDown=!1,this.dragging=!1,this.tableScope.setDragging(!1)}mouseDraggingOnFrame(){var c;if(this.mouseEvent){const p=this.tableScope.createGeMouseEvent(this.mouseEvent);(c=this.startMouseEvent)!=null&&c.originalEvent&&(p.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,p.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingOnFrame(p,this.startMouseEvent)}}mouseDraggingEndOnFrame(){var c;if(this.mouseEvent){const p=this.tableScope.createGeMouseEvent(this.mouseEvent);(c=this.startMouseEvent)!=null&&c.originalEvent&&(p.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,p.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingEndOnFrame(p)}}mouseMoveOnFrame(){if(this.mouseEvent){const c=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.mouseMove(c)}}}class yk{constructor(c){this.tableScope=c}updateCells(c,p=!1){this.tableScope.updateCells(c,p)}externalFilterChanged(){this.tableScope.externalFilterChanged()}scrollToPixel(c=0,p=0){this.tableScope.scrollToPixel(c,p)}scrollToIndex(c=0,p=0){this.tableScope.scrollToIndex(c,p)}setHeaderVisible(c=!0){}setColumnVisible(c,p=!0){}isColumnVisible(c){return!0}isHeaderVisible(){return!0}setFooterVisible(c=!0){}isFooterVisible(){return!0}repaint(){this.tableScope.repaint()}repaintHard(){this.tableScope.repaintHard()}clearSelection(){this.tableScope.clearSelection(!0)}setSelectionModel(c,p=!0){this.tableScope.setSelectionModel(c,p)}triggerAction(c){this.tableScope.onActionTriggered(c)}getShortcutActionMapping(){return this.tableScope.shortcutService.getShortcutActionMapping()}copyToClipboard(){return this.tableScope.copyService.copyToClipboard(this.tableScope.tableModel,this.tableScope.selectionModel(),this.tableScope.focusModel())}getTableScope(){return this.tableScope}getSelectionModel(){return this.tableScope.selectionModel()}}class C0{constructor(c){this.getStorageKeyFn=c}autoConvertMapToObject(c){const p={};if(c instanceof Map){const m=c;for(const E of[...m]){const[x,S]=E;p[x]=S}}return p}checkAndPersistItem(c,p){const m=this.getStorageKeyFn;if(m){const E=m();if(E){const x=E+c;if((p+"").includes("Map")){const S=this.autoConvertMapToObject(p);this.persistItem(x,S)}else this.persistItem(x,p)}}}persistItem(c,p){p?localStorage.setItem(c,JSON.stringify(p)):localStorage.removeItem(c)}loadFromLocalStorage(c){const p=localStorage.getItem(c);return p?JSON.parse(p):null}}class Sk extends C0{constructor(c){super(c),this.SCROLL_STATE="scrollState",this.scrollOffset=[0,0],this.load()}getScrollOffset(){return this.scrollOffset}updateScrollOffset(c){this.scrollOffset=c,this.checkAndPersistItem(this.SCROLL_STATE,this.scrollOffset)}load(){const c=this.getStorageKeyFn;if(c){const p=c();if(p){const m=p+this.SCROLL_STATE;let E=this.loadFromLocalStorage(m);this.scrollOffset=E||[0,0]}}}}class bk{constructor(c="collapsed",p=[],m=!1,E=!1){this.mode=c,this.rowIds=p,this.allCollapsed=m,this.allExpanded=E}}class Ck extends C0{constructor(c){super(c),this.COLLAPSED_EXPANDED_STATE="collapsedExpandedState",this.collapsedExpandedState=new bk,this.load()}collapsedExpandedStateGet(){return this.collapsedExpandedState}collapsedExpandedStateIncludes(c){return this.collapsedExpandedState.rowIds.includes(c)}collapsedStateIdsPush(c){this.collapsedExpandedState.rowIds.includes(c)||(this.collapsedExpandedState.rowIds.push(c),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateIdsRemove(c){const p=this.collapsedExpandedState.rowIds.indexOf(c);p!==-1&&(this.collapsedExpandedState.rowIds.splice(p,1),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateAll(c){this.collapsedExpandedState.rowIds=[],this.collapsedExpandedState.mode=c?"collapsed":"expanded",this.collapsedExpandedState.allCollapsed=!c,this.collapsedExpandedState.allExpanded=c,this.persist()}load(){const c=this.getStorageKeyFn;if(c){const p=c();if(p){const m=p+this.COLLAPSED_EXPANDED_STATE,E=this.loadFromLocalStorage(m);E&&(this.collapsedExpandedState=E)}}}persist(){this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE,this.collapsedExpandedState)}}class Ek extends C0{constructor(c){super(c),this.SORTING_STATE="sortingState",this.sortItems=[],this.load()}getSortItems(){return this.sortItems}setSortItems(c){this.sortItems=c,this.checkAndPersistItem(this.SORTING_STATE,this.sortItems)}load(){const c=this.getStorageKeyFn;if(c){const p=c();if(p){const m=p+this.SORTING_STATE,E=this.loadFromLocalStorage(m);this.sortItems=E||[]}}}}class _o{constructor(c=0,p=0,m=0,E=0,x){this.left=c,this.width=p,this.height=m,this.top=E,this.index=x}}class wk{constructor(c,p,m,E){this.hostElement=c,this.tableModel=p,this.dom=m,this.tableOptions=E,this.scrollTop=0,this.areaBodyWestGeo=new _o,this.areaBodyCenterGeo=new _o,this.areaBodyEastGeo=new _o;const x=this.hostElement;x.innerText="",this.dom.setAttribute(x,"tabindex","0"),this.dom.setStyle(this.dom.addClass("ge-table",x),"position","relative"),this.hoverRow=m.applyStylePosistionAbsolute(m.createDivWithClass("ge-table-hover-row",x)),this.hoverColumn=m.applyStylePosistionAbsolute(m.createDivWithClass("ge-table-hover-column",x)),this.draggingColumn=m.applyStylePosistionAbsolute(m.createDivWithClass("ge-table-dragging-column",x)),this.areaHeaderWest=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-header ge-table-header-west",x,"header","west"))),this.areaHeaderCenter=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-header ge-table-header-center",x,"header","center"))),this.areaHeaderEast=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-header ge-table-header-east",x,"body","east"))),this.areaBodyWest=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-body ge-table-body-west",x,"body","west"))),this.areaBodyEast=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-body ge-table-body-east",x,"body","east"))),this.areaFooterWest=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-footer ge-table-footer-west",x,"footer","west"))),this.areaFooterCenter=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-footer ge-table-footer-center",x,"footer","center"))),this.areaFooterEast=m.appendRelativeChildDiv(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-footer ge-table-footer-east",x,"footer","east"))),this.scrollViewport=m.applyStyleOverflowAuto(this.tableOptions.overflowX??"auto",this.tableOptions.overflowY??"auto",m.applyStyleNoPadding(m.applyStylePosistionAbsolute(m.createAreaDivWithClass("ge-table-scroll-viewport",x,"body","center")))),this.contentWrapperDiv=m.applyStyleNoPadding(m.applyStylePosistionRelative(m.createDivWithClass("ge-table-scroll-content-wrapper",this.scrollViewport))),this.contentDiv=m.applyStyleNoPadding(m.applyStylePosistionRelative(m.createDivWithClass("ge-table-scroll-content",this.contentWrapperDiv))),this.areaBodyCenter=m.appendRelativeChildDiv(m.createDivWithClass("ge-table-body-center",this.contentDiv)),this.borderHeaderBottom=m.applyStylePosistionAbsolute(m.createDivWithClass("ge-table-header-border",x)),this.borderFixedWest=m.applyStylePosistionAbsolute(m.createDivWithClass("ge-table-west-fixed-column-border",x)),this.borderFixedEast=m.applyStylePosistionAbsolute(m.createDivWithClass("ge-table-east-fixed-column-border",x)),this.borderFooterTop=m.applyStylePosistionAbsolute(m.createDivWithClass("ge-table-footer-border",x))}adjustContainersAndRows(){const c=this.tableModel.getPadding(),p=this.hostElement.clientWidth,m=this.hostElement.clientHeight;this.dom.applyStyle(this.scrollViewport,{width:`${p-c.left}px`,height:`${m-c.top}px`,top:`${c.top}px`,left:`${c.left}px`}),this.scrollTop=this.scrollViewport.scrollTop,this.dom.applyStyle(this.contentDiv,{width:`${this.scrollViewport.clientWidth}px`,height:`${this.scrollViewport.clientHeight}px`,top:`${this.scrollTop}px`,left:`${this.scrollViewport.scrollLeft}px`}),this.areaBodyWestGeo.width=c.left,this.areaBodyWestGeo.height=m-c.top-c.bottom,this.areaBodyWestGeo.top=c.top,this.areaBodyWestGeo.left=0,this.dom.applyStyleInPx(this.areaBodyWest.parent,this.areaBodyWestGeo),this.tableOptions.fixedWestSeparatorBorderVisible&&this.tableModel.getFixedLeftColumnCount()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFixedWest,{width:"1px",height:`${this.areaBodyWestGeo.height}px`,top:`${this.areaBodyWestGeo.top}px`,left:`${this.areaBodyWestGeo.width}px`})):this.dom.applyDisplayNoneStyle(this.borderFixedWest),this.areaBodyEastGeo.width=c.right,this.areaBodyEastGeo.height=m-c.top-c.bottom,this.areaBodyEastGeo.top=c.top,this.areaBodyEastGeo.left=p-c.right,this.dom.applyStyleInPx(this.areaBodyEast.parent,this.areaBodyEastGeo),this.tableOptions.fixedEastSeparatorBorderVisible&&this.tableModel.getFixedLeftColumnCount()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFixedEast,{width:"1px",height:`${this.areaBodyEastGeo.height}px`,top:`${this.areaBodyEastGeo.top}px`,left:`${this.areaBodyEastGeo.left}px`})):this.dom.applyDisplayNoneStyle(this.borderFixedEast),this.areaBodyCenterGeo.width=p-c.left-c.right,this.areaBodyCenterGeo.height=m-c.top-c.bottom,this.areaBodyCenterGeo.top=0,this.areaBodyCenterGeo.left=0,this.dom.applyStyleInPx(this.areaBodyCenter.parent,this.areaBodyCenterGeo),this.dom.applyStyle(this.areaHeaderCenter.parent,{width:`${p-c.left-c.right}px`,height:`${c.top}px`,top:"0",left:`${c.left}px`}),this.dom.applyStyle(this.areaHeaderWest.parent,{width:`${c.left}px`,height:`${c.top}px`,top:"0",left:"0"}),this.dom.applyStyle(this.areaHeaderEast.parent,{width:`${c.right}px`,height:`${c.top}px`,top:"0",left:`${p-c.right}px`}),this.tableOptions.headerSeparatorBorderVisible&&this.tableModel.isHeaderVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderHeaderBottom,{width:`${p}px`,height:"1px",top:`${c.top}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderHeaderBottom),this.dom.applyStyle(this.areaFooterWest.parent,{width:`${c.left}px`,height:`${c.bottom}px`,top:`${m-c.bottom}px`,left:"0"}),this.dom.applyStyle(this.areaFooterCenter.parent,{width:`${p-c.left-c.right}px`,height:`${c.bottom}px`,top:`${m-c.bottom}px`,left:`${c.left}px`}),this.dom.applyStyle(this.areaFooterEast.parent,{width:`${c.right}px`,height:`${c.bottom}px`,top:`${m-c.bottom}px`,left:`${p-c.right}px`}),this.tableOptions.footerSeparatorBorderVisible&&this.tableModel.isFooterVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFooterTop,{width:`${p}px`,height:"1px",top:`${m-c.bottom}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderFooterTop),this.adjustAfterScrolling()}adjustAfterScrolling(){}resetSizeOfWrapperDiv(){const c=`${this.tableModel.getContentWidthInPixel()}px`,p=`${this.tableModel.getContentHeightInPixel()+1}px`;this.dom.setStyle(this.contentWrapperDiv,"width",c),this.dom.setStyle(this.contentWrapperDiv,"height",p)}}class Ir{constructor(c,p,m,E,x=!1){this.r1=c,this.c1=p,this.r2=m,this.c2=E,this.gammaRange=x}static create(c){return c.gammaRange===void 0&&(c.gammaRange=!1),new Ir(c.rowIndex1,c.columnIndex1,c.rowIndex2,c.columnIndex2,c.gammaRange)}static singleCell(c,p){return new Ir(c,p,c,p)}static singleRow(c){return new Ir(c,0,c,Number.MAX_SAFE_INTEGER)}static singleColumn(c){return new Ir(0,c,Number.MAX_SAFE_INTEGER,c)}isInRange(c,p){return c>=this.r1&&c<=this.r2&&p>=this.c1&&p<=this.c2}}class xk{constructor(c,p){this.tableModel=c,this.areaModel=p,this.colAndRowspanRanges=void 0}init(){if(this.areaModel.getMaxColspan()<2&&this.areaModel.getMaxRowspan()<2)return;this.colAndRowspanRanges=[];const c=this.areaModel.getRowCount(),p=this.tableModel.getColumnCount();for(let m=0;m<c;m++)for(let E=0;E<p;E++){let x=this.areaModel.getColspanAt(m,E),S=this.areaModel.getRowspanAt(m,E);if(x>1||S>1){x===0&&(x=1),S===0&&(S=1);const P="gammaCells"in this.areaModel;this.colAndRowspanRanges.push(new Ir(m,E,m+S-1,E+x-1,P))}}}getRanges(){return this.colAndRowspanRanges?this.colAndRowspanRanges:[]}isInRange(c,p){if(this.colAndRowspanRanges){for(const m of this.colAndRowspanRanges)if(m.isInRange(c,p))return!0}return!1}}class Rk{constructor(c,p,m){this.header=c,this.body=p,this.footer=m}}class Tk extends wk{constructor(c,p,m,E){var S,P;super(c,p,m,E),this.dragging=!1,this.editing=!1,this.storedColumnWidths=[],this.scrollLeft=0,this.scrollViewportLeft=0,this.scrollFactorY=0,this.scrollFactorX=0,this.cleanupFunctions={header:[],body:[],footer:[]},this.tree=!1,this.colAndRowspanModels=new Rk,this.firstVisibleRowIndex=-1,this.draggingTargetColumnIndex=-1,this.removables=[],this.tableModel.getSelectionModel?this.getSelectionModel=this.tableModel.getSelectionModel:(S=this.tableOptions)!=null&&S.getSelectionModel&&(this.getSelectionModel=this.tableOptions.getSelectionModel),(P=this.tableOptions)!=null&&P.getFocusModel&&(this.getFocusModel=this.tableOptions.getFocusModel),m0(p.getAreaModel("body"))&&(this.tree=!0),["header","body","footer"].forEach(A=>{var F;this.colAndRowspanModels[A]=new xk(p,p.getAreaModel(A)),(F=this.colAndRowspanModels[A])==null||F.init()})}isEditing(){return this.editing}resetEditorRenderer(){this.editorRenderer=void 0,this.editorRendererRow=-1,this.editorRendererColumn=-1,this.editing=!1}clearSelection(c=!1){if(this.getSelectionModel){const p=this.getSelectionModel();p==null||p.clear(),c&&this.repaint()}}initRenderEditor(c,p){var E;let m=(E=this.tableModel.getColumnDef(p))==null?void 0:E.getEditRenderer;if(m||(m=this.tableOptions.getEditRenderer),m)if(this.editorRenderer=m(c,p),this.editorRenderer){this.editorRendererRow=c,this.editorRendererColumn=p,this.editing=!0,this.repaint();const x=document.querySelector("input.ge-table-cell-editor-input");x&&x.focus()}else this.resetEditorRenderer()}repaint(){this.adjustAfterScrolling()}repaintHard(){this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows(),this.adjustAfterScrolling()}adjustAfterScrolling(){var c;for(const p of this.removables)p.remove();this.hideHoverRow(),this.hideHoverColumn(),this.scrollTop=this.scrollViewport.scrollTop,this.scrollLeft=this.scrollViewport.scrollLeft,this.debounce(this.checkForScrollPosSaving.bind(this)),this.scrollFactorY=this.scrollTop/(this.scrollViewport.scrollHeight-this.scrollViewport.clientHeight),this.scrollFactorX=this.scrollLeft/(this.scrollViewport.scrollWidth-this.scrollViewport.clientWidth),isNaN(this.scrollFactorY)&&(this.scrollFactorY=0),isNaN(this.scrollFactorX)&&(this.scrollFactorX=0),this.adjustBody(),this.adjustArea("footer"),this.adjustArea("header"),this.tableOptions.tableTopBorderVisible&&this.removables.push(this.dom.addHorizontalBorder(new _o(0,this.hostElement.clientWidth,1,0),this.hostElement,"ge-table-border")),this.tableOptions.tableBottomBorderVisible&&this.removables.push(this.dom.addHorizontalBorder(new _o(0,this.hostElement.clientWidth,1,this.hostElement.clientHeight-1),this.hostElement,"ge-table-border")),this.tableModel.getFixedLeftColumnCount()>0&&this.removables.push(this.dom.addVerticalBorder(new _o(this.areaBodyWest.child.clientWidth,1,this.hostElement.clientHeight,0),this.hostElement,"ge-table-body-west-vertical-border")),((c=this.tableModel.getAreaModel("header"))==null?void 0:c.getRowCount())>0&&this.removables.push(this.dom.addHorizontalBorder(new _o(0,this.hostElement.clientWidth,1,this.areaHeaderCenter.child.clientHeight),this.hostElement,"ge-table-body-west-vertical-border"))}checkForScrollPosSaving(){var c,p;this.storeScrollPosStateService&&((p=(c=this.tableOptions)==null?void 0:c.autoRestoreOptions)!=null&&p.autoRestoreScrollPosition)&&this.storeScrollPosStateService.updateScrollOffset([this.scrollLeft,this.scrollTop])}updateCells(c,p=!1){c.forEach(m=>{this.tableModel.getAreaModel(m.area).setValue(m.rowIndex,m.columnIndex,m.value),p||this.rerenderCellContent(m)}),p&&this.repaint()}rerenderCellContent({area:c,rowIndex:p,columnIndex:m,value:E,cssClasses:x}){const S=this.tableModel.getAreaModel(c),P='div[data-col-index="'+m+'"][data-row-index="'+p+'"][data-area="'+c+'"]',A=document.querySelector(P);if(A){let F;const X=this.editorRenderer&&this.editorRendererRow===p&&this.editorRendererColumn===m?this.editorRenderer:S.getCellRenderer(p,m);if(A.innerText="",this.applyCssClasses(A,x),X)F=X.render(A,p,m,c,S,E,this.dom.domService),F&&this.cleanupFunctions[c].push(F);else{const oe=`${E}`;this.dom.addLabelDiv(A,oe,!1,p,m,c)}const J=S.getCustomClassesAt(p,m);J.length&&this.dom.addClasses(J,A);const te=S.getCustomStyleAt(p,m);if(te)for(const oe in te)this.dom.setStyle(A,oe,te[oe])}}storeColumnWidths(){const c=this.tableModel.getColumnDefs();c!=null&&c.length&&(this.storedColumnWidths=c.map((p,m)=>this.tableModel.getColumnWidth(m)))}getAreaAndSideIdentByAttr(c){if(c){const p=this.getStringByAttr(c,"data-area"),m=this.getStringByAttr(c,"data-side");if(m&&p)return[p,m]}return[void 0,void 0]}getArea(c,p){if(c==="header"){if(p==="west")return this.areaHeaderWest;if(p==="center")return this.areaHeaderCenter;if(p==="east")return this.areaHeaderEast}else if(c==="body"){if(p==="west")return this.areaBodyWest;if(p==="center")return this.areaBodyCenter;if(p==="east")return this.areaBodyEast}else if(c==="footer"){if(p==="west")return this.areaFooterWest;if(p==="center")return this.areaFooterCenter;if(p==="east")return this.areaFooterEast}throw Error(`Wrong area identifier: row:${c}, col:${p}`)}adjustBody(){const c=this.areaBodyCenterGeo.height-this.tableModel.getContentHeightInPixel(),p=this.scrollFactorY*c;this.dom.setStyle(this.contentDiv,"top",`${this.scrollTop}px`),this.dom.setStyle(this.contentDiv,"left",`${this.scrollViewport.scrollLeft}px`),this.adjustArea("body",p)}getNumberByAttr(c,p){var m;if(c){const E=(m=c.closest("["+p+"]"))==null?void 0:m.getAttribute(p);if(E)return Number(E)}return-1}getStringByAttr(c,p){var m;if(c){const E=(m=c.closest("["+p+"]"))==null?void 0:m.getAttribute(p);if(E)return E}return""}adjustArea(c,p=0){var ce;const m=this.getArea(c,"west"),E=this.getArea(c,"center"),x=this.getArea(c,"east"),S=E.child.clientHeight;m.child.innerText="",E.child.innerText="",x.child.innerText="";const P=0,A=this.areaBodyCenterGeo.width,F=this.tableModel.getPadding(),q=this.tableModel.getAreaModel(c),X=q.getRowCount();for(;this.cleanupFunctions[c].length;){const ke=this.cleanupFunctions[c].shift();ke&&ke()}let J=p;const te=this.tableModel.getColumnCount(),oe=this.tableModel.getFixedRightColumnCount(),ge=this.tableModel.getFixedLeftColumnCount();for(let ke=0;ke<X;ke++){const Ze=J,Te=ke===X-1,He=this.tableModel.getRowHeight(c,ke);if(Ze+He>0){this.firstVisibleRowIndex=ke;let fe={left:P,width:A,height:He,top:Ze,index:ke},Ee=this.dom.addRowDiv(E,fe,ke,c,"center");const Le=ge;if(this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"center",areaModel:q,geo:fe,parent:Ee,rowIndex:ke,columnIndexStart:Le,columnIndexEnd:te-oe-1,verticalFixed:!1,lastRowOfModel:Te}),F.left>0&&(fe={left:P,width:this.areaBodyWestGeo.width,height:He,top:Ze,index:ke},Ee=this.dom.addRowDiv(m,fe,ke,c,"west"),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"west",areaModel:q,geo:fe,parent:Ee,rowIndex:ke,columnIndexStart:0,columnIndexEnd:Le-1,verticalFixed:!0,lastRowOfModel:Te})),F.right>0&&(fe={left:P,width:this.areaBodyEastGeo.width,height:He,top:Ze,index:ke},Ee=this.dom.addRowDiv(x,fe,ke,c,"east"),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"east",areaModel:q,geo:fe,parent:Ee,rowIndex:ke,columnIndexStart:te-oe,columnIndexEnd:te-1,verticalFixed:!0,lastRowOfModel:Te})),c==="header"&&this.tree&&ke===X-1){const lt=this.dom.applyStyle(this.dom.setAttribute(this.dom.addDiv(Ee,new _o(16,20,20,8)),"data-ge-action","toggleExpandCollapseAll"),{cursor:"pointer"}),Tt=this.tableOptions.treeOptions.arrowExpandCollapseAll;if(Tt){const Dt=this.dom.domService.createText(Tt.content);this.dom.domService.appendChild(lt,Dt),Tt.style&&this.dom.applyStyleString(lt,Tt.style)}}}if(J=J+He,J>S)break}if(this.colAndRowspanModels&&this.colAndRowspanModels[c]){const ke=((ce=this.colAndRowspanModels[c])==null?void 0:ce.getRanges())??[];if(ke.length)for(const Ze of ke){let Te=0,He=E.child,fe="center";if(Ze.c1<ge)He=m.child,fe="west";else if(oe>0&&Ze.c1>=te-oe)He=x.child,fe="east";else{const Ee=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();Te=this.scrollFactorX*Ee-this.areaBodyWestGeo.width,fe="center"}this.drawBigCell(Ze,Te,p,q,He,fe)}}}drawBigCell(c,p,m,E,x,S){const P=m+this.getRowHeights(0,c.r1-1,E).reduce((ce,ke)=>ce+ke,0),A=this.tableModel.getColumnCount(),F=this.tableModel.getFixedRightColumnCount();let q=0;F>0&&c.c1>=A-F&&(q=A-F);const X=p+this.getColumnWidths(q,c.c1-1).reduce((ce,ke)=>ce+ke,0),J=this.getRowHeights(c.r1,c.r2,E).reduce((ce,ke)=>ce+ke,0),te=this.getColumnWidths(c.c1,c.c2).reduce((ce,ke)=>ce+ke,0);let oe=!1;const ge=this.getSelectionModel?this.getSelectionModel():void 0;ge&&(oe=ge.getSelectionCount(c.r1,c.c1)>0),c.gammaRange?this.renderCell({areaModel:E,areaIdent:E.areaIdent,sideIdent:S,rowIndex:c.r1,columnIndex:c.c1,left:X,top:P,width:te,height:J,parent:x,cellSelected:oe,lastRowOfModel:!0,gammaRange:c.gammaRange}):this.renderCell({areaModel:E,areaIdent:E.areaIdent,sideIdent:S,rowIndex:c.r1,columnIndex:c.c1,left:X,top:P,width:te,height:J,parent:x,cellSelected:oe,lastRowOfModel:!0,gammaRange:c.gammaRange}),E.areaIdent==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:c.r1,columnIndex:c.c1,cellLeft:X,cellTop:P,cellWidth:te,cellHeight:J,parent:x})}findRowOfImportantRowspanCell(c,p,m){const E=c.getMaxRowspan();for(let x=p-1;x>-1;x--){const S=c.getRowspanAt(x,m);if(S>1&&x+S+1>=p)return x;if(p-x>E)return-1}return-1}adjustColumnsToRowParent({areaIdent:c,sideIdent:p,areaModel:m,geo:E,parent:x,rowIndex:S,columnIndexStart:P,columnIndexEnd:A,verticalFixed:F=!1,lastRowOfModel:q=!1}){var ge;this.scrollViewportLeft=this.scrollViewport.scrollLeft;let X=0;if(!F){const ce=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();X=this.scrollFactorX*ce}const J=0,te=!!(c==="body"&&p);let oe=X;for(let ce=P;ce<=A;ce++){const ke=oe,Ze=this.tableModel.getColumnWidth(ce);if(Ze>0&&ke+Ze>0){let Te=E.height;const He=m.getRowspanAt(S,ce),fe=m.getColspanAt(S,ce);He>1&&(Te=this.getRowHeights(S,S+He-1,m).reduce((lt,Tt)=>lt+Tt,0));let Ee=Ze;fe>1&&(Ee=this.getColumnWidths(ce,ce+fe-1).reduce((lt,Tt)=>lt+Tt,0));let Le=!1;if(this.colAndRowspanModels&&this.colAndRowspanModels[c]&&(ge=this.colAndRowspanModels[c])!=null&&ge.isInRange(S,ce)&&(Le=!0),this.draggingTargetColumnIndex===ce&&c!=="header"){this.renderDragTargetDiv(x,ke,J,Ee,Te);const lt={left:ke,top:J,width:Ee,height:Te};this.dom.addColumnBorderDivs(this.tableOptions,x,lt,c,p)}else{const lt=this.renderSelectedBackgroundDiv(Le,te,p,m,S,ce,x,ke,J,Ee,Te);"gammaCells"in m&&m.getValueAt(S,ce)&&(Le=!1),Le||this.renderCell({areaModel:m,areaIdent:c,sideIdent:p,rowIndex:S,columnIndex:ce,left:ke,top:J,width:Ee,height:Te,parent:x,cellSelected:lt,lastRowOfModel:q,gammaRange:!0}),c==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:S,columnIndex:ce,cellLeft:ke,cellTop:J,cellWidth:Ee,cellHeight:Te,parent:x})}}if(oe=oe+Ze,oe>this.areaBodyCenterGeo.width)break}this.tableOptions.verticalBorderVisible&&this.dom.addVerticalBorder(new _o(oe-1,1,E.height,0),x)}getTreeArrowColumnIndex(){return this.tableOptions.showCheckboxWihoutExtraColumn?0:this.tableModel.isRowCheckboxVisible()?1:0}addAndRenderCellDiv({areaModel:c,areaIdent:p,sideIdent:m,rowIndex:E,index:x,left:S,width:P,height:A,top:F,parent:q,lastRowOfModel:X}){var un;const te=this.editorRenderer&&this.editorRendererRow===E&&this.editorRendererColumn===x?this.editorRenderer:c.getCellRenderer(E,x),oe={left:S,width:P,height:A,top:F,index:x},ge=c.getRowByIndex(E);let ce="none";if(x===this.getTreeArrowColumnIndex()&&v0(ge)){const _e=ge;(un=_e.children)!=null&&un.length?_e.expanded?ce="expanded":ce="collapsed":ce="hidden"}let Ze;if(p==="header"){const _e=this.tableModel.getColumnDef(x);(!(_e!=null&&_e.sortIconVisible)||_e!=null&&_e.sortIconVisible())&&(Ze=_e==null?void 0:_e.sortState)}const Te=c.getValueAt(E,x),He=te?"":`${Te}`,fe=c.isRowChecked(E),Ee=this.dom.addColumnDiv({parent:q,geo:oe,rowIndex:E,columnIndex:x,areaIdent:p,sideIdent:m,text:He,treeArrow:ce,tableOptions:this.tableOptions,checkedType:fe,sortState:Ze}),Le=c.getTooltipAt(E,x);Le&&this.dom.setAttribute(Ee,"title",Le);const lt=this.tableModel.getColumnDef(x);lt&<.classes[p]&&this.dom.addClasses(lt.classes[p],Ee);let Tt;te&&(Tt=te.render(Ee,E,x,p,c,Te,this.dom.domService));const Dt=c.getCustomClassesAt(E,x);if(Dt.length&&this.dom.addClasses(Dt,Ee),this.dom.addColumnBorderDivs(this.tableOptions,q,oe,p,m),X&&this.dom.addHorizontalBorder({left:S,width:P,height:A,top:F+A},q),this.getFocusModel&&p==="body"){const _e=this.getFocusModel();_e!=null&&_e.hasFocus(E,x)&&this.dom.addFocusBorderDivs(q,oe,{})}p==="header"&&this.dom.setAttribute(Ee,"data-ge-action","drag-column");const gt=c.getCustomStyleAt(E,x);if(gt)for(const _e in gt)this.dom.setStyle(Ee,_e,gt[_e]);return[Ee,Tt]}applyCssClasses(c,p={}){c&&Object.entries(p).forEach(([m,E])=>{E?this.dom.addClass(m,c):this.dom.removeClass(m,c)})}getColumnWidths(c,p){const m=[];for(let E=c;E<=p;E++)m.push(this.tableModel.getColumnWidth(E));return m}getRowHeights(c,p,m){const E=[];for(let x=c;x<=p;x++)E.push(m.getRowHeight(x));return E}adjustHoverRows(c){if(this.tableOptions.hoverRowVisible&&c.rowIndex>-1){const p=this.hostElement.clientWidth,m=this.tableModel.getAreaModel("body").getRowHeight(c.rowIndex),E=c.rowTop+this.areaHeaderCenter.parent.clientHeight-this.scrollTop;this.dom.applyStyle(this.hoverRow,{left:"0",top:E+"px",width:p+"px",height:m+"px",display:"block"})}else this.hideHoverRow()}hideHoverRow(){this.dom.applyStyle(this.hoverRow,{display:"none"})}adjustHoverColumns(c){if(this.tableOptions.hoverColumnVisible&&c.rowIndex>-1){const p=this.hostElement.clientHeight,m=this.tableModel.getColumnWidth(c.columnIndex),E=this.areaBodyWestGeo.width,x=c.columnLeft+this.tableModel.getPadding().left-this.scrollLeft-E;this.dom.applyStyle(this.hoverColumn,{left:x+"px",top:"0px",width:m+"px",height:p+"px",display:"block"})}else this.hideHoverColumn()}hideHoverColumn(){this.dom.applyStyle(this.hoverColumn,{display:"none"})}debounce(c,p=1e3){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(c.bind(this),p)}adjustDraggingColumn(c,p,m){var E,x;if(this.dragging){const S=this.hostElement.clientHeight,P=this.storedColumnWidths[p];if((E=c.originalEvent)!=null&&E.clientX){const q={left:((x=c.originalEvent)==null?void 0:x.clientX)-P/2,width:P,height:S,top:0,index:p};this.dom.applyStyle(this.draggingColumn,{background:"rgba(128,128,128,0.2)",display:"block",overfllow:"clip"}),this.dom.applyStyleInPx(this.draggingColumn,q),m&&this.renderContentOfDraggingColumn(q)}}else this.hideDraggingColumn()}renderContentOfDraggingColumn(c){const p=this.renderContentOfDraggingColumnForArea(c,"header",0);this.renderContentOfDraggingColumnForArea(c,"body",p)}renderContentOfDraggingColumnForArea(c,p,m=0){const E="center",x=this.tableModel.getAreaModel(p),S=x==null?void 0:x.getRowCount();if(S){const P=c.index??0,A=this.draggingColumn;for(let F=0;F<S;F++){const q=m,X=x.getRowHeight(F),J={left:0,width:c.width,height:X,top:q,index:F},te=x.getValueAt(F,P),oe=x.getCellRenderer(F,P),ge=oe?"":`${te}`,ce={parent:A,geo:J,rowIndex:F,columnIndex:P,areaIdent:p,sideIdent:E,text:ge},ke=this.dom.addColumnDiv(ce);let Ze;oe&&(Ze=oe.render(ke,F,P,p,x,te,this.dom.domService),Ze&&this.cleanupFunctions[p].push(Ze));const Te=x.getCustomClassesAt(F,P);Te.length&&this.dom.addClasses(Te,ke);const He=this.tableModel.getColumnDef(P);He&&He.classes[p]&&this.dom.addClasses(He.classes[p],ke),this.dom.addColumnBorderDivs(this.tableOptions,A,J,p,E);const fe=x.getCustomStyleAt(F,P);if(fe)for(const Ee in fe)this.dom.setStyle(ke,Ee,fe[Ee]);m=m+X}}return m}hideDraggingColumn(){this.dom.applyStyle(this.draggingColumn,{display:"none"})}renderDragTargetDiv(c,p,m,E,x){const S=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-drop-zone",c));return this.dom.setStyle(S,"left",`${p}px`),this.dom.setStyle(S,"top",`${m}px`),this.dom.setStyle(S,"width",`${E}px`),this.dom.setStyle(S,"height",`${x}px`),S}renderSelectedBackgroundDiv(c,p,m,E,x,S,P,A,F,q,X){let J=!1;if(!c&&p&&E.isSelectable(x,S)&&this.getSelectionModel){const te=this.getSelectionModel();if(te){const oe=te.getSelectionCount(x,S);J=oe>0;for(let ge=0;ge<oe;ge++){const ce=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass(`ge-table-${E.areaIdent}-${m}-selected-range`,P));this.dom.setStyle(ce,"left",`${A}px`),this.dom.setStyle(ce,"top",`${F}px`),this.dom.setStyle(ce,"width",`${q}px`),this.dom.setStyle(ce,"height",`${X}px`)}}}return J}renderCell({areaModel:c,areaIdent:p,sideIdent:m,rowIndex:E,columnIndex:x,left:S,top:P,width:A,height:F,parent:q,cellSelected:X,lastRowOfModel:J}){const[te,oe]=this.addAndRenderCellDiv({areaModel:c,areaIdent:p,sideIdent:m,rowIndex:E,index:x,left:S,width:A,height:F,top:P,parent:q,lastRowOfModel:J});X&&this.dom.addClass(`ge-table-${p}-${m}-selected-range`,te),oe&&this.cleanupFunctions[p].push(oe)}renderHeaderCellResizeHandle({rowIndex:c,columnIndex:p,cellLeft:m,cellTop:E,cellWidth:x,cellHeight:S,parent:P}){const A=this.dom.domService,F=this.tableOptions.columnResizeHandleWidthInPx??2,q=A.createElement("div");A.setAttribute(q,"data-col-index",`${p}`),A.setAttribute(q,"data-row-index",`${c}`),A.setAttribute(q,"data-area","header"),A.setAttribute(q,"data-ge-action","resize-column"),A.addClass(q,"ge-table-column-resize-handle"),A.setStyle(q,"display","clip"),A.setStyle(q,"position","absolute"),A.setStyle(q,"cursor","col-resize"),A.setStyle(q,"left",`${m+x-F}px`),A.setStyle(q,"top",`${E}px`),A.setStyle(q,"width",`${F}px`),A.setStyle(q,"height",`${S}px`),A.appendChild(P,q)}}class Dk{constructor(c,p){this.columnIndex=c,this.sortState=p}}class kk{constructor(c){this.tableScope=c,this.tableScope.hostElement.addEventListener("change",this.onHostElementChanged.bind(this))}onHostElementChanged(c){if(c.target instanceof HTMLInputElement||c.target instanceof HTMLSelectElement||c.target instanceof HTMLTextAreaElement){const p=c.target,m=p.getAttribute("data-area"),E=p.getAttribute("data-row-index"),x=p.getAttribute("data-col-index");if(m&&E&&x){const S=b0(m),P=Number(E),A=Number(x);this.tableScope.updateModelValueAfterEdit(S,P,A,p.value)}}}}class _k{constructor(c=-1,p=-1){this.rowIndex=c,this.columnIndex=p}}class E0{constructor(c){this.cells=c}static createSingle(c,p){return new E0([new _k(c,p)])}}class Mk{constructor(c){var p,m;this.tableScope=c,(p=this.tableScope.tableOptions)!=null&&p.getSelectionModel&&(this.getSelectionModel=this.tableScope.tableOptions.getSelectionModel),(m=this.tableScope.tableOptions)!=null&&m.getFocusModel&&(this.getFocusModel=this.tableScope.tableOptions.getFocusModel)}onMouseClicked(c,p){var x,S,P,A,F,q,X;let m=!1,E=!1;if(this.getSelectionModel&&this.getFocusModel){const J=this.getSelectionModel(),te=this.getFocusModel();J&&te&&(te.hasFocus(c.rowIndex,c.columnIndex)||(te.setFocus(c.rowIndex,c.columnIndex),this.tableScope.onFocusChanged(te),m=!0),(x=c.originalEvent)!=null&&x.shiftKey||J.hasSelection()&&(J.clear(),m=!0),(S=c.originalEvent)!=null&&S.shiftKey&&this.previousEvt?(J.addSelection(this.createRangeByEvents(c,this.previousEvt)),E=!0,m=!0):(P=c.originalEvent)!=null&&P.altKey&&((A=c.originalEvent)!=null&&A.ctrlKey||(F=c.originalEvent)!=null&&F.metaKey)?(J.removeSelection(Ir.singleCell(c.rowIndex,c.columnIndex)),E=!0,m=!0):(q=c.originalEvent)!=null&&q.ctrlKey||(X=c.originalEvent)!=null&&X.metaKey?(J.addSelection(Ir.singleCell(c.rowIndex,c.columnIndex)),E=!0,m=!0):(J.firstClick(c.rowIndex,c.columnIndex),m=!0),this.tableScope.onSelectionChanged(J))}return E?this.previousEvt=void 0:this.previousEvt=c==null?void 0:c.clone(),m}onActionTriggered(c){if(this.getSelectionModel&&this.getFocusModel){const p=this.getSelectionModel(),m=this.getFocusModel();if(p&&m){if(c==="SELECT_ALL")return p.selectAll(),this.tableScope.repaint(),!0;if(c==="DESELECT_ALL")return p.clear(),this.tableScope.repaint(),!0;if(c==="TOGGLE_SELECTION"){const[E,x]=m.getFocus();return p.togglePoint(E,x),this.tableScope.repaint(),!0}}}return!1}createRangeByEvents(c,p){p||(p=c);const m=Math.min(c.rowIndex,p==null?void 0:p.rowIndex),E=Math.max(c.rowIndex,p==null?void 0:p.rowIndex),x=Math.min(c.columnIndex,p==null?void 0:p.columnIndex),S=Math.max(c.columnIndex,p==null?void 0:p.columnIndex);return Ir.create({rowIndex1:m,columnIndex1:x,rowIndex2:E,columnIndex2:S})}}class Ok{get(){return{f2:"START_EDITING",space:"TOGGLE_SELECTION","ctrl+num_add":"SELECT_ALL","ctrl+a":"SELECT_ALL","ctrl+shift+a":"DESELECT_ALL","ctrl+x":"DESELECT_ALL","ctrl+num_subtract":"DESELECT_ALL","meta -":"DESELECT_ALL",arrowup:"NAVIGATE_UP",arrowdown:"NAVIGATE_DOWN",arrowleft:"NAVIGATE_LEFT",arrowright:"NAVIGATE_RIGHT","meta+c":"COPY_2_CLIPBOARD","ctrl+c":"COPY_2_CLIPBOARD"}}}class Ak{get(){return{f2:"START_EDITING",space:"TOGGLE_SELECTION","ctrl+num_add":"SELECT_ALL","meta+a":"SELECT_ALL","ctrl+a":"SELECT_ALL","meta+x":"DESELECT_ALL","meta+shift+a":"DESELECT_ALL","ctrl+shift+a":"DESELECT_ALL","ctrl+num_subtract":"DESELECT_ALL","ctrl -":"DESELECT_ALL",arrowup:"NAVIGATE_UP",arrowdown:"NAVIGATE_DOWN",arrowleft:"NAVIGATE_LEFT",arrowright:"NAVIGATE_RIGHT","meta+c":"COPY_2_CLIPBOARD","ctrl+c":"COPY_2_CLIPBOARD"}}}class Lk{constructor(c){this.tableScope=c,this.shortcutActionIdMapping={},this.listener=[],this.listener.push(c),this.init()}addListener(c){this.listener.includes(c)||this.listener.push(c)}init(){this.assignPredefinedSystemShortcutMappings(),Object.assign(this.shortcutActionIdMapping,this.tableScope.tableOptions.shortcutActionIdMapping),this.isDebug()&&console.debug("ShortcutService",this.shortcutActionIdMapping),this.tableScope.hostElement.addEventListener("keydown",this.onKeyDown.bind(this))}assignPredefinedSystemShortcutMappings(){this.isMacintosh()?Object.assign(this.shortcutActionIdMapping,new Ak().get()):Object.assign(this.shortcutActionIdMapping,new Ok().get())}isMacintosh(){return navigator.platform.indexOf("Mac")>-1}isDebug(){return this.isLocalhost()}isLocalhost(){return location.hostname==="localhost"||location.hostname==="127.0.0.1"}onKeyDown(c){const p=this.findEntity(c);p&&this.emit(p)&&(c.preventDefault(),c.stopPropagation())}emit(c){this.isDebug()&&console.debug("ShortcutService emit :",c);let p=!1;for(const m of this.listener)m.onActionTriggered(c)&&(p=!0);return p}findEntity(c){const p=this.getTokenByEvent(c);this.isDebug()&&console.debug("ShortcutService tokens :",p);for(const m in this.shortcutActionIdMapping){const E=m.replace(/opt/g,"alt").replace(/cmd/g,"meta").split(/[+ ]/g).sort();if(this.areTokensEquals(p,E))return this.shortcutActionIdMapping[m]}}areTokensEquals(c,p){if(c.length!==p.length||c.length===0)return!1;for(let m=0;m<c.length;m++)if(c[m]!==p[m])return!1;return!0}getTokenByEvent(c){const p=[];return c.altKey&&p.push("alt"),c.shiftKey&&p.push("shift"),c.ctrlKey&&p.push("ctrl"),c.metaKey&&p.push("meta"),c.code&&p.push(c.code.toLowerCase().replace(/key/g,"")),p.sort()}getShortcutActionMapping(){return this.shortcutActionIdMapping}}class l1{onCheckboxChanged(c){}onContextmenu(c){}onModelChanged(c){}onMouseClicked(c){}onMouseDragging(c){}onMouseDraggingEnd(c){}onMouseMoved(c){}onSelectionChanged(c){}onFocusChanged(c){}}class b1{setStyle(c,p,m){return c.style[p]=m,c}appendText(c,p){const m=this.createText(p);return this.appendChild(c,m),m}addClass(c,p){return p.includes(" ")?p.split(" ").forEach(m=>c.classList.add(m)):c.classList.add(p),c}removeClass(c,p){return p.includes(" ")?p.split(" ").forEach(m=>c.classList.remove(m)):c.classList.remove(p),c}appendChild(c,p){c.appendChild(p)}createElement(c){return document.createElement(c)}createText(c){return document.createTextNode(c)}setAttribute(c,p,m){c.setAttribute(p,m)}}class Nk{render(c,p,m,E,x,S,P){if(x.isEditable(p,m)){P.addClass(c,"ge-table-row-input-div");const A=x.getValueAt(p,m);c.innerHTML=`
|
|
9
|
-
<input
|
|
10
|
-
type="text"
|
|
11
|
-
value="${A}"
|
|
12
|
-
autofocus
|
|
13
|
-
onfocus="this.setSelectionRange(0, this.value.length)"
|
|
14
|
-
data-listen="change"
|
|
15
|
-
data-area="${E}"
|
|
16
|
-
data-row-index="${p}"
|
|
17
|
-
data-col-index="${m}"
|
|
18
|
-
data-input-type="text"
|
|
19
|
-
style="width:calc(100% - 8px);height:100%;border:0;padding:0 0 0 8px;"
|
|
20
|
-
class="ge-table-cell-editor-input">`}}}class zk{constructor(c="none",p="single"){this.selectionType=c,this.selectionMode=p,this.ranges=[],this.negativeRanges=[],this.allSelected=!1}firstClick(c,p){this.selectionType==="row"?this.addRange(Ir.singleRow(c)):this.selectionType==="column"&&this.addRange(Ir.singleColumn(p))}getSelectionCount(c,p){let m=0;for(const E of this.ranges)E.isInRange(c,p)&&m++;return this.allSelected&&m++,this.isInNegativeRange(c,p)&&(m=0),m}isInNegativeRange(c,p){for(const m of this.negativeRanges)if(m.isInRange(c,p))return!0;return!1}getRanges(){return this.ranges}clear(){this.ranges=[],this.negativeRanges=[],this.allSelected=!1}hasSelection(){return this.allSelected||!!this.ranges.length}hasNoSelection(){return!this.hasSelection()}getMergedRowIndices(){const c=new Set;for(const p of this.ranges)for(let m=p.r1;m<=p.r2;m++)!c.has(m)&&!this.isInNegativeRange(m,0)&&c.add(m);return Array.from(c)}selectAll(){this.allSelected=!0}isAllSelected(){return this.allSelected}addSelection(c){this.addRange(c)}removeSelection(c){if(this.selectionType==="none")return;let p=c;this.selectionType==="row"?p=Ir.singleRow(c.r1):this.selectionType==="column"&&(p=Ir.singleColumn(c.c1)),this.negativeRanges.push(p)}togglePoint(c,p){this.getSelectionCount(c,p)>0?this.removeSelection(Ir.singleCell(c,p)):this.addSelection(Ir.singleCell(c,p))}isSelected(c,p){return this.getSelectionCount(c,p)>0}addRange(c){this.selectionType!=="none"&&(this.allSelected=!1,this.selectionMode==="single"&&(this.ranges=[]),this.selectionType==="row"?(c.c1=0,c.c2=Number.MAX_SAFE_INTEGER):this.selectionType==="column"?(c.r1=0,c.r2=Number.MAX_SAFE_INTEGER):this.selectionType==="cell"?(c.r2=c.r1,c.c2=c.c1):this.selectionType,this.ranges.push(c))}}class Uk{constructor(c="none"){this.selectionType=c,this.rowIndex=-1,this.columnIndex=-1,this.changed=!1}clearChanged(){this.changed=!1}hasChanged(){return this.changed}clear(){this.rowIndex=-1,this.columnIndex=-1}setFocus(c,p){(this.rowIndex!==c||this.columnIndex!==p)&&(this.rowIndex=c,this.columnIndex=p,this.changed=!0)}hasFocus(c,p){return this.rowIndex===c&&this.columnIndex===p}getFocus(){return[this.rowIndex,this.columnIndex]}}class C1{constructor(c=new Mo("❯","",["gt-table-icon-expanded"]),p=new Mo("❯","transform: rotate(180deg) translate(-100%, -100%); transform-origin: 0 0;",["ge-table-icon-collapsed"])){this.iconExpanded=c,this.iconCollapsed=p}}const Fk=new zk,Hk=new Uk("cell");class E1{constructor(){this.overflowX="auto",this.overflowY="auto",this.horizontalBorderVisible=!0,this.verticalBorderVisible=!0,this.footerSeparatorBorderVisible=!0,this.headerSeparatorBorderVisible=!0,this.fixedEastSeparatorBorderVisible=!0,this.fixedWestSeparatorBorderVisible=!0,this.tableTopBorderVisible=!0,this.tableBottomBorderVisible=!0,this.hoverRowVisible=!0,this.hoverColumnVisible=!0,this.columnsResizable=!0,this.columnsDraggable=!0,this.columnResizeHandleWidthInPx=4,this.defaultRowHeights={header:34,body:34,footer:34},this.footerVerticalSeparator=!1,this.headerToggleExpandCollapseIcons=!1,this.headerVerticalSeparator=!1,this.treeOptions=new y1,this.headerGroupOptions=new C1,this.showCheckboxWihoutExtraColumn=!1,this.externalFilterFunction=void 0,this.sortedOptions=new S1,this.sortOrder=["asc","desc"],this.getEditRenderer=(c,p)=>new Nk,this.getSelectionModel=()=>Fk,this.getFocusModel=()=>Hk}}const Hf=class Hf{createContent(c,p,m){return new Promise((E,x)=>{if(p!=null&&p.hasSelection()){const S=this.mergeRanges(p.getRanges());if(S){S.c2=Math.min(S.c2,c.getColumnCount()-1),S.r2=Math.min(S.r2,c.getBodyModel().getRowCount()-1);const P=[];for(let A=S.r1;A<=S.r2;A++){const F=[];for(let q=S.c1;q<=S.c2;q++){const X=p.isSelected(A,q)?c.getBodyModel().getTextValueAt(A,q):"";F.push(X)}P.push(F.join(Hf.columnSeparatorChar))}return E(P.join(Hf.rowSeparatorChar))}}if(m){const[S,P]=m.getFocus(),A=c.getBodyModel().getTextValueAt(S,P);return E(A)}x("Cannot copy, neither selection nor focus defined.")})}copyContent(c){return navigator.clipboard.writeText(c)}copyToClipboard(c,p,m){return new Promise((E,x)=>{this.createContent(c,p,m).then(S=>{S&&this.copyContent(S).then(P=>{E(S)}).catch(P=>{x()})}).catch(S=>{x()})})}mergeRanges(c){let p;for(const m of c)p?(p.r1=Math.min(p.r1,m.r1),p.c1=Math.min(p.c1,m.c1),p.r2=Math.max(p.r2,m.r2),p.c2=Math.max(p.c2,m.c2)):p=new Ir(m.r1,m.c1,m.r2,m.c2);return p}};Hf.columnSeparatorChar=" ",Hf.rowSeparatorChar=`
|
|
21
|
-
`;let Vm=Hf;class w0 extends Tk{constructor(c,p,m,E,x,S=new Vm){var P;if(super(c,p,new vk(m),E),this.eventListener=x,this.copyService=S,this.licenseManager=Ws.getInstance(),this.selectionService=new Mk(this),this.api=new yk(this),this.mouseStartAction="",this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,this.lastDragFrom=-1,this.lastDragTo=-1,this.firstDraggingRendering=!0,x||(this.eventListener=new l1),(P=this.tableOptions)!=null&&P.autoRestoreOptions){const A=this.tableOptions.autoRestoreOptions,F=A.getStorageKeyFn;F&&(A.autoRestoreScrollPosition&&(this.storeScrollPosStateService=new Sk(F)),A.autoRestoreCollapsedExpandedState&&(this.storeStateCollapsedExpandService=new Ck(F)),A.autoRestoreSortingState&&(this.storeSortingService=new Ek(F)))}this.mouseHandler=new gk(this),this.inputHandler=new kk(this),this.shortcutService=new Lk(this),this.shortcutService.addListener(this.selectionService)}static create(c,p,m=new E1,E=new l1,x=new b1,S=new Vm){return new w0(c,p,x,m,E,S)}onActionTriggered(c){if(c==="NAVIGATE_DOWN"&&this.changeFocusCell(0,1)||c==="NAVIGATE_UP"&&this.changeFocusCell(0,-1)||c==="NAVIGATE_LEFT"&&this.changeFocusCell(-1,0)||c==="NAVIGATE_RIGHT"&&this.changeFocusCell(1,0))return!0;if(c==="START_EDITING"&&this.getFocusModel){const p=this.getFocusModel();if(p){const[m,E]=p.getFocus();this.tableModel.getBodyModel().isEditable(m,E)&&(this.clearSelection(),this.initRenderEditor(m,E))}return!0}if(c==="COPY_2_CLIPBOARD"){const p=this.getSelectionModel?this.getSelectionModel():void 0,m=this.getFocusModel?this.getFocusModel():void 0;this.copyService.createContent(this.tableModel,p,m).then(E=>this.copyService.copyContent(E))}return!1}updateModelValueAfterEdit(c,p,m,E){c==="body"&&this.tableModel.getAreaModel(c).setValue(p,m,E)&&(this.resetEditorRenderer(),this.repaint(),this.eventListener.onModelChanged(E0.createSingle(p,m)),this.hostElement.focus())}getApi(){return this.api}firstInit(){var c;return this.tableModel.init(),(c=this.tableOptions)!=null&&c.externalFilterFunction&&this.externalFilterChanged(!1),this.autoRestoreCollapsedExpandedState(),this.autoRestoreSortingState(),this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows(),this.autoRestoreScrollPosition(),this}createGeMouseEvent(c){const p=new S0;if(p.originalEvent=c,c){const m=c.target;if([p.areaIdent,p.sideIdent]=this.getAreaAndSideIdentByAttr(m),p.rowIndex=this.getNumberByAttr(m,"data-row-index"),p.columnIndex=this.getNumberByAttr(m,"data-col-index"),p.action=this.getStringByAttr(m,"data-ge-action"),p.areaIdent){const E=this.tableModel.getAreaModel(p.areaIdent);p.rowTop=E.getYPosByRowIndex(p.rowIndex)}if(p.columnLeft=this.tableModel.getXPosByColumnIndex(p.columnIndex),c.ctrlKey&&c.altKey){const E=c.clientY-this.hostElement.offsetTop-this.areaHeaderCenter.parent.clientHeight,x=c.clientX-this.hostElement.offsetLeft-this.areaBodyWestGeo.width;this.debugOnce(x,E)}}return p}onMouseDown(c){c.columnIndex>-1&&c.action&&["resize-column","drag-column"].includes(c.action)&&(this.mouseStartWidth=this.tableModel.getColumnWidth(c.columnIndex),this.mouseStartAction=c.action,this.mouseStartColumnIndex=c.columnIndex,this.mouseStartAction==="drag-column"&&(this.firstDraggingRendering=!0,this.dragFrom=this.mouseStartColumnIndex))}mouseDraggingOnFrame(c,p){this.eventListener.onMouseDragging(c),this.mouseEvent=c,this.mouseStartColumnIndex>-1&&this.mouseStartAction==="resize-column"&&this.tableOptions.columnsResizable?this.resizeColumn(c):this.mouseStartAction==="drag-column"&&c.columnIndex>-1&&this.tableOptions.columnsDraggable&&(this.draggingTargetColumnIndex=c.columnIndex,this.dragTo=this.draggingTargetColumnIndex,this.dragFrom>-1&&this.dragTo>-1&&this.dragFrom!==this.dragTo&&(this.lastDragFrom===this.dragTo&&this.lastDragTo===this.dragFrom||(this.tableModel.changeColumnOrder(this.dragFrom,this.dragTo),this.lastDragFrom=this.dragFrom,this.lastDragTo=this.dragTo,this.dragFrom=this.dragTo,this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows())),p&&(this.adjustDraggingColumn(c,p.columnIndex,this.firstDraggingRendering),this.firstDraggingRendering=!1),this.repaint())}mouseDraggingEndOnFrame(c){this.eventListener.onMouseDraggingEnd(c),this.draggingTargetColumnIndex=-1,this.mouseStartAction==="resize-column"?this.resizeColumn(c):this.mouseStartAction==="drag-column"&&(this.hideDraggingColumn(),this.repaint()),this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,this.firstDraggingRendering=!0,this.mouseStartAction=""}mouseMove(c){this.eventListener.onMouseMoved(c),this.adjustHoverRows(c),this.adjustHoverColumns(c)}contextmenu(c){this.eventListener.onContextmenu(c)}toggleExpandCollapseAll(c=!0){var m;const p=this.tableModel.getBodyModel();m0(p)&&(p.toggleExpandCollapseAll(c),this.repaint(),(m=this.storeStateCollapsedExpandService)==null||m.collapsedStateAll(c))}toggleRowCheckbox(c,p,m){var A;const E=this.tableModel.getAreaModel(m),x=E.isRowChecked(c),S=x===void 0||x==="semi"||x==="none";E.setRowChecked(c,S),this.repaint();const P=(A=E.rowSelectionModel)==null?void 0:A.getCheckedRows();this.eventListener.onCheckboxChanged(P||[])}onMouseClicked(c,p){let m=this.selectionService.onMouseClicked(c,p);if(!m&&this.getFocusModel){this.resetEditorRenderer();const E=this.getFocusModel();E&&(m=E.hasChanged(),E.clearChanged())}return m}debounceRepaint(){this.debounce(this.repaint.bind(this),1)}publishGeMouseEvent(c){this.eventListener.onMouseClicked(c)}onFocusChanged(c){this.eventListener.onFocusChanged(c)}onSelectionChanged(c){this.eventListener.onSelectionChanged(c)}externalFilterChanged(c=!0){const p=this.tableOptions.externalFilterFunction;p&&(c&&this.clearSelectionModel(),this.tableModel.externalFilterChanged(p),this.scrollViewport.scrollTo(0,0),this.tableModel.recalcHeightAndPadding(),this.resetSizeOfWrapperDiv(),this.repaint())}onHeaderDblClicked(c,p,m){var x,S;const E=this.tableModel.getColumnDef(m);if(E!=null&&E.sortable&&E.sortable()){c.preventDefault(),c.stopPropagation();const P=E.sortStatesOrder?E.sortStatesOrder:this.tableOptions.sortOrder,A=E.sortState??"",F=P[(P.indexOf(A)+1)%P.length],q=new Dk(m,F);this.tableModel.doSort([q])&&((x=this.tableModel.getColumnDefs())==null||x.forEach(J=>J.sortState=""),E.sortState=F),this.repaint(),(S=this.storeSortingService)==null||S.setSortItems([q])}}scrollToPixel(c,p){this.scrollViewport.scrollTo(c,p)}scrollToIndex(c,p){const E=this.tableModel.getAreaModel("body").getYPosByRowIndex(p);this.scrollToPixel(0,E)}setSelectionModel(c,p=!1){const m=()=>c;this.tableOptions.getSelectionModel=m,this.getSelectionModel=m,this.selectionService.getSelectionModel=m,p&&this.repaint()}toggleHeaderGroup(c){const p=this.tableModel.getAreaModel("header");"columnDefs"in this.tableModel&&(this.tableModel.columnDefs=p.toggleHeaderGroup(c),console.info("####### !!!!!! *******, this.tableModel.columnDefs")),this.firstInit()}selectionModel(){if(this!=null&&this.getSelectionModel)return this.getSelectionModel()}focusModel(){if(this!=null&&this.getFocusModel)return this.getFocusModel()}setDragging(c){this.dragging=c,this.dragging?(this.storeColumnWidths(),this.lastDragFrom=-1,this.lastDragTo=-1):this.storedColumnWidths=[]}changeFocusCell(c,p){if(!this.isEditing()&&this.getFocusModel){const m=this.getFocusModel();if(m){const[E,x]=m.getFocus();return m.setFocus(E+p,x+c),this.repaint(),!0}}return!1}resizeColumn(c){this.tableModel.setColumnWidth(this.mouseStartColumnIndex,this.mouseStartWidth+c.draggingX),this.tableModel.recalcPadding(),this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows()}clearSelectionModel(){var c;this.getSelectionModel&&((c=this.getSelectionModel())==null||c.clear())}debugOnce(c,p){var m;console.clear(),console.info("this.hostElement.offsetTop",this.hostElement.offsetTop),console.info("this.hostElement.scrollHeight",this.hostElement.scrollHeight),console.info("this.scrollViewportTop",this.scrollTop),console.info("this.areaHeaderCenter.parent.clientHeight",this.areaHeaderCenter.parent.clientHeight),console.info("bodyY",p),console.info("bodyX",c),console.info("rows",this.firstVisibleRowIndex),console.info(""),console.info("this.tableModel",this.tableModel),console.info(""),console.info("this.mouseMoveEvent.clientX",(m=this.mouseHandler.mouseEvent)==null?void 0:m.clientX),console.info("this.hostElement.offsetLeft",this.hostElement.offsetLeft),console.info("this.areaBodyWestGeo.width",this.areaBodyWestGeo.width)}autoRestoreScrollPosition(){var c;if((c=this.tableOptions)!=null&&c.autoRestoreOptions&&this.storeScrollPosStateService&&this.tableOptions.autoRestoreOptions.autoRestoreScrollPosition){const m=this.storeScrollPosStateService.getScrollOffset();m&&this.scrollViewport.scrollTo(...m)}}autoRestoreSortingState(){var c,p;if((p=(c=this.tableOptions)==null?void 0:c.autoRestoreOptions)!=null&&p.autoRestoreSortingState&&this.storeSortingService){const m=this.storeSortingService.getSortItems();m!=null&&m.length&&this.tableModel.getBodyModel().doSort(m)}}autoRestoreCollapsedExpandedState(){var c,p;if((p=(c=this.tableOptions)==null?void 0:c.autoRestoreOptions)!=null&&p.getRowId&&this.storeStateCollapsedExpandService){const m=this.tableOptions.autoRestoreOptions,E=m.getRowId;if(m.autoRestoreCollapsedExpandedState&&E){const x=this.storeStateCollapsedExpandService.collapsedExpandedStateGet(),S=this.tableModel.getAreaModel("body");if(m0(S)){const P=S,A=S.getRowCount();for(let F=0;F<A;F++){const q=S.getRowByIndex(F);if(q)if(x.allExpanded)q.expanded=!0;else if(x.allCollapsed)q.expanded=!1;else{const X=E(q.data);x.mode==="expanded"?q.expanded=this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(X):x.mode==="collapsed"&&(q.expanded=!this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(X))}}P.recalcVisibleTreeRows()}}}}}const Bm=class Bm{};Bm.themes=["light","combat","paper","blackboard"],Bm.vars={light:`html[data-theme="light"] {
|
|
22
|
-
--ge-table-bg: rgba(255,255,255, 0.5);
|
|
23
|
-
--ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
|
|
24
|
-
--ge-table-header-center-bg: rgba(233, 233, 233, 0.5);
|
|
25
|
-
--ge-table-header-east-bg: rgba(233, 233, 233, 0.5);
|
|
26
|
-
--ge-table-header-west-text: #000;
|
|
27
|
-
--ge-table-header-center-text: #000;
|
|
28
|
-
--ge-table-header-east-text: #000;
|
|
29
|
-
--ge-table-header-west-horizontal-border: #ddd;
|
|
30
|
-
--ge-table-header-west-vertical-border: #ccc;
|
|
31
|
-
--ge-table-header-center-horizontal-border: #ddd;
|
|
32
|
-
--ge-table-header-center-vertical-border: #ccc;
|
|
33
|
-
--ge-table-header-east-horizontal-border: #ddd;
|
|
34
|
-
--ge-table-header-east-vertical-border: #ccc;
|
|
35
|
-
--ge-table-body-west-bg: rgba(233, 233, 233, 0.5);
|
|
36
|
-
--ge-table-body-center-bg: rgba(255,255,255, 0.5);
|
|
37
|
-
--ge-table-body-east-bg: rgba(233, 233, 233, 0.5);
|
|
38
|
-
--ge-table-body-west-text: #000;
|
|
39
|
-
--ge-table-body-center-text: #000;
|
|
40
|
-
--ge-table-body-east-text: #000;
|
|
41
|
-
--ge-table-body-west-horizontal-border: #ddd;
|
|
42
|
-
--ge-table-body-west-vertical-border: #ccc;
|
|
43
|
-
--ge-table-body-center-horizontal-border: #bbb;
|
|
44
|
-
--ge-table-body-center-vertical-border: #ddd;
|
|
45
|
-
--ge-table-body-east-horizontal-border: #ddd;
|
|
46
|
-
--ge-table-body-east-vertical-border: #ccc;
|
|
47
|
-
--ge-table-body-west-selected-range-bg: rgba(0, 152, 219, 0.4);
|
|
48
|
-
--ge-table-body-center-selected-range-bg: rgba(0, 152, 219, 0.4);
|
|
49
|
-
--ge-table-body-east-selected-range-bg: rgba(0, 152, 219, 0.4);
|
|
50
|
-
--ge-table-body-west-selected-range-text: #000;
|
|
51
|
-
--ge-table-body-center-selected-range-text: #000;
|
|
52
|
-
--ge-table-body-east-selected-range-text: #000;
|
|
53
|
-
--ge-table-footer-west-bg: rgba(233, 233, 233, 0.5);
|
|
54
|
-
--ge-table-footer-center-bg: rgba(233, 233, 233, 0.5);
|
|
55
|
-
--ge-table-footer-east-bg: rgba(233, 233, 233, 0.5);
|
|
56
|
-
--ge-table-footer-west-text: #000;
|
|
57
|
-
--ge-table-footer-center-text: #000;
|
|
58
|
-
--ge-table-footer-east-text: #000;
|
|
59
|
-
--ge-table-footer-west-horizontal-border: #ddd;
|
|
60
|
-
--ge-table-footer-west-vertical-border: #ccc;
|
|
61
|
-
--ge-table-footer-center-horizontal-border: #ddd;
|
|
62
|
-
--ge-table-footer-center-vertical-border: #ccc;
|
|
63
|
-
--ge-table-footer-east-horizontal-border: #ddd;
|
|
64
|
-
--ge-table-footer-east-vertical-border: #ccc;
|
|
65
|
-
--ge-table-border: #ccc;
|
|
66
|
-
--ge-table-row-odd-bg: transparent;
|
|
67
|
-
--ge-table-row-even-bg: transparent;
|
|
68
|
-
--ge-table-column-odd-bg: transparent;
|
|
69
|
-
--ge-table-column-even-bg: transparent;
|
|
70
|
-
--ge-table-hover-column-bg: rgba(0, 224, 255, 0.27);
|
|
71
|
-
--ge-table-hover-row-bg: rgba(0, 224, 255, 0.27);
|
|
72
|
-
--ge-table-focus-border: rgb(0, 255, 255);
|
|
73
|
-
--ge-table-color-error-text: #e00034;
|
|
74
|
-
--ge-table-tree-arrow-collapsed-color: #e00034;
|
|
75
|
-
--ge-table-column-resize-handle-border: rgb(0, 255, 255);
|
|
76
|
-
--ge-table-dragged-col-div-bg: lightcyan;
|
|
77
|
-
--ge-table-drop-zone-bg: rgba(244, 255, 242, 0.6);
|
|
78
|
-
}`,combat:`html[data-theme="combat"] {
|
|
79
|
-
--ge-table-bg: #101010;
|
|
80
|
-
--ge-table-header-west-bg: #101010;
|
|
81
|
-
--ge-table-header-center-bg: #101010;
|
|
82
|
-
--ge-table-header-east-bg: #101010;
|
|
83
|
-
--ge-table-header-west-text: oklch(100% 0 0);
|
|
84
|
-
--ge-table-header-center-text: oklch(100% 0 0);
|
|
85
|
-
--ge-table-header-east-text: oklch(100% 0 0);
|
|
86
|
-
--ge-table-header-west-horizontal-border: oklch(100% 0 0 / 0%);
|
|
87
|
-
--ge-table-header-west-vertical-border: oklch(100% 0 0 / 0%);
|
|
88
|
-
--ge-table-header-center-horizontal-border: oklch(100% 0 0 / 0%);
|
|
89
|
-
--ge-table-header-center-vertical-border: oklch(100% 0 0 / 0%);
|
|
90
|
-
--ge-table-header-east-horizontal-border: oklch(100% 0 0 / 0%);
|
|
91
|
-
--ge-table-header-east-vertical-border: oklch(100% 0 0 / 0%);
|
|
92
|
-
--ge-table-body-west-bg: #101010;
|
|
93
|
-
--ge-table-body-center-bg: #101010;
|
|
94
|
-
--ge-table-body-east-bg: #101010;
|
|
95
|
-
--ge-table-body-west-text: #b6b4b4;
|
|
96
|
-
--ge-table-body-center-text: #b6b4b4;
|
|
97
|
-
--ge-table-body-east-text: #b6b4b4;
|
|
98
|
-
--ge-table-body-west-horizontal-border: oklch(100% 0 0 / 0%);
|
|
99
|
-
--ge-table-body-west-vertical-border: oklch(100% 0 0 / 0%);
|
|
100
|
-
--ge-table-body-center-horizontal-border: oklch(100% 0 0 / 0%);
|
|
101
|
-
--ge-table-body-center-vertical-border: oklch(100% 0 0 / 0%);
|
|
102
|
-
--ge-table-body-east-horizontal-border: oklch(100% 0 0 / 0%);
|
|
103
|
-
--ge-table-body-east-vertical-border: oklch(100% 0 0 / 0%);
|
|
104
|
-
--ge-table-body-west-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
|
|
105
|
-
--ge-table-body-center-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
|
|
106
|
-
--ge-table-body-east-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
|
|
107
|
-
--ge-table-body-west-selected-range-text: #f00032;
|
|
108
|
-
--ge-table-body-center-selected-range-text: #f00032;
|
|
109
|
-
--ge-table-body-east-selected-range-text: #f00032;
|
|
110
|
-
--ge-table-footer-west-bg: #101010;
|
|
111
|
-
--ge-table-footer-center-bg: #101010;
|
|
112
|
-
--ge-table-footer-east-bg: #101010;
|
|
113
|
-
--ge-table-footer-west-text: oklch(100% 0 0);
|
|
114
|
-
--ge-table-footer-center-text: oklch(100% 0 0);
|
|
115
|
-
--ge-table-footer-east-text: oklch(100% 0 0);
|
|
116
|
-
--ge-table-footer-west-horizontal-border: oklch(100% 0 0 / 0%);
|
|
117
|
-
--ge-table-footer-west-vertical-border: oklch(100% 0 0 / 0%);
|
|
118
|
-
--ge-table-footer-center-horizontal-border: oklch(100% 0 0 / 0%);
|
|
119
|
-
--ge-table-footer-center-vertical-border: oklch(100% 0 0 / 0%);
|
|
120
|
-
--ge-table-footer-east-horizontal-border: oklch(100% 0 0 / 0%);
|
|
121
|
-
--ge-table-footer-east-vertical-border: oklch(100% 0 0 / 0%);
|
|
122
|
-
--ge-table-border: oklch(100% 0 0 / 0%);
|
|
123
|
-
--ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
|
|
124
|
-
--ge-table-row-even-bg: oklch(100% 0 0 / 0%);
|
|
125
|
-
--ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
|
|
126
|
-
--ge-table-column-even-bg: oklch(100% 0 0 / 0%);
|
|
127
|
-
--ge-table-hover-column-bg: oklch(34% 0.25 3.6 / 27%);
|
|
128
|
-
--ge-table-hover-row-bg: oklch(34% 0.25 3.6 / 27%);
|
|
129
|
-
--ge-table-focus-border: oklch(40% 0.25 3.6);
|
|
130
|
-
--ge-table-color-error-text: oklch(65% 0.31 43.2);
|
|
131
|
-
--ge-table-tree-arrow-collapsed-color: #e00034;
|
|
132
|
-
--ge-table-column-resize-handle-border: oklch(63% 0.31 43.2);
|
|
133
|
-
--ge-table-dragged-col-div-bg: #2c2e33;
|
|
134
|
-
--ge-table-drop-zone-bg: #101010;
|
|
135
|
-
}`,paper:`html[data-theme="paper"] {
|
|
136
|
-
--ge-table-bg: #e7e5df;
|
|
137
|
-
--ge-table-header-west-bg: oklch(80% 0.02 99 / 48%);
|
|
138
|
-
--ge-table-header-center-bg: oklch(80% 0.02 99 / 48%);
|
|
139
|
-
--ge-table-header-east-bg: oklch(80% 0.02 99 / 48%);
|
|
140
|
-
--ge-table-header-west-text: #111;
|
|
141
|
-
--ge-table-header-center-text: #111;
|
|
142
|
-
--ge-table-header-east-text: #111;
|
|
143
|
-
--ge-table-header-west-horizontal-border: oklch(100% 0 0 / 0%);
|
|
144
|
-
--ge-table-header-west-vertical-border: oklch(100% 0 0 / 0%);
|
|
145
|
-
--ge-table-header-center-horizontal-border: oklch(100% 0 0 / 0%);
|
|
146
|
-
--ge-table-header-center-vertical-border: oklch(100% 0 0 / 0%);
|
|
147
|
-
--ge-table-header-east-horizontal-border: oklch(100% 0 0 / 0%);
|
|
148
|
-
--ge-table-header-east-vertical-border: oklch(100% 0 0 / 0%);
|
|
149
|
-
--ge-table-body-west-bg: oklch(80% 0.02 99 / 48%);
|
|
150
|
-
--ge-table-body-center-bg: #e7e5df;
|
|
151
|
-
--ge-table-body-east-bg: oklch(80% 0.02 99 / 48%);
|
|
152
|
-
--ge-table-body-west-text: #000;
|
|
153
|
-
--ge-table-body-center-text: #000;
|
|
154
|
-
--ge-table-body-east-text: #000;
|
|
155
|
-
--ge-table-body-west-horizontal-border: oklch(100% 0 0 / 0%);
|
|
156
|
-
--ge-table-body-west-vertical-border: oklch(100% 0 0 / 0%);
|
|
157
|
-
--ge-table-body-center-horizontal-border: oklch(100% 0 0 / 0%);
|
|
158
|
-
--ge-table-body-center-vertical-border: oklch(100% 0 0 / 0%);
|
|
159
|
-
--ge-table-body-east-horizontal-border: oklch(100% 0 0 / 0%);
|
|
160
|
-
--ge-table-body-east-vertical-border: oklch(100% 0 0 / 0%);
|
|
161
|
-
--ge-table-body-west-selected-range-bg: #cfcdc2;
|
|
162
|
-
--ge-table-body-center-selected-range-bg: #cfcdc2;
|
|
163
|
-
--ge-table-body-east-selected-range-bg: #cfcdc2;
|
|
164
|
-
--ge-table-body-west-selected-range-text: #000;
|
|
165
|
-
--ge-table-body-center-selected-range-text: #000;
|
|
166
|
-
--ge-table-body-east-selected-range-text: #000;
|
|
167
|
-
--ge-table-footer-west-bg: oklch(80% 0.02 99 / 48%);
|
|
168
|
-
--ge-table-footer-center-bg: oklch(80% 0.02 99 / 48%);
|
|
169
|
-
--ge-table-footer-east-bg: oklch(80% 0.02 99 / 48%);
|
|
170
|
-
--ge-table-footer-west-text: #111;
|
|
171
|
-
--ge-table-footer-center-text: #111;
|
|
172
|
-
--ge-table-footer-east-text: #111;
|
|
173
|
-
--ge-table-footer-west-horizontal-border: oklch(100% 0 0 / 0%);
|
|
174
|
-
--ge-table-footer-west-vertical-border: oklch(100% 0 0 / 0%);
|
|
175
|
-
--ge-table-footer-center-horizontal-border: oklch(100% 0 0 / 0%);
|
|
176
|
-
--ge-table-footer-center-vertical-border: oklch(100% 0 0 / 0%);
|
|
177
|
-
--ge-table-footer-east-horizontal-border: oklch(100% 0 0 / 0%);
|
|
178
|
-
--ge-table-footer-east-vertical-border: oklch(100% 0 0 / 0%);
|
|
179
|
-
--ge-table-border: oklch(100% 0 0 / 0%);
|
|
180
|
-
--ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
|
|
181
|
-
--ge-table-row-even-bg: oklch(100% 0 0 / 0%);
|
|
182
|
-
--ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
|
|
183
|
-
--ge-table-column-even-bg: oklch(100% 0 0 / 0%);
|
|
184
|
-
--ge-table-hover-column-bg: oklch(5% 0.2 266.40000000000003 / 9%);
|
|
185
|
-
--ge-table-hover-row-bg: oklch(5% 0.2 266.40000000000003 / 9%);
|
|
186
|
-
--ge-table-focus-border: oklch(100% 0.19 205.20000000000002);
|
|
187
|
-
--ge-table-color-error-text: oklch(45% 0.25 43.2);
|
|
188
|
-
--ge-table-tree-arrow-collapsed-color: #e00034;
|
|
189
|
-
--ge-table-column-resize-handle-border: oklch(100% 0.19 205.20000000000002 / 71%);
|
|
190
|
-
--ge-table-dragged-col-div-bg: #2c2e33;
|
|
191
|
-
--ge-table-drop-zone-bg: #e7e5df;
|
|
192
|
-
}`,blackboard:`html[data-theme="dark"] {
|
|
193
|
-
--ge-table-bg: #0c1021;
|
|
194
|
-
--ge-table-header-west-bg: #0c1021;
|
|
195
|
-
--ge-table-header-center-bg: #0c1021;
|
|
196
|
-
--ge-table-header-east-bg: #0c1021;
|
|
197
|
-
--ge-table-header-west-text: #e0df85;
|
|
198
|
-
--ge-table-header-center-text: #e0df85;
|
|
199
|
-
--ge-table-header-east-text: #e0df85;
|
|
200
|
-
--ge-table-header-west-horizontal-border: transparent;
|
|
201
|
-
--ge-table-header-west-vertical-border: transparent;
|
|
202
|
-
--ge-table-header-center-horizontal-border: transparent;
|
|
203
|
-
--ge-table-header-center-vertical-border: transparent;
|
|
204
|
-
--ge-table-header-east-horizontal-border: transparent;
|
|
205
|
-
--ge-table-header-east-vertical-border: transparent;
|
|
206
|
-
--ge-table-body-west-bg: #0c1021;
|
|
207
|
-
--ge-table-body-center-bg: #0c1021;
|
|
208
|
-
--ge-table-body-east-bg: #0c1021;
|
|
209
|
-
--ge-table-body-west-text: #a7a7a7;
|
|
210
|
-
--ge-table-body-center-text: #a7a7a7;
|
|
211
|
-
--ge-table-body-east-text: #a7a7a7;
|
|
212
|
-
--ge-table-body-west-horizontal-border: transparent;
|
|
213
|
-
--ge-table-body-west-vertical-border: transparent;
|
|
214
|
-
--ge-table-body-center-horizontal-border: transparent;
|
|
215
|
-
--ge-table-body-center-vertical-border: transparent;
|
|
216
|
-
--ge-table-body-east-horizontal-border: transparent;
|
|
217
|
-
--ge-table-body-east-vertical-border: transparent;
|
|
218
|
-
--ge-table-body-west-selected-range-bg: #758129;
|
|
219
|
-
--ge-table-body-center-selected-range-bg: #758129;
|
|
220
|
-
--ge-table-body-east-selected-range-bg: #758129;
|
|
221
|
-
--ge-table-body-west-selected-range-text: oklch(100% 0 0);
|
|
222
|
-
--ge-table-body-center-selected-range-text: oklch(100% 0 0);
|
|
223
|
-
--ge-table-body-east-selected-range-text: oklch(100% 0 0);
|
|
224
|
-
--ge-table-footer-west-bg: #0c1021;
|
|
225
|
-
--ge-table-footer-center-bg: #0c1021;
|
|
226
|
-
--ge-table-footer-east-bg: #0c1021;
|
|
227
|
-
--ge-table-footer-west-text: #e0df85;
|
|
228
|
-
--ge-table-footer-center-text: #e0df85;
|
|
229
|
-
--ge-table-footer-east-text: #e0df85;
|
|
230
|
-
--ge-table-footer-west-horizontal-border: transparent;
|
|
231
|
-
--ge-table-footer-west-vertical-border: transparent;
|
|
232
|
-
--ge-table-footer-center-horizontal-border: transparent;
|
|
233
|
-
--ge-table-footer-center-vertical-border: otransparent;
|
|
234
|
-
--ge-table-footer-east-horizontal-border: transparent;
|
|
235
|
-
--ge-table-footer-east-vertical-border: transparent;
|
|
236
|
-
--ge-table-border: oklch(0% 0 0);
|
|
237
|
-
--ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
|
|
238
|
-
--ge-table-row-even-bg: oklch(100% 0 0 / 0%);
|
|
239
|
-
--ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
|
|
240
|
-
--ge-table-column-even-bg: oklch(100% 0 0 / 0%);
|
|
241
|
-
--ge-table-hover-column-bg: #a9a9a9;
|
|
242
|
-
--ge-table-hover-row-bg: #a9a9a9;
|
|
243
|
-
--ge-table-focus-border: #e1ff00;
|
|
244
|
-
--ge-table-color-error-text: #ff0040;
|
|
245
|
-
--ge-table-tree-arrow-collapsed-color: #e00034;
|
|
246
|
-
--ge-table-column-resize-handle-border: oklch(0% 0 0);
|
|
247
|
-
--ge-table-dragged-col-div-bg: #2c2e33;
|
|
248
|
-
--ge-table-drop-zone-bg: #758129;
|
|
249
|
-
}`};let o1=Bm;const jm=class jm{constructor(c=new C1){this.headerGroupOptions=c}render(c,p,m,E,x,S,P){const A=S!=null&&S.data?S.data:"";if(S){const{toggle:F,visibility:q,closed:X}=S,J=F?jm.toggleHeaderGroup:"";this.addText(c,E,p,m,A,J),F&&q!=="always"&&this.addArrowDiv(P,c,!X,p,m,E,J)}else this.addText(c,E,p,m,A,"")}addText(c,p,m,E,x,S){c.innerHTML=`<span
|
|
250
|
-
data-ge-action="${S}"
|
|
251
|
-
data-area="${p}"
|
|
252
|
-
data-row-index="${m}"
|
|
253
|
-
data-col-index="${E}"
|
|
254
|
-
>${x}</span>`}addArrowDiv(c,p,m=!0,E=-1,x=-1,S="header",P){const A=c.createElement("div");c.addClass(A,"ge-table-toggle-icon-div"),c.setStyle(A,"display","inline-block"),c.setStyle(A,"position",""),c.setStyle(A,"width","20px"),c.setStyle(A,"background","transparent"),c.setStyle(A,"cursor","pointer"),c.setAttribute(A,"data-row-index",`${E}`),c.setAttribute(A,"data-col-index",`${x}`),c.setAttribute(A,"data-area",`${S}`),c.setAttribute(A,"data-ge-action",`${P}`);let F;m?F=this.headerGroupOptions.iconExpanded:F=this.headerGroupOptions.iconCollapsed;const q=F.content,X=c.createText(q);c.appendChild(A,X),F.style&&this.applyStyleString(c,A,F.style);for(const J of F.classes)c.addClass(A,J);return c.appendChild(p,A),A}applyStyleString(c,p,m){const E=m.split(";").map(x=>x.trim()).filter(x=>x);for(const x of E){const[S,P]=x.split(":");c.setStyle(p,S.trim(),P.trim())}}};jm.toggleHeaderGroup="toggleHeaderGroup";let u1=jm;class Vk extends i1.Component{constructor(p){super(p);a1(this,"ref",i1.createRef())}componentDidMount(){const p=this.ref.current;this.initTable(p,this.props)}componentWillUnmount(){}initTable(p,m){const E={onSelectionChanged(S){m.selectionChanged&&m.selectionChanged(S)},onFocusChanged(S){m.focusChanged&&m.focusChanged(S)},onCheckboxChanged:S=>{m.checkboxChanged&&m.checkboxChanged(S)},onContextmenu:S=>{m.contextmenu&&m.contextmenu(S)},onModelChanged:S=>{m.modelChanged&&m.modelChanged(S)},onMouseClicked:S=>{m.mouseClicked&&m.mouseClicked(S)},onMouseDragging:S=>{m.mouseDragging&&m.mouseDragging(S)},onMouseDraggingEnd:S=>{m.mouseDraggingEnd&&m.mouseDraggingEnd(S)},onMouseMoved:S=>{}},x=new w0(p,m.tableModel,new b1,m.tableOptions??new E1,E);x.firstInit(),m.tableReady&&m.tableReady(x.getApi()),m.licenseKey&&Ws.getInstance().setLicenseKey(m.licenseKey)}render(){return hk.jsx("div",{ref:this.ref,className:"container-div",style:{width:"100%",height:"100%",backgroundColor:"transparent",padding:"0",margin:"0"}})}}var g0={exports:{}},Ra={},Um={exports:{}},Kp={exports:{}};/**
|
|
255
|
-
* @license React
|
|
256
|
-
* react.development.js
|
|
257
|
-
*
|
|
258
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
259
|
-
*
|
|
260
|
-
* This source code is licensed under the MIT license found in the
|
|
261
|
-
* LICENSE file in the root directory of this source tree.
|
|
262
|
-
*/Kp.exports;var s1;function Bk(){return s1||(s1=1,function(G,c){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 p="18.2.0",m=Symbol.for("react.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),F=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),ce=Symbol.iterator,ke="@@iterator";function Ze(y){if(y===null||typeof y!="object")return null;var T=ce&&y[ce]||y[ke];return typeof T=="function"?T:null}var Te={current:null},He={transition:null},fe={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Ee={current:null},Le={},lt=null;function Tt(y){lt=y}Le.setExtraStackFrame=function(y){lt=y},Le.getCurrentStack=null,Le.getStackAddendum=function(){var y="";lt&&(y+=lt);var T=Le.getCurrentStack;return T&&(y+=T()||""),y};var Dt=!1,gt=!1,un=!1,_e=!1,dt=!1,qt={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:He,ReactCurrentOwner:Ee};qt.ReactDebugCurrentFrame=Le,qt.ReactCurrentActQueue=fe;function kt(y){{for(var T=arguments.length,V=new Array(T>1?T-1:0),$=1;$<T;$++)V[$-1]=arguments[$];le("warn",y,V)}}function Me(y){{for(var T=arguments.length,V=new Array(T>1?T-1:0),$=1;$<T;$++)V[$-1]=arguments[$];le("error",y,V)}}function le(y,T,V){{var $=qt.ReactDebugCurrentFrame,ae=$.getStackAddendum();ae!==""&&(T+="%s",V=V.concat([ae]));var Pe=V.map(function(pe){return String(pe)});Pe.unshift("Warning: "+T),Function.prototype.apply.call(console[y],console,Pe)}}var ze={};function D(y,T){{var V=y.constructor,$=V&&(V.displayName||V.name)||"ReactClass",ae=$+"."+T;if(ze[ae])return;Me("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.",T,$),ze[ae]=!0}}var K={isMounted:function(y){return!1},enqueueForceUpdate:function(y,T,V){D(y,"forceUpdate")},enqueueReplaceState:function(y,T,V,$){D(y,"replaceState")},enqueueSetState:function(y,T,V,$){D(y,"setState")}},ye=Object.assign,Je={};Object.freeze(Je);function Ye(y,T,V){this.props=y,this.context=T,this.refs=Je,this.updater=V||K}Ye.prototype.isReactComponent={},Ye.prototype.setState=function(y,T){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,T,"setState")},Ye.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var bt={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)."]},ot=function(y,T){Object.defineProperty(Ye.prototype,y,{get:function(){kt("%s(...) is deprecated in plain JavaScript React classes. %s",T[0],T[1])}})};for(var Ct in bt)bt.hasOwnProperty(Ct)&&ot(Ct,bt[Ct])}function ct(){}ct.prototype=Ye.prototype;function Pt(y,T,V){this.props=y,this.context=T,this.refs=Je,this.updater=V||K}var fi=Pt.prototype=new ct;fi.constructor=Pt,ye(fi,Ye.prototype),fi.isPureReactComponent=!0;function br(){var y={current:null};return Object.seal(y),y}var Da=Array.isArray;function hn(y){return Da(y)}function Zn(y){{var T=typeof Symbol=="function"&&Symbol.toStringTag,V=T&&y[Symbol.toStringTag]||y.constructor.name||"Object";return V}}function Cr(y){try{return Er(y),!1}catch{return!0}}function Er(y){return""+y}function Mn(y){if(Cr(y))return Me("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zn(y)),Er(y)}function ka(y,T,V){var $=y.displayName;if($)return $;var ae=T.displayName||T.name||"";return ae!==""?V+"("+ae+")":V}function di(y){return y.displayName||"Context"}function Jn(y){if(y==null)return null;if(typeof y.tag=="number"&&Me("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case x:return"Fragment";case E:return"Portal";case P:return"Profiler";case S:return"StrictMode";case X:return"Suspense";case J:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case F:var T=y;return di(T)+".Consumer";case A:var V=y;return di(V._context)+".Provider";case q:return ka(y,y.render,"ForwardRef");case te:var $=y.displayName||null;return $!==null?$:Jn(y.type)||"Memo";case oe:{var ae=y,Pe=ae._payload,pe=ae._init;try{return Jn(pe(Pe))}catch{return null}}}return null}var wr=Object.prototype.hasOwnProperty,Wa={key:!0,ref:!0,__self:!0,__source:!0},xr,_a,Rr;Rr={};function Ma(y){if(wr.call(y,"ref")){var T=Object.getOwnPropertyDescriptor(y,"ref").get;if(T&&T.isReactWarning)return!1}return y.ref!==void 0}function Vn(y){if(wr.call(y,"key")){var T=Object.getOwnPropertyDescriptor(y,"key").get;if(T&&T.isReactWarning)return!1}return y.key!==void 0}function Wr(y,T){var V=function(){xr||(xr=!0,Me("%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)",T))};V.isReactWarning=!0,Object.defineProperty(y,"key",{get:V,configurable:!0})}function Ul(y,T){var V=function(){_a||(_a=!0,Me("%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)",T))};V.isReactWarning=!0,Object.defineProperty(y,"ref",{get:V,configurable:!0})}function Ya(y){if(typeof y.ref=="string"&&Ee.current&&y.__self&&Ee.current.stateNode!==y.__self){var T=Jn(Ee.current.type);Rr[T]||(Me('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',T,y.ref),Rr[T]=!0)}}var de=function(y,T,V,$,ae,Pe,pe){var Be={$$typeof:m,type:y,key:T,ref:V,props:pe,_owner:Pe};return Be._store={},Object.defineProperty(Be._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Be,"_self",{configurable:!1,enumerable:!1,writable:!1,value:$}),Object.defineProperty(Be,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ae}),Object.freeze&&(Object.freeze(Be.props),Object.freeze(Be)),Be};function Ue(y,T,V){var $,ae={},Pe=null,pe=null,Be=null,at=null;if(T!=null){Ma(T)&&(pe=T.ref,Ya(T)),Vn(T)&&(Mn(T.key),Pe=""+T.key),Be=T.__self===void 0?null:T.__self,at=T.__source===void 0?null:T.__source;for($ in T)wr.call(T,$)&&!Wa.hasOwnProperty($)&&(ae[$]=T[$])}var St=arguments.length-2;if(St===1)ae.children=V;else if(St>1){for(var Ht=Array(St),Nt=0;Nt<St;Nt++)Ht[Nt]=arguments[Nt+2];Object.freeze&&Object.freeze(Ht),ae.children=Ht}if(y&&y.defaultProps){var Vt=y.defaultProps;for($ in Vt)ae[$]===void 0&&(ae[$]=Vt[$])}if(Pe||pe){var It=typeof y=="function"?y.displayName||y.name||"Unknown":y;Pe&&Wr(ae,It),pe&&Ul(ae,It)}return de(y,Pe,pe,Be,at,Ee.current,ae)}function nt(y,T){var V=de(y.type,T,y.ref,y._self,y._source,y._owner,y.props);return V}function Lt(y,T,V){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var $,ae=ye({},y.props),Pe=y.key,pe=y.ref,Be=y._self,at=y._source,St=y._owner;if(T!=null){Ma(T)&&(pe=T.ref,St=Ee.current),Vn(T)&&(Mn(T.key),Pe=""+T.key);var Ht;y.type&&y.type.defaultProps&&(Ht=y.type.defaultProps);for($ in T)wr.call(T,$)&&!Wa.hasOwnProperty($)&&(T[$]===void 0&&Ht!==void 0?ae[$]=Ht[$]:ae[$]=T[$])}var Nt=arguments.length-2;if(Nt===1)ae.children=V;else if(Nt>1){for(var Vt=Array(Nt),It=0;It<Nt;It++)Vt[It]=arguments[It+2];ae.children=Vt}return de(y.type,Pe,pe,Be,at,St,ae)}function zt(y){return typeof y=="object"&&y!==null&&y.$$typeof===m}var wn=".",vn=":";function Tr(y){var T=/[=:]/g,V={"=":"=0",":":"=2"},$=y.replace(T,function(ae){return V[ae]});return"$"+$}var Wt=!1,aa=/\/+/g;function tn(y){return y.replace(aa,"$&/")}function $t(y,T){return typeof y=="object"&&y!==null&&y.key!=null?(Mn(y.key),Tr(""+y.key)):T.toString(36)}function Fl(y,T,V,$,ae){var Pe=typeof y;(Pe==="undefined"||Pe==="boolean")&&(y=null);var pe=!1;if(y===null)pe=!0;else switch(Pe){case"string":case"number":pe=!0;break;case"object":switch(y.$$typeof){case m:case E:pe=!0}}if(pe){var Be=y,at=ae(Be),St=$===""?wn+$t(Be,0):$;if(hn(at)){var Ht="";St!=null&&(Ht=tn(St)+"/"),Fl(at,T,Ht,"",function(If){return If})}else at!=null&&(zt(at)&&(at.key&&(!Be||Be.key!==at.key)&&Mn(at.key),at=nt(at,V+(at.key&&(!Be||Be.key!==at.key)?tn(""+at.key)+"/":"")+St)),T.push(at));return 1}var Nt,Vt,It=0,ft=$===""?wn:$+vn;if(hn(y))for(var mi=0;mi<y.length;mi++)Nt=y[mi],Vt=ft+$t(Nt,mi),It+=Fl(Nt,T,V,Vt,ae);else{var Io=Ze(y);if(typeof Io=="function"){var Wu=y;Io===Wu.entries&&(Wt||kt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wt=!0);for(var $f=Io.call(Wu),Ua,Yu=0;!(Ua=$f.next()).done;)Nt=Ua.value,Vt=ft+$t(Nt,Yu++),It+=Fl(Nt,T,V,Vt,ae)}else if(Pe==="object"){var Gu=String(y);throw new Error("Objects are not valid as a React child (found: "+(Gu==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Gu)+"). If you meant to render a collection of children, use an array instead.")}}return It}function pi(y,T,V){if(y==null)return y;var $=[],ae=0;return Fl(y,$,"","",function(Pe){return T.call(V,Pe,ae++)}),$}function Oo(y){var T=0;return pi(y,function(){T++}),T}function Ys(y,T,V){pi(y,function(){T.apply(this,arguments)},V)}function Gs(y){return pi(y,function(T){return T})||[]}function Ao(y){if(!zt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function Hu(y){var T={$$typeof:F,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};T.Provider={$$typeof:A,_context:T};var V=!1,$=!1,ae=!1;{var Pe={$$typeof:F,_context:T};Object.defineProperties(Pe,{Provider:{get:function(){return $||($=!0,Me("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),T.Provider},set:function(pe){T.Provider=pe}},_currentValue:{get:function(){return T._currentValue},set:function(pe){T._currentValue=pe}},_currentValue2:{get:function(){return T._currentValue2},set:function(pe){T._currentValue2=pe}},_threadCount:{get:function(){return T._threadCount},set:function(pe){T._threadCount=pe}},Consumer:{get:function(){return V||(V=!0,Me("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),T.Consumer}},displayName:{get:function(){return T.displayName},set:function(pe){ae||(kt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",pe),ae=!0)}}}),T.Consumer=Pe}return T._currentRenderer=null,T._currentRenderer2=null,T}var Oa=-1,$i=0,Ga=1,Ii=2;function Yr(y){if(y._status===Oa){var T=y._result,V=T();if(V.then(function(Pe){if(y._status===$i||y._status===Oa){var pe=y;pe._status=Ga,pe._result=Pe}},function(Pe){if(y._status===$i||y._status===Oa){var pe=y;pe._status=Ii,pe._result=Pe}}),y._status===Oa){var $=y;$._status=$i,$._result=V}}if(y._status===Ga){var ae=y._result;return ae===void 0&&Me(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
263
|
-
|
|
264
|
-
Your code should look like:
|
|
265
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
266
|
-
|
|
267
|
-
Did you accidentally put curly braces around the import?`,ae),"default"in ae||Me(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
268
|
-
|
|
269
|
-
Your code should look like:
|
|
270
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,ae),ae.default}else throw y._result}function Aa(y){var T={_status:Oa,_result:y},V={$$typeof:oe,_payload:T,_init:Yr};{var $,ae;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return $},set:function(Pe){Me("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."),$=Pe,Object.defineProperty(V,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ae},set:function(Pe){Me("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."),ae=Pe,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function Wi(y){y!=null&&y.$$typeof===te?Me("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof y!="function"?Me("forwardRef requires a render function but was given %s.",y===null?"null":typeof y):y.length!==0&&y.length!==2&&Me("forwardRef render functions accept exactly two parameters: props and ref. %s",y.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),y!=null&&(y.defaultProps!=null||y.propTypes!=null)&&Me("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var T={$$typeof:q,render:y};{var V;Object.defineProperty(T,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function($){V=$,!y.name&&!y.displayName&&(y.displayName=$)}})}return T}var Yi;Yi=Symbol.for("react.module.reference");function Lo(y){return!!(typeof y=="string"||typeof y=="function"||y===x||y===P||dt||y===S||y===X||y===J||_e||y===ge||Dt||gt||un||typeof y=="object"&&y!==null&&(y.$$typeof===oe||y.$$typeof===te||y.$$typeof===A||y.$$typeof===F||y.$$typeof===q||y.$$typeof===Yi||y.getModuleId!==void 0))}function Vu(y,T){Lo(y)||Me("memo: The first argument must be a component. Instead received: %s",y===null?"null":typeof y);var V={$$typeof:te,type:y,compare:T===void 0?null:T};{var $;Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return $},set:function(ae){$=ae,!y.name&&!y.displayName&&(y.displayName=ae)}})}return V}function sn(){var y=Te.current;return y===null&&Me(`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:
|
|
271
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
272
|
-
2. You might be breaking the Rules of Hooks
|
|
273
|
-
3. You might have more than one copy of React in the same app
|
|
274
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}function ia(y){var T=sn();if(y._context!==void 0){var V=y._context;V.Consumer===y?Me("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):V.Provider===y&&Me("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return T.useContext(y)}function Hl(y){var T=sn();return T.useState(y)}function Gi(y,T,V){var $=sn();return $.useReducer(y,T,V)}function Bn(y){var T=sn();return T.useRef(y)}function Qs(y,T){var V=sn();return V.useEffect(y,T)}function Xs(y,T){var V=sn();return V.useInsertionEffect(y,T)}function Bu(y,T){var V=sn();return V.useLayoutEffect(y,T)}function Ks(y,T){var V=sn();return V.useCallback(y,T)}function Vf(y,T){var V=sn();return V.useMemo(y,T)}function Bf(y,T,V){var $=sn();return $.useImperativeHandle(y,T,V)}function Zt(y,T){{var V=sn();return V.useDebugValue(y,T)}}function jf(){var y=sn();return y.useTransition()}function La(y){var T=sn();return T.useDeferredValue(y)}function rt(){var y=sn();return y.useId()}function Qa(y,T,V){var $=sn();return $.useSyncExternalStore(y,T,V)}var Qi=0,No,Xi,Dr,ju,or,Pu,$u;function qs(){}qs.__reactDisabledLog=!0;function zo(){{if(Qi===0){No=console.log,Xi=console.info,Dr=console.warn,ju=console.error,or=console.group,Pu=console.groupCollapsed,$u=console.groupEnd;var y={configurable:!0,enumerable:!0,value:qs,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}Qi++}}function Ki(){{if(Qi--,Qi===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ye({},y,{value:No}),info:ye({},y,{value:Xi}),warn:ye({},y,{value:Dr}),error:ye({},y,{value:ju}),group:ye({},y,{value:or}),groupCollapsed:ye({},y,{value:Pu}),groupEnd:ye({},y,{value:$u})})}Qi<0&&Me("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Na=qt.ReactCurrentDispatcher,ur;function qi(y,T,V){{if(ur===void 0)try{throw Error()}catch(ae){var $=ae.stack.trim().match(/\n( *(at )?)/);ur=$&&$[1]||""}return`
|
|
275
|
-
`+ur+y}}var Zi=!1,Ji;{var Uo=typeof WeakMap=="function"?WeakMap:Map;Ji=new Uo}function Fo(y,T){if(!y||Zi)return"";{var V=Ji.get(y);if(V!==void 0)return V}var $;Zi=!0;var ae=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Pe;Pe=Na.current,Na.current=null,zo();try{if(T){var pe=function(){throw Error()};if(Object.defineProperty(pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(pe,[])}catch(ft){$=ft}Reflect.construct(y,[],pe)}else{try{pe.call()}catch(ft){$=ft}y.call(pe.prototype)}}else{try{throw Error()}catch(ft){$=ft}y()}}catch(ft){if(ft&&$&&typeof ft.stack=="string"){for(var Be=ft.stack.split(`
|
|
276
|
-
`),at=$.stack.split(`
|
|
277
|
-
`),St=Be.length-1,Ht=at.length-1;St>=1&&Ht>=0&&Be[St]!==at[Ht];)Ht--;for(;St>=1&&Ht>=0;St--,Ht--)if(Be[St]!==at[Ht]){if(St!==1||Ht!==1)do if(St--,Ht--,Ht<0||Be[St]!==at[Ht]){var Nt=`
|
|
278
|
-
`+Be[St].replace(" at new "," at ");return y.displayName&&Nt.includes("<anonymous>")&&(Nt=Nt.replace("<anonymous>",y.displayName)),typeof y=="function"&&Ji.set(y,Nt),Nt}while(St>=1&&Ht>=0);break}}}finally{Zi=!1,Na.current=Pe,Ki(),Error.prepareStackTrace=ae}var Vt=y?y.displayName||y.name:"",It=Vt?qi(Vt):"";return typeof y=="function"&&Ji.set(y,It),It}function hi(y,T,V){return Fo(y,!1)}function Pf(y){var T=y.prototype;return!!(T&&T.isReactComponent)}function Xa(y,T,V){if(y==null)return"";if(typeof y=="function")return Fo(y,Pf(y));if(typeof y=="string")return qi(y);switch(y){case X:return qi("Suspense");case J:return qi("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case q:return hi(y.render);case te:return Xa(y.type,T,V);case oe:{var $=y,ae=$._payload,Pe=$._init;try{return Xa(Pe(ae),T,V)}catch{}}}return""}var wt={},Ho=qt.ReactDebugCurrentFrame;function Vl(y){if(y){var T=y._owner,V=Xa(y.type,y._source,T?T.type:null);Ho.setExtraStackFrame(V)}else Ho.setExtraStackFrame(null)}function Vo(y,T,V,$,ae){{var Pe=Function.call.bind(wr);for(var pe in y)if(Pe(y,pe)){var Be=void 0;try{if(typeof y[pe]!="function"){var at=Error(($||"React class")+": "+V+" type `"+pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[pe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw at.name="Invariant Violation",at}Be=y[pe](T,pe,$,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(St){Be=St}Be&&!(Be instanceof Error)&&(Vl(ae),Me("%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).",$||"React class",V,pe,typeof Be),Vl(null)),Be instanceof Error&&!(Be.message in wt)&&(wt[Be.message]=!0,Vl(ae),Me("Failed %s type: %s",V,Be.message),Vl(null))}}}function yt(y){if(y){var T=y._owner,V=Xa(y.type,y._source,T?T.type:null);Tt(V)}else Tt(null)}var Bo;Bo=!1;function jo(){if(Ee.current){var y=Jn(Ee.current.type);if(y)return`
|
|
279
|
-
|
|
280
|
-
Check the render method of \``+y+"`."}return""}function Xe(y){if(y!==void 0){var T=y.fileName.replace(/^.*[\\\/]/,""),V=y.lineNumber;return`
|
|
281
|
-
|
|
282
|
-
Check your code at `+T+":"+V+"."}return""}function Bl(y){return y!=null?Xe(y.__source):""}var nn={};function kr(y){var T=jo();if(!T){var V=typeof y=="string"?y:y.displayName||y.name;V&&(T=`
|
|
283
|
-
|
|
284
|
-
Check the top-level render call using <`+V+">.")}return T}function sr(y,T){if(!(!y._store||y._store.validated||y.key!=null)){y._store.validated=!0;var V=kr(T);if(!nn[V]){nn[V]=!0;var $="";y&&y._owner&&y._owner!==Ee.current&&($=" It was passed a child from "+Jn(y._owner.type)+"."),yt(y),Me('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,$),yt(null)}}}function el(y,T){if(typeof y=="object"){if(hn(y))for(var V=0;V<y.length;V++){var $=y[V];zt($)&&sr($,T)}else if(zt(y))y._store&&(y._store.validated=!0);else if(y){var ae=Ze(y);if(typeof ae=="function"&&ae!==y.entries)for(var Pe=ae.call(y),pe;!(pe=Pe.next()).done;)zt(pe.value)&&sr(pe.value,T)}}}function cn(y){{var T=y.type;if(T==null||typeof T=="string")return;var V;if(typeof T=="function")V=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===q||T.$$typeof===te))V=T.propTypes;else return;if(V){var $=Jn(T);Vo(V,y.props,"prop",$,y)}else if(T.PropTypes!==void 0&&!Bo){Bo=!0;var ae=Jn(T);Me("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ae||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&Me("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mt(y){{for(var T=Object.keys(y.props),V=0;V<T.length;V++){var $=T[V];if($!=="children"&&$!=="key"){yt(y),Me("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",$),yt(null);break}}y.ref!==null&&(yt(y),Me("Invalid attribute `ref` supplied to `React.Fragment`."),yt(null))}}function Zs(y,T,V){var $=Lo(y);if(!$){var ae="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(ae+=" 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 Pe=Bl(T);Pe?ae+=Pe:ae+=jo();var pe;y===null?pe="null":hn(y)?pe="array":y!==void 0&&y.$$typeof===m?(pe="<"+(Jn(y.type)||"Unknown")+" />",ae=" Did you accidentally export a JSX literal instead of a component?"):pe=typeof y,Me("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",pe,ae)}var Be=Ue.apply(this,arguments);if(Be==null)return Be;if($)for(var at=2;at<arguments.length;at++)el(arguments[at],y);return y===x?Mt(Be):cn(Be),Be}var _r=!1;function On(y){var T=Zs.bind(null,y);return T.type=y,_r||(_r=!0,kt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(T,"type",{enumerable:!1,get:function(){return kt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:y}),y}}),T}function Ka(y,T,V){for(var $=Lt.apply(this,arguments),ae=2;ae<arguments.length;ae++)el(arguments[ae],$.type);return cn($),$}function Js(y,T){var V=He.transition;He.transition={};var $=He.transition;He.transition._updatedFibers=new Set;try{y()}finally{if(He.transition=V,V===null&&$._updatedFibers){var ae=$._updatedFibers.size;ae>10&&kt("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."),$._updatedFibers.clear()}}}var vi=!1,tl=null;function ec(y){if(tl===null)try{var T=("require"+Math.random()).slice(0,7),V=G&&G[T];tl=V.call(G,"timers").setImmediate}catch{tl=function(ae){vi===!1&&(vi=!0,typeof MessageChannel>"u"&&Me("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Pe=new MessageChannel;Pe.port1.onmessage=ae,Pe.port2.postMessage(void 0)}}return tl(y)}var la=0,nl=!1;function rl(y){{var T=la;la++,fe.current===null&&(fe.current=[]);var V=fe.isBatchingLegacy,$;try{if(fe.isBatchingLegacy=!0,$=y(),!V&&fe.didScheduleLegacyUpdate){var ae=fe.current;ae!==null&&(fe.didScheduleLegacyUpdate=!1,il(ae))}}catch(Vt){throw oa(T),Vt}finally{fe.isBatchingLegacy=V}if($!==null&&typeof $=="object"&&typeof $.then=="function"){var Pe=$,pe=!1,Be={then:function(Vt,It){pe=!0,Pe.then(function(ft){oa(T),la===0?Po(ft,Vt,It):Vt(ft)},function(ft){oa(T),It(ft)})}};return!nl&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){pe||(nl=!0,Me("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),Be}else{var at=$;if(oa(T),la===0){var St=fe.current;St!==null&&(il(St),fe.current=null);var Ht={then:function(Vt,It){fe.current===null?(fe.current=[],Po(at,Vt,It)):Vt(at)}};return Ht}else{var Nt={then:function(Vt,It){Vt(at)}};return Nt}}}}function oa(y){y!==la-1&&Me("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),la=y}function Po(y,T,V){{var $=fe.current;if($!==null)try{il($),ec(function(){$.length===0?(fe.current=null,T(y)):Po(y,T,V)})}catch(ae){V(ae)}else T(y)}}var al=!1;function il(y){if(!al){al=!0;var T=0;try{for(;T<y.length;T++){var V=y[T];do V=V(!0);while(V!==null)}y.length=0}catch($){throw y=y.slice(T+1),$}finally{al=!1}}}var jl=Zs,$o=Ka,Iu=On,za={map:pi,forEach:Ys,count:Oo,toArray:Gs,only:Ao};c.Children=za,c.Component=Ye,c.Fragment=x,c.Profiler=P,c.PureComponent=Pt,c.StrictMode=S,c.Suspense=X,c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qt,c.cloneElement=$o,c.createContext=Hu,c.createElement=jl,c.createFactory=Iu,c.createRef=br,c.forwardRef=Wi,c.isValidElement=zt,c.lazy=Aa,c.memo=Vu,c.startTransition=Js,c.unstable_act=rl,c.useCallback=Ks,c.useContext=ia,c.useDebugValue=Zt,c.useDeferredValue=La,c.useEffect=Qs,c.useId=rt,c.useImperativeHandle=Bf,c.useInsertionEffect=Xs,c.useLayoutEffect=Bu,c.useMemo=Vf,c.useReducer=Gi,c.useRef=Bn,c.useState=Hl,c.useSyncExternalStore=Qa,c.useTransition=jf,c.version=p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Kp,Kp.exports)),Kp.exports}var mt={};/**
|
|
285
|
-
* @license React
|
|
286
|
-
* react.production.min.js
|
|
287
|
-
*
|
|
288
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
289
|
-
*
|
|
290
|
-
* This source code is licensed under the MIT license found in the
|
|
291
|
-
* LICENSE file in the root directory of this source tree.
|
|
292
|
-
*/var c1;function jk(){if(c1)return mt;c1=1;var G=Symbol.for("react.element"),c=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),S=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),F=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),X=Symbol.iterator;function J(D){return D===null||typeof D!="object"?null:(D=X&&D[X]||D["@@iterator"],typeof D=="function"?D:null)}var te={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oe=Object.assign,ge={};function ce(D,K,ye){this.props=D,this.context=K,this.refs=ge,this.updater=ye||te}ce.prototype.isReactComponent={},ce.prototype.setState=function(D,K){if(typeof D!="object"&&typeof D!="function"&&D!=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,D,K,"setState")},ce.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function ke(){}ke.prototype=ce.prototype;function Ze(D,K,ye){this.props=D,this.context=K,this.refs=ge,this.updater=ye||te}var Te=Ze.prototype=new ke;Te.constructor=Ze,oe(Te,ce.prototype),Te.isPureReactComponent=!0;var He=Array.isArray,fe=Object.prototype.hasOwnProperty,Ee={current:null},Le={key:!0,ref:!0,__self:!0,__source:!0};function lt(D,K,ye){var Je,Ye={},bt=null,ot=null;if(K!=null)for(Je in K.ref!==void 0&&(ot=K.ref),K.key!==void 0&&(bt=""+K.key),K)fe.call(K,Je)&&!Le.hasOwnProperty(Je)&&(Ye[Je]=K[Je]);var Ct=arguments.length-2;if(Ct===1)Ye.children=ye;else if(1<Ct){for(var ct=Array(Ct),Pt=0;Pt<Ct;Pt++)ct[Pt]=arguments[Pt+2];Ye.children=ct}if(D&&D.defaultProps)for(Je in Ct=D.defaultProps,Ct)Ye[Je]===void 0&&(Ye[Je]=Ct[Je]);return{$$typeof:G,type:D,key:bt,ref:ot,props:Ye,_owner:Ee.current}}function Tt(D,K){return{$$typeof:G,type:D.type,key:K,ref:D.ref,props:D.props,_owner:D._owner}}function Dt(D){return typeof D=="object"&&D!==null&&D.$$typeof===G}function gt(D){var K={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(ye){return K[ye]})}var un=/\/+/g;function _e(D,K){return typeof D=="object"&&D!==null&&D.key!=null?gt(""+D.key):K.toString(36)}function dt(D,K,ye,Je,Ye){var bt=typeof D;(bt==="undefined"||bt==="boolean")&&(D=null);var ot=!1;if(D===null)ot=!0;else switch(bt){case"string":case"number":ot=!0;break;case"object":switch(D.$$typeof){case G:case c:ot=!0}}if(ot)return ot=D,Ye=Ye(ot),D=Je===""?"."+_e(ot,0):Je,He(Ye)?(ye="",D!=null&&(ye=D.replace(un,"$&/")+"/"),dt(Ye,K,ye,"",function(Pt){return Pt})):Ye!=null&&(Dt(Ye)&&(Ye=Tt(Ye,ye+(!Ye.key||ot&&ot.key===Ye.key?"":(""+Ye.key).replace(un,"$&/")+"/")+D)),K.push(Ye)),1;if(ot=0,Je=Je===""?".":Je+":",He(D))for(var Ct=0;Ct<D.length;Ct++){bt=D[Ct];var ct=Je+_e(bt,Ct);ot+=dt(bt,K,ye,ct,Ye)}else if(ct=J(D),typeof ct=="function")for(D=ct.call(D),Ct=0;!(bt=D.next()).done;)bt=bt.value,ct=Je+_e(bt,Ct++),ot+=dt(bt,K,ye,ct,Ye);else if(bt==="object")throw K=String(D),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.");return ot}function qt(D,K,ye){if(D==null)return D;var Je=[],Ye=0;return dt(D,Je,"","",function(bt){return K.call(ye,bt,Ye++)}),Je}function kt(D){if(D._status===-1){var K=D._result;K=K(),K.then(function(ye){(D._status===0||D._status===-1)&&(D._status=1,D._result=ye)},function(ye){(D._status===0||D._status===-1)&&(D._status=2,D._result=ye)}),D._status===-1&&(D._status=0,D._result=K)}if(D._status===1)return D._result.default;throw D._result}var Me={current:null},le={transition:null},ze={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:le,ReactCurrentOwner:Ee};return mt.Children={map:qt,forEach:function(D,K,ye){qt(D,function(){K.apply(this,arguments)},ye)},count:function(D){var K=0;return qt(D,function(){K++}),K},toArray:function(D){return qt(D,function(K){return K})||[]},only:function(D){if(!Dt(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},mt.Component=ce,mt.Fragment=p,mt.Profiler=E,mt.PureComponent=Ze,mt.StrictMode=m,mt.Suspense=A,mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ze,mt.cloneElement=function(D,K,ye){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var Je=oe({},D.props),Ye=D.key,bt=D.ref,ot=D._owner;if(K!=null){if(K.ref!==void 0&&(bt=K.ref,ot=Ee.current),K.key!==void 0&&(Ye=""+K.key),D.type&&D.type.defaultProps)var Ct=D.type.defaultProps;for(ct in K)fe.call(K,ct)&&!Le.hasOwnProperty(ct)&&(Je[ct]=K[ct]===void 0&&Ct!==void 0?Ct[ct]:K[ct])}var ct=arguments.length-2;if(ct===1)Je.children=ye;else if(1<ct){Ct=Array(ct);for(var Pt=0;Pt<ct;Pt++)Ct[Pt]=arguments[Pt+2];Je.children=Ct}return{$$typeof:G,type:D.type,key:Ye,ref:bt,props:Je,_owner:ot}},mt.createContext=function(D){return D={$$typeof:S,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:x,_context:D},D.Consumer=D},mt.createElement=lt,mt.createFactory=function(D){var K=lt.bind(null,D);return K.type=D,K},mt.createRef=function(){return{current:null}},mt.forwardRef=function(D){return{$$typeof:P,render:D}},mt.isValidElement=Dt,mt.lazy=function(D){return{$$typeof:q,_payload:{_status:-1,_result:D},_init:kt}},mt.memo=function(D,K){return{$$typeof:F,type:D,compare:K===void 0?null:K}},mt.startTransition=function(D){var K=le.transition;le.transition={};try{D()}finally{le.transition=K}},mt.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},mt.useCallback=function(D,K){return Me.current.useCallback(D,K)},mt.useContext=function(D){return Me.current.useContext(D)},mt.useDebugValue=function(){},mt.useDeferredValue=function(D){return Me.current.useDeferredValue(D)},mt.useEffect=function(D,K){return Me.current.useEffect(D,K)},mt.useId=function(){return Me.current.useId()},mt.useImperativeHandle=function(D,K,ye){return Me.current.useImperativeHandle(D,K,ye)},mt.useInsertionEffect=function(D,K){return Me.current.useInsertionEffect(D,K)},mt.useLayoutEffect=function(D,K){return Me.current.useLayoutEffect(D,K)},mt.useMemo=function(D,K){return Me.current.useMemo(D,K)},mt.useReducer=function(D,K,ye){return Me.current.useReducer(D,K,ye)},mt.useRef=function(D){return Me.current.useRef(D)},mt.useState=function(D){return Me.current.useState(D)},mt.useSyncExternalStore=function(D,K,ye){return Me.current.useSyncExternalStore(D,K,ye)},mt.useTransition=function(){return Me.current.useTransition()},mt.version="18.2.0",mt}var f1;function w1(){return f1||(f1=1,process.env.NODE_ENV==="production"?Um.exports=jk():Um.exports=Bk()),Um.exports}var Fm={exports:{}},p0={};/**
|
|
293
|
-
* @license React
|
|
294
|
-
* scheduler.development.js
|
|
295
|
-
*
|
|
296
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
297
|
-
*
|
|
298
|
-
* This source code is licensed under the MIT license found in the
|
|
299
|
-
* LICENSE file in the root directory of this source tree.
|
|
300
|
-
*/var d1;function Pk(){return d1||(d1=1,function(G){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 c=!1,p=!1,m=5;function E(de,Ue){var nt=de.length;de.push(Ue),P(de,Ue,nt)}function x(de){return de.length===0?null:de[0]}function S(de){if(de.length===0)return null;var Ue=de[0],nt=de.pop();return nt!==Ue&&(de[0]=nt,A(de,nt,0)),Ue}function P(de,Ue,nt){for(var Lt=nt;Lt>0;){var zt=Lt-1>>>1,wn=de[zt];if(F(wn,Ue)>0)de[zt]=Ue,de[Lt]=wn,Lt=zt;else return}}function A(de,Ue,nt){for(var Lt=nt,zt=de.length,wn=zt>>>1;Lt<wn;){var vn=(Lt+1)*2-1,Tr=de[vn],Wt=vn+1,aa=de[Wt];if(F(Tr,Ue)<0)Wt<zt&&F(aa,Tr)<0?(de[Lt]=aa,de[Wt]=Ue,Lt=Wt):(de[Lt]=Tr,de[vn]=Ue,Lt=vn);else if(Wt<zt&&F(aa,Ue)<0)de[Lt]=aa,de[Wt]=Ue,Lt=Wt;else return}}function F(de,Ue){var nt=de.sortIndex-Ue.sortIndex;return nt!==0?nt:de.id-Ue.id}var q=1,X=2,J=3,te=4,oe=5;function ge(de,Ue){}var ce=typeof performance=="object"&&typeof performance.now=="function";if(ce){var ke=performance;G.unstable_now=function(){return ke.now()}}else{var Ze=Date,Te=Ze.now();G.unstable_now=function(){return Ze.now()-Te}}var He=1073741823,fe=-1,Ee=250,Le=5e3,lt=1e4,Tt=He,Dt=[],gt=[],un=1,_e=null,dt=J,qt=!1,kt=!1,Me=!1,le=typeof setTimeout=="function"?setTimeout:null,ze=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function K(de){for(var Ue=x(gt);Ue!==null;){if(Ue.callback===null)S(gt);else if(Ue.startTime<=de)S(gt),Ue.sortIndex=Ue.expirationTime,E(Dt,Ue);else return;Ue=x(gt)}}function ye(de){if(Me=!1,K(de),!kt)if(x(Dt)!==null)kt=!0,Ma(Je);else{var Ue=x(gt);Ue!==null&&Vn(ye,Ue.startTime-de)}}function Je(de,Ue){kt=!1,Me&&(Me=!1,Wr()),qt=!0;var nt=dt;try{var Lt;if(!p)return Ye(de,Ue)}finally{_e=null,dt=nt,qt=!1}}function Ye(de,Ue){var nt=Ue;for(K(nt),_e=x(Dt);_e!==null&&!c&&!(_e.expirationTime>nt&&(!de||di()));){var Lt=_e.callback;if(typeof Lt=="function"){_e.callback=null,dt=_e.priorityLevel;var zt=_e.expirationTime<=nt,wn=Lt(zt);nt=G.unstable_now(),typeof wn=="function"?_e.callback=wn:_e===x(Dt)&&S(Dt),K(nt)}else S(Dt);_e=x(Dt)}if(_e!==null)return!0;var vn=x(gt);return vn!==null&&Vn(ye,vn.startTime-nt),!1}function bt(de,Ue){switch(de){case q:case X:case J:case te:case oe:break;default:de=J}var nt=dt;dt=de;try{return Ue()}finally{dt=nt}}function ot(de){var Ue;switch(dt){case q:case X:case J:Ue=J;break;default:Ue=dt;break}var nt=dt;dt=Ue;try{return de()}finally{dt=nt}}function Ct(de){var Ue=dt;return function(){var nt=dt;dt=Ue;try{return de.apply(this,arguments)}finally{dt=nt}}}function ct(de,Ue,nt){var Lt=G.unstable_now(),zt;if(typeof nt=="object"&&nt!==null){var wn=nt.delay;typeof wn=="number"&&wn>0?zt=Lt+wn:zt=Lt}else zt=Lt;var vn;switch(de){case q:vn=fe;break;case X:vn=Ee;break;case oe:vn=Tt;break;case te:vn=lt;break;case J:default:vn=Le;break}var Tr=zt+vn,Wt={id:un++,callback:Ue,priorityLevel:de,startTime:zt,expirationTime:Tr,sortIndex:-1};return zt>Lt?(Wt.sortIndex=zt,E(gt,Wt),x(Dt)===null&&Wt===x(gt)&&(Me?Wr():Me=!0,Vn(ye,zt-Lt))):(Wt.sortIndex=Tr,E(Dt,Wt),!kt&&!qt&&(kt=!0,Ma(Je))),Wt}function Pt(){}function fi(){!kt&&!qt&&(kt=!0,Ma(Je))}function br(){return x(Dt)}function Da(de){de.callback=null}function hn(){return dt}var Zn=!1,Cr=null,Er=-1,Mn=m,ka=-1;function di(){var de=G.unstable_now()-ka;return!(de<Mn)}function Jn(){}function wr(de){if(de<0||de>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}de>0?Mn=Math.floor(1e3/de):Mn=m}var Wa=function(){if(Cr!==null){var de=G.unstable_now();ka=de;var Ue=!0,nt=!0;try{nt=Cr(Ue,de)}finally{nt?xr():(Zn=!1,Cr=null)}}else Zn=!1},xr;if(typeof D=="function")xr=function(){D(Wa)};else if(typeof MessageChannel<"u"){var _a=new MessageChannel,Rr=_a.port2;_a.port1.onmessage=Wa,xr=function(){Rr.postMessage(null)}}else xr=function(){le(Wa,0)};function Ma(de){Cr=de,Zn||(Zn=!0,xr())}function Vn(de,Ue){Er=le(function(){de(G.unstable_now())},Ue)}function Wr(){ze(Er),Er=-1}var Ul=Jn,Ya=null;G.unstable_IdlePriority=oe,G.unstable_ImmediatePriority=q,G.unstable_LowPriority=te,G.unstable_NormalPriority=J,G.unstable_Profiling=Ya,G.unstable_UserBlockingPriority=X,G.unstable_cancelCallback=Da,G.unstable_continueExecution=fi,G.unstable_forceFrameRate=wr,G.unstable_getCurrentPriorityLevel=hn,G.unstable_getFirstCallbackNode=br,G.unstable_next=ot,G.unstable_pauseExecution=Pt,G.unstable_requestPaint=Ul,G.unstable_runWithPriority=bt,G.unstable_scheduleCallback=ct,G.unstable_shouldYield=di,G.unstable_wrapCallback=Ct,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(p0)),p0}var h0={};/**
|
|
301
|
-
* @license React
|
|
302
|
-
* scheduler.production.min.js
|
|
303
|
-
*
|
|
304
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
305
|
-
*
|
|
306
|
-
* This source code is licensed under the MIT license found in the
|
|
307
|
-
* LICENSE file in the root directory of this source tree.
|
|
308
|
-
*/var p1;function $k(){return p1||(p1=1,function(G){function c(le,ze){var D=le.length;le.push(ze);e:for(;0<D;){var K=D-1>>>1,ye=le[K];if(0<E(ye,ze))le[K]=ze,le[D]=ye,D=K;else break e}}function p(le){return le.length===0?null:le[0]}function m(le){if(le.length===0)return null;var ze=le[0],D=le.pop();if(D!==ze){le[0]=D;e:for(var K=0,ye=le.length,Je=ye>>>1;K<Je;){var Ye=2*(K+1)-1,bt=le[Ye],ot=Ye+1,Ct=le[ot];if(0>E(bt,D))ot<ye&&0>E(Ct,bt)?(le[K]=Ct,le[ot]=D,K=ot):(le[K]=bt,le[Ye]=D,K=Ye);else if(ot<ye&&0>E(Ct,D))le[K]=Ct,le[ot]=D,K=ot;else break e}}return ze}function E(le,ze){var D=le.sortIndex-ze.sortIndex;return D!==0?D:le.id-ze.id}if(typeof performance=="object"&&typeof performance.now=="function"){var x=performance;G.unstable_now=function(){return x.now()}}else{var S=Date,P=S.now();G.unstable_now=function(){return S.now()-P}}var A=[],F=[],q=1,X=null,J=3,te=!1,oe=!1,ge=!1,ce=typeof setTimeout=="function"?setTimeout:null,ke=typeof clearTimeout=="function"?clearTimeout:null,Ze=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Te(le){for(var ze=p(F);ze!==null;){if(ze.callback===null)m(F);else if(ze.startTime<=le)m(F),ze.sortIndex=ze.expirationTime,c(A,ze);else break;ze=p(F)}}function He(le){if(ge=!1,Te(le),!oe)if(p(A)!==null)oe=!0,kt(fe);else{var ze=p(F);ze!==null&&Me(He,ze.startTime-le)}}function fe(le,ze){oe=!1,ge&&(ge=!1,ke(lt),lt=-1),te=!0;var D=J;try{for(Te(ze),X=p(A);X!==null&&(!(X.expirationTime>ze)||le&&!gt());){var K=X.callback;if(typeof K=="function"){X.callback=null,J=X.priorityLevel;var ye=K(X.expirationTime<=ze);ze=G.unstable_now(),typeof ye=="function"?X.callback=ye:X===p(A)&&m(A),Te(ze)}else m(A);X=p(A)}if(X!==null)var Je=!0;else{var Ye=p(F);Ye!==null&&Me(He,Ye.startTime-ze),Je=!1}return Je}finally{X=null,J=D,te=!1}}var Ee=!1,Le=null,lt=-1,Tt=5,Dt=-1;function gt(){return!(G.unstable_now()-Dt<Tt)}function un(){if(Le!==null){var le=G.unstable_now();Dt=le;var ze=!0;try{ze=Le(!0,le)}finally{ze?_e():(Ee=!1,Le=null)}}else Ee=!1}var _e;if(typeof Ze=="function")_e=function(){Ze(un)};else if(typeof MessageChannel<"u"){var dt=new MessageChannel,qt=dt.port2;dt.port1.onmessage=un,_e=function(){qt.postMessage(null)}}else _e=function(){ce(un,0)};function kt(le){Le=le,Ee||(Ee=!0,_e())}function Me(le,ze){lt=ce(function(){le(G.unstable_now())},ze)}G.unstable_IdlePriority=5,G.unstable_ImmediatePriority=1,G.unstable_LowPriority=4,G.unstable_NormalPriority=3,G.unstable_Profiling=null,G.unstable_UserBlockingPriority=2,G.unstable_cancelCallback=function(le){le.callback=null},G.unstable_continueExecution=function(){oe||te||(oe=!0,kt(fe))},G.unstable_forceFrameRate=function(le){0>le||125<le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Tt=0<le?Math.floor(1e3/le):5},G.unstable_getCurrentPriorityLevel=function(){return J},G.unstable_getFirstCallbackNode=function(){return p(A)},G.unstable_next=function(le){switch(J){case 1:case 2:case 3:var ze=3;break;default:ze=J}var D=J;J=ze;try{return le()}finally{J=D}},G.unstable_pauseExecution=function(){},G.unstable_requestPaint=function(){},G.unstable_runWithPriority=function(le,ze){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var D=J;J=le;try{return ze()}finally{J=D}},G.unstable_scheduleCallback=function(le,ze,D){var K=G.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?K+D:K):D=K,le){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=D+ye,le={id:q++,callback:ze,priorityLevel:le,startTime:D,expirationTime:ye,sortIndex:-1},D>K?(le.sortIndex=D,c(F,le),p(A)===null&&le===p(F)&&(ge?(ke(lt),lt=-1):ge=!0,Me(He,D-K))):(le.sortIndex=ye,c(A,le),oe||te||(oe=!0,kt(fe))),le},G.unstable_shouldYield=gt,G.unstable_wrapCallback=function(le){var ze=J;return function(){var D=J;J=ze;try{return le.apply(this,arguments)}finally{J=D}}}}(h0)),h0}var h1;function x1(){return h1||(h1=1,process.env.NODE_ENV==="production"?Fm.exports=$k():Fm.exports=Pk()),Fm.exports}/**
|
|
309
|
-
* @license React
|
|
310
|
-
* react-dom.development.js
|
|
311
|
-
*
|
|
312
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
313
|
-
*
|
|
314
|
-
* This source code is licensed under the MIT license found in the
|
|
315
|
-
* LICENSE file in the root directory of this source tree.
|
|
316
|
-
*/var v1;function Ik(){return v1||(v1=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 G=w1(),c=x1(),p=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,m=!1;function E(e){m=e}function x(e){if(!m){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];P("warn",e,a)}}function S(e){if(!m){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];P("error",e,a)}}function P(e,t,a){{var i=p.ReactDebugCurrentFrame,o=i.getStackAddendum();o!==""&&(t+="%s",a=a.concat([o]));var s=a.map(function(d){return String(d)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var A=0,F=1,q=2,X=3,J=4,te=5,oe=6,ge=7,ce=8,ke=9,Ze=10,Te=11,He=12,fe=13,Ee=14,Le=15,lt=16,Tt=17,Dt=18,gt=19,un=21,_e=22,dt=23,qt=24,kt=25,Me=!0,le=!1,ze=!1,D=!1,K=!1,ye=!0,Je=!1,Ye=!1,bt=!0,ot=!0,Ct=!0,ct=new Set,Pt={},fi={};function br(e,t){Da(e,t),Da(e+"Capture",t)}function Da(e,t){Pt[e]&&S("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Pt[e]=t;{var a=e.toLowerCase();fi[a]=e,e==="onDoubleClick"&&(fi.ondblclick=e)}for(var i=0;i<t.length;i++)ct.add(t[i])}var hn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zn=Object.prototype.hasOwnProperty;function Cr(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Er(e){try{return Mn(e),!1}catch{return!0}}function Mn(e){return""+e}function ka(e,t){if(Er(e))return S("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Cr(e)),Mn(e)}function di(e){if(Er(e))return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cr(e)),Mn(e)}function Jn(e,t){if(Er(e))return S("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Cr(e)),Mn(e)}function wr(e,t){if(Er(e))return S("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Cr(e)),Mn(e)}function Wa(e){if(Er(e))return S("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Cr(e)),Mn(e)}function xr(e){if(Er(e))return S("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.",Cr(e)),Mn(e)}var _a=0,Rr=1,Ma=2,Vn=3,Wr=4,Ul=5,Ya=6,de=":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",Ue=de+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",nt=new RegExp("^["+de+"]["+Ue+"]*$"),Lt={},zt={};function wn(e){return Zn.call(zt,e)?!0:Zn.call(Lt,e)?!1:nt.test(e)?(zt[e]=!0,!0):(Lt[e]=!0,S("Invalid attribute name: `%s`",e),!1)}function vn(e,t,a){return t!==null?t.type===_a:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Tr(e,t,a,i){if(a!==null&&a.type===_a)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(i)return!1;if(a!==null)return!a.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return o!=="data-"&&o!=="aria-"}default:return!1}}function Wt(e,t,a,i){if(t===null||typeof t>"u"||Tr(e,t,a,i))return!0;if(i)return!1;if(a!==null)switch(a.type){case Vn:return!t;case Wr:return t===!1;case Ul:return isNaN(t);case Ya:return isNaN(t)||t<1}return!1}function aa(e){return $t.hasOwnProperty(e)?$t[e]:null}function tn(e,t,a,i,o,s,d){this.acceptsBooleans=t===Ma||t===Vn||t===Wr,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=d}var $t={},Fl=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Fl.forEach(function(e){$t[e]=new tn(e,_a,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];$t[t]=new tn(t,Rr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$t[e]=new tn(e,Ma,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$t[e]=new tn(e,Ma,!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){$t[e]=new tn(e,Vn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$t[e]=new tn(e,Vn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$t[e]=new tn(e,Wr,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$t[e]=new tn(e,Ya,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$t[e]=new tn(e,Ul,!1,e.toLowerCase(),null,!1,!1)});var pi=/[\-\:]([a-z])/g,Oo=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(pi,Oo);$t[t]=new tn(t,Rr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(pi,Oo);$t[t]=new tn(t,Rr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pi,Oo);$t[t]=new tn(t,Rr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$t[e]=new tn(e,Rr,!1,e.toLowerCase(),null,!1,!1)});var Ys="xlinkHref";$t[Ys]=new tn("xlinkHref",Rr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$t[e]=new tn(e,Rr,!1,e.toLowerCase(),null,!0,!0)});var Gs=/^[\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,Ao=!1;function Hu(e){!Ao&&Gs.test(e)&&(Ao=!0,S("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 Oa(e,t,a,i){if(i.mustUseProperty){var o=i.propertyName;return e[o]}else{ka(a,t),i.sanitizeURL&&Hu(""+a);var s=i.attributeName,d=null;if(i.type===Wr){if(e.hasAttribute(s)){var v=e.getAttribute(s);return v===""?!0:Wt(t,a,i,!1)?v:v===""+a?a:v}}else if(e.hasAttribute(s)){if(Wt(t,a,i,!1))return e.getAttribute(s);if(i.type===Vn)return a;d=e.getAttribute(s)}return Wt(t,a,i,!1)?d===null?a:d:d===""+a?a:d}}function $i(e,t,a,i){{if(!wn(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var o=e.getAttribute(t);return ka(a,t),o===""+a?a:o}}function Ga(e,t,a,i){var o=aa(t);if(!vn(t,o,i)){if(Wt(t,a,o,i)&&(a=null),i||o===null){if(wn(t)){var s=t;a===null?e.removeAttribute(s):(ka(a,t),e.setAttribute(s,""+a))}return}var d=o.mustUseProperty;if(d){var v=o.propertyName;if(a===null){var g=o.type;e[v]=g===Vn?!1:""}else e[v]=a;return}var C=o.attributeName,w=o.attributeNamespace;if(a===null)e.removeAttribute(C);else{var O=o.type,_;O===Vn||O===Wr&&a===!0?_="":(ka(a,C),_=""+a,o.sanitizeURL&&Hu(_.toString())),w?e.setAttributeNS(w,C,_):e.setAttribute(C,_)}}}var Ii=Symbol.for("react.element"),Yr=Symbol.for("react.portal"),Aa=Symbol.for("react.fragment"),Wi=Symbol.for("react.strict_mode"),Yi=Symbol.for("react.profiler"),Lo=Symbol.for("react.provider"),Vu=Symbol.for("react.context"),sn=Symbol.for("react.forward_ref"),ia=Symbol.for("react.suspense"),Hl=Symbol.for("react.suspense_list"),Gi=Symbol.for("react.memo"),Bn=Symbol.for("react.lazy"),Qs=Symbol.for("react.scope"),Xs=Symbol.for("react.debug_trace_mode"),Bu=Symbol.for("react.offscreen"),Ks=Symbol.for("react.legacy_hidden"),Vf=Symbol.for("react.cache"),Bf=Symbol.for("react.tracing_marker"),Zt=Symbol.iterator,jf="@@iterator";function La(e){if(e===null||typeof e!="object")return null;var t=Zt&&e[Zt]||e[jf];return typeof t=="function"?t:null}var rt=Object.assign,Qa=0,Qi,No,Xi,Dr,ju,or,Pu;function $u(){}$u.__reactDisabledLog=!0;function qs(){{if(Qa===0){Qi=console.log,No=console.info,Xi=console.warn,Dr=console.error,ju=console.group,or=console.groupCollapsed,Pu=console.groupEnd;var e={configurable:!0,enumerable:!0,value:$u,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qa++}}function zo(){{if(Qa--,Qa===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rt({},e,{value:Qi}),info:rt({},e,{value:No}),warn:rt({},e,{value:Xi}),error:rt({},e,{value:Dr}),group:rt({},e,{value:ju}),groupCollapsed:rt({},e,{value:or}),groupEnd:rt({},e,{value:Pu})})}Qa<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ki=p.ReactCurrentDispatcher,Na;function ur(e,t,a){{if(Na===void 0)try{throw Error()}catch(o){var i=o.stack.trim().match(/\n( *(at )?)/);Na=i&&i[1]||""}return`
|
|
317
|
-
`+Na+e}}var qi=!1,Zi;{var Ji=typeof WeakMap=="function"?WeakMap:Map;Zi=new Ji}function Uo(e,t){if(!e||qi)return"";{var a=Zi.get(e);if(a!==void 0)return a}var i;qi=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=Ki.current,Ki.current=null,qs();try{if(t){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(B){i=B}Reflect.construct(e,[],d)}else{try{d.call()}catch(B){i=B}e.call(d.prototype)}}else{try{throw Error()}catch(B){i=B}e()}}catch(B){if(B&&i&&typeof B.stack=="string"){for(var v=B.stack.split(`
|
|
318
|
-
`),g=i.stack.split(`
|
|
319
|
-
`),C=v.length-1,w=g.length-1;C>=1&&w>=0&&v[C]!==g[w];)w--;for(;C>=1&&w>=0;C--,w--)if(v[C]!==g[w]){if(C!==1||w!==1)do if(C--,w--,w<0||v[C]!==g[w]){var O=`
|
|
320
|
-
`+v[C].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&Zi.set(e,O),O}while(C>=1&&w>=0);break}}}finally{qi=!1,Ki.current=s,zo(),Error.prepareStackTrace=o}var _=e?e.displayName||e.name:"",H=_?ur(_):"";return typeof e=="function"&&Zi.set(e,H),H}function Fo(e,t,a){return Uo(e,!0)}function hi(e,t,a){return Uo(e,!1)}function Pf(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Xa(e,t,a){if(e==null)return"";if(typeof e=="function")return Uo(e,Pf(e));if(typeof e=="string")return ur(e);switch(e){case ia:return ur("Suspense");case Hl:return ur("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case sn:return hi(e.render);case Gi:return Xa(e.type,t,a);case Bn:{var i=e,o=i._payload,s=i._init;try{return Xa(s(o),t,a)}catch{}}}return""}function wt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case te:return ur(e.type);case lt:return ur("Lazy");case fe:return ur("Suspense");case gt:return ur("SuspenseList");case A:case q:case Le:return hi(e.type);case Te:return hi(e.type.render);case F:return Fo(e.type);default:return""}}function Ho(e){try{var t="",a=e;do t+=wt(a),a=a.return;while(a);return t}catch(i){return`
|
|
321
|
-
Error generating stack: `+i.message+`
|
|
322
|
-
`+i.stack}}function Vl(e,t,a){var i=e.displayName;if(i)return i;var o=t.displayName||t.name||"";return o!==""?a+"("+o+")":a}function Vo(e){return e.displayName||"Context"}function yt(e){if(e==null)return null;if(typeof e.tag=="number"&&S("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 Aa:return"Fragment";case Yr:return"Portal";case Yi:return"Profiler";case Wi:return"StrictMode";case ia:return"Suspense";case Hl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Vu:var t=e;return Vo(t)+".Consumer";case Lo:var a=e;return Vo(a._context)+".Provider";case sn:return Vl(e,e.render,"ForwardRef");case Gi:var i=e.displayName||null;return i!==null?i:yt(e.type)||"Memo";case Bn:{var o=e,s=o._payload,d=o._init;try{return yt(d(s))}catch{return null}}}return null}function Bo(e,t,a){var i=t.displayName||t.name||"";return e.displayName||(i!==""?a+"("+i+")":a)}function jo(e){return e.displayName||"Context"}function Xe(e){var t=e.tag,a=e.type;switch(t){case qt:return"Cache";case ke:var i=a;return jo(i)+".Consumer";case Ze:var o=a;return jo(o._context)+".Provider";case Dt:return"DehydratedFragment";case Te:return Bo(a,a.render,"ForwardRef");case ge:return"Fragment";case te:return a;case J:return"Portal";case X:return"Root";case oe:return"Text";case lt:return yt(a);case ce:return a===Wi?"StrictMode":"Mode";case _e:return"Offscreen";case He:return"Profiler";case un:return"Scope";case fe:return"Suspense";case gt:return"SuspenseList";case kt:return"TracingMarker";case F:case A:case Tt:case q:case Ee:case Le:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var Bl=p.ReactDebugCurrentFrame,nn=null,kr=!1;function sr(){{if(nn===null)return null;var e=nn._debugOwner;if(e!==null&&typeof e<"u")return Xe(e)}return null}function el(){return nn===null?"":Ho(nn)}function cn(){Bl.getCurrentStack=null,nn=null,kr=!1}function Mt(e){Bl.getCurrentStack=e===null?null:el,nn=e,kr=!1}function Zs(){return nn}function _r(e){kr=e}function On(e){return""+e}function Ka(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return xr(e),e;default:return""}}var Js={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function vi(e,t){Js[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||S("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||S("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 tl(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ec(e){return e._valueTracker}function la(e){e._valueTracker=null}function nl(e){var t="";return e&&(tl(e)?t=e.checked?"true":"false":t=e.value),t}function rl(e){var t=tl(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);xr(e[t]);var i=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var o=a.get,s=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(v){xr(v),i=""+v,s.call(this,v)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var d={getValue:function(){return i},setValue:function(v){xr(v),i=""+v},stopTracking:function(){la(e),delete e[t]}};return d}}function oa(e){ec(e)||(e._valueTracker=rl(e))}function Po(e){if(!e)return!1;var t=ec(e);if(!t)return!0;var a=t.getValue(),i=nl(e);return i!==a?(t.setValue(i),!0):!1}function al(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 il=!1,jl=!1,$o=!1,Iu=!1;function za(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function y(e,t){var a=e,i=t.checked,o=rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??a._wrapperState.initialChecked});return o}function T(e,t){vi("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!jl&&(S("%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",sr()||"A component",t.type),jl=!0),t.value!==void 0&&t.defaultValue!==void 0&&!il&&(S("%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",sr()||"A component",t.type),il=!0);var a=e,i=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ka(t.value!=null?t.value:i),controlled:za(t)}}function V(e,t){var a=e,i=t.checked;i!=null&&Ga(a,"checked",i,!1)}function $(e,t){var a=e;{var i=za(t);!a._wrapperState.controlled&&i&&!Iu&&(S("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"),Iu=!0),a._wrapperState.controlled&&!i&&!$o&&(S("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"),$o=!0)}V(e,t);var o=Ka(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&a.value===""||a.value!=o)&&(a.value=On(o)):a.value!==On(o)&&(a.value=On(o));else if(s==="submit"||s==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?Be(a,t.type,o):t.hasOwnProperty("defaultValue")&&Be(a,t.type,Ka(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function ae(e,t,a){var i=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type,s=o==="submit"||o==="reset";if(s&&(t.value===void 0||t.value===null))return;var d=On(i._wrapperState.initialValue);a||d!==i.value&&(i.value=d),i.defaultValue=d}var v=i.name;v!==""&&(i.name=""),i.defaultChecked=!i.defaultChecked,i.defaultChecked=!!i._wrapperState.initialChecked,v!==""&&(i.name=v)}function Pe(e,t){var a=e;$(a,t),pe(a,t)}function pe(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var i=e;i.parentNode;)i=i.parentNode;ka(a,"name");for(var o=i.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),s=0;s<o.length;s++){var d=o[s];if(!(d===e||d.form!==e.form)){var v=Ev(d);if(!v)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Po(d),$(d,v)}}}}function Be(e,t,a){(t!=="number"||al(e.ownerDocument)!==e)&&(a==null?e.defaultValue=On(e._wrapperState.initialValue):e.defaultValue!==On(a)&&(e.defaultValue=On(a)))}var at=!1,St=!1,Ht=!1;function Nt(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?G.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||St||(St=!0,S("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Ht||(Ht=!0,S("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!at&&(S("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),at=!0)}function Vt(e,t){t.value!=null&&e.setAttribute("value",On(Ka(t.value)))}var It=Array.isArray;function ft(e){return It(e)}var mi;mi=!1;function Io(){var e=sr();return e?`
|
|
323
|
-
|
|
324
|
-
Check the render method of \``+e+"`.":""}var Wu=["value","defaultValue"];function $f(e){{vi("select",e);for(var t=0;t<Wu.length;t++){var a=Wu[t];if(e[a]!=null){var i=ft(e[a]);e.multiple&&!i?S("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Io()):!e.multiple&&i&&S("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Io())}}}}function Ua(e,t,a,i){var o=e.options;if(t){for(var s=a,d={},v=0;v<s.length;v++)d["$"+s[v]]=!0;for(var g=0;g<o.length;g++){var C=d.hasOwnProperty("$"+o[g].value);o[g].selected!==C&&(o[g].selected=C),C&&i&&(o[g].defaultSelected=!0)}}else{for(var w=On(Ka(a)),O=null,_=0;_<o.length;_++){if(o[_].value===w){o[_].selected=!0,i&&(o[_].defaultSelected=!0);return}O===null&&!o[_].disabled&&(O=o[_])}O!==null&&(O.selected=!0)}}function Yu(e,t){return rt({},t,{value:void 0})}function Gu(e,t){var a=e;$f(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!mi&&(S("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"),mi=!0)}function If(e,t){var a=e;a.multiple=!!t.multiple;var i=t.value;i!=null?Ua(a,!!t.multiple,i,!1):t.defaultValue!=null&&Ua(a,!!t.multiple,t.defaultValue,!0)}function Pm(e,t){var a=e,i=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var o=t.value;o!=null?Ua(a,!!t.multiple,o,!1):i!==!!t.multiple&&(t.defaultValue!=null?Ua(a,!!t.multiple,t.defaultValue,!0):Ua(a,!!t.multiple,t.multiple?[]:"",!1))}function $m(e,t){var a=e,i=t.value;i!=null&&Ua(a,!!t.multiple,i,!1)}var Wf=!1;function Yf(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var i=rt({},t,{value:void 0,defaultValue:void 0,children:On(a._wrapperState.initialValue)});return i}function qp(e,t){var a=e;vi("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Wf&&(S("%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",sr()||"A component"),Wf=!0);var i=t.value;if(i==null){var o=t.children,s=t.defaultValue;if(o!=null){S("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ft(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}s=o}}s==null&&(s=""),i=s}a._wrapperState={initialValue:Ka(i)}}function Zp(e,t){var a=e,i=Ka(t.value),o=Ka(t.defaultValue);if(i!=null){var s=On(i);s!==a.value&&(a.value=s),t.defaultValue==null&&a.defaultValue!==s&&(a.defaultValue=s)}o!=null&&(a.defaultValue=On(o))}function Jp(e,t){var a=e,i=a.textContent;i===a._wrapperState.initialValue&&i!==""&&i!==null&&(a.value=i)}function Gf(e,t){Zp(e,t)}var gi="http://www.w3.org/1999/xhtml",Im="http://www.w3.org/1998/Math/MathML",Qf="http://www.w3.org/2000/svg";function tc(e){switch(e){case"svg":return Qf;case"math":return Im;default:return gi}}function Xf(e,t){return e==null||e===gi?tc(t):e===Qf&&t==="foreignObject"?gi:e}var Wm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,i,o){MSApp.execUnsafeLocalFunction(function(){return e(t,a,i,o)})}:e},nc,eh=Wm(function(e,t){if(e.namespaceURI===Qf&&!("innerHTML"in e)){nc=nc||document.createElement("div"),nc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=nc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),Mr=1,yi=3,Sn=8,Fa=9,Pl=11,rc=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===yi){a.nodeValue=t;return}}e.textContent=t},th={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"]},Wo={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 nh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var rh=["Webkit","ms","Moz","O"];Object.keys(Wo).forEach(function(e){rh.forEach(function(t){Wo[nh(t,e)]=Wo[e]})});function ac(e,t,a){var i=t==null||typeof t=="boolean"||t==="";return i?"":!a&&typeof t=="number"&&t!==0&&!(Wo.hasOwnProperty(e)&&Wo[e])?t+"px":(wr(t,e),(""+t).trim())}var Yo=/([A-Z])/g,Ym=/^ms-/;function Gm(e){return e.replace(Yo,"-$1").toLowerCase().replace(Ym,"-ms-")}var ah=function(){};{var ih=/^(?:webkit|moz|o)[A-Z]/,lh=/^-ms-/,Qu=/-(.)/g,Go=/;\s*$/,Qo={},Xo={},oh=!1,Kf=!1,qf=function(e){return e.replace(Qu,function(t,a){return a.toUpperCase()})},Zf=function(e){Qo.hasOwnProperty(e)&&Qo[e]||(Qo[e]=!0,S("Unsupported style property %s. Did you mean %s?",e,qf(e.replace(lh,"ms-"))))},uh=function(e){Qo.hasOwnProperty(e)&&Qo[e]||(Qo[e]=!0,S("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},sh=function(e,t){Xo.hasOwnProperty(t)&&Xo[t]||(Xo[t]=!0,S(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Go,"")))},ch=function(e,t){oh||(oh=!0,S("`NaN` is an invalid value for the `%s` css style property.",e))},Qm=function(e,t){Kf||(Kf=!0,S("`Infinity` is an invalid value for the `%s` css style property.",e))};ah=function(e,t){e.indexOf("-")>-1?Zf(e):ih.test(e)?uh(e):Go.test(t)&&sh(e,t),typeof t=="number"&&(isNaN(t)?ch(e,t):isFinite(t)||Qm(e,t))}}var Xm=ah;function Km(e){{var t="",a="";for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(o!=null){var s=i.indexOf("--")===0;t+=a+(s?i:Gm(i))+":",t+=ac(i,o,s),a=";"}}return t||null}}function fh(e,t){var a=e.style;for(var i in t)if(t.hasOwnProperty(i)){var o=i.indexOf("--")===0;o||Xm(i,t[i]);var s=ac(i,t[i],o);i==="float"&&(i="cssFloat"),o?a.setProperty(i,s):a[i]=s}}function qm(e){return e==null||typeof e=="boolean"||e===""}function ua(e){var t={};for(var a in e)for(var i=th[a]||[a],o=0;o<i.length;o++)t[i[o]]=a;return t}function Xu(e,t){{if(!t)return;var a=ua(e),i=ua(t),o={};for(var s in a){var d=a[s],v=i[s];if(v&&d!==v){var g=d+","+v;if(o[g])continue;o[g]=!0,S("%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.",qm(e[d])?"Removing":"Updating",d,v)}}}}var dh={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},ph=rt({menuitem:!0},dh),hh="__html";function ic(e,t){if(t){if(ph[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"||!(hh 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&&S("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 Si(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 lc={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"},vh={"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},Ha={},Jf=new RegExp("^(aria)-["+Ue+"]*$"),Ku=new RegExp("^(aria)[A-Z]["+Ue+"]*$");function ed(e,t){{if(Zn.call(Ha,t)&&Ha[t])return!0;if(Ku.test(t)){var a="aria-"+t.slice(4).toLowerCase(),i=vh.hasOwnProperty(a)?a:null;if(i==null)return S("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ha[t]=!0,!0;if(t!==i)return S("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,i),Ha[t]=!0,!0}if(Jf.test(t)){var o=t.toLowerCase(),s=vh.hasOwnProperty(o)?o:null;if(s==null)return Ha[t]=!0,!1;if(t!==s)return S("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),Ha[t]=!0,!0}}return!0}function mh(e,t){{var a=[];for(var i in t){var o=ed(e,i);o||a.push(i)}var s=a.map(function(d){return"`"+d+"`"}).join(", ");a.length===1?S("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):a.length>1&&S("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function oc(e,t){Si(e,t)||mh(e,t)}var $l=!1;function td(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!$l&&($l=!0,e==="select"&&t.multiple?S("`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):S("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var nd=function(){};{var An={},rd=/^on./,gh=/^on[^A-Z]/,yh=new RegExp("^(aria)-["+Ue+"]*$"),Sh=new RegExp("^(aria)[A-Z]["+Ue+"]*$");nd=function(e,t,a,i){if(Zn.call(An,t)&&An[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return S("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."),An[t]=!0,!0;if(i!=null){var s=i.registrationNameDependencies,d=i.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var v=d.hasOwnProperty(o)?d[o]:null;if(v!=null)return S("Invalid event handler property `%s`. Did you mean `%s`?",t,v),An[t]=!0,!0;if(rd.test(t))return S("Unknown event handler property `%s`. It will be ignored.",t),An[t]=!0,!0}else if(rd.test(t))return gh.test(t)&&S("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),An[t]=!0,!0;if(yh.test(t)||Sh.test(t))return!0;if(o==="innerhtml")return S("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),An[t]=!0,!0;if(o==="aria")return S("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),An[t]=!0,!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return S("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),An[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return S("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),An[t]=!0,!0;var g=aa(t),C=g!==null&&g.type===_a;if(lc.hasOwnProperty(o)){var w=lc[o];if(w!==t)return S("Invalid DOM property `%s`. Did you mean `%s`?",t,w),An[t]=!0,!0}else if(!C&&t!==o)return S("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,o),An[t]=!0,!0;return typeof a=="boolean"&&Tr(t,a,g,!1)?(a?S('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()}.',a,t,t,a,t):S('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.',a,t,t,a,t,t,t),An[t]=!0,!0):C?!0:Tr(t,a,g,!1)?(An[t]=!0,!1):((a==="false"||a==="true")&&g!==null&&g.type===Vn&&(S("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="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,a),An[t]=!0),!0)}}var bh=function(e,t,a){{var i=[];for(var o in t){var s=nd(e,o,t[o],a);s||i.push(o)}var d=i.map(function(v){return"`"+v+"`"}).join(", ");i.length===1?S("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 ",d,e):i.length>1&&S("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 ",d,e)}};function Ch(e,t,a){Si(e,t)||bh(e,t,a)}var bi=1,qu=2,Il=4,Zm=bi|qu|Il,Zu=null;function Ju(e){Zu!==null&&S("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Zu=e}function Jm(){Zu===null&&S("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Zu=null}function Eh(e){return e===Zu}function uc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===yi?t.parentNode:t}var Bt=null,ll=null,Ci=null;function Ko(e){var t=Eu(e);if(t){if(typeof Bt!="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 a=t.stateNode;if(a){var i=Ev(a);Bt(t.stateNode,t.type,i)}}}function wh(e){Bt=e}function sc(e){ll?Ci?Ci.push(e):Ci=[e]:ll=e}function es(){return ll!==null||Ci!==null}function ts(){if(ll){var e=ll,t=Ci;if(ll=null,Ci=null,Ko(e),t)for(var a=0;a<t.length;a++)Ko(t[a])}}var Wl=function(e,t){return e(t)},ad=function(){},id=!1;function eg(){var e=es();e&&(ad(),ts())}function ld(e,t,a){if(id)return e(t,a);id=!0;try{return Wl(e,t,a)}finally{id=!1,eg()}}function cc(e,t,a){Wl=e,ad=a}function fc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function od(e,t,a){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!!(a.disabled&&fc(t));default:return!1}}function Yl(e,t){var a=e.stateNode;if(a===null)return null;var i=Ev(a);if(i===null)return null;var o=i[t];if(od(t,e.type,i))return null;if(o&&typeof o!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var ns=!1;if(hn)try{var Gl={};Object.defineProperty(Gl,"passive",{get:function(){ns=!0}}),window.addEventListener("test",Gl,Gl),window.removeEventListener("test",Gl,Gl)}catch{ns=!1}function xh(e,t,a,i,o,s,d,v,g){var C=Array.prototype.slice.call(arguments,3);try{t.apply(a,C)}catch(w){this.onError(w)}}var ud=xh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var sd=document.createElement("react");ud=function(t,a,i,o,s,d,v,g,C){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 w=document.createEvent("Event"),O=!1,_=!0,H=window.event,B=Object.getOwnPropertyDescriptor(window,"event");function I(){sd.removeEventListener(W,Ve,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=H)}var Se=Array.prototype.slice.call(arguments,3);function Ve(){O=!0,I(),a.apply(i,Se),_=!1}var Ae,vt=!1,st=!1;function N(z){if(Ae=z.error,vt=!0,Ae===null&&z.colno===0&&z.lineno===0&&(st=!0),z.defaultPrevented&&Ae!=null&&typeof Ae=="object")try{Ae._suppressLogging=!0}catch{}}var W="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",N),sd.addEventListener(W,Ve,!1),w.initEvent(W,!1,!1),sd.dispatchEvent(w),B&&Object.defineProperty(window,"event",B),O&&_&&(vt?st&&(Ae=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.")):Ae=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(Ae)),window.removeEventListener("error",N),!O)return I(),xh.apply(this,arguments)}}var tg=ud,ol=!1,Va=null,rs=!1,ul=null,qa={onError:function(e){ol=!0,Va=e}};function Ql(e,t,a,i,o,s,d,v,g){ol=!1,Va=null,tg.apply(qa,arguments)}function Ei(e,t,a,i,o,s,d,v,g){if(Ql.apply(this,arguments),ol){var C=fd();rs||(rs=!0,ul=C)}}function cd(){if(rs){var e=ul;throw rs=!1,ul=null,e}}function ng(){return ol}function fd(){if(ol){var e=Va;return ol=!1,Va=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 sa(e){return e._reactInternals}function as(e){return e._reactInternals!==void 0}function qo(e,t){e._reactInternals=t}var Fe=0,sl=1,Yt=2,et=4,_t=16,Ot=32,Za=64,Ge=128,fn=256,Or=512,ca=1024,Jt=2048,fa=4096,cl=8192,is=16384,dc=Jt|et|Za|Or|ca|is,Rh=32767,Gr=32768,Ln=65536,ls=131072,dd=1048576,pd=2097152,Ar=4194304,fl=8388608,Lr=16777216,Xl=33554432,Zo=et|ca|0,Nr=Yt|et|_t|Ot|Or|fa|cl,er=et|Za|Or|cl,da=Jt|_t,jn=Ar|fl|pd,wi=p.ReactCurrentOwner;function Qr(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var i=t;do t=i,(t.flags&(Yt|fa))!==Fe&&(a=t.return),i=t.return;while(i)}return t.tag===X?a:null}function hd(e){if(e.tag===fe){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function pc(e){return e.tag===X?e.stateNode.containerInfo:null}function vd(e){return Qr(e)===e}function Xr(e){{var t=wi.current;if(t!==null&&t.tag===F){var a=t,i=a.stateNode;i._warnedAboutRefsInRender||S("%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.",Xe(a)||"A component"),i._warnedAboutRefsInRender=!0}}var o=sa(e);return o?Qr(o)===o:!1}function zr(e){if(Qr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Gt(e){var t=e.alternate;if(!t){var a=Qr(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var i=e,o=t;;){var s=i.return;if(s===null)break;var d=s.alternate;if(d===null){var v=s.return;if(v!==null){i=o=v;continue}break}if(s.child===d.child){for(var g=s.child;g;){if(g===i)return zr(s),e;if(g===o)return zr(s),t;g=g.sibling}throw new Error("Unable to find node on an unmounted component.")}if(i.return!==o.return)i=s,o=d;else{for(var C=!1,w=s.child;w;){if(w===i){C=!0,i=s,o=d;break}if(w===o){C=!0,o=s,i=d;break}w=w.sibling}if(!C){for(w=d.child;w;){if(w===i){C=!0,i=d,o=s;break}if(w===o){C=!0,o=d,i=s;break}w=w.sibling}if(!C)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(i.alternate!==o)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(i.tag!==X)throw new Error("Unable to find node on an unmounted component.");return i.stateNode.current===i?e:t}function pa(e){var t=Gt(e);return t!==null?md(t):null}function md(e){if(e.tag===te||e.tag===oe)return e;for(var t=e.child;t!==null;){var a=md(t);if(a!==null)return a;t=t.sibling}return null}function Th(e){var t=Gt(e);return t!==null?hc(t):null}function hc(e){if(e.tag===te||e.tag===oe)return e;for(var t=e.child;t!==null;){if(t.tag!==J){var a=hc(t);if(a!==null)return a}t=t.sibling}return null}var vc=c.unstable_scheduleCallback,Dh=c.unstable_cancelCallback,mc=c.unstable_shouldYield,kh=c.unstable_requestPaint,rn=c.unstable_now,gd=c.unstable_getCurrentPriorityLevel,gc=c.unstable_ImmediatePriority,Kr=c.unstable_UserBlockingPriority,Ja=c.unstable_NormalPriority,yc=c.unstable_LowPriority,dl=c.unstable_IdlePriority,yd=c.unstable_yieldValue,Sd=c.unstable_setDisableYieldValue,pl=null,Nn=null,ue=null,mn=!1,Pn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function bd(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 S("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{bt&&(e=rt({},e,{getLaneLabelMap:vl,injectProfilingHooks:Ri})),pl=t.inject(e),Nn=t}catch(a){S("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function _h(e,t){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(pl,e,t)}catch(a){mn||(mn=!0,S("React instrumentation encountered an error: %s",a))}}function xi(e,t){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{var a=(e.current.flags&Ge)===Ge;if(ot){var i;switch(t){case tr:i=gc;break;case $n:i=Kr;break;case Di:i=Ja;break;case vs:i=dl;break;default:i=Ja;break}Nn.onCommitFiberRoot(pl,e,i,a)}}catch(o){mn||(mn=!0,S("React instrumentation encountered an error: %s",o))}}function hl(e){if(Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(pl,e)}catch(t){mn||(mn=!0,S("React instrumentation encountered an error: %s",t))}}function Cd(e){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(pl,e)}catch(t){mn||(mn=!0,S("React instrumentation encountered an error: %s",t))}}function xn(e){if(typeof yd=="function"&&(Sd(e),E(e)),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(pl,e)}catch(t){mn||(mn=!0,S("React instrumentation encountered an error: %s",t))}}function Ri(e){ue=e}function vl(){{for(var e=new Map,t=1,a=0;a<Qt;a++){var i=rg(t);e.set(t,i),t*=2}return e}}function Sc(e){ue!==null&&typeof ue.markCommitStarted=="function"&&ue.markCommitStarted(e)}function Ed(){ue!==null&&typeof ue.markCommitStopped=="function"&&ue.markCommitStopped()}function ml(e){ue!==null&&typeof ue.markComponentRenderStarted=="function"&&ue.markComponentRenderStarted(e)}function Kl(){ue!==null&&typeof ue.markComponentRenderStopped=="function"&&ue.markComponentRenderStopped()}function Mh(e){ue!==null&&typeof ue.markComponentPassiveEffectMountStarted=="function"&&ue.markComponentPassiveEffectMountStarted(e)}function wd(){ue!==null&&typeof ue.markComponentPassiveEffectMountStopped=="function"&&ue.markComponentPassiveEffectMountStopped()}function bc(e){ue!==null&&typeof ue.markComponentPassiveEffectUnmountStarted=="function"&&ue.markComponentPassiveEffectUnmountStarted(e)}function Oh(){ue!==null&&typeof ue.markComponentPassiveEffectUnmountStopped=="function"&&ue.markComponentPassiveEffectUnmountStopped()}function Ah(e){ue!==null&&typeof ue.markComponentLayoutEffectMountStarted=="function"&&ue.markComponentLayoutEffectMountStarted(e)}function Lh(){ue!==null&&typeof ue.markComponentLayoutEffectMountStopped=="function"&&ue.markComponentLayoutEffectMountStopped()}function Cc(e){ue!==null&&typeof ue.markComponentLayoutEffectUnmountStarted=="function"&&ue.markComponentLayoutEffectUnmountStarted(e)}function Jo(){ue!==null&&typeof ue.markComponentLayoutEffectUnmountStopped=="function"&&ue.markComponentLayoutEffectUnmountStopped()}function Ec(e,t,a){ue!==null&&typeof ue.markComponentErrored=="function"&&ue.markComponentErrored(e,t,a)}function Nh(e,t,a){ue!==null&&typeof ue.markComponentSuspended=="function"&&ue.markComponentSuspended(e,t,a)}function zh(e){ue!==null&&typeof ue.markLayoutEffectsStarted=="function"&&ue.markLayoutEffectsStarted(e)}function eu(){ue!==null&&typeof ue.markLayoutEffectsStopped=="function"&&ue.markLayoutEffectsStopped()}function Uh(e){ue!==null&&typeof ue.markPassiveEffectsStarted=="function"&&ue.markPassiveEffectsStarted(e)}function os(){ue!==null&&typeof ue.markPassiveEffectsStopped=="function"&&ue.markPassiveEffectsStopped()}function Ba(e){ue!==null&&typeof ue.markRenderStarted=="function"&&ue.markRenderStarted(e)}function us(){ue!==null&&typeof ue.markRenderYielded=="function"&&ue.markRenderYielded()}function tu(){ue!==null&&typeof ue.markRenderStopped=="function"&&ue.markRenderStopped()}function ql(e){ue!==null&&typeof ue.markRenderScheduled=="function"&&ue.markRenderScheduled(e)}function xd(e,t){ue!==null&&typeof ue.markForceUpdateScheduled=="function"&&ue.markForceUpdateScheduled(e,t)}function gl(e,t){ue!==null&&typeof ue.markStateUpdateScheduled=="function"&&ue.markStateUpdateScheduled(e,t)}var je=0,it=1,$e=2,an=8,ha=16,wc=Math.clz32?Math.clz32:Zl,xc=Math.log,Rd=Math.LN2;function Zl(e){var t=e>>>0;return t===0?32:31-(xc(t)/Rd|0)|0}var Qt=31,Y=0,pt=0,Ie=1,ei=2,qr=4,Jl=8,Xt=16,eo=32,yl=4194240,to=64,va=128,Ur=256,no=512,ss=1024,cs=2048,Rc=4096,Tc=8192,Dc=16384,kc=32768,_c=65536,Mc=131072,Oc=262144,Ac=524288,ro=1048576,Lc=2097152,ao=130023424,Ti=4194304,Nc=8388608,fs=16777216,zc=33554432,Uc=67108864,Td=Ti,nu=134217728,Fc=268435455,ru=268435456,Sl=536870912,Fr=1073741824;function rg(e){{if(e&Ie)return"Sync";if(e&ei)return"InputContinuousHydration";if(e&qr)return"InputContinuous";if(e&Jl)return"DefaultHydration";if(e&Xt)return"Default";if(e&eo)return"TransitionHydration";if(e&yl)return"Transition";if(e&ao)return"Retry";if(e&nu)return"SelectiveHydration";if(e&ru)return"IdleHydration";if(e&Sl)return"Idle";if(e&Fr)return"Offscreen"}}var jt=-1,Hc=to,Vc=Ti;function au(e){switch(bn(e)){case Ie:return Ie;case ei:return ei;case qr:return qr;case Jl:return Jl;case Xt:return Xt;case eo:return eo;case to:case va:case Ur:case no:case ss:case cs:case Rc:case Tc:case Dc:case kc:case _c:case Mc:case Oc:case Ac:case ro:case Lc:return e&yl;case Ti:case Nc:case fs:case zc:case Uc:return e&ao;case nu:return nu;case ru:return ru;case Sl:return Sl;case Fr:return Fr;default:return S("Should have found matching lanes. This is a bug in React."),e}}function ds(e,t){var a=e.pendingLanes;if(a===Y)return Y;var i=Y,o=e.suspendedLanes,s=e.pingedLanes,d=a&Fc;if(d!==Y){var v=d&~o;if(v!==Y)i=au(v);else{var g=d&s;g!==Y&&(i=au(g))}}else{var C=a&~o;C!==Y?i=au(C):s!==Y&&(i=au(s))}if(i===Y)return Y;if(t!==Y&&t!==i&&(t&o)===Y){var w=bn(i),O=bn(t);if(w>=O||w===Xt&&(O&yl)!==Y)return t}(i&qr)!==Y&&(i|=a&Xt);var _=e.entangledLanes;if(_!==Y)for(var H=e.entanglements,B=i&_;B>0;){var I=bl(B),Se=1<<I;i|=H[I],B&=~Se}return i}function Fh(e,t){for(var a=e.eventTimes,i=jt;t>0;){var o=bl(t),s=1<<o,d=a[o];d>i&&(i=d),t&=~s}return i}function Bc(e,t){switch(e){case Ie:case ei:case qr:return t+250;case Jl:case Xt:case eo:case to:case va:case Ur:case no:case ss:case cs:case Rc:case Tc:case Dc:case kc:case _c:case Mc:case Oc:case Ac:case ro:case Lc:return t+5e3;case Ti:case Nc:case fs:case zc:case Uc:return jt;case nu:case ru:case Sl:case Fr:return jt;default:return S("Should have found matching lanes. This is a bug in React."),jt}}function ag(e,t){for(var a=e.pendingLanes,i=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=a;d>0;){var v=bl(d),g=1<<v,C=s[v];C===jt?((g&i)===Y||(g&o)!==Y)&&(s[v]=Bc(g,t)):C<=t&&(e.expiredLanes|=g),d&=~g}}function ig(e){return au(e.pendingLanes)}function Dd(e){var t=e.pendingLanes&~Fr;return t!==Y?t:t&Fr?Fr:Y}function iu(e){return(e&Ie)!==Y}function ps(e){return(e&Fc)!==Y}function jc(e){return(e&ao)===e}function lg(e){var t=Ie|qr|Xt;return(e&t)===Y}function Hh(e){return(e&yl)===e}function hs(e,t){var a=ei|qr|Jl|Xt;return(t&a)!==Y}function Vh(e,t){return(t&e.expiredLanes)!==Y}function kd(e){return(e&yl)!==Y}function _d(){var e=Hc;return Hc<<=1,(Hc&yl)===Y&&(Hc=to),e}function og(){var e=Vc;return Vc<<=1,(Vc&ao)===Y&&(Vc=Ti),e}function bn(e){return e&-e}function Rn(e){return bn(e)}function bl(e){return 31-wc(e)}function Pc(e){return bl(e)}function Hr(e,t){return(e&t)!==Y}function io(e,t){return(e&t)===t}function tt(e,t){return e|t}function lu(e,t){return e&~t}function Md(e,t){return e&t}function Bh(e){return e}function jh(e,t){return e!==pt&&e<t?e:t}function $c(e){for(var t=[],a=0;a<Qt;a++)t.push(e);return t}function lo(e,t,a){e.pendingLanes|=t,t!==Sl&&(e.suspendedLanes=Y,e.pingedLanes=Y);var i=e.eventTimes,o=Pc(t);i[o]=a}function Od(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,i=t;i>0;){var o=bl(i),s=1<<o;a[o]=jt,i&=~s}}function Ad(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function Ld(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=Y,e.pingedLanes=Y,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var i=e.entanglements,o=e.eventTimes,s=e.expirationTimes,d=a;d>0;){var v=bl(d),g=1<<v;i[v]=Y,o[v]=jt,s[v]=jt,d&=~g}}function ou(e,t){for(var a=e.entangledLanes|=t,i=e.entanglements,o=a;o;){var s=bl(o),d=1<<s;d&t|i[s]&t&&(i[s]|=t),o&=~d}}function ug(e,t){var a=bn(t),i;switch(a){case qr:i=ei;break;case Xt:i=Jl;break;case to:case va:case Ur:case no:case ss:case cs:case Rc:case Tc:case Dc:case kc:case _c:case Mc:case Oc:case Ac:case ro:case Lc:case Ti:case Nc:case fs:case zc:case Uc:i=eo;break;case Sl:i=ru;break;default:i=pt;break}return(i&(e.suspendedLanes|t))!==pt?pt:i}function Nd(e,t,a){if(Pn)for(var i=e.pendingUpdatersLaneMap;a>0;){var o=Pc(a),s=1<<o,d=i[o];d.add(t),a&=~s}}function Ic(e,t){if(Pn)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;t>0;){var o=Pc(t),s=1<<o,d=a[o];d.size>0&&(d.forEach(function(v){var g=v.alternate;(g===null||!i.has(g))&&i.add(v)}),d.clear()),t&=~s}}function zd(e,t){return null}var tr=Ie,$n=qr,Di=Xt,vs=Sl,oo=pt;function ma(){return oo}function Tn(e){oo=e}function ms(e,t){var a=oo;try{return oo=e,t()}finally{oo=a}}function nr(e,t){return e!==0&&e<t?e:t}function sg(e,t){return e===0||e>t?e:t}function Ud(e,t){return e!==0&&e<t}function gs(e){var t=bn(e);return Ud(tr,t)?Ud($n,t)?ps(t)?Di:vs:$n:tr}function Dn(e){var t=e.current.memoizedState;return t.isDehydrated}var Ph;function Ce(e){Ph=e}function uu(e){Ph(e)}var ys;function $h(e){ys=e}var Ih;function Ss(e){Ih=e}var bs;function Fd(e){bs=e}var Hd;function Wh(e){Hd=e}var Wc=!1,su=[],ti=null,en=null,zn=null,ga=new Map,cu=new Map,ki=[],ja=["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 Yh(e){return ja.indexOf(e)>-1}function ni(e,t,a,i,o){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:o,targetContainers:[i]}}function Gh(e,t){switch(e){case"focusin":case"focusout":ti=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;ga.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var i=t.pointerId;cu.delete(i);break}}}function fu(e,t,a,i,o,s){if(e===null||e.nativeEvent!==s){var d=ni(t,a,i,o,s);if(t!==null){var v=Eu(t);v!==null&&ys(v)}return d}e.eventSystemFlags|=i;var g=e.targetContainers;return o!==null&&g.indexOf(o)===-1&&g.push(o),e}function Qh(e,t,a,i,o){switch(t){case"focusin":{var s=o;return ti=fu(ti,e,t,a,i,s),!0}case"dragenter":{var d=o;return en=fu(en,e,t,a,i,d),!0}case"mouseover":{var v=o;return zn=fu(zn,e,t,a,i,v),!0}case"pointerover":{var g=o,C=g.pointerId;return ga.set(C,fu(ga.get(C)||null,e,t,a,i,g)),!0}case"gotpointercapture":{var w=o,O=w.pointerId;return cu.set(O,fu(cu.get(O)||null,e,t,a,i,w)),!0}}return!1}function Vd(e){var t=_s(e.target);if(t!==null){var a=Qr(t);if(a!==null){var i=a.tag;if(i===fe){var o=hd(a);if(o!==null){e.blockedOn=o,Hd(e.priority,function(){Ih(a)});return}}else if(i===X){var s=a.stateNode;if(Dn(s)){e.blockedOn=pc(a);return}}}}e.blockedOn=null}function Xh(e){for(var t=bs(),a={blockedOn:null,target:e,priority:t},i=0;i<ki.length&&Ud(t,ki[i].priority);i++);ki.splice(i,0,a),i===0&&Vd(a)}function Yc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],i=uo(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(i===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);Ju(s),o.target.dispatchEvent(s),Jm()}else{var d=Eu(i);return d!==null&&ys(d),e.blockedOn=i,!1}t.shift()}return!0}function Cs(e,t,a){Yc(e)&&a.delete(t)}function Bd(){Wc=!1,ti!==null&&Yc(ti)&&(ti=null),en!==null&&Yc(en)&&(en=null),zn!==null&&Yc(zn)&&(zn=null),ga.forEach(Cs),cu.forEach(Cs)}function rr(e,t){e.blockedOn===t&&(e.blockedOn=null,Wc||(Wc=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Bd)))}function ut(e){if(su.length>0){rr(su[0],e);for(var t=1;t<su.length;t++){var a=su[t];a.blockedOn===e&&(a.blockedOn=null)}}ti!==null&&rr(ti,e),en!==null&&rr(en,e),zn!==null&&rr(zn,e);var i=function(v){return rr(v,e)};ga.forEach(i),cu.forEach(i);for(var o=0;o<ki.length;o++){var s=ki[o];s.blockedOn===e&&(s.blockedOn=null)}for(;ki.length>0;){var d=ki[0];if(d.blockedOn!==null)break;Vd(d),d.blockedOn===null&&ki.shift()}}var ln=p.ReactCurrentBatchConfig,dn=!0;function Un(e){dn=!!e}function Zr(){return dn}function du(e,t,a){var i=cr(t),o;switch(i){case tr:o=kn;break;case $n:o=Es;break;case Di:default:o=_i;break}return o.bind(null,t,a,e)}function kn(e,t,a,i){var o=ma(),s=ln.transition;ln.transition=null;try{Tn(tr),_i(e,t,a,i)}finally{Tn(o),ln.transition=s}}function Es(e,t,a,i){var o=ma(),s=ln.transition;ln.transition=null;try{Tn($n),_i(e,t,a,i)}finally{Tn(o),ln.transition=s}}function _i(e,t,a,i){dn&&Gc(e,t,a,i)}function Gc(e,t,a,i){var o=uo(e,t,a,i);if(o===null){_g(e,t,i,pu,a),Gh(e,i);return}if(Qh(o,e,t,a,i)){i.stopPropagation();return}if(Gh(e,i),t&Il&&Yh(e)){for(;o!==null;){var s=Eu(o);s!==null&&uu(s);var d=uo(e,t,a,i);if(d===null&&_g(e,t,i,pu,a),d===o)break;o=d}o!==null&&i.stopPropagation();return}_g(e,t,i,null,a)}var pu=null;function uo(e,t,a,i){pu=null;var o=uc(i),s=_s(o);if(s!==null){var d=Qr(s);if(d===null)s=null;else{var v=d.tag;if(v===fe){var g=hd(d);if(g!==null)return g;s=null}else if(v===X){var C=d.stateNode;if(Dn(C))return pc(d);s=null}else d!==s&&(s=null)}}return pu=s,null}function cr(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 tr;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 $n;case"message":{var t=gd();switch(t){case gc:return tr;case Kr:return $n;case Ja:case yc:return Di;case dl:return vs;default:return Di}}default:return Di}}function jd(e,t,a){return e.addEventListener(t,a,!1),a}function hu(e,t,a){return e.addEventListener(t,a,!0),a}function Mi(e,t,a,i){return e.addEventListener(t,a,{capture:!0,passive:i}),a}function Qc(e,t,a,i){return e.addEventListener(t,a,{passive:i}),a}var so=null,ri=null,Cl=null;function El(e){return so=e,ri=Kc(),!0}function Xc(){so=null,ri=null,Cl=null}function vu(){if(Cl)return Cl;var e,t=ri,a=t.length,i,o=Kc(),s=o.length;for(e=0;e<a&&t[e]===o[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===o[s-i];i++);var v=i>1?1-i:void 0;return Cl=o.slice(e,v),Cl}function Kc(){return"value"in so?so.value:so.textContent}function co(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function fo(){return!0}function ar(){return!1}function Cn(e){function t(a,i,o,s,d){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var v in e)if(e.hasOwnProperty(v)){var g=e[v];g?this[v]=g(s):this[v]=s[v]}var C=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return C?this.isDefaultPrevented=fo:this.isDefaultPrevented=ar,this.isPropagationStopped=ar,this}return rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=fo)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=fo)},persist:function(){},isPersistent:fo}),t}var ir={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lr=Cn(ir),mu=rt({},ir,{view:0,detail:0}),Pd=Cn(mu),ws,$d,ya;function Kh(e){e!==ya&&(ya&&e.type==="mousemove"?(ws=e.screenX-ya.screenX,$d=e.screenY-ya.screenY):(ws=0,$d=0),ya=e)}var gu=rt({},mu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jc,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:(Kh(e),ws)},movementY:function(e){return"movementY"in e?e.movementY:$d}}),wl=Cn(gu),Id=rt({},gu,{dataTransfer:0}),po=Cn(Id),qh=rt({},mu,{relatedTarget:0}),qc=Cn(qh),Wd=rt({},ir,{animationName:0,elapsedTime:0,pseudoElement:0}),Zc=Cn(Wd),cg=rt({},ir,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fg=Cn(cg),Zh=rt({},ir,{data:0}),Yd=Cn(Zh),ho=Yd,dg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},yu={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 Jh(e){if(e.key){var t=dg[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=co(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?yu[e.keyCode]||"Unidentified":""}var pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pg(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var i=pn[e];return i?!!a[i]:!1}function Jc(e){return pg}var hg=rt({},mu,{key:Jh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jc,charCode:function(e){return e.type==="keypress"?co(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?co(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),vg=Cn(hg),ev=rt({},gu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gd=Cn(ev),mg=rt({},mu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jc}),Sa=Cn(mg),Qd=rt({},ir,{propertyName:0,elapsedTime:0,pseudoElement:0}),gg=Cn(Qd),xl=rt({},gu,{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}),ef=Cn(xl),vo=[9,13,27,32],xs=229,Rs=hn&&"CompositionEvent"in window,mo=null;hn&&"documentMode"in document&&(mo=document.documentMode);var yg=hn&&"TextEvent"in window&&!mo,tf=hn&&(!Rs||mo&&mo>8&&mo<=11),tv=32,Xd=String.fromCharCode(tv);function nv(){br("onBeforeInput",["compositionend","keypress","textInput","paste"]),br("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),br("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),br("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Ts=!1;function nf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function rv(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Kd(e,t){return e==="keydown"&&t.keyCode===xs}function av(e,t){switch(e){case"keyup":return vo.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==xs;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function rf(e){return e.locale==="ko"}var Oi=!1;function Zd(e,t,a,i,o){var s,d;if(Rs?s=rv(t):Oi?av(t,i)&&(s="onCompositionEnd"):Kd(t,i)&&(s="onCompositionStart"),!s)return null;tf&&!rf(i)&&(!Oi&&s==="onCompositionStart"?Oi=El(o):s==="onCompositionEnd"&&Oi&&(d=vu()));var v=sv(a,s);if(v.length>0){var g=new Yd(s,t,null,i,o);if(e.push({event:g,listeners:v}),d)g.data=d;else{var C=qd(i);C!==null&&(g.data=C)}}}function af(e,t){switch(e){case"compositionend":return qd(t);case"keypress":var a=t.which;return a!==tv?null:(Ts=!0,Xd);case"textInput":var i=t.data;return i===Xd&&Ts?null:i;default:return null}}function iv(e,t){if(Oi){if(e==="compositionend"||!Rs&&av(e,t)){var a=vu();return Xc(),Oi=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!nf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return tf&&!rf(t)?null:t.data;default:return null}}function Sg(e,t,a,i,o){var s;if(yg?s=af(t,i):s=iv(t,i),!s)return null;var d=sv(a,"onBeforeInput");if(d.length>0){var v=new ho("onBeforeInput","beforeinput",null,i,o);e.push({event:v,listeners:d}),v.data=s}}function lf(e,t,a,i,o,s,d){Zd(e,t,a,i,o),Sg(e,t,a,i,o)}var bg={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 Su(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!bg[e.type]:t==="textarea"}/**
|
|
325
|
-
* Checks if an event is supported in the current execution environment.
|
|
326
|
-
*
|
|
327
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
328
|
-
* `reset`, `load`, `error`, and `select`.
|
|
329
|
-
*
|
|
330
|
-
* Borrows from Modernizr.
|
|
331
|
-
*
|
|
332
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
333
|
-
* @return {boolean} True if the event is supported.
|
|
334
|
-
* @internal
|
|
335
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
336
|
-
*/function Cg(e){if(!hn)return!1;var t="on"+e,a=t in document;if(!a){var i=document.createElement("div");i.setAttribute(t,"return;"),a=typeof i[t]=="function"}return a}function of(){br("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,i){sc(i);var o=sv(t,"onChange");if(o.length>0){var s=new lr("onChange","change",null,a,i);e.push({event:s,listeners:o})}}var r=null,l=null;function u(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function f(e){var t=[];n(t,l,e,uc(e)),ld(h,t)}function h(e){U0(e,0)}function b(e){var t=pf(e);if(Po(t))return e}function R(e,t){if(e==="change")return t}var k=!1;hn&&(k=Cg("input")&&(!document.documentMode||document.documentMode>9));function j(e,t){r=e,l=t,r.attachEvent("onpropertychange",ne)}function ee(){r&&(r.detachEvent("onpropertychange",ne),r=null,l=null)}function ne(e){e.propertyName==="value"&&b(l)&&f(e)}function Z(e,t,a){e==="focusin"?(ee(),j(t,a)):e==="focusout"&&ee()}function ve(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return b(l)}function we(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function De(e,t){if(e==="click")return b(t)}function gn(e,t){if(e==="input"||e==="change")return b(t)}function L(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Be(e,"number",e.value)}function M(e,t,a,i,o,s,d){var v=a?pf(a):window,g,C;if(u(v)?g=R:Su(v)?k?g=gn:(g=ve,C=Z):we(v)&&(g=De),g){var w=g(t,a);if(w){n(e,w,i,o);return}}C&&C(t,v,a),t==="focusout"&&L(v)}function U(){Da("onMouseEnter",["mouseout","mouseover"]),Da("onMouseLeave",["mouseout","mouseover"]),Da("onPointerEnter",["pointerout","pointerover"]),Da("onPointerLeave",["pointerout","pointerover"])}function ie(e,t,a,i,o,s,d){var v=t==="mouseover"||t==="pointerover",g=t==="mouseout"||t==="pointerout";if(v&&!Eh(i)){var C=i.relatedTarget||i.fromElement;if(C&&(_s(C)||dp(C)))return}if(!(!g&&!v)){var w;if(o.window===o)w=o;else{var O=o.ownerDocument;O?w=O.defaultView||O.parentWindow:w=window}var _,H;if(g){var B=i.relatedTarget||i.toElement;if(_=a,H=B?_s(B):null,H!==null){var I=Qr(H);(H!==I||H.tag!==te&&H.tag!==oe)&&(H=null)}}else _=null,H=a;if(_!==H){var Se=wl,Ve="onMouseLeave",Ae="onMouseEnter",vt="mouse";(t==="pointerout"||t==="pointerover")&&(Se=Gd,Ve="onPointerLeave",Ae="onPointerEnter",vt="pointer");var st=_==null?w:pf(_),N=H==null?w:pf(H),W=new Se(Ve,vt+"leave",_,i,o);W.target=st,W.relatedTarget=N;var z=null,re=_s(o);if(re===a){var be=new Se(Ae,vt+"enter",H,i,o);be.target=N,be.relatedTarget=st,z=be}W1(e,W,z,_,H)}}}function Oe(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xe=typeof Object.is=="function"?Object.is:Oe;function Ne(e,t){if(xe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var o=0;o<a.length;o++){var s=a[o];if(!Zn.call(t,s)||!xe(e[s],t[s]))return!1}return!0}function Qe(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Et(e,t){for(var a=Qe(e),i=0,o=0;a;){if(a.nodeType===yi){if(o=i+a.textContent.length,i<=t&&o>=t)return{node:a,offset:t-i};i=o}a=Qe(Fn(a))}}function Rl(e){var t=e.ownerDocument,a=t&&t.defaultView||window,i=a.getSelection&&a.getSelection();if(!i||i.rangeCount===0)return null;var o=i.anchorNode,s=i.anchorOffset,d=i.focusNode,v=i.focusOffset;try{o.nodeType,d.nodeType}catch{return null}return Eg(e,o,s,d,v)}function Eg(e,t,a,i,o){var s=0,d=-1,v=-1,g=0,C=0,w=e,O=null;e:for(;;){for(var _=null;w===t&&(a===0||w.nodeType===yi)&&(d=s+a),w===i&&(o===0||w.nodeType===yi)&&(v=s+o),w.nodeType===yi&&(s+=w.nodeValue.length),(_=w.firstChild)!==null;)O=w,w=_;for(;;){if(w===e)break e;if(O===t&&++g===a&&(d=s),O===i&&++C===o&&(v=s),(_=w.nextSibling)!==null)break;w=O,O=w.parentNode}w=_}return d===-1||v===-1?null:{start:d,end:v}}function T1(e,t){var a=e.ownerDocument||document,i=a&&a.defaultView||window;if(i.getSelection){var o=i.getSelection(),s=e.textContent.length,d=Math.min(t.start,s),v=t.end===void 0?d:Math.min(t.end,s);if(!o.extend&&d>v){var g=v;v=d,d=g}var C=Et(e,d),w=Et(e,v);if(C&&w){if(o.rangeCount===1&&o.anchorNode===C.node&&o.anchorOffset===C.offset&&o.focusNode===w.node&&o.focusOffset===w.offset)return;var O=a.createRange();O.setStart(C.node,C.offset),o.removeAllRanges(),d>v?(o.addRange(O),o.extend(w.node,w.offset)):(O.setEnd(w.node,w.offset),o.addRange(O))}}}function x0(e){return e&&e.nodeType===yi}function R0(e,t){return!e||!t?!1:e===t?!0:x0(e)?!1:x0(t)?R0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function D1(e){return e&&e.ownerDocument&&R0(e.ownerDocument.documentElement,e)}function k1(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function T0(){for(var e=window,t=al();t instanceof e.HTMLIFrameElement;){if(k1(t))e=t.contentWindow;else return t;t=al(e.document)}return t}function wg(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 _1(){var e=T0();return{focusedElem:e,selectionRange:wg(e)?O1(e):null}}function M1(e){var t=T0(),a=e.focusedElem,i=e.selectionRange;if(t!==a&&D1(a)){i!==null&&wg(a)&&A1(a,i);for(var o=[],s=a;s=s.parentNode;)s.nodeType===Mr&&o.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof a.focus=="function"&&a.focus();for(var d=0;d<o.length;d++){var v=o[d];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}}function O1(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=Rl(e),t||{start:0,end:0}}function A1(e,t){var a=t.start,i=t.end;i===void 0&&(i=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(i,e.value.length)):T1(e,t)}var L1=hn&&"documentMode"in document&&document.documentMode<=11;function N1(){br("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var uf=null,xg=null,Jd=null,Rg=!1;function z1(e){if("selectionStart"in e&&wg(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function U1(e){return e.window===e?e.document:e.nodeType===Fa?e:e.ownerDocument}function D0(e,t,a){var i=U1(a);if(!(Rg||uf==null||uf!==al(i))){var o=z1(uf);if(!Jd||!Ne(Jd,o)){Jd=o;var s=sv(xg,"onSelect");if(s.length>0){var d=new lr("onSelect","select",null,t,a);e.push({event:d,listeners:s}),d.target=uf}}}}function F1(e,t,a,i,o,s,d){var v=a?pf(a):window;switch(t){case"focusin":(Su(v)||v.contentEditable==="true")&&(uf=v,xg=a,Jd=null);break;case"focusout":uf=null,xg=null,Jd=null;break;case"mousedown":Rg=!0;break;case"contextmenu":case"mouseup":case"dragend":Rg=!1,D0(e,i,o);break;case"selectionchange":if(L1)break;case"keydown":case"keyup":D0(e,i,o)}}function lv(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var sf={animationend:lv("Animation","AnimationEnd"),animationiteration:lv("Animation","AnimationIteration"),animationstart:lv("Animation","AnimationStart"),transitionend:lv("Transition","TransitionEnd")},Tg={},k0={};hn&&(k0=document.createElement("div").style,"AnimationEvent"in window||(delete sf.animationend.animation,delete sf.animationiteration.animation,delete sf.animationstart.animation),"TransitionEvent"in window||delete sf.transitionend.transition);function ov(e){if(Tg[e])return Tg[e];if(!sf[e])return e;var t=sf[e];for(var a in t)if(t.hasOwnProperty(a)&&a in k0)return Tg[e]=t[a];return e}var _0=ov("animationend"),M0=ov("animationiteration"),O0=ov("animationstart"),A0=ov("transitionend"),L0=new Map,N0=["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 bu(e,t){L0.set(e,t),br(t,[e])}function H1(){for(var e=0;e<N0.length;e++){var t=N0[e],a=t.toLowerCase(),i=t[0].toUpperCase()+t.slice(1);bu(a,"on"+i)}bu(_0,"onAnimationEnd"),bu(M0,"onAnimationIteration"),bu(O0,"onAnimationStart"),bu("dblclick","onDoubleClick"),bu("focusin","onFocus"),bu("focusout","onBlur"),bu(A0,"onTransitionEnd")}function V1(e,t,a,i,o,s,d){var v=L0.get(t);if(v!==void 0){var g=lr,C=t;switch(t){case"keypress":if(co(i)===0)return;case"keydown":case"keyup":g=vg;break;case"focusin":C="focus",g=qc;break;case"focusout":C="blur",g=qc;break;case"beforeblur":case"afterblur":g=qc;break;case"click":if(i.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=wl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=po;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Sa;break;case _0:case M0:case O0:g=Zc;break;case A0:g=gg;break;case"scroll":g=Pd;break;case"wheel":g=ef;break;case"copy":case"cut":case"paste":g=fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Gd;break}var w=(s&Il)!==0;{var O=!w&&t==="scroll",_=$1(a,v,i.type,w,O);if(_.length>0){var H=new g(v,C,null,i,o);e.push({event:H,listeners:_})}}}}H1(),U(),of(),N1(),nv();function B1(e,t,a,i,o,s,d){V1(e,t,a,i,o,s);var v=(s&Zm)===0;v&&(ie(e,t,a,i,o),M(e,t,a,i,o),F1(e,t,a,i,o),lf(e,t,a,i,o))}var ep=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Dg=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ep));function z0(e,t,a){var i=e.type||"unknown-event";e.currentTarget=a,Ei(i,t,void 0,e),e.currentTarget=null}function j1(e,t,a){var i;if(a)for(var o=t.length-1;o>=0;o--){var s=t[o],d=s.instance,v=s.currentTarget,g=s.listener;if(d!==i&&e.isPropagationStopped())return;z0(e,g,v),i=d}else for(var C=0;C<t.length;C++){var w=t[C],O=w.instance,_=w.currentTarget,H=w.listener;if(O!==i&&e.isPropagationStopped())return;z0(e,H,_),i=O}}function U0(e,t){for(var a=(t&Il)!==0,i=0;i<e.length;i++){var o=e[i],s=o.event,d=o.listeners;j1(s,d,a)}cd()}function P1(e,t,a,i,o){var s=uc(a),d=[];B1(d,e,i,a,s,t),U0(d,t)}function on(e,t){Dg.has(e)||S('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,i=yx(t),o=Y1(e,a);i.has(o)||(F0(t,e,qu,a),i.add(o))}function kg(e,t,a){Dg.has(e)&&!t&&S('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=Il),F0(a,e,i,t)}var uv="_reactListening"+Math.random().toString(36).slice(2);function tp(e){if(!e[uv]){e[uv]=!0,ct.forEach(function(a){a!=="selectionchange"&&(Dg.has(a)||kg(a,!1,e),kg(a,!0,e))});var t=e.nodeType===Fa?e:e.ownerDocument;t!==null&&(t[uv]||(t[uv]=!0,kg("selectionchange",!1,t)))}}function F0(e,t,a,i,o){var s=du(e,t,a),d=void 0;ns&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,i?d!==void 0?Mi(e,t,s,d):hu(e,t,s):d!==void 0?Qc(e,t,s,d):jd(e,t,s)}function H0(e,t){return e===t||e.nodeType===Sn&&e.parentNode===t}function _g(e,t,a,i,o){var s=i;if(!(t&bi)&&!(t&qu)){var d=o;if(i!==null){var v=i;e:for(;;){if(v===null)return;var g=v.tag;if(g===X||g===J){var C=v.stateNode.containerInfo;if(H0(C,d))break;if(g===J)for(var w=v.return;w!==null;){var O=w.tag;if(O===X||O===J){var _=w.stateNode.containerInfo;if(H0(_,d))return}w=w.return}for(;C!==null;){var H=_s(C);if(H===null)return;var B=H.tag;if(B===te||B===oe){v=s=H;continue e}C=C.parentNode}}v=v.return}}}ld(function(){return P1(e,t,a,s)})}function np(e,t,a){return{instance:e,listener:t,currentTarget:a}}function $1(e,t,a,i,o,s){for(var d=t!==null?t+"Capture":null,v=i?d:t,g=[],C=e,w=null;C!==null;){var O=C,_=O.stateNode,H=O.tag;if(H===te&&_!==null&&(w=_,v!==null)){var B=Yl(C,v);B!=null&&g.push(np(C,B,w))}if(o)break;C=C.return}return g}function sv(e,t){for(var a=t+"Capture",i=[],o=e;o!==null;){var s=o,d=s.stateNode,v=s.tag;if(v===te&&d!==null){var g=d,C=Yl(o,a);C!=null&&i.unshift(np(o,C,g));var w=Yl(o,t);w!=null&&i.push(np(o,w,g))}o=o.return}return i}function cf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==te);return e||null}function I1(e,t){for(var a=e,i=t,o=0,s=a;s;s=cf(s))o++;for(var d=0,v=i;v;v=cf(v))d++;for(;o-d>0;)a=cf(a),o--;for(;d-o>0;)i=cf(i),d--;for(var g=o;g--;){if(a===i||i!==null&&a===i.alternate)return a;a=cf(a),i=cf(i)}return null}function V0(e,t,a,i,o){for(var s=t._reactName,d=[],v=a;v!==null&&v!==i;){var g=v,C=g.alternate,w=g.stateNode,O=g.tag;if(C!==null&&C===i)break;if(O===te&&w!==null){var _=w;if(o){var H=Yl(v,s);H!=null&&d.unshift(np(v,H,_))}else if(!o){var B=Yl(v,s);B!=null&&d.push(np(v,B,_))}}v=v.return}d.length!==0&&e.push({event:t,listeners:d})}function W1(e,t,a,i,o){var s=i&&o?I1(i,o):null;i!==null&&V0(e,t,i,s,!1),o!==null&&a!==null&&V0(e,a,o,s,!0)}function Y1(e,t){return e+"__"+(t?"capture":"bubble")}var ba=!1,rp="dangerouslySetInnerHTML",cv="suppressContentEditableWarning",Cu="suppressHydrationWarning",B0="autoFocus",Ds="children",ks="style",fv="__html",Mg,dv,ap,j0,pv,P0,$0;Mg={dialog:!0,webview:!0},dv=function(e,t){oc(e,t),td(e,t),Ch(e,t,{registrationNameDependencies:Pt,possibleRegistrationNames:fi})},P0=hn&&!document.documentMode,ap=function(e,t,a){if(!ba){var i=hv(a),o=hv(t);o!==i&&(ba=!0,S("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(i)))}},j0=function(e){if(!ba){ba=!0;var t=[];e.forEach(function(a){t.push(a)}),S("Extra attributes from the server: %s",t)}},pv=function(e,t){t===!1?S("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):S("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},$0=function(e,t){var a=e.namespaceURI===gi?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var G1=/\r\n?/g,Q1=/\u0000|\uFFFD/g;function hv(e){Wa(e);var t=typeof e=="string"?e:""+e;return t.replace(G1,`
|
|
337
|
-
`).replace(Q1,"")}function vv(e,t,a,i){var o=hv(t),s=hv(e);if(s!==o&&(i&&(ba||(ba=!0,S('Text content did not match. Server: "%s" Client: "%s"',s,o))),a&&Me))throw new Error("Text content does not match server-rendered HTML.")}function I0(e){return e.nodeType===Fa?e:e.ownerDocument}function X1(){}function mv(e){e.onclick=X1}function K1(e,t,a,i,o){for(var s in i)if(i.hasOwnProperty(s)){var d=i[s];if(s===ks)d&&Object.freeze(d),fh(t,d);else if(s===rp){var v=d?d[fv]:void 0;v!=null&&eh(t,v)}else if(s===Ds)if(typeof d=="string"){var g=e!=="textarea"||d!=="";g&&rc(t,d)}else typeof d=="number"&&rc(t,""+d);else s===cv||s===Cu||s===B0||(Pt.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&pv(s,d),s==="onScroll"&&on("scroll",t)):d!=null&&Ga(t,s,d,o))}}function q1(e,t,a,i){for(var o=0;o<t.length;o+=2){var s=t[o],d=t[o+1];s===ks?fh(e,d):s===rp?eh(e,d):s===Ds?rc(e,d):Ga(e,s,d,i)}}function Z1(e,t,a,i){var o,s=I0(a),d,v=i;if(v===gi&&(v=tc(e)),v===gi){if(o=Si(e,t),!o&&e!==e.toLowerCase()&&S("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var g=s.createElement("div");g.innerHTML="<script><\/script>";var C=g.firstChild;d=g.removeChild(C)}else if(typeof t.is=="string")d=s.createElement(e,{is:t.is});else if(d=s.createElement(e),e==="select"){var w=d;t.multiple?w.multiple=!0:t.size&&(w.size=t.size)}}else d=s.createElementNS(v,e);return v===gi&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!Zn.call(Mg,e)&&(Mg[e]=!0,S("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),d}function J1(e,t){return I0(t).createTextNode(e)}function ew(e,t,a,i){var o=Si(t,a);dv(t,a);var s;switch(t){case"dialog":on("cancel",e),on("close",e),s=a;break;case"iframe":case"object":case"embed":on("load",e),s=a;break;case"video":case"audio":for(var d=0;d<ep.length;d++)on(ep[d],e);s=a;break;case"source":on("error",e),s=a;break;case"img":case"image":case"link":on("error",e),on("load",e),s=a;break;case"details":on("toggle",e),s=a;break;case"input":T(e,a),s=y(e,a),on("invalid",e);break;case"option":Nt(e,a),s=a;break;case"select":Gu(e,a),s=Yu(e,a),on("invalid",e);break;case"textarea":qp(e,a),s=Yf(e,a),on("invalid",e);break;default:s=a}switch(ic(t,s),K1(t,e,i,s,o),t){case"input":oa(e),ae(e,a,!1);break;case"textarea":oa(e),Jp(e);break;case"option":Vt(e,a);break;case"select":If(e,a);break;default:typeof s.onClick=="function"&&mv(e);break}}function tw(e,t,a,i,o){dv(t,i);var s=null,d,v;switch(t){case"input":d=y(e,a),v=y(e,i),s=[];break;case"select":d=Yu(e,a),v=Yu(e,i),s=[];break;case"textarea":d=Yf(e,a),v=Yf(e,i),s=[];break;default:d=a,v=i,typeof d.onClick!="function"&&typeof v.onClick=="function"&&mv(e);break}ic(t,v);var g,C,w=null;for(g in d)if(!(v.hasOwnProperty(g)||!d.hasOwnProperty(g)||d[g]==null))if(g===ks){var O=d[g];for(C in O)O.hasOwnProperty(C)&&(w||(w={}),w[C]="")}else g===rp||g===Ds||g===cv||g===Cu||g===B0||(Pt.hasOwnProperty(g)?s||(s=[]):(s=s||[]).push(g,null));for(g in v){var _=v[g],H=d!=null?d[g]:void 0;if(!(!v.hasOwnProperty(g)||_===H||_==null&&H==null))if(g===ks)if(_&&Object.freeze(_),H){for(C in H)H.hasOwnProperty(C)&&(!_||!_.hasOwnProperty(C))&&(w||(w={}),w[C]="");for(C in _)_.hasOwnProperty(C)&&H[C]!==_[C]&&(w||(w={}),w[C]=_[C])}else w||(s||(s=[]),s.push(g,w)),w=_;else if(g===rp){var B=_?_[fv]:void 0,I=H?H[fv]:void 0;B!=null&&I!==B&&(s=s||[]).push(g,B)}else g===Ds?(typeof _=="string"||typeof _=="number")&&(s=s||[]).push(g,""+_):g===cv||g===Cu||(Pt.hasOwnProperty(g)?(_!=null&&(typeof _!="function"&&pv(g,_),g==="onScroll"&&on("scroll",e)),!s&&H!==_&&(s=[])):(s=s||[]).push(g,_))}return w&&(Xu(w,v[ks]),(s=s||[]).push(ks,w)),s}function nw(e,t,a,i,o){a==="input"&&o.type==="radio"&&o.name!=null&&V(e,o);var s=Si(a,i),d=Si(a,o);switch(q1(e,t,s,d),a){case"input":$(e,o);break;case"textarea":Zp(e,o);break;case"select":Pm(e,o);break}}function rw(e){{var t=e.toLowerCase();return lc.hasOwnProperty(t)&&lc[t]||null}}function aw(e,t,a,i,o,s,d){var v,g;switch(v=Si(t,a),dv(t,a),t){case"dialog":on("cancel",e),on("close",e);break;case"iframe":case"object":case"embed":on("load",e);break;case"video":case"audio":for(var C=0;C<ep.length;C++)on(ep[C],e);break;case"source":on("error",e);break;case"img":case"image":case"link":on("error",e),on("load",e);break;case"details":on("toggle",e);break;case"input":T(e,a),on("invalid",e);break;case"option":Nt(e,a);break;case"select":Gu(e,a),on("invalid",e);break;case"textarea":qp(e,a),on("invalid",e);break}ic(t,a);{g=new Set;for(var w=e.attributes,O=0;O<w.length;O++){var _=w[O].name.toLowerCase();switch(_){case"value":break;case"checked":break;case"selected":break;default:g.add(w[O].name)}}}var H=null;for(var B in a)if(a.hasOwnProperty(B)){var I=a[B];if(B===Ds)typeof I=="string"?e.textContent!==I&&(a[Cu]!==!0&&vv(e.textContent,I,s,d),H=[Ds,I]):typeof I=="number"&&e.textContent!==""+I&&(a[Cu]!==!0&&vv(e.textContent,I,s,d),H=[Ds,""+I]);else if(Pt.hasOwnProperty(B))I!=null&&(typeof I!="function"&&pv(B,I),B==="onScroll"&&on("scroll",e));else if(d&&typeof v=="boolean"){var Se=void 0,Ve=v&&Je?null:aa(B);if(a[Cu]!==!0){if(!(B===cv||B===Cu||B==="value"||B==="checked"||B==="selected")){if(B===rp){var Ae=e.innerHTML,vt=I?I[fv]:void 0;if(vt!=null){var st=$0(e,vt);st!==Ae&&ap(B,Ae,st)}}else if(B===ks){if(g.delete(B),P0){var N=Km(I);Se=e.getAttribute("style"),N!==Se&&ap(B,Se,N)}}else if(v&&!Je)g.delete(B.toLowerCase()),Se=$i(e,B,I),I!==Se&&ap(B,Se,I);else if(!vn(B,Ve,v)&&!Wt(B,I,Ve,v)){var W=!1;if(Ve!==null)g.delete(Ve.attributeName),Se=Oa(e,B,I,Ve);else{var z=i;if(z===gi&&(z=tc(t)),z===gi)g.delete(B.toLowerCase());else{var re=rw(B);re!==null&&re!==B&&(W=!0,g.delete(re)),g.delete(B)}Se=$i(e,B,I)}var be=Je;!be&&I!==Se&&!W&&ap(B,Se,I)}}}}}switch(d&&g.size>0&&a[Cu]!==!0&&j0(g),t){case"input":oa(e),ae(e,a,!0);break;case"textarea":oa(e),Jp(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&mv(e);break}return H}function iw(e,t,a){var i=e.nodeValue!==t;return i}function Og(e,t){{if(ba)return;ba=!0,S("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Ag(e,t){{if(ba)return;ba=!0,S('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function Lg(e,t,a){{if(ba)return;ba=!0,S("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function Ng(e,t){{if(t===""||ba)return;ba=!0,S('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function lw(e,t,a){switch(t){case"input":Pe(e,a);return;case"textarea":Gf(e,a);return;case"select":$m(e,a);return}}var ip=function(){},lp=function(){};{var ow=["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"],W0=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],uw=W0.concat(["button"]),sw=["dd","dt","li","option","optgroup","p","rp","rt"],Y0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};lp=function(e,t){var a=rt({},e||Y0),i={tag:t};return W0.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),uw.indexOf(t)!==-1&&(a.pTagInButtonScope=null),ow.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),a};var cw=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 sw.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},fw=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},G0={};ip=function(e,t,a){a=a||Y0;var i=a.current,o=i&&i.tag;t!=null&&(e!=null&&S("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=cw(e,o)?null:i,d=s?null:fw(e,a),v=s||d;if(v){var g=v.tag,C=!!s+"|"+e+"|"+g;if(!G0[C]){G0[C]=!0;var w=e,O="";if(e==="#text"?/\S/.test(t)?w="Text nodes":(w="Whitespace text nodes",O=" Make sure you don't have any extra whitespace between tags on each line of your source code."):w="<"+e+">",s){var _="";g==="table"&&e==="tr"&&(_+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),S("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",w,g,O,_)}else S("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",w,g)}}}}var gv="suppressHydrationWarning",yv="$",Sv="/$",op="$?",up="$!",dw="style",zg=null,Ug=null;function pw(e){var t,a,i=e.nodeType;switch(i){case Fa:case Pl:{t=i===Fa?"#document":"#fragment";var o=e.documentElement;a=o?o.namespaceURI:Xf(null,"");break}default:{var s=i===Sn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,a=Xf(d,t);break}}{var v=t.toLowerCase(),g=lp(null,v);return{namespace:a,ancestorInfo:g}}}function hw(e,t,a){{var i=e,o=Xf(i.namespace,t),s=lp(i.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function Qk(e){return e}function vw(e){zg=Zr(),Ug=_1();var t=null;return Un(!1),t}function mw(e){M1(Ug),Un(zg),zg=null,Ug=null}function gw(e,t,a,i,o){var s;{var d=i;if(ip(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var v=""+t.children,g=lp(d.ancestorInfo,e);ip(null,v,g)}s=d.namespace}var C=Z1(e,t,a,s);return fp(o,C),Ig(C,t),C}function yw(e,t){e.appendChild(t)}function Sw(e,t,a,i,o){switch(ew(e,t,a,i),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function bw(e,t,a,i,o,s){{var d=s;if(typeof i.children!=typeof a.children&&(typeof i.children=="string"||typeof i.children=="number")){var v=""+i.children,g=lp(d.ancestorInfo,t);ip(null,v,g)}}return tw(e,t,a,i)}function Fg(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 Cw(e,t,a,i){{var o=a;ip(null,e,o.ancestorInfo)}var s=J1(e,t);return fp(i,s),s}function Ew(){var e=window.event;return e===void 0?Di:cr(e.type)}var Hg=typeof setTimeout=="function"?setTimeout:void 0,ww=typeof clearTimeout=="function"?clearTimeout:void 0,Vg=-1,Q0=typeof Promise=="function"?Promise:void 0,xw=typeof queueMicrotask=="function"?queueMicrotask:typeof Q0<"u"?function(e){return Q0.resolve(null).then(e).catch(Rw)}:Hg;function Rw(e){setTimeout(function(){throw e})}function Tw(e,t,a,i){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function Dw(e,t,a,i,o,s){nw(e,t,a,i,o),Ig(e,o)}function X0(e){rc(e,"")}function kw(e,t,a){e.nodeValue=a}function _w(e,t){e.appendChild(t)}function Mw(e,t){var a;e.nodeType===Sn?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var i=e._reactRootContainer;i==null&&a.onclick===null&&mv(a)}function Ow(e,t,a){e.insertBefore(t,a)}function Aw(e,t,a){e.nodeType===Sn?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function Lw(e,t){e.removeChild(t)}function Nw(e,t){e.nodeType===Sn?e.parentNode.removeChild(t):e.removeChild(t)}function Bg(e,t){var a=t,i=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===Sn){var s=o.data;if(s===Sv)if(i===0){e.removeChild(o),ut(t);return}else i--;else(s===yv||s===op||s===up)&&i++}a=o}while(a);ut(t)}function zw(e,t){e.nodeType===Sn?Bg(e.parentNode,t):e.nodeType===Mr&&Bg(e,t),ut(e)}function Uw(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function Fw(e){e.nodeValue=""}function Hw(e,t){e=e;var a=t[dw],i=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=ac("display",i)}function Vw(e,t){e.nodeValue=t}function Bw(e){e.nodeType===Mr?e.textContent="":e.nodeType===Fa&&e.documentElement&&e.removeChild(e.documentElement)}function jw(e,t,a){return e.nodeType!==Mr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Pw(e,t){return t===""||e.nodeType!==yi?null:e}function $w(e){return e.nodeType!==Sn?null:e}function K0(e){return e.data===op}function jg(e){return e.data===up}function Iw(e){var t=e.nextSibling&&e.nextSibling.dataset,a,i,o;return t&&(a=t.dgst,i=t.msg,o=t.stck),{message:i,digest:a,stack:o}}function Ww(e,t){e._reactRetry=t}function bv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Mr||t===yi)break;if(t===Sn){var a=e.data;if(a===yv||a===up||a===op)break;if(a===Sv)return null}}return e}function sp(e){return bv(e.nextSibling)}function Yw(e){return bv(e.firstChild)}function Gw(e){return bv(e.firstChild)}function Qw(e){return bv(e.nextSibling)}function Xw(e,t,a,i,o,s,d){fp(s,e),Ig(e,a);var v;{var g=o;v=g.namespace}var C=(s.mode&it)!==je;return aw(e,t,a,v,i,C,d)}function Kw(e,t,a,i){return fp(a,e),a.mode&it,iw(e,t)}function qw(e,t){fp(t,e)}function Zw(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===Sn){var i=t.data;if(i===Sv){if(a===0)return sp(t);a--}else(i===yv||i===up||i===op)&&a++}t=t.nextSibling}return null}function q0(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===Sn){var i=t.data;if(i===yv||i===up||i===op){if(a===0)return t;a--}else i===Sv&&a++}t=t.previousSibling}return null}function Jw(e){ut(e)}function ex(e){ut(e)}function tx(e){return e!=="head"&&e!=="body"}function nx(e,t,a,i){var o=!0;vv(t.nodeValue,a,i,o)}function rx(e,t,a,i,o,s){if(t[gv]!==!0){var d=!0;vv(i.nodeValue,o,s,d)}}function ax(e,t){t.nodeType===Mr?Og(e,t):t.nodeType===Sn||Ag(e,t)}function ix(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===Mr?Og(a,t):t.nodeType===Sn||Ag(a,t))}}function lx(e,t,a,i,o){(o||t[gv]!==!0)&&(i.nodeType===Mr?Og(a,i):i.nodeType===Sn||Ag(a,i))}function ox(e,t,a){Lg(e,t)}function ux(e,t){Ng(e,t)}function sx(e,t,a){{var i=e.parentNode;i!==null&&Lg(i,t)}}function cx(e,t){{var a=e.parentNode;a!==null&&Ng(a,t)}}function fx(e,t,a,i,o,s){(s||t[gv]!==!0)&&Lg(a,i)}function dx(e,t,a,i,o){(o||t[gv]!==!0)&&Ng(a,i)}function px(e){S("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function hx(e){tp(e)}var ff=Math.random().toString(36).slice(2),df="__reactFiber$"+ff,Pg="__reactProps$"+ff,cp="__reactContainer$"+ff,$g="__reactEvents$"+ff,vx="__reactListeners$"+ff,mx="__reactHandles$"+ff;function gx(e){delete e[df],delete e[Pg],delete e[$g],delete e[vx],delete e[mx]}function fp(e,t){t[df]=e}function Cv(e,t){t[cp]=e}function Z0(e){e[cp]=null}function dp(e){return!!e[cp]}function _s(e){var t=e[df];if(t)return t;for(var a=e.parentNode;a;){if(t=a[cp]||a[df],t){var i=t.alternate;if(t.child!==null||i!==null&&i.child!==null)for(var o=q0(e);o!==null;){var s=o[df];if(s)return s;o=q0(o)}return t}e=a,a=e.parentNode}return null}function Eu(e){var t=e[df]||e[cp];return t&&(t.tag===te||t.tag===oe||t.tag===fe||t.tag===X)?t:null}function pf(e){if(e.tag===te||e.tag===oe)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Ev(e){return e[Pg]||null}function Ig(e,t){e[Pg]=t}function yx(e){var t=e[$g];return t===void 0&&(t=e[$g]=new Set),t}var J0={},eb=p.ReactDebugCurrentFrame;function wv(e){if(e){var t=e._owner,a=Xa(e.type,e._source,t?t.type:null);eb.setExtraStackFrame(a)}else eb.setExtraStackFrame(null)}function Ai(e,t,a,i,o){{var s=Function.call.bind(Zn);for(var d in e)if(s(e,d)){var v=void 0;try{if(typeof e[d]!="function"){var g=Error((i||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}v=e[d](t,d,i,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){v=C}v&&!(v instanceof Error)&&(wv(o),S("%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).",i||"React class",a,d,typeof v),wv(null)),v instanceof Error&&!(v.message in J0)&&(J0[v.message]=!0,wv(o),S("Failed %s type: %s",a,v.message),wv(null))}}}var Wg=[],xv;xv=[];var go=-1;function wu(e){return{current:e}}function Vr(e,t){if(go<0){S("Unexpected pop.");return}t!==xv[go]&&S("Unexpected Fiber popped."),e.current=Wg[go],Wg[go]=null,xv[go]=null,go--}function Br(e,t,a){go++,Wg[go]=e.current,xv[go]=a,e.current=t}var Yg;Yg={};var Pa={};Object.freeze(Pa);var yo=wu(Pa),Tl=wu(!1),Gg=Pa;function hf(e,t,a){return a&&Dl(t)?Gg:yo.current}function tb(e,t,a){{var i=e.stateNode;i.__reactInternalMemoizedUnmaskedChildContext=t,i.__reactInternalMemoizedMaskedChildContext=a}}function vf(e,t){{var a=e.type,i=a.contextTypes;if(!i)return Pa;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={};for(var d in i)s[d]=t[d];{var v=Xe(e)||"Unknown";Ai(i,s,"context",v)}return o&&tb(e,t,s),s}}function Rv(){return Tl.current}function Dl(e){{var t=e.childContextTypes;return t!=null}}function Tv(e){Vr(Tl,e),Vr(yo,e)}function Qg(e){Vr(Tl,e),Vr(yo,e)}function nb(e,t,a){{if(yo.current!==Pa)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Br(yo,t,e),Br(Tl,a,e)}}function rb(e,t,a){{var i=e.stateNode,o=t.childContextTypes;if(typeof i.getChildContext!="function"){{var s=Xe(e)||"Unknown";Yg[s]||(Yg[s]=!0,S("%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.",s,s))}return a}var d=i.getChildContext();for(var v in d)if(!(v in o))throw new Error((Xe(e)||"Unknown")+'.getChildContext(): key "'+v+'" is not defined in childContextTypes.');{var g=Xe(e)||"Unknown";Ai(o,d,"child context",g)}return rt({},a,d)}}function Dv(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||Pa;return Gg=yo.current,Br(yo,a,e),Br(Tl,Tl.current,e),!0}}function ab(e,t,a){{var i=e.stateNode;if(!i)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(a){var o=rb(e,t,Gg);i.__reactInternalMemoizedMergedChildContext=o,Vr(Tl,e),Vr(yo,e),Br(yo,o,e),Br(Tl,a,e)}else Vr(Tl,e),Br(Tl,a,e)}}function Sx(e){{if(!vd(e)||e.tag!==F)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 X:return t.stateNode.context;case F:{var a=t.type;if(Dl(a))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 xu=0,kv=1,So=null,Xg=!1,Kg=!1;function ib(e){So===null?So=[e]:So.push(e)}function bx(e){Xg=!0,ib(e)}function lb(){Xg&&Ru()}function Ru(){if(!Kg&&So!==null){Kg=!0;var e=0,t=ma();try{var a=!0,i=So;for(Tn(tr);e<i.length;e++){var o=i[e];do o=o(a);while(o!==null)}So=null,Xg=!1}catch(s){throw So!==null&&(So=So.slice(e+1)),vc(gc,Ru),s}finally{Tn(t),Kg=!1}}return null}var mf=[],gf=0,_v=null,Mv=0,ai=[],ii=0,Ms=null,bo=1,Co="";function Cx(e){return As(),(e.flags&dd)!==Fe}function Ex(e){return As(),Mv}function wx(){var e=Co,t=bo,a=t&~xx(t);return a.toString(32)+e}function Os(e,t){As(),mf[gf++]=Mv,mf[gf++]=_v,_v=e,Mv=t}function ob(e,t,a){As(),ai[ii++]=bo,ai[ii++]=Co,ai[ii++]=Ms,Ms=e;var i=bo,o=Co,s=Ov(i)-1,d=i&~(1<<s),v=a+1,g=Ov(t)+s;if(g>30){var C=s-s%5,w=(1<<C)-1,O=(d&w).toString(32),_=d>>C,H=s-C,B=Ov(t)+H,I=v<<H,Se=I|_,Ve=O+o;bo=1<<B|Se,Co=Ve}else{var Ae=v<<s,vt=Ae|d,st=o;bo=1<<g|vt,Co=st}}function qg(e){As();var t=e.return;if(t!==null){var a=1,i=0;Os(e,a),ob(e,a,i)}}function Ov(e){return 32-wc(e)}function xx(e){return 1<<Ov(e)-1}function Zg(e){for(;e===_v;)_v=mf[--gf],mf[gf]=null,Mv=mf[--gf],mf[gf]=null;for(;e===Ms;)Ms=ai[--ii],ai[ii]=null,Co=ai[--ii],ai[ii]=null,bo=ai[--ii],ai[ii]=null}function Rx(){return As(),Ms!==null?{id:bo,overflow:Co}:null}function Tx(e,t){As(),ai[ii++]=bo,ai[ii++]=Co,ai[ii++]=Ms,bo=t.id,Co=t.overflow,Ms=e}function As(){dr()||S("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fr=null,li=null,Li=!1,Ls=!1,Tu=null;function Dx(){Li&&S("We should not be hydrating here. This is a bug in React. Please file a bug.")}function ub(){Ls=!0}function kx(){return Ls}function _x(e){var t=e.stateNode.containerInfo;return li=Gw(t),fr=e,Li=!0,Tu=null,Ls=!1,!0}function Mx(e,t,a){return li=Qw(t),fr=e,Li=!0,Tu=null,Ls=!1,a!==null&&Tx(e,a),!0}function sb(e,t){switch(e.tag){case X:{ax(e.stateNode.containerInfo,t);break}case te:{var a=(e.mode&it)!==je;lx(e.type,e.memoizedProps,e.stateNode,t,a);break}case fe:{var i=e.memoizedState;i.dehydrated!==null&&ix(i.dehydrated,t);break}}}function cb(e,t){sb(e,t);var a=LD();a.stateNode=t,a.return=e;var i=e.deletions;i===null?(e.deletions=[a],e.flags|=_t):i.push(a)}function Jg(e,t){{if(Ls)return;switch(e.tag){case X:{var a=e.stateNode.containerInfo;switch(t.tag){case te:var i=t.type;t.pendingProps,ox(a,i);break;case oe:var o=t.pendingProps;ux(a,o);break}break}case te:{var s=e.type,d=e.memoizedProps,v=e.stateNode;switch(t.tag){case te:{var g=t.type,C=t.pendingProps,w=(e.mode&it)!==je;fx(s,d,v,g,C,w);break}case oe:{var O=t.pendingProps,_=(e.mode&it)!==je;dx(s,d,v,O,_);break}}break}case fe:{var H=e.memoizedState,B=H.dehydrated;if(B!==null)switch(t.tag){case te:var I=t.type;t.pendingProps,sx(B,I);break;case oe:var Se=t.pendingProps;cx(B,Se);break}break}default:return}}}function fb(e,t){t.flags=t.flags&~fa|Yt,Jg(e,t)}function db(e,t){switch(e.tag){case te:{var a=e.type;e.pendingProps;var i=jw(t,a);return i!==null?(e.stateNode=i,fr=e,li=Yw(i),!0):!1}case oe:{var o=e.pendingProps,s=Pw(t,o);return s!==null?(e.stateNode=s,fr=e,li=null,!0):!1}case fe:{var d=$w(t);if(d!==null){var v={dehydrated:d,treeContext:Rx(),retryLane:Fr};e.memoizedState=v;var g=ND(d);return g.return=e,e.child=g,fr=e,li=null,!0}return!1}default:return!1}}function ey(e){return(e.mode&it)!==je&&(e.flags&Ge)===Fe}function ty(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function ny(e){if(Li){var t=li;if(!t){ey(e)&&(Jg(fr,e),ty()),fb(fr,e),Li=!1,fr=e;return}var a=t;if(!db(e,t)){ey(e)&&(Jg(fr,e),ty()),t=sp(a);var i=fr;if(!t||!db(e,t)){fb(fr,e),Li=!1,fr=e;return}cb(i,a)}}}function Ox(e,t,a){var i=e.stateNode,o=!Ls,s=Xw(i,e.type,e.memoizedProps,t,a,e,o);return e.updateQueue=s,s!==null}function Ax(e){var t=e.stateNode,a=e.memoizedProps,i=Kw(t,a,e);if(i){var o=fr;if(o!==null)switch(o.tag){case X:{var s=o.stateNode.containerInfo,d=(o.mode&it)!==je;nx(s,t,a,d);break}case te:{var v=o.type,g=o.memoizedProps,C=o.stateNode,w=(o.mode&it)!==je;rx(v,g,C,t,a,w);break}}}return i}function Lx(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");qw(a,e)}function Nx(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)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 Zw(a)}function pb(e){for(var t=e.return;t!==null&&t.tag!==te&&t.tag!==X&&t.tag!==fe;)t=t.return;fr=t}function Av(e){if(e!==fr)return!1;if(!Li)return pb(e),Li=!0,!1;if(e.tag!==X&&(e.tag!==te||tx(e.type)&&!Fg(e.type,e.memoizedProps))){var t=li;if(t)if(ey(e))hb(e),ty();else for(;t;)cb(e,t),t=sp(t)}return pb(e),e.tag===fe?li=Nx(e):li=fr?sp(e.stateNode):null,!0}function zx(){return Li&&li!==null}function hb(e){for(var t=li;t;)sb(e,t),t=sp(t)}function yf(){fr=null,li=null,Li=!1,Ls=!1}function vb(){Tu!==null&&(sE(Tu),Tu=null)}function dr(){return Li}function ry(e){Tu===null?Tu=[e]:Tu.push(e)}var Ux=p.ReactCurrentBatchConfig,Fx=null;function Hx(){return Ux.transition}var Ni={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Vx=function(e){for(var t=null,a=e;a!==null;)a.mode&an&&(t=a),a=a.return;return t},Ns=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},pp=[],hp=[],vp=[],mp=[],gp=[],yp=[],zs=new Set;Ni.recordUnsafeLifecycleWarnings=function(e,t){zs.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&pp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillMount=="function"&&hp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&vp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&mp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&gp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillUpdate=="function"&&yp.push(e))},Ni.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;pp.length>0&&(pp.forEach(function(_){e.add(Xe(_)||"Component"),zs.add(_.type)}),pp=[]);var t=new Set;hp.length>0&&(hp.forEach(function(_){t.add(Xe(_)||"Component"),zs.add(_.type)}),hp=[]);var a=new Set;vp.length>0&&(vp.forEach(function(_){a.add(Xe(_)||"Component"),zs.add(_.type)}),vp=[]);var i=new Set;mp.length>0&&(mp.forEach(function(_){i.add(Xe(_)||"Component"),zs.add(_.type)}),mp=[]);var o=new Set;gp.length>0&&(gp.forEach(function(_){o.add(Xe(_)||"Component"),zs.add(_.type)}),gp=[]);var s=new Set;if(yp.length>0&&(yp.forEach(function(_){s.add(Xe(_)||"Component"),zs.add(_.type)}),yp=[]),t.size>0){var d=Ns(t);S(`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.
|
|
338
|
-
|
|
339
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
340
|
-
|
|
341
|
-
Please update the following components: %s`,d)}if(i.size>0){var v=Ns(i);S(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
342
|
-
|
|
343
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
344
|
-
* 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
|
|
345
|
-
|
|
346
|
-
Please update the following components: %s`,v)}if(s.size>0){var g=Ns(s);S(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
347
|
-
|
|
348
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
349
|
-
|
|
350
|
-
Please update the following components: %s`,g)}if(e.size>0){var C=Ns(e);x(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
351
|
-
|
|
352
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
353
|
-
* 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.
|
|
354
|
-
|
|
355
|
-
Please update the following components: %s`,C)}if(a.size>0){var w=Ns(a);x(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
356
|
-
|
|
357
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
358
|
-
* 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
|
|
359
|
-
* 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.
|
|
360
|
-
|
|
361
|
-
Please update the following components: %s`,w)}if(o.size>0){var O=Ns(o);x(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
362
|
-
|
|
363
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
364
|
-
* 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.
|
|
365
|
-
|
|
366
|
-
Please update the following components: %s`,O)}};var Lv=new Map,mb=new Set;Ni.recordLegacyContextWarning=function(e,t){var a=Vx(e);if(a===null){S("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!mb.has(e.type)){var i=Lv.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],Lv.set(a,i)),i.push(e))}},Ni.flushLegacyContextWarning=function(){Lv.forEach(function(e,t){if(e.length!==0){var a=e[0],i=new Set;e.forEach(function(s){i.add(Xe(s)||"Component"),mb.add(s.type)});var o=Ns(i);try{Mt(a),S(`Legacy context API has been detected within a strict-mode tree.
|
|
367
|
-
|
|
368
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
369
|
-
|
|
370
|
-
Please update the following components: %s
|
|
371
|
-
|
|
372
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,o)}finally{cn()}}})},Ni.discardPendingWarnings=function(){pp=[],hp=[],vp=[],mp=[],gp=[],yp=[],Lv=new Map}}function zi(e,t){if(e&&e.defaultProps){var a=rt({},t),i=e.defaultProps;for(var o in i)a[o]===void 0&&(a[o]=i[o]);return a}return t}var ay=wu(null),iy;iy={};var Nv=null,Sf=null,ly=null,zv=!1;function Uv(){Nv=null,Sf=null,ly=null,zv=!1}function gb(){zv=!0}function yb(){zv=!1}function Sb(e,t,a){Br(ay,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==iy&&S("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=iy}function oy(e,t){var a=ay.current;Vr(ay,t),e._currentValue=a}function uy(e,t,a){for(var i=e;i!==null;){var o=i.alternate;if(io(i.childLanes,t)?o!==null&&!io(o.childLanes,t)&&(o.childLanes=tt(o.childLanes,t)):(i.childLanes=tt(i.childLanes,t),o!==null&&(o.childLanes=tt(o.childLanes,t))),i===a)break;i=i.return}i!==a&&S("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 Bx(e,t,a){jx(e,t,a)}function jx(e,t,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var o=void 0,s=i.dependencies;if(s!==null){o=i.child;for(var d=s.firstContext;d!==null;){if(d.context===t){if(i.tag===F){var v=Rn(a),g=Eo(jt,v);g.tag=Hv;var C=i.updateQueue;if(C!==null){var w=C.shared,O=w.pending;O===null?g.next=g:(g.next=O.next,O.next=g),w.pending=g}}i.lanes=tt(i.lanes,a);var _=i.alternate;_!==null&&(_.lanes=tt(_.lanes,a)),uy(i.return,a,e),s.lanes=tt(s.lanes,a);break}d=d.next}}else if(i.tag===Ze)o=i.type===e.type?null:i.child;else if(i.tag===Dt){var H=i.return;if(H===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");H.lanes=tt(H.lanes,a);var B=H.alternate;B!==null&&(B.lanes=tt(B.lanes,a)),uy(H,a,e),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}var I=o.sibling;if(I!==null){I.return=o.return,o=I;break}o=o.return}i=o}}function bf(e,t){Nv=e,Sf=null,ly=null;var a=e.dependencies;if(a!==null){var i=a.firstContext;i!==null&&(Hr(a.lanes,t)&&Ap(),a.firstContext=null)}}function Hn(e){zv&&S("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(ly!==e){var a={context:e,memoizedValue:t,next:null};if(Sf===null){if(Nv===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().");Sf=a,Nv.dependencies={lanes:Y,firstContext:a}}else Sf=Sf.next=a}return t}var Us=null;function sy(e){Us===null?Us=[e]:Us.push(e)}function Px(){if(Us!==null){for(var e=0;e<Us.length;e++){var t=Us[e],a=t.interleaved;if(a!==null){t.interleaved=null;var i=a.next,o=t.pending;if(o!==null){var s=o.next;o.next=i,a.next=s}t.pending=a}}Us=null}}function bb(e,t,a,i){var o=t.interleaved;return o===null?(a.next=a,sy(t)):(a.next=o.next,o.next=a),t.interleaved=a,Fv(e,i)}function $x(e,t,a,i){var o=t.interleaved;o===null?(a.next=a,sy(t)):(a.next=o.next,o.next=a),t.interleaved=a}function Ix(e,t,a,i){var o=t.interleaved;return o===null?(a.next=a,sy(t)):(a.next=o.next,o.next=a),t.interleaved=a,Fv(e,i)}function Ca(e,t){return Fv(e,t)}var Wx=Fv;function Fv(e,t){e.lanes=tt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=tt(a.lanes,t)),a===null&&(e.flags&(Yt|fa))!==Fe&&CE(e);for(var i=e,o=e.return;o!==null;)o.childLanes=tt(o.childLanes,t),a=o.alternate,a!==null?a.childLanes=tt(a.childLanes,t):(o.flags&(Yt|fa))!==Fe&&CE(e),i=o,o=o.return;if(i.tag===X){var s=i.stateNode;return s}else return null}var Cb=0,Eb=1,Hv=2,cy=3,Vv=!1,fy,Bv;fy=!1,Bv=null;function dy(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:Y},effects:null};e.updateQueue=t}function wb(e,t){var a=t.updateQueue,i=e.updateQueue;if(a===i){var o={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects};t.updateQueue=o}}function Eo(e,t){var a={eventTime:e,lane:t,tag:Cb,payload:null,callback:null,next:null};return a}function Du(e,t,a){var i=e.updateQueue;if(i===null)return null;var o=i.shared;if(Bv===o&&!fy&&(S("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."),fy=!0),WT()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,Wx(e,a)}else return Ix(e,o,t,a)}function jv(e,t,a){var i=t.updateQueue;if(i!==null){var o=i.shared;if(kd(a)){var s=o.lanes;s=Md(s,e.pendingLanes);var d=tt(s,a);o.lanes=d,ou(e,d)}}}function py(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null){var o=i.updateQueue;if(a===o){var s=null,d=null,v=a.firstBaseUpdate;if(v!==null){var g=v;do{var C={eventTime:g.eventTime,lane:g.lane,tag:g.tag,payload:g.payload,callback:g.callback,next:null};d===null?s=d=C:(d.next=C,d=C),g=g.next}while(g!==null);d===null?s=d=t:(d.next=t,d=t)}else s=d=t;a={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=a;return}}var w=a.lastBaseUpdate;w===null?a.firstBaseUpdate=t:w.next=t,a.lastBaseUpdate=t}function Yx(e,t,a,i,o,s){switch(a.tag){case Eb:{var d=a.payload;if(typeof d=="function"){gb();var v=d.call(s,i,o);{if(e.mode&an){xn(!0);try{d.call(s,i,o)}finally{xn(!1)}}yb()}return v}return d}case cy:e.flags=e.flags&~Ln|Ge;case Cb:{var g=a.payload,C;if(typeof g=="function"){gb(),C=g.call(s,i,o);{if(e.mode&an){xn(!0);try{g.call(s,i,o)}finally{xn(!1)}}yb()}}else C=g;return C==null?i:rt({},i,C)}case Hv:return Vv=!0,i}return i}function Pv(e,t,a,i){var o=e.updateQueue;Vv=!1,Bv=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,v=o.shared.pending;if(v!==null){o.shared.pending=null;var g=v,C=g.next;g.next=null,d===null?s=C:d.next=C,d=g;var w=e.alternate;if(w!==null){var O=w.updateQueue,_=O.lastBaseUpdate;_!==d&&(_===null?O.firstBaseUpdate=C:_.next=C,O.lastBaseUpdate=g)}}if(s!==null){var H=o.baseState,B=Y,I=null,Se=null,Ve=null,Ae=s;do{var vt=Ae.lane,st=Ae.eventTime;if(io(i,vt)){if(Ve!==null){var W={eventTime:st,lane:pt,tag:Ae.tag,payload:Ae.payload,callback:Ae.callback,next:null};Ve=Ve.next=W}H=Yx(e,o,Ae,H,t,a);var z=Ae.callback;if(z!==null&&Ae.lane!==pt){e.flags|=Za;var re=o.effects;re===null?o.effects=[Ae]:re.push(Ae)}}else{var N={eventTime:st,lane:vt,tag:Ae.tag,payload:Ae.payload,callback:Ae.callback,next:null};Ve===null?(Se=Ve=N,I=H):Ve=Ve.next=N,B=tt(B,vt)}if(Ae=Ae.next,Ae===null){if(v=o.shared.pending,v===null)break;var be=v,he=be.next;be.next=null,Ae=he,o.lastBaseUpdate=be,o.shared.pending=null}}while(!0);Ve===null&&(I=H),o.baseState=I,o.firstBaseUpdate=Se,o.lastBaseUpdate=Ve;var We=o.shared.interleaved;if(We!==null){var qe=We;do B=tt(B,qe.lane),qe=qe.next;while(qe!==We)}else s===null&&(o.shared.lanes=Y);Ip(B),e.lanes=B,e.memoizedState=H}Bv=null}function Gx(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function xb(){Vv=!1}function $v(){return Vv}function Rb(e,t,a){var i=t.effects;if(t.effects=null,i!==null)for(var o=0;o<i.length;o++){var s=i[o],d=s.callback;d!==null&&(s.callback=null,Gx(d,a))}}var hy={},Tb=new G.Component().refs,vy,my,gy,yy,Sy,Db,Iv,by,Cy,Ey;{vy=new Set,my=new Set,gy=new Set,yy=new Set,by=new Set,Sy=new Set,Cy=new Set,Ey=new Set;var kb=new Set;Iv=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;kb.has(a)||(kb.add(a),S("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},Db=function(e,t){if(t===void 0){var a=yt(e)||"Component";Sy.has(a)||(Sy.add(a),S("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(hy,"_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(hy)}function wy(e,t,a,i){var o=e.memoizedState,s=a(i,o);{if(e.mode&an){xn(!0);try{s=a(i,o)}finally{xn(!1)}}Db(t,s)}var d=s==null?o:rt({},o,s);if(e.memoizedState=d,e.lanes===Y){var v=e.updateQueue;v.baseState=d}}var xy={isMounted:Xr,enqueueSetState:function(e,t,a){var i=sa(e),o=ta(),s=zu(i),d=Eo(o,s);d.payload=t,a!=null&&(Iv(a,"setState"),d.callback=a);var v=Du(i,d,s);v!==null&&(qn(v,i,s,o),jv(v,i,s)),gl(i,s)},enqueueReplaceState:function(e,t,a){var i=sa(e),o=ta(),s=zu(i),d=Eo(o,s);d.tag=Eb,d.payload=t,a!=null&&(Iv(a,"replaceState"),d.callback=a);var v=Du(i,d,s);v!==null&&(qn(v,i,s,o),jv(v,i,s)),gl(i,s)},enqueueForceUpdate:function(e,t){var a=sa(e),i=ta(),o=zu(a),s=Eo(i,o);s.tag=Hv,t!=null&&(Iv(t,"forceUpdate"),s.callback=t);var d=Du(a,s,o);d!==null&&(qn(d,a,o,i),jv(d,a,o)),xd(a,o)}};function _b(e,t,a,i,o,s,d){var v=e.stateNode;if(typeof v.shouldComponentUpdate=="function"){var g=v.shouldComponentUpdate(i,s,d);{if(e.mode&an){xn(!0);try{g=v.shouldComponentUpdate(i,s,d)}finally{xn(!1)}}g===void 0&&S("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",yt(t)||"Component")}return g}return t.prototype&&t.prototype.isPureReactComponent?!Ne(a,i)||!Ne(o,s):!0}function Qx(e,t,a){var i=e.stateNode;{var o=yt(t)||"Component",s=i.render;s||(t.prototype&&typeof t.prototype.render=="function"?S("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):S("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),i.getInitialState&&!i.getInitialState.isReactClassApproved&&!i.state&&S("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?",o),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&S("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.",o),i.propTypes&&S("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),i.contextType&&S("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),i.contextTypes&&S("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!Cy.has(t)&&(Cy.add(t),S("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),typeof i.componentShouldUpdate=="function"&&S("%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.",o),t.prototype&&t.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&S("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",yt(t)||"A pure component"),typeof i.componentDidUnmount=="function"&&S("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),typeof i.componentDidReceiveProps=="function"&&S("%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().",o),typeof i.componentWillRecieveProps=="function"&&S("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),typeof i.UNSAFE_componentWillRecieveProps=="function"&&S("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var d=i.props!==a;i.props!==void 0&&d&&S("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),i.defaultProps&&S("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),typeof i.getSnapshotBeforeUpdate=="function"&&typeof i.componentDidUpdate!="function"&&!gy.has(t)&&(gy.add(t),S("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",yt(t))),typeof i.getDerivedStateFromProps=="function"&&S("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof i.getDerivedStateFromError=="function"&&S("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof t.getSnapshotBeforeUpdate=="function"&&S("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var v=i.state;v&&(typeof v!="object"||ft(v))&&S("%s.state: must be set to an object or null",o),typeof i.getChildContext=="function"&&typeof t.childContextTypes!="object"&&S("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}}function Mb(e,t){t.updater=xy,e.stateNode=t,qo(t,e),t._reactInternalInstance=hy}function Ob(e,t,a){var i=!1,o=Pa,s=Pa,d=t.contextType;if("contextType"in t){var v=d===null||d!==void 0&&d.$$typeof===Vu&&d._context===void 0;if(!v&&!Ey.has(t)){Ey.add(t);var g="";d===void 0?g=" 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 d!="object"?g=" However, it is set to a "+typeof d+".":d.$$typeof===Lo?g=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?g=" Did you accidentally pass the Context.Consumer instead?":g=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",S("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",yt(t)||"Component",g)}}if(typeof d=="object"&&d!==null)s=Hn(d);else{o=hf(e,t,!0);var C=t.contextTypes;i=C!=null,s=i?vf(e,o):Pa}var w=new t(a,s);if(e.mode&an){xn(!0);try{w=new t(a,s)}finally{xn(!1)}}var O=e.memoizedState=w.state!==null&&w.state!==void 0?w.state:null;Mb(e,w);{if(typeof t.getDerivedStateFromProps=="function"&&O===null){var _=yt(t)||"Component";my.has(_)||(my.add(_),S("`%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.",_,w.state===null?"null":"undefined",_))}if(typeof t.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"){var H=null,B=null,I=null;if(typeof w.componentWillMount=="function"&&w.componentWillMount.__suppressDeprecationWarning!==!0?H="componentWillMount":typeof w.UNSAFE_componentWillMount=="function"&&(H="UNSAFE_componentWillMount"),typeof w.componentWillReceiveProps=="function"&&w.componentWillReceiveProps.__suppressDeprecationWarning!==!0?B="componentWillReceiveProps":typeof w.UNSAFE_componentWillReceiveProps=="function"&&(B="UNSAFE_componentWillReceiveProps"),typeof w.componentWillUpdate=="function"&&w.componentWillUpdate.__suppressDeprecationWarning!==!0?I="componentWillUpdate":typeof w.UNSAFE_componentWillUpdate=="function"&&(I="UNSAFE_componentWillUpdate"),H!==null||B!==null||I!==null){var Se=yt(t)||"Component",Ve=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";yy.has(Se)||(yy.add(Se),S(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
373
|
-
|
|
374
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
375
|
-
|
|
376
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
377
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,Se,Ve,H!==null?`
|
|
378
|
-
`+H:"",B!==null?`
|
|
379
|
-
`+B:"",I!==null?`
|
|
380
|
-
`+I:""))}}}return i&&tb(e,o,s),w}function Xx(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(S("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Xe(e)||"Component"),xy.enqueueReplaceState(t,t.state,null))}function Ab(e,t,a,i){var o=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==o){{var s=Xe(e)||"Component";vy.has(s)||(vy.add(s),S("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}xy.enqueueReplaceState(t,t.state,null)}}function Ry(e,t,a,i){Qx(e,t,a);var o=e.stateNode;o.props=a,o.state=e.memoizedState,o.refs=Tb,dy(e);var s=t.contextType;if(typeof s=="object"&&s!==null)o.context=Hn(s);else{var d=hf(e,t,!0);o.context=vf(e,d)}{if(o.state===a){var v=yt(t)||"Component";by.has(v)||(by.add(v),S("%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.",v))}e.mode&an&&Ni.recordLegacyContextWarning(e,o),Ni.recordUnsafeLifecycleWarnings(e,o)}o.state=e.memoizedState;var g=t.getDerivedStateFromProps;if(typeof g=="function"&&(wy(e,t,g,a),o.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(Xx(e,o),Pv(e,a,o,i),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var C=et;C|=Ar,(e.mode&ha)!==je&&(C|=Lr),e.flags|=C}}function Kx(e,t,a,i){var o=e.stateNode,s=e.memoizedProps;o.props=s;var d=o.context,v=t.contextType,g=Pa;if(typeof v=="object"&&v!==null)g=Hn(v);else{var C=hf(e,t,!0);g=vf(e,C)}var w=t.getDerivedStateFromProps,O=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function";!O&&(typeof o.UNSAFE_componentWillReceiveProps=="function"||typeof o.componentWillReceiveProps=="function")&&(s!==a||d!==g)&&Ab(e,o,a,g),xb();var _=e.memoizedState,H=o.state=_;if(Pv(e,a,o,i),H=e.memoizedState,s===a&&_===H&&!Rv()&&!$v()){if(typeof o.componentDidMount=="function"){var B=et;B|=Ar,(e.mode&ha)!==je&&(B|=Lr),e.flags|=B}return!1}typeof w=="function"&&(wy(e,t,w,a),H=e.memoizedState);var I=$v()||_b(e,t,s,a,_,H,g);if(I){if(!O&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"){var Se=et;Se|=Ar,(e.mode&ha)!==je&&(Se|=Lr),e.flags|=Se}}else{if(typeof o.componentDidMount=="function"){var Ve=et;Ve|=Ar,(e.mode&ha)!==je&&(Ve|=Lr),e.flags|=Ve}e.memoizedProps=a,e.memoizedState=H}return o.props=a,o.state=H,o.context=g,I}function qx(e,t,a,i,o){var s=t.stateNode;wb(e,t);var d=t.memoizedProps,v=t.type===t.elementType?d:zi(t.type,d);s.props=v;var g=t.pendingProps,C=s.context,w=a.contextType,O=Pa;if(typeof w=="object"&&w!==null)O=Hn(w);else{var _=hf(t,a,!0);O=vf(t,_)}var H=a.getDerivedStateFromProps,B=typeof H=="function"||typeof s.getSnapshotBeforeUpdate=="function";!B&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==g||C!==O)&&Ab(t,s,i,O),xb();var I=t.memoizedState,Se=s.state=I;if(Pv(t,i,s,o),Se=t.memoizedState,d===g&&I===Se&&!Rv()&&!$v()&&!ze)return typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||I!==e.memoizedState)&&(t.flags|=et),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||I!==e.memoizedState)&&(t.flags|=ca),!1;typeof H=="function"&&(wy(t,a,H,i),Se=t.memoizedState);var Ve=$v()||_b(t,a,v,i,I,Se,O)||ze;return Ve?(!B&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,Se,O),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,Se,O)),typeof s.componentDidUpdate=="function"&&(t.flags|=et),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=ca)):(typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||I!==e.memoizedState)&&(t.flags|=et),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||I!==e.memoizedState)&&(t.flags|=ca),t.memoizedProps=i,t.memoizedState=Se),s.props=i,s.state=Se,s.context=O,Ve}var Ty,Dy,ky,_y,My,Lb=function(e,t){};Ty=!1,Dy=!1,ky={},_y={},My={},Lb=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 a=Xe(t)||"Component";_y[a]||(_y[a]=!0,S('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Sp(e,t,a){var i=a.ref;if(i!==null&&typeof i!="function"&&typeof i!="object"){if((e.mode&an||Ye)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var o=Xe(e)||"Component";ky[o]||(S('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',i),ky[o]=!0)}if(a._owner){var s=a._owner,d;if(s){var v=s;if(v.tag!==F)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");d=v.stateNode}if(!d)throw new Error("Missing owner for string ref "+i+". This error is likely caused by a bug in React. Please file an issue.");var g=d;Jn(i,"ref");var C=""+i;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===C)return t.ref;var w=function(O){var _=g.refs;_===Tb&&(_=g.refs={}),O===null?delete _[C]:_[C]=O};return w._stringRef=C,w}else{if(typeof i!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+i+`) but no owner was set. This could happen for one of the following reasons:
|
|
381
|
-
1. You may be adding a ref to a function component
|
|
382
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
383
|
-
3. You have multiple copies of React loaded
|
|
384
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return i}function Wv(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function Yv(e){{var t=Xe(e)||"Component";if(My[t])return;My[t]=!0,S("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 Nb(e){var t=e._payload,a=e._init;return a(t)}function zb(e){function t(N,W){if(e){var z=N.deletions;z===null?(N.deletions=[W],N.flags|=_t):z.push(W)}}function a(N,W){if(!e)return null;for(var z=W;z!==null;)t(N,z),z=z.sibling;return null}function i(N,W){for(var z=new Map,re=W;re!==null;)re.key!==null?z.set(re.key,re):z.set(re.index,re),re=re.sibling;return z}function o(N,W){var z=Is(N,W);return z.index=0,z.sibling=null,z}function s(N,W,z){if(N.index=z,!e)return N.flags|=dd,W;var re=N.alternate;if(re!==null){var be=re.index;return be<W?(N.flags|=Yt,W):be}else return N.flags|=Yt,W}function d(N){return e&&N.alternate===null&&(N.flags|=Yt),N}function v(N,W,z,re){if(W===null||W.tag!==oe){var be=r0(z,N.mode,re);return be.return=N,be}else{var he=o(W,z);return he.return=N,he}}function g(N,W,z,re){var be=z.type;if(be===Aa)return w(N,W,z.props.children,re,z.key);if(W!==null&&(W.elementType===be||RE(W,z)||typeof be=="object"&&be!==null&&be.$$typeof===Bn&&Nb(be)===W.type)){var he=o(W,z.props);return he.ref=Sp(N,W,z),he.return=N,he._debugSource=z._source,he._debugOwner=z._owner,he}var We=n0(z,N.mode,re);return We.ref=Sp(N,W,z),We.return=N,We}function C(N,W,z,re){if(W===null||W.tag!==J||W.stateNode.containerInfo!==z.containerInfo||W.stateNode.implementation!==z.implementation){var be=a0(z,N.mode,re);return be.return=N,be}else{var he=o(W,z.children||[]);return he.return=N,he}}function w(N,W,z,re,be){if(W===null||W.tag!==ge){var he=Fu(z,N.mode,re,be);return he.return=N,he}else{var We=o(W,z);return We.return=N,We}}function O(N,W,z){if(typeof W=="string"&&W!==""||typeof W=="number"){var re=r0(""+W,N.mode,z);return re.return=N,re}if(typeof W=="object"&&W!==null){switch(W.$$typeof){case Ii:{var be=n0(W,N.mode,z);return be.ref=Sp(N,null,W),be.return=N,be}case Yr:{var he=a0(W,N.mode,z);return he.return=N,he}case Bn:{var We=W._payload,qe=W._init;return O(N,qe(We),z)}}if(ft(W)||La(W)){var Ft=Fu(W,N.mode,z,null);return Ft.return=N,Ft}Wv(N,W)}return typeof W=="function"&&Yv(N),null}function _(N,W,z,re){var be=W!==null?W.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return be!==null?null:v(N,W,""+z,re);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Ii:return z.key===be?g(N,W,z,re):null;case Yr:return z.key===be?C(N,W,z,re):null;case Bn:{var he=z._payload,We=z._init;return _(N,W,We(he),re)}}if(ft(z)||La(z))return be!==null?null:w(N,W,z,re,null);Wv(N,z)}return typeof z=="function"&&Yv(N),null}function H(N,W,z,re,be){if(typeof re=="string"&&re!==""||typeof re=="number"){var he=N.get(z)||null;return v(W,he,""+re,be)}if(typeof re=="object"&&re!==null){switch(re.$$typeof){case Ii:{var We=N.get(re.key===null?z:re.key)||null;return g(W,We,re,be)}case Yr:{var qe=N.get(re.key===null?z:re.key)||null;return C(W,qe,re,be)}case Bn:var Ft=re._payload,xt=re._init;return H(N,W,z,xt(Ft),be)}if(ft(re)||La(re)){var _n=N.get(z)||null;return w(W,_n,re,be,null)}Wv(W,re)}return typeof re=="function"&&Yv(W),null}function B(N,W,z){{if(typeof N!="object"||N===null)return W;switch(N.$$typeof){case Ii:case Yr:Lb(N,z);var re=N.key;if(typeof re!="string")break;if(W===null){W=new Set,W.add(re);break}if(!W.has(re)){W.add(re);break}S("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.",re);break;case Bn:var be=N._payload,he=N._init;B(he(be),W,z);break}}return W}function I(N,W,z,re){for(var be=null,he=0;he<z.length;he++){var We=z[he];be=B(We,be,N)}for(var qe=null,Ft=null,xt=W,_n=0,Rt=0,En=null;xt!==null&&Rt<z.length;Rt++){xt.index>Rt?(En=xt,xt=null):En=xt.sibling;var Pr=_(N,xt,z[Rt],re);if(Pr===null){xt===null&&(xt=En);break}e&&xt&&Pr.alternate===null&&t(N,xt),_n=s(Pr,_n,Rt),Ft===null?qe=Pr:Ft.sibling=Pr,Ft=Pr,xt=En}if(Rt===z.length){if(a(N,xt),dr()){var Sr=Rt;Os(N,Sr)}return qe}if(xt===null){for(;Rt<z.length;Rt++){var Ia=O(N,z[Rt],re);Ia!==null&&(_n=s(Ia,_n,Rt),Ft===null?qe=Ia:Ft.sibling=Ia,Ft=Ia)}if(dr()){var na=Rt;Os(N,na)}return qe}for(var ra=i(N,xt);Rt<z.length;Rt++){var $r=H(ra,N,Rt,z[Rt],re);$r!==null&&(e&&$r.alternate!==null&&ra.delete($r.key===null?Rt:$r.key),_n=s($r,_n,Rt),Ft===null?qe=$r:Ft.sibling=$r,Ft=$r)}if(e&&ra.forEach(function(Ff){return t(N,Ff)}),dr()){var ko=Rt;Os(N,ko)}return qe}function Se(N,W,z,re){var be=La(z);if(typeof be!="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"&&z[Symbol.toStringTag]==="Generator"&&(Dy||S("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."),Dy=!0),z.entries===be&&(Ty||S("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ty=!0);var he=be.call(z);if(he)for(var We=null,qe=he.next();!qe.done;qe=he.next()){var Ft=qe.value;We=B(Ft,We,N)}}var xt=be.call(z);if(xt==null)throw new Error("An iterable object provided no iterator.");for(var _n=null,Rt=null,En=W,Pr=0,Sr=0,Ia=null,na=xt.next();En!==null&&!na.done;Sr++,na=xt.next()){En.index>Sr?(Ia=En,En=null):Ia=En.sibling;var ra=_(N,En,na.value,re);if(ra===null){En===null&&(En=Ia);break}e&&En&&ra.alternate===null&&t(N,En),Pr=s(ra,Pr,Sr),Rt===null?_n=ra:Rt.sibling=ra,Rt=ra,En=Ia}if(na.done){if(a(N,En),dr()){var $r=Sr;Os(N,$r)}return _n}if(En===null){for(;!na.done;Sr++,na=xt.next()){var ko=O(N,na.value,re);ko!==null&&(Pr=s(ko,Pr,Sr),Rt===null?_n=ko:Rt.sibling=ko,Rt=ko)}if(dr()){var Ff=Sr;Os(N,Ff)}return _n}for(var Xp=i(N,En);!na.done;Sr++,na=xt.next()){var zl=H(Xp,N,Sr,na.value,re);zl!==null&&(e&&zl.alternate!==null&&Xp.delete(zl.key===null?Sr:zl.key),Pr=s(zl,Pr,Sr),Rt===null?_n=zl:Rt.sibling=zl,Rt=zl)}if(e&&Xp.forEach(function(fk){return t(N,fk)}),dr()){var ck=Sr;Os(N,ck)}return _n}function Ve(N,W,z,re){if(W!==null&&W.tag===oe){a(N,W.sibling);var be=o(W,z);return be.return=N,be}a(N,W);var he=r0(z,N.mode,re);return he.return=N,he}function Ae(N,W,z,re){for(var be=z.key,he=W;he!==null;){if(he.key===be){var We=z.type;if(We===Aa){if(he.tag===ge){a(N,he.sibling);var qe=o(he,z.props.children);return qe.return=N,qe._debugSource=z._source,qe._debugOwner=z._owner,qe}}else if(he.elementType===We||RE(he,z)||typeof We=="object"&&We!==null&&We.$$typeof===Bn&&Nb(We)===he.type){a(N,he.sibling);var Ft=o(he,z.props);return Ft.ref=Sp(N,he,z),Ft.return=N,Ft._debugSource=z._source,Ft._debugOwner=z._owner,Ft}a(N,he);break}else t(N,he);he=he.sibling}if(z.type===Aa){var xt=Fu(z.props.children,N.mode,re,z.key);return xt.return=N,xt}else{var _n=n0(z,N.mode,re);return _n.ref=Sp(N,W,z),_n.return=N,_n}}function vt(N,W,z,re){for(var be=z.key,he=W;he!==null;){if(he.key===be)if(he.tag===J&&he.stateNode.containerInfo===z.containerInfo&&he.stateNode.implementation===z.implementation){a(N,he.sibling);var We=o(he,z.children||[]);return We.return=N,We}else{a(N,he);break}else t(N,he);he=he.sibling}var qe=a0(z,N.mode,re);return qe.return=N,qe}function st(N,W,z,re){var be=typeof z=="object"&&z!==null&&z.type===Aa&&z.key===null;if(be&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case Ii:return d(Ae(N,W,z,re));case Yr:return d(vt(N,W,z,re));case Bn:var he=z._payload,We=z._init;return st(N,W,We(he),re)}if(ft(z))return I(N,W,z,re);if(La(z))return Se(N,W,z,re);Wv(N,z)}return typeof z=="string"&&z!==""||typeof z=="number"?d(Ve(N,W,""+z,re)):(typeof z=="function"&&Yv(N),a(N,W))}return st}var Cf=zb(!0),Ub=zb(!1);function Zx(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,i=Is(a,a.pendingProps);for(t.child=i,i.return=t;a.sibling!==null;)a=a.sibling,i=i.sibling=Is(a,a.pendingProps),i.return=t;i.sibling=null}}function Jx(e,t){for(var a=e.child;a!==null;)kD(a,t),a=a.sibling}var bp={},ku=wu(bp),Cp=wu(bp),Gv=wu(bp);function Qv(e){if(e===bp)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 Fb(){var e=Qv(Gv.current);return e}function Oy(e,t){Br(Gv,t,e),Br(Cp,e,e),Br(ku,bp,e);var a=pw(t);Vr(ku,e),Br(ku,a,e)}function Ef(e){Vr(ku,e),Vr(Cp,e),Vr(Gv,e)}function Ay(){var e=Qv(ku.current);return e}function Hb(e){Qv(Gv.current);var t=Qv(ku.current),a=hw(t,e.type);t!==a&&(Br(Cp,e,e),Br(ku,a,e))}function Ly(e){Cp.current===e&&(Vr(ku,e),Vr(Cp,e))}var eR=0,Vb=1,Bb=1,Ep=2,Ui=wu(eR);function Ny(e,t){return(e&t)!==0}function wf(e){return e&Vb}function zy(e,t){return e&Vb|t}function tR(e,t){return e|t}function _u(e,t){Br(Ui,t,e)}function xf(e){Vr(Ui,e)}function nR(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function Xv(e){for(var t=e;t!==null;){if(t.tag===fe){var a=t.memoizedState;if(a!==null){var i=a.dehydrated;if(i===null||K0(i)||jg(i))return t}}else if(t.tag===gt&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&Ge)!==Fe;if(o)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 Ea=0,In=1,kl=2,Wn=4,pr=8,Uy=[];function Fy(){for(var e=0;e<Uy.length;e++){var t=Uy[e];t._workInProgressVersionPrimary=null}Uy.length=0}function rR(e,t){var a=t._getVersion,i=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,i]:e.mutableSourceEagerHydrationData.push(t,i)}var me=p.ReactCurrentDispatcher,wp=p.ReactCurrentBatchConfig,Hy,Rf;Hy=new Set;var Fs=Y,Ut=null,Yn=null,Gn=null,Kv=!1,xp=!1,Rp=0,aR=0,iR=25,Q=null,oi=null,Mu=-1,Vy=!1;function At(){{var e=Q;oi===null?oi=[e]:oi.push(e)}}function se(){{var e=Q;oi!==null&&(Mu++,oi[Mu]!==e&&lR(e))}}function Tf(e){e!=null&&!ft(e)&&S("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Q,typeof e)}function lR(e){{var t=Xe(Ut);if(!Hy.has(t)&&(Hy.add(t),oi!==null)){for(var a="",i=30,o=0;o<=Mu;o++){for(var s=oi[o],d=o===Mu?e:s,v=o+1+". "+s;v.length<i;)v+=" ";v+=d+`
|
|
385
|
-
`,a+=v}S(`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
|
|
386
|
-
|
|
387
|
-
Previous render Next render
|
|
388
|
-
------------------------------------------------------
|
|
389
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
390
|
-
`,t,a)}}}function jr(){throw new Error(`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:
|
|
391
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
392
|
-
2. You might be breaking the Rules of Hooks
|
|
393
|
-
3. You might have more than one copy of React in the same app
|
|
394
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function By(e,t){if(Vy)return!1;if(t===null)return S("%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.",Q),!1;e.length!==t.length&&S(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
395
|
-
|
|
396
|
-
Previous: %s
|
|
397
|
-
Incoming: %s`,Q,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!xe(e[a],t[a]))return!1;return!0}function Df(e,t,a,i,o,s){Fs=s,Ut=t,oi=e!==null?e._debugHookTypes:null,Mu=-1,Vy=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=Y,e!==null&&e.memoizedState!==null?me.current=uC:oi!==null?me.current=oC:me.current=lC;var d=a(i,o);if(xp){var v=0;do{if(xp=!1,Rp=0,v>=iR)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");v+=1,Vy=!1,Yn=null,Gn=null,t.updateQueue=null,Mu=-1,me.current=sC,d=a(i,o)}while(xp)}me.current=sm,t._debugHookTypes=oi;var g=Yn!==null&&Yn.next!==null;if(Fs=Y,Ut=null,Yn=null,Gn=null,Q=null,oi=null,Mu=-1,e!==null&&(e.flags&jn)!==(t.flags&jn)&&(e.mode&it)!==je&&S("Internal React error: Expected static flag was missing. Please notify the React team."),Kv=!1,g)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function kf(){var e=Rp!==0;return Rp=0,e}function jb(e,t,a){t.updateQueue=e.updateQueue,(t.mode&ha)!==je?t.flags&=~(Xl|Lr|Jt|et):t.flags&=~(Jt|et),e.lanes=lu(e.lanes,a)}function Pb(){if(me.current=sm,Kv){for(var e=Ut.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Kv=!1}Fs=Y,Ut=null,Yn=null,Gn=null,oi=null,Mu=-1,Q=null,tC=!1,xp=!1,Rp=0}function _l(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gn===null?Ut.memoizedState=Gn=e:Gn=Gn.next=e,Gn}function ui(){var e;if(Yn===null){var t=Ut.alternate;t!==null?e=t.memoizedState:e=null}else e=Yn.next;var a;if(Gn===null?a=Ut.memoizedState:a=Gn.next,a!==null)Gn=a,a=Gn.next,Yn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Yn=e;var i={memoizedState:Yn.memoizedState,baseState:Yn.baseState,baseQueue:Yn.baseQueue,queue:Yn.queue,next:null};Gn===null?Ut.memoizedState=Gn=i:Gn=Gn.next=i}return Gn}function $b(){return{lastEffect:null,stores:null}}function jy(e,t){return typeof t=="function"?t(e):t}function Py(e,t,a){var i=_l(),o;a!==void 0?o=a(t):o=t,i.memoizedState=i.baseState=o;var s={pending:null,interleaved:null,lanes:Y,dispatch:null,lastRenderedReducer:e,lastRenderedState:o};i.queue=s;var d=s.dispatch=cR.bind(null,Ut,s);return[i.memoizedState,d]}function $y(e,t,a){var i=ui(),o=i.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=Yn,d=s.baseQueue,v=o.pending;if(v!==null){if(d!==null){var g=d.next,C=v.next;d.next=C,v.next=g}s.baseQueue!==d&&S("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),s.baseQueue=d=v,o.pending=null}if(d!==null){var w=d.next,O=s.baseState,_=null,H=null,B=null,I=w;do{var Se=I.lane;if(io(Fs,Se)){if(B!==null){var Ae={lane:pt,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null};B=B.next=Ae}if(I.hasEagerState)O=I.eagerState;else{var vt=I.action;O=e(O,vt)}}else{var Ve={lane:Se,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null};B===null?(H=B=Ve,_=O):B=B.next=Ve,Ut.lanes=tt(Ut.lanes,Se),Ip(Se)}I=I.next}while(I!==null&&I!==w);B===null?_=O:B.next=H,xe(O,i.memoizedState)||Ap(),i.memoizedState=O,i.baseState=_,i.baseQueue=B,o.lastRenderedState=O}var st=o.interleaved;if(st!==null){var N=st;do{var W=N.lane;Ut.lanes=tt(Ut.lanes,W),Ip(W),N=N.next}while(N!==st)}else d===null&&(o.lanes=Y);var z=o.dispatch;return[i.memoizedState,z]}function Iy(e,t,a){var i=ui(),o=i.queue;if(o===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var s=o.dispatch,d=o.pending,v=i.memoizedState;if(d!==null){o.pending=null;var g=d.next,C=g;do{var w=C.action;v=e(v,w),C=C.next}while(C!==g);xe(v,i.memoizedState)||Ap(),i.memoizedState=v,i.baseQueue===null&&(i.baseState=v),o.lastRenderedState=v}return[v,s]}function Xk(e,t,a){}function Kk(e,t,a){}function Wy(e,t,a){var i=Ut,o=_l(),s,d=dr();if(d){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=a(),Rf||s!==a()&&(S("The result of getServerSnapshot should be cached to avoid an infinite loop"),Rf=!0)}else{if(s=t(),!Rf){var v=t();xe(s,v)||(S("The result of getSnapshot should be cached to avoid an infinite loop"),Rf=!0)}var g=Dm();if(g===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hs(g,Fs)||Ib(i,t,s)}o.memoizedState=s;var C={value:s,getSnapshot:t};return o.queue=C,tm(Yb.bind(null,i,C,e),[e]),i.flags|=Jt,Tp(In|pr,Wb.bind(null,i,C,s,t),void 0,null),s}function qv(e,t,a){var i=Ut,o=ui(),s=t();if(!Rf){var d=t();xe(s,d)||(S("The result of getSnapshot should be cached to avoid an infinite loop"),Rf=!0)}var v=o.memoizedState,g=!xe(v,s);g&&(o.memoizedState=s,Ap());var C=o.queue;if(kp(Yb.bind(null,i,C,e),[e]),C.getSnapshot!==t||g||Gn!==null&&Gn.memoizedState.tag&In){i.flags|=Jt,Tp(In|pr,Wb.bind(null,i,C,s,t),void 0,null);var w=Dm();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");hs(w,Fs)||Ib(i,t,s)}return s}function Ib(e,t,a){e.flags|=is;var i={getSnapshot:t,value:a},o=Ut.updateQueue;if(o===null)o=$b(),Ut.updateQueue=o,o.stores=[i];else{var s=o.stores;s===null?o.stores=[i]:s.push(i)}}function Wb(e,t,a,i){t.value=a,t.getSnapshot=i,Gb(t)&&Qb(e)}function Yb(e,t,a){var i=function(){Gb(t)&&Qb(e)};return a(i)}function Gb(e){var t=e.getSnapshot,a=e.value;try{var i=t();return!xe(a,i)}catch{return!0}}function Qb(e){var t=Ca(e,Ie);t!==null&&qn(t,e,Ie,jt)}function Zv(e){var t=_l();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:Y,dispatch:null,lastRenderedReducer:jy,lastRenderedState:e};t.queue=a;var i=a.dispatch=fR.bind(null,Ut,a);return[t.memoizedState,i]}function Yy(e){return $y(jy)}function Gy(e){return Iy(jy)}function Tp(e,t,a,i){var o={tag:e,create:t,destroy:a,deps:i,next:null},s=Ut.updateQueue;if(s===null)s=$b(),Ut.updateQueue=s,s.lastEffect=o.next=o;else{var d=s.lastEffect;if(d===null)s.lastEffect=o.next=o;else{var v=d.next;d.next=o,o.next=v,s.lastEffect=o}}return o}function Qy(e){var t=_l();{var a={current:e};return t.memoizedState=a,a}}function Jv(e){var t=ui();return t.memoizedState}function Dp(e,t,a,i){var o=_l(),s=i===void 0?null:i;Ut.flags|=e,o.memoizedState=Tp(In|t,a,void 0,s)}function em(e,t,a,i){var o=ui(),s=i===void 0?null:i,d=void 0;if(Yn!==null){var v=Yn.memoizedState;if(d=v.destroy,s!==null){var g=v.deps;if(By(s,g)){o.memoizedState=Tp(t,a,d,s);return}}}Ut.flags|=e,o.memoizedState=Tp(In|t,a,d,s)}function tm(e,t){return(Ut.mode&ha)!==je?Dp(Xl|Jt|fl,pr,e,t):Dp(Jt|fl,pr,e,t)}function kp(e,t){return em(Jt,pr,e,t)}function Xy(e,t){return Dp(et,kl,e,t)}function nm(e,t){return em(et,kl,e,t)}function Ky(e,t){var a=et;return a|=Ar,(Ut.mode&ha)!==je&&(a|=Lr),Dp(a,Wn,e,t)}function rm(e,t){return em(et,Wn,e,t)}function Xb(e,t){if(typeof t=="function"){var a=t,i=e();return a(i),function(){a(null)}}else if(t!=null){var o=t;o.hasOwnProperty("current")||S("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var s=e();return o.current=s,function(){o.current=null}}}function qy(e,t,a){typeof t!="function"&&S("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null,o=et;return o|=Ar,(Ut.mode&ha)!==je&&(o|=Lr),Dp(o,Wn,Xb.bind(null,t,e),i)}function am(e,t,a){typeof t!="function"&&S("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var i=a!=null?a.concat([e]):null;return em(et,Wn,Xb.bind(null,t,e),i)}function oR(e,t){}var im=oR;function Zy(e,t){var a=_l(),i=t===void 0?null:t;return a.memoizedState=[e,i],e}function lm(e,t){var a=ui(),i=t===void 0?null:t,o=a.memoizedState;if(o!==null&&i!==null){var s=o[1];if(By(i,s))return o[0]}return a.memoizedState=[e,i],e}function Jy(e,t){var a=_l(),i=t===void 0?null:t,o=e();return a.memoizedState=[o,i],o}function om(e,t){var a=ui(),i=t===void 0?null:t,o=a.memoizedState;if(o!==null&&i!==null){var s=o[1];if(By(i,s))return o[0]}var d=e();return a.memoizedState=[d,i],d}function eS(e){var t=_l();return t.memoizedState=e,e}function Kb(e){var t=ui(),a=Yn,i=a.memoizedState;return Zb(t,i,e)}function qb(e){var t=ui();if(Yn===null)return t.memoizedState=e,e;var a=Yn.memoizedState;return Zb(t,a,e)}function Zb(e,t,a){var i=!lg(Fs);if(i){if(!xe(a,t)){var o=_d();Ut.lanes=tt(Ut.lanes,o),Ip(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Ap()),e.memoizedState=a,a}function uR(e,t,a){var i=ma();Tn(nr(i,$n)),e(!0);var o=wp.transition;wp.transition={};var s=wp.transition;wp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Tn(i),wp.transition=o,o===null&&s._updatedFibers){var d=s._updatedFibers.size;d>10&&x("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."),s._updatedFibers.clear()}}}function tS(){var e=Zv(!1),t=e[0],a=e[1],i=uR.bind(null,a),o=_l();return o.memoizedState=i,[t,i]}function Jb(){var e=Yy(),t=e[0],a=ui(),i=a.memoizedState;return[t,i]}function eC(){var e=Gy(),t=e[0],a=ui(),i=a.memoizedState;return[t,i]}var tC=!1;function sR(){return tC}function nS(){var e=_l(),t=Dm(),a=t.identifierPrefix,i;if(dr()){var o=wx();i=":"+a+"R"+o;var s=Rp++;s>0&&(i+="H"+s.toString(32)),i+=":"}else{var d=aR++;i=":"+a+"r"+d.toString(32)+":"}return e.memoizedState=i,i}function um(){var e=ui(),t=e.memoizedState;return t}function cR(e,t,a){typeof arguments[3]=="function"&&S("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 i=zu(e),o={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(nC(e))rC(t,o);else{var s=bb(e,t,o,i);if(s!==null){var d=ta();qn(s,e,i,d),aC(s,t,i)}}iC(e,i)}function fR(e,t,a){typeof arguments[3]=="function"&&S("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 i=zu(e),o={lane:i,action:a,hasEagerState:!1,eagerState:null,next:null};if(nC(e))rC(t,o);else{var s=e.alternate;if(e.lanes===Y&&(s===null||s.lanes===Y)){var d=t.lastRenderedReducer;if(d!==null){var v;v=me.current,me.current=Fi;try{var g=t.lastRenderedState,C=d(g,a);if(o.hasEagerState=!0,o.eagerState=C,xe(C,g)){$x(e,t,o,i);return}}catch{}finally{me.current=v}}}var w=bb(e,t,o,i);if(w!==null){var O=ta();qn(w,e,i,O),aC(w,t,i)}}iC(e,i)}function nC(e){var t=e.alternate;return e===Ut||t!==null&&t===Ut}function rC(e,t){xp=Kv=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function aC(e,t,a){if(kd(a)){var i=t.lanes;i=Md(i,e.pendingLanes);var o=tt(i,a);t.lanes=o,ou(e,o)}}function iC(e,t,a){gl(e,t)}var sm={readContext:Hn,useCallback:jr,useContext:jr,useEffect:jr,useImperativeHandle:jr,useInsertionEffect:jr,useLayoutEffect:jr,useMemo:jr,useReducer:jr,useRef:jr,useState:jr,useDebugValue:jr,useDeferredValue:jr,useTransition:jr,useMutableSource:jr,useSyncExternalStore:jr,useId:jr,unstable_isNewReconciler:le},lC=null,oC=null,uC=null,sC=null,Ml=null,Fi=null,cm=null;{var rS=function(){S("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().")},Ke=function(){S("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")};lC={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",At(),Tf(t),Zy(e,t)},useContext:function(e){return Q="useContext",At(),Hn(e)},useEffect:function(e,t){return Q="useEffect",At(),Tf(t),tm(e,t)},useImperativeHandle:function(e,t,a){return Q="useImperativeHandle",At(),Tf(a),qy(e,t,a)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",At(),Tf(t),Xy(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",At(),Tf(t),Ky(e,t)},useMemo:function(e,t){Q="useMemo",At(),Tf(t);var a=me.current;me.current=Ml;try{return Jy(e,t)}finally{me.current=a}},useReducer:function(e,t,a){Q="useReducer",At();var i=me.current;me.current=Ml;try{return Py(e,t,a)}finally{me.current=i}},useRef:function(e){return Q="useRef",At(),Qy(e)},useState:function(e){Q="useState",At();var t=me.current;me.current=Ml;try{return Zv(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",At(),void 0},useDeferredValue:function(e){return Q="useDeferredValue",At(),eS(e)},useTransition:function(){return Q="useTransition",At(),tS()},useMutableSource:function(e,t,a){return Q="useMutableSource",At(),void 0},useSyncExternalStore:function(e,t,a){return Q="useSyncExternalStore",At(),Wy(e,t,a)},useId:function(){return Q="useId",At(),nS()},unstable_isNewReconciler:le},oC={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",se(),Zy(e,t)},useContext:function(e){return Q="useContext",se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",se(),tm(e,t)},useImperativeHandle:function(e,t,a){return Q="useImperativeHandle",se(),qy(e,t,a)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",se(),Xy(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",se(),Ky(e,t)},useMemo:function(e,t){Q="useMemo",se();var a=me.current;me.current=Ml;try{return Jy(e,t)}finally{me.current=a}},useReducer:function(e,t,a){Q="useReducer",se();var i=me.current;me.current=Ml;try{return Py(e,t,a)}finally{me.current=i}},useRef:function(e){return Q="useRef",se(),Qy(e)},useState:function(e){Q="useState",se();var t=me.current;me.current=Ml;try{return Zv(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",se(),void 0},useDeferredValue:function(e){return Q="useDeferredValue",se(),eS(e)},useTransition:function(){return Q="useTransition",se(),tS()},useMutableSource:function(e,t,a){return Q="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,a){return Q="useSyncExternalStore",se(),Wy(e,t,a)},useId:function(){return Q="useId",se(),nS()},unstable_isNewReconciler:le},uC={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",se(),lm(e,t)},useContext:function(e){return Q="useContext",se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",se(),kp(e,t)},useImperativeHandle:function(e,t,a){return Q="useImperativeHandle",se(),am(e,t,a)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",se(),nm(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",se(),rm(e,t)},useMemo:function(e,t){Q="useMemo",se();var a=me.current;me.current=Fi;try{return om(e,t)}finally{me.current=a}},useReducer:function(e,t,a){Q="useReducer",se();var i=me.current;me.current=Fi;try{return $y(e,t,a)}finally{me.current=i}},useRef:function(e){return Q="useRef",se(),Jv()},useState:function(e){Q="useState",se();var t=me.current;me.current=Fi;try{return Yy(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",se(),im()},useDeferredValue:function(e){return Q="useDeferredValue",se(),Kb(e)},useTransition:function(){return Q="useTransition",se(),Jb()},useMutableSource:function(e,t,a){return Q="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,a){return Q="useSyncExternalStore",se(),qv(e,t)},useId:function(){return Q="useId",se(),um()},unstable_isNewReconciler:le},sC={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",se(),lm(e,t)},useContext:function(e){return Q="useContext",se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",se(),kp(e,t)},useImperativeHandle:function(e,t,a){return Q="useImperativeHandle",se(),am(e,t,a)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",se(),nm(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",se(),rm(e,t)},useMemo:function(e,t){Q="useMemo",se();var a=me.current;me.current=cm;try{return om(e,t)}finally{me.current=a}},useReducer:function(e,t,a){Q="useReducer",se();var i=me.current;me.current=cm;try{return Iy(e,t,a)}finally{me.current=i}},useRef:function(e){return Q="useRef",se(),Jv()},useState:function(e){Q="useState",se();var t=me.current;me.current=cm;try{return Gy(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",se(),im()},useDeferredValue:function(e){return Q="useDeferredValue",se(),qb(e)},useTransition:function(){return Q="useTransition",se(),eC()},useMutableSource:function(e,t,a){return Q="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,a){return Q="useSyncExternalStore",se(),qv(e,t)},useId:function(){return Q="useId",se(),um()},unstable_isNewReconciler:le},Ml={readContext:function(e){return rS(),Hn(e)},useCallback:function(e,t){return Q="useCallback",Ke(),At(),Zy(e,t)},useContext:function(e){return Q="useContext",Ke(),At(),Hn(e)},useEffect:function(e,t){return Q="useEffect",Ke(),At(),tm(e,t)},useImperativeHandle:function(e,t,a){return Q="useImperativeHandle",Ke(),At(),qy(e,t,a)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",Ke(),At(),Xy(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",Ke(),At(),Ky(e,t)},useMemo:function(e,t){Q="useMemo",Ke(),At();var a=me.current;me.current=Ml;try{return Jy(e,t)}finally{me.current=a}},useReducer:function(e,t,a){Q="useReducer",Ke(),At();var i=me.current;me.current=Ml;try{return Py(e,t,a)}finally{me.current=i}},useRef:function(e){return Q="useRef",Ke(),At(),Qy(e)},useState:function(e){Q="useState",Ke(),At();var t=me.current;me.current=Ml;try{return Zv(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",Ke(),At(),void 0},useDeferredValue:function(e){return Q="useDeferredValue",Ke(),At(),eS(e)},useTransition:function(){return Q="useTransition",Ke(),At(),tS()},useMutableSource:function(e,t,a){return Q="useMutableSource",Ke(),At(),void 0},useSyncExternalStore:function(e,t,a){return Q="useSyncExternalStore",Ke(),At(),Wy(e,t,a)},useId:function(){return Q="useId",Ke(),At(),nS()},unstable_isNewReconciler:le},Fi={readContext:function(e){return rS(),Hn(e)},useCallback:function(e,t){return Q="useCallback",Ke(),se(),lm(e,t)},useContext:function(e){return Q="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",Ke(),se(),kp(e,t)},useImperativeHandle:function(e,t,a){return Q="useImperativeHandle",Ke(),se(),am(e,t,a)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",Ke(),se(),nm(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",Ke(),se(),rm(e,t)},useMemo:function(e,t){Q="useMemo",Ke(),se();var a=me.current;me.current=Fi;try{return om(e,t)}finally{me.current=a}},useReducer:function(e,t,a){Q="useReducer",Ke(),se();var i=me.current;me.current=Fi;try{return $y(e,t,a)}finally{me.current=i}},useRef:function(e){return Q="useRef",Ke(),se(),Jv()},useState:function(e){Q="useState",Ke(),se();var t=me.current;me.current=Fi;try{return Yy(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",Ke(),se(),im()},useDeferredValue:function(e){return Q="useDeferredValue",Ke(),se(),Kb(e)},useTransition:function(){return Q="useTransition",Ke(),se(),Jb()},useMutableSource:function(e,t,a){return Q="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,a){return Q="useSyncExternalStore",Ke(),se(),qv(e,t)},useId:function(){return Q="useId",Ke(),se(),um()},unstable_isNewReconciler:le},cm={readContext:function(e){return rS(),Hn(e)},useCallback:function(e,t){return Q="useCallback",Ke(),se(),lm(e,t)},useContext:function(e){return Q="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",Ke(),se(),kp(e,t)},useImperativeHandle:function(e,t,a){return Q="useImperativeHandle",Ke(),se(),am(e,t,a)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",Ke(),se(),nm(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",Ke(),se(),rm(e,t)},useMemo:function(e,t){Q="useMemo",Ke(),se();var a=me.current;me.current=Fi;try{return om(e,t)}finally{me.current=a}},useReducer:function(e,t,a){Q="useReducer",Ke(),se();var i=me.current;me.current=Fi;try{return Iy(e,t,a)}finally{me.current=i}},useRef:function(e){return Q="useRef",Ke(),se(),Jv()},useState:function(e){Q="useState",Ke(),se();var t=me.current;me.current=Fi;try{return Gy(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",Ke(),se(),im()},useDeferredValue:function(e){return Q="useDeferredValue",Ke(),se(),qb(e)},useTransition:function(){return Q="useTransition",Ke(),se(),eC()},useMutableSource:function(e,t,a){return Q="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,a){return Q="useSyncExternalStore",Ke(),se(),qv(e,t)},useId:function(){return Q="useId",Ke(),se(),um()},unstable_isNewReconciler:le}}var Ou=c.unstable_now,cC=0,fm=-1,_p=-1,dm=-1,aS=!1,pm=!1;function fC(){return aS}function dR(){pm=!0}function pR(){aS=!1,pm=!1}function hR(){aS=pm,pm=!1}function dC(){return cC}function pC(){cC=Ou()}function iS(e){_p=Ou(),e.actualStartTime<0&&(e.actualStartTime=Ou())}function hC(e){_p=-1}function hm(e,t){if(_p>=0){var a=Ou()-_p;e.actualDuration+=a,t&&(e.selfBaseDuration=a),_p=-1}}function Ol(e){if(fm>=0){var t=Ou()-fm;fm=-1;for(var a=e.return;a!==null;){switch(a.tag){case X:var i=a.stateNode;i.effectDuration+=t;return;case He:var o=a.stateNode;o.effectDuration+=t;return}a=a.return}}}function lS(e){if(dm>=0){var t=Ou()-dm;dm=-1;for(var a=e.return;a!==null;){switch(a.tag){case X:var i=a.stateNode;i!==null&&(i.passiveEffectDuration+=t);return;case He:var o=a.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}a=a.return}}}function Al(){fm=Ou()}function oS(){dm=Ou()}function uS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Hs(e,t){return{value:e,source:t,stack:Ho(t),digest:null}}function sS(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function vR(e,t){return!0}function cS(e,t){try{var a=vR(e,t);if(a===!1)return;var i=t.value,o=t.source,s=t.stack,d=s!==null?s:"";if(i!=null&&i._suppressLogging){if(e.tag===F)return;console.error(i)}var v=o?Xe(o):null,g=v?"The above error occurred in the <"+v+"> component:":"The above error occurred in one of your React components:",C;if(e.tag===X)C=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
398
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var w=Xe(e)||"Anonymous";C="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+w+".")}var O=g+`
|
|
399
|
-
`+d+`
|
|
400
|
-
|
|
401
|
-
`+(""+C);console.error(O)}catch(_){setTimeout(function(){throw _})}}var mR=typeof WeakMap=="function"?WeakMap:Map;function vC(e,t,a){var i=Eo(jt,a);i.tag=cy,i.payload={element:null};var o=t.value;return i.callback=function(){uD(o),cS(e,t)},i}function fS(e,t,a){var i=Eo(jt,a);i.tag=cy;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;i.payload=function(){return o(s)},i.callback=function(){TE(e),cS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(i.callback=function(){TE(e),cS(e,t),typeof o!="function"&&lD(this);var g=t.value,C=t.stack;this.componentDidCatch(g,{componentStack:C!==null?C:""}),typeof o!="function"&&(Hr(e.lanes,Ie)||S("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Xe(e)||"Unknown"))}),i}function mC(e,t,a){var i=e.pingCache,o;if(i===null?(i=e.pingCache=new mR,o=new Set,i.set(t,o)):(o=i.get(t),o===void 0&&(o=new Set,i.set(t,o))),!o.has(a)){o.add(a);var s=sD.bind(null,e,t,a);Pn&&Wp(e,a),t.then(s,s)}}function gR(e,t,a,i){var o=e.updateQueue;if(o===null){var s=new Set;s.add(a),e.updateQueue=s}else o.add(a)}function yR(e,t){var a=e.tag;if((e.mode&it)===je&&(a===A||a===Te||a===Le)){var i=e.alternate;i?(e.updateQueue=i.updateQueue,e.memoizedState=i.memoizedState,e.lanes=i.lanes):(e.updateQueue=null,e.memoizedState=null)}}function gC(e){var t=e;do{if(t.tag===fe&&nR(t))return t;t=t.return}while(t!==null);return null}function yC(e,t,a,i,o){if((e.mode&it)===je){if(e===t)e.flags|=Ln;else{if(e.flags|=Ge,a.flags|=ls,a.flags&=~(dc|Gr),a.tag===F){var s=a.alternate;if(s===null)a.tag=Tt;else{var d=Eo(jt,Ie);d.tag=Hv,Du(a,d,Ie)}}a.lanes=tt(a.lanes,Ie)}return e}return e.flags|=Ln,e.lanes=o,e}function SR(e,t,a,i,o){if(a.flags|=Gr,Pn&&Wp(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){var s=i;yR(a),dr()&&a.mode&it&&ub();var d=gC(t);if(d!==null){d.flags&=~fn,yC(d,t,a,e,o),d.mode&it&&mC(e,s,o),gR(d,e,s);return}else{if(!iu(o)){mC(e,s,o),IS();return}var v=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.");i=v}}else if(dr()&&a.mode&it){ub();var g=gC(t);if(g!==null){(g.flags&Ln)===Fe&&(g.flags|=fn),yC(g,t,a,e,o),ry(Hs(i,a));return}}i=Hs(i,a),ZT(i);var C=t;do{switch(C.tag){case X:{var w=i;C.flags|=Ln;var O=Rn(o);C.lanes=tt(C.lanes,O);var _=vC(C,w,O);py(C,_);return}case F:var H=i,B=C.type,I=C.stateNode;if((C.flags&Ge)===Fe&&(typeof B.getDerivedStateFromError=="function"||I!==null&&typeof I.componentDidCatch=="function"&&!gE(I))){C.flags|=Ln;var Se=Rn(o);C.lanes=tt(C.lanes,Se);var Ve=fS(C,H,Se);py(C,Ve);return}break}C=C.return}while(C!==null)}function bR(){return null}var Mp=p.ReactCurrentOwner,Hi=!1,dS,Op,pS,hS,vS,Vs,mS,vm;dS={},Op={},pS={},hS={},vS={},Vs=!1,mS={},vm={};function Jr(e,t,a,i){e===null?t.child=Ub(t,null,a,i):t.child=Cf(t,e.child,a,i)}function CR(e,t,a,i){t.child=Cf(t,e.child,null,i),t.child=Cf(t,null,a,i)}function SC(e,t,a,i,o){if(t.type!==t.elementType){var s=a.propTypes;s&&Ai(s,i,"prop",yt(a))}var d=a.render,v=t.ref,g,C;bf(t,o),ml(t);{if(Mp.current=t,_r(!0),g=Df(e,t,d,i,v,o),C=kf(),t.mode&an){xn(!0);try{g=Df(e,t,d,i,v,o),C=kf()}finally{xn(!1)}}_r(!1)}return Kl(),e!==null&&!Hi?(jb(e,t,o),wo(e,t,o)):(dr()&&C&&qg(t),t.flags|=sl,Jr(e,t,g,o),t.child)}function bC(e,t,a,i,o){if(e===null){var s=a.type;if(TD(s)&&a.compare===null&&a.defaultProps===void 0){var d=s;return d=Uf(s),t.tag=Le,t.type=d,SS(t,s),CC(e,t,d,i,o)}{var v=s.propTypes;v&&Ai(v,i,"prop",yt(s))}var g=t0(a.type,null,i,t,t.mode,o);return g.ref=t.ref,g.return=t,t.child=g,g}{var C=a.type,w=C.propTypes;w&&Ai(w,i,"prop",yt(C))}var O=e.child,_=RS(e,o);if(!_){var H=O.memoizedProps,B=a.compare;if(B=B!==null?B:Ne,B(H,i)&&e.ref===t.ref)return wo(e,t,o)}t.flags|=sl;var I=Is(O,i);return I.ref=t.ref,I.return=t,t.child=I,I}function CC(e,t,a,i,o){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===Bn){var d=s,v=d._payload,g=d._init;try{s=g(v)}catch{s=null}var C=s&&s.propTypes;C&&Ai(C,i,"prop",yt(s))}}if(e!==null){var w=e.memoizedProps;if(Ne(w,i)&&e.ref===t.ref&&t.type===e.type)if(Hi=!1,t.pendingProps=i=w,RS(e,o))(e.flags&ls)!==Fe&&(Hi=!0);else return t.lanes=e.lanes,wo(e,t,o)}return gS(e,t,a,i,o)}function EC(e,t,a){var i=t.pendingProps,o=i.children,s=e!==null?e.memoizedState:null;if(i.mode==="hidden"||D)if((t.mode&it)===je){var d={baseLanes:Y,cachePool:null,transitions:null};t.memoizedState=d,km(t,a)}else if(Hr(a,Fr)){var O={baseLanes:Y,cachePool:null,transitions:null};t.memoizedState=O;var _=s!==null?s.baseLanes:a;km(t,_)}else{var v=null,g;if(s!==null){var C=s.baseLanes;g=tt(C,a)}else g=a;t.lanes=t.childLanes=Fr;var w={baseLanes:g,cachePool:v,transitions:null};return t.memoizedState=w,t.updateQueue=null,km(t,g),null}else{var H;s!==null?(H=tt(s.baseLanes,a),t.memoizedState=null):H=a,km(t,H)}return Jr(e,t,o,a),t.child}function ER(e,t,a){var i=t.pendingProps;return Jr(e,t,i,a),t.child}function wR(e,t,a){var i=t.pendingProps.children;return Jr(e,t,i,a),t.child}function xR(e,t,a){{t.flags|=et;{var i=t.stateNode;i.effectDuration=0,i.passiveEffectDuration=0}}var o=t.pendingProps,s=o.children;return Jr(e,t,s,a),t.child}function wC(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=Or,t.flags|=pd)}function gS(e,t,a,i,o){if(t.type!==t.elementType){var s=a.propTypes;s&&Ai(s,i,"prop",yt(a))}var d;{var v=hf(t,a,!0);d=vf(t,v)}var g,C;bf(t,o),ml(t);{if(Mp.current=t,_r(!0),g=Df(e,t,a,i,d,o),C=kf(),t.mode&an){xn(!0);try{g=Df(e,t,a,i,d,o),C=kf()}finally{xn(!1)}}_r(!1)}return Kl(),e!==null&&!Hi?(jb(e,t,o),wo(e,t,o)):(dr()&&C&&qg(t),t.flags|=sl,Jr(e,t,g,o),t.child)}function xC(e,t,a,i,o){{switch(jD(t)){case!1:{var s=t.stateNode,d=t.type,v=new d(t.memoizedProps,s.context),g=v.state;s.updater.enqueueSetState(s,g,null);break}case!0:{t.flags|=Ge,t.flags|=Ln;var C=new Error("Simulated error coming from DevTools"),w=Rn(o);t.lanes=tt(t.lanes,w);var O=fS(t,Hs(C,t),w);py(t,O);break}}if(t.type!==t.elementType){var _=a.propTypes;_&&Ai(_,i,"prop",yt(a))}}var H;Dl(a)?(H=!0,Dv(t)):H=!1,bf(t,o);var B=t.stateNode,I;B===null?(gm(e,t),Ob(t,a,i),Ry(t,a,i,o),I=!0):e===null?I=Kx(t,a,i,o):I=qx(e,t,a,i,o);var Se=yS(e,t,a,I,H,o);{var Ve=t.stateNode;I&&Ve.props!==i&&(Vs||S("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Xe(t)||"a component"),Vs=!0)}return Se}function yS(e,t,a,i,o,s){wC(e,t);var d=(t.flags&Ge)!==Fe;if(!i&&!d)return o&&ab(t,a,!1),wo(e,t,s);var v=t.stateNode;Mp.current=t;var g;if(d&&typeof a.getDerivedStateFromError!="function")g=null,hC();else{ml(t);{if(_r(!0),g=v.render(),t.mode&an){xn(!0);try{v.render()}finally{xn(!1)}}_r(!1)}Kl()}return t.flags|=sl,e!==null&&d?CR(e,t,g,s):Jr(e,t,g,s),t.memoizedState=v.state,o&&ab(t,a,!0),t.child}function RC(e){var t=e.stateNode;t.pendingContext?nb(e,t.pendingContext,t.pendingContext!==t.context):t.context&&nb(e,t.context,!1),Oy(e,t.containerInfo)}function RR(e,t,a){if(RC(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps,o=t.memoizedState,s=o.element;wb(e,t),Pv(t,i,null,a);var d=t.memoizedState;t.stateNode;var v=d.element;if(o.isDehydrated){var g={element:v,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},C=t.updateQueue;if(C.baseState=g,t.memoizedState=g,t.flags&fn){var w=Hs(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 TC(e,t,v,a,w)}else if(v!==s){var O=Hs(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return TC(e,t,v,a,O)}else{_x(t);var _=Ub(t,null,v,a);t.child=_;for(var H=_;H;)H.flags=H.flags&~Yt|fa,H=H.sibling}}else{if(yf(),v===s)return wo(e,t,a);Jr(e,t,v,a)}return t.child}function TC(e,t,a,i,o){return yf(),ry(o),t.flags|=fn,Jr(e,t,a,i),t.child}function TR(e,t,a){Hb(t),e===null&&ny(t);var i=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,d=o.children,v=Fg(i,o);return v?d=null:s!==null&&Fg(i,s)&&(t.flags|=Ot),wC(e,t),Jr(e,t,d,a),t.child}function DR(e,t){return e===null&&ny(t),null}function kR(e,t,a,i){gm(e,t);var o=t.pendingProps,s=a,d=s._payload,v=s._init,g=v(d);t.type=g;var C=t.tag=DD(g),w=zi(g,o),O;switch(C){case A:return SS(t,g),t.type=g=Uf(g),O=gS(null,t,g,w,i),O;case F:return t.type=g=XS(g),O=xC(null,t,g,w,i),O;case Te:return t.type=g=KS(g),O=SC(null,t,g,w,i),O;case Ee:{if(t.type!==t.elementType){var _=g.propTypes;_&&Ai(_,w,"prop",yt(g))}return O=bC(null,t,g,zi(g.type,w),i),O}}var H="";throw g!==null&&typeof g=="object"&&g.$$typeof===Bn&&(H=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+g+". "+("Lazy element type must resolve to a class or function."+H))}function _R(e,t,a,i,o){gm(e,t),t.tag=F;var s;return Dl(a)?(s=!0,Dv(t)):s=!1,bf(t,o),Ob(t,a,i),Ry(t,a,i,o),yS(null,t,a,!0,s,o)}function MR(e,t,a,i){gm(e,t);var o=t.pendingProps,s;{var d=hf(t,a,!1);s=vf(t,d)}bf(t,i);var v,g;ml(t);{if(a.prototype&&typeof a.prototype.render=="function"){var C=yt(a)||"Unknown";dS[C]||(S("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.",C,C),dS[C]=!0)}t.mode&an&&Ni.recordLegacyContextWarning(t,null),_r(!0),Mp.current=t,v=Df(null,t,a,o,s,i),g=kf(),_r(!1)}if(Kl(),t.flags|=sl,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){var w=yt(a)||"Unknown";Op[w]||(S("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.",w,w,w),Op[w]=!0)}if(typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){{var O=yt(a)||"Unknown";Op[O]||(S("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.",O,O,O),Op[O]=!0)}t.tag=F,t.memoizedState=null,t.updateQueue=null;var _=!1;return Dl(a)?(_=!0,Dv(t)):_=!1,t.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,dy(t),Mb(t,v),Ry(t,a,o,i),yS(null,t,a,!0,_,i)}else{if(t.tag=A,t.mode&an){xn(!0);try{v=Df(null,t,a,o,s,i),g=kf()}finally{xn(!1)}}return dr()&&g&&qg(t),Jr(null,t,v,i),SS(t,a),t.child}}function SS(e,t){{if(t&&t.childContextTypes&&S("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",i=sr();i&&(a+=`
|
|
402
|
-
|
|
403
|
-
Check the render method of \``+i+"`.");var o=i||"",s=e._debugSource;s&&(o=s.fileName+":"+s.lineNumber),vS[o]||(vS[o]=!0,S("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var d=yt(t)||"Unknown";hS[d]||(S("%s: Function components do not support getDerivedStateFromProps.",d),hS[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var v=yt(t)||"Unknown";pS[v]||(S("%s: Function components do not support contextType.",v),pS[v]=!0)}}}var bS={dehydrated:null,treeContext:null,retryLane:pt};function CS(e){return{baseLanes:e,cachePool:bR(),transitions:null}}function OR(e,t){var a=null;return{baseLanes:tt(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function AR(e,t,a,i){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return Ny(e,Ep)}function LR(e,t){return lu(e.childLanes,t)}function DC(e,t,a){var i=t.pendingProps;PD(t)&&(t.flags|=Ge);var o=Ui.current,s=!1,d=(t.flags&Ge)!==Fe;if(d||AR(o,e)?(s=!0,t.flags&=~Ge):(e===null||e.memoizedState!==null)&&(o=tR(o,Bb)),o=wf(o),_u(t,o),e===null){ny(t);var v=t.memoizedState;if(v!==null){var g=v.dehydrated;if(g!==null)return HR(t,g)}var C=i.children,w=i.fallback;if(s){var O=NR(t,C,w,a),_=t.child;return _.memoizedState=CS(a),t.memoizedState=bS,O}else return ES(t,C)}else{var H=e.memoizedState;if(H!==null){var B=H.dehydrated;if(B!==null)return VR(e,t,d,i,B,H,a)}if(s){var I=i.fallback,Se=i.children,Ve=UR(e,t,Se,I,a),Ae=t.child,vt=e.child.memoizedState;return Ae.memoizedState=vt===null?CS(a):OR(vt,a),Ae.childLanes=LR(e,a),t.memoizedState=bS,Ve}else{var st=i.children,N=zR(e,t,st,a);return t.memoizedState=null,N}}}function ES(e,t,a){var i=e.mode,o={mode:"visible",children:t},s=wS(o,i);return s.return=e,e.child=s,s}function NR(e,t,a,i){var o=e.mode,s=e.child,d={mode:"hidden",children:t},v,g;return(o&it)===je&&s!==null?(v=s,v.childLanes=Y,v.pendingProps=d,e.mode&$e&&(v.actualDuration=0,v.actualStartTime=-1,v.selfBaseDuration=0,v.treeBaseDuration=0),g=Fu(a,o,i,null)):(v=wS(d,o),g=Fu(a,o,i,null)),v.return=e,g.return=e,v.sibling=g,e.child=v,g}function wS(e,t,a){return kE(e,t,Y,null)}function kC(e,t){return Is(e,t)}function zR(e,t,a,i){var o=e.child,s=o.sibling,d=kC(o,{mode:"visible",children:a});if((t.mode&it)===je&&(d.lanes=i),d.return=t,d.sibling=null,s!==null){var v=t.deletions;v===null?(t.deletions=[s],t.flags|=_t):v.push(s)}return t.child=d,d}function UR(e,t,a,i,o){var s=t.mode,d=e.child,v=d.sibling,g={mode:"hidden",children:a},C;if((s&it)===je&&t.child!==d){var w=t.child;C=w,C.childLanes=Y,C.pendingProps=g,t.mode&$e&&(C.actualDuration=0,C.actualStartTime=-1,C.selfBaseDuration=d.selfBaseDuration,C.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else C=kC(d,g),C.subtreeFlags=d.subtreeFlags&jn;var O;return v!==null?O=Is(v,i):(O=Fu(i,s,o,null),O.flags|=Yt),O.return=t,C.return=t,C.sibling=O,t.child=C,O}function mm(e,t,a,i){i!==null&&ry(i),Cf(t,e.child,null,a);var o=t.pendingProps,s=o.children,d=ES(t,s);return d.flags|=Yt,t.memoizedState=null,d}function FR(e,t,a,i,o){var s=t.mode,d={mode:"visible",children:a},v=wS(d,s),g=Fu(i,s,o,null);return g.flags|=Yt,v.return=t,g.return=t,v.sibling=g,t.child=v,(t.mode&it)!==je&&Cf(t,e.child,null,o),g}function HR(e,t,a){return(e.mode&it)===je?(S("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=Ie):jg(t)?e.lanes=Jl:e.lanes=Fr,null}function VR(e,t,a,i,o,s,d){if(a)if(t.flags&fn){t.flags&=~fn;var N=sS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return mm(e,t,d,N)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ge,null;var W=i.children,z=i.fallback,re=FR(e,t,W,z,d),be=t.child;return be.memoizedState=CS(d),t.memoizedState=bS,re}else{if(Dx(),(t.mode&it)===je)return mm(e,t,d,null);if(jg(o)){var v,g,C;{var w=Iw(o);v=w.digest,g=w.message,C=w.stack}var O;g?O=new Error(g):O=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var _=sS(O,v,C);return mm(e,t,d,_)}var H=Hr(d,e.childLanes);if(Hi||H){var B=Dm();if(B!==null){var I=ug(B,d);if(I!==pt&&I!==s.retryLane){s.retryLane=I;var Se=jt;Ca(e,I),qn(B,e,I,Se)}}IS();var Ve=sS(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 mm(e,t,d,Ve)}else if(K0(o)){t.flags|=Ge,t.child=e.child;var Ae=cD.bind(null,e);return Ww(o,Ae),null}else{Mx(t,o,s.treeContext);var vt=i.children,st=ES(t,vt);return st.flags|=fa,st}}}function _C(e,t,a){e.lanes=tt(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=tt(i.lanes,t)),uy(e.return,t,a)}function BR(e,t,a){for(var i=t;i!==null;){if(i.tag===fe){var o=i.memoizedState;o!==null&&_C(i,a,e)}else if(i.tag===gt)_C(i,a,e);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function jR(e){for(var t=e,a=null;t!==null;){var i=t.alternate;i!==null&&Xv(i)===null&&(a=t),t=t.sibling}return a}function PR(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!mS[e])if(mS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{S('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{S('"%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:S('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else S('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function $R(e,t){e!==void 0&&!vm[e]&&(e!=="collapsed"&&e!=="hidden"?(vm[e]=!0,S('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(vm[e]=!0,S('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function MC(e,t){{var a=ft(e),i=!a&&typeof La(e)=="function";if(a||i){var o=a?"array":"iterable";return S("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>",o,t,o),!1}}return!0}function IR(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(ft(e)){for(var a=0;a<e.length;a++)if(!MC(e[a],a))return}else{var i=La(e);if(typeof i=="function"){var o=i.call(e);if(o)for(var s=o.next(),d=0;!s.done;s=o.next()){if(!MC(s.value,d))return;d++}}else S('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 xS(e,t,a,i,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=a,s.tailMode=o)}function OC(e,t,a){var i=t.pendingProps,o=i.revealOrder,s=i.tail,d=i.children;PR(o),$R(s,o),IR(d,o),Jr(e,t,d,a);var v=Ui.current,g=Ny(v,Ep);if(g)v=zy(v,Ep),t.flags|=Ge;else{var C=e!==null&&(e.flags&Ge)!==Fe;C&&BR(t,t.child,a),v=wf(v)}if(_u(t,v),(t.mode&it)===je)t.memoizedState=null;else switch(o){case"forwards":{var w=jR(t.child),O;w===null?(O=t.child,t.child=null):(O=w.sibling,w.sibling=null),xS(t,!1,O,w,s);break}case"backwards":{var _=null,H=t.child;for(t.child=null;H!==null;){var B=H.alternate;if(B!==null&&Xv(B)===null){t.child=H;break}var I=H.sibling;H.sibling=_,_=H,H=I}xS(t,!0,_,null,s);break}case"together":{xS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function WR(e,t,a){Oy(t,t.stateNode.containerInfo);var i=t.pendingProps;return e===null?t.child=Cf(t,null,i,a):Jr(e,t,i,a),t.child}var AC=!1;function YR(e,t,a){var i=t.type,o=i._context,s=t.pendingProps,d=t.memoizedProps,v=s.value;{"value"in s||AC||(AC=!0,S("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var g=t.type.propTypes;g&&Ai(g,s,"prop","Context.Provider")}if(Sb(t,o,v),d!==null){var C=d.value;if(xe(C,v)){if(d.children===s.children&&!Rv())return wo(e,t,a)}else Bx(t,o,a)}var w=s.children;return Jr(e,t,w,a),t.child}var LC=!1;function GR(e,t,a){var i=t.type;i._context===void 0?i!==i.Consumer&&(LC||(LC=!0,S("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):i=i._context;var o=t.pendingProps,s=o.children;typeof s!="function"&&S("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."),bf(t,a);var d=Hn(i);ml(t);var v;return Mp.current=t,_r(!0),v=s(d),_r(!1),Kl(),t.flags|=sl,Jr(e,t,v,a),t.child}function Ap(){Hi=!0}function gm(e,t){(t.mode&it)===je&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Yt)}function wo(e,t,a){return e!==null&&(t.dependencies=e.dependencies),hC(),Ip(t.lanes),Hr(a,t.childLanes)?(Zx(e,t),t.child):null}function QR(e,t,a){{var i=t.return;if(i===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===i.child)i.child=a;else{var o=i.child;if(o===null)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw new Error("Expected to find the previous sibling.");o.sibling=a}var s=i.deletions;return s===null?(i.deletions=[e],i.flags|=_t):s.push(e),a.flags|=Yt,a}}function RS(e,t){var a=e.lanes;return!!Hr(a,t)}function XR(e,t,a){switch(t.tag){case X:RC(t),t.stateNode,yf();break;case te:Hb(t);break;case F:{var i=t.type;Dl(i)&&Dv(t);break}case J:Oy(t,t.stateNode.containerInfo);break;case Ze:{var o=t.memoizedProps.value,s=t.type._context;Sb(t,s,o);break}case He:{var d=Hr(a,t.childLanes);d&&(t.flags|=et);{var v=t.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}}break;case fe:{var g=t.memoizedState;if(g!==null){if(g.dehydrated!==null)return _u(t,wf(Ui.current)),t.flags|=Ge,null;var C=t.child,w=C.childLanes;if(Hr(a,w))return DC(e,t,a);_u(t,wf(Ui.current));var O=wo(e,t,a);return O!==null?O.sibling:null}else _u(t,wf(Ui.current));break}case gt:{var _=(e.flags&Ge)!==Fe,H=Hr(a,t.childLanes);if(_){if(H)return OC(e,t,a);t.flags|=Ge}var B=t.memoizedState;if(B!==null&&(B.rendering=null,B.tail=null,B.lastEffect=null),_u(t,Ui.current),H)break;return null}case _e:case dt:return t.lanes=Y,EC(e,t,a)}return wo(e,t,a)}function NC(e,t,a){if(t._debugNeedsRemount&&e!==null)return QR(e,t,t0(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var i=e.memoizedProps,o=t.pendingProps;if(i!==o||Rv()||t.type!==e.type)Hi=!0;else{var s=RS(e,a);if(!s&&(t.flags&Ge)===Fe)return Hi=!1,XR(e,t,a);(e.flags&ls)!==Fe?Hi=!0:Hi=!1}}else if(Hi=!1,dr()&&Cx(t)){var d=t.index,v=Ex();ob(t,v,d)}switch(t.lanes=Y,t.tag){case q:return MR(e,t,t.type,a);case lt:{var g=t.elementType;return kR(e,t,g,a)}case A:{var C=t.type,w=t.pendingProps,O=t.elementType===C?w:zi(C,w);return gS(e,t,C,O,a)}case F:{var _=t.type,H=t.pendingProps,B=t.elementType===_?H:zi(_,H);return xC(e,t,_,B,a)}case X:return RR(e,t,a);case te:return TR(e,t,a);case oe:return DR(e,t);case fe:return DC(e,t,a);case J:return WR(e,t,a);case Te:{var I=t.type,Se=t.pendingProps,Ve=t.elementType===I?Se:zi(I,Se);return SC(e,t,I,Ve,a)}case ge:return ER(e,t,a);case ce:return wR(e,t,a);case He:return xR(e,t,a);case Ze:return YR(e,t,a);case ke:return GR(e,t,a);case Ee:{var Ae=t.type,vt=t.pendingProps,st=zi(Ae,vt);if(t.type!==t.elementType){var N=Ae.propTypes;N&&Ai(N,st,"prop",yt(Ae))}return st=zi(Ae.type,st),bC(e,t,Ae,st,a)}case Le:return CC(e,t,t.type,t.pendingProps,a);case Tt:{var W=t.type,z=t.pendingProps,re=t.elementType===W?z:zi(W,z);return _R(e,t,W,re,a)}case gt:return OC(e,t,a);case un:break;case _e:return EC(e,t,a)}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 _f(e){e.flags|=et}function zC(e){e.flags|=Or,e.flags|=pd}var UC,TS,FC,HC;UC=function(e,t,a,i){for(var o=t.child;o!==null;){if(o.tag===te||o.tag===oe)yw(e,o.stateNode);else if(o.tag!==J){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===t)return;for(;o.sibling===null;){if(o.return===null||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},TS=function(e,t){},FC=function(e,t,a,i,o){var s=e.memoizedProps;if(s!==i){var d=t.stateNode,v=Ay(),g=bw(d,a,s,i,o,v);t.updateQueue=g,g&&_f(t)}},HC=function(e,t,a,i){a!==i&&_f(t)};function Lp(e,t){if(!dr())switch(e.tailMode){case"hidden":{for(var a=e.tail,i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e.tail=null:i.sibling=null;break}case"collapsed":{for(var o=e.tail,s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:s.sibling=null;break}}}function hr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=Y,i=Fe;if(t){if((e.mode&$e)!==je){for(var g=e.selfBaseDuration,C=e.child;C!==null;)a=tt(a,tt(C.lanes,C.childLanes)),i|=C.subtreeFlags&jn,i|=C.flags&jn,g+=C.treeBaseDuration,C=C.sibling;e.treeBaseDuration=g}else for(var w=e.child;w!==null;)a=tt(a,tt(w.lanes,w.childLanes)),i|=w.subtreeFlags&jn,i|=w.flags&jn,w.return=e,w=w.sibling;e.subtreeFlags|=i}else{if((e.mode&$e)!==je){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)a=tt(a,tt(d.lanes,d.childLanes)),i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(var v=e.child;v!==null;)a=tt(a,tt(v.lanes,v.childLanes)),i|=v.subtreeFlags,i|=v.flags,v.return=e,v=v.sibling;e.subtreeFlags|=i}return e.childLanes=a,t}function KR(e,t,a){if(zx()&&(t.mode&it)!==je&&(t.flags&Ge)===Fe)return hb(t),yf(),t.flags|=fn|Gr|Ln,!1;var i=Av(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!i)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Lx(t),hr(t),(t.mode&$e)!==je){var o=a!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(yf(),(t.flags&Ge)===Fe&&(t.memoizedState=null),t.flags|=et,hr(t),(t.mode&$e)!==je){var d=a!==null;if(d){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else return vb(),!0}function VC(e,t,a){var i=t.pendingProps;switch(Zg(t),t.tag){case q:case lt:case Le:case A:case Te:case ge:case ce:case He:case ke:case Ee:return hr(t),null;case F:{var o=t.type;return Dl(o)&&Tv(t),hr(t),null}case X:{var s=t.stateNode;if(Ef(t),Qg(t),Fy(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var d=Av(t);if(d)_f(t);else if(e!==null){var v=e.memoizedState;(!v.isDehydrated||(t.flags&fn)!==Fe)&&(t.flags|=ca,vb())}}return TS(e,t),hr(t),null}case te:{Ly(t);var g=Fb(),C=t.type;if(e!==null&&t.stateNode!=null)FC(e,t,C,i,g),e.ref!==t.ref&&zC(t);else{if(!i){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 hr(t),null}var w=Ay(),O=Av(t);if(O)Ox(t,g,w)&&_f(t);else{var _=gw(C,i,g,w,t);UC(_,t,!1,!1),t.stateNode=_,Sw(_,C,i,g)&&_f(t)}t.ref!==null&&zC(t)}return hr(t),null}case oe:{var H=i;if(e&&t.stateNode!=null){var B=e.memoizedProps;HC(e,t,B,H)}else{if(typeof H!="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 I=Fb(),Se=Ay(),Ve=Av(t);Ve?Ax(t)&&_f(t):t.stateNode=Cw(H,I,Se,t)}return hr(t),null}case fe:{xf(t);var Ae=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vt=KR(e,t,Ae);if(!vt)return t.flags&Ln?t:null}if((t.flags&Ge)!==Fe)return t.lanes=a,(t.mode&$e)!==je&&uS(t),t;var st=Ae!==null,N=e!==null&&e.memoizedState!==null;if(st!==N&&st){var W=t.child;if(W.flags|=cl,(t.mode&it)!==je){var z=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!K);z||Ny(Ui.current,Bb)?qT():IS()}}var re=t.updateQueue;if(re!==null&&(t.flags|=et),hr(t),(t.mode&$e)!==je&&st){var be=t.child;be!==null&&(t.treeBaseDuration-=be.treeBaseDuration)}return null}case J:return Ef(t),TS(e,t),e===null&&hx(t.stateNode.containerInfo),hr(t),null;case Ze:var he=t.type._context;return oy(he,t),hr(t),null;case Tt:{var We=t.type;return Dl(We)&&Tv(t),hr(t),null}case gt:{xf(t);var qe=t.memoizedState;if(qe===null)return hr(t),null;var Ft=(t.flags&Ge)!==Fe,xt=qe.rendering;if(xt===null)if(Ft)Lp(qe,!1);else{var _n=JT()&&(e===null||(e.flags&Ge)===Fe);if(!_n)for(var Rt=t.child;Rt!==null;){var En=Xv(Rt);if(En!==null){Ft=!0,t.flags|=Ge,Lp(qe,!1);var Pr=En.updateQueue;return Pr!==null&&(t.updateQueue=Pr,t.flags|=et),t.subtreeFlags=Fe,Jx(t,a),_u(t,zy(Ui.current,Ep)),t.child}Rt=Rt.sibling}qe.tail!==null&&rn()>lE()&&(t.flags|=Ge,Ft=!0,Lp(qe,!1),t.lanes=Td)}else{if(!Ft){var Sr=Xv(xt);if(Sr!==null){t.flags|=Ge,Ft=!0;var Ia=Sr.updateQueue;if(Ia!==null&&(t.updateQueue=Ia,t.flags|=et),Lp(qe,!0),qe.tail===null&&qe.tailMode==="hidden"&&!xt.alternate&&!dr())return hr(t),null}else rn()*2-qe.renderingStartTime>lE()&&a!==Fr&&(t.flags|=Ge,Ft=!0,Lp(qe,!1),t.lanes=Td)}if(qe.isBackwards)xt.sibling=t.child,t.child=xt;else{var na=qe.last;na!==null?na.sibling=xt:t.child=xt,qe.last=xt}}if(qe.tail!==null){var ra=qe.tail;qe.rendering=ra,qe.tail=ra.sibling,qe.renderingStartTime=rn(),ra.sibling=null;var $r=Ui.current;return Ft?$r=zy($r,Ep):$r=wf($r),_u(t,$r),ra}return hr(t),null}case un:break;case _e:case dt:{$S(t);var ko=t.memoizedState,Ff=ko!==null;if(e!==null){var Xp=e.memoizedState,zl=Xp!==null;zl!==Ff&&!D&&(t.flags|=cl)}return!Ff||(t.mode&it)===je?hr(t):Hr(Nl,Fr)&&(hr(t),t.subtreeFlags&(Yt|et)&&(t.flags|=cl)),null}case qt:return null;case kt: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 qR(e,t,a){switch(Zg(t),t.tag){case F:{var i=t.type;Dl(i)&&Tv(t);var o=t.flags;return o&Ln?(t.flags=o&~Ln|Ge,(t.mode&$e)!==je&&uS(t),t):null}case X:{t.stateNode,Ef(t),Qg(t),Fy();var s=t.flags;return(s&Ln)!==Fe&&(s&Ge)===Fe?(t.flags=s&~Ln|Ge,t):null}case te:return Ly(t),null;case fe:{xf(t);var d=t.memoizedState;if(d!==null&&d.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.");yf()}var v=t.flags;return v&Ln?(t.flags=v&~Ln|Ge,(t.mode&$e)!==je&&uS(t),t):null}case gt:return xf(t),null;case J:return Ef(t),null;case Ze:var g=t.type._context;return oy(g,t),null;case _e:case dt:return $S(t),null;case qt:return null;default:return null}}function BC(e,t,a){switch(Zg(t),t.tag){case F:{var i=t.type.childContextTypes;i!=null&&Tv(t);break}case X:{t.stateNode,Ef(t),Qg(t),Fy();break}case te:{Ly(t);break}case J:Ef(t);break;case fe:xf(t);break;case gt:xf(t);break;case Ze:var o=t.type._context;oy(o,t);break;case _e:case dt:$S(t);break}}var jC=null;jC=new Set;var ym=!1,vr=!1,ZR=typeof WeakSet=="function"?WeakSet:Set,Re=null,Mf=null,Of=null;function JR(e){Ql(null,function(){throw e}),fd()}var eT=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&$e)try{Al(),t.componentWillUnmount()}finally{Ol(e)}else t.componentWillUnmount()};function PC(e,t){try{Au(Wn,e)}catch(a){Kt(e,t,a)}}function DS(e,t,a){try{eT(e,a)}catch(i){Kt(e,t,i)}}function tT(e,t,a){try{a.componentDidMount()}catch(i){Kt(e,t,i)}}function $C(e,t){try{WC(e)}catch(a){Kt(e,t,a)}}function Af(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var i;try{if(ot&&Ct&&e.mode&$e)try{Al(),i=a(null)}finally{Ol(e)}else i=a(null)}catch(o){Kt(e,t,o)}typeof i=="function"&&S("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Xe(e))}else a.current=null}function Sm(e,t,a){try{a()}catch(i){Kt(e,t,i)}}var IC=!1;function nT(e,t){vw(e.containerInfo),Re=t,rT();var a=IC;return IC=!1,a}function rT(){for(;Re!==null;){var e=Re,t=e.child;(e.subtreeFlags&Zo)!==Fe&&t!==null?(t.return=e,Re=t):aT()}}function aT(){for(;Re!==null;){var e=Re;Mt(e);try{iT(e)}catch(a){Kt(e,e.return,a)}cn();var t=e.sibling;if(t!==null){t.return=e.return,Re=t;return}Re=e.return}}function iT(e){var t=e.alternate,a=e.flags;if((a&ca)!==Fe){switch(Mt(e),e.tag){case A:case Te:case Le:break;case F:{if(t!==null){var i=t.memoizedProps,o=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Vs&&(s.props!==e.memoizedProps&&S("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.",Xe(e)||"instance"),s.state!==e.memoizedState&&S("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.",Xe(e)||"instance"));var d=s.getSnapshotBeforeUpdate(e.elementType===e.type?i:zi(e.type,i),o);{var v=jC;d===void 0&&!v.has(e.type)&&(v.add(e.type),S("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Xe(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case X:{{var g=e.stateNode;Bw(g.containerInfo)}break}case te:case oe:case J:case Tt: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.")}cn()}}function Vi(e,t,a){var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var s=o.next,d=s;do{if((d.tag&e)===e){var v=d.destroy;d.destroy=void 0,v!==void 0&&((e&pr)!==Ea?bc(t):(e&Wn)!==Ea&&Cc(t),(e&kl)!==Ea&&Yp(!0),Sm(t,a,v),(e&kl)!==Ea&&Yp(!1),(e&pr)!==Ea?Oh():(e&Wn)!==Ea&&Jo())}d=d.next}while(d!==s)}}function Au(e,t){var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next,s=o;do{if((s.tag&e)===e){(e&pr)!==Ea?Mh(t):(e&Wn)!==Ea&&Ah(t);var d=s.create;(e&kl)!==Ea&&Yp(!0),s.destroy=d(),(e&kl)!==Ea&&Yp(!1),(e&pr)!==Ea?wd():(e&Wn)!==Ea&&Lh();{var v=s.destroy;if(v!==void 0&&typeof v!="function"){var g=void 0;(s.tag&Wn)!==Fe?g="useLayoutEffect":(s.tag&kl)!==Fe?g="useInsertionEffect":g="useEffect";var C=void 0;v===null?C=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof v.then=="function"?C=`
|
|
404
|
-
|
|
405
|
-
It looks like you wrote `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
406
|
-
|
|
407
|
-
`+g+`(() => {
|
|
408
|
-
async function fetchData() {
|
|
409
|
-
// You can await here
|
|
410
|
-
const response = await MyAPI.getData(someId);
|
|
411
|
-
// ...
|
|
412
|
-
}
|
|
413
|
-
fetchData();
|
|
414
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
415
|
-
|
|
416
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:C=" You returned: "+v,S("%s must not return anything besides a function, which is used for clean-up.%s",g,C)}}}s=s.next}while(s!==o)}}function lT(e,t){if((t.flags&et)!==Fe)switch(t.tag){case He:{var a=t.stateNode.passiveEffectDuration,i=t.memoizedProps,o=i.id,s=i.onPostCommit,d=dC(),v=t.alternate===null?"mount":"update";fC()&&(v="nested-update"),typeof s=="function"&&s(o,v,a,d);var g=t.return;e:for(;g!==null;){switch(g.tag){case X:var C=g.stateNode;C.passiveEffectDuration+=a;break e;case He:var w=g.stateNode;w.passiveEffectDuration+=a;break e}g=g.return}break}}}function oT(e,t,a,i){if((a.flags&er)!==Fe)switch(a.tag){case A:case Te:case Le:{if(!vr)if(a.mode&$e)try{Al(),Au(Wn|In,a)}finally{Ol(a)}else Au(Wn|In,a);break}case F:{var o=a.stateNode;if(a.flags&et&&!vr)if(t===null)if(a.type===a.elementType&&!Vs&&(o.props!==a.memoizedProps&&S("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.",Xe(a)||"instance"),o.state!==a.memoizedState&&S("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.",Xe(a)||"instance")),a.mode&$e)try{Al(),o.componentDidMount()}finally{Ol(a)}else o.componentDidMount();else{var s=a.elementType===a.type?t.memoizedProps:zi(a.type,t.memoizedProps),d=t.memoizedState;if(a.type===a.elementType&&!Vs&&(o.props!==a.memoizedProps&&S("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.",Xe(a)||"instance"),o.state!==a.memoizedState&&S("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.",Xe(a)||"instance")),a.mode&$e)try{Al(),o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}finally{Ol(a)}else o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}var v=a.updateQueue;v!==null&&(a.type===a.elementType&&!Vs&&(o.props!==a.memoizedProps&&S("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.",Xe(a)||"instance"),o.state!==a.memoizedState&&S("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.",Xe(a)||"instance")),Rb(a,v,o));break}case X:{var g=a.updateQueue;if(g!==null){var C=null;if(a.child!==null)switch(a.child.tag){case te:C=a.child.stateNode;break;case F:C=a.child.stateNode;break}Rb(a,g,C)}break}case te:{var w=a.stateNode;if(t===null&&a.flags&et){var O=a.type,_=a.memoizedProps;Tw(w,O,_)}break}case oe:break;case J:break;case He:{{var H=a.memoizedProps,B=H.onCommit,I=H.onRender,Se=a.stateNode.effectDuration,Ve=dC(),Ae=t===null?"mount":"update";fC()&&(Ae="nested-update"),typeof I=="function"&&I(a.memoizedProps.id,Ae,a.actualDuration,a.treeBaseDuration,a.actualStartTime,Ve);{typeof B=="function"&&B(a.memoizedProps.id,Ae,Se,Ve),aD(a);var vt=a.return;e:for(;vt!==null;){switch(vt.tag){case X:var st=vt.stateNode;st.effectDuration+=Se;break e;case He:var N=vt.stateNode;N.effectDuration+=Se;break e}vt=vt.return}}}break}case fe:{vT(e,a);break}case gt:case Tt:case un:case _e:case dt:case kt: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.")}vr||a.flags&Or&&WC(a)}function uT(e){switch(e.tag){case A:case Te:case Le:{if(e.mode&$e)try{Al(),PC(e,e.return)}finally{Ol(e)}else PC(e,e.return);break}case F:{var t=e.stateNode;typeof t.componentDidMount=="function"&&tT(e,e.return,t),$C(e,e.return);break}case te:{$C(e,e.return);break}}}function sT(e,t){for(var a=null,i=e;;){if(i.tag===te){if(a===null){a=i;try{var o=i.stateNode;t?Uw(o):Hw(i.stateNode,i.memoizedProps)}catch(d){Kt(e,e.return,d)}}}else if(i.tag===oe){if(a===null)try{var s=i.stateNode;t?Fw(s):Vw(s,i.memoizedProps)}catch(d){Kt(e,e.return,d)}}else if(!((i.tag===_e||i.tag===dt)&&i.memoizedState!==null&&i!==e)){if(i.child!==null){i.child.return=i,i=i.child;continue}}if(i===e)return;for(;i.sibling===null;){if(i.return===null||i.return===e)return;a===i&&(a=null),i=i.return}a===i&&(a=null),i.sibling.return=i.return,i=i.sibling}}function WC(e){var t=e.ref;if(t!==null){var a=e.stateNode,i;switch(e.tag){case te:i=a;break;default:i=a}if(typeof t=="function"){var o;if(e.mode&$e)try{Al(),o=t(i)}finally{Ol(e)}else o=t(i);typeof o=="function"&&S("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Xe(e))}else t.hasOwnProperty("current")||S("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Xe(e)),t.current=i}}function cT(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function YC(e){var t=e.alternate;t!==null&&(e.alternate=null,YC(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===te){var a=e.stateNode;a!==null&&gx(a)}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 fT(e){for(var t=e.return;t!==null;){if(GC(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 GC(e){return e.tag===te||e.tag===X||e.tag===J}function QC(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||GC(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==te&&t.tag!==oe&&t.tag!==Dt;){if(t.flags&Yt||t.child===null||t.tag===J)continue e;t.child.return=t,t=t.child}if(!(t.flags&Yt))return t.stateNode}}function dT(e){var t=fT(e);switch(t.tag){case te:{var a=t.stateNode;t.flags&Ot&&(X0(a),t.flags&=~Ot);var i=QC(e);_S(e,i,a);break}case X:case J:{var o=t.stateNode.containerInfo,s=QC(e);kS(e,s,o);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function kS(e,t,a){var i=e.tag,o=i===te||i===oe;if(o){var s=e.stateNode;t?Aw(a,s,t):Mw(a,s)}else if(i!==J){var d=e.child;if(d!==null){kS(d,t,a);for(var v=d.sibling;v!==null;)kS(v,t,a),v=v.sibling}}}function _S(e,t,a){var i=e.tag,o=i===te||i===oe;if(o){var s=e.stateNode;t?Ow(a,s,t):_w(a,s)}else if(i!==J){var d=e.child;if(d!==null){_S(d,t,a);for(var v=d.sibling;v!==null;)_S(v,t,a),v=v.sibling}}}var mr=null,Bi=!1;function pT(e,t,a){{var i=t;e:for(;i!==null;){switch(i.tag){case te:{mr=i.stateNode,Bi=!1;break e}case X:{mr=i.stateNode.containerInfo,Bi=!0;break e}case J:{mr=i.stateNode.containerInfo,Bi=!0;break e}}i=i.return}if(mr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");XC(e,t,a),mr=null,Bi=!1}cT(a)}function Lu(e,t,a){for(var i=a.child;i!==null;)XC(e,t,i),i=i.sibling}function XC(e,t,a){switch(Cd(a),a.tag){case te:vr||Af(a,t);case oe:{{var i=mr,o=Bi;mr=null,Lu(e,t,a),mr=i,Bi=o,mr!==null&&(Bi?Nw(mr,a.stateNode):Lw(mr,a.stateNode))}return}case Dt:{mr!==null&&(Bi?zw(mr,a.stateNode):Bg(mr,a.stateNode));return}case J:{{var s=mr,d=Bi;mr=a.stateNode.containerInfo,Bi=!0,Lu(e,t,a),mr=s,Bi=d}return}case A:case Te:case Ee:case Le:{if(!vr){var v=a.updateQueue;if(v!==null){var g=v.lastEffect;if(g!==null){var C=g.next,w=C;do{var O=w,_=O.destroy,H=O.tag;_!==void 0&&((H&kl)!==Ea?Sm(a,t,_):(H&Wn)!==Ea&&(Cc(a),a.mode&$e?(Al(),Sm(a,t,_),Ol(a)):Sm(a,t,_),Jo())),w=w.next}while(w!==C)}}}Lu(e,t,a);return}case F:{if(!vr){Af(a,t);var B=a.stateNode;typeof B.componentWillUnmount=="function"&&DS(a,t,B)}Lu(e,t,a);return}case un:{Lu(e,t,a);return}case _e:{if(a.mode&it){var I=vr;vr=I||a.memoizedState!==null,Lu(e,t,a),vr=I}else Lu(e,t,a);break}default:{Lu(e,t,a);return}}}function hT(e){e.memoizedState}function vT(e,t){var a=t.memoizedState;if(a===null){var i=t.alternate;if(i!==null){var o=i.memoizedState;if(o!==null){var s=o.dehydrated;s!==null&&ex(s)}}}}function KC(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new ZR),t.forEach(function(i){var o=fD.bind(null,e,i);if(!a.has(i)){if(a.add(i),Pn)if(Mf!==null&&Of!==null)Wp(Of,Mf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(o,o)}})}}function mT(e,t,a){Mf=a,Of=e,Mt(t),qC(t,e),Mt(t),Mf=null,Of=null}function ji(e,t,a){var i=t.deletions;if(i!==null)for(var o=0;o<i.length;o++){var s=i[o];try{pT(e,t,s)}catch(g){Kt(s,t,g)}}var d=Zs();if(t.subtreeFlags&Nr)for(var v=t.child;v!==null;)Mt(v),qC(v,e),v=v.sibling;Mt(d)}function qC(e,t,a){var i=e.alternate,o=e.flags;switch(e.tag){case A:case Te:case Ee:case Le:{if(ji(t,e),Ll(e),o&et){try{Vi(kl|In,e,e.return),Au(kl|In,e)}catch(We){Kt(e,e.return,We)}if(e.mode&$e){try{Al(),Vi(Wn|In,e,e.return)}catch(We){Kt(e,e.return,We)}Ol(e)}else try{Vi(Wn|In,e,e.return)}catch(We){Kt(e,e.return,We)}}return}case F:{ji(t,e),Ll(e),o&Or&&i!==null&&Af(i,i.return);return}case te:{ji(t,e),Ll(e),o&Or&&i!==null&&Af(i,i.return);{if(e.flags&Ot){var s=e.stateNode;try{X0(s)}catch(We){Kt(e,e.return,We)}}if(o&et){var d=e.stateNode;if(d!=null){var v=e.memoizedProps,g=i!==null?i.memoizedProps:v,C=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{Dw(d,w,C,g,v,e)}catch(We){Kt(e,e.return,We)}}}}return}case oe:{if(ji(t,e),Ll(e),o&et){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 O=e.stateNode,_=e.memoizedProps,H=i!==null?i.memoizedProps:_;try{kw(O,H,_)}catch(We){Kt(e,e.return,We)}}return}case X:{if(ji(t,e),Ll(e),o&et&&i!==null){var B=i.memoizedState;if(B.isDehydrated)try{Jw(t.containerInfo)}catch(We){Kt(e,e.return,We)}}return}case J:{ji(t,e),Ll(e);return}case fe:{ji(t,e),Ll(e);var I=e.child;if(I.flags&cl){var Se=I.stateNode,Ve=I.memoizedState,Ae=Ve!==null;if(Se.isHidden=Ae,Ae){var vt=I.alternate!==null&&I.alternate.memoizedState!==null;vt||KT()}}if(o&et){try{hT(e)}catch(We){Kt(e,e.return,We)}KC(e)}return}case _e:{var st=i!==null&&i.memoizedState!==null;if(e.mode&it){var N=vr;vr=N||st,ji(t,e),vr=N}else ji(t,e);if(Ll(e),o&cl){var W=e.stateNode,z=e.memoizedState,re=z!==null,be=e;if(W.isHidden=re,re&&!st&&(be.mode&it)!==je){Re=be;for(var he=be.child;he!==null;)Re=he,yT(he),he=he.sibling}sT(be,re)}return}case gt:{ji(t,e),Ll(e),o&et&&KC(e);return}case un:return;default:{ji(t,e),Ll(e);return}}}function Ll(e){var t=e.flags;if(t&Yt){try{dT(e)}catch(a){Kt(e,e.return,a)}e.flags&=~Yt}t&fa&&(e.flags&=~fa)}function gT(e,t,a){Mf=a,Of=t,Re=e,ZC(e,t,a),Mf=null,Of=null}function ZC(e,t,a){for(var i=(e.mode&it)!==je;Re!==null;){var o=Re,s=o.child;if(o.tag===_e&&i){var d=o.memoizedState!==null,v=d||ym;if(v){MS(e,t,a);continue}else{var g=o.alternate,C=g!==null&&g.memoizedState!==null,w=C||vr,O=ym,_=vr;ym=v,vr=w,vr&&!_&&(Re=o,ST(o));for(var H=s;H!==null;)Re=H,ZC(H,t,a),H=H.sibling;Re=o,ym=O,vr=_,MS(e,t,a);continue}}(o.subtreeFlags&er)!==Fe&&s!==null?(s.return=o,Re=s):MS(e,t,a)}}function MS(e,t,a){for(;Re!==null;){var i=Re;if((i.flags&er)!==Fe){var o=i.alternate;Mt(i);try{oT(t,o,i,a)}catch(d){Kt(i,i.return,d)}cn()}if(i===e){Re=null;return}var s=i.sibling;if(s!==null){s.return=i.return,Re=s;return}Re=i.return}}function yT(e){for(;Re!==null;){var t=Re,a=t.child;switch(t.tag){case A:case Te:case Ee:case Le:{if(t.mode&$e)try{Al(),Vi(Wn,t,t.return)}finally{Ol(t)}else Vi(Wn,t,t.return);break}case F:{Af(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&DS(t,t.return,i);break}case te:{Af(t,t.return);break}case _e:{var o=t.memoizedState!==null;if(o){JC(e);continue}break}}a!==null?(a.return=t,Re=a):JC(e)}}function JC(e){for(;Re!==null;){var t=Re;if(t===e){Re=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Re=a;return}Re=t.return}}function ST(e){for(;Re!==null;){var t=Re,a=t.child;if(t.tag===_e){var i=t.memoizedState!==null;if(i){eE(e);continue}}a!==null?(a.return=t,Re=a):eE(e)}}function eE(e){for(;Re!==null;){var t=Re;Mt(t);try{uT(t)}catch(i){Kt(t,t.return,i)}if(cn(),t===e){Re=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Re=a;return}Re=t.return}}function bT(e,t,a,i){Re=t,CT(t,e,a,i)}function CT(e,t,a,i){for(;Re!==null;){var o=Re,s=o.child;(o.subtreeFlags&da)!==Fe&&s!==null?(s.return=o,Re=s):ET(e,t,a,i)}}function ET(e,t,a,i){for(;Re!==null;){var o=Re;if((o.flags&Jt)!==Fe){Mt(o);try{wT(t,o,a,i)}catch(d){Kt(o,o.return,d)}cn()}if(o===e){Re=null;return}var s=o.sibling;if(s!==null){s.return=o.return,Re=s;return}Re=o.return}}function wT(e,t,a,i){switch(t.tag){case A:case Te:case Le:{if(t.mode&$e){oS();try{Au(pr|In,t)}finally{lS(t)}}else Au(pr|In,t);break}}}function xT(e){Re=e,RT()}function RT(){for(;Re!==null;){var e=Re,t=e.child;if((Re.flags&_t)!==Fe){var a=e.deletions;if(a!==null){for(var i=0;i<a.length;i++){var o=a[i];Re=o,kT(o,e)}{var s=e.alternate;if(s!==null){var d=s.child;if(d!==null){s.child=null;do{var v=d.sibling;d.sibling=null,d=v}while(d!==null)}}}Re=e}}(e.subtreeFlags&da)!==Fe&&t!==null?(t.return=e,Re=t):TT()}}function TT(){for(;Re!==null;){var e=Re;(e.flags&Jt)!==Fe&&(Mt(e),DT(e),cn());var t=e.sibling;if(t!==null){t.return=e.return,Re=t;return}Re=e.return}}function DT(e){switch(e.tag){case A:case Te:case Le:{e.mode&$e?(oS(),Vi(pr|In,e,e.return),lS(e)):Vi(pr|In,e,e.return);break}}}function kT(e,t){for(;Re!==null;){var a=Re;Mt(a),MT(a,t),cn();var i=a.child;i!==null?(i.return=a,Re=i):_T(e)}}function _T(e){for(;Re!==null;){var t=Re,a=t.sibling,i=t.return;if(YC(t),t===e){Re=null;return}if(a!==null){a.return=i,Re=a;return}Re=i}}function MT(e,t){switch(e.tag){case A:case Te:case Le:{e.mode&$e?(oS(),Vi(pr,e,t),lS(e)):Vi(pr,e,t);break}}}function OT(e){switch(e.tag){case A:case Te:case Le:{try{Au(Wn|In,e)}catch(a){Kt(e,e.return,a)}break}case F:{var t=e.stateNode;try{t.componentDidMount()}catch(a){Kt(e,e.return,a)}break}}}function AT(e){switch(e.tag){case A:case Te:case Le:{try{Au(pr|In,e)}catch(t){Kt(e,e.return,t)}break}}}function LT(e){switch(e.tag){case A:case Te:case Le:{try{Vi(Wn|In,e,e.return)}catch(a){Kt(e,e.return,a)}break}case F:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&DS(e,e.return,t);break}}}function NT(e){switch(e.tag){case A:case Te:case Le:try{Vi(pr|In,e,e.return)}catch(t){Kt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Np=Symbol.for;Np("selector.component"),Np("selector.has_pseudo_class"),Np("selector.role"),Np("selector.test_id"),Np("selector.text")}var zT=[];function UT(){zT.forEach(function(e){return e()})}var FT=p.ReactCurrentActQueue;function HT(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function tE(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&FT.current!==null&&S("The current testing environment is not configured to support act(...)"),e}}var VT=Math.ceil,OS=p.ReactCurrentDispatcher,AS=p.ReactCurrentOwner,gr=p.ReactCurrentBatchConfig,Pi=p.ReactCurrentActQueue,Qn=0,nE=1,yr=2,si=4,xo=0,zp=1,Bs=2,bm=3,Up=4,rE=5,LS=6,ht=Qn,ea=null,yn=null,Xn=Y,Nl=Y,NS=wu(Y),Kn=xo,Fp=null,Cm=Y,Hp=Y,Em=Y,Vp=null,wa=null,zS=0,aE=500,iE=1/0,BT=500,Ro=null;function Bp(){iE=rn()+BT}function lE(){return iE}var wm=!1,US=null,Lf=null,js=!1,Nu=null,jp=Y,FS=[],HS=null,jT=50,Pp=0,VS=null,BS=!1,xm=!1,PT=50,Nf=0,Rm=null,$p=jt,Tm=Y,oE=!1;function Dm(){return ea}function ta(){return(ht&(yr|si))!==Qn?rn():($p!==jt||($p=rn()),$p)}function zu(e){var t=e.mode;if((t&it)===je)return Ie;if((ht&yr)!==Qn&&Xn!==Y)return Rn(Xn);var a=Hx()!==Fx;if(a){if(gr.transition!==null){var i=gr.transition;i._updatedFibers||(i._updatedFibers=new Set),i._updatedFibers.add(e)}return Tm===pt&&(Tm=_d()),Tm}var o=ma();if(o!==pt)return o;var s=Ew();return s}function $T(e){var t=e.mode;return(t&it)===je?Ie:og()}function qn(e,t,a,i){pD(),oE&&S("useInsertionEffect must not schedule updates."),BS&&(xm=!0),lo(e,a,i),(ht&yr)!==Y&&e===ea?mD(t):(Pn&&Nd(e,t,a),gD(t),e===ea&&((ht&yr)===Qn&&(Hp=tt(Hp,a)),Kn===Up&&Uu(e,Xn)),xa(e,i),a===Ie&&ht===Qn&&(t.mode&it)===je&&!Pi.isBatchingLegacy&&(Bp(),lb()))}function IT(e,t,a){var i=e.current;i.lanes=t,lo(e,t,a),xa(e,a)}function WT(e){return(ht&yr)!==Qn}function xa(e,t){var a=e.callbackNode;ag(e,t);var i=ds(e,e===ea?Xn:Y);if(i===Y){a!==null&&wE(a),e.callbackNode=null,e.callbackPriority=pt;return}var o=bn(i),s=e.callbackPriority;if(s===o&&!(Pi.current!==null&&a!==GS)){a==null&&s!==Ie&&S("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&wE(a);var d;if(o===Ie)e.tag===xu?(Pi.isBatchingLegacy!==null&&(Pi.didScheduleLegacyUpdate=!0),bx(cE.bind(null,e))):ib(cE.bind(null,e)),Pi.current!==null?Pi.current.push(Ru):xw(function(){(ht&(yr|si))===Qn&&Ru()}),d=null;else{var v;switch(gs(i)){case tr:v=gc;break;case $n:v=Kr;break;case Di:v=Ja;break;case vs:v=dl;break;default:v=Ja;break}d=QS(v,uE.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function uE(e,t){if(pR(),$p=jt,Tm=Y,(ht&(yr|si))!==Qn)throw new Error("Should not already be working.");var a=e.callbackNode,i=Do();if(i&&e.callbackNode!==a)return null;var o=ds(e,e===ea?Xn:Y);if(o===Y)return null;var s=!hs(e,o)&&!Vh(e,o)&&!t,d=s?tD(e,o):_m(e,o);if(d!==xo){if(d===Bs){var v=Dd(e);v!==Y&&(o=v,d=jS(e,v))}if(d===zp){var g=Fp;throw Ps(e,Y),Uu(e,o),xa(e,rn()),g}if(d===LS)Uu(e,o);else{var C=!hs(e,o),w=e.current.alternate;if(C&&!GT(w)){if(d=_m(e,o),d===Bs){var O=Dd(e);O!==Y&&(o=O,d=jS(e,O))}if(d===zp){var _=Fp;throw Ps(e,Y),Uu(e,o),xa(e,rn()),_}}e.finishedWork=w,e.finishedLanes=o,YT(e,d,o)}}return xa(e,rn()),e.callbackNode===a?uE.bind(null,e):null}function jS(e,t){var a=Vp;if(Dn(e)){var i=Ps(e,t);i.flags|=fn,px(e.containerInfo)}var o=_m(e,t);if(o!==Bs){var s=wa;wa=a,s!==null&&sE(s)}return o}function sE(e){wa===null?wa=e:wa.push.apply(wa,e)}function YT(e,t,a){switch(t){case xo:case zp:throw new Error("Root did not complete. This is a bug in React.");case Bs:{$s(e,wa,Ro);break}case bm:{if(Uu(e,a),jc(a)&&!xE()){var i=zS+aE-rn();if(i>10){var o=ds(e,Y);if(o!==Y)break;var s=e.suspendedLanes;if(!io(s,a)){ta(),Ad(e,s);break}e.timeoutHandle=Hg($s.bind(null,e,wa,Ro),i);break}}$s(e,wa,Ro);break}case Up:{if(Uu(e,a),Hh(a))break;if(!xE()){var d=Fh(e,a),v=d,g=rn()-v,C=dD(g)-g;if(C>10){e.timeoutHandle=Hg($s.bind(null,e,wa,Ro),C);break}}$s(e,wa,Ro);break}case rE:{$s(e,wa,Ro);break}default:throw new Error("Unknown root exit status.")}}function GT(e){for(var t=e;;){if(t.flags&is){var a=t.updateQueue;if(a!==null){var i=a.stores;if(i!==null)for(var o=0;o<i.length;o++){var s=i[o],d=s.getSnapshot,v=s.value;try{if(!xe(d(),v))return!1}catch{return!1}}}}var g=t.child;if(t.subtreeFlags&is&&g!==null){g.return=t,t=g;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 Uu(e,t){t=lu(t,Em),t=lu(t,Hp),Od(e,t)}function cE(e){if(hR(),(ht&(yr|si))!==Qn)throw new Error("Should not already be working.");Do();var t=ds(e,Y);if(!Hr(t,Ie))return xa(e,rn()),null;var a=_m(e,t);if(e.tag!==xu&&a===Bs){var i=Dd(e);i!==Y&&(t=i,a=jS(e,i))}if(a===zp){var o=Fp;throw Ps(e,Y),Uu(e,t),xa(e,rn()),o}if(a===LS)throw new Error("Root did not complete. This is a bug in React.");var s=e.current.alternate;return e.finishedWork=s,e.finishedLanes=t,$s(e,wa,Ro),xa(e,rn()),null}function QT(e,t){t!==Y&&(ou(e,tt(t,Ie)),xa(e,rn()),(ht&(yr|si))===Qn&&(Bp(),Ru()))}function PS(e,t){var a=ht;ht|=nE;try{return e(t)}finally{ht=a,ht===Qn&&!Pi.isBatchingLegacy&&(Bp(),lb())}}function XT(e,t,a,i,o){var s=ma(),d=gr.transition;try{return gr.transition=null,Tn(tr),e(t,a,i,o)}finally{Tn(s),gr.transition=d,ht===Qn&&Bp()}}function To(e){Nu!==null&&Nu.tag===xu&&(ht&(yr|si))===Qn&&Do();var t=ht;ht|=nE;var a=gr.transition,i=ma();try{return gr.transition=null,Tn(tr),e?e():void 0}finally{Tn(i),gr.transition=a,ht=t,(ht&(yr|si))===Qn&&Ru()}}function fE(){return(ht&(yr|si))!==Qn}function km(e,t){Br(NS,Nl,e),Nl=tt(Nl,t)}function $S(e){Nl=NS.current,Vr(NS,e)}function Ps(e,t){e.finishedWork=null,e.finishedLanes=Y;var a=e.timeoutHandle;if(a!==Vg&&(e.timeoutHandle=Vg,ww(a)),yn!==null)for(var i=yn.return;i!==null;){var o=i.alternate;BC(o,i),i=i.return}ea=e;var s=Is(e.current,null);return yn=s,Xn=Nl=t,Kn=xo,Fp=null,Cm=Y,Hp=Y,Em=Y,Vp=null,wa=null,Px(),Ni.discardPendingWarnings(),s}function dE(e,t){do{var a=yn;try{if(Uv(),Pb(),cn(),AS.current=null,a===null||a.return===null){Kn=zp,Fp=t,yn=null;return}if(ot&&a.mode&$e&&hm(a,!0),bt)if(Kl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var i=t;Nh(a,i,Xn)}else Ec(a,t,Xn);SR(e,a.return,a,t,Xn),mE(a)}catch(o){t=o,yn===a&&a!==null?(a=a.return,yn=a):a=yn;continue}return}while(!0)}function pE(){var e=OS.current;return OS.current=sm,e===null?sm:e}function hE(e){OS.current=e}function KT(){zS=rn()}function Ip(e){Cm=tt(e,Cm)}function qT(){Kn===xo&&(Kn=bm)}function IS(){(Kn===xo||Kn===bm||Kn===Bs)&&(Kn=Up),ea!==null&&(ps(Cm)||ps(Hp))&&Uu(ea,Xn)}function ZT(e){Kn!==Up&&(Kn=Bs),Vp===null?Vp=[e]:Vp.push(e)}function JT(){return Kn===xo}function _m(e,t){var a=ht;ht|=yr;var i=pE();if(ea!==e||Xn!==t){if(Pn){var o=e.memoizedUpdaters;o.size>0&&(Wp(e,Xn),o.clear()),Ic(e,t)}Ro=zd(),Ps(e,t)}Ba(t);do try{eD();break}catch(s){dE(e,s)}while(!0);if(Uv(),ht=a,hE(i),yn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return tu(),ea=null,Xn=Y,Kn}function eD(){for(;yn!==null;)vE(yn)}function tD(e,t){var a=ht;ht|=yr;var i=pE();if(ea!==e||Xn!==t){if(Pn){var o=e.memoizedUpdaters;o.size>0&&(Wp(e,Xn),o.clear()),Ic(e,t)}Ro=zd(),Bp(),Ps(e,t)}Ba(t);do try{nD();break}catch(s){dE(e,s)}while(!0);return Uv(),hE(i),ht=a,yn!==null?(us(),xo):(tu(),ea=null,Xn=Y,Kn)}function nD(){for(;yn!==null&&!mc();)vE(yn)}function vE(e){var t=e.alternate;Mt(e);var a;(e.mode&$e)!==je?(iS(e),a=WS(t,e,Nl),hm(e,!0)):a=WS(t,e,Nl),cn(),e.memoizedProps=e.pendingProps,a===null?mE(e):yn=a,AS.current=null}function mE(e){var t=e;do{var a=t.alternate,i=t.return;if((t.flags&Gr)===Fe){Mt(t);var o=void 0;if((t.mode&$e)===je?o=VC(a,t,Nl):(iS(t),o=VC(a,t,Nl),hm(t,!1)),cn(),o!==null){yn=o;return}}else{var s=qR(a,t);if(s!==null){s.flags&=Rh,yn=s;return}if((t.mode&$e)!==je){hm(t,!1);for(var d=t.actualDuration,v=t.child;v!==null;)d+=v.actualDuration,v=v.sibling;t.actualDuration=d}if(i!==null)i.flags|=Gr,i.subtreeFlags=Fe,i.deletions=null;else{Kn=LS,yn=null;return}}var g=t.sibling;if(g!==null){yn=g;return}t=i,yn=t}while(t!==null);Kn===xo&&(Kn=rE)}function $s(e,t,a){var i=ma(),o=gr.transition;try{gr.transition=null,Tn(tr),rD(e,t,a,i)}finally{gr.transition=o,Tn(i)}return null}function rD(e,t,a,i){do Do();while(Nu!==null);if(hD(),(ht&(yr|si))!==Qn)throw new Error("Should not already be working.");var o=e.finishedWork,s=e.finishedLanes;if(Sc(s),o===null)return Ed(),null;if(s===Y&&S("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=Y,o===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=pt;var d=tt(o.lanes,o.childLanes);Ld(e,d),e===ea&&(ea=null,yn=null,Xn=Y),((o.subtreeFlags&da)!==Fe||(o.flags&da)!==Fe)&&(js||(js=!0,HS=a,QS(Ja,function(){return Do(),null})));var v=(o.subtreeFlags&(Zo|Nr|er|da))!==Fe,g=(o.flags&(Zo|Nr|er|da))!==Fe;if(v||g){var C=gr.transition;gr.transition=null;var w=ma();Tn(tr);var O=ht;ht|=si,AS.current=null,nT(e,o),pC(),mT(e,o,s),mw(e.containerInfo),e.current=o,zh(s),gT(o,e,s),eu(),kh(),ht=O,Tn(w),gr.transition=C}else e.current=o,pC();var _=js;if(js?(js=!1,Nu=e,jp=s):(Nf=0,Rm=null),d=e.pendingLanes,d===Y&&(Lf=null),_||bE(e.current,!1),xi(o.stateNode,i),Pn&&e.memoizedUpdaters.clear(),UT(),xa(e,rn()),t!==null)for(var H=e.onRecoverableError,B=0;B<t.length;B++){var I=t[B],Se=I.stack,Ve=I.digest;H(I.value,{componentStack:Se,digest:Ve})}if(wm){wm=!1;var Ae=US;throw US=null,Ae}return Hr(jp,Ie)&&e.tag!==xu&&Do(),d=e.pendingLanes,Hr(d,Ie)?(dR(),e===VS?Pp++:(Pp=0,VS=e)):Pp=0,Ru(),Ed(),null}function Do(){if(Nu!==null){var e=gs(jp),t=sg(Di,e),a=gr.transition,i=ma();try{return gr.transition=null,Tn(t),iD()}finally{Tn(i),gr.transition=a}}return!1}function aD(e){FS.push(e),js||(js=!0,QS(Ja,function(){return Do(),null}))}function iD(){if(Nu===null)return!1;var e=HS;HS=null;var t=Nu,a=jp;if(Nu=null,jp=Y,(ht&(yr|si))!==Qn)throw new Error("Cannot flush passive effects while already rendering.");BS=!0,xm=!1,Uh(a);var i=ht;ht|=si,xT(t.current),bT(t,t.current,a,e);{var o=FS;FS=[];for(var s=0;s<o.length;s++){var d=o[s];lT(t,d)}}os(),bE(t.current,!0),ht=i,Ru(),xm?t===Rm?Nf++:(Nf=0,Rm=t):Nf=0,BS=!1,xm=!1,hl(t);{var v=t.current.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}return!0}function gE(e){return Lf!==null&&Lf.has(e)}function lD(e){Lf===null?Lf=new Set([e]):Lf.add(e)}function oD(e){wm||(wm=!0,US=e)}var uD=oD;function yE(e,t,a){var i=Hs(a,t),o=vC(e,i,Ie),s=Du(e,o,Ie),d=ta();s!==null&&(lo(s,Ie,d),xa(s,d))}function Kt(e,t,a){if(JR(a),Yp(!1),e.tag===X){yE(e,e,a);return}var i=null;for(i=t;i!==null;){if(i.tag===X){yE(i,e,a);return}else if(i.tag===F){var o=i.type,s=i.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!gE(s)){var d=Hs(a,e),v=fS(i,d,Ie),g=Du(i,v,Ie),C=ta();g!==null&&(lo(g,Ie,C),xa(g,C));return}}i=i.return}S(`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.
|
|
417
|
-
|
|
418
|
-
Error message:
|
|
419
|
-
|
|
420
|
-
%s`,a)}function sD(e,t,a){var i=e.pingCache;i!==null&&i.delete(t);var o=ta();Ad(e,a),yD(e),ea===e&&io(Xn,a)&&(Kn===Up||Kn===bm&&jc(Xn)&&rn()-zS<aE?Ps(e,Y):Em=tt(Em,a)),xa(e,o)}function SE(e,t){t===pt&&(t=$T(e));var a=ta(),i=Ca(e,t);i!==null&&(lo(i,t,a),xa(i,a))}function cD(e){var t=e.memoizedState,a=pt;t!==null&&(a=t.retryLane),SE(e,a)}function fD(e,t){var a=pt,i;switch(e.tag){case fe:i=e.stateNode;var o=e.memoizedState;o!==null&&(a=o.retryLane);break;case gt:i=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),SE(e,a)}function dD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:VT(e/1960)*1960}function pD(){if(Pp>jT)throw Pp=0,VS=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Nf>PT&&(Nf=0,Rm=null,S("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function hD(){Ni.flushLegacyContextWarning(),Ni.flushPendingUnsafeLifecycleWarnings()}function bE(e,t){Mt(e),Mm(e,Lr,LT),t&&Mm(e,Xl,NT),Mm(e,Lr,OT),t&&Mm(e,Xl,AT),cn()}function Mm(e,t,a){for(var i=e,o=null;i!==null;){var s=i.subtreeFlags&t;i!==o&&i.child!==null&&s!==Fe?i=i.child:((i.flags&t)!==Fe&&a(i),i.sibling!==null?i=i.sibling:i=o=i.return)}}var Om=null;function CE(e){{if((ht&yr)!==Qn||!(e.mode&it))return;var t=e.tag;if(t!==q&&t!==X&&t!==F&&t!==A&&t!==Te&&t!==Ee&&t!==Le)return;var a=Xe(e)||"ReactComponent";if(Om!==null){if(Om.has(a))return;Om.add(a)}else Om=new Set([a]);var i=nn;try{Mt(e),S("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{i?Mt(e):cn()}}}var WS;{var vD=null;WS=function(e,t,a){var i=_E(vD,t);try{return NC(e,t,a)}catch(s){if(kx()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(Uv(),Pb(),BC(e,t),_E(t,i),t.mode&$e&&iS(t),Ql(null,NC,null,e,t,a),ng()){var o=fd();typeof o=="object"&&o!==null&&o._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var EE=!1,YS;YS=new Set;function mD(e){if(kr&&!sR())switch(e.tag){case A:case Te:case Le:{var t=yn&&Xe(yn)||"Unknown",a=t;if(!YS.has(a)){YS.add(a);var i=Xe(e)||"Unknown";S("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",i,t,t)}break}case F:{EE||(S("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),EE=!0);break}}}function Wp(e,t){if(Pn){var a=e.memoizedUpdaters;a.forEach(function(i){Nd(e,i,t)})}}var GS={};function QS(e,t){{var a=Pi.current;return a!==null?(a.push(t),GS):vc(e,t)}}function wE(e){if(e!==GS)return Dh(e)}function xE(){return Pi.current!==null}function gD(e){{if(e.mode&it){if(!tE())return}else if(!HT()||ht!==Qn||e.tag!==A&&e.tag!==Te&&e.tag!==Le)return;if(Pi.current===null){var t=nn;try{Mt(e),S(`An update to %s inside a test was not wrapped in act(...).
|
|
421
|
-
|
|
422
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
423
|
-
|
|
424
|
-
act(() => {
|
|
425
|
-
/* fire events that update state */
|
|
426
|
-
});
|
|
427
|
-
/* assert on the output */
|
|
428
|
-
|
|
429
|
-
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`,Xe(e))}finally{t?Mt(e):cn()}}}}function yD(e){e.tag!==xu&&tE()&&Pi.current===null&&S(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
430
|
-
|
|
431
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
432
|
-
|
|
433
|
-
act(() => {
|
|
434
|
-
/* finish loading suspended data */
|
|
435
|
-
});
|
|
436
|
-
/* assert on the output */
|
|
437
|
-
|
|
438
|
-
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 Yp(e){oE=e}var ci=null,zf=null,SD=function(e){ci=e};function Uf(e){{if(ci===null)return e;var t=ci(e);return t===void 0?e:t.current}}function XS(e){return Uf(e)}function KS(e){{if(ci===null)return e;var t=ci(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=Uf(e.render);if(e.render!==a){var i={$$typeof:sn,render:a};return e.displayName!==void 0&&(i.displayName=e.displayName),i}}return e}return t.current}}function RE(e,t){{if(ci===null)return!1;var a=e.elementType,i=t.type,o=!1,s=typeof i=="object"&&i!==null?i.$$typeof:null;switch(e.tag){case F:{typeof i=="function"&&(o=!0);break}case A:{(typeof i=="function"||s===Bn)&&(o=!0);break}case Te:{(s===sn||s===Bn)&&(o=!0);break}case Ee:case Le:{(s===Gi||s===Bn)&&(o=!0);break}default:return!1}if(o){var d=ci(a);if(d!==void 0&&d===ci(i))return!0}return!1}}function TE(e){{if(ci===null||typeof WeakSet!="function")return;zf===null&&(zf=new WeakSet),zf.add(e)}}var bD=function(e,t){{if(ci===null)return;var a=t.staleFamilies,i=t.updatedFamilies;Do(),To(function(){qS(e.current,i,a)})}},CD=function(e,t){{if(e.context!==Pa)return;Do(),To(function(){Gp(t,e,null,null)})}};function qS(e,t,a){{var i=e.alternate,o=e.child,s=e.sibling,d=e.tag,v=e.type,g=null;switch(d){case A:case Le:case F:g=v;break;case Te:g=v.render;break}if(ci===null)throw new Error("Expected resolveFamily to be set during hot reload.");var C=!1,w=!1;if(g!==null){var O=ci(g);O!==void 0&&(a.has(O)?w=!0:t.has(O)&&(d===F?w=!0:C=!0))}if(zf!==null&&(zf.has(e)||i!==null&&zf.has(i))&&(w=!0),w&&(e._debugNeedsRemount=!0),w||C){var _=Ca(e,Ie);_!==null&&qn(_,e,Ie,jt)}o!==null&&!w&&qS(o,t,a),s!==null&&qS(s,t,a)}}var ED=function(e,t){{var a=new Set,i=new Set(t.map(function(o){return o.current}));return ZS(e.current,i,a),a}};function ZS(e,t,a){{var i=e.child,o=e.sibling,s=e.tag,d=e.type,v=null;switch(s){case A:case Le:case F:v=d;break;case Te:v=d.render;break}var g=!1;v!==null&&t.has(v)&&(g=!0),g?wD(e,a):i!==null&&ZS(i,t,a),o!==null&&ZS(o,t,a)}}function wD(e,t){{var a=xD(e,t);if(a)return;for(var i=e;;){switch(i.tag){case te:t.add(i.stateNode);return;case J:t.add(i.stateNode.containerInfo);return;case X:t.add(i.stateNode.containerInfo);return}if(i.return===null)throw new Error("Expected to reach root first.");i=i.return}}}function xD(e,t){for(var a=e,i=!1;;){if(a.tag===te)i=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return i;for(;a.sibling===null;){if(a.return===null||a.return===e)return i;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var JS;{JS=!1;try{var DE=Object.preventExtensions({})}catch{JS=!0}}function RD(e,t,a,i){this.tag=e,this.key=a,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=i,this.flags=Fe,this.subtreeFlags=Fe,this.deletions=null,this.lanes=Y,this.childLanes=Y,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,!JS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var $a=function(e,t,a,i){return new RD(e,t,a,i)};function e0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function TD(e){return typeof e=="function"&&!e0(e)&&e.defaultProps===void 0}function DD(e){if(typeof e=="function")return e0(e)?F:A;if(e!=null){var t=e.$$typeof;if(t===sn)return Te;if(t===Gi)return Ee}return q}function Is(e,t){var a=e.alternate;a===null?(a=$a(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=Fe,a.subtreeFlags=Fe,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&jn,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var i=e.dependencies;switch(a.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case q:case A:case Le:a.type=Uf(e.type);break;case F:a.type=XS(e.type);break;case Te:a.type=KS(e.type);break}return a}function kD(e,t){e.flags&=jn|Yt;var a=e.alternate;if(a===null)e.childLanes=Y,e.lanes=t,e.child=null,e.subtreeFlags=Fe,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=Fe,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var i=a.dependencies;e.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function _D(e,t,a){var i;return e===kv?(i=it,t===!0&&(i|=an,i|=ha)):i=je,Pn&&(i|=$e),$a(X,null,null,i)}function t0(e,t,a,i,o,s){var d=q,v=e;if(typeof e=="function")e0(e)?(d=F,v=XS(v)):v=Uf(v);else if(typeof e=="string")d=te;else e:switch(e){case Aa:return Fu(a.children,o,s,t);case Wi:d=ce,o|=an,(o&it)!==je&&(o|=ha);break;case Yi:return MD(a,o,s,t);case ia:return OD(a,o,s,t);case Hl:return AD(a,o,s,t);case Bu:return kE(a,o,s,t);case Ks:case Qs:case Vf:case Bf:case Xs:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Lo:d=Ze;break e;case Vu:d=ke;break e;case sn:d=Te,v=KS(v);break e;case Gi:d=Ee;break e;case Bn:d=lt,v=null;break e}var g="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" 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 C=i?Xe(i):null;C&&(g+=`
|
|
439
|
-
|
|
440
|
-
Check the render method of \``+C+"`.")}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)+"."+g))}}var w=$a(d,a,t,o);return w.elementType=e,w.type=v,w.lanes=s,w._debugOwner=i,w}function n0(e,t,a){var i=null;i=e._owner;var o=e.type,s=e.key,d=e.props,v=t0(o,s,d,i,t,a);return v._debugSource=e._source,v._debugOwner=e._owner,v}function Fu(e,t,a,i){var o=$a(ge,e,i,t);return o.lanes=a,o}function MD(e,t,a,i){typeof e.id!="string"&&S('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=$a(He,e,i,t|$e);return o.elementType=Yi,o.lanes=a,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function OD(e,t,a,i){var o=$a(fe,e,i,t);return o.elementType=ia,o.lanes=a,o}function AD(e,t,a,i){var o=$a(gt,e,i,t);return o.elementType=Hl,o.lanes=a,o}function kE(e,t,a,i){var o=$a(_e,e,i,t);o.elementType=Bu,o.lanes=a;var s={isHidden:!1};return o.stateNode=s,o}function r0(e,t,a){var i=$a(oe,e,null,t);return i.lanes=a,i}function LD(){var e=$a(te,null,null,je);return e.elementType="DELETED",e}function ND(e){var t=$a(Dt,null,null,je);return t.stateNode=e,t}function a0(e,t,a){var i=e.children!==null?e.children:[],o=$a(J,i,e.key,t);return o.lanes=a,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function _E(e,t){return e===null&&(e=$a(q,null,null,je)),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 zD(e,t,a,i,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Vg,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=pt,this.eventTimes=$c(Y),this.expirationTimes=$c(jt),this.pendingLanes=Y,this.suspendedLanes=Y,this.pingedLanes=Y,this.expiredLanes=Y,this.mutableReadLanes=Y,this.finishedLanes=Y,this.entangledLanes=Y,this.entanglements=$c(Y),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var s=this.pendingUpdatersLaneMap=[],d=0;d<Qt;d++)s.push(new Set)}switch(t){case kv:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case xu:this._debugRootType=a?"hydrate()":"render()";break}}function ME(e,t,a,i,o,s,d,v,g,C){var w=new zD(e,t,a,v,g),O=_D(t,s);w.current=O,O.stateNode=w;{var _={element:i,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};O.memoizedState=_}return dy(O),w}var i0="18.2.0";function UD(e,t,a){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return di(i),{$$typeof:Yr,key:i==null?null:""+i,children:e,containerInfo:t,implementation:a}}var l0,o0;l0=!1,o0={};function OE(e){if(!e)return Pa;var t=sa(e),a=Sx(t);if(t.tag===F){var i=t.type;if(Dl(i))return rb(t,i,a)}return a}function FD(e,t){{var a=sa(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var i=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+i)}var o=pa(a);if(o===null)return null;if(o.mode&an){var s=Xe(a)||"Component";if(!o0[s]){o0[s]=!0;var d=nn;try{Mt(o),a.mode&an?S("%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,s):S("%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,s)}finally{d?Mt(d):cn()}}}return o.stateNode}}function AE(e,t,a,i,o,s,d,v){var g=!1,C=null;return ME(e,t,g,C,a,i,o,s,d)}function LE(e,t,a,i,o,s,d,v,g,C){var w=!0,O=ME(a,i,w,e,o,s,d,v,g);O.context=OE(null);var _=O.current,H=ta(),B=zu(_),I=Eo(H,B);return I.callback=t??null,Du(_,I,B),IT(O,B,H),O}function Gp(e,t,a,i){_h(t,e);var o=t.current,s=ta(),d=zu(o);ql(d);var v=OE(a);t.context===null?t.context=v:t.pendingContext=v,kr&&nn!==null&&!l0&&(l0=!0,S(`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.
|
|
441
|
-
|
|
442
|
-
Check the render method of %s.`,Xe(nn)||"Unknown"));var g=Eo(s,d);g.payload={element:e},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&S("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i),g.callback=i);var C=Du(o,g,d);return C!==null&&(qn(C,o,d,s),jv(C,o,d)),d}function Am(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case te:return t.child.stateNode;default:return t.child.stateNode}}function HD(e){switch(e.tag){case X:{var t=e.stateNode;if(Dn(t)){var a=ig(t);QT(t,a)}break}case fe:{To(function(){var o=Ca(e,Ie);if(o!==null){var s=ta();qn(o,e,Ie,s)}});var i=Ie;u0(e,i);break}}}function NE(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=jh(a.retryLane,t))}function u0(e,t){NE(e,t);var a=e.alternate;a&&NE(a,t)}function VD(e){if(e.tag===fe){var t=nu,a=Ca(e,t);if(a!==null){var i=ta();qn(a,e,t,i)}u0(e,t)}}function BD(e){if(e.tag===fe){var t=zu(e),a=Ca(e,t);if(a!==null){var i=ta();qn(a,e,t,i)}u0(e,t)}}function zE(e){var t=Th(e);return t===null?null:t.stateNode}var UE=function(e){return null};function jD(e){return UE(e)}var FE=function(e){return!1};function PD(e){return FE(e)}var HE=null,VE=null,BE=null,jE=null,PE=null,$E=null,IE=null,WE=null,YE=null;{var GE=function(e,t,a){var i=t[a],o=ft(e)?e.slice():rt({},e);return a+1===t.length?(ft(o)?o.splice(i,1):delete o[i],o):(o[i]=GE(e[i],t,a+1),o)},QE=function(e,t){return GE(e,t,0)},XE=function(e,t,a,i){var o=t[i],s=ft(e)?e.slice():rt({},e);if(i+1===t.length){var d=a[i];s[d]=s[o],ft(s)?s.splice(o,1):delete s[o]}else s[o]=XE(e[o],t,a,i+1);return s},KE=function(e,t,a){if(t.length!==a.length){x("copyWithRename() expects paths of the same length");return}else for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){x("copyWithRename() expects paths to be the same except for the deepest key");return}return XE(e,t,a,0)},qE=function(e,t,a,i){if(a>=t.length)return i;var o=t[a],s=ft(e)?e.slice():rt({},e);return s[o]=qE(e[o],t,a+1,i),s},ZE=function(e,t,a){return qE(e,t,0,a)},s0=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};HE=function(e,t,a,i){var o=s0(e,t);if(o!==null){var s=ZE(o.memoizedState,a,i);o.memoizedState=s,o.baseState=s,e.memoizedProps=rt({},e.memoizedProps);var d=Ca(e,Ie);d!==null&&qn(d,e,Ie,jt)}},VE=function(e,t,a){var i=s0(e,t);if(i!==null){var o=QE(i.memoizedState,a);i.memoizedState=o,i.baseState=o,e.memoizedProps=rt({},e.memoizedProps);var s=Ca(e,Ie);s!==null&&qn(s,e,Ie,jt)}},BE=function(e,t,a,i){var o=s0(e,t);if(o!==null){var s=KE(o.memoizedState,a,i);o.memoizedState=s,o.baseState=s,e.memoizedProps=rt({},e.memoizedProps);var d=Ca(e,Ie);d!==null&&qn(d,e,Ie,jt)}},jE=function(e,t,a){e.pendingProps=ZE(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ca(e,Ie);i!==null&&qn(i,e,Ie,jt)},PE=function(e,t){e.pendingProps=QE(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ca(e,Ie);a!==null&&qn(a,e,Ie,jt)},$E=function(e,t,a){e.pendingProps=KE(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ca(e,Ie);i!==null&&qn(i,e,Ie,jt)},IE=function(e){var t=Ca(e,Ie);t!==null&&qn(t,e,Ie,jt)},WE=function(e){UE=e},YE=function(e){FE=e}}function $D(e){var t=pa(e);return t===null?null:t.stateNode}function ID(e){return null}function WD(){return nn}function YD(e){var t=e.findFiberByHostInstance,a=p.ReactCurrentDispatcher;return bd({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:HE,overrideHookStateDeletePath:VE,overrideHookStateRenamePath:BE,overrideProps:jE,overridePropsDeletePath:PE,overridePropsRenamePath:$E,setErrorHandler:WE,setSuspenseHandler:YE,scheduleUpdate:IE,currentDispatcherRef:a,findHostInstanceByFiber:$D,findFiberByHostInstance:t||ID,findHostInstancesForRefresh:ED,scheduleRefresh:bD,scheduleRoot:CD,setRefreshHandler:SD,getCurrentFiber:WD,reconcilerVersion:i0})}var JE=typeof reportError=="function"?reportError:function(e){console.error(e)};function c0(e){this._internalRoot=e}Lm.prototype.render=c0.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?S("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Nm(arguments[1])?S("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"&&S("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==Sn){var i=zE(t.current);i&&i.parentNode!==a&&S("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.")}}Gp(e,t,null,null)},Lm.prototype.unmount=c0.prototype.unmount=function(){typeof arguments[0]=="function"&&S("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;fE()&&S("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."),To(function(){Gp(null,e,null,null)}),Z0(t)}};function GD(e,t){if(!Nm(e))throw new Error("createRoot(...): Target container is not a DOM element.");e1(e);var a=!1,i=!1,o="",s=JE;t!=null&&(t.hydrate?x("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ii&&S(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
443
|
-
|
|
444
|
-
let root = createRoot(domContainer);
|
|
445
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=AE(e,kv,null,a,i,o,s);Cv(d.current,e);var v=e.nodeType===Sn?e.parentNode:e;return tp(v),new c0(d)}function Lm(e){this._internalRoot=e}function QD(e){e&&Xh(e)}Lm.prototype.unstable_scheduleHydration=QD;function XD(e,t,a){if(!Nm(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");e1(e),t===void 0&&S("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=a??null,o=a!=null&&a.hydratedSources||null,s=!1,d=!1,v="",g=JE;a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(v=a.identifierPrefix),a.onRecoverableError!==void 0&&(g=a.onRecoverableError));var C=LE(t,null,e,kv,i,s,d,v,g);if(Cv(C.current,e),tp(e),o)for(var w=0;w<o.length;w++){var O=o[w];rR(C,O)}return new Lm(C)}function Nm(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Fa||e.nodeType===Pl||!ye))}function Qp(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Fa||e.nodeType===Pl||e.nodeType===Sn&&e.nodeValue===" react-mount-point-unstable "))}function e1(e){e.nodeType===Mr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&S("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."),dp(e)&&(e._reactRootContainer?S("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):S("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 KD=p.ReactCurrentOwner,t1;t1=function(e){if(e._reactRootContainer&&e.nodeType!==Sn){var t=zE(e._reactRootContainer.current);t&&t.parentNode!==e&&S("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 a=!!e._reactRootContainer,i=f0(e),o=!!(i&&Eu(i));o&&!a&&S("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===Mr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&S("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 f0(e){return e?e.nodeType===Fa?e.documentElement:e.firstChild:null}function n1(){}function qD(e,t,a,i,o){if(o){if(typeof i=="function"){var s=i;i=function(){var _=Am(d);s.call(_)}}var d=LE(t,i,e,xu,null,!1,!1,"",n1);e._reactRootContainer=d,Cv(d.current,e);var v=e.nodeType===Sn?e.parentNode:e;return tp(v),To(),d}else{for(var g;g=e.lastChild;)e.removeChild(g);if(typeof i=="function"){var C=i;i=function(){var _=Am(w);C.call(_)}}var w=AE(e,xu,null,!1,!1,"",n1);e._reactRootContainer=w,Cv(w.current,e);var O=e.nodeType===Sn?e.parentNode:e;return tp(O),To(function(){Gp(t,w,a,i)}),w}}function ZD(e,t){e!==null&&typeof e!="function"&&S("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function zm(e,t,a,i,o){t1(a),ZD(o===void 0?null:o,"render");var s=a._reactRootContainer,d;if(!s)d=qD(a,t,e,o,i);else{if(d=s,typeof o=="function"){var v=o;o=function(){var g=Am(d);v.call(g)}}Gp(t,d,e,o)}return Am(d)}function JD(e){{var t=KD.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||S("%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.",yt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Mr?e:FD(e,"findDOMNode")}function ek(e,t,a){if(S("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"),!Qp(t))throw new Error("Target container is not a DOM element.");{var i=dp(t)&&t._reactRootContainer===void 0;i&&S("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 zm(null,e,t,!0,a)}function tk(e,t,a){if(S("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"),!Qp(t))throw new Error("Target container is not a DOM element.");{var i=dp(t)&&t._reactRootContainer===void 0;i&&S("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 zm(null,e,t,!1,a)}function nk(e,t,a,i){if(S("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"),!Qp(a))throw new Error("Target container is not a DOM element.");if(e==null||!as(e))throw new Error("parentComponent must be a valid React Component");return zm(e,t,a,!1,i)}function rk(e){if(!Qp(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=dp(e)&&e._reactRootContainer===void 0;t&&S("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 a=f0(e),i=a&&!Eu(a);i&&S("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return To(function(){zm(null,null,e,!1,function(){e._reactRootContainer=null,Z0(e)})}),!0}else{{var o=f0(e),s=!!(o&&Eu(o)),d=e.nodeType===Mr&&Qp(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&S("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",d?"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}}Ce(HD),$h(VD),Ss(BD),Fd(ma),Wh(ms),(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")&&S("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"),wh(lw),cc(PS,XT,To);function ak(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Nm(t))throw new Error("Target container is not a DOM element.");return UD(e,t,null,a)}function ik(e,t,a,i){return nk(e,t,a,i)}var d0={usingClientEntryPoint:!1,Events:[Eu,pf,Ev,sc,ts,PS]};function lk(e,t){return d0.usingClientEntryPoint||S('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),GD(e,t)}function ok(e,t,a){return d0.usingClientEntryPoint||S('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),XD(e,t,a)}function uk(e){return fE()&&S("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."),To(e)}var sk=YD({findFiberByHostInstance:_s,bundleType:1,version:i0,rendererPackageName:"react-dom"});if(!sk&&hn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var r1=window.location.protocol;/^(https?|file):$/.test(r1)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(r1==="file:"?`
|
|
446
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Ra.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d0,Ra.createPortal=ak,Ra.createRoot=lk,Ra.findDOMNode=JD,Ra.flushSync=uk,Ra.hydrate=ek,Ra.hydrateRoot=ok,Ra.render=tk,Ra.unmountComponentAtNode=rk,Ra.unstable_batchedUpdates=PS,Ra.unstable_renderSubtreeIntoContainer=ik,Ra.version=i0,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ra}var Ta={};/**
|
|
447
|
-
* @license React
|
|
448
|
-
* react-dom.production.min.js
|
|
449
|
-
*
|
|
450
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
451
|
-
*
|
|
452
|
-
* This source code is licensed under the MIT license found in the
|
|
453
|
-
* LICENSE file in the root directory of this source tree.
|
|
454
|
-
*/var m1;function Wk(){if(m1)return Ta;m1=1;var G=w1(),c=x1();function p(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m=new Set,E={};function x(n,r){S(n,r),S(n+"Capture",r)}function S(n,r){for(E[n]=r,n=0;n<r.length;n++)m.add(r[n])}var P=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A=Object.prototype.hasOwnProperty,F=/^[: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]*$/,q={},X={};function J(n){return A.call(X,n)?!0:A.call(q,n)?!1:F.test(n)?X[n]=!0:(q[n]=!0,!1)}function te(n,r,l,u){if(l!==null&&l.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return u?!1:l!==null?!l.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function oe(n,r,l,u){if(r===null||typeof r>"u"||te(n,r,l,u))return!0;if(u)return!1;if(l!==null)switch(l.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function ge(n,r,l,u,f,h,b){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=f,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=h,this.removeEmptyString=b}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){ce[n]=new ge(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];ce[r]=new ge(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){ce[n]=new ge(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){ce[n]=new ge(n,2,!1,n,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(n){ce[n]=new ge(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){ce[n]=new ge(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){ce[n]=new ge(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){ce[n]=new ge(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){ce[n]=new ge(n,5,!1,n.toLowerCase(),null,!1,!1)});var ke=/[\-:]([a-z])/g;function Ze(n){return n[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(n){var r=n.replace(ke,Ze);ce[r]=new ge(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(ke,Ze);ce[r]=new ge(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(ke,Ze);ce[r]=new ge(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){ce[n]=new ge(n,1,!1,n.toLowerCase(),null,!1,!1)}),ce.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){ce[n]=new ge(n,1,!1,n.toLowerCase(),null,!0,!0)});function Te(n,r,l,u){var f=ce.hasOwnProperty(r)?ce[r]:null;(f!==null?f.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(oe(r,l,f,u)&&(l=null),u||f===null?J(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):f.mustUseProperty?n[f.propertyName]=l===null?f.type===3?!1:"":l:(r=f.attributeName,u=f.attributeNamespace,l===null?n.removeAttribute(r):(f=f.type,l=f===3||f===4&&l===!0?"":""+l,u?n.setAttributeNS(u,r,l):n.setAttribute(r,l))))}var He=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fe=Symbol.for("react.element"),Ee=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),lt=Symbol.for("react.strict_mode"),Tt=Symbol.for("react.profiler"),Dt=Symbol.for("react.provider"),gt=Symbol.for("react.context"),un=Symbol.for("react.forward_ref"),_e=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),qt=Symbol.for("react.memo"),kt=Symbol.for("react.lazy"),Me=Symbol.for("react.offscreen"),le=Symbol.iterator;function ze(n){return n===null||typeof n!="object"?null:(n=le&&n[le]||n["@@iterator"],typeof n=="function"?n:null)}var D=Object.assign,K;function ye(n){if(K===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);K=r&&r[1]||""}return`
|
|
455
|
-
`+K+n}var Je=!1;function Ye(n,r){if(!n||Je)return"";Je=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(j){var u=j}Reflect.construct(n,[],r)}else{try{r.call()}catch(j){u=j}n.call(r.prototype)}else{try{throw Error()}catch(j){u=j}n()}}catch(j){if(j&&u&&typeof j.stack=="string"){for(var f=j.stack.split(`
|
|
456
|
-
`),h=u.stack.split(`
|
|
457
|
-
`),b=f.length-1,R=h.length-1;1<=b&&0<=R&&f[b]!==h[R];)R--;for(;1<=b&&0<=R;b--,R--)if(f[b]!==h[R]){if(b!==1||R!==1)do if(b--,R--,0>R||f[b]!==h[R]){var k=`
|
|
458
|
-
`+f[b].replace(" at new "," at ");return n.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",n.displayName)),k}while(1<=b&&0<=R);break}}}finally{Je=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?ye(n):""}function bt(n){switch(n.tag){case 5:return ye(n.type);case 16:return ye("Lazy");case 13:return ye("Suspense");case 19:return ye("SuspenseList");case 0:case 2:case 15:return n=Ye(n.type,!1),n;case 11:return n=Ye(n.type.render,!1),n;case 1:return n=Ye(n.type,!0),n;default:return""}}function ot(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Le:return"Fragment";case Ee:return"Portal";case Tt:return"Profiler";case lt:return"StrictMode";case _e:return"Suspense";case dt:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case gt:return(n.displayName||"Context")+".Consumer";case Dt:return(n._context.displayName||"Context")+".Provider";case un:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case qt:return r=n.displayName||null,r!==null?r:ot(n.type)||"Memo";case kt:r=n._payload,n=n._init;try{return ot(n(r))}catch{}}return null}function Ct(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ot(r);case 8:return r===lt?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function ct(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Pt(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function fi(n){var r=Pt(n)?"checked":"value",l=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),u=""+n[r];if(!n.hasOwnProperty(r)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,h=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return f.call(this)},set:function(b){u=""+b,h.call(this,b)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(b){u=""+b},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function br(n){n._valueTracker||(n._valueTracker=fi(n))}function Da(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return n&&(u=Pt(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function hn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Zn(n,r){var l=r.checked;return D({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Cr(n,r){var l=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;l=ct(r.value!=null?r.value:l),n._wrapperState={initialChecked:u,initialValue:l,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Er(n,r){r=r.checked,r!=null&&Te(n,"checked",r,!1)}function Mn(n,r){Er(n,r);var l=ct(r.value),u=r.type;if(l!=null)u==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+l):n.value!==""+l&&(n.value=""+l);else if(u==="submit"||u==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?di(n,r.type,l):r.hasOwnProperty("defaultValue")&&di(n,r.type,ct(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function ka(n,r,l){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var u=r.type;if(!(u!=="submit"&&u!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,l||r===n.value||(n.value=r),n.defaultValue=r}l=n.name,l!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,l!==""&&(n.name=l)}function di(n,r,l){(r!=="number"||hn(n.ownerDocument)!==n)&&(l==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+l&&(n.defaultValue=""+l))}var Jn=Array.isArray;function wr(n,r,l,u){if(n=n.options,r){r={};for(var f=0;f<l.length;f++)r["$"+l[f]]=!0;for(l=0;l<n.length;l++)f=r.hasOwnProperty("$"+n[l].value),n[l].selected!==f&&(n[l].selected=f),f&&u&&(n[l].defaultSelected=!0)}else{for(l=""+ct(l),r=null,f=0;f<n.length;f++){if(n[f].value===l){n[f].selected=!0,u&&(n[f].defaultSelected=!0);return}r!==null||n[f].disabled||(r=n[f])}r!==null&&(r.selected=!0)}}function Wa(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(p(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function xr(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(p(92));if(Jn(l)){if(1<l.length)throw Error(p(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:ct(l)}}function _a(n,r){var l=ct(r.value),u=ct(r.defaultValue);l!=null&&(l=""+l,l!==n.value&&(n.value=l),r.defaultValue==null&&n.defaultValue!==l&&(n.defaultValue=l)),u!=null&&(n.defaultValue=""+u)}function Rr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Ma(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Vn(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Ma(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Wr,Ul=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,u,f){MSApp.execUnsafeLocalFunction(function(){return n(r,l,u,f)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Wr=Wr||document.createElement("div"),Wr.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Wr.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Ya(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var de={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},Ue=["Webkit","ms","Moz","O"];Object.keys(de).forEach(function(n){Ue.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),de[r]=de[n]})});function nt(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||de.hasOwnProperty(n)&&de[n]?(""+r).trim():r+"px"}function Lt(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,f=nt(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,f):n[l]=f}}var zt=D({menuitem:!0},{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});function wn(n,r){if(r){if(zt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(p(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(p(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(p(61))}if(r.style!=null&&typeof r.style!="object")throw Error(p(62))}}function vn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){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 Tr=null;function Wt(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var aa=null,tn=null,$t=null;function Fl(n){if(n=as(n)){if(typeof aa!="function")throw Error(p(280));var r=n.stateNode;r&&(r=Fe(r),aa(n.stateNode,n.type,r))}}function pi(n){tn?$t?$t.push(n):$t=[n]:tn=n}function Oo(){if(tn){var n=tn,r=$t;if($t=tn=null,Fl(n),r)for(n=0;n<r.length;n++)Fl(r[n])}}function Ys(n,r){return n(r)}function Gs(){}var Ao=!1;function Hu(n,r,l){if(Ao)return n(r,l);Ao=!0;try{return Ys(n,r,l)}finally{Ao=!1,(tn!==null||$t!==null)&&(Gs(),Oo())}}function Oa(n,r){var l=n.stateNode;if(l===null)return null;var u=Fe(l);if(u===null)return null;l=u[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(n=n.type,u=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!u;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(p(231,r,typeof l));return l}var $i=!1;if(P)try{var Ga={};Object.defineProperty(Ga,"passive",{get:function(){$i=!0}}),window.addEventListener("test",Ga,Ga),window.removeEventListener("test",Ga,Ga)}catch{$i=!1}function Ii(n,r,l,u,f,h,b,R,k){var j=Array.prototype.slice.call(arguments,3);try{r.apply(l,j)}catch(ee){this.onError(ee)}}var Yr=!1,Aa=null,Wi=!1,Yi=null,Lo={onError:function(n){Yr=!0,Aa=n}};function Vu(n,r,l,u,f,h,b,R,k){Yr=!1,Aa=null,Ii.apply(Lo,arguments)}function sn(n,r,l,u,f,h,b,R,k){if(Vu.apply(this,arguments),Yr){if(Yr){var j=Aa;Yr=!1,Aa=null}else throw Error(p(198));Wi||(Wi=!0,Yi=j)}}function ia(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function Hl(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function Gi(n){if(ia(n)!==n)throw Error(p(188))}function Bn(n){var r=n.alternate;if(!r){if(r=ia(n),r===null)throw Error(p(188));return r!==n?null:n}for(var l=n,u=r;;){var f=l.return;if(f===null)break;var h=f.alternate;if(h===null){if(u=f.return,u!==null){l=u;continue}break}if(f.child===h.child){for(h=f.child;h;){if(h===l)return Gi(f),n;if(h===u)return Gi(f),r;h=h.sibling}throw Error(p(188))}if(l.return!==u.return)l=f,u=h;else{for(var b=!1,R=f.child;R;){if(R===l){b=!0,l=f,u=h;break}if(R===u){b=!0,u=f,l=h;break}R=R.sibling}if(!b){for(R=h.child;R;){if(R===l){b=!0,l=h,u=f;break}if(R===u){b=!0,u=h,l=f;break}R=R.sibling}if(!b)throw Error(p(189))}}if(l.alternate!==u)throw Error(p(190))}if(l.tag!==3)throw Error(p(188));return l.stateNode.current===l?n:r}function Qs(n){return n=Bn(n),n!==null?Xs(n):null}function Xs(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Xs(n);if(r!==null)return r;n=n.sibling}return null}var Bu=c.unstable_scheduleCallback,Ks=c.unstable_cancelCallback,Vf=c.unstable_shouldYield,Bf=c.unstable_requestPaint,Zt=c.unstable_now,jf=c.unstable_getCurrentPriorityLevel,La=c.unstable_ImmediatePriority,rt=c.unstable_UserBlockingPriority,Qa=c.unstable_NormalPriority,Qi=c.unstable_LowPriority,No=c.unstable_IdlePriority,Xi=null,Dr=null;function ju(n){if(Dr&&typeof Dr.onCommitFiberRoot=="function")try{Dr.onCommitFiberRoot(Xi,n,void 0,(n.current.flags&128)===128)}catch{}}var or=Math.clz32?Math.clz32:qs,Pu=Math.log,$u=Math.LN2;function qs(n){return n>>>=0,n===0?32:31-(Pu(n)/$u|0)|0}var zo=64,Ki=4194304;function Na(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function ur(n,r){var l=n.pendingLanes;if(l===0)return 0;var u=0,f=n.suspendedLanes,h=n.pingedLanes,b=l&268435455;if(b!==0){var R=b&~f;R!==0?u=Na(R):(h&=b,h!==0&&(u=Na(h)))}else b=l&~f,b!==0?u=Na(b):h!==0&&(u=Na(h));if(u===0)return 0;if(r!==0&&r!==u&&!(r&f)&&(f=u&-u,h=r&-r,f>=h||f===16&&(h&4194240)!==0))return r;if(u&4&&(u|=l&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=u;0<r;)l=31-or(r),f=1<<l,u|=n[l],r&=~f;return u}function qi(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zi(n,r){for(var l=n.suspendedLanes,u=n.pingedLanes,f=n.expirationTimes,h=n.pendingLanes;0<h;){var b=31-or(h),R=1<<b,k=f[b];k===-1?(!(R&l)||R&u)&&(f[b]=qi(R,r)):k<=r&&(n.expiredLanes|=R),h&=~R}}function Ji(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Uo(){var n=zo;return zo<<=1,!(zo&4194240)&&(zo=64),n}function Fo(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function hi(n,r,l){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-or(r),n[r]=l}function Pf(n,r){var l=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var u=n.eventTimes;for(n=n.expirationTimes;0<l;){var f=31-or(l),h=1<<f;r[f]=0,u[f]=-1,n[f]=-1,l&=~h}}function Xa(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var u=31-or(l),f=1<<u;f&r|n[u]&r&&(n[u]|=r),l&=~f}}var wt=0;function Ho(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Vl,Vo,yt,Bo,jo,Xe=!1,Bl=[],nn=null,kr=null,sr=null,el=new Map,cn=new Map,Mt=[],Zs="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".split(" ");function _r(n,r){switch(n){case"focusin":case"focusout":nn=null;break;case"dragenter":case"dragleave":kr=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":el.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":cn.delete(r.pointerId)}}function On(n,r,l,u,f,h){return n===null||n.nativeEvent!==h?(n={blockedOn:r,domEventName:l,eventSystemFlags:u,nativeEvent:h,targetContainers:[f]},r!==null&&(r=as(r),r!==null&&Vo(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),n)}function Ka(n,r,l,u,f){switch(r){case"focusin":return nn=On(nn,n,r,l,u,f),!0;case"dragenter":return kr=On(kr,n,r,l,u,f),!0;case"mouseover":return sr=On(sr,n,r,l,u,f),!0;case"pointerover":var h=f.pointerId;return el.set(h,On(el.get(h)||null,n,r,l,u,f)),!0;case"gotpointercapture":return h=f.pointerId,cn.set(h,On(cn.get(h)||null,n,r,l,u,f)),!0}return!1}function Js(n){var r=sa(n.target);if(r!==null){var l=ia(r);if(l!==null){if(r=l.tag,r===13){if(r=Hl(l),r!==null){n.blockedOn=r,jo(n.priority,function(){yt(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function vi(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=$o(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(l===null){l=n.nativeEvent;var u=new l.constructor(l.type,l);Tr=u,l.target.dispatchEvent(u),Tr=null}else return r=as(l),r!==null&&Vo(r),n.blockedOn=l,!1;r.shift()}return!0}function tl(n,r,l){vi(n)&&l.delete(r)}function ec(){Xe=!1,nn!==null&&vi(nn)&&(nn=null),kr!==null&&vi(kr)&&(kr=null),sr!==null&&vi(sr)&&(sr=null),el.forEach(tl),cn.forEach(tl)}function la(n,r){n.blockedOn===r&&(n.blockedOn=null,Xe||(Xe=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,ec)))}function nl(n){function r(f){return la(f,n)}if(0<Bl.length){la(Bl[0],n);for(var l=1;l<Bl.length;l++){var u=Bl[l];u.blockedOn===n&&(u.blockedOn=null)}}for(nn!==null&&la(nn,n),kr!==null&&la(kr,n),sr!==null&&la(sr,n),el.forEach(r),cn.forEach(r),l=0;l<Mt.length;l++)u=Mt[l],u.blockedOn===n&&(u.blockedOn=null);for(;0<Mt.length&&(l=Mt[0],l.blockedOn===null);)Js(l),l.blockedOn===null&&Mt.shift()}var rl=He.ReactCurrentBatchConfig,oa=!0;function Po(n,r,l,u){var f=wt,h=rl.transition;rl.transition=null;try{wt=1,il(n,r,l,u)}finally{wt=f,rl.transition=h}}function al(n,r,l,u){var f=wt,h=rl.transition;rl.transition=null;try{wt=4,il(n,r,l,u)}finally{wt=f,rl.transition=h}}function il(n,r,l,u){if(oa){var f=$o(n,r,l,u);if(f===null)sc(n,r,u,jl,l),_r(n,u);else if(Ka(f,n,r,l,u))u.stopPropagation();else if(_r(n,u),r&4&&-1<Zs.indexOf(n)){for(;f!==null;){var h=as(f);if(h!==null&&Vl(h),h=$o(n,r,l,u),h===null&&sc(n,r,u,jl,l),h===f)break;f=h}f!==null&&u.stopPropagation()}else sc(n,r,u,null,l)}}var jl=null;function $o(n,r,l,u){if(jl=null,n=Wt(u),n=sa(n),n!==null)if(r=ia(n),r===null)n=null;else if(l=r.tag,l===13){if(n=Hl(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return jl=n,null}function Iu(n){switch(n){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 1;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 4;case"message":switch(jf()){case La:return 1;case rt:return 4;case Qa:case Qi:return 16;case No:return 536870912;default:return 16}default:return 16}}var za=null,y=null,T=null;function V(){if(T)return T;var n,r=y,l=r.length,u,f="value"in za?za.value:za.textContent,h=f.length;for(n=0;n<l&&r[n]===f[n];n++);var b=l-n;for(u=1;u<=b&&r[l-u]===f[h-u];u++);return T=f.slice(n,1<u?1-u:void 0)}function $(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function ae(){return!0}function Pe(){return!1}function pe(n){function r(l,u,f,h,b){this._reactName=l,this._targetInst=f,this.type=u,this.nativeEvent=h,this.target=b,this.currentTarget=null;for(var R in n)n.hasOwnProperty(R)&&(l=n[R],this[R]=l?l(h):h[R]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?ae:Pe,this.isPropagationStopped=Pe,this}return D(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){},isPersistent:ae}),r}var Be={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},at=pe(Be),St=D({},Be,{view:0,detail:0}),Ht=pe(St),Nt,Vt,It,ft=D({},St,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==It&&(It&&n.type==="mousemove"?(Nt=n.screenX-It.screenX,Vt=n.screenY-It.screenY):Vt=Nt=0,It=n),Nt)},movementY:function(n){return"movementY"in n?n.movementY:Vt}}),mi=pe(ft),Io=D({},ft,{dataTransfer:0}),Wu=pe(Io),$f=D({},St,{relatedTarget:0}),Ua=pe($f),Yu=D({},Be,{animationName:0,elapsedTime:0,pseudoElement:0}),Gu=pe(Yu),If=D({},Be,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Pm=pe(If),$m=D({},Be,{data:0}),Wf=pe($m),Yf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qp={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"},Zp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Jp(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Zp[n])?!!r[n]:!1}function Gf(){return Jp}var gi=D({},St,{key:function(n){if(n.key){var r=Yf[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=$(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?qp[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gf,charCode:function(n){return n.type==="keypress"?$(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?$(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Im=pe(gi),Qf=D({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tc=pe(Qf),Xf=D({},St,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gf}),Wm=pe(Xf),nc=D({},Be,{propertyName:0,elapsedTime:0,pseudoElement:0}),eh=pe(nc),Mr=D({},ft,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),yi=pe(Mr),Sn=[9,13,27,32],Fa=P&&"CompositionEvent"in window,Pl=null;P&&"documentMode"in document&&(Pl=document.documentMode);var rc=P&&"TextEvent"in window&&!Pl,th=P&&(!Fa||Pl&&8<Pl&&11>=Pl),Wo=" ",nh=!1;function rh(n,r){switch(n){case"keyup":return Sn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ac(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Yo=!1;function Ym(n,r){switch(n){case"compositionend":return ac(r);case"keypress":return r.which!==32?null:(nh=!0,Wo);case"textInput":return n=r.data,n===Wo&&nh?null:n;default:return null}}function Gm(n,r){if(Yo)return n==="compositionend"||!Fa&&rh(n,r)?(n=V(),T=y=za=null,Yo=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return th&&r.locale!=="ko"?null:r.data;default:return null}}var ah={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 ih(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!ah[n.type]:r==="textarea"}function lh(n,r,l,u){pi(u),r=ts(r,"onChange"),0<r.length&&(l=new at("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var Qu=null,Go=null;function Qo(n){uc(n,0)}function Xo(n){var r=qo(n);if(Da(r))return n}function oh(n,r){if(n==="change")return r}var Kf=!1;if(P){var qf;if(P){var Zf="oninput"in document;if(!Zf){var uh=document.createElement("div");uh.setAttribute("oninput","return;"),Zf=typeof uh.oninput=="function"}qf=Zf}else qf=!1;Kf=qf&&(!document.documentMode||9<document.documentMode)}function sh(){Qu&&(Qu.detachEvent("onpropertychange",ch),Go=Qu=null)}function ch(n){if(n.propertyName==="value"&&Xo(Go)){var r=[];lh(r,Go,n,Wt(n)),Hu(Qo,r)}}function Qm(n,r,l){n==="focusin"?(sh(),Qu=r,Go=l,Qu.attachEvent("onpropertychange",ch)):n==="focusout"&&sh()}function Xm(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Xo(Go)}function Km(n,r){if(n==="click")return Xo(r)}function fh(n,r){if(n==="input"||n==="change")return Xo(r)}function qm(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var ua=typeof Object.is=="function"?Object.is:qm;function Xu(n,r){if(ua(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),u=Object.keys(r);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var f=l[u];if(!A.call(r,f)||!ua(n[f],r[f]))return!1}return!0}function dh(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function ph(n,r){var l=dh(n);n=0;for(var u;l;){if(l.nodeType===3){if(u=n+l.textContent.length,n<=r&&u>=r)return{node:l,offset:r-n};n=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=dh(l)}}function hh(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?hh(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function ic(){for(var n=window,r=hn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=hn(n.document)}return r}function Si(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function lc(n){var r=ic(),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&hh(l.ownerDocument.documentElement,l)){if(u!==null&&Si(l)){if(r=u.start,n=u.end,n===void 0&&(n=r),"selectionStart"in l)l.selectionStart=r,l.selectionEnd=Math.min(n,l.value.length);else if(n=(r=l.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var f=l.textContent.length,h=Math.min(u.start,f);u=u.end===void 0?h:Math.min(u.end,f),!n.extend&&h>u&&(f=u,u=h,h=f),f=ph(l,h);var b=ph(l,u);f&&b&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==b.node||n.focusOffset!==b.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),n.removeAllRanges(),h>u?(n.addRange(r),n.extend(b.node,b.offset)):(r.setEnd(b.node,b.offset),n.addRange(r)))}}for(r=[],n=l;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<r.length;l++)n=r[l],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var vh=P&&"documentMode"in document&&11>=document.documentMode,Ha=null,Jf=null,Ku=null,ed=!1;function mh(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ed||Ha==null||Ha!==hn(u)||(u=Ha,"selectionStart"in u&&Si(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ku&&Xu(Ku,u)||(Ku=u,u=ts(Jf,"onSelect"),0<u.length&&(r=new at("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=Ha)))}function oc(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var $l={animationend:oc("Animation","AnimationEnd"),animationiteration:oc("Animation","AnimationIteration"),animationstart:oc("Animation","AnimationStart"),transitionend:oc("Transition","TransitionEnd")},td={},nd={};P&&(nd=document.createElement("div").style,"AnimationEvent"in window||(delete $l.animationend.animation,delete $l.animationiteration.animation,delete $l.animationstart.animation),"TransitionEvent"in window||delete $l.transitionend.transition);function An(n){if(td[n])return td[n];if(!$l[n])return n;var r=$l[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in nd)return td[n]=r[l];return n}var rd=An("animationend"),gh=An("animationiteration"),yh=An("animationstart"),Sh=An("transitionend"),bh=new Map,Ch="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".split(" ");function bi(n,r){bh.set(n,r),x(r,[n])}for(var qu=0;qu<Ch.length;qu++){var Il=Ch[qu],Zm=Il.toLowerCase(),Zu=Il[0].toUpperCase()+Il.slice(1);bi(Zm,"on"+Zu)}bi(rd,"onAnimationEnd"),bi(gh,"onAnimationIteration"),bi(yh,"onAnimationStart"),bi("dblclick","onDoubleClick"),bi("focusin","onFocus"),bi("focusout","onBlur"),bi(Sh,"onTransitionEnd"),S("onMouseEnter",["mouseout","mouseover"]),S("onMouseLeave",["mouseout","mouseover"]),S("onPointerEnter",["pointerout","pointerover"]),S("onPointerLeave",["pointerout","pointerover"]),x("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),x("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),x("onBeforeInput",["compositionend","keypress","textInput","paste"]),x("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),x("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),x("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ju="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Jm=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ju));function Eh(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,sn(u,r,void 0,n),n.currentTarget=null}function uc(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var u=n[l],f=u.event;u=u.listeners;e:{var h=void 0;if(r)for(var b=u.length-1;0<=b;b--){var R=u[b],k=R.instance,j=R.currentTarget;if(R=R.listener,k!==h&&f.isPropagationStopped())break e;Eh(f,R,j),h=k}else for(b=0;b<u.length;b++){if(R=u[b],k=R.instance,j=R.currentTarget,R=R.listener,k!==h&&f.isPropagationStopped())break e;Eh(f,R,j),h=k}}}if(Wi)throw n=Yi,Wi=!1,Yi=null,n}function Bt(n,r){var l=r[cd];l===void 0&&(l=r[cd]=new Set);var u=n+"__bubble";l.has(u)||(wh(r,n,2,!1),l.add(u))}function ll(n,r,l){var u=0;r&&(u|=4),wh(l,n,u,r)}var Ci="_reactListening"+Math.random().toString(36).slice(2);function Ko(n){if(!n[Ci]){n[Ci]=!0,m.forEach(function(l){l!=="selectionchange"&&(Jm.has(l)||ll(l,!1,n),ll(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Ci]||(r[Ci]=!0,ll("selectionchange",!1,r))}}function wh(n,r,l,u){switch(Iu(r)){case 1:var f=Po;break;case 4:f=al;break;default:f=il}l=f.bind(null,r,l,n),f=void 0,!$i||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(f=!0),u?f!==void 0?n.addEventListener(r,l,{capture:!0,passive:f}):n.addEventListener(r,l,!0):f!==void 0?n.addEventListener(r,l,{passive:f}):n.addEventListener(r,l,!1)}function sc(n,r,l,u,f){var h=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var R=u.stateNode.containerInfo;if(R===f||R.nodeType===8&&R.parentNode===f)break;if(b===4)for(b=u.return;b!==null;){var k=b.tag;if((k===3||k===4)&&(k=b.stateNode.containerInfo,k===f||k.nodeType===8&&k.parentNode===f))return;b=b.return}for(;R!==null;){if(b=sa(R),b===null)return;if(k=b.tag,k===5||k===6){u=h=b;continue e}R=R.parentNode}}u=u.return}Hu(function(){var j=h,ee=Wt(l),ne=[];e:{var Z=bh.get(n);if(Z!==void 0){var ve=at,we=n;switch(n){case"keypress":if($(l)===0)break e;case"keydown":case"keyup":ve=Im;break;case"focusin":we="focus",ve=Ua;break;case"focusout":we="blur",ve=Ua;break;case"beforeblur":case"afterblur":ve=Ua;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ve=mi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ve=Wu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ve=Wm;break;case rd:case gh:case yh:ve=Gu;break;case Sh:ve=eh;break;case"scroll":ve=Ht;break;case"wheel":ve=yi;break;case"copy":case"cut":case"paste":ve=Pm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ve=tc}var De=(r&4)!==0,gn=!De&&n==="scroll",L=De?Z!==null?Z+"Capture":null:Z;De=[];for(var M=j,U;M!==null;){U=M;var ie=U.stateNode;if(U.tag===5&&ie!==null&&(U=ie,L!==null&&(ie=Oa(M,L),ie!=null&&De.push(es(M,ie,U)))),gn)break;M=M.return}0<De.length&&(Z=new ve(Z,we,null,l,ee),ne.push({event:Z,listeners:De}))}}if(!(r&7)){e:{if(Z=n==="mouseover"||n==="pointerover",ve=n==="mouseout"||n==="pointerout",Z&&l!==Tr&&(we=l.relatedTarget||l.fromElement)&&(sa(we)||we[Ei]))break e;if((ve||Z)&&(Z=ee.window===ee?ee:(Z=ee.ownerDocument)?Z.defaultView||Z.parentWindow:window,ve?(we=l.relatedTarget||l.toElement,ve=j,we=we?sa(we):null,we!==null&&(gn=ia(we),we!==gn||we.tag!==5&&we.tag!==6)&&(we=null)):(ve=null,we=j),ve!==we)){if(De=mi,ie="onMouseLeave",L="onMouseEnter",M="mouse",(n==="pointerout"||n==="pointerover")&&(De=tc,ie="onPointerLeave",L="onPointerEnter",M="pointer"),gn=ve==null?Z:qo(ve),U=we==null?Z:qo(we),Z=new De(ie,M+"leave",ve,l,ee),Z.target=gn,Z.relatedTarget=U,ie=null,sa(ee)===j&&(De=new De(L,M+"enter",we,l,ee),De.target=U,De.relatedTarget=gn,ie=De),gn=ie,ve&&we)t:{for(De=ve,L=we,M=0,U=De;U;U=Wl(U))M++;for(U=0,ie=L;ie;ie=Wl(ie))U++;for(;0<M-U;)De=Wl(De),M--;for(;0<U-M;)L=Wl(L),U--;for(;M--;){if(De===L||L!==null&&De===L.alternate)break t;De=Wl(De),L=Wl(L)}De=null}else De=null;ve!==null&&ad(ne,Z,ve,De,!1),we!==null&&gn!==null&&ad(ne,gn,we,De,!0)}}e:{if(Z=j?qo(j):window,ve=Z.nodeName&&Z.nodeName.toLowerCase(),ve==="select"||ve==="input"&&Z.type==="file")var Oe=oh;else if(ih(Z))if(Kf)Oe=fh;else{Oe=Xm;var xe=Qm}else(ve=Z.nodeName)&&ve.toLowerCase()==="input"&&(Z.type==="checkbox"||Z.type==="radio")&&(Oe=Km);if(Oe&&(Oe=Oe(n,j))){lh(ne,Oe,l,ee);break e}xe&&xe(n,Z,j),n==="focusout"&&(xe=Z._wrapperState)&&xe.controlled&&Z.type==="number"&&di(Z,"number",Z.value)}switch(xe=j?qo(j):window,n){case"focusin":(ih(xe)||xe.contentEditable==="true")&&(Ha=xe,Jf=j,Ku=null);break;case"focusout":Ku=Jf=Ha=null;break;case"mousedown":ed=!0;break;case"contextmenu":case"mouseup":case"dragend":ed=!1,mh(ne,l,ee);break;case"selectionchange":if(vh)break;case"keydown":case"keyup":mh(ne,l,ee)}var Ne;if(Fa)e:{switch(n){case"compositionstart":var Qe="onCompositionStart";break e;case"compositionend":Qe="onCompositionEnd";break e;case"compositionupdate":Qe="onCompositionUpdate";break e}Qe=void 0}else Yo?rh(n,l)&&(Qe="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Qe="onCompositionStart");Qe&&(th&&l.locale!=="ko"&&(Yo||Qe!=="onCompositionStart"?Qe==="onCompositionEnd"&&Yo&&(Ne=V()):(za=ee,y="value"in za?za.value:za.textContent,Yo=!0)),xe=ts(j,Qe),0<xe.length&&(Qe=new Wf(Qe,n,null,l,ee),ne.push({event:Qe,listeners:xe}),Ne?Qe.data=Ne:(Ne=ac(l),Ne!==null&&(Qe.data=Ne)))),(Ne=rc?Ym(n,l):Gm(n,l))&&(j=ts(j,"onBeforeInput"),0<j.length&&(ee=new Wf("onBeforeInput","beforeinput",null,l,ee),ne.push({event:ee,listeners:j}),ee.data=Ne))}uc(ne,r)})}function es(n,r,l){return{instance:n,listener:r,currentTarget:l}}function ts(n,r){for(var l=r+"Capture",u=[];n!==null;){var f=n,h=f.stateNode;f.tag===5&&h!==null&&(f=h,h=Oa(n,l),h!=null&&u.unshift(es(n,h,f)),h=Oa(n,r),h!=null&&u.push(es(n,h,f))),n=n.return}return u}function Wl(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function ad(n,r,l,u,f){for(var h=r._reactName,b=[];l!==null&&l!==u;){var R=l,k=R.alternate,j=R.stateNode;if(k!==null&&k===u)break;R.tag===5&&j!==null&&(R=j,f?(k=Oa(l,h),k!=null&&b.unshift(es(l,k,R))):f||(k=Oa(l,h),k!=null&&b.push(es(l,k,R)))),l=l.return}b.length!==0&&n.push({event:r,listeners:b})}var id=/\r\n?/g,eg=/\u0000|\uFFFD/g;function ld(n){return(typeof n=="string"?n:""+n).replace(id,`
|
|
459
|
-
`).replace(eg,"")}function cc(n,r,l){if(r=ld(r),ld(n)!==r&&l)throw Error(p(425))}function fc(){}var od=null,Yl=null;function ns(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Gl=typeof setTimeout=="function"?setTimeout:void 0,xh=typeof clearTimeout=="function"?clearTimeout:void 0,ud=typeof Promise=="function"?Promise:void 0,sd=typeof queueMicrotask=="function"?queueMicrotask:typeof ud<"u"?function(n){return ud.resolve(null).then(n).catch(tg)}:Gl;function tg(n){setTimeout(function(){throw n})}function ol(n,r){var l=r,u=0;do{var f=l.nextSibling;if(n.removeChild(l),f&&f.nodeType===8)if(l=f.data,l==="/$"){if(u===0){n.removeChild(f),nl(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=f}while(l);nl(r)}function Va(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function rs(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"){if(r===0)return n;r--}else l==="/$"&&r++}n=n.previousSibling}return null}var ul=Math.random().toString(36).slice(2),qa="__reactFiber$"+ul,Ql="__reactProps$"+ul,Ei="__reactContainer$"+ul,cd="__reactEvents$"+ul,ng="__reactListeners$"+ul,fd="__reactHandles$"+ul;function sa(n){var r=n[qa];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Ei]||l[qa]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=rs(n);n!==null;){if(l=n[qa])return l;n=rs(n)}return r}n=l,l=n.parentNode}return null}function as(n){return n=n[qa]||n[Ei],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function qo(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(p(33))}function Fe(n){return n[Ql]||null}var sl=[],Yt=-1;function et(n){return{current:n}}function _t(n){0>Yt||(n.current=sl[Yt],sl[Yt]=null,Yt--)}function Ot(n,r){Yt++,sl[Yt]=n.current,n.current=r}var Za={},Ge=et(Za),fn=et(!1),Or=Za;function ca(n,r){var l=n.type.contextTypes;if(!l)return Za;var u=n.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===r)return u.__reactInternalMemoizedMaskedChildContext;var f={},h;for(h in l)f[h]=r[h];return u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=f),f}function Jt(n){return n=n.childContextTypes,n!=null}function fa(){_t(fn),_t(Ge)}function cl(n,r,l){if(Ge.current!==Za)throw Error(p(168));Ot(Ge,r),Ot(fn,l)}function is(n,r,l){var u=n.stateNode;if(r=r.childContextTypes,typeof u.getChildContext!="function")return l;u=u.getChildContext();for(var f in u)if(!(f in r))throw Error(p(108,Ct(n)||"Unknown",f));return D({},l,u)}function dc(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Za,Or=Ge.current,Ot(Ge,n),Ot(fn,fn.current),!0}function Rh(n,r,l){var u=n.stateNode;if(!u)throw Error(p(169));l?(n=is(n,r,Or),u.__reactInternalMemoizedMergedChildContext=n,_t(fn),_t(Ge),Ot(Ge,n)):_t(fn),Ot(fn,l)}var Gr=null,Ln=!1,ls=!1;function dd(n){Gr===null?Gr=[n]:Gr.push(n)}function pd(n){Ln=!0,dd(n)}function Ar(){if(!ls&&Gr!==null){ls=!0;var n=0,r=wt;try{var l=Gr;for(wt=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Gr=null,Ln=!1}catch(f){throw Gr!==null&&(Gr=Gr.slice(n+1)),Bu(La,Ar),f}finally{wt=r,ls=!1}}return null}var fl=[],Lr=0,Xl=null,Zo=0,Nr=[],er=0,da=null,jn=1,wi="";function Qr(n,r){fl[Lr++]=Zo,fl[Lr++]=Xl,Xl=n,Zo=r}function hd(n,r,l){Nr[er++]=jn,Nr[er++]=wi,Nr[er++]=da,da=n;var u=jn;n=wi;var f=32-or(u)-1;u&=~(1<<f),l+=1;var h=32-or(r)+f;if(30<h){var b=f-f%5;h=(u&(1<<b)-1).toString(32),u>>=b,f-=b,jn=1<<32-or(r)+f|l<<f|u,wi=h+n}else jn=1<<h|l<<f|u,wi=n}function pc(n){n.return!==null&&(Qr(n,1),hd(n,1,0))}function vd(n){for(;n===Xl;)Xl=fl[--Lr],fl[Lr]=null,Zo=fl[--Lr],fl[Lr]=null;for(;n===da;)da=Nr[--er],Nr[er]=null,wi=Nr[--er],Nr[er]=null,jn=Nr[--er],Nr[er]=null}var Xr=null,zr=null,Gt=!1,pa=null;function md(n,r){var l=Sa(5,null,null,0);l.elementType="DELETED",l.stateNode=r,l.return=n,r=n.deletions,r===null?(n.deletions=[l],n.flags|=16):r.push(l)}function Th(n,r){switch(n.tag){case 5:var l=n.type;return r=r.nodeType!==1||l.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Xr=n,zr=Va(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Xr=n,zr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=da!==null?{id:jn,overflow:wi}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=Sa(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Xr=n,zr=null,!0):!1;default:return!1}}function hc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function vc(n){if(Gt){var r=zr;if(r){var l=r;if(!Th(n,r)){if(hc(n))throw Error(p(418));r=Va(l.nextSibling);var u=Xr;r&&Th(n,r)?md(u,l):(n.flags=n.flags&-4097|2,Gt=!1,Xr=n)}}else{if(hc(n))throw Error(p(418));n.flags=n.flags&-4097|2,Gt=!1,Xr=n}}}function Dh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Xr=n}function mc(n){if(n!==Xr)return!1;if(!Gt)return Dh(n),Gt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!ns(n.type,n.memoizedProps)),r&&(r=zr)){if(hc(n))throw kh(),Error(p(418));for(;r;)md(n,r),r=Va(r.nextSibling)}if(Dh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(p(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"){if(r===0){zr=Va(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}zr=null}}else zr=Xr?Va(n.stateNode.nextSibling):null;return!0}function kh(){for(var n=zr;n;)n=Va(n.nextSibling)}function rn(){zr=Xr=null,Gt=!1}function gd(n){pa===null?pa=[n]:pa.push(n)}var gc=He.ReactCurrentBatchConfig;function Kr(n,r){if(n&&n.defaultProps){r=D({},r),n=n.defaultProps;for(var l in n)r[l]===void 0&&(r[l]=n[l]);return r}return r}var Ja=et(null),yc=null,dl=null,yd=null;function Sd(){yd=dl=yc=null}function pl(n){var r=Ja.current;_t(Ja),n._currentValue=r}function Nn(n,r,l){for(;n!==null;){var u=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,u!==null&&(u.childLanes|=r)):u!==null&&(u.childLanes&r)!==r&&(u.childLanes|=r),n===l)break;n=n.return}}function ue(n,r){yc=n,yd=dl=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(bn=!0),n.firstContext=null)}function mn(n){var r=n._currentValue;if(yd!==n)if(n={context:n,memoizedValue:r,next:null},dl===null){if(yc===null)throw Error(p(308));dl=n,yc.dependencies={lanes:0,firstContext:n}}else dl=dl.next=n;return r}var Pn=null;function bd(n){Pn===null?Pn=[n]:Pn.push(n)}function _h(n,r,l,u){var f=r.interleaved;return f===null?(l.next=l,bd(r)):(l.next=f.next,f.next=l),r.interleaved=l,xi(n,u)}function xi(n,r){n.lanes|=r;var l=n.alternate;for(l!==null&&(l.lanes|=r),l=n,n=n.return;n!==null;)n.childLanes|=r,l=n.alternate,l!==null&&(l.childLanes|=r),l=n,n=n.return;return l.tag===3?l.stateNode:null}var hl=!1;function Cd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Ri(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function vl(n,r,l){var u=n.updateQueue;if(u===null)return null;if(u=u.shared,ut&2){var f=u.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),u.pending=r,xi(n,l)}return f=u.interleaved,f===null?(r.next=r,bd(u)):(r.next=f.next,f.next=r),u.interleaved=r,xi(n,l)}function Sc(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194240)!==0)){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Xa(n,l)}}function Ed(n,r){var l=n.updateQueue,u=n.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var f=null,h=null;if(l=l.firstBaseUpdate,l!==null){do{var b={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};h===null?f=h=b:h=h.next=b,l=l.next}while(l!==null);h===null?f=h=r:h=h.next=r}else f=h=r;l={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:u.shared,effects:u.effects},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}function ml(n,r,l,u){var f=n.updateQueue;hl=!1;var h=f.firstBaseUpdate,b=f.lastBaseUpdate,R=f.shared.pending;if(R!==null){f.shared.pending=null;var k=R,j=k.next;k.next=null,b===null?h=j:b.next=j,b=k;var ee=n.alternate;ee!==null&&(ee=ee.updateQueue,R=ee.lastBaseUpdate,R!==b&&(R===null?ee.firstBaseUpdate=j:R.next=j,ee.lastBaseUpdate=k))}if(h!==null){var ne=f.baseState;b=0,ee=j=k=null,R=h;do{var Z=R.lane,ve=R.eventTime;if((u&Z)===Z){ee!==null&&(ee=ee.next={eventTime:ve,lane:0,tag:R.tag,payload:R.payload,callback:R.callback,next:null});e:{var we=n,De=R;switch(Z=r,ve=l,De.tag){case 1:if(we=De.payload,typeof we=="function"){ne=we.call(ve,ne,Z);break e}ne=we;break e;case 3:we.flags=we.flags&-65537|128;case 0:if(we=De.payload,Z=typeof we=="function"?we.call(ve,ne,Z):we,Z==null)break e;ne=D({},ne,Z);break e;case 2:hl=!0}}R.callback!==null&&R.lane!==0&&(n.flags|=64,Z=f.effects,Z===null?f.effects=[R]:Z.push(R))}else ve={eventTime:ve,lane:Z,tag:R.tag,payload:R.payload,callback:R.callback,next:null},ee===null?(j=ee=ve,k=ne):ee=ee.next=ve,b|=Z;if(R=R.next,R===null){if(R=f.shared.pending,R===null)break;Z=R,R=Z.next,Z.next=null,f.lastBaseUpdate=Z,f.shared.pending=null}}while(!0);if(ee===null&&(k=ne),f.baseState=k,f.firstBaseUpdate=j,f.lastBaseUpdate=ee,r=f.shared.interleaved,r!==null){f=r;do b|=f.lane,f=f.next;while(f!==r)}else h===null&&(f.shared.lanes=0);_i|=b,n.lanes=b,n.memoizedState=ne}}function Kl(n,r,l){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var u=n[r],f=u.callback;if(f!==null){if(u.callback=null,u=l,typeof f!="function")throw Error(p(191,f));f.call(u)}}}var Mh=new G.Component().refs;function wd(n,r,l,u){r=n.memoizedState,l=l(u,r),l=l==null?r:D({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var bc={isMounted:function(n){return(n=n._reactInternals)?ia(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=ar(),f=Cn(n),h=Ri(u,f);h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ir(r,n,f,u),Sc(r,n,f))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=ar(),f=Cn(n),h=Ri(u,f);h.tag=1,h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ir(r,n,f,u),Sc(r,n,f))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=ar(),u=Cn(n),f=Ri(l,u);f.tag=2,r!=null&&(f.callback=r),r=vl(n,f,u),r!==null&&(ir(r,n,u,l),Sc(r,n,u))}};function Oh(n,r,l,u,f,h,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,h,b):r.prototype&&r.prototype.isPureReactComponent?!Xu(l,u)||!Xu(f,h):!0}function Ah(n,r,l){var u=!1,f=Za,h=r.contextType;return typeof h=="object"&&h!==null?h=mn(h):(f=Jt(r)?Or:Ge.current,u=r.contextTypes,h=(u=u!=null)?ca(n,f):Za),r=new r(l,h),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=bc,n.stateNode=r,r._reactInternals=n,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=h),r}function Lh(n,r,l,u){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,u),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,u),r.state!==n&&bc.enqueueReplaceState(r,r.state,null)}function Cc(n,r,l,u){var f=n.stateNode;f.props=l,f.state=n.memoizedState,f.refs=Mh,Cd(n);var h=r.contextType;typeof h=="object"&&h!==null?f.context=mn(h):(h=Jt(r)?Or:Ge.current,f.context=ca(n,h)),f.state=n.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(wd(n,r,h,l),f.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(r=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),r!==f.state&&bc.enqueueReplaceState(f,f.state,null),ml(n,l,f,u),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function Jo(n,r,l){if(n=l.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(l._owner){if(l=l._owner,l){if(l.tag!==1)throw Error(p(309));var u=l.stateNode}if(!u)throw Error(p(147,n));var f=u,h=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===h?r.ref:(r=function(b){var R=f.refs;R===Mh&&(R=f.refs={}),b===null?delete R[h]:R[h]=b},r._stringRef=h,r)}if(typeof n!="string")throw Error(p(284));if(!l._owner)throw Error(p(290,n))}return n}function Ec(n,r){throw n=Object.prototype.toString.call(r),Error(p(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function Nh(n){var r=n._init;return r(n._payload)}function zh(n){function r(L,M){if(n){var U=L.deletions;U===null?(L.deletions=[M],L.flags|=16):U.push(M)}}function l(L,M){if(!n)return null;for(;M!==null;)r(L,M),M=M.sibling;return null}function u(L,M){for(L=new Map;M!==null;)M.key!==null?L.set(M.key,M):L.set(M.index,M),M=M.sibling;return L}function f(L,M){return L=xl(L,M),L.index=0,L.sibling=null,L}function h(L,M,U){return L.index=U,n?(U=L.alternate,U!==null?(U=U.index,U<M?(L.flags|=2,M):U):(L.flags|=2,M)):(L.flags|=1048576,M)}function b(L){return n&&L.alternate===null&&(L.flags|=2),L}function R(L,M,U,ie){return M===null||M.tag!==6?(M=Rs(U,L.mode,ie),M.return=L,M):(M=f(M,U),M.return=L,M)}function k(L,M,U,ie){var Oe=U.type;return Oe===Le?ee(L,M,U.props.children,ie,U.key):M!==null&&(M.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===kt&&Nh(Oe)===M.type)?(ie=f(M,U.props),ie.ref=Jo(L,M,U),ie.return=L,ie):(ie=ef(U.type,U.key,U.props,null,L.mode,ie),ie.ref=Jo(L,M,U),ie.return=L,ie)}function j(L,M,U,ie){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=mo(U,L.mode,ie),M.return=L,M):(M=f(M,U.children||[]),M.return=L,M)}function ee(L,M,U,ie,Oe){return M===null||M.tag!==7?(M=vo(U,L.mode,ie,Oe),M.return=L,M):(M=f(M,U),M.return=L,M)}function ne(L,M,U){if(typeof M=="string"&&M!==""||typeof M=="number")return M=Rs(""+M,L.mode,U),M.return=L,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case fe:return U=ef(M.type,M.key,M.props,null,L.mode,U),U.ref=Jo(L,null,M),U.return=L,U;case Ee:return M=mo(M,L.mode,U),M.return=L,M;case kt:var ie=M._init;return ne(L,ie(M._payload),U)}if(Jn(M)||ze(M))return M=vo(M,L.mode,U,null),M.return=L,M;Ec(L,M)}return null}function Z(L,M,U,ie){var Oe=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return Oe!==null?null:R(L,M,""+U,ie);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case fe:return U.key===Oe?k(L,M,U,ie):null;case Ee:return U.key===Oe?j(L,M,U,ie):null;case kt:return Oe=U._init,Z(L,M,Oe(U._payload),ie)}if(Jn(U)||ze(U))return Oe!==null?null:ee(L,M,U,ie,null);Ec(L,U)}return null}function ve(L,M,U,ie,Oe){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return L=L.get(U)||null,R(M,L,""+ie,Oe);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case fe:return L=L.get(ie.key===null?U:ie.key)||null,k(M,L,ie,Oe);case Ee:return L=L.get(ie.key===null?U:ie.key)||null,j(M,L,ie,Oe);case kt:var xe=ie._init;return ve(L,M,U,xe(ie._payload),Oe)}if(Jn(ie)||ze(ie))return L=L.get(U)||null,ee(M,L,ie,Oe,null);Ec(M,ie)}return null}function we(L,M,U,ie){for(var Oe=null,xe=null,Ne=M,Qe=M=0,Fn=null;Ne!==null&&Qe<U.length;Qe++){Ne.index>Qe?(Fn=Ne,Ne=null):Fn=Ne.sibling;var Et=Z(L,Ne,U[Qe],ie);if(Et===null){Ne===null&&(Ne=Fn);break}n&&Ne&&Et.alternate===null&&r(L,Ne),M=h(Et,M,Qe),xe===null?Oe=Et:xe.sibling=Et,xe=Et,Ne=Fn}if(Qe===U.length)return l(L,Ne),Gt&&Qr(L,Qe),Oe;if(Ne===null){for(;Qe<U.length;Qe++)Ne=ne(L,U[Qe],ie),Ne!==null&&(M=h(Ne,M,Qe),xe===null?Oe=Ne:xe.sibling=Ne,xe=Ne);return Gt&&Qr(L,Qe),Oe}for(Ne=u(L,Ne);Qe<U.length;Qe++)Fn=ve(Ne,L,Qe,U[Qe],ie),Fn!==null&&(n&&Fn.alternate!==null&&Ne.delete(Fn.key===null?Qe:Fn.key),M=h(Fn,M,Qe),xe===null?Oe=Fn:xe.sibling=Fn,xe=Fn);return n&&Ne.forEach(function(Rl){return r(L,Rl)}),Gt&&Qr(L,Qe),Oe}function De(L,M,U,ie){var Oe=ze(U);if(typeof Oe!="function")throw Error(p(150));if(U=Oe.call(U),U==null)throw Error(p(151));for(var xe=Oe=null,Ne=M,Qe=M=0,Fn=null,Et=U.next();Ne!==null&&!Et.done;Qe++,Et=U.next()){Ne.index>Qe?(Fn=Ne,Ne=null):Fn=Ne.sibling;var Rl=Z(L,Ne,Et.value,ie);if(Rl===null){Ne===null&&(Ne=Fn);break}n&&Ne&&Rl.alternate===null&&r(L,Ne),M=h(Rl,M,Qe),xe===null?Oe=Rl:xe.sibling=Rl,xe=Rl,Ne=Fn}if(Et.done)return l(L,Ne),Gt&&Qr(L,Qe),Oe;if(Ne===null){for(;!Et.done;Qe++,Et=U.next())Et=ne(L,Et.value,ie),Et!==null&&(M=h(Et,M,Qe),xe===null?Oe=Et:xe.sibling=Et,xe=Et);return Gt&&Qr(L,Qe),Oe}for(Ne=u(L,Ne);!Et.done;Qe++,Et=U.next())Et=ve(Ne,L,Qe,Et.value,ie),Et!==null&&(n&&Et.alternate!==null&&Ne.delete(Et.key===null?Qe:Et.key),M=h(Et,M,Qe),xe===null?Oe=Et:xe.sibling=Et,xe=Et);return n&&Ne.forEach(function(Eg){return r(L,Eg)}),Gt&&Qr(L,Qe),Oe}function gn(L,M,U,ie){if(typeof U=="object"&&U!==null&&U.type===Le&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case fe:e:{for(var Oe=U.key,xe=M;xe!==null;){if(xe.key===Oe){if(Oe=U.type,Oe===Le){if(xe.tag===7){l(L,xe.sibling),M=f(xe,U.props.children),M.return=L,L=M;break e}}else if(xe.elementType===Oe||typeof Oe=="object"&&Oe!==null&&Oe.$$typeof===kt&&Nh(Oe)===xe.type){l(L,xe.sibling),M=f(xe,U.props),M.ref=Jo(L,xe,U),M.return=L,L=M;break e}l(L,xe);break}else r(L,xe);xe=xe.sibling}U.type===Le?(M=vo(U.props.children,L.mode,ie,U.key),M.return=L,L=M):(ie=ef(U.type,U.key,U.props,null,L.mode,ie),ie.ref=Jo(L,M,U),ie.return=L,L=ie)}return b(L);case Ee:e:{for(xe=U.key;M!==null;){if(M.key===xe)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){l(L,M.sibling),M=f(M,U.children||[]),M.return=L,L=M;break e}else{l(L,M);break}else r(L,M);M=M.sibling}M=mo(U,L.mode,ie),M.return=L,L=M}return b(L);case kt:return xe=U._init,gn(L,M,xe(U._payload),ie)}if(Jn(U))return we(L,M,U,ie);if(ze(U))return De(L,M,U,ie);Ec(L,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,M!==null&&M.tag===6?(l(L,M.sibling),M=f(M,U),M.return=L,L=M):(l(L,M),M=Rs(U,L.mode,ie),M.return=L,L=M),b(L)):l(L,M)}return gn}var eu=zh(!0),Uh=zh(!1),os={},Ba=et(os),us=et(os),tu=et(os);function ql(n){if(n===os)throw Error(p(174));return n}function xd(n,r){switch(Ot(tu,r),Ot(us,n),Ot(Ba,os),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:Vn(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=Vn(r,n)}_t(Ba),Ot(Ba,r)}function gl(){_t(Ba),_t(us),_t(tu)}function je(n){ql(tu.current);var r=ql(Ba.current),l=Vn(r,n.type);r!==l&&(Ot(us,n),Ot(Ba,l))}function it(n){us.current===n&&(_t(Ba),_t(us))}var $e=et(0);function an(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||l.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var ha=[];function wc(){for(var n=0;n<ha.length;n++)ha[n]._workInProgressVersionPrimary=null;ha.length=0}var xc=He.ReactCurrentDispatcher,Rd=He.ReactCurrentBatchConfig,Zl=0,Qt=null,Y=null,pt=null,Ie=!1,ei=!1,qr=0,Jl=0;function Xt(){throw Error(p(321))}function eo(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!ua(n[l],r[l]))return!1;return!0}function yl(n,r,l,u,f,h){if(Zl=h,Qt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,xc.current=n===null||n.memoizedState===null?ag:ig,n=l(u,f),ei){h=0;do{if(ei=!1,qr=0,25<=h)throw Error(p(301));h+=1,pt=Y=null,r.updateQueue=null,xc.current=Dd,n=l(u,f)}while(ei)}if(xc.current=Bc,r=Y!==null&&Y.next!==null,Zl=0,pt=Y=Qt=null,Ie=!1,r)throw Error(p(300));return n}function to(){var n=qr!==0;return qr=0,n}function va(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pt===null?Qt.memoizedState=pt=n:pt=pt.next=n,pt}function Ur(){if(Y===null){var n=Qt.alternate;n=n!==null?n.memoizedState:null}else n=Y.next;var r=pt===null?Qt.memoizedState:pt.next;if(r!==null)pt=r,Y=n;else{if(n===null)throw Error(p(310));Y=n,n={memoizedState:Y.memoizedState,baseState:Y.baseState,baseQueue:Y.baseQueue,queue:Y.queue,next:null},pt===null?Qt.memoizedState=pt=n:pt=pt.next=n}return pt}function no(n,r){return typeof r=="function"?r(n):r}function ss(n){var r=Ur(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=Y,f=u.baseQueue,h=l.pending;if(h!==null){if(f!==null){var b=f.next;f.next=h.next,h.next=b}u.baseQueue=f=h,l.pending=null}if(f!==null){h=f.next,u=u.baseState;var R=b=null,k=null,j=h;do{var ee=j.lane;if((Zl&ee)===ee)k!==null&&(k=k.next={lane:0,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),u=j.hasEagerState?j.eagerState:n(u,j.action);else{var ne={lane:ee,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};k===null?(R=k=ne,b=u):k=k.next=ne,Qt.lanes|=ee,_i|=ee}j=j.next}while(j!==null&&j!==h);k===null?b=u:k.next=R,ua(u,r.memoizedState)||(bn=!0),r.memoizedState=u,r.baseState=b,r.baseQueue=k,l.lastRenderedState=u}if(n=l.interleaved,n!==null){f=n;do h=f.lane,Qt.lanes|=h,_i|=h,f=f.next;while(f!==n)}else f===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function cs(n){var r=Ur(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=l.dispatch,f=l.pending,h=r.memoizedState;if(f!==null){l.pending=null;var b=f=f.next;do h=n(h,b.action),b=b.next;while(b!==f);ua(h,r.memoizedState)||(bn=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),l.lastRenderedState=h}return[h,u]}function Rc(){}function Tc(n,r){var l=Qt,u=Ur(),f=r(),h=!ua(u.memoizedState,f);if(h&&(u.memoizedState=f,bn=!0),u=u.queue,fs(_c.bind(null,l,u,n),[n]),u.getSnapshot!==r||h||pt!==null&&pt.memoizedState.tag&1){if(l.flags|=2048,ro(9,kc.bind(null,l,u,f,r),void 0,null),ln===null)throw Error(p(349));Zl&30||Dc(l,r,f)}return f}function Dc(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=Qt.updateQueue,r===null?(r={lastEffect:null,stores:null},Qt.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function kc(n,r,l,u){r.value=l,r.getSnapshot=u,Mc(r)&&Oc(n)}function _c(n,r,l){return l(function(){Mc(r)&&Oc(n)})}function Mc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!ua(n,l)}catch{return!0}}function Oc(n){var r=xi(n,1);r!==null&&ir(r,n,1,-1)}function Ac(n){var r=va();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:no,lastRenderedState:n},r.queue=n,n=n.dispatch=Vc.bind(null,Qt,n),[r.memoizedState,n]}function ro(n,r,l,u){return n={tag:n,create:r,destroy:l,deps:u,next:null},r=Qt.updateQueue,r===null?(r={lastEffect:null,stores:null},Qt.updateQueue=r,r.lastEffect=n.next=n):(l=r.lastEffect,l===null?r.lastEffect=n.next=n:(u=l.next,l.next=n,n.next=u,r.lastEffect=n)),n}function Lc(){return Ur().memoizedState}function ao(n,r,l,u){var f=va();Qt.flags|=n,f.memoizedState=ro(1|r,l,void 0,u===void 0?null:u)}function Ti(n,r,l,u){var f=Ur();u=u===void 0?null:u;var h=void 0;if(Y!==null){var b=Y.memoizedState;if(h=b.destroy,u!==null&&eo(u,b.deps)){f.memoizedState=ro(r,l,h,u);return}}Qt.flags|=n,f.memoizedState=ro(1|r,l,h,u)}function Nc(n,r){return ao(8390656,8,n,r)}function fs(n,r){return Ti(2048,8,n,r)}function zc(n,r){return Ti(4,2,n,r)}function Uc(n,r){return Ti(4,4,n,r)}function Td(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function nu(n,r,l){return l=l!=null?l.concat([n]):null,Ti(4,4,Td.bind(null,r,n),l)}function Fc(){}function ru(n,r){var l=Ur();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&eo(r,u[1])?u[0]:(l.memoizedState=[n,r],n)}function Sl(n,r){var l=Ur();r=r===void 0?null:r;var u=l.memoizedState;return u!==null&&r!==null&&eo(r,u[1])?u[0]:(n=n(),l.memoizedState=[n,r],n)}function Fr(n,r,l){return Zl&21?(ua(l,r)||(l=Uo(),Qt.lanes|=l,_i|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,bn=!0),n.memoizedState=l)}function rg(n,r){var l=wt;wt=l!==0&&4>l?l:4,n(!0);var u=Rd.transition;Rd.transition={};try{n(!1),r()}finally{wt=l,Rd.transition=u}}function jt(){return Ur().memoizedState}function Hc(n,r,l){var u=Cn(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},au(n))ds(r,l);else if(l=_h(n,r,l,u),l!==null){var f=ar();ir(l,n,u,f),Fh(l,r,u)}}function Vc(n,r,l){var u=Cn(n),f={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(au(n))ds(r,f);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var b=r.lastRenderedState,R=h(b,l);if(f.hasEagerState=!0,f.eagerState=R,ua(R,b)){var k=r.interleaved;k===null?(f.next=f,bd(r)):(f.next=k.next,k.next=f),r.interleaved=f;return}}catch{}finally{}l=_h(n,r,f,u),l!==null&&(f=ar(),ir(l,n,u,f),Fh(l,r,u))}}function au(n){var r=n.alternate;return n===Qt||r!==null&&r===Qt}function ds(n,r){ei=Ie=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function Fh(n,r,l){if(l&4194240){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Xa(n,l)}}var Bc={readContext:mn,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useInsertionEffect:Xt,useLayoutEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useMutableSource:Xt,useSyncExternalStore:Xt,useId:Xt,unstable_isNewReconciler:!1},ag={readContext:mn,useCallback:function(n,r){return va().memoizedState=[n,r===void 0?null:r],n},useContext:mn,useEffect:Nc,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,ao(4194308,4,Td.bind(null,r,n),l)},useLayoutEffect:function(n,r){return ao(4194308,4,n,r)},useInsertionEffect:function(n,r){return ao(4,2,n,r)},useMemo:function(n,r){var l=va();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=va();return r=l!==void 0?l(r):r,u.memoizedState=u.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},u.queue=n,n=n.dispatch=Hc.bind(null,Qt,n),[u.memoizedState,n]},useRef:function(n){var r=va();return n={current:n},r.memoizedState=n},useState:Ac,useDebugValue:Fc,useDeferredValue:function(n){return va().memoizedState=n},useTransition:function(){var n=Ac(!1),r=n[0];return n=rg.bind(null,n[1]),va().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=Qt,f=va();if(Gt){if(l===void 0)throw Error(p(407));l=l()}else{if(l=r(),ln===null)throw Error(p(349));Zl&30||Dc(u,r,l)}f.memoizedState=l;var h={value:l,getSnapshot:r};return f.queue=h,Nc(_c.bind(null,u,h,n),[n]),u.flags|=2048,ro(9,kc.bind(null,u,h,l,r),void 0,null),l},useId:function(){var n=va(),r=ln.identifierPrefix;if(Gt){var l=wi,u=jn;l=(u&~(1<<32-or(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=qr++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Jl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},ig={readContext:mn,useCallback:ru,useContext:mn,useEffect:fs,useImperativeHandle:nu,useInsertionEffect:zc,useLayoutEffect:Uc,useMemo:Sl,useReducer:ss,useRef:Lc,useState:function(){return ss(no)},useDebugValue:Fc,useDeferredValue:function(n){var r=Ur();return Fr(r,Y.memoizedState,n)},useTransition:function(){var n=ss(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:Rc,useSyncExternalStore:Tc,useId:jt,unstable_isNewReconciler:!1},Dd={readContext:mn,useCallback:ru,useContext:mn,useEffect:fs,useImperativeHandle:nu,useInsertionEffect:zc,useLayoutEffect:Uc,useMemo:Sl,useReducer:cs,useRef:Lc,useState:function(){return cs(no)},useDebugValue:Fc,useDeferredValue:function(n){var r=Ur();return Y===null?r.memoizedState=n:Fr(r,Y.memoizedState,n)},useTransition:function(){var n=cs(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:Rc,useSyncExternalStore:Tc,useId:jt,unstable_isNewReconciler:!1};function iu(n,r){try{var l="",u=r;do l+=bt(u),u=u.return;while(u);var f=l}catch(h){f=`
|
|
460
|
-
Error generating stack: `+h.message+`
|
|
461
|
-
`+h.stack}return{value:n,source:r,stack:f,digest:null}}function ps(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function jc(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var lg=typeof WeakMap=="function"?WeakMap:Map;function Hh(n,r,l){l=Ri(-1,l),l.tag=3,l.payload={element:null};var u=r.value;return l.callback=function(){Qc||(Qc=!0,so=u),jc(n,r)},l}function hs(n,r,l){l=Ri(-1,l),l.tag=3;var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var f=r.value;l.payload=function(){return u(f)},l.callback=function(){jc(n,r)}}var h=n.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(l.callback=function(){jc(n,r),typeof u!="function"&&(ri===null?ri=new Set([this]):ri.add(this));var b=r.stack;this.componentDidCatch(r.value,{componentStack:b!==null?b:""})}),l}function Vh(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new lg;var f=new Set;u.set(r,f)}else f=u.get(r),f===void 0&&(f=new Set,u.set(r,f));f.has(l)||(f.add(l),n=pg.bind(null,n,r,l),r.then(n,n))}function kd(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function _d(n,r,l,u,f){return n.mode&1?(n.flags|=65536,n.lanes=f,n):(n===r?n.flags|=65536:(n.flags|=128,l.flags|=131072,l.flags&=-52805,l.tag===1&&(l.alternate===null?l.tag=17:(r=Ri(-1,1),r.tag=2,vl(l,r,1))),l.lanes|=1),n)}var og=He.ReactCurrentOwner,bn=!1;function Rn(n,r,l,u){r.child=n===null?Uh(r,null,l,u):eu(r,n.child,l,u)}function bl(n,r,l,u,f){l=l.render;var h=r.ref;return ue(r,f),u=yl(n,r,l,u,h,f),l=to(),n!==null&&!bn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,$n(n,r,f)):(Gt&&l&&pc(r),r.flags|=1,Rn(n,r,u,f),r.child)}function Pc(n,r,l,u,f){if(n===null){var h=l.type;return typeof h=="function"&&!Qd(h)&&h.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=h,Hr(n,r,h,u,f)):(n=ef(l.type,null,u,r,r.mode,f),n.ref=r.ref,n.return=r,r.child=n)}if(h=n.child,!(n.lanes&f)){var b=h.memoizedProps;if(l=l.compare,l=l!==null?l:Xu,l(b,u)&&n.ref===r.ref)return $n(n,r,f)}return r.flags|=1,n=xl(h,u),n.ref=r.ref,n.return=r,r.child=n}function Hr(n,r,l,u,f){if(n!==null){var h=n.memoizedProps;if(Xu(h,u)&&n.ref===r.ref)if(bn=!1,r.pendingProps=u=h,(n.lanes&f)!==0)n.flags&131072&&(bn=!0);else return r.lanes=n.lanes,$n(n,r,f)}return lu(n,r,l,u,f)}function io(n,r,l){var u=r.pendingProps,f=u.children,h=n!==null?n.memoizedState:null;if(u.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ot(du,Zr),Zr|=l;else{if(!(l&1073741824))return n=h!==null?h.baseLanes|l:l,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Ot(du,Zr),Zr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:l,Ot(du,Zr),Zr|=u}else h!==null?(u=h.baseLanes|l,r.memoizedState=null):u=l,Ot(du,Zr),Zr|=u;return Rn(n,r,f,l),r.child}function tt(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function lu(n,r,l,u,f){var h=Jt(l)?Or:Ge.current;return h=ca(r,h),ue(r,f),l=yl(n,r,l,u,h,f),u=to(),n!==null&&!bn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,$n(n,r,f)):(Gt&&u&&pc(r),r.flags|=1,Rn(n,r,l,f),r.child)}function Md(n,r,l,u,f){if(Jt(l)){var h=!0;dc(r)}else h=!1;if(ue(r,f),r.stateNode===null)tr(n,r),Ah(r,l,u),Cc(r,l,u,f),u=!0;else if(n===null){var b=r.stateNode,R=r.memoizedProps;b.props=R;var k=b.context,j=l.contextType;typeof j=="object"&&j!==null?j=mn(j):(j=Jt(l)?Or:Ge.current,j=ca(r,j));var ee=l.getDerivedStateFromProps,ne=typeof ee=="function"||typeof b.getSnapshotBeforeUpdate=="function";ne||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(R!==u||k!==j)&&Lh(r,b,u,j),hl=!1;var Z=r.memoizedState;b.state=Z,ml(r,u,b,f),k=r.memoizedState,R!==u||Z!==k||fn.current||hl?(typeof ee=="function"&&(wd(r,l,ee,u),k=r.memoizedState),(R=hl||Oh(r,l,R,u,Z,k,j))?(ne||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(r.flags|=4194308)):(typeof b.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=k),b.props=u,b.state=k,b.context=j,u=R):(typeof b.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{b=r.stateNode,xn(n,r),R=r.memoizedProps,j=r.type===r.elementType?R:Kr(r.type,R),b.props=j,ne=r.pendingProps,Z=b.context,k=l.contextType,typeof k=="object"&&k!==null?k=mn(k):(k=Jt(l)?Or:Ge.current,k=ca(r,k));var ve=l.getDerivedStateFromProps;(ee=typeof ve=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(R!==ne||Z!==k)&&Lh(r,b,u,k),hl=!1,Z=r.memoizedState,b.state=Z,ml(r,u,b,f);var we=r.memoizedState;R!==ne||Z!==we||fn.current||hl?(typeof ve=="function"&&(wd(r,l,ve,u),we=r.memoizedState),(j=hl||Oh(r,l,j,u,Z,we,k)||!1)?(ee||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(u,we,k),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(u,we,k)),typeof b.componentDidUpdate=="function"&&(r.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof b.componentDidUpdate!="function"||R===n.memoizedProps&&Z===n.memoizedState||(r.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||R===n.memoizedProps&&Z===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=we),b.props=u,b.state=we,b.context=k,u=j):(typeof b.componentDidUpdate!="function"||R===n.memoizedProps&&Z===n.memoizedState||(r.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||R===n.memoizedProps&&Z===n.memoizedState||(r.flags|=1024),u=!1)}return Bh(n,r,l,u,h,f)}function Bh(n,r,l,u,f,h){tt(n,r);var b=(r.flags&128)!==0;if(!u&&!b)return f&&Rh(r,l,!1),$n(n,r,h);u=r.stateNode,og.current=r;var R=b&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&b?(r.child=eu(r,n.child,null,h),r.child=eu(r,null,R,h)):Rn(n,r,R,h),r.memoizedState=u.state,f&&Rh(r,l,!0),r.child}function jh(n){var r=n.stateNode;r.pendingContext?cl(n,r.pendingContext,r.pendingContext!==r.context):r.context&&cl(n,r.context,!1),xd(n,r.containerInfo)}function $c(n,r,l,u,f){return rn(),gd(f),r.flags|=256,Rn(n,r,l,u),r.child}var lo={dehydrated:null,treeContext:null,retryLane:0};function Od(n){return{baseLanes:n,cachePool:null,transitions:null}}function Ad(n,r,l){var u=r.pendingProps,f=$e.current,h=!1,b=(r.flags&128)!==0,R;if((R=b)||(R=n!==null&&n.memoizedState===null?!1:(f&2)!==0),R?(h=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),Ot($e,f&1),n===null)return vc(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(b=u.children,n=u.fallback,h?(u=r.mode,h=r.child,b={mode:"hidden",children:b},!(u&1)&&h!==null?(h.childLanes=0,h.pendingProps=b):h=xs(b,u,0,null),n=vo(n,u,l,null),h.return=r,n.return=r,h.sibling=n,r.child=h,r.child.memoizedState=Od(l),r.memoizedState=lo,n):Ld(r,b));if(f=n.memoizedState,f!==null&&(R=f.dehydrated,R!==null))return ug(n,r,b,u,R,f,l);if(h){h=u.fallback,b=r.mode,f=n.child,R=f.sibling;var k={mode:"hidden",children:u.children};return!(b&1)&&r.child!==f?(u=r.child,u.childLanes=0,u.pendingProps=k,r.deletions=null):(u=xl(f,k),u.subtreeFlags=f.subtreeFlags&14680064),R!==null?h=xl(R,h):(h=vo(h,b,l,null),h.flags|=2),h.return=r,u.return=r,u.sibling=h,r.child=u,u=h,h=r.child,b=n.child.memoizedState,b=b===null?Od(l):{baseLanes:b.baseLanes|l,cachePool:null,transitions:b.transitions},h.memoizedState=b,h.childLanes=n.childLanes&~l,r.memoizedState=lo,u}return h=n.child,n=h.sibling,u=xl(h,{mode:"visible",children:u.children}),!(r.mode&1)&&(u.lanes=l),u.return=r,u.sibling=null,n!==null&&(l=r.deletions,l===null?(r.deletions=[n],r.flags|=16):l.push(n)),r.child=u,r.memoizedState=null,u}function Ld(n,r){return r=xs({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function ou(n,r,l,u){return u!==null&&gd(u),eu(r,n.child,null,l),n=Ld(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function ug(n,r,l,u,f,h,b){if(l)return r.flags&256?(r.flags&=-257,u=ps(Error(p(422))),ou(n,r,b,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(h=u.fallback,f=r.mode,u=xs({mode:"visible",children:u.children},f,0,null),h=vo(h,f,b,null),h.flags|=2,u.return=r,h.return=r,u.sibling=h,r.child=u,r.mode&1&&eu(r,n.child,null,b),r.child.memoizedState=Od(b),r.memoizedState=lo,h);if(!(r.mode&1))return ou(n,r,b,null);if(f.data==="$!"){if(u=f.nextSibling&&f.nextSibling.dataset,u)var R=u.dgst;return u=R,h=Error(p(419)),u=ps(h,u,void 0),ou(n,r,b,u)}if(R=(b&n.childLanes)!==0,bn||R){if(u=ln,u!==null){switch(b&-b){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=f&(u.suspendedLanes|b)?0:f,f!==0&&f!==h.retryLane&&(h.retryLane=f,xi(n,f),ir(u,n,f,-1))}return Wd(),u=ps(Error(p(421))),ou(n,r,b,u)}return f.data==="$?"?(r.flags|=128,r.child=n.child,r=hg.bind(null,n),f._reactRetry=r,null):(n=h.treeContext,zr=Va(f.nextSibling),Xr=r,Gt=!0,pa=null,n!==null&&(Nr[er++]=jn,Nr[er++]=wi,Nr[er++]=da,jn=n.id,wi=n.overflow,da=r),r=Ld(r,u.children),r.flags|=4096,r)}function Nd(n,r,l){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),Nn(n.return,r,l)}function Ic(n,r,l,u,f){var h=n.memoizedState;h===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:f}:(h.isBackwards=r,h.rendering=null,h.renderingStartTime=0,h.last=u,h.tail=l,h.tailMode=f)}function zd(n,r,l){var u=r.pendingProps,f=u.revealOrder,h=u.tail;if(Rn(n,r,u.children,l),u=$e.current,u&2)u=u&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Nd(n,l,r);else if(n.tag===19)Nd(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}u&=1}if(Ot($e,u),!(r.mode&1))r.memoizedState=null;else switch(f){case"forwards":for(l=r.child,f=null;l!==null;)n=l.alternate,n!==null&&an(n)===null&&(f=l),l=l.sibling;l=f,l===null?(f=r.child,r.child=null):(f=l.sibling,l.sibling=null),Ic(r,!1,f,l,h);break;case"backwards":for(l=null,f=r.child,r.child=null;f!==null;){if(n=f.alternate,n!==null&&an(n)===null){r.child=f;break}n=f.sibling,f.sibling=l,l=f,f=n}Ic(r,!0,l,null,h);break;case"together":Ic(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function tr(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function $n(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),_i|=r.lanes,!(l&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(p(153));if(r.child!==null){for(n=r.child,l=xl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=xl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Di(n,r,l){switch(r.tag){case 3:jh(r),rn();break;case 5:je(r);break;case 1:Jt(r.type)&&dc(r);break;case 4:xd(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,f=r.memoizedProps.value;Ot(Ja,u._currentValue),u._currentValue=f;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(Ot($e,$e.current&1),r.flags|=128,null):l&r.child.childLanes?Ad(n,r,l):(Ot($e,$e.current&1),n=$n(n,r,l),n!==null?n.sibling:null);Ot($e,$e.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return zd(n,r,l);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Ot($e,$e.current),u)break;return null;case 22:case 23:return r.lanes=0,io(n,r,l)}return $n(n,r,l)}var vs,oo,ma,Tn;vs=function(n,r){for(var l=r.child;l!==null;){if(l.tag===5||l.tag===6)n.appendChild(l.stateNode);else if(l.tag!==4&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return;l=l.return}l.sibling.return=l.return,l=l.sibling}},oo=function(){},ma=function(n,r,l,u){var f=n.memoizedProps;if(f!==u){n=r.stateNode,ql(Ba.current);var h=null;switch(l){case"input":f=Zn(n,f),u=Zn(n,u),h=[];break;case"select":f=D({},f,{value:void 0}),u=D({},u,{value:void 0}),h=[];break;case"textarea":f=Wa(n,f),u=Wa(n,u),h=[];break;default:typeof f.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=fc)}wn(l,u);var b;l=null;for(j in f)if(!u.hasOwnProperty(j)&&f.hasOwnProperty(j)&&f[j]!=null)if(j==="style"){var R=f[j];for(b in R)R.hasOwnProperty(b)&&(l||(l={}),l[b]="")}else j!=="dangerouslySetInnerHTML"&&j!=="children"&&j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&j!=="autoFocus"&&(E.hasOwnProperty(j)?h||(h=[]):(h=h||[]).push(j,null));for(j in u){var k=u[j];if(R=f!=null?f[j]:void 0,u.hasOwnProperty(j)&&k!==R&&(k!=null||R!=null))if(j==="style")if(R){for(b in R)!R.hasOwnProperty(b)||k&&k.hasOwnProperty(b)||(l||(l={}),l[b]="");for(b in k)k.hasOwnProperty(b)&&R[b]!==k[b]&&(l||(l={}),l[b]=k[b])}else l||(h||(h=[]),h.push(j,l)),l=k;else j==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,R=R?R.__html:void 0,k!=null&&R!==k&&(h=h||[]).push(j,k)):j==="children"?typeof k!="string"&&typeof k!="number"||(h=h||[]).push(j,""+k):j!=="suppressContentEditableWarning"&&j!=="suppressHydrationWarning"&&(E.hasOwnProperty(j)?(k!=null&&j==="onScroll"&&Bt("scroll",n),h||R===k||(h=[])):(h=h||[]).push(j,k))}l&&(h=h||[]).push("style",l);var j=h;(r.updateQueue=j)&&(r.flags|=4)}},Tn=function(n,r,l,u){l!==u&&(r.flags|=4)};function ms(n,r){if(!Gt)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:u.sibling=null}}function nr(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,u=0;if(r)for(var f=n.child;f!==null;)l|=f.lanes|f.childLanes,u|=f.subtreeFlags&14680064,u|=f.flags&14680064,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)l|=f.lanes|f.childLanes,u|=f.subtreeFlags,u|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=u,n.childLanes=l,r}function sg(n,r,l){var u=r.pendingProps;switch(vd(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nr(r),null;case 1:return Jt(r.type)&&fa(),nr(r),null;case 3:return u=r.stateNode,gl(),_t(fn),_t(Ge),wc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(mc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,pa!==null&&(ws(pa),pa=null))),oo(n,r),nr(r),null;case 5:it(r);var f=ql(tu.current);if(l=r.type,n!==null&&r.stateNode!=null)ma(n,r,l,u,f),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(p(166));return nr(r),null}if(n=ql(Ba.current),mc(r)){u=r.stateNode,l=r.type;var h=r.memoizedProps;switch(u[qa]=r,u[Ql]=h,n=(r.mode&1)!==0,l){case"dialog":Bt("cancel",u),Bt("close",u);break;case"iframe":case"object":case"embed":Bt("load",u);break;case"video":case"audio":for(f=0;f<Ju.length;f++)Bt(Ju[f],u);break;case"source":Bt("error",u);break;case"img":case"image":case"link":Bt("error",u),Bt("load",u);break;case"details":Bt("toggle",u);break;case"input":Cr(u,h),Bt("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!h.multiple},Bt("invalid",u);break;case"textarea":xr(u,h),Bt("invalid",u)}wn(l,h),f=null;for(var b in h)if(h.hasOwnProperty(b)){var R=h[b];b==="children"?typeof R=="string"?u.textContent!==R&&(h.suppressHydrationWarning!==!0&&cc(u.textContent,R,n),f=["children",R]):typeof R=="number"&&u.textContent!==""+R&&(h.suppressHydrationWarning!==!0&&cc(u.textContent,R,n),f=["children",""+R]):E.hasOwnProperty(b)&&R!=null&&b==="onScroll"&&Bt("scroll",u)}switch(l){case"input":br(u),ka(u,h,!0);break;case"textarea":br(u),Rr(u);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(u.onclick=fc)}u=f,r.updateQueue=u,u!==null&&(r.flags|=4)}else{b=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Ma(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=b.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof u.is=="string"?n=b.createElement(l,{is:u.is}):(n=b.createElement(l),l==="select"&&(b=n,u.multiple?b.multiple=!0:u.size&&(b.size=u.size))):n=b.createElementNS(n,l),n[qa]=r,n[Ql]=u,vs(n,r,!1,!1),r.stateNode=n;e:{switch(b=vn(l,u),l){case"dialog":Bt("cancel",n),Bt("close",n),f=u;break;case"iframe":case"object":case"embed":Bt("load",n),f=u;break;case"video":case"audio":for(f=0;f<Ju.length;f++)Bt(Ju[f],n);f=u;break;case"source":Bt("error",n),f=u;break;case"img":case"image":case"link":Bt("error",n),Bt("load",n),f=u;break;case"details":Bt("toggle",n),f=u;break;case"input":Cr(n,u),f=Zn(n,u),Bt("invalid",n);break;case"option":f=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},f=D({},u,{value:void 0}),Bt("invalid",n);break;case"textarea":xr(n,u),f=Wa(n,u),Bt("invalid",n);break;default:f=u}wn(l,f),R=f;for(h in R)if(R.hasOwnProperty(h)){var k=R[h];h==="style"?Lt(n,k):h==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,k!=null&&Ul(n,k)):h==="children"?typeof k=="string"?(l!=="textarea"||k!=="")&&Ya(n,k):typeof k=="number"&&Ya(n,""+k):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(E.hasOwnProperty(h)?k!=null&&h==="onScroll"&&Bt("scroll",n):k!=null&&Te(n,h,k,b))}switch(l){case"input":br(n),ka(n,u,!1);break;case"textarea":br(n),Rr(n);break;case"option":u.value!=null&&n.setAttribute("value",""+ct(u.value));break;case"select":n.multiple=!!u.multiple,h=u.value,h!=null?wr(n,!!u.multiple,h,!1):u.defaultValue!=null&&wr(n,!!u.multiple,u.defaultValue,!0);break;default:typeof f.onClick=="function"&&(n.onclick=fc)}switch(l){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return nr(r),null;case 6:if(n&&r.stateNode!=null)Tn(n,r,n.memoizedProps,u);else{if(typeof u!="string"&&r.stateNode===null)throw Error(p(166));if(l=ql(tu.current),ql(Ba.current),mc(r)){if(u=r.stateNode,l=r.memoizedProps,u[qa]=r,(h=u.nodeValue!==l)&&(n=Xr,n!==null))switch(n.tag){case 3:cc(u.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&cc(u.nodeValue,l,(n.mode&1)!==0)}h&&(r.flags|=4)}else u=(l.nodeType===9?l:l.ownerDocument).createTextNode(u),u[qa]=r,r.stateNode=u}return nr(r),null;case 13:if(_t($e),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Gt&&zr!==null&&r.mode&1&&!(r.flags&128))kh(),rn(),r.flags|=98560,h=!1;else if(h=mc(r),u!==null&&u.dehydrated!==null){if(n===null){if(!h)throw Error(p(318));if(h=r.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(p(317));h[qa]=r}else rn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;nr(r),h=!1}else pa!==null&&(ws(pa),pa=null),h=!0;if(!h)return r.flags&65536?r:null}return r.flags&128?(r.lanes=l,r):(u=u!==null,u!==(n!==null&&n.memoizedState!==null)&&u&&(r.child.flags|=8192,r.mode&1&&(n===null||$e.current&1?kn===0&&(kn=3):Wd())),r.updateQueue!==null&&(r.flags|=4),nr(r),null);case 4:return gl(),oo(n,r),n===null&&Ko(r.stateNode.containerInfo),nr(r),null;case 10:return pl(r.type._context),nr(r),null;case 17:return Jt(r.type)&&fa(),nr(r),null;case 19:if(_t($e),h=r.memoizedState,h===null)return nr(r),null;if(u=(r.flags&128)!==0,b=h.rendering,b===null)if(u)ms(h,!1);else{if(kn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(b=an(n),b!==null){for(r.flags|=128,ms(h,!1),u=b.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=l,l=r.child;l!==null;)h=l,n=u,h.flags&=14680066,b=h.alternate,b===null?(h.childLanes=0,h.lanes=n,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=b.childLanes,h.lanes=b.lanes,h.child=b.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=b.memoizedProps,h.memoizedState=b.memoizedState,h.updateQueue=b.updateQueue,h.type=b.type,n=b.dependencies,h.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Ot($e,$e.current&1|2),r.child}n=n.sibling}h.tail!==null&&Zt()>hu&&(r.flags|=128,u=!0,ms(h,!1),r.lanes=4194304)}else{if(!u)if(n=an(b),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),ms(h,!0),h.tail===null&&h.tailMode==="hidden"&&!b.alternate&&!Gt)return nr(r),null}else 2*Zt()-h.renderingStartTime>hu&&l!==1073741824&&(r.flags|=128,u=!0,ms(h,!1),r.lanes=4194304);h.isBackwards?(b.sibling=r.child,r.child=b):(l=h.last,l!==null?l.sibling=b:r.child=b,h.last=b)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Zt(),r.sibling=null,l=$e.current,Ot($e,u?l&1|2:l&1),r):(nr(r),null);case 22:case 23:return Id(),u=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(r.flags|=8192),u&&r.mode&1?Zr&1073741824&&(nr(r),r.subtreeFlags&6&&(r.flags|=8192)):nr(r),null;case 24:return null;case 25:return null}throw Error(p(156,r.tag))}function Ud(n,r){switch(vd(r),r.tag){case 1:return Jt(r.type)&&fa(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return gl(),_t(fn),_t(Ge),wc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return it(r),null;case 13:if(_t($e),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(p(340));rn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return _t($e),null;case 4:return gl(),null;case 10:return pl(r.type._context),null;case 22:case 23:return Id(),null;case 24:return null;default:return null}}var gs=!1,Dn=!1,Ph=typeof WeakSet=="function"?WeakSet:Set,Ce=null;function uu(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(u){pn(n,r,u)}else l.current=null}function ys(n,r,l){try{l()}catch(u){pn(n,r,u)}}var $h=!1;function Ih(n,r){if(od=oa,n=ic(),Si(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var f=u.anchorOffset,h=u.focusNode;u=u.focusOffset;try{l.nodeType,h.nodeType}catch{l=null;break e}var b=0,R=-1,k=-1,j=0,ee=0,ne=n,Z=null;t:for(;;){for(var ve;ne!==l||f!==0&&ne.nodeType!==3||(R=b+f),ne!==h||u!==0&&ne.nodeType!==3||(k=b+u),ne.nodeType===3&&(b+=ne.nodeValue.length),(ve=ne.firstChild)!==null;)Z=ne,ne=ve;for(;;){if(ne===n)break t;if(Z===l&&++j===f&&(R=b),Z===h&&++ee===u&&(k=b),(ve=ne.nextSibling)!==null)break;ne=Z,Z=ne.parentNode}ne=ve}l=R===-1||k===-1?null:{start:R,end:k}}else l=null}l=l||{start:0,end:0}}else l=null;for(Yl={focusedElem:n,selectionRange:l},oa=!1,Ce=r;Ce!==null;)if(r=Ce,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Ce=n;else for(;Ce!==null;){r=Ce;try{var we=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(we!==null){var De=we.memoizedProps,gn=we.memoizedState,L=r.stateNode,M=L.getSnapshotBeforeUpdate(r.elementType===r.type?De:Kr(r.type,De),gn);L.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var U=r.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163))}}catch(ie){pn(r,r.return,ie)}if(n=r.sibling,n!==null){n.return=r.return,Ce=n;break}Ce=r.return}return we=$h,$h=!1,we}function Ss(n,r,l){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var f=u=u.next;do{if((f.tag&n)===n){var h=f.destroy;f.destroy=void 0,h!==void 0&&ys(r,l,h)}f=f.next}while(f!==u)}}function bs(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&n)===n){var u=l.create;l.destroy=u()}l=l.next}while(l!==r)}}function Fd(n){var r=n.ref;if(r!==null){var l=n.stateNode;switch(n.tag){case 5:n=l;break;default:n=l}typeof r=="function"?r(n):r.current=n}}function Hd(n){var r=n.alternate;r!==null&&(n.alternate=null,Hd(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[qa],delete r[Ql],delete r[cd],delete r[ng],delete r[fd])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Wh(n){return n.tag===5||n.tag===3||n.tag===4}function Wc(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Wh(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function su(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.nodeType===8?l.parentNode.insertBefore(n,r):l.insertBefore(n,r):(l.nodeType===8?(r=l.parentNode,r.insertBefore(n,l)):(r=l,r.appendChild(n)),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=fc));else if(u!==4&&(n=n.child,n!==null))for(su(n,r,l),n=n.sibling;n!==null;)su(n,r,l),n=n.sibling}function ti(n,r,l){var u=n.tag;if(u===5||u===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(u!==4&&(n=n.child,n!==null))for(ti(n,r,l),n=n.sibling;n!==null;)ti(n,r,l),n=n.sibling}var en=null,zn=!1;function ga(n,r,l){for(l=l.child;l!==null;)cu(n,r,l),l=l.sibling}function cu(n,r,l){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(Xi,l)}catch{}switch(l.tag){case 5:Dn||uu(l,r);case 6:var u=en,f=zn;en=null,ga(n,r,l),en=u,zn=f,en!==null&&(zn?(n=en,l=l.stateNode,n.nodeType===8?n.parentNode.removeChild(l):n.removeChild(l)):en.removeChild(l.stateNode));break;case 18:en!==null&&(zn?(n=en,l=l.stateNode,n.nodeType===8?ol(n.parentNode,l):n.nodeType===1&&ol(n,l),nl(n)):ol(en,l.stateNode));break;case 4:u=en,f=zn,en=l.stateNode.containerInfo,zn=!0,ga(n,r,l),en=u,zn=f;break;case 0:case 11:case 14:case 15:if(!Dn&&(u=l.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){f=u=u.next;do{var h=f,b=h.destroy;h=h.tag,b!==void 0&&(h&2||h&4)&&ys(l,r,b),f=f.next}while(f!==u)}ga(n,r,l);break;case 1:if(!Dn&&(uu(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(R){pn(l,r,R)}ga(n,r,l);break;case 21:ga(n,r,l);break;case 22:l.mode&1?(Dn=(u=Dn)||l.memoizedState!==null,ga(n,r,l),Dn=u):ga(n,r,l);break;default:ga(n,r,l)}}function ki(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new Ph),r.forEach(function(u){var f=vg.bind(null,n,u);l.has(u)||(l.add(u),u.then(f,f))})}}function ja(n,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var f=l[u];try{var h=n,b=r,R=b;e:for(;R!==null;){switch(R.tag){case 5:en=R.stateNode,zn=!1;break e;case 3:en=R.stateNode.containerInfo,zn=!0;break e;case 4:en=R.stateNode.containerInfo,zn=!0;break e}R=R.return}if(en===null)throw Error(p(160));cu(h,b,f),en=null,zn=!1;var k=f.alternate;k!==null&&(k.return=null),f.return=null}catch(j){pn(f,r,j)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Yh(r,n),r=r.sibling}function Yh(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(ja(r,n),ni(n),u&4){try{Ss(3,n,n.return),bs(3,n)}catch(De){pn(n,n.return,De)}try{Ss(5,n,n.return)}catch(De){pn(n,n.return,De)}}break;case 1:ja(r,n),ni(n),u&512&&l!==null&&uu(l,l.return);break;case 5:if(ja(r,n),ni(n),u&512&&l!==null&&uu(l,l.return),n.flags&32){var f=n.stateNode;try{Ya(f,"")}catch(De){pn(n,n.return,De)}}if(u&4&&(f=n.stateNode,f!=null)){var h=n.memoizedProps,b=l!==null?l.memoizedProps:h,R=n.type,k=n.updateQueue;if(n.updateQueue=null,k!==null)try{R==="input"&&h.type==="radio"&&h.name!=null&&Er(f,h),vn(R,b);var j=vn(R,h);for(b=0;b<k.length;b+=2){var ee=k[b],ne=k[b+1];ee==="style"?Lt(f,ne):ee==="dangerouslySetInnerHTML"?Ul(f,ne):ee==="children"?Ya(f,ne):Te(f,ee,ne,j)}switch(R){case"input":Mn(f,h);break;case"textarea":_a(f,h);break;case"select":var Z=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!h.multiple;var ve=h.value;ve!=null?wr(f,!!h.multiple,ve,!1):Z!==!!h.multiple&&(h.defaultValue!=null?wr(f,!!h.multiple,h.defaultValue,!0):wr(f,!!h.multiple,h.multiple?[]:"",!1))}f[Ql]=h}catch(De){pn(n,n.return,De)}}break;case 6:if(ja(r,n),ni(n),u&4){if(n.stateNode===null)throw Error(p(162));f=n.stateNode,h=n.memoizedProps;try{f.nodeValue=h}catch(De){pn(n,n.return,De)}}break;case 3:if(ja(r,n),ni(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{nl(r.containerInfo)}catch(De){pn(n,n.return,De)}break;case 4:ja(r,n),ni(n);break;case 13:ja(r,n),ni(n),f=n.child,f.flags&8192&&(h=f.memoizedState!==null,f.stateNode.isHidden=h,!h||f.alternate!==null&&f.alternate.memoizedState!==null||(jd=Zt())),u&4&&ki(n);break;case 22:if(ee=l!==null&&l.memoizedState!==null,n.mode&1?(Dn=(j=Dn)||ee,ja(r,n),Dn=j):ja(r,n),ni(n),u&8192){if(j=n.memoizedState!==null,(n.stateNode.isHidden=j)&&!ee&&n.mode&1)for(Ce=n,ee=n.child;ee!==null;){for(ne=Ce=ee;Ce!==null;){switch(Z=Ce,ve=Z.child,Z.tag){case 0:case 11:case 14:case 15:Ss(4,Z,Z.return);break;case 1:uu(Z,Z.return);var we=Z.stateNode;if(typeof we.componentWillUnmount=="function"){u=Z,l=Z.return;try{r=u,we.props=r.memoizedProps,we.state=r.memoizedState,we.componentWillUnmount()}catch(De){pn(u,l,De)}}break;case 5:uu(Z,Z.return);break;case 22:if(Z.memoizedState!==null){Vd(ne);continue}}ve!==null?(ve.return=Z,Ce=ve):Vd(ne)}ee=ee.sibling}e:for(ee=null,ne=n;;){if(ne.tag===5){if(ee===null){ee=ne;try{f=ne.stateNode,j?(h=f.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(R=ne.stateNode,k=ne.memoizedProps.style,b=k!=null&&k.hasOwnProperty("display")?k.display:null,R.style.display=nt("display",b))}catch(De){pn(n,n.return,De)}}}else if(ne.tag===6){if(ee===null)try{ne.stateNode.nodeValue=j?"":ne.memoizedProps}catch(De){pn(n,n.return,De)}}else if((ne.tag!==22&&ne.tag!==23||ne.memoizedState===null||ne===n)&&ne.child!==null){ne.child.return=ne,ne=ne.child;continue}if(ne===n)break e;for(;ne.sibling===null;){if(ne.return===null||ne.return===n)break e;ee===ne&&(ee=null),ne=ne.return}ee===ne&&(ee=null),ne.sibling.return=ne.return,ne=ne.sibling}}break;case 19:ja(r,n),ni(n),u&4&&ki(n);break;case 21:break;default:ja(r,n),ni(n)}}function ni(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(Wh(l)){var u=l;break e}l=l.return}throw Error(p(160))}switch(u.tag){case 5:var f=u.stateNode;u.flags&32&&(Ya(f,""),u.flags&=-33);var h=Wc(n);ti(n,h,f);break;case 3:case 4:var b=u.stateNode.containerInfo,R=Wc(n);su(n,R,b);break;default:throw Error(p(161))}}catch(k){pn(n,n.return,k)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Gh(n,r,l){Ce=n,fu(n)}function fu(n,r,l){for(var u=(n.mode&1)!==0;Ce!==null;){var f=Ce,h=f.child;if(f.tag===22&&u){var b=f.memoizedState!==null||gs;if(!b){var R=f.alternate,k=R!==null&&R.memoizedState!==null||Dn;R=gs;var j=Dn;if(gs=b,(Dn=k)&&!j)for(Ce=f;Ce!==null;)b=Ce,k=b.child,b.tag===22&&b.memoizedState!==null?Xh(f):k!==null?(k.return=b,Ce=k):Xh(f);for(;h!==null;)Ce=h,fu(h),h=h.sibling;Ce=f,gs=R,Dn=j}Qh(n)}else f.subtreeFlags&8772&&h!==null?(h.return=f,Ce=h):Qh(n)}}function Qh(n){for(;Ce!==null;){var r=Ce;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Dn||bs(5,r);break;case 1:var u=r.stateNode;if(r.flags&4&&!Dn)if(l===null)u.componentDidMount();else{var f=r.elementType===r.type?l.memoizedProps:Kr(r.type,l.memoizedProps);u.componentDidUpdate(f,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var h=r.updateQueue;h!==null&&Kl(r,h,u);break;case 3:var b=r.updateQueue;if(b!==null){if(l=null,r.child!==null)switch(r.child.tag){case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}Kl(r,b,l)}break;case 5:var R=r.stateNode;if(l===null&&r.flags&4){l=R;var k=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":k.autoFocus&&l.focus();break;case"img":k.src&&(l.src=k.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var j=r.alternate;if(j!==null){var ee=j.memoizedState;if(ee!==null){var ne=ee.dehydrated;ne!==null&&nl(ne)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(p(163))}Dn||r.flags&512&&Fd(r)}catch(Z){pn(r,r.return,Z)}}if(r===n){Ce=null;break}if(l=r.sibling,l!==null){l.return=r.return,Ce=l;break}Ce=r.return}}function Vd(n){for(;Ce!==null;){var r=Ce;if(r===n){Ce=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Ce=l;break}Ce=r.return}}function Xh(n){for(;Ce!==null;){var r=Ce;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{bs(4,r)}catch(k){pn(r,l,k)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var f=r.return;try{u.componentDidMount()}catch(k){pn(r,f,k)}}var h=r.return;try{Fd(r)}catch(k){pn(r,h,k)}break;case 5:var b=r.return;try{Fd(r)}catch(k){pn(r,b,k)}}}catch(k){pn(r,r.return,k)}if(r===n){Ce=null;break}var R=r.sibling;if(R!==null){R.return=r.return,Ce=R;break}Ce=r.return}}var Yc=Math.ceil,Cs=He.ReactCurrentDispatcher,Bd=He.ReactCurrentOwner,rr=He.ReactCurrentBatchConfig,ut=0,ln=null,dn=null,Un=0,Zr=0,du=et(0),kn=0,Es=null,_i=0,Gc=0,pu=0,uo=null,cr=null,jd=0,hu=1/0,Mi=null,Qc=!1,so=null,ri=null,Cl=!1,El=null,Xc=0,vu=0,Kc=null,co=-1,fo=0;function ar(){return ut&6?Zt():co!==-1?co:co=Zt()}function Cn(n){return n.mode&1?ut&2&&Un!==0?Un&-Un:gc.transition!==null?(fo===0&&(fo=Uo()),fo):(n=wt,n!==0||(n=window.event,n=n===void 0?16:Iu(n.type)),n):1}function ir(n,r,l,u){if(50<vu)throw vu=0,Kc=null,Error(p(185));hi(n,l,u),(!(ut&2)||n!==ln)&&(n===ln&&(!(ut&2)&&(Gc|=l),kn===4&&ya(n,Un)),lr(n,u),l===1&&ut===0&&!(r.mode&1)&&(hu=Zt()+500,Ln&&Ar()))}function lr(n,r){var l=n.callbackNode;Zi(n,r);var u=ur(n,n===ln?Un:0);if(u===0)l!==null&&Ks(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&Ks(l),r===1)n.tag===0?pd(Kh.bind(null,n)):dd(Kh.bind(null,n)),sd(function(){!(ut&6)&&Ar()}),l=null;else{switch(Ho(u)){case 1:l=La;break;case 4:l=rt;break;case 16:l=Qa;break;case 536870912:l=No;break;default:l=Qa}l=Gd(l,mu.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function mu(n,r){if(co=-1,fo=0,ut&6)throw Error(p(327));var l=n.callbackNode;if(yu()&&n.callbackNode!==l)return null;var u=ur(n,n===ln?Un:0);if(u===0)return null;if(u&30||u&n.expiredLanes||r)r=Zc(n,u);else{r=u;var f=ut;ut|=2;var h=qc();(ln!==n||Un!==r)&&(Mi=null,hu=Zt()+500,po(n,r));do try{fg();break}catch(R){qh(n,R)}while(!0);Sd(),Cs.current=h,ut=f,dn!==null?r=0:(ln=null,Un=0,r=kn)}if(r!==0){if(r===2&&(f=Ji(n),f!==0&&(u=f,r=Pd(n,f))),r===1)throw l=Es,po(n,0),ya(n,u),lr(n,Zt()),l;if(r===6)ya(n,u);else{if(f=n.current.alternate,!(u&30)&&!$d(f)&&(r=Zc(n,u),r===2&&(h=Ji(n),h!==0&&(u=h,r=Pd(n,h))),r===1))throw l=Es,po(n,0),ya(n,u),lr(n,Zt()),l;switch(n.finishedWork=f,n.finishedLanes=u,r){case 0:case 1:throw Error(p(345));case 2:ho(n,cr,Mi);break;case 3:if(ya(n,u),(u&130023424)===u&&(r=jd+500-Zt(),10<r)){if(ur(n,0)!==0)break;if(f=n.suspendedLanes,(f&u)!==u){ar(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=Gl(ho.bind(null,n,cr,Mi),r);break}ho(n,cr,Mi);break;case 4:if(ya(n,u),(u&4194240)===u)break;for(r=n.eventTimes,f=-1;0<u;){var b=31-or(u);h=1<<b,b=r[b],b>f&&(f=b),u&=~h}if(u=f,u=Zt()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*Yc(u/1960))-u,10<u){n.timeoutHandle=Gl(ho.bind(null,n,cr,Mi),u);break}ho(n,cr,Mi);break;case 5:ho(n,cr,Mi);break;default:throw Error(p(329))}}}return lr(n,Zt()),n.callbackNode===l?mu.bind(null,n):null}function Pd(n,r){var l=uo;return n.current.memoizedState.isDehydrated&&(po(n,r).flags|=256),n=Zc(n,r),n!==2&&(r=cr,cr=l,r!==null&&ws(r)),n}function ws(n){cr===null?cr=n:cr.push.apply(cr,n)}function $d(n){for(var r=n;;){if(r.flags&16384){var l=r.updateQueue;if(l!==null&&(l=l.stores,l!==null))for(var u=0;u<l.length;u++){var f=l[u],h=f.getSnapshot;f=f.value;try{if(!ua(h(),f))return!1}catch{return!1}}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function ya(n,r){for(r&=~pu,r&=~Gc,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var l=31-or(r),u=1<<l;n[l]=-1,r&=~u}}function Kh(n){if(ut&6)throw Error(p(327));yu();var r=ur(n,0);if(!(r&1))return lr(n,Zt()),null;var l=Zc(n,r);if(n.tag!==0&&l===2){var u=Ji(n);u!==0&&(r=u,l=Pd(n,u))}if(l===1)throw l=Es,po(n,0),ya(n,r),lr(n,Zt()),l;if(l===6)throw Error(p(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,ho(n,cr,Mi),lr(n,Zt()),null}function gu(n,r){var l=ut;ut|=1;try{return n(r)}finally{ut=l,ut===0&&(hu=Zt()+500,Ln&&Ar())}}function wl(n){El!==null&&El.tag===0&&!(ut&6)&&yu();var r=ut;ut|=1;var l=rr.transition,u=wt;try{if(rr.transition=null,wt=1,n)return n()}finally{wt=u,rr.transition=l,ut=r,!(ut&6)&&Ar()}}function Id(){Zr=du.current,_t(du)}function po(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,xh(l)),dn!==null)for(l=dn.return;l!==null;){var u=l;switch(vd(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&fa();break;case 3:gl(),_t(fn),_t(Ge),wc();break;case 5:it(u);break;case 4:gl();break;case 13:_t($e);break;case 19:_t($e);break;case 10:pl(u.type._context);break;case 22:case 23:Id()}l=l.return}if(ln=n,dn=n=xl(n.current,null),Un=Zr=r,kn=0,Es=null,pu=Gc=_i=0,cr=uo=null,Pn!==null){for(r=0;r<Pn.length;r++)if(l=Pn[r],u=l.interleaved,u!==null){l.interleaved=null;var f=u.next,h=l.pending;if(h!==null){var b=h.next;h.next=f,u.next=b}l.pending=u}Pn=null}return n}function qh(n,r){do{var l=dn;try{if(Sd(),xc.current=Bc,Ie){for(var u=Qt.memoizedState;u!==null;){var f=u.queue;f!==null&&(f.pending=null),u=u.next}Ie=!1}if(Zl=0,pt=Y=Qt=null,ei=!1,qr=0,Bd.current=null,l===null||l.return===null){kn=1,Es=r,dn=null;break}e:{var h=n,b=l.return,R=l,k=r;if(r=Un,R.flags|=32768,k!==null&&typeof k=="object"&&typeof k.then=="function"){var j=k,ee=R,ne=ee.tag;if(!(ee.mode&1)&&(ne===0||ne===11||ne===15)){var Z=ee.alternate;Z?(ee.updateQueue=Z.updateQueue,ee.memoizedState=Z.memoizedState,ee.lanes=Z.lanes):(ee.updateQueue=null,ee.memoizedState=null)}var ve=kd(b);if(ve!==null){ve.flags&=-257,_d(ve,b,R,h,r),ve.mode&1&&Vh(h,j,r),r=ve,k=j;var we=r.updateQueue;if(we===null){var De=new Set;De.add(k),r.updateQueue=De}else we.add(k);break e}else{if(!(r&1)){Vh(h,j,r),Wd();break e}k=Error(p(426))}}else if(Gt&&R.mode&1){var gn=kd(b);if(gn!==null){!(gn.flags&65536)&&(gn.flags|=256),_d(gn,b,R,h,r),gd(iu(k,R));break e}}h=k=iu(k,R),kn!==4&&(kn=2),uo===null?uo=[h]:uo.push(h),h=b;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var L=Hh(h,k,r);Ed(h,L);break e;case 1:R=k;var M=h.type,U=h.stateNode;if(!(h.flags&128)&&(typeof M.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(ri===null||!ri.has(U)))){h.flags|=65536,r&=-r,h.lanes|=r;var ie=hs(h,R,r);Ed(h,ie);break e}}h=h.return}while(h!==null)}Yd(l)}catch(Oe){r=Oe,dn===l&&l!==null&&(dn=l=l.return);continue}break}while(!0)}function qc(){var n=Cs.current;return Cs.current=Bc,n===null?Bc:n}function Wd(){(kn===0||kn===3||kn===2)&&(kn=4),ln===null||!(_i&268435455)&&!(Gc&268435455)||ya(ln,Un)}function Zc(n,r){var l=ut;ut|=2;var u=qc();(ln!==n||Un!==r)&&(Mi=null,po(n,r));do try{cg();break}catch(f){qh(n,f)}while(!0);if(Sd(),ut=l,Cs.current=u,dn!==null)throw Error(p(261));return ln=null,Un=0,kn}function cg(){for(;dn!==null;)Zh(dn)}function fg(){for(;dn!==null&&!Vf();)Zh(dn)}function Zh(n){var r=ev(n.alternate,n,Zr);n.memoizedProps=n.pendingProps,r===null?Yd(n):dn=r,Bd.current=null}function Yd(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=Ud(l,r),l!==null){l.flags&=32767,dn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{kn=6,dn=null;return}}else if(l=sg(l,r,Zr),l!==null){dn=l;return}if(r=r.sibling,r!==null){dn=r;return}dn=r=n}while(r!==null);kn===0&&(kn=5)}function ho(n,r,l){var u=wt,f=rr.transition;try{rr.transition=null,wt=1,dg(n,r,l,u)}finally{rr.transition=f,wt=u}return null}function dg(n,r,l,u){do yu();while(El!==null);if(ut&6)throw Error(p(327));l=n.finishedWork;var f=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(p(177));n.callbackNode=null,n.callbackPriority=0;var h=l.lanes|l.childLanes;if(Pf(n,h),n===ln&&(dn=ln=null,Un=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||Cl||(Cl=!0,Gd(Qa,function(){return yu(),null})),h=(l.flags&15990)!==0,l.subtreeFlags&15990||h){h=rr.transition,rr.transition=null;var b=wt;wt=1;var R=ut;ut|=4,Bd.current=null,Ih(n,l),Yh(l,n),lc(Yl),oa=!!od,Yl=od=null,n.current=l,Gh(l),Bf(),ut=R,wt=b,rr.transition=h}else n.current=l;if(Cl&&(Cl=!1,El=n,Xc=f),h=n.pendingLanes,h===0&&(ri=null),ju(l.stateNode),lr(n,Zt()),r!==null)for(u=n.onRecoverableError,l=0;l<r.length;l++)f=r[l],u(f.value,{componentStack:f.stack,digest:f.digest});if(Qc)throw Qc=!1,n=so,so=null,n;return Xc&1&&n.tag!==0&&yu(),h=n.pendingLanes,h&1?n===Kc?vu++:(vu=0,Kc=n):vu=0,Ar(),null}function yu(){if(El!==null){var n=Ho(Xc),r=rr.transition,l=wt;try{if(rr.transition=null,wt=16>n?16:n,El===null)var u=!1;else{if(n=El,El=null,Xc=0,ut&6)throw Error(p(331));var f=ut;for(ut|=4,Ce=n.current;Ce!==null;){var h=Ce,b=h.child;if(Ce.flags&16){var R=h.deletions;if(R!==null){for(var k=0;k<R.length;k++){var j=R[k];for(Ce=j;Ce!==null;){var ee=Ce;switch(ee.tag){case 0:case 11:case 15:Ss(8,ee,h)}var ne=ee.child;if(ne!==null)ne.return=ee,Ce=ne;else for(;Ce!==null;){ee=Ce;var Z=ee.sibling,ve=ee.return;if(Hd(ee),ee===j){Ce=null;break}if(Z!==null){Z.return=ve,Ce=Z;break}Ce=ve}}}var we=h.alternate;if(we!==null){var De=we.child;if(De!==null){we.child=null;do{var gn=De.sibling;De.sibling=null,De=gn}while(De!==null)}}Ce=h}}if(h.subtreeFlags&2064&&b!==null)b.return=h,Ce=b;else e:for(;Ce!==null;){if(h=Ce,h.flags&2048)switch(h.tag){case 0:case 11:case 15:Ss(9,h,h.return)}var L=h.sibling;if(L!==null){L.return=h.return,Ce=L;break e}Ce=h.return}}var M=n.current;for(Ce=M;Ce!==null;){b=Ce;var U=b.child;if(b.subtreeFlags&2064&&U!==null)U.return=b,Ce=U;else e:for(b=M;Ce!==null;){if(R=Ce,R.flags&2048)try{switch(R.tag){case 0:case 11:case 15:bs(9,R)}}catch(Oe){pn(R,R.return,Oe)}if(R===b){Ce=null;break e}var ie=R.sibling;if(ie!==null){ie.return=R.return,Ce=ie;break e}Ce=R.return}}if(ut=f,Ar(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(Xi,n)}catch{}u=!0}return u}finally{wt=l,rr.transition=r}}return!1}function Jh(n,r,l){r=iu(l,r),r=Hh(n,r,1),n=vl(n,r,1),r=ar(),n!==null&&(hi(n,1,r),lr(n,r))}function pn(n,r,l){if(n.tag===3)Jh(n,n,l);else for(;r!==null;){if(r.tag===3){Jh(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ri===null||!ri.has(u))){n=iu(l,n),n=hs(r,n,1),r=vl(r,n,1),n=ar(),r!==null&&(hi(r,1,n),lr(r,n));break}}r=r.return}}function pg(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=ar(),n.pingedLanes|=n.suspendedLanes&l,ln===n&&(Un&l)===l&&(kn===4||kn===3&&(Un&130023424)===Un&&500>Zt()-jd?po(n,0):pu|=l),lr(n,r)}function Jc(n,r){r===0&&(n.mode&1?(r=Ki,Ki<<=1,!(Ki&130023424)&&(Ki=4194304)):r=1);var l=ar();n=xi(n,r),n!==null&&(hi(n,r,l),lr(n,l))}function hg(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Jc(n,l)}function vg(n,r){var l=0;switch(n.tag){case 13:var u=n.stateNode,f=n.memoizedState;f!==null&&(l=f.retryLane);break;case 19:u=n.stateNode;break;default:throw Error(p(314))}u!==null&&u.delete(r),Jc(n,l)}var ev;ev=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||fn.current)bn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return bn=!1,Di(n,r,l);bn=!!(n.flags&131072)}else bn=!1,Gt&&r.flags&1048576&&hd(r,Zo,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;tr(n,r),n=r.pendingProps;var f=ca(r,Ge.current);ue(r,l),f=yl(null,r,u,n,f,l);var h=to();return r.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Jt(u)?(h=!0,dc(r)):h=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Cd(r),f.updater=bc,r.stateNode=f,f._reactInternals=r,Cc(r,u,n,l),r=Bh(null,r,u,!0,h,l)):(r.tag=0,Gt&&h&&pc(r),Rn(null,r,f,l),r=r.child),r;case 16:u=r.elementType;e:{switch(tr(n,r),n=r.pendingProps,f=u._init,u=f(u._payload),r.type=u,f=r.tag=gg(u),n=Kr(u,n),f){case 0:r=lu(null,r,u,n,l);break e;case 1:r=Md(null,r,u,n,l);break e;case 11:r=bl(null,r,u,n,l);break e;case 14:r=Pc(null,r,u,Kr(u.type,n),l);break e}throw Error(p(306,u,""))}return r;case 0:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Kr(u,f),lu(n,r,u,f,l);case 1:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Kr(u,f),Md(n,r,u,f,l);case 3:e:{if(jh(r),n===null)throw Error(p(387));u=r.pendingProps,h=r.memoizedState,f=h.element,xn(n,r),ml(r,u,null,l);var b=r.memoizedState;if(u=b.element,h.isDehydrated)if(h={element:u,isDehydrated:!1,cache:b.cache,pendingSuspenseBoundaries:b.pendingSuspenseBoundaries,transitions:b.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){f=iu(Error(p(423)),r),r=$c(n,r,u,l,f);break e}else if(u!==f){f=iu(Error(p(424)),r),r=$c(n,r,u,l,f);break e}else for(zr=Va(r.stateNode.containerInfo.firstChild),Xr=r,Gt=!0,pa=null,l=Uh(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(rn(),u===f){r=$n(n,r,l);break e}Rn(n,r,u,l)}r=r.child}return r;case 5:return je(r),n===null&&vc(r),u=r.type,f=r.pendingProps,h=n!==null?n.memoizedProps:null,b=f.children,ns(u,f)?b=null:h!==null&&ns(u,h)&&(r.flags|=32),tt(n,r),Rn(n,r,b,l),r.child;case 6:return n===null&&vc(r),null;case 13:return Ad(n,r,l);case 4:return xd(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=eu(r,null,u,l):Rn(n,r,u,l),r.child;case 11:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Kr(u,f),bl(n,r,u,f,l);case 7:return Rn(n,r,r.pendingProps,l),r.child;case 8:return Rn(n,r,r.pendingProps.children,l),r.child;case 12:return Rn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(u=r.type._context,f=r.pendingProps,h=r.memoizedProps,b=f.value,Ot(Ja,u._currentValue),u._currentValue=b,h!==null)if(ua(h.value,b)){if(h.children===f.children&&!fn.current){r=$n(n,r,l);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var R=h.dependencies;if(R!==null){b=h.child;for(var k=R.firstContext;k!==null;){if(k.context===u){if(h.tag===1){k=Ri(-1,l&-l),k.tag=2;var j=h.updateQueue;if(j!==null){j=j.shared;var ee=j.pending;ee===null?k.next=k:(k.next=ee.next,ee.next=k),j.pending=k}}h.lanes|=l,k=h.alternate,k!==null&&(k.lanes|=l),Nn(h.return,l,r),R.lanes|=l;break}k=k.next}}else if(h.tag===10)b=h.type===r.type?null:h.child;else if(h.tag===18){if(b=h.return,b===null)throw Error(p(341));b.lanes|=l,R=b.alternate,R!==null&&(R.lanes|=l),Nn(b,l,r),b=h.sibling}else b=h.child;if(b!==null)b.return=h;else for(b=h;b!==null;){if(b===r){b=null;break}if(h=b.sibling,h!==null){h.return=b.return,b=h;break}b=b.return}h=b}Rn(n,r,f.children,l),r=r.child}return r;case 9:return f=r.type,u=r.pendingProps.children,ue(r,l),f=mn(f),u=u(f),r.flags|=1,Rn(n,r,u,l),r.child;case 14:return u=r.type,f=Kr(u,r.pendingProps),f=Kr(u.type,f),Pc(n,r,u,f,l);case 15:return Hr(n,r,r.type,r.pendingProps,l);case 17:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Kr(u,f),tr(n,r),r.tag=1,Jt(u)?(n=!0,dc(r)):n=!1,ue(r,l),Ah(r,u,f),Cc(r,u,f,l),Bh(null,r,u,!0,n,l);case 19:return zd(n,r,l);case 22:return io(n,r,l)}throw Error(p(156,r.tag))};function Gd(n,r){return Bu(n,r)}function mg(n,r,l,u){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Sa(n,r,l,u){return new mg(n,r,l,u)}function Qd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function gg(n){if(typeof n=="function")return Qd(n)?1:0;if(n!=null){if(n=n.$$typeof,n===un)return 11;if(n===qt)return 14}return 2}function xl(n,r){var l=n.alternate;return l===null?(l=Sa(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&14680064,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l}function ef(n,r,l,u,f,h){var b=2;if(u=n,typeof n=="function")Qd(n)&&(b=1);else if(typeof n=="string")b=5;else e:switch(n){case Le:return vo(l.children,f,h,r);case lt:b=8,f|=8;break;case Tt:return n=Sa(12,l,r,f|2),n.elementType=Tt,n.lanes=h,n;case _e:return n=Sa(13,l,r,f),n.elementType=_e,n.lanes=h,n;case dt:return n=Sa(19,l,r,f),n.elementType=dt,n.lanes=h,n;case Me:return xs(l,f,h,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Dt:b=10;break e;case gt:b=9;break e;case un:b=11;break e;case qt:b=14;break e;case kt:b=16,u=null;break e}throw Error(p(130,n==null?n:typeof n,""))}return r=Sa(b,l,r,f),r.elementType=n,r.type=u,r.lanes=h,r}function vo(n,r,l,u){return n=Sa(7,n,u,r),n.lanes=l,n}function xs(n,r,l,u){return n=Sa(22,n,u,r),n.elementType=Me,n.lanes=l,n.stateNode={isHidden:!1},n}function Rs(n,r,l){return n=Sa(6,n,null,r),n.lanes=l,n}function mo(n,r,l){return r=Sa(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function yg(n,r,l,u,f){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Fo(0),this.expirationTimes=Fo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fo(0),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function tf(n,r,l,u,f,h,b,R,k){return n=new yg(n,r,l,R,k),r===1?(r=1,h===!0&&(r|=8)):r=0,h=Sa(3,null,null,r),n.current=h,h.stateNode=n,h.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cd(h),n}function tv(n,r,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ee,key:u==null?null:""+u,children:n,containerInfo:r,implementation:l}}function Xd(n){if(!n)return Za;n=n._reactInternals;e:{if(ia(n)!==n||n.tag!==1)throw Error(p(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Jt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(p(171))}if(n.tag===1){var l=n.type;if(Jt(l))return is(n,l,r)}return r}function nv(n,r,l,u,f,h,b,R,k){return n=tf(l,u,!0,n,f,h,b,R,k),n.context=Xd(null),l=n.current,u=ar(),f=Cn(l),h=Ri(u,f),h.callback=r??null,vl(l,h,f),n.current.lanes=f,hi(n,f,u),lr(n,u),n}function Ts(n,r,l,u){var f=r.current,h=ar(),b=Cn(f);return l=Xd(l),r.context===null?r.context=l:r.pendingContext=l,r=Ri(h,b),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=vl(f,r,b),n!==null&&(ir(n,f,b,h),Sc(n,f,b)),b}function nf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function rv(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function Kd(n,r){rv(n,r),(n=n.alternate)&&rv(n,r)}function av(){return null}var qd=typeof reportError=="function"?reportError:function(n){console.error(n)};function rf(n){this._internalRoot=n}Oi.prototype.render=rf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(p(409));Ts(n,r,null,null)},Oi.prototype.unmount=rf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;wl(function(){Ts(null,n,null,null)}),r[Ei]=null}};function Oi(n){this._internalRoot=n}Oi.prototype.unstable_scheduleHydration=function(n){if(n){var r=Bo();n={blockedOn:null,target:n,priority:r};for(var l=0;l<Mt.length&&r!==0&&r<Mt[l].priority;l++);Mt.splice(l,0,n),l===0&&Js(n)}};function Zd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function af(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function iv(){}function Sg(n,r,l,u,f){if(f){if(typeof u=="function"){var h=u;u=function(){var j=nf(b);h.call(j)}}var b=nv(r,u,n,0,null,!1,!1,"",iv);return n._reactRootContainer=b,n[Ei]=b.current,Ko(n.nodeType===8?n.parentNode:n),wl(),b}for(;f=n.lastChild;)n.removeChild(f);if(typeof u=="function"){var R=u;u=function(){var j=nf(k);R.call(j)}}var k=tf(n,0,!1,null,null,!1,!1,"",iv);return n._reactRootContainer=k,n[Ei]=k.current,Ko(n.nodeType===8?n.parentNode:n),wl(function(){Ts(r,k,l,u)}),k}function lf(n,r,l,u,f){var h=l._reactRootContainer;if(h){var b=h;if(typeof f=="function"){var R=f;f=function(){var k=nf(b);R.call(k)}}Ts(r,b,n,f)}else b=Sg(l,r,n,f,u);return nf(b)}Vl=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=Na(r.pendingLanes);l!==0&&(Xa(r,l|1),lr(r,Zt()),!(ut&6)&&(hu=Zt()+500,Ar()))}break;case 13:wl(function(){var u=xi(n,1);if(u!==null){var f=ar();ir(u,n,1,f)}}),Kd(n,1)}},Vo=function(n){if(n.tag===13){var r=xi(n,134217728);if(r!==null){var l=ar();ir(r,n,134217728,l)}Kd(n,134217728)}},yt=function(n){if(n.tag===13){var r=Cn(n),l=xi(n,r);if(l!==null){var u=ar();ir(l,n,r,u)}Kd(n,r)}},Bo=function(){return wt},jo=function(n,r){var l=wt;try{return wt=n,r()}finally{wt=l}},aa=function(n,r,l){switch(r){case"input":if(Mn(n,l),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<l.length;r++){var u=l[r];if(u!==n&&u.form===n.form){var f=Fe(u);if(!f)throw Error(p(90));Da(u),Mn(u,f)}}}break;case"textarea":_a(n,l);break;case"select":r=l.value,r!=null&&wr(n,!!l.multiple,r,!1)}},Ys=gu,Gs=wl;var bg={usingClientEntryPoint:!1,Events:[as,qo,Fe,pi,Oo,gu]},Su={findFiberByHostInstance:sa,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Cg={bundleType:Su.bundleType,version:Su.version,rendererPackageName:Su.rendererPackageName,rendererConfig:Su.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:He.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Qs(n),n===null?null:n.stateNode},findFiberByHostInstance:Su.findFiberByHostInstance||av,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var of=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!of.isDisabled&&of.supportsFiber)try{Xi=of.inject(Cg),Dr=of}catch{}}return Ta.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=bg,Ta.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Zd(r))throw Error(p(200));return tv(n,r,null,l)},Ta.createRoot=function(n,r){if(!Zd(n))throw Error(p(299));var l=!1,u="",f=qd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=tf(n,1,!1,null,null,l,!1,u,f),n[Ei]=r.current,Ko(n.nodeType===8?n.parentNode:n),new rf(r)},Ta.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(p(188)):(n=Object.keys(n).join(","),Error(p(268,n)));return n=Qs(r),n=n===null?null:n.stateNode,n},Ta.flushSync=function(n){return wl(n)},Ta.hydrate=function(n,r,l){if(!af(r))throw Error(p(200));return lf(null,n,r,!0,l)},Ta.hydrateRoot=function(n,r,l){if(!Zd(n))throw Error(p(405));var u=l!=null&&l.hydratedSources||null,f=!1,h="",b=qd;if(l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(b=l.onRecoverableError)),r=nv(r,null,n,1,l??null,f,!1,h,b),n[Ei]=r.current,Ko(n),u)for(n=0;n<u.length;n++)l=u[n],f=l._getVersion,f=f(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,f]:r.mutableSourceEagerHydrationData.push(l,f);return new Oi(r)},Ta.render=function(n,r,l){if(!af(r))throw Error(p(200));return lf(null,n,r,!1,l)},Ta.unmountComponentAtNode=function(n){if(!af(n))throw Error(p(40));return n._reactRootContainer?(wl(function(){lf(null,null,n,!1,function(){n._reactRootContainer=null,n[Ei]=null})}),!0):!1},Ta.unstable_batchedUpdates=gu,Ta.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!af(l))throw Error(p(200));if(n==null||n._reactInternals===void 0)throw Error(p(38));return lf(n,r,l,!1,u)},Ta.version="18.2.0-next-9e3b772b8-20220608",Ta}function R1(){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(R1)}catch(G){console.error(G)}}}process.env.NODE_ENV==="production"?(R1(),g0.exports=Wk()):g0.exports=Ik();var Yk=g0.exports,y0,Hm=Yk;if(process.env.NODE_ENV==="production")y0=Hm.createRoot,Hm.hydrateRoot;else{var g1=Hm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;y0=function(G,c){g1.usingClientEntryPoint=!0;try{return Hm.createRoot(G,c)}finally{g1.usingClientEntryPoint=!1}}}class Gk{constructor(c){this.Component=c,console.info(c)}render(c,p,m,E,x,S,P){const A={cellDiv:c,rowIndex:p,columnIndex:m,areaIdent:E,areaModel:x,cellValue:S},F=y0(c,{});return F.render(this.Component(A)),()=>{F.unmount()}}}exports.ComponentRendererWrapper=Gk;exports.GuiexpertTable=Vk;
|