@guiexpert/preact-table 0.0.1 → 1.0.2
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/{PreactTable.d.ts → GuiexpertTable.d.ts} +5 -5
- package/README.md +103 -0
- package/index.d.ts +1 -1
- package/index.js +61 -61
- package/index.mjs +6752 -6559
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";var e_=Object.defineProperty;var t_=(G,c,p)=>c in G?e_(G,c,{enumerable:!0,configurable:!0,writable:!0,value:p}):G[c]=p;var ZR=(G,c,p)=>(t_(G,typeof c!="symbol"?c+"":c,p),p);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n_=require("preact/jsx-runtime"),JR=require("preact");class hC{constructor(c=-1,p=-1,y=-1,E=-1,x,C,Y,z=0,$=0,oe=0,Z=""){this.rowIndex=c,this.rowTop=p,this.columnIndex=y,this.columnLeft=E,this.areaIdent=x,this.sideIdent=C,this.originalEvent=Y,this.clickCount=z,this.draggingX=$,this.draggingY=oe,this.action=Z}clone(){return new hC(this.rowIndex,this.rowTop,this.columnIndex,this.columnLeft,this.areaIdent,this.sideIdent,this.originalEvent,this.clickCount,this.draggingX,this.draggingY,this.action)}}class $s{constructor(c=">",p="",y=[]){this.content=c,this.style=p,this.classes=y}}class sw{constructor(c=new $s(">","transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",["gt-table-tree-arrow-expanded"]),p=new $s(">","",["ge-table-tree-arrow-collapsed"]),y=new $s(">","color:transparent;",["gt-table-tree-arrow-hidden"]),E=new $s("↕","",["gt-table-tree-arrow-expanded-all"])){this.arrowExpanded=c,this.arrowCollapsed=p,this.arrowPlaceholder=y,this.arrowExpandCollapseAll=E}}class cw{constructor(c=new $s("↑","",["ge-header-sorted-asc"]),p=new $s("↓","",["ge-header-sorted-desc"]),y=new $s("↑","color:transparent;",[])){this.iconAsc=c,this.iconDesc=p,this.iconPlaceholder=y}}class r_{constructor(c){this.domService=c}setStyle(c,p,y){return this.domService.setStyle(c,p,y),c}applyStyle(c,p){for(const y in p)this.domService.setStyle(c,y,p[y]);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(([y,E])=>this.domService.setStyle(c,y,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",y){return this.domService.setStyle(y,"overflow-x",c),this.domService.setStyle(y,"overflow-y",p),y}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 y=this.domService.createText(p);return this.domService.appendChild(c,y),y}addClass(c,p){return c.includes(" ")?c.split(" ").forEach(y=>this.domService.addClass(p,y)):this.domService.addClass(p,c),p}addClasses(c,p){if(c)for(const y of c)this.domService.addClass(p,y);return p}setAttribute(c,p,y){return p&&y&&this.domService.setAttribute(c,p,y),c}createAreaDivWithClass(c,p,y,E){const x=this.domService.createElement("div");return this.addClass(c,x),this.domService.setAttribute(x,"data-area",y),this.domService.setAttribute(x,"data-side",E),this.domService.appendChild(p,x),x}createDivWithClass(c,p){const y=this.domService.createElement("div");return this.addClass(c,y),this.domService.appendChild(p,y),y}addRowDiv(c,p,y=-1,E,x,C=""){const Y=p.index??-1,z=this.getDivOrCreateDiv(Y,c);if(this.domService.addClass(z,"ge-table-row-div"),this.domService.addClass(z,`ge-table-row-div-${p.index}`),E==="body"&&x==="center"){const $=((p==null?void 0:p.index)??0)%2===0?"even":"odd";this.domService.addClass(z,`ge-table-row-${$}`)}if(this.domService.setStyle(z,"display","clip"),this.domService.setStyle(z,"position","absolute"),this.domService.setStyle(z,"left",`${p.left}px`),this.domService.setStyle(z,"top",`${p.top}px`),this.domService.setStyle(z,"width",`${p.width}px`),this.domService.setStyle(z,"height",`${p.height}px`),this.domService.setAttribute(z,"data-row-index",`${y}`),this.domService.setAttribute(z,"data-area",`${E}`),C){const $=this.domService.createText(C);this.domService.appendChild(z,$)}return this.domService.appendChild(c.child,z),z}addColumnDiv(c,p,y=-1,E=-1,x,C,Y="",z,$,oe=void 0,Z){const ae=$==null?void 0:$.treeOptions,te=$==null?void 0:$.showCheckboxWihoutExtraColumn,re=this.domService.createElement("div");this.domService.addClass(re,"ge-table-col-div"),this.domService.addClass(re,`ge-table-col-div-${p.index}`),this.domService.setAttribute(re,"data-col-index",`${p.index}`),this.domService.setAttribute(re,"data-row-index",`${y}`),this.domService.setAttribute(re,"data-area",`${x}`);const Be=((p==null?void 0:p.index)??0)%2===0?"even":"odd";if(x==="body"&&C==="center"&&this.domService.addClass(re,`ge-table-column-${Be}`),this.domService.setStyle(re,"display","clip"),this.domService.setStyle(re,"position","absolute"),this.domService.setStyle(re,"left",`${p.left}px`),this.domService.setStyle(re,"top",`${p.top}px`),this.domService.setStyle(re,"width",`${p.width}px`),this.domService.setStyle(re,"height",`${p.height}px`),z&&z!=="none"&&(this.domService.addClass(re,"ge-table-col-tree"),this.addArrowDiv(re,z,ae,y,E,x)),te&&E===0&&oe&&this.addCheckboxToDiv(re,oe,x,y),Y){const de=z!=="none"&&E===0;this.addLabelDiv(re,Y,de,y,E,x)}return Z&&this.addSortedIcon(re,Z,$==null?void 0:$.sortedOptions,E),this.domService.appendChild(c,re),re}addCheckboxToDiv(c,p,y,E){const x=this.domService.createElement("div"),C=p==="full"?"checked":"";return x.innerHTML=`
|
|
2
2
|
<input
|
|
3
3
|
type="checkbox"
|
|
4
|
-
data-area="${
|
|
5
|
-
data-row-index="${
|
|
4
|
+
data-area="${y}"
|
|
5
|
+
data-row-index="${E}"
|
|
6
6
|
data-input-type="checkbox"
|
|
7
7
|
${C}
|
|
8
|
-
class="ge-table-row-checkbox"> `,this.domService.setStyle(T,"display","inline"),this.domService.setStyle(T,"width","inherit"),this.domService.setAttribute(T,"data-row-index",`${R}`),this.domService.appendChild(c,T),T}addLabelDiv(c,p="",S=!1,R=-1,T=-1,C="body"){const Y=this.domService.createElement("div");if(this.domService.addClass(Y,"ge-table-label-div"),this.domService.setStyle(Y,"position","relative"),this.domService.setStyle(Y,"background","transparent"),this.domService.setStyle(Y,"width","100%"),this.domService.setStyle(Y,"height","100%"),this.domService.setAttribute(Y,"data-row-index",`${R}`),this.domService.setAttribute(Y,"data-col-index",`${T}`),this.domService.setAttribute(Y,"data-area",`${C}`),p)if(S){const B=this.domService.createText(p);this.domService.appendChild(Y,B)}else{const B=this.domService.createElement("div");this.domService.appendChild(Y,B);const K=this.domService.createText(p);this.domService.addClass(B,"ge-table-label"),this.domService.appendChild(B,K),this.domService.setAttribute(B,"data-row-index",`${R}`),this.domService.setAttribute(B,"data-col-index",`${T}`),this.domService.setAttribute(B,"data-area",`${C}`)}return this.domService.appendChild(c,Y),Y}addSortedIcon(c,p="",S=new sw,R=-1){const T=this.domService.createElement("div");this.domService.addClass(T,"ge-table-sorted-icon-div"),this.domService.setStyle(T,"position","absolute"),this.domService.setStyle(T,"top","0"),this.domService.setStyle(T,"right","0"),this.domService.setStyle(T,"width","20px"),this.domService.setStyle(T,"background","transparent"),this.domService.setStyle(T,"cursor","pointer"),this.domService.setAttribute(T,"data-col-index",`${R}`),this.domService.setAttribute(T,"data-area","header");let C;p==="asc"?C=S.iconAsc:p==="desc"?C=S.iconDesc:C=S.iconPlaceholder;const Y=C.content,B=this.domService.createText(Y);this.domService.appendChild(T,B),C.style&&this.applyStyleString(T,C.style);for(const K of C.classes)this.domService.addClass(T,K);return this.domService.appendChild(c,T),T}addArrowDiv(c,p="none",S=new uw,R=-1,T=-1,C="body"){const Y=this.domService.createElement("div");this.domService.addClass(Y,"ge-table-tree-arrow-div"),this.domService.setStyle(Y,"display","inline-block"),this.domService.setStyle(Y,"position",""),this.domService.setStyle(Y,"width","20px"),this.domService.setStyle(Y,"background","transparent"),this.domService.setStyle(Y,"cursor","pointer"),this.domService.setAttribute(Y,"data-row-index",`${R}`),this.domService.setAttribute(Y,"data-col-index",`${T}`),this.domService.setAttribute(Y,"data-area",`${C}`);let B;p==="expanded"?B=S.arrowExpanded:p==="collapsed"?B=S.arrowCollapsed:B=S.arrowPlaceholder;const K=B.content,ge=this.domService.createText(K);this.domService.appendChild(Y,ge),B.style&&this.applyStyleString(Y,B.style);for(const J of B.classes)this.domService.addClass(Y,J);return this.domService.appendChild(c,Y),Y}addColumnBorderDivs(c,p){return this.addVerticalBorder(p,c),this.addHorizontalBorder(p,c),c}addHorizontalBorder(c,p,S="ge-table-row-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,S),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${c.left}px`),this.domService.setStyle(R,"top",`${c.top}px`),this.domService.setStyle(R,"width",`${c.width}px`),this.domService.setStyle(R,"height","1px"),this.domService.appendChild(p,R),R}addFocusBorderDivs(c,p,S){let R=this.domService.createElement("div");return this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${p.height}px`),this.applyStyle(R,S),this.domService.appendChild(c,R),R=this.domService.createElement("div"),this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left+p.width-1}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${p.height}px`),this.applyStyle(R,S),this.domService.appendChild(c,R),R=this.domService.createElement("div"),this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width",`${p.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,S),this.domService.appendChild(c,R),R=this.domService.createElement("div"),this.domService.addClass(R,"ge-table-focus-border"),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top+p.height-1}px`),this.domService.setStyle(R,"width",`${p.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,S),this.domService.appendChild(c,R),c}addVerticalBorder(c,p,S="ge-table-column-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,S),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${c.left}px`),this.domService.setStyle(R,"top",`${c.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${c.height}px`),this.domService.appendChild(p,R),R}addDiv(c,p,S=""){const R=this.domService.createElement("div");return S&&this.domService.addClass(R,S),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${p.left}px`),this.domService.setStyle(R,"top",`${p.top}px`),this.domService.setStyle(R,"width",`${p.width}px`),this.domService.setStyle(R,"height",`${p.height}px`),this.domService.appendChild(c,R),R}applyStyleString(c,p){const S=p.split(";").map(R=>R.trim()).filter(R=>R);for(const R of S){const[T,C]=R.split(":");this.domService.setStyle(c,T.trim(),C.trim())}}getDivOrCreateDiv(c,p){let S=p.cache[c];return S?(S.innerText="",S):(S=this.domService.createElement("div"),p.cache[c]=S,S)}}class cC{constructor(c,p=!0,S,R,T=0,C=!1,Y=!1){this.data=c,this.expanded=p,this.children=S,this.parent=R,this.deep=T,this.checked=C,this.keep=Y}}const fC=I=>I==="header"?"header":I==="footer"?"footer":"body";class e_{constructor(c){this.tableScope=c,this.expandedAll=!0,this.mouseDown=!1,this.dragging=!1,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.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){if(c.target instanceof HTMLElement){const p=c.target;if(p.getAttribute("data-ge-action")==="toggleExpandCollapseAll"){this.expandedAll=!this.expandedAll,this.tableScope.toggleExpandCollapseAll(this.expandedAll),c.preventDefault();return}if(p.getAttribute("data-row-index")){const S=Number(p.getAttribute("data-row-index")),R=Number(p.getAttribute("data-col-index")),T=p.getAttribute("data-area");if(T){const C=fC(T),Y=this.tableScope.tableModel.getAreaModel(C),B=Y.getRowByIndex(S);if(p.getAttribute("data-input-type")==="checkbox"){this.tableScope.toggleRowCheckbox(S,R,C),c.preventDefault();return}if(B instanceof cC){const K=R===this.getArrowColumnIndex()&&c.altKey,ge=p.className.includes("ge-table-tree-arrow-div");if(K||ge){c.preventDefault();const J=B;J.expanded=!J.expanded,"recalcVisibleTreeRows"in Y&&Y.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(J)}}}}}this.publishGeMouseEvent(c,1)}onHostElementDblClicked(c){if(c.target instanceof HTMLElement){const p=c.target,S=p.getAttribute("data-area"),R=fC(S),T=Number(p.getAttribute("data-row-index")),C=Number(p.getAttribute("data-col-index")),Y=this.tableScope.tableModel.getAreaModel(R);if(S&&R==="header")this.tableScope.tableModel.isSortable(C)&&(this.tableScope.clearSelection(),this.tableScope.onHeaderDblClicked(c,T,C));else if(p.getAttribute("data-row-index")){const B=Y.getRowByIndex(T);if(S&&R==="body"&&Y.isEditable(T,C)&&(this.tableScope.clearSelection(),this.tableScope.initRenderEditor(T,C)),B instanceof cC&&C===this.getArrowColumnIndex()){c.preventDefault();const K=B;K.expanded=!K.expanded,"recalcVisibleTreeRows"in Y&&Y.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(K)}}}this.publishGeMouseEvent(c,2)}publishGeMouseEvent(c,p){this.mouseEvent=c,this.geMouseEventOld=this.geMouseEvent?.clone(),this.geMouseEvent=this.tableScope.createGeMouseEvent(c),this.geMouseEvent&&(this.geMouseEvent.clickCount=p),this.tableScope.onMouseClicked(this.geMouseEvent,this.geMouseEventOld)}updateCollapsedExpandedState(c){const p=this.tableScope.tableOptions?.autoRestoreOptions?.getRowId;if(p){const S=this.tableScope.storeStateCollapsedExpandService?.collapsedExpandedStateGet().mode,R=S==="collapsed"&&!c.expanded||S==="expanded"&&c.expanded,T=S==="collapsed"&&c.expanded||S==="expanded"&&!c.expanded,C=p(c.data);R?this.tableScope.storeStateCollapsedExpandService?.collapsedStateIdsPush(C):T&&this.tableScope.storeStateCollapsedExpandService?.collapsedStateIdsRemove(C)}}getArrowColumnIndex(){return this.tableScope.tableModel.isRowCheckboxVisible()?1:0}onMouseDown(c){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=!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}mouseDraggingOnFrame(){if(this.mouseEvent){const c=this.tableScope.createGeMouseEvent(this.mouseEvent);this.startMouseEvent?.originalEvent&&(c.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,c.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingOnFrame(c)}}mouseDraggingEndOnFrame(){if(this.mouseEvent){const c=this.tableScope.createGeMouseEvent(this.mouseEvent);this.startMouseEvent?.originalEvent&&(c.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,c.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingEndOnFrame(c)}}mouseMoveOnFrame(){if(this.mouseEvent){const c=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.mouseMove(c)}}}class t_{constructor(c){this.tableScope=c}externalFilterChanged(){this.tableScope.externalFilterChanged()}scrollToPixel(c=0,p=0){}scrollToIndex(c=0,p=0){}setHeaderVisible(c=!0){}setColumnVisible(c,p=!0){}isColumnVisible(c){return!0}isHeaderVisible(){return!0}setFooterVisible(c=!0){}isFooterVisible(){return!0}repaint(){this.tableScope.repaint()}}class n_{flattenTree(c,p=[]){for(const S of c)this.isVisible(S)&&p.push(S),S.children?.length&&this.flattenTree(S.children,p);return p}isVisible(c){return c.parent?c.parent.expanded?this.isVisible(c.parent):!1:!0}}class r_{constructor(c,p=[],S=-1){this.areaIdent=c,this.columnDefs=p,this.overridingRowHeight=S,this.rowSelectionModel=void 0,this.yPositions=[],this.cellRenderers=p.map(R=>R.rendererMap[c])}getTooltipAt(c,p){return""}getCellRenderer(c,p){if(p<this.cellRenderers.length)return this.cellRenderers[p]}getColspanAt(c,p){return 0}getCustomClassesAt(c,p){return[]}getRowspanAt(c,p){return 0}getRowByIndex(c){}isRowCheckable(c){return!0}isRowChecked(c){const p=this.getRowByIndex(c);return this.rowSelectionModel?.isRowChecked(p)}setRowChecked(c,p){if(this.rowSelectionModel){const S=this.getRowByIndex(c);this.rowSelectionModel.checkRow(S,p)}}getMaxColspan(){return 31}getMaxRowspan(){return 31}getYPosByRowIndex(c){return this.overridingRowHeight>0?this.overridingRowHeight*c:this.yPositions[c]}init(){!this.yPositions.length&&this.getRowCount()!==void 0&&this.overridingRowHeight===-1&&this.calcYPositions()}isFilterable(){return this.areaIdent==="body"}doSort(c){return!1}isEditable(c,p){return this.columnDefs&&p<this.columnDefs.length&&this.columnDefs[p].editable?this.columnDefs[p].editable():!1}setValue(c,p,S,R){const T=this.getRowByIndex(c),C=this.columnDefs[p].property;return T[C]=S,!0}isSelectable(c,p){return!0}changeColumnOrder(c,p){this.arrayMove(this.cellRenderers,c,p)}arrayMove(c,p,S){const R=c.splice(p,1)[0];return c.splice(S,0,R),c}calcYPositions(){const c=this.getRowCount();this.yPositions=new Array(c+1),this.yPositions[0]=0;for(let p=0;p<c;p++)this.yPositions[p+1]=this.getRowHeight(p)+this.yPositions[p]}}class i_{genericSortComparator(c,p,S){if(typeof c=="number"&&typeof p=="number")return S*(c-p);if(typeof c=="string"&&typeof p=="string")return S*c.localeCompare(p);if(typeof c=="boolean"&&typeof p=="boolean")return S*((c?-1:1)-(p?-1:1));if(c instanceof Date&&p instanceof Date)return S*(c.getTime()-p.getTime());if(c instanceof Array&&p instanceof Array){const R=c,T=p;if(R.length&&T.length)return this.genericSortComparator(R[0],T[0],S)}return S*(""+c).localeCompare(""+p)}}class dC extends r_{constructor(c,p,S,R=[]){super(c,R,S),this.areaIdent=c,this.rows=p,this.defaultRowHeight=S,this.columnDefs=R,this.sorterService=new i_,this.service=new n_,this.properties=R.map(T=>T.property),this.flattenRows=this.service.flattenTree(p),this.filteredFlattenRows=[...this.flattenRows]}changeColumnOrder(c,p){this.arrayMove(this.properties,c,p),super.changeColumnOrder(c,p)}recalcVisibleTreeRows(){this.filteredFlattenRows=this.service.flattenTree(this.rows)}getFilteredFlattenRows(){return this.filteredFlattenRows}getRowCount(){let c=0;for(const p of this.filteredFlattenRows)this.service.isVisible(p)&&c++;return c}getValueAt(c,p){const S=this.getRowByIndex(c);if(S){const R=this.properties[p];if(R)return R.includes(".")?this.getPropertyValue(S.data,R.split(".")):S.data[R]}return""}getRowHeight(c){return this.defaultRowHeight}getCustomClassesAt(c,p){return["ge-table-tree-cell","ge-table-tree-deep-"+this.filteredFlattenRows[c].deep]}getRowByIndex(c){return this.filteredFlattenRows[c]}getValueByT(c,p){return p.includes(".")?this.getPropertyValue(c,p.split(".")):c[p]}externalFilterChanged(c){this.lastPredictFn=c,this.doFiltering()}doSort(c){const{columnIndex:p,sortState:S}=c[c.length-1],R=S==="asc"?1:S==="desc"?-1:0,T=this.properties[p];return this.treeSort(this.rows,T,R),this.flattenRows=this.service.flattenTree(this.rows),this.filteredFlattenRows=[...this.flattenRows],!0}toggleExpandCollapseAll(c){this.expandAllRecursive(this.rows,c),this.flattenRows=this.service.flattenTree(this.rows),this.doFiltering()}setAllParentsOk(c){return c.parent&&(c.parent.keep=!0,this.setAllParentsOk(c.parent)),!1}setValue(c,p,S){const R=this.getRowByIndex(c);if(R){const T=R.data,C=this.columnDefs[p].property;return T[C]=S,!0}return!1}genericTreeTableSortComparator(c,p){return(S,R)=>{const T=this.getValueByT(S.data,c),C=this.getValueByT(R.data,c);return this.sorterService.genericSortComparator(T,C,p)}}expandAllRecursive(c,p){for(const S of c)S.expanded=p,S.children&&this.expandAllRecursive(S.children,p)}doFiltering(){if(!this.lastPredictFn)this.filteredFlattenRows=[...this.flattenRows?this.flattenRows:[]];else{this.flattenRows||(this.flattenRows=[]);let c=0;this.flattenRows.forEach(S=>{c=Math.max(c,S.deep)});const p=this.flattenRows.filter((S,R,T)=>this.lastPredictFn(S,R,T));this.flattenRows.forEach(S=>S.keep=!1),this.flattenRows.forEach(S=>{p.includes(S)&&(S.keep=!0,this.setAllParentsOk(S))}),this.filteredFlattenRows=this.flattenRows.filter((S,R,T)=>S.keep)}}getPropertyValue(c,p){const S=p.shift();let R=c[S];return R&&p.length?this.getPropertyValue(R,p):R}treeSort(c,p,S){c.sort(this.genericTreeTableSortComparator(p,S));for(const R of c)R.children&&this.treeSort(R.children,p,S)}}class mC{constructor(c){this.getStorageKeyFn=c}autoConvertMapToObject(c){const p={};if(c instanceof Map){const S=c;for(const R of[...S]){const[T,C]=R;p[T]=C}}return p}checkAndPersistItem(c,p){const S=this.getStorageKeyFn;if(S){const R=S();if(R){const T=R+c;if((p+"").includes("Map")){const C=this.autoConvertMapToObject(p);this.persistItem(T,C)}else this.persistItem(T,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 a_ extends mC{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 S=p+this.SCROLL_STATE;let R=this.loadFromLocalStorage(S);this.scrollOffset=R||[0,0]}}}}class l_{constructor(c="collapsed",p=[],S=!1,R=!1){this.mode=c,this.rowIds=p,this.allCollapsed=S,this.allExpanded=R}}class o_ extends mC{constructor(c){super(c),this.COLLAPSED_EXPANDED_STATE="collapsedExpandedState",this.collapsedExpandedState=new l_,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 S=p+this.COLLAPSED_EXPANDED_STATE,R=this.loadFromLocalStorage(S);R&&(this.collapsedExpandedState=R)}}}persist(){this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE,this.collapsedExpandedState)}}class u_ extends mC{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 S=p+this.SORTING_STATE;let R=this.loadFromLocalStorage(S);this.sortItems=R||[]}}}}class Is{constructor(c=0,p=0,S=0,R=0,T){this.left=c,this.width=p,this.height=S,this.top=R,this.index=T}}class s_{constructor(c,p,S,R){this.hostElement=c,this.tableModel=p,this.dom=S,this.tableOptions=R,this.scrollTop=0,this.areaBodyWestGeo=new Is,this.areaBodyCenterGeo=new Is,this.areaBodyEastGeo=new Is;const T=this.hostElement;T.innerText="",this.dom.setAttribute(T,"tabindex","0"),this.dom.setStyle(this.dom.addClass("ge-table",T),"position","relative"),this.hoverRow=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-hover-row",T)),this.hoverColumn=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-hover-column",T)),this.areaHeaderWest=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-header ge-table-header-west",T,"header","west"))),this.areaHeaderCenter=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-header ge-table-header-center",T,"header","center"))),this.areaHeaderEast=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-header ge-table-header-east",T,"body","east"))),this.areaBodyWest=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-body ge-table-body-west",T,"body","west"))),this.areaBodyEast=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-body ge-table-body-east",T,"body","east"))),this.areaFooterWest=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-footer ge-table-footer-west",T,"footer","west"))),this.areaFooterCenter=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-footer ge-table-footer-center",T,"footer","center"))),this.areaFooterEast=S.appendRelativeChildDiv(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-footer ge-table-footer-east",T,"footer","east"))),this.scrollViewport=S.applyStyleOverflowAuto(this.tableOptions.overflowX??"auto",this.tableOptions.overflowY??"auto",S.applyStyleNoPadding(S.applyStylePosistionAbsolute(S.createAreaDivWithClass("ge-table-scroll-viewport",T,"body","center")))),this.contentWrapperDiv=S.applyStyleNoPadding(S.applyStylePosistionRelative(S.createDivWithClass("ge-table-scroll-content-wrapper",this.scrollViewport))),this.contentDiv=S.applyStyleNoPadding(S.applyStylePosistionRelative(S.createDivWithClass("ge-table-scroll-content",this.contentWrapperDiv))),this.areaBodyCenter=S.appendRelativeChildDiv(S.createDivWithClass("ge-table-body-center",this.contentDiv)),this.borderHeaderBottom=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-header-border",T)),this.borderFixedWest=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-west-fixed-column-border",T)),this.borderFixedEast=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-east-fixed-column-border",T)),this.borderFooterTop=S.applyStylePosistionAbsolute(S.createDivWithClass("ge-table-footer-border",T))}adjustContainersAndRows(){const c=this.tableModel.getPadding(),p=this.hostElement.clientWidth,S=this.hostElement.clientHeight;this.dom.applyStyle(this.scrollViewport,{width:`${p-c.left}px`,height:`${S-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=S-c.top-c.bottom,this.areaBodyWestGeo.top=c.top,this.areaBodyWestGeo.left=0,this.dom.applyStyleInPx(this.areaBodyWest.parent,this.areaBodyWestGeo),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=S-c.top-c.bottom,this.areaBodyEastGeo.top=c.top,this.areaBodyEastGeo.left=p-c.right,this.dom.applyStyleInPx(this.areaBodyEast.parent,this.areaBodyEastGeo),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=S-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.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:`${S-c.bottom}px`,left:"0"}),this.dom.applyStyle(this.areaFooterCenter.parent,{width:`${p-c.left-c.right}px`,height:`${c.bottom}px`,top:`${S-c.bottom}px`,left:`${c.left}px`}),this.dom.applyStyle(this.areaFooterEast.parent,{width:`${c.right}px`,height:`${c.bottom}px`,top:`${S-c.bottom}px`,left:`${p-c.right}px`}),this.tableModel.isFooterVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFooterTop,{width:`${p}px`,height:"1px",top:`${S-c.bottom}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderFooterTop),this.adjustAfterScrolling()}adjustAfterScrolling(){}resetSizeOfWrapperDiv(){const c=`${this.tableModel.getContentWidthInPixel()}px`,p=`${this.tableModel.getContentHeightInPixel()}px`;this.dom.setStyle(this.contentWrapperDiv,"width",c),this.dom.setStyle(this.contentWrapperDiv,"height",p)}}class Ii{constructor(c,p,S,R){this.r1=c,this.c1=p,this.r2=S,this.c2=R}static create(c){return new Ii(c.rowIndex1,c.columnIndex1,c.rowIndex2,c.columnIndex2)}static singleCell(c,p){return new Ii(c,p,c,p)}static singleRow(c){return new Ii(c,0,c,Number.MAX_SAFE_INTEGER)}static singleColumn(c){return new Ii(0,c,Number.MAX_SAFE_INTEGER,c)}isInRange(c,p){return c>=this.r1&&c<=this.r2&&p>=this.c1&&p<=this.c2}}class c_{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 S=0;S<c;S++)for(let R=0;R<p;R++){let T=this.areaModel.getColspanAt(S,R),C=this.areaModel.getRowspanAt(S,R);(T>1||C>1)&&(T===0&&(T=1),C===0&&(C=1),this.colAndRowspanRanges.push(new Ii(S,R,S+C-1,R+T-1)))}}getRanges(){return this.colAndRowspanRanges?this.colAndRowspanRanges:[]}isInRange(c,p){if(this.colAndRowspanRanges){for(const S of this.colAndRowspanRanges)if(S.isInRange(c,p))return!0}return!1}}class f_{constructor(c,p,S){this.header=c,this.body=p,this.footer=S}}class d_ extends s_{constructor(c,p,S,R){super(c,p,S,R),this.scrollLeft=0,this.scrollViewportLeft=0,this.scrollFactorY=0,this.scrollFactorX=0,this.cleanupFunctions={header:[],body:[],footer:[]},this.tree=!1,this.rangeEles=[],this.colAndRowspanModels=new f_,this.firstVisibleRowIndex=-1,this.draggingTargetColumnIndex=-1,this.removables=[],this.tableOptions?.getSelectionModel&&(this.getSelectionModel=this.tableOptions.getSelectionModel),this.tableOptions?.getFocusModel&&(this.getFocusModel=this.tableOptions.getFocusModel),p.getAreaModel("body")instanceof dC&&(this.tree=!0),["header","body","footer"].forEach(C=>{this.colAndRowspanModels[C]=new c_(p,p.getAreaModel(C)),this.colAndRowspanModels[C]?.init()})}resetEditorRenderer(){this.editorRenderer=void 0,this.editorRendererRow=-1,this.editorRendererColumn=-1}clearSelection(){this.getSelectionModel&&this.getSelectionModel()?.clear()}initRenderEditor(c,p){let S=this.tableModel.getColumnDef(p)?.getEditRenderer;if(S||(S=this.tableOptions.getEditRenderer),S)if(this.editorRenderer=S(c,p),this.editorRenderer){this.editorRendererRow=c,this.editorRendererColumn=p,this.repaint();const R=document.querySelector("input.ge-table-cell-editor-input");R&&R.focus()}else this.editorRendererRow=-1,this.editorRendererColumn=-1}repaint(){this.adjustAfterScrolling()}adjustAfterScrolling(){for(const c of this.removables)c.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 Is(0,this.hostElement.clientWidth,1,0),this.hostElement,"ge-table-row-border")),this.tableOptions.tableBottomBorderVisible&&this.removables.push(this.dom.addHorizontalBorder(new Is(0,this.hostElement.clientWidth,1,this.hostElement.clientHeight-1),this.hostElement,"ge-table-row-border"))}checkForScrollPosSaving(){this.storeScrollPosStateService&&this.tableOptions?.autoRestoreOptions?.autoRestoreScrollPosition&&this.storeScrollPosStateService.updateScrollOffset([this.scrollLeft,this.scrollTop])}getAreaAndSideIdentByAttr(c){if(c){const p=this.getStringByAttr(c,"data-area"),S=this.getStringByAttr(c,"data-side");if(S&&p)return[p,S]}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){if(c){const S=c.closest("["+p+"]")?.getAttribute(p);if(S)return Number(S)}return-1}getStringByAttr(c,p){if(c){const S=c.closest("["+p+"]")?.getAttribute(p);if(S)return S}return""}adjustArea(c,p=0){const S=this.getArea(c,"west"),R=this.getArea(c,"center"),T=this.getArea(c,"east"),C=R.child.clientHeight;S.child.innerText="",R.child.innerText="",T.child.innerText="";const Y=0,B=this.areaBodyCenterGeo.width,K=this.tableModel.getPadding(),ge=this.tableModel.getAreaModel(c),J=ge.getRowCount();for(;this.cleanupFunctions[c].length;){const de=this.cleanupFunctions[c].shift();de&&de()}let ae=p;const X=this.tableModel.getColumnCount(),le=this.tableModel.getFixedRightColumnCount(),_e=this.tableModel.getFixedLeftColumnCount();for(let de=0;de<J;de++){const ct=ae,it=this.tableModel.getRowHeight(c,de);if(ct+it>0){this.firstVisibleRowIndex=de;let xe={left:Y,width:B,height:it,top:ct,index:de},Oe=this.dom.addRowDiv(R,xe,de,c);const Ce=_e;if(this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"center",areaModel:ge,geo:xe,parent:Oe,rowIndex:de,columnIndexStart:Ce,columnIndexEnd:X-le-1,verticalFixed:!1}),K.left>0&&(xe={left:Y,width:this.areaBodyWestGeo.width,height:it,top:ct,index:de},Oe=this.dom.addRowDiv(S,xe,de,c),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"west",areaModel:ge,geo:xe,parent:Oe,rowIndex:de,columnIndexStart:0,columnIndexEnd:Ce-1,verticalFixed:!0})),K.right>0&&(xe={left:Y,width:this.areaBodyEastGeo.width,height:it,top:ct,index:de},Oe=this.dom.addRowDiv(T,xe,de,c),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"east",areaModel:ge,geo:xe,parent:Oe,rowIndex:de,columnIndexStart:X-le,columnIndexEnd:X-1,verticalFixed:!0})),c==="header"&&this.tree&&de===J-1){const Pe=this.dom.applyStyle(this.dom.setAttribute(this.dom.addDiv(Oe,new Is(16,20,20,8)),"data-ge-action","toggleExpandCollapseAll"),{cursor:"pointer"}),ke=this.tableOptions.treeOptions.arrowExpandCollapseAll;if(ke){const Lt=this.dom.domService.createText(ke.content);this.dom.domService.appendChild(Pe,Lt),ke.style&&this.dom.applyStyleString(Pe,ke.style)}}}if(ae=ae+it,ae>C)break}if(this.colAndRowspanModels&&this.colAndRowspanModels[c]){const de=this.colAndRowspanModels[c]?.getRanges()??[];if(de.length)for(const ct of de){let it=0,xe=R.child;if(ct.c1<_e)xe=S.child;else if(le>0&&ct.c1>=X-le)xe=T.child;else{const Oe=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();it=this.scrollFactorX*Oe-this.areaBodyWestGeo.width}this.drawBigCell(ct,it,p,ge,xe)}}}drawBigCell(c,p,S,R,T){const C=S+this.getRowHeights(0,c.r1-1,R).reduce((_e,de)=>_e+de,0),Y=this.tableModel.getColumnCount(),B=this.tableModel.getFixedRightColumnCount();let K=0;B>0&&c.c1>=Y-B&&(K=Y-B);const ge=p+this.getColumnWidths(K,c.c1-1).reduce((_e,de)=>_e+de,0),J=this.getRowHeights(c.r1,c.r2,R).reduce((_e,de)=>_e+de,0),ae=this.getColumnWidths(c.c1,c.c2).reduce((_e,de)=>_e+de,0);let X=!1;const le=this.getSelectionModel?this.getSelectionModel():void 0;le&&(X=le.getSelectionCount(c.r1,c.c1)>0),this.renderCell(R,R.areaIdent,c.r1,c.c1,ge,C,ae,J,T,X),R.areaIdent==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle(c.r1,c.c1,ge,C,ae,J,T)}findRowOfImportantRowspanCell(c,p,S){const R=c.getMaxRowspan();for(let T=p-1;T>-1;T--){const C=c.getRowspanAt(T,S);if(C>1&&T+C+1>=p)return T;if(p-T>R)return-1}return-1}adjustColumnsToRowParent({areaIdent:c,sideIdent:p,areaModel:S,geo:R,parent:T,rowIndex:C,columnIndexStart:Y,columnIndexEnd:B,verticalFixed:K=!1}){this.scrollViewportLeft=this.scrollViewport.scrollLeft;let ge=0;if(!K){const le=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();ge=this.scrollFactorX*le}const J=0,ae=!!(c==="body"&&p);let X=ge;for(let le=Y;le<=B;le++){const _e=X,de=this.tableModel.getColumnWidth(le);if(_e+de>0){let ct=R.height,it=S.getRowspanAt(C,le),xe=S.getColspanAt(C,le);it>1&&(ct=this.getRowHeights(C,C+it-1,S).reduce((Pe,ke)=>Pe+ke,0));let Oe=de;xe>1&&(Oe=this.getColumnWidths(le,le+xe-1).reduce((Pe,ke)=>Pe+ke,0));let Ce=!1;if(this.colAndRowspanModels&&this.colAndRowspanModels[c]&&this.colAndRowspanModels[c]?.isInRange(C,le)&&(Ce=!0),this.draggingTargetColumnIndex===le&&c!=="header")this.renderDragTargetDiv(T,_e,J,Oe,ct),this.dom.addColumnBorderDivs(T,{left:_e,top:J,width:Oe,height:ct});else{let Pe=this.renderSelectedBackgroundDiv(Ce,ae,S,C,le,T,_e,J,Oe,ct);Ce||this.renderCell(S,c,C,le,_e,J,Oe,ct,T,Pe),c==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle(C,le,_e,J,Oe,ct,T)}}if(X=X+de,X>this.areaBodyCenterGeo.width)break}this.dom.addVerticalBorder(new Is(X-1,1,R.height,0),T)}getTreeArrowColumnIndex(){return this.tableOptions.showCheckboxWihoutExtraColumn?0:this.tableModel.isRowCheckboxVisible()?1:0}addAndRenderCellDiv({areaModel:c,areaIdent:p,rowIndex:S,index:R,left:T,width:C,height:Y,top:B,parent:K}){const J=this.editorRenderer&&this.editorRendererRow===S&&this.editorRendererColumn===R?this.editorRenderer:c.getCellRenderer(S,R),ae={left:T,width:C,height:Y,top:B,index:R},X=c.getRowByIndex(S);let le="none";if(R===this.getTreeArrowColumnIndex()&&X instanceof cC){const jt=X;jt.children?.length?jt.expanded?le="expanded":le="collapsed":le="hidden"}let de;if(p==="header"){const jt=this.tableModel.getColumnDef(R);(!jt?.sortIconVisible||jt?.sortIconVisible())&&(de=jt?.sortState)}const ct=c.getValueAt(S,R),it=J?"":`${ct}`,xe=c.isRowChecked(S),Oe=this.dom.addColumnDiv(K,ae,S,R,p,it,le,this.tableOptions,xe,de),Ce=c.getTooltipAt(S,R);Ce&&this.dom.setAttribute(Oe,"title",Ce);const Pe=this.tableModel.getColumnDef(R);Pe&&Pe.classes[p]&&this.dom.addClasses(Pe.classes[p],Oe);let ke;J&&(ke=J.render(Oe,S,R,p,c,ct,this.dom.domService));const Lt=c.getCustomClassesAt(S,R);return Lt.length&&this.dom.addClasses(Lt,Oe),this.dom.addColumnBorderDivs(K,ae),this.getFocusModel&&p==="body"&&this.getFocusModel()?.hasFocus(S,R)&&this.dom.addFocusBorderDivs(K,ae,{}),p==="header"&&this.dom.setAttribute(Oe,"data-ge-action","drag-column"),[Oe,ke]}getColumnWidths(c,p){const S=[];for(let R=c;R<=p;R++)S.push(this.tableModel.getColumnWidth(R));return S}getRowHeights(c,p,S){const R=[];for(let T=c;T<=p;T++)R.push(S.getRowHeight(T));return R}adjustHoverRows(c){if(this.tableOptions.hoverRowVisible&&c.rowIndex>-1){const p=this.hostElement.clientWidth,S=this.tableModel.getAreaModel("body").getRowHeight(c.rowIndex),R=c.rowTop+this.areaHeaderCenter.parent.clientHeight-this.scrollTop;this.dom.applyStyle(this.hoverRow,{left:"0",top:R+"px",width:p+"px",height:S+"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,S=this.tableModel.getColumnWidth(c.columnIndex),R=c.columnLeft+this.tableModel.getPadding().left-this.scrollLeft;this.dom.applyStyle(this.hoverColumn,{left:R+"px",top:"0px",width:S+"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)}renderDragTargetDiv(c,p,S,R,T){const C=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-drop-zone",c));return this.dom.setStyle(C,"left",`${p}px`),this.dom.setStyle(C,"top",`${S}px`),this.dom.setStyle(C,"width",`${R}px`),this.dom.setStyle(C,"height",`${T}px`),C}renderSelectedBackgroundDiv(c,p,S,R,T,C,Y,B,K,ge){let J=!1;if(!c&&p&&S.isSelectable(R,T)&&this.getSelectionModel){const ae=this.getSelectionModel();if(ae){const X=ae.getSelectionCount(R,T);J=X>0;for(let le=0;le<X;le++){const _e=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-selected-range",C));this.dom.setStyle(_e,"left",`${Y}px`),this.dom.setStyle(_e,"top",`${B}px`),this.dom.setStyle(_e,"width",`${K}px`),this.dom.setStyle(_e,"height",`${ge}px`)}}}return J}renderCell(c,p,S,R,T,C,Y,B,K,ge){const[J,ae]=this.addAndRenderCellDiv({areaModel:c,areaIdent:p,rowIndex:S,index:R,left:T,width:Y,height:B,top:C,parent:K});ge&&this.dom.addClass("ge-cell-selected",J),ae&&this.cleanupFunctions[p].push(ae)}renderHeaderCellResizeHandle(c,p,S,R,T,C,Y){const B=this.dom.domService,K=this.tableOptions.columnResizeHandleWidthInPx??3,ge=B.createElement("div");B.setAttribute(ge,"data-col-index",`${p}`),B.setAttribute(ge,"data-row-index",`${c}`),B.setAttribute(ge,"data-area","header"),B.setAttribute(ge,"data-ge-action","resize-column"),B.addClass(ge,"ge-table-col-resize-handle"),B.setStyle(ge,"display","clip"),B.setStyle(ge,"position","absolute"),B.setStyle(ge,"cursor","col-resize"),B.setStyle(ge,"left",`${S+T-K}px`),B.setStyle(ge,"top",`${R}px`),B.setStyle(ge,"width",`${K}px`),B.setStyle(ge,"height",`${C}px`),B.appendChild(Y,ge)}}class p_{constructor(c,p){this.columnIndex=c,this.sortState=p}}class h_{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,S=p.getAttribute("data-area"),R=p.getAttribute("data-row-index"),T=p.getAttribute("data-col-index");if(S&&R&&T){const C=fC(S),Y=Number(R),B=Number(T);this.tableScope.updateModelValue(C,Y,B,p.value)}}}}class v_{constructor(c=-1,p=-1){this.rowIndex=c,this.columnIndex=p}}class yC{constructor(c){this.cells=c}static createSingle(c,p){return new yC([new v_(c,p)])}}class m_{constructor(c){this.tableScope=c,this.tableScope.tableOptions?.getSelectionModel&&(this.getSelectionModel=this.tableScope.tableOptions.getSelectionModel),this.tableScope.tableOptions?.getFocusModel&&(this.getFocusModel=this.tableScope.tableOptions.getFocusModel)}onMouseClicked(c,p){let S=!1,R=!1;if(this.getSelectionModel&&this.getFocusModel){const T=this.getSelectionModel(),C=this.getFocusModel();T&&C&&(C.hasFocus(c.rowIndex,c.columnIndex)||(C.setFocus(c.rowIndex,c.columnIndex),S=!0),c.originalEvent?.shiftKey||T.hasSelection()&&(T.clear(),S=!0),c.originalEvent?.shiftKey&&this.previousEvt?(T.addSelection(this.createRangeByEvents(c,this.previousEvt)),R=!0,S=!0):c.originalEvent?.ctrlKey||c.originalEvent?.metaKey?(T.addSelection(Ii.singleCell(c.rowIndex,c.columnIndex)),R=!0,S=!0):c.originalEvent?.altKey&&(c.originalEvent?.ctrlKey||c.originalEvent?.metaKey)&&(T.removeSelection(Ii.singleCell(c.rowIndex,c.columnIndex)),R=!0,S=!0))}return R?this.previousEvt=void 0:this.previousEvt=c?.clone(),S}onActionTriggered(c){if(this.getSelectionModel&&this.getFocusModel){const p=this.getSelectionModel(),S=this.getFocusModel();if(p&&S){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[R,T]=S.getFocus();return p.togglePoint(R,T),this.tableScope.repaint(),!0}}}return!1}createRangeByEvents(c,p){p||(p=c);const S=Math.min(c.rowIndex,p?.rowIndex),R=Math.max(c.rowIndex,p?.rowIndex),T=Math.min(c.columnIndex,p?.columnIndex),C=Math.max(c.columnIndex,p?.columnIndex);return Ii.create({rowIndex1:S,columnIndex1:T,rowIndex2:R,columnIndex2:C})}}class y_{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","cmd -":"DESELECT_ALL"}}}class g_{get(){return{f2:"START_EDITING",space:"TOGGLE_SELECTION","ctrl+num_add":"SELECT_ALL","cmd+a":"SELECT_ALL","ctrl+a":"SELECT_ALL","cmd+x":"DESELECT_ALL","cmd+shift+a":"DESELECT_ALL","ctrl+shift+a":"DESELECT_ALL","ctrl+num_subtract":"DESELECT_ALL","ctrl -":"DESELECT_ALL"}}}class S_{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.isMacintosh()?Object.assign(this.shortcutActionIdMapping,new g_().get()):Object.assign(this.shortcutActionIdMapping,new y_().get()),Object.assign(this.shortcutActionIdMapping,this.tableScope.tableOptions.shortcutActionIdMapping),this.isLocalhost()&&console.info("ShortcutService",this.shortcutActionIdMapping),this.tableScope.hostElement.addEventListener("keydown",this.onKeyDown.bind(this))}isMacintosh(){return navigator.platform.indexOf("Mac")>-1}isLocalhost(){return location.hostname==="localhost"||location.hostname==="127.0.0.1"}onKeyDown(c){const p=this.findEnty(c);p&&this.emit(p)&&c.preventDefault()}emit(c){this.isLocalhost()&&console.info("ShortcutService emit:",c);let p=!1;for(const S of this.listener)S.onActionTriggered(c)&&(p=!0);return p}findEnty(c){const p=this.getTokenByEvent(c);for(const S in this.shortcutActionIdMapping){const R=S.replace(/opt/g,"alt").replace(/cmd/g,"meta").split(/[\+ ]/g).sort();if(this.areTokensEquals(p,R))return this.shortcutActionIdMapping[S]}}areTokensEquals(c,p){if(c.length!==p.length||c.length===0)return!1;for(let S=0;S<c.length;S++)if(c[S]!==p[S])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()}}class C_{onCheckboxChanged(c){}onContextmenu(c){}onModelChanged(c){}onMouseClicked(c){}onMouseDragging(c){}onMouseDraggingEnd(c){}onMouseMoved(c){}}class E_ extends d_{constructor(c,p,S,R,T){if(super(c,p,new JD(S),R),this.eventListener=T,this.selectionService=new m_(this),this.api=new t_(this),this.mouseStartAction="",this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,T||(this.eventListener=new C_),this.tableOptions?.autoRestoreOptions){const C=this.tableOptions.autoRestoreOptions,Y=C.getStorageKeyFn;Y&&(C.autoRestoreScrollPosition&&(this.storeScrollPosStateService=new a_(Y)),C.autoRestoreCollapsedExpandedState&&(this.storeStateCollapsedExpandService=new o_(Y)),C.autoRestoreSortingState&&(this.storeSortingService=new u_(Y)))}this.mouseHandler=new e_(this),this.inputHandler=new h_(this),this.shortcutService=new S_(this),this.shortcutService.addListener(this.selectionService)}onActionTriggered(c){if(c==="START_EDITING"&&this.getFocusModel){const p=this.getFocusModel();if(p){const[S,R]=p.getFocus();this.tableModel.getBodyModel().isEditable(S,R)&&(this.clearSelection(),this.initRenderEditor(S,R))}}return!1}updateModelValue(c,p,S,R){c==="body"&&this.tableModel.getAreaModel(c).setValue(p,S,R,this.tableModel)&&(this.resetEditorRenderer(),this.repaint(),this.eventListener.onModelChanged(yC.createSingle(p,S)))}getApi(){return this.api}firstInit(){this.tableModel.init(),this.autoRestoreCollapsedExpandedState(),this.autoRestoreSortingState(),this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows(),this.autoRestoreScrollPosition()}createGeMouseEvent(c){const p=new vC;if(p.originalEvent=c,c){const S=c.target;if([p.areaIdent,p.sideIdent]=this.getAreaAndSideIdentByAttr(S),p.rowIndex=this.getNumberByAttr(S,"data-row-index"),p.columnIndex=this.getNumberByAttr(S,"data-col-index"),p.action=this.getStringByAttr(S,"data-ge-action"),c.clientY-this.hostElement.offsetTop-this.areaHeaderCenter.parent.clientHeight,c.clientX-this.hostElement.offsetLeft-this.areaBodyWestGeo.width,p.areaIdent){const R=this.tableModel.getAreaModel(p.areaIdent);p.rowTop=R.getYPosByRowIndex(p.rowIndex)}if(p.columnLeft=this.tableModel.getXPosByColumnIndex(p.columnIndex),c.ctrlKey&&c.altKey){const R=c.clientY-this.hostElement.offsetTop-this.areaHeaderCenter.parent.clientHeight,T=c.clientX-this.hostElement.offsetLeft-this.areaBodyWestGeo.width;this.debugOnce(T,R)}}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.dragFrom=this.mouseStartColumnIndex))}mouseDraggingOnFrame(c){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.tableModel.changeColumnOrder(this.dragFrom,this.dragTo),this.dragFrom=this.dragTo,this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows()),this.repaint())}mouseDraggingEndOnFrame(c){this.eventListener.onMouseDraggingEnd(c),this.draggingTargetColumnIndex=-1,this.mouseStartAction==="resize-column"?this.resizeColumn(c):this.mouseStartAction==="drag-column"&&this.repaint(),this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,this.mouseStartAction=""}resizeColumn(c){this.tableModel.setColumnWidth(this.mouseStartColumnIndex,this.mouseStartWidth+c.draggingX),this.tableModel.recalcPadding(),this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows()}mouseMove(c){this.eventListener.onMouseMoved(c),this.adjustHoverRows(c),this.adjustHoverColumns(c)}contextmenu(c){this.eventListener.onContextmenu(c)}toggleExpandCollapseAll(c=!0){const p=this.tableModel.getBodyModel();p instanceof dC&&(p.toggleExpandCollapseAll(c),this.repaint(),this.storeStateCollapsedExpandService?.collapsedStateAll(c))}toggleRowCheckbox(c,p,S){const R=this.tableModel.getAreaModel(S),T=R.isRowChecked(c),C=T===void 0||T==="semi"||T==="none";R.setRowChecked(c,C),this.repaint();const Y=R.rowSelectionModel?.getCheckedRows();this.eventListener.onCheckboxChanged(Y||[])}onMouseClicked(c,p){const S=this.selectionService.onMouseClicked(c,p);this.eventListener.onMouseClicked(c),S&&this.debounce(this.repaint.bind(this),10)}externalFilterChanged(){const c=this.tableOptions.externalFilterFunction;c&&(this.clearSelectionModel(),this.tableModel.externalFilterChanged(c),this.repaint())}onHeaderDblClicked(c,p,S){const R=this.tableModel.getColumnDef(S);if(R?.sortable&&R.sortable()){c.preventDefault();const T=R.sortStatesOrder?R.sortStatesOrder:this.tableOptions.sortOrder,C=R.sortState??"",Y=T[(T.indexOf(C)+1)%T.length],B=new p_(S,Y);this.tableModel.doSort([B])&&(this.tableModel.getColumnDefs()?.forEach(ge=>ge.sortState=""),R.sortState=Y),this.repaint(),this.storeSortingService?.setSortItems([B])}}onKeyEvent(c){this.keyEvent=c,console.info(this.keyEvent),this.keyEvent.status==="up"&&this.keyEvent.originalEvent?.code==="F2"&&(this.keyEvent.originalEvent.stopPropagation(),console.info("F2..."))}clearSelectionModel(){this.getSelectionModel&&this.getSelectionModel()?.clear()}debugOnce(c,p){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",this.mouseHandler.mouseEvent?.clientX),console.info("this.hostElement.offsetLeft",this.hostElement.offsetLeft),console.info("this.areaBodyWestGeo.width",this.areaBodyWestGeo.width)}autoRestoreScrollPosition(){if(this.tableOptions?.autoRestoreOptions&&this.storeScrollPosStateService&&this.tableOptions.autoRestoreOptions.autoRestoreScrollPosition){const p=this.storeScrollPosStateService.getScrollOffset();p&&this.scrollViewport.scrollTo(...p)}}autoRestoreSortingState(){if(this.tableOptions?.autoRestoreOptions?.autoRestoreSortingState&&this.storeSortingService){const c=this.storeSortingService.getSortItems();c?.length&&this.tableModel.getBodyModel().doSort(c)}}autoRestoreCollapsedExpandedState(){if(this.tableOptions?.autoRestoreOptions?.getRowId&&this.storeStateCollapsedExpandService){const c=this.tableOptions.autoRestoreOptions,p=c.getRowId;if(c.autoRestoreCollapsedExpandedState&&p){const S=this.storeStateCollapsedExpandService.collapsedExpandedStateGet(),R=this.tableModel.getAreaModel("body");if(R instanceof dC){const T=R,C=R.getRowCount();for(let Y=0;Y<C;Y++){const B=R.getRowByIndex(Y);if(B)if(S.allExpanded)B.expanded=!0;else if(S.allCollapsed)B.expanded=!1;else{const K=p(B.data);S.mode==="expanded"?B.expanded=this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(K):S.mode==="collapsed"&&(B.expanded=!this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(K))}}T.recalcVisibleTreeRows()}}}}}class R_{render(c,p,S,R,T,C,Y){if(T.isEditable(p,S)){Y.addClass(c,"ge-table-row-input-div");const B=T.getValueAt(p,S);c.innerHTML=`
|
|
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="",y=!1,E=-1,x=-1,C="body"){const Y=this.domService.createElement("div");if(this.domService.addClass(Y,"ge-table-label-div"),this.domService.setStyle(Y,"position","relative"),this.domService.setStyle(Y,"background","transparent"),this.domService.setStyle(Y,"width","100%"),this.domService.setStyle(Y,"height","100%"),this.domService.setAttribute(Y,"data-row-index",`${E}`),this.domService.setAttribute(Y,"data-col-index",`${x}`),this.domService.setAttribute(Y,"data-area",`${C}`),p)if(y){const z=this.domService.createText(p);this.domService.appendChild(Y,z)}else{const z=this.domService.createElement("div");this.domService.appendChild(Y,z);const $=this.domService.createText(p);this.domService.addClass(z,"ge-table-label"),this.domService.appendChild(z,$),this.domService.setAttribute(z,"data-row-index",`${E}`),this.domService.setAttribute(z,"data-col-index",`${x}`),this.domService.setAttribute(z,"data-area",`${C}`)}return this.domService.appendChild(c,Y),Y}addSortedIcon(c,p="",y=new cw,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 C;p==="asc"?C=y.iconAsc:p==="desc"?C=y.iconDesc:C=y.iconPlaceholder;const Y=C.content,z=this.domService.createText(Y);this.domService.appendChild(x,z),C.style&&this.applyStyleString(x,C.style);for(const $ of C.classes)this.domService.addClass(x,$);return this.domService.appendChild(c,x),x}addArrowDiv(c,p="none",y=new sw,E=-1,x=-1,C="body"){const Y=this.domService.createElement("div");this.domService.addClass(Y,"ge-table-tree-arrow-div"),this.domService.setStyle(Y,"display","inline-block"),this.domService.setStyle(Y,"position",""),this.domService.setStyle(Y,"width","20px"),this.domService.setStyle(Y,"background","transparent"),this.domService.setStyle(Y,"cursor","pointer"),this.domService.setAttribute(Y,"data-row-index",`${E}`),this.domService.setAttribute(Y,"data-col-index",`${x}`),this.domService.setAttribute(Y,"data-area",`${C}`);let z;p==="expanded"?z=y.arrowExpanded:p==="collapsed"?z=y.arrowCollapsed:z=y.arrowPlaceholder;const $=z.content,oe=this.domService.createText($);this.domService.appendChild(Y,oe),z.style&&this.applyStyleString(Y,z.style);for(const Z of z.classes)this.domService.addClass(Y,Z);return this.domService.appendChild(c,Y),Y}addColumnBorderDivs(c,p,y,E,x){if(c.verticalBorderVisible){const C=`ge-table-${E}-${x}-vertical-border`;this.addVerticalBorder(y,p,C)}if(c.horizontalBorderVisible){const C=`ge-table-${E}-${x}-horizontal-border`;this.addHorizontalBorder(y,p,C)}return p}addHorizontalBorder(c,p,y="ge-table-body-center-horizontal-border"){const E=this.domService.createElement("div");return this.domService.addClass(E,y),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,y){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.applyStyle(E,y),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.applyStyle(E,y),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.applyStyle(E,y),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.applyStyle(E,y),this.domService.appendChild(c,E),c}addVerticalBorder(c,p,y="ge-table-body-center-vertical-border"){const E=this.domService.createElement("div");return this.domService.addClass(E,y),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,y=""){const E=this.domService.createElement("div");return y&&this.domService.addClass(E,y),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 y=p.split(";").map(E=>E.trim()).filter(E=>E);for(const E of y){const[x,C]=E.split(":");this.domService.setStyle(c,x.trim(),C.trim())}}getDivOrCreateDiv(c,p){let y=p.cache[c];return y?(y.innerText="",y):(y=this.domService.createElement("div"),p.cache[c]=y,y)}}class cC{constructor(c,p=!0,y,E,x=0,C=!1,Y=!1){this.data=c,this.expanded=p,this.children=y,this.parent=E,this.deep=x,this.checked=C,this.keep=Y}}const vC=G=>G==="header"?"header":G==="footer"?"footer":"body";class i_{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 y=c.getAttribute("data-area");if(y&&(this.areaIdent=vC(y),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 a_{constructor(c){this.tableScope=c,this.expandedAll=!0,this.mouseDown=!1,this.dragging=!1,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=new i_(c.target,this.tableScope);if(p.action==="toggleExpandCollapseAll")this.expandedAll=!this.expandedAll,this.tableScope.toggleExpandCollapseAll(this.expandedAll),c.preventDefault(),c.stopPropagation();else if(p.inputType==="checkbox"&&p.areaIdent)this.tableScope.toggleRowCheckbox(p.rowIdx,p.colIdx,p.areaIdent),c.preventDefault(),c.stopPropagation();else if(p.row instanceof cC&&p.areaModel){const y=p.colIdx===this.getArrowColumnIndex()&&c.altKey,E=p.className.includes("ge-table-tree-arrow-div");if(console.info(E,y),y||E){c.preventDefault(),c.stopPropagation();const x=p.row;x.expanded=!x.expanded,"recalcVisibleTreeRows"in p.areaModel&&p.areaModel.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(x)}}if(p.areaIdent==="body"&&this.tableScope.tableOptions.getFocusModel){const y=this.tableScope.tableOptions.getFocusModel();y==null||y.clear(),y==null||y.setFocus(p.rowIdx,p.colIdx)}this.publishGeMouseEvent(c,1)}onHostElementDblClicked(c){if(c.target instanceof HTMLElement){const p=c.target,y=p.getAttribute("data-area"),E=vC(y),x=Number(p.getAttribute("data-row-index")),C=Number(p.getAttribute("data-col-index")),Y=this.tableScope.tableModel.getAreaModel(E);if(y&&E==="header")this.tableScope.tableModel.isSortable(C)&&(this.tableScope.clearSelection(),this.tableScope.onHeaderDblClicked(c,x,C));else if(p.getAttribute("data-row-index")){const z=Y.getRowByIndex(x);if(y&&E==="body"&&Y.isEditable(x,C)&&(this.tableScope.clearSelection(),this.tableScope.initRenderEditor(x,C)),z instanceof cC&&C===this.getArrowColumnIndex()){c.preventDefault(),c.stopPropagation();const $=z;$.expanded=!$.expanded,"recalcVisibleTreeRows"in Y&&Y.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState($)}}}this.publishGeMouseEvent(c,2)}publishGeMouseEvent(c,p){var y;this.mouseEvent=c,this.geMouseEventOld=(y=this.geMouseEvent)==null?void 0:y.clone(),this.geMouseEvent=this.tableScope.createGeMouseEvent(c),this.geMouseEvent&&(this.geMouseEvent.clickCount=p),this.tableScope.onMouseClicked(this.geMouseEvent,this.geMouseEventOld)}updateCollapsedExpandedState(c){var y,E,x,C,Y;const p=(E=(y=this.tableScope.tableOptions)==null?void 0:y.autoRestoreOptions)==null?void 0:E.getRowId;if(p){const z=(x=this.tableScope.storeStateCollapsedExpandService)==null?void 0:x.collapsedExpandedStateGet().mode,$=z==="collapsed"&&!c.expanded||z==="expanded"&&c.expanded,oe=z==="collapsed"&&c.expanded||z==="expanded"&&!c.expanded,Z=p(c.data);$?(C=this.tableScope.storeStateCollapsedExpandService)==null||C.collapsedStateIdsPush(Z):oe&&((Y=this.tableScope.storeStateCollapsedExpandService)==null||Y.collapsedStateIdsRemove(Z))}}getArrowColumnIndex(){return this.tableScope.tableModel.isRowCheckboxVisible()?1:0}onMouseDown(c){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=!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}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)}}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 l_{constructor(c){this.tableScope=c}updateCells(c){this.tableScope.updateCells(c)}externalFilterChanged(){this.tableScope.externalFilterChanged()}scrollToPixel(c=0,p=0){}scrollToIndex(c=0,p=0){}setHeaderVisible(c=!0){}setColumnVisible(c,p=!0){}isColumnVisible(c){return!0}isHeaderVisible(){return!0}setFooterVisible(c=!0){}isFooterVisible(){return!0}repaint(){this.tableScope.repaint()}}class o_{flattenTree(c,p=[]){var y;for(const E of c)this.isVisible(E)&&p.push(E),(y=E.children)!=null&&y.length&&this.flattenTree(E.children,p);return p}isVisible(c){return c.parent?c.parent.expanded?this.isVisible(c.parent):!1:!0}}class u_{constructor(c,p=[],y=-1){this.areaIdent=c,this.columnDefs=p,this.defaultRowHeight=y,this.rowSelectionModel=void 0,this.yPositions=[],this.cellRenderers=p.map(E=>E.rendererMap[c])}getTooltipAt(c,p){return""}getCellRenderer(c,p){if(p<this.cellRenderers.length)return this.cellRenderers[p]}getColspanAt(c,p){return 0}getCustomClassesAt(c,p){return[]}getCustomStyleAt(c,p){}getRowspanAt(c,p){return 0}getRowByIndex(c){}isRowCheckable(c){return!0}isRowChecked(c){var y;const p=this.getRowByIndex(c);return(y=this.rowSelectionModel)==null?void 0:y.isRowChecked(p)}setRowChecked(c,p){if(this.rowSelectionModel){const y=this.getRowByIndex(c);this.rowSelectionModel.checkRow(y,p)}}getMaxColspan(){return 31}getMaxRowspan(){return 31}getYPosByRowIndex(c){return this.defaultRowHeight>0?this.defaultRowHeight*c:this.yPositions[c]}init(){!this.yPositions.length&&this.getRowCount()!==void 0&&this.defaultRowHeight===-1&&this.calcYPositions()}isFilterable(){return this.areaIdent==="body"}doSort(c){return!1}isEditable(c,p){return this.columnDefs&&p<this.columnDefs.length&&this.columnDefs[p].editable?this.columnDefs[p].editable():!1}setValue(c,p,y){var Y;const E=(Y=this.columnDefs[p])==null?void 0:Y.editInputPipe;E&&(y=E(y,c,p));const x=this.getRowByIndex(c),C=this.columnDefs[p].property;return C.includes(".")?this.setPropertyValue(x,C.split("."),y):(x[C]=y,!0)}isSelectable(c,p){return!0}changeColumnOrder(c,p){this.arrayMove(this.cellRenderers,c,p)}setPropertyValue(c,p,y){const E=p.shift();if(E){let x=c[E];return x&&p.length?this.setPropertyValue(x,p,y):(c[E]=y,!0)}return!1}arrayMove(c,p,y){const E=c.splice(p,1)[0];return c.splice(y,0,E),c}calcYPositions(){const c=this.getRowCount();this.yPositions=new Array(c+1),this.yPositions[0]=0;for(let p=0;p<c;p++)this.yPositions[p+1]=this.getRowHeight(p)+this.yPositions[p]}}class s_{genericSortComparator(c,p,y){if(typeof c=="number"&&typeof p=="number")return y*(c-p);if(typeof c=="string"&&typeof p=="string")return y*c.localeCompare(p);if(typeof c=="boolean"&&typeof p=="boolean")return y*((c?-1:1)-(p?-1:1));if(c instanceof Date&&p instanceof Date)return y*(c.getTime()-p.getTime());if(c instanceof Array&&p instanceof Array){const E=c,x=p;if(E.length&&x.length)return this.genericSortComparator(E[0],x[0],y)}return y*(""+c).localeCompare(""+p)}}class fC extends u_{constructor(c,p,y,E=[]){super(c,E,y),this.areaIdent=c,this.rows=p,this.defaultRowHeight=y,this.columnDefs=E,this.sorterService=new s_,this.service=new o_,this.properties=E.map(x=>x.property),this.flattenRows=this.service.flattenTree(p),this.filteredFlattenRows=[...this.flattenRows]}changeColumnOrder(c,p){this.arrayMove(this.properties,c,p),super.changeColumnOrder(c,p)}recalcVisibleTreeRows(){this.filteredFlattenRows=this.service.flattenTree(this.rows)}getFilteredFlattenRows(){return this.filteredFlattenRows}getRowCount(){let c=0;for(const p of this.filteredFlattenRows)this.service.isVisible(p)&&c++;return c}getValueAt(c,p){const y=this.getRowByIndex(c);if(y){const E=this.properties[p];if(E)return E.includes(".")?this.getPropertyValue(y.data,E.split(".")):y.data[E]}return""}getRowHeight(c){return this.defaultRowHeight}getCustomClassesAt(c,p){return["ge-table-tree-cell","ge-table-tree-deep-"+this.filteredFlattenRows[c].deep]}getRowByIndex(c){return this.filteredFlattenRows[c]}getValueByT(c,p){return p.includes(".")?this.getPropertyValue(c,p.split(".")):c[p]}externalFilterChanged(c){this.lastPredictFn=c,this.doFiltering()}doSort(c){const{columnIndex:p,sortState:y}=c[c.length-1],E=y==="asc"?1:y==="desc"?-1:0,x=this.properties[p];return this.treeSort(this.rows,x,E),this.flattenRows=this.service.flattenTree(this.rows),this.filteredFlattenRows=[...this.flattenRows],!0}toggleExpandCollapseAll(c){this.expandAllRecursive(this.rows,c),this.flattenRows=this.service.flattenTree(this.rows),this.doFiltering()}setAllParentsOk(c){return c.parent&&(c.parent.keep=!0,this.setAllParentsOk(c.parent)),!1}setValue(c,p,y){var C;const E=(C=this.columnDefs[p])==null?void 0:C.editInputPipe;E&&(y=E(y,c,p));const x=this.getRowByIndex(c);if(x){const Y=x.data,z=this.columnDefs[p].property;return z.includes(".")?this.setPropertyValue(Y,z.split("."),y):(Y[z]=y,!0)}return!1}genericTreeTableSortComparator(c,p){return(y,E)=>{const x=this.getValueByT(y.data,c),C=this.getValueByT(E.data,c);return this.sorterService.genericSortComparator(x,C,p)}}expandAllRecursive(c,p){for(const y of c)y.expanded=p,y.children&&this.expandAllRecursive(y.children,p)}doFiltering(){if(!this.lastPredictFn)this.filteredFlattenRows=[...this.flattenRows?this.flattenRows:[]];else{this.flattenRows||(this.flattenRows=[]);let c=0;this.flattenRows.forEach(y=>{c=Math.max(c,y.deep)});const p=this.flattenRows.filter((y,E,x)=>this.lastPredictFn(y,E,x));this.flattenRows.forEach(y=>y.keep=!1),this.flattenRows.forEach(y=>{p.includes(y)&&(y.keep=!0,this.setAllParentsOk(y))}),this.filteredFlattenRows=this.flattenRows.filter((y,E,x)=>y.keep)}}getPropertyValue(c,p){const y=p.shift();let E=c[y];return E&&p.length?this.getPropertyValue(E,p):E}treeSort(c,p,y){c.sort(this.genericTreeTableSortComparator(p,y));for(const E of c)E.children&&this.treeSort(E.children,p,y)}}class mC{constructor(c){this.getStorageKeyFn=c}autoConvertMapToObject(c){const p={};if(c instanceof Map){const y=c;for(const E of[...y]){const[x,C]=E;p[x]=C}}return p}checkAndPersistItem(c,p){const y=this.getStorageKeyFn;if(y){const E=y();if(E){const x=E+c;if((p+"").includes("Map")){const C=this.autoConvertMapToObject(p);this.persistItem(x,C)}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 c_ extends mC{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 y=p+this.SCROLL_STATE;let E=this.loadFromLocalStorage(y);this.scrollOffset=E||[0,0]}}}}class f_{constructor(c="collapsed",p=[],y=!1,E=!1){this.mode=c,this.rowIds=p,this.allCollapsed=y,this.allExpanded=E}}class d_ extends mC{constructor(c){super(c),this.COLLAPSED_EXPANDED_STATE="collapsedExpandedState",this.collapsedExpandedState=new f_,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 y=p+this.COLLAPSED_EXPANDED_STATE,E=this.loadFromLocalStorage(y);E&&(this.collapsedExpandedState=E)}}}persist(){this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE,this.collapsedExpandedState)}}class p_ extends mC{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 y=p+this.SORTING_STATE;let E=this.loadFromLocalStorage(y);this.sortItems=E||[]}}}}class ko{constructor(c=0,p=0,y=0,E=0,x){this.left=c,this.width=p,this.height=y,this.top=E,this.index=x}}class h_{constructor(c,p,y,E){this.hostElement=c,this.tableModel=p,this.dom=y,this.tableOptions=E,this.scrollTop=0,this.areaBodyWestGeo=new ko,this.areaBodyCenterGeo=new ko,this.areaBodyEastGeo=new ko;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=y.applyStylePosistionAbsolute(y.createDivWithClass("ge-table-hover-row",x)),this.hoverColumn=y.applyStylePosistionAbsolute(y.createDivWithClass("ge-table-hover-column",x)),this.areaHeaderWest=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-header ge-table-header-west",x,"header","west"))),this.areaHeaderCenter=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-header ge-table-header-center",x,"header","center"))),this.areaHeaderEast=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-header ge-table-header-east",x,"body","east"))),this.areaBodyWest=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-body ge-table-body-west",x,"body","west"))),this.areaBodyEast=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-body ge-table-body-east",x,"body","east"))),this.areaFooterWest=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-footer ge-table-footer-west",x,"footer","west"))),this.areaFooterCenter=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-footer ge-table-footer-center",x,"footer","center"))),this.areaFooterEast=y.appendRelativeChildDiv(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-footer ge-table-footer-east",x,"footer","east"))),this.scrollViewport=y.applyStyleOverflowAuto(this.tableOptions.overflowX??"auto",this.tableOptions.overflowY??"auto",y.applyStyleNoPadding(y.applyStylePosistionAbsolute(y.createAreaDivWithClass("ge-table-scroll-viewport",x,"body","center")))),this.contentWrapperDiv=y.applyStyleNoPadding(y.applyStylePosistionRelative(y.createDivWithClass("ge-table-scroll-content-wrapper",this.scrollViewport))),this.contentDiv=y.applyStyleNoPadding(y.applyStylePosistionRelative(y.createDivWithClass("ge-table-scroll-content",this.contentWrapperDiv))),this.areaBodyCenter=y.appendRelativeChildDiv(y.createDivWithClass("ge-table-body-center",this.contentDiv)),this.borderHeaderBottom=y.applyStylePosistionAbsolute(y.createDivWithClass("ge-table-header-border",x)),this.borderFixedWest=y.applyStylePosistionAbsolute(y.createDivWithClass("ge-table-west-fixed-column-border",x)),this.borderFixedEast=y.applyStylePosistionAbsolute(y.createDivWithClass("ge-table-east-fixed-column-border",x)),this.borderFooterTop=y.applyStylePosistionAbsolute(y.createDivWithClass("ge-table-footer-border",x))}adjustContainersAndRows(){const c=this.tableModel.getPadding(),p=this.hostElement.clientWidth,y=this.hostElement.clientHeight;this.dom.applyStyle(this.scrollViewport,{width:`${p-c.left}px`,height:`${y-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=y-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=y-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=y-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:`${y-c.bottom}px`,left:"0"}),this.dom.applyStyle(this.areaFooterCenter.parent,{width:`${p-c.left-c.right}px`,height:`${c.bottom}px`,top:`${y-c.bottom}px`,left:`${c.left}px`}),this.dom.applyStyle(this.areaFooterEast.parent,{width:`${c.right}px`,height:`${c.bottom}px`,top:`${y-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:`${y-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 $i{constructor(c,p,y,E,x=!1){this.r1=c,this.c1=p,this.r2=y,this.c2=E,this.gammaRange=x}static create(c){return c.gammaRange===void 0&&(c.gammaRange=!1),new $i(c.rowIndex1,c.columnIndex1,c.rowIndex2,c.columnIndex2,c.gammaRange)}static singleCell(c,p){return new $i(c,p,c,p)}static singleRow(c){return new $i(c,0,c,Number.MAX_SAFE_INTEGER)}static singleColumn(c){return new $i(0,c,Number.MAX_SAFE_INTEGER,c)}isInRange(c,p){return c>=this.r1&&c<=this.r2&&p>=this.c1&&p<=this.c2}}class v_{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 y=0;y<c;y++)for(let E=0;E<p;E++){let x=this.areaModel.getColspanAt(y,E),C=this.areaModel.getRowspanAt(y,E);if(x>1||C>1){x===0&&(x=1),C===0&&(C=1);const Y=this.areaModel.hasOwnProperty("gammaCells");this.colAndRowspanRanges.push(new $i(y,E,y+C-1,E+x-1,Y))}}}getRanges(){return this.colAndRowspanRanges?this.colAndRowspanRanges:[]}isInRange(c,p){if(this.colAndRowspanRanges){for(const y of this.colAndRowspanRanges)if(y.isInRange(c,p))return!0}return!1}}class m_{constructor(c,p,y){this.header=c,this.body=p,this.footer=y}}class y_ extends h_{constructor(c,p,y,E){var C,Y;super(c,p,y,E),this.scrollLeft=0,this.scrollViewportLeft=0,this.scrollFactorY=0,this.scrollFactorX=0,this.cleanupFunctions={header:[],body:[],footer:[]},this.tree=!1,this.colAndRowspanModels=new m_,this.firstVisibleRowIndex=-1,this.draggingTargetColumnIndex=-1,this.removables=[],this.editing=!1,this.tableModel.getSelectionModel?this.getSelectionModel=this.tableModel.getSelectionModel:(C=this.tableOptions)!=null&&C.getSelectionModel&&(this.getSelectionModel=this.tableOptions.getSelectionModel),(Y=this.tableOptions)!=null&&Y.getFocusModel&&(this.getFocusModel=this.tableOptions.getFocusModel),p.getAreaModel("body")instanceof fC&&(this.tree=!0),["header","body","footer"].forEach(z=>{var $;this.colAndRowspanModels[z]=new v_(p,p.getAreaModel(z)),($=this.colAndRowspanModels[z])==null||$.init()})}isEditing(){return this.editing}resetEditorRenderer(){this.editorRenderer=void 0,this.editorRendererRow=-1,this.editorRendererColumn=-1,this.editing=!1}clearSelection(){if(this.getSelectionModel){const c=this.getSelectionModel();c==null||c.clear()}}initRenderEditor(c,p){var E;let y=(E=this.tableModel.getColumnDef(p))==null?void 0:E.getEditRenderer;if(y||(y=this.tableOptions.getEditRenderer),y)if(this.editorRenderer=y(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()}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 ko(0,this.hostElement.clientWidth,1,0),this.hostElement,"ge-table-border")),this.tableOptions.tableBottomBorderVisible&&this.removables.push(this.dom.addHorizontalBorder(new ko(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 ko(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 ko(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){c.forEach(p=>this.tableModel.getAreaModel(p.area).setValue(p.rowIndex,p.columnIndex,p.value)),this.repaint()}getAreaAndSideIdentByAttr(c){if(c){const p=this.getStringByAttr(c,"data-area"),y=this.getStringByAttr(c,"data-side");if(y&&p)return[p,y]}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 y;if(c){const E=(y=c.closest("["+p+"]"))==null?void 0:y.getAttribute(p);if(E)return Number(E)}return-1}getStringByAttr(c,p){var y;if(c){const E=(y=c.closest("["+p+"]"))==null?void 0:y.getAttribute(p);if(E)return E}return""}adjustArea(c,p=0){var de;const y=this.getArea(c,"west"),E=this.getArea(c,"center"),x=this.getArea(c,"east"),C=E.child.clientHeight;y.child.innerText="",E.child.innerText="",x.child.innerText="";const Y=0,z=this.areaBodyCenterGeo.width,$=this.tableModel.getPadding(),oe=this.tableModel.getAreaModel(c),Z=oe.getRowCount();for(;this.cleanupFunctions[c].length;){const Ue=this.cleanupFunctions[c].shift();Ue&&Ue()}let ae=p;const te=this.tableModel.getColumnCount(),re=this.tableModel.getFixedRightColumnCount(),Be=this.tableModel.getFixedLeftColumnCount();for(let Ue=0;Ue<Z;Ue++){const tt=ae,_e=Ue===Z-1,$e=this.tableModel.getRowHeight(c,Ue);if(tt+$e>0){this.firstVisibleRowIndex=Ue;let pe={left:Y,width:z,height:$e,top:tt,index:Ue},xe=this.dom.addRowDiv(E,pe,Ue,c,"center");const Oe=Be;if(this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"center",areaModel:oe,geo:pe,parent:xe,rowIndex:Ue,columnIndexStart:Oe,columnIndexEnd:te-re-1,verticalFixed:!1,lastRowOfModel:_e}),$.left>0&&(pe={left:Y,width:this.areaBodyWestGeo.width,height:$e,top:tt,index:Ue},xe=this.dom.addRowDiv(y,pe,Ue,c,"west"),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"west",areaModel:oe,geo:pe,parent:xe,rowIndex:Ue,columnIndexStart:0,columnIndexEnd:Oe-1,verticalFixed:!0,lastRowOfModel:_e})),$.right>0&&(pe={left:Y,width:this.areaBodyEastGeo.width,height:$e,top:tt,index:Ue},xe=this.dom.addRowDiv(x,pe,Ue,c,"east"),this.adjustColumnsToRowParent({areaIdent:c,sideIdent:"east",areaModel:oe,geo:pe,parent:xe,rowIndex:Ue,columnIndexStart:te-re,columnIndexEnd:te-1,verticalFixed:!0,lastRowOfModel:_e})),c==="header"&&this.tree&&Ue===Z-1){const lt=this.dom.applyStyle(this.dom.setAttribute(this.dom.addDiv(xe,new ko(16,20,20,8)),"data-ge-action","toggleExpandCollapseAll"),{cursor:"pointer"}),kt=this.tableOptions.treeOptions.arrowExpandCollapseAll;if(kt){const Tt=this.dom.domService.createText(kt.content);this.dom.domService.appendChild(lt,Tt),kt.style&&this.dom.applyStyleString(lt,kt.style)}}}if(ae=ae+$e,ae>C)break}if(this.colAndRowspanModels&&this.colAndRowspanModels[c]){const Ue=((de=this.colAndRowspanModels[c])==null?void 0:de.getRanges())??[];if(Ue.length)for(const tt of Ue){let _e=0,$e=E.child,pe="center";if(tt.c1<Be)$e=y.child,pe="west";else if(re>0&&tt.c1>=te-re)$e=x.child,pe="east";else{const xe=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();_e=this.scrollFactorX*xe-this.areaBodyWestGeo.width,pe="center"}this.drawBigCell(tt,_e,p,oe,$e,pe)}}}drawBigCell(c,p,y,E,x,C){const Y=y+this.getRowHeights(0,c.r1-1,E).reduce((de,Ue)=>de+Ue,0),z=this.tableModel.getColumnCount(),$=this.tableModel.getFixedRightColumnCount();let oe=0;$>0&&c.c1>=z-$&&(oe=z-$);const Z=p+this.getColumnWidths(oe,c.c1-1).reduce((de,Ue)=>de+Ue,0),ae=this.getRowHeights(c.r1,c.r2,E).reduce((de,Ue)=>de+Ue,0),te=this.getColumnWidths(c.c1,c.c2).reduce((de,Ue)=>de+Ue,0);let re=!1;const Be=this.getSelectionModel?this.getSelectionModel():void 0;Be&&(re=Be.getSelectionCount(c.r1,c.c1)>0),c.gammaRange?(console.info("TODO here",c),this.renderCell({areaModel:E,areaIdent:E.areaIdent,sideIdent:C,rowIndex:c.r1,columnIndex:c.c1,left:Z,top:Y,width:te,height:ae,parent:x,cellSelected:re,lastRowOfModel:!0,gammaRange:c.gammaRange})):this.renderCell({areaModel:E,areaIdent:E.areaIdent,sideIdent:C,rowIndex:c.r1,columnIndex:c.c1,left:Z,top:Y,width:te,height:ae,parent:x,cellSelected:re,lastRowOfModel:!0,gammaRange:c.gammaRange}),E.areaIdent==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:c.r1,columnIndex:c.c1,cellLeft:Z,cellTop:Y,cellWidth:te,cellHeight:ae,parent:x})}findRowOfImportantRowspanCell(c,p,y){const E=c.getMaxRowspan();for(let x=p-1;x>-1;x--){const C=c.getRowspanAt(x,y);if(C>1&&x+C+1>=p)return x;if(p-x>E)return-1}return-1}adjustColumnsToRowParent({areaIdent:c,sideIdent:p,areaModel:y,geo:E,parent:x,rowIndex:C,columnIndexStart:Y,columnIndexEnd:z,verticalFixed:$=!1,lastRowOfModel:oe=!1}){var Be;this.scrollViewportLeft=this.scrollViewport.scrollLeft;let Z=0;if(!$){const de=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();Z=this.scrollFactorX*de}const ae=0,te=!!(c==="body"&&p);let re=Z;for(let de=Y;de<=z;de++){const Ue=re,tt=this.tableModel.getColumnWidth(de);if(tt>0&&Ue+tt>0){let _e=E.height;const $e=y.getRowspanAt(C,de),pe=y.getColspanAt(C,de);$e>1&&(_e=this.getRowHeights(C,C+$e-1,y).reduce((lt,kt)=>lt+kt,0));let xe=tt;pe>1&&(xe=this.getColumnWidths(de,de+pe-1).reduce((lt,kt)=>lt+kt,0));let Oe=!1;if(this.colAndRowspanModels&&this.colAndRowspanModels[c]&&(Be=this.colAndRowspanModels[c])!=null&&Be.isInRange(C,de)&&(Oe=!0),this.draggingTargetColumnIndex===de&&c!=="header"){this.renderDragTargetDiv(x,Ue,ae,xe,_e);const lt={left:Ue,top:ae,width:xe,height:_e};this.dom.addColumnBorderDivs(this.tableOptions,x,lt,c,p)}else{const lt=this.renderSelectedBackgroundDiv(Oe,te,p,y,C,de,x,Ue,ae,xe,_e);Oe||this.renderCell({areaModel:y,areaIdent:c,sideIdent:p,rowIndex:C,columnIndex:de,left:Ue,top:ae,width:xe,height:_e,parent:x,cellSelected:lt,lastRowOfModel:oe,gammaRange:!0}),c==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:C,columnIndex:de,cellLeft:Ue,cellTop:ae,cellWidth:xe,cellHeight:_e,parent:x})}}if(re=re+tt,re>this.areaBodyCenterGeo.width)break}this.tableOptions.verticalBorderVisible&&this.dom.addVerticalBorder(new ko(re-1,1,E.height,0),x)}getTreeArrowColumnIndex(){return this.tableOptions.showCheckboxWihoutExtraColumn?0:this.tableModel.isRowCheckboxVisible()?1:0}addAndRenderCellDiv({areaModel:c,areaIdent:p,sideIdent:y,rowIndex:E,index:x,left:C,width:Y,height:z,top:$,parent:oe,lastRowOfModel:Z}){var un;const te=this.editorRenderer&&this.editorRendererRow===E&&this.editorRendererColumn===x?this.editorRenderer:c.getCellRenderer(E,x),re={left:C,width:Y,height:z,top:$,index:x},Be=c.getRowByIndex(E);let de="none";if(x===this.getTreeArrowColumnIndex()&&Be instanceof cC){const Te=Be;(un=Te.children)!=null&&un.length?Te.expanded?de="expanded":de="collapsed":de="hidden"}let tt;if(p==="header"){const Te=this.tableModel.getColumnDef(x);(!(Te!=null&&Te.sortIconVisible)||Te!=null&&Te.sortIconVisible())&&(tt=Te==null?void 0:Te.sortState)}const _e=c.getValueAt(E,x),$e=te?"":`${_e}`,pe=c.isRowChecked(E),xe=this.dom.addColumnDiv(oe,re,E,x,p,y,$e,de,this.tableOptions,pe,tt),Oe=c.getTooltipAt(E,x);Oe&&this.dom.setAttribute(xe,"title",Oe);const lt=this.tableModel.getColumnDef(x);lt&<.classes[p]&&this.dom.addClasses(lt.classes[p],xe);let kt;te&&(kt=te.render(xe,E,x,p,c,_e,this.dom.domService));const Tt=c.getCustomClassesAt(E,x);if(Tt.length&&this.dom.addClasses(Tt,xe),this.dom.addColumnBorderDivs(this.tableOptions,oe,re,p,y),Z&&this.dom.addHorizontalBorder({left:C,width:Y,height:z,top:$+z},oe),this.getFocusModel&&p==="body"){const Te=this.getFocusModel();Te!=null&&Te.hasFocus(E,x)&&this.dom.addFocusBorderDivs(oe,re,{})}p==="header"&&this.dom.setAttribute(xe,"data-ge-action","drag-column");const yt=c.getCustomStyleAt(E,x);if(yt)for(const Te in yt)this.dom.setStyle(xe,Te,yt[Te]);return[xe,kt]}getColumnWidths(c,p){const y=[];for(let E=c;E<=p;E++)y.push(this.tableModel.getColumnWidth(E));return y}getRowHeights(c,p,y){const E=[];for(let x=c;x<=p;x++)E.push(y.getRowHeight(x));return E}adjustHoverRows(c){if(this.tableOptions.hoverRowVisible&&c.rowIndex>-1){const p=this.hostElement.clientWidth,y=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:y+"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,y=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:y+"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)}renderDragTargetDiv(c,p,y,E,x){const C=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-drop-zone",c));return this.dom.setStyle(C,"left",`${p}px`),this.dom.setStyle(C,"top",`${y}px`),this.dom.setStyle(C,"width",`${E}px`),this.dom.setStyle(C,"height",`${x}px`),C}renderSelectedBackgroundDiv(c,p,y,E,x,C,Y,z,$,oe,Z){let ae=!1;if(!c&&p&&E.isSelectable(x,C)&&this.getSelectionModel){const te=this.getSelectionModel();if(te){const re=te.getSelectionCount(x,C);ae=re>0;for(let Be=0;Be<re;Be++){const de=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass(`ge-table-${E.areaIdent}-${y}-selected-range`,Y));this.dom.setStyle(de,"left",`${z}px`),this.dom.setStyle(de,"top",`${$}px`),this.dom.setStyle(de,"width",`${oe}px`),this.dom.setStyle(de,"height",`${Z}px`)}}}return ae}renderCell({areaModel:c,areaIdent:p,sideIdent:y,rowIndex:E,columnIndex:x,left:C,top:Y,width:z,height:$,parent:oe,cellSelected:Z,lastRowOfModel:ae,gammaRange:te}){const[re,Be]=this.addAndRenderCellDiv({areaModel:c,areaIdent:p,sideIdent:y,rowIndex:E,index:x,left:C,width:z,height:$,top:Y,parent:oe,lastRowOfModel:ae,gammaRange:te});Z&&this.dom.addClass(`ge-table-${p}-${y}-selected-range`,re),Be&&this.cleanupFunctions[p].push(Be)}renderHeaderCellResizeHandle({rowIndex:c,columnIndex:p,cellLeft:y,cellTop:E,cellWidth:x,cellHeight:C,parent:Y}){const z=this.dom.domService,$=this.tableOptions.columnResizeHandleWidthInPx??2,oe=z.createElement("div");z.setAttribute(oe,"data-col-index",`${p}`),z.setAttribute(oe,"data-row-index",`${c}`),z.setAttribute(oe,"data-area","header"),z.setAttribute(oe,"data-ge-action","resize-column"),z.addClass(oe,"ge-table-column-resize-handle"),z.setStyle(oe,"display","clip"),z.setStyle(oe,"position","absolute"),z.setStyle(oe,"cursor","col-resize"),z.setStyle(oe,"left",`${y+x-$}px`),z.setStyle(oe,"top",`${E}px`),z.setStyle(oe,"width",`${$}px`),z.setStyle(oe,"height",`${C}px`),z.appendChild(Y,oe)}}class g_{constructor(c,p){this.columnIndex=c,this.sortState=p}}class S_{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,y=p.getAttribute("data-area"),E=p.getAttribute("data-row-index"),x=p.getAttribute("data-col-index");if(y&&E&&x){const C=vC(y),Y=Number(E),z=Number(x);this.tableScope.updateModelValueAfterEdit(C,Y,z,p.value)}}}}class C_{constructor(c=-1,p=-1){this.rowIndex=c,this.columnIndex=p}}class yC{constructor(c){this.cells=c}static createSingle(c,p){return new yC([new C_(c,p)])}}class E_{constructor(c){var p,y;this.tableScope=c,(p=this.tableScope.tableOptions)!=null&&p.getSelectionModel&&(this.getSelectionModel=this.tableScope.tableOptions.getSelectionModel),(y=this.tableScope.tableOptions)!=null&&y.getFocusModel&&(this.getFocusModel=this.tableScope.tableOptions.getFocusModel)}onMouseClicked(c,p){var x,C,Y,z,$,oe,Z;let y=!1,E=!1;if(this.getSelectionModel&&this.getFocusModel){const ae=this.getSelectionModel(),te=this.getFocusModel();ae&&te&&(te.hasFocus(c.rowIndex,c.columnIndex)||(te.setFocus(c.rowIndex,c.columnIndex),y=!0),(x=c.originalEvent)!=null&&x.shiftKey||ae.hasSelection()&&(ae.clear(),y=!0),(C=c.originalEvent)!=null&&C.shiftKey&&this.previousEvt?(ae.addSelection(this.createRangeByEvents(c,this.previousEvt)),E=!0,y=!0):(Y=c.originalEvent)!=null&&Y.ctrlKey||(z=c.originalEvent)!=null&&z.metaKey?(ae.addSelection($i.singleCell(c.rowIndex,c.columnIndex)),E=!0,y=!0):($=c.originalEvent)!=null&&$.altKey&&((oe=c.originalEvent)!=null&&oe.ctrlKey||(Z=c.originalEvent)!=null&&Z.metaKey)&&(ae.removeSelection($i.singleCell(c.rowIndex,c.columnIndex)),E=!0,y=!0))}return E?this.previousEvt=void 0:this.previousEvt=c==null?void 0:c.clone(),y}onActionTriggered(c){if(this.getSelectionModel&&this.getFocusModel){const p=this.getSelectionModel(),y=this.getFocusModel();if(p&&y){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]=y.getFocus();return p.togglePoint(E,x),this.tableScope.repaint(),!0}}}return!1}createRangeByEvents(c,p){p||(p=c);const y=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),C=Math.max(c.columnIndex,p==null?void 0:p.columnIndex);return $i.create({rowIndex1:y,columnIndex1:x,rowIndex2:E,columnIndex2:C})}}class R_{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","cmd -":"DESELECT_ALL",arrowup:"NAVIGATE_UP",arrowdown:"NAVIGATE_DOWN",arrowleft:"NAVIGATE_LEFT",arrowright:"NAVIGATE_RIGHT"}}}class w_{get(){return{f2:"START_EDITING",space:"TOGGLE_SELECTION","ctrl+num_add":"SELECT_ALL","cmd+a":"SELECT_ALL","ctrl+a":"SELECT_ALL","cmd+x":"DESELECT_ALL","cmd+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"}}}class b_{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.isMacintosh()?Object.assign(this.shortcutActionIdMapping,new w_().get()):Object.assign(this.shortcutActionIdMapping,new R_().get()),Object.assign(this.shortcutActionIdMapping,this.tableScope.tableOptions.shortcutActionIdMapping),this.isDebug()&&console.debug("ShortcutService",this.shortcutActionIdMapping),this.tableScope.hostElement.addEventListener("keydown",this.onKeyDown.bind(this))}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.findEnty(c);p&&this.emit(p)&&(c.preventDefault(),c.stopPropagation())}emit(c){this.isDebug()&&console.debug("ShortcutService emit:",c);let p=!1;for(const y of this.listener)y.onActionTriggered(c)&&(p=!0);return p}findEnty(c){const p=this.getTokenByEvent(c);this.isDebug()&&console.debug("ShortcutService tokens:",p);for(const y in this.shortcutActionIdMapping){const E=y.replace(/opt/g,"alt").replace(/cmd/g,"meta").split(/[\+ ]/g).sort();if(this.areTokensEquals(p,E))return this.shortcutActionIdMapping[y]}}areTokensEquals(c,p){if(c.length!==p.length||c.length===0)return!1;for(let y=0;y<c.length;y++)if(c[y]!==p[y])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()}}class x_{onCheckboxChanged(c){}onContextmenu(c){}onModelChanged(c){}onMouseClicked(c){}onMouseDragging(c){}onMouseDraggingEnd(c){}onMouseMoved(c){}}class T_ extends y_{constructor(c,p,y,E,x){var C;if(super(c,p,new r_(y),E),this.eventListener=x,this.selectionService=new E_(this),this.api=new l_(this),this.mouseStartAction="",this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,x||(this.eventListener=new x_),(C=this.tableOptions)!=null&&C.autoRestoreOptions){const Y=this.tableOptions.autoRestoreOptions,z=Y.getStorageKeyFn;z&&(Y.autoRestoreScrollPosition&&(this.storeScrollPosStateService=new c_(z)),Y.autoRestoreCollapsedExpandedState&&(this.storeStateCollapsedExpandService=new d_(z)),Y.autoRestoreSortingState&&(this.storeSortingService=new p_(z)))}this.mouseHandler=new a_(this),this.inputHandler=new S_(this),this.shortcutService=new b_(this),this.shortcutService.addListener(this.selectionService)}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[y,E]=p.getFocus();this.tableModel.getBodyModel().isEditable(y,E)&&(this.clearSelection(),this.initRenderEditor(y,E))}return!0}return!1}updateModelValueAfterEdit(c,p,y,E){c==="body"&&this.tableModel.getAreaModel(c).setValue(p,y,E)&&(this.resetEditorRenderer(),this.repaint(),this.eventListener.onModelChanged(yC.createSingle(p,y)),this.hostElement.focus())}getApi(){return this.api}firstInit(){var c;this.tableModel.init(),(c=this.tableOptions)!=null&&c.externalFilterFunction&&this.externalFilterChanged(!1),this.autoRestoreCollapsedExpandedState(),this.autoRestoreSortingState(),this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows(),this.autoRestoreScrollPosition()}createGeMouseEvent(c){const p=new hC;if(p.originalEvent=c,c){const y=c.target;if([p.areaIdent,p.sideIdent]=this.getAreaAndSideIdentByAttr(y),p.rowIndex=this.getNumberByAttr(y,"data-row-index"),p.columnIndex=this.getNumberByAttr(y,"data-col-index"),p.action=this.getStringByAttr(y,"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.dragFrom=this.mouseStartColumnIndex))}mouseDraggingOnFrame(c){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.tableModel.changeColumnOrder(this.dragFrom,this.dragTo),this.dragFrom=this.dragTo,this.resetSizeOfWrapperDiv(),this.adjustContainersAndRows()),this.repaint())}mouseDraggingEndOnFrame(c){this.eventListener.onMouseDraggingEnd(c),this.draggingTargetColumnIndex=-1,this.mouseStartAction==="resize-column"?this.resizeColumn(c):this.mouseStartAction==="drag-column"&&this.repaint(),this.mouseStartWidth=-1,this.mouseStartColumnIndex=-1,this.dragFrom=-1,this.dragTo=-1,this.mouseStartAction=""}mouseMove(c){this.eventListener.onMouseMoved(c),this.adjustHoverRows(c),this.adjustHoverColumns(c)}contextmenu(c){this.eventListener.onContextmenu(c)}toggleExpandCollapseAll(c=!0){var y;const p=this.tableModel.getBodyModel();p instanceof fC&&(p.toggleExpandCollapseAll(c),this.repaint(),(y=this.storeStateCollapsedExpandService)==null||y.collapsedStateAll(c))}toggleRowCheckbox(c,p,y){var z;const E=this.tableModel.getAreaModel(y),x=E.isRowChecked(c),C=x===void 0||x==="semi"||x==="none";E.setRowChecked(c,C),this.repaint();const Y=(z=E.rowSelectionModel)==null?void 0:z.getCheckedRows();this.eventListener.onCheckboxChanged(Y||[])}onMouseClicked(c,p){let y=this.selectionService.onMouseClicked(c,p);if(!y&&this.getFocusModel){const E=this.getFocusModel();E&&(y=E.hasChanged(),E.clearChanged(),y&&this.resetEditorRenderer())}this.eventListener.onMouseClicked(c),y&&this.debounce(this.repaint.bind(this),10)}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,y){var x,C;const E=this.tableModel.getColumnDef(y);if(E!=null&&E.sortable&&E.sortable()){c.preventDefault(),c.stopPropagation();const Y=E.sortStatesOrder?E.sortStatesOrder:this.tableOptions.sortOrder,z=E.sortState??"",$=Y[(Y.indexOf(z)+1)%Y.length],oe=new g_(y,$);this.tableModel.doSort([oe])&&((x=this.tableModel.getColumnDefs())==null||x.forEach(ae=>ae.sortState=""),E.sortState=$),this.repaint(),(C=this.storeSortingService)==null||C.setSortItems([oe])}}changeFocusCell(c,p){if(!this.isEditing()&&this.getFocusModel){const y=this.getFocusModel();if(y){const[E,x]=y.getFocus();return y.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 y;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",(y=this.mouseHandler.mouseEvent)==null?void 0:y.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 y=this.storeScrollPosStateService.getScrollOffset();y&&this.scrollViewport.scrollTo(...y)}}autoRestoreSortingState(){var c,p;if((p=(c=this.tableOptions)==null?void 0:c.autoRestoreOptions)!=null&&p.autoRestoreSortingState&&this.storeSortingService){const y=this.storeSortingService.getSortItems();y!=null&&y.length&&this.tableModel.getBodyModel().doSort(y)}}autoRestoreCollapsedExpandedState(){var c,p;if((p=(c=this.tableOptions)==null?void 0:c.autoRestoreOptions)!=null&&p.getRowId&&this.storeStateCollapsedExpandService){const y=this.tableOptions.autoRestoreOptions,E=y.getRowId;if(y.autoRestoreCollapsedExpandedState&&E){const x=this.storeStateCollapsedExpandService.collapsedExpandedStateGet(),C=this.tableModel.getAreaModel("body");if(C instanceof fC){const Y=C,z=C.getRowCount();for(let $=0;$<z;$++){const oe=C.getRowByIndex($);if(oe)if(x.allExpanded)oe.expanded=!0;else if(x.allCollapsed)oe.expanded=!1;else{const Z=E(oe.data);x.mode==="expanded"?oe.expanded=this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(Z):x.mode==="collapsed"&&(oe.expanded=!this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(Z))}}Y.recalcVisibleTreeRows()}}}}}class D_{render(c,p,y,E,x,C,Y){if(x.isEditable(p,y)){Y.addClass(c,"ge-table-row-input-div");const z=x.getValueAt(p,y);c.innerHTML=`
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
|
-
value="${
|
|
11
|
+
value="${z}"
|
|
12
12
|
autofocus
|
|
13
13
|
onfocus="this.setSelectionRange(0, this.value.length)"
|
|
14
14
|
data-listen="change"
|
|
15
|
-
data-area="${
|
|
15
|
+
data-area="${E}"
|
|
16
16
|
data-row-index="${p}"
|
|
17
|
-
data-col-index="${
|
|
17
|
+
data-col-index="${y}"
|
|
18
18
|
data-input-type="text"
|
|
19
|
-
style="width:100
|
|
20
|
-
class="ge-table-cell-editor-input">`}}}class
|
|
19
|
+
style="width:calc(100% - 8px);height:100%;border:0;padding:0 0 0 8px;"
|
|
20
|
+
class="ge-table-cell-editor-input">`}}}class __{constructor(c="none",p="single"){this.selectionType=c,this.selectionMode=p,this.ranges=[],this.negativeRanges=[],this.allSelected=!1}getSelectionCount(c,p){let y=0;for(const E of this.ranges)E.isInRange(c,p)&&y++;return this.allSelected&&y++,this.isInNegativeRange(c,p)&&(y=0),y}isInNegativeRange(c,p){for(const y of this.negativeRanges)if(y.isInRange(c,p))return!0;return!1}getRanges(){return this.ranges}clear(){this.ranges=[],this.negativeRanges=[],this.allSelected=!1}hasSelection(){return!!this.ranges.length}selectAll(){this.allSelected=!0}addSelection(c){this.addRange(c)}removeSelection(c){if(this.selectionType==="none")return;let p=c;this.selectionType==="row"?p=$i.singleRow(c.r1):this.selectionType==="column"&&(p=$i.singleColumn(c.c1)),this.negativeRanges.push(p)}togglePoint(c,p){this.getSelectionCount(c,p)>0?this.removeSelection($i.singleCell(c,p)):this.addSelection($i.singleCell(c,p))}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 k_{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]}}const M_=new __,O_=new k_("cell");class A_{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 sw,this.showCheckboxWihoutExtraColumn=!1,this.externalFilterFunction=void 0,this.sortedOptions=new cw,this.sortOrder=["asc","desc"],this.getEditRenderer=(c,p)=>new D_,this.getSelectionModel=()=>M_,this.getFocusModel=()=>O_}}class L_{setStyle(c,p,y){return c.style[p]=y,c}appendText(c,p){const y=this.createText(p);return this.appendChild(c,y),y}addClass(c,p){return p.includes(" ")?p.split(" ").forEach(y=>c.classList.add(y)):c.classList.add(p),c}appendChild(c,p){c.appendChild(p)}createElement(c){return document.createElement(c)}createText(c){return document.createTextNode(c)}setAttribute(c,p,y){c.setAttribute(p,y)}}class N_ extends JR.Component{constructor(p){super(p);ZR(this,"ref",JR.createRef())}componentDidMount(){const p=this.ref.current;this.initTable(p,this.props)}componentWillUnmount(){}initTable(p,y){const E={onCheckboxChanged:C=>{y.checkboxChanged&&y.checkboxChanged(C)},onContextmenu:C=>{y.contextmenu&&y.contextmenu(C)},onModelChanged:C=>{y.modelChanged&&y.modelChanged(C)},onMouseClicked:C=>{y.mouseClicked&&y.mouseClicked(C)},onMouseDragging:C=>{y.mouseDragging&&y.mouseDragging(C)},onMouseDraggingEnd:C=>{y.mouseDraggingEnd&&y.mouseDraggingEnd(C)},onMouseMoved:C=>{}},x=new T_(p,y.tableModel,new L_,y.tableOptions??new A_,E);x.firstInit(),y.tableReady&&y.tableReady(x.getApi())}render(){return n_.jsx("div",{ref:this.ref,className:"container-div",style:{width:"100%",height:"100%",backgroundColor:"transparent",padding:"0",margin:"0"}})}}var dC={exports:{}},bi={},Nm={exports:{}},mt={};/**
|
|
21
21
|
* @license React
|
|
22
22
|
* react.production.min.js
|
|
23
23
|
*
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* This source code is licensed under the MIT license found in the
|
|
27
27
|
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/var
|
|
28
|
+
*/var ew;function z_(){if(ew)return mt;ew=1;var G=Symbol.for("react.element"),c=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),x=Symbol.for("react.provider"),C=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),$=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),Z=Symbol.iterator;function ae(D){return D===null||typeof D!="object"?null:(D=Z&&D[Z]||D["@@iterator"],typeof D=="function"?D:null)}var te={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},re=Object.assign,Be={};function de(D,X,ye){this.props=D,this.context=X,this.refs=Be,this.updater=ye||te}de.prototype.isReactComponent={},de.prototype.setState=function(D,X){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,X,"setState")},de.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function Ue(){}Ue.prototype=de.prototype;function tt(D,X,ye){this.props=D,this.context=X,this.refs=Be,this.updater=ye||te}var _e=tt.prototype=new Ue;_e.constructor=tt,re(_e,de.prototype),_e.isPureReactComponent=!0;var $e=Array.isArray,pe=Object.prototype.hasOwnProperty,xe={current:null},Oe={key:!0,ref:!0,__self:!0,__source:!0};function lt(D,X,ye){var Ze,Ye={},Ct=null,ot=null;if(X!=null)for(Ze in X.ref!==void 0&&(ot=X.ref),X.key!==void 0&&(Ct=""+X.key),X)pe.call(X,Ze)&&!Oe.hasOwnProperty(Ze)&&(Ye[Ze]=X[Ze]);var Et=arguments.length-2;if(Et===1)Ye.children=ye;else if(1<Et){for(var ct=Array(Et),jt=0;jt<Et;jt++)ct[jt]=arguments[jt+2];Ye.children=ct}if(D&&D.defaultProps)for(Ze in Et=D.defaultProps,Et)Ye[Ze]===void 0&&(Ye[Ze]=Et[Ze]);return{$$typeof:G,type:D,key:Ct,ref:ot,props:Ye,_owner:xe.current}}function kt(D,X){return{$$typeof:G,type:D.type,key:X,ref:D.ref,props:D.props,_owner:D._owner}}function Tt(D){return typeof D=="object"&&D!==null&&D.$$typeof===G}function yt(D){var X={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(ye){return X[ye]})}var un=/\/+/g;function Te(D,X){return typeof D=="object"&&D!==null&&D.key!=null?yt(""+D.key):X.toString(36)}function dt(D,X,ye,Ze,Ye){var Ct=typeof D;(Ct==="undefined"||Ct==="boolean")&&(D=null);var ot=!1;if(D===null)ot=!0;else switch(Ct){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=Ze===""?"."+Te(ot,0):Ze,$e(Ye)?(ye="",D!=null&&(ye=D.replace(un,"$&/")+"/"),dt(Ye,X,ye,"",function(jt){return jt})):Ye!=null&&(Tt(Ye)&&(Ye=kt(Ye,ye+(!Ye.key||ot&&ot.key===Ye.key?"":(""+Ye.key).replace(un,"$&/")+"/")+D)),X.push(Ye)),1;if(ot=0,Ze=Ze===""?".":Ze+":",$e(D))for(var Et=0;Et<D.length;Et++){Ct=D[Et];var ct=Ze+Te(Ct,Et);ot+=dt(Ct,X,ye,ct,Ye)}else if(ct=ae(D),typeof ct=="function")for(D=ct.call(D),Et=0;!(Ct=D.next()).done;)Ct=Ct.value,ct=Ze+Te(Ct,Et++),ot+=dt(Ct,X,ye,ct,Ye);else if(Ct==="object")throw X=String(D),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.");return ot}function qt(D,X,ye){if(D==null)return D;var Ze=[],Ye=0;return dt(D,Ze,"","",function(Ct){return X.call(ye,Ct,Ye++)}),Ze}function Dt(D){if(D._status===-1){var X=D._result;X=X(),X.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=X)}if(D._status===1)return D._result.default;throw D._result}var De={current:null},le={transition:null},Le={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:le,ReactCurrentOwner:xe};return mt.Children={map:qt,forEach:function(D,X,ye){qt(D,function(){X.apply(this,arguments)},ye)},count:function(D){var X=0;return qt(D,function(){X++}),X},toArray:function(D){return qt(D,function(X){return X})||[]},only:function(D){if(!Tt(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},mt.Component=de,mt.Fragment=p,mt.Profiler=E,mt.PureComponent=tt,mt.StrictMode=y,mt.Suspense=z,mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Le,mt.cloneElement=function(D,X,ye){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var Ze=re({},D.props),Ye=D.key,Ct=D.ref,ot=D._owner;if(X!=null){if(X.ref!==void 0&&(Ct=X.ref,ot=xe.current),X.key!==void 0&&(Ye=""+X.key),D.type&&D.type.defaultProps)var Et=D.type.defaultProps;for(ct in X)pe.call(X,ct)&&!Oe.hasOwnProperty(ct)&&(Ze[ct]=X[ct]===void 0&&Et!==void 0?Et[ct]:X[ct])}var ct=arguments.length-2;if(ct===1)Ze.children=ye;else if(1<ct){Et=Array(ct);for(var jt=0;jt<ct;jt++)Et[jt]=arguments[jt+2];Ze.children=Et}return{$$typeof:G,type:D.type,key:Ye,ref:Ct,props:Ze,_owner:ot}},mt.createContext=function(D){return D={$$typeof:C,_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 X=lt.bind(null,D);return X.type=D,X},mt.createRef=function(){return{current:null}},mt.forwardRef=function(D){return{$$typeof:Y,render:D}},mt.isValidElement=Tt,mt.lazy=function(D){return{$$typeof:oe,_payload:{_status:-1,_result:D},_init:Dt}},mt.memo=function(D,X){return{$$typeof:$,type:D,compare:X===void 0?null:X}},mt.startTransition=function(D){var X=le.transition;le.transition={};try{D()}finally{le.transition=X}},mt.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},mt.useCallback=function(D,X){return De.current.useCallback(D,X)},mt.useContext=function(D){return De.current.useContext(D)},mt.useDebugValue=function(){},mt.useDeferredValue=function(D){return De.current.useDeferredValue(D)},mt.useEffect=function(D,X){return De.current.useEffect(D,X)},mt.useId=function(){return De.current.useId()},mt.useImperativeHandle=function(D,X,ye){return De.current.useImperativeHandle(D,X,ye)},mt.useInsertionEffect=function(D,X){return De.current.useInsertionEffect(D,X)},mt.useLayoutEffect=function(D,X){return De.current.useLayoutEffect(D,X)},mt.useMemo=function(D,X){return De.current.useMemo(D,X)},mt.useReducer=function(D,X,ye){return De.current.useReducer(D,X,ye)},mt.useRef=function(D){return De.current.useRef(D)},mt.useState=function(D){return De.current.useState(D)},mt.useSyncExternalStore=function(D,X,ye){return De.current.useSyncExternalStore(D,X,ye)},mt.useTransition=function(){return De.current.useTransition()},mt.version="18.2.0",mt}var Qp={exports:{}};/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react.development.js
|
|
31
31
|
*
|
|
@@ -33,29 +33,29 @@
|
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var ew;function N_(){return ew||(ew=1,function(I,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",S=Symbol.for("react.element"),R=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),K=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),_e=Symbol.for("react.offscreen"),de=Symbol.iterator,ct="@@iterator";function it(y){if(y===null||typeof y!="object")return null;var x=de&&y[de]||y[ct];return typeof x=="function"?x:null}var xe={current:null},Oe={transition:null},Ce={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Pe={current:null},ke={},Lt=null;function jt(y){Lt=y}ke.setExtraStackFrame=function(y){Lt=y},ke.getCurrentStack=null,ke.getStackAddendum=function(){var y="";Lt&&(y+=Lt);var x=ke.getCurrentStack;return x&&(y+=x()||""),y};var Bt=!1,Tt=!1,Rn=!1,Je=!1,ft=!1,qt={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:Oe,ReactCurrentOwner:Pe};qt.ReactDebugCurrentFrame=ke,qt.ReactCurrentActQueue=Ce;function bt(y){{for(var x=arguments.length,F=new Array(x>1?x-1:0),j=1;j<x;j++)F[j-1]=arguments[j];ie("warn",y,F)}}function Te(y){{for(var x=arguments.length,F=new Array(x>1?x-1:0),j=1;j<x;j++)F[j-1]=arguments[j];ie("error",y,F)}}function ie(y,x,F){{var j=qt.ReactDebugCurrentFrame,ne=j.getStackAddendum();ne!==""&&(x+="%s",F=F.concat([ne]));var Ve=F.map(function(ce){return String(ce)});Ve.unshift("Warning: "+x),Function.prototype.apply.call(console[y],console,Ve)}}var Ae={};function D(y,x){{var F=y.constructor,j=F&&(F.displayName||F.name)||"ReactClass",ne=j+"."+x;if(Ae[ne])return;Te("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.",x,j),Ae[ne]=!0}}var Q={isMounted:function(y){return!1},enqueueForceUpdate:function(y,x,F){D(y,"forceUpdate")},enqueueReplaceState:function(y,x,F,j){D(y,"replaceState")},enqueueSetState:function(y,x,F,j){D(y,"setState")}},ve=Object.assign,Ke={};Object.freeze(Ke);function Ie(y,x,F){this.props=y,this.context=x,this.refs=Ke,this.updater=F||Q}Ie.prototype.isReactComponent={},Ie.prototype.setState=function(y,x){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,x,"setState")},Ie.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var gt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},at=function(y,x){Object.defineProperty(Ie.prototype,y,{get:function(){bt("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})};for(var St in gt)gt.hasOwnProperty(St)&&at(St,gt[St])}function ut(){}ut.prototype=Ie.prototype;function Pt(y,x,F){this.props=y,this.context=x,this.refs=Ke,this.updater=F||Q}var fa=Pt.prototype=new ut;fa.constructor=Pt,ve(fa,Ie.prototype),fa.isPureReactComponent=!0;function Cr(){var y={current:null};return Object.seal(y),y}var Ti=Array.isArray;function pn(y){return Ti(y)}function Zn(y){{var x=typeof Symbol=="function"&&Symbol.toStringTag,F=x&&y[Symbol.toStringTag]||y.constructor.name||"Object";return F}}function Er(y){try{return Rr(y),!1}catch{return!0}}function Rr(y){return""+y}function Mn(y){if(Er(y))return Te("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zn(y)),Rr(y)}function Di(y,x,F){var j=y.displayName;if(j)return j;var ne=x.displayName||x.name||"";return ne!==""?F+"("+ne+")":F}function da(y){return y.displayName||"Context"}function Jn(y){if(y==null)return null;if(typeof y.tag=="number"&&Te("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 T:return"Fragment";case R:return"Portal";case Y:return"Profiler";case C:return"StrictMode";case J:return"Suspense";case ae:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case K:var x=y;return da(x)+".Consumer";case B:var F=y;return da(F._context)+".Provider";case ge:return Di(y,y.render,"ForwardRef");case X:var j=y.displayName||null;return j!==null?j:Jn(y.type)||"Memo";case le:{var ne=y,Ve=ne._payload,ce=ne._init;try{return Jn(ce(Ve))}catch{return null}}}return null}var wr=Object.prototype.hasOwnProperty,Wi={key:!0,ref:!0,__self:!0,__source:!0},br,_i,xr;xr={};function ki(y){if(wr.call(y,"ref")){var x=Object.getOwnPropertyDescriptor(y,"ref").get;if(x&&x.isReactWarning)return!1}return y.ref!==void 0}function Vn(y){if(wr.call(y,"key")){var x=Object.getOwnPropertyDescriptor(y,"key").get;if(x&&x.isReactWarning)return!1}return y.key!==void 0}function Ir(y,x){var F=function(){br||(br=!0,Te("%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)",x))};F.isReactWarning=!0,Object.defineProperty(y,"key",{get:F,configurable:!0})}function Ul(y,x){var F=function(){_i||(_i=!0,Te("%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)",x))};F.isReactWarning=!0,Object.defineProperty(y,"ref",{get:F,configurable:!0})}function Yi(y){if(typeof y.ref=="string"&&Pe.current&&y.__self&&Pe.current.stateNode!==y.__self){var x=Jn(Pe.current.type);xr[x]||(Te('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',x,y.ref),xr[x]=!0)}}var se=function(y,x,F,j,ne,Ve,ce){var Fe={$$typeof:S,type:y,key:x,ref:F,props:ce,_owner:Ve};return Fe._store={},Object.defineProperty(Fe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Fe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.defineProperty(Fe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.freeze&&(Object.freeze(Fe.props),Object.freeze(Fe)),Fe};function Ne(y,x,F){var j,ne={},Ve=null,ce=null,Fe=null,nt=null;if(x!=null){ki(x)&&(ce=x.ref,Yi(x)),Vn(x)&&(Mn(x.key),Ve=""+x.key),Fe=x.__self===void 0?null:x.__self,nt=x.__source===void 0?null:x.__source;for(j in x)wr.call(x,j)&&!Wi.hasOwnProperty(j)&&(ne[j]=x[j])}var yt=arguments.length-2;if(yt===1)ne.children=F;else if(yt>1){for(var Ut=Array(yt),Ot=0;Ot<yt;Ot++)Ut[Ot]=arguments[Ot+2];Object.freeze&&Object.freeze(Ut),ne.children=Ut}if(y&&y.defaultProps){var Ft=y.defaultProps;for(j in Ft)ne[j]===void 0&&(ne[j]=Ft[j])}if(Ve||ce){var It=typeof y=="function"?y.displayName||y.name||"Unknown":y;Ve&&Ir(ne,It),ce&&Ul(ne,It)}return se(y,Ve,ce,Fe,nt,Pe.current,ne)}function et(y,x){var F=se(y.type,x,y.ref,y._self,y._source,y._owner,y.props);return F}function Mt(y,x,F){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var j,ne=ve({},y.props),Ve=y.key,ce=y.ref,Fe=y._self,nt=y._source,yt=y._owner;if(x!=null){ki(x)&&(ce=x.ref,yt=Pe.current),Vn(x)&&(Mn(x.key),Ve=""+x.key);var Ut;y.type&&y.type.defaultProps&&(Ut=y.type.defaultProps);for(j in x)wr.call(x,j)&&!Wi.hasOwnProperty(j)&&(x[j]===void 0&&Ut!==void 0?ne[j]=Ut[j]:ne[j]=x[j])}var Ot=arguments.length-2;if(Ot===1)ne.children=F;else if(Ot>1){for(var Ft=Array(Ot),It=0;It<Ot;It++)Ft[It]=arguments[It+2];ne.children=Ft}return se(y.type,Ve,ce,Fe,nt,yt,ne)}function At(y){return typeof y=="object"&&y!==null&&y.$$typeof===S}var wn=".",hn=":";function Tr(y){var x=/[=:]/g,F={"=":"=0",":":"=2"},j=y.replace(x,function(ne){return F[ne]});return"$"+j}var Wt=!1,ri=/\/+/g;function tn(y){return y.replace(ri,"$&/")}function $t(y,x){return typeof y=="object"&&y!==null&&y.key!=null?(Mn(y.key),Tr(""+y.key)):x.toString(36)}function Fl(y,x,F,j,ne){var Ve=typeof y;(Ve==="undefined"||Ve==="boolean")&&(y=null);var ce=!1;if(y===null)ce=!0;else switch(Ve){case"string":case"number":ce=!0;break;case"object":switch(y.$$typeof){case S:case R:ce=!0}}if(ce){var Fe=y,nt=ne(Fe),yt=j===""?wn+$t(Fe,0):j;if(pn(nt)){var Ut="";yt!=null&&(Ut=tn(yt)+"/"),Fl(nt,x,Ut,"",function(Pf){return Pf})}else nt!=null&&(At(nt)&&(nt.key&&(!Fe||Fe.key!==nt.key)&&Mn(nt.key),nt=et(nt,F+(nt.key&&(!Fe||Fe.key!==nt.key)?tn(""+nt.key)+"/":"")+yt)),x.push(nt));return 1}var Ot,Ft,It=0,st=j===""?wn:j+hn;if(pn(y))for(var ma=0;ma<y.length;ma++)Ot=y[ma],Ft=st+$t(Ot,ma),It+=Fl(Ot,x,F,Ft,ne);else{var Po=it(y);if(typeof Po=="function"){var $u=y;Po===$u.entries&&(Wt||bt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wt=!0);for(var Bf=Po.call($u),zi,Iu=0;!(zi=Bf.next()).done;)Ot=zi.value,Ft=st+$t(Ot,Iu++),It+=Fl(Ot,x,F,Ft,ne)}else if(Ve==="object"){var Wu=String(y);throw new Error("Objects are not valid as a React child (found: "+(Wu==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Wu)+"). If you meant to render a collection of children, use an array instead.")}}return It}function pa(y,x,F){if(y==null)return y;var j=[],ne=0;return Fl(y,j,"","",function(Ve){return x.call(F,Ve,ne++)}),j}function ko(y){var x=0;return pa(y,function(){x++}),x}function Ws(y,x,F){pa(y,function(){x.apply(this,arguments)},F)}function Ys(y){return pa(y,function(x){return x})||[]}function Mo(y){if(!At(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function Uu(y){var x={$$typeof:K,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};x.Provider={$$typeof:B,_context:x};var F=!1,j=!1,ne=!1;{var Ve={$$typeof:K,_context:x};Object.defineProperties(Ve,{Provider:{get:function(){return j||(j=!0,Te("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),x.Provider},set:function(ce){x.Provider=ce}},_currentValue:{get:function(){return x._currentValue},set:function(ce){x._currentValue=ce}},_currentValue2:{get:function(){return x._currentValue2},set:function(ce){x._currentValue2=ce}},_threadCount:{get:function(){return x._threadCount},set:function(ce){x._threadCount=ce}},Consumer:{get:function(){return F||(F=!0,Te("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),x.Consumer}},displayName:{get:function(){return x.displayName},set:function(ce){ne||(bt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ce),ne=!0)}}}),x.Consumer=Ve}return x._currentRenderer=null,x._currentRenderer2=null,x}var Mi=-1,$a=0,Gi=1,Ia=2;function Wr(y){if(y._status===Mi){var x=y._result,F=x();if(F.then(function(Ve){if(y._status===$a||y._status===Mi){var ce=y;ce._status=Gi,ce._result=Ve}},function(Ve){if(y._status===$a||y._status===Mi){var ce=y;ce._status=Ia,ce._result=Ve}}),y._status===Mi){var j=y;j._status=$a,j._result=F}}if(y._status===Gi){var ne=y._result;return ne===void 0&&Te(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
36
|
+
*/Qp.exports;var tw;function U_(){return tw||(tw=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",y=Symbol.for("react.element"),E=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),$=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),Be=Symbol.for("react.offscreen"),de=Symbol.iterator,Ue="@@iterator";function tt(g){if(g===null||typeof g!="object")return null;var T=de&&g[de]||g[Ue];return typeof T=="function"?T:null}var _e={current:null},$e={transition:null},pe={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},xe={current:null},Oe={},lt=null;function kt(g){lt=g}Oe.setExtraStackFrame=function(g){lt=g},Oe.getCurrentStack=null,Oe.getStackAddendum=function(){var g="";lt&&(g+=lt);var T=Oe.getCurrentStack;return T&&(g+=T()||""),g};var Tt=!1,yt=!1,un=!1,Te=!1,dt=!1,qt={ReactCurrentDispatcher:_e,ReactCurrentBatchConfig:$e,ReactCurrentOwner:xe};qt.ReactDebugCurrentFrame=Oe,qt.ReactCurrentActQueue=pe;function Dt(g){{for(var T=arguments.length,H=new Array(T>1?T-1:0),P=1;P<T;P++)H[P-1]=arguments[P];le("warn",g,H)}}function De(g){{for(var T=arguments.length,H=new Array(T>1?T-1:0),P=1;P<T;P++)H[P-1]=arguments[P];le("error",g,H)}}function le(g,T,H){{var P=qt.ReactDebugCurrentFrame,ne=P.getStackAddendum();ne!==""&&(T+="%s",H=H.concat([ne]));var Pe=H.map(function(fe){return String(fe)});Pe.unshift("Warning: "+T),Function.prototype.apply.call(console[g],console,Pe)}}var Le={};function D(g,T){{var H=g.constructor,P=H&&(H.displayName||H.name)||"ReactClass",ne=P+"."+T;if(Le[ne])return;De("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,P),Le[ne]=!0}}var X={isMounted:function(g){return!1},enqueueForceUpdate:function(g,T,H){D(g,"forceUpdate")},enqueueReplaceState:function(g,T,H,P){D(g,"replaceState")},enqueueSetState:function(g,T,H,P){D(g,"setState")}},ye=Object.assign,Ze={};Object.freeze(Ze);function Ye(g,T,H){this.props=g,this.context=T,this.refs=Ze,this.updater=H||X}Ye.prototype.isReactComponent={},Ye.prototype.setState=function(g,T){if(typeof g!="object"&&typeof g!="function"&&g!=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,g,T,"setState")},Ye.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};{var Ct={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(g,T){Object.defineProperty(Ye.prototype,g,{get:function(){Dt("%s(...) is deprecated in plain JavaScript React classes. %s",T[0],T[1])}})};for(var Et in Ct)Ct.hasOwnProperty(Et)&&ot(Et,Ct[Et])}function ct(){}ct.prototype=Ye.prototype;function jt(g,T,H){this.props=g,this.context=T,this.refs=Ze,this.updater=H||X}var fa=jt.prototype=new ct;fa.constructor=jt,ye(fa,Ye.prototype),fa.isPureReactComponent=!0;function Cr(){var g={current:null};return Object.seal(g),g}var Ti=Array.isArray;function hn(g){return Ti(g)}function Zn(g){{var T=typeof Symbol=="function"&&Symbol.toStringTag,H=T&&g[Symbol.toStringTag]||g.constructor.name||"Object";return H}}function Er(g){try{return Rr(g),!1}catch{return!0}}function Rr(g){return""+g}function Mn(g){if(Er(g))return De("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zn(g)),Rr(g)}function Di(g,T,H){var P=g.displayName;if(P)return P;var ne=T.displayName||T.name||"";return ne!==""?H+"("+ne+")":H}function da(g){return g.displayName||"Context"}function Jn(g){if(g==null)return null;if(typeof g.tag=="number"&&De("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case x:return"Fragment";case E:return"Portal";case Y:return"Profiler";case C:return"StrictMode";case Z:return"Suspense";case ae:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case $:var T=g;return da(T)+".Consumer";case z:var H=g;return da(H._context)+".Provider";case oe:return Di(g,g.render,"ForwardRef");case te:var P=g.displayName||null;return P!==null?P:Jn(g.type)||"Memo";case re:{var ne=g,Pe=ne._payload,fe=ne._init;try{return Jn(fe(Pe))}catch{return null}}}return null}var wr=Object.prototype.hasOwnProperty,Wi={key:!0,ref:!0,__self:!0,__source:!0},br,_i,xr;xr={};function ki(g){if(wr.call(g,"ref")){var T=Object.getOwnPropertyDescriptor(g,"ref").get;if(T&&T.isReactWarning)return!1}return g.ref!==void 0}function Vn(g){if(wr.call(g,"key")){var T=Object.getOwnPropertyDescriptor(g,"key").get;if(T&&T.isReactWarning)return!1}return g.key!==void 0}function $r(g,T){var H=function(){br||(br=!0,De("%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))};H.isReactWarning=!0,Object.defineProperty(g,"key",{get:H,configurable:!0})}function Ul(g,T){var H=function(){_i||(_i=!0,De("%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))};H.isReactWarning=!0,Object.defineProperty(g,"ref",{get:H,configurable:!0})}function Yi(g){if(typeof g.ref=="string"&&xe.current&&g.__self&&xe.current.stateNode!==g.__self){var T=Jn(xe.current.type);xr[T]||(De('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,g.ref),xr[T]=!0)}}var ce=function(g,T,H,P,ne,Pe,fe){var He={$$typeof:y,type:g,key:T,ref:H,props:fe,_owner:Pe};return He._store={},Object.defineProperty(He._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(He,"_self",{configurable:!1,enumerable:!1,writable:!1,value:P}),Object.defineProperty(He,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ne}),Object.freeze&&(Object.freeze(He.props),Object.freeze(He)),He};function Ne(g,T,H){var P,ne={},Pe=null,fe=null,He=null,it=null;if(T!=null){ki(T)&&(fe=T.ref,Yi(T)),Vn(T)&&(Mn(T.key),Pe=""+T.key),He=T.__self===void 0?null:T.__self,it=T.__source===void 0?null:T.__source;for(P in T)wr.call(T,P)&&!Wi.hasOwnProperty(P)&&(ne[P]=T[P])}var St=arguments.length-2;if(St===1)ne.children=H;else if(St>1){for(var Ht=Array(St),Nt=0;Nt<St;Nt++)Ht[Nt]=arguments[Nt+2];Object.freeze&&Object.freeze(Ht),ne.children=Ht}if(g&&g.defaultProps){var Vt=g.defaultProps;for(P in Vt)ne[P]===void 0&&(ne[P]=Vt[P])}if(Pe||fe){var $t=typeof g=="function"?g.displayName||g.name||"Unknown":g;Pe&&$r(ne,$t),fe&&Ul(ne,$t)}return ce(g,Pe,fe,He,it,xe.current,ne)}function nt(g,T){var H=ce(g.type,T,g.ref,g._self,g._source,g._owner,g.props);return H}function Lt(g,T,H){if(g==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+g+".");var P,ne=ye({},g.props),Pe=g.key,fe=g.ref,He=g._self,it=g._source,St=g._owner;if(T!=null){ki(T)&&(fe=T.ref,St=xe.current),Vn(T)&&(Mn(T.key),Pe=""+T.key);var Ht;g.type&&g.type.defaultProps&&(Ht=g.type.defaultProps);for(P in T)wr.call(T,P)&&!Wi.hasOwnProperty(P)&&(T[P]===void 0&&Ht!==void 0?ne[P]=Ht[P]:ne[P]=T[P])}var Nt=arguments.length-2;if(Nt===1)ne.children=H;else if(Nt>1){for(var Vt=Array(Nt),$t=0;$t<Nt;$t++)Vt[$t]=arguments[$t+2];ne.children=Vt}return ce(g.type,Pe,fe,He,it,St,ne)}function zt(g){return typeof g=="object"&&g!==null&&g.$$typeof===y}var wn=".",vn=":";function Tr(g){var T=/[=:]/g,H={"=":"=0",":":"=2"},P=g.replace(T,function(ne){return H[ne]});return"$"+P}var Wt=!1,ri=/\/+/g;function tn(g){return g.replace(ri,"$&/")}function It(g,T){return typeof g=="object"&&g!==null&&g.key!=null?(Mn(g.key),Tr(""+g.key)):T.toString(36)}function Fl(g,T,H,P,ne){var Pe=typeof g;(Pe==="undefined"||Pe==="boolean")&&(g=null);var fe=!1;if(g===null)fe=!0;else switch(Pe){case"string":case"number":fe=!0;break;case"object":switch(g.$$typeof){case y:case E:fe=!0}}if(fe){var He=g,it=ne(He),St=P===""?wn+It(He,0):P;if(hn(it)){var Ht="";St!=null&&(Ht=tn(St)+"/"),Fl(it,T,Ht,"",function(jf){return jf})}else it!=null&&(zt(it)&&(it.key&&(!He||He.key!==it.key)&&Mn(it.key),it=nt(it,H+(it.key&&(!He||He.key!==it.key)?tn(""+it.key)+"/":"")+St)),T.push(it));return 1}var Nt,Vt,$t=0,ft=P===""?wn:P+vn;if(hn(g))for(var ma=0;ma<g.length;ma++)Nt=g[ma],Vt=ft+It(Nt,ma),$t+=Fl(Nt,T,H,Vt,ne);else{var Io=tt(g);if(typeof Io=="function"){var $u=g;Io===$u.entries&&(Wt||Dt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wt=!0);for(var Pf=Io.call($u),zi,Wu=0;!(zi=Pf.next()).done;)Nt=zi.value,Vt=ft+It(Nt,Wu++),$t+=Fl(Nt,T,H,Vt,ne)}else if(Pe==="object"){var Yu=String(g);throw new Error("Objects are not valid as a React child (found: "+(Yu==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":Yu)+"). If you meant to render a collection of children, use an array instead.")}}return $t}function pa(g,T,H){if(g==null)return g;var P=[],ne=0;return Fl(g,P,"","",function(Pe){return T.call(H,Pe,ne++)}),P}function Mo(g){var T=0;return pa(g,function(){T++}),T}function Ws(g,T,H){pa(g,function(){T.apply(this,arguments)},H)}function Ys(g){return pa(g,function(T){return T})||[]}function Oo(g){if(!zt(g))throw new Error("React.Children.only expected to receive a single React element child.");return g}function Fu(g){var T={$$typeof:$,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};T.Provider={$$typeof:z,_context:T};var H=!1,P=!1,ne=!1;{var Pe={$$typeof:$,_context:T};Object.defineProperties(Pe,{Provider:{get:function(){return P||(P=!0,De("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(fe){T.Provider=fe}},_currentValue:{get:function(){return T._currentValue},set:function(fe){T._currentValue=fe}},_currentValue2:{get:function(){return T._currentValue2},set:function(fe){T._currentValue2=fe}},_threadCount:{get:function(){return T._threadCount},set:function(fe){T._threadCount=fe}},Consumer:{get:function(){return H||(H=!0,De("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(fe){ne||(Dt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",fe),ne=!0)}}}),T.Consumer=Pe}return T._currentRenderer=null,T._currentRenderer2=null,T}var Mi=-1,Ia=0,Gi=1,$a=2;function Wr(g){if(g._status===Mi){var T=g._result,H=T();if(H.then(function(Pe){if(g._status===Ia||g._status===Mi){var fe=g;fe._status=Gi,fe._result=Pe}},function(Pe){if(g._status===Ia||g._status===Mi){var fe=g;fe._status=$a,fe._result=Pe}}),g._status===Mi){var P=g;P._status=Ia,P._result=H}}if(g._status===Gi){var ne=g._result;return ne===void 0&&De(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
37
37
|
|
|
38
38
|
Your code should look like:
|
|
39
39
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
40
40
|
|
|
41
|
-
Did you accidentally put curly braces around the import?`,ne),"default"in ne||
|
|
41
|
+
Did you accidentally put curly braces around the import?`,ne),"default"in ne||De(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
42
42
|
|
|
43
43
|
Your code should look like:
|
|
44
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,ne),ne.default}else throw
|
|
44
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,ne),ne.default}else throw g._result}function Oi(g){var T={_status:Mi,_result:g},H={$$typeof:re,_payload:T,_init:Wr};{var P,ne;Object.defineProperties(H,{defaultProps:{configurable:!0,get:function(){return P},set:function(Pe){De("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."),P=Pe,Object.defineProperty(H,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ne},set:function(Pe){De("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."),ne=Pe,Object.defineProperty(H,"propTypes",{enumerable:!0})}}})}return H}function Wa(g){g!=null&&g.$$typeof===te?De("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof g!="function"?De("forwardRef requires a render function but was given %s.",g===null?"null":typeof g):g.length!==0&&g.length!==2&&De("forwardRef render functions accept exactly two parameters: props and ref. %s",g.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),g!=null&&(g.defaultProps!=null||g.propTypes!=null)&&De("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var T={$$typeof:oe,render:g};{var H;Object.defineProperty(T,"displayName",{enumerable:!1,configurable:!0,get:function(){return H},set:function(P){H=P,!g.name&&!g.displayName&&(g.displayName=P)}})}return T}var Ya;Ya=Symbol.for("react.module.reference");function Ao(g){return!!(typeof g=="string"||typeof g=="function"||g===x||g===Y||dt||g===C||g===Z||g===ae||Te||g===Be||Tt||yt||un||typeof g=="object"&&g!==null&&(g.$$typeof===re||g.$$typeof===te||g.$$typeof===z||g.$$typeof===$||g.$$typeof===oe||g.$$typeof===Ya||g.getModuleId!==void 0))}function Hu(g,T){Ao(g)||De("memo: The first argument must be a component. Instead received: %s",g===null?"null":typeof g);var H={$$typeof:te,type:g,compare:T===void 0?null:T};{var P;Object.defineProperty(H,"displayName",{enumerable:!1,configurable:!0,get:function(){return P},set:function(ne){P=ne,!g.name&&!g.displayName&&(g.displayName=ne)}})}return H}function sn(){var g=_e.current;return g===null&&De(`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:
|
|
45
45
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
46
46
|
2. You might be breaking the Rules of Hooks
|
|
47
47
|
3. You might have more than one copy of React in the same app
|
|
48
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),
|
|
49
|
-
`+ur+
|
|
50
|
-
`),
|
|
51
|
-
`),
|
|
52
|
-
`+
|
|
48
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),g}function ii(g){var T=sn();if(g._context!==void 0){var H=g._context;H.Consumer===g?De("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?"):H.Provider===g&&De("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return T.useContext(g)}function Hl(g){var T=sn();return T.useState(g)}function Ga(g,T,H){var P=sn();return P.useReducer(g,T,H)}function Bn(g){var T=sn();return T.useRef(g)}function Gs(g,T){var H=sn();return H.useEffect(g,T)}function Qs(g,T){var H=sn();return H.useInsertionEffect(g,T)}function Vu(g,T){var H=sn();return H.useLayoutEffect(g,T)}function Xs(g,T){var H=sn();return H.useCallback(g,T)}function Ff(g,T){var H=sn();return H.useMemo(g,T)}function Hf(g,T,H){var P=sn();return P.useImperativeHandle(g,T,H)}function Zt(g,T){{var H=sn();return H.useDebugValue(g,T)}}function Vf(){var g=sn();return g.useTransition()}function Ai(g){var T=sn();return T.useDeferredValue(g)}function rt(){var g=sn();return g.useId()}function Qi(g,T,H){var P=sn();return P.useSyncExternalStore(g,T,H)}var Qa=0,Lo,Xa,Dr,Bu,or,Pu,ju;function Ks(){}Ks.__reactDisabledLog=!0;function No(){{if(Qa===0){Lo=console.log,Xa=console.info,Dr=console.warn,Bu=console.error,or=console.group,Pu=console.groupCollapsed,ju=console.groupEnd;var g={configurable:!0,enumerable:!0,value:Ks,writable:!0};Object.defineProperties(console,{info:g,log:g,warn:g,error:g,group:g,groupCollapsed:g,groupEnd:g})}Qa++}}function Ka(){{if(Qa--,Qa===0){var g={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ye({},g,{value:Lo}),info:ye({},g,{value:Xa}),warn:ye({},g,{value:Dr}),error:ye({},g,{value:Bu}),group:ye({},g,{value:or}),groupCollapsed:ye({},g,{value:Pu}),groupEnd:ye({},g,{value:ju})})}Qa<0&&De("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Li=qt.ReactCurrentDispatcher,ur;function qa(g,T,H){{if(ur===void 0)try{throw Error()}catch(ne){var P=ne.stack.trim().match(/\n( *(at )?)/);ur=P&&P[1]||""}return`
|
|
49
|
+
`+ur+g}}var Za=!1,Ja;{var zo=typeof WeakMap=="function"?WeakMap:Map;Ja=new zo}function Uo(g,T){if(!g||Za)return"";{var H=Ja.get(g);if(H!==void 0)return H}var P;Za=!0;var ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Pe;Pe=Li.current,Li.current=null,No();try{if(T){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(ft){P=ft}Reflect.construct(g,[],fe)}else{try{fe.call()}catch(ft){P=ft}g.call(fe.prototype)}}else{try{throw Error()}catch(ft){P=ft}g()}}catch(ft){if(ft&&P&&typeof ft.stack=="string"){for(var He=ft.stack.split(`
|
|
50
|
+
`),it=P.stack.split(`
|
|
51
|
+
`),St=He.length-1,Ht=it.length-1;St>=1&&Ht>=0&&He[St]!==it[Ht];)Ht--;for(;St>=1&&Ht>=0;St--,Ht--)if(He[St]!==it[Ht]){if(St!==1||Ht!==1)do if(St--,Ht--,Ht<0||He[St]!==it[Ht]){var Nt=`
|
|
52
|
+
`+He[St].replace(" at new "," at ");return g.displayName&&Nt.includes("<anonymous>")&&(Nt=Nt.replace("<anonymous>",g.displayName)),typeof g=="function"&&Ja.set(g,Nt),Nt}while(St>=1&&Ht>=0);break}}}finally{Za=!1,Li.current=Pe,Ka(),Error.prepareStackTrace=ne}var Vt=g?g.displayName||g.name:"",$t=Vt?qa(Vt):"";return typeof g=="function"&&Ja.set(g,$t),$t}function ha(g,T,H){return Uo(g,!1)}function Bf(g){var T=g.prototype;return!!(T&&T.isReactComponent)}function Xi(g,T,H){if(g==null)return"";if(typeof g=="function")return Uo(g,Bf(g));if(typeof g=="string")return qa(g);switch(g){case Z:return qa("Suspense");case ae:return qa("SuspenseList")}if(typeof g=="object")switch(g.$$typeof){case oe:return ha(g.render);case te:return Xi(g.type,T,H);case re:{var P=g,ne=P._payload,Pe=P._init;try{return Xi(Pe(ne),T,H)}catch{}}}return""}var wt={},Fo=qt.ReactDebugCurrentFrame;function Vl(g){if(g){var T=g._owner,H=Xi(g.type,g._source,T?T.type:null);Fo.setExtraStackFrame(H)}else Fo.setExtraStackFrame(null)}function Ho(g,T,H,P,ne){{var Pe=Function.call.bind(wr);for(var fe in g)if(Pe(g,fe)){var He=void 0;try{if(typeof g[fe]!="function"){var it=Error((P||"React class")+": "+H+" type `"+fe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof g[fe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw it.name="Invariant Violation",it}He=g[fe](T,fe,P,H,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(St){He=St}He&&!(He instanceof Error)&&(Vl(ne),De("%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).",P||"React class",H,fe,typeof He),Vl(null)),He instanceof Error&&!(He.message in wt)&&(wt[He.message]=!0,Vl(ne),De("Failed %s type: %s",H,He.message),Vl(null))}}}function gt(g){if(g){var T=g._owner,H=Xi(g.type,g._source,T?T.type:null);kt(H)}else kt(null)}var Vo;Vo=!1;function Bo(){if(xe.current){var g=Jn(xe.current.type);if(g)return`
|
|
53
53
|
|
|
54
|
-
Check the render method of \``+
|
|
54
|
+
Check the render method of \``+g+"`."}return""}function Xe(g){if(g!==void 0){var T=g.fileName.replace(/^.*[\\\/]/,""),H=g.lineNumber;return`
|
|
55
55
|
|
|
56
|
-
Check your code at `+
|
|
56
|
+
Check your code at `+T+":"+H+"."}return""}function Bl(g){return g!=null?Xe(g.__source):""}var nn={};function _r(g){var T=Bo();if(!T){var H=typeof g=="string"?g:g.displayName||g.name;H&&(T=`
|
|
57
57
|
|
|
58
|
-
Check the top-level render call using <`+
|
|
58
|
+
Check the top-level render call using <`+H+">.")}return T}function sr(g,T){if(!(!g._store||g._store.validated||g.key!=null)){g._store.validated=!0;var H=_r(T);if(!nn[H]){nn[H]=!0;var P="";g&&g._owner&&g._owner!==xe.current&&(P=" It was passed a child from "+Jn(g._owner.type)+"."),gt(g),De('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',H,P),gt(null)}}}function el(g,T){if(typeof g=="object"){if(hn(g))for(var H=0;H<g.length;H++){var P=g[H];zt(P)&&sr(P,T)}else if(zt(g))g._store&&(g._store.validated=!0);else if(g){var ne=tt(g);if(typeof ne=="function"&&ne!==g.entries)for(var Pe=ne.call(g),fe;!(fe=Pe.next()).done;)zt(fe.value)&&sr(fe.value,T)}}}function cn(g){{var T=g.type;if(T==null||typeof T=="string")return;var H;if(typeof T=="function")H=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===oe||T.$$typeof===te))H=T.propTypes;else return;if(H){var P=Jn(T);Ho(H,g.props,"prop",P,g)}else if(T.PropTypes!==void 0&&!Vo){Vo=!0;var ne=Jn(T);De("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ne||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&De("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mt(g){{for(var T=Object.keys(g.props),H=0;H<T.length;H++){var P=T[H];if(P!=="children"&&P!=="key"){gt(g),De("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",P),gt(null);break}}g.ref!==null&&(gt(g),De("Invalid attribute `ref` supplied to `React.Fragment`."),gt(null))}}function qs(g,T,H){var P=Ao(g);if(!P){var ne="";(g===void 0||typeof g=="object"&&g!==null&&Object.keys(g).length===0)&&(ne+=" 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?ne+=Pe:ne+=Bo();var fe;g===null?fe="null":hn(g)?fe="array":g!==void 0&&g.$$typeof===y?(fe="<"+(Jn(g.type)||"Unknown")+" />",ne=" Did you accidentally export a JSX literal instead of a component?"):fe=typeof g,De("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",fe,ne)}var He=Ne.apply(this,arguments);if(He==null)return He;if(P)for(var it=2;it<arguments.length;it++)el(arguments[it],g);return g===x?Mt(He):cn(He),He}var kr=!1;function On(g){var T=qs.bind(null,g);return T.type=g,kr||(kr=!0,Dt("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 Dt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:g}),g}}),T}function Ki(g,T,H){for(var P=Lt.apply(this,arguments),ne=2;ne<arguments.length;ne++)el(arguments[ne],P.type);return cn(P),P}function Zs(g,T){var H=$e.transition;$e.transition={};var P=$e.transition;$e.transition._updatedFibers=new Set;try{g()}finally{if($e.transition=H,H===null&&P._updatedFibers){var ne=P._updatedFibers.size;ne>10&&Dt("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."),P._updatedFibers.clear()}}}var va=!1,tl=null;function Js(g){if(tl===null)try{var T=("require"+Math.random()).slice(0,7),H=G&&G[T];tl=H.call(G,"timers").setImmediate}catch{tl=function(ne){va===!1&&(va=!0,typeof MessageChannel>"u"&&De("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=ne,Pe.port2.postMessage(void 0)}}return tl(g)}var ai=0,nl=!1;function rl(g){{var T=ai;ai++,pe.current===null&&(pe.current=[]);var H=pe.isBatchingLegacy,P;try{if(pe.isBatchingLegacy=!0,P=g(),!H&&pe.didScheduleLegacyUpdate){var ne=pe.current;ne!==null&&(pe.didScheduleLegacyUpdate=!1,al(ne))}}catch(Vt){throw li(T),Vt}finally{pe.isBatchingLegacy=H}if(P!==null&&typeof P=="object"&&typeof P.then=="function"){var Pe=P,fe=!1,He={then:function(Vt,$t){fe=!0,Pe.then(function(ft){li(T),ai===0?Po(ft,Vt,$t):Vt(ft)},function(ft){li(T),$t(ft)})}};return!nl&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){fe||(nl=!0,De("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 () => ...);"))}),He}else{var it=P;if(li(T),ai===0){var St=pe.current;St!==null&&(al(St),pe.current=null);var Ht={then:function(Vt,$t){pe.current===null?(pe.current=[],Po(it,Vt,$t)):Vt(it)}};return Ht}else{var Nt={then:function(Vt,$t){Vt(it)}};return Nt}}}}function li(g){g!==ai-1&&De("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ai=g}function Po(g,T,H){{var P=pe.current;if(P!==null)try{al(P),Js(function(){P.length===0?(pe.current=null,T(g)):Po(g,T,H)})}catch(ne){H(ne)}else T(g)}}var il=!1;function al(g){if(!il){il=!0;var T=0;try{for(;T<g.length;T++){var H=g[T];do H=H(!0);while(H!==null)}g.length=0}catch(P){throw g=g.slice(T+1),P}finally{il=!1}}}var Pl=qs,jo=Ki,Iu=On,Ni={map:pa,forEach:Ws,count:Mo,toArray:Ys,only:Oo};c.Children=Ni,c.Component=Ye,c.Fragment=x,c.Profiler=Y,c.PureComponent=jt,c.StrictMode=C,c.Suspense=Z,c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qt,c.cloneElement=jo,c.createContext=Fu,c.createElement=Pl,c.createFactory=Iu,c.createRef=Cr,c.forwardRef=Wa,c.isValidElement=zt,c.lazy=Oi,c.memo=Hu,c.startTransition=Zs,c.unstable_act=rl,c.useCallback=Xs,c.useContext=ii,c.useDebugValue=Zt,c.useDeferredValue=Ai,c.useEffect=Gs,c.useId=rt,c.useImperativeHandle=Hf,c.useInsertionEffect=Qs,c.useLayoutEffect=Vu,c.useMemo=Ff,c.useReducer=Ga,c.useRef=Bn,c.useState=Hl,c.useSyncExternalStore=Qi,c.useTransition=Vf,c.version=p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Qp,Qp.exports)),Qp.exports}var nw;function fw(){return nw||(nw=1,process.env.NODE_ENV==="production"?Nm.exports=z_():Nm.exports=U_()),Nm.exports}var zm={exports:{}},uC={};/**
|
|
59
59
|
* @license React
|
|
60
60
|
* scheduler.production.min.js
|
|
61
61
|
*
|
|
@@ -63,7 +63,7 @@ Check the top-level render call using <`+F+">.")}return x}function sr(y,x){if(!(
|
|
|
63
63
|
*
|
|
64
64
|
* This source code is licensed under the MIT license found in the
|
|
65
65
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var
|
|
66
|
+
*/var rw;function F_(){return rw||(rw=1,function(G){function c(le,Le){var D=le.length;le.push(Le);e:for(;0<D;){var X=D-1>>>1,ye=le[X];if(0<E(ye,Le))le[X]=Le,le[D]=ye,D=X;else break e}}function p(le){return le.length===0?null:le[0]}function y(le){if(le.length===0)return null;var Le=le[0],D=le.pop();if(D!==Le){le[0]=D;e:for(var X=0,ye=le.length,Ze=ye>>>1;X<Ze;){var Ye=2*(X+1)-1,Ct=le[Ye],ot=Ye+1,Et=le[ot];if(0>E(Ct,D))ot<ye&&0>E(Et,Ct)?(le[X]=Et,le[ot]=D,X=ot):(le[X]=Ct,le[Ye]=D,X=Ye);else if(ot<ye&&0>E(Et,D))le[X]=Et,le[ot]=D,X=ot;else break e}}return Le}function E(le,Le){var D=le.sortIndex-Le.sortIndex;return D!==0?D:le.id-Le.id}if(typeof performance=="object"&&typeof performance.now=="function"){var x=performance;G.unstable_now=function(){return x.now()}}else{var C=Date,Y=C.now();G.unstable_now=function(){return C.now()-Y}}var z=[],$=[],oe=1,Z=null,ae=3,te=!1,re=!1,Be=!1,de=typeof setTimeout=="function"?setTimeout:null,Ue=typeof clearTimeout=="function"?clearTimeout:null,tt=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _e(le){for(var Le=p($);Le!==null;){if(Le.callback===null)y($);else if(Le.startTime<=le)y($),Le.sortIndex=Le.expirationTime,c(z,Le);else break;Le=p($)}}function $e(le){if(Be=!1,_e(le),!re)if(p(z)!==null)re=!0,Dt(pe);else{var Le=p($);Le!==null&&De($e,Le.startTime-le)}}function pe(le,Le){re=!1,Be&&(Be=!1,Ue(lt),lt=-1),te=!0;var D=ae;try{for(_e(Le),Z=p(z);Z!==null&&(!(Z.expirationTime>Le)||le&&!yt());){var X=Z.callback;if(typeof X=="function"){Z.callback=null,ae=Z.priorityLevel;var ye=X(Z.expirationTime<=Le);Le=G.unstable_now(),typeof ye=="function"?Z.callback=ye:Z===p(z)&&y(z),_e(Le)}else y(z);Z=p(z)}if(Z!==null)var Ze=!0;else{var Ye=p($);Ye!==null&&De($e,Ye.startTime-Le),Ze=!1}return Ze}finally{Z=null,ae=D,te=!1}}var xe=!1,Oe=null,lt=-1,kt=5,Tt=-1;function yt(){return!(G.unstable_now()-Tt<kt)}function un(){if(Oe!==null){var le=G.unstable_now();Tt=le;var Le=!0;try{Le=Oe(!0,le)}finally{Le?Te():(xe=!1,Oe=null)}}else xe=!1}var Te;if(typeof tt=="function")Te=function(){tt(un)};else if(typeof MessageChannel<"u"){var dt=new MessageChannel,qt=dt.port2;dt.port1.onmessage=un,Te=function(){qt.postMessage(null)}}else Te=function(){de(un,0)};function Dt(le){Oe=le,xe||(xe=!0,Te())}function De(le,Le){lt=de(function(){le(G.unstable_now())},Le)}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(){re||te||(re=!0,Dt(pe))},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"):kt=0<le?Math.floor(1e3/le):5},G.unstable_getCurrentPriorityLevel=function(){return ae},G.unstable_getFirstCallbackNode=function(){return p(z)},G.unstable_next=function(le){switch(ae){case 1:case 2:case 3:var Le=3;break;default:Le=ae}var D=ae;ae=Le;try{return le()}finally{ae=D}},G.unstable_pauseExecution=function(){},G.unstable_requestPaint=function(){},G.unstable_runWithPriority=function(le,Le){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var D=ae;ae=le;try{return Le()}finally{ae=D}},G.unstable_scheduleCallback=function(le,Le,D){var X=G.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?X+D:X):D=X,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:oe++,callback:Le,priorityLevel:le,startTime:D,expirationTime:ye,sortIndex:-1},D>X?(le.sortIndex=D,c($,le),p(z)===null&&le===p($)&&(Be?(Ue(lt),lt=-1):Be=!0,De($e,D-X))):(le.sortIndex=ye,c(z,le),re||te||(re=!0,Dt(pe))),le},G.unstable_shouldYield=yt,G.unstable_wrapCallback=function(le){var Le=ae;return function(){var D=ae;ae=Le;try{return le.apply(this,arguments)}finally{ae=D}}}}(uC)),uC}var sC={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* scheduler.development.js
|
|
69
69
|
*
|
|
@@ -71,7 +71,7 @@ Check the top-level render call using <`+F+">.")}return x}function sr(y,x){if(!(
|
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the MIT license found in the
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var
|
|
74
|
+
*/var iw;function H_(){return iw||(iw=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,y=5;function E(ce,Ne){var nt=ce.length;ce.push(Ne),Y(ce,Ne,nt)}function x(ce){return ce.length===0?null:ce[0]}function C(ce){if(ce.length===0)return null;var Ne=ce[0],nt=ce.pop();return nt!==Ne&&(ce[0]=nt,z(ce,nt,0)),Ne}function Y(ce,Ne,nt){for(var Lt=nt;Lt>0;){var zt=Lt-1>>>1,wn=ce[zt];if($(wn,Ne)>0)ce[zt]=Ne,ce[Lt]=wn,Lt=zt;else return}}function z(ce,Ne,nt){for(var Lt=nt,zt=ce.length,wn=zt>>>1;Lt<wn;){var vn=(Lt+1)*2-1,Tr=ce[vn],Wt=vn+1,ri=ce[Wt];if($(Tr,Ne)<0)Wt<zt&&$(ri,Tr)<0?(ce[Lt]=ri,ce[Wt]=Ne,Lt=Wt):(ce[Lt]=Tr,ce[vn]=Ne,Lt=vn);else if(Wt<zt&&$(ri,Ne)<0)ce[Lt]=ri,ce[Wt]=Ne,Lt=Wt;else return}}function $(ce,Ne){var nt=ce.sortIndex-Ne.sortIndex;return nt!==0?nt:ce.id-Ne.id}var oe=1,Z=2,ae=3,te=4,re=5;function Be(ce,Ne){}var de=typeof performance=="object"&&typeof performance.now=="function";if(de){var Ue=performance;G.unstable_now=function(){return Ue.now()}}else{var tt=Date,_e=tt.now();G.unstable_now=function(){return tt.now()-_e}}var $e=1073741823,pe=-1,xe=250,Oe=5e3,lt=1e4,kt=$e,Tt=[],yt=[],un=1,Te=null,dt=ae,qt=!1,Dt=!1,De=!1,le=typeof setTimeout=="function"?setTimeout:null,Le=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 X(ce){for(var Ne=x(yt);Ne!==null;){if(Ne.callback===null)C(yt);else if(Ne.startTime<=ce)C(yt),Ne.sortIndex=Ne.expirationTime,E(Tt,Ne);else return;Ne=x(yt)}}function ye(ce){if(De=!1,X(ce),!Dt)if(x(Tt)!==null)Dt=!0,ki(Ze);else{var Ne=x(yt);Ne!==null&&Vn(ye,Ne.startTime-ce)}}function Ze(ce,Ne){Dt=!1,De&&(De=!1,$r()),qt=!0;var nt=dt;try{var Lt;if(!p)return Ye(ce,Ne)}finally{Te=null,dt=nt,qt=!1}}function Ye(ce,Ne){var nt=Ne;for(X(nt),Te=x(Tt);Te!==null&&!c&&!(Te.expirationTime>nt&&(!ce||da()));){var Lt=Te.callback;if(typeof Lt=="function"){Te.callback=null,dt=Te.priorityLevel;var zt=Te.expirationTime<=nt,wn=Lt(zt);nt=G.unstable_now(),typeof wn=="function"?Te.callback=wn:Te===x(Tt)&&C(Tt),X(nt)}else C(Tt);Te=x(Tt)}if(Te!==null)return!0;var vn=x(yt);return vn!==null&&Vn(ye,vn.startTime-nt),!1}function Ct(ce,Ne){switch(ce){case oe:case Z:case ae:case te:case re:break;default:ce=ae}var nt=dt;dt=ce;try{return Ne()}finally{dt=nt}}function ot(ce){var Ne;switch(dt){case oe:case Z:case ae:Ne=ae;break;default:Ne=dt;break}var nt=dt;dt=Ne;try{return ce()}finally{dt=nt}}function Et(ce){var Ne=dt;return function(){var nt=dt;dt=Ne;try{return ce.apply(this,arguments)}finally{dt=nt}}}function ct(ce,Ne,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(ce){case oe:vn=pe;break;case Z:vn=xe;break;case re:vn=kt;break;case te:vn=lt;break;case ae:default:vn=Oe;break}var Tr=zt+vn,Wt={id:un++,callback:Ne,priorityLevel:ce,startTime:zt,expirationTime:Tr,sortIndex:-1};return zt>Lt?(Wt.sortIndex=zt,E(yt,Wt),x(Tt)===null&&Wt===x(yt)&&(De?$r():De=!0,Vn(ye,zt-Lt))):(Wt.sortIndex=Tr,E(Tt,Wt),!Dt&&!qt&&(Dt=!0,ki(Ze))),Wt}function jt(){}function fa(){!Dt&&!qt&&(Dt=!0,ki(Ze))}function Cr(){return x(Tt)}function Ti(ce){ce.callback=null}function hn(){return dt}var Zn=!1,Er=null,Rr=-1,Mn=y,Di=-1;function da(){var ce=G.unstable_now()-Di;return!(ce<Mn)}function Jn(){}function wr(ce){if(ce<0||ce>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ce>0?Mn=Math.floor(1e3/ce):Mn=y}var Wi=function(){if(Er!==null){var ce=G.unstable_now();Di=ce;var Ne=!0,nt=!0;try{nt=Er(Ne,ce)}finally{nt?br():(Zn=!1,Er=null)}}else Zn=!1},br;if(typeof D=="function")br=function(){D(Wi)};else if(typeof MessageChannel<"u"){var _i=new MessageChannel,xr=_i.port2;_i.port1.onmessage=Wi,br=function(){xr.postMessage(null)}}else br=function(){le(Wi,0)};function ki(ce){Er=ce,Zn||(Zn=!0,br())}function Vn(ce,Ne){Rr=le(function(){ce(G.unstable_now())},Ne)}function $r(){Le(Rr),Rr=-1}var Ul=Jn,Yi=null;G.unstable_IdlePriority=re,G.unstable_ImmediatePriority=oe,G.unstable_LowPriority=te,G.unstable_NormalPriority=ae,G.unstable_Profiling=Yi,G.unstable_UserBlockingPriority=Z,G.unstable_cancelCallback=Ti,G.unstable_continueExecution=fa,G.unstable_forceFrameRate=wr,G.unstable_getCurrentPriorityLevel=hn,G.unstable_getFirstCallbackNode=Cr,G.unstable_next=ot,G.unstable_pauseExecution=jt,G.unstable_requestPaint=Ul,G.unstable_runWithPriority=Ct,G.unstable_scheduleCallback=ct,G.unstable_shouldYield=da,G.unstable_wrapCallback=Et,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(sC)),sC}var aw;function dw(){return aw||(aw=1,process.env.NODE_ENV==="production"?zm.exports=F_():zm.exports=H_()),zm.exports}/**
|
|
75
75
|
* @license React
|
|
76
76
|
* react-dom.production.min.js
|
|
77
77
|
*
|
|
@@ -79,14 +79,14 @@ Check the top-level render call using <`+F+">.")}return x}function sr(y,x){if(!(
|
|
|
79
79
|
*
|
|
80
80
|
* This source code is licensed under the MIT license found in the
|
|
81
81
|
* LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/var
|
|
83
|
-
`+
|
|
82
|
+
*/var lw;function V_(){if(lw)return bi;lw=1;var G=fw(),c=dw();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 y=new Set,E={};function x(n,r){C(n,r),C(n+"Capture",r)}function C(n,r){for(E[n]=r,n=0;n<r.length;n++)y.add(r[n])}var Y=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),z=Object.prototype.hasOwnProperty,$=/^[: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]*$/,oe={},Z={};function ae(n){return z.call(Z,n)?!0:z.call(oe,n)?!1:$.test(n)?Z[n]=!0:(oe[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 re(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 Be(n,r,l,u,f,h,S){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=S}var de={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){de[n]=new Be(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];de[r]=new Be(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){de[n]=new Be(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){de[n]=new Be(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){de[n]=new Be(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){de[n]=new Be(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){de[n]=new Be(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){de[n]=new Be(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){de[n]=new Be(n,5,!1,n.toLowerCase(),null,!1,!1)});var Ue=/[\-:]([a-z])/g;function tt(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(Ue,tt);de[r]=new Be(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(Ue,tt);de[r]=new Be(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(Ue,tt);de[r]=new Be(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){de[n]=new Be(n,1,!1,n.toLowerCase(),null,!1,!1)}),de.xlinkHref=new Be("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){de[n]=new Be(n,1,!1,n.toLowerCase(),null,!0,!0)});function _e(n,r,l,u){var f=de.hasOwnProperty(r)?de[r]:null;(f!==null?f.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(re(r,l,f,u)&&(l=null),u||f===null?ae(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 $e=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pe=Symbol.for("react.element"),xe=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),lt=Symbol.for("react.strict_mode"),kt=Symbol.for("react.profiler"),Tt=Symbol.for("react.provider"),yt=Symbol.for("react.context"),un=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),qt=Symbol.for("react.memo"),Dt=Symbol.for("react.lazy"),De=Symbol.for("react.offscreen"),le=Symbol.iterator;function Le(n){return n===null||typeof n!="object"?null:(n=le&&n[le]||n["@@iterator"],typeof n=="function"?n:null)}var D=Object.assign,X;function ye(n){if(X===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);X=r&&r[1]||""}return`
|
|
83
|
+
`+X+n}var Ze=!1;function Ye(n,r){if(!n||Ze)return"";Ze=!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(B){var u=B}Reflect.construct(n,[],r)}else{try{r.call()}catch(B){u=B}n.call(r.prototype)}else{try{throw Error()}catch(B){u=B}n()}}catch(B){if(B&&u&&typeof B.stack=="string"){for(var f=B.stack.split(`
|
|
84
84
|
`),h=u.stack.split(`
|
|
85
|
-
`),
|
|
86
|
-
`+f[g].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=g&&0<=b);break}}}finally{Ke=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?ve(n):""}function gt(n){switch(n.tag){case 5:return ve(n.type);case 16:return ve("Lazy");case 13:return ve("Suspense");case 19:return ve("SuspenseList");case 0:case 2:case 15:return n=Ie(n.type,!1),n;case 11:return n=Ie(n.type.render,!1),n;case 1:return n=Ie(n.type,!0),n;default:return""}}function at(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 ke:return"Fragment";case Pe:return"Portal";case jt:return"Profiler";case Lt:return"StrictMode";case Je:return"Suspense";case ft:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Tt:return(n.displayName||"Context")+".Consumer";case Bt:return(n._context.displayName||"Context")+".Provider";case Rn: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:at(n.type)||"Memo";case bt:r=n._payload,n=n._init;try{return at(n(r))}catch{}}return null}function St(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 at(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 ut(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 fa(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(g){u=""+g,h.call(this,g)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(g){u=""+g},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Cr(n){n._valueTracker||(n._valueTracker=fa(n))}function Ti(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 pn(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 Er(n,r){var l=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;l=ut(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 Rr(n,r){r=r.checked,r!=null&&xe(n,"checked",r,!1)}function Mn(n,r){Rr(n,r);var l=ut(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")?da(n,r.type,l):r.hasOwnProperty("defaultValue")&&da(n,r.type,ut(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function Di(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 da(n,r,l){(r!=="number"||pn(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=""+ut(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 Wi(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(p(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function br(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:ut(l)}}function _i(n,r){var l=ut(r.value),u=ut(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 xr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function ki(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"?ki(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Ir,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(Ir=Ir||document.createElement("div"),Ir.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Ir.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Yi(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var se={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},Ne=["Webkit","ms","Moz","O"];Object.keys(se).forEach(function(n){Ne.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),se[r]=se[n]})});function et(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||se.hasOwnProperty(n)&&se[n]?(""+r).trim():r+"px"}function Mt(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,f=et(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,f):n[l]=f}}var At=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(At[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 hn(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 ri=null,tn=null,$t=null;function Fl(n){if(n=ns(n)){if(typeof ri!="function")throw Error(p(280));var r=n.stateNode;r&&(r=ze(r),ri(n.stateNode,n.type,r))}}function pa(n){tn?$t?$t.push(n):$t=[n]:tn=n}function ko(){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 Ws(n,r){return n(r)}function Ys(){}var Mo=!1;function Uu(n,r,l){if(Mo)return n(r,l);Mo=!0;try{return Ws(n,r,l)}finally{Mo=!1,(tn!==null||$t!==null)&&(Ys(),ko())}}function Mi(n,r){var l=n.stateNode;if(l===null)return null;var u=ze(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 $a=!1;if(Y)try{var Gi={};Object.defineProperty(Gi,"passive",{get:function(){$a=!0}}),window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch{$a=!1}function Ia(n,r,l,u,f,h,g,b,_){var V=Array.prototype.slice.call(arguments,3);try{r.apply(l,V)}catch(Z){this.onError(Z)}}var Wr=!1,Oi=null,Wa=!1,Ya=null,Oo={onError:function(n){Wr=!0,Oi=n}};function Fu(n,r,l,u,f,h,g,b,_){Wr=!1,Oi=null,Ia.apply(Oo,arguments)}function un(n,r,l,u,f,h,g,b,_){if(Fu.apply(this,arguments),Wr){if(Wr){var V=Oi;Wr=!1,Oi=null}else throw Error(p(198));Wa||(Wa=!0,Ya=V)}}function ii(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 Ga(n){if(ii(n)!==n)throw Error(p(188))}function jn(n){var r=n.alternate;if(!r){if(r=ii(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 Ga(f),n;if(h===u)return Ga(f),r;h=h.sibling}throw Error(p(188))}if(l.return!==u.return)l=f,u=h;else{for(var g=!1,b=f.child;b;){if(b===l){g=!0,l=f,u=h;break}if(b===u){g=!0,u=f,l=h;break}b=b.sibling}if(!g){for(b=h.child;b;){if(b===l){g=!0,l=h,u=f;break}if(b===u){g=!0,u=h,l=f;break}b=b.sibling}if(!g)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 Gs(n){return n=jn(n),n!==null?Qs(n):null}function Qs(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Qs(n);if(r!==null)return r;n=n.sibling}return null}var Hu=c.unstable_scheduleCallback,Xs=c.unstable_cancelCallback,Ff=c.unstable_shouldYield,Hf=c.unstable_requestPaint,Zt=c.unstable_now,Vf=c.unstable_getCurrentPriorityLevel,Li=c.unstable_ImmediatePriority,tt=c.unstable_UserBlockingPriority,Qi=c.unstable_NormalPriority,Qa=c.unstable_LowPriority,Lo=c.unstable_IdlePriority,Xa=null,Dr=null;function Vu(n){if(Dr&&typeof Dr.onCommitFiberRoot=="function")try{Dr.onCommitFiberRoot(Xa,n,void 0,(n.current.flags&128)===128)}catch{}}var or=Math.clz32?Math.clz32:Ks,ju=Math.log,Bu=Math.LN2;function Ks(n){return n>>>=0,n===0?32:31-(ju(n)/Bu|0)|0}var Ao=64,Ka=4194304;function Ai(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,g=l&268435455;if(g!==0){var b=g&~f;b!==0?u=Ai(b):(h&=g,h!==0&&(u=Ai(h)))}else g=l&~f,g!==0?u=Ai(g):h!==0&&(u=Ai(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 qa(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 Za(n,r){for(var l=n.suspendedLanes,u=n.pingedLanes,f=n.expirationTimes,h=n.pendingLanes;0<h;){var g=31-or(h),b=1<<g,_=f[g];_===-1?(!(b&l)||b&u)&&(f[g]=qa(b,r)):_<=r&&(n.expiredLanes|=b),h&=~b}}function Ja(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function No(){var n=Ao;return Ao<<=1,!(Ao&4194240)&&(Ao=64),n}function zo(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function ha(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 jf(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 Xi(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 Et=0;function Uo(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Vl,Fo,mt,Ho,Vo,Ge=!1,jl=[],nn=null,_r=null,sr=null,el=new Map,sn=new Map,Dt=[],qs="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 kr(n,r){switch(n){case"focusin":case"focusout":nn=null;break;case"dragenter":case"dragleave":_r=null;break;case"mouseover":case"mouseout":sr=null;break;case"pointerover":case"pointerout":el.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":sn.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=ns(r),r!==null&&Fo(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),n)}function Ki(n,r,l,u,f){switch(r){case"focusin":return nn=On(nn,n,r,l,u,f),!0;case"dragenter":return _r=On(_r,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,sn.set(h,On(sn.get(h)||null,n,r,l,u,f)),!0}return!1}function Zs(n){var r=ui(n.target);if(r!==null){var l=ii(r);if(l!==null){if(r=l.tag,r===13){if(r=Hl(l),r!==null){n.blockedOn=r,Vo(n.priority,function(){mt(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 va(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=Bo(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=ns(l),r!==null&&Fo(r),n.blockedOn=l,!1;r.shift()}return!0}function tl(n,r,l){va(n)&&l.delete(r)}function Js(){Ge=!1,nn!==null&&va(nn)&&(nn=null),_r!==null&&va(_r)&&(_r=null),sr!==null&&va(sr)&&(sr=null),el.forEach(tl),sn.forEach(tl)}function ai(n,r){n.blockedOn===r&&(n.blockedOn=null,Ge||(Ge=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Js)))}function nl(n){function r(f){return ai(f,n)}if(0<jl.length){ai(jl[0],n);for(var l=1;l<jl.length;l++){var u=jl[l];u.blockedOn===n&&(u.blockedOn=null)}}for(nn!==null&&ai(nn,n),_r!==null&&ai(_r,n),sr!==null&&ai(sr,n),el.forEach(r),sn.forEach(r),l=0;l<Dt.length;l++)u=Dt[l],u.blockedOn===n&&(u.blockedOn=null);for(;0<Dt.length&&(l=Dt[0],l.blockedOn===null);)Zs(l),l.blockedOn===null&&Dt.shift()}var rl=Oe.ReactCurrentBatchConfig,li=!0;function jo(n,r,l,u){var f=Et,h=rl.transition;rl.transition=null;try{Et=1,al(n,r,l,u)}finally{Et=f,rl.transition=h}}function il(n,r,l,u){var f=Et,h=rl.transition;rl.transition=null;try{Et=4,al(n,r,l,u)}finally{Et=f,rl.transition=h}}function al(n,r,l,u){if(li){var f=Bo(n,r,l,u);if(f===null)uc(n,r,u,Bl,l),kr(n,u);else if(Ki(f,n,r,l,u))u.stopPropagation();else if(kr(n,u),r&4&&-1<qs.indexOf(n)){for(;f!==null;){var h=ns(f);if(h!==null&&Vl(h),h=Bo(n,r,l,u),h===null&&uc(n,r,u,Bl,l),h===f)break;f=h}f!==null&&u.stopPropagation()}else uc(n,r,u,null,l)}}var Bl=null;function Bo(n,r,l,u){if(Bl=null,n=Wt(u),n=ui(n),n!==null)if(r=ii(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 Bl=n,null}function Pu(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(Vf()){case Li:return 1;case tt:return 4;case Qi:case Qa:return 16;case Lo:return 536870912;default:return 16}default:return 16}}var Ni=null,y=null,x=null;function F(){if(x)return x;var n,r=y,l=r.length,u,f="value"in Ni?Ni.value:Ni.textContent,h=f.length;for(n=0;n<l&&r[n]===f[n];n++);var g=l-n;for(u=1;u<=g&&r[l-u]===f[h-u];u++);return x=f.slice(n,1<u?1-u:void 0)}function j(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 ne(){return!0}function Ve(){return!1}function ce(n){function r(l,u,f,h,g){this._reactName=l,this._targetInst=f,this.type=u,this.nativeEvent=h,this.target=g,this.currentTarget=null;for(var b in n)n.hasOwnProperty(b)&&(l=n[b],this[b]=l?l(h):h[b]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?ne:Ve,this.isPropagationStopped=Ve,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=ne)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ne)},persist:function(){},isPersistent:ne}),r}var Fe={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nt=ce(Fe),yt=D({},Fe,{view:0,detail:0}),Ut=ce(yt),Ot,Ft,It,st=D({},yt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wf,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"?(Ot=n.screenX-It.screenX,Ft=n.screenY-It.screenY):Ft=Ot=0,It=n),Ot)},movementY:function(n){return"movementY"in n?n.movementY:Ft}}),ma=ce(st),Po=D({},st,{dataTransfer:0}),$u=ce(Po),Bf=D({},yt,{relatedTarget:0}),zi=ce(Bf),Iu=D({},Fe,{animationName:0,elapsedTime:0,pseudoElement:0}),Wu=ce(Iu),Pf=D({},Fe,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Fm=ce(Pf),Hm=D({},Fe,{data:0}),$f=ce(Hm),If={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xp={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"},Kp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qp(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Kp[n])?!!r[n]:!1}function Wf(){return qp}var ya=D({},yt,{key:function(n){if(n.key){var r=If[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=j(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Xp[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wf,charCode:function(n){return n.type==="keypress"?j(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?j(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Vm=ce(ya),Yf=D({},st,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ec=ce(Yf),Gf=D({},yt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wf}),jm=ce(Gf),tc=D({},Fe,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zp=ce(tc),Mr=D({},st,{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}),ga=ce(Mr),gn=[9,13,27,32],Ui=Y&&"CompositionEvent"in window,Pl=null;Y&&"documentMode"in document&&(Pl=document.documentMode);var nc=Y&&"TextEvent"in window&&!Pl,Jp=Y&&(!Ui||Pl&&8<Pl&&11>=Pl),$o=String.fromCharCode(32),eh=!1;function th(n,r){switch(n){case"keyup":return gn.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Io=!1;function Bm(n,r){switch(n){case"compositionend":return rc(r);case"keypress":return r.which!==32?null:(eh=!0,$o);case"textInput":return n=r.data,n===$o&&eh?null:n;default:return null}}function Pm(n,r){if(Io)return n==="compositionend"||!Ui&&th(n,r)?(n=F(),x=y=Ni=null,Io=!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 Jp&&r.locale!=="ko"?null:r.data;default:return null}}var nh={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 rh(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!nh[n.type]:r==="textarea"}function ih(n,r,l,u){pa(u),r=Ju(r,"onChange"),0<r.length&&(l=new nt("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var Yu=null,Wo=null;function Yo(n){oc(n,0)}function Go(n){var r=Xo(n);if(Ti(r))return n}function ah(n,r){if(n==="change")return r}var Qf=!1;if(Y){var Xf;if(Y){var Kf="oninput"in document;if(!Kf){var lh=document.createElement("div");lh.setAttribute("oninput","return;"),Kf=typeof lh.oninput=="function"}Xf=Kf}else Xf=!1;Qf=Xf&&(!document.documentMode||9<document.documentMode)}function oh(){Yu&&(Yu.detachEvent("onpropertychange",uh),Wo=Yu=null)}function uh(n){if(n.propertyName==="value"&&Go(Wo)){var r=[];ih(r,Wo,n,Wt(n)),Uu(Yo,r)}}function $m(n,r,l){n==="focusin"?(oh(),Yu=r,Wo=l,Yu.attachEvent("onpropertychange",uh)):n==="focusout"&&oh()}function Im(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Go(Wo)}function Wm(n,r){if(n==="click")return Go(r)}function sh(n,r){if(n==="input"||n==="change")return Go(r)}function Ym(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var oi=typeof Object.is=="function"?Object.is:Ym;function Gu(n,r){if(oi(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(!B.call(r,f)||!oi(n[f],r[f]))return!1}return!0}function ch(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function fh(n,r){var l=ch(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=ch(l)}}function dh(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?dh(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function ic(){for(var n=window,r=pn();r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=pn(n.document)}return r}function Sa(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 ac(n){var r=ic(),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&dh(l.ownerDocument.documentElement,l)){if(u!==null&&Sa(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=fh(l,h);var g=fh(l,u);f&&g&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==g.node||n.focusOffset!==g.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),n.removeAllRanges(),h>u?(n.addRange(r),n.extend(g.node,g.offset)):(r.setEnd(g.node,g.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 ph=Y&&"documentMode"in document&&11>=document.documentMode,Fi=null,qf=null,Qu=null,Zf=!1;function hh(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Zf||Fi==null||Fi!==pn(u)||(u=Fi,"selectionStart"in u&&Sa(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}),Qu&&Gu(Qu,u)||(Qu=u,u=Ju(qf,"onSelect"),0<u.length&&(r=new nt("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=Fi)))}function lc(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var $l={animationend:lc("Animation","AnimationEnd"),animationiteration:lc("Animation","AnimationIteration"),animationstart:lc("Animation","AnimationStart"),transitionend:lc("Transition","TransitionEnd")},Jf={},ed={};Y&&(ed=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 Ln(n){if(Jf[n])return Jf[n];if(!$l[n])return n;var r=$l[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in ed)return Jf[n]=r[l];return n}var td=Ln("animationend"),vh=Ln("animationiteration"),mh=Ln("animationstart"),yh=Ln("transitionend"),gh=new Map,Sh="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 Ca(n,r){gh.set(n,r),T(r,[n])}for(var Xu=0;Xu<Sh.length;Xu++){var Il=Sh[Xu],Gm=Il.toLowerCase(),Ku=Il[0].toUpperCase()+Il.slice(1);Ca(Gm,"on"+Ku)}Ca(td,"onAnimationEnd"),Ca(vh,"onAnimationIteration"),Ca(mh,"onAnimationStart"),Ca("dblclick","onDoubleClick"),Ca("focusin","onFocus"),Ca("focusout","onBlur"),Ca(yh,"onTransitionEnd"),C("onMouseEnter",["mouseout","mouseover"]),C("onMouseLeave",["mouseout","mouseover"]),C("onPointerEnter",["pointerout","pointerover"]),C("onPointerLeave",["pointerout","pointerover"]),T("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),T("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),T("onBeforeInput",["compositionend","keypress","textInput","paste"]),T("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),T("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),T("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qu="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(" "),Qm=new Set("cancel close invalid load scroll toggle".split(" ").concat(qu));function Ch(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,un(u,r,void 0,n),n.currentTarget=null}function oc(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 g=u.length-1;0<=g;g--){var b=u[g],_=b.instance,V=b.currentTarget;if(b=b.listener,_!==h&&f.isPropagationStopped())break e;Ch(f,b,V),h=_}else for(g=0;g<u.length;g++){if(b=u[g],_=b.instance,V=b.currentTarget,b=b.listener,_!==h&&f.isPropagationStopped())break e;Ch(f,b,V),h=_}}}if(Wa)throw n=Ya,Wa=!1,Ya=null,n}function Ht(n,r){var l=r[ud];l===void 0&&(l=r[ud]=new Set);var u=n+"__bubble";l.has(u)||(Eh(r,n,2,!1),l.add(u))}function ll(n,r,l){var u=0;r&&(u|=4),Eh(l,n,u,r)}var Ea="_reactListening"+Math.random().toString(36).slice(2);function Qo(n){if(!n[Ea]){n[Ea]=!0,S.forEach(function(l){l!=="selectionchange"&&(Qm.has(l)||ll(l,!1,n),ll(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Ea]||(r[Ea]=!0,ll("selectionchange",!1,r))}}function Eh(n,r,l,u){switch(Pu(r)){case 1:var f=jo;break;case 4:f=il;break;default:f=al}l=f.bind(null,r,l,n),f=void 0,!$a||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 uc(n,r,l,u,f){var h=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var g=u.tag;if(g===3||g===4){var b=u.stateNode.containerInfo;if(b===f||b.nodeType===8&&b.parentNode===f)break;if(g===4)for(g=u.return;g!==null;){var _=g.tag;if((_===3||_===4)&&(_=g.stateNode.containerInfo,_===f||_.nodeType===8&&_.parentNode===f))return;g=g.return}for(;b!==null;){if(g=ui(b),g===null)return;if(_=g.tag,_===5||_===6){u=h=g;continue e}b=b.parentNode}}u=u.return}Uu(function(){var V=h,Z=Wt(l),ee=[];e:{var q=gh.get(n);if(q!==void 0){var pe=nt,Ee=n;switch(n){case"keypress":if(j(l)===0)break e;case"keydown":case"keyup":pe=Vm;break;case"focusin":Ee="focus",pe=zi;break;case"focusout":Ee="blur",pe=zi;break;case"beforeblur":case"afterblur":pe=zi;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":pe=ma;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":pe=$u;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":pe=jm;break;case td:case vh:case mh:pe=Wu;break;case yh:pe=Zp;break;case"scroll":pe=Ut;break;case"wheel":pe=ga;break;case"copy":case"cut":case"paste":pe=Fm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":pe=ec}var be=(r&4)!==0,mn=!be&&n==="scroll",L=be?q!==null?q+"Capture":null:q;be=[];for(var M=V,z;M!==null;){z=M;var re=z.stateNode;if(z.tag===5&&re!==null&&(z=re,L!==null&&(re=Mi(M,L),re!=null&&be.push(Zu(M,re,z)))),mn)break;M=M.return}0<be.length&&(q=new pe(q,Ee,null,l,Z),ee.push({event:q,listeners:be}))}}if(!(r&7)){e:{if(q=n==="mouseover"||n==="pointerover",pe=n==="mouseout"||n==="pointerout",q&&l!==Tr&&(Ee=l.relatedTarget||l.fromElement)&&(ui(Ee)||Ee[Ra]))break e;if((pe||q)&&(q=Z.window===Z?Z:(q=Z.ownerDocument)?q.defaultView||q.parentWindow:window,pe?(Ee=l.relatedTarget||l.toElement,pe=V,Ee=Ee?ui(Ee):null,Ee!==null&&(mn=ii(Ee),Ee!==mn||Ee.tag!==5&&Ee.tag!==6)&&(Ee=null)):(pe=null,Ee=V),pe!==Ee)){if(be=ma,re="onMouseLeave",L="onMouseEnter",M="mouse",(n==="pointerout"||n==="pointerover")&&(be=ec,re="onPointerLeave",L="onPointerEnter",M="pointer"),mn=pe==null?q:Xo(pe),z=Ee==null?q:Xo(Ee),q=new be(re,M+"leave",pe,l,Z),q.target=mn,q.relatedTarget=z,re=null,ui(Z)===V&&(be=new be(L,M+"enter",Ee,l,Z),be.target=z,be.relatedTarget=mn,re=be),mn=re,pe&&Ee)t:{for(be=pe,L=Ee,M=0,z=be;z;z=Wl(z))M++;for(z=0,re=L;re;re=Wl(re))z++;for(;0<M-z;)be=Wl(be),M--;for(;0<z-M;)L=Wl(L),z--;for(;M--;){if(be===L||L!==null&&be===L.alternate)break t;be=Wl(be),L=Wl(L)}be=null}else be=null;pe!==null&&nd(ee,q,pe,be,!1),Ee!==null&&mn!==null&&nd(ee,mn,Ee,be,!0)}}e:{if(q=V?Xo(V):window,pe=q.nodeName&&q.nodeName.toLowerCase(),pe==="select"||pe==="input"&&q.type==="file")var De=ah;else if(rh(q))if(Qf)De=sh;else{De=Im;var Re=$m}else(pe=q.nodeName)&&pe.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(De=Wm);if(De&&(De=De(n,V))){ih(ee,De,l,Z);break e}Re&&Re(n,q,V),n==="focusout"&&(Re=q._wrapperState)&&Re.controlled&&q.type==="number"&&da(q,"number",q.value)}switch(Re=V?Xo(V):window,n){case"focusin":(rh(Re)||Re.contentEditable==="true")&&(Fi=Re,qf=V,Qu=null);break;case"focusout":Qu=qf=Fi=null;break;case"mousedown":Zf=!0;break;case"contextmenu":case"mouseup":case"dragend":Zf=!1,hh(ee,l,Z);break;case"selectionchange":if(ph)break;case"keydown":case"keyup":hh(ee,l,Z)}var Le;if(Ui)e:{switch(n){case"compositionstart":var Ye="onCompositionStart";break e;case"compositionend":Ye="onCompositionEnd";break e;case"compositionupdate":Ye="onCompositionUpdate";break e}Ye=void 0}else Io?th(n,l)&&(Ye="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Ye="onCompositionStart");Ye&&(Jp&&l.locale!=="ko"&&(Io||Ye!=="onCompositionStart"?Ye==="onCompositionEnd"&&Io&&(Le=F()):(Ni=Z,y="value"in Ni?Ni.value:Ni.textContent,Io=!0)),Re=Ju(V,Ye),0<Re.length&&(Ye=new $f(Ye,n,null,l,Z),ee.push({event:Ye,listeners:Re}),Le?Ye.data=Le:(Le=rc(l),Le!==null&&(Ye.data=Le)))),(Le=nc?Bm(n,l):Pm(n,l))&&(V=Ju(V,"onBeforeInput"),0<V.length&&(Z=new $f("onBeforeInput","beforeinput",null,l,Z),ee.push({event:Z,listeners:V}),Z.data=Le))}oc(ee,r)})}function Zu(n,r,l){return{instance:n,listener:r,currentTarget:l}}function Ju(n,r){for(var l=r+"Capture",u=[];n!==null;){var f=n,h=f.stateNode;f.tag===5&&h!==null&&(f=h,h=Mi(n,l),h!=null&&u.unshift(Zu(n,h,f)),h=Mi(n,r),h!=null&&u.push(Zu(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 nd(n,r,l,u,f){for(var h=r._reactName,g=[];l!==null&&l!==u;){var b=l,_=b.alternate,V=b.stateNode;if(_!==null&&_===u)break;b.tag===5&&V!==null&&(b=V,f?(_=Mi(l,h),_!=null&&g.unshift(Zu(l,_,b))):f||(_=Mi(l,h),_!=null&&g.push(Zu(l,_,b)))),l=l.return}g.length!==0&&n.push({event:r,listeners:g})}var rd=/\r\n?/g,Xm=/\u0000|\uFFFD/g;function id(n){return(typeof n=="string"?n:""+n).replace(rd,`
|
|
87
|
-
`).replace(Xm,"")}function sc(n,r,l){if(r=id(r),id(n)!==r&&l)throw Error(p(425))}function cc(){}var ad=null,Yl=null;function es(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,Rh=typeof clearTimeout=="function"?clearTimeout:void 0,ld=typeof Promise=="function"?Promise:void 0,od=typeof queueMicrotask=="function"?queueMicrotask:typeof ld<"u"?function(n){return ld.resolve(null).then(n).catch(Km)}:Gl;function Km(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 Hi(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 ts(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),qi="__reactFiber$"+ul,Ql="__reactProps$"+ul,Ra="__reactContainer$"+ul,ud="__reactEvents$"+ul,qm="__reactListeners$"+ul,sd="__reactHandles$"+ul;function ui(n){var r=n[qi];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Ra]||l[qi]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=ts(n);n!==null;){if(l=n[qi])return l;n=ts(n)}return r}n=l,l=n.parentNode}return null}function ns(n){return n=n[qi]||n[Ra],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Xo(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(p(33))}function ze(n){return n[Ql]||null}var sl=[],Yt=-1;function qe(n){return{current:n}}function xt(n){0>Yt||(n.current=sl[Yt],sl[Yt]=null,Yt--)}function _t(n,r){Yt++,sl[Yt]=n.current,n.current=r}var Zi={},We=qe(Zi),cn=qe(!1),Or=Zi;function si(n,r){var l=n.type.contextTypes;if(!l)return Zi;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 ci(){xt(cn),xt(We)}function cl(n,r,l){if(We.current!==Zi)throw Error(p(168));_t(We,r),_t(cn,l)}function rs(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,St(n)||"Unknown",f));return D({},l,u)}function fc(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Zi,Or=We.current,_t(We,n),_t(cn,cn.current),!0}function wh(n,r,l){var u=n.stateNode;if(!u)throw Error(p(169));l?(n=rs(n,r,Or),u.__reactInternalMemoizedMergedChildContext=n,xt(cn),xt(We),_t(We,n)):xt(cn),_t(cn,l)}var Yr=null,An=!1,is=!1;function cd(n){Yr===null?Yr=[n]:Yr.push(n)}function fd(n){An=!0,cd(n)}function Lr(){if(!is&&Yr!==null){is=!0;var n=0,r=Et;try{var l=Yr;for(Et=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Yr=null,An=!1}catch(f){throw Yr!==null&&(Yr=Yr.slice(n+1)),Hu(Li,Lr),f}finally{Et=r,is=!1}}return null}var fl=[],Ar=0,Xl=null,Ko=0,Nr=[],er=0,fi=null,Bn=1,wa="";function Gr(n,r){fl[Ar++]=Ko,fl[Ar++]=Xl,Xl=n,Ko=r}function dd(n,r,l){Nr[er++]=Bn,Nr[er++]=wa,Nr[er++]=fi,fi=n;var u=Bn;n=wa;var f=32-or(u)-1;u&=~(1<<f),l+=1;var h=32-or(r)+f;if(30<h){var g=f-f%5;h=(u&(1<<g)-1).toString(32),u>>=g,f-=g,Bn=1<<32-or(r)+f|l<<f|u,wa=h+n}else Bn=1<<h|l<<f|u,wa=n}function dc(n){n.return!==null&&(Gr(n,1),dd(n,1,0))}function pd(n){for(;n===Xl;)Xl=fl[--Ar],fl[Ar]=null,Ko=fl[--Ar],fl[Ar]=null;for(;n===fi;)fi=Nr[--er],Nr[er]=null,wa=Nr[--er],Nr[er]=null,Bn=Nr[--er],Nr[er]=null}var Qr=null,zr=null,Gt=!1,di=null;function hd(n,r){var l=gi(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 bh(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,Qr=n,zr=Hi(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Qr=n,zr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=fi!==null?{id:Bn,overflow:wa}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=gi(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Qr=n,zr=null,!0):!1;default:return!1}}function pc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function hc(n){if(Gt){var r=zr;if(r){var l=r;if(!bh(n,r)){if(pc(n))throw Error(p(418));r=Hi(l.nextSibling);var u=Qr;r&&bh(n,r)?hd(u,l):(n.flags=n.flags&-4097|2,Gt=!1,Qr=n)}}else{if(pc(n))throw Error(p(418));n.flags=n.flags&-4097|2,Gt=!1,Qr=n}}}function xh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Qr=n}function vc(n){if(n!==Qr)return!1;if(!Gt)return xh(n),Gt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!es(n.type,n.memoizedProps)),r&&(r=zr)){if(pc(n))throw Th(),Error(p(418));for(;r;)hd(n,r),r=Hi(r.nextSibling)}if(xh(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=Hi(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}zr=null}}else zr=Qr?Hi(n.stateNode.nextSibling):null;return!0}function Th(){for(var n=zr;n;)n=Hi(n.nextSibling)}function rn(){zr=Qr=null,Gt=!1}function vd(n){di===null?di=[n]:di.push(n)}var mc=Oe.ReactCurrentBatchConfig;function Xr(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 Ji=qe(null),yc=null,dl=null,md=null;function yd(){md=dl=yc=null}function pl(n){var r=Ji.current;xt(Ji),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 oe(n,r){yc=n,md=dl=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Sn=!0),n.firstContext=null)}function vn(n){var r=n._currentValue;if(md!==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 gd(n){Pn===null?Pn=[n]:Pn.push(n)}function Dh(n,r,l,u){var f=r.interleaved;return f===null?(l.next=l,gd(r)):(l.next=f.next,f.next=l),r.interleaved=l,ba(n,u)}function ba(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 Sd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bn(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 xa(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,lt&2){var f=u.pending;return f===null?r.next=r:(r.next=f.next,f.next=r),u.pending=r,ba(n,l)}return f=u.interleaved,f===null?(r.next=r,gd(u)):(r.next=f.next,f.next=r),u.interleaved=r,ba(n,l)}function gc(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,Xi(n,l)}}function Cd(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 g={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};h===null?f=h=g:h=h.next=g,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,g=f.lastBaseUpdate,b=f.shared.pending;if(b!==null){f.shared.pending=null;var _=b,V=_.next;_.next=null,g===null?h=V:g.next=V,g=_;var Z=n.alternate;Z!==null&&(Z=Z.updateQueue,b=Z.lastBaseUpdate,b!==g&&(b===null?Z.firstBaseUpdate=V:b.next=V,Z.lastBaseUpdate=_))}if(h!==null){var ee=f.baseState;g=0,Z=V=_=null,b=h;do{var q=b.lane,pe=b.eventTime;if((u&q)===q){Z!==null&&(Z=Z.next={eventTime:pe,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var Ee=n,be=b;switch(q=r,pe=l,be.tag){case 1:if(Ee=be.payload,typeof Ee=="function"){ee=Ee.call(pe,ee,q);break e}ee=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=be.payload,q=typeof Ee=="function"?Ee.call(pe,ee,q):Ee,q==null)break e;ee=D({},ee,q);break e;case 2:hl=!0}}b.callback!==null&&b.lane!==0&&(n.flags|=64,q=f.effects,q===null?f.effects=[b]:q.push(b))}else pe={eventTime:pe,lane:q,tag:b.tag,payload:b.payload,callback:b.callback,next:null},Z===null?(V=Z=pe,_=ee):Z=Z.next=pe,g|=q;if(b=b.next,b===null){if(b=f.shared.pending,b===null)break;q=b,b=q.next,q.next=null,f.lastBaseUpdate=q,f.shared.pending=null}}while(1);if(Z===null&&(_=ee),f.baseState=_,f.firstBaseUpdate=V,f.lastBaseUpdate=Z,r=f.shared.interleaved,r!==null){f=r;do g|=f.lane,f=f.next;while(f!==r)}else h===null&&(f.shared.lanes=0);ka|=g,n.lanes=g,n.memoizedState=ee}}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 _h=new I.Component().refs;function Ed(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 Sc={isMounted:function(n){return(n=n._reactInternals)?ii(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=ir(),f=Cn(n),h=xa(u,f);h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ar(r,n,f,u),gc(r,n,f))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=ir(),f=Cn(n),h=xa(u,f);h.tag=1,h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ar(r,n,f,u),gc(r,n,f))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=ir(),u=Cn(n),f=xa(l,u);f.tag=2,r!=null&&(f.callback=r),r=vl(n,f,u),r!==null&&(ar(r,n,u,l),gc(r,n,u))}};function kh(n,r,l,u,f,h,g){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,h,g):r.prototype&&r.prototype.isPureReactComponent?!Gu(l,u)||!Gu(f,h):!0}function Mh(n,r,l){var u=!1,f=Zi,h=r.contextType;return typeof h=="object"&&h!==null?h=vn(h):(f=Jt(r)?Or:We.current,u=r.contextTypes,h=(u=u!=null)?si(n,f):Zi),r=new r(l,h),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Sc,n.stateNode=r,r._reactInternals=n,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=h),r}function Oh(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&&Sc.enqueueReplaceState(r,r.state,null)}function Cc(n,r,l,u){var f=n.stateNode;f.props=l,f.state=n.memoizedState,f.refs=_h,Sd(n);var h=r.contextType;typeof h=="object"&&h!==null?f.context=vn(h):(h=Jt(r)?Or:We.current,f.context=si(n,h)),f.state=n.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(Ed(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&&Sc.enqueueReplaceState(f,f.state,null),ml(n,l,f,u),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function qo(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(g){var b=f.refs;b===_h&&(b=f.refs={}),g===null?delete b[h]:b[h]=g},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 Lh(n){var r=n._init;return r(n._payload)}function Ah(n){function r(L,M){if(n){var z=L.deletions;z===null?(L.deletions=[M],L.flags|=16):z.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=bl(L,M),L.index=0,L.sibling=null,L}function h(L,M,z){return L.index=z,n?(z=L.alternate,z!==null?(z=z.index,z<M?(L.flags|=2,M):z):(L.flags|=2,M)):(L.flags|=1048576,M)}function g(L){return n&&L.alternate===null&&(L.flags|=2),L}function b(L,M,z,re){return M===null||M.tag!==6?(M=ws(z,L.mode,re),M.return=L,M):(M=f(M,z),M.return=L,M)}function _(L,M,z,re){var De=z.type;return De===ke?Z(L,M,z.props.children,re,z.key):M!==null&&(M.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===bt&&Lh(De)===M.type)?(re=f(M,z.props),re.ref=qo(L,M,z),re.return=L,re):(re=Jc(z.type,z.key,z.props,null,L.mode,re),re.ref=qo(L,M,z),re.return=L,re)}function V(L,M,z,re){return M===null||M.tag!==4||M.stateNode.containerInfo!==z.containerInfo||M.stateNode.implementation!==z.implementation?(M=mo(z,L.mode,re),M.return=L,M):(M=f(M,z.children||[]),M.return=L,M)}function Z(L,M,z,re,De){return M===null||M.tag!==7?(M=vo(z,L.mode,re,De),M.return=L,M):(M=f(M,z),M.return=L,M)}function ee(L,M,z){if(typeof M=="string"&&M!==""||typeof M=="number")return M=ws(""+M,L.mode,z),M.return=L,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case Ce:return z=Jc(M.type,M.key,M.props,null,L.mode,z),z.ref=qo(L,null,M),z.return=L,z;case Pe:return M=mo(M,L.mode,z),M.return=L,M;case bt:var re=M._init;return ee(L,re(M._payload),z)}if(Jn(M)||Ae(M))return M=vo(M,L.mode,z,null),M.return=L,M;Ec(L,M)}return null}function q(L,M,z,re){var De=M!==null?M.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return De!==null?null:b(L,M,""+z,re);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Ce:return z.key===De?_(L,M,z,re):null;case Pe:return z.key===De?V(L,M,z,re):null;case bt:return De=z._init,q(L,M,De(z._payload),re)}if(Jn(z)||Ae(z))return De!==null?null:Z(L,M,z,re,null);Ec(L,z)}return null}function pe(L,M,z,re,De){if(typeof re=="string"&&re!==""||typeof re=="number")return L=L.get(z)||null,b(M,L,""+re,De);if(typeof re=="object"&&re!==null){switch(re.$$typeof){case Ce:return L=L.get(re.key===null?z:re.key)||null,_(M,L,re,De);case Pe:return L=L.get(re.key===null?z:re.key)||null,V(M,L,re,De);case bt:var Re=re._init;return pe(L,M,z,Re(re._payload),De)}if(Jn(re)||Ae(re))return L=L.get(z)||null,Z(M,L,re,De,null);Ec(M,re)}return null}function Ee(L,M,z,re){for(var De=null,Re=null,Le=M,Ye=M=0,Fn=null;Le!==null&&Ye<z.length;Ye++){Le.index>Ye?(Fn=Le,Le=null):Fn=Le.sibling;var Ct=q(L,Le,z[Ye],re);if(Ct===null){Le===null&&(Le=Fn);break}n&&Le&&Ct.alternate===null&&r(L,Le),M=h(Ct,M,Ye),Re===null?De=Ct:Re.sibling=Ct,Re=Ct,Le=Fn}if(Ye===z.length)return l(L,Le),Gt&&Gr(L,Ye),De;if(Le===null){for(;Ye<z.length;Ye++)Le=ee(L,z[Ye],re),Le!==null&&(M=h(Le,M,Ye),Re===null?De=Le:Re.sibling=Le,Re=Le);return Gt&&Gr(L,Ye),De}for(Le=u(L,Le);Ye<z.length;Ye++)Fn=pe(Le,L,Ye,z[Ye],re),Fn!==null&&(n&&Fn.alternate!==null&&Le.delete(Fn.key===null?Ye:Fn.key),M=h(Fn,M,Ye),Re===null?De=Fn:Re.sibling=Fn,Re=Fn);return n&&Le.forEach(function(xl){return r(L,xl)}),Gt&&Gr(L,Ye),De}function be(L,M,z,re){var De=Ae(z);if(typeof De!="function")throw Error(p(150));if(z=De.call(z),z==null)throw Error(p(151));for(var Re=De=null,Le=M,Ye=M=0,Fn=null,Ct=z.next();Le!==null&&!Ct.done;Ye++,Ct=z.next()){Le.index>Ye?(Fn=Le,Le=null):Fn=Le.sibling;var xl=q(L,Le,Ct.value,re);if(xl===null){Le===null&&(Le=Fn);break}n&&Le&&xl.alternate===null&&r(L,Le),M=h(xl,M,Ye),Re===null?De=xl:Re.sibling=xl,Re=xl,Le=Fn}if(Ct.done)return l(L,Le),Gt&&Gr(L,Ye),De;if(Le===null){for(;!Ct.done;Ye++,Ct=z.next())Ct=ee(L,Ct.value,re),Ct!==null&&(M=h(Ct,M,Ye),Re===null?De=Ct:Re.sibling=Ct,Re=Ct);return Gt&&Gr(L,Ye),De}for(Le=u(L,Le);!Ct.done;Ye++,Ct=z.next())Ct=pe(Le,L,Ye,Ct.value,re),Ct!==null&&(n&&Ct.alternate!==null&&Le.delete(Ct.key===null?Ye:Ct.key),M=h(Ct,M,Ye),Re===null?De=Ct:Re.sibling=Ct,Re=Ct);return n&&Le.forEach(function(yy){return r(L,yy)}),Gt&&Gr(L,Ye),De}function mn(L,M,z,re){if(typeof z=="object"&&z!==null&&z.type===ke&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case Ce:e:{for(var De=z.key,Re=M;Re!==null;){if(Re.key===De){if(De=z.type,De===ke){if(Re.tag===7){l(L,Re.sibling),M=f(Re,z.props.children),M.return=L,L=M;break e}}else if(Re.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===bt&&Lh(De)===Re.type){l(L,Re.sibling),M=f(Re,z.props),M.ref=qo(L,Re,z),M.return=L,L=M;break e}l(L,Re);break}else r(L,Re);Re=Re.sibling}z.type===ke?(M=vo(z.props.children,L.mode,re,z.key),M.return=L,L=M):(re=Jc(z.type,z.key,z.props,null,L.mode,re),re.ref=qo(L,M,z),re.return=L,L=re)}return g(L);case Pe:e:{for(Re=z.key;M!==null;){if(M.key===Re)if(M.tag===4&&M.stateNode.containerInfo===z.containerInfo&&M.stateNode.implementation===z.implementation){l(L,M.sibling),M=f(M,z.children||[]),M.return=L,L=M;break e}else{l(L,M);break}else r(L,M);M=M.sibling}M=mo(z,L.mode,re),M.return=L,L=M}return g(L);case bt:return Re=z._init,mn(L,M,Re(z._payload),re)}if(Jn(z))return Ee(L,M,z,re);if(Ae(z))return be(L,M,z,re);Ec(L,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,M!==null&&M.tag===6?(l(L,M.sibling),M=f(M,z),M.return=L,L=M):(l(L,M),M=ws(z,L.mode,re),M.return=L,L=M),g(L)):l(L,M)}return mn}var Zo=Ah(!0),Nh=Ah(!1),as={},Vi=qe(as),ls=qe(as),Jo=qe(as);function ql(n){if(n===as)throw Error(p(174));return n}function Rd(n,r){switch(_t(Jo,r),_t(ls,n),_t(Vi,as),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)}xt(Vi),_t(Vi,r)}function yl(){xt(Vi),xt(ls),xt(Jo)}function He(n){ql(Jo.current);var r=ql(Vi.current),l=Vn(r,n.type);r!==l&&(_t(ls,n),_t(Vi,l))}function rt(n){ls.current===n&&(xt(Vi),xt(ls))}var je=qe(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 pi=[];function Rc(){for(var n=0;n<pi.length;n++)pi[n]._workInProgressVersionPrimary=null;pi.length=0}var wc=Oe.ReactCurrentDispatcher,wd=Oe.ReactCurrentBatchConfig,Zl=0,Qt=null,W=null,dt=null,Be=!1,ea=!1,Kr=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(!oi(n[l],r[l]))return!1;return!0}function gl(n,r,l,u,f,h){if(Zl=h,Qt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,wc.current=n===null||n.memoizedState===null?Jm:ey,n=l(u,f),ea){h=0;do{if(ea=!1,Kr=0,25<=h)throw Error(p(301));h+=1,dt=W=null,r.updateQueue=null,wc.current=xd,n=l(u,f)}while(ea)}if(wc.current=Vc,r=W!==null&&W.next!==null,Zl=0,dt=W=Qt=null,Be=!1,r)throw Error(p(300));return n}function to(){var n=Kr!==0;return Kr=0,n}function hi(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return dt===null?Qt.memoizedState=dt=n:dt=dt.next=n,dt}function Ur(){if(W===null){var n=Qt.alternate;n=n!==null?n.memoizedState:null}else n=W.next;var r=dt===null?Qt.memoizedState:dt.next;if(r!==null)dt=r,W=n;else{if(n===null)throw Error(p(310));W=n,n={memoizedState:W.memoizedState,baseState:W.baseState,baseQueue:W.baseQueue,queue:W.queue,next:null},dt===null?Qt.memoizedState=dt=n:dt=dt.next=n}return dt}function no(n,r){return typeof r=="function"?r(n):r}function os(n){var r=Ur(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=W,f=u.baseQueue,h=l.pending;if(h!==null){if(f!==null){var g=f.next;f.next=h.next,h.next=g}u.baseQueue=f=h,l.pending=null}if(f!==null){h=f.next,u=u.baseState;var b=g=null,_=null,V=h;do{var Z=V.lane;if((Zl&Z)===Z)_!==null&&(_=_.next={lane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),u=V.hasEagerState?V.eagerState:n(u,V.action);else{var ee={lane:Z,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};_===null?(b=_=ee,g=u):_=_.next=ee,Qt.lanes|=Z,ka|=Z}V=V.next}while(V!==null&&V!==h);_===null?g=u:_.next=b,oi(u,r.memoizedState)||(Sn=!0),r.memoizedState=u,r.baseState=g,r.baseQueue=_,l.lastRenderedState=u}if(n=l.interleaved,n!==null){f=n;do h=f.lane,Qt.lanes|=h,ka|=h,f=f.next;while(f!==n)}else f===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function us(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 g=f=f.next;do h=n(h,g.action),g=g.next;while(g!==f);oi(h,r.memoizedState)||(Sn=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),l.lastRenderedState=h}return[h,u]}function bc(){}function xc(n,r){var l=Qt,u=Ur(),f=r(),h=!oi(u.memoizedState,f);if(h&&(u.memoizedState=f,Sn=!0),u=u.queue,ss(_c.bind(null,l,u,n),[n]),u.getSnapshot!==r||h||dt!==null&&dt.memoizedState.tag&1){if(l.flags|=2048,ro(9,Dc.bind(null,l,u,f,r),void 0,null),ln===null)throw Error(p(349));Zl&30||Tc(l,r,f)}return f}function Tc(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 Dc(n,r,l,u){r.value=l,r.getSnapshot=u,kc(r)&&Mc(n)}function _c(n,r,l){return l(function(){kc(r)&&Mc(n)})}function kc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!oi(n,l)}catch{return!0}}function Mc(n){var r=ba(n,1);r!==null&&ar(r,n,1,-1)}function Oc(n){var r=hi();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=Hc.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 io(n,r,l,u){var f=hi();Qt.flags|=n,f.memoizedState=ro(1|r,l,void 0,u===void 0?null:u)}function Ta(n,r,l,u){var f=Ur();u=u===void 0?null:u;var h=void 0;if(W!==null){var g=W.memoizedState;if(h=g.destroy,u!==null&&eo(u,g.deps)){f.memoizedState=ro(r,l,h,u);return}}Qt.flags|=n,f.memoizedState=ro(1|r,l,h,u)}function Ac(n,r){return io(8390656,8,n,r)}function ss(n,r){return Ta(2048,8,n,r)}function Nc(n,r){return Ta(4,2,n,r)}function zc(n,r){return Ta(4,4,n,r)}function bd(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 eu(n,r,l){return l=l!=null?l.concat([n]):null,Ta(4,4,bd.bind(null,r,n),l)}function Uc(){}function tu(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?(oi(l,r)||(l=No(),Qt.lanes|=l,ka|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Sn=!0),n.memoizedState=l)}function Zm(n,r){var l=Et;Et=l!==0&&4>l?l:4,n(!0);var u=wd.transition;wd.transition={};try{n(!1),r()}finally{Et=l,wd.transition=u}}function Vt(){return Ur().memoizedState}function Fc(n,r,l){var u=Cn(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},nu(n))cs(r,l);else if(l=Dh(n,r,l,u),l!==null){var f=ir();ar(l,n,u,f),zh(l,r,u)}}function Hc(n,r,l){var u=Cn(n),f={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(nu(n))cs(r,f);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var g=r.lastRenderedState,b=h(g,l);if(f.hasEagerState=!0,f.eagerState=b,oi(b,g)){var _=r.interleaved;_===null?(f.next=f,gd(r)):(f.next=_.next,_.next=f),r.interleaved=f;return}}catch{}finally{}l=Dh(n,r,f,u),l!==null&&(f=ir(),ar(l,n,u,f),zh(l,r,u))}}function nu(n){var r=n.alternate;return n===Qt||r!==null&&r===Qt}function cs(n,r){ea=Be=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function zh(n,r,l){if(l&4194240){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Xi(n,l)}}var Vc={readContext:vn,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},Jm={readContext:vn,useCallback:function(n,r){return hi().memoizedState=[n,r===void 0?null:r],n},useContext:vn,useEffect:Ac,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,io(4194308,4,bd.bind(null,r,n),l)},useLayoutEffect:function(n,r){return io(4194308,4,n,r)},useInsertionEffect:function(n,r){return io(4,2,n,r)},useMemo:function(n,r){var l=hi();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=hi();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=Fc.bind(null,Qt,n),[u.memoizedState,n]},useRef:function(n){var r=hi();return n={current:n},r.memoizedState=n},useState:Oc,useDebugValue:Uc,useDeferredValue:function(n){return hi().memoizedState=n},useTransition:function(){var n=Oc(!1),r=n[0];return n=Zm.bind(null,n[1]),hi().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=Qt,f=hi();if(Gt){if(l===void 0)throw Error(p(407));l=l()}else{if(l=r(),ln===null)throw Error(p(349));Zl&30||Tc(u,r,l)}f.memoizedState=l;var h={value:l,getSnapshot:r};return f.queue=h,Ac(_c.bind(null,u,h,n),[n]),u.flags|=2048,ro(9,Dc.bind(null,u,h,l,r),void 0,null),l},useId:function(){var n=hi(),r=ln.identifierPrefix;if(Gt){var l=wa,u=Bn;l=(u&~(1<<32-or(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=Kr++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Jl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},ey={readContext:vn,useCallback:tu,useContext:vn,useEffect:ss,useImperativeHandle:eu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:os,useRef:Lc,useState:function(){return os(no)},useDebugValue:Uc,useDeferredValue:function(n){var r=Ur();return Fr(r,W.memoizedState,n)},useTransition:function(){var n=os(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:bc,useSyncExternalStore:xc,useId:Vt,unstable_isNewReconciler:!1},xd={readContext:vn,useCallback:tu,useContext:vn,useEffect:ss,useImperativeHandle:eu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:us,useRef:Lc,useState:function(){return us(no)},useDebugValue:Uc,useDeferredValue:function(n){var r=Ur();return W===null?r.memoizedState=n:Fr(r,W.memoizedState,n)},useTransition:function(){var n=us(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:bc,useSyncExternalStore:xc,useId:Vt,unstable_isNewReconciler:!1};function ru(n,r){try{var l="",u=r;do l+=gt(u),u=u.return;while(u);var f=l}catch(h){f=`
|
|
85
|
+
`),S=f.length-1,b=h.length-1;1<=S&&0<=b&&f[S]!==h[b];)b--;for(;1<=S&&0<=b;S--,b--)if(f[S]!==h[b]){if(S!==1||b!==1)do if(S--,b--,0>b||f[S]!==h[b]){var _=`
|
|
86
|
+
`+f[S].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=S&&0<=b);break}}}finally{Ze=!1,Error.prepareStackTrace=l}return(n=n?n.displayName||n.name:"")?ye(n):""}function Ct(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 Oe:return"Fragment";case xe:return"Portal";case kt:return"Profiler";case lt:return"StrictMode";case Te:return"Suspense";case dt:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case yt:return(n.displayName||"Context")+".Consumer";case Tt: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 Dt:r=n._payload,n=n._init;try{return ot(n(r))}catch{}}return null}function Et(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 jt(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function fa(n){var r=jt(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(S){u=""+S,h.call(this,S)}}),Object.defineProperty(n,r,{enumerable:l.enumerable}),{getValue:function(){return u},setValue:function(S){u=""+S},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Cr(n){n._valueTracker||(n._valueTracker=fa(n))}function Ti(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),u="";return n&&(u=jt(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 Er(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 Rr(n,r){r=r.checked,r!=null&&_e(n,"checked",r,!1)}function Mn(n,r){Rr(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")?da(n,r.type,l):r.hasOwnProperty("defaultValue")&&da(n,r.type,ct(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function Di(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 da(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 Wi(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(p(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function br(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 _i(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 xr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function ki(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"?ki(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var $r,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($r=$r||document.createElement("div"),$r.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=$r.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Yi(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var ce={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},Ne=["Webkit","ms","Moz","O"];Object.keys(ce).forEach(function(n){Ne.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),ce[r]=ce[n]})});function nt(n,r,l){return r==null||typeof r=="boolean"||r===""?"":l||typeof r!="number"||r===0||ce.hasOwnProperty(n)&&ce[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 ri=null,tn=null,It=null;function Fl(n){if(n=rs(n)){if(typeof ri!="function")throw Error(p(280));var r=n.stateNode;r&&(r=ze(r),ri(n.stateNode,n.type,r))}}function pa(n){tn?It?It.push(n):It=[n]:tn=n}function Mo(){if(tn){var n=tn,r=It;if(It=tn=null,Fl(n),r)for(n=0;n<r.length;n++)Fl(r[n])}}function Ws(n,r){return n(r)}function Ys(){}var Oo=!1;function Fu(n,r,l){if(Oo)return n(r,l);Oo=!0;try{return Ws(n,r,l)}finally{Oo=!1,(tn!==null||It!==null)&&(Ys(),Mo())}}function Mi(n,r){var l=n.stateNode;if(l===null)return null;var u=ze(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 Ia=!1;if(Y)try{var Gi={};Object.defineProperty(Gi,"passive",{get:function(){Ia=!0}}),window.addEventListener("test",Gi,Gi),window.removeEventListener("test",Gi,Gi)}catch{Ia=!1}function $a(n,r,l,u,f,h,S,b,_){var B=Array.prototype.slice.call(arguments,3);try{r.apply(l,B)}catch(q){this.onError(q)}}var Wr=!1,Oi=null,Wa=!1,Ya=null,Ao={onError:function(n){Wr=!0,Oi=n}};function Hu(n,r,l,u,f,h,S,b,_){Wr=!1,Oi=null,$a.apply(Ao,arguments)}function sn(n,r,l,u,f,h,S,b,_){if(Hu.apply(this,arguments),Wr){if(Wr){var B=Oi;Wr=!1,Oi=null}else throw Error(p(198));Wa||(Wa=!0,Ya=B)}}function ii(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 Ga(n){if(ii(n)!==n)throw Error(p(188))}function Bn(n){var r=n.alternate;if(!r){if(r=ii(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 Ga(f),n;if(h===u)return Ga(f),r;h=h.sibling}throw Error(p(188))}if(l.return!==u.return)l=f,u=h;else{for(var S=!1,b=f.child;b;){if(b===l){S=!0,l=f,u=h;break}if(b===u){S=!0,u=f,l=h;break}b=b.sibling}if(!S){for(b=h.child;b;){if(b===l){S=!0,l=h,u=f;break}if(b===u){S=!0,u=h,l=f;break}b=b.sibling}if(!S)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 Gs(n){return n=Bn(n),n!==null?Qs(n):null}function Qs(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Qs(n);if(r!==null)return r;n=n.sibling}return null}var Vu=c.unstable_scheduleCallback,Xs=c.unstable_cancelCallback,Ff=c.unstable_shouldYield,Hf=c.unstable_requestPaint,Zt=c.unstable_now,Vf=c.unstable_getCurrentPriorityLevel,Ai=c.unstable_ImmediatePriority,rt=c.unstable_UserBlockingPriority,Qi=c.unstable_NormalPriority,Qa=c.unstable_LowPriority,Lo=c.unstable_IdlePriority,Xa=null,Dr=null;function Bu(n){if(Dr&&typeof Dr.onCommitFiberRoot=="function")try{Dr.onCommitFiberRoot(Xa,n,void 0,(n.current.flags&128)===128)}catch{}}var or=Math.clz32?Math.clz32:Ks,Pu=Math.log,ju=Math.LN2;function Ks(n){return n>>>=0,n===0?32:31-(Pu(n)/ju|0)|0}var No=64,Ka=4194304;function Li(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,S=l&268435455;if(S!==0){var b=S&~f;b!==0?u=Li(b):(h&=S,h!==0&&(u=Li(h)))}else S=l&~f,S!==0?u=Li(S):h!==0&&(u=Li(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 qa(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 Za(n,r){for(var l=n.suspendedLanes,u=n.pingedLanes,f=n.expirationTimes,h=n.pendingLanes;0<h;){var S=31-or(h),b=1<<S,_=f[S];_===-1?(!(b&l)||b&u)&&(f[S]=qa(b,r)):_<=r&&(n.expiredLanes|=b),h&=~b}}function Ja(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function zo(){var n=No;return No<<=1,!(No&4194240)&&(No=64),n}function Uo(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function ha(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 Bf(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 Xi(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 Fo(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Vl,Ho,gt,Vo,Bo,Xe=!1,Bl=[],nn=null,_r=null,sr=null,el=new Map,cn=new Map,Mt=[],qs="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 kr(n,r){switch(n){case"focusin":case"focusout":nn=null;break;case"dragenter":case"dragleave":_r=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=rs(r),r!==null&&Ho(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,f!==null&&r.indexOf(f)===-1&&r.push(f),n)}function Ki(n,r,l,u,f){switch(r){case"focusin":return nn=On(nn,n,r,l,u,f),!0;case"dragenter":return _r=On(_r,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 Zs(n){var r=ui(n.target);if(r!==null){var l=ii(r);if(l!==null){if(r=l.tag,r===13){if(r=Hl(l),r!==null){n.blockedOn=r,Bo(n.priority,function(){gt(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 va(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=jo(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=rs(l),r!==null&&Ho(r),n.blockedOn=l,!1;r.shift()}return!0}function tl(n,r,l){va(n)&&l.delete(r)}function Js(){Xe=!1,nn!==null&&va(nn)&&(nn=null),_r!==null&&va(_r)&&(_r=null),sr!==null&&va(sr)&&(sr=null),el.forEach(tl),cn.forEach(tl)}function ai(n,r){n.blockedOn===r&&(n.blockedOn=null,Xe||(Xe=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Js)))}function nl(n){function r(f){return ai(f,n)}if(0<Bl.length){ai(Bl[0],n);for(var l=1;l<Bl.length;l++){var u=Bl[l];u.blockedOn===n&&(u.blockedOn=null)}}for(nn!==null&&ai(nn,n),_r!==null&&ai(_r,n),sr!==null&&ai(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);)Zs(l),l.blockedOn===null&&Mt.shift()}var rl=$e.ReactCurrentBatchConfig,li=!0;function Po(n,r,l,u){var f=wt,h=rl.transition;rl.transition=null;try{wt=1,al(n,r,l,u)}finally{wt=f,rl.transition=h}}function il(n,r,l,u){var f=wt,h=rl.transition;rl.transition=null;try{wt=4,al(n,r,l,u)}finally{wt=f,rl.transition=h}}function al(n,r,l,u){if(li){var f=jo(n,r,l,u);if(f===null)uc(n,r,u,Pl,l),kr(n,u);else if(Ki(f,n,r,l,u))u.stopPropagation();else if(kr(n,u),r&4&&-1<qs.indexOf(n)){for(;f!==null;){var h=rs(f);if(h!==null&&Vl(h),h=jo(n,r,l,u),h===null&&uc(n,r,u,Pl,l),h===f)break;f=h}f!==null&&u.stopPropagation()}else uc(n,r,u,null,l)}}var Pl=null;function jo(n,r,l,u){if(Pl=null,n=Wt(u),n=ui(n),n!==null)if(r=ii(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 Pl=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(Vf()){case Ai:return 1;case rt:return 4;case Qi:case Qa:return 16;case Lo:return 536870912;default:return 16}default:return 16}}var Ni=null,g=null,T=null;function H(){if(T)return T;var n,r=g,l=r.length,u,f="value"in Ni?Ni.value:Ni.textContent,h=f.length;for(n=0;n<l&&r[n]===f[n];n++);var S=l-n;for(u=1;u<=S&&r[l-u]===f[h-u];u++);return T=f.slice(n,1<u?1-u:void 0)}function P(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 ne(){return!0}function Pe(){return!1}function fe(n){function r(l,u,f,h,S){this._reactName=l,this._targetInst=f,this.type=u,this.nativeEvent=h,this.target=S,this.currentTarget=null;for(var b in n)n.hasOwnProperty(b)&&(l=n[b],this[b]=l?l(h):h[b]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?ne: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=ne)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ne)},persist:function(){},isPersistent:ne}),r}var He={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},it=fe(He),St=D({},He,{view:0,detail:0}),Ht=fe(St),Nt,Vt,$t,ft=D({},St,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wf,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!==$t&&($t&&n.type==="mousemove"?(Nt=n.screenX-$t.screenX,Vt=n.screenY-$t.screenY):Vt=Nt=0,$t=n),Nt)},movementY:function(n){return"movementY"in n?n.movementY:Vt}}),ma=fe(ft),Io=D({},ft,{dataTransfer:0}),$u=fe(Io),Pf=D({},St,{relatedTarget:0}),zi=fe(Pf),Wu=D({},He,{animationName:0,elapsedTime:0,pseudoElement:0}),Yu=fe(Wu),jf=D({},He,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Fm=fe(jf),Hm=D({},He,{data:0}),If=fe(Hm),$f={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xp={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"},Kp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qp(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Kp[n])?!!r[n]:!1}function Wf(){return qp}var ya=D({},St,{key:function(n){if(n.key){var r=$f[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=P(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Xp[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wf,charCode:function(n){return n.type==="keypress"?P(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?P(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Vm=fe(ya),Yf=D({},ft,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ec=fe(Yf),Gf=D({},St,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wf}),Bm=fe(Gf),tc=D({},He,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zp=fe(tc),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}),ga=fe(Mr),Sn=[9,13,27,32],Ui=Y&&"CompositionEvent"in window,jl=null;Y&&"documentMode"in document&&(jl=document.documentMode);var nc=Y&&"TextEvent"in window&&!jl,Jp=Y&&(!Ui||jl&&8<jl&&11>=jl),$o=String.fromCharCode(32),eh=!1;function th(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 rc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Wo=!1;function Pm(n,r){switch(n){case"compositionend":return rc(r);case"keypress":return r.which!==32?null:(eh=!0,$o);case"textInput":return n=r.data,n===$o&&eh?null:n;default:return null}}function jm(n,r){if(Wo)return n==="compositionend"||!Ui&&th(n,r)?(n=H(),T=g=Ni=null,Wo=!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 Jp&&r.locale!=="ko"?null:r.data;default:return null}}var nh={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 rh(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!nh[n.type]:r==="textarea"}function ih(n,r,l,u){pa(u),r=es(r,"onChange"),0<r.length&&(l=new it("onChange","change",null,l,u),n.push({event:l,listeners:r}))}var Gu=null,Yo=null;function Go(n){oc(n,0)}function Qo(n){var r=Ko(n);if(Ti(r))return n}function ah(n,r){if(n==="change")return r}var Qf=!1;if(Y){var Xf;if(Y){var Kf="oninput"in document;if(!Kf){var lh=document.createElement("div");lh.setAttribute("oninput","return;"),Kf=typeof lh.oninput=="function"}Xf=Kf}else Xf=!1;Qf=Xf&&(!document.documentMode||9<document.documentMode)}function oh(){Gu&&(Gu.detachEvent("onpropertychange",uh),Yo=Gu=null)}function uh(n){if(n.propertyName==="value"&&Qo(Yo)){var r=[];ih(r,Yo,n,Wt(n)),Fu(Go,r)}}function Im(n,r,l){n==="focusin"?(oh(),Gu=r,Yo=l,Gu.attachEvent("onpropertychange",uh)):n==="focusout"&&oh()}function $m(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Qo(Yo)}function Wm(n,r){if(n==="click")return Qo(r)}function sh(n,r){if(n==="input"||n==="change")return Qo(r)}function Ym(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var oi=typeof Object.is=="function"?Object.is:Ym;function Qu(n,r){if(oi(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(!z.call(r,f)||!oi(n[f],r[f]))return!1}return!0}function ch(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function fh(n,r){var l=ch(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=ch(l)}}function dh(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?dh(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 Sa(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 ac(n){var r=ic(),l=n.focusedElem,u=n.selectionRange;if(r!==l&&l&&l.ownerDocument&&dh(l.ownerDocument.documentElement,l)){if(u!==null&&Sa(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=fh(l,h);var S=fh(l,u);f&&S&&(n.rangeCount!==1||n.anchorNode!==f.node||n.anchorOffset!==f.offset||n.focusNode!==S.node||n.focusOffset!==S.offset)&&(r=r.createRange(),r.setStart(f.node,f.offset),n.removeAllRanges(),h>u?(n.addRange(r),n.extend(S.node,S.offset)):(r.setEnd(S.node,S.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 ph=Y&&"documentMode"in document&&11>=document.documentMode,Fi=null,qf=null,Xu=null,Zf=!1;function hh(n,r,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Zf||Fi==null||Fi!==hn(u)||(u=Fi,"selectionStart"in u&&Sa(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}),Xu&&Qu(Xu,u)||(Xu=u,u=es(qf,"onSelect"),0<u.length&&(r=new it("onSelect","select",null,r,l),n.push({event:r,listeners:u}),r.target=Fi)))}function lc(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var Il={animationend:lc("Animation","AnimationEnd"),animationiteration:lc("Animation","AnimationIteration"),animationstart:lc("Animation","AnimationStart"),transitionend:lc("Transition","TransitionEnd")},Jf={},ed={};Y&&(ed=document.createElement("div").style,"AnimationEvent"in window||(delete Il.animationend.animation,delete Il.animationiteration.animation,delete Il.animationstart.animation),"TransitionEvent"in window||delete Il.transitionend.transition);function An(n){if(Jf[n])return Jf[n];if(!Il[n])return n;var r=Il[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in ed)return Jf[n]=r[l];return n}var td=An("animationend"),vh=An("animationiteration"),mh=An("animationstart"),yh=An("transitionend"),gh=new Map,Sh="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 Ca(n,r){gh.set(n,r),x(r,[n])}for(var Ku=0;Ku<Sh.length;Ku++){var $l=Sh[Ku],Gm=$l.toLowerCase(),qu=$l[0].toUpperCase()+$l.slice(1);Ca(Gm,"on"+qu)}Ca(td,"onAnimationEnd"),Ca(vh,"onAnimationIteration"),Ca(mh,"onAnimationStart"),Ca("dblclick","onDoubleClick"),Ca("focusin","onFocus"),Ca("focusout","onBlur"),Ca(yh,"onTransitionEnd"),C("onMouseEnter",["mouseout","mouseover"]),C("onMouseLeave",["mouseout","mouseover"]),C("onPointerEnter",["pointerout","pointerover"]),C("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 Zu="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(" "),Qm=new Set("cancel close invalid load scroll toggle".split(" ").concat(Zu));function Ch(n,r,l){var u=n.type||"unknown-event";n.currentTarget=l,sn(u,r,void 0,n),n.currentTarget=null}function oc(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 S=u.length-1;0<=S;S--){var b=u[S],_=b.instance,B=b.currentTarget;if(b=b.listener,_!==h&&f.isPropagationStopped())break e;Ch(f,b,B),h=_}else for(S=0;S<u.length;S++){if(b=u[S],_=b.instance,B=b.currentTarget,b=b.listener,_!==h&&f.isPropagationStopped())break e;Ch(f,b,B),h=_}}}if(Wa)throw n=Ya,Wa=!1,Ya=null,n}function Bt(n,r){var l=r[ud];l===void 0&&(l=r[ud]=new Set);var u=n+"__bubble";l.has(u)||(Eh(r,n,2,!1),l.add(u))}function ll(n,r,l){var u=0;r&&(u|=4),Eh(l,n,u,r)}var Ea="_reactListening"+Math.random().toString(36).slice(2);function Xo(n){if(!n[Ea]){n[Ea]=!0,y.forEach(function(l){l!=="selectionchange"&&(Qm.has(l)||ll(l,!1,n),ll(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Ea]||(r[Ea]=!0,ll("selectionchange",!1,r))}}function Eh(n,r,l,u){switch(Iu(r)){case 1:var f=Po;break;case 4:f=il;break;default:f=al}l=f.bind(null,r,l,n),f=void 0,!Ia||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 uc(n,r,l,u,f){var h=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var S=u.tag;if(S===3||S===4){var b=u.stateNode.containerInfo;if(b===f||b.nodeType===8&&b.parentNode===f)break;if(S===4)for(S=u.return;S!==null;){var _=S.tag;if((_===3||_===4)&&(_=S.stateNode.containerInfo,_===f||_.nodeType===8&&_.parentNode===f))return;S=S.return}for(;b!==null;){if(S=ui(b),S===null)return;if(_=S.tag,_===5||_===6){u=h=S;continue e}b=b.parentNode}}u=u.return}Fu(function(){var B=h,q=Wt(l),J=[];e:{var K=gh.get(n);if(K!==void 0){var ve=it,Ee=n;switch(n){case"keypress":if(P(l)===0)break e;case"keydown":case"keyup":ve=Vm;break;case"focusin":Ee="focus",ve=zi;break;case"focusout":Ee="blur",ve=zi;break;case"beforeblur":case"afterblur":ve=zi;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=ma;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ve=$u;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ve=Bm;break;case td:case vh:case mh:ve=Yu;break;case yh:ve=Zp;break;case"scroll":ve=Ht;break;case"wheel":ve=ga;break;case"copy":case"cut":case"paste":ve=Fm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ve=ec}var be=(r&4)!==0,yn=!be&&n==="scroll",A=be?K!==null?K+"Capture":null:K;be=[];for(var M=B,U;M!==null;){U=M;var ie=U.stateNode;if(U.tag===5&&ie!==null&&(U=ie,A!==null&&(ie=Mi(M,A),ie!=null&&be.push(Ju(M,ie,U)))),yn)break;M=M.return}0<be.length&&(K=new ve(K,Ee,null,l,q),J.push({event:K,listeners:be}))}}if(!(r&7)){e:{if(K=n==="mouseover"||n==="pointerover",ve=n==="mouseout"||n==="pointerout",K&&l!==Tr&&(Ee=l.relatedTarget||l.fromElement)&&(ui(Ee)||Ee[Ra]))break e;if((ve||K)&&(K=q.window===q?q:(K=q.ownerDocument)?K.defaultView||K.parentWindow:window,ve?(Ee=l.relatedTarget||l.toElement,ve=B,Ee=Ee?ui(Ee):null,Ee!==null&&(yn=ii(Ee),Ee!==yn||Ee.tag!==5&&Ee.tag!==6)&&(Ee=null)):(ve=null,Ee=B),ve!==Ee)){if(be=ma,ie="onMouseLeave",A="onMouseEnter",M="mouse",(n==="pointerout"||n==="pointerover")&&(be=ec,ie="onPointerLeave",A="onPointerEnter",M="pointer"),yn=ve==null?K:Ko(ve),U=Ee==null?K:Ko(Ee),K=new be(ie,M+"leave",ve,l,q),K.target=yn,K.relatedTarget=U,ie=null,ui(q)===B&&(be=new be(A,M+"enter",Ee,l,q),be.target=U,be.relatedTarget=yn,ie=be),yn=ie,ve&&Ee)t:{for(be=ve,A=Ee,M=0,U=be;U;U=Wl(U))M++;for(U=0,ie=A;ie;ie=Wl(ie))U++;for(;0<M-U;)be=Wl(be),M--;for(;0<U-M;)A=Wl(A),U--;for(;M--;){if(be===A||A!==null&&be===A.alternate)break t;be=Wl(be),A=Wl(A)}be=null}else be=null;ve!==null&&nd(J,K,ve,be,!1),Ee!==null&&yn!==null&&nd(J,yn,Ee,be,!0)}}e:{if(K=B?Ko(B):window,ve=K.nodeName&&K.nodeName.toLowerCase(),ve==="select"||ve==="input"&&K.type==="file")var ke=ah;else if(rh(K))if(Qf)ke=sh;else{ke=$m;var Re=Im}else(ve=K.nodeName)&&ve.toLowerCase()==="input"&&(K.type==="checkbox"||K.type==="radio")&&(ke=Wm);if(ke&&(ke=ke(n,B))){ih(J,ke,l,q);break e}Re&&Re(n,K,B),n==="focusout"&&(Re=K._wrapperState)&&Re.controlled&&K.type==="number"&&da(K,"number",K.value)}switch(Re=B?Ko(B):window,n){case"focusin":(rh(Re)||Re.contentEditable==="true")&&(Fi=Re,qf=B,Xu=null);break;case"focusout":Xu=qf=Fi=null;break;case"mousedown":Zf=!0;break;case"contextmenu":case"mouseup":case"dragend":Zf=!1,hh(J,l,q);break;case"selectionchange":if(ph)break;case"keydown":case"keyup":hh(J,l,q)}var Ae;if(Ui)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 Wo?th(n,l)&&(Qe="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(Qe="onCompositionStart");Qe&&(Jp&&l.locale!=="ko"&&(Wo||Qe!=="onCompositionStart"?Qe==="onCompositionEnd"&&Wo&&(Ae=H()):(Ni=q,g="value"in Ni?Ni.value:Ni.textContent,Wo=!0)),Re=es(B,Qe),0<Re.length&&(Qe=new If(Qe,n,null,l,q),J.push({event:Qe,listeners:Re}),Ae?Qe.data=Ae:(Ae=rc(l),Ae!==null&&(Qe.data=Ae)))),(Ae=nc?Pm(n,l):jm(n,l))&&(B=es(B,"onBeforeInput"),0<B.length&&(q=new If("onBeforeInput","beforeinput",null,l,q),J.push({event:q,listeners:B}),q.data=Ae))}oc(J,r)})}function Ju(n,r,l){return{instance:n,listener:r,currentTarget:l}}function es(n,r){for(var l=r+"Capture",u=[];n!==null;){var f=n,h=f.stateNode;f.tag===5&&h!==null&&(f=h,h=Mi(n,l),h!=null&&u.unshift(Ju(n,h,f)),h=Mi(n,r),h!=null&&u.push(Ju(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 nd(n,r,l,u,f){for(var h=r._reactName,S=[];l!==null&&l!==u;){var b=l,_=b.alternate,B=b.stateNode;if(_!==null&&_===u)break;b.tag===5&&B!==null&&(b=B,f?(_=Mi(l,h),_!=null&&S.unshift(Ju(l,_,b))):f||(_=Mi(l,h),_!=null&&S.push(Ju(l,_,b)))),l=l.return}S.length!==0&&n.push({event:r,listeners:S})}var rd=/\r\n?/g,Xm=/\u0000|\uFFFD/g;function id(n){return(typeof n=="string"?n:""+n).replace(rd,`
|
|
87
|
+
`).replace(Xm,"")}function sc(n,r,l){if(r=id(r),id(n)!==r&&l)throw Error(p(425))}function cc(){}var ad=null,Yl=null;function ts(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,Rh=typeof clearTimeout=="function"?clearTimeout:void 0,ld=typeof Promise=="function"?Promise:void 0,od=typeof queueMicrotask=="function"?queueMicrotask:typeof ld<"u"?function(n){return ld.resolve(null).then(n).catch(Km)}:Gl;function Km(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 Hi(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 ns(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),qi="__reactFiber$"+ul,Ql="__reactProps$"+ul,Ra="__reactContainer$"+ul,ud="__reactEvents$"+ul,qm="__reactListeners$"+ul,sd="__reactHandles$"+ul;function ui(n){var r=n[qi];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Ra]||l[qi]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=ns(n);n!==null;){if(l=n[qi])return l;n=ns(n)}return r}n=l,l=n.parentNode}return null}function rs(n){return n=n[qi]||n[Ra],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Ko(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(p(33))}function ze(n){return n[Ql]||null}var sl=[],Yt=-1;function Je(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 Zi={},Ge=Je(Zi),fn=Je(!1),Or=Zi;function si(n,r){var l=n.type.contextTypes;if(!l)return Zi;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 ci(){_t(fn),_t(Ge)}function cl(n,r,l){if(Ge.current!==Zi)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,Et(n)||"Unknown",f));return D({},l,u)}function fc(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Zi,Or=Ge.current,Ot(Ge,n),Ot(fn,fn.current),!0}function wh(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 Yr=null,Ln=!1,as=!1;function cd(n){Yr===null?Yr=[n]:Yr.push(n)}function fd(n){Ln=!0,cd(n)}function Ar(){if(!as&&Yr!==null){as=!0;var n=0,r=wt;try{var l=Yr;for(wt=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Yr=null,Ln=!1}catch(f){throw Yr!==null&&(Yr=Yr.slice(n+1)),Vu(Ai,Ar),f}finally{wt=r,as=!1}}return null}var fl=[],Lr=0,Xl=null,qo=0,Nr=[],er=0,fi=null,Pn=1,wa="";function Gr(n,r){fl[Lr++]=qo,fl[Lr++]=Xl,Xl=n,qo=r}function dd(n,r,l){Nr[er++]=Pn,Nr[er++]=wa,Nr[er++]=fi,fi=n;var u=Pn;n=wa;var f=32-or(u)-1;u&=~(1<<f),l+=1;var h=32-or(r)+f;if(30<h){var S=f-f%5;h=(u&(1<<S)-1).toString(32),u>>=S,f-=S,Pn=1<<32-or(r)+f|l<<f|u,wa=h+n}else Pn=1<<h|l<<f|u,wa=n}function dc(n){n.return!==null&&(Gr(n,1),dd(n,1,0))}function pd(n){for(;n===Xl;)Xl=fl[--Lr],fl[Lr]=null,qo=fl[--Lr],fl[Lr]=null;for(;n===fi;)fi=Nr[--er],Nr[er]=null,wa=Nr[--er],Nr[er]=null,Pn=Nr[--er],Nr[er]=null}var Qr=null,zr=null,Gt=!1,di=null;function hd(n,r){var l=gi(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 bh(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,Qr=n,zr=Hi(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Qr=n,zr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(l=fi!==null?{id:Pn,overflow:wa}:null,n.memoizedState={dehydrated:r,treeContext:l,retryLane:1073741824},l=gi(18,null,null,0),l.stateNode=r,l.return=n,n.child=l,Qr=n,zr=null,!0):!1;default:return!1}}function pc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function hc(n){if(Gt){var r=zr;if(r){var l=r;if(!bh(n,r)){if(pc(n))throw Error(p(418));r=Hi(l.nextSibling);var u=Qr;r&&bh(n,r)?hd(u,l):(n.flags=n.flags&-4097|2,Gt=!1,Qr=n)}}else{if(pc(n))throw Error(p(418));n.flags=n.flags&-4097|2,Gt=!1,Qr=n}}}function xh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Qr=n}function vc(n){if(n!==Qr)return!1;if(!Gt)return xh(n),Gt=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!ts(n.type,n.memoizedProps)),r&&(r=zr)){if(pc(n))throw Th(),Error(p(418));for(;r;)hd(n,r),r=Hi(r.nextSibling)}if(xh(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=Hi(n.nextSibling);break e}r--}else l!=="$"&&l!=="$!"&&l!=="$?"||r++}n=n.nextSibling}zr=null}}else zr=Qr?Hi(n.stateNode.nextSibling):null;return!0}function Th(){for(var n=zr;n;)n=Hi(n.nextSibling)}function rn(){zr=Qr=null,Gt=!1}function vd(n){di===null?di=[n]:di.push(n)}var mc=$e.ReactCurrentBatchConfig;function Xr(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 Ji=Je(null),yc=null,dl=null,md=null;function yd(){md=dl=yc=null}function pl(n){var r=Ji.current;_t(Ji),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,md=dl=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(Cn=!0),n.firstContext=null)}function mn(n){var r=n._currentValue;if(md!==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 jn=null;function gd(n){jn===null?jn=[n]:jn.push(n)}function Dh(n,r,l,u){var f=r.interleaved;return f===null?(l.next=l,gd(r)):(l.next=f.next,f.next=l),r.interleaved=l,ba(n,u)}function ba(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 Sd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bn(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 xa(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,ba(n,l)}return f=u.interleaved,f===null?(r.next=r,gd(u)):(r.next=f.next,f.next=r),u.interleaved=r,ba(n,l)}function gc(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,Xi(n,l)}}function Cd(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 S={eventTime:l.eventTime,lane:l.lane,tag:l.tag,payload:l.payload,callback:l.callback,next:null};h===null?f=h=S:h=h.next=S,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,S=f.lastBaseUpdate,b=f.shared.pending;if(b!==null){f.shared.pending=null;var _=b,B=_.next;_.next=null,S===null?h=B:S.next=B,S=_;var q=n.alternate;q!==null&&(q=q.updateQueue,b=q.lastBaseUpdate,b!==S&&(b===null?q.firstBaseUpdate=B:b.next=B,q.lastBaseUpdate=_))}if(h!==null){var J=f.baseState;S=0,q=B=_=null,b=h;do{var K=b.lane,ve=b.eventTime;if((u&K)===K){q!==null&&(q=q.next={eventTime:ve,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var Ee=n,be=b;switch(K=r,ve=l,be.tag){case 1:if(Ee=be.payload,typeof Ee=="function"){J=Ee.call(ve,J,K);break e}J=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=be.payload,K=typeof Ee=="function"?Ee.call(ve,J,K):Ee,K==null)break e;J=D({},J,K);break e;case 2:hl=!0}}b.callback!==null&&b.lane!==0&&(n.flags|=64,K=f.effects,K===null?f.effects=[b]:K.push(b))}else ve={eventTime:ve,lane:K,tag:b.tag,payload:b.payload,callback:b.callback,next:null},q===null?(B=q=ve,_=J):q=q.next=ve,S|=K;if(b=b.next,b===null){if(b=f.shared.pending,b===null)break;K=b,b=K.next,K.next=null,f.lastBaseUpdate=K,f.shared.pending=null}}while(1);if(q===null&&(_=J),f.baseState=_,f.firstBaseUpdate=B,f.lastBaseUpdate=q,r=f.shared.interleaved,r!==null){f=r;do S|=f.lane,f=f.next;while(f!==r)}else h===null&&(f.shared.lanes=0);ka|=S,n.lanes=S,n.memoizedState=J}}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 _h=new G.Component().refs;function Ed(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 Sc={isMounted:function(n){return(n=n._reactInternals)?ii(n)===n:!1},enqueueSetState:function(n,r,l){n=n._reactInternals;var u=ir(),f=En(n),h=xa(u,f);h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ar(r,n,f,u),gc(r,n,f))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=ir(),f=En(n),h=xa(u,f);h.tag=1,h.payload=r,l!=null&&(h.callback=l),r=vl(n,h,f),r!==null&&(ar(r,n,f,u),gc(r,n,f))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=ir(),u=En(n),f=xa(l,u);f.tag=2,r!=null&&(f.callback=r),r=vl(n,f,u),r!==null&&(ar(r,n,u,l),gc(r,n,u))}};function kh(n,r,l,u,f,h,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,h,S):r.prototype&&r.prototype.isPureReactComponent?!Qu(l,u)||!Qu(f,h):!0}function Mh(n,r,l){var u=!1,f=Zi,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)?si(n,f):Zi),r=new r(l,h),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Sc,n.stateNode=r,r._reactInternals=n,u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=f,n.__reactInternalMemoizedMaskedChildContext=h),r}function Oh(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&&Sc.enqueueReplaceState(r,r.state,null)}function Cc(n,r,l,u){var f=n.stateNode;f.props=l,f.state=n.memoizedState,f.refs=_h,Sd(n);var h=r.contextType;typeof h=="object"&&h!==null?f.context=mn(h):(h=Jt(r)?Or:Ge.current,f.context=si(n,h)),f.state=n.memoizedState,h=r.getDerivedStateFromProps,typeof h=="function"&&(Ed(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&&Sc.enqueueReplaceState(f,f.state,null),ml(n,l,f,u),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308)}function Zo(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(S){var b=f.refs;b===_h&&(b=f.refs={}),S===null?delete b[h]:b[h]=S},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 Ah(n){var r=n._init;return r(n._payload)}function Lh(n){function r(A,M){if(n){var U=A.deletions;U===null?(A.deletions=[M],A.flags|=16):U.push(M)}}function l(A,M){if(!n)return null;for(;M!==null;)r(A,M),M=M.sibling;return null}function u(A,M){for(A=new Map;M!==null;)M.key!==null?A.set(M.key,M):A.set(M.index,M),M=M.sibling;return A}function f(A,M){return A=bl(A,M),A.index=0,A.sibling=null,A}function h(A,M,U){return A.index=U,n?(U=A.alternate,U!==null?(U=U.index,U<M?(A.flags|=2,M):U):(A.flags|=2,M)):(A.flags|=1048576,M)}function S(A){return n&&A.alternate===null&&(A.flags|=2),A}function b(A,M,U,ie){return M===null||M.tag!==6?(M=bs(U,A.mode,ie),M.return=A,M):(M=f(M,U),M.return=A,M)}function _(A,M,U,ie){var ke=U.type;return ke===Oe?q(A,M,U.props.children,ie,U.key):M!==null&&(M.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===Dt&&Ah(ke)===M.type)?(ie=f(M,U.props),ie.ref=Zo(A,M,U),ie.return=A,ie):(ie=Jc(U.type,U.key,U.props,null,A.mode,ie),ie.ref=Zo(A,M,U),ie.return=A,ie)}function B(A,M,U,ie){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=mo(U,A.mode,ie),M.return=A,M):(M=f(M,U.children||[]),M.return=A,M)}function q(A,M,U,ie,ke){return M===null||M.tag!==7?(M=vo(U,A.mode,ie,ke),M.return=A,M):(M=f(M,U),M.return=A,M)}function J(A,M,U){if(typeof M=="string"&&M!==""||typeof M=="number")return M=bs(""+M,A.mode,U),M.return=A,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case pe:return U=Jc(M.type,M.key,M.props,null,A.mode,U),U.ref=Zo(A,null,M),U.return=A,U;case xe:return M=mo(M,A.mode,U),M.return=A,M;case Dt:var ie=M._init;return J(A,ie(M._payload),U)}if(Jn(M)||Le(M))return M=vo(M,A.mode,U,null),M.return=A,M;Ec(A,M)}return null}function K(A,M,U,ie){var ke=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return ke!==null?null:b(A,M,""+U,ie);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case pe:return U.key===ke?_(A,M,U,ie):null;case xe:return U.key===ke?B(A,M,U,ie):null;case Dt:return ke=U._init,K(A,M,ke(U._payload),ie)}if(Jn(U)||Le(U))return ke!==null?null:q(A,M,U,ie,null);Ec(A,U)}return null}function ve(A,M,U,ie,ke){if(typeof ie=="string"&&ie!==""||typeof ie=="number")return A=A.get(U)||null,b(M,A,""+ie,ke);if(typeof ie=="object"&&ie!==null){switch(ie.$$typeof){case pe:return A=A.get(ie.key===null?U:ie.key)||null,_(M,A,ie,ke);case xe:return A=A.get(ie.key===null?U:ie.key)||null,B(M,A,ie,ke);case Dt:var Re=ie._init;return ve(A,M,U,Re(ie._payload),ke)}if(Jn(ie)||Le(ie))return A=A.get(U)||null,q(M,A,ie,ke,null);Ec(M,ie)}return null}function Ee(A,M,U,ie){for(var ke=null,Re=null,Ae=M,Qe=M=0,Fn=null;Ae!==null&&Qe<U.length;Qe++){Ae.index>Qe?(Fn=Ae,Ae=null):Fn=Ae.sibling;var Rt=K(A,Ae,U[Qe],ie);if(Rt===null){Ae===null&&(Ae=Fn);break}n&&Ae&&Rt.alternate===null&&r(A,Ae),M=h(Rt,M,Qe),Re===null?ke=Rt:Re.sibling=Rt,Re=Rt,Ae=Fn}if(Qe===U.length)return l(A,Ae),Gt&&Gr(A,Qe),ke;if(Ae===null){for(;Qe<U.length;Qe++)Ae=J(A,U[Qe],ie),Ae!==null&&(M=h(Ae,M,Qe),Re===null?ke=Ae:Re.sibling=Ae,Re=Ae);return Gt&&Gr(A,Qe),ke}for(Ae=u(A,Ae);Qe<U.length;Qe++)Fn=ve(Ae,A,Qe,U[Qe],ie),Fn!==null&&(n&&Fn.alternate!==null&&Ae.delete(Fn.key===null?Qe:Fn.key),M=h(Fn,M,Qe),Re===null?ke=Fn:Re.sibling=Fn,Re=Fn);return n&&Ae.forEach(function(xl){return r(A,xl)}),Gt&&Gr(A,Qe),ke}function be(A,M,U,ie){var ke=Le(U);if(typeof ke!="function")throw Error(p(150));if(U=ke.call(U),U==null)throw Error(p(151));for(var Re=ke=null,Ae=M,Qe=M=0,Fn=null,Rt=U.next();Ae!==null&&!Rt.done;Qe++,Rt=U.next()){Ae.index>Qe?(Fn=Ae,Ae=null):Fn=Ae.sibling;var xl=K(A,Ae,Rt.value,ie);if(xl===null){Ae===null&&(Ae=Fn);break}n&&Ae&&xl.alternate===null&&r(A,Ae),M=h(xl,M,Qe),Re===null?ke=xl:Re.sibling=xl,Re=xl,Ae=Fn}if(Rt.done)return l(A,Ae),Gt&&Gr(A,Qe),ke;if(Ae===null){for(;!Rt.done;Qe++,Rt=U.next())Rt=J(A,Rt.value,ie),Rt!==null&&(M=h(Rt,M,Qe),Re===null?ke=Rt:Re.sibling=Rt,Re=Rt);return Gt&&Gr(A,Qe),ke}for(Ae=u(A,Ae);!Rt.done;Qe++,Rt=U.next())Rt=ve(Ae,A,Qe,Rt.value,ie),Rt!==null&&(n&&Rt.alternate!==null&&Ae.delete(Rt.key===null?Qe:Rt.key),M=h(Rt,M,Qe),Re===null?ke=Rt:Re.sibling=Rt,Re=Rt);return n&&Ae.forEach(function(yy){return r(A,yy)}),Gt&&Gr(A,Qe),ke}function yn(A,M,U,ie){if(typeof U=="object"&&U!==null&&U.type===Oe&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case pe:e:{for(var ke=U.key,Re=M;Re!==null;){if(Re.key===ke){if(ke=U.type,ke===Oe){if(Re.tag===7){l(A,Re.sibling),M=f(Re,U.props.children),M.return=A,A=M;break e}}else if(Re.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===Dt&&Ah(ke)===Re.type){l(A,Re.sibling),M=f(Re,U.props),M.ref=Zo(A,Re,U),M.return=A,A=M;break e}l(A,Re);break}else r(A,Re);Re=Re.sibling}U.type===Oe?(M=vo(U.props.children,A.mode,ie,U.key),M.return=A,A=M):(ie=Jc(U.type,U.key,U.props,null,A.mode,ie),ie.ref=Zo(A,M,U),ie.return=A,A=ie)}return S(A);case xe:e:{for(Re=U.key;M!==null;){if(M.key===Re)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){l(A,M.sibling),M=f(M,U.children||[]),M.return=A,A=M;break e}else{l(A,M);break}else r(A,M);M=M.sibling}M=mo(U,A.mode,ie),M.return=A,A=M}return S(A);case Dt:return Re=U._init,yn(A,M,Re(U._payload),ie)}if(Jn(U))return Ee(A,M,U,ie);if(Le(U))return be(A,M,U,ie);Ec(A,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,M!==null&&M.tag===6?(l(A,M.sibling),M=f(M,U),M.return=A,A=M):(l(A,M),M=bs(U,A.mode,ie),M.return=A,A=M),S(A)):l(A,M)}return yn}var Jo=Lh(!0),Nh=Lh(!1),ls={},Vi=Je(ls),os=Je(ls),eu=Je(ls);function ql(n){if(n===ls)throw Error(p(174));return n}function Rd(n,r){switch(Ot(eu,r),Ot(os,n),Ot(Vi,ls),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(Vi),Ot(Vi,r)}function yl(){_t(Vi),_t(os),_t(eu)}function Ve(n){ql(eu.current);var r=ql(Vi.current),l=Vn(r,n.type);r!==l&&(Ot(os,n),Ot(Vi,l))}function at(n){os.current===n&&(_t(Vi),_t(os))}var je=Je(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 pi=[];function Rc(){for(var n=0;n<pi.length;n++)pi[n]._workInProgressVersionPrimary=null;pi.length=0}var wc=$e.ReactCurrentDispatcher,wd=$e.ReactCurrentBatchConfig,Zl=0,Qt=null,W=null,pt=null,Ie=!1,ea=!1,Kr=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(!oi(n[l],r[l]))return!1;return!0}function gl(n,r,l,u,f,h){if(Zl=h,Qt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,wc.current=n===null||n.memoizedState===null?Jm:ey,n=l(u,f),ea){h=0;do{if(ea=!1,Kr=0,25<=h)throw Error(p(301));h+=1,pt=W=null,r.updateQueue=null,wc.current=xd,n=l(u,f)}while(ea)}if(wc.current=Vc,r=W!==null&&W.next!==null,Zl=0,pt=W=Qt=null,Ie=!1,r)throw Error(p(300));return n}function to(){var n=Kr!==0;return Kr=0,n}function hi(){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(W===null){var n=Qt.alternate;n=n!==null?n.memoizedState:null}else n=W.next;var r=pt===null?Qt.memoizedState:pt.next;if(r!==null)pt=r,W=n;else{if(n===null)throw Error(p(310));W=n,n={memoizedState:W.memoizedState,baseState:W.baseState,baseQueue:W.baseQueue,queue:W.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 us(n){var r=Ur(),l=r.queue;if(l===null)throw Error(p(311));l.lastRenderedReducer=n;var u=W,f=u.baseQueue,h=l.pending;if(h!==null){if(f!==null){var S=f.next;f.next=h.next,h.next=S}u.baseQueue=f=h,l.pending=null}if(f!==null){h=f.next,u=u.baseState;var b=S=null,_=null,B=h;do{var q=B.lane;if((Zl&q)===q)_!==null&&(_=_.next={lane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),u=B.hasEagerState?B.eagerState:n(u,B.action);else{var J={lane:q,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};_===null?(b=_=J,S=u):_=_.next=J,Qt.lanes|=q,ka|=q}B=B.next}while(B!==null&&B!==h);_===null?S=u:_.next=b,oi(u,r.memoizedState)||(Cn=!0),r.memoizedState=u,r.baseState=S,r.baseQueue=_,l.lastRenderedState=u}if(n=l.interleaved,n!==null){f=n;do h=f.lane,Qt.lanes|=h,ka|=h,f=f.next;while(f!==n)}else f===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function ss(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 S=f=f.next;do h=n(h,S.action),S=S.next;while(S!==f);oi(h,r.memoizedState)||(Cn=!0),r.memoizedState=h,r.baseQueue===null&&(r.baseState=h),l.lastRenderedState=h}return[h,u]}function bc(){}function xc(n,r){var l=Qt,u=Ur(),f=r(),h=!oi(u.memoizedState,f);if(h&&(u.memoizedState=f,Cn=!0),u=u.queue,cs(_c.bind(null,l,u,n),[n]),u.getSnapshot!==r||h||pt!==null&&pt.memoizedState.tag&1){if(l.flags|=2048,ro(9,Dc.bind(null,l,u,f,r),void 0,null),ln===null)throw Error(p(349));Zl&30||Tc(l,r,f)}return f}function Tc(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 Dc(n,r,l,u){r.value=l,r.getSnapshot=u,kc(r)&&Mc(n)}function _c(n,r,l){return l(function(){kc(r)&&Mc(n)})}function kc(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!oi(n,l)}catch{return!0}}function Mc(n){var r=ba(n,1);r!==null&&ar(r,n,1,-1)}function Oc(n){var r=hi();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=Hc.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 Ac(){return Ur().memoizedState}function io(n,r,l,u){var f=hi();Qt.flags|=n,f.memoizedState=ro(1|r,l,void 0,u===void 0?null:u)}function Ta(n,r,l,u){var f=Ur();u=u===void 0?null:u;var h=void 0;if(W!==null){var S=W.memoizedState;if(h=S.destroy,u!==null&&eo(u,S.deps)){f.memoizedState=ro(r,l,h,u);return}}Qt.flags|=n,f.memoizedState=ro(1|r,l,h,u)}function Lc(n,r){return io(8390656,8,n,r)}function cs(n,r){return Ta(2048,8,n,r)}function Nc(n,r){return Ta(4,2,n,r)}function zc(n,r){return Ta(4,4,n,r)}function bd(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 tu(n,r,l){return l=l!=null?l.concat([n]):null,Ta(4,4,bd.bind(null,r,n),l)}function Uc(){}function nu(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?(oi(l,r)||(l=zo(),Qt.lanes|=l,ka|=l,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,Cn=!0),n.memoizedState=l)}function Zm(n,r){var l=wt;wt=l!==0&&4>l?l:4,n(!0);var u=wd.transition;wd.transition={};try{n(!1),r()}finally{wt=l,wd.transition=u}}function Pt(){return Ur().memoizedState}function Fc(n,r,l){var u=En(n);if(l={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null},ru(n))fs(r,l);else if(l=Dh(n,r,l,u),l!==null){var f=ir();ar(l,n,u,f),zh(l,r,u)}}function Hc(n,r,l){var u=En(n),f={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(ru(n))fs(r,f);else{var h=n.alternate;if(n.lanes===0&&(h===null||h.lanes===0)&&(h=r.lastRenderedReducer,h!==null))try{var S=r.lastRenderedState,b=h(S,l);if(f.hasEagerState=!0,f.eagerState=b,oi(b,S)){var _=r.interleaved;_===null?(f.next=f,gd(r)):(f.next=_.next,_.next=f),r.interleaved=f;return}}catch{}finally{}l=Dh(n,r,f,u),l!==null&&(f=ir(),ar(l,n,u,f),zh(l,r,u))}}function ru(n){var r=n.alternate;return n===Qt||r!==null&&r===Qt}function fs(n,r){ea=Ie=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function zh(n,r,l){if(l&4194240){var u=r.lanes;u&=n.pendingLanes,l|=u,r.lanes=l,Xi(n,l)}}var Vc={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},Jm={readContext:mn,useCallback:function(n,r){return hi().memoizedState=[n,r===void 0?null:r],n},useContext:mn,useEffect:Lc,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,io(4194308,4,bd.bind(null,r,n),l)},useLayoutEffect:function(n,r){return io(4194308,4,n,r)},useInsertionEffect:function(n,r){return io(4,2,n,r)},useMemo:function(n,r){var l=hi();return r=r===void 0?null:r,n=n(),l.memoizedState=[n,r],n},useReducer:function(n,r,l){var u=hi();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=Fc.bind(null,Qt,n),[u.memoizedState,n]},useRef:function(n){var r=hi();return n={current:n},r.memoizedState=n},useState:Oc,useDebugValue:Uc,useDeferredValue:function(n){return hi().memoizedState=n},useTransition:function(){var n=Oc(!1),r=n[0];return n=Zm.bind(null,n[1]),hi().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,l){var u=Qt,f=hi();if(Gt){if(l===void 0)throw Error(p(407));l=l()}else{if(l=r(),ln===null)throw Error(p(349));Zl&30||Tc(u,r,l)}f.memoizedState=l;var h={value:l,getSnapshot:r};return f.queue=h,Lc(_c.bind(null,u,h,n),[n]),u.flags|=2048,ro(9,Dc.bind(null,u,h,l,r),void 0,null),l},useId:function(){var n=hi(),r=ln.identifierPrefix;if(Gt){var l=wa,u=Pn;l=(u&~(1<<32-or(u)-1)).toString(32)+l,r=":"+r+"R"+l,l=Kr++,0<l&&(r+="H"+l.toString(32)),r+=":"}else l=Jl++,r=":"+r+"r"+l.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},ey={readContext:mn,useCallback:nu,useContext:mn,useEffect:cs,useImperativeHandle:tu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:us,useRef:Ac,useState:function(){return us(no)},useDebugValue:Uc,useDeferredValue:function(n){var r=Ur();return Fr(r,W.memoizedState,n)},useTransition:function(){var n=us(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:bc,useSyncExternalStore:xc,useId:Pt,unstable_isNewReconciler:!1},xd={readContext:mn,useCallback:nu,useContext:mn,useEffect:cs,useImperativeHandle:tu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:ss,useRef:Ac,useState:function(){return ss(no)},useDebugValue:Uc,useDeferredValue:function(n){var r=Ur();return W===null?r.memoizedState=n:Fr(r,W.memoizedState,n)},useTransition:function(){var n=ss(no)[0],r=Ur().memoizedState;return[n,r]},useMutableSource:bc,useSyncExternalStore:xc,useId:Pt,unstable_isNewReconciler:!1};function iu(n,r){try{var l="",u=r;do l+=Ct(u),u=u.return;while(u);var f=l}catch(h){f=`
|
|
88
88
|
Error generating stack: `+h.message+`
|
|
89
|
-
`+h.stack}return{value:n,source:r,stack:f,digest:null}}function fs(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 ty=typeof WeakMap=="function"?WeakMap:Map;function Uh(n,r,l){l=xa(-1,l),l.tag=3,l.payload={element:null};var u=r.value;return l.callback=function(){Gc||(Gc=!0,so=u),jc(n,r)},l}function ds(n,r,l){l=xa(-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"&&(ra===null?ra=new Set([this]):ra.add(this));var g=r.stack;this.componentDidCatch(r.value,{componentStack:g!==null?g:""})}),l}function Fh(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new ty;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=uy.bind(null,n,r,l),r.then(n,n))}function Td(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 Dd(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=xa(-1,1),r.tag=2,vl(l,r,1))),l.lanes|=1),n)}var ny=Oe.ReactCurrentOwner,Sn=!1;function xn(n,r,l,u){r.child=n===null?Nh(r,null,l,u):Zo(r,n.child,l,u)}function Cl(n,r,l,u,f){l=l.render;var h=r.ref;return oe(r,f),u=gl(n,r,l,u,h,f),l=to(),n!==null&&!Sn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,$n(n,r,f)):(Gt&&l&&dc(r),r.flags|=1,xn(n,r,u,f),r.child)}function Bc(n,r,l,u,f){if(n===null){var h=l.type;return typeof h=="function"&&!Yd(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=Jc(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 g=h.memoizedProps;if(l=l.compare,l=l!==null?l:Gu,l(g,u)&&n.ref===r.ref)return $n(n,r,f)}return r.flags|=1,n=bl(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(Gu(h,u)&&n.ref===r.ref)if(Sn=!1,r.pendingProps=u=h,(n.lanes&f)!==0)n.flags&131072&&(Sn=!0);else return r.lanes=n.lanes,$n(n,r,f)}return iu(n,r,l,u,f)}function ao(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},_t(cu,qr),qr|=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,_t(cu,qr),qr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:l,_t(cu,qr),qr|=u}else h!==null?(u=h.baseLanes|l,r.memoizedState=null):u=l,_t(cu,qr),qr|=u;return xn(n,r,f,l),r.child}function Ze(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function iu(n,r,l,u,f){var h=Jt(l)?Or:We.current;return h=si(r,h),oe(r,f),l=gl(n,r,l,u,h,f),u=to(),n!==null&&!Sn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,$n(n,r,f)):(Gt&&u&&dc(r),r.flags|=1,xn(n,r,l,f),r.child)}function _d(n,r,l,u,f){if(Jt(l)){var h=!0;fc(r)}else h=!1;if(oe(r,f),r.stateNode===null)tr(n,r),Mh(r,l,u),Cc(r,l,u,f),u=!0;else if(n===null){var g=r.stateNode,b=r.memoizedProps;g.props=b;var _=g.context,V=l.contextType;typeof V=="object"&&V!==null?V=vn(V):(V=Jt(l)?Or:We.current,V=si(r,V));var Z=l.getDerivedStateFromProps,ee=typeof Z=="function"||typeof g.getSnapshotBeforeUpdate=="function";ee||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==u||_!==V)&&Oh(r,g,u,V),hl=!1;var q=r.memoizedState;g.state=q,ml(r,u,g,f),_=r.memoizedState,b!==u||q!==_||cn.current||hl?(typeof Z=="function"&&(Ed(r,l,Z,u),_=r.memoizedState),(b=hl||kh(r,l,b,u,q,_,V))?(ee||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(r.flags|=4194308)):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=_),g.props=u,g.state=_,g.context=V,u=b):(typeof g.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{g=r.stateNode,bn(n,r),b=r.memoizedProps,V=r.type===r.elementType?b:Xr(r.type,b),g.props=V,ee=r.pendingProps,q=g.context,_=l.contextType,typeof _=="object"&&_!==null?_=vn(_):(_=Jt(l)?Or:We.current,_=si(r,_));var pe=l.getDerivedStateFromProps;(Z=typeof pe=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==ee||q!==_)&&Oh(r,g,u,_),hl=!1,q=r.memoizedState,g.state=q,ml(r,u,g,f);var Ee=r.memoizedState;b!==ee||q!==Ee||cn.current||hl?(typeof pe=="function"&&(Ed(r,l,pe,u),Ee=r.memoizedState),(V=hl||kh(r,l,V,u,q,Ee,_)||!1)?(Z||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Ee,_),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Ee,_)),typeof g.componentDidUpdate=="function"&&(r.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof g.componentDidUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=Ee),g.props=u,g.state=Ee,g.context=_,u=V):(typeof g.componentDidUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&q===n.memoizedState||(r.flags|=1024),u=!1)}return Hh(n,r,l,u,h,f)}function Hh(n,r,l,u,f,h){Ze(n,r);var g=(r.flags&128)!==0;if(!u&&!g)return f&&wh(r,l,!1),$n(n,r,h);u=r.stateNode,ny.current=r;var b=g&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&g?(r.child=Zo(r,n.child,null,h),r.child=Zo(r,null,b,h)):xn(n,r,b,h),r.memoizedState=u.state,f&&wh(r,l,!0),r.child}function Vh(n){var r=n.stateNode;r.pendingContext?cl(n,r.pendingContext,r.pendingContext!==r.context):r.context&&cl(n,r.context,!1),Rd(n,r.containerInfo)}function Pc(n,r,l,u,f){return rn(),vd(f),r.flags|=256,xn(n,r,l,u),r.child}var lo={dehydrated:null,treeContext:null,retryLane:0};function kd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Md(n,r,l){var u=r.pendingProps,f=je.current,h=!1,g=(r.flags&128)!==0,b;if((b=g)||(b=n!==null&&n.memoizedState===null?!1:(f&2)!==0),b?(h=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),_t(je,f&1),n===null)return hc(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):(g=u.children,n=u.fallback,h?(u=r.mode,h=r.child,g={mode:"hidden",children:g},!(u&1)&&h!==null?(h.childLanes=0,h.pendingProps=g):h=Rs(g,u,0,null),n=vo(n,u,l,null),h.return=r,n.return=r,h.sibling=n,r.child=h,r.child.memoizedState=kd(l),r.memoizedState=lo,n):Od(r,g));if(f=n.memoizedState,f!==null&&(b=f.dehydrated,b!==null))return ry(n,r,g,u,b,f,l);if(h){h=u.fallback,g=r.mode,f=n.child,b=f.sibling;var _={mode:"hidden",children:u.children};return!(g&1)&&r.child!==f?(u=r.child,u.childLanes=0,u.pendingProps=_,r.deletions=null):(u=bl(f,_),u.subtreeFlags=f.subtreeFlags&14680064),b!==null?h=bl(b,h):(h=vo(h,g,l,null),h.flags|=2),h.return=r,u.return=r,u.sibling=h,r.child=u,u=h,h=r.child,g=n.child.memoizedState,g=g===null?kd(l):{baseLanes:g.baseLanes|l,cachePool:null,transitions:g.transitions},h.memoizedState=g,h.childLanes=n.childLanes&~l,r.memoizedState=lo,u}return h=n.child,n=h.sibling,u=bl(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 Od(n,r){return r=Rs({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function au(n,r,l,u){return u!==null&&vd(u),Zo(r,n.child,null,l),n=Od(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function ry(n,r,l,u,f,h,g){if(l)return r.flags&256?(r.flags&=-257,u=fs(Error(p(422))),au(n,r,g,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(h=u.fallback,f=r.mode,u=Rs({mode:"visible",children:u.children},f,0,null),h=vo(h,f,g,null),h.flags|=2,u.return=r,h.return=r,u.sibling=h,r.child=u,r.mode&1&&Zo(r,n.child,null,g),r.child.memoizedState=kd(g),r.memoizedState=lo,h);if(!(r.mode&1))return au(n,r,g,null);if(f.data==="$!"){if(u=f.nextSibling&&f.nextSibling.dataset,u)var b=u.dgst;return u=b,h=Error(p(419)),u=fs(h,u,void 0),au(n,r,g,u)}if(b=(g&n.childLanes)!==0,Sn||b){if(u=ln,u!==null){switch(g&-g){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|g)?0:f,f!==0&&f!==h.retryLane&&(h.retryLane=f,ba(n,f),ar(u,n,f,-1))}return $d(),u=fs(Error(p(421))),au(n,r,g,u)}return f.data==="$?"?(r.flags|=128,r.child=n.child,r=sy.bind(null,n),f._reactRetry=r,null):(n=h.treeContext,zr=Hi(f.nextSibling),Qr=r,Gt=!0,di=null,n!==null&&(Nr[er++]=Bn,Nr[er++]=wa,Nr[er++]=fi,Bn=n.id,wa=n.overflow,fi=r),r=Od(r,u.children),r.flags|=4096,r)}function Ld(n,r,l){n.lanes|=r;var u=n.alternate;u!==null&&(u.lanes|=r),Nn(n.return,r,l)}function $c(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 Ad(n,r,l){var u=r.pendingProps,f=u.revealOrder,h=u.tail;if(xn(n,r,u.children,l),u=je.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&&Ld(n,l,r);else if(n.tag===19)Ld(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(_t(je,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),$c(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}$c(r,!0,l,null,h);break;case"together":$c(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),ka|=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=bl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=bl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Da(n,r,l){switch(r.tag){case 3:Vh(r),rn();break;case 5:He(r);break;case 1:Jt(r.type)&&fc(r);break;case 4:Rd(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,f=r.memoizedProps.value;_t(Ji,u._currentValue),u._currentValue=f;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(_t(je,je.current&1),r.flags|=128,null):l&r.child.childLanes?Md(n,r,l):(_t(je,je.current&1),n=$n(n,r,l),n!==null?n.sibling:null);_t(je,je.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return Ad(n,r,l);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),_t(je,je.current),u)break;return null;case 22:case 23:return r.lanes=0,ao(n,r,l)}return $n(n,r,l)}var ps,oo,vi,Tn;ps=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(){},vi=function(n,r,l,u){var f=n.memoizedProps;if(f!==u){n=r.stateNode,ql(Vi.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=Wi(n,f),u=Wi(n,u),h=[];break;default:typeof f.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=cc)}wn(l,u);var g;l=null;for(V in f)if(!u.hasOwnProperty(V)&&f.hasOwnProperty(V)&&f[V]!=null)if(V==="style"){var b=f[V];for(g in b)b.hasOwnProperty(g)&&(l||(l={}),l[g]="")}else V!=="dangerouslySetInnerHTML"&&V!=="children"&&V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(R.hasOwnProperty(V)?h||(h=[]):(h=h||[]).push(V,null));for(V in u){var _=u[V];if(b=f?.[V],u.hasOwnProperty(V)&&_!==b&&(_!=null||b!=null))if(V==="style")if(b){for(g in b)!b.hasOwnProperty(g)||_&&_.hasOwnProperty(g)||(l||(l={}),l[g]="");for(g in _)_.hasOwnProperty(g)&&b[g]!==_[g]&&(l||(l={}),l[g]=_[g])}else l||(h||(h=[]),h.push(V,l)),l=_;else V==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,b=b?b.__html:void 0,_!=null&&b!==_&&(h=h||[]).push(V,_)):V==="children"?typeof _!="string"&&typeof _!="number"||(h=h||[]).push(V,""+_):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&(R.hasOwnProperty(V)?(_!=null&&V==="onScroll"&&Ht("scroll",n),h||b===_||(h=[])):(h=h||[]).push(V,_))}l&&(h=h||[]).push("style",l);var V=h;(r.updateQueue=V)&&(r.flags|=4)}},Tn=function(n,r,l,u){l!==u&&(r.flags|=4)};function hs(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 iy(n,r,l){var u=r.pendingProps;switch(pd(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)&&ci(),nr(r),null;case 3:return u=r.stateNode,yl(),xt(cn),xt(We),Rc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(vc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,di!==null&&(Es(di),di=null))),oo(n,r),nr(r),null;case 5:rt(r);var f=ql(Jo.current);if(l=r.type,n!==null&&r.stateNode!=null)vi(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(Vi.current),vc(r)){u=r.stateNode,l=r.type;var h=r.memoizedProps;switch(u[qi]=r,u[Ql]=h,n=(r.mode&1)!==0,l){case"dialog":Ht("cancel",u),Ht("close",u);break;case"iframe":case"object":case"embed":Ht("load",u);break;case"video":case"audio":for(f=0;f<qu.length;f++)Ht(qu[f],u);break;case"source":Ht("error",u);break;case"img":case"image":case"link":Ht("error",u),Ht("load",u);break;case"details":Ht("toggle",u);break;case"input":Er(u,h),Ht("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!h.multiple},Ht("invalid",u);break;case"textarea":br(u,h),Ht("invalid",u)}wn(l,h),f=null;for(var g in h)if(h.hasOwnProperty(g)){var b=h[g];g==="children"?typeof b=="string"?u.textContent!==b&&(h.suppressHydrationWarning!==!0&&sc(u.textContent,b,n),f=["children",b]):typeof b=="number"&&u.textContent!==""+b&&(h.suppressHydrationWarning!==!0&&sc(u.textContent,b,n),f=["children",""+b]):R.hasOwnProperty(g)&&b!=null&&g==="onScroll"&&Ht("scroll",u)}switch(l){case"input":Cr(u),Di(u,h,!0);break;case"textarea":Cr(u),xr(u);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(u.onclick=cc)}u=f,r.updateQueue=u,u!==null&&(r.flags|=4)}else{g=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=ki(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=g.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof u.is=="string"?n=g.createElement(l,{is:u.is}):(n=g.createElement(l),l==="select"&&(g=n,u.multiple?g.multiple=!0:u.size&&(g.size=u.size))):n=g.createElementNS(n,l),n[qi]=r,n[Ql]=u,ps(n,r,!1,!1),r.stateNode=n;e:{switch(g=hn(l,u),l){case"dialog":Ht("cancel",n),Ht("close",n),f=u;break;case"iframe":case"object":case"embed":Ht("load",n),f=u;break;case"video":case"audio":for(f=0;f<qu.length;f++)Ht(qu[f],n);f=u;break;case"source":Ht("error",n),f=u;break;case"img":case"image":case"link":Ht("error",n),Ht("load",n),f=u;break;case"details":Ht("toggle",n),f=u;break;case"input":Er(n,u),f=Zn(n,u),Ht("invalid",n);break;case"option":f=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},f=D({},u,{value:void 0}),Ht("invalid",n);break;case"textarea":br(n,u),f=Wi(n,u),Ht("invalid",n);break;default:f=u}wn(l,f),b=f;for(h in b)if(b.hasOwnProperty(h)){var _=b[h];h==="style"?Mt(n,_):h==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&Ul(n,_)):h==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&Yi(n,_):typeof _=="number"&&Yi(n,""+_):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(R.hasOwnProperty(h)?_!=null&&h==="onScroll"&&Ht("scroll",n):_!=null&&xe(n,h,_,g))}switch(l){case"input":Cr(n),Di(n,u,!1);break;case"textarea":Cr(n),xr(n);break;case"option":u.value!=null&&n.setAttribute("value",""+ut(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=cc)}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(Jo.current),ql(Vi.current),vc(r)){if(u=r.stateNode,l=r.memoizedProps,u[qi]=r,(h=u.nodeValue!==l)&&(n=Qr,n!==null))switch(n.tag){case 3:sc(u.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&sc(u.nodeValue,l,(n.mode&1)!==0)}h&&(r.flags|=4)}else u=(l.nodeType===9?l:l.ownerDocument).createTextNode(u),u[qi]=r,r.stateNode=u}return nr(r),null;case 13:if(xt(je),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Gt&&zr!==null&&r.mode&1&&!(r.flags&128))Th(),rn(),r.flags|=98560,h=!1;else if(h=vc(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[qi]=r}else rn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;nr(r),h=!1}else di!==null&&(Es(di),di=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||je.current&1?_n===0&&(_n=3):$d())),r.updateQueue!==null&&(r.flags|=4),nr(r),null);case 4:return yl(),oo(n,r),n===null&&Qo(r.stateNode.containerInfo),nr(r),null;case 10:return pl(r.type._context),nr(r),null;case 17:return Jt(r.type)&&ci(),nr(r),null;case 19:if(xt(je),h=r.memoizedState,h===null)return nr(r),null;if(u=(r.flags&128)!==0,g=h.rendering,g===null)if(u)hs(h,!1);else{if(_n!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(g=an(n),g!==null){for(r.flags|=128,hs(h,!1),u=g.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,g=h.alternate,g===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=g.childLanes,h.lanes=g.lanes,h.child=g.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=g.memoizedProps,h.memoizedState=g.memoizedState,h.updateQueue=g.updateQueue,h.type=g.type,n=g.dependencies,h.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return _t(je,je.current&1|2),r.child}n=n.sibling}h.tail!==null&&Zt()>du&&(r.flags|=128,u=!0,hs(h,!1),r.lanes=4194304)}else{if(!u)if(n=an(g),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),hs(h,!0),h.tail===null&&h.tailMode==="hidden"&&!g.alternate&&!Gt)return nr(r),null}else 2*Zt()-h.renderingStartTime>du&&l!==1073741824&&(r.flags|=128,u=!0,hs(h,!1),r.lanes=4194304);h.isBackwards?(g.sibling=r.child,r.child=g):(l=h.last,l!==null?l.sibling=g:r.child=g,h.last=g)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Zt(),r.sibling=null,l=je.current,_t(je,u?l&1|2:l&1),r):(nr(r),null);case 22:case 23:return Pd(),u=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(r.flags|=8192),u&&r.mode&1?qr&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 Nd(n,r){switch(pd(r),r.tag){case 1:return Jt(r.type)&&ci(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return yl(),xt(cn),xt(We),Rc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return rt(r),null;case 13:if(xt(je),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 xt(je),null;case 4:return yl(),null;case 10:return pl(r.type._context),null;case 22:case 23:return Pd(),null;case 24:return null;default:return null}}var vs=!1,Dn=!1,jh=typeof WeakSet=="function"?WeakSet:Set,Se=null;function lu(n,r){var l=n.ref;if(l!==null)if(typeof l=="function")try{l(null)}catch(u){dn(n,r,u)}else l.current=null}function ms(n,r,l){try{l()}catch(u){dn(n,r,u)}}var Bh=!1;function Ph(n,r){if(ad=li,n=ic(),Sa(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 g=0,b=-1,_=-1,V=0,Z=0,ee=n,q=null;t:for(;;){for(var pe;ee!==l||f!==0&&ee.nodeType!==3||(b=g+f),ee!==h||u!==0&&ee.nodeType!==3||(_=g+u),ee.nodeType===3&&(g+=ee.nodeValue.length),(pe=ee.firstChild)!==null;)q=ee,ee=pe;for(;;){if(ee===n)break t;if(q===l&&++V===f&&(b=g),q===h&&++Z===u&&(_=g),(pe=ee.nextSibling)!==null)break;ee=q,q=ee.parentNode}ee=pe}l=b===-1||_===-1?null:{start:b,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(Yl={focusedElem:n,selectionRange:l},li=!1,Se=r;Se!==null;)if(r=Se,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Se=n;else for(;Se!==null;){r=Se;try{var Ee=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Ee!==null){var be=Ee.memoizedProps,mn=Ee.memoizedState,L=r.stateNode,M=L.getSnapshotBeforeUpdate(r.elementType===r.type?be:Xr(r.type,be),mn);L.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var z=r.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163))}}catch(re){dn(r,r.return,re)}if(n=r.sibling,n!==null){n.return=r.return,Se=n;break}Se=r.return}return Ee=Bh,Bh=!1,Ee}function ys(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&&ms(r,l,h)}f=f.next}while(f!==u)}}function gs(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 zd(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 Ud(n){var r=n.alternate;r!==null&&(n.alternate=null,Ud(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[qi],delete r[Ql],delete r[ud],delete r[qm],delete r[sd])),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 $h(n){return n.tag===5||n.tag===3||n.tag===4}function Ic(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||$h(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 ou(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=cc));else if(u!==4&&(n=n.child,n!==null))for(ou(n,r,l),n=n.sibling;n!==null;)ou(n,r,l),n=n.sibling}function ta(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(ta(n,r,l),n=n.sibling;n!==null;)ta(n,r,l),n=n.sibling}var en=null,zn=!1;function mi(n,r,l){for(l=l.child;l!==null;)uu(n,r,l),l=l.sibling}function uu(n,r,l){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(Xa,l)}catch{}switch(l.tag){case 5:Dn||lu(l,r);case 6:var u=en,f=zn;en=null,mi(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,mi(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,g=h.destroy;h=h.tag,g!==void 0&&(h&2||h&4)&&ms(l,r,g),f=f.next}while(f!==u)}mi(n,r,l);break;case 1:if(!Dn&&(lu(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(b){dn(l,r,b)}mi(n,r,l);break;case 21:mi(n,r,l);break;case 22:l.mode&1?(Dn=(u=Dn)||l.memoizedState!==null,mi(n,r,l),Dn=u):mi(n,r,l);break;default:mi(n,r,l)}}function _a(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new jh),r.forEach(function(u){var f=cy.bind(null,n,u);l.has(u)||(l.add(u),u.then(f,f))})}}function ji(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,g=r,b=g;e:for(;b!==null;){switch(b.tag){case 5:en=b.stateNode,zn=!1;break e;case 3:en=b.stateNode.containerInfo,zn=!0;break e;case 4:en=b.stateNode.containerInfo,zn=!0;break e}b=b.return}if(en===null)throw Error(p(160));uu(h,g,f),en=null,zn=!1;var _=f.alternate;_!==null&&(_.return=null),f.return=null}catch(V){dn(f,r,V)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)Ih(r,n),r=r.sibling}function Ih(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(ji(r,n),na(n),u&4){try{ys(3,n,n.return),gs(3,n)}catch(be){dn(n,n.return,be)}try{ys(5,n,n.return)}catch(be){dn(n,n.return,be)}}break;case 1:ji(r,n),na(n),u&512&&l!==null&&lu(l,l.return);break;case 5:if(ji(r,n),na(n),u&512&&l!==null&&lu(l,l.return),n.flags&32){var f=n.stateNode;try{Yi(f,"")}catch(be){dn(n,n.return,be)}}if(u&4&&(f=n.stateNode,f!=null)){var h=n.memoizedProps,g=l!==null?l.memoizedProps:h,b=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{b==="input"&&h.type==="radio"&&h.name!=null&&Rr(f,h),hn(b,g);var V=hn(b,h);for(g=0;g<_.length;g+=2){var Z=_[g],ee=_[g+1];Z==="style"?Mt(f,ee):Z==="dangerouslySetInnerHTML"?Ul(f,ee):Z==="children"?Yi(f,ee):xe(f,Z,ee,V)}switch(b){case"input":Mn(f,h);break;case"textarea":_i(f,h);break;case"select":var q=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!h.multiple;var pe=h.value;pe!=null?wr(f,!!h.multiple,pe,!1):q!==!!h.multiple&&(h.defaultValue!=null?wr(f,!!h.multiple,h.defaultValue,!0):wr(f,!!h.multiple,h.multiple?[]:"",!1))}f[Ql]=h}catch(be){dn(n,n.return,be)}}break;case 6:if(ji(r,n),na(n),u&4){if(n.stateNode===null)throw Error(p(162));f=n.stateNode,h=n.memoizedProps;try{f.nodeValue=h}catch(be){dn(n,n.return,be)}}break;case 3:if(ji(r,n),na(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{nl(r.containerInfo)}catch(be){dn(n,n.return,be)}break;case 4:ji(r,n),na(n);break;case 13:ji(r,n),na(n),f=n.child,f.flags&8192&&(h=f.memoizedState!==null,f.stateNode.isHidden=h,!h||f.alternate!==null&&f.alternate.memoizedState!==null||(Vd=Zt())),u&4&&_a(n);break;case 22:if(Z=l!==null&&l.memoizedState!==null,n.mode&1?(Dn=(V=Dn)||Z,ji(r,n),Dn=V):ji(r,n),na(n),u&8192){if(V=n.memoizedState!==null,(n.stateNode.isHidden=V)&&!Z&&n.mode&1)for(Se=n,Z=n.child;Z!==null;){for(ee=Se=Z;Se!==null;){switch(q=Se,pe=q.child,q.tag){case 0:case 11:case 14:case 15:ys(4,q,q.return);break;case 1:lu(q,q.return);var Ee=q.stateNode;if(typeof Ee.componentWillUnmount=="function"){u=q,l=q.return;try{r=u,Ee.props=r.memoizedProps,Ee.state=r.memoizedState,Ee.componentWillUnmount()}catch(be){dn(u,l,be)}}break;case 5:lu(q,q.return);break;case 22:if(q.memoizedState!==null){Fd(ee);continue}}pe!==null?(pe.return=q,Se=pe):Fd(ee)}Z=Z.sibling}e:for(Z=null,ee=n;;){if(ee.tag===5){if(Z===null){Z=ee;try{f=ee.stateNode,V?(h=f.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(b=ee.stateNode,_=ee.memoizedProps.style,g=_!=null&&_.hasOwnProperty("display")?_.display:null,b.style.display=et("display",g))}catch(be){dn(n,n.return,be)}}}else if(ee.tag===6){if(Z===null)try{ee.stateNode.nodeValue=V?"":ee.memoizedProps}catch(be){dn(n,n.return,be)}}else if((ee.tag!==22&&ee.tag!==23||ee.memoizedState===null||ee===n)&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===n)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===n)break e;Z===ee&&(Z=null),ee=ee.return}Z===ee&&(Z=null),ee.sibling.return=ee.return,ee=ee.sibling}}break;case 19:ji(r,n),na(n),u&4&&_a(n);break;case 21:break;default:ji(r,n),na(n)}}function na(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if($h(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&&(Yi(f,""),u.flags&=-33);var h=Ic(n);ta(n,h,f);break;case 3:case 4:var g=u.stateNode.containerInfo,b=Ic(n);ou(n,b,g);break;default:throw Error(p(161))}}catch(_){dn(n,n.return,_)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Wh(n,r,l){Se=n,su(n)}function su(n,r,l){for(var u=(n.mode&1)!==0;Se!==null;){var f=Se,h=f.child;if(f.tag===22&&u){var g=f.memoizedState!==null||vs;if(!g){var b=f.alternate,_=b!==null&&b.memoizedState!==null||Dn;b=vs;var V=Dn;if(vs=g,(Dn=_)&&!V)for(Se=f;Se!==null;)g=Se,_=g.child,g.tag===22&&g.memoizedState!==null?Gh(f):_!==null?(_.return=g,Se=_):Gh(f);for(;h!==null;)Se=h,su(h),h=h.sibling;Se=f,vs=b,Dn=V}Yh(n)}else f.subtreeFlags&8772&&h!==null?(h.return=f,Se=h):Yh(n)}}function Yh(n){for(;Se!==null;){var r=Se;if(r.flags&8772){var l=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Dn||gs(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:Xr(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 g=r.updateQueue;if(g!==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,g,l)}break;case 5:var b=r.stateNode;if(l===null&&r.flags&4){l=b;var _=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&l.focus();break;case"img":_.src&&(l.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var V=r.alternate;if(V!==null){var Z=V.memoizedState;if(Z!==null){var ee=Z.dehydrated;ee!==null&&nl(ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(p(163))}Dn||r.flags&512&&zd(r)}catch(q){dn(r,r.return,q)}}if(r===n){Se=null;break}if(l=r.sibling,l!==null){l.return=r.return,Se=l;break}Se=r.return}}function Fd(n){for(;Se!==null;){var r=Se;if(r===n){Se=null;break}var l=r.sibling;if(l!==null){l.return=r.return,Se=l;break}Se=r.return}}function Gh(n){for(;Se!==null;){var r=Se;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{gs(4,r)}catch(_){dn(r,l,_)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var f=r.return;try{u.componentDidMount()}catch(_){dn(r,f,_)}}var h=r.return;try{zd(r)}catch(_){dn(r,h,_)}break;case 5:var g=r.return;try{zd(r)}catch(_){dn(r,g,_)}}}catch(_){dn(r,r.return,_)}if(r===n){Se=null;break}var b=r.sibling;if(b!==null){b.return=r.return,Se=b;break}Se=r.return}}var Wc=Math.ceil,Ss=Oe.ReactCurrentDispatcher,Hd=Oe.ReactCurrentOwner,rr=Oe.ReactCurrentBatchConfig,lt=0,ln=null,fn=null,Un=0,qr=0,cu=qe(0),_n=0,Cs=null,ka=0,Yc=0,fu=0,uo=null,cr=null,Vd=0,du=1/0,Ma=null,Gc=!1,so=null,ra=null,El=!1,Rl=null,Qc=0,pu=0,Xc=null,co=-1,fo=0;function ir(){return lt&6?Zt():co!==-1?co:co=Zt()}function Cn(n){return n.mode&1?lt&2&&Un!==0?Un&-Un:mc.transition!==null?(fo===0&&(fo=No()),fo):(n=Et,n!==0||(n=window.event,n=n===void 0?16:Pu(n.type)),n):1}function ar(n,r,l,u){if(50<pu)throw pu=0,Xc=null,Error(p(185));ha(n,l,u),(!(lt&2)||n!==ln)&&(n===ln&&(!(lt&2)&&(Yc|=l),_n===4&&yi(n,Un)),lr(n,u),l===1&<===0&&!(r.mode&1)&&(du=Zt()+500,An&&Lr()))}function lr(n,r){var l=n.callbackNode;Za(n,r);var u=ur(n,n===ln?Un:0);if(u===0)l!==null&&Xs(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&Xs(l),r===1)n.tag===0?fd(Qh.bind(null,n)):cd(Qh.bind(null,n)),od(function(){!(lt&6)&&Lr()}),l=null;else{switch(Uo(u)){case 1:l=Li;break;case 4:l=tt;break;case 16:l=Qi;break;case 536870912:l=Lo;break;default:l=Qi}l=Wd(l,hu.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function hu(n,r){if(co=-1,fo=0,lt&6)throw Error(p(327));var l=n.callbackNode;if(mu()&&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=qc(n,u);else{r=u;var f=lt;lt|=2;var h=Kc();(ln!==n||Un!==r)&&(Ma=null,du=Zt()+500,po(n,r));do try{ly();break}catch(b){Xh(n,b)}while(1);yd(),Ss.current=h,lt=f,fn!==null?r=0:(ln=null,Un=0,r=_n)}if(r!==0){if(r===2&&(f=Ja(n),f!==0&&(u=f,r=jd(n,f))),r===1)throw l=Cs,po(n,0),yi(n,u),lr(n,Zt()),l;if(r===6)yi(n,u);else{if(f=n.current.alternate,!(u&30)&&!Bd(f)&&(r=qc(n,u),r===2&&(h=Ja(n),h!==0&&(u=h,r=jd(n,h))),r===1))throw l=Cs,po(n,0),yi(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,Ma);break;case 3:if(yi(n,u),(u&130023424)===u&&(r=Vd+500-Zt(),10<r)){if(ur(n,0)!==0)break;if(f=n.suspendedLanes,(f&u)!==u){ir(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=Gl(ho.bind(null,n,cr,Ma),r);break}ho(n,cr,Ma);break;case 4:if(yi(n,u),(u&4194240)===u)break;for(r=n.eventTimes,f=-1;0<u;){var g=31-or(u);h=1<<g,g=r[g],g>f&&(f=g),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*Wc(u/1960))-u,10<u){n.timeoutHandle=Gl(ho.bind(null,n,cr,Ma),u);break}ho(n,cr,Ma);break;case 5:ho(n,cr,Ma);break;default:throw Error(p(329))}}}return lr(n,Zt()),n.callbackNode===l?hu.bind(null,n):null}function jd(n,r){var l=uo;return n.current.memoizedState.isDehydrated&&(po(n,r).flags|=256),n=qc(n,r),n!==2&&(r=cr,cr=l,r!==null&&Es(r)),n}function Es(n){cr===null?cr=n:cr.push.apply(cr,n)}function Bd(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(!oi(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 yi(n,r){for(r&=~fu,r&=~Yc,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 Qh(n){if(lt&6)throw Error(p(327));mu();var r=ur(n,0);if(!(r&1))return lr(n,Zt()),null;var l=qc(n,r);if(n.tag!==0&&l===2){var u=Ja(n);u!==0&&(r=u,l=jd(n,u))}if(l===1)throw l=Cs,po(n,0),yi(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,Ma),lr(n,Zt()),null}function vu(n,r){var l=lt;lt|=1;try{return n(r)}finally{lt=l,lt===0&&(du=Zt()+500,An&&Lr())}}function wl(n){Rl!==null&&Rl.tag===0&&!(lt&6)&&mu();var r=lt;lt|=1;var l=rr.transition,u=Et;try{if(rr.transition=null,Et=1,n)return n()}finally{Et=u,rr.transition=l,lt=r,!(lt&6)&&Lr()}}function Pd(){qr=cu.current,xt(cu)}function po(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Rh(l)),fn!==null)for(l=fn.return;l!==null;){var u=l;switch(pd(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&ci();break;case 3:yl(),xt(cn),xt(We),Rc();break;case 5:rt(u);break;case 4:yl();break;case 13:xt(je);break;case 19:xt(je);break;case 10:pl(u.type._context);break;case 22:case 23:Pd()}l=l.return}if(ln=n,fn=n=bl(n.current,null),Un=qr=r,_n=0,Cs=null,fu=Yc=ka=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 g=h.next;h.next=f,u.next=g}l.pending=u}Pn=null}return n}function Xh(n,r){do{var l=fn;try{if(yd(),wc.current=Vc,Be){for(var u=Qt.memoizedState;u!==null;){var f=u.queue;f!==null&&(f.pending=null),u=u.next}Be=!1}if(Zl=0,dt=W=Qt=null,ea=!1,Kr=0,Hd.current=null,l===null||l.return===null){_n=1,Cs=r,fn=null;break}e:{var h=n,g=l.return,b=l,_=r;if(r=Un,b.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var V=_,Z=b,ee=Z.tag;if(!(Z.mode&1)&&(ee===0||ee===11||ee===15)){var q=Z.alternate;q?(Z.updateQueue=q.updateQueue,Z.memoizedState=q.memoizedState,Z.lanes=q.lanes):(Z.updateQueue=null,Z.memoizedState=null)}var pe=Td(g);if(pe!==null){pe.flags&=-257,Dd(pe,g,b,h,r),pe.mode&1&&Fh(h,V,r),r=pe,_=V;var Ee=r.updateQueue;if(Ee===null){var be=new Set;be.add(_),r.updateQueue=be}else Ee.add(_);break e}else{if(!(r&1)){Fh(h,V,r),$d();break e}_=Error(p(426))}}else if(Gt&&b.mode&1){var mn=Td(g);if(mn!==null){!(mn.flags&65536)&&(mn.flags|=256),Dd(mn,g,b,h,r),vd(ru(_,b));break e}}h=_=ru(_,b),_n!==4&&(_n=2),uo===null?uo=[h]:uo.push(h),h=g;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var L=Uh(h,_,r);Cd(h,L);break e;case 1:b=_;var M=h.type,z=h.stateNode;if(!(h.flags&128)&&(typeof M.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(ra===null||!ra.has(z)))){h.flags|=65536,r&=-r,h.lanes|=r;var re=ds(h,b,r);Cd(h,re);break e}}h=h.return}while(h!==null)}Id(l)}catch(De){r=De,fn===l&&l!==null&&(fn=l=l.return);continue}break}while(1)}function Kc(){var n=Ss.current;return Ss.current=Vc,n===null?Vc:n}function $d(){(_n===0||_n===3||_n===2)&&(_n=4),ln===null||!(ka&268435455)&&!(Yc&268435455)||yi(ln,Un)}function qc(n,r){var l=lt;lt|=2;var u=Kc();(ln!==n||Un!==r)&&(Ma=null,po(n,r));do try{ay();break}catch(f){Xh(n,f)}while(1);if(yd(),lt=l,Ss.current=u,fn!==null)throw Error(p(261));return ln=null,Un=0,_n}function ay(){for(;fn!==null;)Kh(fn)}function ly(){for(;fn!==null&&!Ff();)Kh(fn)}function Kh(n){var r=Zh(n.alternate,n,qr);n.memoizedProps=n.pendingProps,r===null?Id(n):fn=r,Hd.current=null}function Id(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=Nd(l,r),l!==null){l.flags&=32767,fn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{_n=6,fn=null;return}}else if(l=iy(l,r,qr),l!==null){fn=l;return}if(r=r.sibling,r!==null){fn=r;return}fn=r=n}while(r!==null);_n===0&&(_n=5)}function ho(n,r,l){var u=Et,f=rr.transition;try{rr.transition=null,Et=1,oy(n,r,l,u)}finally{rr.transition=f,Et=u}return null}function oy(n,r,l,u){do mu();while(Rl!==null);if(lt&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(jf(n,h),n===ln&&(fn=ln=null,Un=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||El||(El=!0,Wd(Qi,function(){return mu(),null})),h=(l.flags&15990)!==0,l.subtreeFlags&15990||h){h=rr.transition,rr.transition=null;var g=Et;Et=1;var b=lt;lt|=4,Hd.current=null,Ph(n,l),Ih(l,n),ac(Yl),li=!!ad,Yl=ad=null,n.current=l,Wh(l),Hf(),lt=b,Et=g,rr.transition=h}else n.current=l;if(El&&(El=!1,Rl=n,Qc=f),h=n.pendingLanes,h===0&&(ra=null),Vu(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(Gc)throw Gc=!1,n=so,so=null,n;return Qc&1&&n.tag!==0&&mu(),h=n.pendingLanes,h&1?n===Xc?pu++:(pu=0,Xc=n):pu=0,Lr(),null}function mu(){if(Rl!==null){var n=Uo(Qc),r=rr.transition,l=Et;try{if(rr.transition=null,Et=16>n?16:n,Rl===null)var u=!1;else{if(n=Rl,Rl=null,Qc=0,lt&6)throw Error(p(331));var f=lt;for(lt|=4,Se=n.current;Se!==null;){var h=Se,g=h.child;if(Se.flags&16){var b=h.deletions;if(b!==null){for(var _=0;_<b.length;_++){var V=b[_];for(Se=V;Se!==null;){var Z=Se;switch(Z.tag){case 0:case 11:case 15:ys(8,Z,h)}var ee=Z.child;if(ee!==null)ee.return=Z,Se=ee;else for(;Se!==null;){Z=Se;var q=Z.sibling,pe=Z.return;if(Ud(Z),Z===V){Se=null;break}if(q!==null){q.return=pe,Se=q;break}Se=pe}}}var Ee=h.alternate;if(Ee!==null){var be=Ee.child;if(be!==null){Ee.child=null;do{var mn=be.sibling;be.sibling=null,be=mn}while(be!==null)}}Se=h}}if(h.subtreeFlags&2064&&g!==null)g.return=h,Se=g;else e:for(;Se!==null;){if(h=Se,h.flags&2048)switch(h.tag){case 0:case 11:case 15:ys(9,h,h.return)}var L=h.sibling;if(L!==null){L.return=h.return,Se=L;break e}Se=h.return}}var M=n.current;for(Se=M;Se!==null;){g=Se;var z=g.child;if(g.subtreeFlags&2064&&z!==null)z.return=g,Se=z;else e:for(g=M;Se!==null;){if(b=Se,b.flags&2048)try{switch(b.tag){case 0:case 11:case 15:gs(9,b)}}catch(De){dn(b,b.return,De)}if(b===g){Se=null;break e}var re=b.sibling;if(re!==null){re.return=b.return,Se=re;break e}Se=b.return}}if(lt=f,Lr(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(Xa,n)}catch{}u=!0}return u}finally{Et=l,rr.transition=r}}return!1}function qh(n,r,l){r=ru(l,r),r=Uh(n,r,1),n=vl(n,r,1),r=ir(),n!==null&&(ha(n,1,r),lr(n,r))}function dn(n,r,l){if(n.tag===3)qh(n,n,l);else for(;r!==null;){if(r.tag===3){qh(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ra===null||!ra.has(u))){n=ru(l,n),n=ds(r,n,1),r=vl(r,n,1),n=ir(),r!==null&&(ha(r,1,n),lr(r,n));break}}r=r.return}}function uy(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=ir(),n.pingedLanes|=n.suspendedLanes&l,ln===n&&(Un&l)===l&&(_n===4||_n===3&&(Un&130023424)===Un&&500>Zt()-Vd?po(n,0):fu|=l),lr(n,r)}function Zc(n,r){r===0&&(n.mode&1?(r=Ka,Ka<<=1,!(Ka&130023424)&&(Ka=4194304)):r=1);var l=ir();n=ba(n,r),n!==null&&(ha(n,r,l),lr(n,l))}function sy(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Zc(n,l)}function cy(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),Zc(n,l)}var Zh;Zh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||cn.current)Sn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Sn=!1,Da(n,r,l);Sn=!!(n.flags&131072)}else Sn=!1,Gt&&r.flags&1048576&&dd(r,Ko,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;tr(n,r),n=r.pendingProps;var f=si(r,We.current);oe(r,l),f=gl(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,fc(r)):h=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Sd(r),f.updater=Sc,r.stateNode=f,f._reactInternals=r,Cc(r,u,n,l),r=Hh(null,r,u,!0,h,l)):(r.tag=0,Gt&&h&&dc(r),xn(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=dy(u),n=Xr(u,n),f){case 0:r=iu(null,r,u,n,l);break e;case 1:r=_d(null,r,u,n,l);break e;case 11:r=Cl(null,r,u,n,l);break e;case 14:r=Bc(null,r,u,Xr(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:Xr(u,f),iu(n,r,u,f,l);case 1:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),_d(n,r,u,f,l);case 3:e:{if(Vh(r),n===null)throw Error(p(387));u=r.pendingProps,h=r.memoizedState,f=h.element,bn(n,r),ml(r,u,null,l);var g=r.memoizedState;if(u=g.element,h.isDehydrated)if(h={element:u,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){f=ru(Error(p(423)),r),r=Pc(n,r,u,l,f);break e}else if(u!==f){f=ru(Error(p(424)),r),r=Pc(n,r,u,l,f);break e}else for(zr=Hi(r.stateNode.containerInfo.firstChild),Qr=r,Gt=!0,di=null,l=Nh(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}xn(n,r,u,l)}r=r.child}return r;case 5:return He(r),n===null&&hc(r),u=r.type,f=r.pendingProps,h=n!==null?n.memoizedProps:null,g=f.children,es(u,f)?g=null:h!==null&&es(u,h)&&(r.flags|=32),Ze(n,r),xn(n,r,g,l),r.child;case 6:return n===null&&hc(r),null;case 13:return Md(n,r,l);case 4:return Rd(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=Zo(r,null,u,l):xn(n,r,u,l),r.child;case 11:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),Cl(n,r,u,f,l);case 7:return xn(n,r,r.pendingProps,l),r.child;case 8:return xn(n,r,r.pendingProps.children,l),r.child;case 12:return xn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(u=r.type._context,f=r.pendingProps,h=r.memoizedProps,g=f.value,_t(Ji,u._currentValue),u._currentValue=g,h!==null)if(oi(h.value,g)){if(h.children===f.children&&!cn.current){r=$n(n,r,l);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var b=h.dependencies;if(b!==null){g=h.child;for(var _=b.firstContext;_!==null;){if(_.context===u){if(h.tag===1){_=xa(-1,l&-l),_.tag=2;var V=h.updateQueue;if(V!==null){V=V.shared;var Z=V.pending;Z===null?_.next=_:(_.next=Z.next,Z.next=_),V.pending=_}}h.lanes|=l,_=h.alternate,_!==null&&(_.lanes|=l),Nn(h.return,l,r),b.lanes|=l;break}_=_.next}}else if(h.tag===10)g=h.type===r.type?null:h.child;else if(h.tag===18){if(g=h.return,g===null)throw Error(p(341));g.lanes|=l,b=g.alternate,b!==null&&(b.lanes|=l),Nn(g,l,r),g=h.sibling}else g=h.child;if(g!==null)g.return=h;else for(g=h;g!==null;){if(g===r){g=null;break}if(h=g.sibling,h!==null){h.return=g.return,g=h;break}g=g.return}h=g}xn(n,r,f.children,l),r=r.child}return r;case 9:return f=r.type,u=r.pendingProps.children,oe(r,l),f=vn(f),u=u(f),r.flags|=1,xn(n,r,u,l),r.child;case 14:return u=r.type,f=Xr(u,r.pendingProps),f=Xr(u.type,f),Bc(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:Xr(u,f),tr(n,r),r.tag=1,Jt(u)?(n=!0,fc(r)):n=!1,oe(r,l),Mh(r,u,f),Cc(r,u,f,l),Hh(null,r,u,!0,n,l);case 19:return Ad(n,r,l);case 22:return ao(n,r,l)}throw Error(p(156,r.tag))};function Wd(n,r){return Hu(n,r)}function fy(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 gi(n,r,l,u){return new fy(n,r,l,u)}function Yd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function dy(n){if(typeof n=="function")return Yd(n)?1:0;if(n!=null){if(n=n.$$typeof,n===Rn)return 11;if(n===qt)return 14}return 2}function bl(n,r){var l=n.alternate;return l===null?(l=gi(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 Jc(n,r,l,u,f,h){var g=2;if(u=n,typeof n=="function")Yd(n)&&(g=1);else if(typeof n=="string")g=5;else e:switch(n){case ke:return vo(l.children,f,h,r);case Lt:g=8,f|=8;break;case jt:return n=gi(12,l,r,f|2),n.elementType=jt,n.lanes=h,n;case Je:return n=gi(13,l,r,f),n.elementType=Je,n.lanes=h,n;case ft:return n=gi(19,l,r,f),n.elementType=ft,n.lanes=h,n;case Te:return Rs(l,f,h,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Bt:g=10;break e;case Tt:g=9;break e;case Rn:g=11;break e;case qt:g=14;break e;case bt:g=16,u=null;break e}throw Error(p(130,n==null?n:typeof n,""))}return r=gi(g,l,r,f),r.elementType=n,r.type=u,r.lanes=h,r}function vo(n,r,l,u){return n=gi(7,n,u,r),n.lanes=l,n}function Rs(n,r,l,u){return n=gi(22,n,u,r),n.elementType=Te,n.lanes=l,n.stateNode={isHidden:!1},n}function ws(n,r,l){return n=gi(6,n,null,r),n.lanes=l,n}function mo(n,r,l){return r=gi(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function py(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=zo(0),this.expirationTimes=zo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zo(0),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function ef(n,r,l,u,f,h,g,b,_){return n=new py(n,r,l,b,_),r===1?(r=1,h===!0&&(r|=8)):r=0,h=gi(3,null,null,r),n.current=h,h.stateNode=n,h.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sd(h),n}function Jh(n,r,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Pe,key:u==null?null:""+u,children:n,containerInfo:r,implementation:l}}function Gd(n){if(!n)return Zi;n=n._reactInternals;e:{if(ii(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 rs(n,l,r)}return r}function ev(n,r,l,u,f,h,g,b,_){return n=ef(l,u,!0,n,f,h,g,b,_),n.context=Gd(null),l=n.current,u=ir(),f=Cn(l),h=xa(u,f),h.callback=r??null,vl(l,h,f),n.current.lanes=f,ha(n,f,u),lr(n,u),n}function bs(n,r,l,u){var f=r.current,h=ir(),g=Cn(f);return l=Gd(l),r.context===null?r.context=l:r.pendingContext=l,r=xa(h,g),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=vl(f,r,g),n!==null&&(ar(n,f,g,h),gc(n,f,g)),g}function tf(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 tv(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function Qd(n,r){tv(n,r),(n=n.alternate)&&tv(n,r)}function nv(){return null}var Xd=typeof reportError=="function"?reportError:function(n){console.error(n)};function nf(n){this._internalRoot=n}Oa.prototype.render=nf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(p(409));bs(n,r,null,null)},Oa.prototype.unmount=nf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;wl(function(){bs(null,n,null,null)}),r[Ra]=null}};function Oa(n){this._internalRoot=n}Oa.prototype.unstable_scheduleHydration=function(n){if(n){var r=Ho();n={blockedOn:null,target:n,priority:r};for(var l=0;l<Dt.length&&r!==0&&r<Dt[l].priority;l++);Dt.splice(l,0,n),l===0&&Zs(n)}};function Kd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function rf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function rv(){}function hy(n,r,l,u,f){if(f){if(typeof u=="function"){var h=u;u=function(){var V=tf(g);h.call(V)}}var g=ev(r,u,n,0,null,!1,!1,"",rv);return n._reactRootContainer=g,n[Ra]=g.current,Qo(n.nodeType===8?n.parentNode:n),wl(),g}for(;f=n.lastChild;)n.removeChild(f);if(typeof u=="function"){var b=u;u=function(){var V=tf(_);b.call(V)}}var _=ef(n,0,!1,null,null,!1,!1,"",rv);return n._reactRootContainer=_,n[Ra]=_.current,Qo(n.nodeType===8?n.parentNode:n),wl(function(){bs(r,_,l,u)}),_}function af(n,r,l,u,f){var h=l._reactRootContainer;if(h){var g=h;if(typeof f=="function"){var b=f;f=function(){var _=tf(g);b.call(_)}}bs(r,g,n,f)}else g=hy(l,r,n,f,u);return tf(g)}Vl=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=Ai(r.pendingLanes);l!==0&&(Xi(r,l|1),lr(r,Zt()),!(lt&6)&&(du=Zt()+500,Lr()))}break;case 13:wl(function(){var u=ba(n,1);if(u!==null){var f=ir();ar(u,n,1,f)}}),Qd(n,1)}},Fo=function(n){if(n.tag===13){var r=ba(n,134217728);if(r!==null){var l=ir();ar(r,n,134217728,l)}Qd(n,134217728)}},mt=function(n){if(n.tag===13){var r=Cn(n),l=ba(n,r);if(l!==null){var u=ir();ar(l,n,r,u)}Qd(n,r)}},Ho=function(){return Et},Vo=function(n,r){var l=Et;try{return Et=n,r()}finally{Et=l}},ri=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=ze(u);if(!f)throw Error(p(90));Ti(u),Mn(u,f)}}}break;case"textarea":_i(n,l);break;case"select":r=l.value,r!=null&&wr(n,!!l.multiple,r,!1)}},Ws=vu,Ys=wl;var vy={usingClientEntryPoint:!1,Events:[ns,Xo,ze,pa,ko,vu]},yu={findFiberByHostInstance:ui,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},my={bundleType:yu.bundleType,version:yu.version,rendererPackageName:yu.rendererPackageName,rendererConfig:yu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Oe.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Gs(n),n===null?null:n.stateNode},findFiberByHostInstance:yu.findFiberByHostInstance||nv,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 lf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lf.isDisabled&&lf.supportsFiber)try{Xa=lf.inject(my),Dr=lf}catch{}}return bi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vy,bi.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kd(r))throw Error(p(200));return Jh(n,r,null,l)},bi.createRoot=function(n,r){if(!Kd(n))throw Error(p(299));var l=!1,u="",f=Xd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=ef(n,1,!1,null,null,l,!1,u,f),n[Ra]=r.current,Qo(n.nodeType===8?n.parentNode:n),new nf(r)},bi.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=Gs(r),n=n===null?null:n.stateNode,n},bi.flushSync=function(n){return wl(n)},bi.hydrate=function(n,r,l){if(!rf(r))throw Error(p(200));return af(null,n,r,!0,l)},bi.hydrateRoot=function(n,r,l){if(!Kd(n))throw Error(p(405));var u=l!=null&&l.hydratedSources||null,f=!1,h="",g=Xd;if(l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(g=l.onRecoverableError)),r=ev(r,null,n,1,l??null,f,!1,h,g),n[Ra]=r.current,Qo(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 Oa(r)},bi.render=function(n,r,l){if(!rf(r))throw Error(p(200));return af(null,n,r,!1,l)},bi.unmountComponentAtNode=function(n){if(!rf(n))throw Error(p(40));return n._reactRootContainer?(wl(function(){af(null,null,n,!1,function(){n._reactRootContainer=null,n[Ra]=null})}),!0):!1},bi.unstable_batchedUpdates=vu,bi.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!rf(l))throw Error(p(200));if(n==null||n._reactInternals===void 0)throw Error(p(38));return af(n,r,l,!1,u)},bi.version="18.2.0-next-9e3b772b8-20220608",bi}var xi={};/**
|
|
89
|
+
`+h.stack}return{value:n,source:r,stack:f,digest:null}}function ds(n,r,l){return{value:n,source:null,stack:l??null,digest:r??null}}function Bc(n,r){try{console.error(r.value)}catch(l){setTimeout(function(){throw l})}}var ty=typeof WeakMap=="function"?WeakMap:Map;function Uh(n,r,l){l=xa(-1,l),l.tag=3,l.payload={element:null};var u=r.value;return l.callback=function(){Gc||(Gc=!0,so=u),Bc(n,r)},l}function ps(n,r,l){l=xa(-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(){Bc(n,r)}}var h=n.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(l.callback=function(){Bc(n,r),typeof u!="function"&&(ra===null?ra=new Set([this]):ra.add(this));var S=r.stack;this.componentDidCatch(r.value,{componentStack:S!==null?S:""})}),l}function Fh(n,r,l){var u=n.pingCache;if(u===null){u=n.pingCache=new ty;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=uy.bind(null,n,r,l),r.then(n,n))}function Td(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 Dd(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=xa(-1,1),r.tag=2,vl(l,r,1))),l.lanes|=1),n)}var ny=$e.ReactCurrentOwner,Cn=!1;function xn(n,r,l,u){r.child=n===null?Nh(r,null,l,u):Jo(r,n.child,l,u)}function Cl(n,r,l,u,f){l=l.render;var h=r.ref;return ue(r,f),u=gl(n,r,l,u,h,f),l=to(),n!==null&&!Cn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,In(n,r,f)):(Gt&&l&&dc(r),r.flags|=1,xn(n,r,u,f),r.child)}function Pc(n,r,l,u,f){if(n===null){var h=l.type;return typeof h=="function"&&!Yd(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=Jc(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 S=h.memoizedProps;if(l=l.compare,l=l!==null?l:Qu,l(S,u)&&n.ref===r.ref)return In(n,r,f)}return r.flags|=1,n=bl(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(Qu(h,u)&&n.ref===r.ref)if(Cn=!1,r.pendingProps=u=h,(n.lanes&f)!==0)n.flags&131072&&(Cn=!0);else return r.lanes=n.lanes,In(n,r,f)}return au(n,r,l,u,f)}function ao(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(fu,qr),qr|=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(fu,qr),qr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=h!==null?h.baseLanes:l,Ot(fu,qr),qr|=u}else h!==null?(u=h.baseLanes|l,r.memoizedState=null):u=l,Ot(fu,qr),qr|=u;return xn(n,r,f,l),r.child}function et(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function au(n,r,l,u,f){var h=Jt(l)?Or:Ge.current;return h=si(r,h),ue(r,f),l=gl(n,r,l,u,h,f),u=to(),n!==null&&!Cn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~f,In(n,r,f)):(Gt&&u&&dc(r),r.flags|=1,xn(n,r,l,f),r.child)}function _d(n,r,l,u,f){if(Jt(l)){var h=!0;fc(r)}else h=!1;if(ue(r,f),r.stateNode===null)tr(n,r),Mh(r,l,u),Cc(r,l,u,f),u=!0;else if(n===null){var S=r.stateNode,b=r.memoizedProps;S.props=b;var _=S.context,B=l.contextType;typeof B=="object"&&B!==null?B=mn(B):(B=Jt(l)?Or:Ge.current,B=si(r,B));var q=l.getDerivedStateFromProps,J=typeof q=="function"||typeof S.getSnapshotBeforeUpdate=="function";J||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(b!==u||_!==B)&&Oh(r,S,u,B),hl=!1;var K=r.memoizedState;S.state=K,ml(r,u,S,f),_=r.memoizedState,b!==u||K!==_||fn.current||hl?(typeof q=="function"&&(Ed(r,l,q,u),_=r.memoizedState),(b=hl||kh(r,l,b,u,K,_,B))?(J||typeof S.UNSAFE_componentWillMount!="function"&&typeof S.componentWillMount!="function"||(typeof S.componentWillMount=="function"&&S.componentWillMount(),typeof S.UNSAFE_componentWillMount=="function"&&S.UNSAFE_componentWillMount()),typeof S.componentDidMount=="function"&&(r.flags|=4194308)):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=u,r.memoizedState=_),S.props=u,S.state=_,S.context=B,u=b):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{S=r.stateNode,bn(n,r),b=r.memoizedProps,B=r.type===r.elementType?b:Xr(r.type,b),S.props=B,J=r.pendingProps,K=S.context,_=l.contextType,typeof _=="object"&&_!==null?_=mn(_):(_=Jt(l)?Or:Ge.current,_=si(r,_));var ve=l.getDerivedStateFromProps;(q=typeof ve=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(b!==J||K!==_)&&Oh(r,S,u,_),hl=!1,K=r.memoizedState,S.state=K,ml(r,u,S,f);var Ee=r.memoizedState;b!==J||K!==Ee||fn.current||hl?(typeof ve=="function"&&(Ed(r,l,ve,u),Ee=r.memoizedState),(B=hl||kh(r,l,B,u,K,Ee,_)||!1)?(q||typeof S.UNSAFE_componentWillUpdate!="function"&&typeof S.componentWillUpdate!="function"||(typeof S.componentWillUpdate=="function"&&S.componentWillUpdate(u,Ee,_),typeof S.UNSAFE_componentWillUpdate=="function"&&S.UNSAFE_componentWillUpdate(u,Ee,_)),typeof S.componentDidUpdate=="function"&&(r.flags|=4),typeof S.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof S.componentDidUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=1024),r.memoizedProps=u,r.memoizedState=Ee),S.props=u,S.state=Ee,S.context=_,u=B):(typeof S.componentDidUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&K===n.memoizedState||(r.flags|=1024),u=!1)}return Hh(n,r,l,u,h,f)}function Hh(n,r,l,u,f,h){et(n,r);var S=(r.flags&128)!==0;if(!u&&!S)return f&&wh(r,l,!1),In(n,r,h);u=r.stateNode,ny.current=r;var b=S&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&S?(r.child=Jo(r,n.child,null,h),r.child=Jo(r,null,b,h)):xn(n,r,b,h),r.memoizedState=u.state,f&&wh(r,l,!0),r.child}function Vh(n){var r=n.stateNode;r.pendingContext?cl(n,r.pendingContext,r.pendingContext!==r.context):r.context&&cl(n,r.context,!1),Rd(n,r.containerInfo)}function jc(n,r,l,u,f){return rn(),vd(f),r.flags|=256,xn(n,r,l,u),r.child}var lo={dehydrated:null,treeContext:null,retryLane:0};function kd(n){return{baseLanes:n,cachePool:null,transitions:null}}function Md(n,r,l){var u=r.pendingProps,f=je.current,h=!1,S=(r.flags&128)!==0,b;if((b=S)||(b=n!==null&&n.memoizedState===null?!1:(f&2)!==0),b?(h=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(f|=1),Ot(je,f&1),n===null)return hc(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):(S=u.children,n=u.fallback,h?(u=r.mode,h=r.child,S={mode:"hidden",children:S},!(u&1)&&h!==null?(h.childLanes=0,h.pendingProps=S):h=ws(S,u,0,null),n=vo(n,u,l,null),h.return=r,n.return=r,h.sibling=n,r.child=h,r.child.memoizedState=kd(l),r.memoizedState=lo,n):Od(r,S));if(f=n.memoizedState,f!==null&&(b=f.dehydrated,b!==null))return ry(n,r,S,u,b,f,l);if(h){h=u.fallback,S=r.mode,f=n.child,b=f.sibling;var _={mode:"hidden",children:u.children};return!(S&1)&&r.child!==f?(u=r.child,u.childLanes=0,u.pendingProps=_,r.deletions=null):(u=bl(f,_),u.subtreeFlags=f.subtreeFlags&14680064),b!==null?h=bl(b,h):(h=vo(h,S,l,null),h.flags|=2),h.return=r,u.return=r,u.sibling=h,r.child=u,u=h,h=r.child,S=n.child.memoizedState,S=S===null?kd(l):{baseLanes:S.baseLanes|l,cachePool:null,transitions:S.transitions},h.memoizedState=S,h.childLanes=n.childLanes&~l,r.memoizedState=lo,u}return h=n.child,n=h.sibling,u=bl(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 Od(n,r){return r=ws({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function lu(n,r,l,u){return u!==null&&vd(u),Jo(r,n.child,null,l),n=Od(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function ry(n,r,l,u,f,h,S){if(l)return r.flags&256?(r.flags&=-257,u=ds(Error(p(422))),lu(n,r,S,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(h=u.fallback,f=r.mode,u=ws({mode:"visible",children:u.children},f,0,null),h=vo(h,f,S,null),h.flags|=2,u.return=r,h.return=r,u.sibling=h,r.child=u,r.mode&1&&Jo(r,n.child,null,S),r.child.memoizedState=kd(S),r.memoizedState=lo,h);if(!(r.mode&1))return lu(n,r,S,null);if(f.data==="$!"){if(u=f.nextSibling&&f.nextSibling.dataset,u)var b=u.dgst;return u=b,h=Error(p(419)),u=ds(h,u,void 0),lu(n,r,S,u)}if(b=(S&n.childLanes)!==0,Cn||b){if(u=ln,u!==null){switch(S&-S){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|S)?0:f,f!==0&&f!==h.retryLane&&(h.retryLane=f,ba(n,f),ar(u,n,f,-1))}return Id(),u=ds(Error(p(421))),lu(n,r,S,u)}return f.data==="$?"?(r.flags|=128,r.child=n.child,r=sy.bind(null,n),f._reactRetry=r,null):(n=h.treeContext,zr=Hi(f.nextSibling),Qr=r,Gt=!0,di=null,n!==null&&(Nr[er++]=Pn,Nr[er++]=wa,Nr[er++]=fi,Pn=n.id,wa=n.overflow,fi=r),r=Od(r,u.children),r.flags|=4096,r)}function Ad(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 Ld(n,r,l){var u=r.pendingProps,f=u.revealOrder,h=u.tail;if(xn(n,r,u.children,l),u=je.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&&Ad(n,l,r);else if(n.tag===19)Ad(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(je,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 In(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),ka|=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=bl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=bl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Da(n,r,l){switch(r.tag){case 3:Vh(r),rn();break;case 5:Ve(r);break;case 1:Jt(r.type)&&fc(r);break;case 4:Rd(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,f=r.memoizedProps.value;Ot(Ji,u._currentValue),u._currentValue=f;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(Ot(je,je.current&1),r.flags|=128,null):l&r.child.childLanes?Md(n,r,l):(Ot(je,je.current&1),n=In(n,r,l),n!==null?n.sibling:null);Ot(je,je.current&1);break;case 19:if(u=(l&r.childLanes)!==0,n.flags&128){if(u)return Ld(n,r,l);r.flags|=128}if(f=r.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Ot(je,je.current),u)break;return null;case 22:case 23:return r.lanes=0,ao(n,r,l)}return In(n,r,l)}var hs,oo,vi,Tn;hs=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(){},vi=function(n,r,l,u){var f=n.memoizedProps;if(f!==u){n=r.stateNode,ql(Vi.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=Wi(n,f),u=Wi(n,u),h=[];break;default:typeof f.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=cc)}wn(l,u);var S;l=null;for(B in f)if(!u.hasOwnProperty(B)&&f.hasOwnProperty(B)&&f[B]!=null)if(B==="style"){var b=f[B];for(S in b)b.hasOwnProperty(S)&&(l||(l={}),l[S]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(E.hasOwnProperty(B)?h||(h=[]):(h=h||[]).push(B,null));for(B in u){var _=u[B];if(b=f!=null?f[B]:void 0,u.hasOwnProperty(B)&&_!==b&&(_!=null||b!=null))if(B==="style")if(b){for(S in b)!b.hasOwnProperty(S)||_&&_.hasOwnProperty(S)||(l||(l={}),l[S]="");for(S in _)_.hasOwnProperty(S)&&b[S]!==_[S]&&(l||(l={}),l[S]=_[S])}else l||(h||(h=[]),h.push(B,l)),l=_;else B==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,b=b?b.__html:void 0,_!=null&&b!==_&&(h=h||[]).push(B,_)):B==="children"?typeof _!="string"&&typeof _!="number"||(h=h||[]).push(B,""+_):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(E.hasOwnProperty(B)?(_!=null&&B==="onScroll"&&Bt("scroll",n),h||b===_||(h=[])):(h=h||[]).push(B,_))}l&&(h=h||[]).push("style",l);var B=h;(r.updateQueue=B)&&(r.flags|=4)}},Tn=function(n,r,l,u){l!==u&&(r.flags|=4)};function vs(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 iy(n,r,l){var u=r.pendingProps;switch(pd(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)&&ci(),nr(r),null;case 3:return u=r.stateNode,yl(),_t(fn),_t(Ge),Rc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(vc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,di!==null&&(Rs(di),di=null))),oo(n,r),nr(r),null;case 5:at(r);var f=ql(eu.current);if(l=r.type,n!==null&&r.stateNode!=null)vi(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(Vi.current),vc(r)){u=r.stateNode,l=r.type;var h=r.memoizedProps;switch(u[qi]=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<Zu.length;f++)Bt(Zu[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":Er(u,h),Bt("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!h.multiple},Bt("invalid",u);break;case"textarea":br(u,h),Bt("invalid",u)}wn(l,h),f=null;for(var S in h)if(h.hasOwnProperty(S)){var b=h[S];S==="children"?typeof b=="string"?u.textContent!==b&&(h.suppressHydrationWarning!==!0&&sc(u.textContent,b,n),f=["children",b]):typeof b=="number"&&u.textContent!==""+b&&(h.suppressHydrationWarning!==!0&&sc(u.textContent,b,n),f=["children",""+b]):E.hasOwnProperty(S)&&b!=null&&S==="onScroll"&&Bt("scroll",u)}switch(l){case"input":Cr(u),Di(u,h,!0);break;case"textarea":Cr(u),xr(u);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(u.onclick=cc)}u=f,r.updateQueue=u,u!==null&&(r.flags|=4)}else{S=f.nodeType===9?f:f.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=ki(l)),n==="http://www.w3.org/1999/xhtml"?l==="script"?(n=S.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof u.is=="string"?n=S.createElement(l,{is:u.is}):(n=S.createElement(l),l==="select"&&(S=n,u.multiple?S.multiple=!0:u.size&&(S.size=u.size))):n=S.createElementNS(n,l),n[qi]=r,n[Ql]=u,hs(n,r,!1,!1),r.stateNode=n;e:{switch(S=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<Zu.length;f++)Bt(Zu[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":Er(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":br(n,u),f=Wi(n,u),Bt("invalid",n);break;default:f=u}wn(l,f),b=f;for(h in b)if(b.hasOwnProperty(h)){var _=b[h];h==="style"?Lt(n,_):h==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&Ul(n,_)):h==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&Yi(n,_):typeof _=="number"&&Yi(n,""+_):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(E.hasOwnProperty(h)?_!=null&&h==="onScroll"&&Bt("scroll",n):_!=null&&_e(n,h,_,S))}switch(l){case"input":Cr(n),Di(n,u,!1);break;case"textarea":Cr(n),xr(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=cc)}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(eu.current),ql(Vi.current),vc(r)){if(u=r.stateNode,l=r.memoizedProps,u[qi]=r,(h=u.nodeValue!==l)&&(n=Qr,n!==null))switch(n.tag){case 3:sc(u.nodeValue,l,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&sc(u.nodeValue,l,(n.mode&1)!==0)}h&&(r.flags|=4)}else u=(l.nodeType===9?l:l.ownerDocument).createTextNode(u),u[qi]=r,r.stateNode=u}return nr(r),null;case 13:if(_t(je),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Gt&&zr!==null&&r.mode&1&&!(r.flags&128))Th(),rn(),r.flags|=98560,h=!1;else if(h=vc(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[qi]=r}else rn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;nr(r),h=!1}else di!==null&&(Rs(di),di=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||je.current&1?_n===0&&(_n=3):Id())),r.updateQueue!==null&&(r.flags|=4),nr(r),null);case 4:return yl(),oo(n,r),n===null&&Xo(r.stateNode.containerInfo),nr(r),null;case 10:return pl(r.type._context),nr(r),null;case 17:return Jt(r.type)&&ci(),nr(r),null;case 19:if(_t(je),h=r.memoizedState,h===null)return nr(r),null;if(u=(r.flags&128)!==0,S=h.rendering,S===null)if(u)vs(h,!1);else{if(_n!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(S=an(n),S!==null){for(r.flags|=128,vs(h,!1),u=S.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,S=h.alternate,S===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=S.childLanes,h.lanes=S.lanes,h.child=S.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=S.memoizedProps,h.memoizedState=S.memoizedState,h.updateQueue=S.updateQueue,h.type=S.type,n=S.dependencies,h.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Ot(je,je.current&1|2),r.child}n=n.sibling}h.tail!==null&&Zt()>pu&&(r.flags|=128,u=!0,vs(h,!1),r.lanes=4194304)}else{if(!u)if(n=an(S),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),vs(h,!0),h.tail===null&&h.tailMode==="hidden"&&!S.alternate&&!Gt)return nr(r),null}else 2*Zt()-h.renderingStartTime>pu&&l!==1073741824&&(r.flags|=128,u=!0,vs(h,!1),r.lanes=4194304);h.isBackwards?(S.sibling=r.child,r.child=S):(l=h.last,l!==null?l.sibling=S:r.child=S,h.last=S)}return h.tail!==null?(r=h.tail,h.rendering=r,h.tail=r.sibling,h.renderingStartTime=Zt(),r.sibling=null,l=je.current,Ot(je,u?l&1|2:l&1),r):(nr(r),null);case 22:case 23:return jd(),u=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==u&&(r.flags|=8192),u&&r.mode&1?qr&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 Nd(n,r){switch(pd(r),r.tag){case 1:return Jt(r.type)&&ci(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return yl(),_t(fn),_t(Ge),Rc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return at(r),null;case 13:if(_t(je),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(je),null;case 4:return yl(),null;case 10:return pl(r.type._context),null;case 22:case 23:return jd(),null;case 24:return null;default:return null}}var ms=!1,Dn=!1,Bh=typeof WeakSet=="function"?WeakSet:Set,Ce=null;function ou(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 Ph=!1;function jh(n,r){if(ad=li,n=ic(),Sa(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 S=0,b=-1,_=-1,B=0,q=0,J=n,K=null;t:for(;;){for(var ve;J!==l||f!==0&&J.nodeType!==3||(b=S+f),J!==h||u!==0&&J.nodeType!==3||(_=S+u),J.nodeType===3&&(S+=J.nodeValue.length),(ve=J.firstChild)!==null;)K=J,J=ve;for(;;){if(J===n)break t;if(K===l&&++B===f&&(b=S),K===h&&++q===u&&(_=S),(ve=J.nextSibling)!==null)break;J=K,K=J.parentNode}J=ve}l=b===-1||_===-1?null:{start:b,end:_}}else l=null}l=l||{start:0,end:0}}else l=null;for(Yl={focusedElem:n,selectionRange:l},li=!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 Ee=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Ee!==null){var be=Ee.memoizedProps,yn=Ee.memoizedState,A=r.stateNode,M=A.getSnapshotBeforeUpdate(r.elementType===r.type?be:Xr(r.type,be),yn);A.__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 Ee=Ph,Ph=!1,Ee}function gs(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 Ss(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 zd(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 Ud(n){var r=n.alternate;r!==null&&(n.alternate=null,Ud(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[qi],delete r[Ql],delete r[ud],delete r[qm],delete r[sd])),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 Ih(n){return n.tag===5||n.tag===3||n.tag===4}function $c(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Ih(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 uu(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=cc));else if(u!==4&&(n=n.child,n!==null))for(uu(n,r,l),n=n.sibling;n!==null;)uu(n,r,l),n=n.sibling}function ta(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(ta(n,r,l),n=n.sibling;n!==null;)ta(n,r,l),n=n.sibling}var en=null,zn=!1;function mi(n,r,l){for(l=l.child;l!==null;)su(n,r,l),l=l.sibling}function su(n,r,l){if(Dr&&typeof Dr.onCommitFiberUnmount=="function")try{Dr.onCommitFiberUnmount(Xa,l)}catch{}switch(l.tag){case 5:Dn||ou(l,r);case 6:var u=en,f=zn;en=null,mi(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,mi(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,S=h.destroy;h=h.tag,S!==void 0&&(h&2||h&4)&&ys(l,r,S),f=f.next}while(f!==u)}mi(n,r,l);break;case 1:if(!Dn&&(ou(l,r),u=l.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=l.memoizedProps,u.state=l.memoizedState,u.componentWillUnmount()}catch(b){pn(l,r,b)}mi(n,r,l);break;case 21:mi(n,r,l);break;case 22:l.mode&1?(Dn=(u=Dn)||l.memoizedState!==null,mi(n,r,l),Dn=u):mi(n,r,l);break;default:mi(n,r,l)}}function _a(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var l=n.stateNode;l===null&&(l=n.stateNode=new Bh),r.forEach(function(u){var f=cy.bind(null,n,u);l.has(u)||(l.add(u),u.then(f,f))})}}function Bi(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,S=r,b=S;e:for(;b!==null;){switch(b.tag){case 5:en=b.stateNode,zn=!1;break e;case 3:en=b.stateNode.containerInfo,zn=!0;break e;case 4:en=b.stateNode.containerInfo,zn=!0;break e}b=b.return}if(en===null)throw Error(p(160));su(h,S,f),en=null,zn=!1;var _=f.alternate;_!==null&&(_.return=null),f.return=null}catch(B){pn(f,r,B)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)$h(r,n),r=r.sibling}function $h(n,r){var l=n.alternate,u=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Bi(r,n),na(n),u&4){try{gs(3,n,n.return),Ss(3,n)}catch(be){pn(n,n.return,be)}try{gs(5,n,n.return)}catch(be){pn(n,n.return,be)}}break;case 1:Bi(r,n),na(n),u&512&&l!==null&&ou(l,l.return);break;case 5:if(Bi(r,n),na(n),u&512&&l!==null&&ou(l,l.return),n.flags&32){var f=n.stateNode;try{Yi(f,"")}catch(be){pn(n,n.return,be)}}if(u&4&&(f=n.stateNode,f!=null)){var h=n.memoizedProps,S=l!==null?l.memoizedProps:h,b=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{b==="input"&&h.type==="radio"&&h.name!=null&&Rr(f,h),vn(b,S);var B=vn(b,h);for(S=0;S<_.length;S+=2){var q=_[S],J=_[S+1];q==="style"?Lt(f,J):q==="dangerouslySetInnerHTML"?Ul(f,J):q==="children"?Yi(f,J):_e(f,q,J,B)}switch(b){case"input":Mn(f,h);break;case"textarea":_i(f,h);break;case"select":var K=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!h.multiple;var ve=h.value;ve!=null?wr(f,!!h.multiple,ve,!1):K!==!!h.multiple&&(h.defaultValue!=null?wr(f,!!h.multiple,h.defaultValue,!0):wr(f,!!h.multiple,h.multiple?[]:"",!1))}f[Ql]=h}catch(be){pn(n,n.return,be)}}break;case 6:if(Bi(r,n),na(n),u&4){if(n.stateNode===null)throw Error(p(162));f=n.stateNode,h=n.memoizedProps;try{f.nodeValue=h}catch(be){pn(n,n.return,be)}}break;case 3:if(Bi(r,n),na(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{nl(r.containerInfo)}catch(be){pn(n,n.return,be)}break;case 4:Bi(r,n),na(n);break;case 13:Bi(r,n),na(n),f=n.child,f.flags&8192&&(h=f.memoizedState!==null,f.stateNode.isHidden=h,!h||f.alternate!==null&&f.alternate.memoizedState!==null||(Vd=Zt())),u&4&&_a(n);break;case 22:if(q=l!==null&&l.memoizedState!==null,n.mode&1?(Dn=(B=Dn)||q,Bi(r,n),Dn=B):Bi(r,n),na(n),u&8192){if(B=n.memoizedState!==null,(n.stateNode.isHidden=B)&&!q&&n.mode&1)for(Ce=n,q=n.child;q!==null;){for(J=Ce=q;Ce!==null;){switch(K=Ce,ve=K.child,K.tag){case 0:case 11:case 14:case 15:gs(4,K,K.return);break;case 1:ou(K,K.return);var Ee=K.stateNode;if(typeof Ee.componentWillUnmount=="function"){u=K,l=K.return;try{r=u,Ee.props=r.memoizedProps,Ee.state=r.memoizedState,Ee.componentWillUnmount()}catch(be){pn(u,l,be)}}break;case 5:ou(K,K.return);break;case 22:if(K.memoizedState!==null){Fd(J);continue}}ve!==null?(ve.return=K,Ce=ve):Fd(J)}q=q.sibling}e:for(q=null,J=n;;){if(J.tag===5){if(q===null){q=J;try{f=J.stateNode,B?(h=f.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none"):(b=J.stateNode,_=J.memoizedProps.style,S=_!=null&&_.hasOwnProperty("display")?_.display:null,b.style.display=nt("display",S))}catch(be){pn(n,n.return,be)}}}else if(J.tag===6){if(q===null)try{J.stateNode.nodeValue=B?"":J.memoizedProps}catch(be){pn(n,n.return,be)}}else if((J.tag!==22&&J.tag!==23||J.memoizedState===null||J===n)&&J.child!==null){J.child.return=J,J=J.child;continue}if(J===n)break e;for(;J.sibling===null;){if(J.return===null||J.return===n)break e;q===J&&(q=null),J=J.return}q===J&&(q=null),J.sibling.return=J.return,J=J.sibling}}break;case 19:Bi(r,n),na(n),u&4&&_a(n);break;case 21:break;default:Bi(r,n),na(n)}}function na(n){var r=n.flags;if(r&2){try{e:{for(var l=n.return;l!==null;){if(Ih(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&&(Yi(f,""),u.flags&=-33);var h=$c(n);ta(n,h,f);break;case 3:case 4:var S=u.stateNode.containerInfo,b=$c(n);uu(n,b,S);break;default:throw Error(p(161))}}catch(_){pn(n,n.return,_)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Wh(n,r,l){Ce=n,cu(n)}function cu(n,r,l){for(var u=(n.mode&1)!==0;Ce!==null;){var f=Ce,h=f.child;if(f.tag===22&&u){var S=f.memoizedState!==null||ms;if(!S){var b=f.alternate,_=b!==null&&b.memoizedState!==null||Dn;b=ms;var B=Dn;if(ms=S,(Dn=_)&&!B)for(Ce=f;Ce!==null;)S=Ce,_=S.child,S.tag===22&&S.memoizedState!==null?Gh(f):_!==null?(_.return=S,Ce=_):Gh(f);for(;h!==null;)Ce=h,cu(h),h=h.sibling;Ce=f,ms=b,Dn=B}Yh(n)}else f.subtreeFlags&8772&&h!==null?(h.return=f,Ce=h):Yh(n)}}function Yh(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||Ss(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:Xr(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 S=r.updateQueue;if(S!==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,S,l)}break;case 5:var b=r.stateNode;if(l===null&&r.flags&4){l=b;var _=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&l.focus();break;case"img":_.src&&(l.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var B=r.alternate;if(B!==null){var q=B.memoizedState;if(q!==null){var J=q.dehydrated;J!==null&&nl(J)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(p(163))}Dn||r.flags&512&&zd(r)}catch(K){pn(r,r.return,K)}}if(r===n){Ce=null;break}if(l=r.sibling,l!==null){l.return=r.return,Ce=l;break}Ce=r.return}}function Fd(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 Gh(n){for(;Ce!==null;){var r=Ce;try{switch(r.tag){case 0:case 11:case 15:var l=r.return;try{Ss(4,r)}catch(_){pn(r,l,_)}break;case 1:var u=r.stateNode;if(typeof u.componentDidMount=="function"){var f=r.return;try{u.componentDidMount()}catch(_){pn(r,f,_)}}var h=r.return;try{zd(r)}catch(_){pn(r,h,_)}break;case 5:var S=r.return;try{zd(r)}catch(_){pn(r,S,_)}}}catch(_){pn(r,r.return,_)}if(r===n){Ce=null;break}var b=r.sibling;if(b!==null){b.return=r.return,Ce=b;break}Ce=r.return}}var Wc=Math.ceil,Cs=$e.ReactCurrentDispatcher,Hd=$e.ReactCurrentOwner,rr=$e.ReactCurrentBatchConfig,ut=0,ln=null,dn=null,Un=0,qr=0,fu=Je(0),_n=0,Es=null,ka=0,Yc=0,du=0,uo=null,cr=null,Vd=0,pu=1/0,Ma=null,Gc=!1,so=null,ra=null,El=!1,Rl=null,Qc=0,hu=0,Xc=null,co=-1,fo=0;function ir(){return ut&6?Zt():co!==-1?co:co=Zt()}function En(n){return n.mode&1?ut&2&&Un!==0?Un&-Un:mc.transition!==null?(fo===0&&(fo=zo()),fo):(n=wt,n!==0||(n=window.event,n=n===void 0?16:Iu(n.type)),n):1}function ar(n,r,l,u){if(50<hu)throw hu=0,Xc=null,Error(p(185));ha(n,l,u),(!(ut&2)||n!==ln)&&(n===ln&&(!(ut&2)&&(Yc|=l),_n===4&&yi(n,Un)),lr(n,u),l===1&&ut===0&&!(r.mode&1)&&(pu=Zt()+500,Ln&&Ar()))}function lr(n,r){var l=n.callbackNode;Za(n,r);var u=ur(n,n===ln?Un:0);if(u===0)l!==null&&Xs(l),n.callbackNode=null,n.callbackPriority=0;else if(r=u&-u,n.callbackPriority!==r){if(l!=null&&Xs(l),r===1)n.tag===0?fd(Qh.bind(null,n)):cd(Qh.bind(null,n)),od(function(){!(ut&6)&&Ar()}),l=null;else{switch(Fo(u)){case 1:l=Ai;break;case 4:l=rt;break;case 16:l=Qi;break;case 536870912:l=Lo;break;default:l=Qi}l=Wd(l,vu.bind(null,n))}n.callbackPriority=r,n.callbackNode=l}}function vu(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=qc(n,u);else{r=u;var f=ut;ut|=2;var h=Kc();(ln!==n||Un!==r)&&(Ma=null,pu=Zt()+500,po(n,r));do try{ly();break}catch(b){Xh(n,b)}while(1);yd(),Cs.current=h,ut=f,dn!==null?r=0:(ln=null,Un=0,r=_n)}if(r!==0){if(r===2&&(f=Ja(n),f!==0&&(u=f,r=Bd(n,f))),r===1)throw l=Es,po(n,0),yi(n,u),lr(n,Zt()),l;if(r===6)yi(n,u);else{if(f=n.current.alternate,!(u&30)&&!Pd(f)&&(r=qc(n,u),r===2&&(h=Ja(n),h!==0&&(u=h,r=Bd(n,h))),r===1))throw l=Es,po(n,0),yi(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,Ma);break;case 3:if(yi(n,u),(u&130023424)===u&&(r=Vd+500-Zt(),10<r)){if(ur(n,0)!==0)break;if(f=n.suspendedLanes,(f&u)!==u){ir(),n.pingedLanes|=n.suspendedLanes&f;break}n.timeoutHandle=Gl(ho.bind(null,n,cr,Ma),r);break}ho(n,cr,Ma);break;case 4:if(yi(n,u),(u&4194240)===u)break;for(r=n.eventTimes,f=-1;0<u;){var S=31-or(u);h=1<<S,S=r[S],S>f&&(f=S),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*Wc(u/1960))-u,10<u){n.timeoutHandle=Gl(ho.bind(null,n,cr,Ma),u);break}ho(n,cr,Ma);break;case 5:ho(n,cr,Ma);break;default:throw Error(p(329))}}}return lr(n,Zt()),n.callbackNode===l?vu.bind(null,n):null}function Bd(n,r){var l=uo;return n.current.memoizedState.isDehydrated&&(po(n,r).flags|=256),n=qc(n,r),n!==2&&(r=cr,cr=l,r!==null&&Rs(r)),n}function Rs(n){cr===null?cr=n:cr.push.apply(cr,n)}function Pd(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(!oi(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 yi(n,r){for(r&=~du,r&=~Yc,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 Qh(n){if(ut&6)throw Error(p(327));yu();var r=ur(n,0);if(!(r&1))return lr(n,Zt()),null;var l=qc(n,r);if(n.tag!==0&&l===2){var u=Ja(n);u!==0&&(r=u,l=Bd(n,u))}if(l===1)throw l=Es,po(n,0),yi(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,Ma),lr(n,Zt()),null}function mu(n,r){var l=ut;ut|=1;try{return n(r)}finally{ut=l,ut===0&&(pu=Zt()+500,Ln&&Ar())}}function wl(n){Rl!==null&&Rl.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 jd(){qr=fu.current,_t(fu)}function po(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,Rh(l)),dn!==null)for(l=dn.return;l!==null;){var u=l;switch(pd(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&ci();break;case 3:yl(),_t(fn),_t(Ge),Rc();break;case 5:at(u);break;case 4:yl();break;case 13:_t(je);break;case 19:_t(je);break;case 10:pl(u.type._context);break;case 22:case 23:jd()}l=l.return}if(ln=n,dn=n=bl(n.current,null),Un=qr=r,_n=0,Es=null,du=Yc=ka=0,cr=uo=null,jn!==null){for(r=0;r<jn.length;r++)if(l=jn[r],u=l.interleaved,u!==null){l.interleaved=null;var f=u.next,h=l.pending;if(h!==null){var S=h.next;h.next=f,u.next=S}l.pending=u}jn=null}return n}function Xh(n,r){do{var l=dn;try{if(yd(),wc.current=Vc,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=W=Qt=null,ea=!1,Kr=0,Hd.current=null,l===null||l.return===null){_n=1,Es=r,dn=null;break}e:{var h=n,S=l.return,b=l,_=r;if(r=Un,b.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var B=_,q=b,J=q.tag;if(!(q.mode&1)&&(J===0||J===11||J===15)){var K=q.alternate;K?(q.updateQueue=K.updateQueue,q.memoizedState=K.memoizedState,q.lanes=K.lanes):(q.updateQueue=null,q.memoizedState=null)}var ve=Td(S);if(ve!==null){ve.flags&=-257,Dd(ve,S,b,h,r),ve.mode&1&&Fh(h,B,r),r=ve,_=B;var Ee=r.updateQueue;if(Ee===null){var be=new Set;be.add(_),r.updateQueue=be}else Ee.add(_);break e}else{if(!(r&1)){Fh(h,B,r),Id();break e}_=Error(p(426))}}else if(Gt&&b.mode&1){var yn=Td(S);if(yn!==null){!(yn.flags&65536)&&(yn.flags|=256),Dd(yn,S,b,h,r),vd(iu(_,b));break e}}h=_=iu(_,b),_n!==4&&(_n=2),uo===null?uo=[h]:uo.push(h),h=S;do{switch(h.tag){case 3:h.flags|=65536,r&=-r,h.lanes|=r;var A=Uh(h,_,r);Cd(h,A);break e;case 1:b=_;var M=h.type,U=h.stateNode;if(!(h.flags&128)&&(typeof M.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(ra===null||!ra.has(U)))){h.flags|=65536,r&=-r,h.lanes|=r;var ie=ps(h,b,r);Cd(h,ie);break e}}h=h.return}while(h!==null)}$d(l)}catch(ke){r=ke,dn===l&&l!==null&&(dn=l=l.return);continue}break}while(1)}function Kc(){var n=Cs.current;return Cs.current=Vc,n===null?Vc:n}function Id(){(_n===0||_n===3||_n===2)&&(_n=4),ln===null||!(ka&268435455)&&!(Yc&268435455)||yi(ln,Un)}function qc(n,r){var l=ut;ut|=2;var u=Kc();(ln!==n||Un!==r)&&(Ma=null,po(n,r));do try{ay();break}catch(f){Xh(n,f)}while(1);if(yd(),ut=l,Cs.current=u,dn!==null)throw Error(p(261));return ln=null,Un=0,_n}function ay(){for(;dn!==null;)Kh(dn)}function ly(){for(;dn!==null&&!Ff();)Kh(dn)}function Kh(n){var r=Zh(n.alternate,n,qr);n.memoizedProps=n.pendingProps,r===null?$d(n):dn=r,Hd.current=null}function $d(n){var r=n;do{var l=r.alternate;if(n=r.return,r.flags&32768){if(l=Nd(l,r),l!==null){l.flags&=32767,dn=l;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{_n=6,dn=null;return}}else if(l=iy(l,r,qr),l!==null){dn=l;return}if(r=r.sibling,r!==null){dn=r;return}dn=r=n}while(r!==null);_n===0&&(_n=5)}function ho(n,r,l){var u=wt,f=rr.transition;try{rr.transition=null,wt=1,oy(n,r,l,u)}finally{rr.transition=f,wt=u}return null}function oy(n,r,l,u){do yu();while(Rl!==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(Bf(n,h),n===ln&&(dn=ln=null,Un=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||El||(El=!0,Wd(Qi,function(){return yu(),null})),h=(l.flags&15990)!==0,l.subtreeFlags&15990||h){h=rr.transition,rr.transition=null;var S=wt;wt=1;var b=ut;ut|=4,Hd.current=null,jh(n,l),$h(l,n),ac(Yl),li=!!ad,Yl=ad=null,n.current=l,Wh(l),Hf(),ut=b,wt=S,rr.transition=h}else n.current=l;if(El&&(El=!1,Rl=n,Qc=f),h=n.pendingLanes,h===0&&(ra=null),Bu(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(Gc)throw Gc=!1,n=so,so=null,n;return Qc&1&&n.tag!==0&&yu(),h=n.pendingLanes,h&1?n===Xc?hu++:(hu=0,Xc=n):hu=0,Ar(),null}function yu(){if(Rl!==null){var n=Fo(Qc),r=rr.transition,l=wt;try{if(rr.transition=null,wt=16>n?16:n,Rl===null)var u=!1;else{if(n=Rl,Rl=null,Qc=0,ut&6)throw Error(p(331));var f=ut;for(ut|=4,Ce=n.current;Ce!==null;){var h=Ce,S=h.child;if(Ce.flags&16){var b=h.deletions;if(b!==null){for(var _=0;_<b.length;_++){var B=b[_];for(Ce=B;Ce!==null;){var q=Ce;switch(q.tag){case 0:case 11:case 15:gs(8,q,h)}var J=q.child;if(J!==null)J.return=q,Ce=J;else for(;Ce!==null;){q=Ce;var K=q.sibling,ve=q.return;if(Ud(q),q===B){Ce=null;break}if(K!==null){K.return=ve,Ce=K;break}Ce=ve}}}var Ee=h.alternate;if(Ee!==null){var be=Ee.child;if(be!==null){Ee.child=null;do{var yn=be.sibling;be.sibling=null,be=yn}while(be!==null)}}Ce=h}}if(h.subtreeFlags&2064&&S!==null)S.return=h,Ce=S;else e:for(;Ce!==null;){if(h=Ce,h.flags&2048)switch(h.tag){case 0:case 11:case 15:gs(9,h,h.return)}var A=h.sibling;if(A!==null){A.return=h.return,Ce=A;break e}Ce=h.return}}var M=n.current;for(Ce=M;Ce!==null;){S=Ce;var U=S.child;if(S.subtreeFlags&2064&&U!==null)U.return=S,Ce=U;else e:for(S=M;Ce!==null;){if(b=Ce,b.flags&2048)try{switch(b.tag){case 0:case 11:case 15:Ss(9,b)}}catch(ke){pn(b,b.return,ke)}if(b===S){Ce=null;break e}var ie=b.sibling;if(ie!==null){ie.return=b.return,Ce=ie;break e}Ce=b.return}}if(ut=f,Ar(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(Xa,n)}catch{}u=!0}return u}finally{wt=l,rr.transition=r}}return!1}function qh(n,r,l){r=iu(l,r),r=Uh(n,r,1),n=vl(n,r,1),r=ir(),n!==null&&(ha(n,1,r),lr(n,r))}function pn(n,r,l){if(n.tag===3)qh(n,n,l);else for(;r!==null;){if(r.tag===3){qh(r,n,l);break}else if(r.tag===1){var u=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(ra===null||!ra.has(u))){n=iu(l,n),n=ps(r,n,1),r=vl(r,n,1),n=ir(),r!==null&&(ha(r,1,n),lr(r,n));break}}r=r.return}}function uy(n,r,l){var u=n.pingCache;u!==null&&u.delete(r),r=ir(),n.pingedLanes|=n.suspendedLanes&l,ln===n&&(Un&l)===l&&(_n===4||_n===3&&(Un&130023424)===Un&&500>Zt()-Vd?po(n,0):du|=l),lr(n,r)}function Zc(n,r){r===0&&(n.mode&1?(r=Ka,Ka<<=1,!(Ka&130023424)&&(Ka=4194304)):r=1);var l=ir();n=ba(n,r),n!==null&&(ha(n,r,l),lr(n,l))}function sy(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),Zc(n,l)}function cy(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),Zc(n,l)}var Zh;Zh=function(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps||fn.current)Cn=!0;else{if(!(n.lanes&l)&&!(r.flags&128))return Cn=!1,Da(n,r,l);Cn=!!(n.flags&131072)}else Cn=!1,Gt&&r.flags&1048576&&dd(r,qo,r.index);switch(r.lanes=0,r.tag){case 2:var u=r.type;tr(n,r),n=r.pendingProps;var f=si(r,Ge.current);ue(r,l),f=gl(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,fc(r)):h=!1,r.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,Sd(r),f.updater=Sc,r.stateNode=f,f._reactInternals=r,Cc(r,u,n,l),r=Hh(null,r,u,!0,h,l)):(r.tag=0,Gt&&h&&dc(r),xn(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=dy(u),n=Xr(u,n),f){case 0:r=au(null,r,u,n,l);break e;case 1:r=_d(null,r,u,n,l);break e;case 11:r=Cl(null,r,u,n,l);break e;case 14:r=Pc(null,r,u,Xr(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:Xr(u,f),au(n,r,u,f,l);case 1:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),_d(n,r,u,f,l);case 3:e:{if(Vh(r),n===null)throw Error(p(387));u=r.pendingProps,h=r.memoizedState,f=h.element,bn(n,r),ml(r,u,null,l);var S=r.memoizedState;if(u=S.element,h.isDehydrated)if(h={element:u,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},r.updateQueue.baseState=h,r.memoizedState=h,r.flags&256){f=iu(Error(p(423)),r),r=jc(n,r,u,l,f);break e}else if(u!==f){f=iu(Error(p(424)),r),r=jc(n,r,u,l,f);break e}else for(zr=Hi(r.stateNode.containerInfo.firstChild),Qr=r,Gt=!0,di=null,l=Nh(r,null,u,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(rn(),u===f){r=In(n,r,l);break e}xn(n,r,u,l)}r=r.child}return r;case 5:return Ve(r),n===null&&hc(r),u=r.type,f=r.pendingProps,h=n!==null?n.memoizedProps:null,S=f.children,ts(u,f)?S=null:h!==null&&ts(u,h)&&(r.flags|=32),et(n,r),xn(n,r,S,l),r.child;case 6:return n===null&&hc(r),null;case 13:return Md(n,r,l);case 4:return Rd(r,r.stateNode.containerInfo),u=r.pendingProps,n===null?r.child=Jo(r,null,u,l):xn(n,r,u,l),r.child;case 11:return u=r.type,f=r.pendingProps,f=r.elementType===u?f:Xr(u,f),Cl(n,r,u,f,l);case 7:return xn(n,r,r.pendingProps,l),r.child;case 8:return xn(n,r,r.pendingProps.children,l),r.child;case 12:return xn(n,r,r.pendingProps.children,l),r.child;case 10:e:{if(u=r.type._context,f=r.pendingProps,h=r.memoizedProps,S=f.value,Ot(Ji,u._currentValue),u._currentValue=S,h!==null)if(oi(h.value,S)){if(h.children===f.children&&!fn.current){r=In(n,r,l);break e}}else for(h=r.child,h!==null&&(h.return=r);h!==null;){var b=h.dependencies;if(b!==null){S=h.child;for(var _=b.firstContext;_!==null;){if(_.context===u){if(h.tag===1){_=xa(-1,l&-l),_.tag=2;var B=h.updateQueue;if(B!==null){B=B.shared;var q=B.pending;q===null?_.next=_:(_.next=q.next,q.next=_),B.pending=_}}h.lanes|=l,_=h.alternate,_!==null&&(_.lanes|=l),Nn(h.return,l,r),b.lanes|=l;break}_=_.next}}else if(h.tag===10)S=h.type===r.type?null:h.child;else if(h.tag===18){if(S=h.return,S===null)throw Error(p(341));S.lanes|=l,b=S.alternate,b!==null&&(b.lanes|=l),Nn(S,l,r),S=h.sibling}else S=h.child;if(S!==null)S.return=h;else for(S=h;S!==null;){if(S===r){S=null;break}if(h=S.sibling,h!==null){h.return=S.return,S=h;break}S=S.return}h=S}xn(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,xn(n,r,u,l),r.child;case 14:return u=r.type,f=Xr(u,r.pendingProps),f=Xr(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:Xr(u,f),tr(n,r),r.tag=1,Jt(u)?(n=!0,fc(r)):n=!1,ue(r,l),Mh(r,u,f),Cc(r,u,f,l),Hh(null,r,u,!0,n,l);case 19:return Ld(n,r,l);case 22:return ao(n,r,l)}throw Error(p(156,r.tag))};function Wd(n,r){return Vu(n,r)}function fy(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 gi(n,r,l,u){return new fy(n,r,l,u)}function Yd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function dy(n){if(typeof n=="function")return Yd(n)?1:0;if(n!=null){if(n=n.$$typeof,n===un)return 11;if(n===qt)return 14}return 2}function bl(n,r){var l=n.alternate;return l===null?(l=gi(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 Jc(n,r,l,u,f,h){var S=2;if(u=n,typeof n=="function")Yd(n)&&(S=1);else if(typeof n=="string")S=5;else e:switch(n){case Oe:return vo(l.children,f,h,r);case lt:S=8,f|=8;break;case kt:return n=gi(12,l,r,f|2),n.elementType=kt,n.lanes=h,n;case Te:return n=gi(13,l,r,f),n.elementType=Te,n.lanes=h,n;case dt:return n=gi(19,l,r,f),n.elementType=dt,n.lanes=h,n;case De:return ws(l,f,h,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Tt:S=10;break e;case yt:S=9;break e;case un:S=11;break e;case qt:S=14;break e;case Dt:S=16,u=null;break e}throw Error(p(130,n==null?n:typeof n,""))}return r=gi(S,l,r,f),r.elementType=n,r.type=u,r.lanes=h,r}function vo(n,r,l,u){return n=gi(7,n,u,r),n.lanes=l,n}function ws(n,r,l,u){return n=gi(22,n,u,r),n.elementType=De,n.lanes=l,n.stateNode={isHidden:!1},n}function bs(n,r,l){return n=gi(6,n,null,r),n.lanes=l,n}function mo(n,r,l){return r=gi(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function py(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=Uo(0),this.expirationTimes=Uo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uo(0),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function ef(n,r,l,u,f,h,S,b,_){return n=new py(n,r,l,b,_),r===1?(r=1,h===!0&&(r|=8)):r=0,h=gi(3,null,null,r),n.current=h,h.stateNode=n,h.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sd(h),n}function Jh(n,r,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xe,key:u==null?null:""+u,children:n,containerInfo:r,implementation:l}}function Gd(n){if(!n)return Zi;n=n._reactInternals;e:{if(ii(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 ev(n,r,l,u,f,h,S,b,_){return n=ef(l,u,!0,n,f,h,S,b,_),n.context=Gd(null),l=n.current,u=ir(),f=En(l),h=xa(u,f),h.callback=r??null,vl(l,h,f),n.current.lanes=f,ha(n,f,u),lr(n,u),n}function xs(n,r,l,u){var f=r.current,h=ir(),S=En(f);return l=Gd(l),r.context===null?r.context=l:r.pendingContext=l,r=xa(h,S),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=vl(f,r,S),n!==null&&(ar(n,f,S,h),gc(n,f,S)),S}function tf(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 tv(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function Qd(n,r){tv(n,r),(n=n.alternate)&&tv(n,r)}function nv(){return null}var Xd=typeof reportError=="function"?reportError:function(n){console.error(n)};function nf(n){this._internalRoot=n}Oa.prototype.render=nf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(p(409));xs(n,r,null,null)},Oa.prototype.unmount=nf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;wl(function(){xs(null,n,null,null)}),r[Ra]=null}};function Oa(n){this._internalRoot=n}Oa.prototype.unstable_scheduleHydration=function(n){if(n){var r=Vo();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&&Zs(n)}};function Kd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function rf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function rv(){}function hy(n,r,l,u,f){if(f){if(typeof u=="function"){var h=u;u=function(){var B=tf(S);h.call(B)}}var S=ev(r,u,n,0,null,!1,!1,"",rv);return n._reactRootContainer=S,n[Ra]=S.current,Xo(n.nodeType===8?n.parentNode:n),wl(),S}for(;f=n.lastChild;)n.removeChild(f);if(typeof u=="function"){var b=u;u=function(){var B=tf(_);b.call(B)}}var _=ef(n,0,!1,null,null,!1,!1,"",rv);return n._reactRootContainer=_,n[Ra]=_.current,Xo(n.nodeType===8?n.parentNode:n),wl(function(){xs(r,_,l,u)}),_}function af(n,r,l,u,f){var h=l._reactRootContainer;if(h){var S=h;if(typeof f=="function"){var b=f;f=function(){var _=tf(S);b.call(_)}}xs(r,S,n,f)}else S=hy(l,r,n,f,u);return tf(S)}Vl=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var l=Li(r.pendingLanes);l!==0&&(Xi(r,l|1),lr(r,Zt()),!(ut&6)&&(pu=Zt()+500,Ar()))}break;case 13:wl(function(){var u=ba(n,1);if(u!==null){var f=ir();ar(u,n,1,f)}}),Qd(n,1)}},Ho=function(n){if(n.tag===13){var r=ba(n,134217728);if(r!==null){var l=ir();ar(r,n,134217728,l)}Qd(n,134217728)}},gt=function(n){if(n.tag===13){var r=En(n),l=ba(n,r);if(l!==null){var u=ir();ar(l,n,r,u)}Qd(n,r)}},Vo=function(){return wt},Bo=function(n,r){var l=wt;try{return wt=n,r()}finally{wt=l}},ri=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=ze(u);if(!f)throw Error(p(90));Ti(u),Mn(u,f)}}}break;case"textarea":_i(n,l);break;case"select":r=l.value,r!=null&&wr(n,!!l.multiple,r,!1)}},Ws=mu,Ys=wl;var vy={usingClientEntryPoint:!1,Events:[rs,Ko,ze,pa,Mo,mu]},gu={findFiberByHostInstance:ui,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},my={bundleType:gu.bundleType,version:gu.version,rendererPackageName:gu.rendererPackageName,rendererConfig:gu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$e.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=Gs(n),n===null?null:n.stateNode},findFiberByHostInstance:gu.findFiberByHostInstance||nv,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 lf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lf.isDisabled&&lf.supportsFiber)try{Xa=lf.inject(my),Dr=lf}catch{}}return bi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vy,bi.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kd(r))throw Error(p(200));return Jh(n,r,null,l)},bi.createRoot=function(n,r){if(!Kd(n))throw Error(p(299));var l=!1,u="",f=Xd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(f=r.onRecoverableError)),r=ef(n,1,!1,null,null,l,!1,u,f),n[Ra]=r.current,Xo(n.nodeType===8?n.parentNode:n),new nf(r)},bi.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=Gs(r),n=n===null?null:n.stateNode,n},bi.flushSync=function(n){return wl(n)},bi.hydrate=function(n,r,l){if(!rf(r))throw Error(p(200));return af(null,n,r,!0,l)},bi.hydrateRoot=function(n,r,l){if(!Kd(n))throw Error(p(405));var u=l!=null&&l.hydratedSources||null,f=!1,h="",S=Xd;if(l!=null&&(l.unstable_strictMode===!0&&(f=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),r=ev(r,null,n,1,l??null,f,!1,h,S),n[Ra]=r.current,Xo(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 Oa(r)},bi.render=function(n,r,l){if(!rf(r))throw Error(p(200));return af(null,n,r,!1,l)},bi.unmountComponentAtNode=function(n){if(!rf(n))throw Error(p(40));return n._reactRootContainer?(wl(function(){af(null,null,n,!1,function(){n._reactRootContainer=null,n[Ra]=null})}),!0):!1},bi.unstable_batchedUpdates=mu,bi.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!rf(l))throw Error(p(200));if(n==null||n._reactInternals===void 0)throw Error(p(38));return af(n,r,l,!1,u)},bi.version="18.2.0-next-9e3b772b8-20220608",bi}var xi={};/**
|
|
90
90
|
* @license React
|
|
91
91
|
* react-dom.development.js
|
|
92
92
|
*
|
|
@@ -94,15 +94,15 @@ Error generating stack: `+h.message+`
|
|
|
94
94
|
*
|
|
95
95
|
* This source code is licensed under the MIT license found in the
|
|
96
96
|
* LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/var lw;function V_(){return lw||(lw=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 I=cw(),c=fw(),p=I.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=!1;function R(e){S=e}function T(e){if(!S){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Y("warn",e,i)}}function C(e){if(!S){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Y("error",e,i)}}function Y(e,t,i){{var a=p.ReactDebugCurrentFrame,o=a.getStackAddendum();o!==""&&(t+="%s",i=i.concat([o]));var s=i.map(function(d){return String(d)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var B=0,K=1,ge=2,J=3,ae=4,X=5,le=6,_e=7,de=8,ct=9,it=10,xe=11,Oe=12,Ce=13,Pe=14,ke=15,Lt=16,jt=17,Bt=18,Tt=19,Rn=21,Je=22,ft=23,qt=24,bt=25,Te=!0,ie=!1,Ae=!1,D=!1,Q=!1,ve=!0,Ke=!1,Ie=!1,gt=!0,at=!0,St=!0,ut=new Set,Pt={},fa={};function Cr(e,t){Ti(e,t),Ti(e+"Capture",t)}function Ti(e,t){Pt[e]&&C("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Pt[e]=t;{var i=e.toLowerCase();fa[i]=e,e==="onDoubleClick"&&(fa.ondblclick=e)}for(var a=0;a<t.length;a++)ut.add(t[a])}var pn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zn=Object.prototype.hasOwnProperty;function Er(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function Rr(e){try{return Mn(e),!1}catch{return!0}}function Mn(e){return""+e}function Di(e,t){if(Rr(e))return C("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function da(e){if(Rr(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Er(e)),Mn(e)}function Jn(e,t){if(Rr(e))return C("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function wr(e,t){if(Rr(e))return C("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function Wi(e){if(Rr(e))return C("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Er(e)),Mn(e)}function br(e){if(Rr(e))return C("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.",Er(e)),Mn(e)}var _i=0,xr=1,ki=2,Vn=3,Ir=4,Ul=5,Yi=6,se=":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",Ne=se+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",et=new RegExp("^["+se+"]["+Ne+"]*$"),Mt={},At={};function wn(e){return Zn.call(At,e)?!0:Zn.call(Mt,e)?!1:et.test(e)?(At[e]=!0,!0):(Mt[e]=!0,C("Invalid attribute name: `%s`",e),!1)}function hn(e,t,i){return t!==null?t.type===_i:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Tr(e,t,i,a){if(i!==null&&i.type===_i)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(i!==null)return!i.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return o!=="data-"&&o!=="aria-"}default:return!1}}function Wt(e,t,i,a){if(t===null||typeof t>"u"||Tr(e,t,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case Vn:return!t;case Ir:return t===!1;case Ul:return isNaN(t);case Yi:return isNaN(t)||t<1}return!1}function ri(e){return $t.hasOwnProperty(e)?$t[e]:null}function tn(e,t,i,a,o,s,d){this.acceptsBooleans=t===ki||t===Vn||t===Ir,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=i,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,_i,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],i=e[1];$t[t]=new tn(t,xr,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$t[e]=new tn(e,ki,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$t[e]=new tn(e,ki,!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,Ir,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$t[e]=new tn(e,Yi,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$t[e]=new tn(e,Ul,!1,e.toLowerCase(),null,!1,!1)});var pa=/[\-\:]([a-z])/g,ko=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(pa,ko);$t[t]=new tn(t,xr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(pa,ko);$t[t]=new tn(t,xr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pa,ko);$t[t]=new tn(t,xr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$t[e]=new tn(e,xr,!1,e.toLowerCase(),null,!1,!1)});var Ws="xlinkHref";$t[Ws]=new tn("xlinkHref",xr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$t[e]=new tn(e,xr,!1,e.toLowerCase(),null,!0,!0)});var Ys=/^[\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,Mo=!1;function Uu(e){!Mo&&Ys.test(e)&&(Mo=!0,C("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 Mi(e,t,i,a){if(a.mustUseProperty){var o=a.propertyName;return e[o]}else{Di(i,t),a.sanitizeURL&&Uu(""+i);var s=a.attributeName,d=null;if(a.type===Ir){if(e.hasAttribute(s)){var v=e.getAttribute(s);return v===""?!0:Wt(t,i,a,!1)?v:v===""+i?i:v}}else if(e.hasAttribute(s)){if(Wt(t,i,a,!1))return e.getAttribute(s);if(a.type===Vn)return i;d=e.getAttribute(s)}return Wt(t,i,a,!1)?d===null?i:d:d===""+i?i:d}}function $a(e,t,i,a){{if(!wn(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var o=e.getAttribute(t);return Di(i,t),o===""+i?i:o}}function Gi(e,t,i,a){var o=ri(t);if(!hn(t,o,a)){if(Wt(t,i,o,a)&&(i=null),a||o===null){if(wn(t)){var s=t;i===null?e.removeAttribute(s):(Di(i,t),e.setAttribute(s,""+i))}return}var d=o.mustUseProperty;if(d){var v=o.propertyName;if(i===null){var m=o.type;e[v]=m===Vn?!1:""}else e[v]=i;return}var E=o.attributeName,w=o.attributeNamespace;if(i===null)e.removeAttribute(E);else{var O=o.type,k;O===Vn||O===Ir&&i===!0?k="":(Di(i,E),k=""+i,o.sanitizeURL&&Uu(k.toString())),w?e.setAttributeNS(w,E,k):e.setAttribute(E,k)}}}var Ia=Symbol.for("react.element"),Wr=Symbol.for("react.portal"),Oi=Symbol.for("react.fragment"),Wa=Symbol.for("react.strict_mode"),Ya=Symbol.for("react.profiler"),Oo=Symbol.for("react.provider"),Fu=Symbol.for("react.context"),un=Symbol.for("react.forward_ref"),ii=Symbol.for("react.suspense"),Hl=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),jn=Symbol.for("react.lazy"),Gs=Symbol.for("react.scope"),Qs=Symbol.for("react.debug_trace_mode"),Hu=Symbol.for("react.offscreen"),Xs=Symbol.for("react.legacy_hidden"),Ff=Symbol.for("react.cache"),Hf=Symbol.for("react.tracing_marker"),Zt=Symbol.iterator,Vf="@@iterator";function Li(e){if(e===null||typeof e!="object")return null;var t=Zt&&e[Zt]||e[Vf];return typeof t=="function"?t:null}var tt=Object.assign,Qi=0,Qa,Lo,Xa,Dr,Vu,or,ju;function Bu(){}Bu.__reactDisabledLog=!0;function Ks(){{if(Qi===0){Qa=console.log,Lo=console.info,Xa=console.warn,Dr=console.error,Vu=console.group,or=console.groupCollapsed,ju=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Bu,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qi++}}function Ao(){{if(Qi--,Qi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:tt({},e,{value:Qa}),info:tt({},e,{value:Lo}),warn:tt({},e,{value:Xa}),error:tt({},e,{value:Dr}),group:tt({},e,{value:Vu}),groupCollapsed:tt({},e,{value:or}),groupEnd:tt({},e,{value:ju})})}Qi<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ka=p.ReactCurrentDispatcher,Ai;function ur(e,t,i){{if(Ai===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);Ai=a&&a[1]||""}return`
|
|
98
|
-
`+
|
|
97
|
+
*/var ow;function B_(){return ow||(ow=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=fw(),c=dw(),p=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=!1;function E(e){y=e}function x(e){if(!y){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Y("warn",e,i)}}function C(e){if(!y){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Y("error",e,i)}}function Y(e,t,i){{var a=p.ReactDebugCurrentFrame,o=a.getStackAddendum();o!==""&&(t+="%s",i=i.concat([o]));var s=i.map(function(d){return String(d)});s.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,s)}}var z=0,$=1,oe=2,Z=3,ae=4,te=5,re=6,Be=7,de=8,Ue=9,tt=10,_e=11,$e=12,pe=13,xe=14,Oe=15,lt=16,kt=17,Tt=18,yt=19,un=21,Te=22,dt=23,qt=24,Dt=25,De=!0,le=!1,Le=!1,D=!1,X=!1,ye=!0,Ze=!1,Ye=!1,Ct=!0,ot=!0,Et=!0,ct=new Set,jt={},fa={};function Cr(e,t){Ti(e,t),Ti(e+"Capture",t)}function Ti(e,t){jt[e]&&C("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),jt[e]=t;{var i=e.toLowerCase();fa[i]=e,e==="onDoubleClick"&&(fa.ondblclick=e)}for(var a=0;a<t.length;a++)ct.add(t[a])}var hn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Zn=Object.prototype.hasOwnProperty;function Er(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function Rr(e){try{return Mn(e),!1}catch{return!0}}function Mn(e){return""+e}function Di(e,t){if(Rr(e))return C("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function da(e){if(Rr(e))return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Er(e)),Mn(e)}function Jn(e,t){if(Rr(e))return C("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function wr(e,t){if(Rr(e))return C("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Er(e)),Mn(e)}function Wi(e){if(Rr(e))return C("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Er(e)),Mn(e)}function br(e){if(Rr(e))return C("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.",Er(e)),Mn(e)}var _i=0,xr=1,ki=2,Vn=3,$r=4,Ul=5,Yi=6,ce=":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",Ne=ce+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",nt=new RegExp("^["+ce+"]["+Ne+"]*$"),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,C("Invalid attribute name: `%s`",e),!1)}function vn(e,t,i){return t!==null?t.type===_i:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Tr(e,t,i,a){if(i!==null&&i.type===_i)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(i!==null)return!i.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return o!=="data-"&&o!=="aria-"}default:return!1}}function Wt(e,t,i,a){if(t===null||typeof t>"u"||Tr(e,t,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case Vn:return!t;case $r:return t===!1;case Ul:return isNaN(t);case Yi:return isNaN(t)||t<1}return!1}function ri(e){return It.hasOwnProperty(e)?It[e]:null}function tn(e,t,i,a,o,s,d){this.acceptsBooleans=t===ki||t===Vn||t===$r,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=d}var It={},Fl=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Fl.forEach(function(e){It[e]=new tn(e,_i,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],i=e[1];It[t]=new tn(t,xr,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){It[e]=new tn(e,ki,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){It[e]=new tn(e,ki,!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){It[e]=new tn(e,Vn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){It[e]=new tn(e,Vn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){It[e]=new tn(e,$r,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){It[e]=new tn(e,Yi,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){It[e]=new tn(e,Ul,!1,e.toLowerCase(),null,!1,!1)});var pa=/[\-\:]([a-z])/g,Mo=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(pa,Mo);It[t]=new tn(t,xr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(pa,Mo);It[t]=new tn(t,xr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pa,Mo);It[t]=new tn(t,xr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){It[e]=new tn(e,xr,!1,e.toLowerCase(),null,!1,!1)});var Ws="xlinkHref";It[Ws]=new tn("xlinkHref",xr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){It[e]=new tn(e,xr,!1,e.toLowerCase(),null,!0,!0)});var Ys=/^[\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,Oo=!1;function Fu(e){!Oo&&Ys.test(e)&&(Oo=!0,C("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 Mi(e,t,i,a){if(a.mustUseProperty){var o=a.propertyName;return e[o]}else{Di(i,t),a.sanitizeURL&&Fu(""+i);var s=a.attributeName,d=null;if(a.type===$r){if(e.hasAttribute(s)){var v=e.getAttribute(s);return v===""?!0:Wt(t,i,a,!1)?v:v===""+i?i:v}}else if(e.hasAttribute(s)){if(Wt(t,i,a,!1))return e.getAttribute(s);if(a.type===Vn)return i;d=e.getAttribute(s)}return Wt(t,i,a,!1)?d===null?i:d:d===""+i?i:d}}function Ia(e,t,i,a){{if(!wn(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var o=e.getAttribute(t);return Di(i,t),o===""+i?i:o}}function Gi(e,t,i,a){var o=ri(t);if(!vn(t,o,a)){if(Wt(t,i,o,a)&&(i=null),a||o===null){if(wn(t)){var s=t;i===null?e.removeAttribute(s):(Di(i,t),e.setAttribute(s,""+i))}return}var d=o.mustUseProperty;if(d){var v=o.propertyName;if(i===null){var m=o.type;e[v]=m===Vn?!1:""}else e[v]=i;return}var R=o.attributeName,w=o.attributeNamespace;if(i===null)e.removeAttribute(R);else{var O=o.type,k;O===Vn||O===$r&&i===!0?k="":(Di(i,R),k=""+i,o.sanitizeURL&&Fu(k.toString())),w?e.setAttributeNS(w,R,k):e.setAttribute(R,k)}}}var $a=Symbol.for("react.element"),Wr=Symbol.for("react.portal"),Oi=Symbol.for("react.fragment"),Wa=Symbol.for("react.strict_mode"),Ya=Symbol.for("react.profiler"),Ao=Symbol.for("react.provider"),Hu=Symbol.for("react.context"),sn=Symbol.for("react.forward_ref"),ii=Symbol.for("react.suspense"),Hl=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Bn=Symbol.for("react.lazy"),Gs=Symbol.for("react.scope"),Qs=Symbol.for("react.debug_trace_mode"),Vu=Symbol.for("react.offscreen"),Xs=Symbol.for("react.legacy_hidden"),Ff=Symbol.for("react.cache"),Hf=Symbol.for("react.tracing_marker"),Zt=Symbol.iterator,Vf="@@iterator";function Ai(e){if(e===null||typeof e!="object")return null;var t=Zt&&e[Zt]||e[Vf];return typeof t=="function"?t:null}var rt=Object.assign,Qi=0,Qa,Lo,Xa,Dr,Bu,or,Pu;function ju(){}ju.__reactDisabledLog=!0;function Ks(){{if(Qi===0){Qa=console.log,Lo=console.info,Xa=console.warn,Dr=console.error,Bu=console.group,or=console.groupCollapsed,Pu=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ju,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Qi++}}function No(){{if(Qi--,Qi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:rt({},e,{value:Qa}),info:rt({},e,{value:Lo}),warn:rt({},e,{value:Xa}),error:rt({},e,{value:Dr}),group:rt({},e,{value:Bu}),groupCollapsed:rt({},e,{value:or}),groupEnd:rt({},e,{value:Pu})})}Qi<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ka=p.ReactCurrentDispatcher,Li;function ur(e,t,i){{if(Li===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);Li=a&&a[1]||""}return`
|
|
98
|
+
`+Li+e}}var qa=!1,Za;{var Ja=typeof WeakMap=="function"?WeakMap:Map;Za=new Ja}function zo(e,t){if(!e||qa)return"";{var i=Za.get(e);if(i!==void 0)return i}var a;qa=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=Ka.current,Ka.current=null,Ks();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(V){a=V}Reflect.construct(e,[],d)}else{try{d.call()}catch(V){a=V}e.call(d.prototype)}}else{try{throw Error()}catch(V){a=V}e()}}catch(V){if(V&&a&&typeof V.stack=="string"){for(var v=V.stack.split(`
|
|
99
99
|
`),m=a.stack.split(`
|
|
100
|
-
`),
|
|
101
|
-
`+v[
|
|
100
|
+
`),R=v.length-1,w=m.length-1;R>=1&&w>=0&&v[R]!==m[w];)w--;for(;R>=1&&w>=0;R--,w--)if(v[R]!==m[w]){if(R!==1||w!==1)do if(R--,w--,w<0||v[R]!==m[w]){var O=`
|
|
101
|
+
`+v[R].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&Za.set(e,O),O}while(R>=1&&w>=0);break}}}finally{qa=!1,Ka.current=s,No(),Error.prepareStackTrace=o}var k=e?e.displayName||e.name:"",F=k?ur(k):"";return typeof e=="function"&&Za.set(e,F),F}function Uo(e,t,i){return zo(e,!0)}function ha(e,t,i){return zo(e,!1)}function Bf(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Xi(e,t,i){if(e==null)return"";if(typeof e=="function")return zo(e,Bf(e));if(typeof e=="string")return ur(e);switch(e){case ii:return ur("Suspense");case Hl:return ur("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case sn:return ha(e.render);case Ga:return Xi(e.type,t,i);case Bn:{var a=e,o=a._payload,s=a._init;try{return Xi(s(o),t,i)}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 pe:return ur("Suspense");case yt:return ur("SuspenseList");case z:case oe:case Oe:return ha(e.type);case _e:return ha(e.type.render);case $:return Uo(e.type);default:return""}}function Fo(e){try{var t="",i=e;do t+=wt(i),i=i.return;while(i);return t}catch(a){return`
|
|
102
102
|
Error generating stack: `+a.message+`
|
|
103
|
-
`+a.stack}}function Vl(e,t,i){var a=e.displayName;if(a)return a;var o=t.displayName||t.name||"";return o!==""?i+"("+o+")":i}function
|
|
103
|
+
`+a.stack}}function Vl(e,t,i){var a=e.displayName;if(a)return a;var o=t.displayName||t.name||"";return o!==""?i+"("+o+")":i}function Ho(e){return e.displayName||"Context"}function gt(e){if(e==null)return null;if(typeof e.tag=="number"&&C("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 Oi:return"Fragment";case Wr:return"Portal";case Ya:return"Profiler";case Wa:return"StrictMode";case ii:return"Suspense";case Hl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hu:var t=e;return Ho(t)+".Consumer";case Ao:var i=e;return Ho(i._context)+".Provider";case sn:return Vl(e,e.render,"ForwardRef");case Ga:var a=e.displayName||null;return a!==null?a:gt(e.type)||"Memo";case Bn:{var o=e,s=o._payload,d=o._init;try{return gt(d(s))}catch{return null}}}return null}function Vo(e,t,i){var a=t.displayName||t.name||"";return e.displayName||(a!==""?i+"("+a+")":i)}function Bo(e){return e.displayName||"Context"}function Xe(e){var t=e.tag,i=e.type;switch(t){case qt:return"Cache";case Ue:var a=i;return Bo(a)+".Consumer";case tt:var o=i;return Bo(o._context)+".Provider";case Tt:return"DehydratedFragment";case _e:return Vo(i,i.render,"ForwardRef");case Be:return"Fragment";case te:return i;case ae:return"Portal";case Z:return"Root";case re:return"Text";case lt:return gt(i);case de:return i===Wa?"StrictMode":"Mode";case Te:return"Offscreen";case $e:return"Profiler";case un:return"Scope";case pe:return"Suspense";case yt:return"SuspenseList";case Dt:return"TracingMarker";case $:case z:case kt:case oe:case xe:case Oe:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;break}return null}var Bl=p.ReactDebugCurrentFrame,nn=null,_r=!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?"":Fo(nn)}function cn(){Bl.getCurrentStack=null,nn=null,_r=!1}function Mt(e){Bl.getCurrentStack=e===null?null:el,nn=e,_r=!1}function qs(){return nn}function kr(e){_r=e}function On(e){return""+e}function Ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return br(e),e;default:return""}}var Zs={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function va(e,t){Zs[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||C("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||C("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,i=e.nodeName;return i&&i.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Js(e){return e._valueTracker}function ai(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",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);br(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof i>"u"||typeof i.get!="function"||typeof i.set!="function")){var o=i.get,s=i.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(v){br(v),a=""+v,s.call(this,v)}}),Object.defineProperty(e,t,{enumerable:i.enumerable});var d={getValue:function(){return a},setValue:function(v){br(v),a=""+v},stopTracking:function(){ai(e),delete e[t]}};return d}}function li(e){Js(e)||(e._valueTracker=rl(e))}function Po(e){if(!e)return!1;var t=Js(e);if(!t)return!0;var i=t.getValue(),a=nl(e);return a!==i?(t.setValue(a),!0):!1}function il(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 al=!1,Pl=!1,jo=!1,Iu=!1;function Ni(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function g(e,t){var i=e,a=t.checked,o=rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??i._wrapperState.initialChecked});return o}function T(e,t){va("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Pl&&(C("%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),Pl=!0),t.value!==void 0&&t.defaultValue!==void 0&&!al&&(C("%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),al=!0);var i=e,a=t.defaultValue==null?"":t.defaultValue;i._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ki(t.value!=null?t.value:a),controlled:Ni(t)}}function H(e,t){var i=e,a=t.checked;a!=null&&Gi(i,"checked",a,!1)}function P(e,t){var i=e;{var a=Ni(t);!i._wrapperState.controlled&&a&&!Iu&&(C("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),i._wrapperState.controlled&&!a&&!jo&&(C("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"),jo=!0)}H(e,t);var o=Ki(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=On(o)):i.value!==On(o)&&(i.value=On(o));else if(s==="submit"||s==="reset"){i.removeAttribute("value");return}t.hasOwnProperty("value")?He(i,t.type,o):t.hasOwnProperty("defaultValue")&&He(i,t.type,Ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(i.defaultChecked=!!t.defaultChecked)}function ne(e,t,i){var a=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(a._wrapperState.initialValue);i||d!==a.value&&(a.value=d),a.defaultValue=d}var v=a.name;v!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,v!==""&&(a.name=v)}function Pe(e,t){var i=e;P(i,t),fe(i,t)}function fe(e,t){var i=t.name;if(t.type==="radio"&&i!=null){for(var a=e;a.parentNode;)a=a.parentNode;Di(i,"name");for(var o=a.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),s=0;s<o.length;s++){var d=o[s];if(!(d===e||d.form!==e.form)){var v=Cv(d);if(!v)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Po(d),P(d,v)}}}}function He(e,t,i){(t!=="number"||il(e.ownerDocument)!==e)&&(i==null?e.defaultValue=On(e._wrapperState.initialValue):e.defaultValue!==On(i)&&(e.defaultValue=On(i)))}var it=!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(i){i!=null&&(typeof i=="string"||typeof i=="number"||St||(St=!0,C("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,C("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!it&&(C("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),it=!0)}function Vt(e,t){t.value!=null&&e.setAttribute("value",On(Ki(t.value)))}var $t=Array.isArray;function ft(e){return $t(e)}var ma;ma=!1;function Io(){var e=sr();return e?`
|
|
104
104
|
|
|
105
|
-
Check the render method of \``+e+"`.":""}var $u=["value","defaultValue"];function Bf(e){{va("select",e);for(var t=0;t<$u.length;t++){var i=$u[t];if(e[i]!=null){var a=st(e[i]);e.multiple&&!a?C("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,Po()):!e.multiple&&a&&C("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,Po())}}}}function zi(e,t,i,a){var o=e.options;if(t){for(var s=i,d={},v=0;v<s.length;v++)d["$"+s[v]]=!0;for(var m=0;m<o.length;m++){var E=d.hasOwnProperty("$"+o[m].value);o[m].selected!==E&&(o[m].selected=E),E&&a&&(o[m].defaultSelected=!0)}}else{for(var w=On(Ki(i)),O=null,k=0;k<o.length;k++){if(o[k].value===w){o[k].selected=!0,a&&(o[k].defaultSelected=!0);return}O===null&&!o[k].disabled&&(O=o[k])}O!==null&&(O.selected=!0)}}function Iu(e,t){return tt({},t,{value:void 0})}function Wu(e,t){var i=e;Bf(t),i._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!ma&&(C("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"),ma=!0)}function Pf(e,t){var i=e;i.multiple=!!t.multiple;var a=t.value;a!=null?zi(i,!!t.multiple,a,!1):t.defaultValue!=null&&zi(i,!!t.multiple,t.defaultValue,!0)}function Fm(e,t){var i=e,a=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!t.multiple;var o=t.value;o!=null?zi(i,!!t.multiple,o,!1):a!==!!t.multiple&&(t.defaultValue!=null?zi(i,!!t.multiple,t.defaultValue,!0):zi(i,!!t.multiple,t.multiple?[]:"",!1))}function Hm(e,t){var i=e,a=t.value;a!=null&&zi(i,!!t.multiple,a,!1)}var $f=!1;function If(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=tt({},t,{value:void 0,defaultValue:void 0,children:On(i._wrapperState.initialValue)});return a}function Xp(e,t){var i=e;va("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!$f&&(C("%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"),$f=!0);var a=t.value;if(a==null){var o=t.children,s=t.defaultValue;if(o!=null){C("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(st(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}s=o}}s==null&&(s=""),a=s}i._wrapperState={initialValue:Ki(a)}}function Kp(e,t){var i=e,a=Ki(t.value),o=Ki(t.defaultValue);if(a!=null){var s=On(a);s!==i.value&&(i.value=s),t.defaultValue==null&&i.defaultValue!==s&&(i.defaultValue=s)}o!=null&&(i.defaultValue=On(o))}function qp(e,t){var i=e,a=i.textContent;a===i._wrapperState.initialValue&&a!==""&&a!==null&&(i.value=a)}function Wf(e,t){Kp(e,t)}var ya="http://www.w3.org/1999/xhtml",Vm="http://www.w3.org/1998/Math/MathML",Yf="http://www.w3.org/2000/svg";function ec(e){switch(e){case"svg":return Yf;case"math":return Vm;default:return ya}}function Gf(e,t){return e==null||e===ya?ec(t):e===Yf&&t==="foreignObject"?ya:e}var jm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,a,o){MSApp.execUnsafeLocalFunction(function(){return e(t,i,a,o)})}:e},tc,Zp=jm(function(e,t){if(e.namespaceURI===Yf&&!("innerHTML"in e)){tc=tc||document.createElement("div"),tc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var i=tc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;i.firstChild;)e.appendChild(i.firstChild);return}e.innerHTML=t}),Mr=1,ga=3,gn=8,Ui=9,Pl=11,nc=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===ga){i.nodeValue=t;return}}e.textContent=t},Jp={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"]},$o={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 eh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var th=["Webkit","ms","Moz","O"];Object.keys($o).forEach(function(e){th.forEach(function(t){$o[eh(t,e)]=$o[e]})});function rc(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!($o.hasOwnProperty(e)&&$o[e])?t+"px":(wr(t,e),(""+t).trim())}var Io=/([A-Z])/g,Bm=/^ms-/;function Pm(e){return e.replace(Io,"-$1").toLowerCase().replace(Bm,"-ms-")}var nh=function(){};{var rh=/^(?:webkit|moz|o)[A-Z]/,ih=/^-ms-/,Yu=/-(.)/g,Wo=/;\s*$/,Yo={},Go={},ah=!1,Qf=!1,Xf=function(e){return e.replace(Yu,function(t,i){return i.toUpperCase()})},Kf=function(e){Yo.hasOwnProperty(e)&&Yo[e]||(Yo[e]=!0,C("Unsupported style property %s. Did you mean %s?",e,Xf(e.replace(ih,"ms-"))))},lh=function(e){Yo.hasOwnProperty(e)&&Yo[e]||(Yo[e]=!0,C("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},oh=function(e,t){Go.hasOwnProperty(t)&&Go[t]||(Go[t]=!0,C(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Wo,"")))},uh=function(e,t){ah||(ah=!0,C("`NaN` is an invalid value for the `%s` css style property.",e))},$m=function(e,t){Qf||(Qf=!0,C("`Infinity` is an invalid value for the `%s` css style property.",e))};nh=function(e,t){e.indexOf("-")>-1?Kf(e):rh.test(e)?lh(e):Wo.test(t)&&oh(e,t),typeof t=="number"&&(isNaN(t)?uh(e,t):isFinite(t)||$m(e,t))}}var Im=nh;function Wm(e){{var t="",i="";for(var a in e)if(e.hasOwnProperty(a)){var o=e[a];if(o!=null){var s=a.indexOf("--")===0;t+=i+(s?a:Pm(a))+":",t+=rc(a,o,s),i=";"}}return t||null}}function sh(e,t){var i=e.style;for(var a in t)if(t.hasOwnProperty(a)){var o=a.indexOf("--")===0;o||Im(a,t[a]);var s=rc(a,t[a],o);a==="float"&&(a="cssFloat"),o?i.setProperty(a,s):i[a]=s}}function Ym(e){return e==null||typeof e=="boolean"||e===""}function oi(e){var t={};for(var i in e)for(var a=Jp[i]||[i],o=0;o<a.length;o++)t[a[o]]=i;return t}function Gu(e,t){{if(!t)return;var i=oi(e),a=oi(t),o={};for(var s in i){var d=i[s],v=a[s];if(v&&d!==v){var m=d+","+v;if(o[m])continue;o[m]=!0,C("%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.",Ym(e[d])?"Removing":"Updating",d,v)}}}}var ch={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},fh=tt({menuitem:!0},ch),dh="__html";function ic(e,t){if(t){if(fh[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"||!(dh 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&&C("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 Sa(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 ac={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"},ph={"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},Fi={},qf=new RegExp("^(aria)-["+Ne+"]*$"),Qu=new RegExp("^(aria)[A-Z]["+Ne+"]*$");function Zf(e,t){{if(Zn.call(Fi,t)&&Fi[t])return!0;if(Qu.test(t)){var i="aria-"+t.slice(4).toLowerCase(),a=ph.hasOwnProperty(i)?i:null;if(a==null)return C("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Fi[t]=!0,!0;if(t!==a)return C("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),Fi[t]=!0,!0}if(qf.test(t)){var o=t.toLowerCase(),s=ph.hasOwnProperty(o)?o:null;if(s==null)return Fi[t]=!0,!1;if(t!==s)return C("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),Fi[t]=!0,!0}}return!0}function hh(e,t){{var i=[];for(var a in t){var o=Zf(e,a);o||i.push(a)}var s=i.map(function(d){return"`"+d+"`"}).join(", ");i.length===1?C("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):i.length>1&&C("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function lc(e,t){Sa(e,t)||hh(e,t)}var $l=!1;function Jf(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!$l&&($l=!0,e==="select"&&t.multiple?C("`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):C("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var ed=function(){};{var Ln={},td=/^on./,vh=/^on[^A-Z]/,mh=new RegExp("^(aria)-["+Ne+"]*$"),yh=new RegExp("^(aria)[A-Z]["+Ne+"]*$");ed=function(e,t,i,a){if(Zn.call(Ln,t)&&Ln[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return C("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."),Ln[t]=!0,!0;if(a!=null){var s=a.registrationNameDependencies,d=a.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var v=d.hasOwnProperty(o)?d[o]:null;if(v!=null)return C("Invalid event handler property `%s`. Did you mean `%s`?",t,v),Ln[t]=!0,!0;if(td.test(t))return C("Unknown event handler property `%s`. It will be ignored.",t),Ln[t]=!0,!0}else if(td.test(t))return vh.test(t)&&C("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ln[t]=!0,!0;if(mh.test(t)||yh.test(t))return!0;if(o==="innerhtml")return C("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ln[t]=!0,!0;if(o==="aria")return C("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ln[t]=!0,!0;if(o==="is"&&i!==null&&i!==void 0&&typeof i!="string")return C("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),Ln[t]=!0,!0;if(typeof i=="number"&&isNaN(i))return C("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ln[t]=!0,!0;var m=ri(t),E=m!==null&&m.type===_i;if(ac.hasOwnProperty(o)){var w=ac[o];if(w!==t)return C("Invalid DOM property `%s`. Did you mean `%s`?",t,w),Ln[t]=!0,!0}else if(!E&&t!==o)return C("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),Ln[t]=!0,!0;return typeof i=="boolean"&&Tr(t,i,m,!1)?(i?C('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()}.',i,t,t,i,t):C('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.',i,t,t,i,t,t,t),Ln[t]=!0,!0):E?!0:Tr(t,i,m,!1)?(Ln[t]=!0,!1):((i==="false"||i==="true")&&m!==null&&m.type===Vn&&(C("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="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,i),Ln[t]=!0),!0)}}var gh=function(e,t,i){{var a=[];for(var o in t){var s=ed(e,o,t[o],i);s||a.push(o)}var d=a.map(function(v){return"`"+v+"`"}).join(", ");a.length===1?C("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):a.length>1&&C("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 Sh(e,t,i){Sa(e,t)||gh(e,t,i)}var Ca=1,Xu=1<<1,Il=1<<2,Gm=Ca|Xu|Il,Ku=null;function qu(e){Ku!==null&&C("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Ku=e}function Qm(){Ku===null&&C("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Ku=null}function Ch(e){return e===Ku}function oc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ga?t.parentNode:t}var Ht=null,ll=null,Ea=null;function Qo(e){var t=Cu(e);if(t){if(typeof Ht!="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 i=t.stateNode;if(i){var a=Cv(i);Ht(t.stateNode,t.type,a)}}}function Eh(e){Ht=e}function uc(e){ll?Ea?Ea.push(e):Ea=[e]:ll=e}function Zu(){return ll!==null||Ea!==null}function Ju(){if(ll){var e=ll,t=Ea;if(ll=null,Ea=null,Qo(e),t)for(var i=0;i<t.length;i++)Qo(t[i])}}var Wl=function(e,t){return e(t)},nd=function(){},rd=!1;function Xm(){var e=Zu();e&&(nd(),Ju())}function id(e,t,i){if(rd)return e(t,i);rd=!0;try{return Wl(e,t,i)}finally{rd=!1,Xm()}}function sc(e,t,i){Wl=e,nd=i}function cc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function ad(e,t,i){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!!(i.disabled&&cc(t));default:return!1}}function Yl(e,t){var i=e.stateNode;if(i===null)return null;var a=Cv(i);if(a===null)return null;var o=a[t];if(ad(t,e.type,a))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 es=!1;if(pn)try{var Gl={};Object.defineProperty(Gl,"passive",{get:function(){es=!0}}),window.addEventListener("test",Gl,Gl),window.removeEventListener("test",Gl,Gl)}catch{es=!1}function Rh(e,t,i,a,o,s,d,v,m){var E=Array.prototype.slice.call(arguments,3);try{t.apply(i,E)}catch(w){this.onError(w)}}var ld=Rh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var od=document.createElement("react");ld=function(t,i,a,o,s,d,v,m,E){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,k=!0,U=window.event,H=Object.getOwnPropertyDescriptor(window,"event");function P(){od.removeEventListener($,Ue,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=U)}var me=Array.prototype.slice.call(arguments,3);function Ue(){O=!0,P(),i.apply(a,me),k=!1}var Me,ht=!1,ot=!1;function A(N){if(Me=N.error,ht=!0,Me===null&&N.colno===0&&N.lineno===0&&(ot=!0),N.defaultPrevented&&Me!=null&&typeof Me=="object")try{Me._suppressLogging=!0}catch{}}var $="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",A),od.addEventListener($,Ue,!1),w.initEvent($,!1,!1),od.dispatchEvent(w),H&&Object.defineProperty(window,"event",H),O&&k&&(ht?ot&&(Me=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.")):Me=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(Me)),window.removeEventListener("error",A),!O)return P(),Rh.apply(this,arguments)}}var Km=ld,ol=!1,Hi=null,ts=!1,ul=null,qi={onError:function(e){ol=!0,Hi=e}};function Ql(e,t,i,a,o,s,d,v,m){ol=!1,Hi=null,Km.apply(qi,arguments)}function Ra(e,t,i,a,o,s,d,v,m){if(Ql.apply(this,arguments),ol){var E=sd();ts||(ts=!0,ul=E)}}function ud(){if(ts){var e=ul;throw ts=!1,ul=null,e}}function qm(){return ol}function sd(){if(ol){var e=Hi;return ol=!1,Hi=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 ui(e){return e._reactInternals}function ns(e){return e._reactInternals!==void 0}function Xo(e,t){e._reactInternals=t}var ze=0,sl=1,Yt=2,qe=4,xt=16,_t=32,Zi=64,We=128,cn=256,Or=512,si=1024,Jt=2048,ci=4096,cl=8192,rs=16384,fc=Jt|qe|Zi|Or|si|rs,wh=32767,Yr=32768,An=65536,is=131072,cd=1048576,fd=2097152,Lr=4194304,fl=8388608,Ar=16777216,Xl=33554432,Ko=qe|si|0,Nr=Yt|qe|xt|_t|Or|ci|cl,er=qe|Zi|Or|cl,fi=Jt|xt,Bn=Lr|fl|fd,wa=p.ReactCurrentOwner;function Gr(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(Yt|ci))!==ze&&(i=t.return),a=t.return;while(a)}return t.tag===J?i:null}function dd(e){if(e.tag===Ce){var t=e.memoizedState;if(t===null){var i=e.alternate;i!==null&&(t=i.memoizedState)}if(t!==null)return t.dehydrated}return null}function dc(e){return e.tag===J?e.stateNode.containerInfo:null}function pd(e){return Gr(e)===e}function Qr(e){{var t=wa.current;if(t!==null&&t.tag===K){var i=t,a=i.stateNode;a._warnedAboutRefsInRender||C("%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.",Ge(i)||"A component"),a._warnedAboutRefsInRender=!0}}var o=ui(e);return o?Gr(o)===o:!1}function zr(e){if(Gr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Gt(e){var t=e.alternate;if(!t){var i=Gr(e);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==e?null:e}for(var a=e,o=t;;){var s=a.return;if(s===null)break;var d=s.alternate;if(d===null){var v=s.return;if(v!==null){a=o=v;continue}break}if(s.child===d.child){for(var m=s.child;m;){if(m===a)return zr(s),e;if(m===o)return zr(s),t;m=m.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=s,o=d;else{for(var E=!1,w=s.child;w;){if(w===a){E=!0,a=s,o=d;break}if(w===o){E=!0,o=s,a=d;break}w=w.sibling}if(!E){for(w=d.child;w;){if(w===a){E=!0,a=d,o=s;break}if(w===o){E=!0,o=d,a=s;break}w=w.sibling}if(!E)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(a.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(a.tag!==J)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function di(e){var t=Gt(e);return t!==null?hd(t):null}function hd(e){if(e.tag===X||e.tag===le)return e;for(var t=e.child;t!==null;){var i=hd(t);if(i!==null)return i;t=t.sibling}return null}function bh(e){var t=Gt(e);return t!==null?pc(t):null}function pc(e){if(e.tag===X||e.tag===le)return e;for(var t=e.child;t!==null;){if(t.tag!==ae){var i=pc(t);if(i!==null)return i}t=t.sibling}return null}var hc=c.unstable_scheduleCallback,xh=c.unstable_cancelCallback,vc=c.unstable_shouldYield,Th=c.unstable_requestPaint,rn=c.unstable_now,vd=c.unstable_getCurrentPriorityLevel,mc=c.unstable_ImmediatePriority,Xr=c.unstable_UserBlockingPriority,Ji=c.unstable_NormalPriority,yc=c.unstable_LowPriority,dl=c.unstable_IdlePriority,md=c.unstable_yieldValue,yd=c.unstable_setDisableYieldValue,pl=null,Nn=null,oe=null,vn=!1,Pn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function gd(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 C("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{gt&&(e=tt({},e,{getLaneLabelMap:vl,injectProfilingHooks:xa})),pl=t.inject(e),Nn=t}catch(i){C("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function Dh(e,t){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(pl,e,t)}catch(i){vn||(vn=!0,C("React instrumentation encountered an error: %s",i))}}function ba(e,t){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{var i=(e.current.flags&We)===We;if(at){var a;switch(t){case tr:a=mc;break;case $n:a=Xr;break;case Da:a=Ji;break;case ps:a=dl;break;default:a=Ji;break}Nn.onCommitFiberRoot(pl,e,a,i)}}catch(o){vn||(vn=!0,C("React instrumentation encountered an error: %s",o))}}function hl(e){if(Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(pl,e)}catch(t){vn||(vn=!0,C("React instrumentation encountered an error: %s",t))}}function Sd(e){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(pl,e)}catch(t){vn||(vn=!0,C("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof md=="function"&&(yd(e),R(e)),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(pl,e)}catch(t){vn||(vn=!0,C("React instrumentation encountered an error: %s",t))}}function xa(e){oe=e}function vl(){{for(var e=new Map,t=1,i=0;i<Qt;i++){var a=Zm(t);e.set(t,a),t*=2}return e}}function gc(e){oe!==null&&typeof oe.markCommitStarted=="function"&&oe.markCommitStarted(e)}function Cd(){oe!==null&&typeof oe.markCommitStopped=="function"&&oe.markCommitStopped()}function ml(e){oe!==null&&typeof oe.markComponentRenderStarted=="function"&&oe.markComponentRenderStarted(e)}function Kl(){oe!==null&&typeof oe.markComponentRenderStopped=="function"&&oe.markComponentRenderStopped()}function _h(e){oe!==null&&typeof oe.markComponentPassiveEffectMountStarted=="function"&&oe.markComponentPassiveEffectMountStarted(e)}function Ed(){oe!==null&&typeof oe.markComponentPassiveEffectMountStopped=="function"&&oe.markComponentPassiveEffectMountStopped()}function Sc(e){oe!==null&&typeof oe.markComponentPassiveEffectUnmountStarted=="function"&&oe.markComponentPassiveEffectUnmountStarted(e)}function kh(){oe!==null&&typeof oe.markComponentPassiveEffectUnmountStopped=="function"&&oe.markComponentPassiveEffectUnmountStopped()}function Mh(e){oe!==null&&typeof oe.markComponentLayoutEffectMountStarted=="function"&&oe.markComponentLayoutEffectMountStarted(e)}function Oh(){oe!==null&&typeof oe.markComponentLayoutEffectMountStopped=="function"&&oe.markComponentLayoutEffectMountStopped()}function Cc(e){oe!==null&&typeof oe.markComponentLayoutEffectUnmountStarted=="function"&&oe.markComponentLayoutEffectUnmountStarted(e)}function qo(){oe!==null&&typeof oe.markComponentLayoutEffectUnmountStopped=="function"&&oe.markComponentLayoutEffectUnmountStopped()}function Ec(e,t,i){oe!==null&&typeof oe.markComponentErrored=="function"&&oe.markComponentErrored(e,t,i)}function Lh(e,t,i){oe!==null&&typeof oe.markComponentSuspended=="function"&&oe.markComponentSuspended(e,t,i)}function Ah(e){oe!==null&&typeof oe.markLayoutEffectsStarted=="function"&&oe.markLayoutEffectsStarted(e)}function Zo(){oe!==null&&typeof oe.markLayoutEffectsStopped=="function"&&oe.markLayoutEffectsStopped()}function Nh(e){oe!==null&&typeof oe.markPassiveEffectsStarted=="function"&&oe.markPassiveEffectsStarted(e)}function as(){oe!==null&&typeof oe.markPassiveEffectsStopped=="function"&&oe.markPassiveEffectsStopped()}function Vi(e){oe!==null&&typeof oe.markRenderStarted=="function"&&oe.markRenderStarted(e)}function ls(){oe!==null&&typeof oe.markRenderYielded=="function"&&oe.markRenderYielded()}function Jo(){oe!==null&&typeof oe.markRenderStopped=="function"&&oe.markRenderStopped()}function ql(e){oe!==null&&typeof oe.markRenderScheduled=="function"&&oe.markRenderScheduled(e)}function Rd(e,t){oe!==null&&typeof oe.markForceUpdateScheduled=="function"&&oe.markForceUpdateScheduled(e,t)}function yl(e,t){oe!==null&&typeof oe.markStateUpdateScheduled=="function"&&oe.markStateUpdateScheduled(e,t)}var He=0,rt=1,je=2,an=8,pi=16,Rc=Math.clz32?Math.clz32:Zl,wc=Math.log,wd=Math.LN2;function Zl(e){var t=e>>>0;return t===0?32:31-(wc(t)/wd|0)|0}var Qt=31,W=0,dt=0,Be=1,ea=2,Kr=4,Jl=8,Xt=16,eo=32,gl=4194240,to=64,hi=128,Ur=256,no=512,os=1024,us=2048,bc=4096,xc=8192,Tc=16384,Dc=32768,_c=65536,kc=131072,Mc=262144,Oc=524288,ro=1048576,Lc=2097152,io=130023424,Ta=4194304,Ac=8388608,ss=16777216,Nc=33554432,zc=67108864,bd=Ta,eu=134217728,Uc=268435455,tu=268435456,Sl=536870912,Fr=1073741824;function Zm(e){{if(e&Be)return"Sync";if(e&ea)return"InputContinuousHydration";if(e&Kr)return"InputContinuous";if(e&Jl)return"DefaultHydration";if(e&Xt)return"Default";if(e&eo)return"TransitionHydration";if(e&gl)return"Transition";if(e&io)return"Retry";if(e&eu)return"SelectiveHydration";if(e&tu)return"IdleHydration";if(e&Sl)return"Idle";if(e&Fr)return"Offscreen"}}var Vt=-1,Fc=to,Hc=Ta;function nu(e){switch(Sn(e)){case Be:return Be;case ea:return ea;case Kr:return Kr;case Jl:return Jl;case Xt:return Xt;case eo:return eo;case to:case hi:case Ur:case no:case os:case us:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:return e≷case Ta:case Ac:case ss:case Nc:case zc:return e&io;case eu:return eu;case tu:return tu;case Sl:return Sl;case Fr:return Fr;default:return C("Should have found matching lanes. This is a bug in React."),e}}function cs(e,t){var i=e.pendingLanes;if(i===W)return W;var a=W,o=e.suspendedLanes,s=e.pingedLanes,d=i&Uc;if(d!==W){var v=d&~o;if(v!==W)a=nu(v);else{var m=d&s;m!==W&&(a=nu(m))}}else{var E=i&~o;E!==W?a=nu(E):s!==W&&(a=nu(s))}if(a===W)return W;if(t!==W&&t!==a&&(t&o)===W){var w=Sn(a),O=Sn(t);if(w>=O||w===Xt&&(O&gl)!==W)return t}(a&Kr)!==W&&(a|=i&Xt);var k=e.entangledLanes;if(k!==W)for(var U=e.entanglements,H=a&k;H>0;){var P=Cl(H),me=1<<P;a|=U[P],H&=~me}return a}function zh(e,t){for(var i=e.eventTimes,a=Vt;t>0;){var o=Cl(t),s=1<<o,d=i[o];d>a&&(a=d),t&=~s}return a}function Vc(e,t){switch(e){case Be:case ea:case Kr:return t+250;case Jl:case Xt:case eo:case to:case hi:case Ur:case no:case os:case us:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:return t+5e3;case Ta:case Ac:case ss:case Nc:case zc:return Vt;case eu:case tu:case Sl:case Fr:return Vt;default:return C("Should have found matching lanes. This is a bug in React."),Vt}}function Jm(e,t){for(var i=e.pendingLanes,a=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=i;d>0;){var v=Cl(d),m=1<<v,E=s[v];E===Vt?((m&a)===W||(m&o)!==W)&&(s[v]=Vc(m,t)):E<=t&&(e.expiredLanes|=m),d&=~m}}function ey(e){return nu(e.pendingLanes)}function xd(e){var t=e.pendingLanes&~Fr;return t!==W?t:t&Fr?Fr:W}function ru(e){return(e&Be)!==W}function fs(e){return(e&Uc)!==W}function jc(e){return(e&io)===e}function ty(e){var t=Be|Kr|Xt;return(e&t)===W}function Uh(e){return(e&gl)===e}function ds(e,t){var i=ea|Kr|Jl|Xt;return(t&i)!==W}function Fh(e,t){return(t&e.expiredLanes)!==W}function Td(e){return(e&gl)!==W}function Dd(){var e=Fc;return Fc<<=1,(Fc&gl)===W&&(Fc=to),e}function ny(){var e=Hc;return Hc<<=1,(Hc&io)===W&&(Hc=Ta),e}function Sn(e){return e&-e}function xn(e){return Sn(e)}function Cl(e){return 31-Rc(e)}function Bc(e){return Cl(e)}function Hr(e,t){return(e&t)!==W}function ao(e,t){return(e&t)===t}function Ze(e,t){return e|t}function iu(e,t){return e&~t}function _d(e,t){return e&t}function Hh(e){return e}function Vh(e,t){return e!==dt&&e<t?e:t}function Pc(e){for(var t=[],i=0;i<Qt;i++)t.push(e);return t}function lo(e,t,i){e.pendingLanes|=t,t!==Sl&&(e.suspendedLanes=W,e.pingedLanes=W);var a=e.eventTimes,o=Bc(t);a[o]=i}function kd(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var i=e.expirationTimes,a=t;a>0;){var o=Cl(a),s=1<<o;i[o]=Vt,a&=~s}}function Md(e,t,i){e.pingedLanes|=e.suspendedLanes&t}function Od(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=W,e.pingedLanes=W,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,o=e.eventTimes,s=e.expirationTimes,d=i;d>0;){var v=Cl(d),m=1<<v;a[v]=W,o[v]=Vt,s[v]=Vt,d&=~m}}function au(e,t){for(var i=e.entangledLanes|=t,a=e.entanglements,o=i;o;){var s=Cl(o),d=1<<s;d&t|a[s]&t&&(a[s]|=t),o&=~d}}function ry(e,t){var i=Sn(t),a;switch(i){case Kr:a=ea;break;case Xt:a=Jl;break;case to:case hi:case Ur:case no:case os:case us:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:case Ta:case Ac:case ss:case Nc:case zc:a=eo;break;case Sl:a=tu;break;default:a=dt;break}return(a&(e.suspendedLanes|t))!==dt?dt:a}function Ld(e,t,i){if(Pn)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=Bc(i),s=1<<o,d=a[o];d.add(t),i&=~s}}function $c(e,t){if(Pn)for(var i=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var o=Bc(t),s=1<<o,d=i[o];d.size>0&&(d.forEach(function(v){var m=v.alternate;(m===null||!a.has(m))&&a.add(v)}),d.clear()),t&=~s}}function Ad(e,t){return null}var tr=Be,$n=Kr,Da=Xt,ps=Sl,oo=dt;function vi(){return oo}function Tn(e){oo=e}function hs(e,t){var i=oo;try{return oo=e,t()}finally{oo=i}}function nr(e,t){return e!==0&&e<t?e:t}function iy(e,t){return e===0||e>t?e:t}function Nd(e,t){return e!==0&&e<t}function vs(e){var t=Sn(e);return Nd(tr,t)?Nd($n,t)?fs(t)?Da:ps:$n:tr}function Dn(e){var t=e.current.memoizedState;return t.isDehydrated}var jh;function Se(e){jh=e}function lu(e){jh(e)}var ms;function Bh(e){ms=e}var Ph;function ys(e){Ph=e}var gs;function zd(e){gs=e}var Ud;function $h(e){Ud=e}var Ic=!1,ou=[],ta=null,en=null,zn=null,mi=new Map,uu=new Map,_a=[],ji=["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 Ih(e){return ji.indexOf(e)>-1}function na(e,t,i,a,o){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]}}function Wh(e,t){switch(e){case"focusin":case"focusout":ta=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;mi.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;uu.delete(a);break}}}function su(e,t,i,a,o,s){if(e===null||e.nativeEvent!==s){var d=na(t,i,a,o,s);if(t!==null){var v=Cu(t);v!==null&&ms(v)}return d}e.eventSystemFlags|=a;var m=e.targetContainers;return o!==null&&m.indexOf(o)===-1&&m.push(o),e}function Yh(e,t,i,a,o){switch(t){case"focusin":{var s=o;return ta=su(ta,e,t,i,a,s),!0}case"dragenter":{var d=o;return en=su(en,e,t,i,a,d),!0}case"mouseover":{var v=o;return zn=su(zn,e,t,i,a,v),!0}case"pointerover":{var m=o,E=m.pointerId;return mi.set(E,su(mi.get(E)||null,e,t,i,a,m)),!0}case"gotpointercapture":{var w=o,O=w.pointerId;return uu.set(O,su(uu.get(O)||null,e,t,i,a,w)),!0}}return!1}function Fd(e){var t=Ds(e.target);if(t!==null){var i=Gr(t);if(i!==null){var a=i.tag;if(a===Ce){var o=dd(i);if(o!==null){e.blockedOn=o,Ud(e.priority,function(){Ph(i)});return}}else if(a===J){var s=i.stateNode;if(Dn(s)){e.blockedOn=dc(i);return}}}}e.blockedOn=null}function Gh(e){for(var t=gs(),i={blockedOn:null,target:e,priority:t},a=0;a<_a.length&&Nd(t,_a[a].priority);a++);_a.splice(a,0,i),a===0&&Fd(i)}function Wc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],a=uo(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(a===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);qu(s),o.target.dispatchEvent(s),Qm()}else{var d=Cu(a);return d!==null&&ms(d),e.blockedOn=a,!1}t.shift()}return!0}function Ss(e,t,i){Wc(e)&&i.delete(t)}function Hd(){Ic=!1,ta!==null&&Wc(ta)&&(ta=null),en!==null&&Wc(en)&&(en=null),zn!==null&&Wc(zn)&&(zn=null),mi.forEach(Ss),uu.forEach(Ss)}function rr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ic||(Ic=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Hd)))}function lt(e){if(ou.length>0){rr(ou[0],e);for(var t=1;t<ou.length;t++){var i=ou[t];i.blockedOn===e&&(i.blockedOn=null)}}ta!==null&&rr(ta,e),en!==null&&rr(en,e),zn!==null&&rr(zn,e);var a=function(v){return rr(v,e)};mi.forEach(a),uu.forEach(a);for(var o=0;o<_a.length;o++){var s=_a[o];s.blockedOn===e&&(s.blockedOn=null)}for(;_a.length>0;){var d=_a[0];if(d.blockedOn!==null)break;Fd(d),d.blockedOn===null&&_a.shift()}}var ln=p.ReactCurrentBatchConfig,fn=!0;function Un(e){fn=!!e}function qr(){return fn}function cu(e,t,i){var a=cr(t),o;switch(a){case tr:o=_n;break;case $n:o=Cs;break;case Da:default:o=ka;break}return o.bind(null,t,i,e)}function _n(e,t,i,a){var o=vi(),s=ln.transition;ln.transition=null;try{Tn(tr),ka(e,t,i,a)}finally{Tn(o),ln.transition=s}}function Cs(e,t,i,a){var o=vi(),s=ln.transition;ln.transition=null;try{Tn($n),ka(e,t,i,a)}finally{Tn(o),ln.transition=s}}function ka(e,t,i,a){fn&&Yc(e,t,i,a)}function Yc(e,t,i,a){var o=uo(e,t,i,a);if(o===null){by(e,t,a,fu,i),Wh(e,a);return}if(Yh(o,e,t,i,a)){a.stopPropagation();return}if(Wh(e,a),t&Il&&Ih(e)){for(;o!==null;){var s=Cu(o);s!==null&&lu(s);var d=uo(e,t,i,a);if(d===null&&by(e,t,a,fu,i),d===o)break;o=d}o!==null&&a.stopPropagation();return}by(e,t,a,null,i)}var fu=null;function uo(e,t,i,a){fu=null;var o=oc(a),s=Ds(o);if(s!==null){var d=Gr(s);if(d===null)s=null;else{var v=d.tag;if(v===Ce){var m=dd(d);if(m!==null)return m;s=null}else if(v===J){var E=d.stateNode;if(Dn(E))return dc(d);s=null}else d!==s&&(s=null)}}return fu=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=vd();switch(t){case mc:return tr;case Xr:return $n;case Ji:case yc:return Da;case dl:return ps;default:return Da}}default:return Da}}function Vd(e,t,i){return e.addEventListener(t,i,!1),i}function du(e,t,i){return e.addEventListener(t,i,!0),i}function Ma(e,t,i,a){return e.addEventListener(t,i,{capture:!0,passive:a}),i}function Gc(e,t,i,a){return e.addEventListener(t,i,{passive:a}),i}var so=null,ra=null,El=null;function Rl(e){return so=e,ra=Xc(),!0}function Qc(){so=null,ra=null,El=null}function pu(){if(El)return El;var e,t=ra,i=t.length,a,o=Xc(),s=o.length;for(e=0;e<i&&t[e]===o[e];e++);var d=i-e;for(a=1;a<=d&&t[i-a]===o[s-a];a++);var v=a>1?1-a:void 0;return El=o.slice(e,v),El}function Xc(){return"value"in so?so.value:so.textContent}function co(e){var t,i=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),t>=32||t===13?t:0}function fo(){return!0}function ir(){return!1}function Cn(e){function t(i,a,o,s,d){this._reactName=i,this._targetInst=o,this.type=a,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var v in e)if(e.hasOwnProperty(v)){var m=e[v];m?this[v]=m(s):this[v]=s[v]}var E=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return E?this.isDefaultPrevented=fo:this.isDefaultPrevented=ir,this.isPropagationStopped=ir,this}return tt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=fo)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=fo)},persist:function(){},isPersistent:fo}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lr=Cn(ar),hu=tt({},ar,{view:0,detail:0}),jd=Cn(hu),Es,Bd,yi;function Qh(e){e!==yi&&(yi&&e.type==="mousemove"?(Es=e.screenX-yi.screenX,Bd=e.screenY-yi.screenY):(Es=0,Bd=0),yi=e)}var vu=tt({},hu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zc,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:(Qh(e),Es)},movementY:function(e){return"movementY"in e?e.movementY:Bd}}),wl=Cn(vu),Pd=tt({},vu,{dataTransfer:0}),po=Cn(Pd),Xh=tt({},hu,{relatedTarget:0}),Kc=Cn(Xh),$d=tt({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),qc=Cn($d),ay=tt({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ly=Cn(ay),Kh=tt({},ar,{data:0}),Id=Cn(Kh),ho=Id,oy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mu={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 qh(e){if(e.key){var t=oy[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var i=co(e);return i===13?"Enter":String.fromCharCode(i)}return e.type==="keydown"||e.type==="keyup"?mu[e.keyCode]||"Unidentified":""}var dn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uy(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var a=dn[e];return a?!!i[a]:!1}function Zc(e){return uy}var sy=tt({},hu,{key:qh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zc,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}}),cy=Cn(sy),Zh=tt({},vu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Cn(Zh),fy=tt({},hu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zc}),gi=Cn(fy),Yd=tt({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),dy=Cn(Yd),bl=tt({},vu,{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}),Jc=Cn(bl),vo=[9,13,27,32],Rs=229,ws=pn&&"CompositionEvent"in window,mo=null;pn&&"documentMode"in document&&(mo=document.documentMode);var py=pn&&"TextEvent"in window&&!mo,ef=pn&&(!ws||mo&&mo>8&&mo<=11),Jh=32,Gd=String.fromCharCode(Jh);function ev(){Cr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cr("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Cr("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Cr("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var bs=!1;function tf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tv(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Qd(e,t){return e==="keydown"&&t.keyCode===Rs}function nv(e,t){switch(e){case"keyup":return vo.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Rs;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function nf(e){return e.locale==="ko"}var Oa=!1;function Kd(e,t,i,a,o){var s,d;if(ws?s=tv(t):Oa?nv(t,a)&&(s="onCompositionEnd"):Qd(t,a)&&(s="onCompositionStart"),!s)return null;ef&&!nf(a)&&(!Oa&&s==="onCompositionStart"?Oa=Rl(o):s==="onCompositionEnd"&&Oa&&(d=pu()));var v=ov(i,s);if(v.length>0){var m=new Id(s,t,null,a,o);if(e.push({event:m,listeners:v}),d)m.data=d;else{var E=Xd(a);E!==null&&(m.data=E)}}}function rf(e,t){switch(e){case"compositionend":return Xd(t);case"keypress":var i=t.which;return i!==Jh?null:(bs=!0,Gd);case"textInput":var a=t.data;return a===Gd&&bs?null:a;default:return null}}function rv(e,t){if(Oa){if(e==="compositionend"||!ws&&nv(e,t)){var i=pu();return Qc(),Oa=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!tf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ef&&!nf(t)?null:t.data;default:return null}}function hy(e,t,i,a,o){var s;if(py?s=rf(t,a):s=rv(t,a),!s)return null;var d=ov(i,"onBeforeInput");if(d.length>0){var v=new ho("onBeforeInput","beforeinput",null,a,o);e.push({event:v,listeners:d}),v.data=s}}function af(e,t,i,a,o,s,d){Kd(e,t,i,a,o),hy(e,t,i,a,o)}var vy={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 yu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!vy[e.type]:t==="textarea"}/**
|
|
105
|
+
Check the render method of \``+e+"`.":""}var $u=["value","defaultValue"];function Pf(e){{va("select",e);for(var t=0;t<$u.length;t++){var i=$u[t];if(e[i]!=null){var a=ft(e[i]);e.multiple&&!a?C("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,Io()):!e.multiple&&a&&C("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,Io())}}}}function zi(e,t,i,a){var o=e.options;if(t){for(var s=i,d={},v=0;v<s.length;v++)d["$"+s[v]]=!0;for(var m=0;m<o.length;m++){var R=d.hasOwnProperty("$"+o[m].value);o[m].selected!==R&&(o[m].selected=R),R&&a&&(o[m].defaultSelected=!0)}}else{for(var w=On(Ki(i)),O=null,k=0;k<o.length;k++){if(o[k].value===w){o[k].selected=!0,a&&(o[k].defaultSelected=!0);return}O===null&&!o[k].disabled&&(O=o[k])}O!==null&&(O.selected=!0)}}function Wu(e,t){return rt({},t,{value:void 0})}function Yu(e,t){var i=e;Pf(t),i._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!ma&&(C("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"),ma=!0)}function jf(e,t){var i=e;i.multiple=!!t.multiple;var a=t.value;a!=null?zi(i,!!t.multiple,a,!1):t.defaultValue!=null&&zi(i,!!t.multiple,t.defaultValue,!0)}function Fm(e,t){var i=e,a=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!t.multiple;var o=t.value;o!=null?zi(i,!!t.multiple,o,!1):a!==!!t.multiple&&(t.defaultValue!=null?zi(i,!!t.multiple,t.defaultValue,!0):zi(i,!!t.multiple,t.multiple?[]:"",!1))}function Hm(e,t){var i=e,a=t.value;a!=null&&zi(i,!!t.multiple,a,!1)}var If=!1;function $f(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var a=rt({},t,{value:void 0,defaultValue:void 0,children:On(i._wrapperState.initialValue)});return a}function Xp(e,t){var i=e;va("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!If&&(C("%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"),If=!0);var a=t.value;if(a==null){var o=t.children,s=t.defaultValue;if(o!=null){C("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=""),a=s}i._wrapperState={initialValue:Ki(a)}}function Kp(e,t){var i=e,a=Ki(t.value),o=Ki(t.defaultValue);if(a!=null){var s=On(a);s!==i.value&&(i.value=s),t.defaultValue==null&&i.defaultValue!==s&&(i.defaultValue=s)}o!=null&&(i.defaultValue=On(o))}function qp(e,t){var i=e,a=i.textContent;a===i._wrapperState.initialValue&&a!==""&&a!==null&&(i.value=a)}function Wf(e,t){Kp(e,t)}var ya="http://www.w3.org/1999/xhtml",Vm="http://www.w3.org/1998/Math/MathML",Yf="http://www.w3.org/2000/svg";function ec(e){switch(e){case"svg":return Yf;case"math":return Vm;default:return ya}}function Gf(e,t){return e==null||e===ya?ec(t):e===Yf&&t==="foreignObject"?ya:e}var Bm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,a,o){MSApp.execUnsafeLocalFunction(function(){return e(t,i,a,o)})}:e},tc,Zp=Bm(function(e,t){if(e.namespaceURI===Yf&&!("innerHTML"in e)){tc=tc||document.createElement("div"),tc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var i=tc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;i.firstChild;)e.appendChild(i.firstChild);return}e.innerHTML=t}),Mr=1,ga=3,Sn=8,Ui=9,jl=11,nc=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===ga){i.nodeValue=t;return}}e.textContent=t},Jp={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"]},$o={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 eh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var th=["Webkit","ms","Moz","O"];Object.keys($o).forEach(function(e){th.forEach(function(t){$o[eh(t,e)]=$o[e]})});function rc(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!($o.hasOwnProperty(e)&&$o[e])?t+"px":(wr(t,e),(""+t).trim())}var Wo=/([A-Z])/g,Pm=/^ms-/;function jm(e){return e.replace(Wo,"-$1").toLowerCase().replace(Pm,"-ms-")}var nh=function(){};{var rh=/^(?:webkit|moz|o)[A-Z]/,ih=/^-ms-/,Gu=/-(.)/g,Yo=/;\s*$/,Go={},Qo={},ah=!1,Qf=!1,Xf=function(e){return e.replace(Gu,function(t,i){return i.toUpperCase()})},Kf=function(e){Go.hasOwnProperty(e)&&Go[e]||(Go[e]=!0,C("Unsupported style property %s. Did you mean %s?",e,Xf(e.replace(ih,"ms-"))))},lh=function(e){Go.hasOwnProperty(e)&&Go[e]||(Go[e]=!0,C("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},oh=function(e,t){Qo.hasOwnProperty(t)&&Qo[t]||(Qo[t]=!0,C(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Yo,"")))},uh=function(e,t){ah||(ah=!0,C("`NaN` is an invalid value for the `%s` css style property.",e))},Im=function(e,t){Qf||(Qf=!0,C("`Infinity` is an invalid value for the `%s` css style property.",e))};nh=function(e,t){e.indexOf("-")>-1?Kf(e):rh.test(e)?lh(e):Yo.test(t)&&oh(e,t),typeof t=="number"&&(isNaN(t)?uh(e,t):isFinite(t)||Im(e,t))}}var $m=nh;function Wm(e){{var t="",i="";for(var a in e)if(e.hasOwnProperty(a)){var o=e[a];if(o!=null){var s=a.indexOf("--")===0;t+=i+(s?a:jm(a))+":",t+=rc(a,o,s),i=";"}}return t||null}}function sh(e,t){var i=e.style;for(var a in t)if(t.hasOwnProperty(a)){var o=a.indexOf("--")===0;o||$m(a,t[a]);var s=rc(a,t[a],o);a==="float"&&(a="cssFloat"),o?i.setProperty(a,s):i[a]=s}}function Ym(e){return e==null||typeof e=="boolean"||e===""}function oi(e){var t={};for(var i in e)for(var a=Jp[i]||[i],o=0;o<a.length;o++)t[a[o]]=i;return t}function Qu(e,t){{if(!t)return;var i=oi(e),a=oi(t),o={};for(var s in i){var d=i[s],v=a[s];if(v&&d!==v){var m=d+","+v;if(o[m])continue;o[m]=!0,C("%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.",Ym(e[d])?"Removing":"Updating",d,v)}}}}var ch={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},fh=rt({menuitem:!0},ch),dh="__html";function ic(e,t){if(t){if(fh[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"||!(dh 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&&C("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 Sa(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 ac={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"},ph={"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},Fi={},qf=new RegExp("^(aria)-["+Ne+"]*$"),Xu=new RegExp("^(aria)[A-Z]["+Ne+"]*$");function Zf(e,t){{if(Zn.call(Fi,t)&&Fi[t])return!0;if(Xu.test(t)){var i="aria-"+t.slice(4).toLowerCase(),a=ph.hasOwnProperty(i)?i:null;if(a==null)return C("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Fi[t]=!0,!0;if(t!==a)return C("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),Fi[t]=!0,!0}if(qf.test(t)){var o=t.toLowerCase(),s=ph.hasOwnProperty(o)?o:null;if(s==null)return Fi[t]=!0,!1;if(t!==s)return C("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,s),Fi[t]=!0,!0}}return!0}function hh(e,t){{var i=[];for(var a in t){var o=Zf(e,a);o||i.push(a)}var s=i.map(function(d){return"`"+d+"`"}).join(", ");i.length===1?C("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e):i.length>1&&C("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",s,e)}}function lc(e,t){Sa(e,t)||hh(e,t)}var Il=!1;function Jf(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Il&&(Il=!0,e==="select"&&t.multiple?C("`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):C("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var ed=function(){};{var An={},td=/^on./,vh=/^on[^A-Z]/,mh=new RegExp("^(aria)-["+Ne+"]*$"),yh=new RegExp("^(aria)[A-Z]["+Ne+"]*$");ed=function(e,t,i,a){if(Zn.call(An,t)&&An[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return C("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(a!=null){var s=a.registrationNameDependencies,d=a.possibleRegistrationNames;if(s.hasOwnProperty(t))return!0;var v=d.hasOwnProperty(o)?d[o]:null;if(v!=null)return C("Invalid event handler property `%s`. Did you mean `%s`?",t,v),An[t]=!0,!0;if(td.test(t))return C("Unknown event handler property `%s`. It will be ignored.",t),An[t]=!0,!0}else if(td.test(t))return vh.test(t)&&C("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),An[t]=!0,!0;if(mh.test(t)||yh.test(t))return!0;if(o==="innerhtml")return C("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),An[t]=!0,!0;if(o==="aria")return C("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),An[t]=!0,!0;if(o==="is"&&i!==null&&i!==void 0&&typeof i!="string")return C("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),An[t]=!0,!0;if(typeof i=="number"&&isNaN(i))return C("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),An[t]=!0,!0;var m=ri(t),R=m!==null&&m.type===_i;if(ac.hasOwnProperty(o)){var w=ac[o];if(w!==t)return C("Invalid DOM property `%s`. Did you mean `%s`?",t,w),An[t]=!0,!0}else if(!R&&t!==o)return C("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 i=="boolean"&&Tr(t,i,m,!1)?(i?C('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()}.',i,t,t,i,t):C('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.',i,t,t,i,t,t,t),An[t]=!0,!0):R?!0:Tr(t,i,m,!1)?(An[t]=!0,!1):((i==="false"||i==="true")&&m!==null&&m.type===Vn&&(C("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="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,i),An[t]=!0),!0)}}var gh=function(e,t,i){{var a=[];for(var o in t){var s=ed(e,o,t[o],i);s||a.push(o)}var d=a.map(function(v){return"`"+v+"`"}).join(", ");a.length===1?C("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):a.length>1&&C("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 Sh(e,t,i){Sa(e,t)||gh(e,t,i)}var Ca=1,Ku=2,$l=4,Gm=Ca|Ku|$l,qu=null;function Zu(e){qu!==null&&C("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),qu=e}function Qm(){qu===null&&C("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),qu=null}function Ch(e){return e===qu}function oc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ga?t.parentNode:t}var Bt=null,ll=null,Ea=null;function Xo(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 i=t.stateNode;if(i){var a=Cv(i);Bt(t.stateNode,t.type,a)}}}function Eh(e){Bt=e}function uc(e){ll?Ea?Ea.push(e):Ea=[e]:ll=e}function Ju(){return ll!==null||Ea!==null}function es(){if(ll){var e=ll,t=Ea;if(ll=null,Ea=null,Xo(e),t)for(var i=0;i<t.length;i++)Xo(t[i])}}var Wl=function(e,t){return e(t)},nd=function(){},rd=!1;function Xm(){var e=Ju();e&&(nd(),es())}function id(e,t,i){if(rd)return e(t,i);rd=!0;try{return Wl(e,t,i)}finally{rd=!1,Xm()}}function sc(e,t,i){Wl=e,nd=i}function cc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function ad(e,t,i){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!!(i.disabled&&cc(t));default:return!1}}function Yl(e,t){var i=e.stateNode;if(i===null)return null;var a=Cv(i);if(a===null)return null;var o=a[t];if(ad(t,e.type,a))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 ts=!1;if(hn)try{var Gl={};Object.defineProperty(Gl,"passive",{get:function(){ts=!0}}),window.addEventListener("test",Gl,Gl),window.removeEventListener("test",Gl,Gl)}catch{ts=!1}function Rh(e,t,i,a,o,s,d,v,m){var R=Array.prototype.slice.call(arguments,3);try{t.apply(i,R)}catch(w){this.onError(w)}}var ld=Rh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var od=document.createElement("react");ld=function(t,i,a,o,s,d,v,m,R){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,k=!0,F=window.event,V=Object.getOwnPropertyDescriptor(window,"event");function j(){od.removeEventListener(I,Fe,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=F)}var ge=Array.prototype.slice.call(arguments,3);function Fe(){O=!0,j(),i.apply(a,ge),k=!1}var Me,vt=!1,st=!1;function L(N){if(Me=N.error,vt=!0,Me===null&&N.colno===0&&N.lineno===0&&(st=!0),N.defaultPrevented&&Me!=null&&typeof Me=="object")try{Me._suppressLogging=!0}catch{}}var I="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",L),od.addEventListener(I,Fe,!1),w.initEvent(I,!1,!1),od.dispatchEvent(w),V&&Object.defineProperty(window,"event",V),O&&k&&(vt?st&&(Me=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.")):Me=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(Me)),window.removeEventListener("error",L),!O)return j(),Rh.apply(this,arguments)}}var Km=ld,ol=!1,Hi=null,ns=!1,ul=null,qi={onError:function(e){ol=!0,Hi=e}};function Ql(e,t,i,a,o,s,d,v,m){ol=!1,Hi=null,Km.apply(qi,arguments)}function Ra(e,t,i,a,o,s,d,v,m){if(Ql.apply(this,arguments),ol){var R=sd();ns||(ns=!0,ul=R)}}function ud(){if(ns){var e=ul;throw ns=!1,ul=null,e}}function qm(){return ol}function sd(){if(ol){var e=Hi;return ol=!1,Hi=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 ui(e){return e._reactInternals}function rs(e){return e._reactInternals!==void 0}function Ko(e,t){e._reactInternals=t}var ze=0,sl=1,Yt=2,Je=4,_t=16,Ot=32,Zi=64,Ge=128,fn=256,Or=512,si=1024,Jt=2048,ci=4096,cl=8192,is=16384,fc=Jt|Je|Zi|Or|si|is,wh=32767,Yr=32768,Ln=65536,as=131072,cd=1048576,fd=2097152,Ar=4194304,fl=8388608,Lr=16777216,Xl=33554432,qo=Je|si|0,Nr=Yt|Je|_t|Ot|Or|ci|cl,er=Je|Zi|Or|cl,fi=Jt|_t,Pn=Ar|fl|fd,wa=p.ReactCurrentOwner;function Gr(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do t=a,(t.flags&(Yt|ci))!==ze&&(i=t.return),a=t.return;while(a)}return t.tag===Z?i:null}function dd(e){if(e.tag===pe){var t=e.memoizedState;if(t===null){var i=e.alternate;i!==null&&(t=i.memoizedState)}if(t!==null)return t.dehydrated}return null}function dc(e){return e.tag===Z?e.stateNode.containerInfo:null}function pd(e){return Gr(e)===e}function Qr(e){{var t=wa.current;if(t!==null&&t.tag===$){var i=t,a=i.stateNode;a._warnedAboutRefsInRender||C("%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(i)||"A component"),a._warnedAboutRefsInRender=!0}}var o=ui(e);return o?Gr(o)===o:!1}function zr(e){if(Gr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Gt(e){var t=e.alternate;if(!t){var i=Gr(e);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==e?null:e}for(var a=e,o=t;;){var s=a.return;if(s===null)break;var d=s.alternate;if(d===null){var v=s.return;if(v!==null){a=o=v;continue}break}if(s.child===d.child){for(var m=s.child;m;){if(m===a)return zr(s),e;if(m===o)return zr(s),t;m=m.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=s,o=d;else{for(var R=!1,w=s.child;w;){if(w===a){R=!0,a=s,o=d;break}if(w===o){R=!0,o=s,a=d;break}w=w.sibling}if(!R){for(w=d.child;w;){if(w===a){R=!0,a=d,o=s;break}if(w===o){R=!0,o=d,a=s;break}w=w.sibling}if(!R)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(a.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(a.tag!==Z)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function di(e){var t=Gt(e);return t!==null?hd(t):null}function hd(e){if(e.tag===te||e.tag===re)return e;for(var t=e.child;t!==null;){var i=hd(t);if(i!==null)return i;t=t.sibling}return null}function bh(e){var t=Gt(e);return t!==null?pc(t):null}function pc(e){if(e.tag===te||e.tag===re)return e;for(var t=e.child;t!==null;){if(t.tag!==ae){var i=pc(t);if(i!==null)return i}t=t.sibling}return null}var hc=c.unstable_scheduleCallback,xh=c.unstable_cancelCallback,vc=c.unstable_shouldYield,Th=c.unstable_requestPaint,rn=c.unstable_now,vd=c.unstable_getCurrentPriorityLevel,mc=c.unstable_ImmediatePriority,Xr=c.unstable_UserBlockingPriority,Ji=c.unstable_NormalPriority,yc=c.unstable_LowPriority,dl=c.unstable_IdlePriority,md=c.unstable_yieldValue,yd=c.unstable_setDisableYieldValue,pl=null,Nn=null,ue=null,mn=!1,jn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function gd(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 C("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{Ct&&(e=rt({},e,{getLaneLabelMap:vl,injectProfilingHooks:xa})),pl=t.inject(e),Nn=t}catch(i){C("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function Dh(e,t){if(Nn&&typeof Nn.onScheduleFiberRoot=="function")try{Nn.onScheduleFiberRoot(pl,e,t)}catch(i){mn||(mn=!0,C("React instrumentation encountered an error: %s",i))}}function ba(e,t){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{var i=(e.current.flags&Ge)===Ge;if(ot){var a;switch(t){case tr:a=mc;break;case In:a=Xr;break;case Da:a=Ji;break;case hs:a=dl;break;default:a=Ji;break}Nn.onCommitFiberRoot(pl,e,a,i)}}catch(o){mn||(mn=!0,C("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,C("React instrumentation encountered an error: %s",t))}}function Sd(e){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(pl,e)}catch(t){mn||(mn=!0,C("React instrumentation encountered an error: %s",t))}}function bn(e){if(typeof md=="function"&&(yd(e),E(e)),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(pl,e)}catch(t){mn||(mn=!0,C("React instrumentation encountered an error: %s",t))}}function xa(e){ue=e}function vl(){{for(var e=new Map,t=1,i=0;i<Qt;i++){var a=Zm(t);e.set(t,a),t*=2}return e}}function gc(e){ue!==null&&typeof ue.markCommitStarted=="function"&&ue.markCommitStarted(e)}function Cd(){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 _h(e){ue!==null&&typeof ue.markComponentPassiveEffectMountStarted=="function"&&ue.markComponentPassiveEffectMountStarted(e)}function Ed(){ue!==null&&typeof ue.markComponentPassiveEffectMountStopped=="function"&&ue.markComponentPassiveEffectMountStopped()}function Sc(e){ue!==null&&typeof ue.markComponentPassiveEffectUnmountStarted=="function"&&ue.markComponentPassiveEffectUnmountStarted(e)}function kh(){ue!==null&&typeof ue.markComponentPassiveEffectUnmountStopped=="function"&&ue.markComponentPassiveEffectUnmountStopped()}function Mh(e){ue!==null&&typeof ue.markComponentLayoutEffectMountStarted=="function"&&ue.markComponentLayoutEffectMountStarted(e)}function Oh(){ue!==null&&typeof ue.markComponentLayoutEffectMountStopped=="function"&&ue.markComponentLayoutEffectMountStopped()}function Cc(e){ue!==null&&typeof ue.markComponentLayoutEffectUnmountStarted=="function"&&ue.markComponentLayoutEffectUnmountStarted(e)}function Zo(){ue!==null&&typeof ue.markComponentLayoutEffectUnmountStopped=="function"&&ue.markComponentLayoutEffectUnmountStopped()}function Ec(e,t,i){ue!==null&&typeof ue.markComponentErrored=="function"&&ue.markComponentErrored(e,t,i)}function Ah(e,t,i){ue!==null&&typeof ue.markComponentSuspended=="function"&&ue.markComponentSuspended(e,t,i)}function Lh(e){ue!==null&&typeof ue.markLayoutEffectsStarted=="function"&&ue.markLayoutEffectsStarted(e)}function Jo(){ue!==null&&typeof ue.markLayoutEffectsStopped=="function"&&ue.markLayoutEffectsStopped()}function Nh(e){ue!==null&&typeof ue.markPassiveEffectsStarted=="function"&&ue.markPassiveEffectsStarted(e)}function ls(){ue!==null&&typeof ue.markPassiveEffectsStopped=="function"&&ue.markPassiveEffectsStopped()}function Vi(e){ue!==null&&typeof ue.markRenderStarted=="function"&&ue.markRenderStarted(e)}function os(){ue!==null&&typeof ue.markRenderYielded=="function"&&ue.markRenderYielded()}function eu(){ue!==null&&typeof ue.markRenderStopped=="function"&&ue.markRenderStopped()}function ql(e){ue!==null&&typeof ue.markRenderScheduled=="function"&&ue.markRenderScheduled(e)}function Rd(e,t){ue!==null&&typeof ue.markForceUpdateScheduled=="function"&&ue.markForceUpdateScheduled(e,t)}function yl(e,t){ue!==null&&typeof ue.markStateUpdateScheduled=="function"&&ue.markStateUpdateScheduled(e,t)}var Ve=0,at=1,je=2,an=8,pi=16,Rc=Math.clz32?Math.clz32:Zl,wc=Math.log,wd=Math.LN2;function Zl(e){var t=e>>>0;return t===0?32:31-(wc(t)/wd|0)|0}var Qt=31,W=0,pt=0,Ie=1,ea=2,Kr=4,Jl=8,Xt=16,eo=32,gl=4194240,to=64,hi=128,Ur=256,no=512,us=1024,ss=2048,bc=4096,xc=8192,Tc=16384,Dc=32768,_c=65536,kc=131072,Mc=262144,Oc=524288,ro=1048576,Ac=2097152,io=130023424,Ta=4194304,Lc=8388608,cs=16777216,Nc=33554432,zc=67108864,bd=Ta,tu=134217728,Uc=268435455,nu=268435456,Sl=536870912,Fr=1073741824;function Zm(e){{if(e&Ie)return"Sync";if(e&ea)return"InputContinuousHydration";if(e&Kr)return"InputContinuous";if(e&Jl)return"DefaultHydration";if(e&Xt)return"Default";if(e&eo)return"TransitionHydration";if(e&gl)return"Transition";if(e&io)return"Retry";if(e&tu)return"SelectiveHydration";if(e&nu)return"IdleHydration";if(e&Sl)return"Idle";if(e&Fr)return"Offscreen"}}var Pt=-1,Fc=to,Hc=Ta;function ru(e){switch(Cn(e)){case Ie:return Ie;case ea:return ea;case Kr:return Kr;case Jl:return Jl;case Xt:return Xt;case eo:return eo;case to:case hi:case Ur:case no:case us:case ss:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Ac:return e≷case Ta:case Lc:case cs:case Nc:case zc:return e&io;case tu:return tu;case nu:return nu;case Sl:return Sl;case Fr:return Fr;default:return C("Should have found matching lanes. This is a bug in React."),e}}function fs(e,t){var i=e.pendingLanes;if(i===W)return W;var a=W,o=e.suspendedLanes,s=e.pingedLanes,d=i&Uc;if(d!==W){var v=d&~o;if(v!==W)a=ru(v);else{var m=d&s;m!==W&&(a=ru(m))}}else{var R=i&~o;R!==W?a=ru(R):s!==W&&(a=ru(s))}if(a===W)return W;if(t!==W&&t!==a&&(t&o)===W){var w=Cn(a),O=Cn(t);if(w>=O||w===Xt&&(O&gl)!==W)return t}(a&Kr)!==W&&(a|=i&Xt);var k=e.entangledLanes;if(k!==W)for(var F=e.entanglements,V=a&k;V>0;){var j=Cl(V),ge=1<<j;a|=F[j],V&=~ge}return a}function zh(e,t){for(var i=e.eventTimes,a=Pt;t>0;){var o=Cl(t),s=1<<o,d=i[o];d>a&&(a=d),t&=~s}return a}function Vc(e,t){switch(e){case Ie:case ea:case Kr:return t+250;case Jl:case Xt:case eo:case to:case hi:case Ur:case no:case us:case ss:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Ac:return t+5e3;case Ta:case Lc:case cs:case Nc:case zc:return Pt;case tu:case nu:case Sl:case Fr:return Pt;default:return C("Should have found matching lanes. This is a bug in React."),Pt}}function Jm(e,t){for(var i=e.pendingLanes,a=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,d=i;d>0;){var v=Cl(d),m=1<<v,R=s[v];R===Pt?((m&a)===W||(m&o)!==W)&&(s[v]=Vc(m,t)):R<=t&&(e.expiredLanes|=m),d&=~m}}function ey(e){return ru(e.pendingLanes)}function xd(e){var t=e.pendingLanes&~Fr;return t!==W?t:t&Fr?Fr:W}function iu(e){return(e&Ie)!==W}function ds(e){return(e&Uc)!==W}function Bc(e){return(e&io)===e}function ty(e){var t=Ie|Kr|Xt;return(e&t)===W}function Uh(e){return(e&gl)===e}function ps(e,t){var i=ea|Kr|Jl|Xt;return(t&i)!==W}function Fh(e,t){return(t&e.expiredLanes)!==W}function Td(e){return(e&gl)!==W}function Dd(){var e=Fc;return Fc<<=1,(Fc&gl)===W&&(Fc=to),e}function ny(){var e=Hc;return Hc<<=1,(Hc&io)===W&&(Hc=Ta),e}function Cn(e){return e&-e}function xn(e){return Cn(e)}function Cl(e){return 31-Rc(e)}function Pc(e){return Cl(e)}function Hr(e,t){return(e&t)!==W}function ao(e,t){return(e&t)===t}function et(e,t){return e|t}function au(e,t){return e&~t}function _d(e,t){return e&t}function Hh(e){return e}function Vh(e,t){return e!==pt&&e<t?e:t}function jc(e){for(var t=[],i=0;i<Qt;i++)t.push(e);return t}function lo(e,t,i){e.pendingLanes|=t,t!==Sl&&(e.suspendedLanes=W,e.pingedLanes=W);var a=e.eventTimes,o=Pc(t);a[o]=i}function kd(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var i=e.expirationTimes,a=t;a>0;){var o=Cl(a),s=1<<o;i[o]=Pt,a&=~s}}function Md(e,t,i){e.pingedLanes|=e.suspendedLanes&t}function Od(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=W,e.pingedLanes=W,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,o=e.eventTimes,s=e.expirationTimes,d=i;d>0;){var v=Cl(d),m=1<<v;a[v]=W,o[v]=Pt,s[v]=Pt,d&=~m}}function lu(e,t){for(var i=e.entangledLanes|=t,a=e.entanglements,o=i;o;){var s=Cl(o),d=1<<s;d&t|a[s]&t&&(a[s]|=t),o&=~d}}function ry(e,t){var i=Cn(t),a;switch(i){case Kr:a=ea;break;case Xt:a=Jl;break;case to:case hi:case Ur:case no:case us:case ss:case bc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Ac:case Ta:case Lc:case cs:case Nc:case zc:a=eo;break;case Sl:a=nu;break;default:a=pt;break}return(a&(e.suspendedLanes|t))!==pt?pt:a}function Ad(e,t,i){if(jn)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=Pc(i),s=1<<o,d=a[o];d.add(t),i&=~s}}function Ic(e,t){if(jn)for(var i=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var o=Pc(t),s=1<<o,d=i[o];d.size>0&&(d.forEach(function(v){var m=v.alternate;(m===null||!a.has(m))&&a.add(v)}),d.clear()),t&=~s}}function Ld(e,t){return null}var tr=Ie,In=Kr,Da=Xt,hs=Sl,oo=pt;function vi(){return oo}function Tn(e){oo=e}function vs(e,t){var i=oo;try{return oo=e,t()}finally{oo=i}}function nr(e,t){return e!==0&&e<t?e:t}function iy(e,t){return e===0||e>t?e:t}function Nd(e,t){return e!==0&&e<t}function ms(e){var t=Cn(e);return Nd(tr,t)?Nd(In,t)?ds(t)?Da:hs:In:tr}function Dn(e){var t=e.current.memoizedState;return t.isDehydrated}var Bh;function Ce(e){Bh=e}function ou(e){Bh(e)}var ys;function Ph(e){ys=e}var jh;function gs(e){jh=e}var Ss;function zd(e){Ss=e}var Ud;function Ih(e){Ud=e}var $c=!1,uu=[],ta=null,en=null,zn=null,mi=new Map,su=new Map,_a=[],Bi=["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 $h(e){return Bi.indexOf(e)>-1}function na(e,t,i,a,o){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:o,targetContainers:[a]}}function Wh(e,t){switch(e){case"focusin":case"focusout":ta=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":zn=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;mi.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var a=t.pointerId;su.delete(a);break}}}function cu(e,t,i,a,o,s){if(e===null||e.nativeEvent!==s){var d=na(t,i,a,o,s);if(t!==null){var v=Eu(t);v!==null&&ys(v)}return d}e.eventSystemFlags|=a;var m=e.targetContainers;return o!==null&&m.indexOf(o)===-1&&m.push(o),e}function Yh(e,t,i,a,o){switch(t){case"focusin":{var s=o;return ta=cu(ta,e,t,i,a,s),!0}case"dragenter":{var d=o;return en=cu(en,e,t,i,a,d),!0}case"mouseover":{var v=o;return zn=cu(zn,e,t,i,a,v),!0}case"pointerover":{var m=o,R=m.pointerId;return mi.set(R,cu(mi.get(R)||null,e,t,i,a,m)),!0}case"gotpointercapture":{var w=o,O=w.pointerId;return su.set(O,cu(su.get(O)||null,e,t,i,a,w)),!0}}return!1}function Fd(e){var t=_s(e.target);if(t!==null){var i=Gr(t);if(i!==null){var a=i.tag;if(a===pe){var o=dd(i);if(o!==null){e.blockedOn=o,Ud(e.priority,function(){jh(i)});return}}else if(a===Z){var s=i.stateNode;if(Dn(s)){e.blockedOn=dc(i);return}}}}e.blockedOn=null}function Gh(e){for(var t=Ss(),i={blockedOn:null,target:e,priority:t},a=0;a<_a.length&&Nd(t,_a[a].priority);a++);_a.splice(a,0,i),a===0&&Fd(i)}function Wc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],a=uo(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(a===null){var o=e.nativeEvent,s=new o.constructor(o.type,o);Zu(s),o.target.dispatchEvent(s),Qm()}else{var d=Eu(a);return d!==null&&ys(d),e.blockedOn=a,!1}t.shift()}return!0}function Cs(e,t,i){Wc(e)&&i.delete(t)}function Hd(){$c=!1,ta!==null&&Wc(ta)&&(ta=null),en!==null&&Wc(en)&&(en=null),zn!==null&&Wc(zn)&&(zn=null),mi.forEach(Cs),su.forEach(Cs)}function rr(e,t){e.blockedOn===t&&(e.blockedOn=null,$c||($c=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Hd)))}function ut(e){if(uu.length>0){rr(uu[0],e);for(var t=1;t<uu.length;t++){var i=uu[t];i.blockedOn===e&&(i.blockedOn=null)}}ta!==null&&rr(ta,e),en!==null&&rr(en,e),zn!==null&&rr(zn,e);var a=function(v){return rr(v,e)};mi.forEach(a),su.forEach(a);for(var o=0;o<_a.length;o++){var s=_a[o];s.blockedOn===e&&(s.blockedOn=null)}for(;_a.length>0;){var d=_a[0];if(d.blockedOn!==null)break;Fd(d),d.blockedOn===null&&_a.shift()}}var ln=p.ReactCurrentBatchConfig,dn=!0;function Un(e){dn=!!e}function qr(){return dn}function fu(e,t,i){var a=cr(t),o;switch(a){case tr:o=_n;break;case In:o=Es;break;case Da:default:o=ka;break}return o.bind(null,t,i,e)}function _n(e,t,i,a){var o=vi(),s=ln.transition;ln.transition=null;try{Tn(tr),ka(e,t,i,a)}finally{Tn(o),ln.transition=s}}function Es(e,t,i,a){var o=vi(),s=ln.transition;ln.transition=null;try{Tn(In),ka(e,t,i,a)}finally{Tn(o),ln.transition=s}}function ka(e,t,i,a){dn&&Yc(e,t,i,a)}function Yc(e,t,i,a){var o=uo(e,t,i,a);if(o===null){by(e,t,a,du,i),Wh(e,a);return}if(Yh(o,e,t,i,a)){a.stopPropagation();return}if(Wh(e,a),t&$l&&$h(e)){for(;o!==null;){var s=Eu(o);s!==null&&ou(s);var d=uo(e,t,i,a);if(d===null&&by(e,t,a,du,i),d===o)break;o=d}o!==null&&a.stopPropagation();return}by(e,t,a,null,i)}var du=null;function uo(e,t,i,a){du=null;var o=oc(a),s=_s(o);if(s!==null){var d=Gr(s);if(d===null)s=null;else{var v=d.tag;if(v===pe){var m=dd(d);if(m!==null)return m;s=null}else if(v===Z){var R=d.stateNode;if(Dn(R))return dc(d);s=null}else d!==s&&(s=null)}}return du=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 In;case"message":{var t=vd();switch(t){case mc:return tr;case Xr:return In;case Ji:case yc:return Da;case dl:return hs;default:return Da}}default:return Da}}function Vd(e,t,i){return e.addEventListener(t,i,!1),i}function pu(e,t,i){return e.addEventListener(t,i,!0),i}function Ma(e,t,i,a){return e.addEventListener(t,i,{capture:!0,passive:a}),i}function Gc(e,t,i,a){return e.addEventListener(t,i,{passive:a}),i}var so=null,ra=null,El=null;function Rl(e){return so=e,ra=Xc(),!0}function Qc(){so=null,ra=null,El=null}function hu(){if(El)return El;var e,t=ra,i=t.length,a,o=Xc(),s=o.length;for(e=0;e<i&&t[e]===o[e];e++);var d=i-e;for(a=1;a<=d&&t[i-a]===o[s-a];a++);var v=a>1?1-a:void 0;return El=o.slice(e,v),El}function Xc(){return"value"in so?so.value:so.textContent}function co(e){var t,i=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),t>=32||t===13?t:0}function fo(){return!0}function ir(){return!1}function En(e){function t(i,a,o,s,d){this._reactName=i,this._targetInst=o,this.type=a,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var v in e)if(e.hasOwnProperty(v)){var m=e[v];m?this[v]=m(s):this[v]=s[v]}var R=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return R?this.isDefaultPrevented=fo:this.isDefaultPrevented=ir,this.isPropagationStopped=ir,this}return rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=fo)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=fo)},persist:function(){},isPersistent:fo}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lr=En(ar),vu=rt({},ar,{view:0,detail:0}),Bd=En(vu),Rs,Pd,yi;function Qh(e){e!==yi&&(yi&&e.type==="mousemove"?(Rs=e.screenX-yi.screenX,Pd=e.screenY-yi.screenY):(Rs=0,Pd=0),yi=e)}var mu=rt({},vu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zc,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:(Qh(e),Rs)},movementY:function(e){return"movementY"in e?e.movementY:Pd}}),wl=En(mu),jd=rt({},mu,{dataTransfer:0}),po=En(jd),Xh=rt({},vu,{relatedTarget:0}),Kc=En(Xh),Id=rt({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),qc=En(Id),ay=rt({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ly=En(ay),Kh=rt({},ar,{data:0}),$d=En(Kh),ho=$d,oy={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 qh(e){if(e.key){var t=oy[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var i=co(e);return i===13?"Enter":String.fromCharCode(i)}return e.type==="keydown"||e.type==="keyup"?yu[e.keyCode]||"Unidentified":""}var pn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uy(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var a=pn[e];return a?!!i[a]:!1}function Zc(e){return uy}var sy=rt({},vu,{key:qh,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zc,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}}),cy=En(sy),Zh=rt({},mu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=En(Zh),fy=rt({},vu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zc}),gi=En(fy),Yd=rt({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),dy=En(Yd),bl=rt({},mu,{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}),Jc=En(bl),vo=[9,13,27,32],ws=229,bs=hn&&"CompositionEvent"in window,mo=null;hn&&"documentMode"in document&&(mo=document.documentMode);var py=hn&&"TextEvent"in window&&!mo,ef=hn&&(!bs||mo&&mo>8&&mo<=11),Jh=32,Gd=String.fromCharCode(Jh);function ev(){Cr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cr("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Cr("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Cr("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var xs=!1;function tf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function tv(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function Qd(e,t){return e==="keydown"&&t.keyCode===ws}function nv(e,t){switch(e){case"keyup":return vo.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==ws;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function nf(e){return e.locale==="ko"}var Oa=!1;function Kd(e,t,i,a,o){var s,d;if(bs?s=tv(t):Oa?nv(t,a)&&(s="onCompositionEnd"):Qd(t,a)&&(s="onCompositionStart"),!s)return null;ef&&!nf(a)&&(!Oa&&s==="onCompositionStart"?Oa=Rl(o):s==="onCompositionEnd"&&Oa&&(d=hu()));var v=ov(i,s);if(v.length>0){var m=new $d(s,t,null,a,o);if(e.push({event:m,listeners:v}),d)m.data=d;else{var R=Xd(a);R!==null&&(m.data=R)}}}function rf(e,t){switch(e){case"compositionend":return Xd(t);case"keypress":var i=t.which;return i!==Jh?null:(xs=!0,Gd);case"textInput":var a=t.data;return a===Gd&&xs?null:a;default:return null}}function rv(e,t){if(Oa){if(e==="compositionend"||!bs&&nv(e,t)){var i=hu();return Qc(),Oa=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!tf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ef&&!nf(t)?null:t.data;default:return null}}function hy(e,t,i,a,o){var s;if(py?s=rf(t,a):s=rv(t,a),!s)return null;var d=ov(i,"onBeforeInput");if(d.length>0){var v=new ho("onBeforeInput","beforeinput",null,a,o);e.push({event:v,listeners:d}),v.data=s}}function af(e,t,i,a,o,s,d){Kd(e,t,i,a,o),hy(e,t,i,a,o)}var vy={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 gu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!vy[e.type]:t==="textarea"}/**
|
|
106
106
|
* Checks if an event is supported in the current execution environment.
|
|
107
107
|
*
|
|
108
108
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -114,8 +114,8 @@ Check the render method of \``+e+"`.":""}var $u=["value","defaultValue"];functio
|
|
|
114
114
|
* @return {boolean} True if the event is supported.
|
|
115
115
|
* @internal
|
|
116
116
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
117
|
-
*/function my(e){if(!pn)return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i=typeof a[t]=="function"}return i}function lf(){Cr("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,i,a){uc(a);var o=ov(t,"onChange");if(o.length>0){var s=new lr("onChange","change",null,i,a);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,oc(e)),id(h,t)}function h(e){MC(e,0)}function g(e){var t=df(e);if(jo(t))return e}function b(e,t){if(e==="change")return t}var _=!1;pn&&(_=my("input")&&(!document.documentMode||document.documentMode>9));function V(e,t){r=e,l=t,r.attachEvent("onpropertychange",ee)}function Z(){r&&(r.detachEvent("onpropertychange",ee),r=null,l=null)}function ee(e){e.propertyName==="value"&&g(l)&&f(e)}function q(e,t,i){e==="focusin"?(Z(),V(t,i)):e==="focusout"&&Z()}function pe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return g(l)}function Ee(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function be(e,t){if(e==="click")return g(t)}function mn(e,t){if(e==="input"||e==="change")return g(t)}function L(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Fe(e,"number",e.value)}function M(e,t,i,a,o,s,d){var v=i?df(i):window,m,E;if(u(v)?m=b:yu(v)?_?m=mn:(m=pe,E=q):Ee(v)&&(m=be),m){var w=m(t,i);if(w){n(e,w,a,o);return}}E&&E(t,v,i),t==="focusout"&&L(v)}function z(){Ti("onMouseEnter",["mouseout","mouseover"]),Ti("onMouseLeave",["mouseout","mouseover"]),Ti("onPointerEnter",["pointerout","pointerover"]),Ti("onPointerLeave",["pointerout","pointerover"])}function re(e,t,i,a,o,s,d){var v=t==="mouseover"||t==="pointerover",m=t==="mouseout"||t==="pointerout";if(v&&!Ch(a)){var E=a.relatedTarget||a.fromElement;if(E&&(Ds(E)||cp(E)))return}if(!(!m&&!v)){var w;if(o.window===o)w=o;else{var O=o.ownerDocument;O?w=O.defaultView||O.parentWindow:w=window}var k,U;if(m){var H=a.relatedTarget||a.toElement;if(k=i,U=H?Ds(H):null,U!==null){var P=Gr(U);(U!==P||U.tag!==X&&U.tag!==le)&&(U=null)}}else k=null,U=i;if(k!==U){var me=wl,Ue="onMouseLeave",Me="onMouseEnter",ht="mouse";(t==="pointerout"||t==="pointerover")&&(me=Wd,Ue="onPointerLeave",Me="onPointerEnter",ht="pointer");var ot=k==null?w:df(k),A=U==null?w:df(U),$=new me(Ue,ht+"leave",k,a,o);$.target=ot,$.relatedTarget=A;var N=null,te=Ds(o);if(te===i){var ye=new me(Me,ht+"enter",U,a,o);ye.target=A,ye.relatedTarget=ot,N=ye}Ow(e,$,N,k,U)}}}function De(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Re=typeof Object.is=="function"?Object.is:De;function Le(e,t){if(Re(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var o=0;o<i.length;o++){var s=i[o];if(!Zn.call(t,s)||!Re(e[s],t[s]))return!1}return!0}function Ye(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 Ct(e,t){for(var i=Ye(e),a=0,o=0;i;){if(i.nodeType===ga){if(o=a+i.textContent.length,a<=t&&o>=t)return{node:i,offset:t-a};a=o}i=Ye(Fn(i))}}function xl(e){var t=e.ownerDocument,i=t&&t.defaultView||window,a=i.getSelection&&i.getSelection();if(!a||a.rangeCount===0)return null;var o=a.anchorNode,s=a.anchorOffset,d=a.focusNode,v=a.focusOffset;try{o.nodeType,d.nodeType}catch{return null}return yy(e,o,s,d,v)}function yy(e,t,i,a,o){var s=0,d=-1,v=-1,m=0,E=0,w=e,O=null;e:for(;;){for(var k=null;w===t&&(i===0||w.nodeType===ga)&&(d=s+i),w===a&&(o===0||w.nodeType===ga)&&(v=s+o),w.nodeType===ga&&(s+=w.nodeValue.length),(k=w.firstChild)!==null;)O=w,w=k;for(;;){if(w===e)break e;if(O===t&&++m===i&&(d=s),O===a&&++E===o&&(v=s),(k=w.nextSibling)!==null)break;w=O,O=w.parentNode}w=k}return d===-1||v===-1?null:{start:d,end:v}}function dw(e,t){var i=e.ownerDocument||document,a=i&&i.defaultView||window;if(a.getSelection){var o=a.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 m=v;v=d,d=m}var E=Ct(e,d),w=Ct(e,v);if(E&&w){if(o.rangeCount===1&&o.anchorNode===E.node&&o.anchorOffset===E.offset&&o.focusNode===w.node&&o.focusOffset===w.offset)return;var O=i.createRange();O.setStart(E.node,E.offset),o.removeAllRanges(),d>v?(o.addRange(O),o.extend(w.node,w.offset)):(O.setEnd(w.node,w.offset),o.addRange(O))}}}function gC(e){return e&&e.nodeType===ga}function SC(e,t){return!e||!t?!1:e===t?!0:gC(e)?!1:gC(t)?SC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function pw(e){return e&&e.ownerDocument&&SC(e.ownerDocument.documentElement,e)}function hw(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function CC(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){if(hw(t))e=t.contentWindow;else return t;t=il(e.document)}return t}function gy(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 vw(){var e=CC();return{focusedElem:e,selectionRange:gy(e)?yw(e):null}}function mw(e){var t=CC(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&pw(i)){a!==null&&gy(i)&&gw(i,a);for(var o=[],s=i;s=s.parentNode;)s.nodeType===Mr&&o.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof i.focus=="function"&&i.focus();for(var d=0;d<o.length;d++){var v=o[d];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}}function yw(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=xl(e),t||{start:0,end:0}}function gw(e,t){var i=t.start,a=t.end;a===void 0&&(a=i),"selectionStart"in e?(e.selectionStart=i,e.selectionEnd=Math.min(a,e.value.length)):dw(e,t)}var Sw=pn&&"documentMode"in document&&document.documentMode<=11;function Cw(){Cr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var of=null,Sy=null,qd=null,Cy=!1;function Ew(e){if("selectionStart"in e&&gy(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,i=t.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function Rw(e){return e.window===e?e.document:e.nodeType===Ui?e:e.ownerDocument}function EC(e,t,i){var a=Rw(i);if(!(Cy||of==null||of!==il(a))){var o=Ew(of);if(!qd||!Le(qd,o)){qd=o;var s=ov(Sy,"onSelect");if(s.length>0){var d=new lr("onSelect","select",null,t,i);e.push({event:d,listeners:s}),d.target=of}}}}function ww(e,t,i,a,o,s,d){var v=i?df(i):window;switch(t){case"focusin":(yu(v)||v.contentEditable==="true")&&(of=v,Sy=i,qd=null);break;case"focusout":of=null,Sy=null,qd=null;break;case"mousedown":Cy=!0;break;case"contextmenu":case"mouseup":case"dragend":Cy=!1,EC(e,a,o);break;case"selectionchange":if(Sw)break;case"keydown":case"keyup":EC(e,a,o)}}function iv(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var uf={animationend:iv("Animation","AnimationEnd"),animationiteration:iv("Animation","AnimationIteration"),animationstart:iv("Animation","AnimationStart"),transitionend:iv("Transition","TransitionEnd")},Ey={},RC={};pn&&(RC=document.createElement("div").style,"AnimationEvent"in window||(delete uf.animationend.animation,delete uf.animationiteration.animation,delete uf.animationstart.animation),"TransitionEvent"in window||delete uf.transitionend.transition);function av(e){if(Ey[e])return Ey[e];if(!uf[e])return e;var t=uf[e];for(var i in t)if(t.hasOwnProperty(i)&&i in RC)return Ey[e]=t[i];return e}var wC=av("animationend"),bC=av("animationiteration"),xC=av("animationstart"),TC=av("transitionend"),DC=new Map,_C=["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 gu(e,t){DC.set(e,t),Cr(t,[e])}function bw(){for(var e=0;e<_C.length;e++){var t=_C[e],i=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);gu(i,"on"+a)}gu(wC,"onAnimationEnd"),gu(bC,"onAnimationIteration"),gu(xC,"onAnimationStart"),gu("dblclick","onDoubleClick"),gu("focusin","onFocus"),gu("focusout","onBlur"),gu(TC,"onTransitionEnd")}function xw(e,t,i,a,o,s,d){var v=DC.get(t);if(v!==void 0){var m=lr,E=t;switch(t){case"keypress":if(co(a)===0)return;case"keydown":case"keyup":m=cy;break;case"focusin":E="focus",m=Kc;break;case"focusout":E="blur",m=Kc;break;case"beforeblur":case"afterblur":m=Kc;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=wl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=po;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=gi;break;case wC:case bC:case xC:m=qc;break;case TC:m=dy;break;case"scroll":m=jd;break;case"wheel":m=Jc;break;case"copy":case"cut":case"paste":m=ly;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Wd;break}var w=(s&Il)!==0;{var O=!w&&t==="scroll",k=kw(i,v,a.type,w,O);if(k.length>0){var U=new m(v,E,null,a,o);e.push({event:U,listeners:k})}}}}bw(),z(),lf(),Cw(),ev();function Tw(e,t,i,a,o,s,d){xw(e,t,i,a,o,s);var v=(s&Gm)===0;v&&(re(e,t,i,a,o),M(e,t,i,a,o),ww(e,t,i,a,o),af(e,t,i,a,o))}var Zd=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Ry=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Zd));function kC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,Ra(a,t,void 0,e),e.currentTarget=null}function Dw(e,t,i){var a;if(i)for(var o=t.length-1;o>=0;o--){var s=t[o],d=s.instance,v=s.currentTarget,m=s.listener;if(d!==a&&e.isPropagationStopped())return;kC(e,m,v),a=d}else for(var E=0;E<t.length;E++){var w=t[E],O=w.instance,k=w.currentTarget,U=w.listener;if(O!==a&&e.isPropagationStopped())return;kC(e,U,k),a=O}}function MC(e,t){for(var i=(t&Il)!==0,a=0;a<e.length;a++){var o=e[a],s=o.event,d=o.listeners;Dw(s,d,i)}ud()}function _w(e,t,i,a,o){var s=oc(i),d=[];Tw(d,e,a,i,s,t),MC(d,t)}function on(e,t){Ry.has(e)||C('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,a=ib(t),o=Lw(e,i);a.has(o)||(OC(t,e,Xu,i),a.add(o))}function wy(e,t,i){Ry.has(e)&&!t&&C('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=Il),OC(i,e,a,t)}var lv="_reactListening"+Math.random().toString(36).slice(2);function Jd(e){if(!e[lv]){e[lv]=!0,ut.forEach(function(i){i!=="selectionchange"&&(Ry.has(i)||wy(i,!1,e),wy(i,!0,e))});var t=e.nodeType===Ui?e:e.ownerDocument;t!==null&&(t[lv]||(t[lv]=!0,wy("selectionchange",!1,t)))}}function OC(e,t,i,a,o){var s=cu(e,t,i),d=void 0;es&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,a?d!==void 0?Ma(e,t,s,d):du(e,t,s):d!==void 0?Gc(e,t,s,d):Vd(e,t,s)}function LC(e,t){return e===t||e.nodeType===gn&&e.parentNode===t}function by(e,t,i,a,o){var s=a;if(!(t&Ca)&&!(t&Xu)){var d=o;if(a!==null){var v=a;e:for(;;){if(v===null)return;var m=v.tag;if(m===J||m===ae){var E=v.stateNode.containerInfo;if(LC(E,d))break;if(m===ae)for(var w=v.return;w!==null;){var O=w.tag;if(O===J||O===ae){var k=w.stateNode.containerInfo;if(LC(k,d))return}w=w.return}for(;E!==null;){var U=Ds(E);if(U===null)return;var H=U.tag;if(H===X||H===le){v=s=U;continue e}E=E.parentNode}}v=v.return}}}id(function(){return _w(e,t,i,s)})}function ep(e,t,i){return{instance:e,listener:t,currentTarget:i}}function kw(e,t,i,a,o,s){for(var d=t!==null?t+"Capture":null,v=a?d:t,m=[],E=e,w=null;E!==null;){var O=E,k=O.stateNode,U=O.tag;if(U===X&&k!==null&&(w=k,v!==null)){var H=Yl(E,v);H!=null&&m.push(ep(E,H,w))}if(o)break;E=E.return}return m}function ov(e,t){for(var i=t+"Capture",a=[],o=e;o!==null;){var s=o,d=s.stateNode,v=s.tag;if(v===X&&d!==null){var m=d,E=Yl(o,i);E!=null&&a.unshift(ep(o,E,m));var w=Yl(o,t);w!=null&&a.push(ep(o,w,m))}o=o.return}return a}function sf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==X);return e||null}function Mw(e,t){for(var i=e,a=t,o=0,s=i;s;s=sf(s))o++;for(var d=0,v=a;v;v=sf(v))d++;for(;o-d>0;)i=sf(i),o--;for(;d-o>0;)a=sf(a),d--;for(var m=o;m--;){if(i===a||a!==null&&i===a.alternate)return i;i=sf(i),a=sf(a)}return null}function AC(e,t,i,a,o){for(var s=t._reactName,d=[],v=i;v!==null&&v!==a;){var m=v,E=m.alternate,w=m.stateNode,O=m.tag;if(E!==null&&E===a)break;if(O===X&&w!==null){var k=w;if(o){var U=Yl(v,s);U!=null&&d.unshift(ep(v,U,k))}else if(!o){var H=Yl(v,s);H!=null&&d.push(ep(v,H,k))}}v=v.return}d.length!==0&&e.push({event:t,listeners:d})}function Ow(e,t,i,a,o){var s=a&&o?Mw(a,o):null;a!==null&&AC(e,t,a,s,!1),o!==null&&i!==null&&AC(e,i,o,s,!0)}function Lw(e,t){return e+"__"+(t?"capture":"bubble")}var Si=!1,tp="dangerouslySetInnerHTML",uv="suppressContentEditableWarning",Su="suppressHydrationWarning",NC="autoFocus",xs="children",Ts="style",sv="__html",xy,cv,np,zC,fv,UC,FC;xy={dialog:!0,webview:!0},cv=function(e,t){lc(e,t),Jf(e,t),Sh(e,t,{registrationNameDependencies:Pt,possibleRegistrationNames:fa})},UC=pn&&!document.documentMode,np=function(e,t,i){if(!Si){var a=dv(i),o=dv(t);o!==a&&(Si=!0,C("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(a)))}},zC=function(e){if(!Si){Si=!0;var t=[];e.forEach(function(i){t.push(i)}),C("Extra attributes from the server: %s",t)}},fv=function(e,t){t===!1?C("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):C("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},FC=function(e,t){var i=e.namespaceURI===ya?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var Aw=/\r\n?/g,Nw=/\u0000|\uFFFD/g;function dv(e){Wi(e);var t=typeof e=="string"?e:""+e;return t.replace(Aw,`
|
|
118
|
-
`).replace(Nw,"")}function pv(e,t,i,a){var o=dv(t),s=dv(e);if(s!==o&&(a&&(Si||(Si=!0,C('Text content did not match. Server: "%s" Client: "%s"',s,o))),i&&Te))throw new Error("Text content does not match server-rendered HTML.")}function HC(e){return e.nodeType===Ui?e:e.ownerDocument}function zw(){}function hv(e){e.onclick=zw}function Uw(e,t,i,a,o){for(var s in a)if(a.hasOwnProperty(s)){var d=a[s];if(s===Ts)d&&Object.freeze(d),sh(t,d);else if(s===tp){var v=d?d[sv]:void 0;v!=null&&Zp(t,v)}else if(s===xs)if(typeof d=="string"){var m=e!=="textarea"||d!=="";m&&nc(t,d)}else typeof d=="number"&&nc(t,""+d);else s===uv||s===Su||s===NC||(Pt.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&fv(s,d),s==="onScroll"&&on("scroll",t)):d!=null&&Gi(t,s,d,o))}}function Fw(e,t,i,a){for(var o=0;o<t.length;o+=2){var s=t[o],d=t[o+1];s===Ts?sh(e,d):s===tp?Zp(e,d):s===xs?nc(e,d):Gi(e,s,d,a)}}function Hw(e,t,i,a){var o,s=HC(i),d,v=a;if(v===ya&&(v=ec(e)),v===ya){if(o=Sa(e,t),!o&&e!==e.toLowerCase()&&C("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var m=s.createElement("div");m.innerHTML="<script><\/script>";var E=m.firstChild;d=m.removeChild(E)}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===ya&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!Zn.call(xy,e)&&(xy[e]=!0,C("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 Vw(e,t){return HC(t).createTextNode(e)}function jw(e,t,i,a){var o=Sa(t,i);cv(t,i);var s;switch(t){case"dialog":on("cancel",e),on("close",e),s=i;break;case"iframe":case"object":case"embed":on("load",e),s=i;break;case"video":case"audio":for(var d=0;d<Zd.length;d++)on(Zd[d],e);s=i;break;case"source":on("error",e),s=i;break;case"img":case"image":case"link":on("error",e),on("load",e),s=i;break;case"details":on("toggle",e),s=i;break;case"input":x(e,i),s=y(e,i),on("invalid",e);break;case"option":Ot(e,i),s=i;break;case"select":Wu(e,i),s=Iu(e,i),on("invalid",e);break;case"textarea":Xp(e,i),s=If(e,i),on("invalid",e);break;default:s=i}switch(ic(t,s),Uw(t,e,a,s,o),t){case"input":li(e),ne(e,i,!1);break;case"textarea":li(e),qp(e);break;case"option":Ft(e,i);break;case"select":Pf(e,i);break;default:typeof s.onClick=="function"&&hv(e);break}}function Bw(e,t,i,a,o){cv(t,a);var s=null,d,v;switch(t){case"input":d=y(e,i),v=y(e,a),s=[];break;case"select":d=Iu(e,i),v=Iu(e,a),s=[];break;case"textarea":d=If(e,i),v=If(e,a),s=[];break;default:d=i,v=a,typeof d.onClick!="function"&&typeof v.onClick=="function"&&hv(e);break}ic(t,v);var m,E,w=null;for(m in d)if(!(v.hasOwnProperty(m)||!d.hasOwnProperty(m)||d[m]==null))if(m===Ts){var O=d[m];for(E in O)O.hasOwnProperty(E)&&(w||(w={}),w[E]="")}else m===tp||m===xs||m===uv||m===Su||m===NC||(Pt.hasOwnProperty(m)?s||(s=[]):(s=s||[]).push(m,null));for(m in v){var k=v[m],U=d?.[m];if(!(!v.hasOwnProperty(m)||k===U||k==null&&U==null))if(m===Ts)if(k&&Object.freeze(k),U){for(E in U)U.hasOwnProperty(E)&&(!k||!k.hasOwnProperty(E))&&(w||(w={}),w[E]="");for(E in k)k.hasOwnProperty(E)&&U[E]!==k[E]&&(w||(w={}),w[E]=k[E])}else w||(s||(s=[]),s.push(m,w)),w=k;else if(m===tp){var H=k?k[sv]:void 0,P=U?U[sv]:void 0;H!=null&&P!==H&&(s=s||[]).push(m,H)}else m===xs?(typeof k=="string"||typeof k=="number")&&(s=s||[]).push(m,""+k):m===uv||m===Su||(Pt.hasOwnProperty(m)?(k!=null&&(typeof k!="function"&&fv(m,k),m==="onScroll"&&on("scroll",e)),!s&&U!==k&&(s=[])):(s=s||[]).push(m,k))}return w&&(Gu(w,v[Ts]),(s=s||[]).push(Ts,w)),s}function Pw(e,t,i,a,o){i==="input"&&o.type==="radio"&&o.name!=null&&F(e,o);var s=Sa(i,a),d=Sa(i,o);switch(Fw(e,t,s,d),i){case"input":j(e,o);break;case"textarea":Kp(e,o);break;case"select":Fm(e,o);break}}function $w(e){{var t=e.toLowerCase();return ac.hasOwnProperty(t)&&ac[t]||null}}function Iw(e,t,i,a,o,s,d){var v,m;switch(v=Sa(t,i),cv(t,i),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 E=0;E<Zd.length;E++)on(Zd[E],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":x(e,i),on("invalid",e);break;case"option":Ot(e,i);break;case"select":Wu(e,i),on("invalid",e);break;case"textarea":Xp(e,i),on("invalid",e);break}ic(t,i);{m=new Set;for(var w=e.attributes,O=0;O<w.length;O++){var k=w[O].name.toLowerCase();switch(k){case"value":break;case"checked":break;case"selected":break;default:m.add(w[O].name)}}}var U=null;for(var H in i)if(i.hasOwnProperty(H)){var P=i[H];if(H===xs)typeof P=="string"?e.textContent!==P&&(i[Su]!==!0&&pv(e.textContent,P,s,d),U=[xs,P]):typeof P=="number"&&e.textContent!==""+P&&(i[Su]!==!0&&pv(e.textContent,P,s,d),U=[xs,""+P]);else if(Pt.hasOwnProperty(H))P!=null&&(typeof P!="function"&&fv(H,P),H==="onScroll"&&on("scroll",e));else if(d&&typeof v=="boolean"){var me=void 0,Ue=v&&Ke?null:ri(H);if(i[Su]!==!0){if(!(H===uv||H===Su||H==="value"||H==="checked"||H==="selected")){if(H===tp){var Me=e.innerHTML,ht=P?P[sv]:void 0;if(ht!=null){var ot=FC(e,ht);ot!==Me&&np(H,Me,ot)}}else if(H===Ts){if(m.delete(H),UC){var A=Wm(P);me=e.getAttribute("style"),A!==me&&np(H,me,A)}}else if(v&&!Ke)m.delete(H.toLowerCase()),me=$a(e,H,P),P!==me&&np(H,me,P);else if(!hn(H,Ue,v)&&!Wt(H,P,Ue,v)){var $=!1;if(Ue!==null)m.delete(Ue.attributeName),me=Mi(e,H,P,Ue);else{var N=a;if(N===ya&&(N=ec(t)),N===ya)m.delete(H.toLowerCase());else{var te=$w(H);te!==null&&te!==H&&($=!0,m.delete(te)),m.delete(H)}me=$a(e,H,P)}var ye=Ke;!ye&&P!==me&&!$&&np(H,me,P)}}}}}switch(d&&m.size>0&&i[Su]!==!0&&zC(m),t){case"input":li(e),ne(e,i,!0);break;case"textarea":li(e),qp(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&hv(e);break}return U}function Ww(e,t,i){var a=e.nodeValue!==t;return a}function Ty(e,t){{if(Si)return;Si=!0,C("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Dy(e,t){{if(Si)return;Si=!0,C('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function _y(e,t,i){{if(Si)return;Si=!0,C("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function ky(e,t){{if(t===""||Si)return;Si=!0,C('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function Yw(e,t,i){switch(t){case"input":Ve(e,i);return;case"textarea":Wf(e,i);return;case"select":Hm(e,i);return}}var rp=function(){},ip=function(){};{var Gw=["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"],VC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Qw=VC.concat(["button"]),Xw=["dd","dt","li","option","optgroup","p","rp","rt"],jC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ip=function(e,t){var i=tt({},e||jC),a={tag:t};return VC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),Qw.indexOf(t)!==-1&&(i.pTagInButtonScope=null),Gw.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=a,t==="form"&&(i.formTag=a),t==="a"&&(i.aTagInScope=a),t==="button"&&(i.buttonTagInScope=a),t==="nobr"&&(i.nobrTagInScope=a),t==="p"&&(i.pTagInButtonScope=a),t==="li"&&(i.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=a),i};var Kw=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 Xw.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},qw=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},BC={};rp=function(e,t,i){i=i||jC;var a=i.current,o=a&&a.tag;t!=null&&(e!=null&&C("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=Kw(e,o)?null:a,d=s?null:qw(e,i),v=s||d;if(v){var m=v.tag,E=!!s+"|"+e+"|"+m;if(!BC[E]){BC[E]=!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 k="";m==="table"&&e==="tr"&&(k+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",w,m,O,k)}else C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",w,m)}}}}var vv="suppressHydrationWarning",mv="$",yv="/$",ap="$?",lp="$!",Zw="style",My=null,Oy=null;function Jw(e){var t,i,a=e.nodeType;switch(a){case Ui:case Pl:{t=a===Ui?"#document":"#fragment";var o=e.documentElement;i=o?o.namespaceURI:Gf(null,"");break}default:{var s=a===gn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,i=Gf(d,t);break}}{var v=t.toLowerCase(),m=ip(null,v);return{namespace:i,ancestorInfo:m}}}function e1(e,t,i){{var a=e,o=Gf(a.namespace,t),s=ip(a.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function B_(e){return e}function t1(e){My=qr(),Oy=vw();var t=null;return Un(!1),t}function n1(e){mw(Oy),Un(My),My=null,Oy=null}function r1(e,t,i,a,o){var s;{var d=a;if(rp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var v=""+t.children,m=ip(d.ancestorInfo,e);rp(null,v,m)}s=d.namespace}var E=Hw(e,t,i,s);return sp(o,E),Vy(E,t),E}function i1(e,t){e.appendChild(t)}function a1(e,t,i,a,o){switch(jw(e,t,i,a),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function l1(e,t,i,a,o,s){{var d=s;if(typeof a.children!=typeof i.children&&(typeof a.children=="string"||typeof a.children=="number")){var v=""+a.children,m=ip(d.ancestorInfo,t);rp(null,v,m)}}return Bw(e,t,i,a)}function Ly(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 o1(e,t,i,a){{var o=i;rp(null,e,o.ancestorInfo)}var s=Vw(e,t);return sp(a,s),s}function u1(){var e=window.event;return e===void 0?Da:cr(e.type)}var Ay=typeof setTimeout=="function"?setTimeout:void 0,s1=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=-1,PC=typeof Promise=="function"?Promise:void 0,c1=typeof queueMicrotask=="function"?queueMicrotask:typeof PC<"u"?function(e){return PC.resolve(null).then(e).catch(f1)}:Ay;function f1(e){setTimeout(function(){throw e})}function d1(e,t,i,a){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function p1(e,t,i,a,o,s){Pw(e,t,i,a,o),Vy(e,o)}function $C(e){nc(e,"")}function h1(e,t,i){e.nodeValue=i}function v1(e,t){e.appendChild(t)}function m1(e,t){var i;e.nodeType===gn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var a=e._reactRootContainer;a==null&&i.onclick===null&&hv(i)}function y1(e,t,i){e.insertBefore(t,i)}function g1(e,t,i){e.nodeType===gn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function S1(e,t){e.removeChild(t)}function C1(e,t){e.nodeType===gn?e.parentNode.removeChild(t):e.removeChild(t)}function zy(e,t){var i=t,a=0;do{var o=i.nextSibling;if(e.removeChild(i),o&&o.nodeType===gn){var s=o.data;if(s===yv)if(a===0){e.removeChild(o),lt(t);return}else a--;else(s===mv||s===ap||s===lp)&&a++}i=o}while(i);lt(t)}function E1(e,t){e.nodeType===gn?zy(e.parentNode,t):e.nodeType===Mr&&zy(e,t),lt(e)}function R1(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function w1(e){e.nodeValue=""}function b1(e,t){e=e;var i=t[Zw],a=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=rc("display",a)}function x1(e,t){e.nodeValue=t}function T1(e){e.nodeType===Mr?e.textContent="":e.nodeType===Ui&&e.documentElement&&e.removeChild(e.documentElement)}function D1(e,t,i){return e.nodeType!==Mr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function _1(e,t){return t===""||e.nodeType!==ga?null:e}function k1(e){return e.nodeType!==gn?null:e}function IC(e){return e.data===ap}function Uy(e){return e.data===lp}function M1(e){var t=e.nextSibling&&e.nextSibling.dataset,i,a,o;return t&&(i=t.dgst,a=t.msg,o=t.stck),{message:a,digest:i,stack:o}}function O1(e,t){e._reactRetry=t}function gv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Mr||t===ga)break;if(t===gn){var i=e.data;if(i===mv||i===lp||i===ap)break;if(i===yv)return null}}return e}function op(e){return gv(e.nextSibling)}function L1(e){return gv(e.firstChild)}function A1(e){return gv(e.firstChild)}function N1(e){return gv(e.nextSibling)}function z1(e,t,i,a,o,s,d){sp(s,e),Vy(e,i);var v;{var m=o;v=m.namespace}var E=(s.mode&rt)!==He;return Iw(e,t,i,v,a,E,d)}function U1(e,t,i,a){return sp(i,e),i.mode&rt,Ww(e,t)}function F1(e,t){sp(t,e)}function H1(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===gn){var a=t.data;if(a===yv){if(i===0)return op(t);i--}else(a===mv||a===lp||a===ap)&&i++}t=t.nextSibling}return null}function WC(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===gn){var a=t.data;if(a===mv||a===lp||a===ap){if(i===0)return t;i--}else a===yv&&i++}t=t.previousSibling}return null}function V1(e){lt(e)}function j1(e){lt(e)}function B1(e){return e!=="head"&&e!=="body"}function P1(e,t,i,a){var o=!0;pv(t.nodeValue,i,a,o)}function $1(e,t,i,a,o,s){if(t[vv]!==!0){var d=!0;pv(a.nodeValue,o,s,d)}}function I1(e,t){t.nodeType===Mr?Ty(e,t):t.nodeType===gn||Dy(e,t)}function W1(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Mr?Ty(i,t):t.nodeType===gn||Dy(i,t))}}function Y1(e,t,i,a,o){(o||t[vv]!==!0)&&(a.nodeType===Mr?Ty(i,a):a.nodeType===gn||Dy(i,a))}function G1(e,t,i){_y(e,t)}function Q1(e,t){ky(e,t)}function X1(e,t,i){{var a=e.parentNode;a!==null&&_y(a,t)}}function K1(e,t){{var i=e.parentNode;i!==null&&ky(i,t)}}function q1(e,t,i,a,o,s){(s||t[vv]!==!0)&&_y(i,a)}function Z1(e,t,i,a,o){(o||t[vv]!==!0)&&ky(i,a)}function J1(e){C("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function eb(e){Jd(e)}var cf=Math.random().toString(36).slice(2),ff="__reactFiber$"+cf,Fy="__reactProps$"+cf,up="__reactContainer$"+cf,Hy="__reactEvents$"+cf,tb="__reactListeners$"+cf,nb="__reactHandles$"+cf;function rb(e){delete e[ff],delete e[Fy],delete e[Hy],delete e[tb],delete e[nb]}function sp(e,t){t[ff]=e}function Sv(e,t){t[up]=e}function YC(e){e[up]=null}function cp(e){return!!e[up]}function Ds(e){var t=e[ff];if(t)return t;for(var i=e.parentNode;i;){if(t=i[up]||i[ff],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var o=WC(e);o!==null;){var s=o[ff];if(s)return s;o=WC(o)}return t}e=i,i=e.parentNode}return null}function Cu(e){var t=e[ff]||e[up];return t&&(t.tag===X||t.tag===le||t.tag===Ce||t.tag===J)?t:null}function df(e){if(e.tag===X||e.tag===le)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Cv(e){return e[Fy]||null}function Vy(e,t){e[Fy]=t}function ib(e){var t=e[Hy];return t===void 0&&(t=e[Hy]=new Set),t}var GC={},QC=p.ReactDebugCurrentFrame;function Ev(e){if(e){var t=e._owner,i=Xi(e.type,e._source,t?t.type:null);QC.setExtraStackFrame(i)}else QC.setExtraStackFrame(null)}function La(e,t,i,a,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 m=Error((a||"React class")+": "+i+" 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 m.name="Invariant Violation",m}v=e[d](t,d,a,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){v=E}v&&!(v instanceof Error)&&(Ev(o),C("%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).",a||"React class",i,d,typeof v),Ev(null)),v instanceof Error&&!(v.message in GC)&&(GC[v.message]=!0,Ev(o),C("Failed %s type: %s",i,v.message),Ev(null))}}}var jy=[],Rv;Rv=[];var yo=-1;function Eu(e){return{current:e}}function Vr(e,t){if(yo<0){C("Unexpected pop.");return}t!==Rv[yo]&&C("Unexpected Fiber popped."),e.current=jy[yo],jy[yo]=null,Rv[yo]=null,yo--}function jr(e,t,i){yo++,jy[yo]=e.current,Rv[yo]=i,e.current=t}var By;By={};var Bi={};Object.freeze(Bi);var go=Eu(Bi),Tl=Eu(!1),Py=Bi;function pf(e,t,i){return i&&Dl(t)?Py:go.current}function XC(e,t,i){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=i}}function hf(e,t){{var i=e.type,a=i.contextTypes;if(!a)return Bi;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={};for(var d in a)s[d]=t[d];{var v=Ge(e)||"Unknown";La(a,s,"context",v)}return o&&XC(e,t,s),s}}function wv(){return Tl.current}function Dl(e){{var t=e.childContextTypes;return t!=null}}function bv(e){Vr(Tl,e),Vr(go,e)}function $y(e){Vr(Tl,e),Vr(go,e)}function KC(e,t,i){{if(go.current!==Bi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");jr(go,t,e),jr(Tl,i,e)}}function qC(e,t,i){{var a=e.stateNode,o=t.childContextTypes;if(typeof a.getChildContext!="function"){{var s=Ge(e)||"Unknown";By[s]||(By[s]=!0,C("%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 i}var d=a.getChildContext();for(var v in d)if(!(v in o))throw new Error((Ge(e)||"Unknown")+'.getChildContext(): key "'+v+'" is not defined in childContextTypes.');{var m=Ge(e)||"Unknown";La(o,d,"child context",m)}return tt({},i,d)}}function xv(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||Bi;return Py=go.current,jr(go,i,e),jr(Tl,Tl.current,e),!0}}function ZC(e,t,i){{var a=e.stateNode;if(!a)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(i){var o=qC(e,t,Py);a.__reactInternalMemoizedMergedChildContext=o,Vr(Tl,e),Vr(go,e),jr(go,o,e),jr(Tl,i,e)}else Vr(Tl,e),jr(Tl,i,e)}}function ab(e){{if(!pd(e)||e.tag!==K)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 J:return t.stateNode.context;case K:{var i=t.type;if(Dl(i))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 Ru=0,Tv=1,So=null,Iy=!1,Wy=!1;function JC(e){So===null?So=[e]:So.push(e)}function lb(e){Iy=!0,JC(e)}function eE(){Iy&&wu()}function wu(){if(!Wy&&So!==null){Wy=!0;var e=0,t=vi();try{var i=!0,a=So;for(Tn(tr);e<a.length;e++){var o=a[e];do o=o(i);while(o!==null)}So=null,Iy=!1}catch(s){throw So!==null&&(So=So.slice(e+1)),hc(mc,wu),s}finally{Tn(t),Wy=!1}}return null}var vf=[],mf=0,Dv=null,_v=0,ia=[],aa=0,_s=null,Co=1,Eo="";function ob(e){return Ms(),(e.flags&cd)!==ze}function ub(e){return Ms(),_v}function sb(){var e=Eo,t=Co,i=t&~cb(t);return i.toString(32)+e}function ks(e,t){Ms(),vf[mf++]=_v,vf[mf++]=Dv,Dv=e,_v=t}function tE(e,t,i){Ms(),ia[aa++]=Co,ia[aa++]=Eo,ia[aa++]=_s,_s=e;var a=Co,o=Eo,s=kv(a)-1,d=a&~(1<<s),v=i+1,m=kv(t)+s;if(m>30){var E=s-s%5,w=(1<<E)-1,O=(d&w).toString(32),k=d>>E,U=s-E,H=kv(t)+U,P=v<<U,me=P|k,Ue=O+o;Co=1<<H|me,Eo=Ue}else{var Me=v<<s,ht=Me|d,ot=o;Co=1<<m|ht,Eo=ot}}function Yy(e){Ms();var t=e.return;if(t!==null){var i=1,a=0;ks(e,i),tE(e,i,a)}}function kv(e){return 32-Rc(e)}function cb(e){return 1<<kv(e)-1}function Gy(e){for(;e===Dv;)Dv=vf[--mf],vf[mf]=null,_v=vf[--mf],vf[mf]=null;for(;e===_s;)_s=ia[--aa],ia[aa]=null,Eo=ia[--aa],ia[aa]=null,Co=ia[--aa],ia[aa]=null}function fb(){return Ms(),_s!==null?{id:Co,overflow:Eo}:null}function db(e,t){Ms(),ia[aa++]=Co,ia[aa++]=Eo,ia[aa++]=_s,Co=t.id,Eo=t.overflow,_s=e}function Ms(){dr()||C("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fr=null,la=null,Aa=!1,Os=!1,bu=null;function pb(){Aa&&C("We should not be hydrating here. This is a bug in React. Please file a bug.")}function nE(){Os=!0}function hb(){return Os}function vb(e){var t=e.stateNode.containerInfo;return la=A1(t),fr=e,Aa=!0,bu=null,Os=!1,!0}function mb(e,t,i){return la=N1(t),fr=e,Aa=!0,bu=null,Os=!1,i!==null&&db(e,i),!0}function rE(e,t){switch(e.tag){case J:{I1(e.stateNode.containerInfo,t);break}case X:{var i=(e.mode&rt)!==He;Y1(e.type,e.memoizedProps,e.stateNode,t,i);break}case Ce:{var a=e.memoizedState;a.dehydrated!==null&&W1(a.dehydrated,t);break}}}function iE(e,t){rE(e,t);var i=SD();i.stateNode=t,i.return=e;var a=e.deletions;a===null?(e.deletions=[i],e.flags|=xt):a.push(i)}function Qy(e,t){{if(Os)return;switch(e.tag){case J:{var i=e.stateNode.containerInfo;switch(t.tag){case X:var a=t.type;t.pendingProps,G1(i,a);break;case le:var o=t.pendingProps;Q1(i,o);break}break}case X:{var s=e.type,d=e.memoizedProps,v=e.stateNode;switch(t.tag){case X:{var m=t.type,E=t.pendingProps,w=(e.mode&rt)!==He;q1(s,d,v,m,E,w);break}case le:{var O=t.pendingProps,k=(e.mode&rt)!==He;Z1(s,d,v,O,k);break}}break}case Ce:{var U=e.memoizedState,H=U.dehydrated;if(H!==null)switch(t.tag){case X:var P=t.type;t.pendingProps,X1(H,P);break;case le:var me=t.pendingProps;K1(H,me);break}break}default:return}}}function aE(e,t){t.flags=t.flags&~ci|Yt,Qy(e,t)}function lE(e,t){switch(e.tag){case X:{var i=e.type;e.pendingProps;var a=D1(t,i);return a!==null?(e.stateNode=a,fr=e,la=L1(a),!0):!1}case le:{var o=e.pendingProps,s=_1(t,o);return s!==null?(e.stateNode=s,fr=e,la=null,!0):!1}case Ce:{var d=k1(t);if(d!==null){var v={dehydrated:d,treeContext:fb(),retryLane:Fr};e.memoizedState=v;var m=CD(d);return m.return=e,e.child=m,fr=e,la=null,!0}return!1}default:return!1}}function Xy(e){return(e.mode&rt)!==He&&(e.flags&We)===ze}function Ky(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function qy(e){if(Aa){var t=la;if(!t){Xy(e)&&(Qy(fr,e),Ky()),aE(fr,e),Aa=!1,fr=e;return}var i=t;if(!lE(e,t)){Xy(e)&&(Qy(fr,e),Ky()),t=op(i);var a=fr;if(!t||!lE(e,t)){aE(fr,e),Aa=!1,fr=e;return}iE(a,i)}}}function yb(e,t,i){var a=e.stateNode,o=!Os,s=z1(a,e.type,e.memoizedProps,t,i,e,o);return e.updateQueue=s,s!==null}function gb(e){var t=e.stateNode,i=e.memoizedProps,a=U1(t,i,e);if(a){var o=fr;if(o!==null)switch(o.tag){case J:{var s=o.stateNode.containerInfo,d=(o.mode&rt)!==He;P1(s,t,i,d);break}case X:{var v=o.type,m=o.memoizedProps,E=o.stateNode,w=(o.mode&rt)!==He;$1(v,m,E,t,i,w);break}}}return a}function Sb(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");F1(i,e)}function Cb(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)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 H1(i)}function oE(e){for(var t=e.return;t!==null&&t.tag!==X&&t.tag!==J&&t.tag!==Ce;)t=t.return;fr=t}function Mv(e){if(e!==fr)return!1;if(!Aa)return oE(e),Aa=!0,!1;if(e.tag!==J&&(e.tag!==X||B1(e.type)&&!Ly(e.type,e.memoizedProps))){var t=la;if(t)if(Xy(e))uE(e),Ky();else for(;t;)iE(e,t),t=op(t)}return oE(e),e.tag===Ce?la=Cb(e):la=fr?op(e.stateNode):null,!0}function Eb(){return Aa&&la!==null}function uE(e){for(var t=la;t;)rE(e,t),t=op(t)}function yf(){fr=null,la=null,Aa=!1,Os=!1}function sE(){bu!==null&&(rR(bu),bu=null)}function dr(){return Aa}function Zy(e){bu===null?bu=[e]:bu.push(e)}var Rb=p.ReactCurrentBatchConfig,wb=null;function bb(){return Rb.transition}var Na={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var xb=function(e){for(var t=null,i=e;i!==null;)i.mode&an&&(t=i),i=i.return;return t},Ls=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},fp=[],dp=[],pp=[],hp=[],vp=[],mp=[],As=new Set;Na.recordUnsafeLifecycleWarnings=function(e,t){As.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&fp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillMount=="function"&&dp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&hp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&vp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillUpdate=="function"&&mp.push(e))},Na.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;fp.length>0&&(fp.forEach(function(k){e.add(Ge(k)||"Component"),As.add(k.type)}),fp=[]);var t=new Set;dp.length>0&&(dp.forEach(function(k){t.add(Ge(k)||"Component"),As.add(k.type)}),dp=[]);var i=new Set;pp.length>0&&(pp.forEach(function(k){i.add(Ge(k)||"Component"),As.add(k.type)}),pp=[]);var a=new Set;hp.length>0&&(hp.forEach(function(k){a.add(Ge(k)||"Component"),As.add(k.type)}),hp=[]);var o=new Set;vp.length>0&&(vp.forEach(function(k){o.add(Ge(k)||"Component"),As.add(k.type)}),vp=[]);var s=new Set;if(mp.length>0&&(mp.forEach(function(k){s.add(Ge(k)||"Component"),As.add(k.type)}),mp=[]),t.size>0){var d=Ls(t);C(`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.
|
|
117
|
+
*/function my(e){if(!hn)return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i=typeof a[t]=="function"}return i}function lf(){Cr("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,i,a){uc(a);var o=ov(t,"onChange");if(o.length>0){var s=new lr("onChange","change",null,i,a);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,oc(e)),id(h,t)}function h(e){MC(e,0)}function S(e){var t=df(e);if(Po(t))return e}function b(e,t){if(e==="change")return t}var _=!1;hn&&(_=my("input")&&(!document.documentMode||document.documentMode>9));function B(e,t){r=e,l=t,r.attachEvent("onpropertychange",J)}function q(){r&&(r.detachEvent("onpropertychange",J),r=null,l=null)}function J(e){e.propertyName==="value"&&S(l)&&f(e)}function K(e,t,i){e==="focusin"?(q(),B(t,i)):e==="focusout"&&q()}function ve(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return S(l)}function Ee(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function be(e,t){if(e==="click")return S(t)}function yn(e,t){if(e==="input"||e==="change")return S(t)}function A(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||He(e,"number",e.value)}function M(e,t,i,a,o,s,d){var v=i?df(i):window,m,R;if(u(v)?m=b:gu(v)?_?m=yn:(m=ve,R=K):Ee(v)&&(m=be),m){var w=m(t,i);if(w){n(e,w,a,o);return}}R&&R(t,v,i),t==="focusout"&&A(v)}function U(){Ti("onMouseEnter",["mouseout","mouseover"]),Ti("onMouseLeave",["mouseout","mouseover"]),Ti("onPointerEnter",["pointerout","pointerover"]),Ti("onPointerLeave",["pointerout","pointerover"])}function ie(e,t,i,a,o,s,d){var v=t==="mouseover"||t==="pointerover",m=t==="mouseout"||t==="pointerout";if(v&&!Ch(a)){var R=a.relatedTarget||a.fromElement;if(R&&(_s(R)||cp(R)))return}if(!(!m&&!v)){var w;if(o.window===o)w=o;else{var O=o.ownerDocument;O?w=O.defaultView||O.parentWindow:w=window}var k,F;if(m){var V=a.relatedTarget||a.toElement;if(k=i,F=V?_s(V):null,F!==null){var j=Gr(F);(F!==j||F.tag!==te&&F.tag!==re)&&(F=null)}}else k=null,F=i;if(k!==F){var ge=wl,Fe="onMouseLeave",Me="onMouseEnter",vt="mouse";(t==="pointerout"||t==="pointerover")&&(ge=Wd,Fe="onPointerLeave",Me="onPointerEnter",vt="pointer");var st=k==null?w:df(k),L=F==null?w:df(F),I=new ge(Fe,vt+"leave",k,a,o);I.target=st,I.relatedTarget=L;var N=null,ee=_s(o);if(ee===i){var Se=new ge(Me,vt+"enter",F,a,o);Se.target=L,Se.relatedTarget=st,N=Se}Lw(e,I,N,k,F)}}}function ke(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Re=typeof Object.is=="function"?Object.is:ke;function Ae(e,t){if(Re(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var o=0;o<i.length;o++){var s=i[o];if(!Zn.call(t,s)||!Re(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 Rt(e,t){for(var i=Qe(e),a=0,o=0;i;){if(i.nodeType===ga){if(o=a+i.textContent.length,a<=t&&o>=t)return{node:i,offset:t-a};a=o}i=Qe(Fn(i))}}function xl(e){var t=e.ownerDocument,i=t&&t.defaultView||window,a=i.getSelection&&i.getSelection();if(!a||a.rangeCount===0)return null;var o=a.anchorNode,s=a.anchorOffset,d=a.focusNode,v=a.focusOffset;try{o.nodeType,d.nodeType}catch{return null}return yy(e,o,s,d,v)}function yy(e,t,i,a,o){var s=0,d=-1,v=-1,m=0,R=0,w=e,O=null;e:for(;;){for(var k=null;w===t&&(i===0||w.nodeType===ga)&&(d=s+i),w===a&&(o===0||w.nodeType===ga)&&(v=s+o),w.nodeType===ga&&(s+=w.nodeValue.length),(k=w.firstChild)!==null;)O=w,w=k;for(;;){if(w===e)break e;if(O===t&&++m===i&&(d=s),O===a&&++R===o&&(v=s),(k=w.nextSibling)!==null)break;w=O,O=w.parentNode}w=k}return d===-1||v===-1?null:{start:d,end:v}}function hw(e,t){var i=e.ownerDocument||document,a=i&&i.defaultView||window;if(a.getSelection){var o=a.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 m=v;v=d,d=m}var R=Rt(e,d),w=Rt(e,v);if(R&&w){if(o.rangeCount===1&&o.anchorNode===R.node&&o.anchorOffset===R.offset&&o.focusNode===w.node&&o.focusOffset===w.offset)return;var O=i.createRange();O.setStart(R.node,R.offset),o.removeAllRanges(),d>v?(o.addRange(O),o.extend(w.node,w.offset)):(O.setEnd(w.node,w.offset),o.addRange(O))}}}function gC(e){return e&&e.nodeType===ga}function SC(e,t){return!e||!t?!1:e===t?!0:gC(e)?!1:gC(t)?SC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function vw(e){return e&&e.ownerDocument&&SC(e.ownerDocument.documentElement,e)}function mw(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function CC(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){if(mw(t))e=t.contentWindow;else return t;t=il(e.document)}return t}function gy(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 yw(){var e=CC();return{focusedElem:e,selectionRange:gy(e)?Sw(e):null}}function gw(e){var t=CC(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&vw(i)){a!==null&&gy(i)&&Cw(i,a);for(var o=[],s=i;s=s.parentNode;)s.nodeType===Mr&&o.push({element:s,left:s.scrollLeft,top:s.scrollTop});typeof i.focus=="function"&&i.focus();for(var d=0;d<o.length;d++){var v=o[d];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}}function Sw(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=xl(e),t||{start:0,end:0}}function Cw(e,t){var i=t.start,a=t.end;a===void 0&&(a=i),"selectionStart"in e?(e.selectionStart=i,e.selectionEnd=Math.min(a,e.value.length)):hw(e,t)}var Ew=hn&&"documentMode"in document&&document.documentMode<=11;function Rw(){Cr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var of=null,Sy=null,qd=null,Cy=!1;function ww(e){if("selectionStart"in e&&gy(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,i=t.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function bw(e){return e.window===e?e.document:e.nodeType===Ui?e:e.ownerDocument}function EC(e,t,i){var a=bw(i);if(!(Cy||of==null||of!==il(a))){var o=ww(of);if(!qd||!Ae(qd,o)){qd=o;var s=ov(Sy,"onSelect");if(s.length>0){var d=new lr("onSelect","select",null,t,i);e.push({event:d,listeners:s}),d.target=of}}}}function xw(e,t,i,a,o,s,d){var v=i?df(i):window;switch(t){case"focusin":(gu(v)||v.contentEditable==="true")&&(of=v,Sy=i,qd=null);break;case"focusout":of=null,Sy=null,qd=null;break;case"mousedown":Cy=!0;break;case"contextmenu":case"mouseup":case"dragend":Cy=!1,EC(e,a,o);break;case"selectionchange":if(Ew)break;case"keydown":case"keyup":EC(e,a,o)}}function iv(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var uf={animationend:iv("Animation","AnimationEnd"),animationiteration:iv("Animation","AnimationIteration"),animationstart:iv("Animation","AnimationStart"),transitionend:iv("Transition","TransitionEnd")},Ey={},RC={};hn&&(RC=document.createElement("div").style,"AnimationEvent"in window||(delete uf.animationend.animation,delete uf.animationiteration.animation,delete uf.animationstart.animation),"TransitionEvent"in window||delete uf.transitionend.transition);function av(e){if(Ey[e])return Ey[e];if(!uf[e])return e;var t=uf[e];for(var i in t)if(t.hasOwnProperty(i)&&i in RC)return Ey[e]=t[i];return e}var wC=av("animationend"),bC=av("animationiteration"),xC=av("animationstart"),TC=av("transitionend"),DC=new Map,_C=["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 Su(e,t){DC.set(e,t),Cr(t,[e])}function Tw(){for(var e=0;e<_C.length;e++){var t=_C[e],i=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Su(i,"on"+a)}Su(wC,"onAnimationEnd"),Su(bC,"onAnimationIteration"),Su(xC,"onAnimationStart"),Su("dblclick","onDoubleClick"),Su("focusin","onFocus"),Su("focusout","onBlur"),Su(TC,"onTransitionEnd")}function Dw(e,t,i,a,o,s,d){var v=DC.get(t);if(v!==void 0){var m=lr,R=t;switch(t){case"keypress":if(co(a)===0)return;case"keydown":case"keyup":m=cy;break;case"focusin":R="focus",m=Kc;break;case"focusout":R="blur",m=Kc;break;case"beforeblur":case"afterblur":m=Kc;break;case"click":if(a.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=wl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=po;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=gi;break;case wC:case bC:case xC:m=qc;break;case TC:m=dy;break;case"scroll":m=Bd;break;case"wheel":m=Jc;break;case"copy":case"cut":case"paste":m=ly;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Wd;break}var w=(s&$l)!==0;{var O=!w&&t==="scroll",k=Ow(i,v,a.type,w,O);if(k.length>0){var F=new m(v,R,null,a,o);e.push({event:F,listeners:k})}}}}Tw(),U(),lf(),Rw(),ev();function _w(e,t,i,a,o,s,d){Dw(e,t,i,a,o,s);var v=(s&Gm)===0;v&&(ie(e,t,i,a,o),M(e,t,i,a,o),xw(e,t,i,a,o),af(e,t,i,a,o))}var Zd=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Ry=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Zd));function kC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,Ra(a,t,void 0,e),e.currentTarget=null}function kw(e,t,i){var a;if(i)for(var o=t.length-1;o>=0;o--){var s=t[o],d=s.instance,v=s.currentTarget,m=s.listener;if(d!==a&&e.isPropagationStopped())return;kC(e,m,v),a=d}else for(var R=0;R<t.length;R++){var w=t[R],O=w.instance,k=w.currentTarget,F=w.listener;if(O!==a&&e.isPropagationStopped())return;kC(e,F,k),a=O}}function MC(e,t){for(var i=(t&$l)!==0,a=0;a<e.length;a++){var o=e[a],s=o.event,d=o.listeners;kw(s,d,i)}ud()}function Mw(e,t,i,a,o){var s=oc(i),d=[];_w(d,e,a,i,s,t),MC(d,t)}function on(e,t){Ry.has(e)||C('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,a=l1(t),o=Nw(e,i);a.has(o)||(OC(t,e,Ku,i),a.add(o))}function wy(e,t,i){Ry.has(e)&&!t&&C('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=$l),OC(i,e,a,t)}var lv="_reactListening"+Math.random().toString(36).slice(2);function Jd(e){if(!e[lv]){e[lv]=!0,ct.forEach(function(i){i!=="selectionchange"&&(Ry.has(i)||wy(i,!1,e),wy(i,!0,e))});var t=e.nodeType===Ui?e:e.ownerDocument;t!==null&&(t[lv]||(t[lv]=!0,wy("selectionchange",!1,t)))}}function OC(e,t,i,a,o){var s=fu(e,t,i),d=void 0;ts&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(d=!0),e=e,a?d!==void 0?Ma(e,t,s,d):pu(e,t,s):d!==void 0?Gc(e,t,s,d):Vd(e,t,s)}function AC(e,t){return e===t||e.nodeType===Sn&&e.parentNode===t}function by(e,t,i,a,o){var s=a;if(!(t&Ca)&&!(t&Ku)){var d=o;if(a!==null){var v=a;e:for(;;){if(v===null)return;var m=v.tag;if(m===Z||m===ae){var R=v.stateNode.containerInfo;if(AC(R,d))break;if(m===ae)for(var w=v.return;w!==null;){var O=w.tag;if(O===Z||O===ae){var k=w.stateNode.containerInfo;if(AC(k,d))return}w=w.return}for(;R!==null;){var F=_s(R);if(F===null)return;var V=F.tag;if(V===te||V===re){v=s=F;continue e}R=R.parentNode}}v=v.return}}}id(function(){return Mw(e,t,i,s)})}function ep(e,t,i){return{instance:e,listener:t,currentTarget:i}}function Ow(e,t,i,a,o,s){for(var d=t!==null?t+"Capture":null,v=a?d:t,m=[],R=e,w=null;R!==null;){var O=R,k=O.stateNode,F=O.tag;if(F===te&&k!==null&&(w=k,v!==null)){var V=Yl(R,v);V!=null&&m.push(ep(R,V,w))}if(o)break;R=R.return}return m}function ov(e,t){for(var i=t+"Capture",a=[],o=e;o!==null;){var s=o,d=s.stateNode,v=s.tag;if(v===te&&d!==null){var m=d,R=Yl(o,i);R!=null&&a.unshift(ep(o,R,m));var w=Yl(o,t);w!=null&&a.push(ep(o,w,m))}o=o.return}return a}function sf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==te);return e||null}function Aw(e,t){for(var i=e,a=t,o=0,s=i;s;s=sf(s))o++;for(var d=0,v=a;v;v=sf(v))d++;for(;o-d>0;)i=sf(i),o--;for(;d-o>0;)a=sf(a),d--;for(var m=o;m--;){if(i===a||a!==null&&i===a.alternate)return i;i=sf(i),a=sf(a)}return null}function LC(e,t,i,a,o){for(var s=t._reactName,d=[],v=i;v!==null&&v!==a;){var m=v,R=m.alternate,w=m.stateNode,O=m.tag;if(R!==null&&R===a)break;if(O===te&&w!==null){var k=w;if(o){var F=Yl(v,s);F!=null&&d.unshift(ep(v,F,k))}else if(!o){var V=Yl(v,s);V!=null&&d.push(ep(v,V,k))}}v=v.return}d.length!==0&&e.push({event:t,listeners:d})}function Lw(e,t,i,a,o){var s=a&&o?Aw(a,o):null;a!==null&&LC(e,t,a,s,!1),o!==null&&i!==null&&LC(e,i,o,s,!0)}function Nw(e,t){return e+"__"+(t?"capture":"bubble")}var Si=!1,tp="dangerouslySetInnerHTML",uv="suppressContentEditableWarning",Cu="suppressHydrationWarning",NC="autoFocus",Ts="children",Ds="style",sv="__html",xy,cv,np,zC,fv,UC,FC;xy={dialog:!0,webview:!0},cv=function(e,t){lc(e,t),Jf(e,t),Sh(e,t,{registrationNameDependencies:jt,possibleRegistrationNames:fa})},UC=hn&&!document.documentMode,np=function(e,t,i){if(!Si){var a=dv(i),o=dv(t);o!==a&&(Si=!0,C("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(a)))}},zC=function(e){if(!Si){Si=!0;var t=[];e.forEach(function(i){t.push(i)}),C("Extra attributes from the server: %s",t)}},fv=function(e,t){t===!1?C("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):C("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},FC=function(e,t){var i=e.namespaceURI===ya?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var zw=/\r\n?/g,Uw=/\u0000|\uFFFD/g;function dv(e){Wi(e);var t=typeof e=="string"?e:""+e;return t.replace(zw,`
|
|
118
|
+
`).replace(Uw,"")}function pv(e,t,i,a){var o=dv(t),s=dv(e);if(s!==o&&(a&&(Si||(Si=!0,C('Text content did not match. Server: "%s" Client: "%s"',s,o))),i&&De))throw new Error("Text content does not match server-rendered HTML.")}function HC(e){return e.nodeType===Ui?e:e.ownerDocument}function Fw(){}function hv(e){e.onclick=Fw}function Hw(e,t,i,a,o){for(var s in a)if(a.hasOwnProperty(s)){var d=a[s];if(s===Ds)d&&Object.freeze(d),sh(t,d);else if(s===tp){var v=d?d[sv]:void 0;v!=null&&Zp(t,v)}else if(s===Ts)if(typeof d=="string"){var m=e!=="textarea"||d!=="";m&&nc(t,d)}else typeof d=="number"&&nc(t,""+d);else s===uv||s===Cu||s===NC||(jt.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&fv(s,d),s==="onScroll"&&on("scroll",t)):d!=null&&Gi(t,s,d,o))}}function Vw(e,t,i,a){for(var o=0;o<t.length;o+=2){var s=t[o],d=t[o+1];s===Ds?sh(e,d):s===tp?Zp(e,d):s===Ts?nc(e,d):Gi(e,s,d,a)}}function Bw(e,t,i,a){var o,s=HC(i),d,v=a;if(v===ya&&(v=ec(e)),v===ya){if(o=Sa(e,t),!o&&e!==e.toLowerCase()&&C("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var m=s.createElement("div");m.innerHTML="<script><\/script>";var R=m.firstChild;d=m.removeChild(R)}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===ya&&!o&&Object.prototype.toString.call(d)==="[object HTMLUnknownElement]"&&!Zn.call(xy,e)&&(xy[e]=!0,C("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 Pw(e,t){return HC(t).createTextNode(e)}function jw(e,t,i,a){var o=Sa(t,i);cv(t,i);var s;switch(t){case"dialog":on("cancel",e),on("close",e),s=i;break;case"iframe":case"object":case"embed":on("load",e),s=i;break;case"video":case"audio":for(var d=0;d<Zd.length;d++)on(Zd[d],e);s=i;break;case"source":on("error",e),s=i;break;case"img":case"image":case"link":on("error",e),on("load",e),s=i;break;case"details":on("toggle",e),s=i;break;case"input":T(e,i),s=g(e,i),on("invalid",e);break;case"option":Nt(e,i),s=i;break;case"select":Yu(e,i),s=Wu(e,i),on("invalid",e);break;case"textarea":Xp(e,i),s=$f(e,i),on("invalid",e);break;default:s=i}switch(ic(t,s),Hw(t,e,a,s,o),t){case"input":li(e),ne(e,i,!1);break;case"textarea":li(e),qp(e);break;case"option":Vt(e,i);break;case"select":jf(e,i);break;default:typeof s.onClick=="function"&&hv(e);break}}function Iw(e,t,i,a,o){cv(t,a);var s=null,d,v;switch(t){case"input":d=g(e,i),v=g(e,a),s=[];break;case"select":d=Wu(e,i),v=Wu(e,a),s=[];break;case"textarea":d=$f(e,i),v=$f(e,a),s=[];break;default:d=i,v=a,typeof d.onClick!="function"&&typeof v.onClick=="function"&&hv(e);break}ic(t,v);var m,R,w=null;for(m in d)if(!(v.hasOwnProperty(m)||!d.hasOwnProperty(m)||d[m]==null))if(m===Ds){var O=d[m];for(R in O)O.hasOwnProperty(R)&&(w||(w={}),w[R]="")}else m===tp||m===Ts||m===uv||m===Cu||m===NC||(jt.hasOwnProperty(m)?s||(s=[]):(s=s||[]).push(m,null));for(m in v){var k=v[m],F=d!=null?d[m]:void 0;if(!(!v.hasOwnProperty(m)||k===F||k==null&&F==null))if(m===Ds)if(k&&Object.freeze(k),F){for(R in F)F.hasOwnProperty(R)&&(!k||!k.hasOwnProperty(R))&&(w||(w={}),w[R]="");for(R in k)k.hasOwnProperty(R)&&F[R]!==k[R]&&(w||(w={}),w[R]=k[R])}else w||(s||(s=[]),s.push(m,w)),w=k;else if(m===tp){var V=k?k[sv]:void 0,j=F?F[sv]:void 0;V!=null&&j!==V&&(s=s||[]).push(m,V)}else m===Ts?(typeof k=="string"||typeof k=="number")&&(s=s||[]).push(m,""+k):m===uv||m===Cu||(jt.hasOwnProperty(m)?(k!=null&&(typeof k!="function"&&fv(m,k),m==="onScroll"&&on("scroll",e)),!s&&F!==k&&(s=[])):(s=s||[]).push(m,k))}return w&&(Qu(w,v[Ds]),(s=s||[]).push(Ds,w)),s}function $w(e,t,i,a,o){i==="input"&&o.type==="radio"&&o.name!=null&&H(e,o);var s=Sa(i,a),d=Sa(i,o);switch(Vw(e,t,s,d),i){case"input":P(e,o);break;case"textarea":Kp(e,o);break;case"select":Fm(e,o);break}}function Ww(e){{var t=e.toLowerCase();return ac.hasOwnProperty(t)&&ac[t]||null}}function Yw(e,t,i,a,o,s,d){var v,m;switch(v=Sa(t,i),cv(t,i),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 R=0;R<Zd.length;R++)on(Zd[R],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,i),on("invalid",e);break;case"option":Nt(e,i);break;case"select":Yu(e,i),on("invalid",e);break;case"textarea":Xp(e,i),on("invalid",e);break}ic(t,i);{m=new Set;for(var w=e.attributes,O=0;O<w.length;O++){var k=w[O].name.toLowerCase();switch(k){case"value":break;case"checked":break;case"selected":break;default:m.add(w[O].name)}}}var F=null;for(var V in i)if(i.hasOwnProperty(V)){var j=i[V];if(V===Ts)typeof j=="string"?e.textContent!==j&&(i[Cu]!==!0&&pv(e.textContent,j,s,d),F=[Ts,j]):typeof j=="number"&&e.textContent!==""+j&&(i[Cu]!==!0&&pv(e.textContent,j,s,d),F=[Ts,""+j]);else if(jt.hasOwnProperty(V))j!=null&&(typeof j!="function"&&fv(V,j),V==="onScroll"&&on("scroll",e));else if(d&&typeof v=="boolean"){var ge=void 0,Fe=v&&Ze?null:ri(V);if(i[Cu]!==!0){if(!(V===uv||V===Cu||V==="value"||V==="checked"||V==="selected")){if(V===tp){var Me=e.innerHTML,vt=j?j[sv]:void 0;if(vt!=null){var st=FC(e,vt);st!==Me&&np(V,Me,st)}}else if(V===Ds){if(m.delete(V),UC){var L=Wm(j);ge=e.getAttribute("style"),L!==ge&&np(V,ge,L)}}else if(v&&!Ze)m.delete(V.toLowerCase()),ge=Ia(e,V,j),j!==ge&&np(V,ge,j);else if(!vn(V,Fe,v)&&!Wt(V,j,Fe,v)){var I=!1;if(Fe!==null)m.delete(Fe.attributeName),ge=Mi(e,V,j,Fe);else{var N=a;if(N===ya&&(N=ec(t)),N===ya)m.delete(V.toLowerCase());else{var ee=Ww(V);ee!==null&&ee!==V&&(I=!0,m.delete(ee)),m.delete(V)}ge=Ia(e,V,j)}var Se=Ze;!Se&&j!==ge&&!I&&np(V,ge,j)}}}}}switch(d&&m.size>0&&i[Cu]!==!0&&zC(m),t){case"input":li(e),ne(e,i,!0);break;case"textarea":li(e),qp(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&hv(e);break}return F}function Gw(e,t,i){var a=e.nodeValue!==t;return a}function Ty(e,t){{if(Si)return;Si=!0,C("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function Dy(e,t){{if(Si)return;Si=!0,C('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function _y(e,t,i){{if(Si)return;Si=!0,C("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function ky(e,t){{if(t===""||Si)return;Si=!0,C('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function Qw(e,t,i){switch(t){case"input":Pe(e,i);return;case"textarea":Wf(e,i);return;case"select":Hm(e,i);return}}var rp=function(){},ip=function(){};{var Xw=["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"],VC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Kw=VC.concat(["button"]),qw=["dd","dt","li","option","optgroup","p","rp","rt"],BC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};ip=function(e,t){var i=rt({},e||BC),a={tag:t};return VC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),Kw.indexOf(t)!==-1&&(i.pTagInButtonScope=null),Xw.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=a,t==="form"&&(i.formTag=a),t==="a"&&(i.aTagInScope=a),t==="button"&&(i.buttonTagInScope=a),t==="nobr"&&(i.nobrTagInScope=a),t==="p"&&(i.pTagInButtonScope=a),t==="li"&&(i.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=a),i};var Zw=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 qw.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},Jw=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},PC={};rp=function(e,t,i){i=i||BC;var a=i.current,o=a&&a.tag;t!=null&&(e!=null&&C("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=Zw(e,o)?null:a,d=s?null:Jw(e,i),v=s||d;if(v){var m=v.tag,R=!!s+"|"+e+"|"+m;if(!PC[R]){PC[R]=!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 k="";m==="table"&&e==="tr"&&(k+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),C("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",w,m,O,k)}else C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",w,m)}}}}var vv="suppressHydrationWarning",mv="$",yv="/$",ap="$?",lp="$!",eb="style",My=null,Oy=null;function tb(e){var t,i,a=e.nodeType;switch(a){case Ui:case jl:{t=a===Ui?"#document":"#fragment";var o=e.documentElement;i=o?o.namespaceURI:Gf(null,"");break}default:{var s=a===Sn?e.parentNode:e,d=s.namespaceURI||null;t=s.tagName,i=Gf(d,t);break}}{var v=t.toLowerCase(),m=ip(null,v);return{namespace:i,ancestorInfo:m}}}function nb(e,t,i){{var a=e,o=Gf(a.namespace,t),s=ip(a.ancestorInfo,t);return{namespace:o,ancestorInfo:s}}}function I_(e){return e}function rb(e){My=qr(),Oy=yw();var t=null;return Un(!1),t}function ib(e){gw(Oy),Un(My),My=null,Oy=null}function ab(e,t,i,a,o){var s;{var d=a;if(rp(e,null,d.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var v=""+t.children,m=ip(d.ancestorInfo,e);rp(null,v,m)}s=d.namespace}var R=Bw(e,t,i,s);return sp(o,R),Vy(R,t),R}function lb(e,t){e.appendChild(t)}function ob(e,t,i,a,o){switch(jw(e,t,i,a),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function ub(e,t,i,a,o,s){{var d=s;if(typeof a.children!=typeof i.children&&(typeof a.children=="string"||typeof a.children=="number")){var v=""+a.children,m=ip(d.ancestorInfo,t);rp(null,v,m)}}return Iw(e,t,i,a)}function Ay(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 sb(e,t,i,a){{var o=i;rp(null,e,o.ancestorInfo)}var s=Pw(e,t);return sp(a,s),s}function cb(){var e=window.event;return e===void 0?Da:cr(e.type)}var Ly=typeof setTimeout=="function"?setTimeout:void 0,fb=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=-1,jC=typeof Promise=="function"?Promise:void 0,db=typeof queueMicrotask=="function"?queueMicrotask:typeof jC<"u"?function(e){return jC.resolve(null).then(e).catch(pb)}:Ly;function pb(e){setTimeout(function(){throw e})}function hb(e,t,i,a){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function vb(e,t,i,a,o,s){$w(e,t,i,a,o),Vy(e,o)}function IC(e){nc(e,"")}function mb(e,t,i){e.nodeValue=i}function yb(e,t){e.appendChild(t)}function gb(e,t){var i;e.nodeType===Sn?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var a=e._reactRootContainer;a==null&&i.onclick===null&&hv(i)}function Sb(e,t,i){e.insertBefore(t,i)}function Cb(e,t,i){e.nodeType===Sn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function Eb(e,t){e.removeChild(t)}function Rb(e,t){e.nodeType===Sn?e.parentNode.removeChild(t):e.removeChild(t)}function zy(e,t){var i=t,a=0;do{var o=i.nextSibling;if(e.removeChild(i),o&&o.nodeType===Sn){var s=o.data;if(s===yv)if(a===0){e.removeChild(o),ut(t);return}else a--;else(s===mv||s===ap||s===lp)&&a++}i=o}while(i);ut(t)}function wb(e,t){e.nodeType===Sn?zy(e.parentNode,t):e.nodeType===Mr&&zy(e,t),ut(e)}function bb(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function xb(e){e.nodeValue=""}function Tb(e,t){e=e;var i=t[eb],a=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=rc("display",a)}function Db(e,t){e.nodeValue=t}function _b(e){e.nodeType===Mr?e.textContent="":e.nodeType===Ui&&e.documentElement&&e.removeChild(e.documentElement)}function kb(e,t,i){return e.nodeType!==Mr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Mb(e,t){return t===""||e.nodeType!==ga?null:e}function Ob(e){return e.nodeType!==Sn?null:e}function $C(e){return e.data===ap}function Uy(e){return e.data===lp}function Ab(e){var t=e.nextSibling&&e.nextSibling.dataset,i,a,o;return t&&(i=t.dgst,a=t.msg,o=t.stck),{message:a,digest:i,stack:o}}function Lb(e,t){e._reactRetry=t}function gv(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===Mr||t===ga)break;if(t===Sn){var i=e.data;if(i===mv||i===lp||i===ap)break;if(i===yv)return null}}return e}function op(e){return gv(e.nextSibling)}function Nb(e){return gv(e.firstChild)}function zb(e){return gv(e.firstChild)}function Ub(e){return gv(e.nextSibling)}function Fb(e,t,i,a,o,s,d){sp(s,e),Vy(e,i);var v;{var m=o;v=m.namespace}var R=(s.mode&at)!==Ve;return Yw(e,t,i,v,a,R,d)}function Hb(e,t,i,a){return sp(i,e),i.mode&at,Gw(e,t)}function Vb(e,t){sp(t,e)}function Bb(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===Sn){var a=t.data;if(a===yv){if(i===0)return op(t);i--}else(a===mv||a===lp||a===ap)&&i++}t=t.nextSibling}return null}function WC(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===Sn){var a=t.data;if(a===mv||a===lp||a===ap){if(i===0)return t;i--}else a===yv&&i++}t=t.previousSibling}return null}function Pb(e){ut(e)}function jb(e){ut(e)}function Ib(e){return e!=="head"&&e!=="body"}function $b(e,t,i,a){var o=!0;pv(t.nodeValue,i,a,o)}function Wb(e,t,i,a,o,s){if(t[vv]!==!0){var d=!0;pv(a.nodeValue,o,s,d)}}function Yb(e,t){t.nodeType===Mr?Ty(e,t):t.nodeType===Sn||Dy(e,t)}function Gb(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Mr?Ty(i,t):t.nodeType===Sn||Dy(i,t))}}function Qb(e,t,i,a,o){(o||t[vv]!==!0)&&(a.nodeType===Mr?Ty(i,a):a.nodeType===Sn||Dy(i,a))}function Xb(e,t,i){_y(e,t)}function Kb(e,t){ky(e,t)}function qb(e,t,i){{var a=e.parentNode;a!==null&&_y(a,t)}}function Zb(e,t){{var i=e.parentNode;i!==null&&ky(i,t)}}function Jb(e,t,i,a,o,s){(s||t[vv]!==!0)&&_y(i,a)}function e1(e,t,i,a,o){(o||t[vv]!==!0)&&ky(i,a)}function t1(e){C("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function n1(e){Jd(e)}var cf=Math.random().toString(36).slice(2),ff="__reactFiber$"+cf,Fy="__reactProps$"+cf,up="__reactContainer$"+cf,Hy="__reactEvents$"+cf,r1="__reactListeners$"+cf,i1="__reactHandles$"+cf;function a1(e){delete e[ff],delete e[Fy],delete e[Hy],delete e[r1],delete e[i1]}function sp(e,t){t[ff]=e}function Sv(e,t){t[up]=e}function YC(e){e[up]=null}function cp(e){return!!e[up]}function _s(e){var t=e[ff];if(t)return t;for(var i=e.parentNode;i;){if(t=i[up]||i[ff],t){var a=t.alternate;if(t.child!==null||a!==null&&a.child!==null)for(var o=WC(e);o!==null;){var s=o[ff];if(s)return s;o=WC(o)}return t}e=i,i=e.parentNode}return null}function Eu(e){var t=e[ff]||e[up];return t&&(t.tag===te||t.tag===re||t.tag===pe||t.tag===Z)?t:null}function df(e){if(e.tag===te||e.tag===re)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Cv(e){return e[Fy]||null}function Vy(e,t){e[Fy]=t}function l1(e){var t=e[Hy];return t===void 0&&(t=e[Hy]=new Set),t}var GC={},QC=p.ReactDebugCurrentFrame;function Ev(e){if(e){var t=e._owner,i=Xi(e.type,e._source,t?t.type:null);QC.setExtraStackFrame(i)}else QC.setExtraStackFrame(null)}function Aa(e,t,i,a,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 m=Error((a||"React class")+": "+i+" 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 m.name="Invariant Violation",m}v=e[d](t,d,a,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){v=R}v&&!(v instanceof Error)&&(Ev(o),C("%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).",a||"React class",i,d,typeof v),Ev(null)),v instanceof Error&&!(v.message in GC)&&(GC[v.message]=!0,Ev(o),C("Failed %s type: %s",i,v.message),Ev(null))}}}var By=[],Rv;Rv=[];var yo=-1;function Ru(e){return{current:e}}function Vr(e,t){if(yo<0){C("Unexpected pop.");return}t!==Rv[yo]&&C("Unexpected Fiber popped."),e.current=By[yo],By[yo]=null,Rv[yo]=null,yo--}function Br(e,t,i){yo++,By[yo]=e.current,Rv[yo]=i,e.current=t}var Py;Py={};var Pi={};Object.freeze(Pi);var go=Ru(Pi),Tl=Ru(!1),jy=Pi;function pf(e,t,i){return i&&Dl(t)?jy:go.current}function XC(e,t,i){{var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=i}}function hf(e,t){{var i=e.type,a=i.contextTypes;if(!a)return Pi;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={};for(var d in a)s[d]=t[d];{var v=Xe(e)||"Unknown";Aa(a,s,"context",v)}return o&&XC(e,t,s),s}}function wv(){return Tl.current}function Dl(e){{var t=e.childContextTypes;return t!=null}}function bv(e){Vr(Tl,e),Vr(go,e)}function Iy(e){Vr(Tl,e),Vr(go,e)}function KC(e,t,i){{if(go.current!==Pi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Br(go,t,e),Br(Tl,i,e)}}function qC(e,t,i){{var a=e.stateNode,o=t.childContextTypes;if(typeof a.getChildContext!="function"){{var s=Xe(e)||"Unknown";Py[s]||(Py[s]=!0,C("%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 i}var d=a.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 m=Xe(e)||"Unknown";Aa(o,d,"child context",m)}return rt({},i,d)}}function xv(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||Pi;return jy=go.current,Br(go,i,e),Br(Tl,Tl.current,e),!0}}function ZC(e,t,i){{var a=e.stateNode;if(!a)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(i){var o=qC(e,t,jy);a.__reactInternalMemoizedMergedChildContext=o,Vr(Tl,e),Vr(go,e),Br(go,o,e),Br(Tl,i,e)}else Vr(Tl,e),Br(Tl,i,e)}}function o1(e){{if(!pd(e)||e.tag!==$)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 Z:return t.stateNode.context;case $:{var i=t.type;if(Dl(i))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 wu=0,Tv=1,So=null,$y=!1,Wy=!1;function JC(e){So===null?So=[e]:So.push(e)}function u1(e){$y=!0,JC(e)}function eE(){$y&&bu()}function bu(){if(!Wy&&So!==null){Wy=!0;var e=0,t=vi();try{var i=!0,a=So;for(Tn(tr);e<a.length;e++){var o=a[e];do o=o(i);while(o!==null)}So=null,$y=!1}catch(s){throw So!==null&&(So=So.slice(e+1)),hc(mc,bu),s}finally{Tn(t),Wy=!1}}return null}var vf=[],mf=0,Dv=null,_v=0,ia=[],aa=0,ks=null,Co=1,Eo="";function s1(e){return Os(),(e.flags&cd)!==ze}function c1(e){return Os(),_v}function f1(){var e=Eo,t=Co,i=t&~d1(t);return i.toString(32)+e}function Ms(e,t){Os(),vf[mf++]=_v,vf[mf++]=Dv,Dv=e,_v=t}function tE(e,t,i){Os(),ia[aa++]=Co,ia[aa++]=Eo,ia[aa++]=ks,ks=e;var a=Co,o=Eo,s=kv(a)-1,d=a&~(1<<s),v=i+1,m=kv(t)+s;if(m>30){var R=s-s%5,w=(1<<R)-1,O=(d&w).toString(32),k=d>>R,F=s-R,V=kv(t)+F,j=v<<F,ge=j|k,Fe=O+o;Co=1<<V|ge,Eo=Fe}else{var Me=v<<s,vt=Me|d,st=o;Co=1<<m|vt,Eo=st}}function Yy(e){Os();var t=e.return;if(t!==null){var i=1,a=0;Ms(e,i),tE(e,i,a)}}function kv(e){return 32-Rc(e)}function d1(e){return 1<<kv(e)-1}function Gy(e){for(;e===Dv;)Dv=vf[--mf],vf[mf]=null,_v=vf[--mf],vf[mf]=null;for(;e===ks;)ks=ia[--aa],ia[aa]=null,Eo=ia[--aa],ia[aa]=null,Co=ia[--aa],ia[aa]=null}function p1(){return Os(),ks!==null?{id:Co,overflow:Eo}:null}function h1(e,t){Os(),ia[aa++]=Co,ia[aa++]=Eo,ia[aa++]=ks,Co=t.id,Eo=t.overflow,ks=e}function Os(){dr()||C("Expected to be hydrating. This is a bug in React. Please file an issue.")}var fr=null,la=null,La=!1,As=!1,xu=null;function v1(){La&&C("We should not be hydrating here. This is a bug in React. Please file a bug.")}function nE(){As=!0}function m1(){return As}function y1(e){var t=e.stateNode.containerInfo;return la=zb(t),fr=e,La=!0,xu=null,As=!1,!0}function g1(e,t,i){return la=Ub(t),fr=e,La=!0,xu=null,As=!1,i!==null&&h1(e,i),!0}function rE(e,t){switch(e.tag){case Z:{Yb(e.stateNode.containerInfo,t);break}case te:{var i=(e.mode&at)!==Ve;Qb(e.type,e.memoizedProps,e.stateNode,t,i);break}case pe:{var a=e.memoizedState;a.dehydrated!==null&&Gb(a.dehydrated,t);break}}}function iE(e,t){rE(e,t);var i=ED();i.stateNode=t,i.return=e;var a=e.deletions;a===null?(e.deletions=[i],e.flags|=_t):a.push(i)}function Qy(e,t){{if(As)return;switch(e.tag){case Z:{var i=e.stateNode.containerInfo;switch(t.tag){case te:var a=t.type;t.pendingProps,Xb(i,a);break;case re:var o=t.pendingProps;Kb(i,o);break}break}case te:{var s=e.type,d=e.memoizedProps,v=e.stateNode;switch(t.tag){case te:{var m=t.type,R=t.pendingProps,w=(e.mode&at)!==Ve;Jb(s,d,v,m,R,w);break}case re:{var O=t.pendingProps,k=(e.mode&at)!==Ve;e1(s,d,v,O,k);break}}break}case pe:{var F=e.memoizedState,V=F.dehydrated;if(V!==null)switch(t.tag){case te:var j=t.type;t.pendingProps,qb(V,j);break;case re:var ge=t.pendingProps;Zb(V,ge);break}break}default:return}}}function aE(e,t){t.flags=t.flags&~ci|Yt,Qy(e,t)}function lE(e,t){switch(e.tag){case te:{var i=e.type;e.pendingProps;var a=kb(t,i);return a!==null?(e.stateNode=a,fr=e,la=Nb(a),!0):!1}case re:{var o=e.pendingProps,s=Mb(t,o);return s!==null?(e.stateNode=s,fr=e,la=null,!0):!1}case pe:{var d=Ob(t);if(d!==null){var v={dehydrated:d,treeContext:p1(),retryLane:Fr};e.memoizedState=v;var m=RD(d);return m.return=e,e.child=m,fr=e,la=null,!0}return!1}default:return!1}}function Xy(e){return(e.mode&at)!==Ve&&(e.flags&Ge)===ze}function Ky(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function qy(e){if(La){var t=la;if(!t){Xy(e)&&(Qy(fr,e),Ky()),aE(fr,e),La=!1,fr=e;return}var i=t;if(!lE(e,t)){Xy(e)&&(Qy(fr,e),Ky()),t=op(i);var a=fr;if(!t||!lE(e,t)){aE(fr,e),La=!1,fr=e;return}iE(a,i)}}}function S1(e,t,i){var a=e.stateNode,o=!As,s=Fb(a,e.type,e.memoizedProps,t,i,e,o);return e.updateQueue=s,s!==null}function C1(e){var t=e.stateNode,i=e.memoizedProps,a=Hb(t,i,e);if(a){var o=fr;if(o!==null)switch(o.tag){case Z:{var s=o.stateNode.containerInfo,d=(o.mode&at)!==Ve;$b(s,t,i,d);break}case te:{var v=o.type,m=o.memoizedProps,R=o.stateNode,w=(o.mode&at)!==Ve;Wb(v,m,R,t,i,w);break}}}return a}function E1(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Vb(i,e)}function R1(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)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 Bb(i)}function oE(e){for(var t=e.return;t!==null&&t.tag!==te&&t.tag!==Z&&t.tag!==pe;)t=t.return;fr=t}function Mv(e){if(e!==fr)return!1;if(!La)return oE(e),La=!0,!1;if(e.tag!==Z&&(e.tag!==te||Ib(e.type)&&!Ay(e.type,e.memoizedProps))){var t=la;if(t)if(Xy(e))uE(e),Ky();else for(;t;)iE(e,t),t=op(t)}return oE(e),e.tag===pe?la=R1(e):la=fr?op(e.stateNode):null,!0}function w1(){return La&&la!==null}function uE(e){for(var t=la;t;)rE(e,t),t=op(t)}function yf(){fr=null,la=null,La=!1,As=!1}function sE(){xu!==null&&(rR(xu),xu=null)}function dr(){return La}function Zy(e){xu===null?xu=[e]:xu.push(e)}var b1=p.ReactCurrentBatchConfig,x1=null;function T1(){return b1.transition}var Na={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var D1=function(e){for(var t=null,i=e;i!==null;)i.mode&an&&(t=i),i=i.return;return t},Ls=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},fp=[],dp=[],pp=[],hp=[],vp=[],mp=[],Ns=new Set;Na.recordUnsafeLifecycleWarnings=function(e,t){Ns.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&fp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillMount=="function"&&dp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&hp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&vp.push(e),e.mode&an&&typeof t.UNSAFE_componentWillUpdate=="function"&&mp.push(e))},Na.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;fp.length>0&&(fp.forEach(function(k){e.add(Xe(k)||"Component"),Ns.add(k.type)}),fp=[]);var t=new Set;dp.length>0&&(dp.forEach(function(k){t.add(Xe(k)||"Component"),Ns.add(k.type)}),dp=[]);var i=new Set;pp.length>0&&(pp.forEach(function(k){i.add(Xe(k)||"Component"),Ns.add(k.type)}),pp=[]);var a=new Set;hp.length>0&&(hp.forEach(function(k){a.add(Xe(k)||"Component"),Ns.add(k.type)}),hp=[]);var o=new Set;vp.length>0&&(vp.forEach(function(k){o.add(Xe(k)||"Component"),Ns.add(k.type)}),vp=[]);var s=new Set;if(mp.length>0&&(mp.forEach(function(k){s.add(Xe(k)||"Component"),Ns.add(k.type)}),mp=[]),t.size>0){var d=Ls(t);C(`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.
|
|
119
119
|
|
|
120
120
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
121
121
|
|
|
@@ -128,60 +128,60 @@ Please update the following components: %s`,v)}if(s.size>0){var m=Ls(s);C(`Using
|
|
|
128
128
|
|
|
129
129
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
130
130
|
|
|
131
|
-
Please update the following components: %s`,m)}if(e.size>0){var
|
|
131
|
+
Please update the following components: %s`,m)}if(e.size>0){var R=Ls(e);x(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
132
132
|
|
|
133
133
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
134
134
|
* 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.
|
|
135
135
|
|
|
136
|
-
Please update the following components: %s`,
|
|
136
|
+
Please update the following components: %s`,R)}if(i.size>0){var w=Ls(i);x(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
137
137
|
|
|
138
138
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
139
139
|
* 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
|
|
140
140
|
* 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.
|
|
141
141
|
|
|
142
|
-
Please update the following components: %s`,w)}if(o.size>0){var O=Ls(o);
|
|
142
|
+
Please update the following components: %s`,w)}if(o.size>0){var O=Ls(o);x(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
143
143
|
|
|
144
144
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
145
145
|
* 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.
|
|
146
146
|
|
|
147
|
-
Please update the following components: %s`,O)}};var Ov=new Map,cE=new Set;Na.recordLegacyContextWarning=function(e,t){var i=
|
|
147
|
+
Please update the following components: %s`,O)}};var Ov=new Map,cE=new Set;Na.recordLegacyContextWarning=function(e,t){var i=D1(e);if(i===null){C("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(!cE.has(e.type)){var a=Ov.get(i);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],Ov.set(i,a)),a.push(e))}},Na.flushLegacyContextWarning=function(){Ov.forEach(function(e,t){if(e.length!==0){var i=e[0],a=new Set;e.forEach(function(s){a.add(Xe(s)||"Component"),cE.add(s.type)});var o=Ls(a);try{Mt(i),C(`Legacy context API has been detected within a strict-mode tree.
|
|
148
148
|
|
|
149
149
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
150
150
|
|
|
151
151
|
Please update the following components: %s
|
|
152
152
|
|
|
153
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,o)}finally{sn()}}})},Na.discardPendingWarnings=function(){fp=[],dp=[],pp=[],hp=[],vp=[],mp=[],Ov=new Map}}function za(e,t){if(e&&e.defaultProps){var i=tt({},t),a=e.defaultProps;for(var o in a)i[o]===void 0&&(i[o]=a[o]);return i}return t}var Jy=Eu(null),eg;eg={};var Lv=null,gf=null,tg=null,Av=!1;function Nv(){Lv=null,gf=null,tg=null,Av=!1}function fE(){Av=!0}function dE(){Av=!1}function pE(e,t,i){jr(Jy,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==eg&&C("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=eg}function ng(e,t){var i=Jy.current;Vr(Jy,t),e._currentValue=i}function rg(e,t,i){for(var a=e;a!==null;){var o=a.alternate;if(ao(a.childLanes,t)?o!==null&&!ao(o.childLanes,t)&&(o.childLanes=Ze(o.childLanes,t)):(a.childLanes=Ze(a.childLanes,t),o!==null&&(o.childLanes=Ze(o.childLanes,t))),a===i)break;a=a.return}a!==i&&C("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 Tb(e,t,i){Db(e,t,i)}function Db(e,t,i){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=void 0,s=a.dependencies;if(s!==null){o=a.child;for(var d=s.firstContext;d!==null;){if(d.context===t){if(a.tag===K){var v=xn(i),m=Ro(Vt,v);m.tag=Uv;var E=a.updateQueue;if(E!==null){var w=E.shared,O=w.pending;O===null?m.next=m:(m.next=O.next,O.next=m),w.pending=m}}a.lanes=Ze(a.lanes,i);var k=a.alternate;k!==null&&(k.lanes=Ze(k.lanes,i)),rg(a.return,i,e),s.lanes=Ze(s.lanes,i);break}d=d.next}}else if(a.tag===it)o=a.type===e.type?null:a.child;else if(a.tag===Bt){var U=a.return;if(U===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes=Ze(U.lanes,i);var H=U.alternate;H!==null&&(H.lanes=Ze(H.lanes,i)),rg(U,i,e),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===e){o=null;break}var P=o.sibling;if(P!==null){P.return=o.return,o=P;break}o=o.return}a=o}}function Sf(e,t){Lv=e,gf=null,tg=null;var i=e.dependencies;if(i!==null){var a=i.firstContext;a!==null&&(Hr(i.lanes,t)&&Mp(),i.firstContext=null)}}function Hn(e){Av&&C("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(tg!==e){var i={context:e,memoizedValue:t,next:null};if(gf===null){if(Lv===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().");gf=i,Lv.dependencies={lanes:W,firstContext:i}}else gf=gf.next=i}return t}var Ns=null;function ig(e){Ns===null?Ns=[e]:Ns.push(e)}function _b(){if(Ns!==null){for(var e=0;e<Ns.length;e++){var t=Ns[e],i=t.interleaved;if(i!==null){t.interleaved=null;var a=i.next,o=t.pending;if(o!==null){var s=o.next;o.next=a,i.next=s}t.pending=i}}Ns=null}}function hE(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i,zv(e,a)}function kb(e,t,i,a){var o=t.interleaved;o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i}function Mb(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i,zv(e,a)}function Ci(e,t){return zv(e,t)}var Ob=zv;function zv(e,t){e.lanes=Ze(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=Ze(i.lanes,t)),i===null&&(e.flags&(Yt|ci))!==ze&&vR(e);for(var a=e,o=e.return;o!==null;)o.childLanes=Ze(o.childLanes,t),i=o.alternate,i!==null?i.childLanes=Ze(i.childLanes,t):(o.flags&(Yt|ci))!==ze&&vR(e),a=o,o=o.return;if(a.tag===J){var s=a.stateNode;return s}else return null}var vE=0,mE=1,Uv=2,ag=3,Fv=!1,lg,Hv;lg=!1,Hv=null;function og(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:W},effects:null};e.updateQueue=t}function yE(e,t){var i=t.updateQueue,a=e.updateQueue;if(i===a){var o={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=o}}function Ro(e,t){var i={eventTime:e,lane:t,tag:vE,payload:null,callback:null,next:null};return i}function xu(e,t,i){var a=e.updateQueue;if(a===null)return null;var o=a.shared;if(Hv===o&&!lg&&(C("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."),lg=!0),OT()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,Ob(e,i)}else return Mb(e,o,t,i)}function Vv(e,t,i){var a=t.updateQueue;if(a!==null){var o=a.shared;if(Td(i)){var s=o.lanes;s=_d(s,e.pendingLanes);var d=Ze(s,i);o.lanes=d,au(e,d)}}}function ug(e,t){var i=e.updateQueue,a=e.alternate;if(a!==null){var o=a.updateQueue;if(i===o){var s=null,d=null,v=i.firstBaseUpdate;if(v!==null){var m=v;do{var E={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};d===null?s=d=E:(d.next=E,d=E),m=m.next}while(m!==null);d===null?s=d=t:(d.next=t,d=t)}else s=d=t;i={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=i;return}}var w=i.lastBaseUpdate;w===null?i.firstBaseUpdate=t:w.next=t,i.lastBaseUpdate=t}function Lb(e,t,i,a,o,s){switch(i.tag){case mE:{var d=i.payload;if(typeof d=="function"){fE();var v=d.call(s,a,o);{if(e.mode&an){bn(!0);try{d.call(s,a,o)}finally{bn(!1)}}dE()}return v}return d}case ag:e.flags=e.flags&~An|We;case vE:{var m=i.payload,E;if(typeof m=="function"){fE(),E=m.call(s,a,o);{if(e.mode&an){bn(!0);try{m.call(s,a,o)}finally{bn(!1)}}dE()}}else E=m;return E==null?a:tt({},a,E)}case Uv:return Fv=!0,a}return a}function jv(e,t,i,a){var o=e.updateQueue;Fv=!1,Hv=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,v=o.shared.pending;if(v!==null){o.shared.pending=null;var m=v,E=m.next;m.next=null,d===null?s=E:d.next=E,d=m;var w=e.alternate;if(w!==null){var O=w.updateQueue,k=O.lastBaseUpdate;k!==d&&(k===null?O.firstBaseUpdate=E:k.next=E,O.lastBaseUpdate=m)}}if(s!==null){var U=o.baseState,H=W,P=null,me=null,Ue=null,Me=s;do{var ht=Me.lane,ot=Me.eventTime;if(ao(a,ht)){if(Ue!==null){var $={eventTime:ot,lane:dt,tag:Me.tag,payload:Me.payload,callback:Me.callback,next:null};Ue=Ue.next=$}U=Lb(e,o,Me,U,t,i);var N=Me.callback;if(N!==null&&Me.lane!==dt){e.flags|=Zi;var te=o.effects;te===null?o.effects=[Me]:te.push(Me)}}else{var A={eventTime:ot,lane:ht,tag:Me.tag,payload:Me.payload,callback:Me.callback,next:null};Ue===null?(me=Ue=A,P=U):Ue=Ue.next=A,H=Ze(H,ht)}if(Me=Me.next,Me===null){if(v=o.shared.pending,v===null)break;var ye=v,fe=ye.next;ye.next=null,Me=fe,o.lastBaseUpdate=ye,o.shared.pending=null}}while(!0);Ue===null&&(P=U),o.baseState=P,o.firstBaseUpdate=me,o.lastBaseUpdate=Ue;var $e=o.shared.interleaved;if($e!==null){var Xe=$e;do H=Ze(H,Xe.lane),Xe=Xe.next;while(Xe!==$e)}else s===null&&(o.shared.lanes=W);Pp(H),e.lanes=H,e.memoizedState=U}Hv=null}function Ab(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function gE(){Fv=!1}function Bv(){return Fv}function SE(e,t,i){var a=t.effects;if(t.effects=null,a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.callback;d!==null&&(s.callback=null,Ab(d,i))}}var sg={},CE=new I.Component().refs,cg,fg,dg,pg,hg,EE,Pv,vg,mg,yg;{cg=new Set,fg=new Set,dg=new Set,pg=new Set,vg=new Set,hg=new Set,mg=new Set,yg=new Set;var RE=new Set;Pv=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;RE.has(i)||(RE.add(i),C("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},EE=function(e,t){if(t===void 0){var i=mt(e)||"Component";hg.has(i)||(hg.add(i),C("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(sg,"_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(sg)}function gg(e,t,i,a){var o=e.memoizedState,s=i(a,o);{if(e.mode&an){bn(!0);try{s=i(a,o)}finally{bn(!1)}}EE(t,s)}var d=s==null?o:tt({},o,s);if(e.memoizedState=d,e.lanes===W){var v=e.updateQueue;v.baseState=d}}var Sg={isMounted:Qr,enqueueSetState:function(e,t,i){var a=ui(e),o=ei(),s=Au(a),d=Ro(o,s);d.payload=t,i!=null&&(Pv(i,"setState"),d.callback=i);var v=xu(a,d,s);v!==null&&(qn(v,a,s,o),Vv(v,a,s)),yl(a,s)},enqueueReplaceState:function(e,t,i){var a=ui(e),o=ei(),s=Au(a),d=Ro(o,s);d.tag=mE,d.payload=t,i!=null&&(Pv(i,"replaceState"),d.callback=i);var v=xu(a,d,s);v!==null&&(qn(v,a,s,o),Vv(v,a,s)),yl(a,s)},enqueueForceUpdate:function(e,t){var i=ui(e),a=ei(),o=Au(i),s=Ro(a,o);s.tag=Uv,t!=null&&(Pv(t,"forceUpdate"),s.callback=t);var d=xu(i,s,o);d!==null&&(qn(d,i,o,a),Vv(d,i,o)),Rd(i,o)}};function wE(e,t,i,a,o,s,d){var v=e.stateNode;if(typeof v.shouldComponentUpdate=="function"){var m=v.shouldComponentUpdate(a,s,d);{if(e.mode&an){bn(!0);try{m=v.shouldComponentUpdate(a,s,d)}finally{bn(!1)}}m===void 0&&C("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",mt(t)||"Component")}return m}return t.prototype&&t.prototype.isPureReactComponent?!Le(i,a)||!Le(o,s):!0}function Nb(e,t,i){var a=e.stateNode;{var o=mt(t)||"Component",s=a.render;s||(t.prototype&&typeof t.prototype.render=="function"?C("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):C("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),a.getInitialState&&!a.getInitialState.isReactClassApproved&&!a.state&&C("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),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&C("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),a.propTypes&&C("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),a.contextType&&C("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),a.contextTypes&&C("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!mg.has(t)&&(mg.add(t),C("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),typeof a.componentShouldUpdate=="function"&&C("%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 a.shouldComponentUpdate<"u"&&C("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",mt(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&C("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),typeof a.componentDidReceiveProps=="function"&&C("%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 a.componentWillRecieveProps=="function"&&C("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),typeof a.UNSAFE_componentWillRecieveProps=="function"&&C("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var d=a.props!==i;a.props!==void 0&&d&&C("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),a.defaultProps&&C("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 a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!dg.has(t)&&(dg.add(t),C("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",mt(t))),typeof a.getDerivedStateFromProps=="function"&&C("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof a.getDerivedStateFromError=="function"&&C("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof t.getSnapshotBeforeUpdate=="function"&&C("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var v=a.state;v&&(typeof v!="object"||st(v))&&C("%s.state: must be set to an object or null",o),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&C("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}}function bE(e,t){t.updater=Sg,e.stateNode=t,Xo(t,e),t._reactInternalInstance=sg}function xE(e,t,i){var a=!1,o=Bi,s=Bi,d=t.contextType;if("contextType"in t){var v=d===null||d!==void 0&&d.$$typeof===Fu&&d._context===void 0;if(!v&&!yg.has(t)){yg.add(t);var m="";d===void 0?m=" 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"?m=" However, it is set to a "+typeof d+".":d.$$typeof===Oo?m=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?m=" Did you accidentally pass the Context.Consumer instead?":m=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",C("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",mt(t)||"Component",m)}}if(typeof d=="object"&&d!==null)s=Hn(d);else{o=pf(e,t,!0);var E=t.contextTypes;a=E!=null,s=a?hf(e,o):Bi}var w=new t(i,s);if(e.mode&an){bn(!0);try{w=new t(i,s)}finally{bn(!1)}}var O=e.memoizedState=w.state!==null&&w.state!==void 0?w.state:null;bE(e,w);{if(typeof t.getDerivedStateFromProps=="function"&&O===null){var k=mt(t)||"Component";fg.has(k)||(fg.add(k),C("`%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.",k,w.state===null?"null":"undefined",k))}if(typeof t.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"){var U=null,H=null,P=null;if(typeof w.componentWillMount=="function"&&w.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof w.UNSAFE_componentWillMount=="function"&&(U="UNSAFE_componentWillMount"),typeof w.componentWillReceiveProps=="function"&&w.componentWillReceiveProps.__suppressDeprecationWarning!==!0?H="componentWillReceiveProps":typeof w.UNSAFE_componentWillReceiveProps=="function"&&(H="UNSAFE_componentWillReceiveProps"),typeof w.componentWillUpdate=="function"&&w.componentWillUpdate.__suppressDeprecationWarning!==!0?P="componentWillUpdate":typeof w.UNSAFE_componentWillUpdate=="function"&&(P="UNSAFE_componentWillUpdate"),U!==null||H!==null||P!==null){var me=mt(t)||"Component",Ue=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";pg.has(me)||(pg.add(me),C(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
153
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,o)}finally{cn()}}})},Na.discardPendingWarnings=function(){fp=[],dp=[],pp=[],hp=[],vp=[],mp=[],Ov=new Map}}function za(e,t){if(e&&e.defaultProps){var i=rt({},t),a=e.defaultProps;for(var o in a)i[o]===void 0&&(i[o]=a[o]);return i}return t}var Jy=Ru(null),eg;eg={};var Av=null,gf=null,tg=null,Lv=!1;function Nv(){Av=null,gf=null,tg=null,Lv=!1}function fE(){Lv=!0}function dE(){Lv=!1}function pE(e,t,i){Br(Jy,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==eg&&C("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=eg}function ng(e,t){var i=Jy.current;Vr(Jy,t),e._currentValue=i}function rg(e,t,i){for(var a=e;a!==null;){var o=a.alternate;if(ao(a.childLanes,t)?o!==null&&!ao(o.childLanes,t)&&(o.childLanes=et(o.childLanes,t)):(a.childLanes=et(a.childLanes,t),o!==null&&(o.childLanes=et(o.childLanes,t))),a===i)break;a=a.return}a!==i&&C("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 _1(e,t,i){k1(e,t,i)}function k1(e,t,i){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=void 0,s=a.dependencies;if(s!==null){o=a.child;for(var d=s.firstContext;d!==null;){if(d.context===t){if(a.tag===$){var v=xn(i),m=Ro(Pt,v);m.tag=Uv;var R=a.updateQueue;if(R!==null){var w=R.shared,O=w.pending;O===null?m.next=m:(m.next=O.next,O.next=m),w.pending=m}}a.lanes=et(a.lanes,i);var k=a.alternate;k!==null&&(k.lanes=et(k.lanes,i)),rg(a.return,i,e),s.lanes=et(s.lanes,i);break}d=d.next}}else if(a.tag===tt)o=a.type===e.type?null:a.child;else if(a.tag===Tt){var F=a.return;if(F===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");F.lanes=et(F.lanes,i);var V=F.alternate;V!==null&&(V.lanes=et(V.lanes,i)),rg(F,i,e),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===e){o=null;break}var j=o.sibling;if(j!==null){j.return=o.return,o=j;break}o=o.return}a=o}}function Sf(e,t){Av=e,gf=null,tg=null;var i=e.dependencies;if(i!==null){var a=i.firstContext;a!==null&&(Hr(i.lanes,t)&&Mp(),i.firstContext=null)}}function Hn(e){Lv&&C("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(tg!==e){var i={context:e,memoizedValue:t,next:null};if(gf===null){if(Av===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().");gf=i,Av.dependencies={lanes:W,firstContext:i}}else gf=gf.next=i}return t}var zs=null;function ig(e){zs===null?zs=[e]:zs.push(e)}function M1(){if(zs!==null){for(var e=0;e<zs.length;e++){var t=zs[e],i=t.interleaved;if(i!==null){t.interleaved=null;var a=i.next,o=t.pending;if(o!==null){var s=o.next;o.next=a,i.next=s}t.pending=i}}zs=null}}function hE(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i,zv(e,a)}function O1(e,t,i,a){var o=t.interleaved;o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i}function A1(e,t,i,a){var o=t.interleaved;return o===null?(i.next=i,ig(t)):(i.next=o.next,o.next=i),t.interleaved=i,zv(e,a)}function Ci(e,t){return zv(e,t)}var L1=zv;function zv(e,t){e.lanes=et(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=et(i.lanes,t)),i===null&&(e.flags&(Yt|ci))!==ze&&vR(e);for(var a=e,o=e.return;o!==null;)o.childLanes=et(o.childLanes,t),i=o.alternate,i!==null?i.childLanes=et(i.childLanes,t):(o.flags&(Yt|ci))!==ze&&vR(e),a=o,o=o.return;if(a.tag===Z){var s=a.stateNode;return s}else return null}var vE=0,mE=1,Uv=2,ag=3,Fv=!1,lg,Hv;lg=!1,Hv=null;function og(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:W},effects:null};e.updateQueue=t}function yE(e,t){var i=t.updateQueue,a=e.updateQueue;if(i===a){var o={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=o}}function Ro(e,t){var i={eventTime:e,lane:t,tag:vE,payload:null,callback:null,next:null};return i}function Tu(e,t,i){var a=e.updateQueue;if(a===null)return null;var o=a.shared;if(Hv===o&&!lg&&(C("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."),lg=!0),LT()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,L1(e,i)}else return A1(e,o,t,i)}function Vv(e,t,i){var a=t.updateQueue;if(a!==null){var o=a.shared;if(Td(i)){var s=o.lanes;s=_d(s,e.pendingLanes);var d=et(s,i);o.lanes=d,lu(e,d)}}}function ug(e,t){var i=e.updateQueue,a=e.alternate;if(a!==null){var o=a.updateQueue;if(i===o){var s=null,d=null,v=i.firstBaseUpdate;if(v!==null){var m=v;do{var R={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};d===null?s=d=R:(d.next=R,d=R),m=m.next}while(m!==null);d===null?s=d=t:(d.next=t,d=t)}else s=d=t;i={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=i;return}}var w=i.lastBaseUpdate;w===null?i.firstBaseUpdate=t:w.next=t,i.lastBaseUpdate=t}function N1(e,t,i,a,o,s){switch(i.tag){case mE:{var d=i.payload;if(typeof d=="function"){fE();var v=d.call(s,a,o);{if(e.mode&an){bn(!0);try{d.call(s,a,o)}finally{bn(!1)}}dE()}return v}return d}case ag:e.flags=e.flags&~Ln|Ge;case vE:{var m=i.payload,R;if(typeof m=="function"){fE(),R=m.call(s,a,o);{if(e.mode&an){bn(!0);try{m.call(s,a,o)}finally{bn(!1)}}dE()}}else R=m;return R==null?a:rt({},a,R)}case Uv:return Fv=!0,a}return a}function Bv(e,t,i,a){var o=e.updateQueue;Fv=!1,Hv=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,v=o.shared.pending;if(v!==null){o.shared.pending=null;var m=v,R=m.next;m.next=null,d===null?s=R:d.next=R,d=m;var w=e.alternate;if(w!==null){var O=w.updateQueue,k=O.lastBaseUpdate;k!==d&&(k===null?O.firstBaseUpdate=R:k.next=R,O.lastBaseUpdate=m)}}if(s!==null){var F=o.baseState,V=W,j=null,ge=null,Fe=null,Me=s;do{var vt=Me.lane,st=Me.eventTime;if(ao(a,vt)){if(Fe!==null){var I={eventTime:st,lane:pt,tag:Me.tag,payload:Me.payload,callback:Me.callback,next:null};Fe=Fe.next=I}F=N1(e,o,Me,F,t,i);var N=Me.callback;if(N!==null&&Me.lane!==pt){e.flags|=Zi;var ee=o.effects;ee===null?o.effects=[Me]:ee.push(Me)}}else{var L={eventTime:st,lane:vt,tag:Me.tag,payload:Me.payload,callback:Me.callback,next:null};Fe===null?(ge=Fe=L,j=F):Fe=Fe.next=L,V=et(V,vt)}if(Me=Me.next,Me===null){if(v=o.shared.pending,v===null)break;var Se=v,he=Se.next;Se.next=null,Me=he,o.lastBaseUpdate=Se,o.shared.pending=null}}while(!0);Fe===null&&(j=F),o.baseState=j,o.firstBaseUpdate=ge,o.lastBaseUpdate=Fe;var We=o.shared.interleaved;if(We!==null){var qe=We;do V=et(V,qe.lane),qe=qe.next;while(qe!==We)}else s===null&&(o.shared.lanes=W);jp(V),e.lanes=V,e.memoizedState=F}Hv=null}function z1(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function gE(){Fv=!1}function Pv(){return Fv}function SE(e,t,i){var a=t.effects;if(t.effects=null,a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.callback;d!==null&&(s.callback=null,z1(d,i))}}var sg={},CE=new G.Component().refs,cg,fg,dg,pg,hg,EE,jv,vg,mg,yg;{cg=new Set,fg=new Set,dg=new Set,pg=new Set,vg=new Set,hg=new Set,mg=new Set,yg=new Set;var RE=new Set;jv=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;RE.has(i)||(RE.add(i),C("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},EE=function(e,t){if(t===void 0){var i=gt(e)||"Component";hg.has(i)||(hg.add(i),C("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(sg,"_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(sg)}function gg(e,t,i,a){var o=e.memoizedState,s=i(a,o);{if(e.mode&an){bn(!0);try{s=i(a,o)}finally{bn(!1)}}EE(t,s)}var d=s==null?o:rt({},o,s);if(e.memoizedState=d,e.lanes===W){var v=e.updateQueue;v.baseState=d}}var Sg={isMounted:Qr,enqueueSetState:function(e,t,i){var a=ui(e),o=ei(),s=Nu(a),d=Ro(o,s);d.payload=t,i!=null&&(jv(i,"setState"),d.callback=i);var v=Tu(a,d,s);v!==null&&(qn(v,a,s,o),Vv(v,a,s)),yl(a,s)},enqueueReplaceState:function(e,t,i){var a=ui(e),o=ei(),s=Nu(a),d=Ro(o,s);d.tag=mE,d.payload=t,i!=null&&(jv(i,"replaceState"),d.callback=i);var v=Tu(a,d,s);v!==null&&(qn(v,a,s,o),Vv(v,a,s)),yl(a,s)},enqueueForceUpdate:function(e,t){var i=ui(e),a=ei(),o=Nu(i),s=Ro(a,o);s.tag=Uv,t!=null&&(jv(t,"forceUpdate"),s.callback=t);var d=Tu(i,s,o);d!==null&&(qn(d,i,o,a),Vv(d,i,o)),Rd(i,o)}};function wE(e,t,i,a,o,s,d){var v=e.stateNode;if(typeof v.shouldComponentUpdate=="function"){var m=v.shouldComponentUpdate(a,s,d);{if(e.mode&an){bn(!0);try{m=v.shouldComponentUpdate(a,s,d)}finally{bn(!1)}}m===void 0&&C("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",gt(t)||"Component")}return m}return t.prototype&&t.prototype.isPureReactComponent?!Ae(i,a)||!Ae(o,s):!0}function U1(e,t,i){var a=e.stateNode;{var o=gt(t)||"Component",s=a.render;s||(t.prototype&&typeof t.prototype.render=="function"?C("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):C("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),a.getInitialState&&!a.getInitialState.isReactClassApproved&&!a.state&&C("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),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&C("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),a.propTypes&&C("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),a.contextType&&C("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),a.contextTypes&&C("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!mg.has(t)&&(mg.add(t),C("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),typeof a.componentShouldUpdate=="function"&&C("%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 a.shouldComponentUpdate<"u"&&C("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",gt(t)||"A pure component"),typeof a.componentDidUnmount=="function"&&C("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),typeof a.componentDidReceiveProps=="function"&&C("%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 a.componentWillRecieveProps=="function"&&C("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),typeof a.UNSAFE_componentWillRecieveProps=="function"&&C("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var d=a.props!==i;a.props!==void 0&&d&&C("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),a.defaultProps&&C("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 a.getSnapshotBeforeUpdate=="function"&&typeof a.componentDidUpdate!="function"&&!dg.has(t)&&(dg.add(t),C("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",gt(t))),typeof a.getDerivedStateFromProps=="function"&&C("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof a.getDerivedStateFromError=="function"&&C("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),typeof t.getSnapshotBeforeUpdate=="function"&&C("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var v=a.state;v&&(typeof v!="object"||ft(v))&&C("%s.state: must be set to an object or null",o),typeof a.getChildContext=="function"&&typeof t.childContextTypes!="object"&&C("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}}function bE(e,t){t.updater=Sg,e.stateNode=t,Ko(t,e),t._reactInternalInstance=sg}function xE(e,t,i){var a=!1,o=Pi,s=Pi,d=t.contextType;if("contextType"in t){var v=d===null||d!==void 0&&d.$$typeof===Hu&&d._context===void 0;if(!v&&!yg.has(t)){yg.add(t);var m="";d===void 0?m=" 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"?m=" However, it is set to a "+typeof d+".":d.$$typeof===Ao?m=" Did you accidentally pass the Context.Provider instead?":d._context!==void 0?m=" Did you accidentally pass the Context.Consumer instead?":m=" However, it is set to an object with keys {"+Object.keys(d).join(", ")+"}.",C("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",gt(t)||"Component",m)}}if(typeof d=="object"&&d!==null)s=Hn(d);else{o=pf(e,t,!0);var R=t.contextTypes;a=R!=null,s=a?hf(e,o):Pi}var w=new t(i,s);if(e.mode&an){bn(!0);try{w=new t(i,s)}finally{bn(!1)}}var O=e.memoizedState=w.state!==null&&w.state!==void 0?w.state:null;bE(e,w);{if(typeof t.getDerivedStateFromProps=="function"&&O===null){var k=gt(t)||"Component";fg.has(k)||(fg.add(k),C("`%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.",k,w.state===null?"null":"undefined",k))}if(typeof t.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"){var F=null,V=null,j=null;if(typeof w.componentWillMount=="function"&&w.componentWillMount.__suppressDeprecationWarning!==!0?F="componentWillMount":typeof w.UNSAFE_componentWillMount=="function"&&(F="UNSAFE_componentWillMount"),typeof w.componentWillReceiveProps=="function"&&w.componentWillReceiveProps.__suppressDeprecationWarning!==!0?V="componentWillReceiveProps":typeof w.UNSAFE_componentWillReceiveProps=="function"&&(V="UNSAFE_componentWillReceiveProps"),typeof w.componentWillUpdate=="function"&&w.componentWillUpdate.__suppressDeprecationWarning!==!0?j="componentWillUpdate":typeof w.UNSAFE_componentWillUpdate=="function"&&(j="UNSAFE_componentWillUpdate"),F!==null||V!==null||j!==null){var ge=gt(t)||"Component",Fe=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";pg.has(ge)||(pg.add(ge),C(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
154
154
|
|
|
155
155
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
156
156
|
|
|
157
157
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
158
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,
|
|
159
|
-
`+
|
|
160
|
-
`+
|
|
161
|
-
`+
|
|
158
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,ge,Fe,F!==null?`
|
|
159
|
+
`+F:"",V!==null?`
|
|
160
|
+
`+V:"",j!==null?`
|
|
161
|
+
`+j:""))}}}return a&&XC(e,o,s),w}function F1(e,t){var i=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),i!==t.state&&(C("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Xe(e)||"Component"),Sg.enqueueReplaceState(t,t.state,null))}function TE(e,t,i,a){var o=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,a),t.state!==o){{var s=Xe(e)||"Component";cg.has(s)||(cg.add(s),C("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",s))}Sg.enqueueReplaceState(t,t.state,null)}}function Cg(e,t,i,a){U1(e,t,i);var o=e.stateNode;o.props=i,o.state=e.memoizedState,o.refs=CE,og(e);var s=t.contextType;if(typeof s=="object"&&s!==null)o.context=Hn(s);else{var d=pf(e,t,!0);o.context=hf(e,d)}{if(o.state===i){var v=gt(t)||"Component";vg.has(v)||(vg.add(v),C("%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&&Na.recordLegacyContextWarning(e,o),Na.recordUnsafeLifecycleWarnings(e,o)}o.state=e.memoizedState;var m=t.getDerivedStateFromProps;if(typeof m=="function"&&(gg(e,t,m,i),o.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof o.getSnapshotBeforeUpdate!="function"&&(typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")&&(F1(e,o),Bv(e,i,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var R=Je;R|=Ar,(e.mode&pi)!==Ve&&(R|=Lr),e.flags|=R}}function H1(e,t,i,a){var o=e.stateNode,s=e.memoizedProps;o.props=s;var d=o.context,v=t.contextType,m=Pi;if(typeof v=="object"&&v!==null)m=Hn(v);else{var R=pf(e,t,!0);m=hf(e,R)}var w=t.getDerivedStateFromProps,O=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function";!O&&(typeof o.UNSAFE_componentWillReceiveProps=="function"||typeof o.componentWillReceiveProps=="function")&&(s!==i||d!==m)&&TE(e,o,i,m),gE();var k=e.memoizedState,F=o.state=k;if(Bv(e,i,o,a),F=e.memoizedState,s===i&&k===F&&!wv()&&!Pv()){if(typeof o.componentDidMount=="function"){var V=Je;V|=Ar,(e.mode&pi)!==Ve&&(V|=Lr),e.flags|=V}return!1}typeof w=="function"&&(gg(e,t,w,i),F=e.memoizedState);var j=Pv()||wE(e,t,s,i,k,F,m);if(j){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 ge=Je;ge|=Ar,(e.mode&pi)!==Ve&&(ge|=Lr),e.flags|=ge}}else{if(typeof o.componentDidMount=="function"){var Fe=Je;Fe|=Ar,(e.mode&pi)!==Ve&&(Fe|=Lr),e.flags|=Fe}e.memoizedProps=i,e.memoizedState=F}return o.props=i,o.state=F,o.context=m,j}function V1(e,t,i,a,o){var s=t.stateNode;yE(e,t);var d=t.memoizedProps,v=t.type===t.elementType?d:za(t.type,d);s.props=v;var m=t.pendingProps,R=s.context,w=i.contextType,O=Pi;if(typeof w=="object"&&w!==null)O=Hn(w);else{var k=pf(t,i,!0);O=hf(t,k)}var F=i.getDerivedStateFromProps,V=typeof F=="function"||typeof s.getSnapshotBeforeUpdate=="function";!V&&(typeof s.UNSAFE_componentWillReceiveProps=="function"||typeof s.componentWillReceiveProps=="function")&&(d!==m||R!==O)&&TE(t,s,a,O),gE();var j=t.memoizedState,ge=s.state=j;if(Bv(t,a,s,o),ge=t.memoizedState,d===m&&j===ge&&!wv()&&!Pv()&&!Le)return typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||j!==e.memoizedState)&&(t.flags|=Je),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||j!==e.memoizedState)&&(t.flags|=si),!1;typeof F=="function"&&(gg(t,i,F,a),ge=t.memoizedState);var Fe=Pv()||wE(t,i,v,a,j,ge,O)||Le;return Fe?(!V&&(typeof s.UNSAFE_componentWillUpdate=="function"||typeof s.componentWillUpdate=="function")&&(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,ge,O),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,ge,O)),typeof s.componentDidUpdate=="function"&&(t.flags|=Je),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=si)):(typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||j!==e.memoizedState)&&(t.flags|=Je),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||j!==e.memoizedState)&&(t.flags|=si),t.memoizedProps=a,t.memoizedState=ge),s.props=a,s.state=ge,s.context=O,Fe}var Eg,Rg,wg,bg,xg,DE=function(e,t){};Eg=!1,Rg=!1,wg={},bg={},xg={},DE=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 i=Xe(t)||"Component";bg[i]||(bg[i]=!0,C('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function yp(e,t,i){var a=i.ref;if(a!==null&&typeof a!="function"&&typeof a!="object"){if((e.mode&an||Ye)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)){var o=Xe(e)||"Component";wg[o]||(C('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',a),wg[o]=!0)}if(i._owner){var s=i._owner,d;if(s){var v=s;if(v.tag!==$)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 "+a+". This error is likely caused by a bug in React. Please file an issue.");var m=d;Jn(a,"ref");var R=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===R)return t.ref;var w=function(O){var k=m.refs;k===CE&&(k=m.refs={}),O===null?delete k[R]:k[R]=O};return w._stringRef=R,w}else{if(typeof a!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!i._owner)throw new Error("Element ref was specified as a string ("+a+`) but no owner was set. This could happen for one of the following reasons:
|
|
162
162
|
1. You may be adding a ref to a function component
|
|
163
163
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
164
164
|
3. You have multiple copies of React loaded
|
|
165
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function $v(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function Iv(e){{var t=Ge(e)||"Component";if(xg[t])return;xg[t]=!0,C("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 _E(e){var t=e._payload,i=e._init;return i(t)}function kE(e){function t(A,$){if(e){var N=A.deletions;N===null?(A.deletions=[$],A.flags|=xt):N.push($)}}function i(A,$){if(!e)return null;for(var N=$;N!==null;)t(A,N),N=N.sibling;return null}function a(A,$){for(var N=new Map,te=$;te!==null;)te.key!==null?N.set(te.key,te):N.set(te.index,te),te=te.sibling;return N}function o(A,$){var N=Ps(A,$);return N.index=0,N.sibling=null,N}function s(A,$,N){if(A.index=N,!e)return A.flags|=cd,$;var te=A.alternate;if(te!==null){var ye=te.index;return ye<$?(A.flags|=Yt,$):ye}else return A.flags|=Yt,$}function d(A){return e&&A.alternate===null&&(A.flags|=Yt),A}function v(A,$,N,te){if($===null||$.tag!==le){var ye=ZS(N,A.mode,te);return ye.return=A,ye}else{var fe=o($,N);return fe.return=A,fe}}function m(A,$,N,te){var ye=N.type;if(ye===Oi)return w(A,$,N.props.children,te,N.key);if($!==null&&($.elementType===ye||SR($,N)||typeof ye=="object"&&ye!==null&&ye.$$typeof===jn&&_E(ye)===$.type)){var fe=o($,N.props);return fe.ref=yp(A,$,N),fe.return=A,fe._debugSource=N._source,fe._debugOwner=N._owner,fe}var $e=qS(N,A.mode,te);return $e.ref=yp(A,$,N),$e.return=A,$e}function E(A,$,N,te){if($===null||$.tag!==ae||$.stateNode.containerInfo!==N.containerInfo||$.stateNode.implementation!==N.implementation){var ye=JS(N,A.mode,te);return ye.return=A,ye}else{var fe=o($,N.children||[]);return fe.return=A,fe}}function w(A,$,N,te,ye){if($===null||$.tag!==_e){var fe=zu(N,A.mode,te,ye);return fe.return=A,fe}else{var $e=o($,N);return $e.return=A,$e}}function O(A,$,N){if(typeof $=="string"&&$!==""||typeof $=="number"){var te=ZS(""+$,A.mode,N);return te.return=A,te}if(typeof $=="object"&&$!==null){switch($.$$typeof){case Ia:{var ye=qS($,A.mode,N);return ye.ref=yp(A,null,$),ye.return=A,ye}case Wr:{var fe=JS($,A.mode,N);return fe.return=A,fe}case jn:{var $e=$._payload,Xe=$._init;return O(A,Xe($e),N)}}if(st($)||Li($)){var zt=zu($,A.mode,N,null);return zt.return=A,zt}$v(A,$)}return typeof $=="function"&&Iv(A),null}function k(A,$,N,te){var ye=$!==null?$.key:null;if(typeof N=="string"&&N!==""||typeof N=="number")return ye!==null?null:v(A,$,""+N,te);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Ia:return N.key===ye?m(A,$,N,te):null;case Wr:return N.key===ye?E(A,$,N,te):null;case jn:{var fe=N._payload,$e=N._init;return k(A,$,$e(fe),te)}}if(st(N)||Li(N))return ye!==null?null:w(A,$,N,te,null);$v(A,N)}return typeof N=="function"&&Iv(A),null}function U(A,$,N,te,ye){if(typeof te=="string"&&te!==""||typeof te=="number"){var fe=A.get(N)||null;return v($,fe,""+te,ye)}if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Ia:{var $e=A.get(te.key===null?N:te.key)||null;return m($,$e,te,ye)}case Wr:{var Xe=A.get(te.key===null?N:te.key)||null;return E($,Xe,te,ye)}case jn:var zt=te._payload,Rt=te._init;return U(A,$,N,Rt(zt),ye)}if(st(te)||Li(te)){var kn=A.get(N)||null;return w($,kn,te,ye,null)}$v($,te)}return typeof te=="function"&&Iv($),null}function H(A,$,N){{if(typeof A!="object"||A===null)return $;switch(A.$$typeof){case Ia:case Wr:DE(A,N);var te=A.key;if(typeof te!="string")break;if($===null){$=new Set,$.add(te);break}if(!$.has(te)){$.add(te);break}C("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.",te);break;case jn:var ye=A._payload,fe=A._init;H(fe(ye),$,N);break}}return $}function P(A,$,N,te){for(var ye=null,fe=0;fe<N.length;fe++){var $e=N[fe];ye=H($e,ye,A)}for(var Xe=null,zt=null,Rt=$,kn=0,wt=0,En=null;Rt!==null&&wt<N.length;wt++){Rt.index>wt?(En=Rt,Rt=null):En=Rt.sibling;var Pr=k(A,Rt,N[wt],te);if(Pr===null){Rt===null&&(Rt=En);break}e&&Rt&&Pr.alternate===null&&t(A,Rt),kn=s(Pr,kn,wt),zt===null?Xe=Pr:zt.sibling=Pr,zt=Pr,Rt=En}if(wt===N.length){if(i(A,Rt),dr()){var Sr=wt;ks(A,Sr)}return Xe}if(Rt===null){for(;wt<N.length;wt++){var $i=O(A,N[wt],te);$i!==null&&(kn=s($i,kn,wt),zt===null?Xe=$i:zt.sibling=$i,zt=$i)}if(dr()){var ti=wt;ks(A,ti)}return Xe}for(var ni=a(A,Rt);wt<N.length;wt++){var $r=U(ni,A,wt,N[wt],te);$r!==null&&(e&&$r.alternate!==null&&ni.delete($r.key===null?wt:$r.key),kn=s($r,kn,wt),zt===null?Xe=$r:zt.sibling=$r,zt=$r)}if(e&&ni.forEach(function(Uf){return t(A,Uf)}),dr()){var _o=wt;ks(A,_o)}return Xe}function me(A,$,N,te){var ye=Li(N);if(typeof ye!="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"&&N[Symbol.toStringTag]==="Generator"&&(Rg||C("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."),Rg=!0),N.entries===ye&&(Eg||C("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Eg=!0);var fe=ye.call(N);if(fe)for(var $e=null,Xe=fe.next();!Xe.done;Xe=fe.next()){var zt=Xe.value;$e=H(zt,$e,A)}}var Rt=ye.call(N);if(Rt==null)throw new Error("An iterable object provided no iterator.");for(var kn=null,wt=null,En=$,Pr=0,Sr=0,$i=null,ti=Rt.next();En!==null&&!ti.done;Sr++,ti=Rt.next()){En.index>Sr?($i=En,En=null):$i=En.sibling;var ni=k(A,En,ti.value,te);if(ni===null){En===null&&(En=$i);break}e&&En&&ni.alternate===null&&t(A,En),Pr=s(ni,Pr,Sr),wt===null?kn=ni:wt.sibling=ni,wt=ni,En=$i}if(ti.done){if(i(A,En),dr()){var $r=Sr;ks(A,$r)}return kn}if(En===null){for(;!ti.done;Sr++,ti=Rt.next()){var _o=O(A,ti.value,te);_o!==null&&(Pr=s(_o,Pr,Sr),wt===null?kn=_o:wt.sibling=_o,wt=_o)}if(dr()){var Uf=Sr;ks(A,Uf)}return kn}for(var Gp=a(A,En);!ti.done;Sr++,ti=Rt.next()){var zl=U(Gp,A,Sr,ti.value,te);zl!==null&&(e&&zl.alternate!==null&&Gp.delete(zl.key===null?Sr:zl.key),Pr=s(zl,Pr,Sr),wt===null?kn=zl:wt.sibling=zl,wt=zl)}if(e&&Gp.forEach(function(qD){return t(A,qD)}),dr()){var KD=Sr;ks(A,KD)}return kn}function Ue(A,$,N,te){if($!==null&&$.tag===le){i(A,$.sibling);var ye=o($,N);return ye.return=A,ye}i(A,$);var fe=ZS(N,A.mode,te);return fe.return=A,fe}function Me(A,$,N,te){for(var ye=N.key,fe=$;fe!==null;){if(fe.key===ye){var $e=N.type;if($e===Oi){if(fe.tag===_e){i(A,fe.sibling);var Xe=o(fe,N.props.children);return Xe.return=A,Xe._debugSource=N._source,Xe._debugOwner=N._owner,Xe}}else if(fe.elementType===$e||SR(fe,N)||typeof $e=="object"&&$e!==null&&$e.$$typeof===jn&&_E($e)===fe.type){i(A,fe.sibling);var zt=o(fe,N.props);return zt.ref=yp(A,fe,N),zt.return=A,zt._debugSource=N._source,zt._debugOwner=N._owner,zt}i(A,fe);break}else t(A,fe);fe=fe.sibling}if(N.type===Oi){var Rt=zu(N.props.children,A.mode,te,N.key);return Rt.return=A,Rt}else{var kn=qS(N,A.mode,te);return kn.ref=yp(A,$,N),kn.return=A,kn}}function ht(A,$,N,te){for(var ye=N.key,fe=$;fe!==null;){if(fe.key===ye)if(fe.tag===ae&&fe.stateNode.containerInfo===N.containerInfo&&fe.stateNode.implementation===N.implementation){i(A,fe.sibling);var $e=o(fe,N.children||[]);return $e.return=A,$e}else{i(A,fe);break}else t(A,fe);fe=fe.sibling}var Xe=JS(N,A.mode,te);return Xe.return=A,Xe}function ot(A,$,N,te){var ye=typeof N=="object"&&N!==null&&N.type===Oi&&N.key===null;if(ye&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Ia:return d(Me(A,$,N,te));case Wr:return d(ht(A,$,N,te));case jn:var fe=N._payload,$e=N._init;return ot(A,$,$e(fe),te)}if(st(N))return P(A,$,N,te);if(Li(N))return me(A,$,N,te);$v(A,N)}return typeof N=="string"&&N!==""||typeof N=="number"?d(Ue(A,$,""+N,te)):(typeof N=="function"&&Iv(A),i(A,$))}return ot}var Cf=kE(!0),ME=kE(!1);function Hb(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,a=Ps(i,i.pendingProps);for(t.child=a,a.return=t;i.sibling!==null;)i=i.sibling,a=a.sibling=Ps(i,i.pendingProps),a.return=t;a.sibling=null}}function Vb(e,t){for(var i=e.child;i!==null;)hD(i,t),i=i.sibling}var gp={},Tu=Eu(gp),Sp=Eu(gp),Wv=Eu(gp);function Yv(e){if(e===gp)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 OE(){var e=Yv(Wv.current);return e}function Tg(e,t){jr(Wv,t,e),jr(Sp,e,e),jr(Tu,gp,e);var i=Jw(t);Vr(Tu,e),jr(Tu,i,e)}function Ef(e){Vr(Tu,e),Vr(Sp,e),Vr(Wv,e)}function Dg(){var e=Yv(Tu.current);return e}function LE(e){Yv(Wv.current);var t=Yv(Tu.current),i=e1(t,e.type);t!==i&&(jr(Sp,e,e),jr(Tu,i,e))}function _g(e){Sp.current===e&&(Vr(Tu,e),Vr(Sp,e))}var jb=0,AE=1,NE=1,Cp=2,Ua=Eu(jb);function kg(e,t){return(e&t)!==0}function Rf(e){return e&AE}function Mg(e,t){return e&AE|t}function Bb(e,t){return e|t}function Du(e,t){jr(Ua,t,e)}function wf(e){Vr(Ua,e)}function Pb(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function Gv(e){for(var t=e;t!==null;){if(t.tag===Ce){var i=t.memoizedState;if(i!==null){var a=i.dehydrated;if(a===null||IC(a)||Uy(a))return t}}else if(t.tag===Tt&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&We)!==ze;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 Ei=0,In=1,_l=2,Wn=4,pr=8,Og=[];function Lg(){for(var e=0;e<Og.length;e++){var t=Og[e];t._workInProgressVersionPrimary=null}Og.length=0}function $b(e,t){var i=t._getVersion,a=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var he=p.ReactCurrentDispatcher,Ep=p.ReactCurrentBatchConfig,Ag,bf;Ag=new Set;var zs=W,Nt=null,Yn=null,Gn=null,Qv=!1,Rp=!1,wp=0,Ib=0,Wb=25,G=null,oa=null,_u=-1,Ng=!1;function kt(){{var e=G;oa===null?oa=[e]:oa.push(e)}}function ue(){{var e=G;oa!==null&&(_u++,oa[_u]!==e&&Yb(e))}}function xf(e){e!=null&&!st(e)&&C("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",G,typeof e)}function Yb(e){{var t=Ge(Nt);if(!Ag.has(t)&&(Ag.add(t),oa!==null)){for(var i="",a=30,o=0;o<=_u;o++){for(var s=oa[o],d=o===_u?e:s,v=o+1+". "+s;v.length<a;)v+=" ";v+=d+`
|
|
165
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return a}function Iv(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function $v(e){{var t=Xe(e)||"Component";if(xg[t])return;xg[t]=!0,C("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 _E(e){var t=e._payload,i=e._init;return i(t)}function kE(e){function t(L,I){if(e){var N=L.deletions;N===null?(L.deletions=[I],L.flags|=_t):N.push(I)}}function i(L,I){if(!e)return null;for(var N=I;N!==null;)t(L,N),N=N.sibling;return null}function a(L,I){for(var N=new Map,ee=I;ee!==null;)ee.key!==null?N.set(ee.key,ee):N.set(ee.index,ee),ee=ee.sibling;return N}function o(L,I){var N=Is(L,I);return N.index=0,N.sibling=null,N}function s(L,I,N){if(L.index=N,!e)return L.flags|=cd,I;var ee=L.alternate;if(ee!==null){var Se=ee.index;return Se<I?(L.flags|=Yt,I):Se}else return L.flags|=Yt,I}function d(L){return e&&L.alternate===null&&(L.flags|=Yt),L}function v(L,I,N,ee){if(I===null||I.tag!==re){var Se=ZS(N,L.mode,ee);return Se.return=L,Se}else{var he=o(I,N);return he.return=L,he}}function m(L,I,N,ee){var Se=N.type;if(Se===Oi)return w(L,I,N.props.children,ee,N.key);if(I!==null&&(I.elementType===Se||SR(I,N)||typeof Se=="object"&&Se!==null&&Se.$$typeof===Bn&&_E(Se)===I.type)){var he=o(I,N.props);return he.ref=yp(L,I,N),he.return=L,he._debugSource=N._source,he._debugOwner=N._owner,he}var We=qS(N,L.mode,ee);return We.ref=yp(L,I,N),We.return=L,We}function R(L,I,N,ee){if(I===null||I.tag!==ae||I.stateNode.containerInfo!==N.containerInfo||I.stateNode.implementation!==N.implementation){var Se=JS(N,L.mode,ee);return Se.return=L,Se}else{var he=o(I,N.children||[]);return he.return=L,he}}function w(L,I,N,ee,Se){if(I===null||I.tag!==Be){var he=Uu(N,L.mode,ee,Se);return he.return=L,he}else{var We=o(I,N);return We.return=L,We}}function O(L,I,N){if(typeof I=="string"&&I!==""||typeof I=="number"){var ee=ZS(""+I,L.mode,N);return ee.return=L,ee}if(typeof I=="object"&&I!==null){switch(I.$$typeof){case $a:{var Se=qS(I,L.mode,N);return Se.ref=yp(L,null,I),Se.return=L,Se}case Wr:{var he=JS(I,L.mode,N);return he.return=L,he}case Bn:{var We=I._payload,qe=I._init;return O(L,qe(We),N)}}if(ft(I)||Ai(I)){var Ft=Uu(I,L.mode,N,null);return Ft.return=L,Ft}Iv(L,I)}return typeof I=="function"&&$v(L),null}function k(L,I,N,ee){var Se=I!==null?I.key:null;if(typeof N=="string"&&N!==""||typeof N=="number")return Se!==null?null:v(L,I,""+N,ee);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case $a:return N.key===Se?m(L,I,N,ee):null;case Wr:return N.key===Se?R(L,I,N,ee):null;case Bn:{var he=N._payload,We=N._init;return k(L,I,We(he),ee)}}if(ft(N)||Ai(N))return Se!==null?null:w(L,I,N,ee,null);Iv(L,N)}return typeof N=="function"&&$v(L),null}function F(L,I,N,ee,Se){if(typeof ee=="string"&&ee!==""||typeof ee=="number"){var he=L.get(N)||null;return v(I,he,""+ee,Se)}if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case $a:{var We=L.get(ee.key===null?N:ee.key)||null;return m(I,We,ee,Se)}case Wr:{var qe=L.get(ee.key===null?N:ee.key)||null;return R(I,qe,ee,Se)}case Bn:var Ft=ee._payload,bt=ee._init;return F(L,I,N,bt(Ft),Se)}if(ft(ee)||Ai(ee)){var kn=L.get(N)||null;return w(I,kn,ee,Se,null)}Iv(I,ee)}return typeof ee=="function"&&$v(I),null}function V(L,I,N){{if(typeof L!="object"||L===null)return I;switch(L.$$typeof){case $a:case Wr:DE(L,N);var ee=L.key;if(typeof ee!="string")break;if(I===null){I=new Set,I.add(ee);break}if(!I.has(ee)){I.add(ee);break}C("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.",ee);break;case Bn:var Se=L._payload,he=L._init;V(he(Se),I,N);break}}return I}function j(L,I,N,ee){for(var Se=null,he=0;he<N.length;he++){var We=N[he];Se=V(We,Se,L)}for(var qe=null,Ft=null,bt=I,kn=0,xt=0,Rn=null;bt!==null&&xt<N.length;xt++){bt.index>xt?(Rn=bt,bt=null):Rn=bt.sibling;var jr=k(L,bt,N[xt],ee);if(jr===null){bt===null&&(bt=Rn);break}e&&bt&&jr.alternate===null&&t(L,bt),kn=s(jr,kn,xt),Ft===null?qe=jr:Ft.sibling=jr,Ft=jr,bt=Rn}if(xt===N.length){if(i(L,bt),dr()){var Sr=xt;Ms(L,Sr)}return qe}if(bt===null){for(;xt<N.length;xt++){var Ii=O(L,N[xt],ee);Ii!==null&&(kn=s(Ii,kn,xt),Ft===null?qe=Ii:Ft.sibling=Ii,Ft=Ii)}if(dr()){var ti=xt;Ms(L,ti)}return qe}for(var ni=a(L,bt);xt<N.length;xt++){var Ir=F(ni,L,xt,N[xt],ee);Ir!==null&&(e&&Ir.alternate!==null&&ni.delete(Ir.key===null?xt:Ir.key),kn=s(Ir,kn,xt),Ft===null?qe=Ir:Ft.sibling=Ir,Ft=Ir)}if(e&&ni.forEach(function(Uf){return t(L,Uf)}),dr()){var _o=xt;Ms(L,_o)}return qe}function ge(L,I,N,ee){var Se=Ai(N);if(typeof Se!="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"&&N[Symbol.toStringTag]==="Generator"&&(Rg||C("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."),Rg=!0),N.entries===Se&&(Eg||C("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Eg=!0);var he=Se.call(N);if(he)for(var We=null,qe=he.next();!qe.done;qe=he.next()){var Ft=qe.value;We=V(Ft,We,L)}}var bt=Se.call(N);if(bt==null)throw new Error("An iterable object provided no iterator.");for(var kn=null,xt=null,Rn=I,jr=0,Sr=0,Ii=null,ti=bt.next();Rn!==null&&!ti.done;Sr++,ti=bt.next()){Rn.index>Sr?(Ii=Rn,Rn=null):Ii=Rn.sibling;var ni=k(L,Rn,ti.value,ee);if(ni===null){Rn===null&&(Rn=Ii);break}e&&Rn&&ni.alternate===null&&t(L,Rn),jr=s(ni,jr,Sr),xt===null?kn=ni:xt.sibling=ni,xt=ni,Rn=Ii}if(ti.done){if(i(L,Rn),dr()){var Ir=Sr;Ms(L,Ir)}return kn}if(Rn===null){for(;!ti.done;Sr++,ti=bt.next()){var _o=O(L,ti.value,ee);_o!==null&&(jr=s(_o,jr,Sr),xt===null?kn=_o:xt.sibling=_o,xt=_o)}if(dr()){var Uf=Sr;Ms(L,Uf)}return kn}for(var Gp=a(L,Rn);!ti.done;Sr++,ti=bt.next()){var zl=F(Gp,L,Sr,ti.value,ee);zl!==null&&(e&&zl.alternate!==null&&Gp.delete(zl.key===null?Sr:zl.key),jr=s(zl,jr,Sr),xt===null?kn=zl:xt.sibling=zl,xt=zl)}if(e&&Gp.forEach(function(JD){return t(L,JD)}),dr()){var ZD=Sr;Ms(L,ZD)}return kn}function Fe(L,I,N,ee){if(I!==null&&I.tag===re){i(L,I.sibling);var Se=o(I,N);return Se.return=L,Se}i(L,I);var he=ZS(N,L.mode,ee);return he.return=L,he}function Me(L,I,N,ee){for(var Se=N.key,he=I;he!==null;){if(he.key===Se){var We=N.type;if(We===Oi){if(he.tag===Be){i(L,he.sibling);var qe=o(he,N.props.children);return qe.return=L,qe._debugSource=N._source,qe._debugOwner=N._owner,qe}}else if(he.elementType===We||SR(he,N)||typeof We=="object"&&We!==null&&We.$$typeof===Bn&&_E(We)===he.type){i(L,he.sibling);var Ft=o(he,N.props);return Ft.ref=yp(L,he,N),Ft.return=L,Ft._debugSource=N._source,Ft._debugOwner=N._owner,Ft}i(L,he);break}else t(L,he);he=he.sibling}if(N.type===Oi){var bt=Uu(N.props.children,L.mode,ee,N.key);return bt.return=L,bt}else{var kn=qS(N,L.mode,ee);return kn.ref=yp(L,I,N),kn.return=L,kn}}function vt(L,I,N,ee){for(var Se=N.key,he=I;he!==null;){if(he.key===Se)if(he.tag===ae&&he.stateNode.containerInfo===N.containerInfo&&he.stateNode.implementation===N.implementation){i(L,he.sibling);var We=o(he,N.children||[]);return We.return=L,We}else{i(L,he);break}else t(L,he);he=he.sibling}var qe=JS(N,L.mode,ee);return qe.return=L,qe}function st(L,I,N,ee){var Se=typeof N=="object"&&N!==null&&N.type===Oi&&N.key===null;if(Se&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case $a:return d(Me(L,I,N,ee));case Wr:return d(vt(L,I,N,ee));case Bn:var he=N._payload,We=N._init;return st(L,I,We(he),ee)}if(ft(N))return j(L,I,N,ee);if(Ai(N))return ge(L,I,N,ee);Iv(L,N)}return typeof N=="string"&&N!==""||typeof N=="number"?d(Fe(L,I,""+N,ee)):(typeof N=="function"&&$v(L),i(L,I))}return st}var Cf=kE(!0),ME=kE(!1);function B1(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,a=Is(i,i.pendingProps);for(t.child=a,a.return=t;i.sibling!==null;)i=i.sibling,a=a.sibling=Is(i,i.pendingProps),a.return=t;a.sibling=null}}function P1(e,t){for(var i=e.child;i!==null;)mD(i,t),i=i.sibling}var gp={},Du=Ru(gp),Sp=Ru(gp),Wv=Ru(gp);function Yv(e){if(e===gp)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 OE(){var e=Yv(Wv.current);return e}function Tg(e,t){Br(Wv,t,e),Br(Sp,e,e),Br(Du,gp,e);var i=tb(t);Vr(Du,e),Br(Du,i,e)}function Ef(e){Vr(Du,e),Vr(Sp,e),Vr(Wv,e)}function Dg(){var e=Yv(Du.current);return e}function AE(e){Yv(Wv.current);var t=Yv(Du.current),i=nb(t,e.type);t!==i&&(Br(Sp,e,e),Br(Du,i,e))}function _g(e){Sp.current===e&&(Vr(Du,e),Vr(Sp,e))}var j1=0,LE=1,NE=1,Cp=2,Ua=Ru(j1);function kg(e,t){return(e&t)!==0}function Rf(e){return e&LE}function Mg(e,t){return e&LE|t}function I1(e,t){return e|t}function _u(e,t){Br(Ua,t,e)}function wf(e){Vr(Ua,e)}function $1(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function Gv(e){for(var t=e;t!==null;){if(t.tag===pe){var i=t.memoizedState;if(i!==null){var a=i.dehydrated;if(a===null||$C(a)||Uy(a))return t}}else if(t.tag===yt&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&Ge)!==ze;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 Ei=0,$n=1,_l=2,Wn=4,pr=8,Og=[];function Ag(){for(var e=0;e<Og.length;e++){var t=Og[e];t._workInProgressVersionPrimary=null}Og.length=0}function W1(e,t){var i=t._getVersion,a=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var me=p.ReactCurrentDispatcher,Ep=p.ReactCurrentBatchConfig,Lg,bf;Lg=new Set;var Us=W,Ut=null,Yn=null,Gn=null,Qv=!1,Rp=!1,wp=0,Y1=0,G1=25,Q=null,oa=null,ku=-1,Ng=!1;function At(){{var e=Q;oa===null?oa=[e]:oa.push(e)}}function se(){{var e=Q;oa!==null&&(ku++,oa[ku]!==e&&Q1(e))}}function xf(e){e!=null&&!ft(e)&&C("%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 Q1(e){{var t=Xe(Ut);if(!Lg.has(t)&&(Lg.add(t),oa!==null)){for(var i="",a=30,o=0;o<=ku;o++){for(var s=oa[o],d=o===ku?e:s,v=o+1+". "+s;v.length<a;)v+=" ";v+=d+`
|
|
166
166
|
`,i+=v}C(`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
|
|
167
167
|
|
|
168
168
|
Previous render Next render
|
|
169
169
|
------------------------------------------------------
|
|
170
170
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
171
|
-
`,t,i)}}}function
|
|
171
|
+
`,t,i)}}}function Pr(){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:
|
|
172
172
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
173
173
|
2. You might be breaking the Rules of Hooks
|
|
174
174
|
3. You might have more than one copy of React in the same app
|
|
175
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function zg(e,t){if(Ng)return!1;if(t===null)return C("%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.",
|
|
175
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function zg(e,t){if(Ng)return!1;if(t===null)return C("%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&&C(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
176
176
|
|
|
177
177
|
Previous: %s
|
|
178
|
-
Incoming: %s`,G,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Re(e[i],t[i]))return!1;return!0}function Tf(e,t,i,a,o,s){zs=s,Nt=t,oa=e!==null?e._debugHookTypes:null,_u=-1,Ng=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=W,e!==null&&e.memoizedState!==null?he.current=n0:oa!==null?he.current=t0:he.current=e0;var d=i(a,o);if(Rp){var v=0;do{if(Rp=!1,wp=0,v>=Wb)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");v+=1,Ng=!1,Yn=null,Gn=null,t.updateQueue=null,_u=-1,he.current=r0,d=i(a,o)}while(Rp)}he.current=om,t._debugHookTypes=oa;var m=Yn!==null&&Yn.next!==null;if(zs=W,Nt=null,Yn=null,Gn=null,G=null,oa=null,_u=-1,e!==null&&(e.flags&Bn)!==(t.flags&Bn)&&(e.mode&rt)!==He&&C("Internal React error: Expected static flag was missing. Please notify the React team."),Qv=!1,m)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function Df(){var e=wp!==0;return wp=0,e}function zE(e,t,i){t.updateQueue=e.updateQueue,(t.mode&pi)!==He?t.flags&=~(Xl|Ar|Jt|qe):t.flags&=~(Jt|qe),e.lanes=iu(e.lanes,i)}function UE(){if(he.current=om,Qv){for(var e=Nt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Qv=!1}zs=W,Nt=null,Yn=null,Gn=null,oa=null,_u=-1,G=null,XE=!1,Rp=!1,wp=0}function kl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gn===null?Nt.memoizedState=Gn=e:Gn=Gn.next=e,Gn}function ua(){var e;if(Yn===null){var t=Nt.alternate;t!==null?e=t.memoizedState:e=null}else e=Yn.next;var i;if(Gn===null?i=Nt.memoizedState:i=Gn.next,i!==null)Gn=i,i=Gn.next,Yn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Yn=e;var a={memoizedState:Yn.memoizedState,baseState:Yn.baseState,baseQueue:Yn.baseQueue,queue:Yn.queue,next:null};Gn===null?Nt.memoizedState=Gn=a:Gn=Gn.next=a}return Gn}function FE(){return{lastEffect:null,stores:null}}function Ug(e,t){return typeof t=="function"?t(e):t}function Fg(e,t,i){var a=kl(),o;i!==void 0?o=i(t):o=t,a.memoizedState=a.baseState=o;var s={pending:null,interleaved:null,lanes:W,dispatch:null,lastRenderedReducer:e,lastRenderedState:o};a.queue=s;var d=s.dispatch=Kb.bind(null,Nt,s);return[a.memoizedState,d]}function Hg(e,t,i){var a=ua(),o=a.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 m=d.next,E=v.next;d.next=E,v.next=m}s.baseQueue!==d&&C("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,k=null,U=null,H=null,P=w;do{var me=P.lane;if(ao(zs,me)){if(H!==null){var Me={lane:dt,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null};H=H.next=Me}if(P.hasEagerState)O=P.eagerState;else{var ht=P.action;O=e(O,ht)}}else{var Ue={lane:me,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null};H===null?(U=H=Ue,k=O):H=H.next=Ue,Nt.lanes=Ze(Nt.lanes,me),Pp(me)}P=P.next}while(P!==null&&P!==w);H===null?k=O:H.next=U,Re(O,a.memoizedState)||Mp(),a.memoizedState=O,a.baseState=k,a.baseQueue=H,o.lastRenderedState=O}var ot=o.interleaved;if(ot!==null){var A=ot;do{var $=A.lane;Nt.lanes=Ze(Nt.lanes,$),Pp($),A=A.next}while(A!==ot)}else d===null&&(o.lanes=W);var N=o.dispatch;return[a.memoizedState,N]}function Vg(e,t,i){var a=ua(),o=a.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=a.memoizedState;if(d!==null){o.pending=null;var m=d.next,E=m;do{var w=E.action;v=e(v,w),E=E.next}while(E!==m);Re(v,a.memoizedState)||Mp(),a.memoizedState=v,a.baseQueue===null&&(a.baseState=v),o.lastRenderedState=v}return[v,s]}function P_(e,t,i){}function $_(e,t,i){}function jg(e,t,i){var a=Nt,o=kl(),s,d=dr();if(d){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=i(),bf||s!==i()&&(C("The result of getServerSnapshot should be cached to avoid an infinite loop"),bf=!0)}else{if(s=t(),!bf){var v=t();Re(s,v)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var m=xm();if(m===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ds(m,zs)||HE(a,t,s)}o.memoizedState=s;var E={value:s,getSnapshot:t};return o.queue=E,Jv(jE.bind(null,a,E,e),[e]),a.flags|=Jt,bp(In|pr,VE.bind(null,a,E,s,t),void 0,null),s}function Xv(e,t,i){var a=Nt,o=ua(),s=t();if(!bf){var d=t();Re(s,d)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var v=o.memoizedState,m=!Re(v,s);m&&(o.memoizedState=s,Mp());var E=o.queue;if(Tp(jE.bind(null,a,E,e),[e]),E.getSnapshot!==t||m||Gn!==null&&Gn.memoizedState.tag&In){a.flags|=Jt,bp(In|pr,VE.bind(null,a,E,s,t),void 0,null);var w=xm();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ds(w,zs)||HE(a,t,s)}return s}function HE(e,t,i){e.flags|=rs;var a={getSnapshot:t,value:i},o=Nt.updateQueue;if(o===null)o=FE(),Nt.updateQueue=o,o.stores=[a];else{var s=o.stores;s===null?o.stores=[a]:s.push(a)}}function VE(e,t,i,a){t.value=i,t.getSnapshot=a,BE(t)&&PE(e)}function jE(e,t,i){var a=function(){BE(t)&&PE(e)};return i(a)}function BE(e){var t=e.getSnapshot,i=e.value;try{var a=t();return!Re(i,a)}catch{return!0}}function PE(e){var t=Ci(e,Be);t!==null&&qn(t,e,Be,Vt)}function Kv(e){var t=kl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:W,dispatch:null,lastRenderedReducer:Ug,lastRenderedState:e};t.queue=i;var a=i.dispatch=qb.bind(null,Nt,i);return[t.memoizedState,a]}function Bg(e){return Hg(Ug)}function Pg(e){return Vg(Ug)}function bp(e,t,i,a){var o={tag:e,create:t,destroy:i,deps:a,next:null},s=Nt.updateQueue;if(s===null)s=FE(),Nt.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 $g(e){var t=kl();{var i={current:e};return t.memoizedState=i,i}}function qv(e){var t=ua();return t.memoizedState}function xp(e,t,i,a){var o=kl(),s=a===void 0?null:a;Nt.flags|=e,o.memoizedState=bp(In|t,i,void 0,s)}function Zv(e,t,i,a){var o=ua(),s=a===void 0?null:a,d=void 0;if(Yn!==null){var v=Yn.memoizedState;if(d=v.destroy,s!==null){var m=v.deps;if(zg(s,m)){o.memoizedState=bp(t,i,d,s);return}}}Nt.flags|=e,o.memoizedState=bp(In|t,i,d,s)}function Jv(e,t){return(Nt.mode&pi)!==He?xp(Xl|Jt|fl,pr,e,t):xp(Jt|fl,pr,e,t)}function Tp(e,t){return Zv(Jt,pr,e,t)}function Ig(e,t){return xp(qe,_l,e,t)}function em(e,t){return Zv(qe,_l,e,t)}function Wg(e,t){var i=qe;return i|=Lr,(Nt.mode&pi)!==He&&(i|=Ar),xp(i,Wn,e,t)}function tm(e,t){return Zv(qe,Wn,e,t)}function $E(e,t){if(typeof t=="function"){var i=t,a=e();return i(a),function(){i(null)}}else if(t!=null){var o=t;o.hasOwnProperty("current")||C("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 Yg(e,t,i){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null,o=qe;return o|=Lr,(Nt.mode&pi)!==He&&(o|=Ar),xp(o,Wn,$E.bind(null,t,e),a)}function nm(e,t,i){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null;return Zv(qe,Wn,$E.bind(null,t,e),a)}function Gb(e,t){}var rm=Gb;function Gg(e,t){var i=kl(),a=t===void 0?null:t;return i.memoizedState=[e,a],e}function im(e,t){var i=ua(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(zg(a,s))return o[0]}return i.memoizedState=[e,a],e}function Qg(e,t){var i=kl(),a=t===void 0?null:t,o=e();return i.memoizedState=[o,a],o}function am(e,t){var i=ua(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(zg(a,s))return o[0]}var d=e();return i.memoizedState=[d,a],d}function Xg(e){var t=kl();return t.memoizedState=e,e}function IE(e){var t=ua(),i=Yn,a=i.memoizedState;return YE(t,a,e)}function WE(e){var t=ua();if(Yn===null)return t.memoizedState=e,e;var i=Yn.memoizedState;return YE(t,i,e)}function YE(e,t,i){var a=!ty(zs);if(a){if(!Re(i,t)){var o=Dd();Nt.lanes=Ze(Nt.lanes,o),Pp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Mp()),e.memoizedState=i,i}function Qb(e,t,i){var a=vi();Tn(nr(a,$n)),e(!0);var o=Ep.transition;Ep.transition={};var s=Ep.transition;Ep.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Tn(a),Ep.transition=o,o===null&&s._updatedFibers){var d=s._updatedFibers.size;d>10&&T("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 Kg(){var e=Kv(!1),t=e[0],i=e[1],a=Qb.bind(null,i),o=kl();return o.memoizedState=a,[t,a]}function GE(){var e=Bg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}function QE(){var e=Pg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}var XE=!1;function Xb(){return XE}function qg(){var e=kl(),t=xm(),i=t.identifierPrefix,a;if(dr()){var o=sb();a=":"+i+"R"+o;var s=wp++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=Ib++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function lm(){var e=ua(),t=e.memoizedState;return t}function Kb(e,t,i){typeof arguments[3]=="function"&&C("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 a=Au(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(KE(e))qE(t,o);else{var s=hE(e,t,o,a);if(s!==null){var d=ei();qn(s,e,a,d),ZE(s,t,a)}}JE(e,a)}function qb(e,t,i){typeof arguments[3]=="function"&&C("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 a=Au(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(KE(e))qE(t,o);else{var s=e.alternate;if(e.lanes===W&&(s===null||s.lanes===W)){var d=t.lastRenderedReducer;if(d!==null){var v;v=he.current,he.current=Fa;try{var m=t.lastRenderedState,E=d(m,i);if(o.hasEagerState=!0,o.eagerState=E,Re(E,m)){kb(e,t,o,a);return}}catch{}finally{he.current=v}}}var w=hE(e,t,o,a);if(w!==null){var O=ei();qn(w,e,a,O),ZE(w,t,a)}}JE(e,a)}function KE(e){var t=e.alternate;return e===Nt||t!==null&&t===Nt}function qE(e,t){Rp=Qv=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function ZE(e,t,i){if(Td(i)){var a=t.lanes;a=_d(a,e.pendingLanes);var o=Ze(a,i);t.lanes=o,au(e,o)}}function JE(e,t,i){yl(e,t)}var om={readContext:Hn,useCallback:Br,useContext:Br,useEffect:Br,useImperativeHandle:Br,useInsertionEffect:Br,useLayoutEffect:Br,useMemo:Br,useReducer:Br,useRef:Br,useState:Br,useDebugValue:Br,useDeferredValue:Br,useTransition:Br,useMutableSource:Br,useSyncExternalStore:Br,useId:Br,unstable_isNewReconciler:ie},e0=null,t0=null,n0=null,r0=null,Ml=null,Fa=null,um=null;{var Zg=function(){C("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().")},Qe=function(){C("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")};e0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",kt(),xf(t),Gg(e,t)},useContext:function(e){return G="useContext",kt(),Hn(e)},useEffect:function(e,t){return G="useEffect",kt(),xf(t),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",kt(),xf(i),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",kt(),xf(t),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",kt(),xf(t),Wg(e,t)},useMemo:function(e,t){G="useMemo",kt(),xf(t);var i=he.current;he.current=Ml;try{return Qg(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",kt();var a=he.current;he.current=Ml;try{return Fg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",kt(),$g(e)},useState:function(e){G="useState",kt();var t=he.current;he.current=Ml;try{return Kv(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",kt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",kt(),Xg(e)},useTransition:function(){return G="useTransition",kt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",kt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",kt(),jg(e,t,i)},useId:function(){return G="useId",kt(),qg()},unstable_isNewReconciler:ie},t0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",ue(),Gg(e,t)},useContext:function(e){return G="useContext",ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",ue(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",ue(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",ue(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",ue(),Wg(e,t)},useMemo:function(e,t){G="useMemo",ue();var i=he.current;he.current=Ml;try{return Qg(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",ue();var a=he.current;he.current=Ml;try{return Fg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",ue(),$g(e)},useState:function(e){G="useState",ue();var t=he.current;he.current=Ml;try{return Kv(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",ue(),void 0},useDeferredValue:function(e){return G="useDeferredValue",ue(),Xg(e)},useTransition:function(){return G="useTransition",ue(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",ue(),jg(e,t,i)},useId:function(){return G="useId",ue(),qg()},unstable_isNewReconciler:ie},n0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",ue(),im(e,t)},useContext:function(e){return G="useContext",ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",ue();var i=he.current;he.current=Fa;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",ue();var a=he.current;he.current=Fa;try{return Hg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",ue(),qv()},useState:function(e){G="useState",ue();var t=he.current;he.current=Fa;try{return Bg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",ue(),IE(e)},useTransition:function(){return G="useTransition",ue(),GE()},useMutableSource:function(e,t,i){return G="useMutableSource",ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",ue(),Xv(e,t)},useId:function(){return G="useId",ue(),lm()},unstable_isNewReconciler:ie},r0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",ue(),im(e,t)},useContext:function(e){return G="useContext",ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",ue();var i=he.current;he.current=um;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",ue();var a=he.current;he.current=um;try{return Vg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",ue(),qv()},useState:function(e){G="useState",ue();var t=he.current;he.current=um;try{return Pg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",ue(),WE(e)},useTransition:function(){return G="useTransition",ue(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",ue(),Xv(e,t)},useId:function(){return G="useId",ue(),lm()},unstable_isNewReconciler:ie},Ml={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Qe(),kt(),Gg(e,t)},useContext:function(e){return G="useContext",Qe(),kt(),Hn(e)},useEffect:function(e,t){return G="useEffect",Qe(),kt(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Qe(),kt(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Qe(),kt(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Qe(),kt(),Wg(e,t)},useMemo:function(e,t){G="useMemo",Qe(),kt();var i=he.current;he.current=Ml;try{return Qg(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",Qe(),kt();var a=he.current;he.current=Ml;try{return Fg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",Qe(),kt(),$g(e)},useState:function(e){G="useState",Qe(),kt();var t=he.current;he.current=Ml;try{return Kv(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Qe(),kt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",Qe(),kt(),Xg(e)},useTransition:function(){return G="useTransition",Qe(),kt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",Qe(),kt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Qe(),kt(),jg(e,t,i)},useId:function(){return G="useId",Qe(),kt(),qg()},unstable_isNewReconciler:ie},Fa={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Qe(),ue(),im(e,t)},useContext:function(e){return G="useContext",Qe(),ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",Qe(),ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Qe(),ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Qe(),ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Qe(),ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",Qe(),ue();var i=he.current;he.current=Fa;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",Qe(),ue();var a=he.current;he.current=Fa;try{return Hg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",Qe(),ue(),qv()},useState:function(e){G="useState",Qe(),ue();var t=he.current;he.current=Fa;try{return Bg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Qe(),ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Qe(),ue(),IE(e)},useTransition:function(){return G="useTransition",Qe(),ue(),GE()},useMutableSource:function(e,t,i){return G="useMutableSource",Qe(),ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Qe(),ue(),Xv(e,t)},useId:function(){return G="useId",Qe(),ue(),lm()},unstable_isNewReconciler:ie},um={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Qe(),ue(),im(e,t)},useContext:function(e){return G="useContext",Qe(),ue(),Hn(e)},useEffect:function(e,t){return G="useEffect",Qe(),ue(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Qe(),ue(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Qe(),ue(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Qe(),ue(),tm(e,t)},useMemo:function(e,t){G="useMemo",Qe(),ue();var i=he.current;he.current=Fa;try{return am(e,t)}finally{he.current=i}},useReducer:function(e,t,i){G="useReducer",Qe(),ue();var a=he.current;he.current=Fa;try{return Vg(e,t,i)}finally{he.current=a}},useRef:function(e){return G="useRef",Qe(),ue(),qv()},useState:function(e){G="useState",Qe(),ue();var t=he.current;he.current=Fa;try{return Pg(e)}finally{he.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Qe(),ue(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Qe(),ue(),WE(e)},useTransition:function(){return G="useTransition",Qe(),ue(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",Qe(),ue(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Qe(),ue(),Xv(e,t)},useId:function(){return G="useId",Qe(),ue(),lm()},unstable_isNewReconciler:ie}}var ku=c.unstable_now,i0=0,sm=-1,Dp=-1,cm=-1,Jg=!1,fm=!1;function a0(){return Jg}function Zb(){fm=!0}function Jb(){Jg=!1,fm=!1}function ex(){Jg=fm,fm=!1}function l0(){return i0}function o0(){i0=ku()}function eS(e){Dp=ku(),e.actualStartTime<0&&(e.actualStartTime=ku())}function u0(e){Dp=-1}function dm(e,t){if(Dp>=0){var i=ku()-Dp;e.actualDuration+=i,t&&(e.selfBaseDuration=i),Dp=-1}}function Ol(e){if(sm>=0){var t=ku()-sm;sm=-1;for(var i=e.return;i!==null;){switch(i.tag){case J:var a=i.stateNode;a.effectDuration+=t;return;case Oe:var o=i.stateNode;o.effectDuration+=t;return}i=i.return}}}function tS(e){if(cm>=0){var t=ku()-cm;cm=-1;for(var i=e.return;i!==null;){switch(i.tag){case J:var a=i.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case Oe:var o=i.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}i=i.return}}}function Ll(){sm=ku()}function nS(){cm=ku()}function rS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Us(e,t){return{value:e,source:t,stack:Uo(t),digest:null}}function iS(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function tx(e,t){return!0}function aS(e,t){try{var i=tx(e,t);if(i===!1)return;var a=t.value,o=t.source,s=t.stack,d=s!==null?s:"";if(a!=null&&a._suppressLogging){if(e.tag===K)return;console.error(a)}var v=o?Ge(o):null,m=v?"The above error occurred in the <"+v+"> component:":"The above error occurred in one of your React components:",E;if(e.tag===J)E=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
179
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var w=
|
|
178
|
+
Incoming: %s`,Q,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!Re(e[i],t[i]))return!1;return!0}function Tf(e,t,i,a,o,s){Us=s,Ut=t,oa=e!==null?e._debugHookTypes:null,ku=-1,Ng=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=W,e!==null&&e.memoizedState!==null?me.current=n0:oa!==null?me.current=t0:me.current=e0;var d=i(a,o);if(Rp){var v=0;do{if(Rp=!1,wp=0,v>=G1)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");v+=1,Ng=!1,Yn=null,Gn=null,t.updateQueue=null,ku=-1,me.current=r0,d=i(a,o)}while(Rp)}me.current=om,t._debugHookTypes=oa;var m=Yn!==null&&Yn.next!==null;if(Us=W,Ut=null,Yn=null,Gn=null,Q=null,oa=null,ku=-1,e!==null&&(e.flags&Pn)!==(t.flags&Pn)&&(e.mode&at)!==Ve&&C("Internal React error: Expected static flag was missing. Please notify the React team."),Qv=!1,m)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return d}function Df(){var e=wp!==0;return wp=0,e}function zE(e,t,i){t.updateQueue=e.updateQueue,(t.mode&pi)!==Ve?t.flags&=~(Xl|Lr|Jt|Je):t.flags&=~(Jt|Je),e.lanes=au(e.lanes,i)}function UE(){if(me.current=om,Qv){for(var e=Ut.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Qv=!1}Us=W,Ut=null,Yn=null,Gn=null,oa=null,ku=-1,Q=null,XE=!1,Rp=!1,wp=0}function kl(){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 ua(){var e;if(Yn===null){var t=Ut.alternate;t!==null?e=t.memoizedState:e=null}else e=Yn.next;var i;if(Gn===null?i=Ut.memoizedState:i=Gn.next,i!==null)Gn=i,i=Gn.next,Yn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Yn=e;var a={memoizedState:Yn.memoizedState,baseState:Yn.baseState,baseQueue:Yn.baseQueue,queue:Yn.queue,next:null};Gn===null?Ut.memoizedState=Gn=a:Gn=Gn.next=a}return Gn}function FE(){return{lastEffect:null,stores:null}}function Ug(e,t){return typeof t=="function"?t(e):t}function Fg(e,t,i){var a=kl(),o;i!==void 0?o=i(t):o=t,a.memoizedState=a.baseState=o;var s={pending:null,interleaved:null,lanes:W,dispatch:null,lastRenderedReducer:e,lastRenderedState:o};a.queue=s;var d=s.dispatch=Z1.bind(null,Ut,s);return[a.memoizedState,d]}function Hg(e,t,i){var a=ua(),o=a.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 m=d.next,R=v.next;d.next=R,v.next=m}s.baseQueue!==d&&C("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,k=null,F=null,V=null,j=w;do{var ge=j.lane;if(ao(Us,ge)){if(V!==null){var Me={lane:pt,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};V=V.next=Me}if(j.hasEagerState)O=j.eagerState;else{var vt=j.action;O=e(O,vt)}}else{var Fe={lane:ge,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null};V===null?(F=V=Fe,k=O):V=V.next=Fe,Ut.lanes=et(Ut.lanes,ge),jp(ge)}j=j.next}while(j!==null&&j!==w);V===null?k=O:V.next=F,Re(O,a.memoizedState)||Mp(),a.memoizedState=O,a.baseState=k,a.baseQueue=V,o.lastRenderedState=O}var st=o.interleaved;if(st!==null){var L=st;do{var I=L.lane;Ut.lanes=et(Ut.lanes,I),jp(I),L=L.next}while(L!==st)}else d===null&&(o.lanes=W);var N=o.dispatch;return[a.memoizedState,N]}function Vg(e,t,i){var a=ua(),o=a.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=a.memoizedState;if(d!==null){o.pending=null;var m=d.next,R=m;do{var w=R.action;v=e(v,w),R=R.next}while(R!==m);Re(v,a.memoizedState)||Mp(),a.memoizedState=v,a.baseQueue===null&&(a.baseState=v),o.lastRenderedState=v}return[v,s]}function $_(e,t,i){}function W_(e,t,i){}function Bg(e,t,i){var a=Ut,o=kl(),s,d=dr();if(d){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");s=i(),bf||s!==i()&&(C("The result of getServerSnapshot should be cached to avoid an infinite loop"),bf=!0)}else{if(s=t(),!bf){var v=t();Re(s,v)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var m=xm();if(m===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ps(m,Us)||HE(a,t,s)}o.memoizedState=s;var R={value:s,getSnapshot:t};return o.queue=R,Jv(BE.bind(null,a,R,e),[e]),a.flags|=Jt,bp($n|pr,VE.bind(null,a,R,s,t),void 0,null),s}function Xv(e,t,i){var a=Ut,o=ua(),s=t();if(!bf){var d=t();Re(s,d)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),bf=!0)}var v=o.memoizedState,m=!Re(v,s);m&&(o.memoizedState=s,Mp());var R=o.queue;if(Tp(BE.bind(null,a,R,e),[e]),R.getSnapshot!==t||m||Gn!==null&&Gn.memoizedState.tag&$n){a.flags|=Jt,bp($n|pr,VE.bind(null,a,R,s,t),void 0,null);var w=xm();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ps(w,Us)||HE(a,t,s)}return s}function HE(e,t,i){e.flags|=is;var a={getSnapshot:t,value:i},o=Ut.updateQueue;if(o===null)o=FE(),Ut.updateQueue=o,o.stores=[a];else{var s=o.stores;s===null?o.stores=[a]:s.push(a)}}function VE(e,t,i,a){t.value=i,t.getSnapshot=a,PE(t)&&jE(e)}function BE(e,t,i){var a=function(){PE(t)&&jE(e)};return i(a)}function PE(e){var t=e.getSnapshot,i=e.value;try{var a=t();return!Re(i,a)}catch{return!0}}function jE(e){var t=Ci(e,Ie);t!==null&&qn(t,e,Ie,Pt)}function Kv(e){var t=kl();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:W,dispatch:null,lastRenderedReducer:Ug,lastRenderedState:e};t.queue=i;var a=i.dispatch=J1.bind(null,Ut,i);return[t.memoizedState,a]}function Pg(e){return Hg(Ug)}function jg(e){return Vg(Ug)}function bp(e,t,i,a){var o={tag:e,create:t,destroy:i,deps:a,next:null},s=Ut.updateQueue;if(s===null)s=FE(),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 Ig(e){var t=kl();{var i={current:e};return t.memoizedState=i,i}}function qv(e){var t=ua();return t.memoizedState}function xp(e,t,i,a){var o=kl(),s=a===void 0?null:a;Ut.flags|=e,o.memoizedState=bp($n|t,i,void 0,s)}function Zv(e,t,i,a){var o=ua(),s=a===void 0?null:a,d=void 0;if(Yn!==null){var v=Yn.memoizedState;if(d=v.destroy,s!==null){var m=v.deps;if(zg(s,m)){o.memoizedState=bp(t,i,d,s);return}}}Ut.flags|=e,o.memoizedState=bp($n|t,i,d,s)}function Jv(e,t){return(Ut.mode&pi)!==Ve?xp(Xl|Jt|fl,pr,e,t):xp(Jt|fl,pr,e,t)}function Tp(e,t){return Zv(Jt,pr,e,t)}function $g(e,t){return xp(Je,_l,e,t)}function em(e,t){return Zv(Je,_l,e,t)}function Wg(e,t){var i=Je;return i|=Ar,(Ut.mode&pi)!==Ve&&(i|=Lr),xp(i,Wn,e,t)}function tm(e,t){return Zv(Je,Wn,e,t)}function IE(e,t){if(typeof t=="function"){var i=t,a=e();return i(a),function(){i(null)}}else if(t!=null){var o=t;o.hasOwnProperty("current")||C("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 Yg(e,t,i){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null,o=Je;return o|=Ar,(Ut.mode&pi)!==Ve&&(o|=Lr),xp(o,Wn,IE.bind(null,t,e),a)}function nm(e,t,i){typeof t!="function"&&C("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var a=i!=null?i.concat([e]):null;return Zv(Je,Wn,IE.bind(null,t,e),a)}function X1(e,t){}var rm=X1;function Gg(e,t){var i=kl(),a=t===void 0?null:t;return i.memoizedState=[e,a],e}function im(e,t){var i=ua(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(zg(a,s))return o[0]}return i.memoizedState=[e,a],e}function Qg(e,t){var i=kl(),a=t===void 0?null:t,o=e();return i.memoizedState=[o,a],o}function am(e,t){var i=ua(),a=t===void 0?null:t,o=i.memoizedState;if(o!==null&&a!==null){var s=o[1];if(zg(a,s))return o[0]}var d=e();return i.memoizedState=[d,a],d}function Xg(e){var t=kl();return t.memoizedState=e,e}function $E(e){var t=ua(),i=Yn,a=i.memoizedState;return YE(t,a,e)}function WE(e){var t=ua();if(Yn===null)return t.memoizedState=e,e;var i=Yn.memoizedState;return YE(t,i,e)}function YE(e,t,i){var a=!ty(Us);if(a){if(!Re(i,t)){var o=Dd();Ut.lanes=et(Ut.lanes,o),jp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Mp()),e.memoizedState=i,i}function K1(e,t,i){var a=vi();Tn(nr(a,In)),e(!0);var o=Ep.transition;Ep.transition={};var s=Ep.transition;Ep.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Tn(a),Ep.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 Kg(){var e=Kv(!1),t=e[0],i=e[1],a=K1.bind(null,i),o=kl();return o.memoizedState=a,[t,a]}function GE(){var e=Pg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}function QE(){var e=jg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}var XE=!1;function q1(){return XE}function qg(){var e=kl(),t=xm(),i=t.identifierPrefix,a;if(dr()){var o=f1();a=":"+i+"R"+o;var s=wp++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=Y1++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function lm(){var e=ua(),t=e.memoizedState;return t}function Z1(e,t,i){typeof arguments[3]=="function"&&C("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 a=Nu(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(KE(e))qE(t,o);else{var s=hE(e,t,o,a);if(s!==null){var d=ei();qn(s,e,a,d),ZE(s,t,a)}}JE(e,a)}function J1(e,t,i){typeof arguments[3]=="function"&&C("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 a=Nu(e),o={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(KE(e))qE(t,o);else{var s=e.alternate;if(e.lanes===W&&(s===null||s.lanes===W)){var d=t.lastRenderedReducer;if(d!==null){var v;v=me.current,me.current=Fa;try{var m=t.lastRenderedState,R=d(m,i);if(o.hasEagerState=!0,o.eagerState=R,Re(R,m)){O1(e,t,o,a);return}}catch{}finally{me.current=v}}}var w=hE(e,t,o,a);if(w!==null){var O=ei();qn(w,e,a,O),ZE(w,t,a)}}JE(e,a)}function KE(e){var t=e.alternate;return e===Ut||t!==null&&t===Ut}function qE(e,t){Rp=Qv=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function ZE(e,t,i){if(Td(i)){var a=t.lanes;a=_d(a,e.pendingLanes);var o=et(a,i);t.lanes=o,lu(e,o)}}function JE(e,t,i){yl(e,t)}var om={readContext:Hn,useCallback:Pr,useContext:Pr,useEffect:Pr,useImperativeHandle:Pr,useInsertionEffect:Pr,useLayoutEffect:Pr,useMemo:Pr,useReducer:Pr,useRef:Pr,useState:Pr,useDebugValue:Pr,useDeferredValue:Pr,useTransition:Pr,useMutableSource:Pr,useSyncExternalStore:Pr,useId:Pr,unstable_isNewReconciler:le},e0=null,t0=null,n0=null,r0=null,Ml=null,Fa=null,um=null;{var Zg=function(){C("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(){C("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")};e0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",At(),xf(t),Gg(e,t)},useContext:function(e){return Q="useContext",At(),Hn(e)},useEffect:function(e,t){return Q="useEffect",At(),xf(t),Jv(e,t)},useImperativeHandle:function(e,t,i){return Q="useImperativeHandle",At(),xf(i),Yg(e,t,i)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",At(),xf(t),$g(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",At(),xf(t),Wg(e,t)},useMemo:function(e,t){Q="useMemo",At(),xf(t);var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){Q="useReducer",At();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return Q="useRef",At(),Ig(e)},useState:function(e){Q="useState",At();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",At(),void 0},useDeferredValue:function(e){return Q="useDeferredValue",At(),Xg(e)},useTransition:function(){return Q="useTransition",At(),Kg()},useMutableSource:function(e,t,i){return Q="useMutableSource",At(),void 0},useSyncExternalStore:function(e,t,i){return Q="useSyncExternalStore",At(),Bg(e,t,i)},useId:function(){return Q="useId",At(),qg()},unstable_isNewReconciler:le},t0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",se(),Gg(e,t)},useContext:function(e){return Q="useContext",se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",se(),Jv(e,t)},useImperativeHandle:function(e,t,i){return Q="useImperativeHandle",se(),Yg(e,t,i)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",se(),$g(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",se(),Wg(e,t)},useMemo:function(e,t){Q="useMemo",se();var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){Q="useReducer",se();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return Q="useRef",se(),Ig(e)},useState:function(e){Q="useState",se();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",se(),void 0},useDeferredValue:function(e){return Q="useDeferredValue",se(),Xg(e)},useTransition:function(){return Q="useTransition",se(),Kg()},useMutableSource:function(e,t,i){return Q="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return Q="useSyncExternalStore",se(),Bg(e,t,i)},useId:function(){return Q="useId",se(),qg()},unstable_isNewReconciler:le},n0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",se(),im(e,t)},useContext:function(e){return Q="useContext",se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return Q="useImperativeHandle",se(),nm(e,t,i)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",se(),em(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",se(),tm(e,t)},useMemo:function(e,t){Q="useMemo",se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){Q="useReducer",se();var a=me.current;me.current=Fa;try{return Hg(e,t,i)}finally{me.current=a}},useRef:function(e){return Q="useRef",se(),qv()},useState:function(e){Q="useState",se();var t=me.current;me.current=Fa;try{return Pg(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",se(),rm()},useDeferredValue:function(e){return Q="useDeferredValue",se(),$E(e)},useTransition:function(){return Q="useTransition",se(),GE()},useMutableSource:function(e,t,i){return Q="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return Q="useSyncExternalStore",se(),Xv(e,t)},useId:function(){return Q="useId",se(),lm()},unstable_isNewReconciler:le},r0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return Q="useCallback",se(),im(e,t)},useContext:function(e){return Q="useContext",se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return Q="useImperativeHandle",se(),nm(e,t,i)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",se(),em(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",se(),tm(e,t)},useMemo:function(e,t){Q="useMemo",se();var i=me.current;me.current=um;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){Q="useReducer",se();var a=me.current;me.current=um;try{return Vg(e,t,i)}finally{me.current=a}},useRef:function(e){return Q="useRef",se(),qv()},useState:function(e){Q="useState",se();var t=me.current;me.current=um;try{return jg(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",se(),rm()},useDeferredValue:function(e){return Q="useDeferredValue",se(),WE(e)},useTransition:function(){return Q="useTransition",se(),QE()},useMutableSource:function(e,t,i){return Q="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return Q="useSyncExternalStore",se(),Xv(e,t)},useId:function(){return Q="useId",se(),lm()},unstable_isNewReconciler:le},Ml={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return Q="useCallback",Ke(),At(),Gg(e,t)},useContext:function(e){return Q="useContext",Ke(),At(),Hn(e)},useEffect:function(e,t){return Q="useEffect",Ke(),At(),Jv(e,t)},useImperativeHandle:function(e,t,i){return Q="useImperativeHandle",Ke(),At(),Yg(e,t,i)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",Ke(),At(),$g(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",Ke(),At(),Wg(e,t)},useMemo:function(e,t){Q="useMemo",Ke(),At();var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){Q="useReducer",Ke(),At();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return Q="useRef",Ke(),At(),Ig(e)},useState:function(e){Q="useState",Ke(),At();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",Ke(),At(),void 0},useDeferredValue:function(e){return Q="useDeferredValue",Ke(),At(),Xg(e)},useTransition:function(){return Q="useTransition",Ke(),At(),Kg()},useMutableSource:function(e,t,i){return Q="useMutableSource",Ke(),At(),void 0},useSyncExternalStore:function(e,t,i){return Q="useSyncExternalStore",Ke(),At(),Bg(e,t,i)},useId:function(){return Q="useId",Ke(),At(),qg()},unstable_isNewReconciler:le},Fa={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return Q="useCallback",Ke(),se(),im(e,t)},useContext:function(e){return Q="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",Ke(),se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return Q="useImperativeHandle",Ke(),se(),nm(e,t,i)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",Ke(),se(),em(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",Ke(),se(),tm(e,t)},useMemo:function(e,t){Q="useMemo",Ke(),se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){Q="useReducer",Ke(),se();var a=me.current;me.current=Fa;try{return Hg(e,t,i)}finally{me.current=a}},useRef:function(e){return Q="useRef",Ke(),se(),qv()},useState:function(e){Q="useState",Ke(),se();var t=me.current;me.current=Fa;try{return Pg(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",Ke(),se(),rm()},useDeferredValue:function(e){return Q="useDeferredValue",Ke(),se(),$E(e)},useTransition:function(){return Q="useTransition",Ke(),se(),GE()},useMutableSource:function(e,t,i){return Q="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,i){return Q="useSyncExternalStore",Ke(),se(),Xv(e,t)},useId:function(){return Q="useId",Ke(),se(),lm()},unstable_isNewReconciler:le},um={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return Q="useCallback",Ke(),se(),im(e,t)},useContext:function(e){return Q="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return Q="useEffect",Ke(),se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return Q="useImperativeHandle",Ke(),se(),nm(e,t,i)},useInsertionEffect:function(e,t){return Q="useInsertionEffect",Ke(),se(),em(e,t)},useLayoutEffect:function(e,t){return Q="useLayoutEffect",Ke(),se(),tm(e,t)},useMemo:function(e,t){Q="useMemo",Ke(),se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){Q="useReducer",Ke(),se();var a=me.current;me.current=Fa;try{return Vg(e,t,i)}finally{me.current=a}},useRef:function(e){return Q="useRef",Ke(),se(),qv()},useState:function(e){Q="useState",Ke(),se();var t=me.current;me.current=Fa;try{return jg(e)}finally{me.current=t}},useDebugValue:function(e,t){return Q="useDebugValue",Ke(),se(),rm()},useDeferredValue:function(e){return Q="useDeferredValue",Ke(),se(),WE(e)},useTransition:function(){return Q="useTransition",Ke(),se(),QE()},useMutableSource:function(e,t,i){return Q="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,i){return Q="useSyncExternalStore",Ke(),se(),Xv(e,t)},useId:function(){return Q="useId",Ke(),se(),lm()},unstable_isNewReconciler:le}}var Mu=c.unstable_now,i0=0,sm=-1,Dp=-1,cm=-1,Jg=!1,fm=!1;function a0(){return Jg}function ex(){fm=!0}function tx(){Jg=!1,fm=!1}function nx(){Jg=fm,fm=!1}function l0(){return i0}function o0(){i0=Mu()}function eS(e){Dp=Mu(),e.actualStartTime<0&&(e.actualStartTime=Mu())}function u0(e){Dp=-1}function dm(e,t){if(Dp>=0){var i=Mu()-Dp;e.actualDuration+=i,t&&(e.selfBaseDuration=i),Dp=-1}}function Ol(e){if(sm>=0){var t=Mu()-sm;sm=-1;for(var i=e.return;i!==null;){switch(i.tag){case Z:var a=i.stateNode;a.effectDuration+=t;return;case $e:var o=i.stateNode;o.effectDuration+=t;return}i=i.return}}}function tS(e){if(cm>=0){var t=Mu()-cm;cm=-1;for(var i=e.return;i!==null;){switch(i.tag){case Z:var a=i.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case $e:var o=i.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}i=i.return}}}function Al(){sm=Mu()}function nS(){cm=Mu()}function rS(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Fs(e,t){return{value:e,source:t,stack:Fo(t),digest:null}}function iS(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function rx(e,t){return!0}function aS(e,t){try{var i=rx(e,t);if(i===!1)return;var a=t.value,o=t.source,s=t.stack,d=s!==null?s:"";if(a!=null&&a._suppressLogging){if(e.tag===$)return;console.error(a)}var v=o?Xe(o):null,m=v?"The above error occurred in the <"+v+"> component:":"The above error occurred in one of your React components:",R;if(e.tag===Z)R=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
179
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var w=Xe(e)||"Anonymous";R="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+w+".")}var O=m+`
|
|
180
180
|
`+d+`
|
|
181
181
|
|
|
182
|
-
`+(""+E);console.error(O)}catch(k){setTimeout(function(){throw k})}}var nx=typeof WeakMap=="function"?WeakMap:Map;function s0(e,t,i){var a=Ro(Vt,i);a.tag=ag,a.payload={element:null};var o=t.value;return a.callback=function(){QT(o),aS(e,t)},a}function lS(e,t,i){var a=Ro(Vt,i);a.tag=ag;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;a.payload=function(){return o(s)},a.callback=function(){CR(e),aS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(a.callback=function(){CR(e),aS(e,t),typeof o!="function"&&YT(this);var m=t.value,E=t.stack;this.componentDidCatch(m,{componentStack:E!==null?E:""}),typeof o!="function"&&(Hr(e.lanes,Be)||C("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ge(e)||"Unknown"))}),a}function c0(e,t,i){var a=e.pingCache,o;if(a===null?(a=e.pingCache=new nx,o=new Set,a.set(t,o)):(o=a.get(t),o===void 0&&(o=new Set,a.set(t,o))),!o.has(i)){o.add(i);var s=XT.bind(null,e,t,i);Pn&&$p(e,i),t.then(s,s)}}function rx(e,t,i,a){var o=e.updateQueue;if(o===null){var s=new Set;s.add(i),e.updateQueue=s}else o.add(i)}function ix(e,t){var i=e.tag;if((e.mode&rt)===He&&(i===B||i===xe||i===ke)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function f0(e){var t=e;do{if(t.tag===Ce&&Pb(t))return t;t=t.return}while(t!==null);return null}function d0(e,t,i,a,o){if((e.mode&rt)===He){if(e===t)e.flags|=An;else{if(e.flags|=We,i.flags|=is,i.flags&=~(fc|Yr),i.tag===K){var s=i.alternate;if(s===null)i.tag=jt;else{var d=Ro(Vt,Be);d.tag=Uv,xu(i,d,Be)}}i.lanes=Ze(i.lanes,Be)}return e}return e.flags|=An,e.lanes=o,e}function ax(e,t,i,a,o){if(i.flags|=Yr,Pn&&$p(e,o),a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a;ix(i),dr()&&i.mode&rt&&nE();var d=f0(t);if(d!==null){d.flags&=~cn,d0(d,t,i,e,o),d.mode&rt&&c0(e,s,o),rx(d,e,s);return}else{if(!ru(o)){c0(e,s,o),VS();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.");a=v}}else if(dr()&&i.mode&rt){nE();var m=f0(t);if(m!==null){(m.flags&An)===ze&&(m.flags|=cn),d0(m,t,i,e,o),Zy(Us(a,i));return}}a=Us(a,i),HT(a);var E=t;do{switch(E.tag){case J:{var w=a;E.flags|=An;var O=xn(o);E.lanes=Ze(E.lanes,O);var k=s0(E,w,O);ug(E,k);return}case K:var U=a,H=E.type,P=E.stateNode;if((E.flags&We)===ze&&(typeof H.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&!fR(P))){E.flags|=An;var me=xn(o);E.lanes=Ze(E.lanes,me);var Ue=lS(E,U,me);ug(E,Ue);return}break}E=E.return}while(E!==null)}function lx(){return null}var _p=p.ReactCurrentOwner,Ha=!1,oS,kp,uS,sS,cS,Fs,fS,pm;oS={},kp={},uS={},sS={},cS={},Fs=!1,fS={},pm={};function Zr(e,t,i,a){e===null?t.child=ME(t,null,i,a):t.child=Cf(t,e.child,i,a)}function ox(e,t,i,a){t.child=Cf(t,e.child,null,a),t.child=Cf(t,null,i,a)}function p0(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&La(s,a,"prop",mt(i))}var d=i.render,v=t.ref,m,E;Sf(t,o),ml(t);{if(_p.current=t,kr(!0),m=Tf(e,t,d,a,v,o),E=Df(),t.mode&an){bn(!0);try{m=Tf(e,t,d,a,v,o),E=Df()}finally{bn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(zE(e,t,o),wo(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function h0(e,t,i,a,o){if(e===null){var s=i.type;if(dD(s)&&i.compare===null&&i.defaultProps===void 0){var d=s;return d=zf(s),t.tag=ke,t.type=d,hS(t,s),v0(e,t,d,a,o)}{var v=s.propTypes;v&&La(v,a,"prop",mt(s))}var m=KS(i.type,null,a,t,t.mode,o);return m.ref=t.ref,m.return=t,t.child=m,m}{var E=i.type,w=E.propTypes;w&&La(w,a,"prop",mt(E))}var O=e.child,k=CS(e,o);if(!k){var U=O.memoizedProps,H=i.compare;if(H=H!==null?H:Le,H(U,a)&&e.ref===t.ref)return wo(e,t,o)}t.flags|=sl;var P=Ps(O,a);return P.ref=t.ref,P.return=t,t.child=P,P}function v0(e,t,i,a,o){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===jn){var d=s,v=d._payload,m=d._init;try{s=m(v)}catch{s=null}var E=s&&s.propTypes;E&&La(E,a,"prop",mt(s))}}if(e!==null){var w=e.memoizedProps;if(Le(w,a)&&e.ref===t.ref&&t.type===e.type)if(Ha=!1,t.pendingProps=a=w,CS(e,o))(e.flags&is)!==ze&&(Ha=!0);else return t.lanes=e.lanes,wo(e,t,o)}return dS(e,t,i,a,o)}function m0(e,t,i){var a=t.pendingProps,o=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden"||D)if((t.mode&rt)===He){var d={baseLanes:W,cachePool:null,transitions:null};t.memoizedState=d,Tm(t,i)}else if(Hr(i,Fr)){var O={baseLanes:W,cachePool:null,transitions:null};t.memoizedState=O;var k=s!==null?s.baseLanes:i;Tm(t,k)}else{var v=null,m;if(s!==null){var E=s.baseLanes;m=Ze(E,i)}else m=i;t.lanes=t.childLanes=Fr;var w={baseLanes:m,cachePool:v,transitions:null};return t.memoizedState=w,t.updateQueue=null,Tm(t,m),null}else{var U;s!==null?(U=Ze(s.baseLanes,i),t.memoizedState=null):U=i,Tm(t,U)}return Zr(e,t,o,i),t.child}function ux(e,t,i){var a=t.pendingProps;return Zr(e,t,a,i),t.child}function sx(e,t,i){var a=t.pendingProps.children;return Zr(e,t,a,i),t.child}function cx(e,t,i){{t.flags|=qe;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var o=t.pendingProps,s=o.children;return Zr(e,t,s,i),t.child}function y0(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Or,t.flags|=fd)}function dS(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&La(s,a,"prop",mt(i))}var d;{var v=pf(t,i,!0);d=hf(t,v)}var m,E;Sf(t,o),ml(t);{if(_p.current=t,kr(!0),m=Tf(e,t,i,a,d,o),E=Df(),t.mode&an){bn(!0);try{m=Tf(e,t,i,a,d,o),E=Df()}finally{bn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(zE(e,t,o),wo(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function g0(e,t,i,a,o){{switch(DD(t)){case!1:{var s=t.stateNode,d=t.type,v=new d(t.memoizedProps,s.context),m=v.state;s.updater.enqueueSetState(s,m,null);break}case!0:{t.flags|=We,t.flags|=An;var E=new Error("Simulated error coming from DevTools"),w=xn(o);t.lanes=Ze(t.lanes,w);var O=lS(t,Us(E,t),w);ug(t,O);break}}if(t.type!==t.elementType){var k=i.propTypes;k&&La(k,a,"prop",mt(i))}}var U;Dl(i)?(U=!0,xv(t)):U=!1,Sf(t,o);var H=t.stateNode,P;H===null?(vm(e,t),xE(t,i,a),Cg(t,i,a,o),P=!0):e===null?P=Ub(t,i,a,o):P=Fb(e,t,i,a,o);var me=pS(e,t,i,P,U,o);{var Ue=t.stateNode;P&&Ue.props!==a&&(Fs||C("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ge(t)||"a component"),Fs=!0)}return me}function pS(e,t,i,a,o,s){y0(e,t);var d=(t.flags&We)!==ze;if(!a&&!d)return o&&ZC(t,i,!1),wo(e,t,s);var v=t.stateNode;_p.current=t;var m;if(d&&typeof i.getDerivedStateFromError!="function")m=null,u0();else{ml(t);{if(kr(!0),m=v.render(),t.mode&an){bn(!0);try{v.render()}finally{bn(!1)}}kr(!1)}Kl()}return t.flags|=sl,e!==null&&d?ox(e,t,m,s):Zr(e,t,m,s),t.memoizedState=v.state,o&&ZC(t,i,!0),t.child}function S0(e){var t=e.stateNode;t.pendingContext?KC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KC(e,t.context,!1),Tg(e,t.containerInfo)}function fx(e,t,i){if(S0(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,o=t.memoizedState,s=o.element;yE(e,t),jv(t,a,null,i);var d=t.memoizedState;t.stateNode;var v=d.element;if(o.isDehydrated){var m={element:v,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},E=t.updateQueue;if(E.baseState=m,t.memoizedState=m,t.flags&cn){var w=Us(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 C0(e,t,v,i,w)}else if(v!==s){var O=Us(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return C0(e,t,v,i,O)}else{vb(t);var k=ME(t,null,v,i);t.child=k;for(var U=k;U;)U.flags=U.flags&~Yt|ci,U=U.sibling}}else{if(yf(),v===s)return wo(e,t,i);Zr(e,t,v,i)}return t.child}function C0(e,t,i,a,o){return yf(),Zy(o),t.flags|=cn,Zr(e,t,i,a),t.child}function dx(e,t,i){LE(t),e===null&&qy(t);var a=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,d=o.children,v=Ly(a,o);return v?d=null:s!==null&&Ly(a,s)&&(t.flags|=_t),y0(e,t),Zr(e,t,d,i),t.child}function px(e,t){return e===null&&qy(t),null}function hx(e,t,i,a){vm(e,t);var o=t.pendingProps,s=i,d=s._payload,v=s._init,m=v(d);t.type=m;var E=t.tag=pD(m),w=za(m,o),O;switch(E){case B:return hS(t,m),t.type=m=zf(m),O=dS(null,t,m,w,a),O;case K:return t.type=m=IS(m),O=g0(null,t,m,w,a),O;case xe:return t.type=m=WS(m),O=p0(null,t,m,w,a),O;case Pe:{if(t.type!==t.elementType){var k=m.propTypes;k&&La(k,w,"prop",mt(m))}return O=h0(null,t,m,za(m.type,w),a),O}}var U="";throw m!==null&&typeof m=="object"&&m.$$typeof===jn&&(U=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+m+". "+("Lazy element type must resolve to a class or function."+U))}function vx(e,t,i,a,o){vm(e,t),t.tag=K;var s;return Dl(i)?(s=!0,xv(t)):s=!1,Sf(t,o),xE(t,i,a),Cg(t,i,a,o),pS(null,t,i,!0,s,o)}function mx(e,t,i,a){vm(e,t);var o=t.pendingProps,s;{var d=pf(t,i,!1);s=hf(t,d)}Sf(t,a);var v,m;ml(t);{if(i.prototype&&typeof i.prototype.render=="function"){var E=mt(i)||"Unknown";oS[E]||(C("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.",E,E),oS[E]=!0)}t.mode&an&&Na.recordLegacyContextWarning(t,null),kr(!0),_p.current=t,v=Tf(null,t,i,o,s,a),m=Df(),kr(!1)}if(Kl(),t.flags|=sl,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){var w=mt(i)||"Unknown";kp[w]||(C("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),kp[w]=!0)}if(typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){{var O=mt(i)||"Unknown";kp[O]||(C("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),kp[O]=!0)}t.tag=K,t.memoizedState=null,t.updateQueue=null;var k=!1;return Dl(i)?(k=!0,xv(t)):k=!1,t.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,og(t),bE(t,v),Cg(t,i,o,a),pS(null,t,i,!0,k,a)}else{if(t.tag=B,t.mode&an){bn(!0);try{v=Tf(null,t,i,o,s,a),m=Df()}finally{bn(!1)}}return dr()&&m&&Yy(t),Zr(null,t,v,a),hS(t,i),t.child}}function hS(e,t){{if(t&&t.childContextTypes&&C("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",a=sr();a&&(i+=`
|
|
182
|
+
`+(""+R);console.error(O)}catch(k){setTimeout(function(){throw k})}}var ix=typeof WeakMap=="function"?WeakMap:Map;function s0(e,t,i){var a=Ro(Pt,i);a.tag=ag,a.payload={element:null};var o=t.value;return a.callback=function(){KT(o),aS(e,t)},a}function lS(e,t,i){var a=Ro(Pt,i);a.tag=ag;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;a.payload=function(){return o(s)},a.callback=function(){CR(e),aS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(a.callback=function(){CR(e),aS(e,t),typeof o!="function"&&QT(this);var m=t.value,R=t.stack;this.componentDidCatch(m,{componentStack:R!==null?R:""}),typeof o!="function"&&(Hr(e.lanes,Ie)||C("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Xe(e)||"Unknown"))}),a}function c0(e,t,i){var a=e.pingCache,o;if(a===null?(a=e.pingCache=new ix,o=new Set,a.set(t,o)):(o=a.get(t),o===void 0&&(o=new Set,a.set(t,o))),!o.has(i)){o.add(i);var s=qT.bind(null,e,t,i);jn&&Ip(e,i),t.then(s,s)}}function ax(e,t,i,a){var o=e.updateQueue;if(o===null){var s=new Set;s.add(i),e.updateQueue=s}else o.add(i)}function lx(e,t){var i=e.tag;if((e.mode&at)===Ve&&(i===z||i===_e||i===Oe)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function f0(e){var t=e;do{if(t.tag===pe&&$1(t))return t;t=t.return}while(t!==null);return null}function d0(e,t,i,a,o){if((e.mode&at)===Ve){if(e===t)e.flags|=Ln;else{if(e.flags|=Ge,i.flags|=as,i.flags&=~(fc|Yr),i.tag===$){var s=i.alternate;if(s===null)i.tag=kt;else{var d=Ro(Pt,Ie);d.tag=Uv,Tu(i,d,Ie)}}i.lanes=et(i.lanes,Ie)}return e}return e.flags|=Ln,e.lanes=o,e}function ox(e,t,i,a,o){if(i.flags|=Yr,jn&&Ip(e,o),a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a;lx(i),dr()&&i.mode&at&&nE();var d=f0(t);if(d!==null){d.flags&=~fn,d0(d,t,i,e,o),d.mode&at&&c0(e,s,o),ax(d,e,s);return}else{if(!iu(o)){c0(e,s,o),VS();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.");a=v}}else if(dr()&&i.mode&at){nE();var m=f0(t);if(m!==null){(m.flags&Ln)===ze&&(m.flags|=fn),d0(m,t,i,e,o),Zy(Fs(a,i));return}}a=Fs(a,i),BT(a);var R=t;do{switch(R.tag){case Z:{var w=a;R.flags|=Ln;var O=xn(o);R.lanes=et(R.lanes,O);var k=s0(R,w,O);ug(R,k);return}case $:var F=a,V=R.type,j=R.stateNode;if((R.flags&Ge)===ze&&(typeof V.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&!fR(j))){R.flags|=Ln;var ge=xn(o);R.lanes=et(R.lanes,ge);var Fe=lS(R,F,ge);ug(R,Fe);return}break}R=R.return}while(R!==null)}function ux(){return null}var _p=p.ReactCurrentOwner,Ha=!1,oS,kp,uS,sS,cS,Hs,fS,pm;oS={},kp={},uS={},sS={},cS={},Hs=!1,fS={},pm={};function Zr(e,t,i,a){e===null?t.child=ME(t,null,i,a):t.child=Cf(t,e.child,i,a)}function sx(e,t,i,a){t.child=Cf(t,e.child,null,a),t.child=Cf(t,null,i,a)}function p0(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&Aa(s,a,"prop",gt(i))}var d=i.render,v=t.ref,m,R;Sf(t,o),ml(t);{if(_p.current=t,kr(!0),m=Tf(e,t,d,a,v,o),R=Df(),t.mode&an){bn(!0);try{m=Tf(e,t,d,a,v,o),R=Df()}finally{bn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(zE(e,t,o),wo(e,t,o)):(dr()&&R&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function h0(e,t,i,a,o){if(e===null){var s=i.type;if(hD(s)&&i.compare===null&&i.defaultProps===void 0){var d=s;return d=zf(s),t.tag=Oe,t.type=d,hS(t,s),v0(e,t,d,a,o)}{var v=s.propTypes;v&&Aa(v,a,"prop",gt(s))}var m=KS(i.type,null,a,t,t.mode,o);return m.ref=t.ref,m.return=t,t.child=m,m}{var R=i.type,w=R.propTypes;w&&Aa(w,a,"prop",gt(R))}var O=e.child,k=CS(e,o);if(!k){var F=O.memoizedProps,V=i.compare;if(V=V!==null?V:Ae,V(F,a)&&e.ref===t.ref)return wo(e,t,o)}t.flags|=sl;var j=Is(O,a);return j.ref=t.ref,j.return=t,t.child=j,j}function v0(e,t,i,a,o){if(t.type!==t.elementType){var s=t.elementType;if(s.$$typeof===Bn){var d=s,v=d._payload,m=d._init;try{s=m(v)}catch{s=null}var R=s&&s.propTypes;R&&Aa(R,a,"prop",gt(s))}}if(e!==null){var w=e.memoizedProps;if(Ae(w,a)&&e.ref===t.ref&&t.type===e.type)if(Ha=!1,t.pendingProps=a=w,CS(e,o))(e.flags&as)!==ze&&(Ha=!0);else return t.lanes=e.lanes,wo(e,t,o)}return dS(e,t,i,a,o)}function m0(e,t,i){var a=t.pendingProps,o=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden"||D)if((t.mode&at)===Ve){var d={baseLanes:W,cachePool:null,transitions:null};t.memoizedState=d,Tm(t,i)}else if(Hr(i,Fr)){var O={baseLanes:W,cachePool:null,transitions:null};t.memoizedState=O;var k=s!==null?s.baseLanes:i;Tm(t,k)}else{var v=null,m;if(s!==null){var R=s.baseLanes;m=et(R,i)}else m=i;t.lanes=t.childLanes=Fr;var w={baseLanes:m,cachePool:v,transitions:null};return t.memoizedState=w,t.updateQueue=null,Tm(t,m),null}else{var F;s!==null?(F=et(s.baseLanes,i),t.memoizedState=null):F=i,Tm(t,F)}return Zr(e,t,o,i),t.child}function cx(e,t,i){var a=t.pendingProps;return Zr(e,t,a,i),t.child}function fx(e,t,i){var a=t.pendingProps.children;return Zr(e,t,a,i),t.child}function dx(e,t,i){{t.flags|=Je;{var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0}}var o=t.pendingProps,s=o.children;return Zr(e,t,s,i),t.child}function y0(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=Or,t.flags|=fd)}function dS(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&Aa(s,a,"prop",gt(i))}var d;{var v=pf(t,i,!0);d=hf(t,v)}var m,R;Sf(t,o),ml(t);{if(_p.current=t,kr(!0),m=Tf(e,t,i,a,d,o),R=Df(),t.mode&an){bn(!0);try{m=Tf(e,t,i,a,d,o),R=Df()}finally{bn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(zE(e,t,o),wo(e,t,o)):(dr()&&R&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function g0(e,t,i,a,o){{switch(kD(t)){case!1:{var s=t.stateNode,d=t.type,v=new d(t.memoizedProps,s.context),m=v.state;s.updater.enqueueSetState(s,m,null);break}case!0:{t.flags|=Ge,t.flags|=Ln;var R=new Error("Simulated error coming from DevTools"),w=xn(o);t.lanes=et(t.lanes,w);var O=lS(t,Fs(R,t),w);ug(t,O);break}}if(t.type!==t.elementType){var k=i.propTypes;k&&Aa(k,a,"prop",gt(i))}}var F;Dl(i)?(F=!0,xv(t)):F=!1,Sf(t,o);var V=t.stateNode,j;V===null?(vm(e,t),xE(t,i,a),Cg(t,i,a,o),j=!0):e===null?j=H1(t,i,a,o):j=V1(e,t,i,a,o);var ge=pS(e,t,i,j,F,o);{var Fe=t.stateNode;j&&Fe.props!==a&&(Hs||C("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"),Hs=!0)}return ge}function pS(e,t,i,a,o,s){y0(e,t);var d=(t.flags&Ge)!==ze;if(!a&&!d)return o&&ZC(t,i,!1),wo(e,t,s);var v=t.stateNode;_p.current=t;var m;if(d&&typeof i.getDerivedStateFromError!="function")m=null,u0();else{ml(t);{if(kr(!0),m=v.render(),t.mode&an){bn(!0);try{v.render()}finally{bn(!1)}}kr(!1)}Kl()}return t.flags|=sl,e!==null&&d?sx(e,t,m,s):Zr(e,t,m,s),t.memoizedState=v.state,o&&ZC(t,i,!0),t.child}function S0(e){var t=e.stateNode;t.pendingContext?KC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KC(e,t.context,!1),Tg(e,t.containerInfo)}function px(e,t,i){if(S0(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,o=t.memoizedState,s=o.element;yE(e,t),Bv(t,a,null,i);var d=t.memoizedState;t.stateNode;var v=d.element;if(o.isDehydrated){var m={element:v,isDehydrated:!1,cache:d.cache,pendingSuspenseBoundaries:d.pendingSuspenseBoundaries,transitions:d.transitions},R=t.updateQueue;if(R.baseState=m,t.memoizedState=m,t.flags&fn){var w=Fs(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 C0(e,t,v,i,w)}else if(v!==s){var O=Fs(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return C0(e,t,v,i,O)}else{y1(t);var k=ME(t,null,v,i);t.child=k;for(var F=k;F;)F.flags=F.flags&~Yt|ci,F=F.sibling}}else{if(yf(),v===s)return wo(e,t,i);Zr(e,t,v,i)}return t.child}function C0(e,t,i,a,o){return yf(),Zy(o),t.flags|=fn,Zr(e,t,i,a),t.child}function hx(e,t,i){AE(t),e===null&&qy(t);var a=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,d=o.children,v=Ay(a,o);return v?d=null:s!==null&&Ay(a,s)&&(t.flags|=Ot),y0(e,t),Zr(e,t,d,i),t.child}function vx(e,t){return e===null&&qy(t),null}function mx(e,t,i,a){vm(e,t);var o=t.pendingProps,s=i,d=s._payload,v=s._init,m=v(d);t.type=m;var R=t.tag=vD(m),w=za(m,o),O;switch(R){case z:return hS(t,m),t.type=m=zf(m),O=dS(null,t,m,w,a),O;case $:return t.type=m=$S(m),O=g0(null,t,m,w,a),O;case _e:return t.type=m=WS(m),O=p0(null,t,m,w,a),O;case xe:{if(t.type!==t.elementType){var k=m.propTypes;k&&Aa(k,w,"prop",gt(m))}return O=h0(null,t,m,za(m.type,w),a),O}}var F="";throw m!==null&&typeof m=="object"&&m.$$typeof===Bn&&(F=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+m+". "+("Lazy element type must resolve to a class or function."+F))}function yx(e,t,i,a,o){vm(e,t),t.tag=$;var s;return Dl(i)?(s=!0,xv(t)):s=!1,Sf(t,o),xE(t,i,a),Cg(t,i,a,o),pS(null,t,i,!0,s,o)}function gx(e,t,i,a){vm(e,t);var o=t.pendingProps,s;{var d=pf(t,i,!1);s=hf(t,d)}Sf(t,a);var v,m;ml(t);{if(i.prototype&&typeof i.prototype.render=="function"){var R=gt(i)||"Unknown";oS[R]||(C("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.",R,R),oS[R]=!0)}t.mode&an&&Na.recordLegacyContextWarning(t,null),kr(!0),_p.current=t,v=Tf(null,t,i,o,s,a),m=Df(),kr(!1)}if(Kl(),t.flags|=sl,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){var w=gt(i)||"Unknown";kp[w]||(C("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),kp[w]=!0)}if(typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){{var O=gt(i)||"Unknown";kp[O]||(C("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),kp[O]=!0)}t.tag=$,t.memoizedState=null,t.updateQueue=null;var k=!1;return Dl(i)?(k=!0,xv(t)):k=!1,t.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,og(t),bE(t,v),Cg(t,i,o,a),pS(null,t,i,!0,k,a)}else{if(t.tag=z,t.mode&an){bn(!0);try{v=Tf(null,t,i,o,s,a),m=Df()}finally{bn(!1)}}return dr()&&m&&Yy(t),Zr(null,t,v,a),hS(t,i),t.child}}function hS(e,t){{if(t&&t.childContextTypes&&C("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",a=sr();a&&(i+=`
|
|
183
183
|
|
|
184
|
-
Check the render method of \``+a+"`.");var o=a||"",s=e._debugSource;s&&(o=s.fileName+":"+s.lineNumber),cS[o]||(cS[o]=!0,C("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(typeof t.getDerivedStateFromProps=="function"){var d=mt(t)||"Unknown";sS[d]||(C("%s: Function components do not support getDerivedStateFromProps.",d),sS[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var v=mt(t)||"Unknown";uS[v]||(C("%s: Function components do not support contextType.",v),uS[v]=!0)}}}var vS={dehydrated:null,treeContext:null,retryLane:dt};function mS(e){return{baseLanes:e,cachePool:lx(),transitions:null}}function yx(e,t){var i=null;return{baseLanes:Ze(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function gx(e,t,i,a){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return kg(e,Cp)}function Sx(e,t){return iu(e.childLanes,t)}function E0(e,t,i){var a=t.pendingProps;_D(t)&&(t.flags|=We);var o=Ua.current,s=!1,d=(t.flags&We)!==ze;if(d||gx(o,e)?(s=!0,t.flags&=~We):(e===null||e.memoizedState!==null)&&(o=Bb(o,NE)),o=Rf(o),Du(t,o),e===null){qy(t);var v=t.memoizedState;if(v!==null){var m=v.dehydrated;if(m!==null)return bx(t,m)}var E=a.children,w=a.fallback;if(s){var O=Cx(t,E,w,i),k=t.child;return k.memoizedState=mS(i),t.memoizedState=vS,O}else return yS(t,E)}else{var U=e.memoizedState;if(U!==null){var H=U.dehydrated;if(H!==null)return xx(e,t,d,a,H,U,i)}if(s){var P=a.fallback,me=a.children,Ue=Rx(e,t,me,P,i),Me=t.child,ht=e.child.memoizedState;return Me.memoizedState=ht===null?mS(i):yx(ht,i),Me.childLanes=Sx(e,i),t.memoizedState=vS,Ue}else{var ot=a.children,A=Ex(e,t,ot,i);return t.memoizedState=null,A}}}function yS(e,t,i){var a=e.mode,o={mode:"visible",children:t},s=gS(o,a);return s.return=e,e.child=s,s}function Cx(e,t,i,a){var o=e.mode,s=e.child,d={mode:"hidden",children:t},v,m;return(o&rt)===He&&s!==null?(v=s,v.childLanes=W,v.pendingProps=d,e.mode&je&&(v.actualDuration=0,v.actualStartTime=-1,v.selfBaseDuration=0,v.treeBaseDuration=0),m=zu(i,o,a,null)):(v=gS(d,o),m=zu(i,o,a,null)),v.return=e,m.return=e,v.sibling=m,e.child=v,m}function gS(e,t,i){return RR(e,t,W,null)}function R0(e,t){return Ps(e,t)}function Ex(e,t,i,a){var o=e.child,s=o.sibling,d=R0(o,{mode:"visible",children:i});if((t.mode&rt)===He&&(d.lanes=a),d.return=t,d.sibling=null,s!==null){var v=t.deletions;v===null?(t.deletions=[s],t.flags|=xt):v.push(s)}return t.child=d,d}function Rx(e,t,i,a,o){var s=t.mode,d=e.child,v=d.sibling,m={mode:"hidden",children:i},E;if((s&rt)===He&&t.child!==d){var w=t.child;E=w,E.childLanes=W,E.pendingProps=m,t.mode&je&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=d.selfBaseDuration,E.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else E=R0(d,m),E.subtreeFlags=d.subtreeFlags&Bn;var O;return v!==null?O=Ps(v,a):(O=zu(a,s,o,null),O.flags|=Yt),O.return=t,E.return=t,E.sibling=O,t.child=E,O}function hm(e,t,i,a){a!==null&&Zy(a),Cf(t,e.child,null,i);var o=t.pendingProps,s=o.children,d=yS(t,s);return d.flags|=Yt,t.memoizedState=null,d}function wx(e,t,i,a,o){var s=t.mode,d={mode:"visible",children:i},v=gS(d,s),m=zu(a,s,o,null);return m.flags|=Yt,v.return=t,m.return=t,v.sibling=m,t.child=v,(t.mode&rt)!==He&&Cf(t,e.child,null,o),m}function bx(e,t,i){return(e.mode&rt)===He?(C("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=Be):Uy(t)?e.lanes=Jl:e.lanes=Fr,null}function xx(e,t,i,a,o,s,d){if(i)if(t.flags&cn){t.flags&=~cn;var A=iS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return hm(e,t,d,A)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=We,null;var $=a.children,N=a.fallback,te=wx(e,t,$,N,d),ye=t.child;return ye.memoizedState=mS(d),t.memoizedState=vS,te}else{if(pb(),(t.mode&rt)===He)return hm(e,t,d,null);if(Uy(o)){var v,m,E;{var w=M1(o);v=w.digest,m=w.message,E=w.stack}var O;m?O=new Error(m):O=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var k=iS(O,v,E);return hm(e,t,d,k)}var U=Hr(d,e.childLanes);if(Ha||U){var H=xm();if(H!==null){var P=ry(H,d);if(P!==dt&&P!==s.retryLane){s.retryLane=P;var me=Vt;Ci(e,P),qn(H,e,P,me)}}VS();var Ue=iS(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 hm(e,t,d,Ue)}else if(IC(o)){t.flags|=We,t.child=e.child;var Me=KT.bind(null,e);return O1(o,Me),null}else{mb(t,o,s.treeContext);var ht=a.children,ot=yS(t,ht);return ot.flags|=ci,ot}}}function w0(e,t,i){e.lanes=Ze(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=Ze(a.lanes,t)),rg(e.return,t,i)}function Tx(e,t,i){for(var a=t;a!==null;){if(a.tag===Ce){var o=a.memoizedState;o!==null&&w0(a,i,e)}else if(a.tag===Tt)w0(a,i,e);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function Dx(e){for(var t=e,i=null;t!==null;){var a=t.alternate;a!==null&&Gv(a)===null&&(i=t),t=t.sibling}return i}function _x(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!fS[e])if(fS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{C('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{C('"%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:C('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else C('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function kx(e,t){e!==void 0&&!pm[e]&&(e!=="collapsed"&&e!=="hidden"?(pm[e]=!0,C('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(pm[e]=!0,C('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function b0(e,t){{var i=st(e),a=!i&&typeof Li(e)=="function";if(i||a){var o=i?"array":"iterable";return C("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 Mx(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(st(e)){for(var i=0;i<e.length;i++)if(!b0(e[i],i))return}else{var a=Li(e);if(typeof a=="function"){var o=a.call(e);if(o)for(var s=o.next(),d=0;!s.done;s=o.next()){if(!b0(s.value,d))return;d++}}else C('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 SS(e,t,i,a,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=i,s.tailMode=o)}function x0(e,t,i){var a=t.pendingProps,o=a.revealOrder,s=a.tail,d=a.children;_x(o),kx(s,o),Mx(d,o),Zr(e,t,d,i);var v=Ua.current,m=kg(v,Cp);if(m)v=Mg(v,Cp),t.flags|=We;else{var E=e!==null&&(e.flags&We)!==ze;E&&Tx(t,t.child,i),v=Rf(v)}if(Du(t,v),(t.mode&rt)===He)t.memoizedState=null;else switch(o){case"forwards":{var w=Dx(t.child),O;w===null?(O=t.child,t.child=null):(O=w.sibling,w.sibling=null),SS(t,!1,O,w,s);break}case"backwards":{var k=null,U=t.child;for(t.child=null;U!==null;){var H=U.alternate;if(H!==null&&Gv(H)===null){t.child=U;break}var P=U.sibling;U.sibling=k,k=U,U=P}SS(t,!0,k,null,s);break}case"together":{SS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Ox(e,t,i){Tg(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=Cf(t,null,a,i):Zr(e,t,a,i),t.child}var T0=!1;function Lx(e,t,i){var a=t.type,o=a._context,s=t.pendingProps,d=t.memoizedProps,v=s.value;{"value"in s||T0||(T0=!0,C("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var m=t.type.propTypes;m&&La(m,s,"prop","Context.Provider")}if(pE(t,o,v),d!==null){var E=d.value;if(Re(E,v)){if(d.children===s.children&&!wv())return wo(e,t,i)}else Tb(t,o,i)}var w=s.children;return Zr(e,t,w,i),t.child}var D0=!1;function Ax(e,t,i){var a=t.type;a._context===void 0?a!==a.Consumer&&(D0||(D0=!0,C("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var o=t.pendingProps,s=o.children;typeof s!="function"&&C("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."),Sf(t,i);var d=Hn(a);ml(t);var v;return _p.current=t,kr(!0),v=s(d),kr(!1),Kl(),t.flags|=sl,Zr(e,t,v,i),t.child}function Mp(){Ha=!0}function vm(e,t){(t.mode&rt)===He&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Yt)}function wo(e,t,i){return e!==null&&(t.dependencies=e.dependencies),u0(),Pp(t.lanes),Hr(i,t.childLanes)?(Hb(e,t),t.child):null}function Nx(e,t,i){{var a=t.return;if(a===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===a.child)a.child=i;else{var o=a.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=i}var s=a.deletions;return s===null?(a.deletions=[e],a.flags|=xt):s.push(e),i.flags|=Yt,i}}function CS(e,t){var i=e.lanes;return!!Hr(i,t)}function zx(e,t,i){switch(t.tag){case J:S0(t),t.stateNode,yf();break;case X:LE(t);break;case K:{var a=t.type;Dl(a)&&xv(t);break}case ae:Tg(t,t.stateNode.containerInfo);break;case it:{var o=t.memoizedProps.value,s=t.type._context;pE(t,s,o);break}case Oe:{var d=Hr(i,t.childLanes);d&&(t.flags|=qe);{var v=t.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}}break;case Ce:{var m=t.memoizedState;if(m!==null){if(m.dehydrated!==null)return Du(t,Rf(Ua.current)),t.flags|=We,null;var E=t.child,w=E.childLanes;if(Hr(i,w))return E0(e,t,i);Du(t,Rf(Ua.current));var O=wo(e,t,i);return O!==null?O.sibling:null}else Du(t,Rf(Ua.current));break}case Tt:{var k=(e.flags&We)!==ze,U=Hr(i,t.childLanes);if(k){if(U)return x0(e,t,i);t.flags|=We}var H=t.memoizedState;if(H!==null&&(H.rendering=null,H.tail=null,H.lastEffect=null),Du(t,Ua.current),U)break;return null}case Je:case ft:return t.lanes=W,m0(e,t,i)}return wo(e,t,i)}function _0(e,t,i){if(t._debugNeedsRemount&&e!==null)return Nx(e,t,KS(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,o=t.pendingProps;if(a!==o||wv()||t.type!==e.type)Ha=!0;else{var s=CS(e,i);if(!s&&(t.flags&We)===ze)return Ha=!1,zx(e,t,i);(e.flags&is)!==ze?Ha=!0:Ha=!1}}else if(Ha=!1,dr()&&ob(t)){var d=t.index,v=ub();tE(t,v,d)}switch(t.lanes=W,t.tag){case ge:return mx(e,t,t.type,i);case Lt:{var m=t.elementType;return hx(e,t,m,i)}case B:{var E=t.type,w=t.pendingProps,O=t.elementType===E?w:za(E,w);return dS(e,t,E,O,i)}case K:{var k=t.type,U=t.pendingProps,H=t.elementType===k?U:za(k,U);return g0(e,t,k,H,i)}case J:return fx(e,t,i);case X:return dx(e,t,i);case le:return px(e,t);case Ce:return E0(e,t,i);case ae:return Ox(e,t,i);case xe:{var P=t.type,me=t.pendingProps,Ue=t.elementType===P?me:za(P,me);return p0(e,t,P,Ue,i)}case _e:return ux(e,t,i);case de:return sx(e,t,i);case Oe:return cx(e,t,i);case it:return Lx(e,t,i);case ct:return Ax(e,t,i);case Pe:{var Me=t.type,ht=t.pendingProps,ot=za(Me,ht);if(t.type!==t.elementType){var A=Me.propTypes;A&&La(A,ot,"prop",mt(Me))}return ot=za(Me.type,ot),h0(e,t,Me,ot,i)}case ke:return v0(e,t,t.type,t.pendingProps,i);case jt:{var $=t.type,N=t.pendingProps,te=t.elementType===$?N:za($,N);return vx(e,t,$,te,i)}case Tt:return x0(e,t,i);case Rn:break;case Je:return m0(e,t,i)}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|=qe}function k0(e){e.flags|=Or,e.flags|=fd}var M0,ES,O0,L0;M0=function(e,t,i,a){for(var o=t.child;o!==null;){if(o.tag===X||o.tag===le)i1(e,o.stateNode);else if(o.tag!==ae){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}},ES=function(e,t){},O0=function(e,t,i,a,o){var s=e.memoizedProps;if(s!==a){var d=t.stateNode,v=Dg(),m=l1(d,i,s,a,o,v);t.updateQueue=m,m&&_f(t)}},L0=function(e,t,i,a){i!==a&&_f(t)};function Op(e,t){if(!dr())switch(e.tailMode){case"hidden":{for(var i=e.tail,a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.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,i=W,a=ze;if(t){if((e.mode&je)!==He){for(var m=e.selfBaseDuration,E=e.child;E!==null;)i=Ze(i,Ze(E.lanes,E.childLanes)),a|=E.subtreeFlags&Bn,a|=E.flags&Bn,m+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=m}else for(var w=e.child;w!==null;)i=Ze(i,Ze(w.lanes,w.childLanes)),a|=w.subtreeFlags&Bn,a|=w.flags&Bn,w.return=e,w=w.sibling;e.subtreeFlags|=a}else{if((e.mode&je)!==He){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)i=Ze(i,Ze(d.lanes,d.childLanes)),a|=d.subtreeFlags,a|=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;)i=Ze(i,Ze(v.lanes,v.childLanes)),a|=v.subtreeFlags,a|=v.flags,v.return=e,v=v.sibling;e.subtreeFlags|=a}return e.childLanes=i,t}function Ux(e,t,i){if(Eb()&&(t.mode&rt)!==He&&(t.flags&We)===ze)return uE(t),yf(),t.flags|=cn|Yr|An,!1;var a=Mv(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Sb(t),hr(t),(t.mode&je)!==He){var o=i!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(yf(),(t.flags&We)===ze&&(t.memoizedState=null),t.flags|=qe,hr(t),(t.mode&je)!==He){var d=i!==null;if(d){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else return sE(),!0}function A0(e,t,i){var a=t.pendingProps;switch(Gy(t),t.tag){case ge:case Lt:case ke:case B:case xe:case _e:case de:case Oe:case ct:case Pe:return hr(t),null;case K:{var o=t.type;return Dl(o)&&bv(t),hr(t),null}case J:{var s=t.stateNode;if(Ef(t),$y(t),Lg(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var d=Mv(t);if(d)_f(t);else if(e!==null){var v=e.memoizedState;(!v.isDehydrated||(t.flags&cn)!==ze)&&(t.flags|=si,sE())}}return ES(e,t),hr(t),null}case X:{_g(t);var m=OE(),E=t.type;if(e!==null&&t.stateNode!=null)O0(e,t,E,a,m),e.ref!==t.ref&&k0(t);else{if(!a){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=Dg(),O=Mv(t);if(O)yb(t,m,w)&&_f(t);else{var k=r1(E,a,m,w,t);M0(k,t,!1,!1),t.stateNode=k,a1(k,E,a,m)&&_f(t)}t.ref!==null&&k0(t)}return hr(t),null}case le:{var U=a;if(e&&t.stateNode!=null){var H=e.memoizedProps;L0(e,t,H,U)}else{if(typeof U!="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 P=OE(),me=Dg(),Ue=Mv(t);Ue?gb(t)&&_f(t):t.stateNode=o1(U,P,me,t)}return hr(t),null}case Ce:{wf(t);var Me=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var ht=Ux(e,t,Me);if(!ht)return t.flags&An?t:null}if((t.flags&We)!==ze)return t.lanes=i,(t.mode&je)!==He&&rS(t),t;var ot=Me!==null,A=e!==null&&e.memoizedState!==null;if(ot!==A&&ot){var $=t.child;if($.flags|=cl,(t.mode&rt)!==He){var N=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!Q);N||kg(Ua.current,NE)?FT():VS()}}var te=t.updateQueue;if(te!==null&&(t.flags|=qe),hr(t),(t.mode&je)!==He&&ot){var ye=t.child;ye!==null&&(t.treeBaseDuration-=ye.treeBaseDuration)}return null}case ae:return Ef(t),ES(e,t),e===null&&eb(t.stateNode.containerInfo),hr(t),null;case it:var fe=t.type._context;return ng(fe,t),hr(t),null;case jt:{var $e=t.type;return Dl($e)&&bv(t),hr(t),null}case Tt:{wf(t);var Xe=t.memoizedState;if(Xe===null)return hr(t),null;var zt=(t.flags&We)!==ze,Rt=Xe.rendering;if(Rt===null)if(zt)Op(Xe,!1);else{var kn=VT()&&(e===null||(e.flags&We)===ze);if(!kn)for(var wt=t.child;wt!==null;){var En=Gv(wt);if(En!==null){zt=!0,t.flags|=We,Op(Xe,!1);var Pr=En.updateQueue;return Pr!==null&&(t.updateQueue=Pr,t.flags|=qe),t.subtreeFlags=ze,Vb(t,i),Du(t,Mg(Ua.current,Cp)),t.child}wt=wt.sibling}Xe.tail!==null&&rn()>eR()&&(t.flags|=We,zt=!0,Op(Xe,!1),t.lanes=bd)}else{if(!zt){var Sr=Gv(Rt);if(Sr!==null){t.flags|=We,zt=!0;var $i=Sr.updateQueue;if($i!==null&&(t.updateQueue=$i,t.flags|=qe),Op(Xe,!0),Xe.tail===null&&Xe.tailMode==="hidden"&&!Rt.alternate&&!dr())return hr(t),null}else rn()*2-Xe.renderingStartTime>eR()&&i!==Fr&&(t.flags|=We,zt=!0,Op(Xe,!1),t.lanes=bd)}if(Xe.isBackwards)Rt.sibling=t.child,t.child=Rt;else{var ti=Xe.last;ti!==null?ti.sibling=Rt:t.child=Rt,Xe.last=Rt}}if(Xe.tail!==null){var ni=Xe.tail;Xe.rendering=ni,Xe.tail=ni.sibling,Xe.renderingStartTime=rn(),ni.sibling=null;var $r=Ua.current;return zt?$r=Mg($r,Cp):$r=Rf($r),Du(t,$r),ni}return hr(t),null}case Rn:break;case Je:case ft:{HS(t);var _o=t.memoizedState,Uf=_o!==null;if(e!==null){var Gp=e.memoizedState,zl=Gp!==null;zl!==Uf&&!D&&(t.flags|=cl)}return!Uf||(t.mode&rt)===He?hr(t):Hr(Nl,Fr)&&(hr(t),t.subtreeFlags&(Yt|qe)&&(t.flags|=cl)),null}case qt:return null;case bt: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 Fx(e,t,i){switch(Gy(t),t.tag){case K:{var a=t.type;Dl(a)&&bv(t);var o=t.flags;return o&An?(t.flags=o&~An|We,(t.mode&je)!==He&&rS(t),t):null}case J:{t.stateNode,Ef(t),$y(t),Lg();var s=t.flags;return(s&An)!==ze&&(s&We)===ze?(t.flags=s&~An|We,t):null}case X:return _g(t),null;case Ce:{wf(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&An?(t.flags=v&~An|We,(t.mode&je)!==He&&rS(t),t):null}case Tt:return wf(t),null;case ae:return Ef(t),null;case it:var m=t.type._context;return ng(m,t),null;case Je:case ft:return HS(t),null;case qt:return null;default:return null}}function N0(e,t,i){switch(Gy(t),t.tag){case K:{var a=t.type.childContextTypes;a!=null&&bv(t);break}case J:{t.stateNode,Ef(t),$y(t),Lg();break}case X:{_g(t);break}case ae:Ef(t);break;case Ce:wf(t);break;case Tt:wf(t);break;case it:var o=t.type._context;ng(o,t);break;case Je:case ft:HS(t);break}}var z0=null;z0=new Set;var mm=!1,vr=!1,Hx=typeof WeakSet=="function"?WeakSet:Set,we=null,kf=null,Mf=null;function Vx(e){Ql(null,function(){throw e}),sd()}var jx=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&je)try{Ll(),t.componentWillUnmount()}finally{Ol(e)}else t.componentWillUnmount()};function U0(e,t){try{Mu(Wn,e)}catch(i){Kt(e,t,i)}}function RS(e,t,i){try{jx(e,i)}catch(a){Kt(e,t,a)}}function Bx(e,t,i){try{i.componentDidMount()}catch(a){Kt(e,t,a)}}function F0(e,t){try{V0(e)}catch(i){Kt(e,t,i)}}function Of(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var a;try{if(at&&St&&e.mode&je)try{Ll(),a=i(null)}finally{Ol(e)}else a=i(null)}catch(o){Kt(e,t,o)}typeof a=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ge(e))}else i.current=null}function ym(e,t,i){try{i()}catch(a){Kt(e,t,a)}}var H0=!1;function Px(e,t){t1(e.containerInfo),we=t,$x();var i=H0;return H0=!1,i}function $x(){for(;we!==null;){var e=we,t=e.child;(e.subtreeFlags&Ko)!==ze&&t!==null?(t.return=e,we=t):Ix()}}function Ix(){for(;we!==null;){var e=we;Dt(e);try{Wx(e)}catch(i){Kt(e,e.return,i)}sn();var t=e.sibling;if(t!==null){t.return=e.return,we=t;return}we=e.return}}function Wx(e){var t=e.alternate,i=e.flags;if((i&si)!==ze){switch(Dt(e),e.tag){case B:case xe:case ke:break;case K:{if(t!==null){var a=t.memoizedProps,o=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Fs&&(s.props!==e.memoizedProps&&C("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.",Ge(e)||"instance"),s.state!==e.memoizedState&&C("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.",Ge(e)||"instance"));var d=s.getSnapshotBeforeUpdate(e.elementType===e.type?a:za(e.type,a),o);{var v=z0;d===void 0&&!v.has(e.type)&&(v.add(e.type),C("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ge(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case J:{{var m=e.stateNode;T1(m.containerInfo)}break}case X:case le:case ae:case jt: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.")}sn()}}function Va(e,t,i){var a=t.updateQueue,o=a!==null?a.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)!==Ei?Sc(t):(e&Wn)!==Ei&&Cc(t),(e&_l)!==Ei&&Ip(!0),ym(t,i,v),(e&_l)!==Ei&&Ip(!1),(e&pr)!==Ei?kh():(e&Wn)!==Ei&&qo())}d=d.next}while(d!==s)}}function Mu(e,t){var i=t.updateQueue,a=i!==null?i.lastEffect:null;if(a!==null){var o=a.next,s=o;do{if((s.tag&e)===e){(e&pr)!==Ei?_h(t):(e&Wn)!==Ei&&Mh(t);var d=s.create;(e&_l)!==Ei&&Ip(!0),s.destroy=d(),(e&_l)!==Ei&&Ip(!1),(e&pr)!==Ei?Ed():(e&Wn)!==Ei&&Oh();{var v=s.destroy;if(v!==void 0&&typeof v!="function"){var m=void 0;(s.tag&Wn)!==ze?m="useLayoutEffect":(s.tag&_l)!==ze?m="useInsertionEffect":m="useEffect";var E=void 0;v===null?E=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof v.then=="function"?E=`
|
|
184
|
+
Check the render method of \``+a+"`.");var o=a||"",s=e._debugSource;s&&(o=s.fileName+":"+s.lineNumber),cS[o]||(cS[o]=!0,C("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(typeof t.getDerivedStateFromProps=="function"){var d=gt(t)||"Unknown";sS[d]||(C("%s: Function components do not support getDerivedStateFromProps.",d),sS[d]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var v=gt(t)||"Unknown";uS[v]||(C("%s: Function components do not support contextType.",v),uS[v]=!0)}}}var vS={dehydrated:null,treeContext:null,retryLane:pt};function mS(e){return{baseLanes:e,cachePool:ux(),transitions:null}}function Sx(e,t){var i=null;return{baseLanes:et(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function Cx(e,t,i,a){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return kg(e,Cp)}function Ex(e,t){return au(e.childLanes,t)}function E0(e,t,i){var a=t.pendingProps;MD(t)&&(t.flags|=Ge);var o=Ua.current,s=!1,d=(t.flags&Ge)!==ze;if(d||Cx(o,e)?(s=!0,t.flags&=~Ge):(e===null||e.memoizedState!==null)&&(o=I1(o,NE)),o=Rf(o),_u(t,o),e===null){qy(t);var v=t.memoizedState;if(v!==null){var m=v.dehydrated;if(m!==null)return Tx(t,m)}var R=a.children,w=a.fallback;if(s){var O=Rx(t,R,w,i),k=t.child;return k.memoizedState=mS(i),t.memoizedState=vS,O}else return yS(t,R)}else{var F=e.memoizedState;if(F!==null){var V=F.dehydrated;if(V!==null)return Dx(e,t,d,a,V,F,i)}if(s){var j=a.fallback,ge=a.children,Fe=bx(e,t,ge,j,i),Me=t.child,vt=e.child.memoizedState;return Me.memoizedState=vt===null?mS(i):Sx(vt,i),Me.childLanes=Ex(e,i),t.memoizedState=vS,Fe}else{var st=a.children,L=wx(e,t,st,i);return t.memoizedState=null,L}}}function yS(e,t,i){var a=e.mode,o={mode:"visible",children:t},s=gS(o,a);return s.return=e,e.child=s,s}function Rx(e,t,i,a){var o=e.mode,s=e.child,d={mode:"hidden",children:t},v,m;return(o&at)===Ve&&s!==null?(v=s,v.childLanes=W,v.pendingProps=d,e.mode&je&&(v.actualDuration=0,v.actualStartTime=-1,v.selfBaseDuration=0,v.treeBaseDuration=0),m=Uu(i,o,a,null)):(v=gS(d,o),m=Uu(i,o,a,null)),v.return=e,m.return=e,v.sibling=m,e.child=v,m}function gS(e,t,i){return RR(e,t,W,null)}function R0(e,t){return Is(e,t)}function wx(e,t,i,a){var o=e.child,s=o.sibling,d=R0(o,{mode:"visible",children:i});if((t.mode&at)===Ve&&(d.lanes=a),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 bx(e,t,i,a,o){var s=t.mode,d=e.child,v=d.sibling,m={mode:"hidden",children:i},R;if((s&at)===Ve&&t.child!==d){var w=t.child;R=w,R.childLanes=W,R.pendingProps=m,t.mode&je&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=d.selfBaseDuration,R.treeBaseDuration=d.treeBaseDuration),t.deletions=null}else R=R0(d,m),R.subtreeFlags=d.subtreeFlags&Pn;var O;return v!==null?O=Is(v,a):(O=Uu(a,s,o,null),O.flags|=Yt),O.return=t,R.return=t,R.sibling=O,t.child=R,O}function hm(e,t,i,a){a!==null&&Zy(a),Cf(t,e.child,null,i);var o=t.pendingProps,s=o.children,d=yS(t,s);return d.flags|=Yt,t.memoizedState=null,d}function xx(e,t,i,a,o){var s=t.mode,d={mode:"visible",children:i},v=gS(d,s),m=Uu(a,s,o,null);return m.flags|=Yt,v.return=t,m.return=t,v.sibling=m,t.child=v,(t.mode&at)!==Ve&&Cf(t,e.child,null,o),m}function Tx(e,t,i){return(e.mode&at)===Ve?(C("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):Uy(t)?e.lanes=Jl:e.lanes=Fr,null}function Dx(e,t,i,a,o,s,d){if(i)if(t.flags&fn){t.flags&=~fn;var L=iS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return hm(e,t,d,L)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ge,null;var I=a.children,N=a.fallback,ee=xx(e,t,I,N,d),Se=t.child;return Se.memoizedState=mS(d),t.memoizedState=vS,ee}else{if(v1(),(t.mode&at)===Ve)return hm(e,t,d,null);if(Uy(o)){var v,m,R;{var w=Ab(o);v=w.digest,m=w.message,R=w.stack}var O;m?O=new Error(m):O=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var k=iS(O,v,R);return hm(e,t,d,k)}var F=Hr(d,e.childLanes);if(Ha||F){var V=xm();if(V!==null){var j=ry(V,d);if(j!==pt&&j!==s.retryLane){s.retryLane=j;var ge=Pt;Ci(e,j),qn(V,e,j,ge)}}VS();var Fe=iS(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 hm(e,t,d,Fe)}else if($C(o)){t.flags|=Ge,t.child=e.child;var Me=ZT.bind(null,e);return Lb(o,Me),null}else{g1(t,o,s.treeContext);var vt=a.children,st=yS(t,vt);return st.flags|=ci,st}}}function w0(e,t,i){e.lanes=et(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=et(a.lanes,t)),rg(e.return,t,i)}function _x(e,t,i){for(var a=t;a!==null;){if(a.tag===pe){var o=a.memoizedState;o!==null&&w0(a,i,e)}else if(a.tag===yt)w0(a,i,e);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}function kx(e){for(var t=e,i=null;t!==null;){var a=t.alternate;a!==null&&Gv(a)===null&&(i=t),t=t.sibling}return i}function Mx(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!fS[e])if(fS[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{C('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{C('"%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:C('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else C('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function Ox(e,t){e!==void 0&&!pm[e]&&(e!=="collapsed"&&e!=="hidden"?(pm[e]=!0,C('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(pm[e]=!0,C('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function b0(e,t){{var i=ft(e),a=!i&&typeof Ai(e)=="function";if(i||a){var o=i?"array":"iterable";return C("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 Ax(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(ft(e)){for(var i=0;i<e.length;i++)if(!b0(e[i],i))return}else{var a=Ai(e);if(typeof a=="function"){var o=a.call(e);if(o)for(var s=o.next(),d=0;!s.done;s=o.next()){if(!b0(s.value,d))return;d++}}else C('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 SS(e,t,i,a,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=i,s.tailMode=o)}function x0(e,t,i){var a=t.pendingProps,o=a.revealOrder,s=a.tail,d=a.children;Mx(o),Ox(s,o),Ax(d,o),Zr(e,t,d,i);var v=Ua.current,m=kg(v,Cp);if(m)v=Mg(v,Cp),t.flags|=Ge;else{var R=e!==null&&(e.flags&Ge)!==ze;R&&_x(t,t.child,i),v=Rf(v)}if(_u(t,v),(t.mode&at)===Ve)t.memoizedState=null;else switch(o){case"forwards":{var w=kx(t.child),O;w===null?(O=t.child,t.child=null):(O=w.sibling,w.sibling=null),SS(t,!1,O,w,s);break}case"backwards":{var k=null,F=t.child;for(t.child=null;F!==null;){var V=F.alternate;if(V!==null&&Gv(V)===null){t.child=F;break}var j=F.sibling;F.sibling=k,k=F,F=j}SS(t,!0,k,null,s);break}case"together":{SS(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Lx(e,t,i){Tg(t,t.stateNode.containerInfo);var a=t.pendingProps;return e===null?t.child=Cf(t,null,a,i):Zr(e,t,a,i),t.child}var T0=!1;function Nx(e,t,i){var a=t.type,o=a._context,s=t.pendingProps,d=t.memoizedProps,v=s.value;{"value"in s||T0||(T0=!0,C("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var m=t.type.propTypes;m&&Aa(m,s,"prop","Context.Provider")}if(pE(t,o,v),d!==null){var R=d.value;if(Re(R,v)){if(d.children===s.children&&!wv())return wo(e,t,i)}else _1(t,o,i)}var w=s.children;return Zr(e,t,w,i),t.child}var D0=!1;function zx(e,t,i){var a=t.type;a._context===void 0?a!==a.Consumer&&(D0||(D0=!0,C("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var o=t.pendingProps,s=o.children;typeof s!="function"&&C("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."),Sf(t,i);var d=Hn(a);ml(t);var v;return _p.current=t,kr(!0),v=s(d),kr(!1),Kl(),t.flags|=sl,Zr(e,t,v,i),t.child}function Mp(){Ha=!0}function vm(e,t){(t.mode&at)===Ve&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Yt)}function wo(e,t,i){return e!==null&&(t.dependencies=e.dependencies),u0(),jp(t.lanes),Hr(i,t.childLanes)?(B1(e,t),t.child):null}function Ux(e,t,i){{var a=t.return;if(a===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===a.child)a.child=i;else{var o=a.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=i}var s=a.deletions;return s===null?(a.deletions=[e],a.flags|=_t):s.push(e),i.flags|=Yt,i}}function CS(e,t){var i=e.lanes;return!!Hr(i,t)}function Fx(e,t,i){switch(t.tag){case Z:S0(t),t.stateNode,yf();break;case te:AE(t);break;case $:{var a=t.type;Dl(a)&&xv(t);break}case ae:Tg(t,t.stateNode.containerInfo);break;case tt:{var o=t.memoizedProps.value,s=t.type._context;pE(t,s,o);break}case $e:{var d=Hr(i,t.childLanes);d&&(t.flags|=Je);{var v=t.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}}break;case pe:{var m=t.memoizedState;if(m!==null){if(m.dehydrated!==null)return _u(t,Rf(Ua.current)),t.flags|=Ge,null;var R=t.child,w=R.childLanes;if(Hr(i,w))return E0(e,t,i);_u(t,Rf(Ua.current));var O=wo(e,t,i);return O!==null?O.sibling:null}else _u(t,Rf(Ua.current));break}case yt:{var k=(e.flags&Ge)!==ze,F=Hr(i,t.childLanes);if(k){if(F)return x0(e,t,i);t.flags|=Ge}var V=t.memoizedState;if(V!==null&&(V.rendering=null,V.tail=null,V.lastEffect=null),_u(t,Ua.current),F)break;return null}case Te:case dt:return t.lanes=W,m0(e,t,i)}return wo(e,t,i)}function _0(e,t,i){if(t._debugNeedsRemount&&e!==null)return Ux(e,t,KS(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var a=e.memoizedProps,o=t.pendingProps;if(a!==o||wv()||t.type!==e.type)Ha=!0;else{var s=CS(e,i);if(!s&&(t.flags&Ge)===ze)return Ha=!1,Fx(e,t,i);(e.flags&as)!==ze?Ha=!0:Ha=!1}}else if(Ha=!1,dr()&&s1(t)){var d=t.index,v=c1();tE(t,v,d)}switch(t.lanes=W,t.tag){case oe:return gx(e,t,t.type,i);case lt:{var m=t.elementType;return mx(e,t,m,i)}case z:{var R=t.type,w=t.pendingProps,O=t.elementType===R?w:za(R,w);return dS(e,t,R,O,i)}case $:{var k=t.type,F=t.pendingProps,V=t.elementType===k?F:za(k,F);return g0(e,t,k,V,i)}case Z:return px(e,t,i);case te:return hx(e,t,i);case re:return vx(e,t);case pe:return E0(e,t,i);case ae:return Lx(e,t,i);case _e:{var j=t.type,ge=t.pendingProps,Fe=t.elementType===j?ge:za(j,ge);return p0(e,t,j,Fe,i)}case Be:return cx(e,t,i);case de:return fx(e,t,i);case $e:return dx(e,t,i);case tt:return Nx(e,t,i);case Ue:return zx(e,t,i);case xe:{var Me=t.type,vt=t.pendingProps,st=za(Me,vt);if(t.type!==t.elementType){var L=Me.propTypes;L&&Aa(L,st,"prop",gt(Me))}return st=za(Me.type,st),h0(e,t,Me,st,i)}case Oe:return v0(e,t,t.type,t.pendingProps,i);case kt:{var I=t.type,N=t.pendingProps,ee=t.elementType===I?N:za(I,N);return yx(e,t,I,ee,i)}case yt:return x0(e,t,i);case un:break;case Te:return m0(e,t,i)}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|=Je}function k0(e){e.flags|=Or,e.flags|=fd}var M0,ES,O0,A0;M0=function(e,t,i,a){for(var o=t.child;o!==null;){if(o.tag===te||o.tag===re)lb(e,o.stateNode);else if(o.tag!==ae){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}},ES=function(e,t){},O0=function(e,t,i,a,o){var s=e.memoizedProps;if(s!==a){var d=t.stateNode,v=Dg(),m=ub(d,i,s,a,o,v);t.updateQueue=m,m&&_f(t)}},A0=function(e,t,i,a){i!==a&&_f(t)};function Op(e,t){if(!dr())switch(e.tailMode){case"hidden":{for(var i=e.tail,a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?e.tail=null:a.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,i=W,a=ze;if(t){if((e.mode&je)!==Ve){for(var m=e.selfBaseDuration,R=e.child;R!==null;)i=et(i,et(R.lanes,R.childLanes)),a|=R.subtreeFlags&Pn,a|=R.flags&Pn,m+=R.treeBaseDuration,R=R.sibling;e.treeBaseDuration=m}else for(var w=e.child;w!==null;)i=et(i,et(w.lanes,w.childLanes)),a|=w.subtreeFlags&Pn,a|=w.flags&Pn,w.return=e,w=w.sibling;e.subtreeFlags|=a}else{if((e.mode&je)!==Ve){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)i=et(i,et(d.lanes,d.childLanes)),a|=d.subtreeFlags,a|=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;)i=et(i,et(v.lanes,v.childLanes)),a|=v.subtreeFlags,a|=v.flags,v.return=e,v=v.sibling;e.subtreeFlags|=a}return e.childLanes=i,t}function Hx(e,t,i){if(w1()&&(t.mode&at)!==Ve&&(t.flags&Ge)===ze)return uE(t),yf(),t.flags|=fn|Yr|Ln,!1;var a=Mv(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(E1(t),hr(t),(t.mode&je)!==Ve){var o=i!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(yf(),(t.flags&Ge)===ze&&(t.memoizedState=null),t.flags|=Je,hr(t),(t.mode&je)!==Ve){var d=i!==null;if(d){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else return sE(),!0}function L0(e,t,i){var a=t.pendingProps;switch(Gy(t),t.tag){case oe:case lt:case Oe:case z:case _e:case Be:case de:case $e:case Ue:case xe:return hr(t),null;case $:{var o=t.type;return Dl(o)&&bv(t),hr(t),null}case Z:{var s=t.stateNode;if(Ef(t),Iy(t),Ag(),s.pendingContext&&(s.context=s.pendingContext,s.pendingContext=null),e===null||e.child===null){var d=Mv(t);if(d)_f(t);else if(e!==null){var v=e.memoizedState;(!v.isDehydrated||(t.flags&fn)!==ze)&&(t.flags|=si,sE())}}return ES(e,t),hr(t),null}case te:{_g(t);var m=OE(),R=t.type;if(e!==null&&t.stateNode!=null)O0(e,t,R,a,m),e.ref!==t.ref&&k0(t);else{if(!a){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=Dg(),O=Mv(t);if(O)S1(t,m,w)&&_f(t);else{var k=ab(R,a,m,w,t);M0(k,t,!1,!1),t.stateNode=k,ob(k,R,a,m)&&_f(t)}t.ref!==null&&k0(t)}return hr(t),null}case re:{var F=a;if(e&&t.stateNode!=null){var V=e.memoizedProps;A0(e,t,V,F)}else{if(typeof F!="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 j=OE(),ge=Dg(),Fe=Mv(t);Fe?C1(t)&&_f(t):t.stateNode=sb(F,j,ge,t)}return hr(t),null}case pe:{wf(t);var Me=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vt=Hx(e,t,Me);if(!vt)return t.flags&Ln?t:null}if((t.flags&Ge)!==ze)return t.lanes=i,(t.mode&je)!==Ve&&rS(t),t;var st=Me!==null,L=e!==null&&e.memoizedState!==null;if(st!==L&&st){var I=t.child;if(I.flags|=cl,(t.mode&at)!==Ve){var N=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!X);N||kg(Ua.current,NE)?VT():VS()}}var ee=t.updateQueue;if(ee!==null&&(t.flags|=Je),hr(t),(t.mode&je)!==Ve&&st){var Se=t.child;Se!==null&&(t.treeBaseDuration-=Se.treeBaseDuration)}return null}case ae:return Ef(t),ES(e,t),e===null&&n1(t.stateNode.containerInfo),hr(t),null;case tt:var he=t.type._context;return ng(he,t),hr(t),null;case kt:{var We=t.type;return Dl(We)&&bv(t),hr(t),null}case yt:{wf(t);var qe=t.memoizedState;if(qe===null)return hr(t),null;var Ft=(t.flags&Ge)!==ze,bt=qe.rendering;if(bt===null)if(Ft)Op(qe,!1);else{var kn=PT()&&(e===null||(e.flags&Ge)===ze);if(!kn)for(var xt=t.child;xt!==null;){var Rn=Gv(xt);if(Rn!==null){Ft=!0,t.flags|=Ge,Op(qe,!1);var jr=Rn.updateQueue;return jr!==null&&(t.updateQueue=jr,t.flags|=Je),t.subtreeFlags=ze,P1(t,i),_u(t,Mg(Ua.current,Cp)),t.child}xt=xt.sibling}qe.tail!==null&&rn()>eR()&&(t.flags|=Ge,Ft=!0,Op(qe,!1),t.lanes=bd)}else{if(!Ft){var Sr=Gv(bt);if(Sr!==null){t.flags|=Ge,Ft=!0;var Ii=Sr.updateQueue;if(Ii!==null&&(t.updateQueue=Ii,t.flags|=Je),Op(qe,!0),qe.tail===null&&qe.tailMode==="hidden"&&!bt.alternate&&!dr())return hr(t),null}else rn()*2-qe.renderingStartTime>eR()&&i!==Fr&&(t.flags|=Ge,Ft=!0,Op(qe,!1),t.lanes=bd)}if(qe.isBackwards)bt.sibling=t.child,t.child=bt;else{var ti=qe.last;ti!==null?ti.sibling=bt:t.child=bt,qe.last=bt}}if(qe.tail!==null){var ni=qe.tail;qe.rendering=ni,qe.tail=ni.sibling,qe.renderingStartTime=rn(),ni.sibling=null;var Ir=Ua.current;return Ft?Ir=Mg(Ir,Cp):Ir=Rf(Ir),_u(t,Ir),ni}return hr(t),null}case un:break;case Te:case dt:{HS(t);var _o=t.memoizedState,Uf=_o!==null;if(e!==null){var Gp=e.memoizedState,zl=Gp!==null;zl!==Uf&&!D&&(t.flags|=cl)}return!Uf||(t.mode&at)===Ve?hr(t):Hr(Nl,Fr)&&(hr(t),t.subtreeFlags&(Yt|Je)&&(t.flags|=cl)),null}case qt:return null;case Dt: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 Vx(e,t,i){switch(Gy(t),t.tag){case $:{var a=t.type;Dl(a)&&bv(t);var o=t.flags;return o&Ln?(t.flags=o&~Ln|Ge,(t.mode&je)!==Ve&&rS(t),t):null}case Z:{t.stateNode,Ef(t),Iy(t),Ag();var s=t.flags;return(s&Ln)!==ze&&(s&Ge)===ze?(t.flags=s&~Ln|Ge,t):null}case te:return _g(t),null;case pe:{wf(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&je)!==Ve&&rS(t),t):null}case yt:return wf(t),null;case ae:return Ef(t),null;case tt:var m=t.type._context;return ng(m,t),null;case Te:case dt:return HS(t),null;case qt:return null;default:return null}}function N0(e,t,i){switch(Gy(t),t.tag){case $:{var a=t.type.childContextTypes;a!=null&&bv(t);break}case Z:{t.stateNode,Ef(t),Iy(t),Ag();break}case te:{_g(t);break}case ae:Ef(t);break;case pe:wf(t);break;case yt:wf(t);break;case tt:var o=t.type._context;ng(o,t);break;case Te:case dt:HS(t);break}}var z0=null;z0=new Set;var mm=!1,vr=!1,Bx=typeof WeakSet=="function"?WeakSet:Set,we=null,kf=null,Mf=null;function Px(e){Ql(null,function(){throw e}),sd()}var jx=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&je)try{Al(),t.componentWillUnmount()}finally{Ol(e)}else t.componentWillUnmount()};function U0(e,t){try{Ou(Wn,e)}catch(i){Kt(e,t,i)}}function RS(e,t,i){try{jx(e,i)}catch(a){Kt(e,t,a)}}function Ix(e,t,i){try{i.componentDidMount()}catch(a){Kt(e,t,a)}}function F0(e,t){try{V0(e)}catch(i){Kt(e,t,i)}}function Of(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var a;try{if(ot&&Et&&e.mode&je)try{Al(),a=i(null)}finally{Ol(e)}else a=i(null)}catch(o){Kt(e,t,o)}typeof a=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Xe(e))}else i.current=null}function ym(e,t,i){try{i()}catch(a){Kt(e,t,a)}}var H0=!1;function $x(e,t){rb(e.containerInfo),we=t,Wx();var i=H0;return H0=!1,i}function Wx(){for(;we!==null;){var e=we,t=e.child;(e.subtreeFlags&qo)!==ze&&t!==null?(t.return=e,we=t):Yx()}}function Yx(){for(;we!==null;){var e=we;Mt(e);try{Gx(e)}catch(i){Kt(e,e.return,i)}cn();var t=e.sibling;if(t!==null){t.return=e.return,we=t;return}we=e.return}}function Gx(e){var t=e.alternate,i=e.flags;if((i&si)!==ze){switch(Mt(e),e.tag){case z:case _e:case Oe:break;case $:{if(t!==null){var a=t.memoizedProps,o=t.memoizedState,s=e.stateNode;e.type===e.elementType&&!Hs&&(s.props!==e.memoizedProps&&C("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&&C("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?a:za(e.type,a),o);{var v=z0;d===void 0&&!v.has(e.type)&&(v.add(e.type),C("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Xe(e)))}s.__reactInternalSnapshotBeforeUpdate=d}break}case Z:{{var m=e.stateNode;_b(m.containerInfo)}break}case te:case re:case ae: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.")}cn()}}function Va(e,t,i){var a=t.updateQueue,o=a!==null?a.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)!==Ei?Sc(t):(e&Wn)!==Ei&&Cc(t),(e&_l)!==Ei&&$p(!0),ym(t,i,v),(e&_l)!==Ei&&$p(!1),(e&pr)!==Ei?kh():(e&Wn)!==Ei&&Zo())}d=d.next}while(d!==s)}}function Ou(e,t){var i=t.updateQueue,a=i!==null?i.lastEffect:null;if(a!==null){var o=a.next,s=o;do{if((s.tag&e)===e){(e&pr)!==Ei?_h(t):(e&Wn)!==Ei&&Mh(t);var d=s.create;(e&_l)!==Ei&&$p(!0),s.destroy=d(),(e&_l)!==Ei&&$p(!1),(e&pr)!==Ei?Ed():(e&Wn)!==Ei&&Oh();{var v=s.destroy;if(v!==void 0&&typeof v!="function"){var m=void 0;(s.tag&Wn)!==ze?m="useLayoutEffect":(s.tag&_l)!==ze?m="useInsertionEffect":m="useEffect";var R=void 0;v===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof v.then=="function"?R=`
|
|
185
185
|
|
|
186
186
|
It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
187
187
|
|
|
@@ -194,11 +194,11 @@ It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, w
|
|
|
194
194
|
fetchData();
|
|
195
195
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
196
196
|
|
|
197
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:E=" You returned: "+v,C("%s must not return anything besides a function, which is used for clean-up.%s",m,E)}}}s=s.next}while(s!==o)}}function Yx(e,t){if((t.flags&qe)!==ze)switch(t.tag){case Oe:{var i=t.stateNode.passiveEffectDuration,a=t.memoizedProps,o=a.id,s=a.onPostCommit,d=l0(),v=t.alternate===null?"mount":"update";a0()&&(v="nested-update"),typeof s=="function"&&s(o,v,i,d);var m=t.return;e:for(;m!==null;){switch(m.tag){case J:var E=m.stateNode;E.passiveEffectDuration+=i;break e;case Oe:var w=m.stateNode;w.passiveEffectDuration+=i;break e}m=m.return}break}}}function Gx(e,t,i,a){if((i.flags&er)!==ze)switch(i.tag){case B:case xe:case ke:{if(!vr)if(i.mode&je)try{Ll(),Mu(Wn|In,i)}finally{Ol(i)}else Mu(Wn|In,i);break}case K:{var o=i.stateNode;if(i.flags&qe&&!vr)if(t===null)if(i.type===i.elementType&&!Fs&&(o.props!==i.memoizedProps&&C("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.",Ge(i)||"instance"),o.state!==i.memoizedState&&C("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.",Ge(i)||"instance")),i.mode&je)try{Ll(),o.componentDidMount()}finally{Ol(i)}else o.componentDidMount();else{var s=i.elementType===i.type?t.memoizedProps:za(i.type,t.memoizedProps),d=t.memoizedState;if(i.type===i.elementType&&!Fs&&(o.props!==i.memoizedProps&&C("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.",Ge(i)||"instance"),o.state!==i.memoizedState&&C("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.",Ge(i)||"instance")),i.mode&je)try{Ll(),o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}finally{Ol(i)}else o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}var v=i.updateQueue;v!==null&&(i.type===i.elementType&&!Fs&&(o.props!==i.memoizedProps&&C("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.",Ge(i)||"instance"),o.state!==i.memoizedState&&C("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.",Ge(i)||"instance")),SE(i,v,o));break}case J:{var m=i.updateQueue;if(m!==null){var E=null;if(i.child!==null)switch(i.child.tag){case X:E=i.child.stateNode;break;case K:E=i.child.stateNode;break}SE(i,m,E)}break}case X:{var w=i.stateNode;if(t===null&&i.flags&qe){var O=i.type,k=i.memoizedProps;d1(w,O,k)}break}case le:break;case ae:break;case Oe:{{var U=i.memoizedProps,H=U.onCommit,P=U.onRender,me=i.stateNode.effectDuration,Ue=l0(),Me=t===null?"mount":"update";a0()&&(Me="nested-update"),typeof P=="function"&&P(i.memoizedProps.id,Me,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Ue);{typeof H=="function"&&H(i.memoizedProps.id,Me,me,Ue),IT(i);var ht=i.return;e:for(;ht!==null;){switch(ht.tag){case J:var ot=ht.stateNode;ot.effectDuration+=me;break e;case Oe:var A=ht.stateNode;A.effectDuration+=me;break e}ht=ht.return}}}break}case Ce:{tT(e,i);break}case Tt:case jt:case Rn:case Je:case ft:case bt: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||i.flags&Or&&V0(i)}function Qx(e){switch(e.tag){case B:case xe:case ke:{if(e.mode&je)try{Ll(),U0(e,e.return)}finally{Ol(e)}else U0(e,e.return);break}case K:{var t=e.stateNode;typeof t.componentDidMount=="function"&&Bx(e,e.return,t),F0(e,e.return);break}case X:{F0(e,e.return);break}}}function Xx(e,t){for(var i=null,a=e;;){if(a.tag===X){if(i===null){i=a;try{var o=a.stateNode;t?R1(o):b1(a.stateNode,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}}else if(a.tag===le){if(i===null)try{var s=a.stateNode;t?w1(s):x1(s,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}else if(!((a.tag===Je||a.tag===ft)&&a.memoizedState!==null&&a!==e)){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}}function V0(e){var t=e.ref;if(t!==null){var i=e.stateNode,a;switch(e.tag){case X:a=i;break;default:a=i}if(typeof t=="function"){var o;if(e.mode&je)try{Ll(),o=t(a)}finally{Ol(e)}else o=t(a);typeof o=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Ge(e))}else t.hasOwnProperty("current")||C("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Ge(e)),t.current=a}}function Kx(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function j0(e){var t=e.alternate;t!==null&&(e.alternate=null,j0(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===X){var i=e.stateNode;i!==null&&rb(i)}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 qx(e){for(var t=e.return;t!==null;){if(B0(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 B0(e){return e.tag===X||e.tag===J||e.tag===ae}function P0(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||B0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==X&&t.tag!==le&&t.tag!==Bt;){if(t.flags&Yt||t.child===null||t.tag===ae)continue e;t.child.return=t,t=t.child}if(!(t.flags&Yt))return t.stateNode}}function Zx(e){var t=qx(e);switch(t.tag){case X:{var i=t.stateNode;t.flags&_t&&($C(i),t.flags&=~_t);var a=P0(e);bS(e,a,i);break}case J:case ae:{var o=t.stateNode.containerInfo,s=P0(e);wS(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 wS(e,t,i){var a=e.tag,o=a===X||a===le;if(o){var s=e.stateNode;t?g1(i,s,t):m1(i,s)}else if(a!==ae){var d=e.child;if(d!==null){wS(d,t,i);for(var v=d.sibling;v!==null;)wS(v,t,i),v=v.sibling}}}function bS(e,t,i){var a=e.tag,o=a===X||a===le;if(o){var s=e.stateNode;t?y1(i,s,t):v1(i,s)}else if(a!==ae){var d=e.child;if(d!==null){bS(d,t,i);for(var v=d.sibling;v!==null;)bS(v,t,i),v=v.sibling}}}var mr=null,ja=!1;function Jx(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case X:{mr=a.stateNode,ja=!1;break e}case J:{mr=a.stateNode.containerInfo,ja=!0;break e}case ae:{mr=a.stateNode.containerInfo,ja=!0;break e}}a=a.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.");$0(e,t,i),mr=null,ja=!1}Kx(i)}function Ou(e,t,i){for(var a=i.child;a!==null;)$0(e,t,a),a=a.sibling}function $0(e,t,i){switch(Sd(i),i.tag){case X:vr||Of(i,t);case le:{{var a=mr,o=ja;mr=null,Ou(e,t,i),mr=a,ja=o,mr!==null&&(ja?C1(mr,i.stateNode):S1(mr,i.stateNode))}return}case Bt:{mr!==null&&(ja?E1(mr,i.stateNode):zy(mr,i.stateNode));return}case ae:{{var s=mr,d=ja;mr=i.stateNode.containerInfo,ja=!0,Ou(e,t,i),mr=s,ja=d}return}case B:case xe:case Pe:case ke:{if(!vr){var v=i.updateQueue;if(v!==null){var m=v.lastEffect;if(m!==null){var E=m.next,w=E;do{var O=w,k=O.destroy,U=O.tag;k!==void 0&&((U&_l)!==Ei?ym(i,t,k):(U&Wn)!==Ei&&(Cc(i),i.mode&je?(Ll(),ym(i,t,k),Ol(i)):ym(i,t,k),qo())),w=w.next}while(w!==E)}}}Ou(e,t,i);return}case K:{if(!vr){Of(i,t);var H=i.stateNode;typeof H.componentWillUnmount=="function"&&RS(i,t,H)}Ou(e,t,i);return}case Rn:{Ou(e,t,i);return}case Je:{if(i.mode&rt){var P=vr;vr=P||i.memoizedState!==null,Ou(e,t,i),vr=P}else Ou(e,t,i);break}default:{Ou(e,t,i);return}}}function eT(e){e.memoizedState}function tT(e,t){var i=t.memoizedState;if(i===null){var a=t.alternate;if(a!==null){var o=a.memoizedState;if(o!==null){var s=o.dehydrated;s!==null&&j1(s)}}}}function I0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Hx),t.forEach(function(a){var o=qT.bind(null,e,a);if(!i.has(a)){if(i.add(a),Pn)if(kf!==null&&Mf!==null)$p(Mf,kf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(o,o)}})}}function nT(e,t,i){kf=i,Mf=e,Dt(t),W0(t,e),Dt(t),kf=null,Mf=null}function Ba(e,t,i){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];try{Jx(e,t,s)}catch(m){Kt(s,t,m)}}var d=qs();if(t.subtreeFlags&Nr)for(var v=t.child;v!==null;)Dt(v),W0(v,e),v=v.sibling;Dt(d)}function W0(e,t,i){var a=e.alternate,o=e.flags;switch(e.tag){case B:case xe:case Pe:case ke:{if(Ba(t,e),Al(e),o&qe){try{Va(_l|In,e,e.return),Mu(_l|In,e)}catch($e){Kt(e,e.return,$e)}if(e.mode&je){try{Ll(),Va(Wn|In,e,e.return)}catch($e){Kt(e,e.return,$e)}Ol(e)}else try{Va(Wn|In,e,e.return)}catch($e){Kt(e,e.return,$e)}}return}case K:{Ba(t,e),Al(e),o&Or&&a!==null&&Of(a,a.return);return}case X:{Ba(t,e),Al(e),o&Or&&a!==null&&Of(a,a.return);{if(e.flags&_t){var s=e.stateNode;try{$C(s)}catch($e){Kt(e,e.return,$e)}}if(o&qe){var d=e.stateNode;if(d!=null){var v=e.memoizedProps,m=a!==null?a.memoizedProps:v,E=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{p1(d,w,E,m,v,e)}catch($e){Kt(e,e.return,$e)}}}}return}case le:{if(Ba(t,e),Al(e),o&qe){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,k=e.memoizedProps,U=a!==null?a.memoizedProps:k;try{h1(O,U,k)}catch($e){Kt(e,e.return,$e)}}return}case J:{if(Ba(t,e),Al(e),o&qe&&a!==null){var H=a.memoizedState;if(H.isDehydrated)try{V1(t.containerInfo)}catch($e){Kt(e,e.return,$e)}}return}case ae:{Ba(t,e),Al(e);return}case Ce:{Ba(t,e),Al(e);var P=e.child;if(P.flags&cl){var me=P.stateNode,Ue=P.memoizedState,Me=Ue!==null;if(me.isHidden=Me,Me){var ht=P.alternate!==null&&P.alternate.memoizedState!==null;ht||UT()}}if(o&qe){try{eT(e)}catch($e){Kt(e,e.return,$e)}I0(e)}return}case Je:{var ot=a!==null&&a.memoizedState!==null;if(e.mode&rt){var A=vr;vr=A||ot,Ba(t,e),vr=A}else Ba(t,e);if(Al(e),o&cl){var $=e.stateNode,N=e.memoizedState,te=N!==null,ye=e;if($.isHidden=te,te&&!ot&&(ye.mode&rt)!==He){we=ye;for(var fe=ye.child;fe!==null;)we=fe,iT(fe),fe=fe.sibling}Xx(ye,te)}return}case Tt:{Ba(t,e),Al(e),o&qe&&I0(e);return}case Rn:return;default:{Ba(t,e),Al(e);return}}}function Al(e){var t=e.flags;if(t&Yt){try{Zx(e)}catch(i){Kt(e,e.return,i)}e.flags&=~Yt}t&ci&&(e.flags&=~ci)}function rT(e,t,i){kf=i,Mf=t,we=e,Y0(e,t,i),kf=null,Mf=null}function Y0(e,t,i){for(var a=(e.mode&rt)!==He;we!==null;){var o=we,s=o.child;if(o.tag===Je&&a){var d=o.memoizedState!==null,v=d||mm;if(v){xS(e,t,i);continue}else{var m=o.alternate,E=m!==null&&m.memoizedState!==null,w=E||vr,O=mm,k=vr;mm=v,vr=w,vr&&!k&&(we=o,aT(o));for(var U=s;U!==null;)we=U,Y0(U,t,i),U=U.sibling;we=o,mm=O,vr=k,xS(e,t,i);continue}}(o.subtreeFlags&er)!==ze&&s!==null?(s.return=o,we=s):xS(e,t,i)}}function xS(e,t,i){for(;we!==null;){var a=we;if((a.flags&er)!==ze){var o=a.alternate;Dt(a);try{Gx(t,o,a,i)}catch(d){Kt(a,a.return,d)}sn()}if(a===e){we=null;return}var s=a.sibling;if(s!==null){s.return=a.return,we=s;return}we=a.return}}function iT(e){for(;we!==null;){var t=we,i=t.child;switch(t.tag){case B:case xe:case Pe:case ke:{if(t.mode&je)try{Ll(),Va(Wn,t,t.return)}finally{Ol(t)}else Va(Wn,t,t.return);break}case K:{Of(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&RS(t,t.return,a);break}case X:{Of(t,t.return);break}case Je:{var o=t.memoizedState!==null;if(o){G0(e);continue}break}}i!==null?(i.return=t,we=i):G0(e)}}function G0(e){for(;we!==null;){var t=we;if(t===e){we=null;return}var i=t.sibling;if(i!==null){i.return=t.return,we=i;return}we=t.return}}function aT(e){for(;we!==null;){var t=we,i=t.child;if(t.tag===Je){var a=t.memoizedState!==null;if(a){Q0(e);continue}}i!==null?(i.return=t,we=i):Q0(e)}}function Q0(e){for(;we!==null;){var t=we;Dt(t);try{Qx(t)}catch(a){Kt(t,t.return,a)}if(sn(),t===e){we=null;return}var i=t.sibling;if(i!==null){i.return=t.return,we=i;return}we=t.return}}function lT(e,t,i,a){we=t,oT(t,e,i,a)}function oT(e,t,i,a){for(;we!==null;){var o=we,s=o.child;(o.subtreeFlags&fi)!==ze&&s!==null?(s.return=o,we=s):uT(e,t,i,a)}}function uT(e,t,i,a){for(;we!==null;){var o=we;if((o.flags&Jt)!==ze){Dt(o);try{sT(t,o,i,a)}catch(d){Kt(o,o.return,d)}sn()}if(o===e){we=null;return}var s=o.sibling;if(s!==null){s.return=o.return,we=s;return}we=o.return}}function sT(e,t,i,a){switch(t.tag){case B:case xe:case ke:{if(t.mode&je){nS();try{Mu(pr|In,t)}finally{tS(t)}}else Mu(pr|In,t);break}}}function cT(e){we=e,fT()}function fT(){for(;we!==null;){var e=we,t=e.child;if((we.flags&xt)!==ze){var i=e.deletions;if(i!==null){for(var a=0;a<i.length;a++){var o=i[a];we=o,hT(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)}}}we=e}}(e.subtreeFlags&fi)!==ze&&t!==null?(t.return=e,we=t):dT()}}function dT(){for(;we!==null;){var e=we;(e.flags&Jt)!==ze&&(Dt(e),pT(e),sn());var t=e.sibling;if(t!==null){t.return=e.return,we=t;return}we=e.return}}function pT(e){switch(e.tag){case B:case xe:case ke:{e.mode&je?(nS(),Va(pr|In,e,e.return),tS(e)):Va(pr|In,e,e.return);break}}}function hT(e,t){for(;we!==null;){var i=we;Dt(i),mT(i,t),sn();var a=i.child;a!==null?(a.return=i,we=a):vT(e)}}function vT(e){for(;we!==null;){var t=we,i=t.sibling,a=t.return;if(j0(t),t===e){we=null;return}if(i!==null){i.return=a,we=i;return}we=a}}function mT(e,t){switch(e.tag){case B:case xe:case ke:{e.mode&je?(nS(),Va(pr,e,t),tS(e)):Va(pr,e,t);break}}}function yT(e){switch(e.tag){case B:case xe:case ke:{try{Mu(Wn|In,e)}catch(i){Kt(e,e.return,i)}break}case K:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Kt(e,e.return,i)}break}}}function gT(e){switch(e.tag){case B:case xe:case ke:{try{Mu(pr|In,e)}catch(t){Kt(e,e.return,t)}break}}}function ST(e){switch(e.tag){case B:case xe:case ke:{try{Va(Wn|In,e,e.return)}catch(i){Kt(e,e.return,i)}break}case K:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&RS(e,e.return,t);break}}}function CT(e){switch(e.tag){case B:case xe:case ke:try{Va(pr|In,e,e.return)}catch(t){Kt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Lp=Symbol.for;Lp("selector.component"),Lp("selector.has_pseudo_class"),Lp("selector.role"),Lp("selector.test_id"),Lp("selector.text")}var ET=[];function RT(){ET.forEach(function(e){return e()})}var wT=p.ReactCurrentActQueue;function bT(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function X0(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&wT.current!==null&&C("The current testing environment is not configured to support act(...)"),e}}var xT=Math.ceil,TS=p.ReactCurrentDispatcher,DS=p.ReactCurrentOwner,yr=p.ReactCurrentBatchConfig,Pa=p.ReactCurrentActQueue,Qn=0,K0=1,gr=2,sa=4,bo=0,Ap=1,Hs=2,gm=3,Np=4,q0=5,_S=6,pt=Qn,Jr=null,yn=null,Xn=W,Nl=W,kS=Eu(W),Kn=bo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,Ri=null,MS=0,Z0=500,J0=1/0,TT=500,xo=null;function Hp(){J0=rn()+TT}function eR(){return J0}var Em=!1,OS=null,Lf=null,Vs=!1,Lu=null,Vp=W,LS=[],AS=null,DT=50,jp=0,NS=null,zS=!1,Rm=!1,_T=50,Af=0,wm=null,Bp=Vt,bm=W,tR=!1;function xm(){return Jr}function ei(){return(pt&(gr|sa))!==Qn?rn():(Bp!==Vt||(Bp=rn()),Bp)}function Au(e){var t=e.mode;if((t&rt)===He)return Be;if((pt&gr)!==Qn&&Xn!==W)return xn(Xn);var i=bb()!==wb;if(i){if(yr.transition!==null){var a=yr.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return bm===dt&&(bm=Dd()),bm}var o=vi();if(o!==dt)return o;var s=u1();return s}function kT(e){var t=e.mode;return(t&rt)===He?Be:ny()}function qn(e,t,i,a){JT(),tR&&C("useInsertionEffect must not schedule updates."),zS&&(Rm=!0),lo(e,i,a),(pt&gr)!==W&&e===Jr?nD(t):(Pn&&Ld(e,t,i),rD(t),e===Jr&&((pt&gr)===Qn&&(Up=Ze(Up,i)),Kn===Np&&Nu(e,Xn)),wi(e,a),i===Be&&pt===Qn&&(t.mode&rt)===He&&!Pa.isBatchingLegacy&&(Hp(),eE()))}function MT(e,t,i){var a=e.current;a.lanes=t,lo(e,t,i),wi(e,i)}function OT(e){return(pt&gr)!==Qn}function wi(e,t){var i=e.callbackNode;Jm(e,t);var a=cs(e,e===Jr?Xn:W);if(a===W){i!==null&&yR(i),e.callbackNode=null,e.callbackPriority=dt;return}var o=Sn(a),s=e.callbackPriority;if(s===o&&!(Pa.current!==null&&i!==PS)){i==null&&s!==Be&&C("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&yR(i);var d;if(o===Be)e.tag===Ru?(Pa.isBatchingLegacy!==null&&(Pa.didScheduleLegacyUpdate=!0),lb(iR.bind(null,e))):JC(iR.bind(null,e)),Pa.current!==null?Pa.current.push(wu):c1(function(){(pt&(gr|sa))===Qn&&wu()}),d=null;else{var v;switch(vs(a)){case tr:v=mc;break;case $n:v=Xr;break;case Da:v=Ji;break;case ps:v=dl;break;default:v=Ji;break}d=$S(v,nR.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function nR(e,t){if(Jb(),Bp=Vt,bm=W,(pt&(gr|sa))!==Qn)throw new Error("Should not already be working.");var i=e.callbackNode,a=Do();if(a&&e.callbackNode!==i)return null;var o=cs(e,e===Jr?Xn:W);if(o===W)return null;var s=!ds(e,o)&&!Fh(e,o)&&!t,d=s?BT(e,o):Dm(e,o);if(d!==bo){if(d===Hs){var v=xd(e);v!==W&&(o=v,d=US(e,v))}if(d===Ap){var m=zp;throw js(e,W),Nu(e,o),wi(e,rn()),m}if(d===_S)Nu(e,o);else{var E=!ds(e,o),w=e.current.alternate;if(E&&!AT(w)){if(d=Dm(e,o),d===Hs){var O=xd(e);O!==W&&(o=O,d=US(e,O))}if(d===Ap){var k=zp;throw js(e,W),Nu(e,o),wi(e,rn()),k}}e.finishedWork=w,e.finishedLanes=o,LT(e,d,o)}}return wi(e,rn()),e.callbackNode===i?nR.bind(null,e):null}function US(e,t){var i=Fp;if(Dn(e)){var a=js(e,t);a.flags|=cn,J1(e.containerInfo)}var o=Dm(e,t);if(o!==Hs){var s=Ri;Ri=i,s!==null&&rR(s)}return o}function rR(e){Ri===null?Ri=e:Ri.push.apply(Ri,e)}function LT(e,t,i){switch(t){case bo:case Ap:throw new Error("Root did not complete. This is a bug in React.");case Hs:{Bs(e,Ri,xo);break}case gm:{if(Nu(e,i),jc(i)&&!gR()){var a=MS+Z0-rn();if(a>10){var o=cs(e,W);if(o!==W)break;var s=e.suspendedLanes;if(!ao(s,i)){ei(),Md(e,s);break}e.timeoutHandle=Ay(Bs.bind(null,e,Ri,xo),a);break}}Bs(e,Ri,xo);break}case Np:{if(Nu(e,i),Uh(i))break;if(!gR()){var d=zh(e,i),v=d,m=rn()-v,E=ZT(m)-m;if(E>10){e.timeoutHandle=Ay(Bs.bind(null,e,Ri,xo),E);break}}Bs(e,Ri,xo);break}case q0:{Bs(e,Ri,xo);break}default:throw new Error("Unknown root exit status.")}}function AT(e){for(var t=e;;){if(t.flags&rs){var i=t.updateQueue;if(i!==null){var a=i.stores;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.getSnapshot,v=s.value;try{if(!Re(d(),v))return!1}catch{return!1}}}}var m=t.child;if(t.subtreeFlags&rs&&m!==null){m.return=t,t=m;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 Nu(e,t){t=iu(t,Cm),t=iu(t,Up),kd(e,t)}function iR(e){if(ex(),(pt&(gr|sa))!==Qn)throw new Error("Should not already be working.");Do();var t=cs(e,W);if(!Hr(t,Be))return wi(e,rn()),null;var i=Dm(e,t);if(e.tag!==Ru&&i===Hs){var a=xd(e);a!==W&&(t=a,i=US(e,a))}if(i===Ap){var o=zp;throw js(e,W),Nu(e,t),wi(e,rn()),o}if(i===_S)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,Bs(e,Ri,xo),wi(e,rn()),null}function NT(e,t){t!==W&&(au(e,Ze(t,Be)),wi(e,rn()),(pt&(gr|sa))===Qn&&(Hp(),wu()))}function FS(e,t){var i=pt;pt|=K0;try{return e(t)}finally{pt=i,pt===Qn&&!Pa.isBatchingLegacy&&(Hp(),eE())}}function zT(e,t,i,a,o){var s=vi(),d=yr.transition;try{return yr.transition=null,Tn(tr),e(t,i,a,o)}finally{Tn(s),yr.transition=d,pt===Qn&&Hp()}}function To(e){Lu!==null&&Lu.tag===Ru&&(pt&(gr|sa))===Qn&&Do();var t=pt;pt|=K0;var i=yr.transition,a=vi();try{return yr.transition=null,Tn(tr),e?e():void 0}finally{Tn(a),yr.transition=i,pt=t,(pt&(gr|sa))===Qn&&wu()}}function aR(){return(pt&(gr|sa))!==Qn}function Tm(e,t){jr(kS,Nl,e),Nl=Ze(Nl,t)}function HS(e){Nl=kS.current,Vr(kS,e)}function js(e,t){e.finishedWork=null,e.finishedLanes=W;var i=e.timeoutHandle;if(i!==Ny&&(e.timeoutHandle=Ny,s1(i)),yn!==null)for(var a=yn.return;a!==null;){var o=a.alternate;N0(o,a),a=a.return}Jr=e;var s=Ps(e.current,null);return yn=s,Xn=Nl=t,Kn=bo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,Ri=null,_b(),Na.discardPendingWarnings(),s}function lR(e,t){do{var i=yn;try{if(Nv(),UE(),sn(),DS.current=null,i===null||i.return===null){Kn=Ap,zp=t,yn=null;return}if(at&&i.mode&je&&dm(i,!0),gt)if(Kl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;Lh(i,a,Xn)}else Ec(i,t,Xn);ax(e,i.return,i,t,Xn),cR(i)}catch(o){t=o,yn===i&&i!==null?(i=i.return,yn=i):i=yn;continue}return}while(!0)}function oR(){var e=TS.current;return TS.current=om,e===null?om:e}function uR(e){TS.current=e}function UT(){MS=rn()}function Pp(e){Sm=Ze(e,Sm)}function FT(){Kn===bo&&(Kn=gm)}function VS(){(Kn===bo||Kn===gm||Kn===Hs)&&(Kn=Np),Jr!==null&&(fs(Sm)||fs(Up))&&Nu(Jr,Xn)}function HT(e){Kn!==Np&&(Kn=Hs),Fp===null?Fp=[e]:Fp.push(e)}function VT(){return Kn===bo}function Dm(e,t){var i=pt;pt|=gr;var a=oR();if(Jr!==e||Xn!==t){if(Pn){var o=e.memoizedUpdaters;o.size>0&&($p(e,Xn),o.clear()),$c(e,t)}xo=Ad(),js(e,t)}Vi(t);do try{jT();break}catch(s){lR(e,s)}while(!0);if(Nv(),pt=i,uR(a),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 Jo(),Jr=null,Xn=W,Kn}function jT(){for(;yn!==null;)sR(yn)}function BT(e,t){var i=pt;pt|=gr;var a=oR();if(Jr!==e||Xn!==t){if(Pn){var o=e.memoizedUpdaters;o.size>0&&($p(e,Xn),o.clear()),$c(e,t)}xo=Ad(),Hp(),js(e,t)}Vi(t);do try{PT();break}catch(s){lR(e,s)}while(!0);return Nv(),uR(a),pt=i,yn!==null?(ls(),bo):(Jo(),Jr=null,Xn=W,Kn)}function PT(){for(;yn!==null&&!vc();)sR(yn)}function sR(e){var t=e.alternate;Dt(e);var i;(e.mode&je)!==He?(eS(e),i=jS(t,e,Nl),dm(e,!0)):i=jS(t,e,Nl),sn(),e.memoizedProps=e.pendingProps,i===null?cR(e):yn=i,DS.current=null}function cR(e){var t=e;do{var i=t.alternate,a=t.return;if((t.flags&Yr)===ze){Dt(t);var o=void 0;if((t.mode&je)===He?o=A0(i,t,Nl):(eS(t),o=A0(i,t,Nl),dm(t,!1)),sn(),o!==null){yn=o;return}}else{var s=Fx(i,t);if(s!==null){s.flags&=wh,yn=s;return}if((t.mode&je)!==He){dm(t,!1);for(var d=t.actualDuration,v=t.child;v!==null;)d+=v.actualDuration,v=v.sibling;t.actualDuration=d}if(a!==null)a.flags|=Yr,a.subtreeFlags=ze,a.deletions=null;else{Kn=_S,yn=null;return}}var m=t.sibling;if(m!==null){yn=m;return}t=a,yn=t}while(t!==null);Kn===bo&&(Kn=q0)}function Bs(e,t,i){var a=vi(),o=yr.transition;try{yr.transition=null,Tn(tr),$T(e,t,i,a)}finally{yr.transition=o,Tn(a)}return null}function $T(e,t,i,a){do Do();while(Lu!==null);if(eD(),(pt&(gr|sa))!==Qn)throw new Error("Should not already be working.");var o=e.finishedWork,s=e.finishedLanes;if(gc(s),o===null)return Cd(),null;if(s===W&&C("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=W,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=dt;var d=Ze(o.lanes,o.childLanes);Od(e,d),e===Jr&&(Jr=null,yn=null,Xn=W),((o.subtreeFlags&fi)!==ze||(o.flags&fi)!==ze)&&(Vs||(Vs=!0,AS=i,$S(Ji,function(){return Do(),null})));var v=(o.subtreeFlags&(Ko|Nr|er|fi))!==ze,m=(o.flags&(Ko|Nr|er|fi))!==ze;if(v||m){var E=yr.transition;yr.transition=null;var w=vi();Tn(tr);var O=pt;pt|=sa,DS.current=null,Px(e,o),o0(),nT(e,o,s),n1(e.containerInfo),e.current=o,Ah(s),rT(o,e,s),Zo(),Th(),pt=O,Tn(w),yr.transition=E}else e.current=o,o0();var k=Vs;if(Vs?(Vs=!1,Lu=e,Vp=s):(Af=0,wm=null),d=e.pendingLanes,d===W&&(Lf=null),k||hR(e.current,!1),ba(o.stateNode,a),Pn&&e.memoizedUpdaters.clear(),RT(),wi(e,rn()),t!==null)for(var U=e.onRecoverableError,H=0;H<t.length;H++){var P=t[H],me=P.stack,Ue=P.digest;U(P.value,{componentStack:me,digest:Ue})}if(Em){Em=!1;var Me=OS;throw OS=null,Me}return Hr(Vp,Be)&&e.tag!==Ru&&Do(),d=e.pendingLanes,Hr(d,Be)?(Zb(),e===NS?jp++:(jp=0,NS=e)):jp=0,wu(),Cd(),null}function Do(){if(Lu!==null){var e=vs(Vp),t=iy(Da,e),i=yr.transition,a=vi();try{return yr.transition=null,Tn(t),WT()}finally{Tn(a),yr.transition=i}}return!1}function IT(e){LS.push(e),Vs||(Vs=!0,$S(Ji,function(){return Do(),null}))}function WT(){if(Lu===null)return!1;var e=AS;AS=null;var t=Lu,i=Vp;if(Lu=null,Vp=W,(pt&(gr|sa))!==Qn)throw new Error("Cannot flush passive effects while already rendering.");zS=!0,Rm=!1,Nh(i);var a=pt;pt|=sa,cT(t.current),lT(t,t.current,i,e);{var o=LS;LS=[];for(var s=0;s<o.length;s++){var d=o[s];Yx(t,d)}}as(),hR(t.current,!0),pt=a,wu(),Rm?t===wm?Af++:(Af=0,wm=t):Af=0,zS=!1,Rm=!1,hl(t);{var v=t.current.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}return!0}function fR(e){return Lf!==null&&Lf.has(e)}function YT(e){Lf===null?Lf=new Set([e]):Lf.add(e)}function GT(e){Em||(Em=!0,OS=e)}var QT=GT;function dR(e,t,i){var a=Us(i,t),o=s0(e,a,Be),s=xu(e,o,Be),d=ei();s!==null&&(lo(s,Be,d),wi(s,d))}function Kt(e,t,i){if(Vx(i),Ip(!1),e.tag===J){dR(e,e,i);return}var a=null;for(a=t;a!==null;){if(a.tag===J){dR(a,e,i);return}else if(a.tag===K){var o=a.type,s=a.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!fR(s)){var d=Us(i,e),v=lS(a,d,Be),m=xu(a,v,Be),E=ei();m!==null&&(lo(m,Be,E),wi(m,E));return}}a=a.return}C(`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.
|
|
197
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:R=" You returned: "+v,C("%s must not return anything besides a function, which is used for clean-up.%s",m,R)}}}s=s.next}while(s!==o)}}function Qx(e,t){if((t.flags&Je)!==ze)switch(t.tag){case $e:{var i=t.stateNode.passiveEffectDuration,a=t.memoizedProps,o=a.id,s=a.onPostCommit,d=l0(),v=t.alternate===null?"mount":"update";a0()&&(v="nested-update"),typeof s=="function"&&s(o,v,i,d);var m=t.return;e:for(;m!==null;){switch(m.tag){case Z:var R=m.stateNode;R.passiveEffectDuration+=i;break e;case $e:var w=m.stateNode;w.passiveEffectDuration+=i;break e}m=m.return}break}}}function Xx(e,t,i,a){if((i.flags&er)!==ze)switch(i.tag){case z:case _e:case Oe:{if(!vr)if(i.mode&je)try{Al(),Ou(Wn|$n,i)}finally{Ol(i)}else Ou(Wn|$n,i);break}case $:{var o=i.stateNode;if(i.flags&Je&&!vr)if(t===null)if(i.type===i.elementType&&!Hs&&(o.props!==i.memoizedProps&&C("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(i)||"instance"),o.state!==i.memoizedState&&C("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(i)||"instance")),i.mode&je)try{Al(),o.componentDidMount()}finally{Ol(i)}else o.componentDidMount();else{var s=i.elementType===i.type?t.memoizedProps:za(i.type,t.memoizedProps),d=t.memoizedState;if(i.type===i.elementType&&!Hs&&(o.props!==i.memoizedProps&&C("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(i)||"instance"),o.state!==i.memoizedState&&C("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(i)||"instance")),i.mode&je)try{Al(),o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}finally{Ol(i)}else o.componentDidUpdate(s,d,o.__reactInternalSnapshotBeforeUpdate)}var v=i.updateQueue;v!==null&&(i.type===i.elementType&&!Hs&&(o.props!==i.memoizedProps&&C("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(i)||"instance"),o.state!==i.memoizedState&&C("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(i)||"instance")),SE(i,v,o));break}case Z:{var m=i.updateQueue;if(m!==null){var R=null;if(i.child!==null)switch(i.child.tag){case te:R=i.child.stateNode;break;case $:R=i.child.stateNode;break}SE(i,m,R)}break}case te:{var w=i.stateNode;if(t===null&&i.flags&Je){var O=i.type,k=i.memoizedProps;hb(w,O,k)}break}case re:break;case ae:break;case $e:{{var F=i.memoizedProps,V=F.onCommit,j=F.onRender,ge=i.stateNode.effectDuration,Fe=l0(),Me=t===null?"mount":"update";a0()&&(Me="nested-update"),typeof j=="function"&&j(i.memoizedProps.id,Me,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Fe);{typeof V=="function"&&V(i.memoizedProps.id,Me,ge,Fe),YT(i);var vt=i.return;e:for(;vt!==null;){switch(vt.tag){case Z:var st=vt.stateNode;st.effectDuration+=ge;break e;case $e:var L=vt.stateNode;L.effectDuration+=ge;break e}vt=vt.return}}}break}case pe:{rT(e,i);break}case yt:case kt:case un:case Te:case dt:case Dt: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||i.flags&Or&&V0(i)}function Kx(e){switch(e.tag){case z:case _e:case Oe:{if(e.mode&je)try{Al(),U0(e,e.return)}finally{Ol(e)}else U0(e,e.return);break}case $:{var t=e.stateNode;typeof t.componentDidMount=="function"&&Ix(e,e.return,t),F0(e,e.return);break}case te:{F0(e,e.return);break}}}function qx(e,t){for(var i=null,a=e;;){if(a.tag===te){if(i===null){i=a;try{var o=a.stateNode;t?bb(o):Tb(a.stateNode,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}}else if(a.tag===re){if(i===null)try{var s=a.stateNode;t?xb(s):Db(s,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}else if(!((a.tag===Te||a.tag===dt)&&a.memoizedState!==null&&a!==e)){if(a.child!==null){a.child.return=a,a=a.child;continue}}if(a===e)return;for(;a.sibling===null;){if(a.return===null||a.return===e)return;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}}function V0(e){var t=e.ref;if(t!==null){var i=e.stateNode,a;switch(e.tag){case te:a=i;break;default:a=i}if(typeof t=="function"){var o;if(e.mode&je)try{Al(),o=t(a)}finally{Ol(e)}else o=t(a);typeof o=="function"&&C("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Xe(e))}else t.hasOwnProperty("current")||C("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Xe(e)),t.current=a}}function Zx(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function B0(e){var t=e.alternate;t!==null&&(e.alternate=null,B0(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===te){var i=e.stateNode;i!==null&&a1(i)}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 Jx(e){for(var t=e.return;t!==null;){if(P0(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 P0(e){return e.tag===te||e.tag===Z||e.tag===ae}function j0(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||P0(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==te&&t.tag!==re&&t.tag!==Tt;){if(t.flags&Yt||t.child===null||t.tag===ae)continue e;t.child.return=t,t=t.child}if(!(t.flags&Yt))return t.stateNode}}function eT(e){var t=Jx(e);switch(t.tag){case te:{var i=t.stateNode;t.flags&Ot&&(IC(i),t.flags&=~Ot);var a=j0(e);bS(e,a,i);break}case Z:case ae:{var o=t.stateNode.containerInfo,s=j0(e);wS(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 wS(e,t,i){var a=e.tag,o=a===te||a===re;if(o){var s=e.stateNode;t?Cb(i,s,t):gb(i,s)}else if(a!==ae){var d=e.child;if(d!==null){wS(d,t,i);for(var v=d.sibling;v!==null;)wS(v,t,i),v=v.sibling}}}function bS(e,t,i){var a=e.tag,o=a===te||a===re;if(o){var s=e.stateNode;t?Sb(i,s,t):yb(i,s)}else if(a!==ae){var d=e.child;if(d!==null){bS(d,t,i);for(var v=d.sibling;v!==null;)bS(v,t,i),v=v.sibling}}}var mr=null,Ba=!1;function tT(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case te:{mr=a.stateNode,Ba=!1;break e}case Z:{mr=a.stateNode.containerInfo,Ba=!0;break e}case ae:{mr=a.stateNode.containerInfo,Ba=!0;break e}}a=a.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.");I0(e,t,i),mr=null,Ba=!1}Zx(i)}function Au(e,t,i){for(var a=i.child;a!==null;)I0(e,t,a),a=a.sibling}function I0(e,t,i){switch(Sd(i),i.tag){case te:vr||Of(i,t);case re:{{var a=mr,o=Ba;mr=null,Au(e,t,i),mr=a,Ba=o,mr!==null&&(Ba?Rb(mr,i.stateNode):Eb(mr,i.stateNode))}return}case Tt:{mr!==null&&(Ba?wb(mr,i.stateNode):zy(mr,i.stateNode));return}case ae:{{var s=mr,d=Ba;mr=i.stateNode.containerInfo,Ba=!0,Au(e,t,i),mr=s,Ba=d}return}case z:case _e:case xe:case Oe:{if(!vr){var v=i.updateQueue;if(v!==null){var m=v.lastEffect;if(m!==null){var R=m.next,w=R;do{var O=w,k=O.destroy,F=O.tag;k!==void 0&&((F&_l)!==Ei?ym(i,t,k):(F&Wn)!==Ei&&(Cc(i),i.mode&je?(Al(),ym(i,t,k),Ol(i)):ym(i,t,k),Zo())),w=w.next}while(w!==R)}}}Au(e,t,i);return}case $:{if(!vr){Of(i,t);var V=i.stateNode;typeof V.componentWillUnmount=="function"&&RS(i,t,V)}Au(e,t,i);return}case un:{Au(e,t,i);return}case Te:{if(i.mode&at){var j=vr;vr=j||i.memoizedState!==null,Au(e,t,i),vr=j}else Au(e,t,i);break}default:{Au(e,t,i);return}}}function nT(e){e.memoizedState}function rT(e,t){var i=t.memoizedState;if(i===null){var a=t.alternate;if(a!==null){var o=a.memoizedState;if(o!==null){var s=o.dehydrated;s!==null&&jb(s)}}}}function $0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Bx),t.forEach(function(a){var o=JT.bind(null,e,a);if(!i.has(a)){if(i.add(a),jn)if(kf!==null&&Mf!==null)Ip(Mf,kf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");a.then(o,o)}})}}function iT(e,t,i){kf=i,Mf=e,Mt(t),W0(t,e),Mt(t),kf=null,Mf=null}function Pa(e,t,i){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];try{tT(e,t,s)}catch(m){Kt(s,t,m)}}var d=qs();if(t.subtreeFlags&Nr)for(var v=t.child;v!==null;)Mt(v),W0(v,e),v=v.sibling;Mt(d)}function W0(e,t,i){var a=e.alternate,o=e.flags;switch(e.tag){case z:case _e:case xe:case Oe:{if(Pa(t,e),Ll(e),o&Je){try{Va(_l|$n,e,e.return),Ou(_l|$n,e)}catch(We){Kt(e,e.return,We)}if(e.mode&je){try{Al(),Va(Wn|$n,e,e.return)}catch(We){Kt(e,e.return,We)}Ol(e)}else try{Va(Wn|$n,e,e.return)}catch(We){Kt(e,e.return,We)}}return}case $:{Pa(t,e),Ll(e),o&Or&&a!==null&&Of(a,a.return);return}case te:{Pa(t,e),Ll(e),o&Or&&a!==null&&Of(a,a.return);{if(e.flags&Ot){var s=e.stateNode;try{IC(s)}catch(We){Kt(e,e.return,We)}}if(o&Je){var d=e.stateNode;if(d!=null){var v=e.memoizedProps,m=a!==null?a.memoizedProps:v,R=e.type,w=e.updateQueue;if(e.updateQueue=null,w!==null)try{vb(d,w,R,m,v,e)}catch(We){Kt(e,e.return,We)}}}}return}case re:{if(Pa(t,e),Ll(e),o&Je){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,k=e.memoizedProps,F=a!==null?a.memoizedProps:k;try{mb(O,F,k)}catch(We){Kt(e,e.return,We)}}return}case Z:{if(Pa(t,e),Ll(e),o&Je&&a!==null){var V=a.memoizedState;if(V.isDehydrated)try{Pb(t.containerInfo)}catch(We){Kt(e,e.return,We)}}return}case ae:{Pa(t,e),Ll(e);return}case pe:{Pa(t,e),Ll(e);var j=e.child;if(j.flags&cl){var ge=j.stateNode,Fe=j.memoizedState,Me=Fe!==null;if(ge.isHidden=Me,Me){var vt=j.alternate!==null&&j.alternate.memoizedState!==null;vt||HT()}}if(o&Je){try{nT(e)}catch(We){Kt(e,e.return,We)}$0(e)}return}case Te:{var st=a!==null&&a.memoizedState!==null;if(e.mode&at){var L=vr;vr=L||st,Pa(t,e),vr=L}else Pa(t,e);if(Ll(e),o&cl){var I=e.stateNode,N=e.memoizedState,ee=N!==null,Se=e;if(I.isHidden=ee,ee&&!st&&(Se.mode&at)!==Ve){we=Se;for(var he=Se.child;he!==null;)we=he,lT(he),he=he.sibling}qx(Se,ee)}return}case yt:{Pa(t,e),Ll(e),o&Je&&$0(e);return}case un:return;default:{Pa(t,e),Ll(e);return}}}function Ll(e){var t=e.flags;if(t&Yt){try{eT(e)}catch(i){Kt(e,e.return,i)}e.flags&=~Yt}t&ci&&(e.flags&=~ci)}function aT(e,t,i){kf=i,Mf=t,we=e,Y0(e,t,i),kf=null,Mf=null}function Y0(e,t,i){for(var a=(e.mode&at)!==Ve;we!==null;){var o=we,s=o.child;if(o.tag===Te&&a){var d=o.memoizedState!==null,v=d||mm;if(v){xS(e,t,i);continue}else{var m=o.alternate,R=m!==null&&m.memoizedState!==null,w=R||vr,O=mm,k=vr;mm=v,vr=w,vr&&!k&&(we=o,oT(o));for(var F=s;F!==null;)we=F,Y0(F,t,i),F=F.sibling;we=o,mm=O,vr=k,xS(e,t,i);continue}}(o.subtreeFlags&er)!==ze&&s!==null?(s.return=o,we=s):xS(e,t,i)}}function xS(e,t,i){for(;we!==null;){var a=we;if((a.flags&er)!==ze){var o=a.alternate;Mt(a);try{Xx(t,o,a,i)}catch(d){Kt(a,a.return,d)}cn()}if(a===e){we=null;return}var s=a.sibling;if(s!==null){s.return=a.return,we=s;return}we=a.return}}function lT(e){for(;we!==null;){var t=we,i=t.child;switch(t.tag){case z:case _e:case xe:case Oe:{if(t.mode&je)try{Al(),Va(Wn,t,t.return)}finally{Ol(t)}else Va(Wn,t,t.return);break}case $:{Of(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&RS(t,t.return,a);break}case te:{Of(t,t.return);break}case Te:{var o=t.memoizedState!==null;if(o){G0(e);continue}break}}i!==null?(i.return=t,we=i):G0(e)}}function G0(e){for(;we!==null;){var t=we;if(t===e){we=null;return}var i=t.sibling;if(i!==null){i.return=t.return,we=i;return}we=t.return}}function oT(e){for(;we!==null;){var t=we,i=t.child;if(t.tag===Te){var a=t.memoizedState!==null;if(a){Q0(e);continue}}i!==null?(i.return=t,we=i):Q0(e)}}function Q0(e){for(;we!==null;){var t=we;Mt(t);try{Kx(t)}catch(a){Kt(t,t.return,a)}if(cn(),t===e){we=null;return}var i=t.sibling;if(i!==null){i.return=t.return,we=i;return}we=t.return}}function uT(e,t,i,a){we=t,sT(t,e,i,a)}function sT(e,t,i,a){for(;we!==null;){var o=we,s=o.child;(o.subtreeFlags&fi)!==ze&&s!==null?(s.return=o,we=s):cT(e,t,i,a)}}function cT(e,t,i,a){for(;we!==null;){var o=we;if((o.flags&Jt)!==ze){Mt(o);try{fT(t,o,i,a)}catch(d){Kt(o,o.return,d)}cn()}if(o===e){we=null;return}var s=o.sibling;if(s!==null){s.return=o.return,we=s;return}we=o.return}}function fT(e,t,i,a){switch(t.tag){case z:case _e:case Oe:{if(t.mode&je){nS();try{Ou(pr|$n,t)}finally{tS(t)}}else Ou(pr|$n,t);break}}}function dT(e){we=e,pT()}function pT(){for(;we!==null;){var e=we,t=e.child;if((we.flags&_t)!==ze){var i=e.deletions;if(i!==null){for(var a=0;a<i.length;a++){var o=i[a];we=o,mT(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)}}}we=e}}(e.subtreeFlags&fi)!==ze&&t!==null?(t.return=e,we=t):hT()}}function hT(){for(;we!==null;){var e=we;(e.flags&Jt)!==ze&&(Mt(e),vT(e),cn());var t=e.sibling;if(t!==null){t.return=e.return,we=t;return}we=e.return}}function vT(e){switch(e.tag){case z:case _e:case Oe:{e.mode&je?(nS(),Va(pr|$n,e,e.return),tS(e)):Va(pr|$n,e,e.return);break}}}function mT(e,t){for(;we!==null;){var i=we;Mt(i),gT(i,t),cn();var a=i.child;a!==null?(a.return=i,we=a):yT(e)}}function yT(e){for(;we!==null;){var t=we,i=t.sibling,a=t.return;if(B0(t),t===e){we=null;return}if(i!==null){i.return=a,we=i;return}we=a}}function gT(e,t){switch(e.tag){case z:case _e:case Oe:{e.mode&je?(nS(),Va(pr,e,t),tS(e)):Va(pr,e,t);break}}}function ST(e){switch(e.tag){case z:case _e:case Oe:{try{Ou(Wn|$n,e)}catch(i){Kt(e,e.return,i)}break}case $:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Kt(e,e.return,i)}break}}}function CT(e){switch(e.tag){case z:case _e:case Oe:{try{Ou(pr|$n,e)}catch(t){Kt(e,e.return,t)}break}}}function ET(e){switch(e.tag){case z:case _e:case Oe:{try{Va(Wn|$n,e,e.return)}catch(i){Kt(e,e.return,i)}break}case $:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&RS(e,e.return,t);break}}}function RT(e){switch(e.tag){case z:case _e:case Oe:try{Va(pr|$n,e,e.return)}catch(t){Kt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Ap=Symbol.for;Ap("selector.component"),Ap("selector.has_pseudo_class"),Ap("selector.role"),Ap("selector.test_id"),Ap("selector.text")}var wT=[];function bT(){wT.forEach(function(e){return e()})}var xT=p.ReactCurrentActQueue;function TT(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function X0(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&xT.current!==null&&C("The current testing environment is not configured to support act(...)"),e}}var DT=Math.ceil,TS=p.ReactCurrentDispatcher,DS=p.ReactCurrentOwner,yr=p.ReactCurrentBatchConfig,ja=p.ReactCurrentActQueue,Qn=0,K0=1,gr=2,sa=4,bo=0,Lp=1,Vs=2,gm=3,Np=4,q0=5,_S=6,ht=Qn,Jr=null,gn=null,Xn=W,Nl=W,kS=Ru(W),Kn=bo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,Ri=null,MS=0,Z0=500,J0=1/0,_T=500,xo=null;function Hp(){J0=rn()+_T}function eR(){return J0}var Em=!1,OS=null,Af=null,Bs=!1,Lu=null,Vp=W,AS=[],LS=null,kT=50,Bp=0,NS=null,zS=!1,Rm=!1,MT=50,Lf=0,wm=null,Pp=Pt,bm=W,tR=!1;function xm(){return Jr}function ei(){return(ht&(gr|sa))!==Qn?rn():(Pp!==Pt||(Pp=rn()),Pp)}function Nu(e){var t=e.mode;if((t&at)===Ve)return Ie;if((ht&gr)!==Qn&&Xn!==W)return xn(Xn);var i=T1()!==x1;if(i){if(yr.transition!==null){var a=yr.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return bm===pt&&(bm=Dd()),bm}var o=vi();if(o!==pt)return o;var s=cb();return s}function OT(e){var t=e.mode;return(t&at)===Ve?Ie:ny()}function qn(e,t,i,a){tD(),tR&&C("useInsertionEffect must not schedule updates."),zS&&(Rm=!0),lo(e,i,a),(ht&gr)!==W&&e===Jr?iD(t):(jn&&Ad(e,t,i),aD(t),e===Jr&&((ht&gr)===Qn&&(Up=et(Up,i)),Kn===Np&&zu(e,Xn)),wi(e,a),i===Ie&&ht===Qn&&(t.mode&at)===Ve&&!ja.isBatchingLegacy&&(Hp(),eE()))}function AT(e,t,i){var a=e.current;a.lanes=t,lo(e,t,i),wi(e,i)}function LT(e){return(ht&gr)!==Qn}function wi(e,t){var i=e.callbackNode;Jm(e,t);var a=fs(e,e===Jr?Xn:W);if(a===W){i!==null&&yR(i),e.callbackNode=null,e.callbackPriority=pt;return}var o=Cn(a),s=e.callbackPriority;if(s===o&&!(ja.current!==null&&i!==jS)){i==null&&s!==Ie&&C("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&yR(i);var d;if(o===Ie)e.tag===wu?(ja.isBatchingLegacy!==null&&(ja.didScheduleLegacyUpdate=!0),u1(iR.bind(null,e))):JC(iR.bind(null,e)),ja.current!==null?ja.current.push(bu):db(function(){(ht&(gr|sa))===Qn&&bu()}),d=null;else{var v;switch(ms(a)){case tr:v=mc;break;case In:v=Xr;break;case Da:v=Ji;break;case hs:v=dl;break;default:v=Ji;break}d=IS(v,nR.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function nR(e,t){if(tx(),Pp=Pt,bm=W,(ht&(gr|sa))!==Qn)throw new Error("Should not already be working.");var i=e.callbackNode,a=Do();if(a&&e.callbackNode!==i)return null;var o=fs(e,e===Jr?Xn:W);if(o===W)return null;var s=!ps(e,o)&&!Fh(e,o)&&!t,d=s?IT(e,o):Dm(e,o);if(d!==bo){if(d===Vs){var v=xd(e);v!==W&&(o=v,d=US(e,v))}if(d===Lp){var m=zp;throw Ps(e,W),zu(e,o),wi(e,rn()),m}if(d===_S)zu(e,o);else{var R=!ps(e,o),w=e.current.alternate;if(R&&!zT(w)){if(d=Dm(e,o),d===Vs){var O=xd(e);O!==W&&(o=O,d=US(e,O))}if(d===Lp){var k=zp;throw Ps(e,W),zu(e,o),wi(e,rn()),k}}e.finishedWork=w,e.finishedLanes=o,NT(e,d,o)}}return wi(e,rn()),e.callbackNode===i?nR.bind(null,e):null}function US(e,t){var i=Fp;if(Dn(e)){var a=Ps(e,t);a.flags|=fn,t1(e.containerInfo)}var o=Dm(e,t);if(o!==Vs){var s=Ri;Ri=i,s!==null&&rR(s)}return o}function rR(e){Ri===null?Ri=e:Ri.push.apply(Ri,e)}function NT(e,t,i){switch(t){case bo:case Lp:throw new Error("Root did not complete. This is a bug in React.");case Vs:{js(e,Ri,xo);break}case gm:{if(zu(e,i),Bc(i)&&!gR()){var a=MS+Z0-rn();if(a>10){var o=fs(e,W);if(o!==W)break;var s=e.suspendedLanes;if(!ao(s,i)){ei(),Md(e,s);break}e.timeoutHandle=Ly(js.bind(null,e,Ri,xo),a);break}}js(e,Ri,xo);break}case Np:{if(zu(e,i),Uh(i))break;if(!gR()){var d=zh(e,i),v=d,m=rn()-v,R=eD(m)-m;if(R>10){e.timeoutHandle=Ly(js.bind(null,e,Ri,xo),R);break}}js(e,Ri,xo);break}case q0:{js(e,Ri,xo);break}default:throw new Error("Unknown root exit status.")}}function zT(e){for(var t=e;;){if(t.flags&is){var i=t.updateQueue;if(i!==null){var a=i.stores;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o],d=s.getSnapshot,v=s.value;try{if(!Re(d(),v))return!1}catch{return!1}}}}var m=t.child;if(t.subtreeFlags&is&&m!==null){m.return=t,t=m;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 zu(e,t){t=au(t,Cm),t=au(t,Up),kd(e,t)}function iR(e){if(nx(),(ht&(gr|sa))!==Qn)throw new Error("Should not already be working.");Do();var t=fs(e,W);if(!Hr(t,Ie))return wi(e,rn()),null;var i=Dm(e,t);if(e.tag!==wu&&i===Vs){var a=xd(e);a!==W&&(t=a,i=US(e,a))}if(i===Lp){var o=zp;throw Ps(e,W),zu(e,t),wi(e,rn()),o}if(i===_S)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,js(e,Ri,xo),wi(e,rn()),null}function UT(e,t){t!==W&&(lu(e,et(t,Ie)),wi(e,rn()),(ht&(gr|sa))===Qn&&(Hp(),bu()))}function FS(e,t){var i=ht;ht|=K0;try{return e(t)}finally{ht=i,ht===Qn&&!ja.isBatchingLegacy&&(Hp(),eE())}}function FT(e,t,i,a,o){var s=vi(),d=yr.transition;try{return yr.transition=null,Tn(tr),e(t,i,a,o)}finally{Tn(s),yr.transition=d,ht===Qn&&Hp()}}function To(e){Lu!==null&&Lu.tag===wu&&(ht&(gr|sa))===Qn&&Do();var t=ht;ht|=K0;var i=yr.transition,a=vi();try{return yr.transition=null,Tn(tr),e?e():void 0}finally{Tn(a),yr.transition=i,ht=t,(ht&(gr|sa))===Qn&&bu()}}function aR(){return(ht&(gr|sa))!==Qn}function Tm(e,t){Br(kS,Nl,e),Nl=et(Nl,t)}function HS(e){Nl=kS.current,Vr(kS,e)}function Ps(e,t){e.finishedWork=null,e.finishedLanes=W;var i=e.timeoutHandle;if(i!==Ny&&(e.timeoutHandle=Ny,fb(i)),gn!==null)for(var a=gn.return;a!==null;){var o=a.alternate;N0(o,a),a=a.return}Jr=e;var s=Is(e.current,null);return gn=s,Xn=Nl=t,Kn=bo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,Ri=null,M1(),Na.discardPendingWarnings(),s}function lR(e,t){do{var i=gn;try{if(Nv(),UE(),cn(),DS.current=null,i===null||i.return===null){Kn=Lp,zp=t,gn=null;return}if(ot&&i.mode&je&&dm(i,!0),Ct)if(Kl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;Ah(i,a,Xn)}else Ec(i,t,Xn);ox(e,i.return,i,t,Xn),cR(i)}catch(o){t=o,gn===i&&i!==null?(i=i.return,gn=i):i=gn;continue}return}while(!0)}function oR(){var e=TS.current;return TS.current=om,e===null?om:e}function uR(e){TS.current=e}function HT(){MS=rn()}function jp(e){Sm=et(e,Sm)}function VT(){Kn===bo&&(Kn=gm)}function VS(){(Kn===bo||Kn===gm||Kn===Vs)&&(Kn=Np),Jr!==null&&(ds(Sm)||ds(Up))&&zu(Jr,Xn)}function BT(e){Kn!==Np&&(Kn=Vs),Fp===null?Fp=[e]:Fp.push(e)}function PT(){return Kn===bo}function Dm(e,t){var i=ht;ht|=gr;var a=oR();if(Jr!==e||Xn!==t){if(jn){var o=e.memoizedUpdaters;o.size>0&&(Ip(e,Xn),o.clear()),Ic(e,t)}xo=Ld(),Ps(e,t)}Vi(t);do try{jT();break}catch(s){lR(e,s)}while(!0);if(Nv(),ht=i,uR(a),gn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return eu(),Jr=null,Xn=W,Kn}function jT(){for(;gn!==null;)sR(gn)}function IT(e,t){var i=ht;ht|=gr;var a=oR();if(Jr!==e||Xn!==t){if(jn){var o=e.memoizedUpdaters;o.size>0&&(Ip(e,Xn),o.clear()),Ic(e,t)}xo=Ld(),Hp(),Ps(e,t)}Vi(t);do try{$T();break}catch(s){lR(e,s)}while(!0);return Nv(),uR(a),ht=i,gn!==null?(os(),bo):(eu(),Jr=null,Xn=W,Kn)}function $T(){for(;gn!==null&&!vc();)sR(gn)}function sR(e){var t=e.alternate;Mt(e);var i;(e.mode&je)!==Ve?(eS(e),i=BS(t,e,Nl),dm(e,!0)):i=BS(t,e,Nl),cn(),e.memoizedProps=e.pendingProps,i===null?cR(e):gn=i,DS.current=null}function cR(e){var t=e;do{var i=t.alternate,a=t.return;if((t.flags&Yr)===ze){Mt(t);var o=void 0;if((t.mode&je)===Ve?o=L0(i,t,Nl):(eS(t),o=L0(i,t,Nl),dm(t,!1)),cn(),o!==null){gn=o;return}}else{var s=Vx(i,t);if(s!==null){s.flags&=wh,gn=s;return}if((t.mode&je)!==Ve){dm(t,!1);for(var d=t.actualDuration,v=t.child;v!==null;)d+=v.actualDuration,v=v.sibling;t.actualDuration=d}if(a!==null)a.flags|=Yr,a.subtreeFlags=ze,a.deletions=null;else{Kn=_S,gn=null;return}}var m=t.sibling;if(m!==null){gn=m;return}t=a,gn=t}while(t!==null);Kn===bo&&(Kn=q0)}function js(e,t,i){var a=vi(),o=yr.transition;try{yr.transition=null,Tn(tr),WT(e,t,i,a)}finally{yr.transition=o,Tn(a)}return null}function WT(e,t,i,a){do Do();while(Lu!==null);if(nD(),(ht&(gr|sa))!==Qn)throw new Error("Should not already be working.");var o=e.finishedWork,s=e.finishedLanes;if(gc(s),o===null)return Cd(),null;if(s===W&&C("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=W,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=et(o.lanes,o.childLanes);Od(e,d),e===Jr&&(Jr=null,gn=null,Xn=W),((o.subtreeFlags&fi)!==ze||(o.flags&fi)!==ze)&&(Bs||(Bs=!0,LS=i,IS(Ji,function(){return Do(),null})));var v=(o.subtreeFlags&(qo|Nr|er|fi))!==ze,m=(o.flags&(qo|Nr|er|fi))!==ze;if(v||m){var R=yr.transition;yr.transition=null;var w=vi();Tn(tr);var O=ht;ht|=sa,DS.current=null,$x(e,o),o0(),iT(e,o,s),ib(e.containerInfo),e.current=o,Lh(s),aT(o,e,s),Jo(),Th(),ht=O,Tn(w),yr.transition=R}else e.current=o,o0();var k=Bs;if(Bs?(Bs=!1,Lu=e,Vp=s):(Lf=0,wm=null),d=e.pendingLanes,d===W&&(Af=null),k||hR(e.current,!1),ba(o.stateNode,a),jn&&e.memoizedUpdaters.clear(),bT(),wi(e,rn()),t!==null)for(var F=e.onRecoverableError,V=0;V<t.length;V++){var j=t[V],ge=j.stack,Fe=j.digest;F(j.value,{componentStack:ge,digest:Fe})}if(Em){Em=!1;var Me=OS;throw OS=null,Me}return Hr(Vp,Ie)&&e.tag!==wu&&Do(),d=e.pendingLanes,Hr(d,Ie)?(ex(),e===NS?Bp++:(Bp=0,NS=e)):Bp=0,bu(),Cd(),null}function Do(){if(Lu!==null){var e=ms(Vp),t=iy(Da,e),i=yr.transition,a=vi();try{return yr.transition=null,Tn(t),GT()}finally{Tn(a),yr.transition=i}}return!1}function YT(e){AS.push(e),Bs||(Bs=!0,IS(Ji,function(){return Do(),null}))}function GT(){if(Lu===null)return!1;var e=LS;LS=null;var t=Lu,i=Vp;if(Lu=null,Vp=W,(ht&(gr|sa))!==Qn)throw new Error("Cannot flush passive effects while already rendering.");zS=!0,Rm=!1,Nh(i);var a=ht;ht|=sa,dT(t.current),uT(t,t.current,i,e);{var o=AS;AS=[];for(var s=0;s<o.length;s++){var d=o[s];Qx(t,d)}}ls(),hR(t.current,!0),ht=a,bu(),Rm?t===wm?Lf++:(Lf=0,wm=t):Lf=0,zS=!1,Rm=!1,hl(t);{var v=t.current.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}return!0}function fR(e){return Af!==null&&Af.has(e)}function QT(e){Af===null?Af=new Set([e]):Af.add(e)}function XT(e){Em||(Em=!0,OS=e)}var KT=XT;function dR(e,t,i){var a=Fs(i,t),o=s0(e,a,Ie),s=Tu(e,o,Ie),d=ei();s!==null&&(lo(s,Ie,d),wi(s,d))}function Kt(e,t,i){if(Px(i),$p(!1),e.tag===Z){dR(e,e,i);return}var a=null;for(a=t;a!==null;){if(a.tag===Z){dR(a,e,i);return}else if(a.tag===$){var o=a.type,s=a.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!fR(s)){var d=Fs(i,e),v=lS(a,d,Ie),m=Tu(a,v,Ie),R=ei();m!==null&&(lo(m,Ie,R),wi(m,R));return}}a=a.return}C(`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.
|
|
198
198
|
|
|
199
199
|
Error message:
|
|
200
200
|
|
|
201
|
-
%s`,i)}function
|
|
201
|
+
%s`,i)}function qT(e,t,i){var a=e.pingCache;a!==null&&a.delete(t);var o=ei();Md(e,i),lD(e),Jr===e&&ao(Xn,i)&&(Kn===Np||Kn===gm&&Bc(Xn)&&rn()-MS<Z0?Ps(e,W):Cm=et(Cm,i)),wi(e,o)}function pR(e,t){t===pt&&(t=OT(e));var i=ei(),a=Ci(e,t);a!==null&&(lo(a,t,i),wi(a,i))}function ZT(e){var t=e.memoizedState,i=pt;t!==null&&(i=t.retryLane),pR(e,i)}function JT(e,t){var i=pt,a;switch(e.tag){case pe:a=e.stateNode;var o=e.memoizedState;o!==null&&(i=o.retryLane);break;case yt:a=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),pR(e,i)}function eD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:DT(e/1960)*1960}function tD(){if(Bp>kT)throw Bp=0,NS=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.");Lf>MT&&(Lf=0,wm=null,C("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 nD(){Na.flushLegacyContextWarning(),Na.flushPendingUnsafeLifecycleWarnings()}function hR(e,t){Mt(e),_m(e,Lr,ET),t&&_m(e,Xl,RT),_m(e,Lr,ST),t&&_m(e,Xl,CT),cn()}function _m(e,t,i){for(var a=e,o=null;a!==null;){var s=a.subtreeFlags&t;a!==o&&a.child!==null&&s!==ze?a=a.child:((a.flags&t)!==ze&&i(a),a.sibling!==null?a=a.sibling:a=o=a.return)}}var km=null;function vR(e){{if((ht&gr)!==Qn||!(e.mode&at))return;var t=e.tag;if(t!==oe&&t!==Z&&t!==$&&t!==z&&t!==_e&&t!==xe&&t!==Oe)return;var i=Xe(e)||"ReactComponent";if(km!==null){if(km.has(i))return;km.add(i)}else km=new Set([i]);var a=nn;try{Mt(e),C("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{a?Mt(e):cn()}}}var BS;{var rD=null;BS=function(e,t,i){var a=wR(rD,t);try{return _0(e,t,i)}catch(s){if(m1()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(Nv(),UE(),N0(e,t),wR(t,a),t.mode&je&&eS(t),Ql(null,_0,null,e,t,i),qm()){var o=sd();typeof o=="object"&&o!==null&&o._suppressLogging&&typeof s=="object"&&s!==null&&!s._suppressLogging&&(s._suppressLogging=!0)}throw s}}}var mR=!1,PS;PS=new Set;function iD(e){if(_r&&!q1())switch(e.tag){case z:case _e:case Oe:{var t=gn&&Xe(gn)||"Unknown",i=t;if(!PS.has(i)){PS.add(i);var a=Xe(e)||"Unknown";C("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",a,t,t)}break}case $:{mR||(C("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),mR=!0);break}}}function Ip(e,t){if(jn){var i=e.memoizedUpdaters;i.forEach(function(a){Ad(e,a,t)})}}var jS={};function IS(e,t){{var i=ja.current;return i!==null?(i.push(t),jS):hc(e,t)}}function yR(e){if(e!==jS)return xh(e)}function gR(){return ja.current!==null}function aD(e){{if(e.mode&at){if(!X0())return}else if(!TT()||ht!==Qn||e.tag!==z&&e.tag!==_e&&e.tag!==Oe)return;if(ja.current===null){var t=nn;try{Mt(e),C(`An update to %s inside a test was not wrapped in act(...).
|
|
202
202
|
|
|
203
203
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
204
204
|
|
|
@@ -207,7 +207,7 @@ act(() => {
|
|
|
207
207
|
});
|
|
208
208
|
/* assert on the output */
|
|
209
209
|
|
|
210
|
-
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`,
|
|
210
|
+
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 lD(e){e.tag!==wu&&X0()&&ja.current===null&&C(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
211
211
|
|
|
212
212
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
213
213
|
|
|
@@ -216,12 +216,12 @@ act(() => {
|
|
|
216
216
|
});
|
|
217
217
|
/* assert on the output */
|
|
218
218
|
|
|
219
|
-
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
|
|
219
|
+
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 $p(e){tR=e}var ca=null,Nf=null,oD=function(e){ca=e};function zf(e){{if(ca===null)return e;var t=ca(e);return t===void 0?e:t.current}}function $S(e){return zf(e)}function WS(e){{if(ca===null)return e;var t=ca(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var i=zf(e.render);if(e.render!==i){var a={$$typeof:sn,render:i};return e.displayName!==void 0&&(a.displayName=e.displayName),a}}return e}return t.current}}function SR(e,t){{if(ca===null)return!1;var i=e.elementType,a=t.type,o=!1,s=typeof a=="object"&&a!==null?a.$$typeof:null;switch(e.tag){case $:{typeof a=="function"&&(o=!0);break}case z:{(typeof a=="function"||s===Bn)&&(o=!0);break}case _e:{(s===sn||s===Bn)&&(o=!0);break}case xe:case Oe:{(s===Ga||s===Bn)&&(o=!0);break}default:return!1}if(o){var d=ca(i);if(d!==void 0&&d===ca(a))return!0}return!1}}function CR(e){{if(ca===null||typeof WeakSet!="function")return;Nf===null&&(Nf=new WeakSet),Nf.add(e)}}var uD=function(e,t){{if(ca===null)return;var i=t.staleFamilies,a=t.updatedFamilies;Do(),To(function(){YS(e.current,a,i)})}},sD=function(e,t){{if(e.context!==Pi)return;Do(),To(function(){Wp(t,e,null,null)})}};function YS(e,t,i){{var a=e.alternate,o=e.child,s=e.sibling,d=e.tag,v=e.type,m=null;switch(d){case z:case Oe:case $:m=v;break;case _e:m=v.render;break}if(ca===null)throw new Error("Expected resolveFamily to be set during hot reload.");var R=!1,w=!1;if(m!==null){var O=ca(m);O!==void 0&&(i.has(O)?w=!0:t.has(O)&&(d===$?w=!0:R=!0))}if(Nf!==null&&(Nf.has(e)||a!==null&&Nf.has(a))&&(w=!0),w&&(e._debugNeedsRemount=!0),w||R){var k=Ci(e,Ie);k!==null&&qn(k,e,Ie,Pt)}o!==null&&!w&&YS(o,t,i),s!==null&&YS(s,t,i)}}var cD=function(e,t){{var i=new Set,a=new Set(t.map(function(o){return o.current}));return GS(e.current,a,i),i}};function GS(e,t,i){{var a=e.child,o=e.sibling,s=e.tag,d=e.type,v=null;switch(s){case z:case Oe:case $:v=d;break;case _e:v=d.render;break}var m=!1;v!==null&&t.has(v)&&(m=!0),m?fD(e,i):a!==null&&GS(a,t,i),o!==null&&GS(o,t,i)}}function fD(e,t){{var i=dD(e,t);if(i)return;for(var a=e;;){switch(a.tag){case te:t.add(a.stateNode);return;case ae:t.add(a.stateNode.containerInfo);return;case Z:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function dD(e,t){for(var i=e,a=!1;;){if(i.tag===te)a=!0,t.add(i.stateNode);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)return a;for(;i.sibling===null;){if(i.return===null||i.return===e)return a;i=i.return}i.sibling.return=i.return,i=i.sibling}return!1}var QS;{QS=!1;try{var ER=Object.preventExtensions({})}catch{QS=!0}}function pD(e,t,i,a){this.tag=e,this.key=i,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=a,this.flags=ze,this.subtreeFlags=ze,this.deletions=null,this.lanes=W,this.childLanes=W,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,!QS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var ji=function(e,t,i,a){return new pD(e,t,i,a)};function XS(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function hD(e){return typeof e=="function"&&!XS(e)&&e.defaultProps===void 0}function vD(e){if(typeof e=="function")return XS(e)?$:z;if(e!=null){var t=e.$$typeof;if(t===sn)return _e;if(t===Ga)return xe}return oe}function Is(e,t){var i=e.alternate;i===null?(i=ji(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i._debugSource=e._debugSource,i._debugOwner=e._debugOwner,i._debugHookTypes=e._debugHookTypes,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=ze,i.subtreeFlags=ze,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&Pn,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue;var a=e.dependencies;switch(i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.selfBaseDuration=e.selfBaseDuration,i.treeBaseDuration=e.treeBaseDuration,i._debugNeedsRemount=e._debugNeedsRemount,i.tag){case oe:case z:case Oe:i.type=zf(e.type);break;case $:i.type=$S(e.type);break;case _e:i.type=WS(e.type);break}return i}function mD(e,t){e.flags&=Pn|Yt;var i=e.alternate;if(i===null)e.childLanes=W,e.lanes=t,e.child=null,e.subtreeFlags=ze,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=ze,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type;var a=i.dependencies;e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=i.selfBaseDuration,e.treeBaseDuration=i.treeBaseDuration}return e}function yD(e,t,i){var a;return e===Tv?(a=at,t===!0&&(a|=an,a|=pi)):a=Ve,jn&&(a|=je),ji(Z,null,null,a)}function KS(e,t,i,a,o,s){var d=oe,v=e;if(typeof e=="function")XS(e)?(d=$,v=$S(v)):v=zf(v);else if(typeof e=="string")d=te;else e:switch(e){case Oi:return Uu(i.children,o,s,t);case Wa:d=de,o|=an,(o&at)!==Ve&&(o|=pi);break;case Ya:return gD(i,o,s,t);case ii:return SD(i,o,s,t);case Hl:return CD(i,o,s,t);case Vu:return RR(i,o,s,t);case Xs:case Gs:case Ff:case Hf:case Qs:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ao:d=tt;break e;case Hu:d=Ue;break e;case sn:d=_e,v=WS(v);break e;case Ga:d=xe;break e;case Bn:d=lt,v=null;break e}var m="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(m+=" 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 R=a?Xe(a):null;R&&(m+=`
|
|
220
220
|
|
|
221
|
-
Check the render method of \``+
|
|
221
|
+
Check the render method of \``+R+"`.")}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)+"."+m))}}var w=ji(d,i,t,o);return w.elementType=e,w.type=v,w.lanes=s,w._debugOwner=a,w}function qS(e,t,i){var a=null;a=e._owner;var o=e.type,s=e.key,d=e.props,v=KS(o,s,d,a,t,i);return v._debugSource=e._source,v._debugOwner=e._owner,v}function Uu(e,t,i,a){var o=ji(Be,e,a,t);return o.lanes=i,o}function gD(e,t,i,a){typeof e.id!="string"&&C('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=ji($e,e,a,t|je);return o.elementType=Ya,o.lanes=i,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function SD(e,t,i,a){var o=ji(pe,e,a,t);return o.elementType=ii,o.lanes=i,o}function CD(e,t,i,a){var o=ji(yt,e,a,t);return o.elementType=Hl,o.lanes=i,o}function RR(e,t,i,a){var o=ji(Te,e,a,t);o.elementType=Vu,o.lanes=i;var s={isHidden:!1};return o.stateNode=s,o}function ZS(e,t,i){var a=ji(re,e,null,t);return a.lanes=i,a}function ED(){var e=ji(te,null,null,Ve);return e.elementType="DELETED",e}function RD(e){var t=ji(Tt,null,null,Ve);return t.stateNode=e,t}function JS(e,t,i){var a=e.children!==null?e.children:[],o=ji(ae,a,e.key,t);return o.lanes=i,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function wR(e,t){return e===null&&(e=ji(oe,null,null,Ve)),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 wD(e,t,i,a,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Ny,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=pt,this.eventTimes=jc(W),this.expirationTimes=jc(Pt),this.pendingLanes=W,this.suspendedLanes=W,this.pingedLanes=W,this.expiredLanes=W,this.mutableReadLanes=W,this.finishedLanes=W,this.entangledLanes=W,this.entanglements=jc(W),this.identifierPrefix=a,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 Tv:this._debugRootType=i?"hydrateRoot()":"createRoot()";break;case wu:this._debugRootType=i?"hydrate()":"render()";break}}function bR(e,t,i,a,o,s,d,v,m,R){var w=new wD(e,t,i,v,m),O=yD(t,s);w.current=O,O.stateNode=w;{var k={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};O.memoizedState=k}return og(O),w}var eC="18.2.0";function bD(e,t,i){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return da(a),{$$typeof:Wr,key:a==null?null:""+a,children:e,containerInfo:t,implementation:i}}var tC,nC;tC=!1,nC={};function xR(e){if(!e)return Pi;var t=ui(e),i=o1(t);if(t.tag===$){var a=t.type;if(Dl(a))return qC(t,a,i)}return i}function xD(e,t){{var i=ui(e);if(i===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var o=di(i);if(o===null)return null;if(o.mode&an){var s=Xe(i)||"Component";if(!nC[s]){nC[s]=!0;var d=nn;try{Mt(o),i.mode&an?C("%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):C("%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 TR(e,t,i,a,o,s,d,v){var m=!1,R=null;return bR(e,t,m,R,i,a,o,s,d)}function DR(e,t,i,a,o,s,d,v,m,R){var w=!0,O=bR(i,a,w,e,o,s,d,v,m);O.context=xR(null);var k=O.current,F=ei(),V=Nu(k),j=Ro(F,V);return j.callback=t??null,Tu(k,j,V),AT(O,V,F),O}function Wp(e,t,i,a){Dh(t,e);var o=t.current,s=ei(),d=Nu(o);ql(d);var v=xR(i);t.context===null?t.context=v:t.pendingContext=v,_r&&nn!==null&&!tC&&(tC=!0,C(`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.
|
|
222
222
|
|
|
223
|
-
Check the render method of %s.`,
|
|
223
|
+
Check the render method of %s.`,Xe(nn)||"Unknown"));var m=Ro(s,d);m.payload={element:e},a=a===void 0?null:a,a!==null&&(typeof a!="function"&&C("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),m.callback=a);var R=Tu(o,m,d);return R!==null&&(qn(R,o,d,s),Vv(R,o,d)),d}function Mm(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 TD(e){switch(e.tag){case Z:{var t=e.stateNode;if(Dn(t)){var i=ey(t);UT(t,i)}break}case pe:{To(function(){var o=Ci(e,Ie);if(o!==null){var s=ei();qn(o,e,Ie,s)}});var a=Ie;rC(e,a);break}}}function _R(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=Vh(i.retryLane,t))}function rC(e,t){_R(e,t);var i=e.alternate;i&&_R(i,t)}function DD(e){if(e.tag===pe){var t=tu,i=Ci(e,t);if(i!==null){var a=ei();qn(i,e,t,a)}rC(e,t)}}function _D(e){if(e.tag===pe){var t=Nu(e),i=Ci(e,t);if(i!==null){var a=ei();qn(i,e,t,a)}rC(e,t)}}function kR(e){var t=bh(e);return t===null?null:t.stateNode}var MR=function(e){return null};function kD(e){return MR(e)}var OR=function(e){return!1};function MD(e){return OR(e)}var AR=null,LR=null,NR=null,zR=null,UR=null,FR=null,HR=null,VR=null,BR=null;{var PR=function(e,t,i){var a=t[i],o=ft(e)?e.slice():rt({},e);return i+1===t.length?(ft(o)?o.splice(a,1):delete o[a],o):(o[a]=PR(e[a],t,i+1),o)},jR=function(e,t){return PR(e,t,0)},IR=function(e,t,i,a){var o=t[a],s=ft(e)?e.slice():rt({},e);if(a+1===t.length){var d=i[a];s[d]=s[o],ft(s)?s.splice(o,1):delete s[o]}else s[o]=IR(e[o],t,i,a+1);return s},$R=function(e,t,i){if(t.length!==i.length){x("copyWithRename() expects paths of the same length");return}else for(var a=0;a<i.length-1;a++)if(t[a]!==i[a]){x("copyWithRename() expects paths to be the same except for the deepest key");return}return IR(e,t,i,0)},WR=function(e,t,i,a){if(i>=t.length)return a;var o=t[i],s=ft(e)?e.slice():rt({},e);return s[o]=WR(e[o],t,i+1,a),s},YR=function(e,t,i){return WR(e,t,0,i)},iC=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};AR=function(e,t,i,a){var o=iC(e,t);if(o!==null){var s=YR(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=rt({},e.memoizedProps);var d=Ci(e,Ie);d!==null&&qn(d,e,Ie,Pt)}},LR=function(e,t,i){var a=iC(e,t);if(a!==null){var o=jR(a.memoizedState,i);a.memoizedState=o,a.baseState=o,e.memoizedProps=rt({},e.memoizedProps);var s=Ci(e,Ie);s!==null&&qn(s,e,Ie,Pt)}},NR=function(e,t,i,a){var o=iC(e,t);if(o!==null){var s=$R(o.memoizedState,i,a);o.memoizedState=s,o.baseState=s,e.memoizedProps=rt({},e.memoizedProps);var d=Ci(e,Ie);d!==null&&qn(d,e,Ie,Pt)}},zR=function(e,t,i){e.pendingProps=YR(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ci(e,Ie);a!==null&&qn(a,e,Ie,Pt)},UR=function(e,t){e.pendingProps=jR(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ci(e,Ie);i!==null&&qn(i,e,Ie,Pt)},FR=function(e,t,i){e.pendingProps=$R(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ci(e,Ie);a!==null&&qn(a,e,Ie,Pt)},HR=function(e){var t=Ci(e,Ie);t!==null&&qn(t,e,Ie,Pt)},VR=function(e){MR=e},BR=function(e){OR=e}}function OD(e){var t=di(e);return t===null?null:t.stateNode}function AD(e){return null}function LD(){return nn}function ND(e){var t=e.findFiberByHostInstance,i=p.ReactCurrentDispatcher;return gd({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:AR,overrideHookStateDeletePath:LR,overrideHookStateRenamePath:NR,overrideProps:zR,overridePropsDeletePath:UR,overridePropsRenamePath:FR,setErrorHandler:VR,setSuspenseHandler:BR,scheduleUpdate:HR,currentDispatcherRef:i,findHostInstanceByFiber:OD,findFiberByHostInstance:t||AD,findHostInstancesForRefresh:cD,scheduleRefresh:uD,scheduleRoot:sD,setRefreshHandler:oD,getCurrentFiber:LD,reconcilerVersion:eC})}var GR=typeof reportError=="function"?reportError:function(e){console.error(e)};function aC(e){this._internalRoot=e}Om.prototype.render=aC.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?C("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Am(arguments[1])?C("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"&&C("You passed a second argument to root.render(...) but it only accepts one argument.");var i=t.containerInfo;if(i.nodeType!==Sn){var a=kR(t.current);a&&a.parentNode!==i&&C("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.")}}Wp(e,t,null,null)},Om.prototype.unmount=aC.prototype.unmount=function(){typeof arguments[0]=="function"&&C("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;aR()&&C("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(){Wp(null,e,null,null)}),YC(t)}};function zD(e,t){if(!Am(e))throw new Error("createRoot(...): Target container is not a DOM element.");QR(e);var i=!1,a=!1,o="",s=GR;t!=null&&(t.hydrate?x("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===$a&&C(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
224
224
|
|
|
225
225
|
let root = createRoot(domContainer);
|
|
226
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=TR(e,Tv,null,i,a,o,s);Sv(d.current,e);var v=e.nodeType===
|
|
227
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}xi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oC,xi.createPortal=
|
|
226
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var d=TR(e,Tv,null,i,a,o,s);Sv(d.current,e);var v=e.nodeType===Sn?e.parentNode:e;return Jd(v),new aC(d)}function Om(e){this._internalRoot=e}function UD(e){e&&Gh(e)}Om.prototype.unstable_scheduleHydration=UD;function FD(e,t,i){if(!Am(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");QR(e),t===void 0&&C("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=i??null,o=i!=null&&i.hydratedSources||null,s=!1,d=!1,v="",m=GR;i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(v=i.identifierPrefix),i.onRecoverableError!==void 0&&(m=i.onRecoverableError));var R=DR(t,null,e,Tv,a,s,d,v,m);if(Sv(R.current,e),Jd(e),o)for(var w=0;w<o.length;w++){var O=o[w];W1(R,O)}return new Om(R)}function Am(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===jl||!ye))}function Yp(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===jl||e.nodeType===Sn&&e.nodeValue===" react-mount-point-unstable "))}function QR(e){e.nodeType===Mr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&C("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."),cp(e)&&(e._reactRootContainer?C("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):C("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 HD=p.ReactCurrentOwner,XR;XR=function(e){if(e._reactRootContainer&&e.nodeType!==Sn){var t=kR(e._reactRootContainer.current);t&&t.parentNode!==e&&C("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 i=!!e._reactRootContainer,a=lC(e),o=!!(a&&Eu(a));o&&!i&&C("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"&&C("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 lC(e){return e?e.nodeType===Ui?e.documentElement:e.firstChild:null}function KR(){}function VD(e,t,i,a,o){if(o){if(typeof a=="function"){var s=a;a=function(){var k=Mm(d);s.call(k)}}var d=DR(t,a,e,wu,null,!1,!1,"",KR);e._reactRootContainer=d,Sv(d.current,e);var v=e.nodeType===Sn?e.parentNode:e;return Jd(v),To(),d}else{for(var m;m=e.lastChild;)e.removeChild(m);if(typeof a=="function"){var R=a;a=function(){var k=Mm(w);R.call(k)}}var w=TR(e,wu,null,!1,!1,"",KR);e._reactRootContainer=w,Sv(w.current,e);var O=e.nodeType===Sn?e.parentNode:e;return Jd(O),To(function(){Wp(t,w,i,a)}),w}}function BD(e,t){e!==null&&typeof e!="function"&&C("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Lm(e,t,i,a,o){XR(i),BD(o===void 0?null:o,"render");var s=i._reactRootContainer,d;if(!s)d=VD(i,t,e,o,a);else{if(d=s,typeof o=="function"){var v=o;o=function(){var m=Mm(d);v.call(m)}}Wp(t,d,e,o)}return Mm(d)}function PD(e){{var t=HD.current;if(t!==null&&t.stateNode!==null){var i=t.stateNode._warnedAboutRefsInRender;i||C("%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.",gt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Mr?e:xD(e,"findDOMNode")}function jD(e,t,i){if(C("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"),!Yp(t))throw new Error("Target container is not a DOM element.");{var a=cp(t)&&t._reactRootContainer===void 0;a&&C("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 Lm(null,e,t,!0,i)}function ID(e,t,i){if(C("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"),!Yp(t))throw new Error("Target container is not a DOM element.");{var a=cp(t)&&t._reactRootContainer===void 0;a&&C("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 Lm(null,e,t,!1,i)}function $D(e,t,i,a){if(C("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"),!Yp(i))throw new Error("Target container is not a DOM element.");if(e==null||!rs(e))throw new Error("parentComponent must be a valid React Component");return Lm(e,t,i,!1,a)}function WD(e){if(!Yp(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=cp(e)&&e._reactRootContainer===void 0;t&&C("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 i=lC(e),a=i&&!Eu(i);a&&C("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return To(function(){Lm(null,null,e,!1,function(){e._reactRootContainer=null,YC(e)})}),!0}else{{var o=lC(e),s=!!(o&&Eu(o)),d=e.nodeType===Mr&&Yp(e.parentNode)&&!!e.parentNode._reactRootContainer;s&&C("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(TD),Ph(DD),gs(_D),zd(vi),Ih(vs),(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")&&C("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"),Eh(Qw),sc(FS,FT,To);function YD(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Am(t))throw new Error("Target container is not a DOM element.");return bD(e,t,null,i)}function GD(e,t,i,a){return $D(e,t,i,a)}var oC={usingClientEntryPoint:!1,Events:[Eu,df,Cv,uc,es,FS]};function QD(e,t){return oC.usingClientEntryPoint||C('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),zD(e,t)}function XD(e,t,i){return oC.usingClientEntryPoint||C('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),FD(e,t,i)}function KD(e){return aR()&&C("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 qD=ND({findFiberByHostInstance:_s,bundleType:1,version:eC,rendererPackageName:"react-dom"});if(!qD&&hn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var qR=window.location.protocol;/^(https?|file):$/.test(qR)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(qR==="file:"?`
|
|
227
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}xi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oC,xi.createPortal=YD,xi.createRoot=QD,xi.findDOMNode=PD,xi.flushSync=KD,xi.hydrate=jD,xi.hydrateRoot=XD,xi.render=ID,xi.unmountComponentAtNode=WD,xi.unstable_batchedUpdates=FS,xi.unstable_renderSubtreeIntoContainer=GD,xi.version=eC,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),xi}function pw(){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(pw)}catch(G){console.error(G)}}}process.env.NODE_ENV==="production"?(pw(),dC.exports=V_()):dC.exports=B_();var P_=dC.exports,pC,Um=P_;if(process.env.NODE_ENV==="production")pC=Um.createRoot,Um.hydrateRoot;else{var uw=Um.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;pC=function(G,c){uw.usingClientEntryPoint=!0;try{return Um.createRoot(G,c)}finally{uw.usingClientEntryPoint=!1}}}class j_{constructor(c){this.Component=c,console.info(c)}render(c,p,y,E,x,C,Y){const z={cellDiv:c,rowIndex:p,columnIndex:y,areaIdent:E,areaModel:x,cellValue:C},$=pC(c,{});return $.render(this.Component(z)),()=>{$.unmount()}}}exports.ComponentRendererWrapper=j_;exports.GuiexpertTable=N_;
|