@guiexpert/preact-table 1.0.7 → 1.0.8
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/index.cjs +37 -37
- package/index.js +1897 -1633
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";var i_=Object.defineProperty;var a_=(Y,f,h)=>f in Y?i_(Y,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):Y[f]=h;var Jb=(Y,f,h)=>(a_(Y,typeof f!="symbol"?f+"":f,h),h);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l_=require("preact/jsx-runtime"),e1=require("preact");function cC(Y){return Y&&Y.type==="TreeRow"}function fC(Y){return Y&&Y.type==="AreaModelTree"}class hC{constructor(f=-1,h=-1,g=-1,R=-1,T,C,Q,A=0,P=0,oe=0,K=""){this.rowIndex=f,this.rowTop=h,this.columnIndex=g,this.columnLeft=R,this.areaIdent=T,this.sideIdent=C,this.originalEvent=Q,this.clickCount=A,this.draggingX=P,this.draggingY=oe,this.action=K}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 Is{constructor(f=">",h="",g=[]){this.content=f,this.style=h,this.classes=g}}class f1{constructor(f=new Is(">","transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",["gt-table-tree-arrow-expanded"]),h=new Is(">","",["ge-table-tree-arrow-collapsed"]),g=new Is(">","color:transparent;",["gt-table-tree-arrow-hidden"]),R=new Is("↕","",["gt-table-tree-arrow-expanded-all"])){this.arrowExpanded=f,this.arrowCollapsed=h,this.arrowPlaceholder=g,this.arrowExpandCollapseAll=R}}class d1{constructor(f=new Is("↑","",["ge-header-sorted-asc"]),h=new Is("↓","",["ge-header-sorted-desc"]),g=new Is("↑","color:transparent;",[])){this.iconAsc=f,this.iconDesc=h,this.iconPlaceholder=g}}class o_{constructor(f){this.domService=f}setStyle(f,h,g){return this.domService.setStyle(f,h,g),f}applyStyle(f,h){for(const g in h)this.domService.setStyle(f,g,h[g]);return f}applyDisplayNoneStyle(f){return this.domService.setStyle(f,"display","none"),f}applyDisplayBlockStyle(f){return this.domService.setStyle(f,"display","block"),f}applyStyleInPx(f,h){return Object.entries(h).forEach(([g,R])=>this.domService.setStyle(f,g,R+"px")),f}applyStylePosistionRelative(f){return this.domService.setStyle(f,"position","relative"),this.domService.setStyle(f,"overflow","clip"),f}applyStylePosistionAbsolute(f){return this.domService.setStyle(f,"position","absolute"),f}applyStyleFullSize(f){return this.domService.setStyle(f,"width","100%"),this.domService.setStyle(f,"height","100%"),f}applyStyleOverflowAuto(f="auto",h="auto",g){return this.domService.setStyle(g,"overflow-x",f),this.domService.setStyle(g,"overflow-y",h),g}applyStyleNoPadding(f){return this.domService.setStyle(f,"padding","0"),this.domService.setStyle(f,"margin","0"),this.domService.setStyle(f,"border","0"),f}appendRelativeChildDiv(f){const h=this.applyStylePosistionRelative(this.applyStyleFullSize(this.applyStyleNoPadding(this.domService.createElement("div"))));return this.domService.appendChild(f,h),this.applyStylePosistionAbsolute(f),{parent:f,child:h,cache:{}}}appendText(f,h){const g=this.domService.createText(h);return this.domService.appendChild(f,g),g}addClass(f,h){return f.includes(" ")?f.split(" ").forEach(g=>this.domService.addClass(h,g)):this.domService.addClass(h,f),h}removeClass(f,h){return f.includes(" ")?f.split(" ").forEach(g=>this.domService.removeClass(h,g)):this.domService.removeClass(h,f),h}addClasses(f,h){if(f)for(const g of f)this.domService.addClass(h,g);return h}setAttribute(f,h,g){return h&&g&&this.domService.setAttribute(f,h,g),f}createAreaDivWithClass(f,h,g,R){const T=this.domService.createElement("div");return this.addClass(f,T),this.domService.setAttribute(T,"data-area",g),this.domService.setAttribute(T,"data-side",R),this.domService.appendChild(h,T),T}createDivWithClass(f,h){const g=this.domService.createElement("div");return this.addClass(f,g),this.domService.appendChild(h,g),g}addRowDiv(f,h,g=-1,R,T,C=""){const Q=h.index??-1,A=this.getDivOrCreateDiv(Q,f);if(this.domService.addClass(A,"ge-table-row-div"),this.domService.addClass(A,`ge-table-row-div-${h.index}`),R==="body"&&T==="center"){const P=((h==null?void 0:h.index)??0)%2===0?"even":"odd";this.domService.addClass(A,`ge-table-row-${P}`)}if(this.domService.setStyle(A,"display","clip"),this.domService.setStyle(A,"position","absolute"),this.domService.setStyle(A,"left",`${h.left}px`),this.domService.setStyle(A,"top",`${h.top}px`),this.domService.setStyle(A,"width",`${h.width}px`),this.domService.setStyle(A,"height",`${h.height}px`),this.domService.setAttribute(A,"data-row-index",`${g}`),this.domService.setAttribute(A,"data-area",`${R}`),C){const P=this.domService.createText(C);this.domService.appendChild(A,P)}return this.domService.appendChild(f.child,A),A}addColumnDiv(f,h,g=-1,R=-1,T,C,Q="",A,P,oe=void 0,K){const re=P==null?void 0:P.treeOptions,
|
|
1
|
+
"use strict";var i_=Object.defineProperty;var a_=(Y,f,h)=>f in Y?i_(Y,f,{enumerable:!0,configurable:!0,writable:!0,value:h}):Y[f]=h;var Jb=(Y,f,h)=>(a_(Y,typeof f!="symbol"?f+"":f,h),h);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l_=require("preact/jsx-runtime"),e1=require("preact");function cC(Y){return Y&&Y.type==="TreeRow"}function fC(Y){return Y&&Y.type==="AreaModelTree"}class hC{constructor(f=-1,h=-1,g=-1,R=-1,T,C,Q,A=0,P=0,oe=0,K=""){this.rowIndex=f,this.rowTop=h,this.columnIndex=g,this.columnLeft=R,this.areaIdent=T,this.sideIdent=C,this.originalEvent=Q,this.clickCount=A,this.draggingX=P,this.draggingY=oe,this.action=K}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 Is{constructor(f=">",h="",g=[]){this.content=f,this.style=h,this.classes=g}}class f1{constructor(f=new Is(">","transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",["gt-table-tree-arrow-expanded"]),h=new Is(">","",["ge-table-tree-arrow-collapsed"]),g=new Is(">","color:transparent;",["gt-table-tree-arrow-hidden"]),R=new Is("↕","",["gt-table-tree-arrow-expanded-all"])){this.arrowExpanded=f,this.arrowCollapsed=h,this.arrowPlaceholder=g,this.arrowExpandCollapseAll=R}}class d1{constructor(f=new Is("↑","",["ge-header-sorted-asc"]),h=new Is("↓","",["ge-header-sorted-desc"]),g=new Is("↑","color:transparent;",[])){this.iconAsc=f,this.iconDesc=h,this.iconPlaceholder=g}}class o_{constructor(f){this.domService=f}setStyle(f,h,g){return this.domService.setStyle(f,h,g),f}applyStyle(f,h){for(const g in h)this.domService.setStyle(f,g,h[g]);return f}applyDisplayNoneStyle(f){return this.domService.setStyle(f,"display","none"),f}applyDisplayBlockStyle(f){return this.domService.setStyle(f,"display","block"),f}applyStyleInPx(f,h){return Object.entries(h).forEach(([g,R])=>this.domService.setStyle(f,g,R+"px")),f}applyStylePosistionRelative(f){return this.domService.setStyle(f,"position","relative"),this.domService.setStyle(f,"overflow","clip"),f}applyStylePosistionAbsolute(f){return this.domService.setStyle(f,"position","absolute"),f}applyStyleFullSize(f){return this.domService.setStyle(f,"width","100%"),this.domService.setStyle(f,"height","100%"),f}applyStyleOverflowAuto(f="auto",h="auto",g){return this.domService.setStyle(g,"overflow-x",f),this.domService.setStyle(g,"overflow-y",h),g}applyStyleNoPadding(f){return this.domService.setStyle(f,"padding","0"),this.domService.setStyle(f,"margin","0"),this.domService.setStyle(f,"border","0"),f}appendRelativeChildDiv(f){const h=this.applyStylePosistionRelative(this.applyStyleFullSize(this.applyStyleNoPadding(this.domService.createElement("div"))));return this.domService.appendChild(f,h),this.applyStylePosistionAbsolute(f),{parent:f,child:h,cache:{}}}appendText(f,h){const g=this.domService.createText(h);return this.domService.appendChild(f,g),g}addClass(f,h){return f.includes(" ")?f.split(" ").forEach(g=>this.domService.addClass(h,g)):this.domService.addClass(h,f),h}removeClass(f,h){return f.includes(" ")?f.split(" ").forEach(g=>this.domService.removeClass(h,g)):this.domService.removeClass(h,f),h}addClasses(f,h){if(f)for(const g of f)this.domService.addClass(h,g);return h}setAttribute(f,h,g){return h&&g&&this.domService.setAttribute(f,h,g),f}createAreaDivWithClass(f,h,g,R){const T=this.domService.createElement("div");return this.addClass(f,T),this.domService.setAttribute(T,"data-area",g),this.domService.setAttribute(T,"data-side",R),this.domService.appendChild(h,T),T}createDivWithClass(f,h){const g=this.domService.createElement("div");return this.addClass(f,g),this.domService.appendChild(h,g),g}addRowDiv(f,h,g=-1,R,T,C=""){const Q=h.index??-1,A=this.getDivOrCreateDiv(Q,f);if(this.domService.addClass(A,"ge-table-row-div"),this.domService.addClass(A,`ge-table-row-div-${h.index}`),R==="body"&&T==="center"){const P=((h==null?void 0:h.index)??0)%2===0?"even":"odd";this.domService.addClass(A,`ge-table-row-${P}`)}if(this.domService.setStyle(A,"display","clip"),this.domService.setStyle(A,"position","absolute"),this.domService.setStyle(A,"left",`${h.left}px`),this.domService.setStyle(A,"top",`${h.top}px`),this.domService.setStyle(A,"width",`${h.width}px`),this.domService.setStyle(A,"height",`${h.height}px`),this.domService.setAttribute(A,"data-row-index",`${g}`),this.domService.setAttribute(A,"data-area",`${R}`),C){const P=this.domService.createText(C);this.domService.appendChild(A,P)}return this.domService.appendChild(f.child,A),A}addColumnDiv(f,h,g=-1,R=-1,T,C,Q="",A,P,oe=void 0,K){const re=P==null?void 0:P.treeOptions,te=P==null?void 0:P.showCheckboxWihoutExtraColumn,ne=this.domService.createElement("div");this.domService.addClass(ne,"ge-table-col-div"),this.domService.addClass(ne,`ge-table-col-div-${h.index}`),this.domService.setAttribute(ne,"data-col-index",`${h.index}`),this.domService.setAttribute(ne,"data-row-index",`${g}`),this.domService.setAttribute(ne,"data-area",`${T}`);const He=((h==null?void 0:h.index)??0)%2===0?"even":"odd";if(T==="body"&&C==="center"&&this.domService.addClass(ne,`ge-table-column-${He}`),this.domService.setStyle(ne,"display","clip"),this.domService.setStyle(ne,"position","absolute"),this.domService.setStyle(ne,"left",`${h.left}px`),this.domService.setStyle(ne,"top",`${h.top}px`),this.domService.setStyle(ne,"width",`${h.width}px`),this.domService.setStyle(ne,"height",`${h.height}px`),A&&A!=="none"&&(this.domService.addClass(ne,"ge-table-col-tree"),this.addArrowDiv(ne,A,re,g,R,T)),te&&R===0&&oe&&this.addCheckboxToDiv(ne,oe,T,g),Q){const pe=A!=="none"&&R===0;this.addLabelDiv(ne,Q,pe,g,R,T)}return K&&this.addSortedIcon(ne,K,P==null?void 0:P.sortedOptions,R),this.domService.appendChild(f,ne),ne}addCheckboxToDiv(f,h,g,R){const T=this.domService.createElement("div"),C=h==="full"?"checked":"";return T.innerHTML=`
|
|
2
2
|
<input
|
|
3
3
|
type="checkbox"
|
|
4
4
|
data-area="${g}"
|
|
5
5
|
data-row-index="${R}"
|
|
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(f,T),T}addLabelDiv(f,h="",g=!1,R=-1,T=-1,C="body"){const Q=this.domService.createElement("div");if(this.domService.addClass(Q,"ge-table-label-div"),this.domService.setStyle(Q,"position","relative"),this.domService.setStyle(Q,"background","transparent"),this.domService.setStyle(Q,"width","100%"),this.domService.setStyle(Q,"height","100%"),this.domService.setAttribute(Q,"data-row-index",`${R}`),this.domService.setAttribute(Q,"data-col-index",`${T}`),this.domService.setAttribute(Q,"data-area",`${C}`),h)if(g){const A=this.domService.createText(h);this.domService.appendChild(Q,A)}else{const A=this.domService.createElement("div");this.domService.appendChild(Q,A);const P=this.domService.createText(h);this.domService.addClass(A,"ge-table-label"),this.domService.appendChild(A,P),this.domService.setAttribute(A,"data-row-index",`${R}`),this.domService.setAttribute(A,"data-col-index",`${T}`),this.domService.setAttribute(A,"data-area",`${C}`)}return this.domService.appendChild(f,Q),Q}addSortedIcon(f,h="",g=new d1,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;h==="asc"?C=g.iconAsc:h==="desc"?C=g.iconDesc:C=g.iconPlaceholder;const Q=C.content,A=this.domService.createText(Q);this.domService.appendChild(T,A),C.style&&this.applyStyleString(T,C.style);for(const P of C.classes)this.domService.addClass(T,P);return this.domService.appendChild(f,T),T}addArrowDiv(f,h="none",g=new f1,R=-1,T=-1,C="body"){const Q=this.domService.createElement("div");this.domService.addClass(Q,"ge-table-tree-arrow-div"),this.domService.setStyle(Q,"display","inline-block"),this.domService.setStyle(Q,"position",""),this.domService.setStyle(Q,"width","20px"),this.domService.setStyle(Q,"background","transparent"),this.domService.setStyle(Q,"cursor","pointer"),this.domService.setAttribute(Q,"data-row-index",`${R}`),this.domService.setAttribute(Q,"data-col-index",`${T}`),this.domService.setAttribute(Q,"data-area",`${C}`);let A;h==="expanded"?A=g.arrowExpanded:h==="collapsed"?A=g.arrowCollapsed:A=g.arrowPlaceholder;const P=A.content,oe=this.domService.createText(P);this.domService.appendChild(Q,oe),A.style&&this.applyStyleString(Q,A.style);for(const K of A.classes)this.domService.addClass(Q,K);return this.domService.appendChild(f,Q),Q}addColumnBorderDivs(f,h,g,R,T){if(f.verticalBorderVisible){const C=`ge-table-${R}-${T}-vertical-border`;this.addVerticalBorder(g,h,C)}if(f.horizontalBorderVisible){const C=`ge-table-${R}-${T}-horizontal-border`;this.addHorizontalBorder(g,h,C)}return h}addHorizontalBorder(f,h,g="ge-table-body-center-horizontal-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,g),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${f.left}px`),this.domService.setStyle(R,"top",`${f.top}px`),this.domService.setStyle(R,"width",`${f.width}px`),this.domService.setStyle(R,"height","1px"),this.domService.appendChild(h,R),R}addFocusBorderDivs(f,h,g){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",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${h.height}px`),this.applyStyle(R,g),this.domService.appendChild(f,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",`${h.left+h.width-1}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${h.height}px`),this.applyStyle(R,g),this.domService.appendChild(f,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",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width",`${h.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,g),this.domService.appendChild(f,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",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top+h.height-1}px`),this.domService.setStyle(R,"width",`${h.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,g),this.domService.appendChild(f,R),f}addVerticalBorder(f,h,g="ge-table-body-center-vertical-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,g),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${f.left}px`),this.domService.setStyle(R,"top",`${f.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${f.height}px`),this.domService.appendChild(h,R),R}addDiv(f,h,g=""){const R=this.domService.createElement("div");return g&&this.domService.addClass(R,g),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width",`${h.width}px`),this.domService.setStyle(R,"height",`${h.height}px`),this.domService.appendChild(f,R),R}applyStyleString(f,h){const g=h.split(";").map(R=>R.trim()).filter(R=>R);for(const R of g){const[T,C]=R.split(":");this.domService.setStyle(f,T.trim(),C.trim())}}getDivOrCreateDiv(f,h){let g=h.cache[f];return g?(g.innerText="",g):(g=this.domService.createElement("div"),h.cache[f]=g,g)}}const vC=Y=>Y==="header"?"header":Y==="footer"?"footer":"body";class u_{constructor(f,h){if(this.rowIdx=-1,this.colIdx=-1,this.action=null,this.inputType=null,this.className="",f!==null&&(f instanceof HTMLDivElement||f instanceof HTMLSpanElement||f instanceof HTMLInputElement)){this.className=f.className,this.action=f.getAttribute("data-ge-action"),this.inputType=f.getAttribute("data-input-type"),this.rowIdx=Number(f.getAttribute("data-row-index")),this.colIdx=Number(f.getAttribute("data-col-index"));const g=f.getAttribute("data-area");if(g&&(this.areaIdent=vC(g),this.areaModel=h.tableModel.getAreaModel(this.areaIdent),this.row=this.areaModel.getRowByIndex(this.rowIdx)),f instanceof HTMLInputElement){const R=f;this.value=R.value}}}}class s_{constructor(f){this.tableScope=f,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(h=>h.addEventListener("resize",this.tableScope.adjustContainersAndRows.bind(this.tableScope)))}onContextmenu(f){this.mouseEvent=f;const h=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.contextmenu(h)}onHostElementClicked(f){const h=new u_(f.target,this.tableScope);if(h.action==="toggleExpandCollapseAll")this.expandedAll=!this.expandedAll,this.tableScope.toggleExpandCollapseAll(this.expandedAll),f.preventDefault(),f.stopPropagation();else if(h.inputType==="checkbox"&&h.areaIdent)this.tableScope.toggleRowCheckbox(h.rowIdx,h.colIdx,h.areaIdent),f.preventDefault(),f.stopPropagation();else if(cC(h.row)&&h.areaModel){const g=h.colIdx===this.getArrowColumnIndex()&&f.altKey,R=h.className.includes("ge-table-tree-arrow-div");if(console.info(R,g),g||R){f.preventDefault(),f.stopPropagation();const T=h.row;T.expanded=!T.expanded,"recalcVisibleTreeRows"in h.areaModel&&h.areaModel.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(T)}}if(h.areaIdent==="body"&&this.tableScope.tableOptions.getFocusModel){const g=this.tableScope.tableOptions.getFocusModel();g==null||g.clear(),g==null||g.setFocus(h.rowIdx,h.colIdx)}this.publishGeMouseEvent(f,1)}onHostElementDblClicked(f){if(f.target instanceof HTMLElement){const h=f.target,g=h.getAttribute("data-area"),R=vC(g),T=Number(h.getAttribute("data-row-index")),C=Number(h.getAttribute("data-col-index")),Q=this.tableScope.tableModel.getAreaModel(R);if(g&&R==="header")this.tableScope.tableModel.isSortable(C)&&(this.tableScope.clearSelection(),this.tableScope.onHeaderDblClicked(f,T,C));else if(h.getAttribute("data-row-index")){const A=Q.getRowByIndex(T);if(g&&R==="body"&&Q.isEditable(T,C)&&(this.tableScope.clearSelection(),this.tableScope.initRenderEditor(T,C)),cC(A)&&C===this.getArrowColumnIndex()){f.preventDefault(),f.stopPropagation();const P=A;P.expanded=!P.expanded,"recalcVisibleTreeRows"in Q&&Q.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(P)}}}this.publishGeMouseEvent(f,2)}publishGeMouseEvent(f,h){var g;this.mouseEvent=f,this.geMouseEventOld=(g=this.geMouseEvent)==null?void 0:g.clone(),this.geMouseEvent=this.tableScope.createGeMouseEvent(f),this.geMouseEvent&&(this.geMouseEvent.clickCount=h),this.tableScope.onMouseClicked(this.geMouseEvent,this.geMouseEventOld)}updateCollapsedExpandedState(f){var g,R,T,C,Q;const h=(R=(g=this.tableScope.tableOptions)==null?void 0:g.autoRestoreOptions)==null?void 0:R.getRowId;if(h){const A=(T=this.tableScope.storeStateCollapsedExpandService)==null?void 0:T.collapsedExpandedStateGet().mode,P=A==="collapsed"&&!f.expanded||A==="expanded"&&f.expanded,oe=A==="collapsed"&&f.expanded||A==="expanded"&&!f.expanded,K=h(f.data);P?(C=this.tableScope.storeStateCollapsedExpandService)==null||C.collapsedStateIdsPush(K):oe&&((Q=this.tableScope.storeStateCollapsedExpandService)==null||Q.collapsedStateIdsRemove(K))}}getArrowColumnIndex(){return this.tableScope.tableModel.isRowCheckboxVisible()?1:0}onMouseDown(f){this.mouseEvent=f,this.startMouseEvent=this.tableScope.createGeMouseEvent(this.mouseEvent),this.tableScope.onMouseDown(this.startMouseEvent),this.mouseDown=!0}onMouseMove(f){this.mouseEvent=f,this.mouseDown?(this.dragging=!0,requestAnimationFrame(this.mouseDraggingOnFrame.bind(this))):requestAnimationFrame(this.mouseMoveOnFrame.bind(this))}onMouseUp(f){this.mouseEvent=f,this.dragging&&requestAnimationFrame(this.mouseDraggingEndOnFrame.bind(this)),this.mouseDown=!1,this.dragging=!1}mouseDraggingOnFrame(){var f;if(this.mouseEvent){const h=this.tableScope.createGeMouseEvent(this.mouseEvent);(f=this.startMouseEvent)!=null&&f.originalEvent&&(h.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,h.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingOnFrame(h)}}mouseDraggingEndOnFrame(){var f;if(this.mouseEvent){const h=this.tableScope.createGeMouseEvent(this.mouseEvent);(f=this.startMouseEvent)!=null&&f.originalEvent&&(h.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,h.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingEndOnFrame(h)}}mouseMoveOnFrame(){if(this.mouseEvent){const f=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.mouseMove(f)}}}class c_{constructor(f){this.tableScope=f}updateCells(f,h=!1){this.tableScope.updateCells(f,h)}externalFilterChanged(){this.tableScope.externalFilterChanged()}scrollToPixel(f=0,h=0){}scrollToIndex(f=0,h=0){}setHeaderVisible(f=!0){}setColumnVisible(f,h=!0){}isColumnVisible(f){return!0}isHeaderVisible(){return!0}setFooterVisible(f=!0){}isFooterVisible(){return!0}repaint(){this.tableScope.repaint()}}class mC{constructor(f){this.getStorageKeyFn=f}autoConvertMapToObject(f){const h={};if(f instanceof Map){const g=f;for(const R of[...g]){const[T,C]=R;h[T]=C}}return h}checkAndPersistItem(f,h){const g=this.getStorageKeyFn;if(g){const R=g();if(R){const T=R+f;if((h+"").includes("Map")){const C=this.autoConvertMapToObject(h);this.persistItem(T,C)}else this.persistItem(T,h)}}}persistItem(f,h){h?localStorage.setItem(f,JSON.stringify(h)):localStorage.removeItem(f)}loadFromLocalStorage(f){const h=localStorage.getItem(f);return h?JSON.parse(h):null}}class f_ extends mC{constructor(f){super(f),this.SCROLL_STATE="scrollState",this.scrollOffset=[0,0],this.load()}getScrollOffset(){return this.scrollOffset}updateScrollOffset(f){this.scrollOffset=f,this.checkAndPersistItem(this.SCROLL_STATE,this.scrollOffset)}load(){const f=this.getStorageKeyFn;if(f){const h=f();if(h){const g=h+this.SCROLL_STATE;let R=this.loadFromLocalStorage(g);this.scrollOffset=R||[0,0]}}}}class d_{constructor(f="collapsed",h=[],g=!1,R=!1){this.mode=f,this.rowIds=h,this.allCollapsed=g,this.allExpanded=R}}class p_ extends mC{constructor(f){super(f),this.COLLAPSED_EXPANDED_STATE="collapsedExpandedState",this.collapsedExpandedState=new d_,this.load()}collapsedExpandedStateGet(){return this.collapsedExpandedState}collapsedExpandedStateIncludes(f){return this.collapsedExpandedState.rowIds.includes(f)}collapsedStateIdsPush(f){this.collapsedExpandedState.rowIds.includes(f)||(this.collapsedExpandedState.rowIds.push(f),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateIdsRemove(f){const h=this.collapsedExpandedState.rowIds.indexOf(f);h!==-1&&(this.collapsedExpandedState.rowIds.splice(h,1),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateAll(f){this.collapsedExpandedState.rowIds=[],this.collapsedExpandedState.mode=f?"collapsed":"expanded",this.collapsedExpandedState.allCollapsed=!f,this.collapsedExpandedState.allExpanded=f,this.persist()}load(){const f=this.getStorageKeyFn;if(f){const h=f();if(h){const g=h+this.COLLAPSED_EXPANDED_STATE,R=this.loadFromLocalStorage(g);R&&(this.collapsedExpandedState=R)}}}persist(){this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE,this.collapsedExpandedState)}}class h_ extends mC{constructor(f){super(f),this.SORTING_STATE="sortingState",this.sortItems=[],this.load()}getSortItems(){return this.sortItems}setSortItems(f){this.sortItems=f,this.checkAndPersistItem(this.SORTING_STATE,this.sortItems)}load(){const f=this.getStorageKeyFn;if(f){const h=f();if(h){const g=h+this.SORTING_STATE;let R=this.loadFromLocalStorage(g);this.sortItems=R||[]}}}}class ko{constructor(f=0,h=0,g=0,R=0,T){this.left=f,this.width=h,this.height=g,this.top=R,this.index=T}}class v_{constructor(f,h,g,R){this.hostElement=f,this.tableModel=h,this.dom=g,this.tableOptions=R,this.scrollTop=0,this.areaBodyWestGeo=new ko,this.areaBodyCenterGeo=new ko,this.areaBodyEastGeo=new ko;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=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-hover-row",T)),this.hoverColumn=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-hover-column",T)),this.areaHeaderWest=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-header ge-table-header-west",T,"header","west"))),this.areaHeaderCenter=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-header ge-table-header-center",T,"header","center"))),this.areaHeaderEast=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-header ge-table-header-east",T,"body","east"))),this.areaBodyWest=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-body ge-table-body-west",T,"body","west"))),this.areaBodyEast=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-body ge-table-body-east",T,"body","east"))),this.areaFooterWest=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-footer ge-table-footer-west",T,"footer","west"))),this.areaFooterCenter=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-footer ge-table-footer-center",T,"footer","center"))),this.areaFooterEast=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-footer ge-table-footer-east",T,"footer","east"))),this.scrollViewport=g.applyStyleOverflowAuto(this.tableOptions.overflowX??"auto",this.tableOptions.overflowY??"auto",g.applyStyleNoPadding(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-scroll-viewport",T,"body","center")))),this.contentWrapperDiv=g.applyStyleNoPadding(g.applyStylePosistionRelative(g.createDivWithClass("ge-table-scroll-content-wrapper",this.scrollViewport))),this.contentDiv=g.applyStyleNoPadding(g.applyStylePosistionRelative(g.createDivWithClass("ge-table-scroll-content",this.contentWrapperDiv))),this.areaBodyCenter=g.appendRelativeChildDiv(g.createDivWithClass("ge-table-body-center",this.contentDiv)),this.borderHeaderBottom=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-header-border",T)),this.borderFixedWest=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-west-fixed-column-border",T)),this.borderFixedEast=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-east-fixed-column-border",T)),this.borderFooterTop=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-footer-border",T))}adjustContainersAndRows(){const f=this.tableModel.getPadding(),h=this.hostElement.clientWidth,g=this.hostElement.clientHeight;this.dom.applyStyle(this.scrollViewport,{width:`${h-f.left}px`,height:`${g-f.top}px`,top:`${f.top}px`,left:`${f.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=f.left,this.areaBodyWestGeo.height=g-f.top-f.bottom,this.areaBodyWestGeo.top=f.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=f.right,this.areaBodyEastGeo.height=g-f.top-f.bottom,this.areaBodyEastGeo.top=f.top,this.areaBodyEastGeo.left=h-f.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=h-f.left-f.right,this.areaBodyCenterGeo.height=g-f.top-f.bottom,this.areaBodyCenterGeo.top=0,this.areaBodyCenterGeo.left=0,this.dom.applyStyleInPx(this.areaBodyCenter.parent,this.areaBodyCenterGeo),this.dom.applyStyle(this.areaHeaderCenter.parent,{width:`${h-f.left-f.right}px`,height:`${f.top}px`,top:"0",left:`${f.left}px`}),this.dom.applyStyle(this.areaHeaderWest.parent,{width:`${f.left}px`,height:`${f.top}px`,top:"0",left:"0"}),this.dom.applyStyle(this.areaHeaderEast.parent,{width:`${f.right}px`,height:`${f.top}px`,top:"0",left:`${h-f.right}px`}),this.tableOptions.headerSeparatorBorderVisible&&this.tableModel.isHeaderVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderHeaderBottom,{width:`${h}px`,height:"1px",top:`${f.top}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderHeaderBottom),this.dom.applyStyle(this.areaFooterWest.parent,{width:`${f.left}px`,height:`${f.bottom}px`,top:`${g-f.bottom}px`,left:"0"}),this.dom.applyStyle(this.areaFooterCenter.parent,{width:`${h-f.left-f.right}px`,height:`${f.bottom}px`,top:`${g-f.bottom}px`,left:`${f.left}px`}),this.dom.applyStyle(this.areaFooterEast.parent,{width:`${f.right}px`,height:`${f.bottom}px`,top:`${g-f.bottom}px`,left:`${h-f.right}px`}),this.tableOptions.footerSeparatorBorderVisible&&this.tableModel.isFooterVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFooterTop,{width:`${h}px`,height:"1px",top:`${g-f.bottom}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderFooterTop),this.adjustAfterScrolling()}adjustAfterScrolling(){}resetSizeOfWrapperDiv(){const f=`${this.tableModel.getContentWidthInPixel()}px`,h=`${this.tableModel.getContentHeightInPixel()+1}px`;this.dom.setStyle(this.contentWrapperDiv,"width",f),this.dom.setStyle(this.contentWrapperDiv,"height",h)}}class Ii{constructor(f,h,g,R,T=!1){this.r1=f,this.c1=h,this.r2=g,this.c2=R,this.gammaRange=T}static create(f){return f.gammaRange===void 0&&(f.gammaRange=!1),new Ii(f.rowIndex1,f.columnIndex1,f.rowIndex2,f.columnIndex2,f.gammaRange)}static singleCell(f,h){return new Ii(f,h,f,h)}static singleRow(f){return new Ii(f,0,f,Number.MAX_SAFE_INTEGER)}static singleColumn(f){return new Ii(0,f,Number.MAX_SAFE_INTEGER,f)}isInRange(f,h){return f>=this.r1&&f<=this.r2&&h>=this.c1&&h<=this.c2}}class m_{constructor(f,h){this.tableModel=f,this.areaModel=h,this.colAndRowspanRanges=void 0}init(){if(this.areaModel.getMaxColspan()<2&&this.areaModel.getMaxRowspan()<2)return;this.colAndRowspanRanges=[];const f=this.areaModel.getRowCount(),h=this.tableModel.getColumnCount();for(let g=0;g<f;g++)for(let R=0;R<h;R++){let T=this.areaModel.getColspanAt(g,R),C=this.areaModel.getRowspanAt(g,R);if(T>1||C>1){T===0&&(T=1),C===0&&(C=1);const Q=this.areaModel.hasOwnProperty("gammaCells");this.colAndRowspanRanges.push(new Ii(g,R,g+C-1,R+T-1,Q))}}}getRanges(){return this.colAndRowspanRanges?this.colAndRowspanRanges:[]}isInRange(f,h){if(this.colAndRowspanRanges){for(const g of this.colAndRowspanRanges)if(g.isInRange(f,h))return!0}return!1}}class y_{constructor(f,h,g){this.header=f,this.body=h,this.footer=g}}class g_ extends v_{constructor(f,h,g,R){var C,Q;super(f,h,g,R),this.scrollLeft=0,this.scrollViewportLeft=0,this.scrollFactorY=0,this.scrollFactorX=0,this.cleanupFunctions={header:[],body:[],footer:[]},this.tree=!1,this.colAndRowspanModels=new y_,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),(Q=this.tableOptions)!=null&&Q.getFocusModel&&(this.getFocusModel=this.tableOptions.getFocusModel),fC(h.getAreaModel("body"))&&(this.tree=!0),["header","body","footer"].forEach(A=>{var P;this.colAndRowspanModels[A]=new m_(h,h.getAreaModel(A)),(P=this.colAndRowspanModels[A])==null||P.init()})}isEditing(){return this.editing}resetEditorRenderer(){this.editorRenderer=void 0,this.editorRendererRow=-1,this.editorRendererColumn=-1,this.editing=!1}clearSelection(){if(this.getSelectionModel){const f=this.getSelectionModel();f==null||f.clear()}}initRenderEditor(f,h){var R;let g=(R=this.tableModel.getColumnDef(h))==null?void 0:R.getEditRenderer;if(g||(g=this.tableOptions.getEditRenderer),g)if(this.editorRenderer=g(f,h),this.editorRenderer){this.editorRendererRow=f,this.editorRendererColumn=h,this.editing=!0,this.repaint();const T=document.querySelector("input.ge-table-cell-editor-input");T&&T.focus()}else this.resetEditorRenderer()}repaint(){this.adjustAfterScrolling()}adjustAfterScrolling(){var f;for(const h of this.removables)h.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")),((f=this.tableModel.getAreaModel("header"))==null?void 0:f.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 f,h;this.storeScrollPosStateService&&((h=(f=this.tableOptions)==null?void 0:f.autoRestoreOptions)!=null&&h.autoRestoreScrollPosition)&&this.storeScrollPosStateService.updateScrollOffset([this.scrollLeft,this.scrollTop])}updateCells(f,h=!1){f.forEach(g=>{this.tableModel.getAreaModel(g.area).setValue(g.rowIndex,g.columnIndex,g.value),h||this.rerenderCellContent(g)}),h&&this.repaint()}getAreaAndSideIdentByAttr(f){if(f){const h=this.getStringByAttr(f,"data-area"),g=this.getStringByAttr(f,"data-side");if(g&&h)return[h,g]}return[void 0,void 0]}getArea(f,h){if(f==="header"){if(h==="west")return this.areaHeaderWest;if(h==="center")return this.areaHeaderCenter;if(h==="east")return this.areaHeaderEast}else if(f==="body"){if(h==="west")return this.areaBodyWest;if(h==="center")return this.areaBodyCenter;if(h==="east")return this.areaBodyEast}else if(f==="footer"){if(h==="west")return this.areaFooterWest;if(h==="center")return this.areaFooterCenter;if(h==="east")return this.areaFooterEast}throw Error(`Wrong area identifier: row:${f}, col:${h}`)}adjustBody(){const f=this.areaBodyCenterGeo.height-this.tableModel.getContentHeightInPixel(),h=this.scrollFactorY*f;this.dom.setStyle(this.contentDiv,"top",`${this.scrollTop}px`),this.dom.setStyle(this.contentDiv,"left",`${this.scrollViewport.scrollLeft}px`),this.adjustArea("body",h)}getNumberByAttr(f,h){var g;if(f){const R=(g=f.closest("["+h+"]"))==null?void 0:g.getAttribute(h);if(R)return Number(R)}return-1}getStringByAttr(f,h){var g;if(f){const R=(g=f.closest("["+h+"]"))==null?void 0:g.getAttribute(h);if(R)return R}return""}adjustArea(f,h=0){var de;const g=this.getArea(f,"west"),R=this.getArea(f,"center"),T=this.getArea(f,"east"),C=R.child.clientHeight;g.child.innerText="",R.child.innerText="",T.child.innerText="";const Q=0,A=this.areaBodyCenterGeo.width,P=this.tableModel.getPadding(),oe=this.tableModel.getAreaModel(f),K=oe.getRowCount();for(;this.cleanupFunctions[f].length;){const Ue=this.cleanupFunctions[f].shift();Ue&&Ue()}let re=h;const J=this.tableModel.getColumnCount(),ne=this.tableModel.getFixedRightColumnCount(),Be=this.tableModel.getFixedLeftColumnCount();for(let Ue=0;Ue<K;Ue++){const tt=re,_e=Ue===K-1,Ie=this.tableModel.getRowHeight(f,Ue);if(tt+Ie>0){this.firstVisibleRowIndex=Ue;let pe={left:Q,width:A,height:Ie,top:tt,index:Ue},xe=this.dom.addRowDiv(R,pe,Ue,f,"center");const Oe=Be;if(this.adjustColumnsToRowParent({areaIdent:f,sideIdent:"center",areaModel:oe,geo:pe,parent:xe,rowIndex:Ue,columnIndexStart:Oe,columnIndexEnd:J-ne-1,verticalFixed:!1,lastRowOfModel:_e}),P.left>0&&(pe={left:Q,width:this.areaBodyWestGeo.width,height:Ie,top:tt,index:Ue},xe=this.dom.addRowDiv(g,pe,Ue,f,"west"),this.adjustColumnsToRowParent({areaIdent:f,sideIdent:"west",areaModel:oe,geo:pe,parent:xe,rowIndex:Ue,columnIndexStart:0,columnIndexEnd:Oe-1,verticalFixed:!0,lastRowOfModel:_e})),P.right>0&&(pe={left:Q,width:this.areaBodyEastGeo.width,height:Ie,top:tt,index:Ue},xe=this.dom.addRowDiv(T,pe,Ue,f,"east"),this.adjustColumnsToRowParent({areaIdent:f,sideIdent:"east",areaModel:oe,geo:pe,parent:xe,rowIndex:Ue,columnIndexStart:J-ne,columnIndexEnd:J-1,verticalFixed:!0,lastRowOfModel:_e})),f==="header"&&this.tree&&Ue===K-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(re=re+Ie,re>C)break}if(this.colAndRowspanModels&&this.colAndRowspanModels[f]){const Ue=((de=this.colAndRowspanModels[f])==null?void 0:de.getRanges())??[];if(Ue.length)for(const tt of Ue){let _e=0,Ie=R.child,pe="center";if(tt.c1<Be)Ie=g.child,pe="west";else if(ne>0&&tt.c1>=J-ne)Ie=T.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,h,oe,Ie,pe)}}}drawBigCell(f,h,g,R,T,C){const Q=g+this.getRowHeights(0,f.r1-1,R).reduce((de,Ue)=>de+Ue,0),A=this.tableModel.getColumnCount(),P=this.tableModel.getFixedRightColumnCount();let oe=0;P>0&&f.c1>=A-P&&(oe=A-P);const K=h+this.getColumnWidths(oe,f.c1-1).reduce((de,Ue)=>de+Ue,0),re=this.getRowHeights(f.r1,f.r2,R).reduce((de,Ue)=>de+Ue,0),J=this.getColumnWidths(f.c1,f.c2).reduce((de,Ue)=>de+Ue,0);let ne=!1;const Be=this.getSelectionModel?this.getSelectionModel():void 0;Be&&(ne=Be.getSelectionCount(f.r1,f.c1)>0),f.gammaRange?(console.info("TODO here",f),this.renderCell({areaModel:R,areaIdent:R.areaIdent,sideIdent:C,rowIndex:f.r1,columnIndex:f.c1,left:K,top:Q,width:J,height:re,parent:T,cellSelected:ne,lastRowOfModel:!0,gammaRange:f.gammaRange})):this.renderCell({areaModel:R,areaIdent:R.areaIdent,sideIdent:C,rowIndex:f.r1,columnIndex:f.c1,left:K,top:Q,width:J,height:re,parent:T,cellSelected:ne,lastRowOfModel:!0,gammaRange:f.gammaRange}),R.areaIdent==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:f.r1,columnIndex:f.c1,cellLeft:K,cellTop:Q,cellWidth:J,cellHeight:re,parent:T})}findRowOfImportantRowspanCell(f,h,g){const R=f.getMaxRowspan();for(let T=h-1;T>-1;T--){const C=f.getRowspanAt(T,g);if(C>1&&T+C+1>=h)return T;if(h-T>R)return-1}return-1}adjustColumnsToRowParent({areaIdent:f,sideIdent:h,areaModel:g,geo:R,parent:T,rowIndex:C,columnIndexStart:Q,columnIndexEnd:A,verticalFixed:P=!1,lastRowOfModel:oe=!1}){var Be;this.scrollViewportLeft=this.scrollViewport.scrollLeft;let K=0;if(!P){const de=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();K=this.scrollFactorX*de}const re=0,J=!!(f==="body"&&h);let ne=K;for(let de=Q;de<=A;de++){const Ue=ne,tt=this.tableModel.getColumnWidth(de);if(tt>0&&Ue+tt>0){let _e=R.height;const Ie=g.getRowspanAt(C,de),pe=g.getColspanAt(C,de);Ie>1&&(_e=this.getRowHeights(C,C+Ie-1,g).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[f]&&(Be=this.colAndRowspanModels[f])!=null&&Be.isInRange(C,de)&&(Oe=!0),this.draggingTargetColumnIndex===de&&f!=="header"){this.renderDragTargetDiv(T,Ue,re,xe,_e);const lt={left:Ue,top:re,width:xe,height:_e};this.dom.addColumnBorderDivs(this.tableOptions,T,lt,f,h)}else{const lt=this.renderSelectedBackgroundDiv(Oe,J,h,g,C,de,T,Ue,re,xe,_e);Oe||this.renderCell({areaModel:g,areaIdent:f,sideIdent:h,rowIndex:C,columnIndex:de,left:Ue,top:re,width:xe,height:_e,parent:T,cellSelected:lt,lastRowOfModel:oe,gammaRange:!0}),f==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:C,columnIndex:de,cellLeft:Ue,cellTop:re,cellWidth:xe,cellHeight:_e,parent:T})}}if(ne=ne+tt,ne>this.areaBodyCenterGeo.width)break}this.tableOptions.verticalBorderVisible&&this.dom.addVerticalBorder(new ko(ne-1,1,R.height,0),T)}getTreeArrowColumnIndex(){return this.tableOptions.showCheckboxWihoutExtraColumn?0:this.tableModel.isRowCheckboxVisible()?1:0}addAndRenderCellDiv({areaModel:f,areaIdent:h,sideIdent:g,rowIndex:R,index:T,left:C,width:Q,height:A,top:P,parent:oe,lastRowOfModel:K}){var un;const J=this.editorRenderer&&this.editorRendererRow===R&&this.editorRendererColumn===T?this.editorRenderer:f.getCellRenderer(R,T),ne={left:C,width:Q,height:A,top:P,index:T},Be=f.getRowByIndex(R);let de="none";if(T===this.getTreeArrowColumnIndex()&&cC(Be)){const Te=Be;(un=Te.children)!=null&&un.length?Te.expanded?de="expanded":de="collapsed":de="hidden"}let tt;if(h==="header"){const Te=this.tableModel.getColumnDef(T);(!(Te!=null&&Te.sortIconVisible)||Te!=null&&Te.sortIconVisible())&&(tt=Te==null?void 0:Te.sortState)}const _e=f.getValueAt(R,T),Ie=J?"":`${_e}`,pe=f.isRowChecked(R),xe=this.dom.addColumnDiv(oe,ne,R,T,h,g,Ie,de,this.tableOptions,pe,tt),Oe=f.getTooltipAt(R,T);Oe&&this.dom.setAttribute(xe,"title",Oe);const lt=this.tableModel.getColumnDef(T);lt&<.classes[h]&&this.dom.addClasses(lt.classes[h],xe);let kt;J&&(kt=J.render(xe,R,T,h,f,_e,this.dom.domService));const Tt=f.getCustomClassesAt(R,T);if(Tt.length&&this.dom.addClasses(Tt,xe),this.dom.addColumnBorderDivs(this.tableOptions,oe,ne,h,g),K&&this.dom.addHorizontalBorder({left:C,width:Q,height:A,top:P+A},oe),this.getFocusModel&&h==="body"){const Te=this.getFocusModel();Te!=null&&Te.hasFocus(R,T)&&this.dom.addFocusBorderDivs(oe,ne,{})}h==="header"&&this.dom.setAttribute(xe,"data-ge-action","drag-column");const yt=f.getCustomStyleAt(R,T);if(yt)for(const Te in yt)this.dom.setStyle(xe,Te,yt[Te]);return[xe,kt]}applyCssClasses(f,h={}){f&&Object.entries(h).forEach(([g,R])=>{R?this.dom.addClass(g,f):this.dom.removeClass(g,f)})}rerenderCellContent({area:f,rowIndex:h,columnIndex:g,value:R,cssClasses:T}){const C=this.tableModel.getAreaModel(f),Q='div[data-col-index="'+g+'"][data-row-index="'+h+'"][data-area="'+f+'"]',A=document.querySelector(Q);if(A){let P;const K=this.editorRenderer&&this.editorRendererRow===h&&this.editorRendererColumn===g?this.editorRenderer:C.getCellRenderer(h,g);if(A.innerText="",this.applyCssClasses(A,T),K)P=K.render(A,h,g,f,C,R,this.dom.domService),P&&this.cleanupFunctions[f].push(P);else{const ne=`${R}`;this.dom.addLabelDiv(A,ne,!1,h,g,f)}const re=C.getCustomClassesAt(h,g);re.length&&this.dom.addClasses(re,A);const J=C.getCustomStyleAt(h,g);if(J)for(const ne in J)this.dom.setStyle(A,ne,J[ne])}}getColumnWidths(f,h){const g=[];for(let R=f;R<=h;R++)g.push(this.tableModel.getColumnWidth(R));return g}getRowHeights(f,h,g){const R=[];for(let T=f;T<=h;T++)R.push(g.getRowHeight(T));return R}adjustHoverRows(f){if(this.tableOptions.hoverRowVisible&&f.rowIndex>-1){const h=this.hostElement.clientWidth,g=this.tableModel.getAreaModel("body").getRowHeight(f.rowIndex),R=f.rowTop+this.areaHeaderCenter.parent.clientHeight-this.scrollTop;this.dom.applyStyle(this.hoverRow,{left:"0",top:R+"px",width:h+"px",height:g+"px",display:"block"})}else this.hideHoverRow()}hideHoverRow(){this.dom.applyStyle(this.hoverRow,{display:"none"})}adjustHoverColumns(f){if(this.tableOptions.hoverColumnVisible&&f.rowIndex>-1){const h=this.hostElement.clientHeight,g=this.tableModel.getColumnWidth(f.columnIndex),R=this.areaBodyWestGeo.width,T=f.columnLeft+this.tableModel.getPadding().left-this.scrollLeft-R;this.dom.applyStyle(this.hoverColumn,{left:T+"px",top:"0px",width:g+"px",height:h+"px",display:"block"})}else this.hideHoverColumn()}hideHoverColumn(){this.dom.applyStyle(this.hoverColumn,{display:"none"})}debounce(f,h=1e3){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(f.bind(this),h)}renderDragTargetDiv(f,h,g,R,T){const C=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-drop-zone",f));return this.dom.setStyle(C,"left",`${h}px`),this.dom.setStyle(C,"top",`${g}px`),this.dom.setStyle(C,"width",`${R}px`),this.dom.setStyle(C,"height",`${T}px`),C}renderSelectedBackgroundDiv(f,h,g,R,T,C,Q,A,P,oe,K){let re=!1;if(!f&&h&&R.isSelectable(T,C)&&this.getSelectionModel){const J=this.getSelectionModel();if(J){const ne=J.getSelectionCount(T,C);re=ne>0;for(let Be=0;Be<ne;Be++){const de=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass(`ge-table-${R.areaIdent}-${g}-selected-range`,Q));this.dom.setStyle(de,"left",`${A}px`),this.dom.setStyle(de,"top",`${P}px`),this.dom.setStyle(de,"width",`${oe}px`),this.dom.setStyle(de,"height",`${K}px`)}}}return re}renderCell({areaModel:f,areaIdent:h,sideIdent:g,rowIndex:R,columnIndex:T,left:C,top:Q,width:A,height:P,parent:oe,cellSelected:K,lastRowOfModel:re,gammaRange:J}){const[ne,Be]=this.addAndRenderCellDiv({areaModel:f,areaIdent:h,sideIdent:g,rowIndex:R,index:T,left:C,width:A,height:P,top:Q,parent:oe,lastRowOfModel:re,gammaRange:J});K&&this.dom.addClass(`ge-table-${h}-${g}-selected-range`,ne),Be&&this.cleanupFunctions[h].push(Be)}renderHeaderCellResizeHandle({rowIndex:f,columnIndex:h,cellLeft:g,cellTop:R,cellWidth:T,cellHeight:C,parent:Q}){const A=this.dom.domService,P=this.tableOptions.columnResizeHandleWidthInPx??2,oe=A.createElement("div");A.setAttribute(oe,"data-col-index",`${h}`),A.setAttribute(oe,"data-row-index",`${f}`),A.setAttribute(oe,"data-area","header"),A.setAttribute(oe,"data-ge-action","resize-column"),A.addClass(oe,"ge-table-column-resize-handle"),A.setStyle(oe,"display","clip"),A.setStyle(oe,"position","absolute"),A.setStyle(oe,"cursor","col-resize"),A.setStyle(oe,"left",`${g+T-P}px`),A.setStyle(oe,"top",`${R}px`),A.setStyle(oe,"width",`${P}px`),A.setStyle(oe,"height",`${C}px`),A.appendChild(Q,oe)}}class S_{constructor(f,h){this.columnIndex=f,this.sortState=h}}class C_{constructor(f){this.tableScope=f,this.tableScope.hostElement.addEventListener("change",this.onHostElementChanged.bind(this))}onHostElementChanged(f){if(f.target instanceof HTMLInputElement||f.target instanceof HTMLSelectElement||f.target instanceof HTMLTextAreaElement){const h=f.target,g=h.getAttribute("data-area"),R=h.getAttribute("data-row-index"),T=h.getAttribute("data-col-index");if(g&&R&&T){const C=vC(g),Q=Number(R),A=Number(T);this.tableScope.updateModelValueAfterEdit(C,Q,A,h.value)}}}}class E_{constructor(f=-1,h=-1){this.rowIndex=f,this.columnIndex=h}}class yC{constructor(f){this.cells=f}static createSingle(f,h){return new yC([new E_(f,h)])}}class b_{constructor(f){var h,g;this.tableScope=f,(h=this.tableScope.tableOptions)!=null&&h.getSelectionModel&&(this.getSelectionModel=this.tableScope.tableOptions.getSelectionModel),(g=this.tableScope.tableOptions)!=null&&g.getFocusModel&&(this.getFocusModel=this.tableScope.tableOptions.getFocusModel)}onMouseClicked(f,h){var T,C,Q,A,P,oe,K;let g=!1,R=!1;if(this.getSelectionModel&&this.getFocusModel){const re=this.getSelectionModel(),J=this.getFocusModel();re&&J&&(J.hasFocus(f.rowIndex,f.columnIndex)||(J.setFocus(f.rowIndex,f.columnIndex),g=!0),(T=f.originalEvent)!=null&&T.shiftKey||re.hasSelection()&&(re.clear(),g=!0),(C=f.originalEvent)!=null&&C.shiftKey&&this.previousEvt?(re.addSelection(this.createRangeByEvents(f,this.previousEvt)),R=!0,g=!0):(Q=f.originalEvent)!=null&&Q.ctrlKey||(A=f.originalEvent)!=null&&A.metaKey?(re.addSelection(Ii.singleCell(f.rowIndex,f.columnIndex)),R=!0,g=!0):(P=f.originalEvent)!=null&&P.altKey&&((oe=f.originalEvent)!=null&&oe.ctrlKey||(K=f.originalEvent)!=null&&K.metaKey)&&(re.removeSelection(Ii.singleCell(f.rowIndex,f.columnIndex)),R=!0,g=!0))}return R?this.previousEvt=void 0:this.previousEvt=f==null?void 0:f.clone(),g}onActionTriggered(f){if(this.getSelectionModel&&this.getFocusModel){const h=this.getSelectionModel(),g=this.getFocusModel();if(h&&g){if(f==="SELECT_ALL")return h.selectAll(),this.tableScope.repaint(),!0;if(f==="DESELECT_ALL")return h.clear(),this.tableScope.repaint(),!0;if(f==="TOGGLE_SELECTION"){const[R,T]=g.getFocus();return h.togglePoint(R,T),this.tableScope.repaint(),!0}}}return!1}createRangeByEvents(f,h){h||(h=f);const g=Math.min(f.rowIndex,h==null?void 0:h.rowIndex),R=Math.max(f.rowIndex,h==null?void 0:h.rowIndex),T=Math.min(f.columnIndex,h==null?void 0:h.columnIndex),C=Math.max(f.columnIndex,h==null?void 0:h.columnIndex);return Ii.create({rowIndex1:g,columnIndex1:T,rowIndex2:R,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 x_{constructor(f){this.tableScope=f,this.shortcutActionIdMapping={},this.listener=[],this.listener.push(f),this.init()}addListener(f){this.listener.includes(f)||this.listener.push(f)}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(f){const h=this.findEnty(f);h&&this.emit(h)&&(f.preventDefault(),f.stopPropagation())}emit(f){this.isDebug()&&console.debug("ShortcutService emit:",f);let h=!1;for(const g of this.listener)g.onActionTriggered(f)&&(h=!0);return h}findEnty(f){const h=this.getTokenByEvent(f);this.isDebug()&&console.debug("ShortcutService tokens:",h);for(const g in this.shortcutActionIdMapping){const R=g.replace(/opt/g,"alt").replace(/cmd/g,"meta").split(/[\+ ]/g).sort();if(this.areTokensEquals(h,R))return this.shortcutActionIdMapping[g]}}areTokensEquals(f,h){if(f.length!==h.length||f.length===0)return!1;for(let g=0;g<f.length;g++)if(f[g]!==h[g])return!1;return!0}getTokenByEvent(f){const h=[];return f.altKey&&h.push("alt"),f.shiftKey&&h.push("shift"),f.ctrlKey&&h.push("ctrl"),f.metaKey&&h.push("meta"),f.code&&h.push(f.code.toLowerCase().replace(/key/g,"")),h.sort()}}class t1{onCheckboxChanged(f){}onContextmenu(f){}onModelChanged(f){}onMouseClicked(f){}onMouseDragging(f){}onMouseDraggingEnd(f){}onMouseMoved(f){}}class p1{setStyle(f,h,g){return f.style[h]=g,f}appendText(f,h){const g=this.createText(h);return this.appendChild(f,g),g}addClass(f,h){return h.includes(" ")?h.split(" ").forEach(g=>f.classList.add(g)):f.classList.add(h),f}removeClass(f,h){return h.includes(" ")?h.split(" ").forEach(g=>f.classList.remove(g)):f.classList.remove(h),f}appendChild(f,h){f.appendChild(h)}createElement(f){return document.createElement(f)}createText(f){return document.createTextNode(f)}setAttribute(f,h,g){f.setAttribute(h,g)}}class T_{render(f,h,g,R,T,C,Q){if(T.isEditable(h,g)){Q.addClass(f,"ge-table-row-input-div");const A=T.getValueAt(h,g);f.innerHTML=`
|
|
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(f,T),T}addLabelDiv(f,h="",g=!1,R=-1,T=-1,C="body"){const Q=this.domService.createElement("div");if(this.domService.addClass(Q,"ge-table-label-div"),this.domService.setStyle(Q,"position","relative"),this.domService.setStyle(Q,"background","transparent"),this.domService.setStyle(Q,"width","100%"),this.domService.setStyle(Q,"height","100%"),this.domService.setAttribute(Q,"data-row-index",`${R}`),this.domService.setAttribute(Q,"data-col-index",`${T}`),this.domService.setAttribute(Q,"data-area",`${C}`),h)if(g){const A=this.domService.createText(h);this.domService.appendChild(Q,A)}else{const A=this.domService.createElement("div");this.domService.appendChild(Q,A);const P=this.domService.createText(h);this.domService.addClass(A,"ge-table-label"),this.domService.appendChild(A,P),this.domService.setAttribute(A,"data-row-index",`${R}`),this.domService.setAttribute(A,"data-col-index",`${T}`),this.domService.setAttribute(A,"data-area",`${C}`)}return this.domService.appendChild(f,Q),Q}addSortedIcon(f,h="",g=new d1,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;h==="asc"?C=g.iconAsc:h==="desc"?C=g.iconDesc:C=g.iconPlaceholder;const Q=C.content,A=this.domService.createText(Q);this.domService.appendChild(T,A),C.style&&this.applyStyleString(T,C.style);for(const P of C.classes)this.domService.addClass(T,P);return this.domService.appendChild(f,T),T}addArrowDiv(f,h="none",g=new f1,R=-1,T=-1,C="body"){const Q=this.domService.createElement("div");this.domService.addClass(Q,"ge-table-tree-arrow-div"),this.domService.setStyle(Q,"display","inline-block"),this.domService.setStyle(Q,"position",""),this.domService.setStyle(Q,"width","20px"),this.domService.setStyle(Q,"background","transparent"),this.domService.setStyle(Q,"cursor","pointer"),this.domService.setAttribute(Q,"data-row-index",`${R}`),this.domService.setAttribute(Q,"data-col-index",`${T}`),this.domService.setAttribute(Q,"data-area",`${C}`);let A;h==="expanded"?A=g.arrowExpanded:h==="collapsed"?A=g.arrowCollapsed:A=g.arrowPlaceholder;const P=A.content,oe=this.domService.createText(P);this.domService.appendChild(Q,oe),A.style&&this.applyStyleString(Q,A.style);for(const K of A.classes)this.domService.addClass(Q,K);return this.domService.appendChild(f,Q),Q}addColumnBorderDivs(f,h,g,R,T){if(f.verticalBorderVisible){const C=`ge-table-${R}-${T}-vertical-border`;this.addVerticalBorder(g,h,C)}if(f.horizontalBorderVisible){const C=`ge-table-${R}-${T}-horizontal-border`;this.addHorizontalBorder(g,h,C)}return h}addHorizontalBorder(f,h,g="ge-table-body-center-horizontal-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,g),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${f.left}px`),this.domService.setStyle(R,"top",`${f.top}px`),this.domService.setStyle(R,"width",`${f.width}px`),this.domService.setStyle(R,"height","1px"),this.domService.appendChild(h,R),R}addFocusBorderDivs(f,h,g){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",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${h.height}px`),this.applyStyle(R,g),this.domService.appendChild(f,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",`${h.left+h.width-1}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${h.height}px`),this.applyStyle(R,g),this.domService.appendChild(f,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",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width",`${h.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,g),this.domService.appendChild(f,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",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top+h.height-1}px`),this.domService.setStyle(R,"width",`${h.width}px`),this.domService.setStyle(R,"height","1px"),this.applyStyle(R,g),this.domService.appendChild(f,R),f}addVerticalBorder(f,h,g="ge-table-body-center-vertical-border"){const R=this.domService.createElement("div");return this.domService.addClass(R,g),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${f.left}px`),this.domService.setStyle(R,"top",`${f.top}px`),this.domService.setStyle(R,"width","1px"),this.domService.setStyle(R,"height",`${f.height}px`),this.domService.appendChild(h,R),R}addDiv(f,h,g=""){const R=this.domService.createElement("div");return g&&this.domService.addClass(R,g),this.domService.setStyle(R,"display","clip"),this.domService.setStyle(R,"position","absolute"),this.domService.setStyle(R,"left",`${h.left}px`),this.domService.setStyle(R,"top",`${h.top}px`),this.domService.setStyle(R,"width",`${h.width}px`),this.domService.setStyle(R,"height",`${h.height}px`),this.domService.appendChild(f,R),R}applyStyleString(f,h){const g=h.split(";").map(R=>R.trim()).filter(R=>R);for(const R of g){const[T,C]=R.split(":");this.domService.setStyle(f,T.trim(),C.trim())}}getDivOrCreateDiv(f,h){let g=h.cache[f];return g?(g.innerText="",g):(g=this.domService.createElement("div"),h.cache[f]=g,g)}}const vC=Y=>Y==="header"?"header":Y==="footer"?"footer":"body";class u_{constructor(f,h){if(this.rowIdx=-1,this.colIdx=-1,this.action=null,this.inputType=null,this.className="",f!==null&&(f instanceof HTMLDivElement||f instanceof HTMLSpanElement||f instanceof HTMLInputElement)){this.className=f.className,this.action=f.getAttribute("data-ge-action"),this.inputType=f.getAttribute("data-input-type"),this.rowIdx=Number(f.getAttribute("data-row-index")),this.colIdx=Number(f.getAttribute("data-col-index"));const g=f.getAttribute("data-area");if(g&&(this.areaIdent=vC(g),this.areaModel=h.tableModel.getAreaModel(this.areaIdent),this.row=this.areaModel.getRowByIndex(this.rowIdx)),f instanceof HTMLInputElement){const R=f;this.value=R.value}}}}class s_{constructor(f){this.tableScope=f,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(h=>h.addEventListener("resize",this.tableScope.adjustContainersAndRows.bind(this.tableScope)))}onContextmenu(f){this.mouseEvent=f;const h=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.contextmenu(h)}onHostElementClicked(f){const h=new u_(f.target,this.tableScope);if(h.action==="toggleExpandCollapseAll")this.expandedAll=!this.expandedAll,this.tableScope.toggleExpandCollapseAll(this.expandedAll),f.preventDefault(),f.stopPropagation();else if(h.inputType==="checkbox"&&h.areaIdent)this.tableScope.toggleRowCheckbox(h.rowIdx,h.colIdx,h.areaIdent),f.preventDefault(),f.stopPropagation();else if(cC(h.row)&&h.areaModel){const g=h.colIdx===this.getArrowColumnIndex()&&f.altKey,R=h.className.includes("ge-table-tree-arrow-div");if(console.info(R,g),g||R){f.preventDefault(),f.stopPropagation();const T=h.row;T.expanded=!T.expanded,"recalcVisibleTreeRows"in h.areaModel&&h.areaModel.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(T)}}if(h.areaIdent==="body"&&this.tableScope.tableOptions.getFocusModel){const g=this.tableScope.tableOptions.getFocusModel();g==null||g.clear(),g==null||g.setFocus(h.rowIdx,h.colIdx)}this.publishGeMouseEvent(f,1)}onHostElementDblClicked(f){if(f.target instanceof HTMLElement){const h=f.target,g=h.getAttribute("data-area"),R=vC(g),T=Number(h.getAttribute("data-row-index")),C=Number(h.getAttribute("data-col-index")),Q=this.tableScope.tableModel.getAreaModel(R);if(g&&R==="header")this.tableScope.tableModel.isSortable(C)&&(this.tableScope.clearSelection(),this.tableScope.onHeaderDblClicked(f,T,C));else if(h.getAttribute("data-row-index")){const A=Q.getRowByIndex(T);if(g&&R==="body"&&Q.isEditable(T,C)&&(this.tableScope.clearSelection(),this.tableScope.initRenderEditor(T,C)),cC(A)&&C===this.getArrowColumnIndex()){f.preventDefault(),f.stopPropagation();const P=A;P.expanded=!P.expanded,"recalcVisibleTreeRows"in Q&&Q.recalcVisibleTreeRows(),this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth),this.tableScope.adjustContainersAndRows(),this.updateCollapsedExpandedState(P)}}}this.publishGeMouseEvent(f,2)}publishGeMouseEvent(f,h){var g;this.mouseEvent=f,this.geMouseEventOld=(g=this.geMouseEvent)==null?void 0:g.clone(),this.geMouseEvent=this.tableScope.createGeMouseEvent(f),this.geMouseEvent&&(this.geMouseEvent.clickCount=h),this.tableScope.onMouseClicked(this.geMouseEvent,this.geMouseEventOld)}updateCollapsedExpandedState(f){var g,R,T,C,Q;const h=(R=(g=this.tableScope.tableOptions)==null?void 0:g.autoRestoreOptions)==null?void 0:R.getRowId;if(h){const A=(T=this.tableScope.storeStateCollapsedExpandService)==null?void 0:T.collapsedExpandedStateGet().mode,P=A==="collapsed"&&!f.expanded||A==="expanded"&&f.expanded,oe=A==="collapsed"&&f.expanded||A==="expanded"&&!f.expanded,K=h(f.data);P?(C=this.tableScope.storeStateCollapsedExpandService)==null||C.collapsedStateIdsPush(K):oe&&((Q=this.tableScope.storeStateCollapsedExpandService)==null||Q.collapsedStateIdsRemove(K))}}getArrowColumnIndex(){return this.tableScope.tableModel.isRowCheckboxVisible()?1:0}onMouseDown(f){this.mouseEvent=f,this.startMouseEvent=this.tableScope.createGeMouseEvent(this.mouseEvent),this.tableScope.onMouseDown(this.startMouseEvent),this.mouseDown=!0}onMouseMove(f){this.mouseEvent=f,this.mouseDown?(this.dragging=!0,requestAnimationFrame(this.mouseDraggingOnFrame.bind(this))):requestAnimationFrame(this.mouseMoveOnFrame.bind(this))}onMouseUp(f){this.mouseEvent=f,this.dragging&&requestAnimationFrame(this.mouseDraggingEndOnFrame.bind(this)),this.mouseDown=!1,this.dragging=!1}mouseDraggingOnFrame(){var f;if(this.mouseEvent){const h=this.tableScope.createGeMouseEvent(this.mouseEvent);(f=this.startMouseEvent)!=null&&f.originalEvent&&(h.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,h.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingOnFrame(h)}}mouseDraggingEndOnFrame(){var f;if(this.mouseEvent){const h=this.tableScope.createGeMouseEvent(this.mouseEvent);(f=this.startMouseEvent)!=null&&f.originalEvent&&(h.draggingX=this.mouseEvent.clientX-this.startMouseEvent.originalEvent.clientX,h.draggingY=this.mouseEvent.clientY-this.startMouseEvent.originalEvent.clientY),this.tableScope.mouseDraggingEndOnFrame(h)}}mouseMoveOnFrame(){if(this.mouseEvent){const f=this.tableScope.createGeMouseEvent(this.mouseEvent);this.tableScope.mouseMove(f)}}}class c_{constructor(f){this.tableScope=f}updateCells(f,h=!1){this.tableScope.updateCells(f,h)}externalFilterChanged(){this.tableScope.externalFilterChanged()}scrollToPixel(f=0,h=0){}scrollToIndex(f=0,h=0){}setHeaderVisible(f=!0){}setColumnVisible(f,h=!0){}isColumnVisible(f){return!0}isHeaderVisible(){return!0}setFooterVisible(f=!0){}isFooterVisible(){return!0}repaint(){this.tableScope.repaint()}}class mC{constructor(f){this.getStorageKeyFn=f}autoConvertMapToObject(f){const h={};if(f instanceof Map){const g=f;for(const R of[...g]){const[T,C]=R;h[T]=C}}return h}checkAndPersistItem(f,h){const g=this.getStorageKeyFn;if(g){const R=g();if(R){const T=R+f;if((h+"").includes("Map")){const C=this.autoConvertMapToObject(h);this.persistItem(T,C)}else this.persistItem(T,h)}}}persistItem(f,h){h?localStorage.setItem(f,JSON.stringify(h)):localStorage.removeItem(f)}loadFromLocalStorage(f){const h=localStorage.getItem(f);return h?JSON.parse(h):null}}class f_ extends mC{constructor(f){super(f),this.SCROLL_STATE="scrollState",this.scrollOffset=[0,0],this.load()}getScrollOffset(){return this.scrollOffset}updateScrollOffset(f){this.scrollOffset=f,this.checkAndPersistItem(this.SCROLL_STATE,this.scrollOffset)}load(){const f=this.getStorageKeyFn;if(f){const h=f();if(h){const g=h+this.SCROLL_STATE;let R=this.loadFromLocalStorage(g);this.scrollOffset=R||[0,0]}}}}class d_{constructor(f="collapsed",h=[],g=!1,R=!1){this.mode=f,this.rowIds=h,this.allCollapsed=g,this.allExpanded=R}}class p_ extends mC{constructor(f){super(f),this.COLLAPSED_EXPANDED_STATE="collapsedExpandedState",this.collapsedExpandedState=new d_,this.load()}collapsedExpandedStateGet(){return this.collapsedExpandedState}collapsedExpandedStateIncludes(f){return this.collapsedExpandedState.rowIds.includes(f)}collapsedStateIdsPush(f){this.collapsedExpandedState.rowIds.includes(f)||(this.collapsedExpandedState.rowIds.push(f),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateIdsRemove(f){const h=this.collapsedExpandedState.rowIds.indexOf(f);h!==-1&&(this.collapsedExpandedState.rowIds.splice(h,1),this.collapsedExpandedState.allCollapsed=!1,this.collapsedExpandedState.allExpanded=!1,this.persist())}collapsedStateAll(f){this.collapsedExpandedState.rowIds=[],this.collapsedExpandedState.mode=f?"collapsed":"expanded",this.collapsedExpandedState.allCollapsed=!f,this.collapsedExpandedState.allExpanded=f,this.persist()}load(){const f=this.getStorageKeyFn;if(f){const h=f();if(h){const g=h+this.COLLAPSED_EXPANDED_STATE,R=this.loadFromLocalStorage(g);R&&(this.collapsedExpandedState=R)}}}persist(){this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE,this.collapsedExpandedState)}}class h_ extends mC{constructor(f){super(f),this.SORTING_STATE="sortingState",this.sortItems=[],this.load()}getSortItems(){return this.sortItems}setSortItems(f){this.sortItems=f,this.checkAndPersistItem(this.SORTING_STATE,this.sortItems)}load(){const f=this.getStorageKeyFn;if(f){const h=f();if(h){const g=h+this.SORTING_STATE;let R=this.loadFromLocalStorage(g);this.sortItems=R||[]}}}}class ko{constructor(f=0,h=0,g=0,R=0,T){this.left=f,this.width=h,this.height=g,this.top=R,this.index=T}}class v_{constructor(f,h,g,R){this.hostElement=f,this.tableModel=h,this.dom=g,this.tableOptions=R,this.scrollTop=0,this.areaBodyWestGeo=new ko,this.areaBodyCenterGeo=new ko,this.areaBodyEastGeo=new ko;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=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-hover-row",T)),this.hoverColumn=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-hover-column",T)),this.areaHeaderWest=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-header ge-table-header-west",T,"header","west"))),this.areaHeaderCenter=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-header ge-table-header-center",T,"header","center"))),this.areaHeaderEast=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-header ge-table-header-east",T,"body","east"))),this.areaBodyWest=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-body ge-table-body-west",T,"body","west"))),this.areaBodyEast=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-body ge-table-body-east",T,"body","east"))),this.areaFooterWest=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-footer ge-table-footer-west",T,"footer","west"))),this.areaFooterCenter=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-footer ge-table-footer-center",T,"footer","center"))),this.areaFooterEast=g.appendRelativeChildDiv(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-footer ge-table-footer-east",T,"footer","east"))),this.scrollViewport=g.applyStyleOverflowAuto(this.tableOptions.overflowX??"auto",this.tableOptions.overflowY??"auto",g.applyStyleNoPadding(g.applyStylePosistionAbsolute(g.createAreaDivWithClass("ge-table-scroll-viewport",T,"body","center")))),this.contentWrapperDiv=g.applyStyleNoPadding(g.applyStylePosistionRelative(g.createDivWithClass("ge-table-scroll-content-wrapper",this.scrollViewport))),this.contentDiv=g.applyStyleNoPadding(g.applyStylePosistionRelative(g.createDivWithClass("ge-table-scroll-content",this.contentWrapperDiv))),this.areaBodyCenter=g.appendRelativeChildDiv(g.createDivWithClass("ge-table-body-center",this.contentDiv)),this.borderHeaderBottom=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-header-border",T)),this.borderFixedWest=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-west-fixed-column-border",T)),this.borderFixedEast=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-east-fixed-column-border",T)),this.borderFooterTop=g.applyStylePosistionAbsolute(g.createDivWithClass("ge-table-footer-border",T))}adjustContainersAndRows(){const f=this.tableModel.getPadding(),h=this.hostElement.clientWidth,g=this.hostElement.clientHeight;this.dom.applyStyle(this.scrollViewport,{width:`${h-f.left}px`,height:`${g-f.top}px`,top:`${f.top}px`,left:`${f.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=f.left,this.areaBodyWestGeo.height=g-f.top-f.bottom,this.areaBodyWestGeo.top=f.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=f.right,this.areaBodyEastGeo.height=g-f.top-f.bottom,this.areaBodyEastGeo.top=f.top,this.areaBodyEastGeo.left=h-f.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=h-f.left-f.right,this.areaBodyCenterGeo.height=g-f.top-f.bottom,this.areaBodyCenterGeo.top=0,this.areaBodyCenterGeo.left=0,this.dom.applyStyleInPx(this.areaBodyCenter.parent,this.areaBodyCenterGeo),this.dom.applyStyle(this.areaHeaderCenter.parent,{width:`${h-f.left-f.right}px`,height:`${f.top}px`,top:"0",left:`${f.left}px`}),this.dom.applyStyle(this.areaHeaderWest.parent,{width:`${f.left}px`,height:`${f.top}px`,top:"0",left:"0"}),this.dom.applyStyle(this.areaHeaderEast.parent,{width:`${f.right}px`,height:`${f.top}px`,top:"0",left:`${h-f.right}px`}),this.tableOptions.headerSeparatorBorderVisible&&this.tableModel.isHeaderVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderHeaderBottom,{width:`${h}px`,height:"1px",top:`${f.top}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderHeaderBottom),this.dom.applyStyle(this.areaFooterWest.parent,{width:`${f.left}px`,height:`${f.bottom}px`,top:`${g-f.bottom}px`,left:"0"}),this.dom.applyStyle(this.areaFooterCenter.parent,{width:`${h-f.left-f.right}px`,height:`${f.bottom}px`,top:`${g-f.bottom}px`,left:`${f.left}px`}),this.dom.applyStyle(this.areaFooterEast.parent,{width:`${f.right}px`,height:`${f.bottom}px`,top:`${g-f.bottom}px`,left:`${h-f.right}px`}),this.tableOptions.footerSeparatorBorderVisible&&this.tableModel.isFooterVisibe()?this.dom.applyDisplayBlockStyle(this.dom.applyStyle(this.borderFooterTop,{width:`${h}px`,height:"1px",top:`${g-f.bottom}px`,left:"0px"})):this.dom.applyDisplayNoneStyle(this.borderFooterTop),this.adjustAfterScrolling()}adjustAfterScrolling(){}resetSizeOfWrapperDiv(){const f=`${this.tableModel.getContentWidthInPixel()}px`,h=`${this.tableModel.getContentHeightInPixel()+1}px`;this.dom.setStyle(this.contentWrapperDiv,"width",f),this.dom.setStyle(this.contentWrapperDiv,"height",h)}}class Ii{constructor(f,h,g,R,T=!1){this.r1=f,this.c1=h,this.r2=g,this.c2=R,this.gammaRange=T}static create(f){return f.gammaRange===void 0&&(f.gammaRange=!1),new Ii(f.rowIndex1,f.columnIndex1,f.rowIndex2,f.columnIndex2,f.gammaRange)}static singleCell(f,h){return new Ii(f,h,f,h)}static singleRow(f){return new Ii(f,0,f,Number.MAX_SAFE_INTEGER)}static singleColumn(f){return new Ii(0,f,Number.MAX_SAFE_INTEGER,f)}isInRange(f,h){return f>=this.r1&&f<=this.r2&&h>=this.c1&&h<=this.c2}}class m_{constructor(f,h){this.tableModel=f,this.areaModel=h,this.colAndRowspanRanges=void 0}init(){if(this.areaModel.getMaxColspan()<2&&this.areaModel.getMaxRowspan()<2)return;this.colAndRowspanRanges=[];const f=this.areaModel.getRowCount(),h=this.tableModel.getColumnCount();for(let g=0;g<f;g++)for(let R=0;R<h;R++){let T=this.areaModel.getColspanAt(g,R),C=this.areaModel.getRowspanAt(g,R);if(T>1||C>1){T===0&&(T=1),C===0&&(C=1);const Q=this.areaModel.hasOwnProperty("gammaCells");this.colAndRowspanRanges.push(new Ii(g,R,g+C-1,R+T-1,Q))}}}getRanges(){return this.colAndRowspanRanges?this.colAndRowspanRanges:[]}isInRange(f,h){if(this.colAndRowspanRanges){for(const g of this.colAndRowspanRanges)if(g.isInRange(f,h))return!0}return!1}}class y_{constructor(f,h,g){this.header=f,this.body=h,this.footer=g}}class g_ extends v_{constructor(f,h,g,R){var C,Q;super(f,h,g,R),this.scrollLeft=0,this.scrollViewportLeft=0,this.scrollFactorY=0,this.scrollFactorX=0,this.cleanupFunctions={header:[],body:[],footer:[]},this.tree=!1,this.colAndRowspanModels=new y_,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),(Q=this.tableOptions)!=null&&Q.getFocusModel&&(this.getFocusModel=this.tableOptions.getFocusModel),fC(h.getAreaModel("body"))&&(this.tree=!0),["header","body","footer"].forEach(A=>{var P;this.colAndRowspanModels[A]=new m_(h,h.getAreaModel(A)),(P=this.colAndRowspanModels[A])==null||P.init()})}isEditing(){return this.editing}resetEditorRenderer(){this.editorRenderer=void 0,this.editorRendererRow=-1,this.editorRendererColumn=-1,this.editing=!1}clearSelection(){if(this.getSelectionModel){const f=this.getSelectionModel();f==null||f.clear()}}initRenderEditor(f,h){var R;let g=(R=this.tableModel.getColumnDef(h))==null?void 0:R.getEditRenderer;if(g||(g=this.tableOptions.getEditRenderer),g)if(this.editorRenderer=g(f,h),this.editorRenderer){this.editorRendererRow=f,this.editorRendererColumn=h,this.editing=!0,this.repaint();const T=document.querySelector("input.ge-table-cell-editor-input");T&&T.focus()}else this.resetEditorRenderer()}repaint(){this.adjustAfterScrolling()}adjustAfterScrolling(){var f;for(const h of this.removables)h.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")),((f=this.tableModel.getAreaModel("header"))==null?void 0:f.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 f,h;this.storeScrollPosStateService&&((h=(f=this.tableOptions)==null?void 0:f.autoRestoreOptions)!=null&&h.autoRestoreScrollPosition)&&this.storeScrollPosStateService.updateScrollOffset([this.scrollLeft,this.scrollTop])}updateCells(f,h=!1){f.forEach(g=>{this.tableModel.getAreaModel(g.area).setValue(g.rowIndex,g.columnIndex,g.value),h||this.rerenderCellContent(g)}),h&&this.repaint()}getAreaAndSideIdentByAttr(f){if(f){const h=this.getStringByAttr(f,"data-area"),g=this.getStringByAttr(f,"data-side");if(g&&h)return[h,g]}return[void 0,void 0]}getArea(f,h){if(f==="header"){if(h==="west")return this.areaHeaderWest;if(h==="center")return this.areaHeaderCenter;if(h==="east")return this.areaHeaderEast}else if(f==="body"){if(h==="west")return this.areaBodyWest;if(h==="center")return this.areaBodyCenter;if(h==="east")return this.areaBodyEast}else if(f==="footer"){if(h==="west")return this.areaFooterWest;if(h==="center")return this.areaFooterCenter;if(h==="east")return this.areaFooterEast}throw Error(`Wrong area identifier: row:${f}, col:${h}`)}adjustBody(){const f=this.areaBodyCenterGeo.height-this.tableModel.getContentHeightInPixel(),h=this.scrollFactorY*f;this.dom.setStyle(this.contentDiv,"top",`${this.scrollTop}px`),this.dom.setStyle(this.contentDiv,"left",`${this.scrollViewport.scrollLeft}px`),this.adjustArea("body",h)}getNumberByAttr(f,h){var g;if(f){const R=(g=f.closest("["+h+"]"))==null?void 0:g.getAttribute(h);if(R)return Number(R)}return-1}getStringByAttr(f,h){var g;if(f){const R=(g=f.closest("["+h+"]"))==null?void 0:g.getAttribute(h);if(R)return R}return""}adjustArea(f,h=0){var pe;const g=this.getArea(f,"west"),R=this.getArea(f,"center"),T=this.getArea(f,"east"),C=R.child.clientHeight;g.child.innerText="",R.child.innerText="",T.child.innerText="";const Q=0,A=this.areaBodyCenterGeo.width,P=this.tableModel.getPadding(),oe=this.tableModel.getAreaModel(f),K=oe.getRowCount();for(;this.cleanupFunctions[f].length;){const Me=this.cleanupFunctions[f].shift();Me&&Me()}let re=h;const te=this.tableModel.getColumnCount(),ne=this.tableModel.getFixedRightColumnCount(),He=this.tableModel.getFixedLeftColumnCount();for(let Me=0;Me<K;Me++){const lt=re,De=Me===K-1,$e=this.tableModel.getRowHeight(f,Me);if(lt+$e>0){this.firstVisibleRowIndex=Me;let de={left:Q,width:A,height:$e,top:lt,index:Me},Le=this.dom.addRowDiv(R,de,Me,f,"center");const we=He;if(this.adjustColumnsToRowParent({areaIdent:f,sideIdent:"center",areaModel:oe,geo:de,parent:Le,rowIndex:Me,columnIndexStart:we,columnIndexEnd:te-ne-1,verticalFixed:!1,lastRowOfModel:De}),P.left>0&&(de={left:Q,width:this.areaBodyWestGeo.width,height:$e,top:lt,index:Me},Le=this.dom.addRowDiv(g,de,Me,f,"west"),this.adjustColumnsToRowParent({areaIdent:f,sideIdent:"west",areaModel:oe,geo:de,parent:Le,rowIndex:Me,columnIndexStart:0,columnIndexEnd:we-1,verticalFixed:!0,lastRowOfModel:De})),P.right>0&&(de={left:Q,width:this.areaBodyEastGeo.width,height:$e,top:lt,index:Me},Le=this.dom.addRowDiv(T,de,Me,f,"east"),this.adjustColumnsToRowParent({areaIdent:f,sideIdent:"east",areaModel:oe,geo:de,parent:Le,rowIndex:Me,columnIndexStart:te-ne,columnIndexEnd:te-1,verticalFixed:!0,lastRowOfModel:De})),f==="header"&&this.tree&&Me===K-1){const ot=this.dom.applyStyle(this.dom.setAttribute(this.dom.addDiv(Le,new ko(16,20,20,8)),"data-ge-action","toggleExpandCollapseAll"),{cursor:"pointer"}),Tt=this.tableOptions.treeOptions.arrowExpandCollapseAll;if(Tt){const Dt=this.dom.domService.createText(Tt.content);this.dom.domService.appendChild(ot,Dt),Tt.style&&this.dom.applyStyleString(ot,Tt.style)}}}if(re=re+$e,re>C)break}if(this.colAndRowspanModels&&this.colAndRowspanModels[f]){const Me=((pe=this.colAndRowspanModels[f])==null?void 0:pe.getRanges())??[];if(Me.length)for(const lt of Me){let De=0,$e=R.child,de="center";if(lt.c1<He)$e=g.child,de="west";else if(ne>0&<.c1>=te-ne)$e=T.child,de="east";else{const Le=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();De=this.scrollFactorX*Le-this.areaBodyWestGeo.width,de="center"}this.drawBigCell(lt,De,h,oe,$e,de)}}}drawBigCell(f,h,g,R,T,C){const Q=g+this.getRowHeights(0,f.r1-1,R).reduce((pe,Me)=>pe+Me,0),A=this.tableModel.getColumnCount(),P=this.tableModel.getFixedRightColumnCount();let oe=0;P>0&&f.c1>=A-P&&(oe=A-P);const K=h+this.getColumnWidths(oe,f.c1-1).reduce((pe,Me)=>pe+Me,0),re=this.getRowHeights(f.r1,f.r2,R).reduce((pe,Me)=>pe+Me,0),te=this.getColumnWidths(f.c1,f.c2).reduce((pe,Me)=>pe+Me,0);let ne=!1;const He=this.getSelectionModel?this.getSelectionModel():void 0;He&&(ne=He.getSelectionCount(f.r1,f.c1)>0),f.gammaRange?(console.info("TODO here",f),this.renderCell({areaModel:R,areaIdent:R.areaIdent,sideIdent:C,rowIndex:f.r1,columnIndex:f.c1,left:K,top:Q,width:te,height:re,parent:T,cellSelected:ne,lastRowOfModel:!0,gammaRange:f.gammaRange})):this.renderCell({areaModel:R,areaIdent:R.areaIdent,sideIdent:C,rowIndex:f.r1,columnIndex:f.c1,left:K,top:Q,width:te,height:re,parent:T,cellSelected:ne,lastRowOfModel:!0,gammaRange:f.gammaRange}),R.areaIdent==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:f.r1,columnIndex:f.c1,cellLeft:K,cellTop:Q,cellWidth:te,cellHeight:re,parent:T})}findRowOfImportantRowspanCell(f,h,g){const R=f.getMaxRowspan();for(let T=h-1;T>-1;T--){const C=f.getRowspanAt(T,g);if(C>1&&T+C+1>=h)return T;if(h-T>R)return-1}return-1}adjustColumnsToRowParent({areaIdent:f,sideIdent:h,areaModel:g,geo:R,parent:T,rowIndex:C,columnIndexStart:Q,columnIndexEnd:A,verticalFixed:P=!1,lastRowOfModel:oe=!1}){var He;this.scrollViewportLeft=this.scrollViewport.scrollLeft;let K=0;if(!P){const pe=this.areaBodyCenterGeo.width-this.tableModel.getContentWidthInPixel();K=this.scrollFactorX*pe}const re=0,te=!!(f==="body"&&h);let ne=K;for(let pe=Q;pe<=A;pe++){const Me=ne,lt=this.tableModel.getColumnWidth(pe);if(lt>0&&Me+lt>0){let De=R.height;const $e=g.getRowspanAt(C,pe),de=g.getColspanAt(C,pe);$e>1&&(De=this.getRowHeights(C,C+$e-1,g).reduce((ot,Tt)=>ot+Tt,0));let Le=lt;de>1&&(Le=this.getColumnWidths(pe,pe+de-1).reduce((ot,Tt)=>ot+Tt,0));let we=!1;if(this.colAndRowspanModels&&this.colAndRowspanModels[f]&&(He=this.colAndRowspanModels[f])!=null&&He.isInRange(C,pe)&&(we=!0),this.draggingTargetColumnIndex===pe&&f!=="header"){this.renderDragTargetDiv(T,Me,re,Le,De);const ot={left:Me,top:re,width:Le,height:De};this.dom.addColumnBorderDivs(this.tableOptions,T,ot,f,h)}else{const ot=this.renderSelectedBackgroundDiv(we,te,h,g,C,pe,T,Me,re,Le,De);we||this.renderCell({areaModel:g,areaIdent:f,sideIdent:h,rowIndex:C,columnIndex:pe,left:Me,top:re,width:Le,height:De,parent:T,cellSelected:ot,lastRowOfModel:oe,gammaRange:!0}),f==="header"&&this.tableOptions.columnsResizable&&this.renderHeaderCellResizeHandle({rowIndex:C,columnIndex:pe,cellLeft:Me,cellTop:re,cellWidth:Le,cellHeight:De,parent:T})}}if(ne=ne+lt,ne>this.areaBodyCenterGeo.width)break}this.tableOptions.verticalBorderVisible&&this.dom.addVerticalBorder(new ko(ne-1,1,R.height,0),T)}getTreeArrowColumnIndex(){return this.tableOptions.showCheckboxWihoutExtraColumn?0:this.tableModel.isRowCheckboxVisible()?1:0}addAndRenderCellDiv({areaModel:f,areaIdent:h,sideIdent:g,rowIndex:R,index:T,left:C,width:Q,height:A,top:P,parent:oe,lastRowOfModel:K,gammaRange:re}){var Ze;const ne=this.editorRenderer&&this.editorRendererRow===R&&this.editorRendererColumn===T?this.editorRenderer:f.getCellRenderer(R,T),He={left:C,width:Q,height:A,top:P,index:T},pe=f.getRowByIndex(R);let Me="none";if(T===this.getTreeArrowColumnIndex()&&cC(pe)){const Ae=pe;(Ze=Ae.children)!=null&&Ze.length?Ae.expanded?Me="expanded":Me="collapsed":Me="hidden"}let De;if(h==="header"){const Ae=this.tableModel.getColumnDef(T);(!(Ae!=null&&Ae.sortIconVisible)||Ae!=null&&Ae.sortIconVisible())&&(De=Ae==null?void 0:Ae.sortState)}const $e=f.getValueAt(R,T),de=ne?"":`${$e}`,Le=f.isRowChecked(R),we=this.dom.addColumnDiv(oe,He,R,T,h,g,de,Me,this.tableOptions,Le,De),ot=f.getTooltipAt(R,T);ot&&this.dom.setAttribute(we,"title",ot);const Tt=this.tableModel.getColumnDef(T);Tt&&Tt.classes[h]&&this.dom.addClasses(Tt.classes[h],we);let Dt;ne&&(Dt=ne.render(we,R,T,h,f,$e,this.dom.domService));const St=f.getCustomClassesAt(R,T);if(St.length&&this.dom.addClasses(St,we),this.dom.addColumnBorderDivs(this.tableOptions,oe,He,h,g),K&&this.dom.addHorizontalBorder({left:C,width:Q,height:A,top:P+A},oe),this.getFocusModel&&h==="body"){const Ae=this.getFocusModel();Ae!=null&&Ae.hasFocus(R,T)&&this.dom.addFocusBorderDivs(oe,He,{})}h==="header"&&this.dom.setAttribute(we,"data-ge-action","drag-column");const tn=f.getCustomStyleAt(R,T);if(tn)for(const Ae in tn)this.dom.setStyle(we,Ae,tn[Ae]);return[we,Dt]}applyCssClasses(f,h={}){f&&Object.entries(h).forEach(([g,R])=>{R?this.dom.addClass(g,f):this.dom.removeClass(g,f)})}rerenderCellContent({area:f,rowIndex:h,columnIndex:g,value:R,cssClasses:T}){const C=this.tableModel.getAreaModel(f),Q='div[data-col-index="'+g+'"][data-row-index="'+h+'"][data-area="'+f+'"]',A=document.querySelector(Q);if(A){let P;const K=this.editorRenderer&&this.editorRendererRow===h&&this.editorRendererColumn===g?this.editorRenderer:C.getCellRenderer(h,g);if(A.innerText="",this.applyCssClasses(A,T),K)P=K.render(A,h,g,f,C,R,this.dom.domService),P&&this.cleanupFunctions[f].push(P);else{const ne=`${R}`;this.dom.addLabelDiv(A,ne,!1,h,g,f)}const re=C.getCustomClassesAt(h,g);re.length&&this.dom.addClasses(re,A);const te=C.getCustomStyleAt(h,g);if(te)for(const ne in te)this.dom.setStyle(A,ne,te[ne])}}getColumnWidths(f,h){const g=[];for(let R=f;R<=h;R++)g.push(this.tableModel.getColumnWidth(R));return g}getRowHeights(f,h,g){const R=[];for(let T=f;T<=h;T++)R.push(g.getRowHeight(T));return R}adjustHoverRows(f){if(this.tableOptions.hoverRowVisible&&f.rowIndex>-1){const h=this.hostElement.clientWidth,g=this.tableModel.getAreaModel("body").getRowHeight(f.rowIndex),R=f.rowTop+this.areaHeaderCenter.parent.clientHeight-this.scrollTop;this.dom.applyStyle(this.hoverRow,{left:"0",top:R+"px",width:h+"px",height:g+"px",display:"block"})}else this.hideHoverRow()}hideHoverRow(){this.dom.applyStyle(this.hoverRow,{display:"none"})}adjustHoverColumns(f){if(this.tableOptions.hoverColumnVisible&&f.rowIndex>-1){const h=this.hostElement.clientHeight,g=this.tableModel.getColumnWidth(f.columnIndex),R=this.areaBodyWestGeo.width,T=f.columnLeft+this.tableModel.getPadding().left-this.scrollLeft-R;this.dom.applyStyle(this.hoverColumn,{left:T+"px",top:"0px",width:g+"px",height:h+"px",display:"block"})}else this.hideHoverColumn()}hideHoverColumn(){this.dom.applyStyle(this.hoverColumn,{display:"none"})}debounce(f,h=1e3){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(f.bind(this),h)}renderDragTargetDiv(f,h,g,R,T){const C=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass("ge-table-drop-zone",f));return this.dom.setStyle(C,"left",`${h}px`),this.dom.setStyle(C,"top",`${g}px`),this.dom.setStyle(C,"width",`${R}px`),this.dom.setStyle(C,"height",`${T}px`),C}renderSelectedBackgroundDiv(f,h,g,R,T,C,Q,A,P,oe,K){let re=!1;if(!f&&h&&R.isSelectable(T,C)&&this.getSelectionModel){const te=this.getSelectionModel();if(te){const ne=te.getSelectionCount(T,C);re=ne>0;for(let He=0;He<ne;He++){const pe=this.dom.applyStylePosistionAbsolute(this.dom.createDivWithClass(`ge-table-${R.areaIdent}-${g}-selected-range`,Q));this.dom.setStyle(pe,"left",`${A}px`),this.dom.setStyle(pe,"top",`${P}px`),this.dom.setStyle(pe,"width",`${oe}px`),this.dom.setStyle(pe,"height",`${K}px`)}}}return re}renderCell({areaModel:f,areaIdent:h,sideIdent:g,rowIndex:R,columnIndex:T,left:C,top:Q,width:A,height:P,parent:oe,cellSelected:K,lastRowOfModel:re,gammaRange:te}){const[ne,He]=this.addAndRenderCellDiv({areaModel:f,areaIdent:h,sideIdent:g,rowIndex:R,index:T,left:C,width:A,height:P,top:Q,parent:oe,lastRowOfModel:re,gammaRange:te});K&&this.dom.addClass(`ge-table-${h}-${g}-selected-range`,ne),He&&this.cleanupFunctions[h].push(He)}renderHeaderCellResizeHandle({rowIndex:f,columnIndex:h,cellLeft:g,cellTop:R,cellWidth:T,cellHeight:C,parent:Q}){const A=this.dom.domService,P=this.tableOptions.columnResizeHandleWidthInPx??2,oe=A.createElement("div");A.setAttribute(oe,"data-col-index",`${h}`),A.setAttribute(oe,"data-row-index",`${f}`),A.setAttribute(oe,"data-area","header"),A.setAttribute(oe,"data-ge-action","resize-column"),A.addClass(oe,"ge-table-column-resize-handle"),A.setStyle(oe,"display","clip"),A.setStyle(oe,"position","absolute"),A.setStyle(oe,"cursor","col-resize"),A.setStyle(oe,"left",`${g+T-P}px`),A.setStyle(oe,"top",`${R}px`),A.setStyle(oe,"width",`${P}px`),A.setStyle(oe,"height",`${C}px`),A.appendChild(Q,oe)}}class S_{constructor(f,h){this.columnIndex=f,this.sortState=h}}class C_{constructor(f){this.tableScope=f,this.tableScope.hostElement.addEventListener("change",this.onHostElementChanged.bind(this))}onHostElementChanged(f){if(f.target instanceof HTMLInputElement||f.target instanceof HTMLSelectElement||f.target instanceof HTMLTextAreaElement){const h=f.target,g=h.getAttribute("data-area"),R=h.getAttribute("data-row-index"),T=h.getAttribute("data-col-index");if(g&&R&&T){const C=vC(g),Q=Number(R),A=Number(T);this.tableScope.updateModelValueAfterEdit(C,Q,A,h.value)}}}}class E_{constructor(f=-1,h=-1){this.rowIndex=f,this.columnIndex=h}}class yC{constructor(f){this.cells=f}static createSingle(f,h){return new yC([new E_(f,h)])}}class b_{constructor(f){var h,g;this.tableScope=f,(h=this.tableScope.tableOptions)!=null&&h.getSelectionModel&&(this.getSelectionModel=this.tableScope.tableOptions.getSelectionModel),(g=this.tableScope.tableOptions)!=null&&g.getFocusModel&&(this.getFocusModel=this.tableScope.tableOptions.getFocusModel)}onMouseClicked(f,h){var T,C,Q,A,P,oe,K;let g=!1,R=!1;if(this.getSelectionModel&&this.getFocusModel){const re=this.getSelectionModel(),te=this.getFocusModel();re&&te&&(te.hasFocus(f.rowIndex,f.columnIndex)||(te.setFocus(f.rowIndex,f.columnIndex),g=!0),(T=f.originalEvent)!=null&&T.shiftKey||re.hasSelection()&&(re.clear(),g=!0),(C=f.originalEvent)!=null&&C.shiftKey&&this.previousEvt?(re.addSelection(this.createRangeByEvents(f,this.previousEvt)),R=!0,g=!0):(Q=f.originalEvent)!=null&&Q.ctrlKey||(A=f.originalEvent)!=null&&A.metaKey?(re.addSelection(Ii.singleCell(f.rowIndex,f.columnIndex)),R=!0,g=!0):(P=f.originalEvent)!=null&&P.altKey&&((oe=f.originalEvent)!=null&&oe.ctrlKey||(K=f.originalEvent)!=null&&K.metaKey)&&(re.removeSelection(Ii.singleCell(f.rowIndex,f.columnIndex)),R=!0,g=!0))}return R?this.previousEvt=void 0:this.previousEvt=f==null?void 0:f.clone(),g}onActionTriggered(f){if(this.getSelectionModel&&this.getFocusModel){const h=this.getSelectionModel(),g=this.getFocusModel();if(h&&g){if(f==="SELECT_ALL")return h.selectAll(),this.tableScope.repaint(),!0;if(f==="DESELECT_ALL")return h.clear(),this.tableScope.repaint(),!0;if(f==="TOGGLE_SELECTION"){const[R,T]=g.getFocus();return h.togglePoint(R,T),this.tableScope.repaint(),!0}}}return!1}createRangeByEvents(f,h){h||(h=f);const g=Math.min(f.rowIndex,h==null?void 0:h.rowIndex),R=Math.max(f.rowIndex,h==null?void 0:h.rowIndex),T=Math.min(f.columnIndex,h==null?void 0:h.columnIndex),C=Math.max(f.columnIndex,h==null?void 0:h.columnIndex);return Ii.create({rowIndex1:g,columnIndex1:T,rowIndex2:R,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 x_{constructor(f){this.tableScope=f,this.shortcutActionIdMapping={},this.listener=[],this.listener.push(f),this.init()}addListener(f){this.listener.includes(f)||this.listener.push(f)}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(f){const h=this.findEnty(f);h&&this.emit(h)&&(f.preventDefault(),f.stopPropagation())}emit(f){this.isDebug()&&console.debug("ShortcutService emit:",f);let h=!1;for(const g of this.listener)g.onActionTriggered(f)&&(h=!0);return h}findEnty(f){const h=this.getTokenByEvent(f);this.isDebug()&&console.debug("ShortcutService tokens:",h);for(const g in this.shortcutActionIdMapping){const R=g.replace(/opt/g,"alt").replace(/cmd/g,"meta").split(/[\+ ]/g).sort();if(this.areTokensEquals(h,R))return this.shortcutActionIdMapping[g]}}areTokensEquals(f,h){if(f.length!==h.length||f.length===0)return!1;for(let g=0;g<f.length;g++)if(f[g]!==h[g])return!1;return!0}getTokenByEvent(f){const h=[];return f.altKey&&h.push("alt"),f.shiftKey&&h.push("shift"),f.ctrlKey&&h.push("ctrl"),f.metaKey&&h.push("meta"),f.code&&h.push(f.code.toLowerCase().replace(/key/g,"")),h.sort()}}class t1{onCheckboxChanged(f){}onContextmenu(f){}onModelChanged(f){}onMouseClicked(f){}onMouseDragging(f){}onMouseDraggingEnd(f){}onMouseMoved(f){}}class p1{setStyle(f,h,g){return f.style[h]=g,f}appendText(f,h){const g=this.createText(h);return this.appendChild(f,g),g}addClass(f,h){return h.includes(" ")?h.split(" ").forEach(g=>f.classList.add(g)):f.classList.add(h),f}removeClass(f,h){return h.includes(" ")?h.split(" ").forEach(g=>f.classList.remove(g)):f.classList.remove(h),f}appendChild(f,h){f.appendChild(h)}createElement(f){return document.createElement(f)}createText(f){return document.createTextNode(f)}setAttribute(f,h,g){f.setAttribute(h,g)}}class T_{render(f,h,g,R,T,C,Q){if(T.isEditable(h,g)){Q.addClass(f,"ge-table-row-input-div");const A=T.getValueAt(h,g);f.innerHTML=`
|
|
9
9
|
<input
|
|
10
10
|
type="text"
|
|
11
11
|
value="${A}"
|
|
@@ -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 n1;function L_(){if(n1)return mt;n1=1;var Y=Symbol.for("react.element"),f=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),C=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),P=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),K=Symbol.iterator;function re(D){return D===null||typeof D!="object"?null:(D=K&&D[K]||D["@@iterator"],typeof D=="function"?D:null)}var
|
|
28
|
+
*/var n1;function L_(){if(n1)return mt;n1=1;var Y=Symbol.for("react.element"),f=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),C=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),P=Symbol.for("react.memo"),oe=Symbol.for("react.lazy"),K=Symbol.iterator;function re(D){return D===null||typeof D!="object"?null:(D=K&&D[K]||D["@@iterator"],typeof D=="function"?D:null)}var te={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ne=Object.assign,He={};function pe(D,X,ye){this.props=D,this.context=X,this.refs=He,this.updater=ye||te}pe.prototype.isReactComponent={},pe.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")},pe.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function Me(){}Me.prototype=pe.prototype;function lt(D,X,ye){this.props=D,this.context=X,this.refs=He,this.updater=ye||te}var De=lt.prototype=new Me;De.constructor=lt,ne(De,pe.prototype),De.isPureReactComponent=!0;var $e=Array.isArray,de=Object.prototype.hasOwnProperty,Le={current:null},we={key:!0,ref:!0,__self:!0,__source:!0};function ot(D,X,ye){var Je,Ye={},Ct=null,ut=null;if(X!=null)for(Je in X.ref!==void 0&&(ut=X.ref),X.key!==void 0&&(Ct=""+X.key),X)de.call(X,Je)&&!we.hasOwnProperty(Je)&&(Ye[Je]=X[Je]);var Et=arguments.length-2;if(Et===1)Ye.children=ye;else if(1<Et){for(var ft=Array(Et),Pt=0;Pt<Et;Pt++)ft[Pt]=arguments[Pt+2];Ye.children=ft}if(D&&D.defaultProps)for(Je in Et=D.defaultProps,Et)Ye[Je]===void 0&&(Ye[Je]=Et[Je]);return{$$typeof:Y,type:D,key:Ct,ref:ut,props:Ye,_owner:Le.current}}function Tt(D,X){return{$$typeof:Y,type:D.type,key:X,ref:D.ref,props:D.props,_owner:D._owner}}function Dt(D){return typeof D=="object"&&D!==null&&D.$$typeof===Y}function St(D){var X={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(ye){return X[ye]})}var tn=/\/+/g;function Ze(D,X){return typeof D=="object"&&D!==null&&D.key!=null?St(""+D.key):X.toString(36)}function Ae(D,X,ye,Je,Ye){var Ct=typeof D;(Ct==="undefined"||Ct==="boolean")&&(D=null);var ut=!1;if(D===null)ut=!0;else switch(Ct){case"string":case"number":ut=!0;break;case"object":switch(D.$$typeof){case Y:case f:ut=!0}}if(ut)return ut=D,Ye=Ye(ut),D=Je===""?"."+Ze(ut,0):Je,$e(Ye)?(ye="",D!=null&&(ye=D.replace(tn,"$&/")+"/"),Ae(Ye,X,ye,"",function(Pt){return Pt})):Ye!=null&&(Dt(Ye)&&(Ye=Tt(Ye,ye+(!Ye.key||ut&&ut.key===Ye.key?"":(""+Ye.key).replace(tn,"$&/")+"/")+D)),X.push(Ye)),1;if(ut=0,Je=Je===""?".":Je+":",$e(D))for(var Et=0;Et<D.length;Et++){Ct=D[Et];var ft=Je+Ze(Ct,Et);ut+=Ae(Ct,X,ye,ft,Ye)}else if(ft=re(D),typeof ft=="function")for(D=ft.call(D),Et=0;!(Ct=D.next()).done;)Ct=Ct.value,ft=Je+Ze(Ct,Et++),ut+=Ae(Ct,X,ye,ft,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 ut}function qt(D,X,ye){if(D==null)return D;var Je=[],Ye=0;return Ae(D,Je,"","",function(Ct){return X.call(ye,Ct,Ye++)}),Je}function _t(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 Te={current:null},le={transition:null},Ne={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:le,ReactCurrentOwner:Le};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(!Dt(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},mt.Component=pe,mt.Fragment=h,mt.Profiler=R,mt.PureComponent=lt,mt.StrictMode=g,mt.Suspense=A,mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ne,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 Je=ne({},D.props),Ye=D.key,Ct=D.ref,ut=D._owner;if(X!=null){if(X.ref!==void 0&&(Ct=X.ref,ut=Le.current),X.key!==void 0&&(Ye=""+X.key),D.type&&D.type.defaultProps)var Et=D.type.defaultProps;for(ft in X)de.call(X,ft)&&!we.hasOwnProperty(ft)&&(Je[ft]=X[ft]===void 0&&Et!==void 0?Et[ft]:X[ft])}var ft=arguments.length-2;if(ft===1)Je.children=ye;else if(1<ft){Et=Array(ft);for(var Pt=0;Pt<ft;Pt++)Et[Pt]=arguments[Pt+2];Je.children=Et}return{$$typeof:Y,type:D.type,key:Ye,ref:Ct,props:Je,_owner:ut}},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:T,_context:D},D.Consumer=D},mt.createElement=ot,mt.createFactory=function(D){var X=ot.bind(null,D);return X.type=D,X},mt.createRef=function(){return{current:null}},mt.forwardRef=function(D){return{$$typeof:Q,render:D}},mt.isValidElement=Dt,mt.lazy=function(D){return{$$typeof:oe,_payload:{_status:-1,_result:D},_init:_t}},mt.memo=function(D,X){return{$$typeof:P,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 Te.current.useCallback(D,X)},mt.useContext=function(D){return Te.current.useContext(D)},mt.useDebugValue=function(){},mt.useDeferredValue=function(D){return Te.current.useDeferredValue(D)},mt.useEffect=function(D,X){return Te.current.useEffect(D,X)},mt.useId=function(){return Te.current.useId()},mt.useImperativeHandle=function(D,X,ye){return Te.current.useImperativeHandle(D,X,ye)},mt.useInsertionEffect=function(D,X){return Te.current.useInsertionEffect(D,X)},mt.useLayoutEffect=function(D,X){return Te.current.useLayoutEffect(D,X)},mt.useMemo=function(D,X){return Te.current.useMemo(D,X)},mt.useReducer=function(D,X,ye){return Te.current.useReducer(D,X,ye)},mt.useRef=function(D){return Te.current.useRef(D)},mt.useState=function(D){return Te.current.useState(D)},mt.useSyncExternalStore=function(D,X,ye){return Te.current.useSyncExternalStore(D,X,ye)},mt.useTransition=function(){return Te.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
|
-
*/Qp.exports;var r1;function A_(){return r1||(r1=1,function(Y,f){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 h="18.2.0",g=Symbol.for("react.element"),R=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),P=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),Be=Symbol.for("react.offscreen"),de=Symbol.iterator,Ue="@@iterator";function tt(y){if(y===null||typeof y!="object")return null;var x=de&&y[de]||y[Ue];return typeof x=="function"?x:null}var _e={current:null},Ie={transition:null},pe={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},xe={current:null},Oe={},lt=null;function kt(y){lt=y}Oe.setExtraStackFrame=function(y){lt=y},Oe.getCurrentStack=null,Oe.getStackAddendum=function(){var y="";lt&&(y+=lt);var x=Oe.getCurrentStack;return x&&(y+=x()||""),y};var Tt=!1,yt=!1,un=!1,Te=!1,dt=!1,qt={ReactCurrentDispatcher:_e,ReactCurrentBatchConfig:Ie,ReactCurrentOwner:xe};qt.ReactDebugCurrentFrame=Oe,qt.ReactCurrentActQueue=pe;function Dt(y){{for(var x=arguments.length,H=new Array(x>1?x-1:0),j=1;j<x;j++)H[j-1]=arguments[j];le("warn",y,H)}}function De(y){{for(var x=arguments.length,H=new Array(x>1?x-1:0),j=1;j<x;j++)H[j-1]=arguments[j];le("error",y,H)}}function le(y,x,H){{var j=qt.ReactDebugCurrentFrame,ie=j.getStackAddendum();ie!==""&&(x+="%s",H=H.concat([ie]));var je=H.map(function(fe){return String(fe)});je.unshift("Warning: "+x),Function.prototype.apply.call(console[y],console,je)}}var Ae={};function D(y,x){{var H=y.constructor,j=H&&(H.displayName||H.name)||"ReactClass",ie=j+"."+x;if(Ae[ie])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.",x,j),Ae[ie]=!0}}var X={isMounted:function(y){return!1},enqueueForceUpdate:function(y,x,H){D(y,"forceUpdate")},enqueueReplaceState:function(y,x,H,j){D(y,"replaceState")},enqueueSetState:function(y,x,H,j){D(y,"setState")}},ye=Object.assign,Ze={};Object.freeze(Ze);function Ye(y,x,H){this.props=y,this.context=x,this.refs=Ze,this.updater=H||X}Ye.prototype.isReactComponent={},Ye.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")},Ye.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"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(y,x){Object.defineProperty(Ye.prototype,y,{get:function(){Dt("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})};for(var Et in Ct)Ct.hasOwnProperty(Et)&&ot(Et,Ct[Et])}function ct(){}ct.prototype=Ye.prototype;function Pt(y,x,H){this.props=y,this.context=x,this.refs=Ze,this.updater=H||X}var fa=Pt.prototype=new ct;fa.constructor=Pt,ye(fa,Ye.prototype),fa.isPureReactComponent=!0;function Cr(){var y={current:null};return Object.seal(y),y}var Ti=Array.isArray;function hn(y){return Ti(y)}function Zn(y){{var x=typeof Symbol=="function"&&Symbol.toStringTag,H=x&&y[Symbol.toStringTag]||y.constructor.name||"Object";return H}}function Er(y){try{return br(y),!1}catch{return!0}}function br(y){return""+y}function Mn(y){if(Er(y))return De("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zn(y)),br(y)}function Di(y,x,H){var j=y.displayName;if(j)return j;var ie=x.displayName||x.name||"";return ie!==""?H+"("+ie+")":H}function da(y){return y.displayName||"Context"}function Jn(y){if(y==null)return null;if(typeof y.tag=="number"&&De("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 Q:return"Profiler";case C:return"StrictMode";case K:return"Suspense";case re:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case P:var x=y;return da(x)+".Consumer";case A:var H=y;return da(H._context)+".Provider";case oe:return Di(y,y.render,"ForwardRef");case J:var j=y.displayName||null;return j!==null?j:Jn(y.type)||"Memo";case ne:{var ie=y,je=ie._payload,fe=ie._init;try{return Jn(fe(je))}catch{return null}}}return null}var Rr=Object.prototype.hasOwnProperty,Wi={key:!0,ref:!0,__self:!0,__source:!0},wr,_i,xr;xr={};function ki(y){if(Rr.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(Rr.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 H=function(){wr||(wr=!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)",x))};H.isReactWarning=!0,Object.defineProperty(y,"key",{get:H,configurable:!0})}function Ul(y,x){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)",x))};H.isReactWarning=!0,Object.defineProperty(y,"ref",{get:H,configurable:!0})}function Yi(y){if(typeof y.ref=="string"&&xe.current&&y.__self&&xe.current.stateNode!==y.__self){var x=Jn(xe.current.type);xr[x]||(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',x,y.ref),xr[x]=!0)}}var ce=function(y,x,H,j,ie,je,fe){var He={$$typeof:g,type:y,key:x,ref:H,props:fe,_owner:je};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:j}),Object.defineProperty(He,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.freeze&&(Object.freeze(He.props),Object.freeze(He)),He};function Ne(y,x,H){var j,ie={},je=null,fe=null,He=null,it=null;if(x!=null){ki(x)&&(fe=x.ref,Yi(x)),Vn(x)&&(Mn(x.key),je=""+x.key),He=x.__self===void 0?null:x.__self,it=x.__source===void 0?null:x.__source;for(j in x)Rr.call(x,j)&&!Wi.hasOwnProperty(j)&&(ie[j]=x[j])}var St=arguments.length-2;if(St===1)ie.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),ie.children=Ht}if(y&&y.defaultProps){var Vt=y.defaultProps;for(j in Vt)ie[j]===void 0&&(ie[j]=Vt[j])}if(je||fe){var It=typeof y=="function"?y.displayName||y.name||"Unknown":y;je&&Ir(ie,It),fe&&Ul(ie,It)}return ce(y,je,fe,He,it,xe.current,ie)}function nt(y,x){var H=ce(y.type,x,y.ref,y._self,y._source,y._owner,y.props);return H}function At(y,x,H){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var j,ie=ye({},y.props),je=y.key,fe=y.ref,He=y._self,it=y._source,St=y._owner;if(x!=null){ki(x)&&(fe=x.ref,St=xe.current),Vn(x)&&(Mn(x.key),je=""+x.key);var Ht;y.type&&y.type.defaultProps&&(Ht=y.type.defaultProps);for(j in x)Rr.call(x,j)&&!Wi.hasOwnProperty(j)&&(x[j]===void 0&&Ht!==void 0?ie[j]=Ht[j]:ie[j]=x[j])}var Nt=arguments.length-2;if(Nt===1)ie.children=H;else if(Nt>1){for(var Vt=Array(Nt),It=0;It<Nt;It++)Vt[It]=arguments[It+2];ie.children=Vt}return ce(y.type,je,fe,He,it,St,ie)}function zt(y){return typeof y=="object"&&y!==null&&y.$$typeof===g}var Rn=".",vn=":";function Tr(y){var x=/[=:]/g,H={"=":"=0",":":"=2"},j=y.replace(x,function(ie){return H[ie]});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,H,j,ie){var je=typeof y;(je==="undefined"||je==="boolean")&&(y=null);var fe=!1;if(y===null)fe=!0;else switch(je){case"string":case"number":fe=!0;break;case"object":switch(y.$$typeof){case g:case R:fe=!0}}if(fe){var He=y,it=ie(He),St=j===""?Rn+$t(He,0):j;if(hn(it)){var Ht="";St!=null&&(Ht=tn(St)+"/"),Fl(it,x,Ht,"",function(Pf){return Pf})}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)),x.push(it));return 1}var Nt,Vt,It=0,ft=j===""?Rn:j+vn;if(hn(y))for(var ma=0;ma<y.length;ma++)Nt=y[ma],Vt=ft+$t(Nt,ma),It+=Fl(Nt,x,H,Vt,ie);else{var $o=tt(y);if(typeof $o=="function"){var Iu=y;$o===Iu.entries&&(Wt||Dt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wt=!0);for(var jf=$o.call(Iu),zi,Wu=0;!(zi=jf.next()).done;)Nt=zi.value,Vt=ft+$t(Nt,Wu++),It+=Fl(Nt,x,H,Vt,ie)}else if(je==="object"){var Yu=String(y);throw new Error("Objects are not valid as a React child (found: "+(Yu==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Yu)+"). If you meant to render a collection of children, use an array instead.")}}return It}function pa(y,x,H){if(y==null)return y;var j=[],ie=0;return Fl(y,j,"","",function(je){return x.call(H,je,ie++)}),j}function Mo(y){var x=0;return pa(y,function(){x++}),x}function Ws(y,x,H){pa(y,function(){x.apply(this,arguments)},H)}function Ys(y){return pa(y,function(x){return x})||[]}function Oo(y){if(!zt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function Fu(y){var x={$$typeof:P,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};x.Provider={$$typeof:A,_context:x};var H=!1,j=!1,ie=!1;{var je={$$typeof:P,_context:x};Object.defineProperties(je,{Provider:{get:function(){return j||(j=!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?")),x.Provider},set:function(fe){x.Provider=fe}},_currentValue:{get:function(){return x._currentValue},set:function(fe){x._currentValue=fe}},_currentValue2:{get:function(){return x._currentValue2},set:function(fe){x._currentValue2=fe}},_threadCount:{get:function(){return x._threadCount},set:function(fe){x._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?")),x.Consumer}},displayName:{get:function(){return x.displayName},set:function(fe){ie||(Dt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",fe),ie=!0)}}}),x.Consumer=je}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,H=x();if(H.then(function(je){if(y._status===$a||y._status===Mi){var fe=y;fe._status=Gi,fe._result=je}},function(je){if(y._status===$a||y._status===Mi){var fe=y;fe._status=Ia,fe._result=je}}),y._status===Mi){var j=y;j._status=$a,j._result=H}}if(y._status===Gi){var ie=y._result;return ie===void 0&&De(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
36
|
+
*/Qp.exports;var r1;function A_(){return r1||(r1=1,function(Y,f){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 h="18.2.0",g=Symbol.for("react.element"),R=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),Q=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),P=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),He=Symbol.for("react.offscreen"),pe=Symbol.iterator,Me="@@iterator";function lt(y){if(y===null||typeof y!="object")return null;var x=pe&&y[pe]||y[Me];return typeof x=="function"?x:null}var De={current:null},$e={transition:null},de={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Le={current:null},we={},ot=null;function Tt(y){ot=y}we.setExtraStackFrame=function(y){ot=y},we.getCurrentStack=null,we.getStackAddendum=function(){var y="";ot&&(y+=ot);var x=we.getCurrentStack;return x&&(y+=x()||""),y};var Dt=!1,St=!1,tn=!1,Ze=!1,Ae=!1,qt={ReactCurrentDispatcher:De,ReactCurrentBatchConfig:$e,ReactCurrentOwner:Le};qt.ReactDebugCurrentFrame=we,qt.ReactCurrentActQueue=de;function _t(y){{for(var x=arguments.length,H=new Array(x>1?x-1:0),j=1;j<x;j++)H[j-1]=arguments[j];le("warn",y,H)}}function Te(y){{for(var x=arguments.length,H=new Array(x>1?x-1:0),j=1;j<x;j++)H[j-1]=arguments[j];le("error",y,H)}}function le(y,x,H){{var j=qt.ReactDebugCurrentFrame,ie=j.getStackAddendum();ie!==""&&(x+="%s",H=H.concat([ie]));var je=H.map(function(fe){return String(fe)});je.unshift("Warning: "+x),Function.prototype.apply.call(console[y],console,je)}}var Ne={};function D(y,x){{var H=y.constructor,j=H&&(H.displayName||H.name)||"ReactClass",ie=j+"."+x;if(Ne[ie])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),Ne[ie]=!0}}var X={isMounted:function(y){return!1},enqueueForceUpdate:function(y,x,H){D(y,"forceUpdate")},enqueueReplaceState:function(y,x,H,j){D(y,"replaceState")},enqueueSetState:function(y,x,H,j){D(y,"setState")}},ye=Object.assign,Je={};Object.freeze(Je);function Ye(y,x,H){this.props=y,this.context=x,this.refs=Je,this.updater=H||X}Ye.prototype.isReactComponent={},Ye.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")},Ye.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"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)."]},ut=function(y,x){Object.defineProperty(Ye.prototype,y,{get:function(){_t("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})};for(var Et in Ct)Ct.hasOwnProperty(Et)&&ut(Et,Ct[Et])}function ft(){}ft.prototype=Ye.prototype;function Pt(y,x,H){this.props=y,this.context=x,this.refs=Je,this.updater=H||X}var fa=Pt.prototype=new ft;fa.constructor=Pt,ye(fa,Ye.prototype),fa.isPureReactComponent=!0;function Cr(){var y={current:null};return Object.seal(y),y}var Ti=Array.isArray;function hn(y){return Ti(y)}function Zn(y){{var x=typeof Symbol=="function"&&Symbol.toStringTag,H=x&&y[Symbol.toStringTag]||y.constructor.name||"Object";return H}}function Er(y){try{return br(y),!1}catch{return!0}}function br(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)),br(y)}function Di(y,x,H){var j=y.displayName;if(j)return j;var ie=x.displayName||x.name||"";return ie!==""?H+"("+ie+")":H}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 Q:return"Profiler";case C:return"StrictMode";case K:return"Suspense";case re:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case P:var x=y;return da(x)+".Consumer";case A:var H=y;return da(H._context)+".Provider";case oe:return Di(y,y.render,"ForwardRef");case te:var j=y.displayName||null;return j!==null?j:Jn(y.type)||"Memo";case ne:{var ie=y,je=ie._payload,fe=ie._init;try{return Jn(fe(je))}catch{return null}}}return null}var Rr=Object.prototype.hasOwnProperty,Wi={key:!0,ref:!0,__self:!0,__source:!0},wr,_i,xr;xr={};function ki(y){if(Rr.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(Rr.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 H=function(){wr||(wr=!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))};H.isReactWarning=!0,Object.defineProperty(y,"key",{get:H,configurable:!0})}function Ul(y,x){var H=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))};H.isReactWarning=!0,Object.defineProperty(y,"ref",{get:H,configurable:!0})}function Yi(y){if(typeof y.ref=="string"&&Le.current&&y.__self&&Le.current.stateNode!==y.__self){var x=Jn(Le.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 ce=function(y,x,H,j,ie,je,fe){var Ve={$$typeof:g,type:y,key:x,ref:H,props:fe,_owner:je};return Ve._store={},Object.defineProperty(Ve._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ve,"_self",{configurable:!1,enumerable:!1,writable:!1,value:j}),Object.defineProperty(Ve,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ie}),Object.freeze&&(Object.freeze(Ve.props),Object.freeze(Ve)),Ve};function ze(y,x,H){var j,ie={},je=null,fe=null,Ve=null,it=null;if(x!=null){ki(x)&&(fe=x.ref,Yi(x)),Vn(x)&&(Mn(x.key),je=""+x.key),Ve=x.__self===void 0?null:x.__self,it=x.__source===void 0?null:x.__source;for(j in x)Rr.call(x,j)&&!Wi.hasOwnProperty(j)&&(ie[j]=x[j])}var gt=arguments.length-2;if(gt===1)ie.children=H;else if(gt>1){for(var Ht=Array(gt),Nt=0;Nt<gt;Nt++)Ht[Nt]=arguments[Nt+2];Object.freeze&&Object.freeze(Ht),ie.children=Ht}if(y&&y.defaultProps){var Vt=y.defaultProps;for(j in Vt)ie[j]===void 0&&(ie[j]=Vt[j])}if(je||fe){var It=typeof y=="function"?y.displayName||y.name||"Unknown":y;je&&Ir(ie,It),fe&&Ul(ie,It)}return ce(y,je,fe,Ve,it,Le.current,ie)}function nt(y,x){var H=ce(y.type,x,y.ref,y._self,y._source,y._owner,y.props);return H}function At(y,x,H){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var j,ie=ye({},y.props),je=y.key,fe=y.ref,Ve=y._self,it=y._source,gt=y._owner;if(x!=null){ki(x)&&(fe=x.ref,gt=Le.current),Vn(x)&&(Mn(x.key),je=""+x.key);var Ht;y.type&&y.type.defaultProps&&(Ht=y.type.defaultProps);for(j in x)Rr.call(x,j)&&!Wi.hasOwnProperty(j)&&(x[j]===void 0&&Ht!==void 0?ie[j]=Ht[j]:ie[j]=x[j])}var Nt=arguments.length-2;if(Nt===1)ie.children=H;else if(Nt>1){for(var Vt=Array(Nt),It=0;It<Nt;It++)Vt[It]=arguments[It+2];ie.children=Vt}return ce(y.type,je,fe,Ve,it,gt,ie)}function zt(y){return typeof y=="object"&&y!==null&&y.$$typeof===g}var Rn=".",vn=":";function Tr(y){var x=/[=:]/g,H={"=":"=0",":":"=2"},j=y.replace(x,function(ie){return H[ie]});return"$"+j}var Wt=!1,ri=/\/+/g;function nn(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,H,j,ie){var je=typeof y;(je==="undefined"||je==="boolean")&&(y=null);var fe=!1;if(y===null)fe=!0;else switch(je){case"string":case"number":fe=!0;break;case"object":switch(y.$$typeof){case g:case R:fe=!0}}if(fe){var Ve=y,it=ie(Ve),gt=j===""?Rn+$t(Ve,0):j;if(hn(it)){var Ht="";gt!=null&&(Ht=nn(gt)+"/"),Fl(it,x,Ht,"",function(Pf){return Pf})}else it!=null&&(zt(it)&&(it.key&&(!Ve||Ve.key!==it.key)&&Mn(it.key),it=nt(it,H+(it.key&&(!Ve||Ve.key!==it.key)?nn(""+it.key)+"/":"")+gt)),x.push(it));return 1}var Nt,Vt,It=0,dt=j===""?Rn:j+vn;if(hn(y))for(var ma=0;ma<y.length;ma++)Nt=y[ma],Vt=dt+$t(Nt,ma),It+=Fl(Nt,x,H,Vt,ie);else{var $o=lt(y);if(typeof $o=="function"){var Iu=y;$o===Iu.entries&&(Wt||_t("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wt=!0);for(var jf=$o.call(Iu),zi,Wu=0;!(zi=jf.next()).done;)Nt=zi.value,Vt=dt+$t(Nt,Wu++),It+=Fl(Nt,x,H,Vt,ie)}else if(je==="object"){var Yu=String(y);throw new Error("Objects are not valid as a React child (found: "+(Yu==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Yu)+"). If you meant to render a collection of children, use an array instead.")}}return It}function pa(y,x,H){if(y==null)return y;var j=[],ie=0;return Fl(y,j,"","",function(je){return x.call(H,je,ie++)}),j}function Mo(y){var x=0;return pa(y,function(){x++}),x}function Ws(y,x,H){pa(y,function(){x.apply(this,arguments)},H)}function Ys(y){return pa(y,function(x){return x})||[]}function Oo(y){if(!zt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function Fu(y){var x={$$typeof:P,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};x.Provider={$$typeof:A,_context:x};var H=!1,j=!1,ie=!1;{var je={$$typeof:P,_context:x};Object.defineProperties(je,{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(fe){x.Provider=fe}},_currentValue:{get:function(){return x._currentValue},set:function(fe){x._currentValue=fe}},_currentValue2:{get:function(){return x._currentValue2},set:function(fe){x._currentValue2=fe}},_threadCount:{get:function(){return x._threadCount},set:function(fe){x._threadCount=fe}},Consumer:{get:function(){return H||(H=!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(fe){ie||(_t("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",fe),ie=!0)}}}),x.Consumer=je}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,H=x();if(H.then(function(je){if(y._status===$a||y._status===Mi){var fe=y;fe._status=Gi,fe._result=je}},function(je){if(y._status===$a||y._status===Mi){var fe=y;fe._status=Ia,fe._result=je}}),y._status===Mi){var j=y;j._status=$a,j._result=H}}if(y._status===Gi){var ie=y._result;return ie===void 0&&Te(`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?`,ie),"default"in ie||
|
|
41
|
+
Did you accidentally put curly braces around the import?`,ie),"default"in ie||Te(`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'))`,ie),ie.default}else throw y._result}function Oi(y){var x={_status:Mi,_result:y},H={$$typeof:ne,_payload:x,_init:Wr};{var j,ie;Object.defineProperties(H,{defaultProps:{configurable:!0,get:function(){return j},set:function(je){
|
|
44
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,ie),ie.default}else throw y._result}function Oi(y){var x={_status:Mi,_result:y},H={$$typeof:ne,_payload:x,_init:Wr};{var j,ie;Object.defineProperties(H,{defaultProps:{configurable:!0,get:function(){return j},set:function(je){Te("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."),j=je,Object.defineProperty(H,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return ie},set:function(je){Te("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."),ie=je,Object.defineProperty(H,"propTypes",{enumerable:!0})}}})}return H}function Wa(y){y!=null&&y.$$typeof===te?Te("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof y!="function"?Te("forwardRef requires a render function but was given %s.",y===null?"null":typeof y):y.length!==0&&y.length!==2&&Te("forwardRef render functions accept exactly two parameters: props and ref. %s",y.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),y!=null&&(y.defaultProps!=null||y.propTypes!=null)&&Te("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var x={$$typeof:oe,render:y};{var H;Object.defineProperty(x,"displayName",{enumerable:!1,configurable:!0,get:function(){return H},set:function(j){H=j,!y.name&&!y.displayName&&(y.displayName=j)}})}return x}var Ya;Ya=Symbol.for("react.module.reference");function Lo(y){return!!(typeof y=="string"||typeof y=="function"||y===T||y===Q||Ae||y===C||y===K||y===re||Ze||y===He||Dt||St||tn||typeof y=="object"&&y!==null&&(y.$$typeof===ne||y.$$typeof===te||y.$$typeof===A||y.$$typeof===P||y.$$typeof===oe||y.$$typeof===Ya||y.getModuleId!==void 0))}function Hu(y,x){Lo(y)||Te("memo: The first argument must be a component. Instead received: %s",y===null?"null":typeof y);var H={$$typeof:te,type:y,compare:x===void 0?null:x};{var j;Object.defineProperty(H,"displayName",{enumerable:!1,configurable:!0,get:function(){return j},set:function(ie){j=ie,!y.name&&!y.displayName&&(y.displayName=ie)}})}return H}function sn(){var y=De.current;return y===null&&Te(`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.`),y}function ii(y){var x=sn();if(y._context!==void 0){var H=y._context;H.Consumer===y?
|
|
49
|
-
`+ur+y}}var Za=!1,Ja;{var zo=typeof WeakMap=="function"?WeakMap:Map;Ja=new zo}function Uo(y,x){if(!y||Za)return"";{var H=Ja.get(y);if(H!==void 0)return H}var j;Za=!0;var ie=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var je;je=Ai.current,Ai.current=null,No();try{if(x){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(
|
|
48
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}function ii(y){var x=sn();if(y._context!==void 0){var H=y._context;H.Consumer===y?Te("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===y&&Te("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return x.useContext(y)}function Hl(y){var x=sn();return x.useState(y)}function Ga(y,x,H){var j=sn();return j.useReducer(y,x,H)}function Bn(y){var x=sn();return x.useRef(y)}function Gs(y,x){var H=sn();return H.useEffect(y,x)}function Qs(y,x){var H=sn();return H.useInsertionEffect(y,x)}function Vu(y,x){var H=sn();return H.useLayoutEffect(y,x)}function Xs(y,x){var H=sn();return H.useCallback(y,x)}function Ff(y,x){var H=sn();return H.useMemo(y,x)}function Hf(y,x,H){var j=sn();return j.useImperativeHandle(y,x,H)}function Zt(y,x){{var H=sn();return H.useDebugValue(y,x)}}function Vf(){var y=sn();return y.useTransition()}function Li(y){var x=sn();return x.useDeferredValue(y)}function rt(){var y=sn();return y.useId()}function Qi(y,x,H){var j=sn();return j.useSyncExternalStore(y,x,H)}var Qa=0,Ao,Xa,Dr,Bu,or,ju,Pu;function Ks(){}Ks.__reactDisabledLog=!0;function No(){{if(Qa===0){Ao=console.log,Xa=console.info,Dr=console.warn,Bu=console.error,or=console.group,ju=console.groupCollapsed,Pu=console.groupEnd;var y={configurable:!0,enumerable:!0,value:Ks,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}Qa++}}function Ka(){{if(Qa--,Qa===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ye({},y,{value:Ao}),info:ye({},y,{value:Xa}),warn:ye({},y,{value:Dr}),error:ye({},y,{value:Bu}),group:ye({},y,{value:or}),groupCollapsed:ye({},y,{value:ju}),groupEnd:ye({},y,{value:Pu})})}Qa<0&&Te("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ai=qt.ReactCurrentDispatcher,ur;function qa(y,x,H){{if(ur===void 0)try{throw Error()}catch(ie){var j=ie.stack.trim().match(/\n( *(at )?)/);ur=j&&j[1]||""}return`
|
|
49
|
+
`+ur+y}}var Za=!1,Ja;{var zo=typeof WeakMap=="function"?WeakMap:Map;Ja=new zo}function Uo(y,x){if(!y||Za)return"";{var H=Ja.get(y);if(H!==void 0)return H}var j;Za=!0;var ie=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var je;je=Ai.current,Ai.current=null,No();try{if(x){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(dt){j=dt}Reflect.construct(y,[],fe)}else{try{fe.call()}catch(dt){j=dt}y.call(fe.prototype)}}else{try{throw Error()}catch(dt){j=dt}y()}}catch(dt){if(dt&&j&&typeof dt.stack=="string"){for(var Ve=dt.stack.split(`
|
|
50
50
|
`),it=j.stack.split(`
|
|
51
|
-
`),
|
|
52
|
-
`+
|
|
51
|
+
`),gt=Ve.length-1,Ht=it.length-1;gt>=1&&Ht>=0&&Ve[gt]!==it[Ht];)Ht--;for(;gt>=1&&Ht>=0;gt--,Ht--)if(Ve[gt]!==it[Ht]){if(gt!==1||Ht!==1)do if(gt--,Ht--,Ht<0||Ve[gt]!==it[Ht]){var Nt=`
|
|
52
|
+
`+Ve[gt].replace(" at new "," at ");return y.displayName&&Nt.includes("<anonymous>")&&(Nt=Nt.replace("<anonymous>",y.displayName)),typeof y=="function"&&Ja.set(y,Nt),Nt}while(gt>=1&&Ht>=0);break}}}finally{Za=!1,Ai.current=je,Ka(),Error.prepareStackTrace=ie}var Vt=y?y.displayName||y.name:"",It=Vt?qa(Vt):"";return typeof y=="function"&&Ja.set(y,It),It}function ha(y,x,H){return Uo(y,!1)}function Bf(y){var x=y.prototype;return!!(x&&x.isReactComponent)}function Xi(y,x,H){if(y==null)return"";if(typeof y=="function")return Uo(y,Bf(y));if(typeof y=="string")return qa(y);switch(y){case K:return qa("Suspense");case re:return qa("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case oe:return ha(y.render);case te:return Xi(y.type,x,H);case ne:{var j=y,ie=j._payload,je=j._init;try{return Xi(je(ie),x,H)}catch{}}}return""}var Rt={},Fo=qt.ReactDebugCurrentFrame;function Vl(y){if(y){var x=y._owner,H=Xi(y.type,y._source,x?x.type:null);Fo.setExtraStackFrame(H)}else Fo.setExtraStackFrame(null)}function Ho(y,x,H,j,ie){{var je=Function.call.bind(Rr);for(var fe in y)if(je(y,fe)){var Ve=void 0;try{if(typeof y[fe]!="function"){var it=Error((j||"React class")+": "+H+" type `"+fe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[fe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw it.name="Invariant Violation",it}Ve=y[fe](x,fe,j,H,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(gt){Ve=gt}Ve&&!(Ve instanceof Error)&&(Vl(ie),Te("%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).",j||"React class",H,fe,typeof Ve),Vl(null)),Ve instanceof Error&&!(Ve.message in Rt)&&(Rt[Ve.message]=!0,Vl(ie),Te("Failed %s type: %s",H,Ve.message),Vl(null))}}}function yt(y){if(y){var x=y._owner,H=Xi(y.type,y._source,x?x.type:null);Tt(H)}else Tt(null)}var Vo;Vo=!1;function Bo(){if(Le.current){var y=Jn(Le.current.type);if(y)return`
|
|
53
53
|
|
|
54
54
|
Check the render method of \``+y+"`."}return""}function Xe(y){if(y!==void 0){var x=y.fileName.replace(/^.*[\\\/]/,""),H=y.lineNumber;return`
|
|
55
55
|
|
|
56
|
-
Check your code at `+x+":"+H+"."}return""}function Bl(y){return y!=null?Xe(y.__source):""}var
|
|
56
|
+
Check your code at `+x+":"+H+"."}return""}function Bl(y){return y!=null?Xe(y.__source):""}var rn={};function _r(y){var x=Bo();if(!x){var H=typeof y=="string"?y:y.displayName||y.name;H&&(x=`
|
|
57
57
|
|
|
58
|
-
Check the top-level render call using <`+H+">.")}return x}function sr(y,x){if(!(!y._store||y._store.validated||y.key!=null)){y._store.validated=!0;var H=_r(x);if(!
|
|
58
|
+
Check the top-level render call using <`+H+">.")}return x}function sr(y,x){if(!(!y._store||y._store.validated||y.key!=null)){y._store.validated=!0;var H=_r(x);if(!rn[H]){rn[H]=!0;var j="";y&&y._owner&&y._owner!==Le.current&&(j=" It was passed a child from "+Jn(y._owner.type)+"."),yt(y),Te('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',H,j),yt(null)}}}function el(y,x){if(typeof y=="object"){if(hn(y))for(var H=0;H<y.length;H++){var j=y[H];zt(j)&&sr(j,x)}else if(zt(y))y._store&&(y._store.validated=!0);else if(y){var ie=lt(y);if(typeof ie=="function"&&ie!==y.entries)for(var je=ie.call(y),fe;!(fe=je.next()).done;)zt(fe.value)&&sr(fe.value,x)}}}function cn(y){{var x=y.type;if(x==null||typeof x=="string")return;var H;if(typeof x=="function")H=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===oe||x.$$typeof===te))H=x.propTypes;else return;if(H){var j=Jn(x);Ho(H,y.props,"prop",j,y)}else if(x.PropTypes!==void 0&&!Vo){Vo=!0;var ie=Jn(x);Te("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ie||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&Te("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mt(y){{for(var x=Object.keys(y.props),H=0;H<x.length;H++){var j=x[H];if(j!=="children"&&j!=="key"){yt(y),Te("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",j),yt(null);break}}y.ref!==null&&(yt(y),Te("Invalid attribute `ref` supplied to `React.Fragment`."),yt(null))}}function qs(y,x,H){var j=Lo(y);if(!j){var ie="";(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(ie+=" 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 je=Bl(x);je?ie+=je:ie+=Bo();var fe;y===null?fe="null":hn(y)?fe="array":y!==void 0&&y.$$typeof===g?(fe="<"+(Jn(y.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):fe=typeof y,Te("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",fe,ie)}var Ve=ze.apply(this,arguments);if(Ve==null)return Ve;if(j)for(var it=2;it<arguments.length;it++)el(arguments[it],y);return y===T?Mt(Ve):cn(Ve),Ve}var kr=!1;function On(y){var x=qs.bind(null,y);return x.type=y,kr||(kr=!0,_t("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(x,"type",{enumerable:!1,get:function(){return _t("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:y}),y}}),x}function Ki(y,x,H){for(var j=At.apply(this,arguments),ie=2;ie<arguments.length;ie++)el(arguments[ie],j.type);return cn(j),j}function Zs(y,x){var H=$e.transition;$e.transition={};var j=$e.transition;$e.transition._updatedFibers=new Set;try{y()}finally{if($e.transition=H,H===null&&j._updatedFibers){var ie=j._updatedFibers.size;ie>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."),j._updatedFibers.clear()}}}var va=!1,tl=null;function Js(y){if(tl===null)try{var x=("require"+Math.random()).slice(0,7),H=Y&&Y[x];tl=H.call(Y,"timers").setImmediate}catch{tl=function(ie){va===!1&&(va=!0,typeof MessageChannel>"u"&&Te("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 je=new MessageChannel;je.port1.onmessage=ie,je.port2.postMessage(void 0)}}return tl(y)}var ai=0,nl=!1;function rl(y){{var x=ai;ai++,de.current===null&&(de.current=[]);var H=de.isBatchingLegacy,j;try{if(de.isBatchingLegacy=!0,j=y(),!H&&de.didScheduleLegacyUpdate){var ie=de.current;ie!==null&&(de.didScheduleLegacyUpdate=!1,al(ie))}}catch(Vt){throw li(x),Vt}finally{de.isBatchingLegacy=H}if(j!==null&&typeof j=="object"&&typeof j.then=="function"){var je=j,fe=!1,Ve={then:function(Vt,It){fe=!0,je.then(function(dt){li(x),ai===0?jo(dt,Vt,It):Vt(dt)},function(dt){li(x),It(dt)})}};return!nl&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){fe||(nl=!0,Te("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 () => ...);"))}),Ve}else{var it=j;if(li(x),ai===0){var gt=de.current;gt!==null&&(al(gt),de.current=null);var Ht={then:function(Vt,It){de.current===null?(de.current=[],jo(it,Vt,It)):Vt(it)}};return Ht}else{var Nt={then:function(Vt,It){Vt(it)}};return Nt}}}}function li(y){y!==ai-1&&Te("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ai=y}function jo(y,x,H){{var j=de.current;if(j!==null)try{al(j),Js(function(){j.length===0?(de.current=null,x(y)):jo(y,x,H)})}catch(ie){H(ie)}else x(y)}}var il=!1;function al(y){if(!il){il=!0;var x=0;try{for(;x<y.length;x++){var H=y[x];do H=H(!0);while(H!==null)}y.length=0}catch(j){throw y=y.slice(x+1),j}finally{il=!1}}}var jl=qs,Po=Ki,$u=On,Ni={map:pa,forEach:Ws,count:Mo,toArray:Ys,only:Oo};f.Children=Ni,f.Component=Ye,f.Fragment=T,f.Profiler=Q,f.PureComponent=Pt,f.StrictMode=C,f.Suspense=K,f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qt,f.cloneElement=Po,f.createContext=Fu,f.createElement=jl,f.createFactory=$u,f.createRef=Cr,f.forwardRef=Wa,f.isValidElement=zt,f.lazy=Oi,f.memo=Hu,f.startTransition=Zs,f.unstable_act=rl,f.useCallback=Xs,f.useContext=ii,f.useDebugValue=Zt,f.useDeferredValue=Li,f.useEffect=Gs,f.useId=rt,f.useImperativeHandle=Hf,f.useInsertionEffect=Qs,f.useLayoutEffect=Vu,f.useMemo=Ff,f.useReducer=Ga,f.useRef=Bn,f.useState=Hl,f.useSyncExternalStore=Qi,f.useTransition=Vf,f.version=h,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 i1;function v1(){return i1||(i1=1,process.env.NODE_ENV==="production"?Nm.exports=L_():Nm.exports=A_()),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 <`+H+">.")}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 a1;function N_(){return a1||(a1=1,function(Y){function f(le,
|
|
66
|
+
*/var a1;function N_(){return a1||(a1=1,function(Y){function f(le,Ne){var D=le.length;le.push(Ne);e:for(;0<D;){var X=D-1>>>1,ye=le[X];if(0<R(ye,Ne))le[X]=Ne,le[D]=ye,D=X;else break e}}function h(le){return le.length===0?null:le[0]}function g(le){if(le.length===0)return null;var Ne=le[0],D=le.pop();if(D!==Ne){le[0]=D;e:for(var X=0,ye=le.length,Je=ye>>>1;X<Je;){var Ye=2*(X+1)-1,Ct=le[Ye],ut=Ye+1,Et=le[ut];if(0>R(Ct,D))ut<ye&&0>R(Et,Ct)?(le[X]=Et,le[ut]=D,X=ut):(le[X]=Ct,le[Ye]=D,X=Ye);else if(ut<ye&&0>R(Et,D))le[X]=Et,le[ut]=D,X=ut;else break e}}return Ne}function R(le,Ne){var D=le.sortIndex-Ne.sortIndex;return D!==0?D:le.id-Ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var T=performance;Y.unstable_now=function(){return T.now()}}else{var C=Date,Q=C.now();Y.unstable_now=function(){return C.now()-Q}}var A=[],P=[],oe=1,K=null,re=3,te=!1,ne=!1,He=!1,pe=typeof setTimeout=="function"?setTimeout:null,Me=typeof clearTimeout=="function"?clearTimeout:null,lt=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function De(le){for(var Ne=h(P);Ne!==null;){if(Ne.callback===null)g(P);else if(Ne.startTime<=le)g(P),Ne.sortIndex=Ne.expirationTime,f(A,Ne);else break;Ne=h(P)}}function $e(le){if(He=!1,De(le),!ne)if(h(A)!==null)ne=!0,_t(de);else{var Ne=h(P);Ne!==null&&Te($e,Ne.startTime-le)}}function de(le,Ne){ne=!1,He&&(He=!1,Me(ot),ot=-1),te=!0;var D=re;try{for(De(Ne),K=h(A);K!==null&&(!(K.expirationTime>Ne)||le&&!St());){var X=K.callback;if(typeof X=="function"){K.callback=null,re=K.priorityLevel;var ye=X(K.expirationTime<=Ne);Ne=Y.unstable_now(),typeof ye=="function"?K.callback=ye:K===h(A)&&g(A),De(Ne)}else g(A);K=h(A)}if(K!==null)var Je=!0;else{var Ye=h(P);Ye!==null&&Te($e,Ye.startTime-Ne),Je=!1}return Je}finally{K=null,re=D,te=!1}}var Le=!1,we=null,ot=-1,Tt=5,Dt=-1;function St(){return!(Y.unstable_now()-Dt<Tt)}function tn(){if(we!==null){var le=Y.unstable_now();Dt=le;var Ne=!0;try{Ne=we(!0,le)}finally{Ne?Ze():(Le=!1,we=null)}}else Le=!1}var Ze;if(typeof lt=="function")Ze=function(){lt(tn)};else if(typeof MessageChannel<"u"){var Ae=new MessageChannel,qt=Ae.port2;Ae.port1.onmessage=tn,Ze=function(){qt.postMessage(null)}}else Ze=function(){pe(tn,0)};function _t(le){we=le,Le||(Le=!0,Ze())}function Te(le,Ne){ot=pe(function(){le(Y.unstable_now())},Ne)}Y.unstable_IdlePriority=5,Y.unstable_ImmediatePriority=1,Y.unstable_LowPriority=4,Y.unstable_NormalPriority=3,Y.unstable_Profiling=null,Y.unstable_UserBlockingPriority=2,Y.unstable_cancelCallback=function(le){le.callback=null},Y.unstable_continueExecution=function(){ne||te||(ne=!0,_t(de))},Y.unstable_forceFrameRate=function(le){0>le||125<le?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Tt=0<le?Math.floor(1e3/le):5},Y.unstable_getCurrentPriorityLevel=function(){return re},Y.unstable_getFirstCallbackNode=function(){return h(A)},Y.unstable_next=function(le){switch(re){case 1:case 2:case 3:var Ne=3;break;default:Ne=re}var D=re;re=Ne;try{return le()}finally{re=D}},Y.unstable_pauseExecution=function(){},Y.unstable_requestPaint=function(){},Y.unstable_runWithPriority=function(le,Ne){switch(le){case 1:case 2:case 3:case 4:case 5:break;default:le=3}var D=re;re=le;try{return Ne()}finally{re=D}},Y.unstable_scheduleCallback=function(le,Ne,D){var X=Y.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:Ne,priorityLevel:le,startTime:D,expirationTime:ye,sortIndex:-1},D>X?(le.sortIndex=D,f(P,le),h(A)===null&&le===h(P)&&(He?(Me(ot),ot=-1):He=!0,Te($e,D-X))):(le.sortIndex=ye,f(A,le),ne||te||(ne=!0,_t(de))),le},Y.unstable_shouldYield=St,Y.unstable_wrapCallback=function(le){var Ne=re;return function(){var D=re;re=Ne;try{return le.apply(this,arguments)}finally{re=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 <`+H+">.")}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 l1;function z_(){return l1||(l1=1,function(Y){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 f=!1,h=!1,g=5;function R(ce,
|
|
74
|
+
*/var l1;function z_(){return l1||(l1=1,function(Y){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 f=!1,h=!1,g=5;function R(ce,ze){var nt=ce.length;ce.push(ze),Q(ce,ze,nt)}function T(ce){return ce.length===0?null:ce[0]}function C(ce){if(ce.length===0)return null;var ze=ce[0],nt=ce.pop();return nt!==ze&&(ce[0]=nt,A(ce,nt,0)),ze}function Q(ce,ze,nt){for(var At=nt;At>0;){var zt=At-1>>>1,Rn=ce[zt];if(P(Rn,ze)>0)ce[zt]=ze,ce[At]=Rn,At=zt;else return}}function A(ce,ze,nt){for(var At=nt,zt=ce.length,Rn=zt>>>1;At<Rn;){var vn=(At+1)*2-1,Tr=ce[vn],Wt=vn+1,ri=ce[Wt];if(P(Tr,ze)<0)Wt<zt&&P(ri,Tr)<0?(ce[At]=ri,ce[Wt]=ze,At=Wt):(ce[At]=Tr,ce[vn]=ze,At=vn);else if(Wt<zt&&P(ri,ze)<0)ce[At]=ri,ce[Wt]=ze,At=Wt;else return}}function P(ce,ze){var nt=ce.sortIndex-ze.sortIndex;return nt!==0?nt:ce.id-ze.id}var oe=1,K=2,re=3,te=4,ne=5;function He(ce,ze){}var pe=typeof performance=="object"&&typeof performance.now=="function";if(pe){var Me=performance;Y.unstable_now=function(){return Me.now()}}else{var lt=Date,De=lt.now();Y.unstable_now=function(){return lt.now()-De}}var $e=1073741823,de=-1,Le=250,we=5e3,ot=1e4,Tt=$e,Dt=[],St=[],tn=1,Ze=null,Ae=re,qt=!1,_t=!1,Te=!1,le=typeof setTimeout=="function"?setTimeout:null,Ne=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 ze=T(St);ze!==null;){if(ze.callback===null)C(St);else if(ze.startTime<=ce)C(St),ze.sortIndex=ze.expirationTime,R(Dt,ze);else return;ze=T(St)}}function ye(ce){if(Te=!1,X(ce),!_t)if(T(Dt)!==null)_t=!0,ki(Je);else{var ze=T(St);ze!==null&&Vn(ye,ze.startTime-ce)}}function Je(ce,ze){_t=!1,Te&&(Te=!1,Ir()),qt=!0;var nt=Ae;try{var At;if(!h)return Ye(ce,ze)}finally{Ze=null,Ae=nt,qt=!1}}function Ye(ce,ze){var nt=ze;for(X(nt),Ze=T(Dt);Ze!==null&&!f&&!(Ze.expirationTime>nt&&(!ce||da()));){var At=Ze.callback;if(typeof At=="function"){Ze.callback=null,Ae=Ze.priorityLevel;var zt=Ze.expirationTime<=nt,Rn=At(zt);nt=Y.unstable_now(),typeof Rn=="function"?Ze.callback=Rn:Ze===T(Dt)&&C(Dt),X(nt)}else C(Dt);Ze=T(Dt)}if(Ze!==null)return!0;var vn=T(St);return vn!==null&&Vn(ye,vn.startTime-nt),!1}function Ct(ce,ze){switch(ce){case oe:case K:case re:case te:case ne:break;default:ce=re}var nt=Ae;Ae=ce;try{return ze()}finally{Ae=nt}}function ut(ce){var ze;switch(Ae){case oe:case K:case re:ze=re;break;default:ze=Ae;break}var nt=Ae;Ae=ze;try{return ce()}finally{Ae=nt}}function Et(ce){var ze=Ae;return function(){var nt=Ae;Ae=ze;try{return ce.apply(this,arguments)}finally{Ae=nt}}}function ft(ce,ze,nt){var At=Y.unstable_now(),zt;if(typeof nt=="object"&&nt!==null){var Rn=nt.delay;typeof Rn=="number"&&Rn>0?zt=At+Rn:zt=At}else zt=At;var vn;switch(ce){case oe:vn=de;break;case K:vn=Le;break;case ne:vn=Tt;break;case te:vn=ot;break;case re:default:vn=we;break}var Tr=zt+vn,Wt={id:tn++,callback:ze,priorityLevel:ce,startTime:zt,expirationTime:Tr,sortIndex:-1};return zt>At?(Wt.sortIndex=zt,R(St,Wt),T(Dt)===null&&Wt===T(St)&&(Te?Ir():Te=!0,Vn(ye,zt-At))):(Wt.sortIndex=Tr,R(Dt,Wt),!_t&&!qt&&(_t=!0,ki(Je))),Wt}function Pt(){}function fa(){!_t&&!qt&&(_t=!0,ki(Je))}function Cr(){return T(Dt)}function Ti(ce){ce.callback=null}function hn(){return Ae}var Zn=!1,Er=null,br=-1,Mn=g,Di=-1;function da(){var ce=Y.unstable_now()-Di;return!(ce<Mn)}function Jn(){}function Rr(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=g}var Wi=function(){if(Er!==null){var ce=Y.unstable_now();Di=ce;var ze=!0,nt=!0;try{nt=Er(ze,ce)}finally{nt?wr():(Zn=!1,Er=null)}}else Zn=!1},wr;if(typeof D=="function")wr=function(){D(Wi)};else if(typeof MessageChannel<"u"){var _i=new MessageChannel,xr=_i.port2;_i.port1.onmessage=Wi,wr=function(){xr.postMessage(null)}}else wr=function(){le(Wi,0)};function ki(ce){Er=ce,Zn||(Zn=!0,wr())}function Vn(ce,ze){br=le(function(){ce(Y.unstable_now())},ze)}function Ir(){Ne(br),br=-1}var Ul=Jn,Yi=null;Y.unstable_IdlePriority=ne,Y.unstable_ImmediatePriority=oe,Y.unstable_LowPriority=te,Y.unstable_NormalPriority=re,Y.unstable_Profiling=Yi,Y.unstable_UserBlockingPriority=K,Y.unstable_cancelCallback=Ti,Y.unstable_continueExecution=fa,Y.unstable_forceFrameRate=Rr,Y.unstable_getCurrentPriorityLevel=hn,Y.unstable_getFirstCallbackNode=Cr,Y.unstable_next=ut,Y.unstable_pauseExecution=Pt,Y.unstable_requestPaint=Ul,Y.unstable_runWithPriority=Ct,Y.unstable_scheduleCallback=ft,Y.unstable_shouldYield=da,Y.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 o1;function m1(){return o1||(o1=1,process.env.NODE_ENV==="production"?zm.exports=N_():zm.exports=z_()),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 <`+H+">.")}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 u1;function U_(){if(u1)return wi;u1=1;var Y=v1(),f=m1();function h(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 g=new Set,R={};function T(n,r){C(n,r),C(n+"Capture",r)}function C(n,r){for(R[n]=r,n=0;n<r.length;n++)g.add(r[n])}var Q=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A=Object.prototype.hasOwnProperty,P=/^[: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={},K={};function re(n){return A.call(K,n)?!0:A.call(oe,n)?!1:P.test(n)?K[n]=!0:(oe[n]=!0,!1)}function
|
|
83
|
-
`+X+n}var
|
|
82
|
+
*/var u1;function U_(){if(u1)return wi;u1=1;var Y=v1(),f=m1();function h(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 g=new Set,R={};function T(n,r){C(n,r),C(n+"Capture",r)}function C(n,r){for(R[n]=r,n=0;n<r.length;n++)g.add(r[n])}var Q=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),A=Object.prototype.hasOwnProperty,P=/^[: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={},K={};function re(n){return A.call(K,n)?!0:A.call(oe,n)?!1:P.test(n)?K[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 ne(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 He(n,r,l,u,c,p,S){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=u,this.attributeNamespace=c,this.mustUseProperty=l,this.propertyName=n,this.type=r,this.sanitizeURL=p,this.removeEmptyString=S}var pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){pe[n]=new He(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];pe[r]=new He(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){pe[n]=new He(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){pe[n]=new He(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){pe[n]=new He(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){pe[n]=new He(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){pe[n]=new He(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){pe[n]=new He(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){pe[n]=new He(n,5,!1,n.toLowerCase(),null,!1,!1)});var Me=/[\-:]([a-z])/g;function lt(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(Me,lt);pe[r]=new He(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(Me,lt);pe[r]=new He(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(Me,lt);pe[r]=new He(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){pe[n]=new He(n,1,!1,n.toLowerCase(),null,!1,!1)}),pe.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){pe[n]=new He(n,1,!1,n.toLowerCase(),null,!0,!0)});function De(n,r,l,u){var c=pe.hasOwnProperty(r)?pe[r]:null;(c!==null?c.type!==0:u||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(ne(r,l,c,u)&&(l=null),u||c===null?re(r)&&(l===null?n.removeAttribute(r):n.setAttribute(r,""+l)):c.mustUseProperty?n[c.propertyName]=l===null?c.type===3?!1:"":l:(r=c.attributeName,u=c.attributeNamespace,l===null?n.removeAttribute(r):(c=c.type,l=c===3||c===4&&l===!0?"":""+l,u?n.setAttributeNS(u,r,l):n.setAttribute(r,l))))}var $e=Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,de=Symbol.for("react.element"),Le=Symbol.for("react.portal"),we=Symbol.for("react.fragment"),ot=Symbol.for("react.strict_mode"),Tt=Symbol.for("react.profiler"),Dt=Symbol.for("react.provider"),St=Symbol.for("react.context"),tn=Symbol.for("react.forward_ref"),Ze=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),qt=Symbol.for("react.memo"),_t=Symbol.for("react.lazy"),Te=Symbol.for("react.offscreen"),le=Symbol.iterator;function Ne(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 Je=!1;function Ye(n,r){if(!n||Je)return"";Je=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(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 c=B.stack.split(`
|
|
84
84
|
`),p=u.stack.split(`
|
|
85
85
|
`),S=c.length-1,w=p.length-1;1<=S&&0<=w&&c[S]!==p[w];)w--;for(;1<=S&&0<=w;S--,w--)if(c[S]!==p[w]){if(S!==1||w!==1)do if(S--,w--,0>w||c[S]!==p[w]){var _=`
|
|
86
|
-
`+c[S].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=S&&0<=w);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 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 c=l.get,p=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return c.call(this)},set:function(S){u=""+S,p.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=Pt(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function hn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Zn(n,r){var l=r.checked;return D({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function 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 br(n,r){r=r.checked,r!=null&&_e(n,"checked",r,!1)}function Mn(n,r){br(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 Rr(n,r,l,u){if(n=n.options,r){r={};for(var c=0;c<l.length;c++)r["$"+l[c]]=!0;for(l=0;l<n.length;l++)c=r.hasOwnProperty("$"+n[l].value),n[l].selected!==c&&(n[l].selected=c),c&&u&&(n[l].defaultSelected=!0)}else{for(l=""+ct(l),r=null,c=0;c<n.length;c++){if(n[c].value===l){n[c].selected=!0,u&&(n[c].defaultSelected=!0);return}r!==null||n[c].disabled||(r=n[c])}r!==null&&(r.selected=!0)}}function Wi(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(h(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function wr(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(h(92));if(Jn(l)){if(1<l.length)throw Error(h(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 Ir,Ul=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,l,u,c){MSApp.execUnsafeLocalFunction(function(){return n(r,l,u,c)})}: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 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 At(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,c=nt(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,c):n[l]=c}}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 Rn(n,r){if(r){if(zt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(h(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(h(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(h(61))}if(r.style!=null&&typeof r.style!="object")throw Error(h(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,$t=null;function Fl(n){if(n=rs(n)){if(typeof ri!="function")throw Error(h(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 Mo(){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 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||$t!==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(h(231,r,typeof l));return l}var $a=!1;if(Q)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,c,p,S,w,_){var B=Array.prototype.slice.call(arguments,3);try{r.apply(l,B)}catch(Z){this.onError(Z)}}var Wr=!1,Oi=null,Wa=!1,Ya=null,Lo={onError:function(n){Wr=!0,Oi=n}};function Hu(n,r,l,u,c,p,S,w,_){Wr=!1,Oi=null,Ia.apply(Lo,arguments)}function sn(n,r,l,u,c,p,S,w,_){if(Hu.apply(this,arguments),Wr){if(Wr){var B=Oi;Wr=!1,Oi=null}else throw Error(h(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(h(188))}function Bn(n){var r=n.alternate;if(!r){if(r=ii(n),r===null)throw Error(h(188));return r!==n?null:n}for(var l=n,u=r;;){var c=l.return;if(c===null)break;var p=c.alternate;if(p===null){if(u=c.return,u!==null){l=u;continue}break}if(c.child===p.child){for(p=c.child;p;){if(p===l)return Ga(c),n;if(p===u)return Ga(c),r;p=p.sibling}throw Error(h(188))}if(l.return!==u.return)l=c,u=p;else{for(var S=!1,w=c.child;w;){if(w===l){S=!0,l=c,u=p;break}if(w===u){S=!0,u=c,l=p;break}w=w.sibling}if(!S){for(w=p.child;w;){if(w===l){S=!0,l=p,u=c;break}if(w===u){S=!0,u=p,l=c;break}w=w.sibling}if(!S)throw Error(h(189))}}if(l.alternate!==u)throw Error(h(190))}if(l.tag!==3)throw Error(h(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=f.unstable_scheduleCallback,Xs=f.unstable_cancelCallback,Ff=f.unstable_shouldYield,Hf=f.unstable_requestPaint,Zt=f.unstable_now,Vf=f.unstable_getCurrentPriorityLevel,Li=f.unstable_ImmediatePriority,rt=f.unstable_UserBlockingPriority,Qi=f.unstable_NormalPriority,Qa=f.unstable_LowPriority,Ao=f.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,ju=Math.log,Pu=Math.LN2;function Ks(n){return n>>>=0,n===0?32:31-(ju(n)/Pu|0)|0}var No=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,c=n.suspendedLanes,p=n.pingedLanes,S=l&268435455;if(S!==0){var w=S&~c;w!==0?u=Ai(w):(p&=S,p!==0&&(u=Ai(p)))}else S=l&~c,S!==0?u=Ai(S):p!==0&&(u=Ai(p));if(u===0)return 0;if(r!==0&&r!==u&&!(r&c)&&(c=u&-u,p=r&-r,c>=p||c===16&&(p&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),c=1<<l,u|=n[l],r&=~c;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,c=n.expirationTimes,p=n.pendingLanes;0<p;){var S=31-or(p),w=1<<S,_=c[S];_===-1?(!(w&l)||w&u)&&(c[S]=qa(w,r)):_<=r&&(n.expiredLanes|=w),p&=~w}}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 c=31-or(l),p=1<<c;r[c]=0,u[c]=-1,n[c]=-1,l&=~p}}function Xi(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var u=31-or(l),c=1<<u;c&r|n[u]&r&&(n[u]|=r),l&=~c}}var Rt=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,c,p){return n===null||n.nativeEvent!==p?(n={blockedOn:r,domEventName:l,eventSystemFlags:u,nativeEvent:p,targetContainers:[c]},r!==null&&(r=rs(r),r!==null&&Ho(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),n)}function Ki(n,r,l,u,c){switch(r){case"focusin":return nn=On(nn,n,r,l,u,c),!0;case"dragenter":return _r=On(_r,n,r,l,u,c),!0;case"mouseover":return sr=On(sr,n,r,l,u,c),!0;case"pointerover":var p=c.pointerId;return el.set(p,On(el.get(p)||null,n,r,l,u,c)),!0;case"gotpointercapture":return p=c.pointerId,cn.set(p,On(cn.get(p)||null,n,r,l,u,c)),!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=Po(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,f.unstable_scheduleCallback(f.unstable_NormalPriority,Js)))}function nl(n){function r(c){return ai(c,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=Ie.ReactCurrentBatchConfig,li=!0;function jo(n,r,l,u){var c=Rt,p=rl.transition;rl.transition=null;try{Rt=1,al(n,r,l,u)}finally{Rt=c,rl.transition=p}}function il(n,r,l,u){var c=Rt,p=rl.transition;rl.transition=null;try{Rt=4,al(n,r,l,u)}finally{Rt=c,rl.transition=p}}function al(n,r,l,u){if(li){var c=Po(n,r,l,u);if(c===null)uc(n,r,u,jl,l),kr(n,u);else if(Ki(c,n,r,l,u))u.stopPropagation();else if(kr(n,u),r&4&&-1<qs.indexOf(n)){for(;c!==null;){var p=rs(c);if(p!==null&&Vl(p),p=Po(n,r,l,u),p===null&&uc(n,r,u,jl,l),p===c)break;c=p}c!==null&&u.stopPropagation()}else uc(n,r,u,null,l)}}var jl=null;function Po(n,r,l,u){if(jl=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 jl=n,null}function $u(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 rt:return 4;case Qi:case Qa:return 16;case Ao:return 536870912;default:return 16}default:return 16}}var Ni=null,y=null,x=null;function H(){if(x)return x;var n,r=y,l=r.length,u,c="value"in Ni?Ni.value:Ni.textContent,p=c.length;for(n=0;n<l&&r[n]===c[n];n++);var S=l-n;for(u=1;u<=S&&r[l-u]===c[p-u];u++);return x=c.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 ie(){return!0}function je(){return!1}function fe(n){function r(l,u,c,p,S){this._reactName=l,this._targetInst=c,this.type=u,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var w in n)n.hasOwnProperty(w)&&(l=n[w],this[w]=l?l(p):p[w]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?ie:je,this.isPropagationStopped=je,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=ie)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){},isPersistent:ie}),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,It,ft=D({},St,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState: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"?(Nt=n.screenX-It.screenX,Vt=n.screenY-It.screenY):Vt=Nt=0,It=n),Nt)},movementY:function(n){return"movementY"in n?n.movementY:Vt}}),ma=fe(ft),$o=D({},ft,{dataTransfer:0}),Iu=fe($o),jf=D({},St,{relatedTarget:0}),zi=fe(jf),Wu=D({},He,{animationName:0,elapsedTime:0,pseudoElement:0}),Yu=fe(Wu),Pf=D({},He,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Fm=fe(Pf),Hm=D({},He,{data:0}),$f=fe(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({},St,{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=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=Q&&"CompositionEvent"in window,Pl=null;Q&&"documentMode"in document&&(Pl=document.documentMode);var nc=Q&&"TextEvent"in window&&!Pl,Jp=Q&&(!Ui||Pl&&8<Pl&&11>=Pl),Io=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 jm(n,r){switch(n){case"compositionend":return rc(r);case"keypress":return r.which!==32?null:(eh=!0,Io);case"textInput":return n=r.data,n===Io&&eh?null:n;default:return null}}function Pm(n,r){if(Wo)return n==="compositionend"||!Ui&&th(n,r)?(n=H(),x=y=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(Q){var Xf;if(Q){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 $m(n,r,l){n==="focusin"?(oh(),Gu=r,Yo=l,Gu.attachEvent("onpropertychange",uh)):n==="focusout"&&oh()}function Im(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 c=l[u];if(!A.call(r,c)||!oi(n[c],r[c]))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 c=l.textContent.length,p=Math.min(u.start,c);u=u.end===void 0?p:Math.min(u.end,c),!n.extend&&p>u&&(c=u,u=p,p=c),c=fh(l,p);var S=fh(l,u);c&&S&&(n.rangeCount!==1||n.anchorNode!==c.node||n.anchorOffset!==c.offset||n.focusNode!==S.node||n.focusOffset!==S.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),n.removeAllRanges(),p>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=Q&&"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 $l={animationend:lc("Animation","AnimationEnd"),animationiteration:lc("Animation","AnimationIteration"),animationstart:lc("Animation","AnimationStart"),transitionend:lc("Transition","TransitionEnd")},Jf={},ed={};Q&&(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 Ku=0;Ku<Sh.length;Ku++){var Il=Sh[Ku],Gm=Il.toLowerCase(),qu=Il[0].toUpperCase()+Il.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"]),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 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],c=u.event;u=u.listeners;e:{var p=void 0;if(r)for(var S=u.length-1;0<=S;S--){var w=u[S],_=w.instance,B=w.currentTarget;if(w=w.listener,_!==p&&c.isPropagationStopped())break e;Ch(c,w,B),p=_}else for(S=0;S<u.length;S++){if(w=u[S],_=w.instance,B=w.currentTarget,w=w.listener,_!==p&&c.isPropagationStopped())break e;Ch(c,w,B),p=_}}}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,g.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($u(r)){case 1:var c=jo;break;case 4:c=il;break;default:c=al}l=c.bind(null,r,l,n),c=void 0,!$a||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),u?c!==void 0?n.addEventListener(r,l,{capture:!0,passive:c}):n.addEventListener(r,l,!0):c!==void 0?n.addEventListener(r,l,{passive:c}):n.addEventListener(r,l,!1)}function uc(n,r,l,u,c){var p=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var S=u.tag;if(S===3||S===4){var w=u.stateNode.containerInfo;if(w===c||w.nodeType===8&&w.parentNode===c)break;if(S===4)for(S=u.return;S!==null;){var _=S.tag;if((_===3||_===4)&&(_=S.stateNode.containerInfo,_===c||_.nodeType===8&&_.parentNode===c))return;S=S.return}for(;w!==null;){if(S=ui(w),S===null)return;if(_=S.tag,_===5||_===6){u=p=S;continue e}w=w.parentNode}}u=u.return}Fu(function(){var B=p,Z=Wt(l),ee=[];e:{var q=gh.get(n);if(q!==void 0){var ve=it,Ee=n;switch(n){case"keypress":if(j(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=Iu;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 we=(r&4)!==0,yn=!we&&n==="scroll",L=we?q!==null?q+"Capture":null:q;we=[];for(var M=B,U;M!==null;){U=M;var ae=U.stateNode;if(U.tag===5&&ae!==null&&(U=ae,L!==null&&(ae=Mi(M,L),ae!=null&&we.push(Ju(M,ae,U)))),yn)break;M=M.return}0<we.length&&(q=new ve(q,Ee,null,l,Z),ee.push({event:q,listeners:we}))}}if(!(r&7)){e:{if(q=n==="mouseover"||n==="pointerover",ve=n==="mouseout"||n==="pointerout",q&&l!==Tr&&(Ee=l.relatedTarget||l.fromElement)&&(ui(Ee)||Ee[ba]))break e;if((ve||q)&&(q=Z.window===Z?Z:(q=Z.ownerDocument)?q.defaultView||q.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(we=ma,ae="onMouseLeave",L="onMouseEnter",M="mouse",(n==="pointerout"||n==="pointerover")&&(we=ec,ae="onPointerLeave",L="onPointerEnter",M="pointer"),yn=ve==null?q:Ko(ve),U=Ee==null?q:Ko(Ee),q=new we(ae,M+"leave",ve,l,Z),q.target=yn,q.relatedTarget=U,ae=null,ui(Z)===B&&(we=new we(L,M+"enter",Ee,l,Z),we.target=U,we.relatedTarget=yn,ae=we),yn=ae,ve&&Ee)t:{for(we=ve,L=Ee,M=0,U=we;U;U=Wl(U))M++;for(U=0,ae=L;ae;ae=Wl(ae))U++;for(;0<M-U;)we=Wl(we),M--;for(;0<U-M;)L=Wl(L),U--;for(;M--;){if(we===L||L!==null&&we===L.alternate)break t;we=Wl(we),L=Wl(L)}we=null}else we=null;ve!==null&&nd(ee,q,ve,we,!1),Ee!==null&&yn!==null&&nd(ee,yn,Ee,we,!0)}}e:{if(q=B?Ko(B):window,ve=q.nodeName&&q.nodeName.toLowerCase(),ve==="select"||ve==="input"&&q.type==="file")var ke=ah;else if(rh(q))if(Qf)ke=sh;else{ke=Im;var be=$m}else(ve=q.nodeName)&&ve.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(ke=Wm);if(ke&&(ke=ke(n,B))){ih(ee,ke,l,Z);break e}be&&be(n,q,B),n==="focusout"&&(be=q._wrapperState)&&be.controlled&&q.type==="number"&&da(q,"number",q.value)}switch(be=B?Ko(B):window,n){case"focusin":(rh(be)||be.contentEditable==="true")&&(Fi=be,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(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 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&&(Le=H()):(Ni=Z,y="value"in Ni?Ni.value:Ni.textContent,Wo=!0)),be=es(B,Qe),0<be.length&&(Qe=new $f(Qe,n,null,l,Z),ee.push({event:Qe,listeners:be}),Le?Qe.data=Le:(Le=rc(l),Le!==null&&(Qe.data=Le)))),(Le=nc?jm(n,l):Pm(n,l))&&(B=es(B,"onBeforeInput"),0<B.length&&(Z=new $f("onBeforeInput","beforeinput",null,l,Z),ee.push({event:Z,listeners:B}),Z.data=Le))}oc(ee,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 c=n,p=c.stateNode;c.tag===5&&p!==null&&(c=p,p=Mi(n,l),p!=null&&u.unshift(Ju(n,p,c)),p=Mi(n,r),p!=null&&u.push(Ju(n,p,c))),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,c){for(var p=r._reactName,S=[];l!==null&&l!==u;){var w=l,_=w.alternate,B=w.stateNode;if(_!==null&&_===u)break;w.tag===5&&B!==null&&(w=B,c?(_=Mi(l,p),_!=null&&S.unshift(Ju(l,_,w))):c||(_=Mi(l,p),_!=null&&S.push(Ju(l,_,w)))),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(h(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,bh=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 c=l.nextSibling;if(n.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(u===0){n.removeChild(c),nl(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=c}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,ba="__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[ba]||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[ba],!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(h(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 c={},p;for(p in l)c[p]=r[p];return u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=c),c}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(h(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 c in u)if(!(c in r))throw Error(h(108,Et(n)||"Unknown",c));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 Rh(n,r,l){var u=n.stateNode;if(!u)throw Error(h(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,An=!1,as=!1;function cd(n){Yr===null?Yr=[n]:Yr.push(n)}function fd(n){An=!0,cd(n)}function Lr(){if(!as&&Yr!==null){as=!0;var n=0,r=Rt;try{var l=Yr;for(Rt=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Yr=null,An=!1}catch(c){throw Yr!==null&&(Yr=Yr.slice(n+1)),Vu(Li,Lr),c}finally{Rt=r,as=!1}}return null}var fl=[],Ar=0,Xl=null,qo=0,Nr=[],er=0,fi=null,jn=1,Ra="";function Gr(n,r){fl[Ar++]=qo,fl[Ar++]=Xl,Xl=n,qo=r}function dd(n,r,l){Nr[er++]=jn,Nr[er++]=Ra,Nr[er++]=fi,fi=n;var u=jn;n=Ra;var c=32-or(u)-1;u&=~(1<<c),l+=1;var p=32-or(r)+c;if(30<p){var S=c-c%5;p=(u&(1<<S)-1).toString(32),u>>=S,c-=S,jn=1<<32-or(r)+c|l<<c|u,Ra=p+n}else jn=1<<p|l<<c|u,Ra=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,qo=fl[--Ar],fl[Ar]=null;for(;n===fi;)fi=Nr[--er],Nr[er]=null,Ra=Nr[--er],Nr[er]=null,jn=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 wh(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:jn,overflow:Ra}: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(!wh(n,r)){if(pc(n))throw Error(h(418));r=Hi(l.nextSibling);var u=Qr;r&&wh(n,r)?hd(u,l):(n.flags=n.flags&-4097|2,Gt=!1,Qr=n)}}else{if(pc(n))throw Error(h(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(h(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(h(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=Ie.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(h(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 c=r.interleaved;return c===null?(l.next=l,gd(r)):(l.next=c.next,c.next=l),r.interleaved=l,wa(n,u)}function wa(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 wn(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 c=u.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),u.pending=r,wa(n,l)}return c=u.interleaved,c===null?(r.next=r,gd(u)):(r.next=c.next,c.next=r),u.interleaved=r,wa(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 c=null,p=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};p===null?c=p=S:p=p.next=S,l=l.next}while(l!==null);p===null?c=p=r:p=p.next=r}else c=p=r;l={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:p,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 c=n.updateQueue;hl=!1;var p=c.firstBaseUpdate,S=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var _=w,B=_.next;_.next=null,S===null?p=B:S.next=B,S=_;var Z=n.alternate;Z!==null&&(Z=Z.updateQueue,w=Z.lastBaseUpdate,w!==S&&(w===null?Z.firstBaseUpdate=B:w.next=B,Z.lastBaseUpdate=_))}if(p!==null){var ee=c.baseState;S=0,Z=B=_=null,w=p;do{var q=w.lane,ve=w.eventTime;if((u&q)===q){Z!==null&&(Z=Z.next={eventTime:ve,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var Ee=n,we=w;switch(q=r,ve=l,we.tag){case 1:if(Ee=we.payload,typeof Ee=="function"){ee=Ee.call(ve,ee,q);break e}ee=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=we.payload,q=typeof Ee=="function"?Ee.call(ve,ee,q):Ee,q==null)break e;ee=D({},ee,q);break e;case 2:hl=!0}}w.callback!==null&&w.lane!==0&&(n.flags|=64,q=c.effects,q===null?c.effects=[w]:q.push(w))}else ve={eventTime:ve,lane:q,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Z===null?(B=Z=ve,_=ee):Z=Z.next=ve,S|=q;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;q=w,w=q.next,q.next=null,c.lastBaseUpdate=q,c.shared.pending=null}}while(1);if(Z===null&&(_=ee),c.baseState=_,c.firstBaseUpdate=B,c.lastBaseUpdate=Z,r=c.shared.interleaved,r!==null){c=r;do S|=c.lane,c=c.next;while(c!==r)}else p===null&&(c.shared.lanes=0);ka|=S,n.lanes=S,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],c=u.callback;if(c!==null){if(u.callback=null,u=l,typeof c!="function")throw Error(h(191,c));c.call(u)}}}var _h=new Y.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(),c=En(n),p=xa(u,c);p.payload=r,l!=null&&(p.callback=l),r=vl(n,p,c),r!==null&&(ar(r,n,c,u),gc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=ir(),c=En(n),p=xa(u,c);p.tag=1,p.payload=r,l!=null&&(p.callback=l),r=vl(n,p,c),r!==null&&(ar(r,n,c,u),gc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=ir(),u=En(n),c=xa(l,u);c.tag=2,r!=null&&(c.callback=r),r=vl(n,c,u),r!==null&&(ar(r,n,u,l),gc(r,n,u))}};function kh(n,r,l,u,c,p,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,p,S):r.prototype&&r.prototype.isPureReactComponent?!Qu(l,u)||!Qu(c,p):!0}function Mh(n,r,l){var u=!1,c=Zi,p=r.contextType;return typeof p=="object"&&p!==null?p=mn(p):(c=Jt(r)?Or:Ge.current,u=r.contextTypes,p=(u=u!=null)?si(n,c):Zi),r=new r(l,p),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=c,n.__reactInternalMemoizedMaskedChildContext=p),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 c=n.stateNode;c.props=l,c.state=n.memoizedState,c.refs=_h,Sd(n);var p=r.contextType;typeof p=="object"&&p!==null?c.context=mn(p):(p=Jt(r)?Or:Ge.current,c.context=si(n,p)),c.state=n.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(Ed(n,r,p,l),c.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&Sc.enqueueReplaceState(c,c.state,null),ml(n,l,c,u),c.state=n.memoizedState),typeof c.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(h(309));var u=l.stateNode}if(!u)throw Error(h(147,n));var c=u,p=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===p?r.ref:(r=function(S){var w=c.refs;w===_h&&(w=c.refs={}),S===null?delete w[p]:w[p]=S},r._stringRef=p,r)}if(typeof n!="string")throw Error(h(284));if(!l._owner)throw Error(h(290,n))}return n}function Ec(n,r){throw n=Object.prototype.toString.call(r),Error(h(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 U=L.deletions;U===null?(L.deletions=[M],L.flags|=16):U.push(M)}}function l(L,M){if(!n)return null;for(;M!==null;)r(L,M),M=M.sibling;return null}function u(L,M){for(L=new Map;M!==null;)M.key!==null?L.set(M.key,M):L.set(M.index,M),M=M.sibling;return L}function c(L,M){return L=wl(L,M),L.index=0,L.sibling=null,L}function p(L,M,U){return L.index=U,n?(U=L.alternate,U!==null?(U=U.index,U<M?(L.flags|=2,M):U):(L.flags|=2,M)):(L.flags|=1048576,M)}function S(L){return n&&L.alternate===null&&(L.flags|=2),L}function w(L,M,U,ae){return M===null||M.tag!==6?(M=ws(U,L.mode,ae),M.return=L,M):(M=c(M,U),M.return=L,M)}function _(L,M,U,ae){var ke=U.type;return ke===Oe?Z(L,M,U.props.children,ae,U.key):M!==null&&(M.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===Dt&&Lh(ke)===M.type)?(ae=c(M,U.props),ae.ref=Zo(L,M,U),ae.return=L,ae):(ae=Jc(U.type,U.key,U.props,null,L.mode,ae),ae.ref=Zo(L,M,U),ae.return=L,ae)}function B(L,M,U,ae){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=mo(U,L.mode,ae),M.return=L,M):(M=c(M,U.children||[]),M.return=L,M)}function Z(L,M,U,ae,ke){return M===null||M.tag!==7?(M=vo(U,L.mode,ae,ke),M.return=L,M):(M=c(M,U),M.return=L,M)}function ee(L,M,U){if(typeof M=="string"&&M!==""||typeof M=="number")return M=ws(""+M,L.mode,U),M.return=L,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case pe:return U=Jc(M.type,M.key,M.props,null,L.mode,U),U.ref=Zo(L,null,M),U.return=L,U;case xe:return M=mo(M,L.mode,U),M.return=L,M;case Dt:var ae=M._init;return ee(L,ae(M._payload),U)}if(Jn(M)||Ae(M))return M=vo(M,L.mode,U,null),M.return=L,M;Ec(L,M)}return null}function q(L,M,U,ae){var ke=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return ke!==null?null:w(L,M,""+U,ae);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case pe:return U.key===ke?_(L,M,U,ae):null;case xe:return U.key===ke?B(L,M,U,ae):null;case Dt:return ke=U._init,q(L,M,ke(U._payload),ae)}if(Jn(U)||Ae(U))return ke!==null?null:Z(L,M,U,ae,null);Ec(L,U)}return null}function ve(L,M,U,ae,ke){if(typeof ae=="string"&&ae!==""||typeof ae=="number")return L=L.get(U)||null,w(M,L,""+ae,ke);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case pe:return L=L.get(ae.key===null?U:ae.key)||null,_(M,L,ae,ke);case xe:return L=L.get(ae.key===null?U:ae.key)||null,B(M,L,ae,ke);case Dt:var be=ae._init;return ve(L,M,U,be(ae._payload),ke)}if(Jn(ae)||Ae(ae))return L=L.get(U)||null,Z(M,L,ae,ke,null);Ec(M,ae)}return null}function Ee(L,M,U,ae){for(var ke=null,be=null,Le=M,Qe=M=0,Fn=null;Le!==null&&Qe<U.length;Qe++){Le.index>Qe?(Fn=Le,Le=null):Fn=Le.sibling;var bt=q(L,Le,U[Qe],ae);if(bt===null){Le===null&&(Le=Fn);break}n&&Le&&bt.alternate===null&&r(L,Le),M=p(bt,M,Qe),be===null?ke=bt:be.sibling=bt,be=bt,Le=Fn}if(Qe===U.length)return l(L,Le),Gt&&Gr(L,Qe),ke;if(Le===null){for(;Qe<U.length;Qe++)Le=ee(L,U[Qe],ae),Le!==null&&(M=p(Le,M,Qe),be===null?ke=Le:be.sibling=Le,be=Le);return Gt&&Gr(L,Qe),ke}for(Le=u(L,Le);Qe<U.length;Qe++)Fn=ve(Le,L,Qe,U[Qe],ae),Fn!==null&&(n&&Fn.alternate!==null&&Le.delete(Fn.key===null?Qe:Fn.key),M=p(Fn,M,Qe),be===null?ke=Fn:be.sibling=Fn,be=Fn);return n&&Le.forEach(function(xl){return r(L,xl)}),Gt&&Gr(L,Qe),ke}function we(L,M,U,ae){var ke=Ae(U);if(typeof ke!="function")throw Error(h(150));if(U=ke.call(U),U==null)throw Error(h(151));for(var be=ke=null,Le=M,Qe=M=0,Fn=null,bt=U.next();Le!==null&&!bt.done;Qe++,bt=U.next()){Le.index>Qe?(Fn=Le,Le=null):Fn=Le.sibling;var xl=q(L,Le,bt.value,ae);if(xl===null){Le===null&&(Le=Fn);break}n&&Le&&xl.alternate===null&&r(L,Le),M=p(xl,M,Qe),be===null?ke=xl:be.sibling=xl,be=xl,Le=Fn}if(bt.done)return l(L,Le),Gt&&Gr(L,Qe),ke;if(Le===null){for(;!bt.done;Qe++,bt=U.next())bt=ee(L,bt.value,ae),bt!==null&&(M=p(bt,M,Qe),be===null?ke=bt:be.sibling=bt,be=bt);return Gt&&Gr(L,Qe),ke}for(Le=u(L,Le);!bt.done;Qe++,bt=U.next())bt=ve(Le,L,Qe,bt.value,ae),bt!==null&&(n&&bt.alternate!==null&&Le.delete(bt.key===null?Qe:bt.key),M=p(bt,M,Qe),be===null?ke=bt:be.sibling=bt,be=bt);return n&&Le.forEach(function(yy){return r(L,yy)}),Gt&&Gr(L,Qe),ke}function yn(L,M,U,ae){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,be=M;be!==null;){if(be.key===ke){if(ke=U.type,ke===Oe){if(be.tag===7){l(L,be.sibling),M=c(be,U.props.children),M.return=L,L=M;break e}}else if(be.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===Dt&&Lh(ke)===be.type){l(L,be.sibling),M=c(be,U.props),M.ref=Zo(L,be,U),M.return=L,L=M;break e}l(L,be);break}else r(L,be);be=be.sibling}U.type===Oe?(M=vo(U.props.children,L.mode,ae,U.key),M.return=L,L=M):(ae=Jc(U.type,U.key,U.props,null,L.mode,ae),ae.ref=Zo(L,M,U),ae.return=L,L=ae)}return S(L);case xe:e:{for(be=U.key;M!==null;){if(M.key===be)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){l(L,M.sibling),M=c(M,U.children||[]),M.return=L,L=M;break e}else{l(L,M);break}else r(L,M);M=M.sibling}M=mo(U,L.mode,ae),M.return=L,L=M}return S(L);case Dt:return be=U._init,yn(L,M,be(U._payload),ae)}if(Jn(U))return Ee(L,M,U,ae);if(Ae(U))return we(L,M,U,ae);Ec(L,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,M!==null&&M.tag===6?(l(L,M.sibling),M=c(M,U),M.return=L,L=M):(l(L,M),M=ws(U,L.mode,ae),M.return=L,L=M),S(L)):l(L,M)}return yn}var Jo=Ah(!0),Nh=Ah(!1),ls={},Vi=Je(ls),os=Je(ls),eu=Je(ls);function ql(n){if(n===ls)throw Error(h(174));return n}function bd(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 Pe=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 bc(){for(var n=0;n<pi.length;n++)pi[n]._workInProgressVersionPrimary=null;pi.length=0}var Rc=Ie.ReactCurrentDispatcher,Rd=Ie.ReactCurrentBatchConfig,Zl=0,Qt=null,W=null,pt=null,$e=!1,ea=!1,Kr=0,Jl=0;function Xt(){throw Error(h(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,c,p){if(Zl=p,Qt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Rc.current=n===null||n.memoizedState===null?Jm:ey,n=l(u,c),ea){p=0;do{if(ea=!1,Kr=0,25<=p)throw Error(h(301));p+=1,pt=W=null,r.updateQueue=null,Rc.current=xd,n=l(u,c)}while(ea)}if(Rc.current=Vc,r=W!==null&&W.next!==null,Zl=0,pt=W=Qt=null,$e=!1,r)throw Error(h(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(h(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(h(311));l.lastRenderedReducer=n;var u=W,c=u.baseQueue,p=l.pending;if(p!==null){if(c!==null){var S=c.next;c.next=p.next,p.next=S}u.baseQueue=c=p,l.pending=null}if(c!==null){p=c.next,u=u.baseState;var w=S=null,_=null,B=p;do{var Z=B.lane;if((Zl&Z)===Z)_!==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 ee={lane:Z,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};_===null?(w=_=ee,S=u):_=_.next=ee,Qt.lanes|=Z,ka|=Z}B=B.next}while(B!==null&&B!==p);_===null?S=u:_.next=w,oi(u,r.memoizedState)||(Cn=!0),r.memoizedState=u,r.baseState=S,r.baseQueue=_,l.lastRenderedState=u}if(n=l.interleaved,n!==null){c=n;do p=c.lane,Qt.lanes|=p,ka|=p,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function ss(n){var r=Ur(),l=r.queue;if(l===null)throw Error(h(311));l.lastRenderedReducer=n;var u=l.dispatch,c=l.pending,p=r.memoizedState;if(c!==null){l.pending=null;var S=c=c.next;do p=n(p,S.action),S=S.next;while(S!==c);oi(p,r.memoizedState)||(Cn=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),l.lastRenderedState=p}return[p,u]}function wc(){}function xc(n,r){var l=Qt,u=Ur(),c=r(),p=!oi(u.memoizedState,c);if(p&&(u.memoizedState=c,Cn=!0),u=u.queue,cs(_c.bind(null,l,u,n),[n]),u.getSnapshot!==r||p||pt!==null&&pt.memoizedState.tag&1){if(l.flags|=2048,ro(9,Dc.bind(null,l,u,c,r),void 0,null),ln===null)throw Error(h(349));Zl&30||Tc(l,r,c)}return c}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=wa(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 c=hi();Qt.flags|=n,c.memoizedState=ro(1|r,l,void 0,u===void 0?null:u)}function Ta(n,r,l,u){var c=Ur();u=u===void 0?null:u;var p=void 0;if(W!==null){var S=W.memoizedState;if(p=S.destroy,u!==null&&eo(u,S.deps)){c.memoizedState=ro(r,l,p,u);return}}Qt.flags|=n,c.memoizedState=ro(1|r,l,p,u)}function Ac(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 wd(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,wd.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=Rt;Rt=l!==0&&4>l?l:4,n(!0);var u=Rd.transition;Rd.transition={};try{n(!1),r()}finally{Rt=l,Rd.transition=u}}function jt(){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 c=ir();ar(l,n,u,c),zh(l,r,u)}}function Hc(n,r,l){var u=En(n),c={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(ru(n))fs(r,c);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var S=r.lastRenderedState,w=p(S,l);if(c.hasEagerState=!0,c.eagerState=w,oi(w,S)){var _=r.interleaved;_===null?(c.next=c,gd(r)):(c.next=_.next,_.next=c),r.interleaved=c;return}}catch{}finally{}l=Dh(n,r,c,u),l!==null&&(c=ir(),ar(l,n,u,c),zh(l,r,u))}}function ru(n){var r=n.alternate;return n===Qt||r!==null&&r===Qt}function fs(n,r){ea=$e=!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:Ac,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,io(4194308,4,wd.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,c=hi();if(Gt){if(l===void 0)throw Error(h(407));l=l()}else{if(l=r(),ln===null)throw Error(h(349));Zl&30||Tc(u,r,l)}c.memoizedState=l;var p={value:l,getSnapshot:r};return c.queue=p,Ac(_c.bind(null,u,p,n),[n]),u.flags|=2048,ro(9,Dc.bind(null,u,p,l,r),void 0,null),l},useId:function(){var n=hi(),r=ln.identifierPrefix;if(Gt){var l=Ra,u=jn;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:Lc,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:wc,useSyncExternalStore:xc,useId:jt,unstable_isNewReconciler:!1},xd={readContext:mn,useCallback:nu,useContext:mn,useEffect:cs,useImperativeHandle:tu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:ss,useRef:Lc,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:wc,useSyncExternalStore:xc,useId:jt,unstable_isNewReconciler:!1};function iu(n,r){try{var l="",u=r;do l+=Ct(u),u=u.return;while(u);var c=l}catch(p){c=`
|
|
86
|
+
`+c[S].replace(" at new "," at ");return n.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",n.displayName)),_}while(1<=S&&0<=w);break}}}finally{Je=!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 ut(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 we:return"Fragment";case Le:return"Portal";case Tt:return"Profiler";case ot:return"StrictMode";case Ze:return"Suspense";case Ae:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case St:return(n.displayName||"Context")+".Consumer";case Dt:return(n._context.displayName||"Context")+".Provider";case tn: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:ut(n.type)||"Memo";case _t:r=n._payload,n=n._init;try{return ut(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 ut(r);case 8:return r===ot?"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 ft(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 c=l.get,p=l.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return c.call(this)},set:function(S){u=""+S,p.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=Pt(n)?n.checked?"true":"false":n.value),n=u,n!==l?(r.setValue(n),!0):!1}function hn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function Zn(n,r){var l=r.checked;return D({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:l??n._wrapperState.initialChecked})}function Er(n,r){var l=r.defaultValue==null?"":r.defaultValue,u=r.checked!=null?r.checked:r.defaultChecked;l=ft(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 br(n,r){r=r.checked,r!=null&&De(n,"checked",r,!1)}function Mn(n,r){br(n,r);var l=ft(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,ft(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 Rr(n,r,l,u){if(n=n.options,r){r={};for(var c=0;c<l.length;c++)r["$"+l[c]]=!0;for(l=0;l<n.length;l++)c=r.hasOwnProperty("$"+n[l].value),n[l].selected!==c&&(n[l].selected=c),c&&u&&(n[l].defaultSelected=!0)}else{for(l=""+ft(l),r=null,c=0;c<n.length;c++){if(n[c].value===l){n[c].selected=!0,u&&(n[c].defaultSelected=!0);return}r!==null||n[c].disabled||(r=n[c])}r!==null&&(r.selected=!0)}}function Wi(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(h(91));return D({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function wr(n,r){var l=r.value;if(l==null){if(l=r.children,r=r.defaultValue,l!=null){if(r!=null)throw Error(h(92));if(Jn(l)){if(1<l.length)throw Error(h(93));l=l[0]}r=l}r==null&&(r=""),l=r}n._wrapperState={initialValue:ft(l)}}function _i(n,r){var l=ft(r.value),u=ft(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,c){MSApp.execUnsafeLocalFunction(function(){return n(r,l,u,c)})}: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 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},ze=["Webkit","ms","Moz","O"];Object.keys(ce).forEach(function(n){ze.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 At(n,r){n=n.style;for(var l in r)if(r.hasOwnProperty(l)){var u=l.indexOf("--")===0,c=nt(l,r[l],u);l==="float"&&(l="cssFloat"),u?n.setProperty(l,c):n[l]=c}}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 Rn(n,r){if(r){if(zt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(h(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(h(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(h(61))}if(r.style!=null&&typeof r.style!="object")throw Error(h(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,nn=null,$t=null;function Fl(n){if(n=rs(n)){if(typeof ri!="function")throw Error(h(280));var r=n.stateNode;r&&(r=Ue(r),ri(n.stateNode,n.type,r))}}function pa(n){nn?$t?$t.push(n):$t=[n]:nn=n}function Mo(){if(nn){var n=nn,r=$t;if($t=nn=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,(nn!==null||$t!==null)&&(Ys(),Mo())}}function Mi(n,r){var l=n.stateNode;if(l===null)return null;var u=Ue(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(h(231,r,typeof l));return l}var $a=!1;if(Q)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,c,p,S,w,_){var B=Array.prototype.slice.call(arguments,3);try{r.apply(l,B)}catch(Z){this.onError(Z)}}var Wr=!1,Oi=null,Wa=!1,Ya=null,Lo={onError:function(n){Wr=!0,Oi=n}};function Hu(n,r,l,u,c,p,S,w,_){Wr=!1,Oi=null,Ia.apply(Lo,arguments)}function sn(n,r,l,u,c,p,S,w,_){if(Hu.apply(this,arguments),Wr){if(Wr){var B=Oi;Wr=!1,Oi=null}else throw Error(h(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(h(188))}function Bn(n){var r=n.alternate;if(!r){if(r=ii(n),r===null)throw Error(h(188));return r!==n?null:n}for(var l=n,u=r;;){var c=l.return;if(c===null)break;var p=c.alternate;if(p===null){if(u=c.return,u!==null){l=u;continue}break}if(c.child===p.child){for(p=c.child;p;){if(p===l)return Ga(c),n;if(p===u)return Ga(c),r;p=p.sibling}throw Error(h(188))}if(l.return!==u.return)l=c,u=p;else{for(var S=!1,w=c.child;w;){if(w===l){S=!0,l=c,u=p;break}if(w===u){S=!0,u=c,l=p;break}w=w.sibling}if(!S){for(w=p.child;w;){if(w===l){S=!0,l=p,u=c;break}if(w===u){S=!0,u=p,l=c;break}w=w.sibling}if(!S)throw Error(h(189))}}if(l.alternate!==u)throw Error(h(190))}if(l.tag!==3)throw Error(h(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=f.unstable_scheduleCallback,Xs=f.unstable_cancelCallback,Ff=f.unstable_shouldYield,Hf=f.unstable_requestPaint,Zt=f.unstable_now,Vf=f.unstable_getCurrentPriorityLevel,Li=f.unstable_ImmediatePriority,rt=f.unstable_UserBlockingPriority,Qi=f.unstable_NormalPriority,Qa=f.unstable_LowPriority,Ao=f.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,ju=Math.log,Pu=Math.LN2;function Ks(n){return n>>>=0,n===0?32:31-(ju(n)/Pu|0)|0}var No=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,c=n.suspendedLanes,p=n.pingedLanes,S=l&268435455;if(S!==0){var w=S&~c;w!==0?u=Ai(w):(p&=S,p!==0&&(u=Ai(p)))}else S=l&~c,S!==0?u=Ai(S):p!==0&&(u=Ai(p));if(u===0)return 0;if(r!==0&&r!==u&&!(r&c)&&(c=u&-u,p=r&-r,c>=p||c===16&&(p&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),c=1<<l,u|=n[l],r&=~c;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,c=n.expirationTimes,p=n.pendingLanes;0<p;){var S=31-or(p),w=1<<S,_=c[S];_===-1?(!(w&l)||w&u)&&(c[S]=qa(w,r)):_<=r&&(n.expiredLanes|=w),p&=~w}}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 c=31-or(l),p=1<<c;r[c]=0,u[c]=-1,n[c]=-1,l&=~p}}function Xi(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var u=31-or(l),c=1<<u;c&r|n[u]&r&&(n[u]|=r),l&=~c}}var Rt=0;function Fo(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Vl,Ho,yt,Vo,Bo,Xe=!1,Bl=[],rn=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":rn=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,c,p){return n===null||n.nativeEvent!==p?(n={blockedOn:r,domEventName:l,eventSystemFlags:u,nativeEvent:p,targetContainers:[c]},r!==null&&(r=rs(r),r!==null&&Ho(r)),n):(n.eventSystemFlags|=u,r=n.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),n)}function Ki(n,r,l,u,c){switch(r){case"focusin":return rn=On(rn,n,r,l,u,c),!0;case"dragenter":return _r=On(_r,n,r,l,u,c),!0;case"mouseover":return sr=On(sr,n,r,l,u,c),!0;case"pointerover":var p=c.pointerId;return el.set(p,On(el.get(p)||null,n,r,l,u,c)),!0;case"gotpointercapture":return p=c.pointerId,cn.set(p,On(cn.get(p)||null,n,r,l,u,c)),!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(){yt(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function va(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=Po(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,rn!==null&&va(rn)&&(rn=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,f.unstable_scheduleCallback(f.unstable_NormalPriority,Js)))}function nl(n){function r(c){return ai(c,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(rn!==null&&ai(rn,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 jo(n,r,l,u){var c=Rt,p=rl.transition;rl.transition=null;try{Rt=1,al(n,r,l,u)}finally{Rt=c,rl.transition=p}}function il(n,r,l,u){var c=Rt,p=rl.transition;rl.transition=null;try{Rt=4,al(n,r,l,u)}finally{Rt=c,rl.transition=p}}function al(n,r,l,u){if(li){var c=Po(n,r,l,u);if(c===null)uc(n,r,u,jl,l),kr(n,u);else if(Ki(c,n,r,l,u))u.stopPropagation();else if(kr(n,u),r&4&&-1<qs.indexOf(n)){for(;c!==null;){var p=rs(c);if(p!==null&&Vl(p),p=Po(n,r,l,u),p===null&&uc(n,r,u,jl,l),p===c)break;c=p}c!==null&&u.stopPropagation()}else uc(n,r,u,null,l)}}var jl=null;function Po(n,r,l,u){if(jl=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 jl=n,null}function $u(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 rt:return 4;case Qi:case Qa:return 16;case Ao:return 536870912;default:return 16}default:return 16}}var Ni=null,y=null,x=null;function H(){if(x)return x;var n,r=y,l=r.length,u,c="value"in Ni?Ni.value:Ni.textContent,p=c.length;for(n=0;n<l&&r[n]===c[n];n++);var S=l-n;for(u=1;u<=S&&r[l-u]===c[p-u];u++);return x=c.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 ie(){return!0}function je(){return!1}function fe(n){function r(l,u,c,p,S){this._reactName=l,this._targetInst=c,this.type=u,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var w in n)n.hasOwnProperty(w)&&(l=n[w],this[w]=l?l(p):p[w]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?ie:je,this.isPropagationStopped=je,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=ie)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){},isPersistent:ie}),r}var Ve={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},it=fe(Ve),gt=D({},Ve,{view:0,detail:0}),Ht=fe(gt),Nt,Vt,It,dt=D({},gt,{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"?(Nt=n.screenX-It.screenX,Vt=n.screenY-It.screenY):Vt=Nt=0,It=n),Nt)},movementY:function(n){return"movementY"in n?n.movementY:Vt}}),ma=fe(dt),$o=D({},dt,{dataTransfer:0}),Iu=fe($o),jf=D({},gt,{relatedTarget:0}),zi=fe(jf),Wu=D({},Ve,{animationName:0,elapsedTime:0,pseudoElement:0}),Yu=fe(Wu),Pf=D({},Ve,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Fm=fe(Pf),Hm=D({},Ve,{data:0}),$f=fe(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({},gt,{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=fe(ya),Yf=D({},dt,{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({},gt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wf}),Bm=fe(Gf),tc=D({},Ve,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zp=fe(tc),Mr=D({},dt,{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=Q&&"CompositionEvent"in window,Pl=null;Q&&"documentMode"in document&&(Pl=document.documentMode);var nc=Q&&"TextEvent"in window&&!Pl,Jp=Q&&(!Ui||Pl&&8<Pl&&11>=Pl),Io=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 jm(n,r){switch(n){case"compositionend":return rc(r);case"keypress":return r.which!==32?null:(eh=!0,Io);case"textInput":return n=r.data,n===Io&&eh?null:n;default:return null}}function Pm(n,r){if(Wo)return n==="compositionend"||!Ui&&th(n,r)?(n=H(),x=y=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(Q){var Xf;if(Q){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 $m(n,r,l){n==="focusin"?(oh(),Gu=r,Yo=l,Gu.attachEvent("onpropertychange",uh)):n==="focusout"&&oh()}function Im(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 c=l[u];if(!A.call(r,c)||!oi(n[c],r[c]))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 c=l.textContent.length,p=Math.min(u.start,c);u=u.end===void 0?p:Math.min(u.end,c),!n.extend&&p>u&&(c=u,u=p,p=c),c=fh(l,p);var S=fh(l,u);c&&S&&(n.rangeCount!==1||n.anchorNode!==c.node||n.anchorOffset!==c.offset||n.focusNode!==S.node||n.focusOffset!==S.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),n.removeAllRanges(),p>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=Q&&"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 $l={animationend:lc("Animation","AnimationEnd"),animationiteration:lc("Animation","AnimationIteration"),animationstart:lc("Animation","AnimationStart"),transitionend:lc("Transition","TransitionEnd")},Jf={},ed={};Q&&(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 Ku=0;Ku<Sh.length;Ku++){var Il=Sh[Ku],Gm=Il.toLowerCase(),qu=Il[0].toUpperCase()+Il.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"]),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 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],c=u.event;u=u.listeners;e:{var p=void 0;if(r)for(var S=u.length-1;0<=S;S--){var w=u[S],_=w.instance,B=w.currentTarget;if(w=w.listener,_!==p&&c.isPropagationStopped())break e;Ch(c,w,B),p=_}else for(S=0;S<u.length;S++){if(w=u[S],_=w.instance,B=w.currentTarget,w=w.listener,_!==p&&c.isPropagationStopped())break e;Ch(c,w,B),p=_}}}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,g.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($u(r)){case 1:var c=jo;break;case 4:c=il;break;default:c=al}l=c.bind(null,r,l,n),c=void 0,!$a||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),u?c!==void 0?n.addEventListener(r,l,{capture:!0,passive:c}):n.addEventListener(r,l,!0):c!==void 0?n.addEventListener(r,l,{passive:c}):n.addEventListener(r,l,!1)}function uc(n,r,l,u,c){var p=u;if(!(r&1)&&!(r&2)&&u!==null)e:for(;;){if(u===null)return;var S=u.tag;if(S===3||S===4){var w=u.stateNode.containerInfo;if(w===c||w.nodeType===8&&w.parentNode===c)break;if(S===4)for(S=u.return;S!==null;){var _=S.tag;if((_===3||_===4)&&(_=S.stateNode.containerInfo,_===c||_.nodeType===8&&_.parentNode===c))return;S=S.return}for(;w!==null;){if(S=ui(w),S===null)return;if(_=S.tag,_===5||_===6){u=p=S;continue e}w=w.parentNode}}u=u.return}Fu(function(){var B=p,Z=Wt(l),J=[];e:{var q=gh.get(n);if(q!==void 0){var ve=it,Ee=n;switch(n){case"keypress":if(j(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=Iu;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 xe=(r&4)!==0,yn=!xe&&n==="scroll",L=xe?q!==null?q+"Capture":null:q;xe=[];for(var M=B,U;M!==null;){U=M;var ae=U.stateNode;if(U.tag===5&&ae!==null&&(U=ae,L!==null&&(ae=Mi(M,L),ae!=null&&xe.push(Ju(M,ae,U)))),yn)break;M=M.return}0<xe.length&&(q=new ve(q,Ee,null,l,Z),J.push({event:q,listeners:xe}))}}if(!(r&7)){e:{if(q=n==="mouseover"||n==="pointerover",ve=n==="mouseout"||n==="pointerout",q&&l!==Tr&&(Ee=l.relatedTarget||l.fromElement)&&(ui(Ee)||Ee[ba]))break e;if((ve||q)&&(q=Z.window===Z?Z:(q=Z.ownerDocument)?q.defaultView||q.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(xe=ma,ae="onMouseLeave",L="onMouseEnter",M="mouse",(n==="pointerout"||n==="pointerover")&&(xe=ec,ae="onPointerLeave",L="onPointerEnter",M="pointer"),yn=ve==null?q:Ko(ve),U=Ee==null?q:Ko(Ee),q=new xe(ae,M+"leave",ve,l,Z),q.target=yn,q.relatedTarget=U,ae=null,ui(Z)===B&&(xe=new xe(L,M+"enter",Ee,l,Z),xe.target=U,xe.relatedTarget=yn,ae=xe),yn=ae,ve&&Ee)t:{for(xe=ve,L=Ee,M=0,U=xe;U;U=Wl(U))M++;for(U=0,ae=L;ae;ae=Wl(ae))U++;for(;0<M-U;)xe=Wl(xe),M--;for(;0<U-M;)L=Wl(L),U--;for(;M--;){if(xe===L||L!==null&&xe===L.alternate)break t;xe=Wl(xe),L=Wl(L)}xe=null}else xe=null;ve!==null&&nd(J,q,ve,xe,!1),Ee!==null&&yn!==null&&nd(J,yn,Ee,xe,!0)}}e:{if(q=B?Ko(B):window,ve=q.nodeName&&q.nodeName.toLowerCase(),ve==="select"||ve==="input"&&q.type==="file")var _e=ah;else if(rh(q))if(Qf)_e=sh;else{_e=Im;var be=$m}else(ve=q.nodeName)&&ve.toLowerCase()==="input"&&(q.type==="checkbox"||q.type==="radio")&&(_e=Wm);if(_e&&(_e=_e(n,B))){ih(J,_e,l,Z);break e}be&&be(n,q,B),n==="focusout"&&(be=q._wrapperState)&&be.controlled&&q.type==="number"&&da(q,"number",q.value)}switch(be=B?Ko(B):window,n){case"focusin":(rh(be)||be.contentEditable==="true")&&(Fi=be,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,Z);break;case"selectionchange":if(ph)break;case"keydown":case"keyup":hh(J,l,Z)}var Oe;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&&(Oe=H()):(Ni=Z,y="value"in Ni?Ni.value:Ni.textContent,Wo=!0)),be=es(B,Qe),0<be.length&&(Qe=new $f(Qe,n,null,l,Z),J.push({event:Qe,listeners:be}),Oe?Qe.data=Oe:(Oe=rc(l),Oe!==null&&(Qe.data=Oe)))),(Oe=nc?jm(n,l):Pm(n,l))&&(B=es(B,"onBeforeInput"),0<B.length&&(Z=new $f("onBeforeInput","beforeinput",null,l,Z),J.push({event:Z,listeners:B}),Z.data=Oe))}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 c=n,p=c.stateNode;c.tag===5&&p!==null&&(c=p,p=Mi(n,l),p!=null&&u.unshift(Ju(n,p,c)),p=Mi(n,r),p!=null&&u.push(Ju(n,p,c))),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,c){for(var p=r._reactName,S=[];l!==null&&l!==u;){var w=l,_=w.alternate,B=w.stateNode;if(_!==null&&_===u)break;w.tag===5&&B!==null&&(w=B,c?(_=Mi(l,p),_!=null&&S.unshift(Ju(l,_,w))):c||(_=Mi(l,p),_!=null&&S.push(Ju(l,_,w)))),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(h(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,bh=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 c=l.nextSibling;if(n.removeChild(l),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(u===0){n.removeChild(c),nl(r);return}u--}else l!=="$"&&l!=="$?"&&l!=="$!"||u++;l=c}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,ba="__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[ba]||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[ba],!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(h(33))}function Ue(n){return n[Ql]||null}var sl=[],Yt=-1;function et(n){return{current:n}}function kt(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=et(Zi),fn=et(!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 c={},p;for(p in l)c[p]=r[p];return u&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=c),c}function Jt(n){return n=n.childContextTypes,n!=null}function ci(){kt(fn),kt(Ge)}function cl(n,r,l){if(Ge.current!==Zi)throw Error(h(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 c in u)if(!(c in r))throw Error(h(108,Et(n)||"Unknown",c));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 Rh(n,r,l){var u=n.stateNode;if(!u)throw Error(h(169));l?(n=is(n,r,Or),u.__reactInternalMemoizedMergedChildContext=n,kt(fn),kt(Ge),Ot(Ge,n)):kt(fn),Ot(fn,l)}var Yr=null,An=!1,as=!1;function cd(n){Yr===null?Yr=[n]:Yr.push(n)}function fd(n){An=!0,cd(n)}function Lr(){if(!as&&Yr!==null){as=!0;var n=0,r=Rt;try{var l=Yr;for(Rt=1;n<l.length;n++){var u=l[n];do u=u(!0);while(u!==null)}Yr=null,An=!1}catch(c){throw Yr!==null&&(Yr=Yr.slice(n+1)),Vu(Li,Lr),c}finally{Rt=r,as=!1}}return null}var fl=[],Ar=0,Xl=null,qo=0,Nr=[],er=0,fi=null,jn=1,Ra="";function Gr(n,r){fl[Ar++]=qo,fl[Ar++]=Xl,Xl=n,qo=r}function dd(n,r,l){Nr[er++]=jn,Nr[er++]=Ra,Nr[er++]=fi,fi=n;var u=jn;n=Ra;var c=32-or(u)-1;u&=~(1<<c),l+=1;var p=32-or(r)+c;if(30<p){var S=c-c%5;p=(u&(1<<S)-1).toString(32),u>>=S,c-=S,jn=1<<32-or(r)+c|l<<c|u,Ra=p+n}else jn=1<<p|l<<c|u,Ra=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,qo=fl[--Ar],fl[Ar]=null;for(;n===fi;)fi=Nr[--er],Nr[er]=null,Ra=Nr[--er],Nr[er]=null,jn=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 wh(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:jn,overflow:Ra}: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(!wh(n,r)){if(pc(n))throw Error(h(418));r=Hi(l.nextSibling);var u=Qr;r&&wh(n,r)?hd(u,l):(n.flags=n.flags&-4097|2,Gt=!1,Qr=n)}}else{if(pc(n))throw Error(h(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(h(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(h(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 an(){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=et(null),yc=null,dl=null,md=null;function yd(){md=dl=yc=null}function pl(n){var r=Ji.current;kt(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(h(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 c=r.interleaved;return c===null?(l.next=l,gd(r)):(l.next=c.next,c.next=l),r.interleaved=l,wa(n,u)}function wa(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 wn(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,st&2){var c=u.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),u.pending=r,wa(n,l)}return c=u.interleaved,c===null?(r.next=r,gd(u)):(r.next=c.next,c.next=r),u.interleaved=r,wa(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 c=null,p=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};p===null?c=p=S:p=p.next=S,l=l.next}while(l!==null);p===null?c=p=r:p=p.next=r}else c=p=r;l={baseState:u.baseState,firstBaseUpdate:c,lastBaseUpdate:p,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 c=n.updateQueue;hl=!1;var p=c.firstBaseUpdate,S=c.lastBaseUpdate,w=c.shared.pending;if(w!==null){c.shared.pending=null;var _=w,B=_.next;_.next=null,S===null?p=B:S.next=B,S=_;var Z=n.alternate;Z!==null&&(Z=Z.updateQueue,w=Z.lastBaseUpdate,w!==S&&(w===null?Z.firstBaseUpdate=B:w.next=B,Z.lastBaseUpdate=_))}if(p!==null){var J=c.baseState;S=0,Z=B=_=null,w=p;do{var q=w.lane,ve=w.eventTime;if((u&q)===q){Z!==null&&(Z=Z.next={eventTime:ve,lane:0,tag:w.tag,payload:w.payload,callback:w.callback,next:null});e:{var Ee=n,xe=w;switch(q=r,ve=l,xe.tag){case 1:if(Ee=xe.payload,typeof Ee=="function"){J=Ee.call(ve,J,q);break e}J=Ee;break e;case 3:Ee.flags=Ee.flags&-65537|128;case 0:if(Ee=xe.payload,q=typeof Ee=="function"?Ee.call(ve,J,q):Ee,q==null)break e;J=D({},J,q);break e;case 2:hl=!0}}w.callback!==null&&w.lane!==0&&(n.flags|=64,q=c.effects,q===null?c.effects=[w]:q.push(w))}else ve={eventTime:ve,lane:q,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Z===null?(B=Z=ve,_=J):Z=Z.next=ve,S|=q;if(w=w.next,w===null){if(w=c.shared.pending,w===null)break;q=w,w=q.next,q.next=null,c.lastBaseUpdate=q,c.shared.pending=null}}while(1);if(Z===null&&(_=J),c.baseState=_,c.firstBaseUpdate=B,c.lastBaseUpdate=Z,r=c.shared.interleaved,r!==null){c=r;do S|=c.lane,c=c.next;while(c!==r)}else p===null&&(c.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],c=u.callback;if(c!==null){if(u.callback=null,u=l,typeof c!="function")throw Error(h(191,c));c.call(u)}}}var _h=new Y.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(),c=En(n),p=xa(u,c);p.payload=r,l!=null&&(p.callback=l),r=vl(n,p,c),r!==null&&(ar(r,n,c,u),gc(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var u=ir(),c=En(n),p=xa(u,c);p.tag=1,p.payload=r,l!=null&&(p.callback=l),r=vl(n,p,c),r!==null&&(ar(r,n,c,u),gc(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=ir(),u=En(n),c=xa(l,u);c.tag=2,r!=null&&(c.callback=r),r=vl(n,c,u),r!==null&&(ar(r,n,u,l),gc(r,n,u))}};function kh(n,r,l,u,c,p,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(u,p,S):r.prototype&&r.prototype.isPureReactComponent?!Qu(l,u)||!Qu(c,p):!0}function Mh(n,r,l){var u=!1,c=Zi,p=r.contextType;return typeof p=="object"&&p!==null?p=mn(p):(c=Jt(r)?Or:Ge.current,u=r.contextTypes,p=(u=u!=null)?si(n,c):Zi),r=new r(l,p),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=c,n.__reactInternalMemoizedMaskedChildContext=p),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 c=n.stateNode;c.props=l,c.state=n.memoizedState,c.refs=_h,Sd(n);var p=r.contextType;typeof p=="object"&&p!==null?c.context=mn(p):(p=Jt(r)?Or:Ge.current,c.context=si(n,p)),c.state=n.memoizedState,p=r.getDerivedStateFromProps,typeof p=="function"&&(Ed(n,r,p,l),c.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&Sc.enqueueReplaceState(c,c.state,null),ml(n,l,c,u),c.state=n.memoizedState),typeof c.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(h(309));var u=l.stateNode}if(!u)throw Error(h(147,n));var c=u,p=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===p?r.ref:(r=function(S){var w=c.refs;w===_h&&(w=c.refs={}),S===null?delete w[p]:w[p]=S},r._stringRef=p,r)}if(typeof n!="string")throw Error(h(284));if(!l._owner)throw Error(h(290,n))}return n}function Ec(n,r){throw n=Object.prototype.toString.call(r),Error(h(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 U=L.deletions;U===null?(L.deletions=[M],L.flags|=16):U.push(M)}}function l(L,M){if(!n)return null;for(;M!==null;)r(L,M),M=M.sibling;return null}function u(L,M){for(L=new Map;M!==null;)M.key!==null?L.set(M.key,M):L.set(M.index,M),M=M.sibling;return L}function c(L,M){return L=wl(L,M),L.index=0,L.sibling=null,L}function p(L,M,U){return L.index=U,n?(U=L.alternate,U!==null?(U=U.index,U<M?(L.flags|=2,M):U):(L.flags|=2,M)):(L.flags|=1048576,M)}function S(L){return n&&L.alternate===null&&(L.flags|=2),L}function w(L,M,U,ae){return M===null||M.tag!==6?(M=ws(U,L.mode,ae),M.return=L,M):(M=c(M,U),M.return=L,M)}function _(L,M,U,ae){var _e=U.type;return _e===we?Z(L,M,U.props.children,ae,U.key):M!==null&&(M.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===_t&&Lh(_e)===M.type)?(ae=c(M,U.props),ae.ref=Zo(L,M,U),ae.return=L,ae):(ae=Jc(U.type,U.key,U.props,null,L.mode,ae),ae.ref=Zo(L,M,U),ae.return=L,ae)}function B(L,M,U,ae){return M===null||M.tag!==4||M.stateNode.containerInfo!==U.containerInfo||M.stateNode.implementation!==U.implementation?(M=mo(U,L.mode,ae),M.return=L,M):(M=c(M,U.children||[]),M.return=L,M)}function Z(L,M,U,ae,_e){return M===null||M.tag!==7?(M=vo(U,L.mode,ae,_e),M.return=L,M):(M=c(M,U),M.return=L,M)}function J(L,M,U){if(typeof M=="string"&&M!==""||typeof M=="number")return M=ws(""+M,L.mode,U),M.return=L,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case de:return U=Jc(M.type,M.key,M.props,null,L.mode,U),U.ref=Zo(L,null,M),U.return=L,U;case Le:return M=mo(M,L.mode,U),M.return=L,M;case _t:var ae=M._init;return J(L,ae(M._payload),U)}if(Jn(M)||Ne(M))return M=vo(M,L.mode,U,null),M.return=L,M;Ec(L,M)}return null}function q(L,M,U,ae){var _e=M!==null?M.key:null;if(typeof U=="string"&&U!==""||typeof U=="number")return _e!==null?null:w(L,M,""+U,ae);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case de:return U.key===_e?_(L,M,U,ae):null;case Le:return U.key===_e?B(L,M,U,ae):null;case _t:return _e=U._init,q(L,M,_e(U._payload),ae)}if(Jn(U)||Ne(U))return _e!==null?null:Z(L,M,U,ae,null);Ec(L,U)}return null}function ve(L,M,U,ae,_e){if(typeof ae=="string"&&ae!==""||typeof ae=="number")return L=L.get(U)||null,w(M,L,""+ae,_e);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case de:return L=L.get(ae.key===null?U:ae.key)||null,_(M,L,ae,_e);case Le:return L=L.get(ae.key===null?U:ae.key)||null,B(M,L,ae,_e);case _t:var be=ae._init;return ve(L,M,U,be(ae._payload),_e)}if(Jn(ae)||Ne(ae))return L=L.get(U)||null,Z(M,L,ae,_e,null);Ec(M,ae)}return null}function Ee(L,M,U,ae){for(var _e=null,be=null,Oe=M,Qe=M=0,Fn=null;Oe!==null&&Qe<U.length;Qe++){Oe.index>Qe?(Fn=Oe,Oe=null):Fn=Oe.sibling;var bt=q(L,Oe,U[Qe],ae);if(bt===null){Oe===null&&(Oe=Fn);break}n&&Oe&&bt.alternate===null&&r(L,Oe),M=p(bt,M,Qe),be===null?_e=bt:be.sibling=bt,be=bt,Oe=Fn}if(Qe===U.length)return l(L,Oe),Gt&&Gr(L,Qe),_e;if(Oe===null){for(;Qe<U.length;Qe++)Oe=J(L,U[Qe],ae),Oe!==null&&(M=p(Oe,M,Qe),be===null?_e=Oe:be.sibling=Oe,be=Oe);return Gt&&Gr(L,Qe),_e}for(Oe=u(L,Oe);Qe<U.length;Qe++)Fn=ve(Oe,L,Qe,U[Qe],ae),Fn!==null&&(n&&Fn.alternate!==null&&Oe.delete(Fn.key===null?Qe:Fn.key),M=p(Fn,M,Qe),be===null?_e=Fn:be.sibling=Fn,be=Fn);return n&&Oe.forEach(function(xl){return r(L,xl)}),Gt&&Gr(L,Qe),_e}function xe(L,M,U,ae){var _e=Ne(U);if(typeof _e!="function")throw Error(h(150));if(U=_e.call(U),U==null)throw Error(h(151));for(var be=_e=null,Oe=M,Qe=M=0,Fn=null,bt=U.next();Oe!==null&&!bt.done;Qe++,bt=U.next()){Oe.index>Qe?(Fn=Oe,Oe=null):Fn=Oe.sibling;var xl=q(L,Oe,bt.value,ae);if(xl===null){Oe===null&&(Oe=Fn);break}n&&Oe&&xl.alternate===null&&r(L,Oe),M=p(xl,M,Qe),be===null?_e=xl:be.sibling=xl,be=xl,Oe=Fn}if(bt.done)return l(L,Oe),Gt&&Gr(L,Qe),_e;if(Oe===null){for(;!bt.done;Qe++,bt=U.next())bt=J(L,bt.value,ae),bt!==null&&(M=p(bt,M,Qe),be===null?_e=bt:be.sibling=bt,be=bt);return Gt&&Gr(L,Qe),_e}for(Oe=u(L,Oe);!bt.done;Qe++,bt=U.next())bt=ve(Oe,L,Qe,bt.value,ae),bt!==null&&(n&&bt.alternate!==null&&Oe.delete(bt.key===null?Qe:bt.key),M=p(bt,M,Qe),be===null?_e=bt:be.sibling=bt,be=bt);return n&&Oe.forEach(function(yy){return r(L,yy)}),Gt&&Gr(L,Qe),_e}function yn(L,M,U,ae){if(typeof U=="object"&&U!==null&&U.type===we&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case de:e:{for(var _e=U.key,be=M;be!==null;){if(be.key===_e){if(_e=U.type,_e===we){if(be.tag===7){l(L,be.sibling),M=c(be,U.props.children),M.return=L,L=M;break e}}else if(be.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===_t&&Lh(_e)===be.type){l(L,be.sibling),M=c(be,U.props),M.ref=Zo(L,be,U),M.return=L,L=M;break e}l(L,be);break}else r(L,be);be=be.sibling}U.type===we?(M=vo(U.props.children,L.mode,ae,U.key),M.return=L,L=M):(ae=Jc(U.type,U.key,U.props,null,L.mode,ae),ae.ref=Zo(L,M,U),ae.return=L,L=ae)}return S(L);case Le:e:{for(be=U.key;M!==null;){if(M.key===be)if(M.tag===4&&M.stateNode.containerInfo===U.containerInfo&&M.stateNode.implementation===U.implementation){l(L,M.sibling),M=c(M,U.children||[]),M.return=L,L=M;break e}else{l(L,M);break}else r(L,M);M=M.sibling}M=mo(U,L.mode,ae),M.return=L,L=M}return S(L);case _t:return be=U._init,yn(L,M,be(U._payload),ae)}if(Jn(U))return Ee(L,M,U,ae);if(Ne(U))return xe(L,M,U,ae);Ec(L,U)}return typeof U=="string"&&U!==""||typeof U=="number"?(U=""+U,M!==null&&M.tag===6?(l(L,M.sibling),M=c(M,U),M.return=L,L=M):(l(L,M),M=ws(U,L.mode,ae),M.return=L,L=M),S(L)):l(L,M)}return yn}var Jo=Ah(!0),Nh=Ah(!1),ls={},Vi=et(ls),os=et(ls),eu=et(ls);function ql(n){if(n===ls)throw Error(h(174));return n}function bd(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)}kt(Vi),Ot(Vi,r)}function yl(){kt(Vi),kt(os),kt(eu)}function Be(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&&(kt(Vi),kt(os))}var Pe=et(0);function ln(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 bc(){for(var n=0;n<pi.length;n++)pi[n]._workInProgressVersionPrimary=null;pi.length=0}var Rc=$e.ReactCurrentDispatcher,Rd=$e.ReactCurrentBatchConfig,Zl=0,Qt=null,W=null,pt=null,Ie=!1,ea=!1,Kr=0,Jl=0;function Xt(){throw Error(h(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,c,p){if(Zl=p,Qt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Rc.current=n===null||n.memoizedState===null?Jm:ey,n=l(u,c),ea){p=0;do{if(ea=!1,Kr=0,25<=p)throw Error(h(301));p+=1,pt=W=null,r.updateQueue=null,Rc.current=xd,n=l(u,c)}while(ea)}if(Rc.current=Vc,r=W!==null&&W.next!==null,Zl=0,pt=W=Qt=null,Ie=!1,r)throw Error(h(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(h(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(h(311));l.lastRenderedReducer=n;var u=W,c=u.baseQueue,p=l.pending;if(p!==null){if(c!==null){var S=c.next;c.next=p.next,p.next=S}u.baseQueue=c=p,l.pending=null}if(c!==null){p=c.next,u=u.baseState;var w=S=null,_=null,B=p;do{var Z=B.lane;if((Zl&Z)===Z)_!==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:Z,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null};_===null?(w=_=J,S=u):_=_.next=J,Qt.lanes|=Z,ka|=Z}B=B.next}while(B!==null&&B!==p);_===null?S=u:_.next=w,oi(u,r.memoizedState)||(Cn=!0),r.memoizedState=u,r.baseState=S,r.baseQueue=_,l.lastRenderedState=u}if(n=l.interleaved,n!==null){c=n;do p=c.lane,Qt.lanes|=p,ka|=p,c=c.next;while(c!==n)}else c===null&&(l.lanes=0);return[r.memoizedState,l.dispatch]}function ss(n){var r=Ur(),l=r.queue;if(l===null)throw Error(h(311));l.lastRenderedReducer=n;var u=l.dispatch,c=l.pending,p=r.memoizedState;if(c!==null){l.pending=null;var S=c=c.next;do p=n(p,S.action),S=S.next;while(S!==c);oi(p,r.memoizedState)||(Cn=!0),r.memoizedState=p,r.baseQueue===null&&(r.baseState=p),l.lastRenderedState=p}return[p,u]}function wc(){}function xc(n,r){var l=Qt,u=Ur(),c=r(),p=!oi(u.memoizedState,c);if(p&&(u.memoizedState=c,Cn=!0),u=u.queue,cs(_c.bind(null,l,u,n),[n]),u.getSnapshot!==r||p||pt!==null&&pt.memoizedState.tag&1){if(l.flags|=2048,ro(9,Dc.bind(null,l,u,c,r),void 0,null),on===null)throw Error(h(349));Zl&30||Tc(l,r,c)}return c}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=wa(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 c=hi();Qt.flags|=n,c.memoizedState=ro(1|r,l,void 0,u===void 0?null:u)}function Ta(n,r,l,u){var c=Ur();u=u===void 0?null:u;var p=void 0;if(W!==null){var S=W.memoizedState;if(p=S.destroy,u!==null&&eo(u,S.deps)){c.memoizedState=ro(r,l,p,u);return}}Qt.flags|=n,c.memoizedState=ro(1|r,l,p,u)}function Ac(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 wd(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,wd.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=Rt;Rt=l!==0&&4>l?l:4,n(!0);var u=Rd.transition;Rd.transition={};try{n(!1),r()}finally{Rt=l,Rd.transition=u}}function jt(){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 c=ir();ar(l,n,u,c),zh(l,r,u)}}function Hc(n,r,l){var u=En(n),c={lane:u,action:l,hasEagerState:!1,eagerState:null,next:null};if(ru(n))fs(r,c);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=r.lastRenderedReducer,p!==null))try{var S=r.lastRenderedState,w=p(S,l);if(c.hasEagerState=!0,c.eagerState=w,oi(w,S)){var _=r.interleaved;_===null?(c.next=c,gd(r)):(c.next=_.next,_.next=c),r.interleaved=c;return}}catch{}finally{}l=Dh(n,r,c,u),l!==null&&(c=ir(),ar(l,n,u,c),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:Ac,useImperativeHandle:function(n,r,l){return l=l!=null?l.concat([n]):null,io(4194308,4,wd.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,c=hi();if(Gt){if(l===void 0)throw Error(h(407));l=l()}else{if(l=r(),on===null)throw Error(h(349));Zl&30||Tc(u,r,l)}c.memoizedState=l;var p={value:l,getSnapshot:r};return c.queue=p,Ac(_c.bind(null,u,p,n),[n]),u.flags|=2048,ro(9,Dc.bind(null,u,p,l,r),void 0,null),l},useId:function(){var n=hi(),r=on.identifierPrefix;if(Gt){var l=Ra,u=jn;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:Lc,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:wc,useSyncExternalStore:xc,useId:jt,unstable_isNewReconciler:!1},xd={readContext:mn,useCallback:nu,useContext:mn,useEffect:cs,useImperativeHandle:tu,useInsertionEffect:Nc,useLayoutEffect:zc,useMemo:Sl,useReducer:ss,useRef:Lc,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:wc,useSyncExternalStore:xc,useId:jt,unstable_isNewReconciler:!1};function iu(n,r){try{var l="",u=r;do l+=Ct(u),u=u.return;while(u);var c=l}catch(p){c=`
|
|
88
88
|
Error generating stack: `+p.message+`
|
|
89
|
-
`+p.stack}return{value:n,source:r,stack:c,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 c=r.value;l.payload=function(){return u(c)},l.callback=function(){Bc(n,r)}}var p=n.stateNode;return p!==null&&typeof p.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 c=new Set;u.set(r,c)}else c=u.get(r),c===void 0&&(c=new Set,u.set(r,c));c.has(l)||(c.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,c){return n.mode&1?(n.flags|=65536,n.lanes=c,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=Ie.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,c){l=l.render;var p=r.ref;return ue(r,c),u=gl(n,r,l,u,p,c),l=to(),n!==null&&!Cn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,$n(n,r,c)):(Gt&&l&&dc(r),r.flags|=1,xn(n,r,u,c),r.child)}function jc(n,r,l,u,c){if(n===null){var p=l.type;return typeof p=="function"&&!Yd(p)&&p.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=p,Hr(n,r,p,u,c)):(n=Jc(l.type,null,u,r,r.mode,c),n.ref=r.ref,n.return=r,r.child=n)}if(p=n.child,!(n.lanes&c)){var S=p.memoizedProps;if(l=l.compare,l=l!==null?l:Qu,l(S,u)&&n.ref===r.ref)return $n(n,r,c)}return r.flags|=1,n=wl(p,u),n.ref=r.ref,n.return=r,r.child=n}function Hr(n,r,l,u,c){if(n!==null){var p=n.memoizedProps;if(Qu(p,u)&&n.ref===r.ref)if(Cn=!1,r.pendingProps=u=p,(n.lanes&c)!==0)n.flags&131072&&(Cn=!0);else return r.lanes=n.lanes,$n(n,r,c)}return au(n,r,l,u,c)}function ao(n,r,l){var u=r.pendingProps,c=u.children,p=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=p!==null?p.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=p!==null?p.baseLanes:l,Ot(fu,qr),qr|=u}else p!==null?(u=p.baseLanes|l,r.memoizedState=null):u=l,Ot(fu,qr),qr|=u;return xn(n,r,c,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,c){var p=Jt(l)?Or:Ge.current;return p=si(r,p),ue(r,c),l=gl(n,r,l,u,p,c),u=to(),n!==null&&!Cn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,$n(n,r,c)):(Gt&&u&&dc(r),r.flags|=1,xn(n,r,l,c),r.child)}function _d(n,r,l,u,c){if(Jt(l)){var p=!0;fc(r)}else p=!1;if(ue(r,c),r.stateNode===null)tr(n,r),Mh(r,l,u),Cc(r,l,u,c),u=!0;else if(n===null){var S=r.stateNode,w=r.memoizedProps;S.props=w;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 Z=l.getDerivedStateFromProps,ee=typeof Z=="function"||typeof S.getSnapshotBeforeUpdate=="function";ee||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(w!==u||_!==B)&&Oh(r,S,u,B),hl=!1;var q=r.memoizedState;S.state=q,ml(r,u,S,c),_=r.memoizedState,w!==u||q!==_||fn.current||hl?(typeof Z=="function"&&(Ed(r,l,Z,u),_=r.memoizedState),(w=hl||kh(r,l,w,u,q,_,B))?(ee||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=w):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{S=r.stateNode,wn(n,r),w=r.memoizedProps,B=r.type===r.elementType?w:Xr(r.type,w),S.props=B,ee=r.pendingProps,q=S.context,_=l.contextType,typeof _=="object"&&_!==null?_=mn(_):(_=Jt(l)?Or:Ge.current,_=si(r,_));var ve=l.getDerivedStateFromProps;(Z=typeof ve=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(w!==ee||q!==_)&&Oh(r,S,u,_),hl=!1,q=r.memoizedState,S.state=q,ml(r,u,S,c);var Ee=r.memoizedState;w!==ee||q!==Ee||fn.current||hl?(typeof ve=="function"&&(Ed(r,l,ve,u),Ee=r.memoizedState),(B=hl||kh(r,l,B,u,q,Ee,_)||!1)?(Z||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"||w===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&q===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"||w===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&q===n.memoizedState||(r.flags|=1024),u=!1)}return Hh(n,r,l,u,p,c)}function Hh(n,r,l,u,c,p){et(n,r);var S=(r.flags&128)!==0;if(!u&&!S)return c&&Rh(r,l,!1),$n(n,r,p);u=r.stateNode,ny.current=r;var w=S&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&S?(r.child=Jo(r,n.child,null,p),r.child=Jo(r,null,w,p)):xn(n,r,w,p),r.memoizedState=u.state,c&&Rh(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),bd(n,r.containerInfo)}function Pc(n,r,l,u,c){return rn(),vd(c),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,c=Pe.current,p=!1,S=(r.flags&128)!==0,w;if((w=S)||(w=n!==null&&n.memoizedState===null?!1:(c&2)!==0),w?(p=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),Ot(Pe,c&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,p?(u=r.mode,p=r.child,S={mode:"hidden",children:S},!(u&1)&&p!==null?(p.childLanes=0,p.pendingProps=S):p=Rs(S,u,0,null),n=vo(n,u,l,null),p.return=r,n.return=r,p.sibling=n,r.child=p,r.child.memoizedState=kd(l),r.memoizedState=lo,n):Od(r,S));if(c=n.memoizedState,c!==null&&(w=c.dehydrated,w!==null))return ry(n,r,S,u,w,c,l);if(p){p=u.fallback,S=r.mode,c=n.child,w=c.sibling;var _={mode:"hidden",children:u.children};return!(S&1)&&r.child!==c?(u=r.child,u.childLanes=0,u.pendingProps=_,r.deletions=null):(u=wl(c,_),u.subtreeFlags=c.subtreeFlags&14680064),w!==null?p=wl(w,p):(p=vo(p,S,l,null),p.flags|=2),p.return=r,u.return=r,u.sibling=p,r.child=u,u=p,p=r.child,S=n.child.memoizedState,S=S===null?kd(l):{baseLanes:S.baseLanes|l,cachePool:null,transitions:S.transitions},p.memoizedState=S,p.childLanes=n.childLanes&~l,r.memoizedState=lo,u}return p=n.child,n=p.sibling,u=wl(p,{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 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,c,p,S){if(l)return r.flags&256?(r.flags&=-257,u=ds(Error(h(422))),lu(n,r,S,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(p=u.fallback,c=r.mode,u=Rs({mode:"visible",children:u.children},c,0,null),p=vo(p,c,S,null),p.flags|=2,u.return=r,p.return=r,u.sibling=p,r.child=u,r.mode&1&&Jo(r,n.child,null,S),r.child.memoizedState=kd(S),r.memoizedState=lo,p);if(!(r.mode&1))return lu(n,r,S,null);if(c.data==="$!"){if(u=c.nextSibling&&c.nextSibling.dataset,u)var w=u.dgst;return u=w,p=Error(h(419)),u=ds(p,u,void 0),lu(n,r,S,u)}if(w=(S&n.childLanes)!==0,Cn||w){if(u=ln,u!==null){switch(S&-S){case 4:c=2;break;case 16:c=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:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(u.suspendedLanes|S)?0:c,c!==0&&c!==p.retryLane&&(p.retryLane=c,wa(n,c),ar(u,n,c,-1))}return $d(),u=ds(Error(h(421))),lu(n,r,S,u)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=sy.bind(null,n),c._reactRetry=r,null):(n=p.treeContext,zr=Hi(c.nextSibling),Qr=r,Gt=!0,di=null,n!==null&&(Nr[er++]=jn,Nr[er++]=Ra,Nr[er++]=fi,jn=n.id,Ra=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,c){var p=n.memoizedState;p===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:c}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=l,p.tailMode=c)}function Ad(n,r,l){var u=r.pendingProps,c=u.revealOrder,p=u.tail;if(xn(n,r,u.children,l),u=Pe.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(Ot(Pe,u),!(r.mode&1))r.memoizedState=null;else switch(c){case"forwards":for(l=r.child,c=null;l!==null;)n=l.alternate,n!==null&&an(n)===null&&(c=l),l=l.sibling;l=c,l===null?(c=r.child,r.child=null):(c=l.sibling,l.sibling=null),$c(r,!1,c,l,p);break;case"backwards":for(l=null,c=r.child,r.child=null;c!==null;){if(n=c.alternate,n!==null&&an(n)===null){r.child=c;break}n=c.sibling,c.sibling=l,l=c,c=n}$c(r,!0,l,null,p);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(h(153));if(r.child!==null){for(n=r.child,l=wl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=wl(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:bd(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,c=r.memoizedProps.value;Ot(Ji,u._currentValue),u._currentValue=c;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(Ot(Pe,Pe.current&1),r.flags|=128,null):l&r.child.childLanes?Md(n,r,l):(Ot(Pe,Pe.current&1),n=$n(n,r,l),n!==null?n.sibling:null);Ot(Pe,Pe.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(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ot(Pe,Pe.current),u)break;return null;case 22:case 23:return r.lanes=0,ao(n,r,l)}return $n(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 c=n.memoizedProps;if(c!==u){n=r.stateNode,ql(Vi.current);var p=null;switch(l){case"input":c=Zn(n,c),u=Zn(n,u),p=[];break;case"select":c=D({},c,{value:void 0}),u=D({},u,{value:void 0}),p=[];break;case"textarea":c=Wi(n,c),u=Wi(n,u),p=[];break;default:typeof c.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=cc)}Rn(l,u);var S;l=null;for(B in c)if(!u.hasOwnProperty(B)&&c.hasOwnProperty(B)&&c[B]!=null)if(B==="style"){var w=c[B];for(S in w)w.hasOwnProperty(S)&&(l||(l={}),l[S]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(R.hasOwnProperty(B)?p||(p=[]):(p=p||[]).push(B,null));for(B in u){var _=u[B];if(w=c!=null?c[B]:void 0,u.hasOwnProperty(B)&&_!==w&&(_!=null||w!=null))if(B==="style")if(w){for(S in w)!w.hasOwnProperty(S)||_&&_.hasOwnProperty(S)||(l||(l={}),l[S]="");for(S in _)_.hasOwnProperty(S)&&w[S]!==_[S]&&(l||(l={}),l[S]=_[S])}else l||(p||(p=[]),p.push(B,l)),l=_;else B==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,w=w?w.__html:void 0,_!=null&&w!==_&&(p=p||[]).push(B,_)):B==="children"?typeof _!="string"&&typeof _!="number"||(p=p||[]).push(B,""+_):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(R.hasOwnProperty(B)?(_!=null&&B==="onScroll"&&Bt("scroll",n),p||w===_||(p=[])):(p=p||[]).push(B,_))}l&&(p=p||[]).push("style",l);var B=p;(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 c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags&14680064,u|=c.flags&14680064,c.return=n,c=c.sibling;else for(c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=n,c=c.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),bc(),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&&(bs(di),di=null))),oo(n,r),nr(r),null;case 5:at(r);var c=ql(eu.current);if(l=r.type,n!==null&&r.stateNode!=null)vi(n,r,l,u,c),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(h(166));return nr(r),null}if(n=ql(Vi.current),vc(r)){u=r.stateNode,l=r.type;var p=r.memoizedProps;switch(u[qi]=r,u[Ql]=p,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(c=0;c<Zu.length;c++)Bt(Zu[c],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,p),Bt("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!p.multiple},Bt("invalid",u);break;case"textarea":wr(u,p),Bt("invalid",u)}Rn(l,p),c=null;for(var S in p)if(p.hasOwnProperty(S)){var w=p[S];S==="children"?typeof w=="string"?u.textContent!==w&&(p.suppressHydrationWarning!==!0&&sc(u.textContent,w,n),c=["children",w]):typeof w=="number"&&u.textContent!==""+w&&(p.suppressHydrationWarning!==!0&&sc(u.textContent,w,n),c=["children",""+w]):R.hasOwnProperty(S)&&w!=null&&S==="onScroll"&&Bt("scroll",u)}switch(l){case"input":Cr(u),Di(u,p,!0);break;case"textarea":Cr(u),xr(u);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(u.onclick=cc)}u=c,r.updateQueue=u,u!==null&&(r.flags|=4)}else{S=c.nodeType===9?c:c.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),c=u;break;case"iframe":case"object":case"embed":Bt("load",n),c=u;break;case"video":case"audio":for(c=0;c<Zu.length;c++)Bt(Zu[c],n);c=u;break;case"source":Bt("error",n),c=u;break;case"img":case"image":case"link":Bt("error",n),Bt("load",n),c=u;break;case"details":Bt("toggle",n),c=u;break;case"input":Er(n,u),c=Zn(n,u),Bt("invalid",n);break;case"option":c=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},c=D({},u,{value:void 0}),Bt("invalid",n);break;case"textarea":wr(n,u),c=Wi(n,u),Bt("invalid",n);break;default:c=u}Rn(l,c),w=c;for(p in w)if(w.hasOwnProperty(p)){var _=w[p];p==="style"?At(n,_):p==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&Ul(n,_)):p==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&Yi(n,_):typeof _=="number"&&Yi(n,""+_):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(R.hasOwnProperty(p)?_!=null&&p==="onScroll"&&Bt("scroll",n):_!=null&&_e(n,p,_,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,p=u.value,p!=null?Rr(n,!!u.multiple,p,!1):u.defaultValue!=null&&Rr(n,!!u.multiple,u.defaultValue,!0);break;default:typeof c.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(h(166));if(l=ql(eu.current),ql(Vi.current),vc(r)){if(u=r.stateNode,l=r.memoizedProps,u[qi]=r,(p=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)}p&&(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(Pe),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,p=!1;else if(p=vc(r),u!==null&&u.dehydrated!==null){if(n===null){if(!p)throw Error(h(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(h(317));p[qi]=r}else rn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;nr(r),p=!1}else di!==null&&(bs(di),di=null),p=!0;if(!p)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||Pe.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&&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(Pe),p=r.memoizedState,p===null)return nr(r),null;if(u=(r.flags&128)!==0,S=p.rendering,S===null)if(u)vs(p,!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(p,!1),u=S.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=l,l=r.child;l!==null;)p=l,n=u,p.flags&=14680066,S=p.alternate,S===null?(p.childLanes=0,p.lanes=n,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=S.childLanes,p.lanes=S.lanes,p.child=S.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=S.memoizedProps,p.memoizedState=S.memoizedState,p.updateQueue=S.updateQueue,p.type=S.type,n=S.dependencies,p.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Ot(Pe,Pe.current&1|2),r.child}n=n.sibling}p.tail!==null&&Zt()>pu&&(r.flags|=128,u=!0,vs(p,!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(p,!0),p.tail===null&&p.tailMode==="hidden"&&!S.alternate&&!Gt)return nr(r),null}else 2*Zt()-p.renderingStartTime>pu&&l!==1073741824&&(r.flags|=128,u=!0,vs(p,!1),r.lanes=4194304);p.isBackwards?(S.sibling=r.child,r.child=S):(l=p.last,l!==null?l.sibling=S:r.child=S,p.last=S)}return p.tail!==null?(r=p.tail,p.rendering=r,p.tail=r.sibling,p.renderingStartTime=Zt(),r.sibling=null,l=Pe.current,Ot(Pe,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(h(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),bc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return at(r),null;case 13:if(_t(Pe),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(h(340));rn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return _t(Pe),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 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 jh=!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 c=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var S=0,w=-1,_=-1,B=0,Z=0,ee=n,q=null;t:for(;;){for(var ve;ee!==l||c!==0&&ee.nodeType!==3||(w=S+c),ee!==p||u!==0&&ee.nodeType!==3||(_=S+u),ee.nodeType===3&&(S+=ee.nodeValue.length),(ve=ee.firstChild)!==null;)q=ee,ee=ve;for(;;){if(ee===n)break t;if(q===l&&++B===c&&(w=S),q===p&&++Z===u&&(_=S),(ve=ee.nextSibling)!==null)break;ee=q,q=ee.parentNode}ee=ve}l=w===-1||_===-1?null:{start:w,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 we=Ee.memoizedProps,yn=Ee.memoizedState,L=r.stateNode,M=L.getSnapshotBeforeUpdate(r.elementType===r.type?we:Xr(r.type,we),yn);L.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var U=r.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(h(163))}}catch(ae){pn(r,r.return,ae)}if(n=r.sibling,n!==null){n.return=r.return,Ce=n;break}Ce=r.return}return Ee=jh,jh=!1,Ee}function gs(n,r,l){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var c=u=u.next;do{if((c.tag&n)===n){var p=c.destroy;c.destroy=void 0,p!==void 0&&ys(r,l,p)}c=c.next}while(c!==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 $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 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,c=zn;en=null,mi(n,r,l),en=u,zn=c,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,c=zn,en=l.stateNode.containerInfo,zn=!0,mi(n,r,l),en=u,zn=c;break;case 0:case 11:case 14:case 15:if(!Dn&&(u=l.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){c=u=u.next;do{var p=c,S=p.destroy;p=p.tag,S!==void 0&&(p&2||p&4)&&ys(l,r,S),c=c.next}while(c!==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(w){pn(l,r,w)}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 c=cy.bind(null,n,u);l.has(u)||(l.add(u),u.then(c,c))})}}function Bi(n,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var c=l[u];try{var p=n,S=r,w=S;e:for(;w!==null;){switch(w.tag){case 5:en=w.stateNode,zn=!1;break e;case 3:en=w.stateNode.containerInfo,zn=!0;break e;case 4:en=w.stateNode.containerInfo,zn=!0;break e}w=w.return}if(en===null)throw Error(h(160));su(p,S,c),en=null,zn=!1;var _=c.alternate;_!==null&&(_.return=null),c.return=null}catch(B){pn(c,r,B)}}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(Bi(r,n),na(n),u&4){try{gs(3,n,n.return),Ss(3,n)}catch(we){pn(n,n.return,we)}try{gs(5,n,n.return)}catch(we){pn(n,n.return,we)}}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 c=n.stateNode;try{Yi(c,"")}catch(we){pn(n,n.return,we)}}if(u&4&&(c=n.stateNode,c!=null)){var p=n.memoizedProps,S=l!==null?l.memoizedProps:p,w=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{w==="input"&&p.type==="radio"&&p.name!=null&&br(c,p),vn(w,S);var B=vn(w,p);for(S=0;S<_.length;S+=2){var Z=_[S],ee=_[S+1];Z==="style"?At(c,ee):Z==="dangerouslySetInnerHTML"?Ul(c,ee):Z==="children"?Yi(c,ee):_e(c,Z,ee,B)}switch(w){case"input":Mn(c,p);break;case"textarea":_i(c,p);break;case"select":var q=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!p.multiple;var ve=p.value;ve!=null?Rr(c,!!p.multiple,ve,!1):q!==!!p.multiple&&(p.defaultValue!=null?Rr(c,!!p.multiple,p.defaultValue,!0):Rr(c,!!p.multiple,p.multiple?[]:"",!1))}c[Ql]=p}catch(we){pn(n,n.return,we)}}break;case 6:if(Bi(r,n),na(n),u&4){if(n.stateNode===null)throw Error(h(162));c=n.stateNode,p=n.memoizedProps;try{c.nodeValue=p}catch(we){pn(n,n.return,we)}}break;case 3:if(Bi(r,n),na(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{nl(r.containerInfo)}catch(we){pn(n,n.return,we)}break;case 4:Bi(r,n),na(n);break;case 13:Bi(r,n),na(n),c=n.child,c.flags&8192&&(p=c.memoizedState!==null,c.stateNode.isHidden=p,!p||c.alternate!==null&&c.alternate.memoizedState!==null||(Vd=Zt())),u&4&&_a(n);break;case 22:if(Z=l!==null&&l.memoizedState!==null,n.mode&1?(Dn=(B=Dn)||Z,Bi(r,n),Dn=B):Bi(r,n),na(n),u&8192){if(B=n.memoizedState!==null,(n.stateNode.isHidden=B)&&!Z&&n.mode&1)for(Ce=n,Z=n.child;Z!==null;){for(ee=Ce=Z;Ce!==null;){switch(q=Ce,ve=q.child,q.tag){case 0:case 11:case 14:case 15:gs(4,q,q.return);break;case 1:ou(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(we){pn(u,l,we)}}break;case 5:ou(q,q.return);break;case 22:if(q.memoizedState!==null){Fd(ee);continue}}ve!==null?(ve.return=q,Ce=ve):Fd(ee)}Z=Z.sibling}e:for(Z=null,ee=n;;){if(ee.tag===5){if(Z===null){Z=ee;try{c=ee.stateNode,B?(p=c.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(w=ee.stateNode,_=ee.memoizedProps.style,S=_!=null&&_.hasOwnProperty("display")?_.display:null,w.style.display=nt("display",S))}catch(we){pn(n,n.return,we)}}}else if(ee.tag===6){if(Z===null)try{ee.stateNode.nodeValue=B?"":ee.memoizedProps}catch(we){pn(n,n.return,we)}}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: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($h(l)){var u=l;break e}l=l.return}throw Error(h(160))}switch(u.tag){case 5:var c=u.stateNode;u.flags&32&&(Yi(c,""),u.flags&=-33);var p=Ic(n);ta(n,p,c);break;case 3:case 4:var S=u.stateNode.containerInfo,w=Ic(n);uu(n,w,S);break;default:throw Error(h(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 c=Ce,p=c.child;if(c.tag===22&&u){var S=c.memoizedState!==null||ms;if(!S){var w=c.alternate,_=w!==null&&w.memoizedState!==null||Dn;w=ms;var B=Dn;if(ms=S,(Dn=_)&&!B)for(Ce=c;Ce!==null;)S=Ce,_=S.child,S.tag===22&&S.memoizedState!==null?Gh(c):_!==null?(_.return=S,Ce=_):Gh(c);for(;p!==null;)Ce=p,cu(p),p=p.sibling;Ce=c,ms=w,Dn=B}Yh(n)}else c.subtreeFlags&8772&&p!==null?(p.return=c,Ce=p):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 c=r.elementType===r.type?l.memoizedProps:Xr(r.type,l.memoizedProps);u.componentDidUpdate(c,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var p=r.updateQueue;p!==null&&Kl(r,p,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 w=r.stateNode;if(l===null&&r.flags&4){l=w;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 Z=B.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(h(163))}Dn||r.flags&512&&zd(r)}catch(q){pn(r,r.return,q)}}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 c=r.return;try{u.componentDidMount()}catch(_){pn(r,c,_)}}var p=r.return;try{zd(r)}catch(_){pn(r,p,_)}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 w=r.sibling;if(w!==null){w.return=r.return,Ce=w;break}Ce=r.return}}var Wc=Math.ceil,Cs=Ie.ReactCurrentDispatcher,Hd=Ie.ReactCurrentOwner,rr=Ie.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,bl=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=Rt,n!==0||(n=window.event,n=n===void 0?16:$u(n.type)),n):1}function ar(n,r,l,u){if(50<hu)throw hu=0,Xc=null,Error(h(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,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(){!(ut&6)&&Lr()}),l=null;else{switch(Fo(u)){case 1:l=Li;break;case 4:l=rt;break;case 16:l=Qi;break;case 536870912:l=Ao;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(h(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 c=ut;ut|=2;var p=Kc();(ln!==n||Un!==r)&&(Ma=null,pu=Zt()+500,po(n,r));do try{ly();break}catch(w){Xh(n,w)}while(1);yd(),Cs.current=p,ut=c,dn!==null?r=0:(ln=null,Un=0,r=_n)}if(r!==0){if(r===2&&(c=Ja(n),c!==0&&(u=c,r=Bd(n,c))),r===1)throw l=Es,po(n,0),yi(n,u),lr(n,Zt()),l;if(r===6)yi(n,u);else{if(c=n.current.alternate,!(u&30)&&!jd(c)&&(r=qc(n,u),r===2&&(p=Ja(n),p!==0&&(u=p,r=Bd(n,p))),r===1))throw l=Es,po(n,0),yi(n,u),lr(n,Zt()),l;switch(n.finishedWork=c,n.finishedLanes=u,r){case 0:case 1:throw Error(h(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(c=n.suspendedLanes,(c&u)!==u){ir(),n.pingedLanes|=n.suspendedLanes&c;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,c=-1;0<u;){var S=31-or(u);p=1<<S,S=r[S],S>c&&(c=S),u&=~p}if(u=c,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(h(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&&bs(r)),n}function bs(n){cr===null?cr=n:cr.push.apply(cr,n)}function jd(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 c=l[u],p=c.getSnapshot;c=c.value;try{if(!oi(p(),c))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(h(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(h(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,An&&Lr())}}function Rl(n){bl!==null&&bl.tag===0&&!(ut&6)&&yu();var r=ut;ut|=1;var l=rr.transition,u=Rt;try{if(rr.transition=null,Rt=1,n)return n()}finally{Rt=u,rr.transition=l,ut=r,!(ut&6)&&Lr()}}function Pd(){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,bh(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),bc();break;case 5:at(u);break;case 4:yl();break;case 13:_t(Pe);break;case 19:_t(Pe);break;case 10:pl(u.type._context);break;case 22:case 23:Pd()}l=l.return}if(ln=n,dn=n=wl(n.current,null),Un=qr=r,_n=0,Es=null,du=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 c=u.next,p=l.pending;if(p!==null){var S=p.next;p.next=c,u.next=S}l.pending=u}Pn=null}return n}function Xh(n,r){do{var l=dn;try{if(yd(),Rc.current=Vc,$e){for(var u=Qt.memoizedState;u!==null;){var c=u.queue;c!==null&&(c.pending=null),u=u.next}$e=!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 p=n,S=l.return,w=l,_=r;if(r=Un,w.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var B=_,Z=w,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 ve=Td(S);if(ve!==null){ve.flags&=-257,Dd(ve,S,w,p,r),ve.mode&1&&Fh(p,B,r),r=ve,_=B;var Ee=r.updateQueue;if(Ee===null){var we=new Set;we.add(_),r.updateQueue=we}else Ee.add(_);break e}else{if(!(r&1)){Fh(p,B,r),$d();break e}_=Error(h(426))}}else if(Gt&&w.mode&1){var yn=Td(S);if(yn!==null){!(yn.flags&65536)&&(yn.flags|=256),Dd(yn,S,w,p,r),vd(iu(_,w));break e}}p=_=iu(_,w),_n!==4&&(_n=2),uo===null?uo=[p]:uo.push(p),p=S;do{switch(p.tag){case 3:p.flags|=65536,r&=-r,p.lanes|=r;var L=Uh(p,_,r);Cd(p,L);break e;case 1:w=_;var M=p.type,U=p.stateNode;if(!(p.flags&128)&&(typeof M.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(ra===null||!ra.has(U)))){p.flags|=65536,r&=-r,p.lanes|=r;var ae=ps(p,w,r);Cd(p,ae);break e}}p=p.return}while(p!==null)}Id(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 $d(){(_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(c){Xh(n,c)}while(1);if(yd(),ut=l,Cs.current=u,dn!==null)throw Error(h(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?Id(n):dn=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,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=Rt,c=rr.transition;try{rr.transition=null,Rt=1,oy(n,r,l,u)}finally{rr.transition=c,Rt=u}return null}function oy(n,r,l,u){do yu();while(bl!==null);if(ut&6)throw Error(h(327));l=n.finishedWork;var c=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(h(177));n.callbackNode=null,n.callbackPriority=0;var p=l.lanes|l.childLanes;if(Bf(n,p),n===ln&&(dn=ln=null,Un=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||El||(El=!0,Wd(Qi,function(){return yu(),null})),p=(l.flags&15990)!==0,l.subtreeFlags&15990||p){p=rr.transition,rr.transition=null;var S=Rt;Rt=1;var w=ut;ut|=4,Hd.current=null,Ph(n,l),Ih(l,n),ac(Yl),li=!!ad,Yl=ad=null,n.current=l,Wh(l),Hf(),ut=w,Rt=S,rr.transition=p}else n.current=l;if(El&&(El=!1,bl=n,Qc=c),p=n.pendingLanes,p===0&&(ra=null),Bu(l.stateNode),lr(n,Zt()),r!==null)for(u=n.onRecoverableError,l=0;l<r.length;l++)c=r[l],u(c.value,{componentStack:c.stack,digest:c.digest});if(Gc)throw Gc=!1,n=so,so=null,n;return Qc&1&&n.tag!==0&&yu(),p=n.pendingLanes,p&1?n===Xc?hu++:(hu=0,Xc=n):hu=0,Lr(),null}function yu(){if(bl!==null){var n=Fo(Qc),r=rr.transition,l=Rt;try{if(rr.transition=null,Rt=16>n?16:n,bl===null)var u=!1;else{if(n=bl,bl=null,Qc=0,ut&6)throw Error(h(331));var c=ut;for(ut|=4,Ce=n.current;Ce!==null;){var p=Ce,S=p.child;if(Ce.flags&16){var w=p.deletions;if(w!==null){for(var _=0;_<w.length;_++){var B=w[_];for(Ce=B;Ce!==null;){var Z=Ce;switch(Z.tag){case 0:case 11:case 15:gs(8,Z,p)}var ee=Z.child;if(ee!==null)ee.return=Z,Ce=ee;else for(;Ce!==null;){Z=Ce;var q=Z.sibling,ve=Z.return;if(Ud(Z),Z===B){Ce=null;break}if(q!==null){q.return=ve,Ce=q;break}Ce=ve}}}var Ee=p.alternate;if(Ee!==null){var we=Ee.child;if(we!==null){Ee.child=null;do{var yn=we.sibling;we.sibling=null,we=yn}while(we!==null)}}Ce=p}}if(p.subtreeFlags&2064&&S!==null)S.return=p,Ce=S;else e:for(;Ce!==null;){if(p=Ce,p.flags&2048)switch(p.tag){case 0:case 11:case 15:gs(9,p,p.return)}var L=p.sibling;if(L!==null){L.return=p.return,Ce=L;break e}Ce=p.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(w=Ce,w.flags&2048)try{switch(w.tag){case 0:case 11:case 15:Ss(9,w)}}catch(ke){pn(w,w.return,ke)}if(w===S){Ce=null;break e}var ae=w.sibling;if(ae!==null){ae.return=w.return,Ce=ae;break e}Ce=w.return}}if(ut=c,Lr(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(Xa,n)}catch{}u=!0}return u}finally{Rt=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=wa(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,c=n.memoizedState;c!==null&&(l=c.retryLane);break;case 19:u=n.stateNode;break;default:throw Error(h(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 c=si(r,Ge.current);ue(r,l),c=gl(null,r,u,n,c,l);var p=to();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Jt(u)?(p=!0,fc(r)):p=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Sd(r),c.updater=Sc,r.stateNode=c,c._reactInternals=r,Cc(r,u,n,l),r=Hh(null,r,u,!0,p,l)):(r.tag=0,Gt&&p&&dc(r),xn(null,r,c,l),r=r.child),r;case 16:u=r.elementType;e:{switch(tr(n,r),n=r.pendingProps,c=u._init,u=c(u._payload),r.type=u,c=r.tag=dy(u),n=Xr(u,n),c){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=jc(null,r,u,Xr(u.type,n),l);break e}throw Error(h(306,u,""))}return r;case 0:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),au(n,r,u,c,l);case 1:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),_d(n,r,u,c,l);case 3:e:{if(Vh(r),n===null)throw Error(h(387));u=r.pendingProps,p=r.memoizedState,c=p.element,wn(n,r),ml(r,u,null,l);var S=r.memoizedState;if(u=S.element,p.isDehydrated)if(p={element:u,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){c=iu(Error(h(423)),r),r=Pc(n,r,u,l,c);break e}else if(u!==c){c=iu(Error(h(424)),r),r=Pc(n,r,u,l,c);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===c){r=$n(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,c=r.pendingProps,p=n!==null?n.memoizedProps:null,S=c.children,ts(u,c)?S=null:p!==null&&ts(u,p)&&(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 bd(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,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),Cl(n,r,u,c,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,c=r.pendingProps,p=r.memoizedProps,S=c.value,Ot(Ji,u._currentValue),u._currentValue=S,p!==null)if(oi(p.value,S)){if(p.children===c.children&&!fn.current){r=$n(n,r,l);break e}}else for(p=r.child,p!==null&&(p.return=r);p!==null;){var w=p.dependencies;if(w!==null){S=p.child;for(var _=w.firstContext;_!==null;){if(_.context===u){if(p.tag===1){_=xa(-1,l&-l),_.tag=2;var B=p.updateQueue;if(B!==null){B=B.shared;var Z=B.pending;Z===null?_.next=_:(_.next=Z.next,Z.next=_),B.pending=_}}p.lanes|=l,_=p.alternate,_!==null&&(_.lanes|=l),Nn(p.return,l,r),w.lanes|=l;break}_=_.next}}else if(p.tag===10)S=p.type===r.type?null:p.child;else if(p.tag===18){if(S=p.return,S===null)throw Error(h(341));S.lanes|=l,w=S.alternate,w!==null&&(w.lanes|=l),Nn(S,l,r),S=p.sibling}else S=p.child;if(S!==null)S.return=p;else for(S=p;S!==null;){if(S===r){S=null;break}if(p=S.sibling,p!==null){p.return=S.return,S=p;break}S=S.return}p=S}xn(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,u=r.pendingProps.children,ue(r,l),c=mn(c),u=u(c),r.flags|=1,xn(n,r,u,l),r.child;case 14:return u=r.type,c=Xr(u,r.pendingProps),c=Xr(u.type,c),jc(n,r,u,c,l);case 15:return Hr(n,r,r.type,r.pendingProps,l);case 17:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),tr(n,r),r.tag=1,Jt(u)?(n=!0,fc(r)):n=!1,ue(r,l),Mh(r,u,c),Cc(r,u,c,l),Hh(null,r,u,!0,n,l);case 19:return Ad(n,r,l);case 22:return ao(n,r,l)}throw Error(h(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 wl(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,c,p){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,c,p,r);case lt:S=8,c|=8;break;case kt:return n=gi(12,l,r,c|2),n.elementType=kt,n.lanes=p,n;case Te:return n=gi(13,l,r,c),n.elementType=Te,n.lanes=p,n;case dt:return n=gi(19,l,r,c),n.elementType=dt,n.lanes=p,n;case De:return Rs(l,c,p,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(h(130,n==null?n:typeof n,""))}return r=gi(S,l,r,c),r.elementType=n,r.type=u,r.lanes=p,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=De,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,c){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=c,this.mutableSourceEagerHydrationData=null}function ef(n,r,l,u,c,p,S,w,_){return n=new py(n,r,l,w,_),r===1?(r=1,p===!0&&(r|=8)):r=0,p=gi(3,null,null,r),n.current=p,p.stateNode=n,p.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sd(p),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(h(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(h(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,c,p,S,w,_){return n=ef(l,u,!0,n,c,p,S,w,_),n.context=Gd(null),l=n.current,u=ir(),c=En(l),p=xa(u,c),p.callback=r??null,vl(l,p,c),n.current.lanes=c,ha(n,c,u),lr(n,u),n}function xs(n,r,l,u){var c=r.current,p=ir(),S=En(c);return l=Gd(l),r.context===null?r.context=l:r.pendingContext=l,r=xa(p,S),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=vl(c,r,S),n!==null&&(ar(n,c,S,p),gc(n,c,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(h(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;Rl(function(){xs(null,n,null,null)}),r[ba]=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,c){if(c){if(typeof u=="function"){var p=u;u=function(){var B=tf(S);p.call(B)}}var S=ev(r,u,n,0,null,!1,!1,"",rv);return n._reactRootContainer=S,n[ba]=S.current,Xo(n.nodeType===8?n.parentNode:n),Rl(),S}for(;c=n.lastChild;)n.removeChild(c);if(typeof u=="function"){var w=u;u=function(){var B=tf(_);w.call(B)}}var _=ef(n,0,!1,null,null,!1,!1,"",rv);return n._reactRootContainer=_,n[ba]=_.current,Xo(n.nodeType===8?n.parentNode:n),Rl(function(){xs(r,_,l,u)}),_}function af(n,r,l,u,c){var p=l._reactRootContainer;if(p){var S=p;if(typeof c=="function"){var w=c;c=function(){var _=tf(S);w.call(_)}}xs(r,S,n,c)}else S=hy(l,r,n,c,u);return tf(S)}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()),!(ut&6)&&(pu=Zt()+500,Lr()))}break;case 13:Rl(function(){var u=wa(n,1);if(u!==null){var c=ir();ar(u,n,1,c)}}),Qd(n,1)}},Ho=function(n){if(n.tag===13){var r=wa(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=wa(n,r);if(l!==null){var u=ir();ar(l,n,r,u)}Qd(n,r)}},Vo=function(){return Rt},Bo=function(n,r){var l=Rt;try{return Rt=n,r()}finally{Rt=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 c=ze(u);if(!c)throw Error(h(90));Ti(u),Mn(u,c)}}}break;case"textarea":_i(n,l);break;case"select":r=l.value,r!=null&&Rr(n,!!l.multiple,r,!1)}},Ws=mu,Ys=Rl;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:Ie.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 wi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vy,wi.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kd(r))throw Error(h(200));return Jh(n,r,null,l)},wi.createRoot=function(n,r){if(!Kd(n))throw Error(h(299));var l=!1,u="",c=Xd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=ef(n,1,!1,null,null,l,!1,u,c),n[ba]=r.current,Xo(n.nodeType===8?n.parentNode:n),new nf(r)},wi.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(h(188)):(n=Object.keys(n).join(","),Error(h(268,n)));return n=Gs(r),n=n===null?null:n.stateNode,n},wi.flushSync=function(n){return Rl(n)},wi.hydrate=function(n,r,l){if(!rf(r))throw Error(h(200));return af(null,n,r,!0,l)},wi.hydrateRoot=function(n,r,l){if(!Kd(n))throw Error(h(405));var u=l!=null&&l.hydratedSources||null,c=!1,p="",S=Xd;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),r=ev(r,null,n,1,l??null,c,!1,p,S),n[ba]=r.current,Xo(n),u)for(n=0;n<u.length;n++)l=u[n],c=l._getVersion,c=c(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,c]:r.mutableSourceEagerHydrationData.push(l,c);return new Oa(r)},wi.render=function(n,r,l){if(!rf(r))throw Error(h(200));return af(null,n,r,!1,l)},wi.unmountComponentAtNode=function(n){if(!rf(n))throw Error(h(40));return n._reactRootContainer?(Rl(function(){af(null,null,n,!1,function(){n._reactRootContainer=null,n[ba]=null})}),!0):!1},wi.unstable_batchedUpdates=mu,wi.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!rf(l))throw Error(h(200));if(n==null||n._reactInternals===void 0)throw Error(h(38));return af(n,r,l,!1,u)},wi.version="18.2.0-next-9e3b772b8-20220608",wi}var xi={};/**
|
|
89
|
+
`+p.stack}return{value:n,source:r,stack:c,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 c=r.value;l.payload=function(){return u(c)},l.callback=function(){Bc(n,r)}}var p=n.stateNode;return p!==null&&typeof p.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 c=new Set;u.set(r,c)}else c=u.get(r),c===void 0&&(c=new Set,u.set(r,c));c.has(l)||(c.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,c){return n.mode&1?(n.flags|=65536,n.lanes=c,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,c){l=l.render;var p=r.ref;return ue(r,c),u=gl(n,r,l,u,p,c),l=to(),n!==null&&!Cn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,$n(n,r,c)):(Gt&&l&&dc(r),r.flags|=1,xn(n,r,u,c),r.child)}function jc(n,r,l,u,c){if(n===null){var p=l.type;return typeof p=="function"&&!Yd(p)&&p.defaultProps===void 0&&l.compare===null&&l.defaultProps===void 0?(r.tag=15,r.type=p,Hr(n,r,p,u,c)):(n=Jc(l.type,null,u,r,r.mode,c),n.ref=r.ref,n.return=r,r.child=n)}if(p=n.child,!(n.lanes&c)){var S=p.memoizedProps;if(l=l.compare,l=l!==null?l:Qu,l(S,u)&&n.ref===r.ref)return $n(n,r,c)}return r.flags|=1,n=wl(p,u),n.ref=r.ref,n.return=r,r.child=n}function Hr(n,r,l,u,c){if(n!==null){var p=n.memoizedProps;if(Qu(p,u)&&n.ref===r.ref)if(Cn=!1,r.pendingProps=u=p,(n.lanes&c)!==0)n.flags&131072&&(Cn=!0);else return r.lanes=n.lanes,$n(n,r,c)}return au(n,r,l,u,c)}function ao(n,r,l){var u=r.pendingProps,c=u.children,p=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=p!==null?p.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=p!==null?p.baseLanes:l,Ot(fu,qr),qr|=u}else p!==null?(u=p.baseLanes|l,r.memoizedState=null):u=l,Ot(fu,qr),qr|=u;return xn(n,r,c,l),r.child}function tt(n,r){var l=r.ref;(n===null&&l!==null||n!==null&&n.ref!==l)&&(r.flags|=512,r.flags|=2097152)}function au(n,r,l,u,c){var p=Jt(l)?Or:Ge.current;return p=si(r,p),ue(r,c),l=gl(n,r,l,u,p,c),u=to(),n!==null&&!Cn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~c,$n(n,r,c)):(Gt&&u&&dc(r),r.flags|=1,xn(n,r,l,c),r.child)}function _d(n,r,l,u,c){if(Jt(l)){var p=!0;fc(r)}else p=!1;if(ue(r,c),r.stateNode===null)tr(n,r),Mh(r,l,u),Cc(r,l,u,c),u=!0;else if(n===null){var S=r.stateNode,w=r.memoizedProps;S.props=w;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 Z=l.getDerivedStateFromProps,J=typeof Z=="function"||typeof S.getSnapshotBeforeUpdate=="function";J||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(w!==u||_!==B)&&Oh(r,S,u,B),hl=!1;var q=r.memoizedState;S.state=q,ml(r,u,S,c),_=r.memoizedState,w!==u||q!==_||fn.current||hl?(typeof Z=="function"&&(Ed(r,l,Z,u),_=r.memoizedState),(w=hl||kh(r,l,w,u,q,_,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=w):(typeof S.componentDidMount=="function"&&(r.flags|=4194308),u=!1)}else{S=r.stateNode,wn(n,r),w=r.memoizedProps,B=r.type===r.elementType?w:Xr(r.type,w),S.props=B,J=r.pendingProps,q=S.context,_=l.contextType,typeof _=="object"&&_!==null?_=mn(_):(_=Jt(l)?Or:Ge.current,_=si(r,_));var ve=l.getDerivedStateFromProps;(Z=typeof ve=="function"||typeof S.getSnapshotBeforeUpdate=="function")||typeof S.UNSAFE_componentWillReceiveProps!="function"&&typeof S.componentWillReceiveProps!="function"||(w!==J||q!==_)&&Oh(r,S,u,_),hl=!1,q=r.memoizedState,S.state=q,ml(r,u,S,c);var Ee=r.memoizedState;w!==J||q!==Ee||fn.current||hl?(typeof ve=="function"&&(Ed(r,l,ve,u),Ee=r.memoizedState),(B=hl||kh(r,l,B,u,q,Ee,_)||!1)?(Z||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"||w===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&q===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"||w===n.memoizedProps&&q===n.memoizedState||(r.flags|=4),typeof S.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&q===n.memoizedState||(r.flags|=1024),u=!1)}return Hh(n,r,l,u,p,c)}function Hh(n,r,l,u,c,p){tt(n,r);var S=(r.flags&128)!==0;if(!u&&!S)return c&&Rh(r,l,!1),$n(n,r,p);u=r.stateNode,ny.current=r;var w=S&&typeof l.getDerivedStateFromError!="function"?null:u.render();return r.flags|=1,n!==null&&S?(r.child=Jo(r,n.child,null,p),r.child=Jo(r,null,w,p)):xn(n,r,w,p),r.memoizedState=u.state,c&&Rh(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),bd(n,r.containerInfo)}function Pc(n,r,l,u,c){return an(),vd(c),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,c=Pe.current,p=!1,S=(r.flags&128)!==0,w;if((w=S)||(w=n!==null&&n.memoizedState===null?!1:(c&2)!==0),w?(p=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(c|=1),Ot(Pe,c&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,p?(u=r.mode,p=r.child,S={mode:"hidden",children:S},!(u&1)&&p!==null?(p.childLanes=0,p.pendingProps=S):p=Rs(S,u,0,null),n=vo(n,u,l,null),p.return=r,n.return=r,p.sibling=n,r.child=p,r.child.memoizedState=kd(l),r.memoizedState=lo,n):Od(r,S));if(c=n.memoizedState,c!==null&&(w=c.dehydrated,w!==null))return ry(n,r,S,u,w,c,l);if(p){p=u.fallback,S=r.mode,c=n.child,w=c.sibling;var _={mode:"hidden",children:u.children};return!(S&1)&&r.child!==c?(u=r.child,u.childLanes=0,u.pendingProps=_,r.deletions=null):(u=wl(c,_),u.subtreeFlags=c.subtreeFlags&14680064),w!==null?p=wl(w,p):(p=vo(p,S,l,null),p.flags|=2),p.return=r,u.return=r,u.sibling=p,r.child=u,u=p,p=r.child,S=n.child.memoizedState,S=S===null?kd(l):{baseLanes:S.baseLanes|l,cachePool:null,transitions:S.transitions},p.memoizedState=S,p.childLanes=n.childLanes&~l,r.memoizedState=lo,u}return p=n.child,n=p.sibling,u=wl(p,{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 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,c,p,S){if(l)return r.flags&256?(r.flags&=-257,u=ds(Error(h(422))),lu(n,r,S,u)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(p=u.fallback,c=r.mode,u=Rs({mode:"visible",children:u.children},c,0,null),p=vo(p,c,S,null),p.flags|=2,u.return=r,p.return=r,u.sibling=p,r.child=u,r.mode&1&&Jo(r,n.child,null,S),r.child.memoizedState=kd(S),r.memoizedState=lo,p);if(!(r.mode&1))return lu(n,r,S,null);if(c.data==="$!"){if(u=c.nextSibling&&c.nextSibling.dataset,u)var w=u.dgst;return u=w,p=Error(h(419)),u=ds(p,u,void 0),lu(n,r,S,u)}if(w=(S&n.childLanes)!==0,Cn||w){if(u=on,u!==null){switch(S&-S){case 4:c=2;break;case 16:c=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:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(u.suspendedLanes|S)?0:c,c!==0&&c!==p.retryLane&&(p.retryLane=c,wa(n,c),ar(u,n,c,-1))}return $d(),u=ds(Error(h(421))),lu(n,r,S,u)}return c.data==="$?"?(r.flags|=128,r.child=n.child,r=sy.bind(null,n),c._reactRetry=r,null):(n=p.treeContext,zr=Hi(c.nextSibling),Qr=r,Gt=!0,di=null,n!==null&&(Nr[er++]=jn,Nr[er++]=Ra,Nr[er++]=fi,jn=n.id,Ra=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,c){var p=n.memoizedState;p===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:c}:(p.isBackwards=r,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=l,p.tailMode=c)}function Ad(n,r,l){var u=r.pendingProps,c=u.revealOrder,p=u.tail;if(xn(n,r,u.children,l),u=Pe.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(Ot(Pe,u),!(r.mode&1))r.memoizedState=null;else switch(c){case"forwards":for(l=r.child,c=null;l!==null;)n=l.alternate,n!==null&&ln(n)===null&&(c=l),l=l.sibling;l=c,l===null?(c=r.child,r.child=null):(c=l.sibling,l.sibling=null),$c(r,!1,c,l,p);break;case"backwards":for(l=null,c=r.child,r.child=null;c!==null;){if(n=c.alternate,n!==null&&ln(n)===null){r.child=c;break}n=c.sibling,c.sibling=l,l=c,c=n}$c(r,!0,l,null,p);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(h(153));if(r.child!==null){for(n=r.child,l=wl(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=wl(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function Da(n,r,l){switch(r.tag){case 3:Vh(r),an();break;case 5:Be(r);break;case 1:Jt(r.type)&&fc(r);break;case 4:bd(r,r.stateNode.containerInfo);break;case 10:var u=r.type._context,c=r.memoizedProps.value;Ot(Ji,u._currentValue),u._currentValue=c;break;case 13:if(u=r.memoizedState,u!==null)return u.dehydrated!==null?(Ot(Pe,Pe.current&1),r.flags|=128,null):l&r.child.childLanes?Md(n,r,l):(Ot(Pe,Pe.current&1),n=$n(n,r,l),n!==null?n.sibling:null);Ot(Pe,Pe.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(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ot(Pe,Pe.current),u)break;return null;case 22:case 23:return r.lanes=0,ao(n,r,l)}return $n(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 c=n.memoizedProps;if(c!==u){n=r.stateNode,ql(Vi.current);var p=null;switch(l){case"input":c=Zn(n,c),u=Zn(n,u),p=[];break;case"select":c=D({},c,{value:void 0}),u=D({},u,{value:void 0}),p=[];break;case"textarea":c=Wi(n,c),u=Wi(n,u),p=[];break;default:typeof c.onClick!="function"&&typeof u.onClick=="function"&&(n.onclick=cc)}Rn(l,u);var S;l=null;for(B in c)if(!u.hasOwnProperty(B)&&c.hasOwnProperty(B)&&c[B]!=null)if(B==="style"){var w=c[B];for(S in w)w.hasOwnProperty(S)&&(l||(l={}),l[S]="")}else B!=="dangerouslySetInnerHTML"&&B!=="children"&&B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&B!=="autoFocus"&&(R.hasOwnProperty(B)?p||(p=[]):(p=p||[]).push(B,null));for(B in u){var _=u[B];if(w=c!=null?c[B]:void 0,u.hasOwnProperty(B)&&_!==w&&(_!=null||w!=null))if(B==="style")if(w){for(S in w)!w.hasOwnProperty(S)||_&&_.hasOwnProperty(S)||(l||(l={}),l[S]="");for(S in _)_.hasOwnProperty(S)&&w[S]!==_[S]&&(l||(l={}),l[S]=_[S])}else l||(p||(p=[]),p.push(B,l)),l=_;else B==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,w=w?w.__html:void 0,_!=null&&w!==_&&(p=p||[]).push(B,_)):B==="children"?typeof _!="string"&&typeof _!="number"||(p=p||[]).push(B,""+_):B!=="suppressContentEditableWarning"&&B!=="suppressHydrationWarning"&&(R.hasOwnProperty(B)?(_!=null&&B==="onScroll"&&Bt("scroll",n),p||w===_||(p=[])):(p=p||[]).push(B,_))}l&&(p=p||[]).push("style",l);var B=p;(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 c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags&14680064,u|=c.flags&14680064,c.return=n,c=c.sibling;else for(c=n.child;c!==null;)l|=c.lanes|c.childLanes,u|=c.subtreeFlags,u|=c.flags,c.return=n,c=c.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(),kt(fn),kt(Ge),bc(),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&&(bs(di),di=null))),oo(n,r),nr(r),null;case 5:at(r);var c=ql(eu.current);if(l=r.type,n!==null&&r.stateNode!=null)vi(n,r,l,u,c),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!u){if(r.stateNode===null)throw Error(h(166));return nr(r),null}if(n=ql(Vi.current),vc(r)){u=r.stateNode,l=r.type;var p=r.memoizedProps;switch(u[qi]=r,u[Ql]=p,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(c=0;c<Zu.length;c++)Bt(Zu[c],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,p),Bt("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!p.multiple},Bt("invalid",u);break;case"textarea":wr(u,p),Bt("invalid",u)}Rn(l,p),c=null;for(var S in p)if(p.hasOwnProperty(S)){var w=p[S];S==="children"?typeof w=="string"?u.textContent!==w&&(p.suppressHydrationWarning!==!0&&sc(u.textContent,w,n),c=["children",w]):typeof w=="number"&&u.textContent!==""+w&&(p.suppressHydrationWarning!==!0&&sc(u.textContent,w,n),c=["children",""+w]):R.hasOwnProperty(S)&&w!=null&&S==="onScroll"&&Bt("scroll",u)}switch(l){case"input":Cr(u),Di(u,p,!0);break;case"textarea":Cr(u),xr(u);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(u.onclick=cc)}u=c,r.updateQueue=u,u!==null&&(r.flags|=4)}else{S=c.nodeType===9?c:c.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),c=u;break;case"iframe":case"object":case"embed":Bt("load",n),c=u;break;case"video":case"audio":for(c=0;c<Zu.length;c++)Bt(Zu[c],n);c=u;break;case"source":Bt("error",n),c=u;break;case"img":case"image":case"link":Bt("error",n),Bt("load",n),c=u;break;case"details":Bt("toggle",n),c=u;break;case"input":Er(n,u),c=Zn(n,u),Bt("invalid",n);break;case"option":c=u;break;case"select":n._wrapperState={wasMultiple:!!u.multiple},c=D({},u,{value:void 0}),Bt("invalid",n);break;case"textarea":wr(n,u),c=Wi(n,u),Bt("invalid",n);break;default:c=u}Rn(l,c),w=c;for(p in w)if(w.hasOwnProperty(p)){var _=w[p];p==="style"?At(n,_):p==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&Ul(n,_)):p==="children"?typeof _=="string"?(l!=="textarea"||_!=="")&&Yi(n,_):typeof _=="number"&&Yi(n,""+_):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(R.hasOwnProperty(p)?_!=null&&p==="onScroll"&&Bt("scroll",n):_!=null&&De(n,p,_,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",""+ft(u.value));break;case"select":n.multiple=!!u.multiple,p=u.value,p!=null?Rr(n,!!u.multiple,p,!1):u.defaultValue!=null&&Rr(n,!!u.multiple,u.defaultValue,!0);break;default:typeof c.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(h(166));if(l=ql(eu.current),ql(Vi.current),vc(r)){if(u=r.stateNode,l=r.memoizedProps,u[qi]=r,(p=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)}p&&(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(kt(Pe),u=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Gt&&zr!==null&&r.mode&1&&!(r.flags&128))Th(),an(),r.flags|=98560,p=!1;else if(p=vc(r),u!==null&&u.dehydrated!==null){if(n===null){if(!p)throw Error(h(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(h(317));p[qi]=r}else an(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;nr(r),p=!1}else di!==null&&(bs(di),di=null),p=!0;if(!p)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||Pe.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&&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(kt(Pe),p=r.memoizedState,p===null)return nr(r),null;if(u=(r.flags&128)!==0,S=p.rendering,S===null)if(u)vs(p,!1);else{if(_n!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(S=ln(n),S!==null){for(r.flags|=128,vs(p,!1),u=S.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),r.subtreeFlags=0,u=l,l=r.child;l!==null;)p=l,n=u,p.flags&=14680066,S=p.alternate,S===null?(p.childLanes=0,p.lanes=n,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=S.childLanes,p.lanes=S.lanes,p.child=S.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=S.memoizedProps,p.memoizedState=S.memoizedState,p.updateQueue=S.updateQueue,p.type=S.type,n=S.dependencies,p.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l=l.sibling;return Ot(Pe,Pe.current&1|2),r.child}n=n.sibling}p.tail!==null&&Zt()>pu&&(r.flags|=128,u=!0,vs(p,!1),r.lanes=4194304)}else{if(!u)if(n=ln(S),n!==null){if(r.flags|=128,u=!0,l=n.updateQueue,l!==null&&(r.updateQueue=l,r.flags|=4),vs(p,!0),p.tail===null&&p.tailMode==="hidden"&&!S.alternate&&!Gt)return nr(r),null}else 2*Zt()-p.renderingStartTime>pu&&l!==1073741824&&(r.flags|=128,u=!0,vs(p,!1),r.lanes=4194304);p.isBackwards?(S.sibling=r.child,r.child=S):(l=p.last,l!==null?l.sibling=S:r.child=S,p.last=S)}return p.tail!==null?(r=p.tail,p.rendering=r,p.tail=r.sibling,p.renderingStartTime=Zt(),r.sibling=null,l=Pe.current,Ot(Pe,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(h(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(),kt(fn),kt(Ge),bc(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return at(r),null;case 13:if(kt(Pe),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(h(340));an()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return kt(Pe),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 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 jh=!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 c=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var S=0,w=-1,_=-1,B=0,Z=0,J=n,q=null;t:for(;;){for(var ve;J!==l||c!==0&&J.nodeType!==3||(w=S+c),J!==p||u!==0&&J.nodeType!==3||(_=S+u),J.nodeType===3&&(S+=J.nodeValue.length),(ve=J.firstChild)!==null;)q=J,J=ve;for(;;){if(J===n)break t;if(q===l&&++B===c&&(w=S),q===p&&++Z===u&&(_=S),(ve=J.nextSibling)!==null)break;J=q,q=J.parentNode}J=ve}l=w===-1||_===-1?null:{start:w,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 xe=Ee.memoizedProps,yn=Ee.memoizedState,L=r.stateNode,M=L.getSnapshotBeforeUpdate(r.elementType===r.type?xe:Xr(r.type,xe),yn);L.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var U=r.stateNode.containerInfo;U.nodeType===1?U.textContent="":U.nodeType===9&&U.documentElement&&U.removeChild(U.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(h(163))}}catch(ae){pn(r,r.return,ae)}if(n=r.sibling,n!==null){n.return=r.return,Ce=n;break}Ce=r.return}return Ee=jh,jh=!1,Ee}function gs(n,r,l){var u=r.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var c=u=u.next;do{if((c.tag&n)===n){var p=c.destroy;c.destroy=void 0,p!==void 0&&ys(r,l,p)}c=c.next}while(c!==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 $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 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,c=zn;en=null,mi(n,r,l),en=u,zn=c,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,c=zn,en=l.stateNode.containerInfo,zn=!0,mi(n,r,l),en=u,zn=c;break;case 0:case 11:case 14:case 15:if(!Dn&&(u=l.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){c=u=u.next;do{var p=c,S=p.destroy;p=p.tag,S!==void 0&&(p&2||p&4)&&ys(l,r,S),c=c.next}while(c!==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(w){pn(l,r,w)}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 c=cy.bind(null,n,u);l.has(u)||(l.add(u),u.then(c,c))})}}function Bi(n,r){var l=r.deletions;if(l!==null)for(var u=0;u<l.length;u++){var c=l[u];try{var p=n,S=r,w=S;e:for(;w!==null;){switch(w.tag){case 5:en=w.stateNode,zn=!1;break e;case 3:en=w.stateNode.containerInfo,zn=!0;break e;case 4:en=w.stateNode.containerInfo,zn=!0;break e}w=w.return}if(en===null)throw Error(h(160));su(p,S,c),en=null,zn=!1;var _=c.alternate;_!==null&&(_.return=null),c.return=null}catch(B){pn(c,r,B)}}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(Bi(r,n),na(n),u&4){try{gs(3,n,n.return),Ss(3,n)}catch(xe){pn(n,n.return,xe)}try{gs(5,n,n.return)}catch(xe){pn(n,n.return,xe)}}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 c=n.stateNode;try{Yi(c,"")}catch(xe){pn(n,n.return,xe)}}if(u&4&&(c=n.stateNode,c!=null)){var p=n.memoizedProps,S=l!==null?l.memoizedProps:p,w=n.type,_=n.updateQueue;if(n.updateQueue=null,_!==null)try{w==="input"&&p.type==="radio"&&p.name!=null&&br(c,p),vn(w,S);var B=vn(w,p);for(S=0;S<_.length;S+=2){var Z=_[S],J=_[S+1];Z==="style"?At(c,J):Z==="dangerouslySetInnerHTML"?Ul(c,J):Z==="children"?Yi(c,J):De(c,Z,J,B)}switch(w){case"input":Mn(c,p);break;case"textarea":_i(c,p);break;case"select":var q=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!p.multiple;var ve=p.value;ve!=null?Rr(c,!!p.multiple,ve,!1):q!==!!p.multiple&&(p.defaultValue!=null?Rr(c,!!p.multiple,p.defaultValue,!0):Rr(c,!!p.multiple,p.multiple?[]:"",!1))}c[Ql]=p}catch(xe){pn(n,n.return,xe)}}break;case 6:if(Bi(r,n),na(n),u&4){if(n.stateNode===null)throw Error(h(162));c=n.stateNode,p=n.memoizedProps;try{c.nodeValue=p}catch(xe){pn(n,n.return,xe)}}break;case 3:if(Bi(r,n),na(n),u&4&&l!==null&&l.memoizedState.isDehydrated)try{nl(r.containerInfo)}catch(xe){pn(n,n.return,xe)}break;case 4:Bi(r,n),na(n);break;case 13:Bi(r,n),na(n),c=n.child,c.flags&8192&&(p=c.memoizedState!==null,c.stateNode.isHidden=p,!p||c.alternate!==null&&c.alternate.memoizedState!==null||(Vd=Zt())),u&4&&_a(n);break;case 22:if(Z=l!==null&&l.memoizedState!==null,n.mode&1?(Dn=(B=Dn)||Z,Bi(r,n),Dn=B):Bi(r,n),na(n),u&8192){if(B=n.memoizedState!==null,(n.stateNode.isHidden=B)&&!Z&&n.mode&1)for(Ce=n,Z=n.child;Z!==null;){for(J=Ce=Z;Ce!==null;){switch(q=Ce,ve=q.child,q.tag){case 0:case 11:case 14:case 15:gs(4,q,q.return);break;case 1:ou(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(xe){pn(u,l,xe)}}break;case 5:ou(q,q.return);break;case 22:if(q.memoizedState!==null){Fd(J);continue}}ve!==null?(ve.return=q,Ce=ve):Fd(J)}Z=Z.sibling}e:for(Z=null,J=n;;){if(J.tag===5){if(Z===null){Z=J;try{c=J.stateNode,B?(p=c.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(w=J.stateNode,_=J.memoizedProps.style,S=_!=null&&_.hasOwnProperty("display")?_.display:null,w.style.display=nt("display",S))}catch(xe){pn(n,n.return,xe)}}}else if(J.tag===6){if(Z===null)try{J.stateNode.nodeValue=B?"":J.memoizedProps}catch(xe){pn(n,n.return,xe)}}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;Z===J&&(Z=null),J=J.return}Z===J&&(Z=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($h(l)){var u=l;break e}l=l.return}throw Error(h(160))}switch(u.tag){case 5:var c=u.stateNode;u.flags&32&&(Yi(c,""),u.flags&=-33);var p=Ic(n);ta(n,p,c);break;case 3:case 4:var S=u.stateNode.containerInfo,w=Ic(n);uu(n,w,S);break;default:throw Error(h(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 c=Ce,p=c.child;if(c.tag===22&&u){var S=c.memoizedState!==null||ms;if(!S){var w=c.alternate,_=w!==null&&w.memoizedState!==null||Dn;w=ms;var B=Dn;if(ms=S,(Dn=_)&&!B)for(Ce=c;Ce!==null;)S=Ce,_=S.child,S.tag===22&&S.memoizedState!==null?Gh(c):_!==null?(_.return=S,Ce=_):Gh(c);for(;p!==null;)Ce=p,cu(p),p=p.sibling;Ce=c,ms=w,Dn=B}Yh(n)}else c.subtreeFlags&8772&&p!==null?(p.return=c,Ce=p):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 c=r.elementType===r.type?l.memoizedProps:Xr(r.type,l.memoizedProps);u.componentDidUpdate(c,l.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var p=r.updateQueue;p!==null&&Kl(r,p,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 w=r.stateNode;if(l===null&&r.flags&4){l=w;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 Z=B.memoizedState;if(Z!==null){var J=Z.dehydrated;J!==null&&nl(J)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(h(163))}Dn||r.flags&512&&zd(r)}catch(q){pn(r,r.return,q)}}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 c=r.return;try{u.componentDidMount()}catch(_){pn(r,c,_)}}var p=r.return;try{zd(r)}catch(_){pn(r,p,_)}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 w=r.sibling;if(w!==null){w.return=r.return,Ce=w;break}Ce=r.return}}var Wc=Math.ceil,Cs=$e.ReactCurrentDispatcher,Hd=$e.ReactCurrentOwner,rr=$e.ReactCurrentBatchConfig,st=0,on=null,dn=null,Un=0,qr=0,fu=et(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,bl=null,Qc=0,hu=0,Xc=null,co=-1,fo=0;function ir(){return st&6?Zt():co!==-1?co:co=Zt()}function En(n){return n.mode&1?st&2&&Un!==0?Un&-Un:mc.transition!==null?(fo===0&&(fo=zo()),fo):(n=Rt,n!==0||(n=window.event,n=n===void 0?16:$u(n.type)),n):1}function ar(n,r,l,u){if(50<hu)throw hu=0,Xc=null,Error(h(185));ha(n,l,u),(!(st&2)||n!==on)&&(n===on&&(!(st&2)&&(Yc|=l),_n===4&&yi(n,Un)),lr(n,u),l===1&&st===0&&!(r.mode&1)&&(pu=Zt()+500,An&&Lr()))}function lr(n,r){var l=n.callbackNode;Za(n,r);var u=ur(n,n===on?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(){!(st&6)&&Lr()}),l=null;else{switch(Fo(u)){case 1:l=Li;break;case 4:l=rt;break;case 16:l=Qi;break;case 536870912:l=Ao;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,st&6)throw Error(h(327));var l=n.callbackNode;if(yu()&&n.callbackNode!==l)return null;var u=ur(n,n===on?Un:0);if(u===0)return null;if(u&30||u&n.expiredLanes||r)r=qc(n,u);else{r=u;var c=st;st|=2;var p=Kc();(on!==n||Un!==r)&&(Ma=null,pu=Zt()+500,po(n,r));do try{ly();break}catch(w){Xh(n,w)}while(1);yd(),Cs.current=p,st=c,dn!==null?r=0:(on=null,Un=0,r=_n)}if(r!==0){if(r===2&&(c=Ja(n),c!==0&&(u=c,r=Bd(n,c))),r===1)throw l=Es,po(n,0),yi(n,u),lr(n,Zt()),l;if(r===6)yi(n,u);else{if(c=n.current.alternate,!(u&30)&&!jd(c)&&(r=qc(n,u),r===2&&(p=Ja(n),p!==0&&(u=p,r=Bd(n,p))),r===1))throw l=Es,po(n,0),yi(n,u),lr(n,Zt()),l;switch(n.finishedWork=c,n.finishedLanes=u,r){case 0:case 1:throw Error(h(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(c=n.suspendedLanes,(c&u)!==u){ir(),n.pingedLanes|=n.suspendedLanes&c;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,c=-1;0<u;){var S=31-or(u);p=1<<S,S=r[S],S>c&&(c=S),u&=~p}if(u=c,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(h(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&&bs(r)),n}function bs(n){cr===null?cr=n:cr.push.apply(cr,n)}function jd(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 c=l[u],p=c.getSnapshot;c=c.value;try{if(!oi(p(),c))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(st&6)throw Error(h(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(h(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,ho(n,cr,Ma),lr(n,Zt()),null}function mu(n,r){var l=st;st|=1;try{return n(r)}finally{st=l,st===0&&(pu=Zt()+500,An&&Lr())}}function Rl(n){bl!==null&&bl.tag===0&&!(st&6)&&yu();var r=st;st|=1;var l=rr.transition,u=Rt;try{if(rr.transition=null,Rt=1,n)return n()}finally{Rt=u,rr.transition=l,st=r,!(st&6)&&Lr()}}function Pd(){qr=fu.current,kt(fu)}function po(n,r){n.finishedWork=null,n.finishedLanes=0;var l=n.timeoutHandle;if(l!==-1&&(n.timeoutHandle=-1,bh(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(),kt(fn),kt(Ge),bc();break;case 5:at(u);break;case 4:yl();break;case 13:kt(Pe);break;case 19:kt(Pe);break;case 10:pl(u.type._context);break;case 22:case 23:Pd()}l=l.return}if(on=n,dn=n=wl(n.current,null),Un=qr=r,_n=0,Es=null,du=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 c=u.next,p=l.pending;if(p!==null){var S=p.next;p.next=c,u.next=S}l.pending=u}Pn=null}return n}function Xh(n,r){do{var l=dn;try{if(yd(),Rc.current=Vc,Ie){for(var u=Qt.memoizedState;u!==null;){var c=u.queue;c!==null&&(c.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 p=n,S=l.return,w=l,_=r;if(r=Un,w.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var B=_,Z=w,J=Z.tag;if(!(Z.mode&1)&&(J===0||J===11||J===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 ve=Td(S);if(ve!==null){ve.flags&=-257,Dd(ve,S,w,p,r),ve.mode&1&&Fh(p,B,r),r=ve,_=B;var Ee=r.updateQueue;if(Ee===null){var xe=new Set;xe.add(_),r.updateQueue=xe}else Ee.add(_);break e}else{if(!(r&1)){Fh(p,B,r),$d();break e}_=Error(h(426))}}else if(Gt&&w.mode&1){var yn=Td(S);if(yn!==null){!(yn.flags&65536)&&(yn.flags|=256),Dd(yn,S,w,p,r),vd(iu(_,w));break e}}p=_=iu(_,w),_n!==4&&(_n=2),uo===null?uo=[p]:uo.push(p),p=S;do{switch(p.tag){case 3:p.flags|=65536,r&=-r,p.lanes|=r;var L=Uh(p,_,r);Cd(p,L);break e;case 1:w=_;var M=p.type,U=p.stateNode;if(!(p.flags&128)&&(typeof M.getDerivedStateFromError=="function"||U!==null&&typeof U.componentDidCatch=="function"&&(ra===null||!ra.has(U)))){p.flags|=65536,r&=-r,p.lanes|=r;var ae=ps(p,w,r);Cd(p,ae);break e}}p=p.return}while(p!==null)}Id(l)}catch(_e){r=_e,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 $d(){(_n===0||_n===3||_n===2)&&(_n=4),on===null||!(ka&268435455)&&!(Yc&268435455)||yi(on,Un)}function qc(n,r){var l=st;st|=2;var u=Kc();(on!==n||Un!==r)&&(Ma=null,po(n,r));do try{ay();break}catch(c){Xh(n,c)}while(1);if(yd(),st=l,Cs.current=u,dn!==null)throw Error(h(261));return on=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?Id(n):dn=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,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=Rt,c=rr.transition;try{rr.transition=null,Rt=1,oy(n,r,l,u)}finally{rr.transition=c,Rt=u}return null}function oy(n,r,l,u){do yu();while(bl!==null);if(st&6)throw Error(h(327));l=n.finishedWork;var c=n.finishedLanes;if(l===null)return null;if(n.finishedWork=null,n.finishedLanes=0,l===n.current)throw Error(h(177));n.callbackNode=null,n.callbackPriority=0;var p=l.lanes|l.childLanes;if(Bf(n,p),n===on&&(dn=on=null,Un=0),!(l.subtreeFlags&2064)&&!(l.flags&2064)||El||(El=!0,Wd(Qi,function(){return yu(),null})),p=(l.flags&15990)!==0,l.subtreeFlags&15990||p){p=rr.transition,rr.transition=null;var S=Rt;Rt=1;var w=st;st|=4,Hd.current=null,Ph(n,l),Ih(l,n),ac(Yl),li=!!ad,Yl=ad=null,n.current=l,Wh(l),Hf(),st=w,Rt=S,rr.transition=p}else n.current=l;if(El&&(El=!1,bl=n,Qc=c),p=n.pendingLanes,p===0&&(ra=null),Bu(l.stateNode),lr(n,Zt()),r!==null)for(u=n.onRecoverableError,l=0;l<r.length;l++)c=r[l],u(c.value,{componentStack:c.stack,digest:c.digest});if(Gc)throw Gc=!1,n=so,so=null,n;return Qc&1&&n.tag!==0&&yu(),p=n.pendingLanes,p&1?n===Xc?hu++:(hu=0,Xc=n):hu=0,Lr(),null}function yu(){if(bl!==null){var n=Fo(Qc),r=rr.transition,l=Rt;try{if(rr.transition=null,Rt=16>n?16:n,bl===null)var u=!1;else{if(n=bl,bl=null,Qc=0,st&6)throw Error(h(331));var c=st;for(st|=4,Ce=n.current;Ce!==null;){var p=Ce,S=p.child;if(Ce.flags&16){var w=p.deletions;if(w!==null){for(var _=0;_<w.length;_++){var B=w[_];for(Ce=B;Ce!==null;){var Z=Ce;switch(Z.tag){case 0:case 11:case 15:gs(8,Z,p)}var J=Z.child;if(J!==null)J.return=Z,Ce=J;else for(;Ce!==null;){Z=Ce;var q=Z.sibling,ve=Z.return;if(Ud(Z),Z===B){Ce=null;break}if(q!==null){q.return=ve,Ce=q;break}Ce=ve}}}var Ee=p.alternate;if(Ee!==null){var xe=Ee.child;if(xe!==null){Ee.child=null;do{var yn=xe.sibling;xe.sibling=null,xe=yn}while(xe!==null)}}Ce=p}}if(p.subtreeFlags&2064&&S!==null)S.return=p,Ce=S;else e:for(;Ce!==null;){if(p=Ce,p.flags&2048)switch(p.tag){case 0:case 11:case 15:gs(9,p,p.return)}var L=p.sibling;if(L!==null){L.return=p.return,Ce=L;break e}Ce=p.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(w=Ce,w.flags&2048)try{switch(w.tag){case 0:case 11:case 15:Ss(9,w)}}catch(_e){pn(w,w.return,_e)}if(w===S){Ce=null;break e}var ae=w.sibling;if(ae!==null){ae.return=w.return,Ce=ae;break e}Ce=w.return}}if(st=c,Lr(),Dr&&typeof Dr.onPostCommitFiberRoot=="function")try{Dr.onPostCommitFiberRoot(Xa,n)}catch{}u=!0}return u}finally{Rt=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,on===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=wa(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,c=n.memoizedState;c!==null&&(l=c.retryLane);break;case 19:u=n.stateNode;break;default:throw Error(h(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 c=si(r,Ge.current);ue(r,l),c=gl(null,r,u,n,c,l);var p=to();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Jt(u)?(p=!0,fc(r)):p=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Sd(r),c.updater=Sc,r.stateNode=c,c._reactInternals=r,Cc(r,u,n,l),r=Hh(null,r,u,!0,p,l)):(r.tag=0,Gt&&p&&dc(r),xn(null,r,c,l),r=r.child),r;case 16:u=r.elementType;e:{switch(tr(n,r),n=r.pendingProps,c=u._init,u=c(u._payload),r.type=u,c=r.tag=dy(u),n=Xr(u,n),c){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=jc(null,r,u,Xr(u.type,n),l);break e}throw Error(h(306,u,""))}return r;case 0:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),au(n,r,u,c,l);case 1:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),_d(n,r,u,c,l);case 3:e:{if(Vh(r),n===null)throw Error(h(387));u=r.pendingProps,p=r.memoizedState,c=p.element,wn(n,r),ml(r,u,null,l);var S=r.memoizedState;if(u=S.element,p.isDehydrated)if(p={element:u,isDehydrated:!1,cache:S.cache,pendingSuspenseBoundaries:S.pendingSuspenseBoundaries,transitions:S.transitions},r.updateQueue.baseState=p,r.memoizedState=p,r.flags&256){c=iu(Error(h(423)),r),r=Pc(n,r,u,l,c);break e}else if(u!==c){c=iu(Error(h(424)),r),r=Pc(n,r,u,l,c);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(an(),u===c){r=$n(n,r,l);break e}xn(n,r,u,l)}r=r.child}return r;case 5:return Be(r),n===null&&hc(r),u=r.type,c=r.pendingProps,p=n!==null?n.memoizedProps:null,S=c.children,ts(u,c)?S=null:p!==null&&ts(u,p)&&(r.flags|=32),tt(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 bd(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,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),Cl(n,r,u,c,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,c=r.pendingProps,p=r.memoizedProps,S=c.value,Ot(Ji,u._currentValue),u._currentValue=S,p!==null)if(oi(p.value,S)){if(p.children===c.children&&!fn.current){r=$n(n,r,l);break e}}else for(p=r.child,p!==null&&(p.return=r);p!==null;){var w=p.dependencies;if(w!==null){S=p.child;for(var _=w.firstContext;_!==null;){if(_.context===u){if(p.tag===1){_=xa(-1,l&-l),_.tag=2;var B=p.updateQueue;if(B!==null){B=B.shared;var Z=B.pending;Z===null?_.next=_:(_.next=Z.next,Z.next=_),B.pending=_}}p.lanes|=l,_=p.alternate,_!==null&&(_.lanes|=l),Nn(p.return,l,r),w.lanes|=l;break}_=_.next}}else if(p.tag===10)S=p.type===r.type?null:p.child;else if(p.tag===18){if(S=p.return,S===null)throw Error(h(341));S.lanes|=l,w=S.alternate,w!==null&&(w.lanes|=l),Nn(S,l,r),S=p.sibling}else S=p.child;if(S!==null)S.return=p;else for(S=p;S!==null;){if(S===r){S=null;break}if(p=S.sibling,p!==null){p.return=S.return,S=p;break}S=S.return}p=S}xn(n,r,c.children,l),r=r.child}return r;case 9:return c=r.type,u=r.pendingProps.children,ue(r,l),c=mn(c),u=u(c),r.flags|=1,xn(n,r,u,l),r.child;case 14:return u=r.type,c=Xr(u,r.pendingProps),c=Xr(u.type,c),jc(n,r,u,c,l);case 15:return Hr(n,r,r.type,r.pendingProps,l);case 17:return u=r.type,c=r.pendingProps,c=r.elementType===u?c:Xr(u,c),tr(n,r),r.tag=1,Jt(u)?(n=!0,fc(r)):n=!1,ue(r,l),Mh(r,u,c),Cc(r,u,c,l),Hh(null,r,u,!0,n,l);case 19:return Ad(n,r,l);case 22:return ao(n,r,l)}throw Error(h(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===tn)return 11;if(n===qt)return 14}return 2}function wl(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,c,p){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 we:return vo(l.children,c,p,r);case ot:S=8,c|=8;break;case Tt:return n=gi(12,l,r,c|2),n.elementType=Tt,n.lanes=p,n;case Ze:return n=gi(13,l,r,c),n.elementType=Ze,n.lanes=p,n;case Ae:return n=gi(19,l,r,c),n.elementType=Ae,n.lanes=p,n;case Te:return Rs(l,c,p,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Dt:S=10;break e;case St:S=9;break e;case tn:S=11;break e;case qt:S=14;break e;case _t:S=16,u=null;break e}throw Error(h(130,n==null?n:typeof n,""))}return r=gi(S,l,r,c),r.elementType=n,r.type=u,r.lanes=p,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,c){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=c,this.mutableSourceEagerHydrationData=null}function ef(n,r,l,u,c,p,S,w,_){return n=new py(n,r,l,w,_),r===1?(r=1,p===!0&&(r|=8)):r=0,p=gi(3,null,null,r),n.current=p,p.stateNode=n,p.memoizedState={element:u,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sd(p),n}function Jh(n,r,l){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Le,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(h(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(h(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,c,p,S,w,_){return n=ef(l,u,!0,n,c,p,S,w,_),n.context=Gd(null),l=n.current,u=ir(),c=En(l),p=xa(u,c),p.callback=r??null,vl(l,p,c),n.current.lanes=c,ha(n,c,u),lr(n,u),n}function xs(n,r,l,u){var c=r.current,p=ir(),S=En(c);return l=Gd(l),r.context===null?r.context=l:r.pendingContext=l,r=xa(p,S),r.payload={element:n},u=u===void 0?null:u,u!==null&&(r.callback=u),n=vl(c,r,S),n!==null&&(ar(n,c,S,p),gc(n,c,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(h(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;Rl(function(){xs(null,n,null,null)}),r[ba]=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,c){if(c){if(typeof u=="function"){var p=u;u=function(){var B=tf(S);p.call(B)}}var S=ev(r,u,n,0,null,!1,!1,"",rv);return n._reactRootContainer=S,n[ba]=S.current,Xo(n.nodeType===8?n.parentNode:n),Rl(),S}for(;c=n.lastChild;)n.removeChild(c);if(typeof u=="function"){var w=u;u=function(){var B=tf(_);w.call(B)}}var _=ef(n,0,!1,null,null,!1,!1,"",rv);return n._reactRootContainer=_,n[ba]=_.current,Xo(n.nodeType===8?n.parentNode:n),Rl(function(){xs(r,_,l,u)}),_}function af(n,r,l,u,c){var p=l._reactRootContainer;if(p){var S=p;if(typeof c=="function"){var w=c;c=function(){var _=tf(S);w.call(_)}}xs(r,S,n,c)}else S=hy(l,r,n,c,u);return tf(S)}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()),!(st&6)&&(pu=Zt()+500,Lr()))}break;case 13:Rl(function(){var u=wa(n,1);if(u!==null){var c=ir();ar(u,n,1,c)}}),Qd(n,1)}},Ho=function(n){if(n.tag===13){var r=wa(n,134217728);if(r!==null){var l=ir();ar(r,n,134217728,l)}Qd(n,134217728)}},yt=function(n){if(n.tag===13){var r=En(n),l=wa(n,r);if(l!==null){var u=ir();ar(l,n,r,u)}Qd(n,r)}},Vo=function(){return Rt},Bo=function(n,r){var l=Rt;try{return Rt=n,r()}finally{Rt=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 c=Ue(u);if(!c)throw Error(h(90));Ti(u),Mn(u,c)}}}break;case"textarea":_i(n,l);break;case"select":r=l.value,r!=null&&Rr(n,!!l.multiple,r,!1)}},Ws=mu,Ys=Rl;var vy={usingClientEntryPoint:!1,Events:[rs,Ko,Ue,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 wi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vy,wi.createPortal=function(n,r){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kd(r))throw Error(h(200));return Jh(n,r,null,l)},wi.createRoot=function(n,r){if(!Kd(n))throw Error(h(299));var l=!1,u="",c=Xd;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(u=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=ef(n,1,!1,null,null,l,!1,u,c),n[ba]=r.current,Xo(n.nodeType===8?n.parentNode:n),new nf(r)},wi.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(h(188)):(n=Object.keys(n).join(","),Error(h(268,n)));return n=Gs(r),n=n===null?null:n.stateNode,n},wi.flushSync=function(n){return Rl(n)},wi.hydrate=function(n,r,l){if(!rf(r))throw Error(h(200));return af(null,n,r,!0,l)},wi.hydrateRoot=function(n,r,l){if(!Kd(n))throw Error(h(405));var u=l!=null&&l.hydratedSources||null,c=!1,p="",S=Xd;if(l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),r=ev(r,null,n,1,l??null,c,!1,p,S),n[ba]=r.current,Xo(n),u)for(n=0;n<u.length;n++)l=u[n],c=l._getVersion,c=c(l._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[l,c]:r.mutableSourceEagerHydrationData.push(l,c);return new Oa(r)},wi.render=function(n,r,l){if(!rf(r))throw Error(h(200));return af(null,n,r,!1,l)},wi.unmountComponentAtNode=function(n){if(!rf(n))throw Error(h(40));return n._reactRootContainer?(Rl(function(){af(null,null,n,!1,function(){n._reactRootContainer=null,n[ba]=null})}),!0):!1},wi.unstable_batchedUpdates=mu,wi.unstable_renderSubtreeIntoContainer=function(n,r,l,u){if(!rf(l))throw Error(h(200));if(n==null||n._reactInternals===void 0)throw Error(h(38));return af(n,r,l,!1,u)},wi.version="18.2.0-next-9e3b772b8-20220608",wi}var xi={};/**
|
|
90
90
|
* @license React
|
|
91
91
|
* react-dom.development.js
|
|
92
92
|
*
|
|
@@ -94,15 +94,15 @@ Error generating stack: `+p.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 s1;function F_(){return s1||(s1=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 Y=v1(),f=m1(),h=Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,g=!1;function R(e){g=e}function T(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Q("warn",e,i)}}function C(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Q("error",e,i)}}function Q(e,t,i){{var a=h.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 A=0,P=1,oe=2,K=3,re=4,J=5,ne=6,Be=7,de=8,Ue=9,tt=10,_e=11,Ie=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,Ae=!1,D=!1,X=!1,ye=!0,Ze=!1,Ye=!1,Ct=!0,ot=!0,Et=!0,ct=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++)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 br(e){try{return Mn(e),!1}catch{return!0}}function Mn(e){return""+e}function Di(e,t){if(br(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(br(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(br(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 Rr(e,t){if(br(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(br(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 wr(e){if(br(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,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+"]*$"),At={},zt={};function Rn(e){return Zn.call(zt,e)?!0:Zn.call(At,e)?!1:nt.test(e)?(zt[e]=!0,!0):(At[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 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,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);$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,Mo);$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,Mo);$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,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===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(!Rn(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(Rn(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,b=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&&Fu(k.toString())),b?e.setAttributeNS(b,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"),Lo=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 Li(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,Ao,Xa,Dr,Bu,or,ju;function Pu(){}Pu.__reactDisabledLog=!0;function Ks(){{if(Qi===0){Qa=console.log,Ao=console.info,Xa=console.warn,Dr=console.error,Bu=console.group,or=console.groupCollapsed,ju=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Pu,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:Ao}),warn:rt({},e,{value:Xa}),error:rt({},e,{value:Dr}),group:rt({},e,{value:Bu}),groupCollapsed:rt({},e,{value:or}),groupEnd:rt({},e,{value:ju})})}Qi<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ka=h.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`
|
|
97
|
+
*/var s1;function F_(){return s1||(s1=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 Y=v1(),f=m1(),h=Y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,g=!1;function R(e){g=e}function T(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Q("warn",e,i)}}function C(e){if(!g){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];Q("error",e,i)}}function Q(e,t,i){{var a=h.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 A=0,P=1,oe=2,K=3,re=4,te=5,ne=6,He=7,pe=8,Me=9,lt=10,De=11,$e=12,de=13,Le=14,we=15,ot=16,Tt=17,Dt=18,St=19,tn=21,Ze=22,Ae=23,qt=24,_t=25,Te=!0,le=!1,Ne=!1,D=!1,X=!1,ye=!0,Je=!1,Ye=!1,Ct=!0,ut=!0,Et=!0,ft=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++)ft.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 br(e){try{return Mn(e),!1}catch{return!0}}function Mn(e){return""+e}function Di(e,t){if(br(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(br(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(br(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 Rr(e,t){if(br(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(br(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 wr(e){if(br(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,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",ze=ce+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",nt=new RegExp("^["+ce+"]["+ze+"]*$"),At={},zt={};function Rn(e){return Zn.call(zt,e)?!0:Zn.call(At,e)?!1:nt.test(e)?(zt[e]=!0,!0):(At[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 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 nn(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 nn(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 nn(t,xr,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$t[e]=new nn(e,ki,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$t[e]=new nn(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 nn(e,Vn,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$t[e]=new nn(e,Vn,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$t[e]=new nn(e,Ir,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$t[e]=new nn(e,Yi,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$t[e]=new nn(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);$t[t]=new nn(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);$t[t]=new nn(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);$t[t]=new nn(t,xr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$t[e]=new nn(e,xr,!1,e.toLowerCase(),null,!1,!1)});var Ws="xlinkHref";$t[Ws]=new nn("xlinkHref",xr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$t[e]=new nn(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===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(!Rn(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(Rn(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,b=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&&Fu(k.toString())),b?e.setAttributeNS(b,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"),Lo=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 Li(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,Ao,Xa,Dr,Bu,or,ju;function Pu(){}Pu.__reactDisabledLog=!0;function Ks(){{if(Qi===0){Qa=console.log,Ao=console.info,Xa=console.warn,Dr=console.error,Bu=console.group,or=console.groupCollapsed,ju=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Pu,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:Ao}),warn:rt({},e,{value:Xa}),error:rt({},e,{value:Dr}),group:rt({},e,{value:Bu}),groupCollapsed:rt({},e,{value:or}),groupEnd:rt({},e,{value:ju})})}Qi<0&&C("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ka=h.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
98
|
`+Ai+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
100
|
`),E=v.length-1,b=m.length-1;E>=1&&b>=0&&v[E]!==m[b];)b--;for(;E>=1&&b>=0;E--,b--)if(v[E]!==m[b]){if(E!==1||b!==1)do if(E--,b--,b<0||v[E]!==m[b]){var O=`
|
|
101
|
-
`+v[E].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(E>=1&&b>=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 Rt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case
|
|
101
|
+
`+v[E].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(E>=1&&b>=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 Rt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case te:return ur(e.type);case ot:return ur("Lazy");case de:return ur("Suspense");case St:return ur("SuspenseList");case A:case oe:case we:return ha(e.type);case De:return ha(e.type.render);case P:return Uo(e.type);default:return""}}function Fo(e){try{var t="",i=e;do t+=Rt(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 Ho(e){return e.displayName||"Context"}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 yt(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 Lo: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:yt(e.type)||"Memo";case Bn:{var o=e,s=o._payload,d=o._init;try{return yt(d(s))}catch{return null}}}return null}function 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 Me:var a=i;return Bo(a)+".Consumer";case lt:var o=i;return Bo(o._context)+".Provider";case Dt:return"DehydratedFragment";case De:return Vo(i,i.render,"ForwardRef");case He:return"Fragment";case te:return i;case re:return"Portal";case K:return"Root";case ne:return"Text";case ot:return yt(i);case pe:return i===Wa?"StrictMode":"Mode";case Ze:return"Offscreen";case $e:return"Profiler";case tn:return"Scope";case de:return"Suspense";case St:return"SuspenseList";case _t:return"TracingMarker";case P:case A:case Tt:case oe:case Le:case we:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;break}return null}var Bl=h.ReactDebugCurrentFrame,rn=null,_r=!1;function sr(){{if(rn===null)return null;var e=rn._debugOwner;if(e!==null&&typeof e<"u")return Xe(e)}return null}function el(){return rn===null?"":Fo(rn)}function cn(){Bl.getCurrentStack=null,rn=null,_r=!1}function Mt(e){Bl.getCurrentStack=e===null?null:el,rn=e,_r=!1}function qs(){return rn}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 wr(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);wr(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){wr(v),a=""+v,s.call(this,v)}}),Object.defineProperty(e,t,{enumerable:i.enumerable});var d={getValue:function(){return a},setValue:function(v){wr(v),a=""+v},stopTracking:function(){ai(e),delete e[t]}};return d}}function li(e){Js(e)||(e._valueTracker=rl(e))}function jo(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,jl=!1,Po=!1,$u=!1;function Ni(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function y(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 x(e,t){va("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!jl&&(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),jl=!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 j(e,t){var i=e;{var a=Ni(t);!i._wrapperState.controlled&&a&&!$u&&(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"),$u=!0),i._wrapperState.controlled&&!a&&!Po&&(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"),Po=!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")?Ve(i,t.type,o):t.hasOwnProperty("defaultValue")&&Ve(i,t.type,Ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(i.defaultChecked=!!t.defaultChecked)}function ie(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 je(e,t){var i=e;j(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.");jo(d),j(d,v)}}}}function Ve(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,gt=!1,Ht=!1;function Nt(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Y.Children.forEach(t.children,function(i){i!=null&&(typeof i=="string"||typeof i=="number"||gt||(gt=!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 It=Array.isArray;function dt(e){return It(e)}var ma;ma=!1;function $o(){var e=sr();return e?`
|
|
104
104
|
|
|
105
|
-
Check the render method of \``+e+"`.":""}var Iu=["value","defaultValue"];function jf(e){{va("select",e);for(var t=0;t<Iu.length;t++){var i=Iu[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,$o()):!e.multiple&&a&&C("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,$o())}}}}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 b=On(Ki(i)),O=null,k=0;k<o.length;k++){if(o[k].value===b){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;jf(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=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&&!$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(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,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"]},Io={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(Io).forEach(function(e){th.forEach(function(t){Io[eh(t,e)]=Io[e]})});function rc(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!(Io.hasOwnProperty(e)&&Io[e])?t+"px":(Rr(t,e),(""+t).trim())}var Wo=/([A-Z])/g,jm=/^ms-/;function Pm(e){return e.replace(Wo,"-$1").toLowerCase().replace(jm,"-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))},$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):Yo.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 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 $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 b=ac[o];if(b!==t)return C("Invalid DOM property `%s`. Did you mean `%s`?",t,b),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,Ku=2,Il=4,Gm=Ca|Ku|Il,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 bh(e,t,i,a,o,s,d,v,m){var E=Array.prototype.slice.call(arguments,3);try{t.apply(i,E)}catch(b){this.onError(b)}}var ld=bh;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 b=document.createEvent("Event"),O=!1,k=!0,F=window.event,V=Object.getOwnPropertyDescriptor(window,"event");function $(){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,$(),i.apply(a,ge),k=!1}var Me,vt=!1,st=!1;function N(z){if(Me=z.error,vt=!0,Me===null&&z.colno===0&&z.lineno===0&&(st=!0),z.defaultPrevented&&Me!=null&&typeof Me=="object")try{Me._suppressLogging=!0}catch{}}var I="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",N),od.addEventListener(I,Fe,!1),b.initEvent(I,!1,!1),od.dispatchEvent(b),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",N),!O)return $(),bh.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 ba(e,t,i,a,o,s,d,v,m){if(Ql.apply(this,arguments),ol){var E=sd();ns||(ns=!0,ul=E)}}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,Rh=32767,Yr=32768,An=65536,as=131072,cd=1048576,fd=2097152,Lr=4194304,fl=8388608,Ar=16777216,Xl=33554432,qo=Je|si|0,Nr=Yt|Je|_t|Ot|Or|ci|cl,er=Je|Zi|Or|cl,fi=Jt|_t,jn=Lr|fl|fd,Ra=h.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===K?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===K?e.stateNode.containerInfo:null}function pd(e){return Gr(e)===e}function Qr(e){{var t=Ra.current;if(t!==null&&t.tag===P){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 E=!1,b=s.child;b;){if(b===a){E=!0,a=s,o=d;break}if(b===o){E=!0,o=s,a=d;break}b=b.sibling}if(!E){for(b=d.child;b;){if(b===a){E=!0,a=d,o=s;break}if(b===o){E=!0,o=d,a=s;break}b=b.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!==K)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===J||e.tag===ne)return e;for(var t=e.child;t!==null;){var i=hd(t);if(i!==null)return i;t=t.sibling}return null}function wh(e){var t=Gt(e);return t!==null?pc(t):null}function pc(e){if(e.tag===J||e.tag===ne)return e;for(var t=e.child;t!==null;){if(t.tag!==re){var i=pc(t);if(i!==null)return i}t=t.sibling}return null}var hc=f.unstable_scheduleCallback,xh=f.unstable_cancelCallback,vc=f.unstable_shouldYield,Th=f.unstable_requestPaint,rn=f.unstable_now,vd=f.unstable_getCurrentPriorityLevel,mc=f.unstable_ImmediatePriority,Xr=f.unstable_UserBlockingPriority,Ji=f.unstable_NormalPriority,yc=f.unstable_LowPriority,dl=f.unstable_IdlePriority,md=f.unstable_yieldValue,yd=f.unstable_setDisableYieldValue,pl=null,Nn=null,ue=null,mn=!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{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 wa(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 $n: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 wn(e){if(typeof md=="function"&&(yd(e),R(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 Lh(e,t,i){ue!==null&&typeof ue.markComponentSuspended=="function"&&ue.markComponentSuspended(e,t,i)}function Ah(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 bd(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,Pe=2,an=8,pi=16,bc=Math.clz32?Math.clz32:Zl,Rc=Math.log,Rd=Math.LN2;function Zl(e){var t=e>>>0;return t===0?32:31-(Rc(t)/Rd|0)|0}var Qt=31,W=0,pt=0,$e=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,wc=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,cs=16777216,Nc=33554432,zc=67108864,wd=Ta,tu=134217728,Uc=268435455,nu=268435456,Sl=536870912,Fr=1073741824;function Zm(e){{if(e&$e)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 jt=-1,Fc=to,Hc=Ta;function ru(e){switch(Cn(e)){case $e:return $e;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 wc: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 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 E=i&~o;E!==W?a=ru(E):s!==W&&(a=ru(s))}if(a===W)return W;if(t!==W&&t!==a&&(t&o)===W){var b=Cn(a),O=Cn(t);if(b>=O||b===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 $=Cl(V),ge=1<<$;a|=F[$],V&=~ge}return a}function zh(e,t){for(var i=e.eventTimes,a=jt;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 $e: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 wc: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 cs:case Nc:case zc:return jt;case tu:case nu:case Sl:case Fr:return jt;default:return C("Should have found matching lanes. This is a bug in React."),jt}}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===jt?((m&a)===W||(m&o)!==W)&&(s[v]=Vc(m,t)):E<=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&$e)!==W}function ds(e){return(e&Uc)!==W}function Bc(e){return(e&io)===e}function ty(e){var t=$e|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-bc(e)}function jc(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 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=jc(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]=jt,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]=jt,s[v]=jt,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 wc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:case Ta:case Ac: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 Ld(e,t,i){if(Pn)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=jc(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=jc(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=$e,$n=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($n,t)?ds(t)?Da:hs:$n: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 jh(e){ys=e}var Ph;function gs(e){Ph=e}var Ss;function zd(e){Ss=e}var Ud;function $h(e){Ud=e}var Ic=!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 Ih(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,E=m.pointerId;return mi.set(E,cu(mi.get(E)||null,e,t,i,a,m)),!0}case"gotpointercapture":{var b=o,O=b.pointerId;return su.set(O,cu(su.get(O)||null,e,t,i,a,b)),!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(){Ph(i)});return}}else if(a===K){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(){Ic=!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,Ic||(Ic=!0,f.unstable_scheduleCallback(f.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=h.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 $n: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($n),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){wy(e,t,a,du,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=Eu(o);s!==null&&ou(s);var d=uo(e,t,i,a);if(d===null&&wy(e,t,a,du,i),d===o)break;o=d}o!==null&&a.stopPropagation();return}wy(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===K){var E=d.stateNode;if(Dn(E))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 $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 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 bl(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 E=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return E?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),bs,jd,yi;function Qh(e){e!==yi&&(yi&&e.type==="mousemove"?(bs=e.screenX-yi.screenX,jd=e.screenY-yi.screenY):(bs=0,jd=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),bs)},movementY:function(e){return"movementY"in e?e.movementY:jd}}),Rl=En(mu),Pd=rt({},mu,{dataTransfer:0}),po=En(Pd),Xh=rt({},vu,{relatedTarget:0}),Kc=En(Xh),$d=rt({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),qc=En($d),ay=rt({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ly=En(ay),Kh=rt({},ar,{data:0}),Id=En(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"},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),wl=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(wl),vo=[9,13,27,32],Rs=229,ws=hn&&"CompositionEvent"in window,mo=null;hn&&"documentMode"in document&&(mo=document.documentMode);var py=hn&&"TextEvent"in window&&!mo,ef=hn&&(!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 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===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=bl(o):s==="onCompositionEnd"&&Oa&&(d=hu()));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:(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"||!ws&&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"}/**
|
|
105
|
+
Check the render method of \``+e+"`.":""}var Iu=["value","defaultValue"];function jf(e){{va("select",e);for(var t=0;t<Iu.length;t++){var i=Iu[t];if(e[i]!=null){var a=dt(e[i]);e.multiple&&!a?C("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,$o()):!e.multiple&&a&&C("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,$o())}}}}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 b=On(Ki(i)),O=null,k=0;k<o.length;k++){if(o[k].value===b){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;jf(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=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&&!$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(dt(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,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"]},Io={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(Io).forEach(function(e){th.forEach(function(t){Io[eh(t,e)]=Io[e]})});function rc(e,t,i){var a=t==null||typeof t=="boolean"||t==="";return a?"":!i&&typeof t=="number"&&t!==0&&!(Io.hasOwnProperty(e)&&Io[e])?t+"px":(Rr(t,e),(""+t).trim())}var Wo=/([A-Z])/g,jm=/^ms-/;function Pm(e){return e.replace(Wo,"-$1").toLowerCase().replace(jm,"-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))},$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):Yo.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 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)-["+ze+"]*$"),Xu=new RegExp("^(aria)[A-Z]["+ze+"]*$");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 $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)-["+ze+"]*$"),yh=new RegExp("^(aria)[A-Z]["+ze+"]*$");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 b=ac[o];if(b!==t)return C("Invalid DOM property `%s`. Did you mean `%s`?",t,b),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,Ku=2,Il=4,Gm=Ca|Ku|Il,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 bh(e,t,i,a,o,s,d,v,m){var E=Array.prototype.slice.call(arguments,3);try{t.apply(i,E)}catch(b){this.onError(b)}}var ld=bh;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 b=document.createEvent("Event"),O=!1,k=!0,F=window.event,V=Object.getOwnPropertyDescriptor(window,"event");function $(){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,$(),i.apply(a,ge),k=!1}var ke,vt=!1,ct=!1;function N(z){if(ke=z.error,vt=!0,ke===null&&z.colno===0&&z.lineno===0&&(ct=!0),z.defaultPrevented&&ke!=null&&typeof ke=="object")try{ke._suppressLogging=!0}catch{}}var I="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",N),od.addEventListener(I,Fe,!1),b.initEvent(I,!1,!1),od.dispatchEvent(b),V&&Object.defineProperty(window,"event",V),O&&k&&(vt?ct&&(ke=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.")):ke=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(ke)),window.removeEventListener("error",N),!O)return $(),bh.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 ba(e,t,i,a,o,s,d,v,m){if(Ql.apply(this,arguments),ol){var E=sd();ns||(ns=!0,ul=E)}}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 Ue=0,sl=1,Yt=2,et=4,kt=16,Ot=32,Zi=64,Ge=128,fn=256,Or=512,si=1024,Jt=2048,ci=4096,cl=8192,is=16384,fc=Jt|et|Zi|Or|si|is,Rh=32767,Yr=32768,An=65536,as=131072,cd=1048576,fd=2097152,Lr=4194304,fl=8388608,Ar=16777216,Xl=33554432,qo=et|si|0,Nr=Yt|et|kt|Ot|Or|ci|cl,er=et|Zi|Or|cl,fi=Jt|kt,jn=Lr|fl|fd,Ra=h.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))!==Ue&&(i=t.return),a=t.return;while(a)}return t.tag===K?i:null}function dd(e){if(e.tag===de){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===K?e.stateNode.containerInfo:null}function pd(e){return Gr(e)===e}function Qr(e){{var t=Ra.current;if(t!==null&&t.tag===P){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 E=!1,b=s.child;b;){if(b===a){E=!0,a=s,o=d;break}if(b===o){E=!0,o=s,a=d;break}b=b.sibling}if(!E){for(b=d.child;b;){if(b===a){E=!0,a=d,o=s;break}if(b===o){E=!0,o=d,a=s;break}b=b.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!==K)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===ne)return e;for(var t=e.child;t!==null;){var i=hd(t);if(i!==null)return i;t=t.sibling}return null}function wh(e){var t=Gt(e);return t!==null?pc(t):null}function pc(e){if(e.tag===te||e.tag===ne)return e;for(var t=e.child;t!==null;){if(t.tag!==re){var i=pc(t);if(i!==null)return i}t=t.sibling}return null}var hc=f.unstable_scheduleCallback,xh=f.unstable_cancelCallback,vc=f.unstable_shouldYield,Th=f.unstable_requestPaint,an=f.unstable_now,vd=f.unstable_getCurrentPriorityLevel,mc=f.unstable_ImmediatePriority,Xr=f.unstable_UserBlockingPriority,Ji=f.unstable_NormalPriority,yc=f.unstable_LowPriority,dl=f.unstable_IdlePriority,md=f.unstable_yieldValue,yd=f.unstable_setDisableYieldValue,pl=null,Nn=null,ue=null,mn=!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{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 wa(e,t){if(Nn&&typeof Nn.onCommitFiberRoot=="function")try{var i=(e.current.flags&Ge)===Ge;if(ut){var a;switch(t){case tr:a=mc;break;case $n: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 wn(e){if(typeof md=="function"&&(yd(e),R(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 Lh(e,t,i){ue!==null&&typeof ue.markComponentSuspended=="function"&&ue.markComponentSuspended(e,t,i)}function Ah(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 bd(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 Be=0,at=1,Pe=2,ln=8,pi=16,bc=Math.clz32?Math.clz32:Zl,Rc=Math.log,Rd=Math.LN2;function Zl(e){var t=e>>>0;return t===0?32:31-(Rc(t)/Rd|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,wc=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,cs=16777216,Nc=33554432,zc=67108864,wd=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 jt=-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 wc: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 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 E=i&~o;E!==W?a=ru(E):s!==W&&(a=ru(s))}if(a===W)return W;if(t!==W&&t!==a&&(t&o)===W){var b=Cn(a),O=Cn(t);if(b>=O||b===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 $=Cl(V),ge=1<<$;a|=F[$],V&=~ge}return a}function zh(e,t){for(var i=e.eventTimes,a=jt;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 wc: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 cs:case Nc:case zc:return jt;case tu:case nu:case Sl:case Fr:return jt;default:return C("Should have found matching lanes. This is a bug in React."),jt}}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===jt?((m&a)===W||(m&o)!==W)&&(s[v]=Vc(m,t)):E<=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-bc(e)}function jc(e){return Cl(e)}function Hr(e,t){return(e&t)!==W}function ao(e,t){return(e&t)===t}function tt(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 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=jc(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]=jt,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]=jt,s[v]=jt,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 wc:case xc:case Tc:case Dc:case _c:case kc:case Mc:case Oc:case ro:case Lc:case Ta:case Ac: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 Ld(e,t,i){if(Pn)for(var a=e.pendingUpdatersLaneMap;i>0;){var o=jc(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=jc(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=Ie,$n=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($n,t)?ds(t)?Da:hs:$n: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 jh(e){ys=e}var Ph;function gs(e){Ph=e}var Ss;function zd(e){Ss=e}var Ud;function $h(e){Ud=e}var Ic=!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 Ih(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,E=m.pointerId;return mi.set(E,cu(mi.get(E)||null,e,t,i,a,m)),!0}case"gotpointercapture":{var b=o,O=b.pointerId;return su.set(O,cu(su.get(O)||null,e,t,i,a,b)),!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===de){var o=dd(i);if(o!==null){e.blockedOn=o,Ud(e.priority,function(){Ph(i)});return}}else if(a===K){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(){Ic=!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,Ic||(Ic=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,Hd)))}function st(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 on=h.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 $n: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=on.transition;on.transition=null;try{Tn(tr),ka(e,t,i,a)}finally{Tn(o),on.transition=s}}function Es(e,t,i,a){var o=vi(),s=on.transition;on.transition=null;try{Tn($n),ka(e,t,i,a)}finally{Tn(o),on.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){wy(e,t,a,du,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=Eu(o);s!==null&&ou(s);var d=uo(e,t,i,a);if(d===null&&wy(e,t,a,du,i),d===o)break;o=d}o!==null&&a.stopPropagation();return}wy(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===de){var m=dd(d);if(m!==null)return m;s=null}else if(v===K){var E=d.stateNode;if(Dn(E))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 $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 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 bl(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 E=s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1;return E?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),bs,jd,yi;function Qh(e){e!==yi&&(yi&&e.type==="mousemove"?(bs=e.screenX-yi.screenX,jd=e.screenY-yi.screenY):(bs=0,jd=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),bs)},movementY:function(e){return"movementY"in e?e.movementY:jd}}),Rl=En(mu),Pd=rt({},mu,{dataTransfer:0}),po=En(Pd),Xh=rt({},vu,{relatedTarget:0}),Kc=En(Xh),$d=rt({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),qc=En($d),ay=rt({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ly=En(ay),Kh=rt({},ar,{data:0}),Id=En(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"},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),wl=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(wl),vo=[9,13,27,32],Rs=229,ws=hn&&"CompositionEvent"in window,mo=null;hn&&"documentMode"in document&&(mo=document.documentMode);var py=hn&&"TextEvent"in window&&!mo,ef=hn&&(!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 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===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=bl(o):s==="onCompositionEnd"&&Oa&&(d=hu()));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:(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"||!ws&&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 Iu=["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(!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 c(e){var t=[];n(t,l,e,oc(e)),id(p,t)}function p(e){OC(e,0)}function S(e){var t=df(e);if(jo(t))return e}function w(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",ee)}function Z(){r&&(r.detachEvent("onpropertychange",ee),r=null,l=null)}function ee(e){e.propertyName==="value"&&S(l)&&c(e)}function q(e,t,i){e==="focusin"?(Z(),B(t,i)):e==="focusout"&&Z()}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 we(e,t){if(e==="click")return S(t)}function yn(e,t){if(e==="input"||e==="change")return S(t)}function L(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,E;if(u(v)?m=w:gu(v)?_?m=yn:(m=ve,E=q):Ee(v)&&(m=we),m){var b=m(t,i);if(b){n(e,b,a,o);return}}E&&E(t,v,i),t==="focusout"&&L(v)}function U(){Ti("onMouseEnter",["mouseout","mouseover"]),Ti("onMouseLeave",["mouseout","mouseover"]),Ti("onPointerEnter",["pointerout","pointerover"]),Ti("onPointerLeave",["pointerout","pointerover"])}function ae(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&&(_s(E)||cp(E)))return}if(!(!m&&!v)){var b;if(o.window===o)b=o;else{var O=o.ownerDocument;O?b=O.defaultView||O.parentWindow:b=window}var k,F;if(m){var V=a.relatedTarget||a.toElement;if(k=i,F=V?_s(V):null,F!==null){var $=Gr(F);(F!==$||F.tag!==J&&F.tag!==ne)&&(F=null)}}else k=null,F=i;if(k!==F){var ge=Rl,Fe="onMouseLeave",Me="onMouseEnter",vt="mouse";(t==="pointerout"||t==="pointerover")&&(ge=Wd,Fe="onPointerLeave",Me="onPointerEnter",vt="pointer");var st=k==null?b:df(k),N=F==null?b:df(F),I=new ge(Fe,vt+"leave",k,a,o);I.target=st,I.relatedTarget=N;var z=null,te=_s(o);if(te===i){var Se=new ge(Me,vt+"enter",F,a,o);Se.target=N,Se.relatedTarget=st,z=Se}F1(e,I,z,k,F)}}}function ke(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var be=typeof Object.is=="function"?Object.is:ke;function Le(e,t){if(be(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)||!be(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 bt(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,E=0,b=e,O=null;e:for(;;){for(var k=null;b===t&&(i===0||b.nodeType===ga)&&(d=s+i),b===a&&(o===0||b.nodeType===ga)&&(v=s+o),b.nodeType===ga&&(s+=b.nodeValue.length),(k=b.firstChild)!==null;)O=b,b=k;for(;;){if(b===e)break e;if(O===t&&++m===i&&(d=s),O===a&&++E===o&&(v=s),(k=b.nextSibling)!==null)break;b=O,O=b.parentNode}b=k}return d===-1||v===-1?null:{start:d,end:v}}function g1(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=bt(e,d),b=bt(e,v);if(E&&b){if(o.rangeCount===1&&o.anchorNode===E.node&&o.anchorOffset===E.offset&&o.focusNode===b.node&&o.focusOffset===b.offset)return;var O=i.createRange();O.setStart(E.node,E.offset),o.removeAllRanges(),d>v?(o.addRange(O),o.extend(b.node,b.offset)):(O.setEnd(b.node,b.offset),o.addRange(O))}}}function SC(e){return e&&e.nodeType===ga}function CC(e,t){return!e||!t?!1:e===t?!0:SC(e)?!1:SC(t)?CC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function S1(e){return e&&e.ownerDocument&&CC(e.ownerDocument.documentElement,e)}function C1(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function EC(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){if(C1(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 E1(){var e=EC();return{focusedElem:e,selectionRange:gy(e)?R1(e):null}}function b1(e){var t=EC(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&S1(i)){a!==null&&gy(i)&&w1(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 R1(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=xl(e),t||{start:0,end:0}}function w1(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)):g1(e,t)}var x1=hn&&"documentMode"in document&&document.documentMode<=11;function T1(){Cr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var of=null,Sy=null,qd=null,Cy=!1;function D1(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 _1(e){return e.window===e?e.document:e.nodeType===Ui?e:e.ownerDocument}function bC(e,t,i){var a=_1(i);if(!(Cy||of==null||of!==il(a))){var o=D1(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 k1(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,bC(e,a,o);break;case"selectionchange":if(x1)break;case"keydown":case"keyup":bC(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"),xC=av("animationiteration"),TC=av("animationstart"),DC=av("transitionend"),_C=new Map,kC=["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){_C.set(e,t),Cr(t,[e])}function M1(){for(var e=0;e<kC.length;e++){var t=kC[e],i=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Su(i,"on"+a)}Su(wC,"onAnimationEnd"),Su(xC,"onAnimationIteration"),Su(TC,"onAnimationStart"),Su("dblclick","onDoubleClick"),Su("focusin","onFocus"),Su("focusout","onBlur"),Su(DC,"onTransitionEnd")}function O1(e,t,i,a,o,s,d){var v=_C.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=Rl;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 xC:case TC:m=qc;break;case DC: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 b=(s&Il)!==0;{var O=!b&&t==="scroll",k=z1(i,v,a.type,b,O);if(k.length>0){var F=new m(v,E,null,a,o);e.push({event:F,listeners:k})}}}}M1(),U(),lf(),T1(),ev();function L1(e,t,i,a,o,s,d){O1(e,t,i,a,o,s);var v=(s&Gm)===0;v&&(ae(e,t,i,a,o),M(e,t,i,a,o),k1(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"],by=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Zd));function MC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,ba(a,t,void 0,e),e.currentTarget=null}function A1(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;MC(e,m,v),a=d}else for(var E=0;E<t.length;E++){var b=t[E],O=b.instance,k=b.currentTarget,F=b.listener;if(O!==a&&e.isPropagationStopped())return;MC(e,F,k),a=O}}function OC(e,t){for(var i=(t&Il)!==0,a=0;a<e.length;a++){var o=e[a],s=o.event,d=o.listeners;A1(s,d,i)}ud()}function N1(e,t,i,a,o){var s=oc(i),d=[];L1(d,e,a,i,s,t),OC(d,t)}function on(e,t){by.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=cw(t),o=H1(e,i);a.has(o)||(LC(t,e,Ku,i),a.add(o))}function Ry(e,t,i){by.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),LC(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"&&(by.has(i)||Ry(i,!1,e),Ry(i,!0,e))});var t=e.nodeType===Ui?e:e.ownerDocument;t!==null&&(t[lv]||(t[lv]=!0,Ry("selectionchange",!1,t)))}}function LC(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 wy(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===K||m===re){var E=v.stateNode.containerInfo;if(AC(E,d))break;if(m===re)for(var b=v.return;b!==null;){var O=b.tag;if(O===K||O===re){var k=b.stateNode.containerInfo;if(AC(k,d))return}b=b.return}for(;E!==null;){var F=_s(E);if(F===null)return;var V=F.tag;if(V===J||V===ne){v=s=F;continue e}E=E.parentNode}}v=v.return}}}id(function(){return N1(e,t,i,s)})}function ep(e,t,i){return{instance:e,listener:t,currentTarget:i}}function z1(e,t,i,a,o,s){for(var d=t!==null?t+"Capture":null,v=a?d:t,m=[],E=e,b=null;E!==null;){var O=E,k=O.stateNode,F=O.tag;if(F===J&&k!==null&&(b=k,v!==null)){var V=Yl(E,v);V!=null&&m.push(ep(E,V,b))}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===J&&d!==null){var m=d,E=Yl(o,i);E!=null&&a.unshift(ep(o,E,m));var b=Yl(o,t);b!=null&&a.push(ep(o,b,m))}o=o.return}return a}function sf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==J);return e||null}function U1(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 NC(e,t,i,a,o){for(var s=t._reactName,d=[],v=i;v!==null&&v!==a;){var m=v,E=m.alternate,b=m.stateNode,O=m.tag;if(E!==null&&E===a)break;if(O===J&&b!==null){var k=b;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 F1(e,t,i,a,o){var s=a&&o?U1(a,o):null;a!==null&&NC(e,t,a,s,!1),o!==null&&i!==null&&NC(e,i,o,s,!0)}function H1(e,t){return e+"__"+(t?"capture":"bubble")}var Si=!1,tp="dangerouslySetInnerHTML",uv="suppressContentEditableWarning",Cu="suppressHydrationWarning",zC="autoFocus",Ts="children",Ds="style",sv="__html",xy,cv,np,UC,fv,FC,HC;xy={dialog:!0,webview:!0},cv=function(e,t){lc(e,t),Jf(e,t),Sh(e,t,{registrationNameDependencies:Pt,possibleRegistrationNames:fa})},FC=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)))}},UC=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)},HC=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 V1=/\r\n?/g,B1=/\u0000|\uFFFD/g;function dv(e){Wi(e);var t=typeof e=="string"?e:""+e;return t.replace(V1,`
|
|
118
|
-
`).replace(B1,"")}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 VC(e){return e.nodeType===Ui?e:e.ownerDocument}function j1(){}function hv(e){e.onclick=j1}function P1(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===zC||(Pt.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&fv(s,d),s==="onScroll"&&on("scroll",t)):d!=null&&Gi(t,s,d,o))}}function $1(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 I1(e,t,i,a){var o,s=VC(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 b=d;t.multiple?b.multiple=!0:t.size&&(b.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 W1(e,t){return VC(t).createTextNode(e)}function Y1(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":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=If(e,i),on("invalid",e);break;default:s=i}switch(ic(t,s),P1(t,e,a,s,o),t){case"input":li(e),ie(e,i,!1);break;case"textarea":li(e),qp(e);break;case"option":Vt(e,i);break;case"select":Pf(e,i);break;default:typeof s.onClick=="function"&&hv(e);break}}function G1(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=Wu(e,i),v=Wu(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,b=null;for(m in d)if(!(v.hasOwnProperty(m)||!d.hasOwnProperty(m)||d[m]==null))if(m===Ds){var O=d[m];for(E in O)O.hasOwnProperty(E)&&(b||(b={}),b[E]="")}else m===tp||m===Ts||m===uv||m===Cu||m===zC||(Pt.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(E in F)F.hasOwnProperty(E)&&(!k||!k.hasOwnProperty(E))&&(b||(b={}),b[E]="");for(E in k)k.hasOwnProperty(E)&&F[E]!==k[E]&&(b||(b={}),b[E]=k[E])}else b||(s||(s=[]),s.push(m,b)),b=k;else if(m===tp){var V=k?k[sv]:void 0,$=F?F[sv]:void 0;V!=null&&$!==V&&(s=s||[]).push(m,V)}else m===Ts?(typeof k=="string"||typeof k=="number")&&(s=s||[]).push(m,""+k):m===uv||m===Cu||(Pt.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 b&&(Qu(b,v[Ds]),(s=s||[]).push(Ds,b)),s}function Q1(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($1(e,t,s,d),i){case"input":j(e,o);break;case"textarea":Kp(e,o);break;case"select":Fm(e,o);break}}function X1(e){{var t=e.toLowerCase();return ac.hasOwnProperty(t)&&ac[t]||null}}function K1(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":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 b=e.attributes,O=0;O<b.length;O++){var k=b[O].name.toLowerCase();switch(k){case"value":break;case"checked":break;case"selected":break;default:m.add(b[O].name)}}}var F=null;for(var V in i)if(i.hasOwnProperty(V)){var $=i[V];if(V===Ts)typeof $=="string"?e.textContent!==$&&(i[Cu]!==!0&&pv(e.textContent,$,s,d),F=[Ts,$]):typeof $=="number"&&e.textContent!==""+$&&(i[Cu]!==!0&&pv(e.textContent,$,s,d),F=[Ts,""+$]);else if(Pt.hasOwnProperty(V))$!=null&&(typeof $!="function"&&fv(V,$),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=$?$[sv]:void 0;if(vt!=null){var st=HC(e,vt);st!==Me&&np(V,Me,st)}}else if(V===Ds){if(m.delete(V),FC){var N=Wm($);ge=e.getAttribute("style"),N!==ge&&np(V,ge,N)}}else if(v&&!Ze)m.delete(V.toLowerCase()),ge=$a(e,V,$),$!==ge&&np(V,ge,$);else if(!vn(V,Fe,v)&&!Wt(V,$,Fe,v)){var I=!1;if(Fe!==null)m.delete(Fe.attributeName),ge=Mi(e,V,$,Fe);else{var z=a;if(z===ya&&(z=ec(t)),z===ya)m.delete(V.toLowerCase());else{var te=X1(V);te!==null&&te!==V&&(I=!0,m.delete(te)),m.delete(V)}ge=$a(e,V,$)}var Se=Ze;!Se&&$!==ge&&!I&&np(V,ge,$)}}}}}switch(d&&m.size>0&&i[Cu]!==!0&&UC(m),t){case"input":li(e),ie(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 q1(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 Z1(e,t,i){switch(t){case"input":je(e,i);return;case"textarea":Wf(e,i);return;case"select":Hm(e,i);return}}var rp=function(){},ip=function(){};{var J1=["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"],BC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],eR=BC.concat(["button"]),tR=["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=rt({},e||jC),a={tag:t};return BC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),eR.indexOf(t)!==-1&&(i.pTagInButtonScope=null),J1.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 nR=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 tR.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},rR=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||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=nR(e,o)?null:a,d=s?null:rR(e,i),v=s||d;if(v){var m=v.tag,E=!!s+"|"+e+"|"+m;if(!PC[E]){PC[E]=!0;var b=e,O="";if(e==="#text"?/\S/.test(t)?b="Text nodes":(b="Whitespace text nodes",O=" Make sure you don't have any extra whitespace between tags on each line of your source code."):b="<"+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",b,m,O,k)}else C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",b,m)}}}}var vv="suppressHydrationWarning",mv="$",yv="/$",ap="$?",lp="$!",iR="style",My=null,Oy=null;function aR(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===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 lR(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 oR(e){My=qr(),Oy=E1();var t=null;return Un(!1),t}function uR(e){b1(Oy),Un(My),My=null,Oy=null}function sR(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=I1(e,t,i,s);return sp(o,E),Vy(E,t),E}function cR(e,t){e.appendChild(t)}function fR(e,t,i,a,o){switch(Y1(e,t,i,a),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function dR(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 G1(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 pR(e,t,i,a){{var o=i;rp(null,e,o.ancestorInfo)}var s=W1(e,t);return sp(a,s),s}function hR(){var e=window.event;return e===void 0?Da:cr(e.type)}var Ay=typeof setTimeout=="function"?setTimeout:void 0,vR=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=-1,$C=typeof Promise=="function"?Promise:void 0,mR=typeof queueMicrotask=="function"?queueMicrotask:typeof $C<"u"?function(e){return $C.resolve(null).then(e).catch(yR)}:Ay;function yR(e){setTimeout(function(){throw e})}function gR(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 SR(e,t,i,a,o,s){Q1(e,t,i,a,o),Vy(e,o)}function IC(e){nc(e,"")}function CR(e,t,i){e.nodeValue=i}function ER(e,t){e.appendChild(t)}function bR(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 RR(e,t,i){e.insertBefore(t,i)}function wR(e,t,i){e.nodeType===Sn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function xR(e,t){e.removeChild(t)}function TR(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 DR(e,t){e.nodeType===Sn?zy(e.parentNode,t):e.nodeType===Mr&&zy(e,t),ut(e)}function _R(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function kR(e){e.nodeValue=""}function MR(e,t){e=e;var i=t[iR],a=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=rc("display",a)}function OR(e,t){e.nodeValue=t}function LR(e){e.nodeType===Mr?e.textContent="":e.nodeType===Ui&&e.documentElement&&e.removeChild(e.documentElement)}function AR(e,t,i){return e.nodeType!==Mr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function NR(e,t){return t===""||e.nodeType!==ga?null:e}function zR(e){return e.nodeType!==Sn?null:e}function WC(e){return e.data===ap}function Uy(e){return e.data===lp}function UR(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 FR(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 HR(e){return gv(e.firstChild)}function VR(e){return gv(e.firstChild)}function BR(e){return gv(e.nextSibling)}function jR(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&at)!==Ve;return K1(e,t,i,v,a,E,d)}function PR(e,t,i,a){return sp(i,e),i.mode&at,q1(e,t)}function $R(e,t){sp(t,e)}function IR(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 YC(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 WR(e){ut(e)}function YR(e){ut(e)}function GR(e){return e!=="head"&&e!=="body"}function QR(e,t,i,a){var o=!0;pv(t.nodeValue,i,a,o)}function XR(e,t,i,a,o,s){if(t[vv]!==!0){var d=!0;pv(a.nodeValue,o,s,d)}}function KR(e,t){t.nodeType===Mr?Ty(e,t):t.nodeType===Sn||Dy(e,t)}function qR(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Mr?Ty(i,t):t.nodeType===Sn||Dy(i,t))}}function ZR(e,t,i,a,o){(o||t[vv]!==!0)&&(a.nodeType===Mr?Ty(i,a):a.nodeType===Sn||Dy(i,a))}function JR(e,t,i){_y(e,t)}function ew(e,t){ky(e,t)}function tw(e,t,i){{var a=e.parentNode;a!==null&&_y(a,t)}}function nw(e,t){{var i=e.parentNode;i!==null&&ky(i,t)}}function rw(e,t,i,a,o,s){(s||t[vv]!==!0)&&_y(i,a)}function iw(e,t,i,a,o){(o||t[vv]!==!0)&&ky(i,a)}function aw(e){C("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function lw(e){Jd(e)}var cf=Math.random().toString(36).slice(2),ff="__reactFiber$"+cf,Fy="__reactProps$"+cf,up="__reactContainer$"+cf,Hy="__reactEvents$"+cf,ow="__reactListeners$"+cf,uw="__reactHandles$"+cf;function sw(e){delete e[ff],delete e[Fy],delete e[Hy],delete e[ow],delete e[uw]}function sp(e,t){t[ff]=e}function Sv(e,t){t[up]=e}function GC(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=YC(e);o!==null;){var s=o[ff];if(s)return s;o=YC(o)}return t}e=i,i=e.parentNode}return null}function Eu(e){var t=e[ff]||e[up];return t&&(t.tag===J||t.tag===ne||t.tag===pe||t.tag===K)?t:null}function df(e){if(e.tag===J||e.tag===ne)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Cv(e){return e[Fy]||null}function Vy(e,t){e[Fy]=t}function cw(e){var t=e[Hy];return t===void 0&&(t=e[Hy]=new Set),t}var QC={},XC=h.ReactDebugCurrentFrame;function Ev(e){if(e){var t=e._owner,i=Xi(e.type,e._source,t?t.type:null);XC.setExtraStackFrame(i)}else XC.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 QC)&&(QC[v.message]=!0,Ev(o),C("Failed %s type: %s",i,v.message),Ev(null))}}}var By=[],bv;bv=[];var yo=-1;function bu(e){return{current:e}}function Vr(e,t){if(yo<0){C("Unexpected pop.");return}t!==bv[yo]&&C("Unexpected Fiber popped."),e.current=By[yo],By[yo]=null,bv[yo]=null,yo--}function Br(e,t,i){yo++,By[yo]=e.current,bv[yo]=i,e.current=t}var jy;jy={};var ji={};Object.freeze(ji);var go=bu(ji),Tl=bu(!1),Py=ji;function pf(e,t,i){return i&&Dl(t)?Py:go.current}function KC(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 ji;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";La(a,s,"context",v)}return o&&KC(e,t,s),s}}function Rv(){return Tl.current}function Dl(e){{var t=e.childContextTypes;return t!=null}}function wv(e){Vr(Tl,e),Vr(go,e)}function $y(e){Vr(Tl,e),Vr(go,e)}function qC(e,t,i){{if(go.current!==ji)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 ZC(e,t,i){{var a=e.stateNode,o=t.childContextTypes;if(typeof a.getChildContext!="function"){{var s=Xe(e)||"Unknown";jy[s]||(jy[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";La(o,d,"child context",m)}return rt({},i,d)}}function xv(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||ji;return Py=go.current,Br(go,i,e),Br(Tl,Tl.current,e),!0}}function JC(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=ZC(e,t,Py);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 fw(e){{if(!pd(e)||e.tag!==P)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 K:return t.stateNode.context;case P:{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 eE(e){So===null?So=[e]:So.push(e)}function dw(e){Iy=!0,eE(e)}function tE(){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,ks=null,Co=1,Eo="";function pw(e){return Os(),(e.flags&cd)!==ze}function hw(e){return Os(),_v}function vw(){var e=Eo,t=Co,i=t&~mw(t);return i.toString(32)+e}function Ms(e,t){Os(),vf[mf++]=_v,vf[mf++]=Dv,Dv=e,_v=t}function nE(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 E=s-s%5,b=(1<<E)-1,O=(d&b).toString(32),k=d>>E,F=s-E,V=kv(t)+F,$=v<<F,ge=$|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),nE(e,i,a)}}function kv(e){return 32-bc(e)}function mw(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 yw(){return Os(),ks!==null?{id:Co,overflow:Eo}:null}function gw(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,Aa=!1,Ls=!1,xu=null;function Sw(){Aa&&C("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rE(){Ls=!0}function Cw(){return Ls}function Ew(e){var t=e.stateNode.containerInfo;return la=VR(t),fr=e,Aa=!0,xu=null,Ls=!1,!0}function bw(e,t,i){return la=BR(t),fr=e,Aa=!0,xu=null,Ls=!1,i!==null&&gw(e,i),!0}function iE(e,t){switch(e.tag){case K:{KR(e.stateNode.containerInfo,t);break}case J:{var i=(e.mode&at)!==Ve;ZR(e.type,e.memoizedProps,e.stateNode,t,i);break}case pe:{var a=e.memoizedState;a.dehydrated!==null&&qR(a.dehydrated,t);break}}}function aE(e,t){iE(e,t);var i=xD();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(Ls)return;switch(e.tag){case K:{var i=e.stateNode.containerInfo;switch(t.tag){case J:var a=t.type;t.pendingProps,JR(i,a);break;case ne:var o=t.pendingProps;ew(i,o);break}break}case J:{var s=e.type,d=e.memoizedProps,v=e.stateNode;switch(t.tag){case J:{var m=t.type,E=t.pendingProps,b=(e.mode&at)!==Ve;rw(s,d,v,m,E,b);break}case ne:{var O=t.pendingProps,k=(e.mode&at)!==Ve;iw(s,d,v,O,k);break}}break}case pe:{var F=e.memoizedState,V=F.dehydrated;if(V!==null)switch(t.tag){case J:var $=t.type;t.pendingProps,tw(V,$);break;case ne:var ge=t.pendingProps;nw(V,ge);break}break}default:return}}}function lE(e,t){t.flags=t.flags&~ci|Yt,Qy(e,t)}function oE(e,t){switch(e.tag){case J:{var i=e.type;e.pendingProps;var a=AR(t,i);return a!==null?(e.stateNode=a,fr=e,la=HR(a),!0):!1}case ne:{var o=e.pendingProps,s=NR(t,o);return s!==null?(e.stateNode=s,fr=e,la=null,!0):!1}case pe:{var d=zR(t);if(d!==null){var v={dehydrated:d,treeContext:yw(),retryLane:Fr};e.memoizedState=v;var m=TD(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(Aa){var t=la;if(!t){Xy(e)&&(Qy(fr,e),Ky()),lE(fr,e),Aa=!1,fr=e;return}var i=t;if(!oE(e,t)){Xy(e)&&(Qy(fr,e),Ky()),t=op(i);var a=fr;if(!t||!oE(e,t)){lE(fr,e),Aa=!1,fr=e;return}aE(a,i)}}}function Rw(e,t,i){var a=e.stateNode,o=!Ls,s=jR(a,e.type,e.memoizedProps,t,i,e,o);return e.updateQueue=s,s!==null}function ww(e){var t=e.stateNode,i=e.memoizedProps,a=PR(t,i,e);if(a){var o=fr;if(o!==null)switch(o.tag){case K:{var s=o.stateNode.containerInfo,d=(o.mode&at)!==Ve;QR(s,t,i,d);break}case J:{var v=o.type,m=o.memoizedProps,E=o.stateNode,b=(o.mode&at)!==Ve;XR(v,m,E,t,i,b);break}}}return a}function xw(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.");$R(i,e)}function Tw(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 IR(i)}function uE(e){for(var t=e.return;t!==null&&t.tag!==J&&t.tag!==K&&t.tag!==pe;)t=t.return;fr=t}function Mv(e){if(e!==fr)return!1;if(!Aa)return uE(e),Aa=!0,!1;if(e.tag!==K&&(e.tag!==J||GR(e.type)&&!Ly(e.type,e.memoizedProps))){var t=la;if(t)if(Xy(e))sE(e),Ky();else for(;t;)aE(e,t),t=op(t)}return uE(e),e.tag===pe?la=Tw(e):la=fr?op(e.stateNode):null,!0}function Dw(){return Aa&&la!==null}function sE(e){for(var t=la;t;)iE(e,t),t=op(t)}function yf(){fr=null,la=null,Aa=!1,Ls=!1}function cE(){xu!==null&&(ib(xu),xu=null)}function dr(){return Aa}function Zy(e){xu===null?xu=[e]:xu.push(e)}var _w=h.ReactCurrentBatchConfig,kw=null;function Mw(){return _w.transition}var Na={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Ow=function(e){for(var t=null,i=e;i!==null;)i.mode&an&&(t=i),i=i.return;return t},As=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=As(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 c(e){var t=[];n(t,l,e,oc(e)),id(p,t)}function p(e){OC(e,0)}function S(e){var t=df(e);if(jo(t))return e}function w(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 Z(){r&&(r.detachEvent("onpropertychange",J),r=null,l=null)}function J(e){e.propertyName==="value"&&S(l)&&c(e)}function q(e,t,i){e==="focusin"?(Z(),B(t,i)):e==="focusout"&&Z()}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 xe(e,t){if(e==="click")return S(t)}function yn(e,t){if(e==="input"||e==="change")return S(t)}function L(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ve(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=w:gu(v)?_?m=yn:(m=ve,E=q):Ee(v)&&(m=xe),m){var b=m(t,i);if(b){n(e,b,a,o);return}}E&&E(t,v,i),t==="focusout"&&L(v)}function U(){Ti("onMouseEnter",["mouseout","mouseover"]),Ti("onMouseLeave",["mouseout","mouseover"]),Ti("onPointerEnter",["pointerout","pointerover"]),Ti("onPointerLeave",["pointerout","pointerover"])}function ae(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&&(_s(E)||cp(E)))return}if(!(!m&&!v)){var b;if(o.window===o)b=o;else{var O=o.ownerDocument;O?b=O.defaultView||O.parentWindow:b=window}var k,F;if(m){var V=a.relatedTarget||a.toElement;if(k=i,F=V?_s(V):null,F!==null){var $=Gr(F);(F!==$||F.tag!==te&&F.tag!==ne)&&(F=null)}}else k=null,F=i;if(k!==F){var ge=Rl,Fe="onMouseLeave",ke="onMouseEnter",vt="mouse";(t==="pointerout"||t==="pointerover")&&(ge=Wd,Fe="onPointerLeave",ke="onPointerEnter",vt="pointer");var ct=k==null?b:df(k),N=F==null?b:df(F),I=new ge(Fe,vt+"leave",k,a,o);I.target=ct,I.relatedTarget=N;var z=null,ee=_s(o);if(ee===i){var Se=new ge(ke,vt+"enter",F,a,o);Se.target=N,Se.relatedTarget=ct,z=Se}F1(e,I,z,k,F)}}}function _e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var be=typeof Object.is=="function"?Object.is:_e;function Oe(e,t){if(be(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)||!be(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 bt(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,E=0,b=e,O=null;e:for(;;){for(var k=null;b===t&&(i===0||b.nodeType===ga)&&(d=s+i),b===a&&(o===0||b.nodeType===ga)&&(v=s+o),b.nodeType===ga&&(s+=b.nodeValue.length),(k=b.firstChild)!==null;)O=b,b=k;for(;;){if(b===e)break e;if(O===t&&++m===i&&(d=s),O===a&&++E===o&&(v=s),(k=b.nextSibling)!==null)break;b=O,O=b.parentNode}b=k}return d===-1||v===-1?null:{start:d,end:v}}function g1(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=bt(e,d),b=bt(e,v);if(E&&b){if(o.rangeCount===1&&o.anchorNode===E.node&&o.anchorOffset===E.offset&&o.focusNode===b.node&&o.focusOffset===b.offset)return;var O=i.createRange();O.setStart(E.node,E.offset),o.removeAllRanges(),d>v?(o.addRange(O),o.extend(b.node,b.offset)):(O.setEnd(b.node,b.offset),o.addRange(O))}}}function SC(e){return e&&e.nodeType===ga}function CC(e,t){return!e||!t?!1:e===t?!0:SC(e)?!1:SC(t)?CC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function S1(e){return e&&e.ownerDocument&&CC(e.ownerDocument.documentElement,e)}function C1(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function EC(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){if(C1(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 E1(){var e=EC();return{focusedElem:e,selectionRange:gy(e)?R1(e):null}}function b1(e){var t=EC(),i=e.focusedElem,a=e.selectionRange;if(t!==i&&S1(i)){a!==null&&gy(i)&&w1(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 R1(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=xl(e),t||{start:0,end:0}}function w1(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)):g1(e,t)}var x1=hn&&"documentMode"in document&&document.documentMode<=11;function T1(){Cr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var of=null,Sy=null,qd=null,Cy=!1;function D1(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 _1(e){return e.window===e?e.document:e.nodeType===Ui?e:e.ownerDocument}function bC(e,t,i){var a=_1(i);if(!(Cy||of==null||of!==il(a))){var o=D1(of);if(!qd||!Oe(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 k1(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,bC(e,a,o);break;case"selectionchange":if(x1)break;case"keydown":case"keyup":bC(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"),xC=av("animationiteration"),TC=av("animationstart"),DC=av("transitionend"),_C=new Map,kC=["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){_C.set(e,t),Cr(t,[e])}function M1(){for(var e=0;e<kC.length;e++){var t=kC[e],i=t.toLowerCase(),a=t[0].toUpperCase()+t.slice(1);Su(i,"on"+a)}Su(wC,"onAnimationEnd"),Su(xC,"onAnimationIteration"),Su(TC,"onAnimationStart"),Su("dblclick","onDoubleClick"),Su("focusin","onFocus"),Su("focusout","onBlur"),Su(DC,"onTransitionEnd")}function O1(e,t,i,a,o,s,d){var v=_C.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=Rl;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 xC:case TC:m=qc;break;case DC: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 b=(s&Il)!==0;{var O=!b&&t==="scroll",k=z1(i,v,a.type,b,O);if(k.length>0){var F=new m(v,E,null,a,o);e.push({event:F,listeners:k})}}}}M1(),U(),lf(),T1(),ev();function L1(e,t,i,a,o,s,d){O1(e,t,i,a,o,s);var v=(s&Gm)===0;v&&(ae(e,t,i,a,o),M(e,t,i,a,o),k1(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"],by=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Zd));function MC(e,t,i){var a=e.type||"unknown-event";e.currentTarget=i,ba(a,t,void 0,e),e.currentTarget=null}function A1(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;MC(e,m,v),a=d}else for(var E=0;E<t.length;E++){var b=t[E],O=b.instance,k=b.currentTarget,F=b.listener;if(O!==a&&e.isPropagationStopped())return;MC(e,F,k),a=O}}function OC(e,t){for(var i=(t&Il)!==0,a=0;a<e.length;a++){var o=e[a],s=o.event,d=o.listeners;A1(s,d,i)}ud()}function N1(e,t,i,a,o){var s=oc(i),d=[];L1(d,e,a,i,s,t),OC(d,t)}function un(e,t){by.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=cw(t),o=H1(e,i);a.has(o)||(LC(t,e,Ku,i),a.add(o))}function Ry(e,t,i){by.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),LC(i,e,a,t)}var lv="_reactListening"+Math.random().toString(36).slice(2);function Jd(e){if(!e[lv]){e[lv]=!0,ft.forEach(function(i){i!=="selectionchange"&&(by.has(i)||Ry(i,!1,e),Ry(i,!0,e))});var t=e.nodeType===Ui?e:e.ownerDocument;t!==null&&(t[lv]||(t[lv]=!0,Ry("selectionchange",!1,t)))}}function LC(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 wy(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===K||m===re){var E=v.stateNode.containerInfo;if(AC(E,d))break;if(m===re)for(var b=v.return;b!==null;){var O=b.tag;if(O===K||O===re){var k=b.stateNode.containerInfo;if(AC(k,d))return}b=b.return}for(;E!==null;){var F=_s(E);if(F===null)return;var V=F.tag;if(V===te||V===ne){v=s=F;continue e}E=E.parentNode}}v=v.return}}}id(function(){return N1(e,t,i,s)})}function ep(e,t,i){return{instance:e,listener:t,currentTarget:i}}function z1(e,t,i,a,o,s){for(var d=t!==null?t+"Capture":null,v=a?d:t,m=[],E=e,b=null;E!==null;){var O=E,k=O.stateNode,F=O.tag;if(F===te&&k!==null&&(b=k,v!==null)){var V=Yl(E,v);V!=null&&m.push(ep(E,V,b))}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===te&&d!==null){var m=d,E=Yl(o,i);E!=null&&a.unshift(ep(o,E,m));var b=Yl(o,t);b!=null&&a.push(ep(o,b,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 U1(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 NC(e,t,i,a,o){for(var s=t._reactName,d=[],v=i;v!==null&&v!==a;){var m=v,E=m.alternate,b=m.stateNode,O=m.tag;if(E!==null&&E===a)break;if(O===te&&b!==null){var k=b;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 F1(e,t,i,a,o){var s=a&&o?U1(a,o):null;a!==null&&NC(e,t,a,s,!1),o!==null&&i!==null&&NC(e,i,o,s,!0)}function H1(e,t){return e+"__"+(t?"capture":"bubble")}var Si=!1,tp="dangerouslySetInnerHTML",uv="suppressContentEditableWarning",Cu="suppressHydrationWarning",zC="autoFocus",Ts="children",Ds="style",sv="__html",xy,cv,np,UC,fv,FC,HC;xy={dialog:!0,webview:!0},cv=function(e,t){lc(e,t),Jf(e,t),Sh(e,t,{registrationNameDependencies:Pt,possibleRegistrationNames:fa})},FC=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)))}},UC=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)},HC=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 V1=/\r\n?/g,B1=/\u0000|\uFFFD/g;function dv(e){Wi(e);var t=typeof e=="string"?e:""+e;return t.replace(V1,`
|
|
118
|
+
`).replace(B1,"")}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 VC(e){return e.nodeType===Ui?e:e.ownerDocument}function j1(){}function hv(e){e.onclick=j1}function P1(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===zC||(Pt.hasOwnProperty(s)?d!=null&&(typeof d!="function"&&fv(s,d),s==="onScroll"&&un("scroll",t)):d!=null&&Gi(t,s,d,o))}}function $1(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 I1(e,t,i,a){var o,s=VC(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 b=d;t.multiple?b.multiple=!0:t.size&&(b.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 W1(e,t){return VC(t).createTextNode(e)}function Y1(e,t,i,a){var o=Sa(t,i);cv(t,i);var s;switch(t){case"dialog":un("cancel",e),un("close",e),s=i;break;case"iframe":case"object":case"embed":un("load",e),s=i;break;case"video":case"audio":for(var d=0;d<Zd.length;d++)un(Zd[d],e);s=i;break;case"source":un("error",e),s=i;break;case"img":case"image":case"link":un("error",e),un("load",e),s=i;break;case"details":un("toggle",e),s=i;break;case"input":x(e,i),s=y(e,i),un("invalid",e);break;case"option":Nt(e,i),s=i;break;case"select":Yu(e,i),s=Wu(e,i),un("invalid",e);break;case"textarea":Xp(e,i),s=If(e,i),un("invalid",e);break;default:s=i}switch(ic(t,s),P1(t,e,a,s,o),t){case"input":li(e),ie(e,i,!1);break;case"textarea":li(e),qp(e);break;case"option":Vt(e,i);break;case"select":Pf(e,i);break;default:typeof s.onClick=="function"&&hv(e);break}}function G1(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=Wu(e,i),v=Wu(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,b=null;for(m in d)if(!(v.hasOwnProperty(m)||!d.hasOwnProperty(m)||d[m]==null))if(m===Ds){var O=d[m];for(E in O)O.hasOwnProperty(E)&&(b||(b={}),b[E]="")}else m===tp||m===Ts||m===uv||m===Cu||m===zC||(Pt.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(E in F)F.hasOwnProperty(E)&&(!k||!k.hasOwnProperty(E))&&(b||(b={}),b[E]="");for(E in k)k.hasOwnProperty(E)&&F[E]!==k[E]&&(b||(b={}),b[E]=k[E])}else b||(s||(s=[]),s.push(m,b)),b=k;else if(m===tp){var V=k?k[sv]:void 0,$=F?F[sv]:void 0;V!=null&&$!==V&&(s=s||[]).push(m,V)}else m===Ts?(typeof k=="string"||typeof k=="number")&&(s=s||[]).push(m,""+k):m===uv||m===Cu||(Pt.hasOwnProperty(m)?(k!=null&&(typeof k!="function"&&fv(m,k),m==="onScroll"&&un("scroll",e)),!s&&F!==k&&(s=[])):(s=s||[]).push(m,k))}return b&&(Qu(b,v[Ds]),(s=s||[]).push(Ds,b)),s}function Q1(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($1(e,t,s,d),i){case"input":j(e,o);break;case"textarea":Kp(e,o);break;case"select":Fm(e,o);break}}function X1(e){{var t=e.toLowerCase();return ac.hasOwnProperty(t)&&ac[t]||null}}function K1(e,t,i,a,o,s,d){var v,m;switch(v=Sa(t,i),cv(t,i),t){case"dialog":un("cancel",e),un("close",e);break;case"iframe":case"object":case"embed":un("load",e);break;case"video":case"audio":for(var E=0;E<Zd.length;E++)un(Zd[E],e);break;case"source":un("error",e);break;case"img":case"image":case"link":un("error",e),un("load",e);break;case"details":un("toggle",e);break;case"input":x(e,i),un("invalid",e);break;case"option":Nt(e,i);break;case"select":Yu(e,i),un("invalid",e);break;case"textarea":Xp(e,i),un("invalid",e);break}ic(t,i);{m=new Set;for(var b=e.attributes,O=0;O<b.length;O++){var k=b[O].name.toLowerCase();switch(k){case"value":break;case"checked":break;case"selected":break;default:m.add(b[O].name)}}}var F=null;for(var V in i)if(i.hasOwnProperty(V)){var $=i[V];if(V===Ts)typeof $=="string"?e.textContent!==$&&(i[Cu]!==!0&&pv(e.textContent,$,s,d),F=[Ts,$]):typeof $=="number"&&e.textContent!==""+$&&(i[Cu]!==!0&&pv(e.textContent,$,s,d),F=[Ts,""+$]);else if(Pt.hasOwnProperty(V))$!=null&&(typeof $!="function"&&fv(V,$),V==="onScroll"&&un("scroll",e));else if(d&&typeof v=="boolean"){var ge=void 0,Fe=v&&Je?null:ri(V);if(i[Cu]!==!0){if(!(V===uv||V===Cu||V==="value"||V==="checked"||V==="selected")){if(V===tp){var ke=e.innerHTML,vt=$?$[sv]:void 0;if(vt!=null){var ct=HC(e,vt);ct!==ke&&np(V,ke,ct)}}else if(V===Ds){if(m.delete(V),FC){var N=Wm($);ge=e.getAttribute("style"),N!==ge&&np(V,ge,N)}}else if(v&&!Je)m.delete(V.toLowerCase()),ge=$a(e,V,$),$!==ge&&np(V,ge,$);else if(!vn(V,Fe,v)&&!Wt(V,$,Fe,v)){var I=!1;if(Fe!==null)m.delete(Fe.attributeName),ge=Mi(e,V,$,Fe);else{var z=a;if(z===ya&&(z=ec(t)),z===ya)m.delete(V.toLowerCase());else{var ee=X1(V);ee!==null&&ee!==V&&(I=!0,m.delete(ee)),m.delete(V)}ge=$a(e,V,$)}var Se=Je;!Se&&$!==ge&&!I&&np(V,ge,$)}}}}}switch(d&&m.size>0&&i[Cu]!==!0&&UC(m),t){case"input":li(e),ie(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 q1(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 Z1(e,t,i){switch(t){case"input":je(e,i);return;case"textarea":Wf(e,i);return;case"select":Hm(e,i);return}}var rp=function(){},ip=function(){};{var J1=["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"],BC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],eR=BC.concat(["button"]),tR=["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=rt({},e||jC),a={tag:t};return BC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),eR.indexOf(t)!==-1&&(i.pTagInButtonScope=null),J1.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 nR=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 tR.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},rR=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||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=nR(e,o)?null:a,d=s?null:rR(e,i),v=s||d;if(v){var m=v.tag,E=!!s+"|"+e+"|"+m;if(!PC[E]){PC[E]=!0;var b=e,O="";if(e==="#text"?/\S/.test(t)?b="Text nodes":(b="Whitespace text nodes",O=" Make sure you don't have any extra whitespace between tags on each line of your source code."):b="<"+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",b,m,O,k)}else C("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",b,m)}}}}var vv="suppressHydrationWarning",mv="$",yv="/$",ap="$?",lp="$!",iR="style",My=null,Oy=null;function aR(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===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 lR(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 oR(e){My=qr(),Oy=E1();var t=null;return Un(!1),t}function uR(e){b1(Oy),Un(My),My=null,Oy=null}function sR(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=I1(e,t,i,s);return sp(o,E),Vy(E,t),E}function cR(e,t){e.appendChild(t)}function fR(e,t,i,a,o){switch(Y1(e,t,i,a),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function dR(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 G1(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 pR(e,t,i,a){{var o=i;rp(null,e,o.ancestorInfo)}var s=W1(e,t);return sp(a,s),s}function hR(){var e=window.event;return e===void 0?Da:cr(e.type)}var Ay=typeof setTimeout=="function"?setTimeout:void 0,vR=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=-1,$C=typeof Promise=="function"?Promise:void 0,mR=typeof queueMicrotask=="function"?queueMicrotask:typeof $C<"u"?function(e){return $C.resolve(null).then(e).catch(yR)}:Ay;function yR(e){setTimeout(function(){throw e})}function gR(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 SR(e,t,i,a,o,s){Q1(e,t,i,a,o),Vy(e,o)}function IC(e){nc(e,"")}function CR(e,t,i){e.nodeValue=i}function ER(e,t){e.appendChild(t)}function bR(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 RR(e,t,i){e.insertBefore(t,i)}function wR(e,t,i){e.nodeType===Sn?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function xR(e,t){e.removeChild(t)}function TR(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),st(t);return}else a--;else(s===mv||s===ap||s===lp)&&a++}i=o}while(i);st(t)}function DR(e,t){e.nodeType===Sn?zy(e.parentNode,t):e.nodeType===Mr&&zy(e,t),st(e)}function _R(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function kR(e){e.nodeValue=""}function MR(e,t){e=e;var i=t[iR],a=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=rc("display",a)}function OR(e,t){e.nodeValue=t}function LR(e){e.nodeType===Mr?e.textContent="":e.nodeType===Ui&&e.documentElement&&e.removeChild(e.documentElement)}function AR(e,t,i){return e.nodeType!==Mr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function NR(e,t){return t===""||e.nodeType!==ga?null:e}function zR(e){return e.nodeType!==Sn?null:e}function WC(e){return e.data===ap}function Uy(e){return e.data===lp}function UR(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 FR(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 HR(e){return gv(e.firstChild)}function VR(e){return gv(e.firstChild)}function BR(e){return gv(e.nextSibling)}function jR(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&at)!==Be;return K1(e,t,i,v,a,E,d)}function PR(e,t,i,a){return sp(i,e),i.mode&at,q1(e,t)}function $R(e,t){sp(t,e)}function IR(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 YC(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 WR(e){st(e)}function YR(e){st(e)}function GR(e){return e!=="head"&&e!=="body"}function QR(e,t,i,a){var o=!0;pv(t.nodeValue,i,a,o)}function XR(e,t,i,a,o,s){if(t[vv]!==!0){var d=!0;pv(a.nodeValue,o,s,d)}}function KR(e,t){t.nodeType===Mr?Ty(e,t):t.nodeType===Sn||Dy(e,t)}function qR(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===Mr?Ty(i,t):t.nodeType===Sn||Dy(i,t))}}function ZR(e,t,i,a,o){(o||t[vv]!==!0)&&(a.nodeType===Mr?Ty(i,a):a.nodeType===Sn||Dy(i,a))}function JR(e,t,i){_y(e,t)}function ew(e,t){ky(e,t)}function tw(e,t,i){{var a=e.parentNode;a!==null&&_y(a,t)}}function nw(e,t){{var i=e.parentNode;i!==null&&ky(i,t)}}function rw(e,t,i,a,o,s){(s||t[vv]!==!0)&&_y(i,a)}function iw(e,t,i,a,o){(o||t[vv]!==!0)&&ky(i,a)}function aw(e){C("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function lw(e){Jd(e)}var cf=Math.random().toString(36).slice(2),ff="__reactFiber$"+cf,Fy="__reactProps$"+cf,up="__reactContainer$"+cf,Hy="__reactEvents$"+cf,ow="__reactListeners$"+cf,uw="__reactHandles$"+cf;function sw(e){delete e[ff],delete e[Fy],delete e[Hy],delete e[ow],delete e[uw]}function sp(e,t){t[ff]=e}function Sv(e,t){t[up]=e}function GC(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=YC(e);o!==null;){var s=o[ff];if(s)return s;o=YC(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===ne||t.tag===de||t.tag===K)?t:null}function df(e){if(e.tag===te||e.tag===ne)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Cv(e){return e[Fy]||null}function Vy(e,t){e[Fy]=t}function cw(e){var t=e[Hy];return t===void 0&&(t=e[Hy]=new Set),t}var QC={},XC=h.ReactDebugCurrentFrame;function Ev(e){if(e){var t=e._owner,i=Xi(e.type,e._source,t?t.type:null);XC.setExtraStackFrame(i)}else XC.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 QC)&&(QC[v.message]=!0,Ev(o),C("Failed %s type: %s",i,v.message),Ev(null))}}}var By=[],bv;bv=[];var yo=-1;function bu(e){return{current:e}}function Vr(e,t){if(yo<0){C("Unexpected pop.");return}t!==bv[yo]&&C("Unexpected Fiber popped."),e.current=By[yo],By[yo]=null,bv[yo]=null,yo--}function Br(e,t,i){yo++,By[yo]=e.current,bv[yo]=i,e.current=t}var jy;jy={};var ji={};Object.freeze(ji);var go=bu(ji),Tl=bu(!1),Py=ji;function pf(e,t,i){return i&&Dl(t)?Py:go.current}function KC(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 ji;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";La(a,s,"context",v)}return o&&KC(e,t,s),s}}function Rv(){return Tl.current}function Dl(e){{var t=e.childContextTypes;return t!=null}}function wv(e){Vr(Tl,e),Vr(go,e)}function $y(e){Vr(Tl,e),Vr(go,e)}function qC(e,t,i){{if(go.current!==ji)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 ZC(e,t,i){{var a=e.stateNode,o=t.childContextTypes;if(typeof a.getChildContext!="function"){{var s=Xe(e)||"Unknown";jy[s]||(jy[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";La(o,d,"child context",m)}return rt({},i,d)}}function xv(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||ji;return Py=go.current,Br(go,i,e),Br(Tl,Tl.current,e),!0}}function JC(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=ZC(e,t,Py);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 fw(e){{if(!pd(e)||e.tag!==P)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 K:return t.stateNode.context;case P:{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 eE(e){So===null?So=[e]:So.push(e)}function dw(e){Iy=!0,eE(e)}function tE(){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,ks=null,Co=1,Eo="";function pw(e){return Os(),(e.flags&cd)!==Ue}function hw(e){return Os(),_v}function vw(){var e=Eo,t=Co,i=t&~mw(t);return i.toString(32)+e}function Ms(e,t){Os(),vf[mf++]=_v,vf[mf++]=Dv,Dv=e,_v=t}function nE(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 E=s-s%5,b=(1<<E)-1,O=(d&b).toString(32),k=d>>E,F=s-E,V=kv(t)+F,$=v<<F,ge=$|k,Fe=O+o;Co=1<<V|ge,Eo=Fe}else{var ke=v<<s,vt=ke|d,ct=o;Co=1<<m|vt,Eo=ct}}function Yy(e){Os();var t=e.return;if(t!==null){var i=1,a=0;Ms(e,i),nE(e,i,a)}}function kv(e){return 32-bc(e)}function mw(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 yw(){return Os(),ks!==null?{id:Co,overflow:Eo}:null}function gw(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,Aa=!1,Ls=!1,xu=null;function Sw(){Aa&&C("We should not be hydrating here. This is a bug in React. Please file a bug.")}function rE(){Ls=!0}function Cw(){return Ls}function Ew(e){var t=e.stateNode.containerInfo;return la=VR(t),fr=e,Aa=!0,xu=null,Ls=!1,!0}function bw(e,t,i){return la=BR(t),fr=e,Aa=!0,xu=null,Ls=!1,i!==null&&gw(e,i),!0}function iE(e,t){switch(e.tag){case K:{KR(e.stateNode.containerInfo,t);break}case te:{var i=(e.mode&at)!==Be;ZR(e.type,e.memoizedProps,e.stateNode,t,i);break}case de:{var a=e.memoizedState;a.dehydrated!==null&&qR(a.dehydrated,t);break}}}function aE(e,t){iE(e,t);var i=xD();i.stateNode=t,i.return=e;var a=e.deletions;a===null?(e.deletions=[i],e.flags|=kt):a.push(i)}function Qy(e,t){{if(Ls)return;switch(e.tag){case K:{var i=e.stateNode.containerInfo;switch(t.tag){case te:var a=t.type;t.pendingProps,JR(i,a);break;case ne:var o=t.pendingProps;ew(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,E=t.pendingProps,b=(e.mode&at)!==Be;rw(s,d,v,m,E,b);break}case ne:{var O=t.pendingProps,k=(e.mode&at)!==Be;iw(s,d,v,O,k);break}}break}case de:{var F=e.memoizedState,V=F.dehydrated;if(V!==null)switch(t.tag){case te:var $=t.type;t.pendingProps,tw(V,$);break;case ne:var ge=t.pendingProps;nw(V,ge);break}break}default:return}}}function lE(e,t){t.flags=t.flags&~ci|Yt,Qy(e,t)}function oE(e,t){switch(e.tag){case te:{var i=e.type;e.pendingProps;var a=AR(t,i);return a!==null?(e.stateNode=a,fr=e,la=HR(a),!0):!1}case ne:{var o=e.pendingProps,s=NR(t,o);return s!==null?(e.stateNode=s,fr=e,la=null,!0):!1}case de:{var d=zR(t);if(d!==null){var v={dehydrated:d,treeContext:yw(),retryLane:Fr};e.memoizedState=v;var m=TD(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)!==Be&&(e.flags&Ge)===Ue}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()),lE(fr,e),Aa=!1,fr=e;return}var i=t;if(!oE(e,t)){Xy(e)&&(Qy(fr,e),Ky()),t=op(i);var a=fr;if(!t||!oE(e,t)){lE(fr,e),Aa=!1,fr=e;return}aE(a,i)}}}function Rw(e,t,i){var a=e.stateNode,o=!Ls,s=jR(a,e.type,e.memoizedProps,t,i,e,o);return e.updateQueue=s,s!==null}function ww(e){var t=e.stateNode,i=e.memoizedProps,a=PR(t,i,e);if(a){var o=fr;if(o!==null)switch(o.tag){case K:{var s=o.stateNode.containerInfo,d=(o.mode&at)!==Be;QR(s,t,i,d);break}case te:{var v=o.type,m=o.memoizedProps,E=o.stateNode,b=(o.mode&at)!==Be;XR(v,m,E,t,i,b);break}}}return a}function xw(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.");$R(i,e)}function Tw(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 IR(i)}function uE(e){for(var t=e.return;t!==null&&t.tag!==te&&t.tag!==K&&t.tag!==de;)t=t.return;fr=t}function Mv(e){if(e!==fr)return!1;if(!Aa)return uE(e),Aa=!0,!1;if(e.tag!==K&&(e.tag!==te||GR(e.type)&&!Ly(e.type,e.memoizedProps))){var t=la;if(t)if(Xy(e))sE(e),Ky();else for(;t;)aE(e,t),t=op(t)}return uE(e),e.tag===de?la=Tw(e):la=fr?op(e.stateNode):null,!0}function Dw(){return Aa&&la!==null}function sE(e){for(var t=la;t;)iE(e,t),t=op(t)}function yf(){fr=null,la=null,Aa=!1,Ls=!1}function cE(){xu!==null&&(ib(xu),xu=null)}function dr(){return Aa}function Zy(e){xu===null?xu=[e]:xu.push(e)}var _w=h.ReactCurrentBatchConfig,kw=null;function Mw(){return _w.transition}var Na={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var Ow=function(e){for(var t=null,i=e;i!==null;)i.mode&ln&&(t=i),i=i.return;return t},As=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&ln&&typeof t.UNSAFE_componentWillMount=="function"&&dp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pp.push(e),e.mode&ln&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&hp.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&vp.push(e),e.mode&ln&&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=As(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
|
|
|
@@ -150,7 +150,7 @@ The old API will be supported in all 16.x releases, but applications using it sh
|
|
|
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{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=bu(null),eg;eg={};var Lv=null,gf=null,tg=null,Av=!1;function Nv(){Lv=null,gf=null,tg=null,Av=!1}function dE(){Av=!0}function pE(){Av=!1}function hE(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 Lw(e,t,i){Aw(e,t,i)}function Aw(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===P){var v=xn(i),m=bo(jt,v);m.tag=Uv;var E=a.updateQueue;if(E!==null){var b=E.shared,O=b.pending;O===null?m.next=m:(m.next=O.next,O.next=m),b.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 $=o.sibling;if($!==null){$.return=o.return,o=$;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 zs=null;function ig(e){zs===null?zs=[e]:zs.push(e)}function Nw(){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 vE(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 zw(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 Uw(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 Fw=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&&mb(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&&mb(e),a=o,o=o.return;if(a.tag===K){var s=a.stateNode;return s}else return null}var mE=0,yE=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 gE(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 bo(e,t){var i={eventTime:e,lane:t,tag:mE,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),FT()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,Fw(e,i)}else return Uw(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 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 b=i.lastBaseUpdate;b===null?i.firstBaseUpdate=t:b.next=t,i.lastBaseUpdate=t}function Hw(e,t,i,a,o,s){switch(i.tag){case yE:{var d=i.payload;if(typeof d=="function"){dE();var v=d.call(s,a,o);{if(e.mode&an){wn(!0);try{d.call(s,a,o)}finally{wn(!1)}}pE()}return v}return d}case ag:e.flags=e.flags&~An|Ge;case mE:{var m=i.payload,E;if(typeof m=="function"){dE(),E=m.call(s,a,o);{if(e.mode&an){wn(!0);try{m.call(s,a,o)}finally{wn(!1)}}pE()}}else E=m;return E==null?a:rt({},a,E)}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,E=m.next;m.next=null,d===null?s=E:d.next=E,d=m;var b=e.alternate;if(b!==null){var O=b.updateQueue,k=O.lastBaseUpdate;k!==d&&(k===null?O.firstBaseUpdate=E:k.next=E,O.lastBaseUpdate=m)}}if(s!==null){var F=o.baseState,V=W,$=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=Hw(e,o,Me,F,t,i);var z=Me.callback;if(z!==null&&Me.lane!==pt){e.flags|=Zi;var te=o.effects;te===null?o.effects=[Me]:te.push(Me)}}else{var N={eventTime:st,lane:vt,tag:Me.tag,payload:Me.payload,callback:Me.callback,next:null};Fe===null?(ge=Fe=N,$=F):Fe=Fe.next=N,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&&($=F),o.baseState=$,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);Pp(V),e.lanes=V,e.memoizedState=F}Hv=null}function Vw(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function SE(){Fv=!1}function jv(){return Fv}function CE(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,Vw(d,i))}}var sg={},EE=new Y.Component().refs,cg,fg,dg,pg,hg,bE,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))}},bE=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){wn(!0);try{s=i(a,o)}finally{wn(!1)}}bE(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=bo(o,s);d.payload=t,i!=null&&(Pv(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=bo(o,s);d.tag=yE,d.payload=t,i!=null&&(Pv(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=bo(a,o);s.tag=Uv,t!=null&&(Pv(t,"forceUpdate"),s.callback=t);var d=Tu(i,s,o);d!==null&&(qn(d,i,o,a),Vv(d,i,o)),bd(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){wn(!0);try{m=v.shouldComponentUpdate(a,s,d)}finally{wn(!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?!Le(i,a)||!Le(o,s):!0}function Bw(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 xE(e,t){t.updater=Sg,e.stateNode=t,Ko(t,e),t._reactInternalInstance=sg}function TE(e,t,i){var a=!1,o=ji,s=ji,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===Lo?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 E=t.contextTypes;a=E!=null,s=a?hf(e,o):ji}var b=new t(i,s);if(e.mode&an){wn(!0);try{b=new t(i,s)}finally{wn(!1)}}var O=e.memoizedState=b.state!==null&&b.state!==void 0?b.state:null;xE(e,b);{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,b.state===null?"null":"undefined",k))}if(typeof t.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"){var F=null,V=null,$=null;if(typeof b.componentWillMount=="function"&&b.componentWillMount.__suppressDeprecationWarning!==!0?F="componentWillMount":typeof b.UNSAFE_componentWillMount=="function"&&(F="UNSAFE_componentWillMount"),typeof b.componentWillReceiveProps=="function"&&b.componentWillReceiveProps.__suppressDeprecationWarning!==!0?V="componentWillReceiveProps":typeof b.UNSAFE_componentWillReceiveProps=="function"&&(V="UNSAFE_componentWillReceiveProps"),typeof b.componentWillUpdate=="function"&&b.componentWillUpdate.__suppressDeprecationWarning!==!0?$="componentWillUpdate":typeof b.UNSAFE_componentWillUpdate=="function"&&($="UNSAFE_componentWillUpdate"),F!==null||V!==null||$!==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.
|
|
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=bu(null),eg;eg={};var Lv=null,gf=null,tg=null,Av=!1;function Nv(){Lv=null,gf=null,tg=null,Av=!1}function dE(){Av=!0}function pE(){Av=!1}function hE(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=tt(o.childLanes,t)):(a.childLanes=tt(a.childLanes,t),o!==null&&(o.childLanes=tt(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 Lw(e,t,i){Aw(e,t,i)}function Aw(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===P){var v=xn(i),m=bo(jt,v);m.tag=Uv;var E=a.updateQueue;if(E!==null){var b=E.shared,O=b.pending;O===null?m.next=m:(m.next=O.next,O.next=m),b.pending=m}}a.lanes=tt(a.lanes,i);var k=a.alternate;k!==null&&(k.lanes=tt(k.lanes,i)),rg(a.return,i,e),s.lanes=tt(s.lanes,i);break}d=d.next}}else if(a.tag===lt)o=a.type===e.type?null:a.child;else if(a.tag===Dt){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=tt(F.lanes,i);var V=F.alternate;V!==null&&(V.lanes=tt(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 $=o.sibling;if($!==null){$.return=o.return,o=$;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 zs=null;function ig(e){zs===null?zs=[e]:zs.push(e)}function Nw(){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 vE(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 zw(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 Uw(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 Fw=zv;function zv(e,t){e.lanes=tt(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=tt(i.lanes,t)),i===null&&(e.flags&(Yt|ci))!==Ue&&mb(e);for(var a=e,o=e.return;o!==null;)o.childLanes=tt(o.childLanes,t),i=o.alternate,i!==null?i.childLanes=tt(i.childLanes,t):(o.flags&(Yt|ci))!==Ue&&mb(e),a=o,o=o.return;if(a.tag===K){var s=a.stateNode;return s}else return null}var mE=0,yE=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 gE(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 bo(e,t){var i={eventTime:e,lane:t,tag:mE,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),FT()){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,Fw(e,i)}else return Uw(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=tt(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 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 b=i.lastBaseUpdate;b===null?i.firstBaseUpdate=t:b.next=t,i.lastBaseUpdate=t}function Hw(e,t,i,a,o,s){switch(i.tag){case yE:{var d=i.payload;if(typeof d=="function"){dE();var v=d.call(s,a,o);{if(e.mode&ln){wn(!0);try{d.call(s,a,o)}finally{wn(!1)}}pE()}return v}return d}case ag:e.flags=e.flags&~An|Ge;case mE:{var m=i.payload,E;if(typeof m=="function"){dE(),E=m.call(s,a,o);{if(e.mode&ln){wn(!0);try{m.call(s,a,o)}finally{wn(!1)}}pE()}}else E=m;return E==null?a:rt({},a,E)}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,E=m.next;m.next=null,d===null?s=E:d.next=E,d=m;var b=e.alternate;if(b!==null){var O=b.updateQueue,k=O.lastBaseUpdate;k!==d&&(k===null?O.firstBaseUpdate=E:k.next=E,O.lastBaseUpdate=m)}}if(s!==null){var F=o.baseState,V=W,$=null,ge=null,Fe=null,ke=s;do{var vt=ke.lane,ct=ke.eventTime;if(ao(a,vt)){if(Fe!==null){var I={eventTime:ct,lane:pt,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null};Fe=Fe.next=I}F=Hw(e,o,ke,F,t,i);var z=ke.callback;if(z!==null&&ke.lane!==pt){e.flags|=Zi;var ee=o.effects;ee===null?o.effects=[ke]:ee.push(ke)}}else{var N={eventTime:ct,lane:vt,tag:ke.tag,payload:ke.payload,callback:ke.callback,next:null};Fe===null?(ge=Fe=N,$=F):Fe=Fe.next=N,V=tt(V,vt)}if(ke=ke.next,ke===null){if(v=o.shared.pending,v===null)break;var Se=v,he=Se.next;Se.next=null,ke=he,o.lastBaseUpdate=Se,o.shared.pending=null}}while(!0);Fe===null&&($=F),o.baseState=$,o.firstBaseUpdate=ge,o.lastBaseUpdate=Fe;var We=o.shared.interleaved;if(We!==null){var qe=We;do V=tt(V,qe.lane),qe=qe.next;while(qe!==We)}else s===null&&(o.shared.lanes=W);Pp(V),e.lanes=V,e.memoizedState=F}Hv=null}function Vw(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function SE(){Fv=!1}function jv(){return Fv}function CE(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,Vw(d,i))}}var sg={},EE=new Y.Component().refs,cg,fg,dg,pg,hg,bE,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))}},bE=function(e,t){if(t===void 0){var i=yt(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&ln){wn(!0);try{s=i(a,o)}finally{wn(!1)}}bE(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=bo(o,s);d.payload=t,i!=null&&(Pv(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=bo(o,s);d.tag=yE,d.payload=t,i!=null&&(Pv(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=bo(a,o);s.tag=Uv,t!=null&&(Pv(t,"forceUpdate"),s.callback=t);var d=Tu(i,s,o);d!==null&&(qn(d,i,o,a),Vv(d,i,o)),bd(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&ln){wn(!0);try{m=v.shouldComponentUpdate(a,s,d)}finally{wn(!1)}}m===void 0&&C("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",yt(t)||"Component")}return m}return t.prototype&&t.prototype.isPureReactComponent?!Oe(i,a)||!Oe(o,s):!0}function Bw(e,t,i){var a=e.stateNode;{var o=yt(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.",yt(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.",yt(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"||dt(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 xE(e,t){t.updater=Sg,e.stateNode=t,Ko(t,e),t._reactInternalInstance=sg}function TE(e,t,i){var a=!1,o=ji,s=ji,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===Lo?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",yt(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):ji}var b=new t(i,s);if(e.mode&ln){wn(!0);try{b=new t(i,s)}finally{wn(!1)}}var O=e.memoizedState=b.state!==null&&b.state!==void 0?b.state:null;xE(e,b);{if(typeof t.getDerivedStateFromProps=="function"&&O===null){var k=yt(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,b.state===null?"null":"undefined",k))}if(typeof t.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"){var F=null,V=null,$=null;if(typeof b.componentWillMount=="function"&&b.componentWillMount.__suppressDeprecationWarning!==!0?F="componentWillMount":typeof b.UNSAFE_componentWillMount=="function"&&(F="UNSAFE_componentWillMount"),typeof b.componentWillReceiveProps=="function"&&b.componentWillReceiveProps.__suppressDeprecationWarning!==!0?V="componentWillReceiveProps":typeof b.UNSAFE_componentWillReceiveProps=="function"&&(V="UNSAFE_componentWillReceiveProps"),typeof b.componentWillUpdate=="function"&&b.componentWillUpdate.__suppressDeprecationWarning!==!0?$="componentWillUpdate":typeof b.UNSAFE_componentWillUpdate=="function"&&($="UNSAFE_componentWillUpdate"),F!==null||V!==null||$!==null){var ge=yt(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
|
|
|
@@ -158,11 +158,11 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
158
158
|
https://reactjs.org/link/unsafe-component-lifecycles`,ge,Fe,F!==null?`
|
|
159
159
|
`+F:"",V!==null?`
|
|
160
160
|
`+V:"",$!==null?`
|
|
161
|
-
`+$:""))}}}return a&&KC(e,o,s),b}function jw(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 DE(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){Bw(e,t,i);var o=e.stateNode;o.props=i,o.state=e.memoizedState,o.refs=EE,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=
|
|
161
|
+
`+$:""))}}}return a&&KC(e,o,s),b}function jw(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 DE(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){Bw(e,t,i);var o=e.stateNode;o.props=i,o.state=e.memoizedState,o.refs=EE,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=yt(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&ln&&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")&&(jw(e,o),Bv(e,i,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"){var E=et;E|=Lr,(e.mode&pi)!==Be&&(E|=Ar),e.flags|=E}}function Pw(e,t,i,a){var o=e.stateNode,s=e.memoizedProps;o.props=s;var d=o.context,v=t.contextType,m=ji;if(typeof v=="object"&&v!==null)m=Hn(v);else{var E=pf(e,t,!0);m=hf(e,E)}var b=t.getDerivedStateFromProps,O=typeof b=="function"||typeof o.getSnapshotBeforeUpdate=="function";!O&&(typeof o.UNSAFE_componentWillReceiveProps=="function"||typeof o.componentWillReceiveProps=="function")&&(s!==i||d!==m)&&DE(e,o,i,m),SE();var k=e.memoizedState,F=o.state=k;if(Bv(e,i,o,a),F=e.memoizedState,s===i&&k===F&&!Rv()&&!jv()){if(typeof o.componentDidMount=="function"){var V=et;V|=Lr,(e.mode&pi)!==Be&&(V|=Ar),e.flags|=V}return!1}typeof b=="function"&&(gg(e,t,b,i),F=e.memoizedState);var $=jv()||wE(e,t,s,i,k,F,m);if($){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=et;ge|=Lr,(e.mode&pi)!==Be&&(ge|=Ar),e.flags|=ge}}else{if(typeof o.componentDidMount=="function"){var Fe=et;Fe|=Lr,(e.mode&pi)!==Be&&(Fe|=Ar),e.flags|=Fe}e.memoizedProps=i,e.memoizedState=F}return o.props=i,o.state=F,o.context=m,$}function $w(e,t,i,a,o){var s=t.stateNode;gE(e,t);var d=t.memoizedProps,v=t.type===t.elementType?d:za(t.type,d);s.props=v;var m=t.pendingProps,E=s.context,b=i.contextType,O=ji;if(typeof b=="object"&&b!==null)O=Hn(b);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||E!==O)&&DE(t,s,a,O),SE();var $=t.memoizedState,ge=s.state=$;if(Bv(t,a,s,o),ge=t.memoizedState,d===m&&$===ge&&!Rv()&&!jv()&&!Ne)return typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||$!==e.memoizedState)&&(t.flags|=et),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||$!==e.memoizedState)&&(t.flags|=si),!1;typeof F=="function"&&(gg(t,i,F,a),ge=t.memoizedState);var Fe=jv()||wE(t,i,v,a,$,ge,O)||Ne;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|=et),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=si)):(typeof s.componentDidUpdate=="function"&&(d!==e.memoizedProps||$!==e.memoizedState)&&(t.flags|=et),typeof s.getSnapshotBeforeUpdate=="function"&&(d!==e.memoizedProps||$!==e.memoizedState)&&(t.flags|=si),t.memoizedProps=a,t.memoizedState=ge),s.props=a,s.state=ge,s.context=O,Fe}var Eg,bg,Rg,wg,xg,_E=function(e,t){};Eg=!1,bg=!1,Rg={},wg={},xg={},_E=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";wg[i]||(wg[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&ln||Ye)&&!(i._owner&&i._self&&i._owner.stateNode!==i._self)){var o=Xe(e)||"Component";Rg[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),Rg[o]=!0)}if(i._owner){var s=i._owner,d;if(s){var v=s;if(v.tag!==P)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 E=""+a;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===E)return t.ref;var b=function(O){var k=m.refs;k===EE&&(k=m.refs={}),O===null?delete k[E]:k[E]=O};return b._stringRef=E,b}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=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 kE(e){var t=e._payload,i=e._init;return i(t)}function ME(e){function t(N,I){if(e){var z=N.deletions;z===null?(N.deletions=[I],N.flags|=_t):z.push(I)}}function i(N,I){if(!e)return null;for(var z=I;z!==null;)t(N,z),z=z.sibling;return null}function a(N,I){for(var z=new Map,te=I;te!==null;)te.key!==null?z.set(te.key,te):z.set(te.index,te),te=te.sibling;return z}function o(N,I){var z=$s(N,I);return z.index=0,z.sibling=null,z}function s(N,I,z){if(N.index=z,!e)return N.flags|=cd,I;var te=N.alternate;if(te!==null){var Se=te.index;return Se<I?(N.flags|=Yt,I):Se}else return N.flags|=Yt,I}function d(N){return e&&N.alternate===null&&(N.flags|=Yt),N}function v(N,I,z,te){if(I===null||I.tag!==ne){var Se=ZS(z,N.mode,te);return Se.return=N,Se}else{var he=o(I,z);return he.return=N,he}}function m(N,I,z,te){var Se=z.type;if(Se===Oi)return b(N,I,z.props.children,te,z.key);if(I!==null&&(I.elementType===Se||Cb(I,z)||typeof Se=="object"&&Se!==null&&Se.$$typeof===Bn&&kE(Se)===I.type)){var he=o(I,z.props);return he.ref=yp(N,I,z),he.return=N,he._debugSource=z._source,he._debugOwner=z._owner,he}var We=qS(z,N.mode,te);return We.ref=yp(N,I,z),We.return=N,We}function E(N,I,z,te){if(I===null||I.tag!==re||I.stateNode.containerInfo!==z.containerInfo||I.stateNode.implementation!==z.implementation){var Se=JS(z,N.mode,te);return Se.return=N,Se}else{var he=o(I,z.children||[]);return he.return=N,he}}function b(N,I,z,te,Se){if(I===null||I.tag!==Be){var he=Uu(z,N.mode,te,Se);return he.return=N,he}else{var We=o(I,z);return We.return=N,We}}function O(N,I,z){if(typeof I=="string"&&I!==""||typeof I=="number"){var te=ZS(""+I,N.mode,z);return te.return=N,te}if(typeof I=="object"&&I!==null){switch(I.$$typeof){case Ia:{var Se=qS(I,N.mode,z);return Se.ref=yp(N,null,I),Se.return=N,Se}case Wr:{var he=JS(I,N.mode,z);return he.return=N,he}case Bn:{var We=I._payload,qe=I._init;return O(N,qe(We),z)}}if(ft(I)||Li(I)){var Ft=Uu(I,N.mode,z,null);return Ft.return=N,Ft}$v(N,I)}return typeof I=="function"&&Iv(N),null}function k(N,I,z,te){var Se=I!==null?I.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return Se!==null?null:v(N,I,""+z,te);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Ia:return z.key===Se?m(N,I,z,te):null;case Wr:return z.key===Se?E(N,I,z,te):null;case Bn:{var he=z._payload,We=z._init;return k(N,I,We(he),te)}}if(ft(z)||Li(z))return Se!==null?null:b(N,I,z,te,null);$v(N,z)}return typeof z=="function"&&Iv(N),null}function F(N,I,z,te,Se){if(typeof te=="string"&&te!==""||typeof te=="number"){var he=N.get(z)||null;return v(I,he,""+te,Se)}if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Ia:{var We=N.get(te.key===null?z:te.key)||null;return m(I,We,te,Se)}case Wr:{var qe=N.get(te.key===null?z:te.key)||null;return E(I,qe,te,Se)}case Bn:var Ft=te._payload,wt=te._init;return F(N,I,z,wt(Ft),Se)}if(ft(te)||Li(te)){var kn=N.get(z)||null;return b(I,kn,te,Se,null)}$v(I,te)}return typeof te=="function"&&Iv(I),null}function V(N,I,z){{if(typeof N!="object"||N===null)return I;switch(N.$$typeof){case Ia:case Wr:_E(N,z);var te=N.key;if(typeof te!="string")break;if(I===null){I=new Set,I.add(te);break}if(!I.has(te)){I.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 Bn:var Se=N._payload,he=N._init;V(he(Se),I,z);break}}return I}function $(N,I,z,te){for(var Se=null,he=0;he<z.length;he++){var We=z[he];Se=V(We,Se,N)}for(var qe=null,Ft=null,wt=I,kn=0,xt=0,bn=null;wt!==null&&xt<z.length;xt++){wt.index>xt?(bn=wt,wt=null):bn=wt.sibling;var Pr=k(N,wt,z[xt],te);if(Pr===null){wt===null&&(wt=bn);break}e&&wt&&Pr.alternate===null&&t(N,wt),kn=s(Pr,kn,xt),Ft===null?qe=Pr:Ft.sibling=Pr,Ft=Pr,wt=bn}if(xt===z.length){if(i(N,wt),dr()){var Sr=xt;Ms(N,Sr)}return qe}if(wt===null){for(;xt<z.length;xt++){var $i=O(N,z[xt],te);$i!==null&&(kn=s($i,kn,xt),Ft===null?qe=$i:Ft.sibling=$i,Ft=$i)}if(dr()){var ti=xt;Ms(N,ti)}return qe}for(var ni=a(N,wt);xt<z.length;xt++){var $r=F(ni,N,xt,z[xt],te);$r!==null&&(e&&$r.alternate!==null&&ni.delete($r.key===null?xt:$r.key),kn=s($r,kn,xt),Ft===null?qe=$r:Ft.sibling=$r,Ft=$r)}if(e&&ni.forEach(function(Uf){return t(N,Uf)}),dr()){var _o=xt;Ms(N,_o)}return qe}function ge(N,I,z,te){var Se=Li(z);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"&&z[Symbol.toStringTag]==="Generator"&&(bg||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."),bg=!0),z.entries===Se&&(Eg||C("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Eg=!0);var he=Se.call(z);if(he)for(var We=null,qe=he.next();!qe.done;qe=he.next()){var Ft=qe.value;We=V(Ft,We,N)}}var wt=Se.call(z);if(wt==null)throw new Error("An iterable object provided no iterator.");for(var kn=null,xt=null,bn=I,Pr=0,Sr=0,$i=null,ti=wt.next();bn!==null&&!ti.done;Sr++,ti=wt.next()){bn.index>Sr?($i=bn,bn=null):$i=bn.sibling;var ni=k(N,bn,ti.value,te);if(ni===null){bn===null&&(bn=$i);break}e&&bn&&ni.alternate===null&&t(N,bn),Pr=s(ni,Pr,Sr),xt===null?kn=ni:xt.sibling=ni,xt=ni,bn=$i}if(ti.done){if(i(N,bn),dr()){var $r=Sr;Ms(N,$r)}return kn}if(bn===null){for(;!ti.done;Sr++,ti=wt.next()){var _o=O(N,ti.value,te);_o!==null&&(Pr=s(_o,Pr,Sr),xt===null?kn=_o:xt.sibling=_o,xt=_o)}if(dr()){var Uf=Sr;Ms(N,Uf)}return kn}for(var Gp=a(N,bn);!ti.done;Sr++,ti=wt.next()){var zl=F(Gp,N,Sr,ti.value,te);zl!==null&&(e&&zl.alternate!==null&&Gp.delete(zl.key===null?Sr:zl.key),Pr=s(zl,Pr,Sr),xt===null?kn=zl:xt.sibling=zl,xt=zl)}if(e&&Gp.forEach(function(r_){return t(N,r_)}),dr()){var n_=Sr;Ms(N,n_)}return kn}function Fe(N,I,z,te){if(I!==null&&I.tag===ne){i(N,I.sibling);var Se=o(I,z);return Se.return=N,Se}i(N,I);var he=ZS(z,N.mode,te);return he.return=N,he}function Me(N,I,z,te){for(var Se=z.key,he=I;he!==null;){if(he.key===Se){var We=z.type;if(We===Oi){if(he.tag===Be){i(N,he.sibling);var qe=o(he,z.props.children);return qe.return=N,qe._debugSource=z._source,qe._debugOwner=z._owner,qe}}else if(he.elementType===We||Cb(he,z)||typeof We=="object"&&We!==null&&We.$$typeof===Bn&&kE(We)===he.type){i(N,he.sibling);var Ft=o(he,z.props);return Ft.ref=yp(N,he,z),Ft.return=N,Ft._debugSource=z._source,Ft._debugOwner=z._owner,Ft}i(N,he);break}else t(N,he);he=he.sibling}if(z.type===Oi){var wt=Uu(z.props.children,N.mode,te,z.key);return wt.return=N,wt}else{var kn=qS(z,N.mode,te);return kn.ref=yp(N,I,z),kn.return=N,kn}}function vt(N,I,z,te){for(var Se=z.key,he=I;he!==null;){if(he.key===Se)if(he.tag===re&&he.stateNode.containerInfo===z.containerInfo&&he.stateNode.implementation===z.implementation){i(N,he.sibling);var We=o(he,z.children||[]);return We.return=N,We}else{i(N,he);break}else t(N,he);he=he.sibling}var qe=JS(z,N.mode,te);return qe.return=N,qe}function st(N,I,z,te){var Se=typeof z=="object"&&z!==null&&z.type===Oi&&z.key===null;if(Se&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case Ia:return d(Me(N,I,z,te));case Wr:return d(vt(N,I,z,te));case Bn:var he=z._payload,We=z._init;return st(N,I,We(he),te)}if(ft(z))return $(N,I,z,te);if(Li(z))return ge(N,I,z,te);$v(N,z)}return typeof z=="string"&&z!==""||typeof z=="number"?d(Fe(N,I,""+z,te)):(typeof z=="function"&&Iv(N),i(N,I))}return st}var Cf=ME(!0),OE=ME(!1);function Iw(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=$s(i,i.pendingProps);for(t.child=a,a.return=t;i.sibling!==null;)i=i.sibling,a=a.sibling=$s(i,i.pendingProps),a.return=t;a.sibling=null}}function Ww(e,t){for(var i=e.child;i!==null;)CD(i,t),i=i.sibling}var gp={},Du=bu(gp),Sp=bu(gp),Wv=bu(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 LE(){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=aR(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=lR(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 Yw=0,NE=1,zE=1,Cp=2,Ua=bu(Yw);function kg(e,t){return(e&t)!==0}function bf(e){return e&NE}function Mg(e,t){return e&NE|t}function Gw(e,t){return e|t}function _u(e,t){Br(Ua,t,e)}function Rf(e){Vr(Ua,e)}function Qw(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||WC(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,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 Xw(e,t){var i=t._getVersion,a=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var me=h.ReactCurrentDispatcher,Ep=h.ReactCurrentBatchConfig,Ag,wf;Ag=new Set;var Us=W,Ut=null,Yn=null,Gn=null,Qv=!1,bp=!1,Rp=0,Kw=0,qw=25,G=null,oa=null,ku=-1,Ng=!1;function Lt(){{var e=G;oa===null?oa=[e]:oa.push(e)}}function se(){{var e=G;oa!==null&&(ku++,oa[ku]!==e&&Zw(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.",G,typeof e)}function Zw(e){{var t=Xe(Ut);if(!Ag.has(t)&&(Ag.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+`
|
|
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=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 kE(e){var t=e._payload,i=e._init;return i(t)}function ME(e){function t(N,I){if(e){var z=N.deletions;z===null?(N.deletions=[I],N.flags|=kt):z.push(I)}}function i(N,I){if(!e)return null;for(var z=I;z!==null;)t(N,z),z=z.sibling;return null}function a(N,I){for(var z=new Map,ee=I;ee!==null;)ee.key!==null?z.set(ee.key,ee):z.set(ee.index,ee),ee=ee.sibling;return z}function o(N,I){var z=$s(N,I);return z.index=0,z.sibling=null,z}function s(N,I,z){if(N.index=z,!e)return N.flags|=cd,I;var ee=N.alternate;if(ee!==null){var Se=ee.index;return Se<I?(N.flags|=Yt,I):Se}else return N.flags|=Yt,I}function d(N){return e&&N.alternate===null&&(N.flags|=Yt),N}function v(N,I,z,ee){if(I===null||I.tag!==ne){var Se=ZS(z,N.mode,ee);return Se.return=N,Se}else{var he=o(I,z);return he.return=N,he}}function m(N,I,z,ee){var Se=z.type;if(Se===Oi)return b(N,I,z.props.children,ee,z.key);if(I!==null&&(I.elementType===Se||Cb(I,z)||typeof Se=="object"&&Se!==null&&Se.$$typeof===Bn&&kE(Se)===I.type)){var he=o(I,z.props);return he.ref=yp(N,I,z),he.return=N,he._debugSource=z._source,he._debugOwner=z._owner,he}var We=qS(z,N.mode,ee);return We.ref=yp(N,I,z),We.return=N,We}function E(N,I,z,ee){if(I===null||I.tag!==re||I.stateNode.containerInfo!==z.containerInfo||I.stateNode.implementation!==z.implementation){var Se=JS(z,N.mode,ee);return Se.return=N,Se}else{var he=o(I,z.children||[]);return he.return=N,he}}function b(N,I,z,ee,Se){if(I===null||I.tag!==He){var he=Uu(z,N.mode,ee,Se);return he.return=N,he}else{var We=o(I,z);return We.return=N,We}}function O(N,I,z){if(typeof I=="string"&&I!==""||typeof I=="number"){var ee=ZS(""+I,N.mode,z);return ee.return=N,ee}if(typeof I=="object"&&I!==null){switch(I.$$typeof){case Ia:{var Se=qS(I,N.mode,z);return Se.ref=yp(N,null,I),Se.return=N,Se}case Wr:{var he=JS(I,N.mode,z);return he.return=N,he}case Bn:{var We=I._payload,qe=I._init;return O(N,qe(We),z)}}if(dt(I)||Li(I)){var Ft=Uu(I,N.mode,z,null);return Ft.return=N,Ft}$v(N,I)}return typeof I=="function"&&Iv(N),null}function k(N,I,z,ee){var Se=I!==null?I.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return Se!==null?null:v(N,I,""+z,ee);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Ia:return z.key===Se?m(N,I,z,ee):null;case Wr:return z.key===Se?E(N,I,z,ee):null;case Bn:{var he=z._payload,We=z._init;return k(N,I,We(he),ee)}}if(dt(z)||Li(z))return Se!==null?null:b(N,I,z,ee,null);$v(N,z)}return typeof z=="function"&&Iv(N),null}function F(N,I,z,ee,Se){if(typeof ee=="string"&&ee!==""||typeof ee=="number"){var he=N.get(z)||null;return v(I,he,""+ee,Se)}if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case Ia:{var We=N.get(ee.key===null?z:ee.key)||null;return m(I,We,ee,Se)}case Wr:{var qe=N.get(ee.key===null?z:ee.key)||null;return E(I,qe,ee,Se)}case Bn:var Ft=ee._payload,wt=ee._init;return F(N,I,z,wt(Ft),Se)}if(dt(ee)||Li(ee)){var kn=N.get(z)||null;return b(I,kn,ee,Se,null)}$v(I,ee)}return typeof ee=="function"&&Iv(I),null}function V(N,I,z){{if(typeof N!="object"||N===null)return I;switch(N.$$typeof){case Ia:case Wr:_E(N,z);var ee=N.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=N._payload,he=N._init;V(he(Se),I,z);break}}return I}function $(N,I,z,ee){for(var Se=null,he=0;he<z.length;he++){var We=z[he];Se=V(We,Se,N)}for(var qe=null,Ft=null,wt=I,kn=0,xt=0,bn=null;wt!==null&&xt<z.length;xt++){wt.index>xt?(bn=wt,wt=null):bn=wt.sibling;var Pr=k(N,wt,z[xt],ee);if(Pr===null){wt===null&&(wt=bn);break}e&&wt&&Pr.alternate===null&&t(N,wt),kn=s(Pr,kn,xt),Ft===null?qe=Pr:Ft.sibling=Pr,Ft=Pr,wt=bn}if(xt===z.length){if(i(N,wt),dr()){var Sr=xt;Ms(N,Sr)}return qe}if(wt===null){for(;xt<z.length;xt++){var $i=O(N,z[xt],ee);$i!==null&&(kn=s($i,kn,xt),Ft===null?qe=$i:Ft.sibling=$i,Ft=$i)}if(dr()){var ti=xt;Ms(N,ti)}return qe}for(var ni=a(N,wt);xt<z.length;xt++){var $r=F(ni,N,xt,z[xt],ee);$r!==null&&(e&&$r.alternate!==null&&ni.delete($r.key===null?xt:$r.key),kn=s($r,kn,xt),Ft===null?qe=$r:Ft.sibling=$r,Ft=$r)}if(e&&ni.forEach(function(Uf){return t(N,Uf)}),dr()){var _o=xt;Ms(N,_o)}return qe}function ge(N,I,z,ee){var Se=Li(z);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"&&z[Symbol.toStringTag]==="Generator"&&(bg||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."),bg=!0),z.entries===Se&&(Eg||C("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Eg=!0);var he=Se.call(z);if(he)for(var We=null,qe=he.next();!qe.done;qe=he.next()){var Ft=qe.value;We=V(Ft,We,N)}}var wt=Se.call(z);if(wt==null)throw new Error("An iterable object provided no iterator.");for(var kn=null,xt=null,bn=I,Pr=0,Sr=0,$i=null,ti=wt.next();bn!==null&&!ti.done;Sr++,ti=wt.next()){bn.index>Sr?($i=bn,bn=null):$i=bn.sibling;var ni=k(N,bn,ti.value,ee);if(ni===null){bn===null&&(bn=$i);break}e&&bn&&ni.alternate===null&&t(N,bn),Pr=s(ni,Pr,Sr),xt===null?kn=ni:xt.sibling=ni,xt=ni,bn=$i}if(ti.done){if(i(N,bn),dr()){var $r=Sr;Ms(N,$r)}return kn}if(bn===null){for(;!ti.done;Sr++,ti=wt.next()){var _o=O(N,ti.value,ee);_o!==null&&(Pr=s(_o,Pr,Sr),xt===null?kn=_o:xt.sibling=_o,xt=_o)}if(dr()){var Uf=Sr;Ms(N,Uf)}return kn}for(var Gp=a(N,bn);!ti.done;Sr++,ti=wt.next()){var zl=F(Gp,N,Sr,ti.value,ee);zl!==null&&(e&&zl.alternate!==null&&Gp.delete(zl.key===null?Sr:zl.key),Pr=s(zl,Pr,Sr),xt===null?kn=zl:xt.sibling=zl,xt=zl)}if(e&&Gp.forEach(function(r_){return t(N,r_)}),dr()){var n_=Sr;Ms(N,n_)}return kn}function Fe(N,I,z,ee){if(I!==null&&I.tag===ne){i(N,I.sibling);var Se=o(I,z);return Se.return=N,Se}i(N,I);var he=ZS(z,N.mode,ee);return he.return=N,he}function ke(N,I,z,ee){for(var Se=z.key,he=I;he!==null;){if(he.key===Se){var We=z.type;if(We===Oi){if(he.tag===He){i(N,he.sibling);var qe=o(he,z.props.children);return qe.return=N,qe._debugSource=z._source,qe._debugOwner=z._owner,qe}}else if(he.elementType===We||Cb(he,z)||typeof We=="object"&&We!==null&&We.$$typeof===Bn&&kE(We)===he.type){i(N,he.sibling);var Ft=o(he,z.props);return Ft.ref=yp(N,he,z),Ft.return=N,Ft._debugSource=z._source,Ft._debugOwner=z._owner,Ft}i(N,he);break}else t(N,he);he=he.sibling}if(z.type===Oi){var wt=Uu(z.props.children,N.mode,ee,z.key);return wt.return=N,wt}else{var kn=qS(z,N.mode,ee);return kn.ref=yp(N,I,z),kn.return=N,kn}}function vt(N,I,z,ee){for(var Se=z.key,he=I;he!==null;){if(he.key===Se)if(he.tag===re&&he.stateNode.containerInfo===z.containerInfo&&he.stateNode.implementation===z.implementation){i(N,he.sibling);var We=o(he,z.children||[]);return We.return=N,We}else{i(N,he);break}else t(N,he);he=he.sibling}var qe=JS(z,N.mode,ee);return qe.return=N,qe}function ct(N,I,z,ee){var Se=typeof z=="object"&&z!==null&&z.type===Oi&&z.key===null;if(Se&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case Ia:return d(ke(N,I,z,ee));case Wr:return d(vt(N,I,z,ee));case Bn:var he=z._payload,We=z._init;return ct(N,I,We(he),ee)}if(dt(z))return $(N,I,z,ee);if(Li(z))return ge(N,I,z,ee);$v(N,z)}return typeof z=="string"&&z!==""||typeof z=="number"?d(Fe(N,I,""+z,ee)):(typeof z=="function"&&Iv(N),i(N,I))}return ct}var Cf=ME(!0),OE=ME(!1);function Iw(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=$s(i,i.pendingProps);for(t.child=a,a.return=t;i.sibling!==null;)i=i.sibling,a=a.sibling=$s(i,i.pendingProps),a.return=t;a.sibling=null}}function Ww(e,t){for(var i=e.child;i!==null;)CD(i,t),i=i.sibling}var gp={},Du=bu(gp),Sp=bu(gp),Wv=bu(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 LE(){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=aR(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=lR(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 Yw=0,NE=1,zE=1,Cp=2,Ua=bu(Yw);function kg(e,t){return(e&t)!==0}function bf(e){return e&NE}function Mg(e,t){return e&NE|t}function Gw(e,t){return e|t}function _u(e,t){Br(Ua,t,e)}function Rf(e){Vr(Ua,e)}function Qw(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===de){var i=t.memoizedState;if(i!==null){var a=i.dehydrated;if(a===null||WC(a)||Uy(a))return t}}else if(t.tag===St&&t.memoizedProps.revealOrder!==void 0){var o=(t.flags&Ge)!==Ue;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 Xw(e,t){var i=t._getVersion,a=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,a]:e.mutableSourceEagerHydrationData.push(t,a)}var me=h.ReactCurrentDispatcher,Ep=h.ReactCurrentBatchConfig,Ag,wf;Ag=new Set;var Us=W,Ut=null,Yn=null,Gn=null,Qv=!1,bp=!1,Rp=0,Kw=0,qw=25,G=null,oa=null,ku=-1,Ng=!1;function Lt(){{var e=G;oa===null?oa=[e]:oa.push(e)}}function se(){{var e=G;oa!==null&&(ku++,oa[ku]!==e&&Zw(e))}}function xf(e){e!=null&&!dt(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 Zw(e){{var t=Xe(Ut);if(!Ag.has(t)&&(Ag.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
|
|
@@ -175,13 +175,13 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`)}}retur
|
|
|
175
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.",G),!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(!be(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=r0:oa!==null?me.current=n0:me.current=t0;var d=i(a,o);if(bp){var v=0;do{if(bp=!1,Rp=0,v>=qw)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=i0,d=i(a,o)}while(bp)}me.current=om,t._debugHookTypes=oa;var m=Yn!==null&&Yn.next!==null;if(Us=W,Ut=null,Yn=null,Gn=null,G=null,oa=null,ku=-1,e!==null&&(e.flags&jn)!==(t.flags&jn)&&(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=Rp!==0;return Rp=0,e}function UE(e,t,i){t.updateQueue=e.updateQueue,(t.mode&pi)!==Ve?t.flags&=~(Xl|Ar|Jt|Je):t.flags&=~(Jt|Je),e.lanes=au(e.lanes,i)}function FE(){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,G=null,KE=!1,bp=!1,Rp=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 HE(){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=nx.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,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 b=d.next,O=s.baseState,k=null,F=null,V=null,$=b;do{var ge=$.lane;if(ao(Us,ge)){if(V!==null){var Me={lane:pt,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};V=V.next=Me}if($.hasEagerState)O=$.eagerState;else{var vt=$.action;O=e(O,vt)}}else{var Fe={lane:ge,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};V===null?(F=V=Fe,k=O):V=V.next=Fe,Ut.lanes=et(Ut.lanes,ge),Pp(ge)}$=$.next}while($!==null&&$!==b);V===null?k=O:V.next=F,be(O,a.memoizedState)||Mp(),a.memoizedState=O,a.baseState=k,a.baseQueue=V,o.lastRenderedState=O}var st=o.interleaved;if(st!==null){var N=st;do{var I=N.lane;Ut.lanes=et(Ut.lanes,I),Pp(I),N=N.next}while(N!==st)}else d===null&&(o.lanes=W);var z=o.dispatch;return[a.memoizedState,z]}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 b=E.action;v=e(v,b),E=E.next}while(E!==m);be(v,a.memoizedState)||Mp(),a.memoizedState=v,a.baseQueue===null&&(a.baseState=v),o.lastRenderedState=v}return[v,s]}function j_(e,t,i){}function P_(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(),wf||s!==i()&&(C("The result of getServerSnapshot should be cached to avoid an infinite loop"),wf=!0)}else{if(s=t(),!wf){var v=t();be(s,v)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!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)||VE(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,wp(In|pr,BE.bind(null,a,E,s,t),void 0,null),s}function Xv(e,t,i){var a=Ut,o=ua(),s=t();if(!wf){var d=t();be(s,d)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var v=o.memoizedState,m=!be(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,wp(In|pr,BE.bind(null,a,E,s,t),void 0,null);var b=xm();if(b===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ps(b,Us)||VE(a,t,s)}return s}function VE(e,t,i){e.flags|=is;var a={getSnapshot:t,value:i},o=Ut.updateQueue;if(o===null)o=HE(),Ut.updateQueue=o,o.stores=[a];else{var s=o.stores;s===null?o.stores=[a]:s.push(a)}}function BE(e,t,i,a){t.value=i,t.getSnapshot=a,PE(t)&&$E(e)}function jE(e,t,i){var a=function(){PE(t)&&$E(e)};return i(a)}function PE(e){var t=e.getSnapshot,i=e.value;try{var a=t();return!be(i,a)}catch{return!0}}function $E(e){var t=Ci(e,$e);t!==null&&qn(t,e,$e,jt)}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=rx.bind(null,Ut,i);return[t.memoizedState,a]}function jg(e){return Hg(Ug)}function Pg(e){return Vg(Ug)}function wp(e,t,i,a){var o={tag:e,create:t,destroy:i,deps:a,next:null},s=Ut.updateQueue;if(s===null)s=HE(),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 $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;Ut.flags|=e,o.memoizedState=wp(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=wp(t,i,d,s);return}}}Ut.flags|=e,o.memoizedState=wp(In|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 Ig(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|=Lr,(Ut.mode&pi)!==Ve&&(i|=Ar),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|=Lr,(Ut.mode&pi)!==Ve&&(o|=Ar),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 Jw(e,t){}var rm=Jw;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 WE(e){var t=ua(),i=Yn,a=i.memoizedState;return GE(t,a,e)}function YE(e){var t=ua();if(Yn===null)return t.memoizedState=e,e;var i=Yn.memoizedState;return GE(t,i,e)}function GE(e,t,i){var a=!ty(Us);if(a){if(!be(i,t)){var o=Dd();Ut.lanes=et(Ut.lanes,o),Pp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Mp()),e.memoizedState=i,i}function ex(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=ex.bind(null,i),o=kl();return o.memoizedState=a,[t,a]}function QE(){var e=jg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}function XE(){var e=Pg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}var KE=!1;function tx(){return KE}function qg(){var e=kl(),t=xm(),i=t.identifierPrefix,a;if(dr()){var o=vw();a=":"+i+"R"+o;var s=Rp++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=Kw++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function lm(){var e=ua(),t=e.memoizedState;return t}function nx(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(qE(e))ZE(t,o);else{var s=vE(e,t,o,a);if(s!==null){var d=ei();qn(s,e,a,d),JE(s,t,a)}}e0(e,a)}function rx(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(qE(e))ZE(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,E=d(m,i);if(o.hasEagerState=!0,o.eagerState=E,be(E,m)){zw(e,t,o,a);return}}catch{}finally{me.current=v}}}var b=vE(e,t,o,a);if(b!==null){var O=ei();qn(b,e,a,O),JE(b,t,a)}}e0(e,a)}function qE(e){var t=e.alternate;return e===Ut||t!==null&&t===Ut}function ZE(e,t){bp=Qv=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function JE(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 e0(e,t,i){yl(e,t)}var om={readContext:Hn,useCallback:jr,useContext:jr,useEffect:jr,useImperativeHandle:jr,useInsertionEffect:jr,useLayoutEffect:jr,useMemo:jr,useReducer:jr,useRef:jr,useState:jr,useDebugValue:jr,useDeferredValue:jr,useTransition:jr,useMutableSource:jr,useSyncExternalStore:jr,useId:jr,unstable_isNewReconciler:le},t0=null,n0=null,r0=null,i0=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")};t0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",Lt(),xf(t),Gg(e,t)},useContext:function(e){return G="useContext",Lt(),Hn(e)},useEffect:function(e,t){return G="useEffect",Lt(),xf(t),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Lt(),xf(i),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Lt(),xf(t),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Lt(),xf(t),Wg(e,t)},useMemo:function(e,t){G="useMemo",Lt(),xf(t);var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Lt();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Lt(),$g(e)},useState:function(e){G="useState",Lt();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Lt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",Lt(),Xg(e)},useTransition:function(){return G="useTransition",Lt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",Lt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Lt(),Bg(e,t,i)},useId:function(){return G="useId",Lt(),qg()},unstable_isNewReconciler:le},n0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",se(),Gg(e,t)},useContext:function(e){return G="useContext",se(),Hn(e)},useEffect:function(e,t){return G="useEffect",se(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",se(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",se(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",se(),Wg(e,t)},useMemo:function(e,t){G="useMemo",se();var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",se();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",se(),$g(e)},useState:function(e){G="useState",se();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",se(),void 0},useDeferredValue:function(e){return G="useDeferredValue",se(),Xg(e)},useTransition:function(){return G="useTransition",se(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",se(),Bg(e,t,i)},useId:function(){return G="useId",se(),qg()},unstable_isNewReconciler:le},r0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",se(),im(e,t)},useContext:function(e){return G="useContext",se(),Hn(e)},useEffect:function(e,t){return G="useEffect",se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",se(),tm(e,t)},useMemo:function(e,t){G="useMemo",se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",se();var a=me.current;me.current=Fa;try{return Hg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",se(),qv()},useState:function(e){G="useState",se();var t=me.current;me.current=Fa;try{return jg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",se(),WE(e)},useTransition:function(){return G="useTransition",se(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",se(),Xv(e,t)},useId:function(){return G="useId",se(),lm()},unstable_isNewReconciler:le},i0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",se(),im(e,t)},useContext:function(e){return G="useContext",se(),Hn(e)},useEffect:function(e,t){return G="useEffect",se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",se(),tm(e,t)},useMemo:function(e,t){G="useMemo",se();var i=me.current;me.current=um;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",se();var a=me.current;me.current=um;try{return Vg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",se(),qv()},useState:function(e){G="useState",se();var t=me.current;me.current=um;try{return Pg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",se(),YE(e)},useTransition:function(){return G="useTransition",se(),XE()},useMutableSource:function(e,t,i){return G="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",se(),Xv(e,t)},useId:function(){return G="useId",se(),lm()},unstable_isNewReconciler:le},Ml={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Ke(),Lt(),Gg(e,t)},useContext:function(e){return G="useContext",Ke(),Lt(),Hn(e)},useEffect:function(e,t){return G="useEffect",Ke(),Lt(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Ke(),Lt(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Ke(),Lt(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ke(),Lt(),Wg(e,t)},useMemo:function(e,t){G="useMemo",Ke(),Lt();var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Ke(),Lt();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Ke(),Lt(),$g(e)},useState:function(e){G="useState",Ke(),Lt();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Ke(),Lt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",Ke(),Lt(),Xg(e)},useTransition:function(){return G="useTransition",Ke(),Lt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",Ke(),Lt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Ke(),Lt(),Bg(e,t,i)},useId:function(){return G="useId",Ke(),Lt(),qg()},unstable_isNewReconciler:le},Fa={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Ke(),se(),im(e,t)},useContext:function(e){return G="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return G="useEffect",Ke(),se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Ke(),se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Ke(),se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ke(),se(),tm(e,t)},useMemo:function(e,t){G="useMemo",Ke(),se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Ke(),se();var a=me.current;me.current=Fa;try{return Hg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Ke(),se(),qv()},useState:function(e){G="useState",Ke(),se();var t=me.current;me.current=Fa;try{return jg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Ke(),se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Ke(),se(),WE(e)},useTransition:function(){return G="useTransition",Ke(),se(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Ke(),se(),Xv(e,t)},useId:function(){return G="useId",Ke(),se(),lm()},unstable_isNewReconciler:le},um={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Ke(),se(),im(e,t)},useContext:function(e){return G="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return G="useEffect",Ke(),se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Ke(),se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Ke(),se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ke(),se(),tm(e,t)},useMemo:function(e,t){G="useMemo",Ke(),se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Ke(),se();var a=me.current;me.current=Fa;try{return Vg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Ke(),se(),qv()},useState:function(e){G="useState",Ke(),se();var t=me.current;me.current=Fa;try{return Pg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Ke(),se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Ke(),se(),YE(e)},useTransition:function(){return G="useTransition",Ke(),se(),XE()},useMutableSource:function(e,t,i){return G="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Ke(),se(),Xv(e,t)},useId:function(){return G="useId",Ke(),se(),lm()},unstable_isNewReconciler:le}}var Mu=f.unstable_now,a0=0,sm=-1,Dp=-1,cm=-1,Jg=!1,fm=!1;function l0(){return Jg}function ix(){fm=!0}function ax(){Jg=!1,fm=!1}function lx(){Jg=fm,fm=!1}function o0(){return a0}function u0(){a0=Mu()}function eS(e){Dp=Mu(),e.actualStartTime<0&&(e.actualStartTime=Mu())}function s0(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 K:var a=i.stateNode;a.effectDuration+=t;return;case Ie: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 K:var a=i.stateNode;a!==null&&(a.passiveEffectDuration+=t);return;case Ie:var o=i.stateNode;o!==null&&(o.passiveEffectDuration+=t);return}i=i.return}}}function Ll(){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 ox(e,t){return!0}function aS(e,t){try{var i=ox(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===P)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:",E;if(e.tag===K)E=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
178
|
+
Incoming: %s`,G,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!be(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=r0:oa!==null?me.current=n0:me.current=t0;var d=i(a,o);if(bp){var v=0;do{if(bp=!1,Rp=0,v>=qw)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=i0,d=i(a,o)}while(bp)}me.current=om,t._debugHookTypes=oa;var m=Yn!==null&&Yn.next!==null;if(Us=W,Ut=null,Yn=null,Gn=null,G=null,oa=null,ku=-1,e!==null&&(e.flags&jn)!==(t.flags&jn)&&(e.mode&at)!==Be&&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=Rp!==0;return Rp=0,e}function UE(e,t,i){t.updateQueue=e.updateQueue,(t.mode&pi)!==Be?t.flags&=~(Xl|Ar|Jt|et):t.flags&=~(Jt|et),e.lanes=au(e.lanes,i)}function FE(){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,G=null,KE=!1,bp=!1,Rp=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 HE(){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=nx.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,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 b=d.next,O=s.baseState,k=null,F=null,V=null,$=b;do{var ge=$.lane;if(ao(Us,ge)){if(V!==null){var ke={lane:pt,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};V=V.next=ke}if($.hasEagerState)O=$.eagerState;else{var vt=$.action;O=e(O,vt)}}else{var Fe={lane:ge,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};V===null?(F=V=Fe,k=O):V=V.next=Fe,Ut.lanes=tt(Ut.lanes,ge),Pp(ge)}$=$.next}while($!==null&&$!==b);V===null?k=O:V.next=F,be(O,a.memoizedState)||Mp(),a.memoizedState=O,a.baseState=k,a.baseQueue=V,o.lastRenderedState=O}var ct=o.interleaved;if(ct!==null){var N=ct;do{var I=N.lane;Ut.lanes=tt(Ut.lanes,I),Pp(I),N=N.next}while(N!==ct)}else d===null&&(o.lanes=W);var z=o.dispatch;return[a.memoizedState,z]}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 b=E.action;v=e(v,b),E=E.next}while(E!==m);be(v,a.memoizedState)||Mp(),a.memoizedState=v,a.baseQueue===null&&(a.baseState=v),o.lastRenderedState=v}return[v,s]}function j_(e,t,i){}function P_(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(),wf||s!==i()&&(C("The result of getServerSnapshot should be cached to avoid an infinite loop"),wf=!0)}else{if(s=t(),!wf){var v=t();be(s,v)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!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)||VE(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,wp(In|pr,BE.bind(null,a,E,s,t),void 0,null),s}function Xv(e,t,i){var a=Ut,o=ua(),s=t();if(!wf){var d=t();be(s,d)||(C("The result of getSnapshot should be cached to avoid an infinite loop"),wf=!0)}var v=o.memoizedState,m=!be(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,wp(In|pr,BE.bind(null,a,E,s,t),void 0,null);var b=xm();if(b===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ps(b,Us)||VE(a,t,s)}return s}function VE(e,t,i){e.flags|=is;var a={getSnapshot:t,value:i},o=Ut.updateQueue;if(o===null)o=HE(),Ut.updateQueue=o,o.stores=[a];else{var s=o.stores;s===null?o.stores=[a]:s.push(a)}}function BE(e,t,i,a){t.value=i,t.getSnapshot=a,PE(t)&&$E(e)}function jE(e,t,i){var a=function(){PE(t)&&$E(e)};return i(a)}function PE(e){var t=e.getSnapshot,i=e.value;try{var a=t();return!be(i,a)}catch{return!0}}function $E(e){var t=Ci(e,Ie);t!==null&&qn(t,e,Ie,jt)}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=rx.bind(null,Ut,i);return[t.memoizedState,a]}function jg(e){return Hg(Ug)}function Pg(e){return Vg(Ug)}function wp(e,t,i,a){var o={tag:e,create:t,destroy:i,deps:a,next:null},s=Ut.updateQueue;if(s===null)s=HE(),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 $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;Ut.flags|=e,o.memoizedState=wp(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=wp(t,i,d,s);return}}}Ut.flags|=e,o.memoizedState=wp(In|t,i,d,s)}function Jv(e,t){return(Ut.mode&pi)!==Be?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(et,_l,e,t)}function em(e,t){return Zv(et,_l,e,t)}function Wg(e,t){var i=et;return i|=Lr,(Ut.mode&pi)!==Be&&(i|=Ar),xp(i,Wn,e,t)}function tm(e,t){return Zv(et,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=et;return o|=Lr,(Ut.mode&pi)!==Be&&(o|=Ar),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(et,Wn,IE.bind(null,t,e),a)}function Jw(e,t){}var rm=Jw;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 WE(e){var t=ua(),i=Yn,a=i.memoizedState;return GE(t,a,e)}function YE(e){var t=ua();if(Yn===null)return t.memoizedState=e,e;var i=Yn.memoizedState;return GE(t,i,e)}function GE(e,t,i){var a=!ty(Us);if(a){if(!be(i,t)){var o=Dd();Ut.lanes=tt(Ut.lanes,o),Pp(o),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Mp()),e.memoizedState=i,i}function ex(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=ex.bind(null,i),o=kl();return o.memoizedState=a,[t,a]}function QE(){var e=jg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}function XE(){var e=Pg(),t=e[0],i=ua(),a=i.memoizedState;return[t,a]}var KE=!1;function tx(){return KE}function qg(){var e=kl(),t=xm(),i=t.identifierPrefix,a;if(dr()){var o=vw();a=":"+i+"R"+o;var s=Rp++;s>0&&(a+="H"+s.toString(32)),a+=":"}else{var d=Kw++;a=":"+i+"r"+d.toString(32)+":"}return e.memoizedState=a,a}function lm(){var e=ua(),t=e.memoizedState;return t}function nx(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(qE(e))ZE(t,o);else{var s=vE(e,t,o,a);if(s!==null){var d=ei();qn(s,e,a,d),JE(s,t,a)}}e0(e,a)}function rx(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(qE(e))ZE(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,E=d(m,i);if(o.hasEagerState=!0,o.eagerState=E,be(E,m)){zw(e,t,o,a);return}}catch{}finally{me.current=v}}}var b=vE(e,t,o,a);if(b!==null){var O=ei();qn(b,e,a,O),JE(b,t,a)}}e0(e,a)}function qE(e){var t=e.alternate;return e===Ut||t!==null&&t===Ut}function ZE(e,t){bp=Qv=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function JE(e,t,i){if(Td(i)){var a=t.lanes;a=_d(a,e.pendingLanes);var o=tt(a,i);t.lanes=o,lu(e,o)}}function e0(e,t,i){yl(e,t)}var om={readContext:Hn,useCallback:jr,useContext:jr,useEffect:jr,useImperativeHandle:jr,useInsertionEffect:jr,useLayoutEffect:jr,useMemo:jr,useReducer:jr,useRef:jr,useState:jr,useDebugValue:jr,useDeferredValue:jr,useTransition:jr,useMutableSource:jr,useSyncExternalStore:jr,useId:jr,unstable_isNewReconciler:le},t0=null,n0=null,r0=null,i0=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")};t0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",Lt(),xf(t),Gg(e,t)},useContext:function(e){return G="useContext",Lt(),Hn(e)},useEffect:function(e,t){return G="useEffect",Lt(),xf(t),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Lt(),xf(i),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Lt(),xf(t),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Lt(),xf(t),Wg(e,t)},useMemo:function(e,t){G="useMemo",Lt(),xf(t);var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Lt();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Lt(),$g(e)},useState:function(e){G="useState",Lt();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Lt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",Lt(),Xg(e)},useTransition:function(){return G="useTransition",Lt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",Lt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Lt(),Bg(e,t,i)},useId:function(){return G="useId",Lt(),qg()},unstable_isNewReconciler:le},n0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",se(),Gg(e,t)},useContext:function(e){return G="useContext",se(),Hn(e)},useEffect:function(e,t){return G="useEffect",se(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",se(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",se(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",se(),Wg(e,t)},useMemo:function(e,t){G="useMemo",se();var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",se();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",se(),$g(e)},useState:function(e){G="useState",se();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",se(),void 0},useDeferredValue:function(e){return G="useDeferredValue",se(),Xg(e)},useTransition:function(){return G="useTransition",se(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",se(),Bg(e,t,i)},useId:function(){return G="useId",se(),qg()},unstable_isNewReconciler:le},r0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",se(),im(e,t)},useContext:function(e){return G="useContext",se(),Hn(e)},useEffect:function(e,t){return G="useEffect",se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",se(),tm(e,t)},useMemo:function(e,t){G="useMemo",se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",se();var a=me.current;me.current=Fa;try{return Hg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",se(),qv()},useState:function(e){G="useState",se();var t=me.current;me.current=Fa;try{return jg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",se(),WE(e)},useTransition:function(){return G="useTransition",se(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",se(),Xv(e,t)},useId:function(){return G="useId",se(),lm()},unstable_isNewReconciler:le},i0={readContext:function(e){return Hn(e)},useCallback:function(e,t){return G="useCallback",se(),im(e,t)},useContext:function(e){return G="useContext",se(),Hn(e)},useEffect:function(e,t){return G="useEffect",se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",se(),tm(e,t)},useMemo:function(e,t){G="useMemo",se();var i=me.current;me.current=um;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",se();var a=me.current;me.current=um;try{return Vg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",se(),qv()},useState:function(e){G="useState",se();var t=me.current;me.current=um;try{return Pg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",se(),YE(e)},useTransition:function(){return G="useTransition",se(),XE()},useMutableSource:function(e,t,i){return G="useMutableSource",se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",se(),Xv(e,t)},useId:function(){return G="useId",se(),lm()},unstable_isNewReconciler:le},Ml={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Ke(),Lt(),Gg(e,t)},useContext:function(e){return G="useContext",Ke(),Lt(),Hn(e)},useEffect:function(e,t){return G="useEffect",Ke(),Lt(),Jv(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Ke(),Lt(),Yg(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Ke(),Lt(),Ig(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ke(),Lt(),Wg(e,t)},useMemo:function(e,t){G="useMemo",Ke(),Lt();var i=me.current;me.current=Ml;try{return Qg(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Ke(),Lt();var a=me.current;me.current=Ml;try{return Fg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Ke(),Lt(),$g(e)},useState:function(e){G="useState",Ke(),Lt();var t=me.current;me.current=Ml;try{return Kv(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Ke(),Lt(),void 0},useDeferredValue:function(e){return G="useDeferredValue",Ke(),Lt(),Xg(e)},useTransition:function(){return G="useTransition",Ke(),Lt(),Kg()},useMutableSource:function(e,t,i){return G="useMutableSource",Ke(),Lt(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Ke(),Lt(),Bg(e,t,i)},useId:function(){return G="useId",Ke(),Lt(),qg()},unstable_isNewReconciler:le},Fa={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Ke(),se(),im(e,t)},useContext:function(e){return G="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return G="useEffect",Ke(),se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Ke(),se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Ke(),se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ke(),se(),tm(e,t)},useMemo:function(e,t){G="useMemo",Ke(),se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Ke(),se();var a=me.current;me.current=Fa;try{return Hg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Ke(),se(),qv()},useState:function(e){G="useState",Ke(),se();var t=me.current;me.current=Fa;try{return jg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Ke(),se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Ke(),se(),WE(e)},useTransition:function(){return G="useTransition",Ke(),se(),QE()},useMutableSource:function(e,t,i){return G="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Ke(),se(),Xv(e,t)},useId:function(){return G="useId",Ke(),se(),lm()},unstable_isNewReconciler:le},um={readContext:function(e){return Zg(),Hn(e)},useCallback:function(e,t){return G="useCallback",Ke(),se(),im(e,t)},useContext:function(e){return G="useContext",Ke(),se(),Hn(e)},useEffect:function(e,t){return G="useEffect",Ke(),se(),Tp(e,t)},useImperativeHandle:function(e,t,i){return G="useImperativeHandle",Ke(),se(),nm(e,t,i)},useInsertionEffect:function(e,t){return G="useInsertionEffect",Ke(),se(),em(e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ke(),se(),tm(e,t)},useMemo:function(e,t){G="useMemo",Ke(),se();var i=me.current;me.current=Fa;try{return am(e,t)}finally{me.current=i}},useReducer:function(e,t,i){G="useReducer",Ke(),se();var a=me.current;me.current=Fa;try{return Vg(e,t,i)}finally{me.current=a}},useRef:function(e){return G="useRef",Ke(),se(),qv()},useState:function(e){G="useState",Ke(),se();var t=me.current;me.current=Fa;try{return Pg(e)}finally{me.current=t}},useDebugValue:function(e,t){return G="useDebugValue",Ke(),se(),rm()},useDeferredValue:function(e){return G="useDeferredValue",Ke(),se(),YE(e)},useTransition:function(){return G="useTransition",Ke(),se(),XE()},useMutableSource:function(e,t,i){return G="useMutableSource",Ke(),se(),void 0},useSyncExternalStore:function(e,t,i){return G="useSyncExternalStore",Ke(),se(),Xv(e,t)},useId:function(){return G="useId",Ke(),se(),lm()},unstable_isNewReconciler:le}}var Mu=f.unstable_now,a0=0,sm=-1,Dp=-1,cm=-1,Jg=!1,fm=!1;function l0(){return Jg}function ix(){fm=!0}function ax(){Jg=!1,fm=!1}function lx(){Jg=fm,fm=!1}function o0(){return a0}function u0(){a0=Mu()}function eS(e){Dp=Mu(),e.actualStartTime<0&&(e.actualStartTime=Mu())}function s0(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 K: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 K: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 Ll(){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 ox(e,t){return!0}function aS(e,t){try{var i=ox(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===P)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:",E;if(e.tag===K)E=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
179
179
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var b=Xe(e)||"Anonymous";E="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+b+".")}var O=m+`
|
|
180
180
|
`+d+`
|
|
181
181
|
|
|
182
|
-
`+(""+E);console.error(O)}catch(k){setTimeout(function(){throw k})}}var ux=typeof WeakMap=="function"?WeakMap:Map;function c0(e,t,i){var a=bo(jt,i);a.tag=ag,a.payload={element:null};var o=t.value;return a.callback=function(){eD(o),aS(e,t)},a}function lS(e,t,i){var a=bo(jt,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(){Eb(e),aS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(a.callback=function(){Eb(e),aS(e,t),typeof o!="function"&&ZT(this);var m=t.value,E=t.stack;this.componentDidCatch(m,{componentStack:E!==null?E:""}),typeof o!="function"&&(Hr(e.lanes,$e)||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 f0(e,t,i){var a=e.pingCache,o;if(a===null?(a=e.pingCache=new ux,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=tD.bind(null,e,t,i);Pn&&$p(e,i),t.then(s,s)}}function sx(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 cx(e,t){var i=e.tag;if((e.mode&at)===Ve&&(i===A||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 d0(e){var t=e;do{if(t.tag===pe&&Qw(t))return t;t=t.return}while(t!==null);return null}function p0(e,t,i,a,o){if((e.mode&at)===Ve){if(e===t)e.flags|=An;else{if(e.flags|=Ge,i.flags|=as,i.flags&=~(fc|Yr),i.tag===P){var s=i.alternate;if(s===null)i.tag=kt;else{var d=bo(jt,$e);d.tag=Uv,Tu(i,d,$e)}}i.lanes=et(i.lanes,$e)}return e}return e.flags|=An,e.lanes=o,e}function fx(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;cx(i),dr()&&i.mode&at&&rE();var d=d0(t);if(d!==null){d.flags&=~fn,p0(d,t,i,e,o),d.mode&at&&f0(e,s,o),sx(d,e,s);return}else{if(!iu(o)){f0(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){rE();var m=d0(t);if(m!==null){(m.flags&An)===ze&&(m.flags|=fn),p0(m,t,i,e,o),Zy(Fs(a,i));return}}a=Fs(a,i),IT(a);var E=t;do{switch(E.tag){case K:{var b=a;E.flags|=An;var O=xn(o);E.lanes=et(E.lanes,O);var k=c0(E,b,O);ug(E,k);return}case P:var F=a,V=E.type,$=E.stateNode;if((E.flags&Ge)===ze&&(typeof V.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&!db($))){E.flags|=An;var ge=xn(o);E.lanes=et(E.lanes,ge);var Fe=lS(E,F,ge);ug(E,Fe);return}break}E=E.return}while(E!==null)}function dx(){return null}var _p=h.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=OE(t,null,i,a):t.child=Cf(t,e.child,i,a)}function px(e,t,i,a){t.child=Cf(t,e.child,null,a),t.child=Cf(t,null,i,a)}function h0(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&La(s,a,"prop",gt(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){wn(!0);try{m=Tf(e,t,d,a,v,o),E=Df()}finally{wn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(UE(e,t,o),Ro(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function v0(e,t,i,a,o){if(e===null){var s=i.type;if(gD(s)&&i.compare===null&&i.defaultProps===void 0){var d=s;return d=zf(s),t.tag=Oe,t.type=d,hS(t,s),m0(e,t,d,a,o)}{var v=s.propTypes;v&&La(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 E=i.type,b=E.propTypes;b&&La(b,a,"prop",gt(E))}var O=e.child,k=CS(e,o);if(!k){var F=O.memoizedProps,V=i.compare;if(V=V!==null?V:Le,V(F,a)&&e.ref===t.ref)return Ro(e,t,o)}t.flags|=sl;var $=$s(O,a);return $.ref=t.ref,$.return=t,t.child=$,$}function m0(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 E=s&&s.propTypes;E&&La(E,a,"prop",gt(s))}}if(e!==null){var b=e.memoizedProps;if(Le(b,a)&&e.ref===t.ref&&t.type===e.type)if(Ha=!1,t.pendingProps=a=b,CS(e,o))(e.flags&as)!==ze&&(Ha=!0);else return t.lanes=e.lanes,Ro(e,t,o)}return dS(e,t,i,a,o)}function y0(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 E=s.baseLanes;m=et(E,i)}else m=i;t.lanes=t.childLanes=Fr;var b={baseLanes:m,cachePool:v,transitions:null};return t.memoizedState=b,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 hx(e,t,i){var a=t.pendingProps;return Zr(e,t,a,i),t.child}function vx(e,t,i){var a=t.pendingProps.children;return Zr(e,t,a,i),t.child}function mx(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 g0(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",gt(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){wn(!0);try{m=Tf(e,t,i,a,d,o),E=Df()}finally{wn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(UE(e,t,o),Ro(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function S0(e,t,i,a,o){{switch(AD(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|=An;var E=new Error("Simulated error coming from DevTools"),b=xn(o);t.lanes=et(t.lanes,b);var O=lS(t,Fs(E,t),b);ug(t,O);break}}if(t.type!==t.elementType){var k=i.propTypes;k&&La(k,a,"prop",gt(i))}}var F;Dl(i)?(F=!0,xv(t)):F=!1,Sf(t,o);var V=t.stateNode,$;V===null?(vm(e,t),TE(t,i,a),Cg(t,i,a,o),$=!0):e===null?$=Pw(t,i,a,o):$=$w(e,t,i,a,o);var ge=pS(e,t,i,$,F,o);{var Fe=t.stateNode;$&&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){g0(e,t);var d=(t.flags&Ge)!==ze;if(!a&&!d)return o&&JC(t,i,!1),Ro(e,t,s);var v=t.stateNode;_p.current=t;var m;if(d&&typeof i.getDerivedStateFromError!="function")m=null,s0();else{ml(t);{if(kr(!0),m=v.render(),t.mode&an){wn(!0);try{v.render()}finally{wn(!1)}}kr(!1)}Kl()}return t.flags|=sl,e!==null&&d?px(e,t,m,s):Zr(e,t,m,s),t.memoizedState=v.state,o&&JC(t,i,!0),t.child}function C0(e){var t=e.stateNode;t.pendingContext?qC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qC(e,t.context,!1),Tg(e,t.containerInfo)}function yx(e,t,i){if(C0(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;gE(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},E=t.updateQueue;if(E.baseState=m,t.memoizedState=m,t.flags&fn){var b=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 E0(e,t,v,i,b)}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 E0(e,t,v,i,O)}else{Ew(t);var k=OE(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 Ro(e,t,i);Zr(e,t,v,i)}return t.child}function E0(e,t,i,a,o){return yf(),Zy(o),t.flags|=fn,Zr(e,t,i,a),t.child}function gx(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=Ly(a,o);return v?d=null:s!==null&&Ly(a,s)&&(t.flags|=Ot),g0(e,t),Zr(e,t,d,i),t.child}function Sx(e,t){return e===null&&qy(t),null}function Cx(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=SD(m),b=za(m,o),O;switch(E){case A:return hS(t,m),t.type=m=zf(m),O=dS(null,t,m,b,a),O;case P:return t.type=m=IS(m),O=S0(null,t,m,b,a),O;case _e:return t.type=m=WS(m),O=h0(null,t,m,b,a),O;case xe:{if(t.type!==t.elementType){var k=m.propTypes;k&&La(k,b,"prop",gt(m))}return O=v0(null,t,m,za(m.type,b),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 Ex(e,t,i,a,o){vm(e,t),t.tag=P;var s;return Dl(i)?(s=!0,xv(t)):s=!1,Sf(t,o),TE(t,i,a),Cg(t,i,a,o),pS(null,t,i,!0,s,o)}function bx(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=gt(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 b=gt(i)||"Unknown";kp[b]||(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.",b,b,b),kp[b]=!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=P,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),xE(t,v),Cg(t,i,o,a),pS(null,t,i,!0,k,a)}else{if(t.tag=A,t.mode&an){wn(!0);try{v=Tf(null,t,i,o,s,a),m=Df()}finally{wn(!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
|
+
`+(""+E);console.error(O)}catch(k){setTimeout(function(){throw k})}}var ux=typeof WeakMap=="function"?WeakMap:Map;function c0(e,t,i){var a=bo(jt,i);a.tag=ag,a.payload={element:null};var o=t.value;return a.callback=function(){eD(o),aS(e,t)},a}function lS(e,t,i){var a=bo(jt,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(){Eb(e),aS(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(a.callback=function(){Eb(e),aS(e,t),typeof o!="function"&&ZT(this);var m=t.value,E=t.stack;this.componentDidCatch(m,{componentStack:E!==null?E:""}),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 f0(e,t,i){var a=e.pingCache,o;if(a===null?(a=e.pingCache=new ux,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=tD.bind(null,e,t,i);Pn&&$p(e,i),t.then(s,s)}}function sx(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 cx(e,t){var i=e.tag;if((e.mode&at)===Be&&(i===A||i===De||i===we)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}function d0(e){var t=e;do{if(t.tag===de&&Qw(t))return t;t=t.return}while(t!==null);return null}function p0(e,t,i,a,o){if((e.mode&at)===Be){if(e===t)e.flags|=An;else{if(e.flags|=Ge,i.flags|=as,i.flags&=~(fc|Yr),i.tag===P){var s=i.alternate;if(s===null)i.tag=Tt;else{var d=bo(jt,Ie);d.tag=Uv,Tu(i,d,Ie)}}i.lanes=tt(i.lanes,Ie)}return e}return e.flags|=An,e.lanes=o,e}function fx(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;cx(i),dr()&&i.mode&at&&rE();var d=d0(t);if(d!==null){d.flags&=~fn,p0(d,t,i,e,o),d.mode&at&&f0(e,s,o),sx(d,e,s);return}else{if(!iu(o)){f0(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){rE();var m=d0(t);if(m!==null){(m.flags&An)===Ue&&(m.flags|=fn),p0(m,t,i,e,o),Zy(Fs(a,i));return}}a=Fs(a,i),IT(a);var E=t;do{switch(E.tag){case K:{var b=a;E.flags|=An;var O=xn(o);E.lanes=tt(E.lanes,O);var k=c0(E,b,O);ug(E,k);return}case P:var F=a,V=E.type,$=E.stateNode;if((E.flags&Ge)===Ue&&(typeof V.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&!db($))){E.flags|=An;var ge=xn(o);E.lanes=tt(E.lanes,ge);var Fe=lS(E,F,ge);ug(E,Fe);return}break}E=E.return}while(E!==null)}function dx(){return null}var _p=h.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=OE(t,null,i,a):t.child=Cf(t,e.child,i,a)}function px(e,t,i,a){t.child=Cf(t,e.child,null,a),t.child=Cf(t,null,i,a)}function h0(e,t,i,a,o){if(t.type!==t.elementType){var s=i.propTypes;s&&La(s,a,"prop",yt(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&ln){wn(!0);try{m=Tf(e,t,d,a,v,o),E=Df()}finally{wn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(UE(e,t,o),Ro(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function v0(e,t,i,a,o){if(e===null){var s=i.type;if(gD(s)&&i.compare===null&&i.defaultProps===void 0){var d=s;return d=zf(s),t.tag=we,t.type=d,hS(t,s),m0(e,t,d,a,o)}{var v=s.propTypes;v&&La(v,a,"prop",yt(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,b=E.propTypes;b&&La(b,a,"prop",yt(E))}var O=e.child,k=CS(e,o);if(!k){var F=O.memoizedProps,V=i.compare;if(V=V!==null?V:Oe,V(F,a)&&e.ref===t.ref)return Ro(e,t,o)}t.flags|=sl;var $=$s(O,a);return $.ref=t.ref,$.return=t,t.child=$,$}function m0(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 E=s&&s.propTypes;E&&La(E,a,"prop",yt(s))}}if(e!==null){var b=e.memoizedProps;if(Oe(b,a)&&e.ref===t.ref&&t.type===e.type)if(Ha=!1,t.pendingProps=a=b,CS(e,o))(e.flags&as)!==Ue&&(Ha=!0);else return t.lanes=e.lanes,Ro(e,t,o)}return dS(e,t,i,a,o)}function y0(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)===Be){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=tt(E,i)}else m=i;t.lanes=t.childLanes=Fr;var b={baseLanes:m,cachePool:v,transitions:null};return t.memoizedState=b,t.updateQueue=null,Tm(t,m),null}else{var F;s!==null?(F=tt(s.baseLanes,i),t.memoizedState=null):F=i,Tm(t,F)}return Zr(e,t,o,i),t.child}function hx(e,t,i){var a=t.pendingProps;return Zr(e,t,a,i),t.child}function vx(e,t,i){var a=t.pendingProps.children;return Zr(e,t,a,i),t.child}function mx(e,t,i){{t.flags|=et;{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 g0(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",yt(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&ln){wn(!0);try{m=Tf(e,t,i,a,d,o),E=Df()}finally{wn(!1)}}kr(!1)}return Kl(),e!==null&&!Ha?(UE(e,t,o),Ro(e,t,o)):(dr()&&E&&Yy(t),t.flags|=sl,Zr(e,t,m,o),t.child)}function S0(e,t,i,a,o){{switch(AD(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|=An;var E=new Error("Simulated error coming from DevTools"),b=xn(o);t.lanes=tt(t.lanes,b);var O=lS(t,Fs(E,t),b);ug(t,O);break}}if(t.type!==t.elementType){var k=i.propTypes;k&&La(k,a,"prop",yt(i))}}var F;Dl(i)?(F=!0,xv(t)):F=!1,Sf(t,o);var V=t.stateNode,$;V===null?(vm(e,t),TE(t,i,a),Cg(t,i,a,o),$=!0):e===null?$=Pw(t,i,a,o):$=$w(e,t,i,a,o);var ge=pS(e,t,i,$,F,o);{var Fe=t.stateNode;$&&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){g0(e,t);var d=(t.flags&Ge)!==Ue;if(!a&&!d)return o&&JC(t,i,!1),Ro(e,t,s);var v=t.stateNode;_p.current=t;var m;if(d&&typeof i.getDerivedStateFromError!="function")m=null,s0();else{ml(t);{if(kr(!0),m=v.render(),t.mode&ln){wn(!0);try{v.render()}finally{wn(!1)}}kr(!1)}Kl()}return t.flags|=sl,e!==null&&d?px(e,t,m,s):Zr(e,t,m,s),t.memoizedState=v.state,o&&JC(t,i,!0),t.child}function C0(e){var t=e.stateNode;t.pendingContext?qC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&qC(e,t.context,!1),Tg(e,t.containerInfo)}function yx(e,t,i){if(C0(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;gE(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},E=t.updateQueue;if(E.baseState=m,t.memoizedState=m,t.flags&fn){var b=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 E0(e,t,v,i,b)}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 E0(e,t,v,i,O)}else{Ew(t);var k=OE(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 Ro(e,t,i);Zr(e,t,v,i)}return t.child}function E0(e,t,i,a,o){return yf(),Zy(o),t.flags|=fn,Zr(e,t,i,a),t.child}function gx(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=Ly(a,o);return v?d=null:s!==null&&Ly(a,s)&&(t.flags|=Ot),g0(e,t),Zr(e,t,d,i),t.child}function Sx(e,t){return e===null&&qy(t),null}function Cx(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=SD(m),b=za(m,o),O;switch(E){case A:return hS(t,m),t.type=m=zf(m),O=dS(null,t,m,b,a),O;case P:return t.type=m=IS(m),O=S0(null,t,m,b,a),O;case De:return t.type=m=WS(m),O=h0(null,t,m,b,a),O;case Le:{if(t.type!==t.elementType){var k=m.propTypes;k&&La(k,b,"prop",yt(m))}return O=v0(null,t,m,za(m.type,b),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 Ex(e,t,i,a,o){vm(e,t),t.tag=P;var s;return Dl(i)?(s=!0,xv(t)):s=!1,Sf(t,o),TE(t,i,a),Cg(t,i,a,o),pS(null,t,i,!0,s,o)}function bx(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=yt(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&ln&&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 b=yt(i)||"Unknown";kp[b]||(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.",b,b,b),kp[b]=!0)}if(typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0){{var O=yt(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=P,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),xE(t,v),Cg(t,i,o,a),pS(null,t,i,!0,k,a)}else{if(t.tag=A,t.mode&ln){wn(!0);try{v=Tf(null,t,i,o,s,a),m=Df()}finally{wn(!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=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:dx(),transitions:null}}function Rx(e,t){var i=null;return{baseLanes:et(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function wx(e,t,i,a){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return kg(e,Cp)}function xx(e,t){return au(e.childLanes,t)}function b0(e,t,i){var a=t.pendingProps;ND(t)&&(t.flags|=Ge);var o=Ua.current,s=!1,d=(t.flags&Ge)!==ze;if(d||wx(o,e)?(s=!0,t.flags&=~Ge):(e===null||e.memoizedState!==null)&&(o=Gw(o,zE)),o=bf(o),_u(t,o),e===null){qy(t);var v=t.memoizedState;if(v!==null){var m=v.dehydrated;if(m!==null)return Mx(t,m)}var E=a.children,b=a.fallback;if(s){var O=Tx(t,E,b,i),k=t.child;return k.memoizedState=mS(i),t.memoizedState=vS,O}else return yS(t,E)}else{var F=e.memoizedState;if(F!==null){var V=F.dehydrated;if(V!==null)return Ox(e,t,d,a,V,F,i)}if(s){var $=a.fallback,ge=a.children,Fe=_x(e,t,ge,$,i),Me=t.child,vt=e.child.memoizedState;return Me.memoizedState=vt===null?mS(i):Rx(vt,i),Me.childLanes=xx(e,i),t.memoizedState=vS,Fe}else{var st=a.children,N=Dx(e,t,st,i);return t.memoizedState=null,N}}}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 Tx(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&Pe&&(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 Rb(e,t,W,null)}function R0(e,t){return $s(e,t)}function Dx(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 _x(e,t,i,a,o){var s=t.mode,d=e.child,v=d.sibling,m={mode:"hidden",children:i},E;if((s&at)===Ve&&t.child!==d){var b=t.child;E=b,E.childLanes=W,E.pendingProps=m,t.mode&Pe&&(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&jn;var O;return v!==null?O=$s(v,a):(O=Uu(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 kx(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 Mx(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=$e):Uy(t)?e.lanes=Jl:e.lanes=Fr,null}function Ox(e,t,i,a,o,s,d){if(i)if(t.flags&fn){t.flags&=~fn;var N=iS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return hm(e,t,d,N)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ge,null;var I=a.children,z=a.fallback,te=kx(e,t,I,z,d),Se=t.child;return Se.memoizedState=mS(d),t.memoizedState=vS,te}else{if(Sw(),(t.mode&at)===Ve)return hm(e,t,d,null);if(Uy(o)){var v,m,E;{var b=UR(o);v=b.digest,m=b.message,E=b.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 F=Hr(d,e.childLanes);if(Ha||F){var V=xm();if(V!==null){var $=ry(V,d);if($!==pt&&$!==s.retryLane){s.retryLane=$;var ge=jt;Ci(e,$),qn(V,e,$,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(WC(o)){t.flags|=Ge,t.child=e.child;var Me=nD.bind(null,e);return FR(o,Me),null}else{bw(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 Lx(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 Ax(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 Nx(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 zx(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 x0(e,t){{var i=ft(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 Ux(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(!x0(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(!x0(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 T0(e,t,i){var a=t.pendingProps,o=a.revealOrder,s=a.tail,d=a.children;Nx(o),zx(s,o),Ux(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 E=e!==null&&(e.flags&Ge)!==ze;E&&Lx(t,t.child,i),v=bf(v)}if(_u(t,v),(t.mode&at)===Ve)t.memoizedState=null;else switch(o){case"forwards":{var b=Ax(t.child),O;b===null?(O=t.child,t.child=null):(O=b.sibling,b.sibling=null),SS(t,!1,O,b,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 $=F.sibling;F.sibling=k,k=F,F=$}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 Fx(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 D0=!1;function Hx(e,t,i){var a=t.type,o=a._context,s=t.pendingProps,d=t.memoizedProps,v=s.value;{"value"in s||D0||(D0=!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(hE(t,o,v),d!==null){var E=d.value;if(be(E,v)){if(d.children===s.children&&!Rv())return Ro(e,t,i)}else Lw(t,o,i)}var b=s.children;return Zr(e,t,b,i),t.child}var _0=!1;function Vx(e,t,i){var a=t.type;a._context===void 0?a!==a.Consumer&&(_0||(_0=!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 Ro(e,t,i){return e!==null&&(t.dependencies=e.dependencies),s0(),Pp(t.lanes),Hr(i,t.childLanes)?(Iw(e,t),t.child):null}function Bx(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 jx(e,t,i){switch(t.tag){case K:C0(t),t.stateNode,yf();break;case J:AE(t);break;case P:{var a=t.type;Dl(a)&&xv(t);break}case re:Tg(t,t.stateNode.containerInfo);break;case tt:{var o=t.memoizedProps.value,s=t.type._context;hE(t,s,o);break}case Ie:{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,bf(Ua.current)),t.flags|=Ge,null;var E=t.child,b=E.childLanes;if(Hr(i,b))return b0(e,t,i);_u(t,bf(Ua.current));var O=Ro(e,t,i);return O!==null?O.sibling:null}else _u(t,bf(Ua.current));break}case yt:{var k=(e.flags&Ge)!==ze,F=Hr(i,t.childLanes);if(k){if(F)return T0(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,y0(e,t,i)}return Ro(e,t,i)}function k0(e,t,i){if(t._debugNeedsRemount&&e!==null)return Bx(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||Rv()||t.type!==e.type)Ha=!0;else{var s=CS(e,i);if(!s&&(t.flags&Ge)===ze)return Ha=!1,jx(e,t,i);(e.flags&as)!==ze?Ha=!0:Ha=!1}}else if(Ha=!1,dr()&&pw(t)){var d=t.index,v=hw();nE(t,v,d)}switch(t.lanes=W,t.tag){case oe:return bx(e,t,t.type,i);case lt:{var m=t.elementType;return Cx(e,t,m,i)}case A:{var E=t.type,b=t.pendingProps,O=t.elementType===E?b:za(E,b);return dS(e,t,E,O,i)}case P:{var k=t.type,F=t.pendingProps,V=t.elementType===k?F:za(k,F);return S0(e,t,k,V,i)}case K:return yx(e,t,i);case J:return gx(e,t,i);case ne:return Sx(e,t);case pe:return b0(e,t,i);case re:return Fx(e,t,i);case _e:{var $=t.type,ge=t.pendingProps,Fe=t.elementType===$?ge:za($,ge);return h0(e,t,$,Fe,i)}case Be:return hx(e,t,i);case de:return vx(e,t,i);case Ie:return mx(e,t,i);case tt:return Hx(e,t,i);case Ue:return Vx(e,t,i);case xe:{var Me=t.type,vt=t.pendingProps,st=za(Me,vt);if(t.type!==t.elementType){var N=Me.propTypes;N&&La(N,st,"prop",gt(Me))}return st=za(Me.type,st),v0(e,t,Me,st,i)}case Oe:return m0(e,t,t.type,t.pendingProps,i);case kt:{var I=t.type,z=t.pendingProps,te=t.elementType===I?z:za(I,z);return Ex(e,t,I,te,i)}case yt:return T0(e,t,i);case un:break;case Te:return y0(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 M0(e){e.flags|=Or,e.flags|=fd}var O0,ES,L0,A0;O0=function(e,t,i,a){for(var o=t.child;o!==null;){if(o.tag===J||o.tag===ne)cR(e,o.stateNode);else if(o.tag!==re){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){},L0=function(e,t,i,a,o){var s=e.memoizedProps;if(s!==a){var d=t.stateNode,v=Dg(),m=dR(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&Pe)!==Ve){for(var m=e.selfBaseDuration,E=e.child;E!==null;)i=et(i,et(E.lanes,E.childLanes)),a|=E.subtreeFlags&jn,a|=E.flags&jn,m+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=m}else for(var b=e.child;b!==null;)i=et(i,et(b.lanes,b.childLanes)),a|=b.subtreeFlags&jn,a|=b.flags&jn,b.return=e,b=b.sibling;e.subtreeFlags|=a}else{if((e.mode&Pe)!==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 Px(e,t,i){if(Dw()&&(t.mode&at)!==Ve&&(t.flags&Ge)===ze)return sE(t),yf(),t.flags|=fn|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(xw(t),hr(t),(t.mode&Pe)!==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&Pe)!==Ve){var d=i!==null;if(d){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else return cE(),!0}function N0(e,t,i){var a=t.pendingProps;switch(Gy(t),t.tag){case oe:case lt:case Oe:case A:case _e:case Be:case de:case Ie:case Ue:case xe:return hr(t),null;case P:{var o=t.type;return Dl(o)&&wv(t),hr(t),null}case K:{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&fn)!==ze)&&(t.flags|=si,cE())}}return ES(e,t),hr(t),null}case J:{_g(t);var m=LE(),E=t.type;if(e!==null&&t.stateNode!=null)L0(e,t,E,a,m),e.ref!==t.ref&&M0(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 b=Dg(),O=Mv(t);if(O)Rw(t,m,b)&&_f(t);else{var k=sR(E,a,m,b,t);O0(k,t,!1,!1),t.stateNode=k,fR(k,E,a,m)&&_f(t)}t.ref!==null&&M0(t)}return hr(t),null}case ne:{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 $=LE(),ge=Dg(),Fe=Mv(t);Fe?ww(t)&&_f(t):t.stateNode=pR(F,$,ge,t)}return hr(t),null}case pe:{Rf(t);var Me=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vt=Px(e,t,Me);if(!vt)return t.flags&An?t:null}if((t.flags&Ge)!==ze)return t.lanes=i,(t.mode&Pe)!==Ve&&rS(t),t;var st=Me!==null,N=e!==null&&e.memoizedState!==null;if(st!==N&&st){var I=t.child;if(I.flags|=cl,(t.mode&at)!==Ve){var z=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!X);z||kg(Ua.current,zE)?$T():VS()}}var te=t.updateQueue;if(te!==null&&(t.flags|=Je),hr(t),(t.mode&Pe)!==Ve&&st){var Se=t.child;Se!==null&&(t.treeBaseDuration-=Se.treeBaseDuration)}return null}case re:return Ef(t),ES(e,t),e===null&&lw(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)&&wv(t),hr(t),null}case yt:{Rf(t);var qe=t.memoizedState;if(qe===null)return hr(t),null;var Ft=(t.flags&Ge)!==ze,wt=qe.rendering;if(wt===null)if(Ft)Op(qe,!1);else{var kn=WT()&&(e===null||(e.flags&Ge)===ze);if(!kn)for(var xt=t.child;xt!==null;){var bn=Gv(xt);if(bn!==null){Ft=!0,t.flags|=Ge,Op(qe,!1);var Pr=bn.updateQueue;return Pr!==null&&(t.updateQueue=Pr,t.flags|=Je),t.subtreeFlags=ze,Ww(t,i),_u(t,Mg(Ua.current,Cp)),t.child}xt=xt.sibling}qe.tail!==null&&rn()>tb()&&(t.flags|=Ge,Ft=!0,Op(qe,!1),t.lanes=wd)}else{if(!Ft){var Sr=Gv(wt);if(Sr!==null){t.flags|=Ge,Ft=!0;var $i=Sr.updateQueue;if($i!==null&&(t.updateQueue=$i,t.flags|=Je),Op(qe,!0),qe.tail===null&&qe.tailMode==="hidden"&&!wt.alternate&&!dr())return hr(t),null}else rn()*2-qe.renderingStartTime>tb()&&i!==Fr&&(t.flags|=Ge,Ft=!0,Op(qe,!1),t.lanes=wd)}if(qe.isBackwards)wt.sibling=t.child,t.child=wt;else{var ti=qe.last;ti!==null?ti.sibling=wt:t.child=wt,qe.last=wt}}if(qe.tail!==null){var ni=qe.tail;qe.rendering=ni,qe.tail=ni.sibling,qe.renderingStartTime=rn(),ni.sibling=null;var $r=Ua.current;return Ft?$r=Mg($r,Cp):$r=bf($r),_u(t,$r),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 $x(e,t,i){switch(Gy(t),t.tag){case P:{var a=t.type;Dl(a)&&wv(t);var o=t.flags;return o&An?(t.flags=o&~An|Ge,(t.mode&Pe)!==Ve&&rS(t),t):null}case K:{t.stateNode,Ef(t),$y(t),Lg();var s=t.flags;return(s&An)!==ze&&(s&Ge)===ze?(t.flags=s&~An|Ge,t):null}case J:return _g(t),null;case pe:{Rf(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|Ge,(t.mode&Pe)!==Ve&&rS(t),t):null}case yt:return Rf(t),null;case re: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 z0(e,t,i){switch(Gy(t),t.tag){case P:{var a=t.type.childContextTypes;a!=null&&wv(t);break}case K:{t.stateNode,Ef(t),$y(t),Lg();break}case J:{_g(t);break}case re:Ef(t);break;case pe:Rf(t);break;case yt:Rf(t);break;case tt:var o=t.type._context;ng(o,t);break;case Te:case dt:HS(t);break}}var U0=null;U0=new Set;var mm=!1,vr=!1,Ix=typeof WeakSet=="function"?WeakSet:Set,Re=null,kf=null,Mf=null;function Wx(e){Ql(null,function(){throw e}),sd()}var Yx=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Pe)try{Ll(),t.componentWillUnmount()}finally{Ol(e)}else t.componentWillUnmount()};function F0(e,t){try{Ou(Wn,e)}catch(i){Kt(e,t,i)}}function bS(e,t,i){try{Yx(e,i)}catch(a){Kt(e,t,a)}}function Gx(e,t,i){try{i.componentDidMount()}catch(a){Kt(e,t,a)}}function H0(e,t){try{B0(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&Pe)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.",Xe(e))}else i.current=null}function ym(e,t,i){try{i()}catch(a){Kt(e,t,a)}}var V0=!1;function Qx(e,t){oR(e.containerInfo),Re=t,Xx();var i=V0;return V0=!1,i}function Xx(){for(;Re!==null;){var e=Re,t=e.child;(e.subtreeFlags&qo)!==ze&&t!==null?(t.return=e,Re=t):Kx()}}function Kx(){for(;Re!==null;){var e=Re;Mt(e);try{qx(e)}catch(i){Kt(e,e.return,i)}cn();var t=e.sibling;if(t!==null){t.return=e.return,Re=t;return}Re=e.return}}function qx(e){var t=e.alternate,i=e.flags;if((i&si)!==ze){switch(Mt(e),e.tag){case A:case _e:case Oe:break;case P:{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=U0;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 K:{{var m=e.stateNode;LR(m.containerInfo)}break}case J:case ne:case re: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&&Ip(!0),ym(t,i,v),(e&_l)!==Ei&&Ip(!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&&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=yt(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=yt(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:dx(),transitions:null}}function Rx(e,t){var i=null;return{baseLanes:tt(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function wx(e,t,i,a){if(t!==null){var o=t.memoizedState;if(o===null)return!1}return kg(e,Cp)}function xx(e,t){return au(e.childLanes,t)}function b0(e,t,i){var a=t.pendingProps;ND(t)&&(t.flags|=Ge);var o=Ua.current,s=!1,d=(t.flags&Ge)!==Ue;if(d||wx(o,e)?(s=!0,t.flags&=~Ge):(e===null||e.memoizedState!==null)&&(o=Gw(o,zE)),o=bf(o),_u(t,o),e===null){qy(t);var v=t.memoizedState;if(v!==null){var m=v.dehydrated;if(m!==null)return Mx(t,m)}var E=a.children,b=a.fallback;if(s){var O=Tx(t,E,b,i),k=t.child;return k.memoizedState=mS(i),t.memoizedState=vS,O}else return yS(t,E)}else{var F=e.memoizedState;if(F!==null){var V=F.dehydrated;if(V!==null)return Ox(e,t,d,a,V,F,i)}if(s){var $=a.fallback,ge=a.children,Fe=_x(e,t,ge,$,i),ke=t.child,vt=e.child.memoizedState;return ke.memoizedState=vt===null?mS(i):Rx(vt,i),ke.childLanes=xx(e,i),t.memoizedState=vS,Fe}else{var ct=a.children,N=Dx(e,t,ct,i);return t.memoizedState=null,N}}}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 Tx(e,t,i,a){var o=e.mode,s=e.child,d={mode:"hidden",children:t},v,m;return(o&at)===Be&&s!==null?(v=s,v.childLanes=W,v.pendingProps=d,e.mode&Pe&&(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 Rb(e,t,W,null)}function R0(e,t){return $s(e,t)}function Dx(e,t,i,a){var o=e.child,s=o.sibling,d=R0(o,{mode:"visible",children:i});if((t.mode&at)===Be&&(d.lanes=a),d.return=t,d.sibling=null,s!==null){var v=t.deletions;v===null?(t.deletions=[s],t.flags|=kt):v.push(s)}return t.child=d,d}function _x(e,t,i,a,o){var s=t.mode,d=e.child,v=d.sibling,m={mode:"hidden",children:i},E;if((s&at)===Be&&t.child!==d){var b=t.child;E=b,E.childLanes=W,E.pendingProps=m,t.mode&Pe&&(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&jn;var O;return v!==null?O=$s(v,a):(O=Uu(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 kx(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)!==Be&&Cf(t,e.child,null,o),m}function Mx(e,t,i){return(e.mode&at)===Be?(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 Ox(e,t,i,a,o,s,d){if(i)if(t.flags&fn){t.flags&=~fn;var N=iS(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return hm(e,t,d,N)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Ge,null;var I=a.children,z=a.fallback,ee=kx(e,t,I,z,d),Se=t.child;return Se.memoizedState=mS(d),t.memoizedState=vS,ee}else{if(Sw(),(t.mode&at)===Be)return hm(e,t,d,null);if(Uy(o)){var v,m,E;{var b=UR(o);v=b.digest,m=b.message,E=b.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 F=Hr(d,e.childLanes);if(Ha||F){var V=xm();if(V!==null){var $=ry(V,d);if($!==pt&&$!==s.retryLane){s.retryLane=$;var ge=jt;Ci(e,$),qn(V,e,$,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(WC(o)){t.flags|=Ge,t.child=e.child;var ke=nD.bind(null,e);return FR(o,ke),null}else{bw(t,o,s.treeContext);var vt=a.children,ct=yS(t,vt);return ct.flags|=ci,ct}}}function w0(e,t,i){e.lanes=tt(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=tt(a.lanes,t)),rg(e.return,t,i)}function Lx(e,t,i){for(var a=t;a!==null;){if(a.tag===de){var o=a.memoizedState;o!==null&&w0(a,i,e)}else if(a.tag===St)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 Ax(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 Nx(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 zx(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 x0(e,t){{var i=dt(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 Ux(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(dt(e)){for(var i=0;i<e.length;i++)if(!x0(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(!x0(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 T0(e,t,i){var a=t.pendingProps,o=a.revealOrder,s=a.tail,d=a.children;Nx(o),zx(s,o),Ux(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 E=e!==null&&(e.flags&Ge)!==Ue;E&&Lx(t,t.child,i),v=bf(v)}if(_u(t,v),(t.mode&at)===Be)t.memoizedState=null;else switch(o){case"forwards":{var b=Ax(t.child),O;b===null?(O=t.child,t.child=null):(O=b.sibling,b.sibling=null),SS(t,!1,O,b,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 $=F.sibling;F.sibling=k,k=F,F=$}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 Fx(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 D0=!1;function Hx(e,t,i){var a=t.type,o=a._context,s=t.pendingProps,d=t.memoizedProps,v=s.value;{"value"in s||D0||(D0=!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(hE(t,o,v),d!==null){var E=d.value;if(be(E,v)){if(d.children===s.children&&!Rv())return Ro(e,t,i)}else Lw(t,o,i)}var b=s.children;return Zr(e,t,b,i),t.child}var _0=!1;function Vx(e,t,i){var a=t.type;a._context===void 0?a!==a.Consumer&&(_0||(_0=!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)===Be&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=Yt)}function Ro(e,t,i){return e!==null&&(t.dependencies=e.dependencies),s0(),Pp(t.lanes),Hr(i,t.childLanes)?(Iw(e,t),t.child):null}function Bx(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|=kt):s.push(e),i.flags|=Yt,i}}function CS(e,t){var i=e.lanes;return!!Hr(i,t)}function jx(e,t,i){switch(t.tag){case K:C0(t),t.stateNode,yf();break;case te:AE(t);break;case P:{var a=t.type;Dl(a)&&xv(t);break}case re:Tg(t,t.stateNode.containerInfo);break;case lt:{var o=t.memoizedProps.value,s=t.type._context;hE(t,s,o);break}case $e:{var d=Hr(i,t.childLanes);d&&(t.flags|=et);{var v=t.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}}break;case de:{var m=t.memoizedState;if(m!==null){if(m.dehydrated!==null)return _u(t,bf(Ua.current)),t.flags|=Ge,null;var E=t.child,b=E.childLanes;if(Hr(i,b))return b0(e,t,i);_u(t,bf(Ua.current));var O=Ro(e,t,i);return O!==null?O.sibling:null}else _u(t,bf(Ua.current));break}case St:{var k=(e.flags&Ge)!==Ue,F=Hr(i,t.childLanes);if(k){if(F)return T0(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 Ze:case Ae:return t.lanes=W,y0(e,t,i)}return Ro(e,t,i)}function k0(e,t,i){if(t._debugNeedsRemount&&e!==null)return Bx(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||Rv()||t.type!==e.type)Ha=!0;else{var s=CS(e,i);if(!s&&(t.flags&Ge)===Ue)return Ha=!1,jx(e,t,i);(e.flags&as)!==Ue?Ha=!0:Ha=!1}}else if(Ha=!1,dr()&&pw(t)){var d=t.index,v=hw();nE(t,v,d)}switch(t.lanes=W,t.tag){case oe:return bx(e,t,t.type,i);case ot:{var m=t.elementType;return Cx(e,t,m,i)}case A:{var E=t.type,b=t.pendingProps,O=t.elementType===E?b:za(E,b);return dS(e,t,E,O,i)}case P:{var k=t.type,F=t.pendingProps,V=t.elementType===k?F:za(k,F);return S0(e,t,k,V,i)}case K:return yx(e,t,i);case te:return gx(e,t,i);case ne:return Sx(e,t);case de:return b0(e,t,i);case re:return Fx(e,t,i);case De:{var $=t.type,ge=t.pendingProps,Fe=t.elementType===$?ge:za($,ge);return h0(e,t,$,Fe,i)}case He:return hx(e,t,i);case pe:return vx(e,t,i);case $e:return mx(e,t,i);case lt:return Hx(e,t,i);case Me:return Vx(e,t,i);case Le:{var ke=t.type,vt=t.pendingProps,ct=za(ke,vt);if(t.type!==t.elementType){var N=ke.propTypes;N&&La(N,ct,"prop",yt(ke))}return ct=za(ke.type,ct),v0(e,t,ke,ct,i)}case we:return m0(e,t,t.type,t.pendingProps,i);case Tt:{var I=t.type,z=t.pendingProps,ee=t.elementType===I?z:za(I,z);return Ex(e,t,I,ee,i)}case St:return T0(e,t,i);case tn:break;case Ze:return y0(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|=et}function M0(e){e.flags|=Or,e.flags|=fd}var O0,ES,L0,A0;O0=function(e,t,i,a){for(var o=t.child;o!==null;){if(o.tag===te||o.tag===ne)cR(e,o.stateNode);else if(o.tag!==re){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){},L0=function(e,t,i,a,o){var s=e.memoizedProps;if(s!==a){var d=t.stateNode,v=Dg(),m=dR(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=Ue;if(t){if((e.mode&Pe)!==Be){for(var m=e.selfBaseDuration,E=e.child;E!==null;)i=tt(i,tt(E.lanes,E.childLanes)),a|=E.subtreeFlags&jn,a|=E.flags&jn,m+=E.treeBaseDuration,E=E.sibling;e.treeBaseDuration=m}else for(var b=e.child;b!==null;)i=tt(i,tt(b.lanes,b.childLanes)),a|=b.subtreeFlags&jn,a|=b.flags&jn,b.return=e,b=b.sibling;e.subtreeFlags|=a}else{if((e.mode&Pe)!==Be){for(var o=e.actualDuration,s=e.selfBaseDuration,d=e.child;d!==null;)i=tt(i,tt(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=tt(i,tt(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 Px(e,t,i){if(Dw()&&(t.mode&at)!==Be&&(t.flags&Ge)===Ue)return sE(t),yf(),t.flags|=fn|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(xw(t),hr(t),(t.mode&Pe)!==Be){var o=i!==null;if(o){var s=t.child;s!==null&&(t.treeBaseDuration-=s.treeBaseDuration)}}return!1}else{if(yf(),(t.flags&Ge)===Ue&&(t.memoizedState=null),t.flags|=et,hr(t),(t.mode&Pe)!==Be){var d=i!==null;if(d){var v=t.child;v!==null&&(t.treeBaseDuration-=v.treeBaseDuration)}}return!1}else return cE(),!0}function N0(e,t,i){var a=t.pendingProps;switch(Gy(t),t.tag){case oe:case ot:case we:case A:case De:case He:case pe:case $e:case Me:case Le:return hr(t),null;case P:{var o=t.type;return Dl(o)&&wv(t),hr(t),null}case K:{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&fn)!==Ue)&&(t.flags|=si,cE())}}return ES(e,t),hr(t),null}case te:{_g(t);var m=LE(),E=t.type;if(e!==null&&t.stateNode!=null)L0(e,t,E,a,m),e.ref!==t.ref&&M0(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 b=Dg(),O=Mv(t);if(O)Rw(t,m,b)&&_f(t);else{var k=sR(E,a,m,b,t);O0(k,t,!1,!1),t.stateNode=k,fR(k,E,a,m)&&_f(t)}t.ref!==null&&M0(t)}return hr(t),null}case ne:{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 $=LE(),ge=Dg(),Fe=Mv(t);Fe?ww(t)&&_f(t):t.stateNode=pR(F,$,ge,t)}return hr(t),null}case de:{Rf(t);var ke=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var vt=Px(e,t,ke);if(!vt)return t.flags&An?t:null}if((t.flags&Ge)!==Ue)return t.lanes=i,(t.mode&Pe)!==Be&&rS(t),t;var ct=ke!==null,N=e!==null&&e.memoizedState!==null;if(ct!==N&&ct){var I=t.child;if(I.flags|=cl,(t.mode&at)!==Be){var z=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!X);z||kg(Ua.current,zE)?$T():VS()}}var ee=t.updateQueue;if(ee!==null&&(t.flags|=et),hr(t),(t.mode&Pe)!==Be&&ct){var Se=t.child;Se!==null&&(t.treeBaseDuration-=Se.treeBaseDuration)}return null}case re:return Ef(t),ES(e,t),e===null&&lw(t.stateNode.containerInfo),hr(t),null;case lt:var he=t.type._context;return ng(he,t),hr(t),null;case Tt:{var We=t.type;return Dl(We)&&wv(t),hr(t),null}case St:{Rf(t);var qe=t.memoizedState;if(qe===null)return hr(t),null;var Ft=(t.flags&Ge)!==Ue,wt=qe.rendering;if(wt===null)if(Ft)Op(qe,!1);else{var kn=WT()&&(e===null||(e.flags&Ge)===Ue);if(!kn)for(var xt=t.child;xt!==null;){var bn=Gv(xt);if(bn!==null){Ft=!0,t.flags|=Ge,Op(qe,!1);var Pr=bn.updateQueue;return Pr!==null&&(t.updateQueue=Pr,t.flags|=et),t.subtreeFlags=Ue,Ww(t,i),_u(t,Mg(Ua.current,Cp)),t.child}xt=xt.sibling}qe.tail!==null&&an()>tb()&&(t.flags|=Ge,Ft=!0,Op(qe,!1),t.lanes=wd)}else{if(!Ft){var Sr=Gv(wt);if(Sr!==null){t.flags|=Ge,Ft=!0;var $i=Sr.updateQueue;if($i!==null&&(t.updateQueue=$i,t.flags|=et),Op(qe,!0),qe.tail===null&&qe.tailMode==="hidden"&&!wt.alternate&&!dr())return hr(t),null}else an()*2-qe.renderingStartTime>tb()&&i!==Fr&&(t.flags|=Ge,Ft=!0,Op(qe,!1),t.lanes=wd)}if(qe.isBackwards)wt.sibling=t.child,t.child=wt;else{var ti=qe.last;ti!==null?ti.sibling=wt:t.child=wt,qe.last=wt}}if(qe.tail!==null){var ni=qe.tail;qe.rendering=ni,qe.tail=ni.sibling,qe.renderingStartTime=an(),ni.sibling=null;var $r=Ua.current;return Ft?$r=Mg($r,Cp):$r=bf($r),_u(t,$r),ni}return hr(t),null}case tn:break;case Ze:case Ae:{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)===Be?hr(t):Hr(Nl,Fr)&&(hr(t),t.subtreeFlags&(Yt|et)&&(t.flags|=cl)),null}case qt:return null;case _t: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 $x(e,t,i){switch(Gy(t),t.tag){case P:{var a=t.type;Dl(a)&&wv(t);var o=t.flags;return o&An?(t.flags=o&~An|Ge,(t.mode&Pe)!==Be&&rS(t),t):null}case K:{t.stateNode,Ef(t),$y(t),Lg();var s=t.flags;return(s&An)!==Ue&&(s&Ge)===Ue?(t.flags=s&~An|Ge,t):null}case te:return _g(t),null;case de:{Rf(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|Ge,(t.mode&Pe)!==Be&&rS(t),t):null}case St:return Rf(t),null;case re:return Ef(t),null;case lt:var m=t.type._context;return ng(m,t),null;case Ze:case Ae:return HS(t),null;case qt:return null;default:return null}}function z0(e,t,i){switch(Gy(t),t.tag){case P:{var a=t.type.childContextTypes;a!=null&&wv(t);break}case K:{t.stateNode,Ef(t),$y(t),Lg();break}case te:{_g(t);break}case re:Ef(t);break;case de:Rf(t);break;case St:Rf(t);break;case lt:var o=t.type._context;ng(o,t);break;case Ze:case Ae:HS(t);break}}var U0=null;U0=new Set;var mm=!1,vr=!1,Ix=typeof WeakSet=="function"?WeakSet:Set,Re=null,kf=null,Mf=null;function Wx(e){Ql(null,function(){throw e}),sd()}var Yx=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Pe)try{Ll(),t.componentWillUnmount()}finally{Ol(e)}else t.componentWillUnmount()};function F0(e,t){try{Ou(Wn,e)}catch(i){Kt(e,t,i)}}function bS(e,t,i){try{Yx(e,i)}catch(a){Kt(e,t,a)}}function Gx(e,t,i){try{i.componentDidMount()}catch(a){Kt(e,t,a)}}function H0(e,t){try{B0(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(ut&&Et&&e.mode&Pe)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.",Xe(e))}else i.current=null}function ym(e,t,i){try{i()}catch(a){Kt(e,t,a)}}var V0=!1;function Qx(e,t){oR(e.containerInfo),Re=t,Xx();var i=V0;return V0=!1,i}function Xx(){for(;Re!==null;){var e=Re,t=e.child;(e.subtreeFlags&qo)!==Ue&&t!==null?(t.return=e,Re=t):Kx()}}function Kx(){for(;Re!==null;){var e=Re;Mt(e);try{qx(e)}catch(i){Kt(e,e.return,i)}cn();var t=e.sibling;if(t!==null){t.return=e.return,Re=t;return}Re=e.return}}function qx(e){var t=e.alternate,i=e.flags;if((i&si)!==Ue){switch(Mt(e),e.tag){case A:case De:case we:break;case P:{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=U0;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 K:{{var m=e.stateNode;LR(m.containerInfo)}break}case te:case ne:case re:case Tt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}cn()}}function 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&&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&&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)!==Ue?m="useLayoutEffect":(s.tag&_l)!==Ue?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=`
|
|
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 Zx(e,t){if((t.flags&Je)!==ze)switch(t.tag){case Ie:{var i=t.stateNode.passiveEffectDuration,a=t.memoizedProps,o=a.id,s=a.onPostCommit,d=o0(),v=t.alternate===null?"mount":"update";l0()&&(v="nested-update"),typeof s=="function"&&s(o,v,i,d);var m=t.return;e:for(;m!==null;){switch(m.tag){case K:var E=m.stateNode;E.passiveEffectDuration+=i;break e;case Ie:var b=m.stateNode;b.passiveEffectDuration+=i;break e}m=m.return}break}}}function Jx(e,t,i,a){if((i.flags&er)!==ze)switch(i.tag){case A:case _e:case Oe:{if(!vr)if(i.mode&Pe)try{Ll(),Ou(Wn|In,i)}finally{Ol(i)}else Ou(Wn|In,i);break}case P:{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&Pe)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&&!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&Pe)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&&!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")),CE(i,v,o));break}case K:{var m=i.updateQueue;if(m!==null){var E=null;if(i.child!==null)switch(i.child.tag){case J:E=i.child.stateNode;break;case P:E=i.child.stateNode;break}CE(i,m,E)}break}case J:{var b=i.stateNode;if(t===null&&i.flags&Je){var O=i.type,k=i.memoizedProps;gR(b,O,k)}break}case ne:break;case re:break;case Ie:{{var F=i.memoizedProps,V=F.onCommit,$=F.onRender,ge=i.stateNode.effectDuration,Fe=o0(),Me=t===null?"mount":"update";l0()&&(Me="nested-update"),typeof $=="function"&&$(i.memoizedProps.id,Me,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Fe);{typeof V=="function"&&V(i.memoizedProps.id,Me,ge,Fe),KT(i);var vt=i.return;e:for(;vt!==null;){switch(vt.tag){case K:var st=vt.stateNode;st.effectDuration+=ge;break e;case Ie:var N=vt.stateNode;N.effectDuration+=ge;break e}vt=vt.return}}}break}case pe:{oT(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&&B0(i)}function eT(e){switch(e.tag){case A:case _e:case Oe:{if(e.mode&Pe)try{Ll(),F0(e,e.return)}finally{Ol(e)}else F0(e,e.return);break}case P:{var t=e.stateNode;typeof t.componentDidMount=="function"&&Gx(e,e.return,t),H0(e,e.return);break}case J:{H0(e,e.return);break}}}function tT(e,t){for(var i=null,a=e;;){if(a.tag===J){if(i===null){i=a;try{var o=a.stateNode;t?_R(o):MR(a.stateNode,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}}else if(a.tag===ne){if(i===null)try{var s=a.stateNode;t?kR(s):OR(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 B0(e){var t=e.ref;if(t!==null){var i=e.stateNode,a;switch(e.tag){case J:a=i;break;default:a=i}if(typeof t=="function"){var o;if(e.mode&Pe)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.",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 nT(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===J){var i=e.stateNode;i!==null&&sw(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 rT(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===J||e.tag===K||e.tag===re}function $0(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!==J&&t.tag!==ne&&t.tag!==Tt;){if(t.flags&Yt||t.child===null||t.tag===re)continue e;t.child.return=t,t=t.child}if(!(t.flags&Yt))return t.stateNode}}function iT(e){var t=rT(e);switch(t.tag){case J:{var i=t.stateNode;t.flags&Ot&&(IC(i),t.flags&=~Ot);var a=$0(e);wS(e,a,i);break}case K:case re:{var o=t.stateNode.containerInfo,s=$0(e);RS(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 RS(e,t,i){var a=e.tag,o=a===J||a===ne;if(o){var s=e.stateNode;t?wR(i,s,t):bR(i,s)}else if(a!==re){var d=e.child;if(d!==null){RS(d,t,i);for(var v=d.sibling;v!==null;)RS(v,t,i),v=v.sibling}}}function wS(e,t,i){var a=e.tag,o=a===J||a===ne;if(o){var s=e.stateNode;t?RR(i,s,t):ER(i,s)}else if(a!==re){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}}}var mr=null,Ba=!1;function aT(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case J:{mr=a.stateNode,Ba=!1;break e}case K:{mr=a.stateNode.containerInfo,Ba=!0;break e}case re:{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}nT(i)}function Lu(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 J:vr||Of(i,t);case ne:{{var a=mr,o=Ba;mr=null,Lu(e,t,i),mr=a,Ba=o,mr!==null&&(Ba?TR(mr,i.stateNode):xR(mr,i.stateNode))}return}case Tt:{mr!==null&&(Ba?DR(mr,i.stateNode):zy(mr,i.stateNode));return}case re:{{var s=mr,d=Ba;mr=i.stateNode.containerInfo,Ba=!0,Lu(e,t,i),mr=s,Ba=d}return}case A:case _e:case xe:case Oe:{if(!vr){var v=i.updateQueue;if(v!==null){var m=v.lastEffect;if(m!==null){var E=m.next,b=E;do{var O=b,k=O.destroy,F=O.tag;k!==void 0&&((F&_l)!==Ei?ym(i,t,k):(F&Wn)!==Ei&&(Cc(i),i.mode&Pe?(Ll(),ym(i,t,k),Ol(i)):ym(i,t,k),Zo())),b=b.next}while(b!==E)}}}Lu(e,t,i);return}case P:{if(!vr){Of(i,t);var V=i.stateNode;typeof V.componentWillUnmount=="function"&&bS(i,t,V)}Lu(e,t,i);return}case un:{Lu(e,t,i);return}case Te:{if(i.mode&at){var $=vr;vr=$||i.memoizedState!==null,Lu(e,t,i),vr=$}else Lu(e,t,i);break}default:{Lu(e,t,i);return}}}function lT(e){e.memoizedState}function oT(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&&YR(s)}}}}function W0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Ix),t.forEach(function(a){var o=rD.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 uT(e,t,i){kf=i,Mf=e,Mt(t),Y0(t,e),Mt(t),kf=null,Mf=null}function ja(e,t,i){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];try{aT(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),Y0(v,e),v=v.sibling;Mt(d)}function Y0(e,t,i){var a=e.alternate,o=e.flags;switch(e.tag){case A:case _e:case xe:case Oe:{if(ja(t,e),Al(e),o&Je){try{Va(_l|In,e,e.return),Ou(_l|In,e)}catch(We){Kt(e,e.return,We)}if(e.mode&Pe){try{Ll(),Va(Wn|In,e,e.return)}catch(We){Kt(e,e.return,We)}Ol(e)}else try{Va(Wn|In,e,e.return)}catch(We){Kt(e,e.return,We)}}return}case P:{ja(t,e),Al(e),o&Or&&a!==null&&Of(a,a.return);return}case J:{ja(t,e),Al(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,E=e.type,b=e.updateQueue;if(e.updateQueue=null,b!==null)try{SR(d,b,E,m,v,e)}catch(We){Kt(e,e.return,We)}}}}return}case ne:{if(ja(t,e),Al(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{CR(O,F,k)}catch(We){Kt(e,e.return,We)}}return}case K:{if(ja(t,e),Al(e),o&Je&&a!==null){var V=a.memoizedState;if(V.isDehydrated)try{WR(t.containerInfo)}catch(We){Kt(e,e.return,We)}}return}case re:{ja(t,e),Al(e);return}case pe:{ja(t,e),Al(e);var $=e.child;if($.flags&cl){var ge=$.stateNode,Fe=$.memoizedState,Me=Fe!==null;if(ge.isHidden=Me,Me){var vt=$.alternate!==null&&$.alternate.memoizedState!==null;vt||PT()}}if(o&Je){try{lT(e)}catch(We){Kt(e,e.return,We)}W0(e)}return}case Te:{var st=a!==null&&a.memoizedState!==null;if(e.mode&at){var N=vr;vr=N||st,ja(t,e),vr=N}else ja(t,e);if(Al(e),o&cl){var I=e.stateNode,z=e.memoizedState,te=z!==null,Se=e;if(I.isHidden=te,te&&!st&&(Se.mode&at)!==Ve){Re=Se;for(var he=Se.child;he!==null;)Re=he,cT(he),he=he.sibling}tT(Se,te)}return}case yt:{ja(t,e),Al(e),o&Je&&W0(e);return}case un:return;default:{ja(t,e),Al(e);return}}}function Al(e){var t=e.flags;if(t&Yt){try{iT(e)}catch(i){Kt(e,e.return,i)}e.flags&=~Yt}t&ci&&(e.flags&=~ci)}function sT(e,t,i){kf=i,Mf=t,Re=e,G0(e,t,i),kf=null,Mf=null}function G0(e,t,i){for(var a=(e.mode&at)!==Ve;Re!==null;){var o=Re,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,E=m!==null&&m.memoizedState!==null,b=E||vr,O=mm,k=vr;mm=v,vr=b,vr&&!k&&(Re=o,fT(o));for(var F=s;F!==null;)Re=F,G0(F,t,i),F=F.sibling;Re=o,mm=O,vr=k,xS(e,t,i);continue}}(o.subtreeFlags&er)!==ze&&s!==null?(s.return=o,Re=s):xS(e,t,i)}}function xS(e,t,i){for(;Re!==null;){var a=Re;if((a.flags&er)!==ze){var o=a.alternate;Mt(a);try{Jx(t,o,a,i)}catch(d){Kt(a,a.return,d)}cn()}if(a===e){Re=null;return}var s=a.sibling;if(s!==null){s.return=a.return,Re=s;return}Re=a.return}}function cT(e){for(;Re!==null;){var t=Re,i=t.child;switch(t.tag){case A:case _e:case xe:case Oe:{if(t.mode&Pe)try{Ll(),Va(Wn,t,t.return)}finally{Ol(t)}else Va(Wn,t,t.return);break}case P:{Of(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&bS(t,t.return,a);break}case J:{Of(t,t.return);break}case Te:{var o=t.memoizedState!==null;if(o){Q0(e);continue}break}}i!==null?(i.return=t,Re=i):Q0(e)}}function Q0(e){for(;Re!==null;){var t=Re;if(t===e){Re=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Re=i;return}Re=t.return}}function fT(e){for(;Re!==null;){var t=Re,i=t.child;if(t.tag===Te){var a=t.memoizedState!==null;if(a){X0(e);continue}}i!==null?(i.return=t,Re=i):X0(e)}}function X0(e){for(;Re!==null;){var t=Re;Mt(t);try{eT(t)}catch(a){Kt(t,t.return,a)}if(cn(),t===e){Re=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Re=i;return}Re=t.return}}function dT(e,t,i,a){Re=t,pT(t,e,i,a)}function pT(e,t,i,a){for(;Re!==null;){var o=Re,s=o.child;(o.subtreeFlags&fi)!==ze&&s!==null?(s.return=o,Re=s):hT(e,t,i,a)}}function hT(e,t,i,a){for(;Re!==null;){var o=Re;if((o.flags&Jt)!==ze){Mt(o);try{vT(t,o,i,a)}catch(d){Kt(o,o.return,d)}cn()}if(o===e){Re=null;return}var s=o.sibling;if(s!==null){s.return=o.return,Re=s;return}Re=o.return}}function vT(e,t,i,a){switch(t.tag){case A:case _e:case Oe:{if(t.mode&Pe){nS();try{Ou(pr|In,t)}finally{tS(t)}}else Ou(pr|In,t);break}}}function mT(e){Re=e,yT()}function yT(){for(;Re!==null;){var e=Re,t=e.child;if((Re.flags&_t)!==ze){var i=e.deletions;if(i!==null){for(var a=0;a<i.length;a++){var o=i[a];Re=o,CT(o,e)}{var s=e.alternate;if(s!==null){var d=s.child;if(d!==null){s.child=null;do{var v=d.sibling;d.sibling=null,d=v}while(d!==null)}}}Re=e}}(e.subtreeFlags&fi)!==ze&&t!==null?(t.return=e,Re=t):gT()}}function gT(){for(;Re!==null;){var e=Re;(e.flags&Jt)!==ze&&(Mt(e),ST(e),cn());var t=e.sibling;if(t!==null){t.return=e.return,Re=t;return}Re=e.return}}function ST(e){switch(e.tag){case A:case _e:case Oe:{e.mode&Pe?(nS(),Va(pr|In,e,e.return),tS(e)):Va(pr|In,e,e.return);break}}}function CT(e,t){for(;Re!==null;){var i=Re;Mt(i),bT(i,t),cn();var a=i.child;a!==null?(a.return=i,Re=a):ET(e)}}function ET(e){for(;Re!==null;){var t=Re,i=t.sibling,a=t.return;if(j0(t),t===e){Re=null;return}if(i!==null){i.return=a,Re=i;return}Re=a}}function bT(e,t){switch(e.tag){case A:case _e:case Oe:{e.mode&Pe?(nS(),Va(pr,e,t),tS(e)):Va(pr,e,t);break}}}function RT(e){switch(e.tag){case A:case _e:case Oe:{try{Ou(Wn|In,e)}catch(i){Kt(e,e.return,i)}break}case P:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Kt(e,e.return,i)}break}}}function wT(e){switch(e.tag){case A:case _e:case Oe:{try{Ou(pr|In,e)}catch(t){Kt(e,e.return,t)}break}}}function xT(e){switch(e.tag){case A:case _e:case Oe:{try{Va(Wn|In,e,e.return)}catch(i){Kt(e,e.return,i)}break}case P:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&bS(e,e.return,t);break}}}function TT(e){switch(e.tag){case A:case _e:case Oe: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 DT=[];function _T(){DT.forEach(function(e){return e()})}var kT=h.ReactCurrentActQueue;function MT(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function K0(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&kT.current!==null&&C("The current testing environment is not configured to support act(...)"),e}}var OT=Math.ceil,TS=h.ReactCurrentDispatcher,DS=h.ReactCurrentOwner,yr=h.ReactCurrentBatchConfig,Pa=h.ReactCurrentActQueue,Qn=0,q0=1,gr=2,sa=4,wo=0,Ap=1,Vs=2,gm=3,Np=4,Z0=5,_S=6,ht=Qn,Jr=null,gn=null,Xn=W,Nl=W,kS=bu(W),Kn=wo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,bi=null,MS=0,J0=500,eb=1/0,LT=500,xo=null;function Hp(){eb=rn()+LT}function tb(){return eb}var Em=!1,OS=null,Lf=null,Bs=!1,Au=null,Vp=W,LS=[],AS=null,AT=50,Bp=0,NS=null,zS=!1,bm=!1,NT=50,Af=0,Rm=null,jp=jt,wm=W,nb=!1;function xm(){return Jr}function ei(){return(ht&(gr|sa))!==Qn?rn():(jp!==jt||(jp=rn()),jp)}function Nu(e){var t=e.mode;if((t&at)===Ve)return $e;if((ht&gr)!==Qn&&Xn!==W)return xn(Xn);var i=Mw()!==kw;if(i){if(yr.transition!==null){var a=yr.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return wm===pt&&(wm=Dd()),wm}var o=vi();if(o!==pt)return o;var s=hR();return s}function zT(e){var t=e.mode;return(t&at)===Ve?$e:ny()}function qn(e,t,i,a){aD(),nb&&C("useInsertionEffect must not schedule updates."),zS&&(bm=!0),lo(e,i,a),(ht&gr)!==W&&e===Jr?uD(t):(Pn&&Ld(e,t,i),sD(t),e===Jr&&((ht&gr)===Qn&&(Up=et(Up,i)),Kn===Np&&zu(e,Xn)),Ri(e,a),i===$e&&ht===Qn&&(t.mode&at)===Ve&&!Pa.isBatchingLegacy&&(Hp(),tE()))}function UT(e,t,i){var a=e.current;a.lanes=t,lo(e,t,i),Ri(e,i)}function FT(e){return(ht&gr)!==Qn}function Ri(e,t){var i=e.callbackNode;Jm(e,t);var a=fs(e,e===Jr?Xn:W);if(a===W){i!==null&&gb(i),e.callbackNode=null,e.callbackPriority=pt;return}var o=Cn(a),s=e.callbackPriority;if(s===o&&!(Pa.current!==null&&i!==PS)){i==null&&s!==$e&&C("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&gb(i);var d;if(o===$e)e.tag===Ru?(Pa.isBatchingLegacy!==null&&(Pa.didScheduleLegacyUpdate=!0),dw(ab.bind(null,e))):eE(ab.bind(null,e)),Pa.current!==null?Pa.current.push(wu):mR(function(){(ht&(gr|sa))===Qn&&wu()}),d=null;else{var v;switch(ms(a)){case tr:v=mc;break;case $n:v=Xr;break;case Da:v=Ji;break;case hs:v=dl;break;default:v=Ji;break}d=$S(v,rb.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function rb(e,t){if(ax(),jp=jt,wm=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?GT(e,o):Dm(e,o);if(d!==wo){if(d===Vs){var v=xd(e);v!==W&&(o=v,d=US(e,v))}if(d===Ap){var m=zp;throw js(e,W),zu(e,o),Ri(e,rn()),m}if(d===_S)zu(e,o);else{var E=!ps(e,o),b=e.current.alternate;if(E&&!VT(b)){if(d=Dm(e,o),d===Vs){var O=xd(e);O!==W&&(o=O,d=US(e,O))}if(d===Ap){var k=zp;throw js(e,W),zu(e,o),Ri(e,rn()),k}}e.finishedWork=b,e.finishedLanes=o,HT(e,d,o)}}return Ri(e,rn()),e.callbackNode===i?rb.bind(null,e):null}function US(e,t){var i=Fp;if(Dn(e)){var a=js(e,t);a.flags|=fn,aw(e.containerInfo)}var o=Dm(e,t);if(o!==Vs){var s=bi;bi=i,s!==null&&ib(s)}return o}function ib(e){bi===null?bi=e:bi.push.apply(bi,e)}function HT(e,t,i){switch(t){case wo:case Ap:throw new Error("Root did not complete. This is a bug in React.");case Vs:{Ps(e,bi,xo);break}case gm:{if(zu(e,i),Bc(i)&&!Sb()){var a=MS+J0-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=Ay(Ps.bind(null,e,bi,xo),a);break}}Ps(e,bi,xo);break}case Np:{if(zu(e,i),Uh(i))break;if(!Sb()){var d=zh(e,i),v=d,m=rn()-v,E=iD(m)-m;if(E>10){e.timeoutHandle=Ay(Ps.bind(null,e,bi,xo),E);break}}Ps(e,bi,xo);break}case Z0:{Ps(e,bi,xo);break}default:throw new Error("Unknown root exit status.")}}function VT(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(!be(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 ab(e){if(lx(),(ht&(gr|sa))!==Qn)throw new Error("Should not already be working.");Do();var t=fs(e,W);if(!Hr(t,$e))return Ri(e,rn()),null;var i=Dm(e,t);if(e.tag!==Ru&&i===Vs){var a=xd(e);a!==W&&(t=a,i=US(e,a))}if(i===Ap){var o=zp;throw js(e,W),zu(e,t),Ri(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,Ps(e,bi,xo),Ri(e,rn()),null}function BT(e,t){t!==W&&(lu(e,et(t,$e)),Ri(e,rn()),(ht&(gr|sa))===Qn&&(Hp(),wu()))}function FS(e,t){var i=ht;ht|=q0;try{return e(t)}finally{ht=i,ht===Qn&&!Pa.isBatchingLegacy&&(Hp(),tE())}}function jT(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){Au!==null&&Au.tag===Ru&&(ht&(gr|sa))===Qn&&Do();var t=ht;ht|=q0;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&&wu()}}function lb(){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 js(e,t){e.finishedWork=null,e.finishedLanes=W;var i=e.timeoutHandle;if(i!==Ny&&(e.timeoutHandle=Ny,vR(i)),gn!==null)for(var a=gn.return;a!==null;){var o=a.alternate;z0(o,a),a=a.return}Jr=e;var s=$s(e.current,null);return gn=s,Xn=Nl=t,Kn=wo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,bi=null,Nw(),Na.discardPendingWarnings(),s}function ob(e,t){do{var i=gn;try{if(Nv(),FE(),cn(),DS.current=null,i===null||i.return===null){Kn=Ap,zp=t,gn=null;return}if(ot&&i.mode&Pe&&dm(i,!0),Ct)if(Kl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;Lh(i,a,Xn)}else Ec(i,t,Xn);fx(e,i.return,i,t,Xn),fb(i)}catch(o){t=o,gn===i&&i!==null?(i=i.return,gn=i):i=gn;continue}return}while(!0)}function ub(){var e=TS.current;return TS.current=om,e===null?om:e}function sb(e){TS.current=e}function PT(){MS=rn()}function Pp(e){Sm=et(e,Sm)}function $T(){Kn===wo&&(Kn=gm)}function VS(){(Kn===wo||Kn===gm||Kn===Vs)&&(Kn=Np),Jr!==null&&(ds(Sm)||ds(Up))&&zu(Jr,Xn)}function IT(e){Kn!==Np&&(Kn=Vs),Fp===null?Fp=[e]:Fp.push(e)}function WT(){return Kn===wo}function Dm(e,t){var i=ht;ht|=gr;var a=ub();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{YT();break}catch(s){ob(e,s)}while(!0);if(Nv(),ht=i,sb(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 YT(){for(;gn!==null;)cb(gn)}function GT(e,t){var i=ht;ht|=gr;var a=ub();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{QT();break}catch(s){ob(e,s)}while(!0);return Nv(),sb(a),ht=i,gn!==null?(os(),wo):(eu(),Jr=null,Xn=W,Kn)}function QT(){for(;gn!==null&&!vc();)cb(gn)}function cb(e){var t=e.alternate;Mt(e);var i;(e.mode&Pe)!==Ve?(eS(e),i=BS(t,e,Nl),dm(e,!0)):i=BS(t,e,Nl),cn(),e.memoizedProps=e.pendingProps,i===null?fb(e):gn=i,DS.current=null}function fb(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&Pe)===Ve?o=N0(i,t,Nl):(eS(t),o=N0(i,t,Nl),dm(t,!1)),cn(),o!==null){gn=o;return}}else{var s=$x(i,t);if(s!==null){s.flags&=Rh,gn=s;return}if((t.mode&Pe)!==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===wo&&(Kn=Z0)}function Ps(e,t,i){var a=vi(),o=yr.transition;try{yr.transition=null,Tn(tr),XT(e,t,i,a)}finally{yr.transition=o,Tn(a)}return null}function XT(e,t,i,a){do Do();while(Au!==null);if(lD(),(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,AS=i,$S(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 E=yr.transition;yr.transition=null;var b=vi();Tn(tr);var O=ht;ht|=sa,DS.current=null,Qx(e,o),u0(),uT(e,o,s),uR(e.containerInfo),e.current=o,Ah(s),sT(o,e,s),Jo(),Th(),ht=O,Tn(b),yr.transition=E}else e.current=o,u0();var k=Bs;if(Bs?(Bs=!1,Au=e,Vp=s):(Af=0,Rm=null),d=e.pendingLanes,d===W&&(Lf=null),k||vb(e.current,!1),wa(o.stateNode,a),Pn&&e.memoizedUpdaters.clear(),_T(),Ri(e,rn()),t!==null)for(var F=e.onRecoverableError,V=0;V<t.length;V++){var $=t[V],ge=$.stack,Fe=$.digest;F($.value,{componentStack:ge,digest:Fe})}if(Em){Em=!1;var Me=OS;throw OS=null,Me}return Hr(Vp,$e)&&e.tag!==Ru&&Do(),d=e.pendingLanes,Hr(d,$e)?(ix(),e===NS?Bp++:(Bp=0,NS=e)):Bp=0,wu(),Cd(),null}function Do(){if(Au!==null){var e=ms(Vp),t=iy(Da,e),i=yr.transition,a=vi();try{return yr.transition=null,Tn(t),qT()}finally{Tn(a),yr.transition=i}}return!1}function KT(e){LS.push(e),Bs||(Bs=!0,$S(Ji,function(){return Do(),null}))}function qT(){if(Au===null)return!1;var e=AS;AS=null;var t=Au,i=Vp;if(Au=null,Vp=W,(ht&(gr|sa))!==Qn)throw new Error("Cannot flush passive effects while already rendering.");zS=!0,bm=!1,Nh(i);var a=ht;ht|=sa,mT(t.current),dT(t,t.current,i,e);{var o=LS;LS=[];for(var s=0;s<o.length;s++){var d=o[s];Zx(t,d)}}ls(),vb(t.current,!0),ht=a,wu(),bm?t===Rm?Af++:(Af=0,Rm=t):Af=0,zS=!1,bm=!1,hl(t);{var v=t.current.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}return!0}function db(e){return Lf!==null&&Lf.has(e)}function ZT(e){Lf===null?Lf=new Set([e]):Lf.add(e)}function JT(e){Em||(Em=!0,OS=e)}var eD=JT;function pb(e,t,i){var a=Fs(i,t),o=c0(e,a,$e),s=Tu(e,o,$e),d=ei();s!==null&&(lo(s,$e,d),Ri(s,d))}function Kt(e,t,i){if(Wx(i),Ip(!1),e.tag===K){pb(e,e,i);return}var a=null;for(a=t;a!==null;){if(a.tag===K){pb(a,e,i);return}else if(a.tag===P){var o=a.type,s=a.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!db(s)){var d=Fs(i,e),v=lS(a,d,$e),m=Tu(a,v,$e),E=ei();m!==null&&(lo(m,$e,E),Ri(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`: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 Zx(e,t){if((t.flags&et)!==Ue)switch(t.tag){case $e:{var i=t.stateNode.passiveEffectDuration,a=t.memoizedProps,o=a.id,s=a.onPostCommit,d=o0(),v=t.alternate===null?"mount":"update";l0()&&(v="nested-update"),typeof s=="function"&&s(o,v,i,d);var m=t.return;e:for(;m!==null;){switch(m.tag){case K:var E=m.stateNode;E.passiveEffectDuration+=i;break e;case $e:var b=m.stateNode;b.passiveEffectDuration+=i;break e}m=m.return}break}}}function Jx(e,t,i,a){if((i.flags&er)!==Ue)switch(i.tag){case A:case De:case we:{if(!vr)if(i.mode&Pe)try{Ll(),Ou(Wn|In,i)}finally{Ol(i)}else Ou(Wn|In,i);break}case P:{var o=i.stateNode;if(i.flags&et&&!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&Pe)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&&!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&Pe)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&&!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")),CE(i,v,o));break}case K:{var m=i.updateQueue;if(m!==null){var E=null;if(i.child!==null)switch(i.child.tag){case te:E=i.child.stateNode;break;case P:E=i.child.stateNode;break}CE(i,m,E)}break}case te:{var b=i.stateNode;if(t===null&&i.flags&et){var O=i.type,k=i.memoizedProps;gR(b,O,k)}break}case ne:break;case re:break;case $e:{{var F=i.memoizedProps,V=F.onCommit,$=F.onRender,ge=i.stateNode.effectDuration,Fe=o0(),ke=t===null?"mount":"update";l0()&&(ke="nested-update"),typeof $=="function"&&$(i.memoizedProps.id,ke,i.actualDuration,i.treeBaseDuration,i.actualStartTime,Fe);{typeof V=="function"&&V(i.memoizedProps.id,ke,ge,Fe),KT(i);var vt=i.return;e:for(;vt!==null;){switch(vt.tag){case K:var ct=vt.stateNode;ct.effectDuration+=ge;break e;case $e:var N=vt.stateNode;N.effectDuration+=ge;break e}vt=vt.return}}}break}case de:{oT(e,i);break}case St:case Tt:case tn:case Ze:case Ae:case _t: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&&B0(i)}function eT(e){switch(e.tag){case A:case De:case we:{if(e.mode&Pe)try{Ll(),F0(e,e.return)}finally{Ol(e)}else F0(e,e.return);break}case P:{var t=e.stateNode;typeof t.componentDidMount=="function"&&Gx(e,e.return,t),H0(e,e.return);break}case te:{H0(e,e.return);break}}}function tT(e,t){for(var i=null,a=e;;){if(a.tag===te){if(i===null){i=a;try{var o=a.stateNode;t?_R(o):MR(a.stateNode,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}}else if(a.tag===ne){if(i===null)try{var s=a.stateNode;t?kR(s):OR(s,a.memoizedProps)}catch(d){Kt(e,e.return,d)}}else if(!((a.tag===Ze||a.tag===Ae)&&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 B0(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&Pe)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.",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 nT(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===te){var i=e.stateNode;i!==null&&sw(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 rT(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===K||e.tag===re}function $0(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!==ne&&t.tag!==Dt;){if(t.flags&Yt||t.child===null||t.tag===re)continue e;t.child.return=t,t=t.child}if(!(t.flags&Yt))return t.stateNode}}function iT(e){var t=rT(e);switch(t.tag){case te:{var i=t.stateNode;t.flags&Ot&&(IC(i),t.flags&=~Ot);var a=$0(e);wS(e,a,i);break}case K:case re:{var o=t.stateNode.containerInfo,s=$0(e);RS(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 RS(e,t,i){var a=e.tag,o=a===te||a===ne;if(o){var s=e.stateNode;t?wR(i,s,t):bR(i,s)}else if(a!==re){var d=e.child;if(d!==null){RS(d,t,i);for(var v=d.sibling;v!==null;)RS(v,t,i),v=v.sibling}}}function wS(e,t,i){var a=e.tag,o=a===te||a===ne;if(o){var s=e.stateNode;t?RR(i,s,t):ER(i,s)}else if(a!==re){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}}}var mr=null,Ba=!1;function aT(e,t,i){{var a=t;e:for(;a!==null;){switch(a.tag){case te:{mr=a.stateNode,Ba=!1;break e}case K:{mr=a.stateNode.containerInfo,Ba=!0;break e}case re:{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}nT(i)}function Lu(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 ne:{{var a=mr,o=Ba;mr=null,Lu(e,t,i),mr=a,Ba=o,mr!==null&&(Ba?TR(mr,i.stateNode):xR(mr,i.stateNode))}return}case Dt:{mr!==null&&(Ba?DR(mr,i.stateNode):zy(mr,i.stateNode));return}case re:{{var s=mr,d=Ba;mr=i.stateNode.containerInfo,Ba=!0,Lu(e,t,i),mr=s,Ba=d}return}case A:case De:case Le:case we:{if(!vr){var v=i.updateQueue;if(v!==null){var m=v.lastEffect;if(m!==null){var E=m.next,b=E;do{var O=b,k=O.destroy,F=O.tag;k!==void 0&&((F&_l)!==Ei?ym(i,t,k):(F&Wn)!==Ei&&(Cc(i),i.mode&Pe?(Ll(),ym(i,t,k),Ol(i)):ym(i,t,k),Zo())),b=b.next}while(b!==E)}}}Lu(e,t,i);return}case P:{if(!vr){Of(i,t);var V=i.stateNode;typeof V.componentWillUnmount=="function"&&bS(i,t,V)}Lu(e,t,i);return}case tn:{Lu(e,t,i);return}case Ze:{if(i.mode&at){var $=vr;vr=$||i.memoizedState!==null,Lu(e,t,i),vr=$}else Lu(e,t,i);break}default:{Lu(e,t,i);return}}}function lT(e){e.memoizedState}function oT(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&&YR(s)}}}}function W0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Ix),t.forEach(function(a){var o=rD.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 uT(e,t,i){kf=i,Mf=e,Mt(t),Y0(t,e),Mt(t),kf=null,Mf=null}function ja(e,t,i){var a=t.deletions;if(a!==null)for(var o=0;o<a.length;o++){var s=a[o];try{aT(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),Y0(v,e),v=v.sibling;Mt(d)}function Y0(e,t,i){var a=e.alternate,o=e.flags;switch(e.tag){case A:case De:case Le:case we:{if(ja(t,e),Al(e),o&et){try{Va(_l|In,e,e.return),Ou(_l|In,e)}catch(We){Kt(e,e.return,We)}if(e.mode&Pe){try{Ll(),Va(Wn|In,e,e.return)}catch(We){Kt(e,e.return,We)}Ol(e)}else try{Va(Wn|In,e,e.return)}catch(We){Kt(e,e.return,We)}}return}case P:{ja(t,e),Al(e),o&Or&&a!==null&&Of(a,a.return);return}case te:{ja(t,e),Al(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&et){var d=e.stateNode;if(d!=null){var v=e.memoizedProps,m=a!==null?a.memoizedProps:v,E=e.type,b=e.updateQueue;if(e.updateQueue=null,b!==null)try{SR(d,b,E,m,v,e)}catch(We){Kt(e,e.return,We)}}}}return}case ne:{if(ja(t,e),Al(e),o&et){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var O=e.stateNode,k=e.memoizedProps,F=a!==null?a.memoizedProps:k;try{CR(O,F,k)}catch(We){Kt(e,e.return,We)}}return}case K:{if(ja(t,e),Al(e),o&et&&a!==null){var V=a.memoizedState;if(V.isDehydrated)try{WR(t.containerInfo)}catch(We){Kt(e,e.return,We)}}return}case re:{ja(t,e),Al(e);return}case de:{ja(t,e),Al(e);var $=e.child;if($.flags&cl){var ge=$.stateNode,Fe=$.memoizedState,ke=Fe!==null;if(ge.isHidden=ke,ke){var vt=$.alternate!==null&&$.alternate.memoizedState!==null;vt||PT()}}if(o&et){try{lT(e)}catch(We){Kt(e,e.return,We)}W0(e)}return}case Ze:{var ct=a!==null&&a.memoizedState!==null;if(e.mode&at){var N=vr;vr=N||ct,ja(t,e),vr=N}else ja(t,e);if(Al(e),o&cl){var I=e.stateNode,z=e.memoizedState,ee=z!==null,Se=e;if(I.isHidden=ee,ee&&!ct&&(Se.mode&at)!==Be){Re=Se;for(var he=Se.child;he!==null;)Re=he,cT(he),he=he.sibling}tT(Se,ee)}return}case St:{ja(t,e),Al(e),o&et&&W0(e);return}case tn:return;default:{ja(t,e),Al(e);return}}}function Al(e){var t=e.flags;if(t&Yt){try{iT(e)}catch(i){Kt(e,e.return,i)}e.flags&=~Yt}t&ci&&(e.flags&=~ci)}function sT(e,t,i){kf=i,Mf=t,Re=e,G0(e,t,i),kf=null,Mf=null}function G0(e,t,i){for(var a=(e.mode&at)!==Be;Re!==null;){var o=Re,s=o.child;if(o.tag===Ze&&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,b=E||vr,O=mm,k=vr;mm=v,vr=b,vr&&!k&&(Re=o,fT(o));for(var F=s;F!==null;)Re=F,G0(F,t,i),F=F.sibling;Re=o,mm=O,vr=k,xS(e,t,i);continue}}(o.subtreeFlags&er)!==Ue&&s!==null?(s.return=o,Re=s):xS(e,t,i)}}function xS(e,t,i){for(;Re!==null;){var a=Re;if((a.flags&er)!==Ue){var o=a.alternate;Mt(a);try{Jx(t,o,a,i)}catch(d){Kt(a,a.return,d)}cn()}if(a===e){Re=null;return}var s=a.sibling;if(s!==null){s.return=a.return,Re=s;return}Re=a.return}}function cT(e){for(;Re!==null;){var t=Re,i=t.child;switch(t.tag){case A:case De:case Le:case we:{if(t.mode&Pe)try{Ll(),Va(Wn,t,t.return)}finally{Ol(t)}else Va(Wn,t,t.return);break}case P:{Of(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&bS(t,t.return,a);break}case te:{Of(t,t.return);break}case Ze:{var o=t.memoizedState!==null;if(o){Q0(e);continue}break}}i!==null?(i.return=t,Re=i):Q0(e)}}function Q0(e){for(;Re!==null;){var t=Re;if(t===e){Re=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Re=i;return}Re=t.return}}function fT(e){for(;Re!==null;){var t=Re,i=t.child;if(t.tag===Ze){var a=t.memoizedState!==null;if(a){X0(e);continue}}i!==null?(i.return=t,Re=i):X0(e)}}function X0(e){for(;Re!==null;){var t=Re;Mt(t);try{eT(t)}catch(a){Kt(t,t.return,a)}if(cn(),t===e){Re=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Re=i;return}Re=t.return}}function dT(e,t,i,a){Re=t,pT(t,e,i,a)}function pT(e,t,i,a){for(;Re!==null;){var o=Re,s=o.child;(o.subtreeFlags&fi)!==Ue&&s!==null?(s.return=o,Re=s):hT(e,t,i,a)}}function hT(e,t,i,a){for(;Re!==null;){var o=Re;if((o.flags&Jt)!==Ue){Mt(o);try{vT(t,o,i,a)}catch(d){Kt(o,o.return,d)}cn()}if(o===e){Re=null;return}var s=o.sibling;if(s!==null){s.return=o.return,Re=s;return}Re=o.return}}function vT(e,t,i,a){switch(t.tag){case A:case De:case we:{if(t.mode&Pe){nS();try{Ou(pr|In,t)}finally{tS(t)}}else Ou(pr|In,t);break}}}function mT(e){Re=e,yT()}function yT(){for(;Re!==null;){var e=Re,t=e.child;if((Re.flags&kt)!==Ue){var i=e.deletions;if(i!==null){for(var a=0;a<i.length;a++){var o=i[a];Re=o,CT(o,e)}{var s=e.alternate;if(s!==null){var d=s.child;if(d!==null){s.child=null;do{var v=d.sibling;d.sibling=null,d=v}while(d!==null)}}}Re=e}}(e.subtreeFlags&fi)!==Ue&&t!==null?(t.return=e,Re=t):gT()}}function gT(){for(;Re!==null;){var e=Re;(e.flags&Jt)!==Ue&&(Mt(e),ST(e),cn());var t=e.sibling;if(t!==null){t.return=e.return,Re=t;return}Re=e.return}}function ST(e){switch(e.tag){case A:case De:case we:{e.mode&Pe?(nS(),Va(pr|In,e,e.return),tS(e)):Va(pr|In,e,e.return);break}}}function CT(e,t){for(;Re!==null;){var i=Re;Mt(i),bT(i,t),cn();var a=i.child;a!==null?(a.return=i,Re=a):ET(e)}}function ET(e){for(;Re!==null;){var t=Re,i=t.sibling,a=t.return;if(j0(t),t===e){Re=null;return}if(i!==null){i.return=a,Re=i;return}Re=a}}function bT(e,t){switch(e.tag){case A:case De:case we:{e.mode&Pe?(nS(),Va(pr,e,t),tS(e)):Va(pr,e,t);break}}}function RT(e){switch(e.tag){case A:case De:case we:{try{Ou(Wn|In,e)}catch(i){Kt(e,e.return,i)}break}case P:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Kt(e,e.return,i)}break}}}function wT(e){switch(e.tag){case A:case De:case we:{try{Ou(pr|In,e)}catch(t){Kt(e,e.return,t)}break}}}function xT(e){switch(e.tag){case A:case De:case we:{try{Va(Wn|In,e,e.return)}catch(i){Kt(e,e.return,i)}break}case P:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&bS(e,e.return,t);break}}}function TT(e){switch(e.tag){case A:case De:case we: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 DT=[];function _T(){DT.forEach(function(e){return e()})}var kT=h.ReactCurrentActQueue;function MT(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function K0(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&kT.current!==null&&C("The current testing environment is not configured to support act(...)"),e}}var OT=Math.ceil,TS=h.ReactCurrentDispatcher,DS=h.ReactCurrentOwner,yr=h.ReactCurrentBatchConfig,Pa=h.ReactCurrentActQueue,Qn=0,q0=1,gr=2,sa=4,wo=0,Ap=1,Vs=2,gm=3,Np=4,Z0=5,_S=6,ht=Qn,Jr=null,gn=null,Xn=W,Nl=W,kS=bu(W),Kn=wo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,bi=null,MS=0,J0=500,eb=1/0,LT=500,xo=null;function Hp(){eb=an()+LT}function tb(){return eb}var Em=!1,OS=null,Lf=null,Bs=!1,Au=null,Vp=W,LS=[],AS=null,AT=50,Bp=0,NS=null,zS=!1,bm=!1,NT=50,Af=0,Rm=null,jp=jt,wm=W,nb=!1;function xm(){return Jr}function ei(){return(ht&(gr|sa))!==Qn?an():(jp!==jt||(jp=an()),jp)}function Nu(e){var t=e.mode;if((t&at)===Be)return Ie;if((ht&gr)!==Qn&&Xn!==W)return xn(Xn);var i=Mw()!==kw;if(i){if(yr.transition!==null){var a=yr.transition;a._updatedFibers||(a._updatedFibers=new Set),a._updatedFibers.add(e)}return wm===pt&&(wm=Dd()),wm}var o=vi();if(o!==pt)return o;var s=hR();return s}function zT(e){var t=e.mode;return(t&at)===Be?Ie:ny()}function qn(e,t,i,a){aD(),nb&&C("useInsertionEffect must not schedule updates."),zS&&(bm=!0),lo(e,i,a),(ht&gr)!==W&&e===Jr?uD(t):(Pn&&Ld(e,t,i),sD(t),e===Jr&&((ht&gr)===Qn&&(Up=tt(Up,i)),Kn===Np&&zu(e,Xn)),Ri(e,a),i===Ie&&ht===Qn&&(t.mode&at)===Be&&!Pa.isBatchingLegacy&&(Hp(),tE()))}function UT(e,t,i){var a=e.current;a.lanes=t,lo(e,t,i),Ri(e,i)}function FT(e){return(ht&gr)!==Qn}function Ri(e,t){var i=e.callbackNode;Jm(e,t);var a=fs(e,e===Jr?Xn:W);if(a===W){i!==null&&gb(i),e.callbackNode=null,e.callbackPriority=pt;return}var o=Cn(a),s=e.callbackPriority;if(s===o&&!(Pa.current!==null&&i!==PS)){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&&gb(i);var d;if(o===Ie)e.tag===Ru?(Pa.isBatchingLegacy!==null&&(Pa.didScheduleLegacyUpdate=!0),dw(ab.bind(null,e))):eE(ab.bind(null,e)),Pa.current!==null?Pa.current.push(wu):mR(function(){(ht&(gr|sa))===Qn&&wu()}),d=null;else{var v;switch(ms(a)){case tr:v=mc;break;case $n:v=Xr;break;case Da:v=Ji;break;case hs:v=dl;break;default:v=Ji;break}d=$S(v,rb.bind(null,e))}e.callbackPriority=o,e.callbackNode=d}function rb(e,t){if(ax(),jp=jt,wm=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?GT(e,o):Dm(e,o);if(d!==wo){if(d===Vs){var v=xd(e);v!==W&&(o=v,d=US(e,v))}if(d===Ap){var m=zp;throw js(e,W),zu(e,o),Ri(e,an()),m}if(d===_S)zu(e,o);else{var E=!ps(e,o),b=e.current.alternate;if(E&&!VT(b)){if(d=Dm(e,o),d===Vs){var O=xd(e);O!==W&&(o=O,d=US(e,O))}if(d===Ap){var k=zp;throw js(e,W),zu(e,o),Ri(e,an()),k}}e.finishedWork=b,e.finishedLanes=o,HT(e,d,o)}}return Ri(e,an()),e.callbackNode===i?rb.bind(null,e):null}function US(e,t){var i=Fp;if(Dn(e)){var a=js(e,t);a.flags|=fn,aw(e.containerInfo)}var o=Dm(e,t);if(o!==Vs){var s=bi;bi=i,s!==null&&ib(s)}return o}function ib(e){bi===null?bi=e:bi.push.apply(bi,e)}function HT(e,t,i){switch(t){case wo:case Ap:throw new Error("Root did not complete. This is a bug in React.");case Vs:{Ps(e,bi,xo);break}case gm:{if(zu(e,i),Bc(i)&&!Sb()){var a=MS+J0-an();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=Ay(Ps.bind(null,e,bi,xo),a);break}}Ps(e,bi,xo);break}case Np:{if(zu(e,i),Uh(i))break;if(!Sb()){var d=zh(e,i),v=d,m=an()-v,E=iD(m)-m;if(E>10){e.timeoutHandle=Ay(Ps.bind(null,e,bi,xo),E);break}}Ps(e,bi,xo);break}case Z0:{Ps(e,bi,xo);break}default:throw new Error("Unknown root exit status.")}}function VT(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(!be(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 ab(e){if(lx(),(ht&(gr|sa))!==Qn)throw new Error("Should not already be working.");Do();var t=fs(e,W);if(!Hr(t,Ie))return Ri(e,an()),null;var i=Dm(e,t);if(e.tag!==Ru&&i===Vs){var a=xd(e);a!==W&&(t=a,i=US(e,a))}if(i===Ap){var o=zp;throw js(e,W),zu(e,t),Ri(e,an()),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,Ps(e,bi,xo),Ri(e,an()),null}function BT(e,t){t!==W&&(lu(e,tt(t,Ie)),Ri(e,an()),(ht&(gr|sa))===Qn&&(Hp(),wu()))}function FS(e,t){var i=ht;ht|=q0;try{return e(t)}finally{ht=i,ht===Qn&&!Pa.isBatchingLegacy&&(Hp(),tE())}}function jT(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){Au!==null&&Au.tag===Ru&&(ht&(gr|sa))===Qn&&Do();var t=ht;ht|=q0;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&&wu()}}function lb(){return(ht&(gr|sa))!==Qn}function Tm(e,t){Br(kS,Nl,e),Nl=tt(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,vR(i)),gn!==null)for(var a=gn.return;a!==null;){var o=a.alternate;z0(o,a),a=a.return}Jr=e;var s=$s(e.current,null);return gn=s,Xn=Nl=t,Kn=wo,zp=null,Sm=W,Up=W,Cm=W,Fp=null,bi=null,Nw(),Na.discardPendingWarnings(),s}function ob(e,t){do{var i=gn;try{if(Nv(),FE(),cn(),DS.current=null,i===null||i.return===null){Kn=Ap,zp=t,gn=null;return}if(ut&&i.mode&Pe&&dm(i,!0),Ct)if(Kl(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var a=t;Lh(i,a,Xn)}else Ec(i,t,Xn);fx(e,i.return,i,t,Xn),fb(i)}catch(o){t=o,gn===i&&i!==null?(i=i.return,gn=i):i=gn;continue}return}while(!0)}function ub(){var e=TS.current;return TS.current=om,e===null?om:e}function sb(e){TS.current=e}function PT(){MS=an()}function Pp(e){Sm=tt(e,Sm)}function $T(){Kn===wo&&(Kn=gm)}function VS(){(Kn===wo||Kn===gm||Kn===Vs)&&(Kn=Np),Jr!==null&&(ds(Sm)||ds(Up))&&zu(Jr,Xn)}function IT(e){Kn!==Np&&(Kn=Vs),Fp===null?Fp=[e]:Fp.push(e)}function WT(){return Kn===wo}function Dm(e,t){var i=ht;ht|=gr;var a=ub();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{YT();break}catch(s){ob(e,s)}while(!0);if(Nv(),ht=i,sb(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 YT(){for(;gn!==null;)cb(gn)}function GT(e,t){var i=ht;ht|=gr;var a=ub();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{QT();break}catch(s){ob(e,s)}while(!0);return Nv(),sb(a),ht=i,gn!==null?(os(),wo):(eu(),Jr=null,Xn=W,Kn)}function QT(){for(;gn!==null&&!vc();)cb(gn)}function cb(e){var t=e.alternate;Mt(e);var i;(e.mode&Pe)!==Be?(eS(e),i=BS(t,e,Nl),dm(e,!0)):i=BS(t,e,Nl),cn(),e.memoizedProps=e.pendingProps,i===null?fb(e):gn=i,DS.current=null}function fb(e){var t=e;do{var i=t.alternate,a=t.return;if((t.flags&Yr)===Ue){Mt(t);var o=void 0;if((t.mode&Pe)===Be?o=N0(i,t,Nl):(eS(t),o=N0(i,t,Nl),dm(t,!1)),cn(),o!==null){gn=o;return}}else{var s=$x(i,t);if(s!==null){s.flags&=Rh,gn=s;return}if((t.mode&Pe)!==Be){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=Ue,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===wo&&(Kn=Z0)}function Ps(e,t,i){var a=vi(),o=yr.transition;try{yr.transition=null,Tn(tr),XT(e,t,i,a)}finally{yr.transition=o,Tn(a)}return null}function XT(e,t,i,a){do Do();while(Au!==null);if(lD(),(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=tt(o.lanes,o.childLanes);Od(e,d),e===Jr&&(Jr=null,gn=null,Xn=W),((o.subtreeFlags&fi)!==Ue||(o.flags&fi)!==Ue)&&(Bs||(Bs=!0,AS=i,$S(Ji,function(){return Do(),null})));var v=(o.subtreeFlags&(qo|Nr|er|fi))!==Ue,m=(o.flags&(qo|Nr|er|fi))!==Ue;if(v||m){var E=yr.transition;yr.transition=null;var b=vi();Tn(tr);var O=ht;ht|=sa,DS.current=null,Qx(e,o),u0(),uT(e,o,s),uR(e.containerInfo),e.current=o,Ah(s),sT(o,e,s),Jo(),Th(),ht=O,Tn(b),yr.transition=E}else e.current=o,u0();var k=Bs;if(Bs?(Bs=!1,Au=e,Vp=s):(Af=0,Rm=null),d=e.pendingLanes,d===W&&(Lf=null),k||vb(e.current,!1),wa(o.stateNode,a),Pn&&e.memoizedUpdaters.clear(),_T(),Ri(e,an()),t!==null)for(var F=e.onRecoverableError,V=0;V<t.length;V++){var $=t[V],ge=$.stack,Fe=$.digest;F($.value,{componentStack:ge,digest:Fe})}if(Em){Em=!1;var ke=OS;throw OS=null,ke}return Hr(Vp,Ie)&&e.tag!==Ru&&Do(),d=e.pendingLanes,Hr(d,Ie)?(ix(),e===NS?Bp++:(Bp=0,NS=e)):Bp=0,wu(),Cd(),null}function Do(){if(Au!==null){var e=ms(Vp),t=iy(Da,e),i=yr.transition,a=vi();try{return yr.transition=null,Tn(t),qT()}finally{Tn(a),yr.transition=i}}return!1}function KT(e){LS.push(e),Bs||(Bs=!0,$S(Ji,function(){return Do(),null}))}function qT(){if(Au===null)return!1;var e=AS;AS=null;var t=Au,i=Vp;if(Au=null,Vp=W,(ht&(gr|sa))!==Qn)throw new Error("Cannot flush passive effects while already rendering.");zS=!0,bm=!1,Nh(i);var a=ht;ht|=sa,mT(t.current),dT(t,t.current,i,e);{var o=LS;LS=[];for(var s=0;s<o.length;s++){var d=o[s];Zx(t,d)}}ls(),vb(t.current,!0),ht=a,wu(),bm?t===Rm?Af++:(Af=0,Rm=t):Af=0,zS=!1,bm=!1,hl(t);{var v=t.current.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}return!0}function db(e){return Lf!==null&&Lf.has(e)}function ZT(e){Lf===null?Lf=new Set([e]):Lf.add(e)}function JT(e){Em||(Em=!0,OS=e)}var eD=JT;function pb(e,t,i){var a=Fs(i,t),o=c0(e,a,Ie),s=Tu(e,o,Ie),d=ei();s!==null&&(lo(s,Ie,d),Ri(s,d))}function Kt(e,t,i){if(Wx(i),Ip(!1),e.tag===K){pb(e,e,i);return}var a=null;for(a=t;a!==null;){if(a.tag===K){pb(a,e,i);return}else if(a.tag===P){var o=a.type,s=a.stateNode;if(typeof o.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&!db(s)){var d=Fs(i,e),v=lS(a,d,Ie),m=Tu(a,v,Ie),E=ei();m!==null&&(lo(m,Ie,E),Ri(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.
|
|
198
198
|
|
|
199
199
|
Error message:
|
|
200
200
|
|
|
201
|
-
%s`,i)}function tD(e,t,i){var a=e.pingCache;a!==null&&a.delete(t);var o=ei();Md(e,i),cD(e),Jr===e&&ao(Xn,i)&&(Kn===Np||Kn===gm&&Bc(Xn)&&
|
|
201
|
+
%s`,i)}function tD(e,t,i){var a=e.pingCache;a!==null&&a.delete(t);var o=ei();Md(e,i),cD(e),Jr===e&&ao(Xn,i)&&(Kn===Np||Kn===gm&&Bc(Xn)&&an()-MS<J0?js(e,W):Cm=tt(Cm,i)),Ri(e,o)}function hb(e,t){t===pt&&(t=zT(e));var i=ei(),a=Ci(e,t);a!==null&&(lo(a,t,i),Ri(a,i))}function nD(e){var t=e.memoizedState,i=pt;t!==null&&(i=t.retryLane),hb(e,i)}function rD(e,t){var i=pt,a;switch(e.tag){case de:a=e.stateNode;var o=e.memoizedState;o!==null&&(i=o.retryLane);break;case St: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),hb(e,i)}function iD(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:OT(e/1960)*1960}function aD(){if(Bp>AT)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.");Af>NT&&(Af=0,Rm=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 lD(){Na.flushLegacyContextWarning(),Na.flushPendingUnsafeLifecycleWarnings()}function vb(e,t){Mt(e),_m(e,Ar,xT),t&&_m(e,Xl,TT),_m(e,Ar,RT),t&&_m(e,Xl,wT),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!==Ue?a=a.child:((a.flags&t)!==Ue&&i(a),a.sibling!==null?a=a.sibling:a=o=a.return)}}var km=null;function mb(e){{if((ht&gr)!==Qn||!(e.mode&at))return;var t=e.tag;if(t!==oe&&t!==K&&t!==P&&t!==A&&t!==De&&t!==Le&&t!==we)return;var i=Xe(e)||"ReactComponent";if(km!==null){if(km.has(i))return;km.add(i)}else km=new Set([i]);var a=rn;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 oD=null;BS=function(e,t,i){var a=wb(oD,t);try{return k0(e,t,i)}catch(s){if(Cw()||s!==null&&typeof s=="object"&&typeof s.then=="function")throw s;if(Nv(),FE(),z0(e,t),wb(t,a),t.mode&Pe&&eS(t),Ql(null,k0,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 yb=!1,jS;jS=new Set;function uD(e){if(_r&&!tx())switch(e.tag){case A:case De:case we:{var t=gn&&Xe(gn)||"Unknown",i=t;if(!jS.has(i)){jS.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 P:{yb||(C("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),yb=!0);break}}}function $p(e,t){if(Pn){var i=e.memoizedUpdaters;i.forEach(function(a){Ld(e,a,t)})}}var PS={};function $S(e,t){{var i=Pa.current;return i!==null?(i.push(t),PS):hc(e,t)}}function gb(e){if(e!==PS)return xh(e)}function Sb(){return Pa.current!==null}function sD(e){{if(e.mode&at){if(!K0())return}else if(!MT()||ht!==Qn||e.tag!==A&&e.tag!==De&&e.tag!==we)return;if(Pa.current===null){var t=rn;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
|
|
|
@@ -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 Ip(e){nb=e}var ca=null,Nf=null,fD=function(e){ca=e};function zf(e){{if(ca===null)return e;var t=ca(e);return t===void 0?e:t.current}}function IS(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 Cb(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 P:{typeof a=="function"&&(o=!0);break}case A:{(typeof a=="function"||s===Bn)&&(o=!0);break}case
|
|
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 Ip(e){nb=e}var ca=null,Nf=null,fD=function(e){ca=e};function zf(e){{if(ca===null)return e;var t=ca(e);return t===void 0?e:t.current}}function IS(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 Cb(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 P:{typeof a=="function"&&(o=!0);break}case A:{(typeof a=="function"||s===Bn)&&(o=!0);break}case De:{(s===sn||s===Bn)&&(o=!0);break}case Le:case we:{(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 Eb(e){{if(ca===null||typeof WeakSet!="function")return;Nf===null&&(Nf=new WeakSet),Nf.add(e)}}var dD=function(e,t){{if(ca===null)return;var i=t.staleFamilies,a=t.updatedFamilies;Do(),To(function(){YS(e.current,a,i)})}},pD=function(e,t){{if(e.context!==ji)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 A:case we:case P:m=v;break;case De:m=v.render;break}if(ca===null)throw new Error("Expected resolveFamily to be set during hot reload.");var E=!1,b=!1;if(m!==null){var O=ca(m);O!==void 0&&(i.has(O)?b=!0:t.has(O)&&(d===P?b=!0:E=!0))}if(Nf!==null&&(Nf.has(e)||a!==null&&Nf.has(a))&&(b=!0),b&&(e._debugNeedsRemount=!0),b||E){var k=Ci(e,Ie);k!==null&&qn(k,e,Ie,jt)}o!==null&&!b&&YS(o,t,i),s!==null&&YS(s,t,i)}}var hD=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 A:case we:case P:v=d;break;case De:v=d.render;break}var m=!1;v!==null&&t.has(v)&&(m=!0),m?vD(e,i):a!==null&&GS(a,t,i),o!==null&&GS(o,t,i)}}function vD(e,t){{var i=mD(e,t);if(i)return;for(var a=e;;){switch(a.tag){case te:t.add(a.stateNode);return;case re:t.add(a.stateNode.containerInfo);return;case K:t.add(a.stateNode.containerInfo);return}if(a.return===null)throw new Error("Expected to reach root first.");a=a.return}}}function mD(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 bb=Object.preventExtensions({})}catch{QS=!0}}function yD(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=Ue,this.subtreeFlags=Ue,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 Pi=function(e,t,i,a){return new yD(e,t,i,a)};function XS(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function gD(e){return typeof e=="function"&&!XS(e)&&e.defaultProps===void 0}function SD(e){if(typeof e=="function")return XS(e)?P:A;if(e!=null){var t=e.$$typeof;if(t===sn)return De;if(t===Ga)return Le}return oe}function $s(e,t){var i=e.alternate;i===null?(i=Pi(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=Ue,i.subtreeFlags=Ue,i.deletions=null,i.actualDuration=0,i.actualStartTime=-1),i.flags=e.flags&jn,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 A:case we:i.type=zf(e.type);break;case P:i.type=IS(e.type);break;case De:i.type=WS(e.type);break}return i}function CD(e,t){e.flags&=jn|Yt;var i=e.alternate;if(i===null)e.childLanes=W,e.lanes=t,e.child=null,e.subtreeFlags=Ue,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=Ue,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 ED(e,t,i){var a;return e===Tv?(a=at,t===!0&&(a|=ln,a|=pi)):a=Be,Pn&&(a|=Pe),Pi(K,null,null,a)}function KS(e,t,i,a,o,s){var d=oe,v=e;if(typeof e=="function")XS(e)?(d=P,v=IS(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=pe,o|=ln,(o&at)!==Be&&(o|=pi);break;case Ya:return bD(i,o,s,t);case ii:return RD(i,o,s,t);case Hl:return wD(i,o,s,t);case Vu:return Rb(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 Lo:d=lt;break e;case Hu:d=Me;break e;case sn:d=De,v=WS(v);break e;case Ga:d=Le;break e;case Bn:d=ot,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 E=a?Xe(a):null;E&&(m+=`
|
|
220
220
|
|
|
221
|
-
Check the render method of \``+E+"`.")}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 b=Pi(d,i,t,o);return b.elementType=e,b.type=v,b.lanes=s,b._debugOwner=a,b}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=Pi(
|
|
221
|
+
Check the render method of \``+E+"`.")}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 b=Pi(d,i,t,o);return b.elementType=e,b.type=v,b.lanes=s,b._debugOwner=a,b}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=Pi(He,e,a,t);return o.lanes=i,o}function bD(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=Pi($e,e,a,t|Pe);return o.elementType=Ya,o.lanes=i,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}function RD(e,t,i,a){var o=Pi(de,e,a,t);return o.elementType=ii,o.lanes=i,o}function wD(e,t,i,a){var o=Pi(St,e,a,t);return o.elementType=Hl,o.lanes=i,o}function Rb(e,t,i,a){var o=Pi(Ze,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=Pi(ne,e,null,t);return a.lanes=i,a}function xD(){var e=Pi(te,null,null,Be);return e.elementType="DELETED",e}function TD(e){var t=Pi(Dt,null,null,Be);return t.stateNode=e,t}function JS(e,t,i){var a=e.children!==null?e.children:[],o=Pi(re,a,e.key,t);return o.lanes=i,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function wb(e,t){return e===null&&(e=Pi(oe,null,null,Be)),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 DD(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=Pc(W),this.expirationTimes=Pc(jt),this.pendingLanes=W,this.suspendedLanes=W,this.pingedLanes=W,this.expiredLanes=W,this.mutableReadLanes=W,this.finishedLanes=W,this.entangledLanes=W,this.entanglements=Pc(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 Ru:this._debugRootType=i?"hydrate()":"render()";break}}function xb(e,t,i,a,o,s,d,v,m,E){var b=new DD(e,t,i,v,m),O=ED(t,s);b.current=O,O.stateNode=b;{var k={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null};O.memoizedState=k}return og(O),b}var eC="18.2.0";function _D(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 Tb(e){if(!e)return ji;var t=ui(e),i=fw(t);if(t.tag===P){var a=t.type;if(Dl(a))return ZC(t,a,i)}return i}function kD(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&ln){var s=Xe(i)||"Component";if(!nC[s]){nC[s]=!0;var d=rn;try{Mt(o),i.mode&ln?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 Db(e,t,i,a,o,s,d,v){var m=!1,E=null;return xb(e,t,m,E,i,a,o,s,d)}function _b(e,t,i,a,o,s,d,v,m,E){var b=!0,O=xb(i,a,b,e,o,s,d,v,m);O.context=Tb(null);var k=O.current,F=ei(),V=Nu(k),$=bo(F,V);return $.callback=t??null,Tu(k,$,V),UT(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=Tb(i);t.context===null?t.context=v:t.pendingContext=v,_r&&rn!==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.`,Xe(
|
|
223
|
+
Check the render method of %s.`,Xe(rn)||"Unknown"));var m=bo(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 E=Tu(o,m,d);return E!==null&&(qn(E,o,d,s),Vv(E,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 MD(e){switch(e.tag){case K:{var t=e.stateNode;if(Dn(t)){var i=ey(t);BT(t,i)}break}case de:{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 kb(e,t){var i=e.memoizedState;i!==null&&i.dehydrated!==null&&(i.retryLane=Vh(i.retryLane,t))}function rC(e,t){kb(e,t);var i=e.alternate;i&&kb(i,t)}function OD(e){if(e.tag===de){var t=tu,i=Ci(e,t);if(i!==null){var a=ei();qn(i,e,t,a)}rC(e,t)}}function LD(e){if(e.tag===de){var t=Nu(e),i=Ci(e,t);if(i!==null){var a=ei();qn(i,e,t,a)}rC(e,t)}}function Mb(e){var t=wh(e);return t===null?null:t.stateNode}var Ob=function(e){return null};function AD(e){return Ob(e)}var Lb=function(e){return!1};function ND(e){return Lb(e)}var Ab=null,Nb=null,zb=null,Ub=null,Fb=null,Hb=null,Vb=null,Bb=null,jb=null;{var Pb=function(e,t,i){var a=t[i],o=dt(e)?e.slice():rt({},e);return i+1===t.length?(dt(o)?o.splice(a,1):delete o[a],o):(o[a]=Pb(e[a],t,i+1),o)},$b=function(e,t){return Pb(e,t,0)},Ib=function(e,t,i,a){var o=t[a],s=dt(e)?e.slice():rt({},e);if(a+1===t.length){var d=i[a];s[d]=s[o],dt(s)?s.splice(o,1):delete s[o]}else s[o]=Ib(e[o],t,i,a+1);return s},Wb=function(e,t,i){if(t.length!==i.length){T("copyWithRename() expects paths of the same length");return}else for(var a=0;a<i.length-1;a++)if(t[a]!==i[a]){T("copyWithRename() expects paths to be the same except for the deepest key");return}return Ib(e,t,i,0)},Yb=function(e,t,i,a){if(i>=t.length)return a;var o=t[i],s=dt(e)?e.slice():rt({},e);return s[o]=Yb(e[o],t,i+1,a),s},Gb=function(e,t,i){return Yb(e,t,0,i)},iC=function(e,t){for(var i=e.memoizedState;i!==null&&t>0;)i=i.next,t--;return i};Ab=function(e,t,i,a){var o=iC(e,t);if(o!==null){var s=Gb(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,jt)}},Nb=function(e,t,i){var a=iC(e,t);if(a!==null){var o=$b(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,jt)}},zb=function(e,t,i,a){var o=iC(e,t);if(o!==null){var s=Wb(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,jt)}},Ub=function(e,t,i){e.pendingProps=Gb(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ci(e,Ie);a!==null&&qn(a,e,Ie,jt)},Fb=function(e,t){e.pendingProps=$b(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var i=Ci(e,Ie);i!==null&&qn(i,e,Ie,jt)},Hb=function(e,t,i){e.pendingProps=Wb(e.memoizedProps,t,i),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Ci(e,Ie);a!==null&&qn(a,e,Ie,jt)},Vb=function(e){var t=Ci(e,Ie);t!==null&&qn(t,e,Ie,jt)},Bb=function(e){Ob=e},jb=function(e){Lb=e}}function zD(e){var t=di(e);return t===null?null:t.stateNode}function UD(e){return null}function FD(){return rn}function HD(e){var t=e.findFiberByHostInstance,i=h.ReactCurrentDispatcher;return gd({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Ab,overrideHookStateDeletePath:Nb,overrideHookStateRenamePath:zb,overrideProps:Ub,overridePropsDeletePath:Fb,overridePropsRenamePath:Hb,setErrorHandler:Bb,setSuspenseHandler:jb,scheduleUpdate:Vb,currentDispatcherRef:i,findHostInstanceByFiber:zD,findFiberByHostInstance:t||UD,findHostInstancesForRefresh:hD,scheduleRefresh:dD,scheduleRoot:pD,setRefreshHandler:fD,getCurrentFiber:FD,reconcilerVersion:eC})}var Qb=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()."):Lm(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=Mb(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;lb()&&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)}),GC(t)}};function VD(e,t){if(!Lm(e))throw new Error("createRoot(...): Target container is not a DOM element.");Xb(e);var i=!1,a=!1,o="",s=Qb;t!=null&&(t.hydrate?T("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Ia&&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=Db(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 BD(e){e&&Gh(e)}Om.prototype.unstable_scheduleHydration=BD;function jD(e,t,i){if(!Lm(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Xb(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=Qb;i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(v=i.identifierPrefix),i.onRecoverableError!==void 0&&(m=i.onRecoverableError));var E=_b(t,null,e,Tv,a,s,d,v,m);if(Sv(E.current,e),Jd(e),o)for(var b=0;b<o.length;b++){var O=o[b];Xw(E,O)}return new Om(E)}function Lm(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===Pl||!ye))}function Yp(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===Pl||e.nodeType===Sn&&e.nodeValue===" react-mount-point-unstable "))}function Xb(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 PD=h.ReactCurrentOwner,Kb;Kb=function(e){if(e._reactRootContainer&&e.nodeType!==Sn){var t=Mb(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 qb(){}function $D(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=_b(t,a,e,Ru,null,!1,!1,"",qb);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 E=a;a=function(){var k=Mm(b);E.call(k)}}var b=Db(e,Ru,null,!1,!1,"",qb);e._reactRootContainer=b,Sv(b.current,e);var O=e.nodeType===Sn?e.parentNode:e;return Jd(O),To(function(){Wp(t,b,i,a)}),b}}function ID(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 Am(e,t,i,a,o){Kb(i),ID(o===void 0?null:o,"render");var s=i._reactRootContainer,d;if(!s)d=$D(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 WD(e){{var t=PD.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.",
|
|
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=Db(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 BD(e){e&&Gh(e)}Om.prototype.unstable_scheduleHydration=BD;function jD(e,t,i){if(!Lm(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Xb(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=Qb;i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(v=i.identifierPrefix),i.onRecoverableError!==void 0&&(m=i.onRecoverableError));var E=_b(t,null,e,Tv,a,s,d,v,m);if(Sv(E.current,e),Jd(e),o)for(var b=0;b<o.length;b++){var O=o[b];Xw(E,O)}return new Om(E)}function Lm(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===Pl||!ye))}function Yp(e){return!!(e&&(e.nodeType===Mr||e.nodeType===Ui||e.nodeType===Pl||e.nodeType===Sn&&e.nodeValue===" react-mount-point-unstable "))}function Xb(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 PD=h.ReactCurrentOwner,Kb;Kb=function(e){if(e._reactRootContainer&&e.nodeType!==Sn){var t=Mb(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 qb(){}function $D(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=_b(t,a,e,Ru,null,!1,!1,"",qb);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 E=a;a=function(){var k=Mm(b);E.call(k)}}var b=Db(e,Ru,null,!1,!1,"",qb);e._reactRootContainer=b,Sv(b.current,e);var O=e.nodeType===Sn?e.parentNode:e;return Jd(O),To(function(){Wp(t,b,i,a)}),b}}function ID(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 Am(e,t,i,a,o){Kb(i),ID(o===void 0?null:o,"render");var s=i._reactRootContainer,d;if(!s)d=$D(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 WD(e){{var t=PD.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.",yt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===Mr?e:kD(e,"findDOMNode")}function YD(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 Am(null,e,t,!0,i)}function GD(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 Am(null,e,t,!1,i)}function QD(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 Am(e,t,i,!1,a)}function XD(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(){Am(null,null,e,!1,function(){e._reactRootContainer=null,GC(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(MD),jh(OD),gs(LD),zd(vi),$h(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(Z1),sc(FS,jT,To);function KD(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Lm(t))throw new Error("Target container is not a DOM element.");return _D(e,t,null,i)}function qD(e,t,i,a){return QD(e,t,i,a)}var oC={usingClientEntryPoint:!1,Events:[Eu,df,Cv,uc,es,FS]};function ZD(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".'),VD(e,t)}function JD(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".'),jD(e,t,i)}function e_(e){return lb()&&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 t_=HD({findFiberByHostInstance:_s,bundleType:1,version:eC,rendererPackageName:"react-dom"});if(!t_&&hn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Zb=window.location.protocol;/^(https?|file):$/.test(Zb)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Zb==="file:"?`
|
|
227
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=KD,xi.createRoot=ZD,xi.findDOMNode=WD,xi.flushSync=e_,xi.hydrate=YD,xi.hydrateRoot=JD,xi.render=GD,xi.unmountComponentAtNode=XD,xi.unstable_batchedUpdates=FS,xi.unstable_renderSubtreeIntoContainer=qD,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 y1(){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(y1)}catch(Y){console.error(Y)}}}process.env.NODE_ENV==="production"?(y1(),dC.exports=U_()):dC.exports=F_();var H_=dC.exports,pC,Um=H_;if(process.env.NODE_ENV==="production")pC=Um.createRoot,Um.hydrateRoot;else{var c1=Um.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;pC=function(Y,f){c1.usingClientEntryPoint=!0;try{return Um.createRoot(Y,f)}finally{c1.usingClientEntryPoint=!1}}}class V_{constructor(f){this.Component=f,console.info(f)}render(f,h,g,R,T,C,Q){const A={cellDiv:f,rowIndex:h,columnIndex:g,areaIdent:R,areaModel:T,cellValue:C},P=pC(f,{});return P.render(this.Component(A)),()=>{P.unmount()}}}exports.ComponentRendererWrapper=V_;exports.GuiexpertTable=O_;
|