funcnodes-react-flow 0.4.8__py3-none-any.whl → 0.4.9__py3-none-any.whl
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.
- funcnodes_react_flow/static/funcnodes_react_flow.css +1 -1
- funcnodes_react_flow/static/funcnodes_react_flow.es.js +3 -3
- funcnodes_react_flow/static/funcnodes_react_flow.iife.js +2 -2
- {funcnodes_react_flow-0.4.8.dist-info → funcnodes_react_flow-0.4.9.dist-info}/METADATA +1 -1
- {funcnodes_react_flow-0.4.8.dist-info → funcnodes_react_flow-0.4.9.dist-info}/RECORD +9 -9
- {funcnodes_react_flow-0.4.8.dist-info → funcnodes_react_flow-0.4.9.dist-info}/WHEEL +0 -0
- {funcnodes_react_flow-0.4.8.dist-info → funcnodes_react_flow-0.4.9.dist-info}/entry_points.txt +0 -0
- {funcnodes_react_flow-0.4.8.dist-info → funcnodes_react_flow-0.4.9.dist-info}/licenses/LICENSE +0 -0
- {funcnodes_react_flow-0.4.8.dist-info → funcnodes_react_flow-0.4.9.dist-info}/top_level.txt +0 -0
@@ -796,7 +796,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
796
796
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Iv(e){return are(e)||sre(e)||XN(e)||lre()}function ure(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Lv=C.useLayoutEffect,cre=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ph=function(){};function fre(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function dre(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&a.push("".concat(fre(e,s)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var ZN=function(t){return wre(t)?t.filter(Boolean):_a(t)==="object"&&t!==null?[t]:[]},QN=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=ji(t,cre);return Re({},n)},Rt=function(t,n,r){var i=t.cx,a=t.getStyles,s=t.getClassNames,u=t.className;return{css:a(n,t),className:i(r??{},s(n,t),u)}};function jh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function hre(e){return jh(e)?window.innerHeight:e.clientHeight}function JN(e){return jh(e)?window.pageYOffset:e.scrollTop}function zh(e,t){if(jh(e)){window.scrollTo(0,t);return}e.scrollTop=t}function pre(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function mre(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Ih(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Ph,i=JN(e),a=t-i,s=10,u=0;function f(){u+=s;var d=mre(u,i,a,n);zh(e,d),u<n?window.requestAnimationFrame(f):r(e)}f()}function e2(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?zh(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&zh(e,Math.max(t.offsetTop-i,0))}function gre(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function t2(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function yre(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var n2=!1,vre={get passive(){return n2=!0}},Lh=typeof window<"u"?window:{};Lh.addEventListener&&Lh.removeEventListener&&(Lh.addEventListener("p",Ph,vre),Lh.removeEventListener("p",Ph,!1));var bre=n2;function xre(e){return e!=null}function wre(e){return Array.isArray(e)}function Fh(e,t,n){return e?t:n}function kue(e){return e}function Aue(e){return e}var Sre=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var a=Object.entries(t).filter(function(s){var u=Pi(s,1),f=u[0];return!r.includes(f)});return a.reduce(function(s,u){var f=Pi(u,2),d=f[0],h=f[1];return s[d]=h,s},{})},_re=["children","innerProps"],Ere=["children","innerProps"];function Cre(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,a=e.shouldScroll,s=e.isFixedPosition,u=e.controlHeight,f=pre(n),d={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return d;var h=f.getBoundingClientRect(),p=h.height,g=n.getBoundingClientRect(),y=g.bottom,b=g.height,x=g.top,E=n.offsetParent.getBoundingClientRect(),S=E.top,A=s?window.innerHeight:hre(f),k=JN(f),R=parseInt(getComputedStyle(n).marginBottom,10),N=parseInt(getComputedStyle(n).marginTop,10),D=S-N,P=A-x,F=D+k,V=p-k-x,T=y-A+k+R,$=k+x-N,H=160;switch(i){case"auto":case"bottom":if(P>=b)return{placement:"bottom",maxHeight:t};if(V>=b&&!s)return a&&Ih(f,T,H),{placement:"bottom",maxHeight:t};if(!s&&V>=r||s&&P>=r){a&&Ih(f,T,H);var G=s?P-R:V-R;return{placement:"bottom",maxHeight:G}}if(i==="auto"||s){var z=t,U=s?D:F;return U>=r&&(z=Math.min(U-R-u,t)),{placement:"top",maxHeight:z}}if(i==="bottom")return a&&zh(f,T),{placement:"bottom",maxHeight:t};break;case"top":if(D>=b)return{placement:"top",maxHeight:t};if(F>=b&&!s)return a&&Ih(f,$,H),{placement:"top",maxHeight:t};if(!s&&F>=r||s&&D>=r){var j=t;return(!s&&F>=r||s&&D>=r)&&(j=s?D-N:F-N),a&&Ih(f,$,H),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return d}function kre(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var r2=function(t){return t==="auto"?"bottom":t},Are=function(t,n){var r,i=t.placement,a=t.theme,s=a.borderRadius,u=a.spacing,f=a.colors;return Re((r={label:"menu"},Wu(r,kre(i),"100%"),Wu(r,"position","absolute"),Wu(r,"width","100%"),Wu(r,"zIndex",1),r),n?{}:{backgroundColor:f.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},i2=C.createContext(null),Tre=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,a=t.menuPlacement,s=t.menuPosition,u=t.menuShouldScrollIntoView,f=t.theme,d=C.useContext(i2)||{},h=d.setPortalPlacement,p=C.useRef(null),g=C.useState(i),y=Pi(g,2),b=y[0],x=y[1],E=C.useState(null),S=Pi(E,2),A=S[0],k=S[1],R=f.spacing.controlHeight;return Lv(function(){var N=p.current;if(N){var D=s==="fixed",P=u&&!D,F=Cre({maxHeight:i,menuEl:N,minHeight:r,placement:a,shouldScroll:P,isFixedPosition:D,controlHeight:R});x(F.maxHeight),k(F.placement),h?.(F.placement)}},[i,a,s,u,r,h,R]),n({ref:p,placerProps:Re(Re({},t),{},{placement:A||r2(a),maxHeight:b})})},Rre=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return Ee("div",Ce({},Rt(t,"menu",{menu:!0}),{ref:r},i),n)},Ore=Rre,Nre=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Re({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Mre=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,a=t.isMulti;return Ee("div",Ce({},Rt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},o2=function(t,n){var r=t.theme,i=r.spacing.baseUnit,a=r.colors;return Re({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Dre=o2,Pre=o2,jre=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,a=ji(t,_re);return Ee("div",Ce({},Rt(Re(Re({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},zre=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,a=ji(t,Ere);return Ee("div",Ce({},Rt(Re(Re({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Ire=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Lre=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,a=t.innerProps,s=t.menuPlacement,u=t.menuPosition,f=C.useRef(null),d=C.useRef(null),h=C.useState(r2(s)),p=Pi(h,2),g=p[0],y=p[1],b=C.useMemo(function(){return{setPortalPlacement:y}},[]),x=C.useState(null),E=Pi(x,2),S=E[0],A=E[1],k=C.useCallback(function(){if(i){var P=gre(i),F=u==="fixed"?0:window.pageYOffset,V=P[g]+F;(V!==S?.offset||P.left!==S?.rect.left||P.width!==S?.rect.width)&&A({offset:V,rect:P})}},[i,u,g,S?.offset,S?.rect.left,S?.rect.width]);Lv(function(){k()},[k]);var R=C.useCallback(function(){typeof d.current=="function"&&(d.current(),d.current=null),i&&f.current&&(d.current=kk(i,f.current,k,{elementResize:"ResizeObserver"in window}))},[i,k]);Lv(function(){R()},[R]);var N=C.useCallback(function(P){f.current=P,R()},[R]);if(!n&&u!=="fixed"||!S)return null;var D=Ee("div",Ce({ref:N},Rt(Re(Re({},t),{},{offset:S.offset,position:u,rect:S.rect}),"menuPortal",{"menu-portal":!0}),a),r);return Ee(i2.Provider,{value:b},n?Zl.createPortal(D,n):D)},Fre=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Bre=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,a=t.isRtl;return Ee("div",Ce({},Rt(t,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},$re=function(t,n){var r=t.theme.spacing,i=t.isMulti,a=t.hasValue,s=t.selectProps.controlShouldRenderValue;return Re({alignItems:"center",display:i&&a&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},Hre=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,a=t.hasValue;return Ee("div",Ce({},Rt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},Vre=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Ure=function(t){var n=t.children,r=t.innerProps;return Ee("div",Ce({},Rt(t,"indicatorsContainer",{indicators:!0}),r),n)},a2,qre=["size"],Yre=["innerProps","isRtl","size"],Gre={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},s2=function(t){var n=t.size,r=ji(t,qre);return Ee("svg",Ce({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Gre},r))},Fv=function(t){return Ee(s2,Ce({size:20},t),Ee("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},l2=function(t){return Ee(s2,Ce({size:20},t),Ee("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},u2=function(t,n){var r=t.isFocused,i=t.theme,a=i.spacing.baseUnit,s=i.colors;return Re({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?s.neutral60:s.neutral20,padding:a*2,":hover":{color:r?s.neutral80:s.neutral40}})},Xre=u2,Wre=function(t){var n=t.children,r=t.innerProps;return Ee("div",Ce({},Rt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||Ee(l2,null))},Kre=u2,Zre=function(t){var n=t.children,r=t.innerProps;return Ee("div",Ce({},Rt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||Ee(Fv,null))},Qre=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing.baseUnit,s=i.colors;return Re({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?s.neutral10:s.neutral20,marginBottom:a*2,marginTop:a*2})},Jre=function(t){var n=t.innerProps;return Ee("span",Ce({},n,Rt(t,"indicatorSeparator",{"indicator-separator":!0})))},eie=yh(a2||(a2=ure([`
|
797
797
|
0%, 80%, 100% { opacity: 0; }
|
798
798
|
40% { opacity: 1; }
|
799
|
-
`]))),tie=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,s=a.colors,u=a.spacing.baseUnit;return Re({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?s.neutral60:s.neutral20,padding:u*2})},Bv=function(t){var n=t.delay,r=t.offset;return Ee("span",{css:fv({animation:"".concat(eie," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},nie=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,s=ji(t,Yre);return Ee("div",Ce({},Rt(Re(Re({},s),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Ee(Bv,{delay:0,offset:r}),Ee(Bv,{delay:160,offset:!0}),Ee(Bv,{delay:320,offset:!r}))},rie=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,s=a.colors,u=a.borderRadius,f=a.spacing;return Re({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:f.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?s.neutral5:s.neutral0,borderColor:r?s.neutral10:i?s.primary:s.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:i?s.primary:s.neutral30}})},iie=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,s=t.innerProps,u=t.menuIsOpen;return Ee("div",Ce({ref:a},Rt(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),s,{"aria-disabled":r||void 0}),n)},oie=iie,aie=["data"],sie=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},lie=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,s=t.Heading,u=t.headingProps,f=t.innerProps,d=t.label,h=t.theme,p=t.selectProps;return Ee("div",Ce({},Rt(t,"group",{group:!0}),f),Ee(s,Ce({},u,{selectProps:p,theme:h,getStyles:i,getClassNames:a,cx:r}),d),Ee("div",null,n))},uie=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Re({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},cie=function(t){var n=QN(t);n.data;var r=ji(n,aie);return Ee("div",Ce({},Rt(t,"groupHeading",{"group-heading":!0}),r))},fie=lie,die=["innerRef","isDisabled","isHidden","inputClassName"],hie=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,s=a.spacing,u=a.colors;return Re(Re({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},pie),n?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},c2={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},pie={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Re({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},c2)},mie=function(t){return Re({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},c2)},gie=function(t){var n=t.cx,r=t.value,i=QN(t),a=i.innerRef,s=i.isDisabled,u=i.isHidden,f=i.inputClassName,d=ji(i,die);return Ee("div",Ce({},Rt(t,"input",{"input-container":!0}),{"data-value":r||""}),Ee("input",Ce({className:n({input:!0},f),ref:a,style:mie(u),disabled:s},d)))},yie=gie,vie=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,s=r.colors;return Re({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:s.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},bie=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,s=t.cropWithEllipsis;return Re({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},xie=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,s=r.colors,u=t.isFocused;return Re({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},f2=function(t){var n=t.children,r=t.innerProps;return Ee("div",r,n)},wie=f2,Sie=f2;function _ie(e){var t=e.children,n=e.innerProps;return Ee("div",Ce({role:"button"},n),t||Ee(Fv,{size:14}))}var Eie=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,s=t.isDisabled,u=t.removeProps,f=t.selectProps,d=r.Container,h=r.Label,p=r.Remove;return Ee(d,{data:i,innerProps:Re(Re({},Rt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:f},Ee(h,{data:i,innerProps:Re({},Rt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:f},n),Ee(p,{data:i,innerProps:Re(Re({},Rt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:f}))},Cie=Eie,kie=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,s=t.theme,u=s.spacing,f=s.colors;return Re({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?f.primary:i?f.primary25:"transparent",color:r?f.neutral20:a?f.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?f.primary:f.primary50}})},Aie=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,s=t.innerRef,u=t.innerProps;return Ee("div",Ce({},Rt(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:s,"aria-disabled":r},u),n)},Tie=Aie,Rie=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Re({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Oie=function(t){var n=t.children,r=t.innerProps;return Ee("div",Ce({},Rt(t,"placeholder",{placeholder:!0}),r),n)},Nie=Oie,Mie=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,s=i.colors;return Re({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?s.neutral40:s.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},Die=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return Ee("div",Ce({},Rt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},Pie=Die,jie={ClearIndicator:Zre,Control:oie,DropdownIndicator:Wre,DownChevron:l2,CrossIcon:Fv,Group:fie,GroupHeading:cie,IndicatorsContainer:Ure,IndicatorSeparator:Jre,Input:yie,LoadingIndicator:nie,Menu:Ore,MenuList:Mre,MenuPortal:Lre,LoadingMessage:zre,NoOptionsMessage:jre,MultiValue:Cie,MultiValueContainer:wie,MultiValueLabel:Sie,MultiValueRemove:_ie,Option:Tie,Placeholder:Nie,SelectContainer:Bre,SingleValue:Pie,ValueContainer:Hre},zie=function(t){return Re(Re({},jie),t.components)},d2=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Iie(e,t){return!!(e===t||d2(e)&&d2(t))}function Lie(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Iie(e[n],t[n]))return!1;return!0}function Fie(e,t){t===void 0&&(t=Lie);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}for(var Bie={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},$ie=function(t){return Ee("span",Ce({css:Bie},t))},h2=$ie,Hie={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,s=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return s?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,s=a===void 0?"":a,u=t.selectValue,f=t.isDisabled,d=t.isSelected,h=t.isAppleDevice,p=function(x,E){return x&&x.length?"".concat(x.indexOf(E)+1," of ").concat(x.length):""};if(n==="value"&&u)return"value ".concat(s," focused, ").concat(p(u,r),".");if(n==="menu"&&h){var g=f?" disabled":"",y="".concat(d?" selected":"").concat(g);return"".concat(s).concat(y,", ").concat(p(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Vie=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,s=t.isFocused,u=t.selectValue,f=t.selectProps,d=t.id,h=t.isAppleDevice,p=f.ariaLiveMessages,g=f.getOptionLabel,y=f.inputValue,b=f.isMulti,x=f.isOptionDisabled,E=f.isSearchable,S=f.menuIsOpen,A=f.options,k=f.screenReaderStatus,R=f.tabSelectsValue,N=f.isLoading,D=f["aria-label"],P=f["aria-live"],F=C.useMemo(function(){return Re(Re({},Hie),p||{})},[p]),V=C.useMemo(function(){var U="";if(n&&F.onChange){var j=n.option,B=n.options,q=n.removedValue,Y=n.removedValues,O=n.value,W=function(he){return Array.isArray(he)?null:he},Z=q||j||W(O),I=Z?g(Z):"",ie=B||Y||void 0,fe=ie?ie.map(g):[],re=Re({isDisabled:Z&&x(Z,u),label:I,labels:fe},n);U=F.onChange(re)}return U},[n,F,x,u,g]),T=C.useMemo(function(){var U="",j=r||i,B=!!(r&&u&&u.includes(r));if(j&&F.onFocus){var q={focused:j,label:g(j),isDisabled:x(j,u),isSelected:B,options:a,context:j===r?"menu":"value",selectValue:u,isAppleDevice:h};U=F.onFocus(q)}return U},[r,i,g,x,F,a,u,h]),$=C.useMemo(function(){var U="";if(S&&A.length&&!N&&F.onFilter){var j=k({count:a.length});U=F.onFilter({inputValue:y,resultsMessage:j})}return U},[a,y,S,F,A,k,N]),H=n?.action==="initial-input-focus",G=C.useMemo(function(){var U="";if(F.guidance){var j=i?"value":S?"menu":"input";U=F.guidance({"aria-label":D,context:j,isDisabled:r&&x(r,u),isMulti:b,isSearchable:E,tabSelectsValue:R,isInitialFocus:H})}return U},[D,r,i,b,x,E,S,F,u,R,H]),z=Ee(C.Fragment,null,Ee("span",{id:"aria-selection"},V),Ee("span",{id:"aria-focused"},T),Ee("span",{id:"aria-results"},$),Ee("span",{id:"aria-guidance"},G));return Ee(C.Fragment,null,Ee(h2,{id:d},H&&z),Ee(h2,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!H&&z))},Uie=Vie,$v=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],qie=new RegExp("["+$v.map(function(e){return e.letters}).join("")+"]","g"),p2={},Hv=0;Hv<$v.length;Hv++)for(var Vv=$v[Hv],Uv=0;Uv<Vv.letters.length;Uv++)p2[Vv.letters[Uv]]=Vv.base;var m2=function(t){return t.replace(qie,function(n){return p2[n]})},Yie=Fie(m2),g2=function(t){return t.replace(/^\s+|\s+$/g,"")},Gie=function(t){return"".concat(t.label," ").concat(t.value)},Xie=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Re({ignoreCase:!0,ignoreAccents:!0,stringify:Gie,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,s=i.ignoreAccents,u=i.stringify,f=i.trim,d=i.matchFrom,h=f?g2(r):r,p=f?g2(u(n)):u(n);return a&&(h=h.toLowerCase(),p=p.toLowerCase()),s&&(h=Yie(h),p=m2(p)),d==="start"?p.substr(0,h.length)===h:p.indexOf(h)>-1}},Wie=["innerRef"];function Kie(e){var t=e.innerRef,n=ji(e,Wie),r=Sre(n,"onExited","in","enter","exit","appear");return Ee("input",Ce({ref:t},r,{css:fv({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Zie=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Qie(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=C.useRef(!1),u=C.useRef(!1),f=C.useRef(0),d=C.useRef(null),h=C.useCallback(function(E,S){if(d.current!==null){var A=d.current,k=A.scrollTop,R=A.scrollHeight,N=A.clientHeight,D=d.current,P=S>0,F=R-N-k,V=!1;F>S&&s.current&&(r&&r(E),s.current=!1),P&&u.current&&(a&&a(E),u.current=!1),P&&S>F?(n&&!s.current&&n(E),D.scrollTop=R,V=!0,s.current=!0):!P&&-S>k&&(i&&!u.current&&i(E),D.scrollTop=0,V=!0,u.current=!0),V&&Zie(E)}},[n,r,i,a]),p=C.useCallback(function(E){h(E,E.deltaY)},[h]),g=C.useCallback(function(E){f.current=E.changedTouches[0].clientY},[]),y=C.useCallback(function(E){var S=f.current-E.changedTouches[0].clientY;h(E,S)},[h]),b=C.useCallback(function(E){if(E){var S=bre?{passive:!1}:!1;E.addEventListener("wheel",p,S),E.addEventListener("touchstart",g,S),E.addEventListener("touchmove",y,S)}},[y,g,p]),x=C.useCallback(function(E){E&&(E.removeEventListener("wheel",p,!1),E.removeEventListener("touchstart",g,!1),E.removeEventListener("touchmove",y,!1))},[y,g,p]);return C.useEffect(function(){if(t){var E=d.current;return b(E),function(){x(E)}}},[t,b,x]),function(E){d.current=E}}var y2=["boxSizing","height","overflow","paddingRight","position"],v2={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function b2(e){e.cancelable&&e.preventDefault()}function x2(e){e.stopPropagation()}function w2(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function S2(){return"ontouchstart"in window||navigator.maxTouchPoints}var _2=!!(typeof window<"u"&&window.document&&window.document.createElement),Ku=0,qs={capture:!1,passive:!1};function Jie(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=C.useRef({}),a=C.useRef(null),s=C.useCallback(function(f){if(_2){var d=document.body,h=d&&d.style;if(r&&y2.forEach(function(b){var x=h&&h[b];i.current[b]=x}),r&&Ku<1){var p=parseInt(i.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,y=window.innerWidth-g+p||0;Object.keys(v2).forEach(function(b){var x=v2[b];h&&(h[b]=x)}),h&&(h.paddingRight="".concat(y,"px"))}d&&S2()&&(d.addEventListener("touchmove",b2,qs),f&&(f.addEventListener("touchstart",w2,qs),f.addEventListener("touchmove",x2,qs))),Ku+=1}},[r]),u=C.useCallback(function(f){if(_2){var d=document.body,h=d&&d.style;Ku=Math.max(Ku-1,0),r&&Ku<1&&y2.forEach(function(p){var g=i.current[p];h&&(h[p]=g)}),d&&S2()&&(d.removeEventListener("touchmove",b2,qs),f&&(f.removeEventListener("touchstart",w2,qs),f.removeEventListener("touchmove",x2,qs)))}},[r]);return C.useEffect(function(){if(t){var f=a.current;return s(f),function(){u(f)}}},[t,s,u]),function(f){a.current=f}}var eoe=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},toe={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function noe(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,s=e.onBottomLeave,u=e.onTopArrive,f=e.onTopLeave,d=Qie({isEnabled:i,onBottomArrive:a,onBottomLeave:s,onTopArrive:u,onTopLeave:f}),h=Jie({isEnabled:n}),p=function(y){d(y),h(y)};return Ee(C.Fragment,null,n&&Ee("div",{onClick:eoe,css:toe}),t(p))}var roe={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},ioe=function(t){var n=t.name,r=t.onFocus;return Ee("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:roe,value:"",onChange:function(){}})},ooe=ioe;function qv(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function aoe(){return qv(/^iPhone/i)}function E2(){return qv(/^Mac/i)}function soe(){return qv(/^iPad/i)||E2()&&navigator.maxTouchPoints>1}function loe(){return aoe()||soe()}function uoe(){return E2()||loe()}var coe=function(t){return t.label},foe=function(t){return t.label},doe=function(t){return t.value},hoe=function(t){return!!t.isDisabled},poe={clearIndicator:Kre,container:Fre,control:rie,dropdownIndicator:Xre,group:sie,groupHeading:uie,indicatorsContainer:Vre,indicatorSeparator:Qre,input:hie,loadingIndicator:tie,loadingMessage:Pre,menu:Are,menuList:Nre,menuPortal:Ire,multiValue:vie,multiValueLabel:bie,multiValueRemove:xie,noOptionsMessage:Dre,option:kie,placeholder:Rie,singleValue:Mie,valueContainer:$re},moe={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},goe=4,C2=4,yoe=38,voe=C2*2,boe={baseUnit:C2,controlHeight:yoe,menuGutter:voe},Yv={borderRadius:goe,colors:moe,spacing:boe},xoe={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:t2(),captureMenuScroll:!t2(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xie(),formatGroupLabel:coe,getOptionLabel:foe,getOptionValue:doe,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:hoe,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!yre(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function k2(e,t,n,r){var i=N2(e,t,n),a=M2(e,t,n),s=O2(e,t),u=$h(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:s,value:u,index:r}}function Bh(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(s,u){return k2(e,s,t,u)}).filter(function(s){return R2(e,s)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=k2(e,n,t,r);return R2(e,a)?a:void 0}).filter(xre)}function A2(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Iv(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function T2(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Iv(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function woe(e,t){return A2(Bh(e,t))}function R2(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,s=t.label,u=t.value;return(!P2(e)||!a)&&D2(e,{label:s,value:u,data:i},r)}function Soe(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function _oe(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Gv=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},O2=function(t,n){return t.getOptionLabel(n)},$h=function(t,n){return t.getOptionValue(n)};function N2(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function M2(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=$h(e,t);return n.some(function(i){return $h(e,i)===r})}function D2(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var P2=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Eoe=1,j2=function(e){rre(n,e);var t=ore(n);function n(r){var i;if(tre(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=uoe(),i.controlRef=null,i.getControlRef=function(f){i.controlRef=f},i.focusedOptionRef=null,i.getFocusedOptionRef=function(f){i.focusedOptionRef=f},i.menuListRef=null,i.getMenuListRef=function(f){i.menuListRef=f},i.inputRef=null,i.getInputRef=function(f){i.inputRef=f},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(f,d){var h=i.props,p=h.onChange,g=h.name;d.name=g,i.ariaOnChange(f,d),p(f,d)},i.setValue=function(f,d,h){var p=i.props,g=p.closeMenuOnSelect,y=p.isMulti,b=p.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:b}),g&&(i.setState({inputIsHiddenAfterUpdate:!y}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(f,{action:d,option:h})},i.selectOption=function(f){var d=i.props,h=d.blurInputOnSelect,p=d.isMulti,g=d.name,y=i.state.selectValue,b=p&&i.isOptionSelected(f,y),x=i.isOptionDisabled(f,y);if(b){var E=i.getOptionValue(f);i.setValue(y.filter(function(S){return i.getOptionValue(S)!==E}),"deselect-option",f)}else if(!x)p?i.setValue([].concat(Iv(y),[f]),"select-option",f):i.setValue(f,"select-option");else{i.ariaOnChange(f,{action:"select-option",option:f,name:g});return}h&&i.blurInput()},i.removeValue=function(f){var d=i.props.isMulti,h=i.state.selectValue,p=i.getOptionValue(f),g=h.filter(function(b){return i.getOptionValue(b)!==p}),y=Fh(d,g,g[0]||null);i.onChange(y,{action:"remove-value",removedValue:f}),i.focusInput()},i.clearValue=function(){var f=i.state.selectValue;i.onChange(Fh(i.props.isMulti,[],null),{action:"clear",removedValues:f})},i.popValue=function(){var f=i.props.isMulti,d=i.state.selectValue,h=d[d.length-1],p=d.slice(0,d.length-1),g=Fh(f,p,p[0]||null);h&&i.onChange(g,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(f){return Gv(i.state.focusableOptionsWithIds,f)},i.getFocusableOptionsWithIds=function(){return T2(Bh(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var f=arguments.length,d=new Array(f),h=0;h<f;h++)d[h]=arguments[h];return dre.apply(void 0,[i.props.classNamePrefix].concat(d))},i.getOptionLabel=function(f){return O2(i.props,f)},i.getOptionValue=function(f){return $h(i.props,f)},i.getStyles=function(f,d){var h=i.props.unstyled,p=poe[f](d,h);p.boxSizing="border-box";var g=i.props.styles[f];return g?g(p,d):p},i.getClassNames=function(f,d){var h,p;return(h=(p=i.props.classNames)[f])===null||h===void 0?void 0:h.call(p,d)},i.getElementId=function(f){return"".concat(i.state.instancePrefix,"-").concat(f)},i.getComponents=function(){return zie(i.props)},i.buildCategorizedOptions=function(){return Bh(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return A2(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(f,d){i.setState({ariaSelection:Re({value:f},d)})},i.onMenuMouseDown=function(f){f.button===0&&(f.stopPropagation(),f.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(f){i.blockOptionHover=!1},i.onControlMouseDown=function(f){if(!f.defaultPrevented){var d=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&i.onMenuClose():d&&i.openMenu("first"):(d&&(i.openAfterFocus=!0),i.focusInput()),f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&f.preventDefault()}},i.onDropdownIndicatorMouseDown=function(f){if(!(f&&f.type==="mousedown"&&f.button!==0)&&!i.props.isDisabled){var d=i.props,h=d.isMulti,p=d.menuIsOpen;i.focusInput(),p?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),f.preventDefault()}},i.onClearIndicatorMouseDown=function(f){f&&f.type==="mousedown"&&f.button!==0||(i.clearValue(),f.preventDefault(),i.openAfterFocus=!1,f.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(f){typeof i.props.closeMenuOnScroll=="boolean"?f.target instanceof HTMLElement&&jh(f.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(f)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(f){var d=f.touches,h=d&&d.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(f){var d=f.touches,h=d&&d.item(0);if(h){var p=Math.abs(h.clientX-i.initialTouchX),g=Math.abs(h.clientY-i.initialTouchY),y=5;i.userIsDragging=p>y||g>y}},i.onTouchEnd=function(f){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(f.target)&&i.menuListRef&&!i.menuListRef.contains(f.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(f){i.userIsDragging||i.onControlMouseDown(f)},i.onClearIndicatorTouchEnd=function(f){i.userIsDragging||i.onClearIndicatorMouseDown(f)},i.onDropdownIndicatorTouchEnd=function(f){i.userIsDragging||i.onDropdownIndicatorMouseDown(f)},i.handleInputChange=function(f){var d=i.props.inputValue,h=f.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:d}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(f){i.props.onFocus&&i.props.onFocus(f),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(f){var d=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(f),i.onInputChange("",{action:"input-blur",prevInputValue:d}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(f){if(!(i.blockOptionHover||i.state.focusedOption===f)){var d=i.getFocusableOptions(),h=d.indexOf(f);i.setState({focusedOption:f,focusedOptionId:h>-1?i.getFocusedOptionId(f):null})}},i.shouldHideSelectedOptions=function(){return P2(i.props)},i.onValueInputFocus=function(f){f.preventDefault(),f.stopPropagation(),i.focus()},i.onKeyDown=function(f){var d=i.props,h=d.isMulti,p=d.backspaceRemovesValue,g=d.escapeClearsValue,y=d.inputValue,b=d.isClearable,x=d.isDisabled,E=d.menuIsOpen,S=d.onKeyDown,A=d.tabSelectsValue,k=d.openMenuOnFocus,R=i.state,N=R.focusedOption,D=R.focusedValue,P=R.selectValue;if(!x&&!(typeof S=="function"&&(S(f),f.defaultPrevented))){switch(i.blockOptionHover=!0,f.key){case"ArrowLeft":if(!h||y)return;i.focusValue("previous");break;case"ArrowRight":if(!h||y)return;i.focusValue("next");break;case"Delete":case"Backspace":if(y)return;if(D)i.removeValue(D);else{if(!p)return;h?i.popValue():b&&i.clearValue()}break;case"Tab":if(i.isComposing||f.shiftKey||!E||!A||!N||k&&i.isOptionSelected(N,P))return;i.selectOption(N);break;case"Enter":if(f.keyCode===229)break;if(E){if(!N||i.isComposing)return;i.selectOption(N);break}return;case"Escape":E?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:y}),i.onMenuClose()):b&&g&&i.clearValue();break;case" ":if(y)return;if(!E){i.openMenu("first");break}if(!N)return;i.selectOption(N);break;case"ArrowUp":E?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":E?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!E)return;i.focusOption("pageup");break;case"PageDown":if(!E)return;i.focusOption("pagedown");break;case"Home":if(!E)return;i.focusOption("first");break;case"End":if(!E)return;i.focusOption("last");break;default:return}f.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Eoe),i.state.selectValue=ZN(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),s=i.buildFocusableOptions(),u=s.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=s[u],i.state.focusedOptionId=Gv(a,s[u])}return i}return nre(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&e2(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,s=a.isDisabled,u=a.menuIsOpen,f=this.state.isFocused;(f&&!s&&i.isDisabled||f&&u&&!i.menuIsOpen)&&this.focusInput(),f&&s&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!f&&!s&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(e2(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,s=this.state,u=s.selectValue,f=s.isFocused,d=this.buildFocusableOptions(),h=i==="first"?0:d.length-1;if(!this.props.isMulti){var p=d.indexOf(u[0]);p>-1&&(h=p)}this.scrollToFocusedOptionOnUpdate=!(f&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:d[h],focusedOptionId:this.getFocusedOptionId(d[h])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,s=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var f=s.indexOf(u);u||(f=-1);var d=s.length-1,h=-1;if(s.length){switch(i){case"previous":f===0?h=0:f===-1?h=d:h=f-1;break;case"next":f>-1&&f<d&&(h=f+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:s[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var f=0,d=u.indexOf(s);s||(d=-1),i==="up"?f=d>0?d-1:u.length-1:i==="down"?f=(d+1)%u.length:i==="pageup"?(f=d-a,f<0&&(f=0)):i==="pagedown"?(f=d+a,f>u.length-1&&(f=u.length-1)):i==="last"&&(f=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[f],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[f])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Yv):Re(Re({},Yv),this.props.theme):Yv}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,s=this.getStyles,u=this.getClassNames,f=this.getValue,d=this.selectOption,h=this.setValue,p=this.props,g=p.isMulti,y=p.isRtl,b=p.options,x=this.hasValue();return{clearValue:i,cx:a,getStyles:s,getClassNames:u,getValue:f,hasValue:x,isMulti:g,isRtl:y,options:b,selectOption:d,selectProps:p,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,s=i.isMulti;return a===void 0?s:a}},{key:"isOptionDisabled",value:function(i,a){return N2(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return M2(this.props,i,a)}},{key:"filterOption",value:function(i,a){return D2(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:s,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,s=i.isSearchable,u=i.inputId,f=i.inputValue,d=i.tabIndex,h=i.form,p=i.menuIsOpen,g=i.required,y=this.getComponents(),b=y.Input,x=this.state,E=x.inputIsHidden,S=x.ariaSelection,A=this.commonProps,k=u||this.getElementId("input"),R=Re(Re(Re({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?S?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?C.createElement(b,Ce({},A,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:k,innerRef:this.getInputRef,isDisabled:a,isHidden:E,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:d,form:h,type:"text",value:f},R)):C.createElement(Kie,Ce({id:k,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ph,onFocus:this.onInputFocus,disabled:a,tabIndex:d,inputMode:"none",form:h,value:""},R))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),s=a.MultiValue,u=a.MultiValueContainer,f=a.MultiValueLabel,d=a.MultiValueRemove,h=a.SingleValue,p=a.Placeholder,g=this.commonProps,y=this.props,b=y.controlShouldRenderValue,x=y.isDisabled,E=y.isMulti,S=y.inputValue,A=y.placeholder,k=this.state,R=k.selectValue,N=k.focusedValue,D=k.isFocused;if(!this.hasValue()||!b)return S?null:C.createElement(p,Ce({},g,{key:"placeholder",isDisabled:x,isFocused:D,innerProps:{id:this.getElementId("placeholder")}}),A);if(E)return R.map(function(F,V){var T=F===N,$="".concat(i.getOptionLabel(F),"-").concat(i.getOptionValue(F));return C.createElement(s,Ce({},g,{components:{Container:u,Label:f,Remove:d},isFocused:T,isDisabled:x,key:$,index:V,removeProps:{onClick:function(){return i.removeValue(F)},onTouchEnd:function(){return i.removeValue(F)},onMouseDown:function(G){G.preventDefault()}},data:F}),i.formatOptionLabel(F,"value"))});if(S)return null;var P=R[0];return C.createElement(h,Ce({},g,{data:P,isDisabled:x}),this.formatOptionLabel(P,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,s=this.commonProps,u=this.props,f=u.isDisabled,d=u.isLoading,h=this.state.isFocused;if(!this.isClearable()||!a||f||!this.hasValue()||d)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return C.createElement(a,Ce({},s,{innerProps:p,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,s=this.commonProps,u=this.props,f=u.isDisabled,d=u.isLoading,h=this.state.isFocused;if(!a||!d)return null;var p={"aria-hidden":"true"};return C.createElement(a,Ce({},s,{innerProps:p,isDisabled:f,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,s=i.IndicatorSeparator;if(!a||!s)return null;var u=this.commonProps,f=this.props.isDisabled,d=this.state.isFocused;return C.createElement(s,Ce({},u,{isDisabled:f,isFocused:d}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var s=this.commonProps,u=this.props.isDisabled,f=this.state.isFocused,d={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return C.createElement(a,Ce({},s,{innerProps:d,isDisabled:u,isFocused:f}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),s=a.Group,u=a.GroupHeading,f=a.Menu,d=a.MenuList,h=a.MenuPortal,p=a.LoadingMessage,g=a.NoOptionsMessage,y=a.Option,b=this.commonProps,x=this.state.focusedOption,E=this.props,S=E.captureMenuScroll,A=E.inputValue,k=E.isLoading,R=E.loadingMessage,N=E.minMenuHeight,D=E.maxMenuHeight,P=E.menuIsOpen,F=E.menuPlacement,V=E.menuPosition,T=E.menuPortalTarget,$=E.menuShouldBlockScroll,H=E.menuShouldScrollIntoView,G=E.noOptionsMessage,z=E.onMenuScrollToTop,U=E.onMenuScrollToBottom;if(!P)return null;var j=function(I,ie){var fe=I.type,re=I.data,le=I.isDisabled,he=I.isSelected,ye=I.label,ze=I.value,Oe=x===re,be=le?void 0:function(){return i.onOptionHover(re)},Le=le?void 0:function(){return i.selectOption(re)},Ie="".concat(i.getElementId("option"),"-").concat(ie),pt={id:Ie,onClick:Le,onMouseMove:be,onMouseOver:be,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:he};return C.createElement(y,Ce({},b,{innerProps:pt,data:re,isDisabled:le,isSelected:he,key:Ie,label:ye,type:fe,value:ze,isFocused:Oe,innerRef:Oe?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(I.data,"menu"))},B;if(this.hasOptions())B=this.getCategorizedOptions().map(function(Z){if(Z.type==="group"){var I=Z.data,ie=Z.options,fe=Z.index,re="".concat(i.getElementId("group"),"-").concat(fe),le="".concat(re,"-heading");return C.createElement(s,Ce({},b,{key:re,data:I,options:ie,Heading:u,headingProps:{id:le,data:Z.data},label:i.formatGroupLabel(Z.data)}),Z.options.map(function(he){return j(he,"".concat(fe,"-").concat(he.index))}))}else if(Z.type==="option")return j(Z,"".concat(Z.index))});else if(k){var q=R({inputValue:A});if(q===null)return null;B=C.createElement(p,b,q)}else{var Y=G({inputValue:A});if(Y===null)return null;B=C.createElement(g,b,Y)}var O={minMenuHeight:N,maxMenuHeight:D,menuPlacement:F,menuPosition:V,menuShouldScrollIntoView:H},W=C.createElement(Tre,Ce({},b,O),function(Z){var I=Z.ref,ie=Z.placerProps,fe=ie.placement,re=ie.maxHeight;return C.createElement(f,Ce({},b,O,{innerRef:I,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:k,placement:fe}),C.createElement(noe,{captureEnabled:S,onTopArrive:z,onBottomArrive:U,lockEnabled:$},function(le){return C.createElement(d,Ce({},b,{innerRef:function(ye){i.getMenuListRef(ye),le(ye)},innerProps:{role:"listbox","aria-multiselectable":b.isMulti,id:i.getElementId("listbox")},isLoading:k,maxHeight:re,focusedOption:x}),B)}))});return T||V==="fixed"?C.createElement(h,Ce({},b,{appendTo:T,controlElement:this.controlRef,menuPlacement:F,menuPosition:V}),W):W}},{key:"renderFormField",value:function(){var i=this,a=this.props,s=a.delimiter,u=a.isDisabled,f=a.isMulti,d=a.name,h=a.required,p=this.state.selectValue;if(h&&!this.hasValue()&&!u)return C.createElement(ooe,{name:d,onFocus:this.onValueInputFocus});if(!(!d||u))if(f)if(s){var g=p.map(function(x){return i.getOptionValue(x)}).join(s);return C.createElement("input",{name:d,type:"hidden",value:g})}else{var y=p.length>0?p.map(function(x,E){return C.createElement("input",{key:"i-".concat(E),name:d,type:"hidden",value:i.getOptionValue(x)})}):C.createElement("input",{name:d,type:"hidden",value:""});return C.createElement("div",null,y)}else{var b=p[0]?this.getOptionValue(p[0]):"";return C.createElement("input",{name:d,type:"hidden",value:b})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,s=a.ariaSelection,u=a.focusedOption,f=a.focusedValue,d=a.isFocused,h=a.selectValue,p=this.getFocusableOptions();return C.createElement(Uie,Ce({},i,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:f,isFocused:d,selectValue:h,focusableOptions:p,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,s=i.IndicatorsContainer,u=i.SelectContainer,f=i.ValueContainer,d=this.props,h=d.className,p=d.id,g=d.isDisabled,y=d.menuIsOpen,b=this.state.isFocused,x=this.commonProps=this.getCommonProps();return C.createElement(u,Ce({},x,{className:h,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:b}),this.renderLiveRegion(),C.createElement(a,Ce({},x,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:b,menuIsOpen:y}),C.createElement(f,Ce({},x,{isDisabled:g}),this.renderPlaceholderOrValue(),this.renderInput()),C.createElement(s,Ce({},x,{isDisabled:g}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var s=a.prevProps,u=a.clearFocusValueOnUpdate,f=a.inputIsHiddenAfterUpdate,d=a.ariaSelection,h=a.isFocused,p=a.prevWasFocused,g=a.instancePrefix,y=i.options,b=i.value,x=i.menuIsOpen,E=i.inputValue,S=i.isMulti,A=ZN(b),k={};if(s&&(b!==s.value||y!==s.options||x!==s.menuIsOpen||E!==s.inputValue)){var R=x?woe(i,A):[],N=x?T2(Bh(i,A),"".concat(g,"-option")):[],D=u?Soe(a,A):null,P=_oe(a,R),F=Gv(N,P);k={selectValue:A,focusedOption:P,focusedOptionId:F,focusableOptionsWithIds:N,focusedValue:D,clearFocusValueOnUpdate:!1}}var V=f!=null&&i!==s?{inputIsHidden:f,inputIsHiddenAfterUpdate:void 0}:{},T=d,$=h&&p;return h&&!$&&(T={value:Fh(S,A,A[0]||null),options:A,action:"initial-input-focus"},$=!p),d?.action==="initial-input-focus"&&(T=null),Re(Re(Re({},k),V),{},{prevProps:i,ariaSelection:T,prevWasFocused:$})}}]),n}(C.Component);j2.defaultProps=xoe;var Coe=C.forwardRef(function(e,t){var n=ere(e);return C.createElement(j2,Ce({ref:t},n))}),koe=Coe;const Aoe=({options:e,items_per_page:t,className:n,defaultValue:r,onChange:i})=>{const[a,s]=C.useState(""),[u,f]=C.useState(0),d=y=>{s(y.toLowerCase()),f(0)},h=e.filter(y=>y.label.toLowerCase().includes(a)||y.value.toLowerCase().includes(a));var p;t!==void 0?p=h.slice(u*t,(u+1)*t):p=h;const g={control:y=>({...y,minHeight:void 0})};return _.jsx(koe,{options:p,onInputChange:d,onChange:i,inputValue:a,isSearchable:!0,placeholder:"Select an option...",className:n,unstyled:!0,styles:g,classNamePrefix:"styled-select",defaultValue:r,value:r})};function Toe(e){return e===0?0:Math.abs(e)<1e-12?e:Number(e.toPrecision(12))}const z2=({iostore:e,inputconverter:t,parser:n=r=>parseFloat(r)})=>{const r=C.useContext(Xe),{preview:i}=e.valuestore(),a=e.use(),[s,u]=C.useState(t[1](i?.value));C.useEffect(()=>{u(t[1](i?.value))},[i]);const f=y=>{y=n(parseFloat(y.toString()).toString()),isNaN(y)?(y="<NoValue>",u("")):(a.value_options?.min!==void 0&&y<a.value_options.min&&(y=a.value_options.min),a.value_options?.max!==void 0&&y>a.value_options.max&&(y=a.value_options.max),y=Toe(y),u(y.toString()));try{y=t[0](y)}catch{}y!==i?.value&&r.worker?.set_io_value({nid:a.node,ioid:a.id,value:y,set_default:a.render_options.set_default})},d=y=>{f(y.target.value)};let h=a.connected?t[1](i?.value):s;h===void 0&&(h=a.value_options?.min),h===void 0&&(h=a.value_options?.max),h===void 0&&(h=""),h===null&&(h="");let p=null,g=1;return a.value_options?.step!==void 0?g=a.value_options.step:a.value_options?.max!==void 0&&a.value_options?.min!==void 0&&(g=(a.value_options?.max-a.value_options?.min)/1e3),a.value_options?.max!==void 0&&a.value_options?.min!==void 0&&!a.connected&&(p=_.jsx("div",{style:{minWidth:"6.25rem"},className:"SliderContainer",children:_.jsxs(Dne,{className:"SliderRoot",value:[h===void 0?a.value_options?.min:h],min:a.value_options?.min,max:a.value_options?.max,step:g,disabled:a.connected,onValueCommit:y=>{isNaN(y[0])||f(y[0])},onValueChange:y=>{isNaN(y[0])||u(y[0].toString())},onKeyDown:y=>{["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(y.key)&&y.stopPropagation()},children:[_.jsx(Pne,{className:"SliderTrack",children:_.jsx(jne,{className:"SliderRange"})}),_.jsx(zne,{className:"SliderThumb"})]})})),_.jsxs(_.Fragment,{children:[p,_.jsx("input",{type:"text",className:"nodedatainput styledinput numberinput",value:h,onChange:y=>u(y.target.value),onBlur:d,step:g,onKeyDown:y=>{if(!(y.ctrlKey||y.metaKey)){if(y.key==="ArrowUp"){y.shiftKey&&(g*=10);let b=(parseFloat(h)||0)+g;f(b);return}if(y.key==="ArrowDown"){y.shiftKey&&(g*=10);let b=(parseFloat(h)||0)-g;f(b);return}!/^[0-9.eE+-]$/.test(y.key)&&!["Backspace","ArrowLeft","ArrowRight","Delete","Tab"].includes(y.key)&&y.preventDefault()}},disabled:a.connected,min:a.value_options?.min,max:a.value_options?.max})]})},Roe=({iostore:e,inputconverter:t})=>z2({iostore:e,inputconverter:t,parser:parseFloat}),Ooe=({iostore:e,inputconverter:t})=>z2({iostore:e,inputconverter:t,parser:parseInt}),Noe=({iostore:e,inputconverter:t})=>{const n=C.useContext(Xe),{preview:r}=e.valuestore(),i=e.use(),a=r?.value===void 0,s=C.useRef(null);C.useEffect(()=>{s.current&&(s.current.indeterminate=a)},[s,a]);const u=f=>{let d=f.target.checked;try{d=t[0](f.target.checked)}catch{}n.worker?.set_io_value({nid:i.node,ioid:i.id,value:d,set_default:i.render_options.set_default})};return _.jsx("input",{ref:s,type:"checkbox",className:"styledcheckbox booleaninput",checked:!!t[1](r?.value),onChange:u,disabled:i.connected})},I2=({iostore:e,inputconverter:t})=>{const n=C.useContext(Xe),{preview:r,full:i}=e.valuestore(),a=e.use(),s=i===void 0?r?.value:i?.value,[u,f]=C.useState(t[1](s));C.useEffect(()=>{f(t[1](s))},[s]);const d=y=>{let b=y.target.value;b||(b="<NoValue>");try{b=t[0](b)}catch{}b!==s&&n.worker?.set_io_value({nid:a.node,ioid:a.id,value:b,set_default:a.render_options.set_default})};let h=a.connected?t[1](s):u;h==null&&(h="");const p=(h.match(/\n/g)||[]).length,g=Math.max(...h.split(`
|
799
|
+
`]))),tie=function(t,n){var r=t.isFocused,i=t.size,a=t.theme,s=a.colors,u=a.spacing.baseUnit;return Re({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?s.neutral60:s.neutral20,padding:u*2})},Bv=function(t){var n=t.delay,r=t.offset;return Ee("span",{css:fv({animation:"".concat(eie," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},nie=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,a=i===void 0?4:i,s=ji(t,Yre);return Ee("div",Ce({},Rt(Re(Re({},s),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Ee(Bv,{delay:0,offset:r}),Ee(Bv,{delay:160,offset:!0}),Ee(Bv,{delay:320,offset:!r}))},rie=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.theme,s=a.colors,u=a.borderRadius,f=a.spacing;return Re({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:f.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?s.neutral5:s.neutral0,borderColor:r?s.neutral10:i?s.primary:s.neutral20,borderRadius:u,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:i?s.primary:s.neutral30}})},iie=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.innerRef,s=t.innerProps,u=t.menuIsOpen;return Ee("div",Ce({ref:a},Rt(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":u}),s,{"aria-disabled":r||void 0}),n)},oie=iie,aie=["data"],sie=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},lie=function(t){var n=t.children,r=t.cx,i=t.getStyles,a=t.getClassNames,s=t.Heading,u=t.headingProps,f=t.innerProps,d=t.label,h=t.theme,p=t.selectProps;return Ee("div",Ce({},Rt(t,"group",{group:!0}),f),Ee(s,Ce({},u,{selectProps:p,theme:h,getStyles:i,getClassNames:a,cx:r}),d),Ee("div",null,n))},uie=function(t,n){var r=t.theme,i=r.colors,a=r.spacing;return Re({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},cie=function(t){var n=QN(t);n.data;var r=ji(n,aie);return Ee("div",Ce({},Rt(t,"groupHeading",{"group-heading":!0}),r))},fie=lie,die=["innerRef","isDisabled","isHidden","inputClassName"],hie=function(t,n){var r=t.isDisabled,i=t.value,a=t.theme,s=a.spacing,u=a.colors;return Re(Re({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},pie),n?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},c2={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},pie={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Re({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},c2)},mie=function(t){return Re({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},c2)},gie=function(t){var n=t.cx,r=t.value,i=QN(t),a=i.innerRef,s=i.isDisabled,u=i.isHidden,f=i.inputClassName,d=ji(i,die);return Ee("div",Ce({},Rt(t,"input",{"input-container":!0}),{"data-value":r||""}),Ee("input",Ce({className:n({input:!0},f),ref:a,style:mie(u),disabled:s},d)))},yie=gie,vie=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,s=r.colors;return Re({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:s.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},bie=function(t,n){var r=t.theme,i=r.borderRadius,a=r.colors,s=t.cropWithEllipsis;return Re({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},xie=function(t,n){var r=t.theme,i=r.spacing,a=r.borderRadius,s=r.colors,u=t.isFocused;return Re({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},f2=function(t){var n=t.children,r=t.innerProps;return Ee("div",r,n)},wie=f2,Sie=f2;function _ie(e){var t=e.children,n=e.innerProps;return Ee("div",Ce({role:"button"},n),t||Ee(Fv,{size:14}))}var Eie=function(t){var n=t.children,r=t.components,i=t.data,a=t.innerProps,s=t.isDisabled,u=t.removeProps,f=t.selectProps,d=r.Container,h=r.Label,p=r.Remove;return Ee(d,{data:i,innerProps:Re(Re({},Rt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:f},Ee(h,{data:i,innerProps:Re({},Rt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:f},n),Ee(p,{data:i,innerProps:Re(Re({},Rt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},u),selectProps:f}))},Cie=Eie,kie=function(t,n){var r=t.isDisabled,i=t.isFocused,a=t.isSelected,s=t.theme,u=s.spacing,f=s.colors;return Re({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?f.primary:i?f.primary25:"transparent",color:r?f.neutral20:a?f.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?f.primary:f.primary50}})},Aie=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,a=t.isSelected,s=t.innerRef,u=t.innerProps;return Ee("div",Ce({},Rt(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:s,"aria-disabled":r},u),n)},Tie=Aie,Rie=function(t,n){var r=t.theme,i=r.spacing,a=r.colors;return Re({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Oie=function(t){var n=t.children,r=t.innerProps;return Ee("div",Ce({},Rt(t,"placeholder",{placeholder:!0}),r),n)},Nie=Oie,Mie=function(t,n){var r=t.isDisabled,i=t.theme,a=i.spacing,s=i.colors;return Re({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?s.neutral40:s.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},Die=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return Ee("div",Ce({},Rt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},Pie=Die,jie={ClearIndicator:Zre,Control:oie,DropdownIndicator:Wre,DownChevron:l2,CrossIcon:Fv,Group:fie,GroupHeading:cie,IndicatorsContainer:Ure,IndicatorSeparator:Jre,Input:yie,LoadingIndicator:nie,Menu:Ore,MenuList:Mre,MenuPortal:Lre,LoadingMessage:zre,NoOptionsMessage:jre,MultiValue:Cie,MultiValueContainer:wie,MultiValueLabel:Sie,MultiValueRemove:_ie,Option:Tie,Placeholder:Nie,SelectContainer:Bre,SingleValue:Pie,ValueContainer:Hre},zie=function(t){return Re(Re({},jie),t.components)},d2=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Iie(e,t){return!!(e===t||d2(e)&&d2(t))}function Lie(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Iie(e[n],t[n]))return!1;return!0}function Fie(e,t){t===void 0&&(t=Lie);var n=null;function r(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}for(var Bie={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},$ie=function(t){return Ee("span",Ce({css:Bie},t))},h2=$ie,Hie={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,a=t.context,s=t.isInitialFocus;switch(a){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,a=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(a.length>1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return s?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,a=t.label,s=a===void 0?"":a,u=t.selectValue,f=t.isDisabled,d=t.isSelected,h=t.isAppleDevice,p=function(x,E){return x&&x.length?"".concat(x.indexOf(E)+1," of ").concat(x.length):""};if(n==="value"&&u)return"value ".concat(s," focused, ").concat(p(u,r),".");if(n==="menu"&&h){var g=f?" disabled":"",y="".concat(d?" selected":"").concat(g);return"".concat(s).concat(y,", ").concat(p(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Vie=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,a=t.focusableOptions,s=t.isFocused,u=t.selectValue,f=t.selectProps,d=t.id,h=t.isAppleDevice,p=f.ariaLiveMessages,g=f.getOptionLabel,y=f.inputValue,b=f.isMulti,x=f.isOptionDisabled,E=f.isSearchable,S=f.menuIsOpen,A=f.options,k=f.screenReaderStatus,R=f.tabSelectsValue,N=f.isLoading,D=f["aria-label"],P=f["aria-live"],F=C.useMemo(function(){return Re(Re({},Hie),p||{})},[p]),V=C.useMemo(function(){var U="";if(n&&F.onChange){var j=n.option,B=n.options,q=n.removedValue,Y=n.removedValues,O=n.value,W=function(he){return Array.isArray(he)?null:he},Z=q||j||W(O),I=Z?g(Z):"",ie=B||Y||void 0,fe=ie?ie.map(g):[],re=Re({isDisabled:Z&&x(Z,u),label:I,labels:fe},n);U=F.onChange(re)}return U},[n,F,x,u,g]),T=C.useMemo(function(){var U="",j=r||i,B=!!(r&&u&&u.includes(r));if(j&&F.onFocus){var q={focused:j,label:g(j),isDisabled:x(j,u),isSelected:B,options:a,context:j===r?"menu":"value",selectValue:u,isAppleDevice:h};U=F.onFocus(q)}return U},[r,i,g,x,F,a,u,h]),$=C.useMemo(function(){var U="";if(S&&A.length&&!N&&F.onFilter){var j=k({count:a.length});U=F.onFilter({inputValue:y,resultsMessage:j})}return U},[a,y,S,F,A,k,N]),H=n?.action==="initial-input-focus",G=C.useMemo(function(){var U="";if(F.guidance){var j=i?"value":S?"menu":"input";U=F.guidance({"aria-label":D,context:j,isDisabled:r&&x(r,u),isMulti:b,isSearchable:E,tabSelectsValue:R,isInitialFocus:H})}return U},[D,r,i,b,x,E,S,F,u,R,H]),z=Ee(C.Fragment,null,Ee("span",{id:"aria-selection"},V),Ee("span",{id:"aria-focused"},T),Ee("span",{id:"aria-results"},$),Ee("span",{id:"aria-guidance"},G));return Ee(C.Fragment,null,Ee(h2,{id:d},H&&z),Ee(h2,{"aria-live":P,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!H&&z))},Uie=Vie,$v=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],qie=new RegExp("["+$v.map(function(e){return e.letters}).join("")+"]","g"),p2={},Hv=0;Hv<$v.length;Hv++)for(var Vv=$v[Hv],Uv=0;Uv<Vv.letters.length;Uv++)p2[Vv.letters[Uv]]=Vv.base;var m2=function(t){return t.replace(qie,function(n){return p2[n]})},Yie=Fie(m2),g2=function(t){return t.replace(/^\s+|\s+$/g,"")},Gie=function(t){return"".concat(t.label," ").concat(t.value)},Xie=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Re({ignoreCase:!0,ignoreAccents:!0,stringify:Gie,trim:!0,matchFrom:"any"},t),a=i.ignoreCase,s=i.ignoreAccents,u=i.stringify,f=i.trim,d=i.matchFrom,h=f?g2(r):r,p=f?g2(u(n)):u(n);return a&&(h=h.toLowerCase(),p=p.toLowerCase()),s&&(h=Yie(h),p=m2(p)),d==="start"?p.substr(0,h.length)===h:p.indexOf(h)>-1}},Wie=["innerRef"];function Kie(e){var t=e.innerRef,n=ji(e,Wie),r=Sre(n,"onExited","in","enter","exit","appear");return Ee("input",Ce({ref:t},r,{css:fv({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Zie=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Qie(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,a=e.onTopLeave,s=C.useRef(!1),u=C.useRef(!1),f=C.useRef(0),d=C.useRef(null),h=C.useCallback(function(E,S){if(d.current!==null){var A=d.current,k=A.scrollTop,R=A.scrollHeight,N=A.clientHeight,D=d.current,P=S>0,F=R-N-k,V=!1;F>S&&s.current&&(r&&r(E),s.current=!1),P&&u.current&&(a&&a(E),u.current=!1),P&&S>F?(n&&!s.current&&n(E),D.scrollTop=R,V=!0,s.current=!0):!P&&-S>k&&(i&&!u.current&&i(E),D.scrollTop=0,V=!0,u.current=!0),V&&Zie(E)}},[n,r,i,a]),p=C.useCallback(function(E){h(E,E.deltaY)},[h]),g=C.useCallback(function(E){f.current=E.changedTouches[0].clientY},[]),y=C.useCallback(function(E){var S=f.current-E.changedTouches[0].clientY;h(E,S)},[h]),b=C.useCallback(function(E){if(E){var S=bre?{passive:!1}:!1;E.addEventListener("wheel",p,S),E.addEventListener("touchstart",g,S),E.addEventListener("touchmove",y,S)}},[y,g,p]),x=C.useCallback(function(E){E&&(E.removeEventListener("wheel",p,!1),E.removeEventListener("touchstart",g,!1),E.removeEventListener("touchmove",y,!1))},[y,g,p]);return C.useEffect(function(){if(t){var E=d.current;return b(E),function(){x(E)}}},[t,b,x]),function(E){d.current=E}}var y2=["boxSizing","height","overflow","paddingRight","position"],v2={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function b2(e){e.cancelable&&e.preventDefault()}function x2(e){e.stopPropagation()}function w2(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function S2(){return"ontouchstart"in window||navigator.maxTouchPoints}var _2=!!(typeof window<"u"&&window.document&&window.document.createElement),Ku=0,qs={capture:!1,passive:!1};function Jie(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=C.useRef({}),a=C.useRef(null),s=C.useCallback(function(f){if(_2){var d=document.body,h=d&&d.style;if(r&&y2.forEach(function(b){var x=h&&h[b];i.current[b]=x}),r&&Ku<1){var p=parseInt(i.current.paddingRight,10)||0,g=document.body?document.body.clientWidth:0,y=window.innerWidth-g+p||0;Object.keys(v2).forEach(function(b){var x=v2[b];h&&(h[b]=x)}),h&&(h.paddingRight="".concat(y,"px"))}d&&S2()&&(d.addEventListener("touchmove",b2,qs),f&&(f.addEventListener("touchstart",w2,qs),f.addEventListener("touchmove",x2,qs))),Ku+=1}},[r]),u=C.useCallback(function(f){if(_2){var d=document.body,h=d&&d.style;Ku=Math.max(Ku-1,0),r&&Ku<1&&y2.forEach(function(p){var g=i.current[p];h&&(h[p]=g)}),d&&S2()&&(d.removeEventListener("touchmove",b2,qs),f&&(f.removeEventListener("touchstart",w2,qs),f.removeEventListener("touchmove",x2,qs)))}},[r]);return C.useEffect(function(){if(t){var f=a.current;return s(f),function(){u(f)}}},[t,s,u]),function(f){a.current=f}}var eoe=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},toe={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function noe(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,a=e.onBottomArrive,s=e.onBottomLeave,u=e.onTopArrive,f=e.onTopLeave,d=Qie({isEnabled:i,onBottomArrive:a,onBottomLeave:s,onTopArrive:u,onTopLeave:f}),h=Jie({isEnabled:n}),p=function(y){d(y),h(y)};return Ee(C.Fragment,null,n&&Ee("div",{onClick:eoe,css:toe}),t(p))}var roe={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},ioe=function(t){var n=t.name,r=t.onFocus;return Ee("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:roe,value:"",onChange:function(){}})},ooe=ioe;function qv(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function aoe(){return qv(/^iPhone/i)}function E2(){return qv(/^Mac/i)}function soe(){return qv(/^iPad/i)||E2()&&navigator.maxTouchPoints>1}function loe(){return aoe()||soe()}function uoe(){return E2()||loe()}var coe=function(t){return t.label},foe=function(t){return t.label},doe=function(t){return t.value},hoe=function(t){return!!t.isDisabled},poe={clearIndicator:Kre,container:Fre,control:rie,dropdownIndicator:Xre,group:sie,groupHeading:uie,indicatorsContainer:Vre,indicatorSeparator:Qre,input:hie,loadingIndicator:tie,loadingMessage:Pre,menu:Are,menuList:Nre,menuPortal:Ire,multiValue:vie,multiValueLabel:bie,multiValueRemove:xie,noOptionsMessage:Dre,option:kie,placeholder:Rie,singleValue:Mie,valueContainer:$re},moe={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},goe=4,C2=4,yoe=38,voe=C2*2,boe={baseUnit:C2,controlHeight:yoe,menuGutter:voe},Yv={borderRadius:goe,colors:moe,spacing:boe},xoe={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:t2(),captureMenuScroll:!t2(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xie(),formatGroupLabel:coe,getOptionLabel:foe,getOptionValue:doe,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:hoe,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!yre(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function k2(e,t,n,r){var i=N2(e,t,n),a=M2(e,t,n),s=O2(e,t),u=$h(e,t);return{type:"option",data:t,isDisabled:i,isSelected:a,label:s,value:u,index:r}}function Bh(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(s,u){return k2(e,s,t,u)}).filter(function(s){return R2(e,s)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=k2(e,n,t,r);return R2(e,a)?a:void 0}).filter(xre)}function A2(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Iv(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function T2(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,Iv(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function woe(e,t){return A2(Bh(e,t))}function R2(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,a=t.isSelected,s=t.label,u=t.value;return(!P2(e)||!a)&&D2(e,{label:s,value:u,data:i},r)}function Soe(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var a=t.indexOf(n);if(a>-1)return n;if(i<t.length)return t[i]}return null}function _oe(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Gv=function(t,n){var r,i=(r=t.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},O2=function(t,n){return t.getOptionLabel(n)},$h=function(t,n){return t.getOptionValue(n)};function N2(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function M2(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=$h(e,t);return n.some(function(i){return $h(e,i)===r})}function D2(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var P2=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},Eoe=1,j2=function(e){rre(n,e);var t=ore(n);function n(r){var i;if(tre(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=uoe(),i.controlRef=null,i.getControlRef=function(f){i.controlRef=f},i.focusedOptionRef=null,i.getFocusedOptionRef=function(f){i.focusedOptionRef=f},i.menuListRef=null,i.getMenuListRef=function(f){i.menuListRef=f},i.inputRef=null,i.getInputRef=function(f){i.inputRef=f},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(f,d){var h=i.props,p=h.onChange,g=h.name;d.name=g,i.ariaOnChange(f,d),p(f,d)},i.setValue=function(f,d,h){var p=i.props,g=p.closeMenuOnSelect,y=p.isMulti,b=p.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:b}),g&&(i.setState({inputIsHiddenAfterUpdate:!y}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(f,{action:d,option:h})},i.selectOption=function(f){var d=i.props,h=d.blurInputOnSelect,p=d.isMulti,g=d.name,y=i.state.selectValue,b=p&&i.isOptionSelected(f,y),x=i.isOptionDisabled(f,y);if(b){var E=i.getOptionValue(f);i.setValue(y.filter(function(S){return i.getOptionValue(S)!==E}),"deselect-option",f)}else if(!x)p?i.setValue([].concat(Iv(y),[f]),"select-option",f):i.setValue(f,"select-option");else{i.ariaOnChange(f,{action:"select-option",option:f,name:g});return}h&&i.blurInput()},i.removeValue=function(f){var d=i.props.isMulti,h=i.state.selectValue,p=i.getOptionValue(f),g=h.filter(function(b){return i.getOptionValue(b)!==p}),y=Fh(d,g,g[0]||null);i.onChange(y,{action:"remove-value",removedValue:f}),i.focusInput()},i.clearValue=function(){var f=i.state.selectValue;i.onChange(Fh(i.props.isMulti,[],null),{action:"clear",removedValues:f})},i.popValue=function(){var f=i.props.isMulti,d=i.state.selectValue,h=d[d.length-1],p=d.slice(0,d.length-1),g=Fh(f,p,p[0]||null);h&&i.onChange(g,{action:"pop-value",removedValue:h})},i.getFocusedOptionId=function(f){return Gv(i.state.focusableOptionsWithIds,f)},i.getFocusableOptionsWithIds=function(){return T2(Bh(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var f=arguments.length,d=new Array(f),h=0;h<f;h++)d[h]=arguments[h];return dre.apply(void 0,[i.props.classNamePrefix].concat(d))},i.getOptionLabel=function(f){return O2(i.props,f)},i.getOptionValue=function(f){return $h(i.props,f)},i.getStyles=function(f,d){var h=i.props.unstyled,p=poe[f](d,h);p.boxSizing="border-box";var g=i.props.styles[f];return g?g(p,d):p},i.getClassNames=function(f,d){var h,p;return(h=(p=i.props.classNames)[f])===null||h===void 0?void 0:h.call(p,d)},i.getElementId=function(f){return"".concat(i.state.instancePrefix,"-").concat(f)},i.getComponents=function(){return zie(i.props)},i.buildCategorizedOptions=function(){return Bh(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return A2(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(f,d){i.setState({ariaSelection:Re({value:f},d)})},i.onMenuMouseDown=function(f){f.button===0&&(f.stopPropagation(),f.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(f){i.blockOptionHover=!1},i.onControlMouseDown=function(f){if(!f.defaultPrevented){var d=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&i.onMenuClose():d&&i.openMenu("first"):(d&&(i.openAfterFocus=!0),i.focusInput()),f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&f.preventDefault()}},i.onDropdownIndicatorMouseDown=function(f){if(!(f&&f.type==="mousedown"&&f.button!==0)&&!i.props.isDisabled){var d=i.props,h=d.isMulti,p=d.menuIsOpen;i.focusInput(),p?(i.setState({inputIsHiddenAfterUpdate:!h}),i.onMenuClose()):i.openMenu("first"),f.preventDefault()}},i.onClearIndicatorMouseDown=function(f){f&&f.type==="mousedown"&&f.button!==0||(i.clearValue(),f.preventDefault(),i.openAfterFocus=!1,f.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(f){typeof i.props.closeMenuOnScroll=="boolean"?f.target instanceof HTMLElement&&jh(f.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(f)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(f){var d=f.touches,h=d&&d.item(0);h&&(i.initialTouchX=h.clientX,i.initialTouchY=h.clientY,i.userIsDragging=!1)},i.onTouchMove=function(f){var d=f.touches,h=d&&d.item(0);if(h){var p=Math.abs(h.clientX-i.initialTouchX),g=Math.abs(h.clientY-i.initialTouchY),y=5;i.userIsDragging=p>y||g>y}},i.onTouchEnd=function(f){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(f.target)&&i.menuListRef&&!i.menuListRef.contains(f.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(f){i.userIsDragging||i.onControlMouseDown(f)},i.onClearIndicatorTouchEnd=function(f){i.userIsDragging||i.onClearIndicatorMouseDown(f)},i.onDropdownIndicatorTouchEnd=function(f){i.userIsDragging||i.onDropdownIndicatorMouseDown(f)},i.handleInputChange=function(f){var d=i.props.inputValue,h=f.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(h,{action:"input-change",prevInputValue:d}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(f){i.props.onFocus&&i.props.onFocus(f),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(f){var d=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(f),i.onInputChange("",{action:"input-blur",prevInputValue:d}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(f){if(!(i.blockOptionHover||i.state.focusedOption===f)){var d=i.getFocusableOptions(),h=d.indexOf(f);i.setState({focusedOption:f,focusedOptionId:h>-1?i.getFocusedOptionId(f):null})}},i.shouldHideSelectedOptions=function(){return P2(i.props)},i.onValueInputFocus=function(f){f.preventDefault(),f.stopPropagation(),i.focus()},i.onKeyDown=function(f){var d=i.props,h=d.isMulti,p=d.backspaceRemovesValue,g=d.escapeClearsValue,y=d.inputValue,b=d.isClearable,x=d.isDisabled,E=d.menuIsOpen,S=d.onKeyDown,A=d.tabSelectsValue,k=d.openMenuOnFocus,R=i.state,N=R.focusedOption,D=R.focusedValue,P=R.selectValue;if(!x&&!(typeof S=="function"&&(S(f),f.defaultPrevented))){switch(i.blockOptionHover=!0,f.key){case"ArrowLeft":if(!h||y)return;i.focusValue("previous");break;case"ArrowRight":if(!h||y)return;i.focusValue("next");break;case"Delete":case"Backspace":if(y)return;if(D)i.removeValue(D);else{if(!p)return;h?i.popValue():b&&i.clearValue()}break;case"Tab":if(i.isComposing||f.shiftKey||!E||!A||!N||k&&i.isOptionSelected(N,P))return;i.selectOption(N);break;case"Enter":if(f.keyCode===229)break;if(E){if(!N||i.isComposing)return;i.selectOption(N);break}return;case"Escape":E?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:y}),i.onMenuClose()):b&&g&&i.clearValue();break;case" ":if(y)return;if(!E){i.openMenu("first");break}if(!N)return;i.selectOption(N);break;case"ArrowUp":E?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":E?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!E)return;i.focusOption("pageup");break;case"PageDown":if(!E)return;i.focusOption("pagedown");break;case"Home":if(!E)return;i.focusOption("first");break;case"End":if(!E)return;i.focusOption("last");break;default:return}f.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Eoe),i.state.selectValue=ZN(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),s=i.buildFocusableOptions(),u=s.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=s[u],i.state.focusedOptionId=Gv(a,s[u])}return i}return nre(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&e2(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,s=a.isDisabled,u=a.menuIsOpen,f=this.state.isFocused;(f&&!s&&i.isDisabled||f&&u&&!i.menuIsOpen)&&this.focusInput(),f&&s&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!f&&!s&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(e2(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,s=this.state,u=s.selectValue,f=s.isFocused,d=this.buildFocusableOptions(),h=i==="first"?0:d.length-1;if(!this.props.isMulti){var p=d.indexOf(u[0]);p>-1&&(h=p)}this.scrollToFocusedOptionOnUpdate=!(f&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:d[h],focusedOptionId:this.getFocusedOptionId(d[h])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,s=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var f=s.indexOf(u);u||(f=-1);var d=s.length-1,h=-1;if(s.length){switch(i){case"previous":f===0?h=0:f===-1?h=d:h=f-1;break;case"next":f>-1&&f<d&&(h=f+1);break}this.setState({inputIsHidden:h!==-1,focusedValue:s[h]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var f=0,d=u.indexOf(s);s||(d=-1),i==="up"?f=d>0?d-1:u.length-1:i==="down"?f=(d+1)%u.length:i==="pageup"?(f=d-a,f<0&&(f=0)):i==="pagedown"?(f=d+a,f>u.length-1&&(f=u.length-1)):i==="last"&&(f=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[f],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[f])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Yv):Re(Re({},Yv),this.props.theme):Yv}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,s=this.getStyles,u=this.getClassNames,f=this.getValue,d=this.selectOption,h=this.setValue,p=this.props,g=p.isMulti,y=p.isRtl,b=p.options,x=this.hasValue();return{clearValue:i,cx:a,getStyles:s,getClassNames:u,getValue:f,hasValue:x,isMulti:g,isRtl:y,options:b,selectOption:d,selectProps:p,setValue:h,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,s=i.isMulti;return a===void 0?s:a}},{key:"isOptionDisabled",value:function(i,a){return N2(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return M2(this.props,i,a)}},{key:"filterOption",value:function(i,a){return D2(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:s,selectValue:u})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,s=i.isSearchable,u=i.inputId,f=i.inputValue,d=i.tabIndex,h=i.form,p=i.menuIsOpen,g=i.required,y=this.getComponents(),b=y.Input,x=this.state,E=x.inputIsHidden,S=x.ariaSelection,A=this.commonProps,k=u||this.getElementId("input"),R=Re(Re(Re({"aria-autocomplete":"list","aria-expanded":p,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":g,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},p&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?S?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?C.createElement(b,Ce({},A,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:k,innerRef:this.getInputRef,isDisabled:a,isHidden:E,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:d,form:h,type:"text",value:f},R)):C.createElement(Kie,Ce({id:k,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ph,onFocus:this.onInputFocus,disabled:a,tabIndex:d,inputMode:"none",form:h,value:""},R))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),s=a.MultiValue,u=a.MultiValueContainer,f=a.MultiValueLabel,d=a.MultiValueRemove,h=a.SingleValue,p=a.Placeholder,g=this.commonProps,y=this.props,b=y.controlShouldRenderValue,x=y.isDisabled,E=y.isMulti,S=y.inputValue,A=y.placeholder,k=this.state,R=k.selectValue,N=k.focusedValue,D=k.isFocused;if(!this.hasValue()||!b)return S?null:C.createElement(p,Ce({},g,{key:"placeholder",isDisabled:x,isFocused:D,innerProps:{id:this.getElementId("placeholder")}}),A);if(E)return R.map(function(F,V){var T=F===N,$="".concat(i.getOptionLabel(F),"-").concat(i.getOptionValue(F));return C.createElement(s,Ce({},g,{components:{Container:u,Label:f,Remove:d},isFocused:T,isDisabled:x,key:$,index:V,removeProps:{onClick:function(){return i.removeValue(F)},onTouchEnd:function(){return i.removeValue(F)},onMouseDown:function(G){G.preventDefault()}},data:F}),i.formatOptionLabel(F,"value"))});if(S)return null;var P=R[0];return C.createElement(h,Ce({},g,{data:P,isDisabled:x}),this.formatOptionLabel(P,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,s=this.commonProps,u=this.props,f=u.isDisabled,d=u.isLoading,h=this.state.isFocused;if(!this.isClearable()||!a||f||!this.hasValue()||d)return null;var p={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return C.createElement(a,Ce({},s,{innerProps:p,isFocused:h}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,s=this.commonProps,u=this.props,f=u.isDisabled,d=u.isLoading,h=this.state.isFocused;if(!a||!d)return null;var p={"aria-hidden":"true"};return C.createElement(a,Ce({},s,{innerProps:p,isDisabled:f,isFocused:h}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,s=i.IndicatorSeparator;if(!a||!s)return null;var u=this.commonProps,f=this.props.isDisabled,d=this.state.isFocused;return C.createElement(s,Ce({},u,{isDisabled:f,isFocused:d}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var s=this.commonProps,u=this.props.isDisabled,f=this.state.isFocused,d={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return C.createElement(a,Ce({},s,{innerProps:d,isDisabled:u,isFocused:f}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),s=a.Group,u=a.GroupHeading,f=a.Menu,d=a.MenuList,h=a.MenuPortal,p=a.LoadingMessage,g=a.NoOptionsMessage,y=a.Option,b=this.commonProps,x=this.state.focusedOption,E=this.props,S=E.captureMenuScroll,A=E.inputValue,k=E.isLoading,R=E.loadingMessage,N=E.minMenuHeight,D=E.maxMenuHeight,P=E.menuIsOpen,F=E.menuPlacement,V=E.menuPosition,T=E.menuPortalTarget,$=E.menuShouldBlockScroll,H=E.menuShouldScrollIntoView,G=E.noOptionsMessage,z=E.onMenuScrollToTop,U=E.onMenuScrollToBottom;if(!P)return null;var j=function(I,ie){var fe=I.type,re=I.data,le=I.isDisabled,he=I.isSelected,ye=I.label,ze=I.value,Oe=x===re,be=le?void 0:function(){return i.onOptionHover(re)},Le=le?void 0:function(){return i.selectOption(re)},Ie="".concat(i.getElementId("option"),"-").concat(ie),pt={id:Ie,onClick:Le,onMouseMove:be,onMouseOver:be,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:he};return C.createElement(y,Ce({},b,{innerProps:pt,data:re,isDisabled:le,isSelected:he,key:Ie,label:ye,type:fe,value:ze,isFocused:Oe,innerRef:Oe?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(I.data,"menu"))},B;if(this.hasOptions())B=this.getCategorizedOptions().map(function(Z){if(Z.type==="group"){var I=Z.data,ie=Z.options,fe=Z.index,re="".concat(i.getElementId("group"),"-").concat(fe),le="".concat(re,"-heading");return C.createElement(s,Ce({},b,{key:re,data:I,options:ie,Heading:u,headingProps:{id:le,data:Z.data},label:i.formatGroupLabel(Z.data)}),Z.options.map(function(he){return j(he,"".concat(fe,"-").concat(he.index))}))}else if(Z.type==="option")return j(Z,"".concat(Z.index))});else if(k){var q=R({inputValue:A});if(q===null)return null;B=C.createElement(p,b,q)}else{var Y=G({inputValue:A});if(Y===null)return null;B=C.createElement(g,b,Y)}var O={minMenuHeight:N,maxMenuHeight:D,menuPlacement:F,menuPosition:V,menuShouldScrollIntoView:H},W=C.createElement(Tre,Ce({},b,O),function(Z){var I=Z.ref,ie=Z.placerProps,fe=ie.placement,re=ie.maxHeight;return C.createElement(f,Ce({},b,O,{innerRef:I,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:k,placement:fe}),C.createElement(noe,{captureEnabled:S,onTopArrive:z,onBottomArrive:U,lockEnabled:$},function(le){return C.createElement(d,Ce({},b,{innerRef:function(ye){i.getMenuListRef(ye),le(ye)},innerProps:{role:"listbox","aria-multiselectable":b.isMulti,id:i.getElementId("listbox")},isLoading:k,maxHeight:re,focusedOption:x}),B)}))});return T||V==="fixed"?C.createElement(h,Ce({},b,{appendTo:T,controlElement:this.controlRef,menuPlacement:F,menuPosition:V}),W):W}},{key:"renderFormField",value:function(){var i=this,a=this.props,s=a.delimiter,u=a.isDisabled,f=a.isMulti,d=a.name,h=a.required,p=this.state.selectValue;if(h&&!this.hasValue()&&!u)return C.createElement(ooe,{name:d,onFocus:this.onValueInputFocus});if(!(!d||u))if(f)if(s){var g=p.map(function(x){return i.getOptionValue(x)}).join(s);return C.createElement("input",{name:d,type:"hidden",value:g})}else{var y=p.length>0?p.map(function(x,E){return C.createElement("input",{key:"i-".concat(E),name:d,type:"hidden",value:i.getOptionValue(x)})}):C.createElement("input",{name:d,type:"hidden",value:""});return C.createElement("div",null,y)}else{var b=p[0]?this.getOptionValue(p[0]):"";return C.createElement("input",{name:d,type:"hidden",value:b})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,s=a.ariaSelection,u=a.focusedOption,f=a.focusedValue,d=a.isFocused,h=a.selectValue,p=this.getFocusableOptions();return C.createElement(Uie,Ce({},i,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:f,isFocused:d,selectValue:h,focusableOptions:p,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,s=i.IndicatorsContainer,u=i.SelectContainer,f=i.ValueContainer,d=this.props,h=d.className,p=d.id,g=d.isDisabled,y=d.menuIsOpen,b=this.state.isFocused,x=this.commonProps=this.getCommonProps();return C.createElement(u,Ce({},x,{className:h,innerProps:{id:p,onKeyDown:this.onKeyDown},isDisabled:g,isFocused:b}),this.renderLiveRegion(),C.createElement(a,Ce({},x,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:g,isFocused:b,menuIsOpen:y}),C.createElement(f,Ce({},x,{isDisabled:g}),this.renderPlaceholderOrValue(),this.renderInput()),C.createElement(s,Ce({},x,{isDisabled:g}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var s=a.prevProps,u=a.clearFocusValueOnUpdate,f=a.inputIsHiddenAfterUpdate,d=a.ariaSelection,h=a.isFocused,p=a.prevWasFocused,g=a.instancePrefix,y=i.options,b=i.value,x=i.menuIsOpen,E=i.inputValue,S=i.isMulti,A=ZN(b),k={};if(s&&(b!==s.value||y!==s.options||x!==s.menuIsOpen||E!==s.inputValue)){var R=x?woe(i,A):[],N=x?T2(Bh(i,A),"".concat(g,"-option")):[],D=u?Soe(a,A):null,P=_oe(a,R),F=Gv(N,P);k={selectValue:A,focusedOption:P,focusedOptionId:F,focusableOptionsWithIds:N,focusedValue:D,clearFocusValueOnUpdate:!1}}var V=f!=null&&i!==s?{inputIsHidden:f,inputIsHiddenAfterUpdate:void 0}:{},T=d,$=h&&p;return h&&!$&&(T={value:Fh(S,A,A[0]||null),options:A,action:"initial-input-focus"},$=!p),d?.action==="initial-input-focus"&&(T=null),Re(Re(Re({},k),V),{},{prevProps:i,ariaSelection:T,prevWasFocused:$})}}]),n}(C.Component);j2.defaultProps=xoe;var Coe=C.forwardRef(function(e,t){var n=ere(e);return C.createElement(j2,Ce({ref:t},n))}),koe=Coe;const Aoe=({options:e,items_per_page:t,className:n,defaultValue:r,onChange:i})=>{const[a,s]=C.useState(""),[u,f]=C.useState(0),d=y=>{s(y.toLowerCase()),f(0)},h=e.filter(y=>y.label.toLowerCase().includes(a)||y.value.toLowerCase().includes(a));var p;t!==void 0?p=h.slice(u*t,(u+1)*t):p=h;const g={control:y=>({...y,minHeight:void 0})};return _.jsx(koe,{options:p,onInputChange:d,onChange:i,inputValue:a,isSearchable:!0,placeholder:"Select an option...",className:n,unstyled:!0,styles:g,classNamePrefix:"styled-select",defaultValue:r,value:r})};function Toe(e){return e===0?0:Math.abs(e)<1e-12?e:Number(e.toPrecision(12))}const z2=({iostore:e,inputconverter:t,parser:n=r=>parseFloat(r)})=>{const r=C.useContext(Xe),{preview:i}=e.valuestore(),a=e.use(),[s,u]=C.useState(t[1](i?.value));C.useEffect(()=>{u(t[1](i?.value))},[i]);const f=y=>{y=n(parseFloat(y.toString()).toString()),isNaN(y)?(y="<NoValue>",u("")):(a.value_options?.min!==void 0&&y<a.value_options.min&&(y=a.value_options.min),a.value_options?.max!==void 0&&y>a.value_options.max&&(y=a.value_options.max),y=Toe(y),u(y.toString()));try{y=t[0](y)}catch{}y!==i?.value&&r.worker?.set_io_value({nid:a.node,ioid:a.id,value:y,set_default:a.render_options.set_default})},d=y=>{f(y.target.value)};let h=a.connected?t[1](i?.value):s;h===void 0&&(h=a.value_options?.min),h===void 0&&(h=a.value_options?.max),h===void 0&&(h=""),h===null&&(h="");let p=null,g=1;return a.value_options?.step!==void 0?g=a.value_options.step:a.value_options?.max!==void 0&&a.value_options?.min!==void 0&&(g=(a.value_options?.max-a.value_options?.min)/1e3),a.value_options?.max!==void 0&&a.value_options?.min!==void 0&&!a.connected&&(p=_.jsx("div",{style:{minWidth:"6.25rem"},className:"SliderContainer",children:_.jsxs(Dne,{className:"SliderRoot",value:[h===void 0?a.value_options?.min:h],min:a.value_options?.min,max:a.value_options?.max,step:g,disabled:a.connected,onValueCommit:y=>{isNaN(y[0])||f(y[0])},onValueChange:y=>{isNaN(y[0])||u(y[0].toString())},onKeyDown:y=>{["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(y.key)&&y.stopPropagation()},children:[_.jsx(Pne,{className:"SliderTrack",children:_.jsx(jne,{className:"SliderRange"})}),_.jsx(zne,{className:"SliderThumb"})]})})),_.jsxs(_.Fragment,{children:[p,_.jsx("input",{type:"text",className:"nodedatainput styledinput numberinput",value:h,onChange:y=>u(y.target.value),onBlur:d,step:g,onKeyDown:y=>{if(!(y.ctrlKey||y.metaKey)){if(y.key==="ArrowUp"){y.shiftKey&&(g*=10);let b=(parseFloat(h)||0)+g;f(b);return}if(y.key==="ArrowDown"){y.shiftKey&&(g*=10);let b=(parseFloat(h)||0)-g;f(b);return}!/^[0-9.eE+-]$/.test(y.key)&&!["Backspace","ArrowLeft","ArrowRight","Delete","Tab"].includes(y.key)&&y.preventDefault()}},disabled:a.connected,min:a.value_options?.min,max:a.value_options?.max})]})},Roe=({iostore:e,inputconverter:t})=>z2({iostore:e,inputconverter:t,parser:parseFloat}),Ooe=({iostore:e,inputconverter:t})=>z2({iostore:e,inputconverter:t,parser:parseInt}),Noe=({iostore:e,inputconverter:t})=>{const n=C.useContext(Xe),{preview:r}=e.valuestore(),i=e.use(),a=r?.value===void 0,s=C.useRef(null);C.useEffect(()=>{s.current&&(s.current.indeterminate=a)},[s,a]);const u=f=>{let d=f.target.checked;try{d=t[0](f.target.checked)}catch{}n.worker?.set_io_value({nid:i.node,ioid:i.id,value:d,set_default:i.render_options.set_default})};return _.jsx("input",{ref:s,type:"checkbox",className:"styledcheckbox booleaninput",checked:!!t[1](r?.value),onChange:u,disabled:i.connected})},I2=({iostore:e,inputconverter:t})=>{const n=C.useContext(Xe),{preview:r,full:i}=e.valuestore(),a=e.use(),s=i===void 0?r?.value:i?.value,[u,f]=C.useState(t[1](s));C.useEffect(()=>{f(t[1](s))},[s]);const d=y=>{let b=y.target.value;b||(b="<NoValue>");try{b=t[0](b)}catch{}b!==s&&n.worker?.set_io_value({nid:a.node,ioid:a.id,value:b,set_default:a.render_options.set_default})};let h=a.connected?t[1](s):u;h==null&&(h=""),h=h.toString();const p=(h.toString().match(/\n/g)||[]).length,g=Math.max(...h.split(`
|
800
800
|
`).map(y=>y.length),0);return _.jsx("textarea",{className:"nodedatainput styledinput stringinput",value:h,onChange:y=>f(y.target.value),onBlur:y=>{d(y)},disabled:a.connected,rows:p+1,cols:g+1})},Moe=({iostore:e})=>{const t=C.useContext(Xe),n=e.use(),{preview:r,full:i}=e.valuestore(),a=i===void 0?r?.value:i.value,s=n.value_options?.colorspace||"hex",u=d=>{let h="<NoValue>";d&&(d[s]?h=d[s]():h=d.hex()),d===null&&(h=null);try{h=h}catch{}t.worker?.set_io_value({nid:n.node,ioid:n.id,value:h,set_default:n.render_options.set_default})};let f=!1;return typeof n.type!="string"&&"anyOf"in n.type&&n.type.anyOf!==void 0&&(f=n.type.anyOf.some(d=>d==="None")),_.jsx(Xne,{onChange:u,inicolordata:a,allow_null:f,inicolorspace:s})},Doe=e=>e,Poe=e=>parseFloat(e),joe=e=>!!e,zoe=e=>e==="null"?null:e,Ioe=e=>e==="nuinputconvertermber"?Poe:e==="boolean"?joe:e==="undefined"?zoe:Doe,Hh=({iostore:e,inputconverter:t,parser:n})=>{const r=e.use(),{preview:i,full:a}=e.valuestore(),s=a===void 0?i?.value:a.value;let u=r.value_options?.options||[];Array.isArray(u)&&(u={type:"enum",values:u,keys:u.map(x=>x===null?"None":x.toString()),nullable:!1}),u.type!=="enum"&&(u={type:"enum",values:Object.values(u),keys:Object.keys(u),nullable:!1}),u=u,u.nullable&&!u.values.includes(null)&&!u.keys.includes("None")&&(u.values.unshift(null),u.keys.unshift("None"));const f=[];for(let x=0;x<u.values.length;x++){const E=u.values[x]===null||u.values[x]===void 0?"undefined":typeof u.values[x];let S=u.values[x];S===null&&(S="null"),S===void 0&&(S="undefined"),f.push([u.keys[x],S.toString(),E])}const d=C.useContext(Xe),h=({value:x,datatype:E})=>{let A=(n||Ioe(E))(x);try{A=t[0](x)}catch{}d.worker?.set_io_value({nid:r.node,ioid:r.id,value:A,set_default:r.render_options.set_default})};let p=s;p===null&&(p="null"),p===void 0&&(p="undefined");const g=f.find(x=>x[1]===p.toString());let y;g!==void 0&&(y={value:g[1],label:g[0],datatype:g[2]});const b=f.map(x=>({value:x[1],label:x[0],datatype:x[2]}));return _.jsx(Aoe,{className:"nodedatainput styleddropdown",options:b,defaultValue:y,onChange:x=>{if(x===null){h({value:"<NoValue>",datatype:"string"});return}h(x)}})},Loe={float:Roe,int:Ooe,bool:Noe,string:I2,str:I2,color:Moe,select:Hh,enum:Hh,bytes:((e,t=void 0)=>({iostore:n})=>{const{full:r,preview:i}=n.valuestore(),s=(r===void 0?i:r)?.value||t;return _.jsx(e,{iostore:n,value:s})})(Nv,"")},Foe=({iostore:e,typestring:t})=>{const{InLineRenderer:n}=C.useContext(zi),{preview:r,full:i}=e.valuestore();if(t&&n[t])return _.jsx("div",{children:n[t]({iostore:e})});let a=(JSON.stringify(i||r)||"").replace(/\\n/g,`
|
801
801
|
`);return a.length>63&&(a=a.slice(0,60)+"..."),_.jsx("div",{children:a})},Boe={},Nr=(e,t=void 0)=>({iostore:n})=>{const{full:r,preview:i}=n.valuestore(),s=(r===void 0?i:r)?.value||t;return _.jsx(e,{iostore:n,value:s})},$oe={string:Nr(RN),table:Nr(ON),image:Nr(AN),svg:Nr(TN,""),dict:Nr(Oh,"{}"),bytes:Nr(Nv,"")},Hoe={},L2=e=>({iostore:t,value:n,preValue:r,onLoaded:i})=>_.jsx(e,{iostore:t,value:n,preValue:r,onLoaded:i}),F2=L2(Oh),Mr={Inputrenderer:Loe,Outputrenderer:Boe,HandlePreviewRenderer:Hoe,DataOverlayRenderer:{},DataPreviewViewRenderer:$oe,DataViewRenderer:gne,InLineRenderer:_Z,NodeContextExtenders:{},NodeRenderer:{},NodeHooks:{}},Voe=(e,t)=>{const n=t.options||{},r=n.overwrite===void 0?!0:n.overwrite;switch(t.type){case"EXTEND_INPUT_RENDER":return!r&&e.Inputrenderer[t.payload.type]?e:{...e,Inputrenderer:{...e.Inputrenderer,[t.payload.type]:t.payload.component}};case"EXTEND_OUTPUT_RENDER":return!r&&e.Outputrenderer[t.payload.type]?e:{...e,Outputrenderer:{...e.Outputrenderer,[t.payload.type]:t.payload.component}};case"EXTEND_HANDLE_PREVIEW_RENDER":return!r&&e.HandlePreviewRenderer[t.payload.type]?e:{...e,HandlePreviewRenderer:{...e.HandlePreviewRenderer,[t.payload.type]:t.payload.component}};case"EXTEND_DATA_OVERLAY_RENDER":return!r&&e.DataOverlayRenderer[t.payload.type]?e:{...e,DataOverlayRenderer:{...e.DataOverlayRenderer,[t.payload.type]:t.payload.component}};case"EXTEND_DATA_PREVIEW_RENDER":return!r&&e.DataPreviewViewRenderer[t.payload.type]?e:{...e,DataPreviewViewRenderer:{...e.DataPreviewViewRenderer,[t.payload.type]:t.payload.component}};case"EXTEND_DATA_VIEW_RENDER":return!r&&e.DataViewRenderer[t.payload.type]?e:{...e,DataViewRenderer:{...e.DataViewRenderer,[t.payload.type]:t.payload.component}};case"EXTEND_NODE_CONTEXT_EXTENDER":return!r&&e.NodeContextExtenders[t.payload.type]?e:{...e,NodeContextExtenders:{...e.NodeContextExtenders,[t.payload.type]:t.payload.component}};case"EXTEND_NODE_RENDERER":return!r&&e.NodeRenderer[t.payload.type]?e:{...e,NodeRenderer:{...e.NodeRenderer,[t.payload.type]:t.payload.component}};case"EXTEND_NODE_HOOKS":return!r&&e.NodeHooks[t.payload.type]?e:{...e,NodeHooks:{...e.NodeHooks,[t.payload.type]:t.payload.component}};case"EXTEND_FROM_PLUGIN":let i=!1;const a=[[t.payload.plugin.input_renderers||{},e.Inputrenderer],[t.payload.plugin.output_renderers||{},e.Outputrenderer],[t.payload.plugin.handle_preview_renderers||{},e.HandlePreviewRenderer],[t.payload.plugin.data_overlay_renderers||{},e.DataOverlayRenderer],[t.payload.plugin.data_preview_renderers||{},e.DataPreviewViewRenderer],[t.payload.plugin.data_view_renderers||{},e.DataViewRenderer],[t.payload.plugin.node_context_extenders||{},e.NodeContextExtenders],[t.payload.plugin.node_renderers||{},e.NodeRenderer],[t.payload.plugin.node_hooks||{},e.NodeHooks]];for(const[u,f]of a){if(Object.keys(u).length>0){if(r)i=!0;else for(const d in u)if(!f[d]){i=!0;break}}if(i)break}if(!i)return e;for(const[u,f]of a)for(const d in u)(r||!f[d])&&(f[d]=u[d]);return{...e};default:return e}},Uoe=({children:e,plugins:t,fnrf_zst:n})=>{const[r,i]=C.useReducer(Voe,Mr),a=(x,E,S)=>{i({type:"EXTEND_INPUT_RENDER",payload:{type:x,component:E},options:S})},s=(x,E,S)=>{i({type:"EXTEND_OUTPUT_RENDER",payload:{type:x,component:E},options:S})},u=(x,E,S)=>{i({type:"EXTEND_HANDLE_PREVIEW_RENDER",payload:{type:x,component:E},options:S})},f=(x,E,S)=>{i({type:"EXTEND_DATA_OVERLAY_RENDER",payload:{type:x,component:E},options:S})},d=(x,E,S)=>{i({type:"EXTEND_DATA_PREVIEW_RENDER",payload:{type:x,component:E},options:S})},h=(x,E,S)=>{i({type:"EXTEND_DATA_VIEW_RENDER",payload:{type:x,component:E},options:S})},p=(x,E,S)=>{i({type:"EXTEND_NODE_CONTEXT_EXTENDER",payload:{type:x,component:E},options:S})},g=(x,E,S)=>{i({type:"EXTEND_NODE_RENDERER",payload:{type:x,component:E},options:S})},y=(x,E,S)=>{i({type:"EXTEND_NODE_HOOKS",payload:{type:x,component:E},options:S})},b=(x,E)=>{i({type:"EXTEND_FROM_PLUGIN",payload:{plugin:x},options:E})};return C.useEffect(()=>{for(const x in t){const E=t[x];if(!E)continue;const S=E.renderpluginfactory;S&&b(S({React:tf,fnrf_zst:n,NodeContext:q2}))}},[t]),_.jsx(zi.Provider,{value:{Inputrenderer:r.Inputrenderer,Outputrenderer:r.Outputrenderer,HandlePreviewRenderer:r.HandlePreviewRenderer,DataOverlayRenderer:r.DataOverlayRenderer,DataPreviewViewRenderer:r.DataPreviewViewRenderer,DataViewRenderer:r.DataViewRenderer,InLineRenderer:r.InLineRenderer,NodeContextExtenders:r.NodeContextExtenders,NodeRenderer:r.NodeRenderer,NodeHooks:r.NodeHooks,extendInputRenderMapping:a,extendOutputRenderMapping:s,extendHandlePreviewRenderMapping:u,extendDataOverlayRenderMapping:f,extendDataPreviewRenderMapping:d,extendDataViewRenderMapping:h,extendNodeContextExtender:p,extendNodeRenderer:g,extendNodeHooks:y,extendFromPlugin:b},children:e})},zi=C.createContext({Inputrenderer:Mr.Inputrenderer,Outputrenderer:Mr.Outputrenderer,HandlePreviewRenderer:Mr.HandlePreviewRenderer,DataOverlayRenderer:Mr.DataOverlayRenderer,DataPreviewViewRenderer:Mr.DataPreviewViewRenderer,DataViewRenderer:Mr.DataViewRenderer,InLineRenderer:Mr.InLineRenderer,NodeContextExtenders:Mr.NodeContextExtenders,NodeRenderer:Mr.NodeRenderer,NodeHooks:Mr.NodeHooks,extendInputRenderMapping:(e,t,n)=>{},extendOutputRenderMapping:(e,t,n)=>{},extendHandlePreviewRenderMapping:(e,t,n)=>{},extendDataOverlayRenderMapping:(e,t,n)=>{},extendDataPreviewRenderMapping:(e,t,n)=>{},extendDataViewRenderMapping:(e,t,n)=>{},extendNodeContextExtender:(e,t,n)=>{},extendNodeRenderer:(e,t,n)=>{},extendNodeHooks:(e,t,n)=>{},extendFromPlugin:(e,t)=>{}}),B2=e=>{const t=C.useContext(Xe),{DataOverlayRenderer:n,DataViewRenderer:r}=C.useContext(zi);if(e===void 0)return;const i=t.render_options(),[a]=Ea(e.type,i.typemap||{});return a?n[a]?n[a]:r[a]?L2(r[a]):F2:F2},qoe=e=>{const n=C.useContext(Xe).render_options(),{HandlePreviewRenderer:r,DataPreviewViewRenderer:i}=C.useContext(zi),a=B2(e);let s;if(e){const[u]=Ea(e.type,n.typemap||{});u?r[u]?s=r[u]:i[u]?s=i[u]:s=Nr(Nh):s=Nr(Nh)}return[s,a]},$2=({iostore:e,Component:t})=>{const[n,r]=C.useState(void 0),[i,a]=C.useState(void 0),{full:s}=e.valuestore();C.useEffect(()=>{s===void 0?e.getState().try_get_full_value():a(s.value)},[s]);const u=()=>{i!==void 0&&r(i)};return _.jsx(t,{iostore:e,value:i,preValue:n,onLoaded:u})},H2=({iostore:e,Component:t})=>_.jsx(t,{iostore:e}),Ea=(e,t)=>{if(typeof e=="string")return e in t?[t[e],e]:[e,e];if("allOf"in e&&e.allOf!==void 0)return[void 0,void 0];if("anyOf"in e&&e.anyOf!==void 0){const n=e.anyOf.map(r=>Ea(r,t));for(const r of n)switch(r[0]){case"bool":return["bool",r[1]];case"enum":return["enum",r[1]];case"float":return["float",r[1]];case"int":return["int",r[1]];case"string":return["string",r[1]];case"str":return["string",r[1]]}return[void 0,void 0]}return!("type"in e)||e.type===void 0?[void 0,void 0]:e.type==="enum"?["enum","enum"]:[void 0,void 0]},Xv=({iostore:e,typestring:t,preview:n,...r})=>{const[i,a]=C.useState(!1),[s,u]=C.useState(!1),f=C.useContext(Xe),d=e.use(),[h,p]=qoe(d),g=f.local_state(()=>f.reactflowRef);return _.jsxs(YR,{open:i||s,onOpenChange:u,children:[_.jsx(GR,{asChild:!0,children:_.jsx(Jl,{id:d.id,"data-type":t,...r})}),_.jsx(XR,{container:g,children:_.jsxs(WR,{className:"iotooltipcontent",sideOffset:5,children:[_.jsxs("div",{className:"iotooltip_container",children:[_.jsxs("div",{className:"iotooltip_header",children:[i?_.jsx(K7,{onClick:()=>a(!1)}):_.jsx(W7,{onClick:()=>a(!0)}),p&&_.jsx(vs,{title:d.full_id,trigger:_.jsx(lk,{}),onOpenChange:y=>{y&&d.try_get_full_value&&d.try_get_full_value(),a(y)},children:_.jsx($2,{Component:p,iostore:e})})]}),h?_.jsx(H2,{Component:h,iostore:e}):`no preview available for "${t}"`]}),_.jsx(SZ,{className:"iotooltipcontentarrow"})]})})]})},Vh={"":[e=>e,e=>e],str_to_json:[e=>JSON.parse(e),e=>typeof e=="string"?e:JSON.stringify(e)],str_to_list:[e=>{try{const t=JSON.parse(e);return Array.isArray(t)?t:[t]}catch{try{return JSON.parse("["+e+"]")}catch{}}throw new Error("Invalid list")},e=>JSON.stringify(e)]},Yoe=({iostore:e})=>{const n=C.useContext(Xe).render_options(),r=e.use(),[i,a]=Ea(r.render_options.type,n.typemap||{}),{Inputrenderer:s}=C.useContext(zi),u=i?r.value_options?.options?Hh:s[i]:void 0,f=Vh[(a&&n.inputconverter?.[a])??""]||Vh[""];return r.hidden?null:_.jsxs("div",{className:"nodeinput","data-type":i,children:[_.jsx(Xv,{iostore:e,typestring:i,position:_e.Left,type:"target"}),_.jsxs("div",{className:"inner_nodeio",children:[u&&_.jsx("div",{className:"iovaluefield nodrag","data-type":i,children:_.jsx(u,{iostore:e,inputconverter:f})}),_.jsx("div",{className:"ioname",children:r.name})]}),_.jsx(Xv,{iostore:e,typestring:i,position:_e.Right,type:"source"})]})},Goe=({iostore:e})=>{const n=C.useContext(Xe).render_options(),r=e.use(),[i]=Ea(r.type,n.typemap||{}),{Outputrenderer:a}=C.useContext(zi),s=i?a[i]:void 0;return r.hidden?null:_.jsxs("div",{className:"nodeoutput","data-type":i,children:[_.jsx(Xv,{iostore:e,typestring:i,position:_e.Right,type:"source"}),_.jsxs("div",{className:"inner_nodeio",children:[_.jsx("div",{className:"ioname",children:r.name}),s?_.jsx("div",{className:"iovaluefield nodrag",children:_.jsx(s,{iostore:e})}):_.jsx("div",{className:"iovaluefield",children:_.jsx(Foe,{iostore:e,typestring:i})})]})]})},Xoe=e=>{const t=C.useContext(Xe),n=B2(e),{DataPreviewViewRenderer:r,DataViewRenderer:i}=C.useContext(zi),a=t.render_options();if(e===void 0)return[void 0,n];const[s]=Ea(e.type,a.typemap||{});return s?r[s]?[r[s],n]:i[s]?[Nr(i[s]),n]:[Nr(Nh),n]:[Nr(Nh),n]};function Woe(e,t,n={}){const{maxFontSize:r=100,minFontSize:i=6,decrementFactor:a=.9}=n;if(!e||!t)return;if(a>=1||a<=0)throw new Error("decrementFactor must be between 0 and 1");const s=e.getBoundingClientRect(),u=s.width,f=s.height;let d=r;t.style.whiteSpace="nowrap",t.style.display="inline-block",t.style.fontSize=d+"px";let h=t.getBoundingClientRect();for(;(h.width>u||h.height>f)&&d>i;)d*=a,t.style.fontSize=d+"px",h=t.getBoundingClientRect()}function Koe(e={n:0,elapsed:0,ascii:!1,unit:"it",unit_scale:!1,unit_divisor:1e3}){let t=e.total??null;const{n,unit_scale:r,elapsed:i,unit:a,unit_divisor:s,prefix:u="",rate:f=void 0,postfix:d=null,initial:h=0}=e;t!==null&&n>=t+.5&&(t=null);let p=n,g=t,y=f;r&&r!==!0&&r!==1&&(t!==null&&(g=t*r),p=n*r,f!==void 0&&(y=f*r));const b=V2(i);y===void 0&&i>0&&(y=(p-h)/i);const x=y?1/y:void 0,[E,S]=y?Uh(y,s):[void 0,""],[A,k]=x?Uh(x,1e3):[void 0,""],R=(E||"?")+`${S}${a}/s`,N=A?`${A}${k}s/`+a:"?",D=x&&x>1?N:R,P=r?Uh(p,s).join(""):p.toString(),F=r&&g!==null?Uh(g,s).join(""):g?.toString()??"?",V=y&&g!==null?(g-p)/y:0,T=y?V2(V):"?",$=u?`${u}: `:"";if(t!==null){const H=p/t*100,G=` ${P}/${F} [${b} < ${T}, ${D}${d??""}]`;return`${$}${H.toFixed(0)}%${G}`}return`${$}${P}${a} [${b}, ${D}${d??""}]`}function V2(e){const t=Math.floor(e/60),n=Math.floor(e%60);return`${t}:${n.toString().padStart(2,"0")}`}function Uh(e,t){const n=["","K","M","G","T"];let r=0;for(;e>=t&&r<n.length-1;)e/=t,r++;return[e.toFixed(2),n[r]]}const Zoe=({state:e,className:t="reacttqdm",...n})=>{const r=C.useRef(null),i=C.useRef(null);C.useEffect(()=>{const s=()=>{!r.current||!i.current||Woe(r.current,i.current,{maxFontSize:12,decrementFactor:.9})};return s(),window.addEventListener("resize",s),()=>{window.removeEventListener("resize",s)}},[e]);const a=e.total?e.n/e.total*100:0;return _.jsx("div",{ref:r,className:t,...n,children:_.jsxs("div",{style:{position:"relative",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[_.jsx("div",{className:t+"-bar",style:{position:"absolute",width:"100%",height:"100%",overflow:"hidden"},children:_.jsx("div",{className:t+"-progress",style:{width:`${a}%`,height:"100%"}})}),_.jsx("div",{className:t+"-text",ref:i,children:Koe(e)})]})})},Qoe=C.memo(({node_data:e})=>{const t=C.useContext(Xe),n=()=>{t.on_node_action({type:"trigger",from_remote:!1,id:e.id})};return _.jsxs("div",{className:"nodeheader",title:e.description||e.node_name,children:[_.jsxs("div",{className:"nodeheader_element",children:[_.jsx(Q7,{fontSize:"inherit",className:"triggerbutton",onClick:n}),_.jsx(Z7,{fontSize:"inherit",onClick:async()=>{console.log("nodestatus",await t.worker?.get_node_status(e.id))}})]}),_.jsx("div",{className:"nodeheader_element nodeheader_title",children:_.jsx("div",{className:"nodeheader_title_text",children:e.node_name})}),_.jsx("div",{className:"nodeheader_element",children:_.jsx(du,{fontSize:"inherit"})})]})}),Joe=({iostore:e,node_data:t})=>{const n=e.use(),[r,i]=Xoe(n);return _.jsx("div",{className:"nodrag nodedatabody","data-src":t.render_options?.data?.src||"",children:r&&n&&_.jsx(vs,{title:n.full_id,trigger:_.jsx("div",{className:"nodedatabutton",children:_.jsx(H2,{Component:r,iostore:e})}),onOpenChange:a=>{a&&n?.try_get_full_value&&n?.try_get_full_value()},children:i&&_.jsx($2,{Component:i,iostore:e})})})},eae=C.memo(({node_data:e})=>{const t=e.render_options?.data?.src?e.io[e.render_options?.data?.src]:void 0;return _.jsxs("div",{className:"nodebody nowheel ",children:[e.outputs.map(n=>_.jsx(Goe,{iostore:e.io[n]},n)),t&&_.jsx(Joe,{node_data:e,iostore:t}),e.inputs.map(n=>_.jsx(Yoe,{iostore:e.io[n]},n))]})}),U2=C.memo(({node_data:e})=>{const[t,n]=C.useState(e.name);C.useEffect(()=>{n(e.name)},[e]);const r=C.useContext(Xe),i=s=>{n(s.target.value)},a=s=>{const u=s.target.value;r.on_node_action({type:"update",from_remote:!1,id:e.id,node:{name:u}})};return _.jsx("input",{className:"nodename_input",value:t,onChange:i,onBlur:a})}),tae=({node_data:e})=>{if(!e.progress)return null;const t=e.progress();return _.jsx(Zoe,{state:t,className:"nodeprogress"})},nae=C.memo(({node_data:e})=>_.jsxs("div",{className:"nodefooter",children:[e.error&&_.jsx("div",{className:"nodeerror",children:e.error}),_.jsx(tae,{node_data:e})]})),rae=e=>{const t=C.useContext(Xe),[n,r]=C.useState(!1),i=e.in_trigger(),a=C.useContext(zi),s=a.NodeContextExtenders[e.node_id],u=C.useMemo(()=>s?.({node_data:e})||{},[s,e]),f=C.useMemo(()=>({...u,node_data:e}),[u,e]),d=a.NodeHooks[e.node_id];for(const h of d||[])h({nodecontext:f});return C.useEffect(()=>{t.worker?.call_hooks("node_mounted",e.id)},[t.worker,e.id]),C.useEffect(()=>{let h;return i&&!n?r(!0):n&&(h=setTimeout(()=>r(!1),200)),()=>clearTimeout(h)},[i,n]),{visualTrigger:n,nodecontext:f}},q2=C.createContext(null),iae=({data:e})=>{const t=e.nodestore.use(),n=t.properties["frontend:collapsed"]||!1,{visualTrigger:r,nodecontext:i}=rae(t);return _.jsx(q2.Provider,{value:i,children:_.jsxs("div",{className:"innernode"+(r?" intrigger":"")+(t.error?" error":""),children:[_.jsx(Qoe,{node_data:t}),_.jsx(U2,{node_data:t}),n?null:_.jsx(eae,{node_data:t}),_.jsx(nae,{node_data:t})]})})},oae=({iostore:e})=>{const n=C.useContext(Xe).render_options(),r=e.use(),[i,a]=Ea(r.render_options.type,n.typemap||{}),{Inputrenderer:s}=C.useContext(zi),u=i?r.value_options?.options?Hh:s[i]:void 0,f=Vh[(a&&n.inputconverter?.[a])??""]||Vh[""];return _.jsxs("div",{className:"nodesettings_component",children:[_.jsx("div",{children:r.name}),u&&_.jsx(u,{iostore:e,inputconverter:f}),_.jsx("div",{children:_.jsxs("label",{children:["hidden:",_.jsx("input",{className:"styledcheckbox",type:"checkbox",disabled:r.connected,onChange:d=>{r.set_hidden?.(d.target.checked)},checked:r.hidden})]})})]})},aae=({iostore:e})=>{const t=e.use();return _.jsxs("div",{className:"nodesettings_component",children:[_.jsx("div",{children:t.name}),_.jsx("div",{children:_.jsxs("label",{children:["hidden:",_.jsx("input",{className:"styledcheckbox",type:"checkbox",disabled:t.connected,onChange:n=>{t.set_hidden?.(n.target.checked)},checked:t.hidden})]})})]})},sae=({nodestore:e})=>{const t=e.use();return _.jsxs("div",{className:"nodesettings_content",children:[_.jsx("div",{className:"nodesettings_section",children:_.jsxs("div",{className:"nodesettings_component",children:[_.jsx("div",{children:"Name"}),_.jsx("div",{children:_.jsx(U2,{node_data:t})})]})}),_.jsxs("div",{className:"nodesettings_section",children:[_.jsx("div",{children:"Inputs"}),t.inputs.map(n=>_.jsx(oae,{iostore:t.io[n]},n))]}),_.jsxs("div",{className:"nodesettings_section",children:[_.jsx("div",{children:"Outputs"}),t.outputs.map(n=>_.jsx(aae,{iostore:t.io[n]},n))]})]})},lae=()=>{const e=C.useContext(Xe),t=e.local_state(r=>r.selected_nodes);if(t.length===0)return _.jsx("div",{children:"Node Settings"});if(t.length>1)return _.jsx("div",{children:"Multiple Nodes Selected"});const n=e.nodespace.get_node(t[0]);return n?_.jsx(sae,{nodestore:n}):_.jsx("div",{children:"Node not found"})},uae=()=>{const e=C.useContext(Xe),t=e.local_settings(i=>i.view_settings.expand_node_props),n=e.local_settings(i=>i.update_view_settings),r=i=>{n({expand_node_props:i})};return _.jsx(IA,{direction:"left",expanded:t===void 0?!1:t,containerClassName:"pos-right pos-top bg1 h-12",className:"nodesettings_content",onExpandChange:r,children:_.jsx(lae,{})})},cae=({id:e,sourceX:t,sourceY:n,targetX:r,targetY:i,sourcePosition:a,targetPosition:s,data:u,...f})=>{const[d]=$m({sourceX:t,sourceY:n,sourcePosition:a,targetX:r,targetY:i,targetPosition:s});return _.jsx(_.Fragment,{children:_.jsx(eu,{id:e,path:d,...f})})},fae=e=>({nodes:e.nodes,edges:e.edges,onNodesChange:e.onNodesChange,onEdgesChange:e.onEdgesChange,onConnect:e.onConnect}),dae={default:iae},hae={default:cae},pae=()=>{const e=Ql(),t=C.useContext(Xe);return t.rf_instance=e,_.jsx(_.Fragment,{})},mae=()=>{const e=C.useContext(Xe),t=ns("Delete"),n=wL(),r=bL();if(t){for(const i of n)if(i.selected){if(!e.worker)return _.jsx(_.Fragment,{});if(!i.source||!i.target)return _.jsx(_.Fragment,{});if(!i.sourceHandle||!i.targetHandle)return _.jsx(_.Fragment,{});e.worker.remove_edge({src_nid:i.source,src_ioid:i.sourceHandle,trg_nid:i.target,trg_ioid:i.targetHandle})}for(const i of r)if(i.selected){if(!e.worker)return _.jsx(_.Fragment,{});e.worker.remove_node(i.id)}}return _.jsx(_.Fragment,{})},gae=({id:e,top:t,left:n,right:r,bottom:i,...a})=>{const{getNode:s,setNodes:u,addNodes:f,setEdges:d}=Ql(),h=C.useContext(Xe),p=C.useCallback(()=>{const x=s(e);if(!x)return;const E={x:x.position.x+50,y:x.position.y+50};f({...x,id:`${x.id}-copy`,position:E})},[e,s,f]),g=C.useCallback(()=>{h.on_node_action({type:"delete",id:e,from_remote:!1})},[e,u,d]),y=h.nodespace.get_node(e,!1);if(!y)return _.jsx(_.Fragment,{children:" "});const b=y.use();return _.jsxs("div",{style:{top:t,left:n,right:r,bottom:i},className:"context-menu",...a,children:[_.jsx("p",{style:{fontWeight:"bold"},children:_.jsx("small",{children:b.name})}),_.jsx("button",{onClick:p,children:"duplicate"}),_.jsx("button",{onClick:g,children:"delete"})]})},yae=e=>{const t=C.useContext(Xe),n=C.useRef(null);C.useEffect(()=>{t.reactflowRef=n.current},[n]);const[r,i]=C.useState(null),a=({nodes:g,edges:y})=>{const b=t.local_state.getState();t.local_state.setState({...b,selected_nodes:g.map(x=>x.id),selected_edges:y.map(x=>x.id)})},s=C.useCallback(()=>i(null),[i]),{nodes:u,edges:f,onNodesChange:d,onEdgesChange:h,onConnect:p}=t.useReactFlowStore(dZ(fae));return _.jsx("div",{className:"reactflowlayer",children:_.jsxs(yL,{nodes:u,edges:f,onNodesChange:d,onEdgesChange:h,onConnect:p,nodeTypes:dae,edgeTypes:hae,minZoom:e.minZoom,maxZoom:e.maxZoom,fitView:!0,onSelectionChange:a,ref:n,onPaneClick:s,panOnDrag:!e.static,children:[_.jsx(pae,{}),_.jsx(mae,{}),_.jsx(kL,{color:"#888",gap:16,size:1}),e.minimap&&_.jsx(qL,{nodeStrokeWidth:3,pannable:!e.static,zoomable:!e.static,zoomStep:3}),r&&_.jsx(gae,{onClick:s,...r})]})})},qh=C.createContext(void 0),Ca=C.forwardRef((e,t)=>{const{asChild:n,children:r,className:i,style:a,...s}=e,[u,f]=C.useState(!1),d=C.useRef(null),[h,p]=C.useState(null),[g,y]=C.useState({}),b=e.htime||300,x=e.vtime||300,E=e.hdelay||0,S=e.vdelay||200;C.useImperativeHandle(t,()=>d.current,[]);const A=async()=>{if(!d.current)return;d.current.style.transition="none",d.current.style.position="",d.current.style.top="",d.current.style.left="",d.current.style.width="",d.current.style.height="";const P=d.current.getBoundingClientRect();p([P.left,P.top,P.width,P.height]),d.current.style.transition="none",y({position:"absolute",top:`${P.top}px`,left:`${P.left}px`,width:`${P.width}px`,height:`${P.height}px`}),y(H=>({...H,transitionProperty:"width, left, height, top",transitionDuration:`${b}ms, ${b}ms, ${x}ms, ${x}ms`})),f(!0);const F=new Promise(H=>{setTimeout(()=>{y(G=>({...G,left:"0px",width:"100vw"})),H()},E)}),V=new Promise(H=>{setTimeout(()=>{y(G=>({...G,top:"0px",height:"100vh"})),H()},S)}),T=Math.max(b+E,x+S),$=new Promise(H=>{setTimeout(()=>{H()},T)});await Promise.all([F,V,$])},k=async()=>{if(!d.current||!h)return;const P={transitionProperty:"width, left, height, top",transitionDuration:`${b}ms, ${b}ms, ${x}ms, ${x}ms`};y(j=>({...j,...P}));const[F,V,T,$]=h,H=new Promise(j=>{setTimeout(()=>{y(B=>({...B,left:`${F}px`,width:`${T}px`})),j()},S)}),G=new Promise(j=>{setTimeout(()=>{y(B=>({...B,top:`${V}px`,height:`${$}px`})),j()},E)}),z=Math.max(b+E,x+S),U=new Promise(j=>{setTimeout(()=>{j()},z)});await Promise.all([H,G,U]),d.current.style.transition="",y({}),f(!1)},R=async()=>{d.current&&(u?await k():await A())};let N;if(n&&C.isValidElement(r)){const P=r,F=[P.props.className,i,"smooth-expand",u?"smooth-expand-expanded":""].filter(Boolean).join(" "),V={...P.props.style,...a,...g};N=C.cloneElement(P,{ref:d,className:F,style:V,...s})}else N=_.jsx("div",{ref:d,...s,className:`smooth-expand ${u?"smooth-expand-expanded":""} ${i||""}`,style:{...a,...g},children:r});const D=_.jsx(qh.Provider,{value:{isExpanded:u,toggleExpand:R},children:N});return u?Zl.createPortal(D,document.body):D});Ca.Trigger=function({children:e}){const t=C.useContext(qh);if(!t)throw new Error("SmoothExpandComponent.Trigger must be used within a SmoothExpandComponent");return _.jsx("div",{style:{cursor:"pointer"},onClick:t.toggleExpand,children:e})},Ca.Expanded=function({children:e}){const t=C.useContext(qh);if(!t)throw new Error("SmoothExpandComponent.Expanded must be used within a SmoothExpandComponent");return t.isExpanded?_.jsx(_.Fragment,{children:e}):null},Ca.Collapsed=function({children:e}){const t=C.useContext(qh);if(!t)throw new Error("SmoothExpandComponent.Collapsed must be used within a SmoothExpandComponent");return t.isExpanded?null:_.jsx(_.Fragment,{children:e})};const Yh=C.createContext(void 0),Eo=C.forwardRef((e,t)=>{const{asChild:n,children:r,className:i,style:a,...s}=e,u=C.useRef(null);C.useImperativeHandle(t,()=>u.current,[]);const[f,d]=C.useState(!1),h=C.useCallback(async()=>{try{const g=u.current;if(!g)return;if(!f)g.requestFullscreen?await g.requestFullscreen():g.mozRequestFullScreen?await g.mozRequestFullScreen():g.webkitRequestFullscreen?await g.webkitRequestFullscreen():g.msRequestFullscreen&&await g.msRequestFullscreen(),d(!0);else{const y=document;y.exitFullscreen?await y.exitFullscreen():y.mozCancelFullScreen?await y.mozCancelFullScreen():y.webkitExitFullscreen?await y.webkitExitFullscreen():y.msExitFullscreen&&await y.msExitFullscreen(),d(!1)}}catch(g){console.error("Error toggling fullscreen",g)}},[f]);C.useEffect(()=>{const g=()=>{const y=document.fullscreenElement;d(!!y)};return document.addEventListener("fullscreenchange",g),document.addEventListener("webkitfullscreenchange",g),document.addEventListener("mozfullscreenchange",g),document.addEventListener("MSFullscreenChange",g),()=>{document.removeEventListener("fullscreenchange",g),document.removeEventListener("webkitfullscreenchange",g),document.removeEventListener("mozfullscreenchange",g),document.removeEventListener("MSFullscreenChange",g)}},[]);let p;if(n&&C.isValidElement(r)){const g=r,y=[g.props.className,i].filter(Boolean).join(" "),b={...g.props.style,...a};p=C.cloneElement(g,{ref:u,className:y,style:b,...s})}else p=_.jsx("div",{ref:u,...s,className:i,style:a,children:r});return _.jsx(Yh.Provider,{value:{isFullScreen:f,toggleFullscreen:h},children:p})});Eo.Trigger=function({children:e}){const t=C.useContext(Yh);if(!t)throw new Error("FullScreenComponent.Trigger must be used within a FullScreenComponent");return _.jsx("div",{style:{cursor:"pointer"},onClick:t.toggleFullscreen,children:e})},Eo.InFullScreen=function({children:e}){const t=C.useContext(Yh);if(!t)throw new Error("FullScreenComponent.Expanded must be used within a FullScreenComponent");return t.isFullScreen?_.jsx(_.Fragment,{children:e}):null},Eo.OutFullScreen=function({children:e}){const t=C.useContext(Yh);if(!t)throw new Error("FullScreenComponent.Collapsed must be used within a FullScreenComponent");return t.isFullScreen?null:_.jsx(_.Fragment,{children:e})};const vae=({fnrf_zst:e,header:t,flow:n,library:r})=>{const[i,a]=C.useState(e.options.worker),s=C.useRef(null);e.workermanager&&(e.workermanager.on_setWorker=a),e.set_worker(i),C.useEffect(()=>{e.auto_progress()},[]),C.useEffect(()=>{e.local_state.setState({funcnodescontainerRef:s.current})},[s]);const u=e.plugins();return _.jsx(Uoe,{plugins:u,fnrf_zst:e,children:_.jsx(Xe.Provider,{value:e,children:_.jsx(Ca,{asChild:!0,children:_.jsx(Eo,{asChild:!0,children:_.jsx(RU,{style:{height:"100%",width:"100%",display:"flex",flexDirection:"column",flex:1},children:_.jsxs("div",{ref:s,className:"funcnodesreactflowcontainer funcnodescontainer",children:[t.show&&_.jsx(LU,{...t}),_.jsxs("div",{className:"funcnodesreactflowbody",children:[_.jsx(yae,{...n}),i&&r.show&&_.jsx(uZ,{}),i&&n.showNodeSettings&&_.jsx(uae,{})]}),_.jsxs("div",{className:"funcnodesflaotingmenu",children:[_.jsx(Eo.OutFullScreen,{children:n.allowExpand&&_.jsxs(Ca.Trigger,{children:[_.jsx(Ca.Expanded,{children:_.jsx(G7,{size:"xl",style:{padding:"4px"}})}),_.jsx(Ca.Collapsed,{children:_.jsx(X7,{size:"xl",style:{padding:"4px"}})})]})}),n.allowFullScreen&&_.jsxs(Eo.Trigger,{children:[_.jsx(Eo.OutFullScreen,{children:_.jsx(lk,{size:"xl",style:{padding:"4px"}})}),_.jsx(Eo.InFullScreen,{children:_.jsx(Y7,{size:"xl",style:{padding:"4px"}})})]})]})]})})})})})})},Wv={};window.fnrf_zst===void 0&&(window.fnrf_zst=Wv);const Y2={id:"",debug:!1,useWorkerManager:!0,show_library:!0,header:{show:!0,showmenu:!0},flow:{minimap:!0,static:!1,minZoom:.1,maxZoom:5,allowFullScreen:!0,allowExpand:!0,showNodeSettings:!0},library:{show:!0}},Xe=C.createContext(y_(Y2)),bae=e=>{let t=nf(e,{...Y2,id:tE()}).new_obj;if(!t.useWorkerManager&&t.worker===void 0)return _.jsx("div",{children:"Error: If you don't use a worker manager, you must provide a default worker."});if(e.useWorkerManager&&e.workermanager_url===void 0)return _.jsx("div",{children:"Error: If you use a worker manager, you must provide a worker manager url."});let n=Wv[t.id];n===void 0&&(n=y_(t),Wv[t.id]=n),n.options.debug=t.debug;const[r,i]=C.useState(t);return C.useEffect(()=>{const a=[];if(r.worker===void 0&&r.worker_url!==void 0){r.useWorkerManager=!1;const s=new nE({url:r.worker_url,uuid:r.id,on_sync_complete:r.on_sync_complete});r.worker=s,a.push(()=>{s.disconnect()})}if(r.fnw_url!==void 0){if(r.worker===void 0)throw new Error("defining fnw_url requires a worker to be defined");const s=F9(r.fnw_url),u=r.worker.on_sync_complete,f=async d=>{const h=await s;d.on_sync_complete=u,await d.update_from_export(h)};r.worker.on_sync_complete=f}if(r.worker!==void 0&&r.worker.set_zustand(n),t.useWorkerManager){const s=new N9(t.workermanager_url,n);n.workermanager=s,a.push(()=>{s.remove()})}return i({...r}),r.on_ready&&typeof r.on_ready=="function"&&r.on_ready({fnrf_zst:n}),()=>{for(const s of a)s()}},[]),_.jsx(vae,{fnrf_zst:n,header:r.header,library:r.library,flow:r.flow})},xae=e=>(new g_("FuncNodes",e.debug?"debug":"info").debug("Initalizing FuncNodes with props:",e),_.jsx("div",{className:"FuncnodesApp",children:_.jsx(bae,{...e})}));var Kv={exports:{}},Zu={},Zv={exports:{}},Qv={};/**
|
802
802
|
* @license React
|
@@ -822,4 +822,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
822
822
|
`+X[m].replace(" at new "," at ");return o.displayName&&ue.includes("<anonymous>")&&(ue=ue.replace("<anonymous>",o.displayName)),ue}while(1<=m&&0<=v);break}}}finally{ac=!1,Error.prepareStackTrace=c}return(c=o?o.displayName||o.name:"")?To(c):""}function ib(o){switch(o.tag){case 26:case 27:case 5:return To(o.type);case 16:return To("Lazy");case 13:return To("Suspense");case 19:return To("SuspenseList");case 0:case 15:return sc(o.type,!1);case 11:return sc(o.type.render,!1);case 1:return sc(o.type,!0);case 31:return To("Activity");default:return""}}function rp(o){try{var l="";do l+=ib(o),o=o.return;while(o);return l}catch(c){return`
|
823
823
|
Error generating stack: `+c.message+`
|
824
824
|
`+c.stack}}function Dn(o){switch(typeof o){case"bigint":case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function ip(o){var l=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function op(o){var l=ip(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,l),m=""+o[l];if(!o.hasOwnProperty(l)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var v=c.get,w=c.set;return Object.defineProperty(o,l,{configurable:!0,get:function(){return v.call(this)},set:function(M){m=""+M,w.call(this,M)}}),Object.defineProperty(o,l,{enumerable:c.enumerable}),{getValue:function(){return m},setValue:function(M){m=""+M},stopTracking:function(){o._valueTracker=null,delete o[l]}}}}function Xs(o){o._valueTracker||(o._valueTracker=op(o))}function ap(o){if(!o)return!1;var l=o._valueTracker;if(!l)return!0;var c=l.getValue(),m="";return o&&(m=ip(o)?o.checked?"true":"false":o.value),o=m,o!==c?(l.setValue(o),!0):!1}function Ro(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}var ob=/[\n"\\]/g;function Pn(o){return o.replace(ob,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Ws(o,l,c,m,v,w,M,L){o.name="",M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?o.type=M:o.removeAttribute("type"),l!=null?M==="number"?(l===0&&o.value===""||o.value!=l)&&(o.value=""+Dn(l)):o.value!==""+Dn(l)&&(o.value=""+Dn(l)):M!=="submit"&&M!=="reset"||o.removeAttribute("value"),l!=null?ab(o,M,Dn(l)):c!=null?ab(o,M,Dn(c)):m!=null&&o.removeAttribute("value"),v==null&&w!=null&&(o.defaultChecked=!!w),v!=null&&(o.checked=v&&typeof v!="function"&&typeof v!="symbol"),L!=null&&typeof L!="function"&&typeof L!="symbol"&&typeof L!="boolean"?o.name=""+Dn(L):o.removeAttribute("name")}function Z2(o,l,c,m,v,w,M,L){if(w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(o.type=w),l!=null||c!=null){if(!(w!=="submit"&&w!=="reset"||l!=null))return;c=c!=null?""+Dn(c):"",l=l!=null?""+Dn(l):c,L||l===o.value||(o.value=l),o.defaultValue=l}m=m??v,m=typeof m!="function"&&typeof m!="symbol"&&!!m,o.checked=L?o.checked:!!m,o.defaultChecked=!!m,M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(o.name=M)}function ab(o,l,c){l==="number"&&Ro(o.ownerDocument)===o||o.defaultValue===""+c||(o.defaultValue=""+c)}function Ks(o,l,c,m){if(o=o.options,l){l={};for(var v=0;v<c.length;v++)l["$"+c[v]]=!0;for(c=0;c<o.length;c++)v=l.hasOwnProperty("$"+o[c].value),o[c].selected!==v&&(o[c].selected=v),v&&m&&(o[c].defaultSelected=!0)}else{for(c=""+Dn(c),l=null,v=0;v<o.length;v++){if(o[v].value===c){o[v].selected=!0,m&&(o[v].defaultSelected=!0);return}l!==null||o[v].disabled||(l=o[v])}l!==null&&(l.selected=!0)}}function Q2(o,l,c){if(l!=null&&(l=""+Dn(l),l!==o.value&&(o.value=l),c==null)){o.defaultValue!==l&&(o.defaultValue=l);return}o.defaultValue=c!=null?""+Dn(c):""}function J2(o,l,c,m){if(l==null){if(m!=null){if(c!=null)throw Error(r(92));if(U(m)){if(1<m.length)throw Error(r(93));m=m[0]}c=m}c==null&&(c=""),l=c}c=Dn(l),o.defaultValue=c,m=o.textContent,m===c&&m!==""&&m!==null&&(o.value=m)}function Zs(o,l){if(l){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=l;return}}o.textContent=l}var Aae=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function eM(o,l,c){var m=l.indexOf("--")===0;c==null||typeof c=="boolean"||c===""?m?o.setProperty(l,""):l==="float"?o.cssFloat="":o[l]="":m?o.setProperty(l,c):typeof c!="number"||c===0||Aae.has(l)?l==="float"?o.cssFloat=c:o[l]=(""+c).trim():o[l]=c+"px"}function tM(o,l,c){if(l!=null&&typeof l!="object")throw Error(r(62));if(o=o.style,c!=null){for(var m in c)!c.hasOwnProperty(m)||l!=null&&l.hasOwnProperty(m)||(m.indexOf("--")===0?o.setProperty(m,""):m==="float"?o.cssFloat="":o[m]="");for(var v in l)m=l[v],l.hasOwnProperty(v)&&c[v]!==m&&eM(o,v,m)}else for(var w in l)l.hasOwnProperty(w)&&eM(o,w,l[w])}function sb(o){if(o.indexOf("-")===-1)return!1;switch(o){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 Tae=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Rae=/^[\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;function sp(o){return Rae.test(""+o)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":o}var lb=null;function ub(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Qs=null,Js=null;function nM(o){var l=Fi(o);if(l&&(o=l.stateNode)){var c=o[pn]||null;e:switch(o=l.stateNode,l.type){case"input":if(Ws(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name),l=c.name,c.type==="radio"&&l!=null){for(c=o;c.parentNode;)c=c.parentNode;for(c=c.querySelectorAll('input[name="'+Pn(""+l)+'"][type="radio"]'),l=0;l<c.length;l++){var m=c[l];if(m!==o&&m.form===o.form){var v=m[pn]||null;if(!v)throw Error(r(90));Ws(m,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name)}}for(l=0;l<c.length;l++)m=c[l],m.form===o.form&&ap(m)}break e;case"textarea":Q2(o,c.value,c.defaultValue);break e;case"select":l=c.value,l!=null&&Ks(o,!!c.multiple,l,!1)}}}var cb=!1;function rM(o,l,c){if(cb)return o(l,c);cb=!0;try{var m=o(l);return m}finally{if(cb=!1,(Qs!==null||Js!==null)&&(Yp(),Qs&&(l=Qs,o=Js,Js=Qs=null,nM(l),o)))for(l=0;l<o.length;l++)nM(o[l])}}function lc(o,l){var c=o.stateNode;if(c===null)return null;var m=c[pn]||null;if(m===null)return null;c=m[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(m=!m.disabled)||(o=o.type,m=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!m;break e;default:o=!1}if(o)return null;if(c&&typeof c!="function")throw Error(r(231,l,typeof c));return c}var $i=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fb=!1;if($i)try{var uc={};Object.defineProperty(uc,"passive",{get:function(){fb=!0}}),window.addEventListener("test",uc,uc),window.removeEventListener("test",uc,uc)}catch{fb=!1}var Oo=null,db=null,lp=null;function iM(){if(lp)return lp;var o,l=db,c=l.length,m,v="value"in Oo?Oo.value:Oo.textContent,w=v.length;for(o=0;o<c&&l[o]===v[o];o++);var M=c-o;for(m=1;m<=M&&l[c-m]===v[w-m];m++);return lp=v.slice(o,1<m?1-m:void 0)}function up(o){var l=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&l===13&&(o=13)):o=l,o===10&&(o=13),32<=o||o===13?o:0}function cp(){return!0}function oM(){return!1}function jn(o){function l(c,m,v,w,M){this._reactName=c,this._targetInst=v,this.type=m,this.nativeEvent=w,this.target=M,this.currentTarget=null;for(var L in o)o.hasOwnProperty(L)&&(c=o[L],this[L]=c?c(w):w[L]);return this.isDefaultPrevented=(w.defaultPrevented!=null?w.defaultPrevented:w.returnValue===!1)?cp:oM,this.isPropagationStopped=oM,this}return h(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var c=this.nativeEvent;c&&(c.preventDefault?c.preventDefault():typeof c.returnValue!="unknown"&&(c.returnValue=!1),this.isDefaultPrevented=cp)},stopPropagation:function(){var c=this.nativeEvent;c&&(c.stopPropagation?c.stopPropagation():typeof c.cancelBubble!="unknown"&&(c.cancelBubble=!0),this.isPropagationStopped=cp)},persist:function(){},isPersistent:cp}),l}var Oa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fp=jn(Oa),cc=h({},Oa,{view:0,detail:0}),Oae=jn(cc),hb,pb,fc,dp=h({},cc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gb,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==fc&&(fc&&o.type==="mousemove"?(hb=o.screenX-fc.screenX,pb=o.screenY-fc.screenY):pb=hb=0,fc=o),hb)},movementY:function(o){return"movementY"in o?o.movementY:pb}}),aM=jn(dp),Nae=h({},dp,{dataTransfer:0}),Mae=jn(Nae),Dae=h({},cc,{relatedTarget:0}),mb=jn(Dae),Pae=h({},Oa,{animationName:0,elapsedTime:0,pseudoElement:0}),jae=jn(Pae),zae=h({},Oa,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),Iae=jn(zae),Lae=h({},Oa,{data:0}),sM=jn(Lae),Fae={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bae={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"},$ae={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hae(o){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(o):(o=$ae[o])?!!l[o]:!1}function gb(){return Hae}var Vae=h({},cc,{key:function(o){if(o.key){var l=Fae[o.key]||o.key;if(l!=="Unidentified")return l}return o.type==="keypress"?(o=up(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?Bae[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gb,charCode:function(o){return o.type==="keypress"?up(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?up(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),Uae=jn(Vae),qae=h({},dp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lM=jn(qae),Yae=h({},cc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gb}),Gae=jn(Yae),Xae=h({},Oa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Wae=jn(Xae),Kae=h({},dp,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),Zae=jn(Kae),Qae=h({},Oa,{newState:0,oldState:0}),Jae=jn(Qae),ese=[9,13,27,32],yb=$i&&"CompositionEvent"in window,dc=null;$i&&"documentMode"in document&&(dc=document.documentMode);var tse=$i&&"TextEvent"in window&&!dc,uM=$i&&(!yb||dc&&8<dc&&11>=dc),cM=" ",fM=!1;function dM(o,l){switch(o){case"keyup":return ese.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hM(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var el=!1;function nse(o,l){switch(o){case"compositionend":return hM(l);case"keypress":return l.which!==32?null:(fM=!0,cM);case"textInput":return o=l.data,o===cM&&fM?null:o;default:return null}}function rse(o,l){if(el)return o==="compositionend"||!yb&&dM(o,l)?(o=iM(),lp=db=Oo=null,el=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return uM&&l.locale!=="ko"?null:l.data;default:return null}}var ise={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 pM(o){var l=o&&o.nodeName&&o.nodeName.toLowerCase();return l==="input"?!!ise[o.type]:l==="textarea"}function mM(o,l,c,m){Qs?Js?Js.push(m):Js=[m]:Qs=m,l=Qp(l,"onChange"),0<l.length&&(c=new fp("onChange","change",null,c,m),o.push({event:c,listeners:l}))}var hc=null,pc=null;function ose(o){W5(o,0)}function hp(o){var l=Ra(o);if(ap(l))return o}function gM(o,l){if(o==="change")return l}var yM=!1;if($i){var vb;if($i){var bb="oninput"in document;if(!bb){var vM=document.createElement("div");vM.setAttribute("oninput","return;"),bb=typeof vM.oninput=="function"}vb=bb}else vb=!1;yM=vb&&(!document.documentMode||9<document.documentMode)}function bM(){hc&&(hc.detachEvent("onpropertychange",xM),pc=hc=null)}function xM(o){if(o.propertyName==="value"&&hp(pc)){var l=[];mM(l,pc,o,ub(o)),rM(ose,l)}}function ase(o,l,c){o==="focusin"?(bM(),hc=l,pc=c,hc.attachEvent("onpropertychange",xM)):o==="focusout"&&bM()}function sse(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return hp(pc)}function lse(o,l){if(o==="click")return hp(l)}function use(o,l){if(o==="input"||o==="change")return hp(l)}function cse(o,l){return o===l&&(o!==0||1/o===1/l)||o!==o&&l!==l}var Qn=typeof Object.is=="function"?Object.is:cse;function mc(o,l){if(Qn(o,l))return!0;if(typeof o!="object"||o===null||typeof l!="object"||l===null)return!1;var c=Object.keys(o),m=Object.keys(l);if(c.length!==m.length)return!1;for(m=0;m<c.length;m++){var v=c[m];if(!be.call(l,v)||!Qn(o[v],l[v]))return!1}return!0}function wM(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function SM(o,l){var c=wM(o);o=0;for(var m;c;){if(c.nodeType===3){if(m=o+c.textContent.length,o<=l&&m>=l)return{node:c,offset:l-o};o=m}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=wM(c)}}function _M(o,l){return o&&l?o===l?!0:o&&o.nodeType===3?!1:l&&l.nodeType===3?_M(o,l.parentNode):"contains"in o?o.contains(l):o.compareDocumentPosition?!!(o.compareDocumentPosition(l)&16):!1:!1}function EM(o){o=o!=null&&o.ownerDocument!=null&&o.ownerDocument.defaultView!=null?o.ownerDocument.defaultView:window;for(var l=Ro(o.document);l instanceof o.HTMLIFrameElement;){try{var c=typeof l.contentWindow.location.href=="string"}catch{c=!1}if(c)o=l.contentWindow;else break;l=Ro(o.document)}return l}function xb(o){var l=o&&o.nodeName&&o.nodeName.toLowerCase();return l&&(l==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||l==="textarea"||o.contentEditable==="true")}var fse=$i&&"documentMode"in document&&11>=document.documentMode,tl=null,wb=null,gc=null,Sb=!1;function CM(o,l,c){var m=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Sb||tl==null||tl!==Ro(m)||(m=tl,"selectionStart"in m&&xb(m)?m={start:m.selectionStart,end:m.selectionEnd}:(m=(m.ownerDocument&&m.ownerDocument.defaultView||window).getSelection(),m={anchorNode:m.anchorNode,anchorOffset:m.anchorOffset,focusNode:m.focusNode,focusOffset:m.focusOffset}),gc&&mc(gc,m)||(gc=m,m=Qp(wb,"onSelect"),0<m.length&&(l=new fp("onSelect","select",null,l,c),o.push({event:l,listeners:m}),l.target=tl)))}function Na(o,l){var c={};return c[o.toLowerCase()]=l.toLowerCase(),c["Webkit"+o]="webkit"+l,c["Moz"+o]="moz"+l,c}var nl={animationend:Na("Animation","AnimationEnd"),animationiteration:Na("Animation","AnimationIteration"),animationstart:Na("Animation","AnimationStart"),transitionrun:Na("Transition","TransitionRun"),transitionstart:Na("Transition","TransitionStart"),transitioncancel:Na("Transition","TransitionCancel"),transitionend:Na("Transition","TransitionEnd")},_b={},kM={};$i&&(kM=document.createElement("div").style,"AnimationEvent"in window||(delete nl.animationend.animation,delete nl.animationiteration.animation,delete nl.animationstart.animation),"TransitionEvent"in window||delete nl.transitionend.transition);function Ma(o){if(_b[o])return _b[o];if(!nl[o])return o;var l=nl[o],c;for(c in l)if(l.hasOwnProperty(c)&&c in kM)return _b[o]=l[c];return o}var AM=Ma("animationend"),TM=Ma("animationiteration"),RM=Ma("animationstart"),dse=Ma("transitionrun"),hse=Ma("transitionstart"),pse=Ma("transitioncancel"),OM=Ma("transitionend"),NM=new Map,Eb="abort auxClick beforeToggle 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(" ");Eb.push("scrollEnd");function zr(o,l){NM.set(o,l),Bi(l,[o])}var MM=new WeakMap;function pr(o,l){if(typeof o=="object"&&o!==null){var c=MM.get(o);return c!==void 0?c:(l={value:o,source:l,stack:rp(l)},MM.set(o,l),l)}return{value:o,source:l,stack:rp(l)}}var mr=[],rl=0,Cb=0;function pp(){for(var o=rl,l=Cb=rl=0;l<o;){var c=mr[l];mr[l++]=null;var m=mr[l];mr[l++]=null;var v=mr[l];mr[l++]=null;var w=mr[l];if(mr[l++]=null,m!==null&&v!==null){var M=m.pending;M===null?v.next=v:(v.next=M.next,M.next=v),m.pending=v}w!==0&&DM(c,v,w)}}function mp(o,l,c,m){mr[rl++]=o,mr[rl++]=l,mr[rl++]=c,mr[rl++]=m,Cb|=m,o.lanes|=m,o=o.alternate,o!==null&&(o.lanes|=m)}function kb(o,l,c,m){return mp(o,l,c,m),gp(o)}function il(o,l){return mp(o,null,null,l),gp(o)}function DM(o,l,c){o.lanes|=c;var m=o.alternate;m!==null&&(m.lanes|=c);for(var v=!1,w=o.return;w!==null;)w.childLanes|=c,m=w.alternate,m!==null&&(m.childLanes|=c),w.tag===22&&(o=w.stateNode,o===null||o._visibility&1||(v=!0)),o=w,w=w.return;return o.tag===3?(w=o.stateNode,v&&l!==null&&(v=31-Ae(c),o=w.hiddenUpdates,m=o[v],m===null?o[v]=[l]:m.push(l),l.lane=c|536870912),w):null}function gp(o){if(50<$c)throw $c=0,M1=null,Error(r(185));for(var l=o.return;l!==null;)o=l,l=o.return;return o.tag===3?o.stateNode:null}var ol={};function mse(o,l,c,m){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=m,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jn(o,l,c,m){return new mse(o,l,c,m)}function Ab(o){return o=o.prototype,!(!o||!o.isReactComponent)}function Hi(o,l){var c=o.alternate;return c===null?(c=Jn(o.tag,l,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=l,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&65011712,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,l=o.dependencies,c.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c.refCleanup=o.refCleanup,c}function PM(o,l){o.flags&=65011714;var c=o.alternate;return c===null?(o.childLanes=0,o.lanes=l,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=c.childLanes,o.lanes=c.lanes,o.child=c.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=c.memoizedProps,o.memoizedState=c.memoizedState,o.updateQueue=c.updateQueue,o.type=c.type,l=c.dependencies,o.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),o}function yp(o,l,c,m,v,w){var M=0;if(m=o,typeof o=="function")Ab(o)&&(M=1);else if(typeof o=="string")M=yle(o,c,ie.current)?26:o==="html"||o==="head"||o==="body"?27:5;else e:switch(o){case V:return o=Jn(31,c,l,v),o.elementType=V,o.lanes=w,o;case b:return Da(c.children,v,w,l);case x:M=8,v|=24;break;case E:return o=Jn(12,c,l,v|2),o.elementType=E,o.lanes=w,o;case N:return o=Jn(13,c,l,v),o.elementType=N,o.lanes=w,o;case D:return o=Jn(19,c,l,v),o.elementType=D,o.lanes=w,o;default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case S:case k:M=10;break e;case A:M=9;break e;case R:M=11;break e;case P:M=14;break e;case F:M=16,m=null;break e}M=29,c=Error(r(130,o===null?"null":typeof o,"")),m=null}return l=Jn(M,c,l,v),l.elementType=o,l.type=m,l.lanes=w,l}function Da(o,l,c,m){return o=Jn(7,o,m,l),o.lanes=c,o}function Tb(o,l,c){return o=Jn(6,o,null,l),o.lanes=c,o}function Rb(o,l,c){return l=Jn(4,o.children!==null?o.children:[],o.key,l),l.lanes=c,l.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},l}var al=[],sl=0,vp=null,bp=0,gr=[],yr=0,Pa=null,Vi=1,Ui="";function ja(o,l){al[sl++]=bp,al[sl++]=vp,vp=o,bp=l}function jM(o,l,c){gr[yr++]=Vi,gr[yr++]=Ui,gr[yr++]=Pa,Pa=o;var m=Vi;o=Ui;var v=32-Ae(m)-1;m&=~(1<<v),c+=1;var w=32-Ae(l)+v;if(30<w){var M=v-v%5;w=(m&(1<<M)-1).toString(32),m>>=M,v-=M,Vi=1<<32-Ae(l)+v|c<<v|m,Ui=w+o}else Vi=1<<w|c<<v|m,Ui=o}function Ob(o){o.return!==null&&(ja(o,1),jM(o,1,0))}function Nb(o){for(;o===vp;)vp=al[--sl],al[sl]=null,bp=al[--sl],al[sl]=null;for(;o===Pa;)Pa=gr[--yr],gr[yr]=null,Ui=gr[--yr],gr[yr]=null,Vi=gr[--yr],gr[yr]=null}var _n=null,Ot=null,nt=!1,za=null,ui=!1,Mb=Error(r(519));function Ia(o){var l=Error(r(418,""));throw bc(pr(l,o)),Mb}function zM(o){var l=o.stateNode,c=o.type,m=o.memoizedProps;switch(l[Wt]=o,l[pn]=m,c){case"dialog":Ge("cancel",l),Ge("close",l);break;case"iframe":case"object":case"embed":Ge("load",l);break;case"video":case"audio":for(c=0;c<Vc.length;c++)Ge(Vc[c],l);break;case"source":Ge("error",l);break;case"img":case"image":case"link":Ge("error",l),Ge("load",l);break;case"details":Ge("toggle",l);break;case"input":Ge("invalid",l),Z2(l,m.value,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name,!0),Xs(l);break;case"select":Ge("invalid",l);break;case"textarea":Ge("invalid",l),J2(l,m.value,m.defaultValue,m.children),Xs(l)}c=m.children,typeof c!="string"&&typeof c!="number"&&typeof c!="bigint"||l.textContent===""+c||m.suppressHydrationWarning===!0||J5(l.textContent,c)?(m.popover!=null&&(Ge("beforetoggle",l),Ge("toggle",l)),m.onScroll!=null&&Ge("scroll",l),m.onScrollEnd!=null&&Ge("scrollend",l),m.onClick!=null&&(l.onclick=Jp),l=!0):l=!1,l||Ia(o)}function IM(o){for(_n=o.return;_n;)switch(_n.tag){case 5:case 13:ui=!1;return;case 27:case 3:ui=!0;return;default:_n=_n.return}}function yc(o){if(o!==_n)return!1;if(!nt)return IM(o),nt=!0,!1;var l=o.tag,c;if((c=l!==3&&l!==27)&&((c=l===5)&&(c=o.type,c=!(c!=="form"&&c!=="button")||X1(o.type,o.memoizedProps)),c=!c),c&&Ot&&Ia(o),IM(o),l===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));e:{for(o=o.nextSibling,l=0;o;){if(o.nodeType===8)if(c=o.data,c==="/$"){if(l===0){Ot=Lr(o.nextSibling);break e}l--}else c!=="$"&&c!=="$!"&&c!=="$?"||l++;o=o.nextSibling}Ot=null}}else l===27?(l=Ot,Yo(o.type)?(o=Q1,Q1=null,Ot=o):Ot=l):Ot=_n?Lr(o.stateNode.nextSibling):null;return!0}function vc(){Ot=_n=null,nt=!1}function LM(){var o=za;return o!==null&&(Ln===null?Ln=o:Ln.push.apply(Ln,o),za=null),o}function bc(o){za===null?za=[o]:za.push(o)}var Db=W(null),La=null,qi=null;function No(o,l,c){I(Db,l._currentValue),l._currentValue=c}function Yi(o){o._currentValue=Db.current,Z(Db)}function Pb(o,l,c){for(;o!==null;){var m=o.alternate;if((o.childLanes&l)!==l?(o.childLanes|=l,m!==null&&(m.childLanes|=l)):m!==null&&(m.childLanes&l)!==l&&(m.childLanes|=l),o===c)break;o=o.return}}function jb(o,l,c,m){var v=o.child;for(v!==null&&(v.return=o);v!==null;){var w=v.dependencies;if(w!==null){var M=v.child;w=w.firstContext;e:for(;w!==null;){var L=w;w=v;for(var X=0;X<l.length;X++)if(L.context===l[X]){w.lanes|=c,L=w.alternate,L!==null&&(L.lanes|=c),Pb(w.return,c,o),m||(M=null);break e}w=L.next}}else if(v.tag===18){if(M=v.return,M===null)throw Error(r(341));M.lanes|=c,w=M.alternate,w!==null&&(w.lanes|=c),Pb(M,c,o),M=null}else M=v.child;if(M!==null)M.return=v;else for(M=v;M!==null;){if(M===o){M=null;break}if(v=M.sibling,v!==null){v.return=M.return,M=v;break}M=M.return}v=M}}function xc(o,l,c,m){o=null;for(var v=l,w=!1;v!==null;){if(!w){if((v.flags&524288)!==0)w=!0;else if((v.flags&262144)!==0)break}if(v.tag===10){var M=v.alternate;if(M===null)throw Error(r(387));if(M=M.memoizedProps,M!==null){var L=v.type;Qn(v.pendingProps.value,M.value)||(o!==null?o.push(L):o=[L])}}else if(v===le.current){if(M=v.alternate,M===null)throw Error(r(387));M.memoizedState.memoizedState!==v.memoizedState.memoizedState&&(o!==null?o.push(Wc):o=[Wc])}v=v.return}o!==null&&jb(l,o,c,m),l.flags|=262144}function xp(o){for(o=o.firstContext;o!==null;){if(!Qn(o.context._currentValue,o.memoizedValue))return!0;o=o.next}return!1}function Fa(o){La=o,qi=null,o=o.dependencies,o!==null&&(o.firstContext=null)}function mn(o){return FM(La,o)}function wp(o,l){return La===null&&Fa(o),FM(o,l)}function FM(o,l){var c=l._currentValue;if(l={context:l,memoizedValue:c,next:null},qi===null){if(o===null)throw Error(r(308));qi=l,o.dependencies={lanes:0,firstContext:l},o.flags|=524288}else qi=qi.next=l;return c}var gse=typeof AbortController<"u"?AbortController:function(){var o=[],l=this.signal={aborted:!1,addEventListener:function(c,m){o.push(m)}};this.abort=function(){l.aborted=!0,o.forEach(function(c){return c()})}},yse=e.unstable_scheduleCallback,vse=e.unstable_NormalPriority,Yt={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zb(){return{controller:new gse,data:new Map,refCount:0}}function wc(o){o.refCount--,o.refCount===0&&yse(vse,function(){o.controller.abort()})}var Sc=null,Ib=0,ll=0,ul=null;function bse(o,l){if(Sc===null){var c=Sc=[];Ib=0,ll=F1(),ul={status:"pending",value:void 0,then:function(m){c.push(m)}}}return Ib++,l.then(BM,BM),l}function BM(){if(--Ib===0&&Sc!==null){ul!==null&&(ul.status="fulfilled");var o=Sc;Sc=null,ll=0,ul=null;for(var l=0;l<o.length;l++)(0,o[l])()}}function xse(o,l){var c=[],m={status:"pending",value:null,reason:null,then:function(v){c.push(v)}};return o.then(function(){m.status="fulfilled",m.value=l;for(var v=0;v<c.length;v++)(0,c[v])(l)},function(v){for(m.status="rejected",m.reason=v,v=0;v<c.length;v++)(0,c[v])(void 0)}),m}var $M=j.S;j.S=function(o,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&bse(o,l),$M!==null&&$M(o,l)};var Ba=W(null);function Lb(){var o=Ba.current;return o!==null?o:vt.pooledCache}function Sp(o,l){l===null?I(Ba,Ba.current):I(Ba,l.pool)}function HM(){var o=Lb();return o===null?null:{parent:Yt._currentValue,pool:o}}var _c=Error(r(460)),VM=Error(r(474)),_p=Error(r(542)),Fb={then:function(){}};function UM(o){return o=o.status,o==="fulfilled"||o==="rejected"}function Ep(){}function qM(o,l,c){switch(c=o[c],c===void 0?o.push(l):c!==l&&(l.then(Ep,Ep),l=c),l.status){case"fulfilled":return l.value;case"rejected":throw o=l.reason,GM(o),o;default:if(typeof l.status=="string")l.then(Ep,Ep);else{if(o=vt,o!==null&&100<o.shellSuspendCounter)throw Error(r(482));o=l,o.status="pending",o.then(function(m){if(l.status==="pending"){var v=l;v.status="fulfilled",v.value=m}},function(m){if(l.status==="pending"){var v=l;v.status="rejected",v.reason=m}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw o=l.reason,GM(o),o}throw Ec=l,_c}}var Ec=null;function YM(){if(Ec===null)throw Error(r(459));var o=Ec;return Ec=null,o}function GM(o){if(o===_c||o===_p)throw Error(r(483))}var Mo=!1;function Bb(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $b(o,l){o=o.updateQueue,l.updateQueue===o&&(l.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,callbacks:null})}function Do(o){return{lane:o,tag:0,payload:null,callback:null,next:null}}function Po(o,l,c){var m=o.updateQueue;if(m===null)return null;if(m=m.shared,(ot&2)!==0){var v=m.pending;return v===null?l.next=l:(l.next=v.next,v.next=l),m.pending=l,l=gp(o),DM(o,null,c),l}return mp(o,m,l,c),gp(o)}function Cc(o,l,c){if(l=l.updateQueue,l!==null&&(l=l.shared,(c&4194048)!==0)){var m=l.lanes;m&=o.pendingLanes,c|=m,l.lanes=c,Wh(o,c)}}function Hb(o,l){var c=o.updateQueue,m=o.alternate;if(m!==null&&(m=m.updateQueue,c===m)){var v=null,w=null;if(c=c.firstBaseUpdate,c!==null){do{var M={lane:c.lane,tag:c.tag,payload:c.payload,callback:null,next:null};w===null?v=w=M:w=w.next=M,c=c.next}while(c!==null);w===null?v=w=l:w=w.next=l}else v=w=l;c={baseState:m.baseState,firstBaseUpdate:v,lastBaseUpdate:w,shared:m.shared,callbacks:m.callbacks},o.updateQueue=c;return}o=c.lastBaseUpdate,o===null?c.firstBaseUpdate=l:o.next=l,c.lastBaseUpdate=l}var Vb=!1;function kc(){if(Vb){var o=ul;if(o!==null)throw o}}function Ac(o,l,c,m){Vb=!1;var v=o.updateQueue;Mo=!1;var w=v.firstBaseUpdate,M=v.lastBaseUpdate,L=v.shared.pending;if(L!==null){v.shared.pending=null;var X=L,ee=X.next;X.next=null,M===null?w=ee:M.next=ee,M=X;var ue=o.alternate;ue!==null&&(ue=ue.updateQueue,L=ue.lastBaseUpdate,L!==M&&(L===null?ue.firstBaseUpdate=ee:L.next=ee,ue.lastBaseUpdate=X))}if(w!==null){var de=v.baseState;M=0,ue=ee=X=null,L=w;do{var te=L.lane&-536870913,ne=te!==L.lane;if(ne?(Ze&te)===te:(m&te)===te){te!==0&&te===ll&&(Vb=!0),ue!==null&&(ue=ue.next={lane:0,tag:L.tag,payload:L.payload,callback:null,next:null});e:{var je=o,Ne=L;te=l;var ct=c;switch(Ne.tag){case 1:if(je=Ne.payload,typeof je=="function"){de=je.call(ct,de,te);break e}de=je;break e;case 3:je.flags=je.flags&-65537|128;case 0:if(je=Ne.payload,te=typeof je=="function"?je.call(ct,de,te):je,te==null)break e;de=h({},de,te);break e;case 2:Mo=!0}}te=L.callback,te!==null&&(o.flags|=64,ne&&(o.flags|=8192),ne=v.callbacks,ne===null?v.callbacks=[te]:ne.push(te))}else ne={lane:te,tag:L.tag,payload:L.payload,callback:L.callback,next:null},ue===null?(ee=ue=ne,X=de):ue=ue.next=ne,M|=te;if(L=L.next,L===null){if(L=v.shared.pending,L===null)break;ne=L,L=ne.next,ne.next=null,v.lastBaseUpdate=ne,v.shared.pending=null}}while(!0);ue===null&&(X=de),v.baseState=X,v.firstBaseUpdate=ee,v.lastBaseUpdate=ue,w===null&&(v.shared.lanes=0),Ho|=M,o.lanes=M,o.memoizedState=de}}function XM(o,l){if(typeof o!="function")throw Error(r(191,o));o.call(l)}function WM(o,l){var c=o.callbacks;if(c!==null)for(o.callbacks=null,o=0;o<c.length;o++)XM(c[o],l)}var cl=W(null),Cp=W(0);function KM(o,l){o=Ji,I(Cp,o),I(cl,l),Ji=o|l.baseLanes}function Ub(){I(Cp,Ji),I(cl,cl.current)}function qb(){Ji=Cp.current,Z(cl),Z(Cp)}var jo=0,He=null,lt=null,Ut=null,kp=!1,fl=!1,$a=!1,Ap=0,Tc=0,dl=null,wse=0;function Pt(){throw Error(r(321))}function Yb(o,l){if(l===null)return!1;for(var c=0;c<l.length&&c<o.length;c++)if(!Qn(o[c],l[c]))return!1;return!0}function Gb(o,l,c,m,v,w){return jo=w,He=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,j.H=o===null||o.memoizedState===null?D3:P3,$a=!1,w=c(m,v),$a=!1,fl&&(w=QM(l,c,m,v)),ZM(o),w}function ZM(o){j.H=Dp;var l=lt!==null&<.next!==null;if(jo=0,Ut=lt=He=null,kp=!1,Tc=0,dl=null,l)throw Error(r(300));o===null||Kt||(o=o.dependencies,o!==null&&xp(o)&&(Kt=!0))}function QM(o,l,c,m){He=o;var v=0;do{if(fl&&(dl=null),Tc=0,fl=!1,25<=v)throw Error(r(301));if(v+=1,Ut=lt=null,o.updateQueue!=null){var w=o.updateQueue;w.lastEffect=null,w.events=null,w.stores=null,w.memoCache!=null&&(w.memoCache.index=0)}j.H=Tse,w=l(c,m)}while(fl);return w}function Sse(){var o=j.H,l=o.useState()[0];return l=typeof l.then=="function"?Rc(l):l,o=o.useState()[0],(lt!==null?lt.memoizedState:null)!==o&&(He.flags|=1024),l}function Xb(){var o=Ap!==0;return Ap=0,o}function Wb(o,l,c){l.updateQueue=o.updateQueue,l.flags&=-2053,o.lanes&=~c}function Kb(o){if(kp){for(o=o.memoizedState;o!==null;){var l=o.queue;l!==null&&(l.pending=null),o=o.next}kp=!1}jo=0,Ut=lt=He=null,fl=!1,Tc=Ap=0,dl=null}function zn(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ut===null?He.memoizedState=Ut=o:Ut=Ut.next=o,Ut}function qt(){if(lt===null){var o=He.alternate;o=o!==null?o.memoizedState:null}else o=lt.next;var l=Ut===null?He.memoizedState:Ut.next;if(l!==null)Ut=l,lt=o;else{if(o===null)throw He.alternate===null?Error(r(467)):Error(r(310));lt=o,o={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},Ut===null?He.memoizedState=Ut=o:Ut=Ut.next=o}return Ut}function Zb(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Rc(o){var l=Tc;return Tc+=1,dl===null&&(dl=[]),o=qM(dl,o,l),l=He,(Ut===null?l.memoizedState:Ut.next)===null&&(l=l.alternate,j.H=l===null||l.memoizedState===null?D3:P3),o}function Tp(o){if(o!==null&&typeof o=="object"){if(typeof o.then=="function")return Rc(o);if(o.$$typeof===k)return mn(o)}throw Error(r(438,String(o)))}function Qb(o){var l=null,c=He.updateQueue;if(c!==null&&(l=c.memoCache),l==null){var m=He.alternate;m!==null&&(m=m.updateQueue,m!==null&&(m=m.memoCache,m!=null&&(l={data:m.data.map(function(v){return v.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),c===null&&(c=Zb(),He.updateQueue=c),c.memoCache=l,c=l.data[l.index],c===void 0)for(c=l.data[l.index]=Array(o),m=0;m<o;m++)c[m]=T;return l.index++,c}function Gi(o,l){return typeof l=="function"?l(o):l}function Rp(o){var l=qt();return Jb(l,lt,o)}function Jb(o,l,c){var m=o.queue;if(m===null)throw Error(r(311));m.lastRenderedReducer=c;var v=o.baseQueue,w=m.pending;if(w!==null){if(v!==null){var M=v.next;v.next=w.next,w.next=M}l.baseQueue=v=w,m.pending=null}if(w=o.baseState,v===null)o.memoizedState=w;else{l=v.next;var L=M=null,X=null,ee=l,ue=!1;do{var de=ee.lane&-536870913;if(de!==ee.lane?(Ze&de)===de:(jo&de)===de){var te=ee.revertLane;if(te===0)X!==null&&(X=X.next={lane:0,revertLane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),de===ll&&(ue=!0);else if((jo&te)===te){ee=ee.next,te===ll&&(ue=!0);continue}else de={lane:0,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},X===null?(L=X=de,M=w):X=X.next=de,He.lanes|=te,Ho|=te;de=ee.action,$a&&c(w,de),w=ee.hasEagerState?ee.eagerState:c(w,de)}else te={lane:de,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},X===null?(L=X=te,M=w):X=X.next=te,He.lanes|=de,Ho|=de;ee=ee.next}while(ee!==null&&ee!==l);if(X===null?M=w:X.next=L,!Qn(w,o.memoizedState)&&(Kt=!0,ue&&(c=ul,c!==null)))throw c;o.memoizedState=w,o.baseState=M,o.baseQueue=X,m.lastRenderedState=w}return v===null&&(m.lanes=0),[o.memoizedState,m.dispatch]}function e1(o){var l=qt(),c=l.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var m=c.dispatch,v=c.pending,w=l.memoizedState;if(v!==null){c.pending=null;var M=v=v.next;do w=o(w,M.action),M=M.next;while(M!==v);Qn(w,l.memoizedState)||(Kt=!0),l.memoizedState=w,l.baseQueue===null&&(l.baseState=w),c.lastRenderedState=w}return[w,m]}function JM(o,l,c){var m=He,v=qt(),w=nt;if(w){if(c===void 0)throw Error(r(407));c=c()}else c=l();var M=!Qn((lt||v).memoizedState,c);M&&(v.memoizedState=c,Kt=!0),v=v.queue;var L=n3.bind(null,m,v,o);if(Oc(2048,8,L,[o]),v.getSnapshot!==l||M||Ut!==null&&Ut.memoizedState.tag&1){if(m.flags|=2048,hl(9,Op(),t3.bind(null,m,v,c,l),null),vt===null)throw Error(r(349));w||(jo&124)!==0||e3(m,l,c)}return c}function e3(o,l,c){o.flags|=16384,o={getSnapshot:l,value:c},l=He.updateQueue,l===null?(l=Zb(),He.updateQueue=l,l.stores=[o]):(c=l.stores,c===null?l.stores=[o]:c.push(o))}function t3(o,l,c,m){l.value=c,l.getSnapshot=m,r3(l)&&i3(o)}function n3(o,l,c){return c(function(){r3(l)&&i3(o)})}function r3(o){var l=o.getSnapshot;o=o.value;try{var c=l();return!Qn(o,c)}catch{return!0}}function i3(o){var l=il(o,2);l!==null&&ir(l,o,2)}function t1(o){var l=zn();if(typeof o=="function"){var c=o;if(o=c(),$a){ke(!0);try{c()}finally{ke(!1)}}}return l.memoizedState=l.baseState=o,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gi,lastRenderedState:o},l}function o3(o,l,c,m){return o.baseState=c,Jb(o,lt,typeof m=="function"?m:Gi)}function _se(o,l,c,m,v){if(Mp(o))throw Error(r(485));if(o=l.action,o!==null){var w={payload:v,action:o,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(M){w.listeners.push(M)}};j.T!==null?c(!0):w.isTransition=!1,m(w),c=l.pending,c===null?(w.next=l.pending=w,a3(l,w)):(w.next=c.next,l.pending=c.next=w)}}function a3(o,l){var c=l.action,m=l.payload,v=o.state;if(l.isTransition){var w=j.T,M={};j.T=M;try{var L=c(v,m),X=j.S;X!==null&&X(M,L),s3(o,l,L)}catch(ee){n1(o,l,ee)}finally{j.T=w}}else try{w=c(v,m),s3(o,l,w)}catch(ee){n1(o,l,ee)}}function s3(o,l,c){c!==null&&typeof c=="object"&&typeof c.then=="function"?c.then(function(m){l3(o,l,m)},function(m){return n1(o,l,m)}):l3(o,l,c)}function l3(o,l,c){l.status="fulfilled",l.value=c,u3(l),o.state=c,l=o.pending,l!==null&&(c=l.next,c===l?o.pending=null:(c=c.next,l.next=c,a3(o,c)))}function n1(o,l,c){var m=o.pending;if(o.pending=null,m!==null){m=m.next;do l.status="rejected",l.reason=c,u3(l),l=l.next;while(l!==m)}o.action=null}function u3(o){o=o.listeners;for(var l=0;l<o.length;l++)(0,o[l])()}function c3(o,l){return l}function f3(o,l){if(nt){var c=vt.formState;if(c!==null){e:{var m=He;if(nt){if(Ot){t:{for(var v=Ot,w=ui;v.nodeType!==8;){if(!w){v=null;break t}if(v=Lr(v.nextSibling),v===null){v=null;break t}}w=v.data,v=w==="F!"||w==="F"?v:null}if(v){Ot=Lr(v.nextSibling),m=v.data==="F!";break e}}Ia(m)}m=!1}m&&(l=c[0])}}return c=zn(),c.memoizedState=c.baseState=l,m={pending:null,lanes:0,dispatch:null,lastRenderedReducer:c3,lastRenderedState:l},c.queue=m,c=O3.bind(null,He,m),m.dispatch=c,m=t1(!1),w=s1.bind(null,He,!1,m.queue),m=zn(),v={state:l,dispatch:null,action:o,pending:null},m.queue=v,c=_se.bind(null,He,v,w,c),v.dispatch=c,m.memoizedState=o,[l,c,!1]}function d3(o){var l=qt();return h3(l,lt,o)}function h3(o,l,c){if(l=Jb(o,l,c3)[0],o=Rp(Gi)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var m=Rc(l)}catch(M){throw M===_c?_p:M}else m=l;l=qt();var v=l.queue,w=v.dispatch;return c!==l.memoizedState&&(He.flags|=2048,hl(9,Op(),Ese.bind(null,v,c),null)),[m,w,o]}function Ese(o,l){o.action=l}function p3(o){var l=qt(),c=lt;if(c!==null)return h3(l,c,o);qt(),l=l.memoizedState,c=qt();var m=c.queue.dispatch;return c.memoizedState=o,[l,m,!1]}function hl(o,l,c,m){return o={tag:o,create:c,deps:m,inst:l,next:null},l=He.updateQueue,l===null&&(l=Zb(),He.updateQueue=l),c=l.lastEffect,c===null?l.lastEffect=o.next=o:(m=c.next,c.next=o,o.next=m,l.lastEffect=o),o}function Op(){return{destroy:void 0,resource:void 0}}function m3(){return qt().memoizedState}function Np(o,l,c,m){var v=zn();m=m===void 0?null:m,He.flags|=o,v.memoizedState=hl(1|l,Op(),c,m)}function Oc(o,l,c,m){var v=qt();m=m===void 0?null:m;var w=v.memoizedState.inst;lt!==null&&m!==null&&Yb(m,lt.memoizedState.deps)?v.memoizedState=hl(l,w,c,m):(He.flags|=o,v.memoizedState=hl(1|l,w,c,m))}function g3(o,l){Np(8390656,8,o,l)}function y3(o,l){Oc(2048,8,o,l)}function v3(o,l){return Oc(4,2,o,l)}function b3(o,l){return Oc(4,4,o,l)}function x3(o,l){if(typeof l=="function"){o=o();var c=l(o);return function(){typeof c=="function"?c():l(null)}}if(l!=null)return o=o(),l.current=o,function(){l.current=null}}function w3(o,l,c){c=c!=null?c.concat([o]):null,Oc(4,4,x3.bind(null,l,o),c)}function r1(){}function S3(o,l){var c=qt();l=l===void 0?null:l;var m=c.memoizedState;return l!==null&&Yb(l,m[1])?m[0]:(c.memoizedState=[o,l],o)}function _3(o,l){var c=qt();l=l===void 0?null:l;var m=c.memoizedState;if(l!==null&&Yb(l,m[1]))return m[0];if(m=o(),$a){ke(!0);try{o()}finally{ke(!1)}}return c.memoizedState=[m,l],m}function i1(o,l,c){return c===void 0||(jo&1073741824)!==0?o.memoizedState=l:(o.memoizedState=c,o=k5(),He.lanes|=o,Ho|=o,c)}function E3(o,l,c,m){return Qn(c,l)?c:cl.current!==null?(o=i1(o,c,m),Qn(o,l)||(Kt=!0),o):(jo&42)===0?(Kt=!0,o.memoizedState=c):(o=k5(),He.lanes|=o,Ho|=o,l)}function C3(o,l,c,m,v){var w=B.p;B.p=w!==0&&8>w?w:8;var M=j.T,L={};j.T=L,s1(o,!1,l,c);try{var X=v(),ee=j.S;if(ee!==null&&ee(L,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var ue=xse(X,m);Nc(o,l,ue,rr(o))}else Nc(o,l,m,rr(o))}catch(de){Nc(o,l,{then:function(){},status:"rejected",reason:de},rr())}finally{B.p=w,j.T=M}}function Cse(){}function o1(o,l,c,m){if(o.tag!==5)throw Error(r(476));var v=k3(o).queue;C3(o,v,l,q,c===null?Cse:function(){return A3(o),c(m)})}function k3(o){var l=o.memoizedState;if(l!==null)return l;l={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gi,lastRenderedState:q},next:null};var c={};return l.next={memoizedState:c,baseState:c,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gi,lastRenderedState:c},next:null},o.memoizedState=l,o=o.alternate,o!==null&&(o.memoizedState=l),l}function A3(o){var l=k3(o).next.queue;Nc(o,l,{},rr())}function a1(){return mn(Wc)}function T3(){return qt().memoizedState}function R3(){return qt().memoizedState}function kse(o){for(var l=o.return;l!==null;){switch(l.tag){case 24:case 3:var c=rr();o=Do(c);var m=Po(l,o,c);m!==null&&(ir(m,l,c),Cc(m,l,c)),l={cache:zb()},o.payload=l;return}l=l.return}}function Ase(o,l,c){var m=rr();c={lane:m,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null},Mp(o)?N3(l,c):(c=kb(o,l,c,m),c!==null&&(ir(c,o,m),M3(c,l,m)))}function O3(o,l,c){var m=rr();Nc(o,l,c,m)}function Nc(o,l,c,m){var v={lane:m,revertLane:0,action:c,hasEagerState:!1,eagerState:null,next:null};if(Mp(o))N3(l,v);else{var w=o.alternate;if(o.lanes===0&&(w===null||w.lanes===0)&&(w=l.lastRenderedReducer,w!==null))try{var M=l.lastRenderedState,L=w(M,c);if(v.hasEagerState=!0,v.eagerState=L,Qn(L,M))return mp(o,l,v,0),vt===null&&pp(),!1}catch{}finally{}if(c=kb(o,l,v,m),c!==null)return ir(c,o,m),M3(c,l,m),!0}return!1}function s1(o,l,c,m){if(m={lane:2,revertLane:F1(),action:m,hasEagerState:!1,eagerState:null,next:null},Mp(o)){if(l)throw Error(r(479))}else l=kb(o,c,m,2),l!==null&&ir(l,o,2)}function Mp(o){var l=o.alternate;return o===He||l!==null&&l===He}function N3(o,l){fl=kp=!0;var c=o.pending;c===null?l.next=l:(l.next=c.next,c.next=l),o.pending=l}function M3(o,l,c){if((c&4194048)!==0){var m=l.lanes;m&=o.pendingLanes,c|=m,l.lanes=c,Wh(o,c)}}var Dp={readContext:mn,use:Tp,useCallback:Pt,useContext:Pt,useEffect:Pt,useImperativeHandle:Pt,useLayoutEffect:Pt,useInsertionEffect:Pt,useMemo:Pt,useReducer:Pt,useRef:Pt,useState:Pt,useDebugValue:Pt,useDeferredValue:Pt,useTransition:Pt,useSyncExternalStore:Pt,useId:Pt,useHostTransitionStatus:Pt,useFormState:Pt,useActionState:Pt,useOptimistic:Pt,useMemoCache:Pt,useCacheRefresh:Pt},D3={readContext:mn,use:Tp,useCallback:function(o,l){return zn().memoizedState=[o,l===void 0?null:l],o},useContext:mn,useEffect:g3,useImperativeHandle:function(o,l,c){c=c!=null?c.concat([o]):null,Np(4194308,4,x3.bind(null,l,o),c)},useLayoutEffect:function(o,l){return Np(4194308,4,o,l)},useInsertionEffect:function(o,l){Np(4,2,o,l)},useMemo:function(o,l){var c=zn();l=l===void 0?null:l;var m=o();if($a){ke(!0);try{o()}finally{ke(!1)}}return c.memoizedState=[m,l],m},useReducer:function(o,l,c){var m=zn();if(c!==void 0){var v=c(l);if($a){ke(!0);try{c(l)}finally{ke(!1)}}}else v=l;return m.memoizedState=m.baseState=v,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:v},m.queue=o,o=o.dispatch=Ase.bind(null,He,o),[m.memoizedState,o]},useRef:function(o){var l=zn();return o={current:o},l.memoizedState=o},useState:function(o){o=t1(o);var l=o.queue,c=O3.bind(null,He,l);return l.dispatch=c,[o.memoizedState,c]},useDebugValue:r1,useDeferredValue:function(o,l){var c=zn();return i1(c,o,l)},useTransition:function(){var o=t1(!1);return o=C3.bind(null,He,o.queue,!0,!1),zn().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,l,c){var m=He,v=zn();if(nt){if(c===void 0)throw Error(r(407));c=c()}else{if(c=l(),vt===null)throw Error(r(349));(Ze&124)!==0||e3(m,l,c)}v.memoizedState=c;var w={value:c,getSnapshot:l};return v.queue=w,g3(n3.bind(null,m,w,o),[o]),m.flags|=2048,hl(9,Op(),t3.bind(null,m,w,c,l),null),c},useId:function(){var o=zn(),l=vt.identifierPrefix;if(nt){var c=Ui,m=Vi;c=(m&~(1<<32-Ae(m)-1)).toString(32)+c,l="«"+l+"R"+c,c=Ap++,0<c&&(l+="H"+c.toString(32)),l+="»"}else c=wse++,l="«"+l+"r"+c.toString(32)+"»";return o.memoizedState=l},useHostTransitionStatus:a1,useFormState:f3,useActionState:f3,useOptimistic:function(o){var l=zn();l.memoizedState=l.baseState=o;var c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=c,l=s1.bind(null,He,!0,c),c.dispatch=l,[o,l]},useMemoCache:Qb,useCacheRefresh:function(){return zn().memoizedState=kse.bind(null,He)}},P3={readContext:mn,use:Tp,useCallback:S3,useContext:mn,useEffect:y3,useImperativeHandle:w3,useInsertionEffect:v3,useLayoutEffect:b3,useMemo:_3,useReducer:Rp,useRef:m3,useState:function(){return Rp(Gi)},useDebugValue:r1,useDeferredValue:function(o,l){var c=qt();return E3(c,lt.memoizedState,o,l)},useTransition:function(){var o=Rp(Gi)[0],l=qt().memoizedState;return[typeof o=="boolean"?o:Rc(o),l]},useSyncExternalStore:JM,useId:T3,useHostTransitionStatus:a1,useFormState:d3,useActionState:d3,useOptimistic:function(o,l){var c=qt();return o3(c,lt,o,l)},useMemoCache:Qb,useCacheRefresh:R3},Tse={readContext:mn,use:Tp,useCallback:S3,useContext:mn,useEffect:y3,useImperativeHandle:w3,useInsertionEffect:v3,useLayoutEffect:b3,useMemo:_3,useReducer:e1,useRef:m3,useState:function(){return e1(Gi)},useDebugValue:r1,useDeferredValue:function(o,l){var c=qt();return lt===null?i1(c,o,l):E3(c,lt.memoizedState,o,l)},useTransition:function(){var o=e1(Gi)[0],l=qt().memoizedState;return[typeof o=="boolean"?o:Rc(o),l]},useSyncExternalStore:JM,useId:T3,useHostTransitionStatus:a1,useFormState:p3,useActionState:p3,useOptimistic:function(o,l){var c=qt();return lt!==null?o3(c,lt,o,l):(c.baseState=o,[o,c.queue.dispatch])},useMemoCache:Qb,useCacheRefresh:R3},pl=null,Mc=0;function Pp(o){var l=Mc;return Mc+=1,pl===null&&(pl=[]),qM(pl,o,l)}function Dc(o,l){l=l.props.ref,o.ref=l!==void 0?l:null}function jp(o,l){throw l.$$typeof===p?Error(r(525)):(o=Object.prototype.toString.call(l),Error(r(31,o==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":o)))}function j3(o){var l=o._init;return l(o._payload)}function z3(o){function l(Q,K){if(o){var J=Q.deletions;J===null?(Q.deletions=[K],Q.flags|=16):J.push(K)}}function c(Q,K){if(!o)return null;for(;K!==null;)l(Q,K),K=K.sibling;return null}function m(Q){for(var K=new Map;Q!==null;)Q.key!==null?K.set(Q.key,Q):K.set(Q.index,Q),Q=Q.sibling;return K}function v(Q,K){return Q=Hi(Q,K),Q.index=0,Q.sibling=null,Q}function w(Q,K,J){return Q.index=J,o?(J=Q.alternate,J!==null?(J=J.index,J<K?(Q.flags|=67108866,K):J):(Q.flags|=67108866,K)):(Q.flags|=1048576,K)}function M(Q){return o&&Q.alternate===null&&(Q.flags|=67108866),Q}function L(Q,K,J,ce){return K===null||K.tag!==6?(K=Tb(J,Q.mode,ce),K.return=Q,K):(K=v(K,J),K.return=Q,K)}function X(Q,K,J,ce){var xe=J.type;return xe===b?ue(Q,K,J.props.children,ce,J.key):K!==null&&(K.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===F&&j3(xe)===K.type)?(K=v(K,J.props),Dc(K,J),K.return=Q,K):(K=yp(J.type,J.key,J.props,null,Q.mode,ce),Dc(K,J),K.return=Q,K)}function ee(Q,K,J,ce){return K===null||K.tag!==4||K.stateNode.containerInfo!==J.containerInfo||K.stateNode.implementation!==J.implementation?(K=Rb(J,Q.mode,ce),K.return=Q,K):(K=v(K,J.children||[]),K.return=Q,K)}function ue(Q,K,J,ce,xe){return K===null||K.tag!==7?(K=Da(J,Q.mode,ce,xe),K.return=Q,K):(K=v(K,J),K.return=Q,K)}function de(Q,K,J){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return K=Tb(""+K,Q.mode,J),K.return=Q,K;if(typeof K=="object"&&K!==null){switch(K.$$typeof){case g:return J=yp(K.type,K.key,K.props,null,Q.mode,J),Dc(J,K),J.return=Q,J;case y:return K=Rb(K,Q.mode,J),K.return=Q,K;case F:var ce=K._init;return K=ce(K._payload),de(Q,K,J)}if(U(K)||H(K))return K=Da(K,Q.mode,J,null),K.return=Q,K;if(typeof K.then=="function")return de(Q,Pp(K),J);if(K.$$typeof===k)return de(Q,wp(Q,K),J);jp(Q,K)}return null}function te(Q,K,J,ce){var xe=K!==null?K.key:null;if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return xe!==null?null:L(Q,K,""+J,ce);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case g:return J.key===xe?X(Q,K,J,ce):null;case y:return J.key===xe?ee(Q,K,J,ce):null;case F:return xe=J._init,J=xe(J._payload),te(Q,K,J,ce)}if(U(J)||H(J))return xe!==null?null:ue(Q,K,J,ce,null);if(typeof J.then=="function")return te(Q,K,Pp(J),ce);if(J.$$typeof===k)return te(Q,K,wp(Q,J),ce);jp(Q,J)}return null}function ne(Q,K,J,ce,xe){if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return Q=Q.get(J)||null,L(K,Q,""+ce,xe);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case g:return Q=Q.get(ce.key===null?J:ce.key)||null,X(K,Q,ce,xe);case y:return Q=Q.get(ce.key===null?J:ce.key)||null,ee(K,Q,ce,xe);case F:var Ve=ce._init;return ce=Ve(ce._payload),ne(Q,K,J,ce,xe)}if(U(ce)||H(ce))return Q=Q.get(J)||null,ue(K,Q,ce,xe,null);if(typeof ce.then=="function")return ne(Q,K,J,Pp(ce),xe);if(ce.$$typeof===k)return ne(Q,K,J,wp(K,ce),xe);jp(K,ce)}return null}function je(Q,K,J,ce){for(var xe=null,Ve=null,Se=K,De=K=0,Qt=null;Se!==null&&De<J.length;De++){Se.index>De?(Qt=Se,Se=null):Qt=Se.sibling;var Qe=te(Q,Se,J[De],ce);if(Qe===null){Se===null&&(Se=Qt);break}o&&Se&&Qe.alternate===null&&l(Q,Se),K=w(Qe,K,De),Ve===null?xe=Qe:Ve.sibling=Qe,Ve=Qe,Se=Qt}if(De===J.length)return c(Q,Se),nt&&ja(Q,De),xe;if(Se===null){for(;De<J.length;De++)Se=de(Q,J[De],ce),Se!==null&&(K=w(Se,K,De),Ve===null?xe=Se:Ve.sibling=Se,Ve=Se);return nt&&ja(Q,De),xe}for(Se=m(Se);De<J.length;De++)Qt=ne(Se,Q,De,J[De],ce),Qt!==null&&(o&&Qt.alternate!==null&&Se.delete(Qt.key===null?De:Qt.key),K=w(Qt,K,De),Ve===null?xe=Qt:Ve.sibling=Qt,Ve=Qt);return o&&Se.forEach(function(Zo){return l(Q,Zo)}),nt&&ja(Q,De),xe}function Ne(Q,K,J,ce){if(J==null)throw Error(r(151));for(var xe=null,Ve=null,Se=K,De=K=0,Qt=null,Qe=J.next();Se!==null&&!Qe.done;De++,Qe=J.next()){Se.index>De?(Qt=Se,Se=null):Qt=Se.sibling;var Zo=te(Q,Se,Qe.value,ce);if(Zo===null){Se===null&&(Se=Qt);break}o&&Se&&Zo.alternate===null&&l(Q,Se),K=w(Zo,K,De),Ve===null?xe=Zo:Ve.sibling=Zo,Ve=Zo,Se=Qt}if(Qe.done)return c(Q,Se),nt&&ja(Q,De),xe;if(Se===null){for(;!Qe.done;De++,Qe=J.next())Qe=de(Q,Qe.value,ce),Qe!==null&&(K=w(Qe,K,De),Ve===null?xe=Qe:Ve.sibling=Qe,Ve=Qe);return nt&&ja(Q,De),xe}for(Se=m(Se);!Qe.done;De++,Qe=J.next())Qe=ne(Se,Q,De,Qe.value,ce),Qe!==null&&(o&&Qe.alternate!==null&&Se.delete(Qe.key===null?De:Qe.key),K=w(Qe,K,De),Ve===null?xe=Qe:Ve.sibling=Qe,Ve=Qe);return o&&Se.forEach(function(Rle){return l(Q,Rle)}),nt&&ja(Q,De),xe}function ct(Q,K,J,ce){if(typeof J=="object"&&J!==null&&J.type===b&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case g:e:{for(var xe=J.key;K!==null;){if(K.key===xe){if(xe=J.type,xe===b){if(K.tag===7){c(Q,K.sibling),ce=v(K,J.props.children),ce.return=Q,Q=ce;break e}}else if(K.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===F&&j3(xe)===K.type){c(Q,K.sibling),ce=v(K,J.props),Dc(ce,J),ce.return=Q,Q=ce;break e}c(Q,K);break}else l(Q,K);K=K.sibling}J.type===b?(ce=Da(J.props.children,Q.mode,ce,J.key),ce.return=Q,Q=ce):(ce=yp(J.type,J.key,J.props,null,Q.mode,ce),Dc(ce,J),ce.return=Q,Q=ce)}return M(Q);case y:e:{for(xe=J.key;K!==null;){if(K.key===xe)if(K.tag===4&&K.stateNode.containerInfo===J.containerInfo&&K.stateNode.implementation===J.implementation){c(Q,K.sibling),ce=v(K,J.children||[]),ce.return=Q,Q=ce;break e}else{c(Q,K);break}else l(Q,K);K=K.sibling}ce=Rb(J,Q.mode,ce),ce.return=Q,Q=ce}return M(Q);case F:return xe=J._init,J=xe(J._payload),ct(Q,K,J,ce)}if(U(J))return je(Q,K,J,ce);if(H(J)){if(xe=H(J),typeof xe!="function")throw Error(r(150));return J=xe.call(J),Ne(Q,K,J,ce)}if(typeof J.then=="function")return ct(Q,K,Pp(J),ce);if(J.$$typeof===k)return ct(Q,K,wp(Q,J),ce);jp(Q,J)}return typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint"?(J=""+J,K!==null&&K.tag===6?(c(Q,K.sibling),ce=v(K,J),ce.return=Q,Q=ce):(c(Q,K),ce=Tb(J,Q.mode,ce),ce.return=Q,Q=ce),M(Q)):c(Q,K)}return function(Q,K,J,ce){try{Mc=0;var xe=ct(Q,K,J,ce);return pl=null,xe}catch(Se){if(Se===_c||Se===_p)throw Se;var Ve=Jn(29,Se,null,Q.mode);return Ve.lanes=ce,Ve.return=Q,Ve}finally{}}}var ml=z3(!0),I3=z3(!1),vr=W(null),ci=null;function zo(o){var l=o.alternate;I(Gt,Gt.current&1),I(vr,o),ci===null&&(l===null||cl.current!==null||l.memoizedState!==null)&&(ci=o)}function L3(o){if(o.tag===22){if(I(Gt,Gt.current),I(vr,o),ci===null){var l=o.alternate;l!==null&&l.memoizedState!==null&&(ci=o)}}else Io()}function Io(){I(Gt,Gt.current),I(vr,vr.current)}function Xi(o){Z(vr),ci===o&&(ci=null),Z(Gt)}var Gt=W(0);function zp(o){for(var l=o;l!==null;){if(l.tag===13){var c=l.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||Z1(c)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===o)break;for(;l.sibling===null;){if(l.return===null||l.return===o)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}function l1(o,l,c,m){l=o.memoizedState,c=c(m,l),c=c==null?l:h({},l,c),o.memoizedState=c,o.lanes===0&&(o.updateQueue.baseState=c)}var u1={enqueueSetState:function(o,l,c){o=o._reactInternals;var m=rr(),v=Do(m);v.payload=l,c!=null&&(v.callback=c),l=Po(o,v,m),l!==null&&(ir(l,o,m),Cc(l,o,m))},enqueueReplaceState:function(o,l,c){o=o._reactInternals;var m=rr(),v=Do(m);v.tag=1,v.payload=l,c!=null&&(v.callback=c),l=Po(o,v,m),l!==null&&(ir(l,o,m),Cc(l,o,m))},enqueueForceUpdate:function(o,l){o=o._reactInternals;var c=rr(),m=Do(c);m.tag=2,l!=null&&(m.callback=l),l=Po(o,m,c),l!==null&&(ir(l,o,c),Cc(l,o,c))}};function F3(o,l,c,m,v,w,M){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(m,w,M):l.prototype&&l.prototype.isPureReactComponent?!mc(c,m)||!mc(v,w):!0}function B3(o,l,c,m){o=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(c,m),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(c,m),l.state!==o&&u1.enqueueReplaceState(l,l.state,null)}function Ha(o,l){var c=l;if("ref"in l){c={};for(var m in l)m!=="ref"&&(c[m]=l[m])}if(o=o.defaultProps){c===l&&(c=h({},c));for(var v in o)c[v]===void 0&&(c[v]=o[v])}return c}var Ip=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)};function $3(o){Ip(o)}function H3(o){console.error(o)}function V3(o){Ip(o)}function Lp(o,l){try{var c=o.onUncaughtError;c(l.value,{componentStack:l.stack})}catch(m){setTimeout(function(){throw m})}}function U3(o,l,c){try{var m=o.onCaughtError;m(c.value,{componentStack:c.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(v){setTimeout(function(){throw v})}}function c1(o,l,c){return c=Do(c),c.tag=3,c.payload={element:null},c.callback=function(){Lp(o,l)},c}function q3(o){return o=Do(o),o.tag=3,o}function Y3(o,l,c,m){var v=c.type.getDerivedStateFromError;if(typeof v=="function"){var w=m.value;o.payload=function(){return v(w)},o.callback=function(){U3(l,c,m)}}var M=c.stateNode;M!==null&&typeof M.componentDidCatch=="function"&&(o.callback=function(){U3(l,c,m),typeof v!="function"&&(Vo===null?Vo=new Set([this]):Vo.add(this));var L=m.stack;this.componentDidCatch(m.value,{componentStack:L!==null?L:""})})}function Rse(o,l,c,m,v){if(c.flags|=32768,m!==null&&typeof m=="object"&&typeof m.then=="function"){if(l=c.alternate,l!==null&&xc(l,c,v,!0),c=vr.current,c!==null){switch(c.tag){case 13:return ci===null?P1():c.alternate===null&&Nt===0&&(Nt=3),c.flags&=-257,c.flags|=65536,c.lanes=v,m===Fb?c.flags|=16384:(l=c.updateQueue,l===null?c.updateQueue=new Set([m]):l.add(m),z1(o,m,v)),!1;case 22:return c.flags|=65536,m===Fb?c.flags|=16384:(l=c.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([m])},c.updateQueue=l):(c=l.retryQueue,c===null?l.retryQueue=new Set([m]):c.add(m)),z1(o,m,v)),!1}throw Error(r(435,c.tag))}return z1(o,m,v),P1(),!1}if(nt)return l=vr.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=v,m!==Mb&&(o=Error(r(422),{cause:m}),bc(pr(o,c)))):(m!==Mb&&(l=Error(r(423),{cause:m}),bc(pr(l,c))),o=o.current.alternate,o.flags|=65536,v&=-v,o.lanes|=v,m=pr(m,c),v=c1(o.stateNode,m,v),Hb(o,v),Nt!==4&&(Nt=2)),!1;var w=Error(r(520),{cause:m});if(w=pr(w,c),Bc===null?Bc=[w]:Bc.push(w),Nt!==4&&(Nt=2),l===null)return!0;m=pr(m,c),c=l;do{switch(c.tag){case 3:return c.flags|=65536,o=v&-v,c.lanes|=o,o=c1(c.stateNode,m,o),Hb(c,o),!1;case 1:if(l=c.type,w=c.stateNode,(c.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Vo===null||!Vo.has(w))))return c.flags|=65536,v&=-v,c.lanes|=v,v=q3(v),Y3(v,o,c,m),Hb(c,v),!1}c=c.return}while(c!==null);return!1}var G3=Error(r(461)),Kt=!1;function nn(o,l,c,m){l.child=o===null?I3(l,null,c,m):ml(l,o.child,c,m)}function X3(o,l,c,m,v){c=c.render;var w=l.ref;if("ref"in m){var M={};for(var L in m)L!=="ref"&&(M[L]=m[L])}else M=m;return Fa(l),m=Gb(o,l,c,M,w,v),L=Xb(),o!==null&&!Kt?(Wb(o,l,v),Wi(o,l,v)):(nt&&L&&Ob(l),l.flags|=1,nn(o,l,m,v),l.child)}function W3(o,l,c,m,v){if(o===null){var w=c.type;return typeof w=="function"&&!Ab(w)&&w.defaultProps===void 0&&c.compare===null?(l.tag=15,l.type=w,K3(o,l,w,m,v)):(o=yp(c.type,null,m,l,l.mode,v),o.ref=l.ref,o.return=l,l.child=o)}if(w=o.child,!v1(o,v)){var M=w.memoizedProps;if(c=c.compare,c=c!==null?c:mc,c(M,m)&&o.ref===l.ref)return Wi(o,l,v)}return l.flags|=1,o=Hi(w,m),o.ref=l.ref,o.return=l,l.child=o}function K3(o,l,c,m,v){if(o!==null){var w=o.memoizedProps;if(mc(w,m)&&o.ref===l.ref)if(Kt=!1,l.pendingProps=m=w,v1(o,v))(o.flags&131072)!==0&&(Kt=!0);else return l.lanes=o.lanes,Wi(o,l,v)}return f1(o,l,c,m,v)}function Z3(o,l,c){var m=l.pendingProps,v=m.children,w=o!==null?o.memoizedState:null;if(m.mode==="hidden"){if((l.flags&128)!==0){if(m=w!==null?w.baseLanes|c:c,o!==null){for(v=l.child=o.child,w=0;v!==null;)w=w|v.lanes|v.childLanes,v=v.sibling;l.childLanes=w&~m}else l.childLanes=0,l.child=null;return Q3(o,l,m,c)}if((c&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},o!==null&&Sp(l,w!==null?w.cachePool:null),w!==null?KM(l,w):Ub(),L3(l);else return l.lanes=l.childLanes=536870912,Q3(o,l,w!==null?w.baseLanes|c:c,c)}else w!==null?(Sp(l,w.cachePool),KM(l,w),Io(),l.memoizedState=null):(o!==null&&Sp(l,null),Ub(),Io());return nn(o,l,v,c),l.child}function Q3(o,l,c,m){var v=Lb();return v=v===null?null:{parent:Yt._currentValue,pool:v},l.memoizedState={baseLanes:c,cachePool:v},o!==null&&Sp(l,null),Ub(),L3(l),o!==null&&xc(o,l,m,!0),null}function Fp(o,l){var c=l.ref;if(c===null)o!==null&&o.ref!==null&&(l.flags|=4194816);else{if(typeof c!="function"&&typeof c!="object")throw Error(r(284));(o===null||o.ref!==c)&&(l.flags|=4194816)}}function f1(o,l,c,m,v){return Fa(l),c=Gb(o,l,c,m,void 0,v),m=Xb(),o!==null&&!Kt?(Wb(o,l,v),Wi(o,l,v)):(nt&&m&&Ob(l),l.flags|=1,nn(o,l,c,v),l.child)}function J3(o,l,c,m,v,w){return Fa(l),l.updateQueue=null,c=QM(l,m,c,v),ZM(o),m=Xb(),o!==null&&!Kt?(Wb(o,l,w),Wi(o,l,w)):(nt&&m&&Ob(l),l.flags|=1,nn(o,l,c,w),l.child)}function e5(o,l,c,m,v){if(Fa(l),l.stateNode===null){var w=ol,M=c.contextType;typeof M=="object"&&M!==null&&(w=mn(M)),w=new c(m,w),l.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,w.updater=u1,l.stateNode=w,w._reactInternals=l,w=l.stateNode,w.props=m,w.state=l.memoizedState,w.refs={},Bb(l),M=c.contextType,w.context=typeof M=="object"&&M!==null?mn(M):ol,w.state=l.memoizedState,M=c.getDerivedStateFromProps,typeof M=="function"&&(l1(l,c,M,m),w.state=l.memoizedState),typeof c.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(M=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),M!==w.state&&u1.enqueueReplaceState(w,w.state,null),Ac(l,m,w,v),kc(),w.state=l.memoizedState),typeof w.componentDidMount=="function"&&(l.flags|=4194308),m=!0}else if(o===null){w=l.stateNode;var L=l.memoizedProps,X=Ha(c,L);w.props=X;var ee=w.context,ue=c.contextType;M=ol,typeof ue=="object"&&ue!==null&&(M=mn(ue));var de=c.getDerivedStateFromProps;ue=typeof de=="function"||typeof w.getSnapshotBeforeUpdate=="function",L=l.pendingProps!==L,ue||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(L||ee!==M)&&B3(l,w,m,M),Mo=!1;var te=l.memoizedState;w.state=te,Ac(l,m,w,v),kc(),ee=l.memoizedState,L||te!==ee||Mo?(typeof de=="function"&&(l1(l,c,de,m),ee=l.memoizedState),(X=Mo||F3(l,c,X,m,te,ee,M))?(ue||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount()),typeof w.componentDidMount=="function"&&(l.flags|=4194308)):(typeof w.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=m,l.memoizedState=ee),w.props=m,w.state=ee,w.context=M,m=X):(typeof w.componentDidMount=="function"&&(l.flags|=4194308),m=!1)}else{w=l.stateNode,$b(o,l),M=l.memoizedProps,ue=Ha(c,M),w.props=ue,de=l.pendingProps,te=w.context,ee=c.contextType,X=ol,typeof ee=="object"&&ee!==null&&(X=mn(ee)),L=c.getDerivedStateFromProps,(ee=typeof L=="function"||typeof w.getSnapshotBeforeUpdate=="function")||typeof w.UNSAFE_componentWillReceiveProps!="function"&&typeof w.componentWillReceiveProps!="function"||(M!==de||te!==X)&&B3(l,w,m,X),Mo=!1,te=l.memoizedState,w.state=te,Ac(l,m,w,v),kc();var ne=l.memoizedState;M!==de||te!==ne||Mo||o!==null&&o.dependencies!==null&&xp(o.dependencies)?(typeof L=="function"&&(l1(l,c,L,m),ne=l.memoizedState),(ue=Mo||F3(l,c,ue,m,te,ne,X)||o!==null&&o.dependencies!==null&&xp(o.dependencies))?(ee||typeof w.UNSAFE_componentWillUpdate!="function"&&typeof w.componentWillUpdate!="function"||(typeof w.componentWillUpdate=="function"&&w.componentWillUpdate(m,ne,X),typeof w.UNSAFE_componentWillUpdate=="function"&&w.UNSAFE_componentWillUpdate(m,ne,X)),typeof w.componentDidUpdate=="function"&&(l.flags|=4),typeof w.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof w.componentDidUpdate!="function"||M===o.memoizedProps&&te===o.memoizedState||(l.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||M===o.memoizedProps&&te===o.memoizedState||(l.flags|=1024),l.memoizedProps=m,l.memoizedState=ne),w.props=m,w.state=ne,w.context=X,m=ue):(typeof w.componentDidUpdate!="function"||M===o.memoizedProps&&te===o.memoizedState||(l.flags|=4),typeof w.getSnapshotBeforeUpdate!="function"||M===o.memoizedProps&&te===o.memoizedState||(l.flags|=1024),m=!1)}return w=m,Fp(o,l),m=(l.flags&128)!==0,w||m?(w=l.stateNode,c=m&&typeof c.getDerivedStateFromError!="function"?null:w.render(),l.flags|=1,o!==null&&m?(l.child=ml(l,o.child,null,v),l.child=ml(l,null,c,v)):nn(o,l,c,v),l.memoizedState=w.state,o=l.child):o=Wi(o,l,v),o}function t5(o,l,c,m){return vc(),l.flags|=256,nn(o,l,c,m),l.child}var d1={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function h1(o){return{baseLanes:o,cachePool:HM()}}function p1(o,l,c){return o=o!==null?o.childLanes&~c:0,l&&(o|=br),o}function n5(o,l,c){var m=l.pendingProps,v=!1,w=(l.flags&128)!==0,M;if((M=w)||(M=o!==null&&o.memoizedState===null?!1:(Gt.current&2)!==0),M&&(v=!0,l.flags&=-129),M=(l.flags&32)!==0,l.flags&=-33,o===null){if(nt){if(v?zo(l):Io(),nt){var L=Ot,X;if(X=L){e:{for(X=L,L=ui;X.nodeType!==8;){if(!L){L=null;break e}if(X=Lr(X.nextSibling),X===null){L=null;break e}}L=X}L!==null?(l.memoizedState={dehydrated:L,treeContext:Pa!==null?{id:Vi,overflow:Ui}:null,retryLane:536870912,hydrationErrors:null},X=Jn(18,null,null,0),X.stateNode=L,X.return=l,l.child=X,_n=l,Ot=null,X=!0):X=!1}X||Ia(l)}if(L=l.memoizedState,L!==null&&(L=L.dehydrated,L!==null))return Z1(L)?l.lanes=32:l.lanes=536870912,null;Xi(l)}return L=m.children,m=m.fallback,v?(Io(),v=l.mode,L=Bp({mode:"hidden",children:L},v),m=Da(m,v,c,null),L.return=l,m.return=l,L.sibling=m,l.child=L,v=l.child,v.memoizedState=h1(c),v.childLanes=p1(o,M,c),l.memoizedState=d1,m):(zo(l),m1(l,L))}if(X=o.memoizedState,X!==null&&(L=X.dehydrated,L!==null)){if(w)l.flags&256?(zo(l),l.flags&=-257,l=g1(o,l,c)):l.memoizedState!==null?(Io(),l.child=o.child,l.flags|=128,l=null):(Io(),v=m.fallback,L=l.mode,m=Bp({mode:"visible",children:m.children},L),v=Da(v,L,c,null),v.flags|=2,m.return=l,v.return=l,m.sibling=v,l.child=m,ml(l,o.child,null,c),m=l.child,m.memoizedState=h1(c),m.childLanes=p1(o,M,c),l.memoizedState=d1,l=v);else if(zo(l),Z1(L)){if(M=L.nextSibling&&L.nextSibling.dataset,M)var ee=M.dgst;M=ee,m=Error(r(419)),m.stack="",m.digest=M,bc({value:m,source:null,stack:null}),l=g1(o,l,c)}else if(Kt||xc(o,l,c,!1),M=(c&o.childLanes)!==0,Kt||M){if(M=vt,M!==null&&(m=c&-c,m=(m&42)!==0?1:ec(m),m=(m&(M.suspendedLanes|c))!==0?0:m,m!==0&&m!==X.retryLane))throw X.retryLane=m,il(o,m),ir(M,o,m),G3;L.data==="$?"||P1(),l=g1(o,l,c)}else L.data==="$?"?(l.flags|=192,l.child=o.child,l=null):(o=X.treeContext,Ot=Lr(L.nextSibling),_n=l,nt=!0,za=null,ui=!1,o!==null&&(gr[yr++]=Vi,gr[yr++]=Ui,gr[yr++]=Pa,Vi=o.id,Ui=o.overflow,Pa=l),l=m1(l,m.children),l.flags|=4096);return l}return v?(Io(),v=m.fallback,L=l.mode,X=o.child,ee=X.sibling,m=Hi(X,{mode:"hidden",children:m.children}),m.subtreeFlags=X.subtreeFlags&65011712,ee!==null?v=Hi(ee,v):(v=Da(v,L,c,null),v.flags|=2),v.return=l,m.return=l,m.sibling=v,l.child=m,m=v,v=l.child,L=o.child.memoizedState,L===null?L=h1(c):(X=L.cachePool,X!==null?(ee=Yt._currentValue,X=X.parent!==ee?{parent:ee,pool:ee}:X):X=HM(),L={baseLanes:L.baseLanes|c,cachePool:X}),v.memoizedState=L,v.childLanes=p1(o,M,c),l.memoizedState=d1,m):(zo(l),c=o.child,o=c.sibling,c=Hi(c,{mode:"visible",children:m.children}),c.return=l,c.sibling=null,o!==null&&(M=l.deletions,M===null?(l.deletions=[o],l.flags|=16):M.push(o)),l.child=c,l.memoizedState=null,c)}function m1(o,l){return l=Bp({mode:"visible",children:l},o.mode),l.return=o,o.child=l}function Bp(o,l){return o=Jn(22,o,null,l),o.lanes=0,o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},o}function g1(o,l,c){return ml(l,o.child,null,c),o=m1(l,l.pendingProps.children),o.flags|=2,l.memoizedState=null,o}function r5(o,l,c){o.lanes|=l;var m=o.alternate;m!==null&&(m.lanes|=l),Pb(o.return,l,c)}function y1(o,l,c,m,v){var w=o.memoizedState;w===null?o.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:m,tail:c,tailMode:v}:(w.isBackwards=l,w.rendering=null,w.renderingStartTime=0,w.last=m,w.tail=c,w.tailMode=v)}function i5(o,l,c){var m=l.pendingProps,v=m.revealOrder,w=m.tail;if(nn(o,l,m.children,c),m=Gt.current,(m&2)!==0)m=m&1|2,l.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=l.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&r5(o,c,l);else if(o.tag===19)r5(o,c,l);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===l)break e;for(;o.sibling===null;){if(o.return===null||o.return===l)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}m&=1}switch(I(Gt,m),v){case"forwards":for(c=l.child,v=null;c!==null;)o=c.alternate,o!==null&&zp(o)===null&&(v=c),c=c.sibling;c=v,c===null?(v=l.child,l.child=null):(v=c.sibling,c.sibling=null),y1(l,!1,v,c,w);break;case"backwards":for(c=null,v=l.child,l.child=null;v!==null;){if(o=v.alternate,o!==null&&zp(o)===null){l.child=v;break}o=v.sibling,v.sibling=c,c=v,v=o}y1(l,!0,c,null,w);break;case"together":y1(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function Wi(o,l,c){if(o!==null&&(l.dependencies=o.dependencies),Ho|=l.lanes,(c&l.childLanes)===0)if(o!==null){if(xc(o,l,c,!1),(c&l.childLanes)===0)return null}else return null;if(o!==null&&l.child!==o.child)throw Error(r(153));if(l.child!==null){for(o=l.child,c=Hi(o,o.pendingProps),l.child=c,c.return=l;o.sibling!==null;)o=o.sibling,c=c.sibling=Hi(o,o.pendingProps),c.return=l;c.sibling=null}return l.child}function v1(o,l){return(o.lanes&l)!==0?!0:(o=o.dependencies,!!(o!==null&&xp(o)))}function Ose(o,l,c){switch(l.tag){case 3:he(l,l.stateNode.containerInfo),No(l,Yt,o.memoizedState.cache),vc();break;case 27:case 5:ze(l);break;case 4:he(l,l.stateNode.containerInfo);break;case 10:No(l,l.type,l.memoizedProps.value);break;case 13:var m=l.memoizedState;if(m!==null)return m.dehydrated!==null?(zo(l),l.flags|=128,null):(c&l.child.childLanes)!==0?n5(o,l,c):(zo(l),o=Wi(o,l,c),o!==null?o.sibling:null);zo(l);break;case 19:var v=(o.flags&128)!==0;if(m=(c&l.childLanes)!==0,m||(xc(o,l,c,!1),m=(c&l.childLanes)!==0),v){if(m)return i5(o,l,c);l.flags|=128}if(v=l.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),I(Gt,Gt.current),m)break;return null;case 22:case 23:return l.lanes=0,Z3(o,l,c);case 24:No(l,Yt,o.memoizedState.cache)}return Wi(o,l,c)}function o5(o,l,c){if(o!==null)if(o.memoizedProps!==l.pendingProps)Kt=!0;else{if(!v1(o,c)&&(l.flags&128)===0)return Kt=!1,Ose(o,l,c);Kt=(o.flags&131072)!==0}else Kt=!1,nt&&(l.flags&1048576)!==0&&jM(l,bp,l.index);switch(l.lanes=0,l.tag){case 16:e:{o=l.pendingProps;var m=l.elementType,v=m._init;if(m=v(m._payload),l.type=m,typeof m=="function")Ab(m)?(o=Ha(m,o),l.tag=1,l=e5(null,l,m,o,c)):(l.tag=0,l=f1(null,l,m,o,c));else{if(m!=null){if(v=m.$$typeof,v===R){l.tag=11,l=X3(null,l,m,o,c);break e}else if(v===P){l.tag=14,l=W3(null,l,m,o,c);break e}}throw l=z(m)||m,Error(r(306,l,""))}}return l;case 0:return f1(o,l,l.type,l.pendingProps,c);case 1:return m=l.type,v=Ha(m,l.pendingProps),e5(o,l,m,v,c);case 3:e:{if(he(l,l.stateNode.containerInfo),o===null)throw Error(r(387));m=l.pendingProps;var w=l.memoizedState;v=w.element,$b(o,l),Ac(l,m,null,c);var M=l.memoizedState;if(m=M.cache,No(l,Yt,m),m!==w.cache&&jb(l,[Yt],c,!0),kc(),m=M.element,w.isDehydrated)if(w={element:m,isDehydrated:!1,cache:M.cache},l.updateQueue.baseState=w,l.memoizedState=w,l.flags&256){l=t5(o,l,m,c);break e}else if(m!==v){v=pr(Error(r(424)),l),bc(v),l=t5(o,l,m,c);break e}else{switch(o=l.stateNode.containerInfo,o.nodeType){case 9:o=o.body;break;default:o=o.nodeName==="HTML"?o.ownerDocument.body:o}for(Ot=Lr(o.firstChild),_n=l,nt=!0,za=null,ui=!0,c=I3(l,null,m,c),l.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling}else{if(vc(),m===v){l=Wi(o,l,c);break e}nn(o,l,m,c)}l=l.child}return l;case 26:return Fp(o,l),o===null?(c=u4(l.type,null,l.pendingProps,null))?l.memoizedState=c:nt||(c=l.type,o=l.pendingProps,m=em(re.current).createElement(c),m[Wt]=l,m[pn]=o,on(m,c,o),Vt(m),l.stateNode=m):l.memoizedState=u4(l.type,o.memoizedProps,l.pendingProps,o.memoizedState),null;case 27:return ze(l),o===null&&nt&&(m=l.stateNode=a4(l.type,l.pendingProps,re.current),_n=l,ui=!0,v=Ot,Yo(l.type)?(Q1=v,Ot=Lr(m.firstChild)):Ot=v),nn(o,l,l.pendingProps.children,c),Fp(o,l),o===null&&(l.flags|=4194304),l.child;case 5:return o===null&&nt&&((v=m=Ot)&&(m=ile(m,l.type,l.pendingProps,ui),m!==null?(l.stateNode=m,_n=l,Ot=Lr(m.firstChild),ui=!1,v=!0):v=!1),v||Ia(l)),ze(l),v=l.type,w=l.pendingProps,M=o!==null?o.memoizedProps:null,m=w.children,X1(v,w)?m=null:M!==null&&X1(v,M)&&(l.flags|=32),l.memoizedState!==null&&(v=Gb(o,l,Sse,null,null,c),Wc._currentValue=v),Fp(o,l),nn(o,l,m,c),l.child;case 6:return o===null&&nt&&((o=c=Ot)&&(c=ole(c,l.pendingProps,ui),c!==null?(l.stateNode=c,_n=l,Ot=null,o=!0):o=!1),o||Ia(l)),null;case 13:return n5(o,l,c);case 4:return he(l,l.stateNode.containerInfo),m=l.pendingProps,o===null?l.child=ml(l,null,m,c):nn(o,l,m,c),l.child;case 11:return X3(o,l,l.type,l.pendingProps,c);case 7:return nn(o,l,l.pendingProps,c),l.child;case 8:return nn(o,l,l.pendingProps.children,c),l.child;case 12:return nn(o,l,l.pendingProps.children,c),l.child;case 10:return m=l.pendingProps,No(l,l.type,m.value),nn(o,l,m.children,c),l.child;case 9:return v=l.type._context,m=l.pendingProps.children,Fa(l),v=mn(v),m=m(v),l.flags|=1,nn(o,l,m,c),l.child;case 14:return W3(o,l,l.type,l.pendingProps,c);case 15:return K3(o,l,l.type,l.pendingProps,c);case 19:return i5(o,l,c);case 31:return m=l.pendingProps,c=l.mode,m={mode:m.mode,children:m.children},o===null?(c=Bp(m,c),c.ref=l.ref,l.child=c,c.return=l,l=c):(c=Hi(o.child,m),c.ref=l.ref,l.child=c,c.return=l,l=c),l;case 22:return Z3(o,l,c);case 24:return Fa(l),m=mn(Yt),o===null?(v=Lb(),v===null&&(v=vt,w=zb(),v.pooledCache=w,w.refCount++,w!==null&&(v.pooledCacheLanes|=c),v=w),l.memoizedState={parent:m,cache:v},Bb(l),No(l,Yt,v)):((o.lanes&c)!==0&&($b(o,l),Ac(l,null,null,c),kc()),v=o.memoizedState,w=l.memoizedState,v.parent!==m?(v={parent:m,cache:m},l.memoizedState=v,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=v),No(l,Yt,m)):(m=w.cache,No(l,Yt,m),m!==v.cache&&jb(l,[Yt],c,!0))),nn(o,l,l.pendingProps.children,c),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function Ki(o){o.flags|=4}function a5(o,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)o.flags&=-16777217;else if(o.flags|=16777216,!p4(l)){if(l=vr.current,l!==null&&((Ze&4194048)===Ze?ci!==null:(Ze&62914560)!==Ze&&(Ze&536870912)===0||l!==ci))throw Ec=Fb,VM;o.flags|=8192}}function $p(o,l){l!==null&&(o.flags|=4),o.flags&16384&&(l=o.tag!==22?Xh():536870912,o.lanes|=l,bl|=l)}function Pc(o,l){if(!nt)switch(o.tailMode){case"hidden":l=o.tail;for(var c=null;l!==null;)l.alternate!==null&&(c=l),l=l.sibling;c===null?o.tail=null:c.sibling=null;break;case"collapsed":c=o.tail;for(var m=null;c!==null;)c.alternate!==null&&(m=c),c=c.sibling;m===null?l||o.tail===null?o.tail=null:o.tail.sibling=null:m.sibling=null}}function kt(o){var l=o.alternate!==null&&o.alternate.child===o.child,c=0,m=0;if(l)for(var v=o.child;v!==null;)c|=v.lanes|v.childLanes,m|=v.subtreeFlags&65011712,m|=v.flags&65011712,v.return=o,v=v.sibling;else for(v=o.child;v!==null;)c|=v.lanes|v.childLanes,m|=v.subtreeFlags,m|=v.flags,v.return=o,v=v.sibling;return o.subtreeFlags|=m,o.childLanes=c,l}function Nse(o,l,c){var m=l.pendingProps;switch(Nb(l),l.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(l),null;case 1:return kt(l),null;case 3:return c=l.stateNode,m=null,o!==null&&(m=o.memoizedState.cache),l.memoizedState.cache!==m&&(l.flags|=2048),Yi(Yt),ye(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(o===null||o.child===null)&&(yc(l)?Ki(l):o===null||o.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,LM())),kt(l),null;case 26:return c=l.memoizedState,o===null?(Ki(l),c!==null?(kt(l),a5(l,c)):(kt(l),l.flags&=-16777217)):c?c!==o.memoizedState?(Ki(l),kt(l),a5(l,c)):(kt(l),l.flags&=-16777217):(o.memoizedProps!==m&&Ki(l),kt(l),l.flags&=-16777217),null;case 27:Oe(l),c=re.current;var v=l.type;if(o!==null&&l.stateNode!=null)o.memoizedProps!==m&&Ki(l);else{if(!m){if(l.stateNode===null)throw Error(r(166));return kt(l),null}o=ie.current,yc(l)?zM(l):(o=a4(v,m,c),l.stateNode=o,Ki(l))}return kt(l),null;case 5:if(Oe(l),c=l.type,o!==null&&l.stateNode!=null)o.memoizedProps!==m&&Ki(l);else{if(!m){if(l.stateNode===null)throw Error(r(166));return kt(l),null}if(o=ie.current,yc(l))zM(l);else{switch(v=em(re.current),o){case 1:o=v.createElementNS("http://www.w3.org/2000/svg",c);break;case 2:o=v.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;default:switch(c){case"svg":o=v.createElementNS("http://www.w3.org/2000/svg",c);break;case"math":o=v.createElementNS("http://www.w3.org/1998/Math/MathML",c);break;case"script":o=v.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof m.is=="string"?v.createElement("select",{is:m.is}):v.createElement("select"),m.multiple?o.multiple=!0:m.size&&(o.size=m.size);break;default:o=typeof m.is=="string"?v.createElement(c,{is:m.is}):v.createElement(c)}}o[Wt]=l,o[pn]=m;e:for(v=l.child;v!==null;){if(v.tag===5||v.tag===6)o.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===l)break e;for(;v.sibling===null;){if(v.return===null||v.return===l)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}l.stateNode=o;e:switch(on(o,c,m),c){case"button":case"input":case"select":case"textarea":o=!!m.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&Ki(l)}}return kt(l),l.flags&=-16777217,null;case 6:if(o&&l.stateNode!=null)o.memoizedProps!==m&&Ki(l);else{if(typeof m!="string"&&l.stateNode===null)throw Error(r(166));if(o=re.current,yc(l)){if(o=l.stateNode,c=l.memoizedProps,m=null,v=_n,v!==null)switch(v.tag){case 27:case 5:m=v.memoizedProps}o[Wt]=l,o=!!(o.nodeValue===c||m!==null&&m.suppressHydrationWarning===!0||J5(o.nodeValue,c)),o||Ia(l)}else o=em(o).createTextNode(m),o[Wt]=l,l.stateNode=o}return kt(l),null;case 13:if(m=l.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(v=yc(l),m!==null&&m.dehydrated!==null){if(o===null){if(!v)throw Error(r(318));if(v=l.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[Wt]=l}else vc(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;kt(l),v=!1}else v=LM(),o!==null&&o.memoizedState!==null&&(o.memoizedState.hydrationErrors=v),v=!0;if(!v)return l.flags&256?(Xi(l),l):(Xi(l),null)}if(Xi(l),(l.flags&128)!==0)return l.lanes=c,l;if(c=m!==null,o=o!==null&&o.memoizedState!==null,c){m=l.child,v=null,m.alternate!==null&&m.alternate.memoizedState!==null&&m.alternate.memoizedState.cachePool!==null&&(v=m.alternate.memoizedState.cachePool.pool);var w=null;m.memoizedState!==null&&m.memoizedState.cachePool!==null&&(w=m.memoizedState.cachePool.pool),w!==v&&(m.flags|=2048)}return c!==o&&c&&(l.child.flags|=8192),$p(l,l.updateQueue),kt(l),null;case 4:return ye(),o===null&&V1(l.stateNode.containerInfo),kt(l),null;case 10:return Yi(l.type),kt(l),null;case 19:if(Z(Gt),v=l.memoizedState,v===null)return kt(l),null;if(m=(l.flags&128)!==0,w=v.rendering,w===null)if(m)Pc(v,!1);else{if(Nt!==0||o!==null&&(o.flags&128)!==0)for(o=l.child;o!==null;){if(w=zp(o),w!==null){for(l.flags|=128,Pc(v,!1),o=w.updateQueue,l.updateQueue=o,$p(l,o),l.subtreeFlags=0,o=c,c=l.child;c!==null;)PM(c,o),c=c.sibling;return I(Gt,Gt.current&1|2),l.child}o=o.sibling}v.tail!==null&&xt()>Up&&(l.flags|=128,m=!0,Pc(v,!1),l.lanes=4194304)}else{if(!m)if(o=zp(w),o!==null){if(l.flags|=128,m=!0,o=o.updateQueue,l.updateQueue=o,$p(l,o),Pc(v,!0),v.tail===null&&v.tailMode==="hidden"&&!w.alternate&&!nt)return kt(l),null}else 2*xt()-v.renderingStartTime>Up&&c!==536870912&&(l.flags|=128,m=!0,Pc(v,!1),l.lanes=4194304);v.isBackwards?(w.sibling=l.child,l.child=w):(o=v.last,o!==null?o.sibling=w:l.child=w,v.last=w)}return v.tail!==null?(l=v.tail,v.rendering=l,v.tail=l.sibling,v.renderingStartTime=xt(),l.sibling=null,o=Gt.current,I(Gt,m?o&1|2:o&1),l):(kt(l),null);case 22:case 23:return Xi(l),qb(),m=l.memoizedState!==null,o!==null?o.memoizedState!==null!==m&&(l.flags|=8192):m&&(l.flags|=8192),m?(c&536870912)!==0&&(l.flags&128)===0&&(kt(l),l.subtreeFlags&6&&(l.flags|=8192)):kt(l),c=l.updateQueue,c!==null&&$p(l,c.retryQueue),c=null,o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),m=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(m=l.memoizedState.cachePool.pool),m!==c&&(l.flags|=2048),o!==null&&Z(Ba),null;case 24:return c=null,o!==null&&(c=o.memoizedState.cache),l.memoizedState.cache!==c&&(l.flags|=2048),Yi(Yt),kt(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function Mse(o,l){switch(Nb(l),l.tag){case 1:return o=l.flags,o&65536?(l.flags=o&-65537|128,l):null;case 3:return Yi(Yt),ye(),o=l.flags,(o&65536)!==0&&(o&128)===0?(l.flags=o&-65537|128,l):null;case 26:case 27:case 5:return Oe(l),null;case 13:if(Xi(l),o=l.memoizedState,o!==null&&o.dehydrated!==null){if(l.alternate===null)throw Error(r(340));vc()}return o=l.flags,o&65536?(l.flags=o&-65537|128,l):null;case 19:return Z(Gt),null;case 4:return ye(),null;case 10:return Yi(l.type),null;case 22:case 23:return Xi(l),qb(),o!==null&&Z(Ba),o=l.flags,o&65536?(l.flags=o&-65537|128,l):null;case 24:return Yi(Yt),null;case 25:return null;default:return null}}function s5(o,l){switch(Nb(l),l.tag){case 3:Yi(Yt),ye();break;case 26:case 27:case 5:Oe(l);break;case 4:ye();break;case 13:Xi(l);break;case 19:Z(Gt);break;case 10:Yi(l.type);break;case 22:case 23:Xi(l),qb(),o!==null&&Z(Ba);break;case 24:Yi(Yt)}}function jc(o,l){try{var c=l.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var v=m.next;c=v;do{if((c.tag&o)===o){m=void 0;var w=c.create,M=c.inst;m=w(),M.destroy=m}c=c.next}while(c!==v)}}catch(L){mt(l,l.return,L)}}function Lo(o,l,c){try{var m=l.updateQueue,v=m!==null?m.lastEffect:null;if(v!==null){var w=v.next;m=w;do{if((m.tag&o)===o){var M=m.inst,L=M.destroy;if(L!==void 0){M.destroy=void 0,v=l;var X=c,ee=L;try{ee()}catch(ue){mt(v,X,ue)}}}m=m.next}while(m!==w)}}catch(ue){mt(l,l.return,ue)}}function l5(o){var l=o.updateQueue;if(l!==null){var c=o.stateNode;try{WM(l,c)}catch(m){mt(o,o.return,m)}}}function u5(o,l,c){c.props=Ha(o.type,o.memoizedProps),c.state=o.memoizedState;try{c.componentWillUnmount()}catch(m){mt(o,l,m)}}function zc(o,l){try{var c=o.ref;if(c!==null){switch(o.tag){case 26:case 27:case 5:var m=o.stateNode;break;case 30:m=o.stateNode;break;default:m=o.stateNode}typeof c=="function"?o.refCleanup=c(m):c.current=m}}catch(v){mt(o,l,v)}}function fi(o,l){var c=o.ref,m=o.refCleanup;if(c!==null)if(typeof m=="function")try{m()}catch(v){mt(o,l,v)}finally{o.refCleanup=null,o=o.alternate,o!=null&&(o.refCleanup=null)}else if(typeof c=="function")try{c(null)}catch(v){mt(o,l,v)}else c.current=null}function c5(o){var l=o.type,c=o.memoizedProps,m=o.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":c.autoFocus&&m.focus();break e;case"img":c.src?m.src=c.src:c.srcSet&&(m.srcset=c.srcSet)}}catch(v){mt(o,o.return,v)}}function b1(o,l,c){try{var m=o.stateNode;Jse(m,o.type,c,l),m[pn]=l}catch(v){mt(o,o.return,v)}}function f5(o){return o.tag===5||o.tag===3||o.tag===26||o.tag===27&&Yo(o.type)||o.tag===4}function x1(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||f5(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.tag===27&&Yo(o.type)||o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function w1(o,l,c){var m=o.tag;if(m===5||m===6)o=o.stateNode,l?(c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c).insertBefore(o,l):(l=c.nodeType===9?c.body:c.nodeName==="HTML"?c.ownerDocument.body:c,l.appendChild(o),c=c._reactRootContainer,c!=null||l.onclick!==null||(l.onclick=Jp));else if(m!==4&&(m===27&&Yo(o.type)&&(c=o.stateNode,l=null),o=o.child,o!==null))for(w1(o,l,c),o=o.sibling;o!==null;)w1(o,l,c),o=o.sibling}function Hp(o,l,c){var m=o.tag;if(m===5||m===6)o=o.stateNode,l?c.insertBefore(o,l):c.appendChild(o);else if(m!==4&&(m===27&&Yo(o.type)&&(c=o.stateNode),o=o.child,o!==null))for(Hp(o,l,c),o=o.sibling;o!==null;)Hp(o,l,c),o=o.sibling}function d5(o){var l=o.stateNode,c=o.memoizedProps;try{for(var m=o.type,v=l.attributes;v.length;)l.removeAttributeNode(v[0]);on(l,m,c),l[Wt]=o,l[pn]=c}catch(w){mt(o,o.return,w)}}var Zi=!1,jt=!1,S1=!1,h5=typeof WeakSet=="function"?WeakSet:Set,Zt=null;function Dse(o,l){if(o=o.containerInfo,Y1=am,o=EM(o),xb(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var m=c.getSelection&&c.getSelection();if(m&&m.rangeCount!==0){c=m.anchorNode;var v=m.anchorOffset,w=m.focusNode;m=m.focusOffset;try{c.nodeType,w.nodeType}catch{c=null;break e}var M=0,L=-1,X=-1,ee=0,ue=0,de=o,te=null;t:for(;;){for(var ne;de!==c||v!==0&&de.nodeType!==3||(L=M+v),de!==w||m!==0&&de.nodeType!==3||(X=M+m),de.nodeType===3&&(M+=de.nodeValue.length),(ne=de.firstChild)!==null;)te=de,de=ne;for(;;){if(de===o)break t;if(te===c&&++ee===v&&(L=M),te===w&&++ue===m&&(X=M),(ne=de.nextSibling)!==null)break;de=te,te=de.parentNode}de=ne}c=L===-1||X===-1?null:{start:L,end:X}}else c=null}c=c||{start:0,end:0}}else c=null;for(G1={focusedElem:o,selectionRange:c},am=!1,Zt=l;Zt!==null;)if(l=Zt,o=l.child,(l.subtreeFlags&1024)!==0&&o!==null)o.return=l,Zt=o;else for(;Zt!==null;){switch(l=Zt,w=l.alternate,o=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((o&1024)!==0&&w!==null){o=void 0,c=l,v=w.memoizedProps,w=w.memoizedState,m=c.stateNode;try{var je=Ha(c.type,v,c.elementType===c.type);o=m.getSnapshotBeforeUpdate(je,w),m.__reactInternalSnapshotBeforeUpdate=o}catch(Ne){mt(c,c.return,Ne)}}break;case 3:if((o&1024)!==0){if(o=l.stateNode.containerInfo,c=o.nodeType,c===9)K1(o);else if(c===1)switch(o.nodeName){case"HEAD":case"HTML":case"BODY":K1(o);break;default:o.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error(r(163))}if(o=l.sibling,o!==null){o.return=l.return,Zt=o;break}Zt=l.return}}function p5(o,l,c){var m=c.flags;switch(c.tag){case 0:case 11:case 15:Fo(o,c),m&4&&jc(5,c);break;case 1:if(Fo(o,c),m&4)if(o=c.stateNode,l===null)try{o.componentDidMount()}catch(M){mt(c,c.return,M)}else{var v=Ha(c.type,l.memoizedProps);l=l.memoizedState;try{o.componentDidUpdate(v,l,o.__reactInternalSnapshotBeforeUpdate)}catch(M){mt(c,c.return,M)}}m&64&&l5(c),m&512&&zc(c,c.return);break;case 3:if(Fo(o,c),m&64&&(o=c.updateQueue,o!==null)){if(l=null,c.child!==null)switch(c.child.tag){case 27:case 5:l=c.child.stateNode;break;case 1:l=c.child.stateNode}try{WM(o,l)}catch(M){mt(c,c.return,M)}}break;case 27:l===null&&m&4&&d5(c);case 26:case 5:Fo(o,c),l===null&&m&4&&c5(c),m&512&&zc(c,c.return);break;case 12:Fo(o,c);break;case 13:Fo(o,c),m&4&&y5(o,c),m&64&&(o=c.memoizedState,o!==null&&(o=o.dehydrated,o!==null&&(c=Hse.bind(null,c),ale(o,c))));break;case 22:if(m=c.memoizedState!==null||Zi,!m){l=l!==null&&l.memoizedState!==null||jt,v=Zi;var w=jt;Zi=m,(jt=l)&&!w?Bo(o,c,(c.subtreeFlags&8772)!==0):Fo(o,c),Zi=v,jt=w}break;case 30:break;default:Fo(o,c)}}function m5(o){var l=o.alternate;l!==null&&(o.alternate=null,m5(l)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(l=o.stateNode,l!==null&&rc(l)),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}var Ct=null,In=!1;function Qi(o,l,c){for(c=c.child;c!==null;)g5(o,l,c),c=c.sibling}function g5(o,l,c){if(pe&&typeof pe.onCommitFiberUnmount=="function")try{pe.onCommitFiberUnmount(ae,c)}catch{}switch(c.tag){case 26:jt||fi(c,l),Qi(o,l,c),c.memoizedState?c.memoizedState.count--:c.stateNode&&(c=c.stateNode,c.parentNode.removeChild(c));break;case 27:jt||fi(c,l);var m=Ct,v=In;Yo(c.type)&&(Ct=c.stateNode,In=!1),Qi(o,l,c),qc(c.stateNode),Ct=m,In=v;break;case 5:jt||fi(c,l);case 6:if(m=Ct,v=In,Ct=null,Qi(o,l,c),Ct=m,In=v,Ct!==null)if(In)try{(Ct.nodeType===9?Ct.body:Ct.nodeName==="HTML"?Ct.ownerDocument.body:Ct).removeChild(c.stateNode)}catch(w){mt(c,l,w)}else try{Ct.removeChild(c.stateNode)}catch(w){mt(c,l,w)}break;case 18:Ct!==null&&(In?(o=Ct,i4(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,c.stateNode),Jc(o)):i4(Ct,c.stateNode));break;case 4:m=Ct,v=In,Ct=c.stateNode.containerInfo,In=!0,Qi(o,l,c),Ct=m,In=v;break;case 0:case 11:case 14:case 15:jt||Lo(2,c,l),jt||Lo(4,c,l),Qi(o,l,c);break;case 1:jt||(fi(c,l),m=c.stateNode,typeof m.componentWillUnmount=="function"&&u5(c,l,m)),Qi(o,l,c);break;case 21:Qi(o,l,c);break;case 22:jt=(m=jt)||c.memoizedState!==null,Qi(o,l,c),jt=m;break;default:Qi(o,l,c)}}function y5(o,l){if(l.memoizedState===null&&(o=l.alternate,o!==null&&(o=o.memoizedState,o!==null&&(o=o.dehydrated,o!==null))))try{Jc(o)}catch(c){mt(l,l.return,c)}}function Pse(o){switch(o.tag){case 13:case 19:var l=o.stateNode;return l===null&&(l=o.stateNode=new h5),l;case 22:return o=o.stateNode,l=o._retryCache,l===null&&(l=o._retryCache=new h5),l;default:throw Error(r(435,o.tag))}}function _1(o,l){var c=Pse(o);l.forEach(function(m){var v=Vse.bind(null,o,m);c.has(m)||(c.add(m),m.then(v,v))})}function er(o,l){var c=l.deletions;if(c!==null)for(var m=0;m<c.length;m++){var v=c[m],w=o,M=l,L=M;e:for(;L!==null;){switch(L.tag){case 27:if(Yo(L.type)){Ct=L.stateNode,In=!1;break e}break;case 5:Ct=L.stateNode,In=!1;break e;case 3:case 4:Ct=L.stateNode.containerInfo,In=!0;break e}L=L.return}if(Ct===null)throw Error(r(160));g5(w,M,v),Ct=null,In=!1,w=v.alternate,w!==null&&(w.return=null),v.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)v5(l,o),l=l.sibling}var Ir=null;function v5(o,l){var c=o.alternate,m=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:er(l,o),tr(o),m&4&&(Lo(3,o,o.return),jc(3,o),Lo(5,o,o.return));break;case 1:er(l,o),tr(o),m&512&&(jt||c===null||fi(c,c.return)),m&64&&Zi&&(o=o.updateQueue,o!==null&&(m=o.callbacks,m!==null&&(c=o.shared.hiddenCallbacks,o.shared.hiddenCallbacks=c===null?m:c.concat(m))));break;case 26:var v=Ir;if(er(l,o),tr(o),m&512&&(jt||c===null||fi(c,c.return)),m&4){var w=c!==null?c.memoizedState:null;if(m=o.memoizedState,c===null)if(m===null)if(o.stateNode===null){e:{m=o.type,c=o.memoizedProps,v=v.ownerDocument||v;t:switch(m){case"title":w=v.getElementsByTagName("title")[0],(!w||w[Ta]||w[Wt]||w.namespaceURI==="http://www.w3.org/2000/svg"||w.hasAttribute("itemprop"))&&(w=v.createElement(m),v.head.insertBefore(w,v.querySelector("head > title"))),on(w,m,c),w[Wt]=o,Vt(w),m=w;break e;case"link":var M=d4("link","href",v).get(m+(c.href||""));if(M){for(var L=0;L<M.length;L++)if(w=M[L],w.getAttribute("href")===(c.href==null||c.href===""?null:c.href)&&w.getAttribute("rel")===(c.rel==null?null:c.rel)&&w.getAttribute("title")===(c.title==null?null:c.title)&&w.getAttribute("crossorigin")===(c.crossOrigin==null?null:c.crossOrigin)){M.splice(L,1);break t}}w=v.createElement(m),on(w,m,c),v.head.appendChild(w);break;case"meta":if(M=d4("meta","content",v).get(m+(c.content||""))){for(L=0;L<M.length;L++)if(w=M[L],w.getAttribute("content")===(c.content==null?null:""+c.content)&&w.getAttribute("name")===(c.name==null?null:c.name)&&w.getAttribute("property")===(c.property==null?null:c.property)&&w.getAttribute("http-equiv")===(c.httpEquiv==null?null:c.httpEquiv)&&w.getAttribute("charset")===(c.charSet==null?null:c.charSet)){M.splice(L,1);break t}}w=v.createElement(m),on(w,m,c),v.head.appendChild(w);break;default:throw Error(r(468,m))}w[Wt]=o,Vt(w),m=w}o.stateNode=m}else h4(v,o.type,o.stateNode);else o.stateNode=f4(v,m,o.memoizedProps);else w!==m?(w===null?c.stateNode!==null&&(c=c.stateNode,c.parentNode.removeChild(c)):w.count--,m===null?h4(v,o.type,o.stateNode):f4(v,m,o.memoizedProps)):m===null&&o.stateNode!==null&&b1(o,o.memoizedProps,c.memoizedProps)}break;case 27:er(l,o),tr(o),m&512&&(jt||c===null||fi(c,c.return)),c!==null&&m&4&&b1(o,o.memoizedProps,c.memoizedProps);break;case 5:if(er(l,o),tr(o),m&512&&(jt||c===null||fi(c,c.return)),o.flags&32){v=o.stateNode;try{Zs(v,"")}catch(ne){mt(o,o.return,ne)}}m&4&&o.stateNode!=null&&(v=o.memoizedProps,b1(o,v,c!==null?c.memoizedProps:v)),m&1024&&(S1=!0);break;case 6:if(er(l,o),tr(o),m&4){if(o.stateNode===null)throw Error(r(162));m=o.memoizedProps,c=o.stateNode;try{c.nodeValue=m}catch(ne){mt(o,o.return,ne)}}break;case 3:if(rm=null,v=Ir,Ir=tm(l.containerInfo),er(l,o),Ir=v,tr(o),m&4&&c!==null&&c.memoizedState.isDehydrated)try{Jc(l.containerInfo)}catch(ne){mt(o,o.return,ne)}S1&&(S1=!1,b5(o));break;case 4:m=Ir,Ir=tm(o.stateNode.containerInfo),er(l,o),tr(o),Ir=m;break;case 12:er(l,o),tr(o);break;case 13:er(l,o),tr(o),o.child.flags&8192&&o.memoizedState!==null!=(c!==null&&c.memoizedState!==null)&&(R1=xt()),m&4&&(m=o.updateQueue,m!==null&&(o.updateQueue=null,_1(o,m)));break;case 22:v=o.memoizedState!==null;var X=c!==null&&c.memoizedState!==null,ee=Zi,ue=jt;if(Zi=ee||v,jt=ue||X,er(l,o),jt=ue,Zi=ee,tr(o),m&8192)e:for(l=o.stateNode,l._visibility=v?l._visibility&-2:l._visibility|1,v&&(c===null||X||Zi||jt||Va(o)),c=null,l=o;;){if(l.tag===5||l.tag===26){if(c===null){X=c=l;try{if(w=X.stateNode,v)M=w.style,typeof M.setProperty=="function"?M.setProperty("display","none","important"):M.display="none";else{L=X.stateNode;var de=X.memoizedProps.style,te=de!=null&&de.hasOwnProperty("display")?de.display:null;L.style.display=te==null||typeof te=="boolean"?"":(""+te).trim()}}catch(ne){mt(X,X.return,ne)}}}else if(l.tag===6){if(c===null){X=l;try{X.stateNode.nodeValue=v?"":X.memoizedProps}catch(ne){mt(X,X.return,ne)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===o)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===o)break e;for(;l.sibling===null;){if(l.return===null||l.return===o)break e;c===l&&(c=null),l=l.return}c===l&&(c=null),l.sibling.return=l.return,l=l.sibling}m&4&&(m=o.updateQueue,m!==null&&(c=m.retryQueue,c!==null&&(m.retryQueue=null,_1(o,c))));break;case 19:er(l,o),tr(o),m&4&&(m=o.updateQueue,m!==null&&(o.updateQueue=null,_1(o,m)));break;case 30:break;case 21:break;default:er(l,o),tr(o)}}function tr(o){var l=o.flags;if(l&2){try{for(var c,m=o.return;m!==null;){if(f5(m)){c=m;break}m=m.return}if(c==null)throw Error(r(160));switch(c.tag){case 27:var v=c.stateNode,w=x1(o);Hp(o,w,v);break;case 5:var M=c.stateNode;c.flags&32&&(Zs(M,""),c.flags&=-33);var L=x1(o);Hp(o,L,M);break;case 3:case 4:var X=c.stateNode.containerInfo,ee=x1(o);w1(o,ee,X);break;default:throw Error(r(161))}}catch(ue){mt(o,o.return,ue)}o.flags&=-3}l&4096&&(o.flags&=-4097)}function b5(o){if(o.subtreeFlags&1024)for(o=o.child;o!==null;){var l=o;b5(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),o=o.sibling}}function Fo(o,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)p5(o,l.alternate,l),l=l.sibling}function Va(o){for(o=o.child;o!==null;){var l=o;switch(l.tag){case 0:case 11:case 14:case 15:Lo(4,l,l.return),Va(l);break;case 1:fi(l,l.return);var c=l.stateNode;typeof c.componentWillUnmount=="function"&&u5(l,l.return,c),Va(l);break;case 27:qc(l.stateNode);case 26:case 5:fi(l,l.return),Va(l);break;case 22:l.memoizedState===null&&Va(l);break;case 30:Va(l);break;default:Va(l)}o=o.sibling}}function Bo(o,l,c){for(c=c&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var m=l.alternate,v=o,w=l,M=w.flags;switch(w.tag){case 0:case 11:case 15:Bo(v,w,c),jc(4,w);break;case 1:if(Bo(v,w,c),m=w,v=m.stateNode,typeof v.componentDidMount=="function")try{v.componentDidMount()}catch(ee){mt(m,m.return,ee)}if(m=w,v=m.updateQueue,v!==null){var L=m.stateNode;try{var X=v.shared.hiddenCallbacks;if(X!==null)for(v.shared.hiddenCallbacks=null,v=0;v<X.length;v++)XM(X[v],L)}catch(ee){mt(m,m.return,ee)}}c&&M&64&&l5(w),zc(w,w.return);break;case 27:d5(w);case 26:case 5:Bo(v,w,c),c&&m===null&&M&4&&c5(w),zc(w,w.return);break;case 12:Bo(v,w,c);break;case 13:Bo(v,w,c),c&&M&4&&y5(v,w);break;case 22:w.memoizedState===null&&Bo(v,w,c),zc(w,w.return);break;case 30:break;default:Bo(v,w,c)}l=l.sibling}}function E1(o,l){var c=null;o!==null&&o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==c&&(o!=null&&o.refCount++,c!=null&&wc(c))}function C1(o,l){o=null,l.alternate!==null&&(o=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==o&&(l.refCount++,o!=null&&wc(o))}function di(o,l,c,m){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)x5(o,l,c,m),l=l.sibling}function x5(o,l,c,m){var v=l.flags;switch(l.tag){case 0:case 11:case 15:di(o,l,c,m),v&2048&&jc(9,l);break;case 1:di(o,l,c,m);break;case 3:di(o,l,c,m),v&2048&&(o=null,l.alternate!==null&&(o=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==o&&(l.refCount++,o!=null&&wc(o)));break;case 12:if(v&2048){di(o,l,c,m),o=l.stateNode;try{var w=l.memoizedProps,M=w.id,L=w.onPostCommit;typeof L=="function"&&L(M,l.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(X){mt(l,l.return,X)}}else di(o,l,c,m);break;case 13:di(o,l,c,m);break;case 23:break;case 22:w=l.stateNode,M=l.alternate,l.memoizedState!==null?w._visibility&2?di(o,l,c,m):Ic(o,l):w._visibility&2?di(o,l,c,m):(w._visibility|=2,gl(o,l,c,m,(l.subtreeFlags&10256)!==0)),v&2048&&E1(M,l);break;case 24:di(o,l,c,m),v&2048&&C1(l.alternate,l);break;default:di(o,l,c,m)}}function gl(o,l,c,m,v){for(v=v&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var w=o,M=l,L=c,X=m,ee=M.flags;switch(M.tag){case 0:case 11:case 15:gl(w,M,L,X,v),jc(8,M);break;case 23:break;case 22:var ue=M.stateNode;M.memoizedState!==null?ue._visibility&2?gl(w,M,L,X,v):Ic(w,M):(ue._visibility|=2,gl(w,M,L,X,v)),v&&ee&2048&&E1(M.alternate,M);break;case 24:gl(w,M,L,X,v),v&&ee&2048&&C1(M.alternate,M);break;default:gl(w,M,L,X,v)}l=l.sibling}}function Ic(o,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var c=o,m=l,v=m.flags;switch(m.tag){case 22:Ic(c,m),v&2048&&E1(m.alternate,m);break;case 24:Ic(c,m),v&2048&&C1(m.alternate,m);break;default:Ic(c,m)}l=l.sibling}}var Lc=8192;function yl(o){if(o.subtreeFlags&Lc)for(o=o.child;o!==null;)w5(o),o=o.sibling}function w5(o){switch(o.tag){case 26:yl(o),o.flags&Lc&&o.memoizedState!==null&&ble(Ir,o.memoizedState,o.memoizedProps);break;case 5:yl(o);break;case 3:case 4:var l=Ir;Ir=tm(o.stateNode.containerInfo),yl(o),Ir=l;break;case 22:o.memoizedState===null&&(l=o.alternate,l!==null&&l.memoizedState!==null?(l=Lc,Lc=16777216,yl(o),Lc=l):yl(o));break;default:yl(o)}}function S5(o){var l=o.alternate;if(l!==null&&(o=l.child,o!==null)){l.child=null;do l=o.sibling,o.sibling=null,o=l;while(o!==null)}}function Fc(o){var l=o.deletions;if((o.flags&16)!==0){if(l!==null)for(var c=0;c<l.length;c++){var m=l[c];Zt=m,E5(m,o)}S5(o)}if(o.subtreeFlags&10256)for(o=o.child;o!==null;)_5(o),o=o.sibling}function _5(o){switch(o.tag){case 0:case 11:case 15:Fc(o),o.flags&2048&&Lo(9,o,o.return);break;case 3:Fc(o);break;case 12:Fc(o);break;case 22:var l=o.stateNode;o.memoizedState!==null&&l._visibility&2&&(o.return===null||o.return.tag!==13)?(l._visibility&=-3,Vp(o)):Fc(o);break;default:Fc(o)}}function Vp(o){var l=o.deletions;if((o.flags&16)!==0){if(l!==null)for(var c=0;c<l.length;c++){var m=l[c];Zt=m,E5(m,o)}S5(o)}for(o=o.child;o!==null;){switch(l=o,l.tag){case 0:case 11:case 15:Lo(8,l,l.return),Vp(l);break;case 22:c=l.stateNode,c._visibility&2&&(c._visibility&=-3,Vp(l));break;default:Vp(l)}o=o.sibling}}function E5(o,l){for(;Zt!==null;){var c=Zt;switch(c.tag){case 0:case 11:case 15:Lo(8,c,l);break;case 23:case 22:if(c.memoizedState!==null&&c.memoizedState.cachePool!==null){var m=c.memoizedState.cachePool.pool;m!=null&&m.refCount++}break;case 24:wc(c.memoizedState.cache)}if(m=c.child,m!==null)m.return=c,Zt=m;else e:for(c=o;Zt!==null;){m=Zt;var v=m.sibling,w=m.return;if(m5(m),m===c){Zt=null;break e}if(v!==null){v.return=w,Zt=v;break e}Zt=w}}}var jse={getCacheForType:function(o){var l=mn(Yt),c=l.data.get(o);return c===void 0&&(c=o(),l.data.set(o,c)),c}},zse=typeof WeakMap=="function"?WeakMap:Map,ot=0,vt=null,Ye=null,Ze=0,at=0,nr=null,$o=!1,vl=!1,k1=!1,Ji=0,Nt=0,Ho=0,Ua=0,A1=0,br=0,bl=0,Bc=null,Ln=null,T1=!1,R1=0,Up=1/0,qp=null,Vo=null,rn=0,Uo=null,xl=null,wl=0,O1=0,N1=null,C5=null,$c=0,M1=null;function rr(){if((ot&2)!==0&&Ze!==0)return Ze&-Ze;if(j.T!==null){var o=ll;return o!==0?o:F1()}return Kh()}function k5(){br===0&&(br=(Ze&536870912)===0||nt?Gh():536870912);var o=vr.current;return o!==null&&(o.flags|=32),br}function ir(o,l,c){(o===vt&&(at===2||at===9)||o.cancelPendingCommit!==null)&&(Sl(o,0),qo(o,Ze,br,!1)),Aa(o,c),((ot&2)===0||o!==vt)&&(o===vt&&((ot&2)===0&&(Ua|=c),Nt===4&&qo(o,Ze,br,!1)),hi(o))}function A5(o,l,c){if((ot&6)!==0)throw Error(r(327));var m=!c&&(l&124)===0&&(l&o.expiredLanes)===0||Mn(o,l),v=m?Fse(o,l):j1(o,l,!0),w=m;do{if(v===0){vl&&!m&&qo(o,l,0,!1);break}else{if(c=o.current.alternate,w&&!Ise(c)){v=j1(o,l,!1),w=!1;continue}if(v===2){if(w=l,o.errorRecoveryDisabledLanes&w)var M=0;else M=o.pendingLanes&-536870913,M=M!==0?M:M&536870912?536870912:0;if(M!==0){l=M;e:{var L=o;v=Bc;var X=L.current.memoizedState.isDehydrated;if(X&&(Sl(L,M).flags|=256),M=j1(L,M,!1),M!==2){if(k1&&!X){L.errorRecoveryDisabledLanes|=w,Ua|=w,v=4;break e}w=Ln,Ln=v,w!==null&&(Ln===null?Ln=w:Ln.push.apply(Ln,w))}v=M}if(w=!1,v!==2)continue}}if(v===1){Sl(o,0),qo(o,l,0,!0);break}e:{switch(m=o,w=v,w){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:qo(m,l,br,!$o);break e;case 2:Ln=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(v=R1+300-xt(),10<v)){if(qo(m,l,br,!$o),Ht(m,0,!0)!==0)break e;m.timeoutHandle=n4(T5.bind(null,m,c,Ln,qp,T1,l,br,Ua,bl,$o,w,2,-0,0),v);break e}T5(m,c,Ln,qp,T1,l,br,Ua,bl,$o,w,0,-0,0)}}break}while(!0);hi(o)}function T5(o,l,c,m,v,w,M,L,X,ee,ue,de,te,ne){if(o.timeoutHandle=-1,de=l.subtreeFlags,(de&8192||(de&16785408)===16785408)&&(Xc={stylesheets:null,count:0,unsuspend:vle},w5(l),de=xle(),de!==null)){o.cancelPendingCommit=de(j5.bind(null,o,l,w,c,m,v,M,L,X,ue,1,te,ne)),qo(o,w,M,!ee);return}j5(o,l,w,c,m,v,M,L,X)}function Ise(o){for(var l=o;;){var c=l.tag;if((c===0||c===11||c===15)&&l.flags&16384&&(c=l.updateQueue,c!==null&&(c=c.stores,c!==null)))for(var m=0;m<c.length;m++){var v=c[m],w=v.getSnapshot;v=v.value;try{if(!Qn(w(),v))return!1}catch{return!1}}if(c=l.child,l.subtreeFlags&16384&&c!==null)c.return=l,l=c;else{if(l===o)break;for(;l.sibling===null;){if(l.return===null||l.return===o)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function qo(o,l,c,m){l&=~A1,l&=~Ua,o.suspendedLanes|=l,o.pingedLanes&=~l,m&&(o.warmLanes|=l),m=o.expirationTimes;for(var v=l;0<v;){var w=31-Ae(v),M=1<<w;m[w]=-1,v&=~M}c!==0&&Ju(o,c,l)}function Yp(){return(ot&6)===0?(Hc(0),!1):!0}function D1(){if(Ye!==null){if(at===0)var o=Ye.return;else o=Ye,qi=La=null,Kb(o),pl=null,Mc=0,o=Ye;for(;o!==null;)s5(o.alternate,o),o=o.return;Ye=null}}function Sl(o,l){var c=o.timeoutHandle;c!==-1&&(o.timeoutHandle=-1,tle(c)),c=o.cancelPendingCommit,c!==null&&(o.cancelPendingCommit=null,c()),D1(),vt=o,Ye=c=Hi(o.current,null),Ze=l,at=0,nr=null,$o=!1,vl=Mn(o,l),k1=!1,bl=br=A1=Ua=Ho=Nt=0,Ln=Bc=null,T1=!1,(l&8)!==0&&(l|=l&32);var m=o.entangledLanes;if(m!==0)for(o=o.entanglements,m&=l;0<m;){var v=31-Ae(m),w=1<<v;l|=o[v],m&=~w}return Ji=l,pp(),c}function R5(o,l){He=null,j.H=Dp,l===_c||l===_p?(l=YM(),at=3):l===VM?(l=YM(),at=4):at=l===G3?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,nr=l,Ye===null&&(Nt=1,Lp(o,pr(l,o.current)))}function O5(){var o=j.H;return j.H=Dp,o===null?Dp:o}function N5(){var o=j.A;return j.A=jse,o}function P1(){Nt=4,$o||(Ze&4194048)!==Ze&&vr.current!==null||(vl=!0),(Ho&134217727)===0&&(Ua&134217727)===0||vt===null||qo(vt,Ze,br,!1)}function j1(o,l,c){var m=ot;ot|=2;var v=O5(),w=N5();(vt!==o||Ze!==l)&&(qp=null,Sl(o,l)),l=!1;var M=Nt;e:do try{if(at!==0&&Ye!==null){var L=Ye,X=nr;switch(at){case 8:D1(),M=6;break e;case 3:case 2:case 9:case 6:vr.current===null&&(l=!0);var ee=at;if(at=0,nr=null,_l(o,L,X,ee),c&&vl){M=0;break e}break;default:ee=at,at=0,nr=null,_l(o,L,X,ee)}}Lse(),M=Nt;break}catch(ue){R5(o,ue)}while(!0);return l&&o.shellSuspendCounter++,qi=La=null,ot=m,j.H=v,j.A=w,Ye===null&&(vt=null,Ze=0,pp()),M}function Lse(){for(;Ye!==null;)M5(Ye)}function Fse(o,l){var c=ot;ot|=2;var m=O5(),v=N5();vt!==o||Ze!==l?(qp=null,Up=xt()+500,Sl(o,l)):vl=Mn(o,l);e:do try{if(at!==0&&Ye!==null){l=Ye;var w=nr;t:switch(at){case 1:at=0,nr=null,_l(o,l,w,1);break;case 2:case 9:if(UM(w)){at=0,nr=null,D5(l);break}l=function(){at!==2&&at!==9||vt!==o||(at=7),hi(o)},w.then(l,l);break e;case 3:at=7;break e;case 4:at=5;break e;case 7:UM(w)?(at=0,nr=null,D5(l)):(at=0,nr=null,_l(o,l,w,7));break;case 5:var M=null;switch(Ye.tag){case 26:M=Ye.memoizedState;case 5:case 27:var L=Ye;if(!M||p4(M)){at=0,nr=null;var X=L.sibling;if(X!==null)Ye=X;else{var ee=L.return;ee!==null?(Ye=ee,Gp(ee)):Ye=null}break t}}at=0,nr=null,_l(o,l,w,5);break;case 6:at=0,nr=null,_l(o,l,w,6);break;case 8:D1(),Nt=6;break e;default:throw Error(r(462))}}Bse();break}catch(ue){R5(o,ue)}while(!0);return qi=La=null,j.H=m,j.A=v,ot=c,Ye!==null?0:(vt=null,Ze=0,pp(),Nt)}function Bse(){for(;Ye!==null&&!pt();)M5(Ye)}function M5(o){var l=o5(o.alternate,o,Ji);o.memoizedProps=o.pendingProps,l===null?Gp(o):Ye=l}function D5(o){var l=o,c=l.alternate;switch(l.tag){case 15:case 0:l=J3(c,l,l.pendingProps,l.type,void 0,Ze);break;case 11:l=J3(c,l,l.pendingProps,l.type.render,l.ref,Ze);break;case 5:Kb(l);default:s5(c,l),l=Ye=PM(l,Ji),l=o5(c,l,Ji)}o.memoizedProps=o.pendingProps,l===null?Gp(o):Ye=l}function _l(o,l,c,m){qi=La=null,Kb(l),pl=null,Mc=0;var v=l.return;try{if(Rse(o,v,l,c,Ze)){Nt=1,Lp(o,pr(c,o.current)),Ye=null;return}}catch(w){if(v!==null)throw Ye=v,w;Nt=1,Lp(o,pr(c,o.current)),Ye=null;return}l.flags&32768?(nt||m===1?o=!0:vl||(Ze&536870912)!==0?o=!1:($o=o=!0,(m===2||m===9||m===3||m===6)&&(m=vr.current,m!==null&&m.tag===13&&(m.flags|=16384))),P5(l,o)):Gp(l)}function Gp(o){var l=o;do{if((l.flags&32768)!==0){P5(l,$o);return}o=l.return;var c=Nse(l.alternate,l,Ji);if(c!==null){Ye=c;return}if(l=l.sibling,l!==null){Ye=l;return}Ye=l=o}while(l!==null);Nt===0&&(Nt=5)}function P5(o,l){do{var c=Mse(o.alternate,o);if(c!==null){c.flags&=32767,Ye=c;return}if(c=o.return,c!==null&&(c.flags|=32768,c.subtreeFlags=0,c.deletions=null),!l&&(o=o.sibling,o!==null)){Ye=o;return}Ye=o=c}while(o!==null);Nt=6,Ye=null}function j5(o,l,c,m,v,w,M,L,X){o.cancelPendingCommit=null;do Xp();while(rn!==0);if((ot&6)!==0)throw Error(r(327));if(l!==null){if(l===o.current)throw Error(r(177));if(w=l.lanes|l.childLanes,w|=Cb,Jv(o,c,w,M,L,X),o===vt&&(Ye=vt=null,Ze=0),xl=l,Uo=o,wl=c,O1=w,N1=v,C5=m,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(o.callbackNode=null,o.callbackPriority=0,Use(dr,function(){return B5(),null})):(o.callbackNode=null,o.callbackPriority=0),m=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||m){m=j.T,j.T=null,v=B.p,B.p=2,M=ot,ot|=4;try{Dse(o,l,c)}finally{ot=M,B.p=v,j.T=m}}rn=1,z5(),I5(),L5()}}function z5(){if(rn===1){rn=0;var o=Uo,l=xl,c=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||c){c=j.T,j.T=null;var m=B.p;B.p=2;var v=ot;ot|=4;try{v5(l,o);var w=G1,M=EM(o.containerInfo),L=w.focusedElem,X=w.selectionRange;if(M!==L&&L&&L.ownerDocument&&_M(L.ownerDocument.documentElement,L)){if(X!==null&&xb(L)){var ee=X.start,ue=X.end;if(ue===void 0&&(ue=ee),"selectionStart"in L)L.selectionStart=ee,L.selectionEnd=Math.min(ue,L.value.length);else{var de=L.ownerDocument||document,te=de&&de.defaultView||window;if(te.getSelection){var ne=te.getSelection(),je=L.textContent.length,Ne=Math.min(X.start,je),ct=X.end===void 0?Ne:Math.min(X.end,je);!ne.extend&&Ne>ct&&(M=ct,ct=Ne,Ne=M);var Q=SM(L,Ne),K=SM(L,ct);if(Q&&K&&(ne.rangeCount!==1||ne.anchorNode!==Q.node||ne.anchorOffset!==Q.offset||ne.focusNode!==K.node||ne.focusOffset!==K.offset)){var J=de.createRange();J.setStart(Q.node,Q.offset),ne.removeAllRanges(),Ne>ct?(ne.addRange(J),ne.extend(K.node,K.offset)):(J.setEnd(K.node,K.offset),ne.addRange(J))}}}}for(de=[],ne=L;ne=ne.parentNode;)ne.nodeType===1&&de.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof L.focus=="function"&&L.focus(),L=0;L<de.length;L++){var ce=de[L];ce.element.scrollLeft=ce.left,ce.element.scrollTop=ce.top}}am=!!Y1,G1=Y1=null}finally{ot=v,B.p=m,j.T=c}}o.current=l,rn=2}}function I5(){if(rn===2){rn=0;var o=Uo,l=xl,c=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||c){c=j.T,j.T=null;var m=B.p;B.p=2;var v=ot;ot|=4;try{p5(o,l.alternate,l)}finally{ot=v,B.p=m,j.T=c}}rn=3}}function L5(){if(rn===4||rn===3){rn=0,tn();var o=Uo,l=xl,c=wl,m=C5;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?rn=5:(rn=0,xl=Uo=null,F5(o,o.pendingLanes));var v=o.pendingLanes;if(v===0&&(Vo=null),tc(c),l=l.stateNode,pe&&typeof pe.onCommitFiberRoot=="function")try{pe.onCommitFiberRoot(ae,l,void 0,(l.current.flags&128)===128)}catch{}if(m!==null){l=j.T,v=B.p,B.p=2,j.T=null;try{for(var w=o.onRecoverableError,M=0;M<m.length;M++){var L=m[M];w(L.value,{componentStack:L.stack})}}finally{j.T=l,B.p=v}}(wl&3)!==0&&Xp(),hi(o),v=o.pendingLanes,(c&4194090)!==0&&(v&42)!==0?o===M1?$c++:($c=0,M1=o):$c=0,Hc(0)}}function F5(o,l){(o.pooledCacheLanes&=l)===0&&(l=o.pooledCache,l!=null&&(o.pooledCache=null,wc(l)))}function Xp(o){return z5(),I5(),L5(),B5()}function B5(){if(rn!==5)return!1;var o=Uo,l=O1;O1=0;var c=tc(wl),m=j.T,v=B.p;try{B.p=32>c?32:c,j.T=null,c=N1,N1=null;var w=Uo,M=wl;if(rn=0,xl=Uo=null,wl=0,(ot&6)!==0)throw Error(r(331));var L=ot;if(ot|=4,_5(w.current),x5(w,w.current,M,c),ot=L,Hc(0,!1),pe&&typeof pe.onPostCommitFiberRoot=="function")try{pe.onPostCommitFiberRoot(ae,w)}catch{}return!0}finally{B.p=v,j.T=m,F5(o,l)}}function $5(o,l,c){l=pr(c,l),l=c1(o.stateNode,l,2),o=Po(o,l,2),o!==null&&(Aa(o,2),hi(o))}function mt(o,l,c){if(o.tag===3)$5(o,o,c);else for(;l!==null;){if(l.tag===3){$5(l,o,c);break}else if(l.tag===1){var m=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof m.componentDidCatch=="function"&&(Vo===null||!Vo.has(m))){o=pr(c,o),c=q3(2),m=Po(l,c,2),m!==null&&(Y3(c,m,l,o),Aa(m,2),hi(m));break}}l=l.return}}function z1(o,l,c){var m=o.pingCache;if(m===null){m=o.pingCache=new zse;var v=new Set;m.set(l,v)}else v=m.get(l),v===void 0&&(v=new Set,m.set(l,v));v.has(c)||(k1=!0,v.add(c),o=$se.bind(null,o,l,c),l.then(o,o))}function $se(o,l,c){var m=o.pingCache;m!==null&&m.delete(l),o.pingedLanes|=o.suspendedLanes&c,o.warmLanes&=~c,vt===o&&(Ze&c)===c&&(Nt===4||Nt===3&&(Ze&62914560)===Ze&&300>xt()-R1?(ot&2)===0&&Sl(o,0):A1|=c,bl===Ze&&(bl=0)),hi(o)}function H5(o,l){l===0&&(l=Xh()),o=il(o,l),o!==null&&(Aa(o,l),hi(o))}function Hse(o){var l=o.memoizedState,c=0;l!==null&&(c=l.retryLane),H5(o,c)}function Vse(o,l){var c=0;switch(o.tag){case 13:var m=o.stateNode,v=o.memoizedState;v!==null&&(c=v.retryLane);break;case 19:m=o.stateNode;break;case 22:m=o.stateNode._retryCache;break;default:throw Error(r(314))}m!==null&&m.delete(l),H5(o,c)}function Use(o,l){return Le(o,l)}var Wp=null,El=null,I1=!1,Kp=!1,L1=!1,qa=0;function hi(o){o!==El&&o.next===null&&(El===null?Wp=El=o:El=El.next=o),Kp=!0,I1||(I1=!0,Yse())}function Hc(o,l){if(!L1&&Kp){L1=!0;do for(var c=!1,m=Wp;m!==null;){if(o!==0){var v=m.pendingLanes;if(v===0)var w=0;else{var M=m.suspendedLanes,L=m.pingedLanes;w=(1<<31-Ae(42|o)+1)-1,w&=v&~(M&~L),w=w&201326741?w&201326741|1:w?w|2:0}w!==0&&(c=!0,Y5(m,w))}else w=Ze,w=Ht(m,m===vt?w:0,m.cancelPendingCommit!==null||m.timeoutHandle!==-1),(w&3)===0||Mn(m,w)||(c=!0,Y5(m,w));m=m.next}while(c);L1=!1}}function qse(){V5()}function V5(){Kp=I1=!1;var o=0;qa!==0&&(ele()&&(o=qa),qa=0);for(var l=xt(),c=null,m=Wp;m!==null;){var v=m.next,w=U5(m,l);w===0?(m.next=null,c===null?Wp=v:c.next=v,v===null&&(El=c)):(c=m,(o!==0||(w&3)!==0)&&(Kp=!0)),m=v}Hc(o)}function U5(o,l){for(var c=o.suspendedLanes,m=o.pingedLanes,v=o.expirationTimes,w=o.pendingLanes&-62914561;0<w;){var M=31-Ae(w),L=1<<M,X=v[M];X===-1?((L&c)===0||(L&m)!==0)&&(v[M]=Zn(L,l)):X<=l&&(o.expiredLanes|=L),w&=~L}if(l=vt,c=Ze,c=Ht(o,o===l?c:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),m=o.callbackNode,c===0||o===l&&(at===2||at===9)||o.cancelPendingCommit!==null)return m!==null&&m!==null&&Ie(m),o.callbackNode=null,o.callbackPriority=0;if((c&3)===0||Mn(o,c)){if(l=c&-c,l===o.callbackPriority)return l;switch(m!==null&&Ie(m),tc(c)){case 2:case 8:c=Nn;break;case 32:c=dr;break;case 268435456:c=si;break;default:c=dr}return m=q5.bind(null,o),c=Le(c,m),o.callbackPriority=l,o.callbackNode=c,l}return m!==null&&m!==null&&Ie(m),o.callbackPriority=2,o.callbackNode=null,2}function q5(o,l){if(rn!==0&&rn!==5)return o.callbackNode=null,o.callbackPriority=0,null;var c=o.callbackNode;if(Xp()&&o.callbackNode!==c)return null;var m=Ze;return m=Ht(o,o===vt?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),m===0?null:(A5(o,m,l),U5(o,xt()),o.callbackNode!=null&&o.callbackNode===c?q5.bind(null,o):null)}function Y5(o,l){if(Xp())return null;A5(o,l,!0)}function Yse(){nle(function(){(ot&6)!==0?Le(Dr,qse):V5()})}function F1(){return qa===0&&(qa=Gh()),qa}function G5(o){return o==null||typeof o=="symbol"||typeof o=="boolean"?null:typeof o=="function"?o:sp(""+o)}function X5(o,l){var c=l.ownerDocument.createElement("input");return c.name=l.name,c.value=l.value,o.id&&c.setAttribute("form",o.id),l.parentNode.insertBefore(c,l),o=new FormData(o),c.parentNode.removeChild(c),o}function Gse(o,l,c,m,v){if(l==="submit"&&c&&c.stateNode===v){var w=G5((v[pn]||null).action),M=m.submitter;M&&(l=(l=M[pn]||null)?G5(l.formAction):M.getAttribute("formAction"),l!==null&&(w=l,M=null));var L=new fp("action","action",null,m,v);o.push({event:L,listeners:[{instance:null,listener:function(){if(m.defaultPrevented){if(qa!==0){var X=M?X5(v,M):new FormData(v);o1(c,{pending:!0,data:X,method:v.method,action:w},null,X)}}else typeof w=="function"&&(L.preventDefault(),X=M?X5(v,M):new FormData(v),o1(c,{pending:!0,data:X,method:v.method,action:w},w,X))},currentTarget:v}]})}}for(var B1=0;B1<Eb.length;B1++){var $1=Eb[B1],Xse=$1.toLowerCase(),Wse=$1[0].toUpperCase()+$1.slice(1);zr(Xse,"on"+Wse)}zr(AM,"onAnimationEnd"),zr(TM,"onAnimationIteration"),zr(RM,"onAnimationStart"),zr("dblclick","onDoubleClick"),zr("focusin","onFocus"),zr("focusout","onBlur"),zr(dse,"onTransitionRun"),zr(hse,"onTransitionStart"),zr(pse,"onTransitionCancel"),zr(OM,"onTransitionEnd"),Ao("onMouseEnter",["mouseout","mouseover"]),Ao("onMouseLeave",["mouseout","mouseover"]),Ao("onPointerEnter",["pointerout","pointerover"]),Ao("onPointerLeave",["pointerout","pointerover"]),Bi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vc="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(" "),Kse=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Vc));function W5(o,l){l=(l&4)!==0;for(var c=0;c<o.length;c++){var m=o[c],v=m.event;m=m.listeners;e:{var w=void 0;if(l)for(var M=m.length-1;0<=M;M--){var L=m[M],X=L.instance,ee=L.currentTarget;if(L=L.listener,X!==w&&v.isPropagationStopped())break e;w=L,v.currentTarget=ee;try{w(v)}catch(ue){Ip(ue)}v.currentTarget=null,w=X}else for(M=0;M<m.length;M++){if(L=m[M],X=L.instance,ee=L.currentTarget,L=L.listener,X!==w&&v.isPropagationStopped())break e;w=L,v.currentTarget=ee;try{w(v)}catch(ue){Ip(ue)}v.currentTarget=null,w=X}}}}function Ge(o,l){var c=l[nc];c===void 0&&(c=l[nc]=new Set);var m=o+"__bubble";c.has(m)||(K5(l,o,2,!1),c.add(m))}function H1(o,l,c){var m=0;l&&(m|=4),K5(c,o,m,l)}var Zp="_reactListening"+Math.random().toString(36).slice(2);function V1(o){if(!o[Zp]){o[Zp]=!0,Qh.forEach(function(c){c!=="selectionchange"&&(Kse.has(c)||H1(c,!1,o),H1(c,!0,o))});var l=o.nodeType===9?o:o.ownerDocument;l===null||l[Zp]||(l[Zp]=!0,H1("selectionchange",!1,l))}}function K5(o,l,c,m){switch(x4(l)){case 2:var v=_le;break;case 8:v=Ele;break;default:v=rx}c=v.bind(null,l,c,o),v=void 0,!fb||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(v=!0),m?v!==void 0?o.addEventListener(l,c,{capture:!0,passive:v}):o.addEventListener(l,c,!0):v!==void 0?o.addEventListener(l,c,{passive:v}):o.addEventListener(l,c,!1)}function U1(o,l,c,m,v){var w=m;if((l&1)===0&&(l&2)===0&&m!==null)e:for(;;){if(m===null)return;var M=m.tag;if(M===3||M===4){var L=m.stateNode.containerInfo;if(L===v)break;if(M===4)for(M=m.return;M!==null;){var X=M.tag;if((X===3||X===4)&&M.stateNode.containerInfo===v)return;M=M.return}for(;L!==null;){if(M=Li(L),M===null)return;if(X=M.tag,X===5||X===6||X===26||X===27){m=w=M;continue e}L=L.parentNode}}m=m.return}rM(function(){var ee=w,ue=ub(c),de=[];e:{var te=NM.get(o);if(te!==void 0){var ne=fp,je=o;switch(o){case"keypress":if(up(c)===0)break e;case"keydown":case"keyup":ne=Uae;break;case"focusin":je="focus",ne=mb;break;case"focusout":je="blur",ne=mb;break;case"beforeblur":case"afterblur":ne=mb;break;case"click":if(c.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ne=aM;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ne=Mae;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ne=Gae;break;case AM:case TM:case RM:ne=jae;break;case OM:ne=Wae;break;case"scroll":case"scrollend":ne=Oae;break;case"wheel":ne=Zae;break;case"copy":case"cut":case"paste":ne=Iae;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ne=lM;break;case"toggle":case"beforetoggle":ne=Jae}var Ne=(l&4)!==0,ct=!Ne&&(o==="scroll"||o==="scrollend"),Q=Ne?te!==null?te+"Capture":null:te;Ne=[];for(var K=ee,J;K!==null;){var ce=K;if(J=ce.stateNode,ce=ce.tag,ce!==5&&ce!==26&&ce!==27||J===null||Q===null||(ce=lc(K,Q),ce!=null&&Ne.push(Uc(K,ce,J))),ct)break;K=K.return}0<Ne.length&&(te=new ne(te,je,null,c,ue),de.push({event:te,listeners:Ne}))}}if((l&7)===0){e:{if(te=o==="mouseover"||o==="pointerover",ne=o==="mouseout"||o==="pointerout",te&&c!==lb&&(je=c.relatedTarget||c.fromElement)&&(Li(je)||je[Co]))break e;if((ne||te)&&(te=ue.window===ue?ue:(te=ue.ownerDocument)?te.defaultView||te.parentWindow:window,ne?(je=c.relatedTarget||c.toElement,ne=ee,je=je?Li(je):null,je!==null&&(ct=a(je),Ne=je.tag,je!==ct||Ne!==5&&Ne!==27&&Ne!==6)&&(je=null)):(ne=null,je=ee),ne!==je)){if(Ne=aM,ce="onMouseLeave",Q="onMouseEnter",K="mouse",(o==="pointerout"||o==="pointerover")&&(Ne=lM,ce="onPointerLeave",Q="onPointerEnter",K="pointer"),ct=ne==null?te:Ra(ne),J=je==null?te:Ra(je),te=new Ne(ce,K+"leave",ne,c,ue),te.target=ct,te.relatedTarget=J,ce=null,Li(ue)===ee&&(Ne=new Ne(Q,K+"enter",je,c,ue),Ne.target=J,Ne.relatedTarget=ct,ce=Ne),ct=ce,ne&&je)t:{for(Ne=ne,Q=je,K=0,J=Ne;J;J=Cl(J))K++;for(J=0,ce=Q;ce;ce=Cl(ce))J++;for(;0<K-J;)Ne=Cl(Ne),K--;for(;0<J-K;)Q=Cl(Q),J--;for(;K--;){if(Ne===Q||Q!==null&&Ne===Q.alternate)break t;Ne=Cl(Ne),Q=Cl(Q)}Ne=null}else Ne=null;ne!==null&&Z5(de,te,ne,Ne,!1),je!==null&&ct!==null&&Z5(de,ct,je,Ne,!0)}}e:{if(te=ee?Ra(ee):window,ne=te.nodeName&&te.nodeName.toLowerCase(),ne==="select"||ne==="input"&&te.type==="file")var xe=gM;else if(pM(te))if(yM)xe=use;else{xe=sse;var Ve=ase}else ne=te.nodeName,!ne||ne.toLowerCase()!=="input"||te.type!=="checkbox"&&te.type!=="radio"?ee&&sb(ee.elementType)&&(xe=gM):xe=lse;if(xe&&(xe=xe(o,ee))){mM(de,xe,c,ue);break e}Ve&&Ve(o,te,ee),o==="focusout"&&ee&&te.type==="number"&&ee.memoizedProps.value!=null&&ab(te,"number",te.value)}switch(Ve=ee?Ra(ee):window,o){case"focusin":(pM(Ve)||Ve.contentEditable==="true")&&(tl=Ve,wb=ee,gc=null);break;case"focusout":gc=wb=tl=null;break;case"mousedown":Sb=!0;break;case"contextmenu":case"mouseup":case"dragend":Sb=!1,CM(de,c,ue);break;case"selectionchange":if(fse)break;case"keydown":case"keyup":CM(de,c,ue)}var Se;if(yb)e:{switch(o){case"compositionstart":var De="onCompositionStart";break e;case"compositionend":De="onCompositionEnd";break e;case"compositionupdate":De="onCompositionUpdate";break e}De=void 0}else el?dM(o,c)&&(De="onCompositionEnd"):o==="keydown"&&c.keyCode===229&&(De="onCompositionStart");De&&(uM&&c.locale!=="ko"&&(el||De!=="onCompositionStart"?De==="onCompositionEnd"&&el&&(Se=iM()):(Oo=ue,db="value"in Oo?Oo.value:Oo.textContent,el=!0)),Ve=Qp(ee,De),0<Ve.length&&(De=new sM(De,o,null,c,ue),de.push({event:De,listeners:Ve}),Se?De.data=Se:(Se=hM(c),Se!==null&&(De.data=Se)))),(Se=tse?nse(o,c):rse(o,c))&&(De=Qp(ee,"onBeforeInput"),0<De.length&&(Ve=new sM("onBeforeInput","beforeinput",null,c,ue),de.push({event:Ve,listeners:De}),Ve.data=Se)),Gse(de,o,ee,c,ue)}W5(de,l)})}function Uc(o,l,c){return{instance:o,listener:l,currentTarget:c}}function Qp(o,l){for(var c=l+"Capture",m=[];o!==null;){var v=o,w=v.stateNode;if(v=v.tag,v!==5&&v!==26&&v!==27||w===null||(v=lc(o,c),v!=null&&m.unshift(Uc(o,v,w)),v=lc(o,l),v!=null&&m.push(Uc(o,v,w))),o.tag===3)return m;o=o.return}return[]}function Cl(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5&&o.tag!==27);return o||null}function Z5(o,l,c,m,v){for(var w=l._reactName,M=[];c!==null&&c!==m;){var L=c,X=L.alternate,ee=L.stateNode;if(L=L.tag,X!==null&&X===m)break;L!==5&&L!==26&&L!==27||ee===null||(X=ee,v?(ee=lc(c,w),ee!=null&&M.unshift(Uc(c,ee,X))):v||(ee=lc(c,w),ee!=null&&M.push(Uc(c,ee,X)))),c=c.return}M.length!==0&&o.push({event:l,listeners:M})}var Zse=/\r\n?/g,Qse=/\u0000|\uFFFD/g;function Q5(o){return(typeof o=="string"?o:""+o).replace(Zse,`
|
825
|
-
`).replace(Qse,"")}function J5(o,l){return l=Q5(l),Q5(o)===l}function Jp(){}function ut(o,l,c,m,v,w){switch(c){case"children":typeof m=="string"?l==="body"||l==="textarea"&&m===""||Zs(o,m):(typeof m=="number"||typeof m=="bigint")&&l!=="body"&&Zs(o,""+m);break;case"className":Gs(o,"class",m);break;case"tabIndex":Gs(o,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":Gs(o,c,m);break;case"style":tM(o,m,w);break;case"data":if(l!=="object"){Gs(o,"data",m);break}case"src":case"href":if(m===""&&(l!=="a"||c!=="href")){o.removeAttribute(c);break}if(m==null||typeof m=="function"||typeof m=="symbol"||typeof m=="boolean"){o.removeAttribute(c);break}m=sp(""+m),o.setAttribute(c,m);break;case"action":case"formAction":if(typeof m=="function"){o.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof w=="function"&&(c==="formAction"?(l!=="input"&&ut(o,l,"name",v.name,v,null),ut(o,l,"formEncType",v.formEncType,v,null),ut(o,l,"formMethod",v.formMethod,v,null),ut(o,l,"formTarget",v.formTarget,v,null)):(ut(o,l,"encType",v.encType,v,null),ut(o,l,"method",v.method,v,null),ut(o,l,"target",v.target,v,null)));if(m==null||typeof m=="symbol"||typeof m=="boolean"){o.removeAttribute(c);break}m=sp(""+m),o.setAttribute(c,m);break;case"onClick":m!=null&&(o.onclick=Jp);break;case"onScroll":m!=null&&Ge("scroll",o);break;case"onScrollEnd":m!=null&&Ge("scrollend",o);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(r(61));if(c=m.__html,c!=null){if(v.children!=null)throw Error(r(60));o.innerHTML=c}}break;case"multiple":o.multiple=m&&typeof m!="function"&&typeof m!="symbol";break;case"muted":o.muted=m&&typeof m!="function"&&typeof m!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(m==null||typeof m=="function"||typeof m=="boolean"||typeof m=="symbol"){o.removeAttribute("xlink:href");break}c=sp(""+m),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":m!=null&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(c,""+m):o.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":m&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(c,""):o.removeAttribute(c);break;case"capture":case"download":m===!0?o.setAttribute(c,""):m!==!1&&m!=null&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(c,m):o.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":m!=null&&typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m?o.setAttribute(c,m):o.removeAttribute(c);break;case"rowSpan":case"start":m==null||typeof m=="function"||typeof m=="symbol"||isNaN(m)?o.removeAttribute(c):o.setAttribute(c,m);break;case"popover":Ge("beforetoggle",o),Ge("toggle",o),Ys(o,"popover",m);break;case"xlinkActuate":jr(o,"http://www.w3.org/1999/xlink","xlink:actuate",m);break;case"xlinkArcrole":jr(o,"http://www.w3.org/1999/xlink","xlink:arcrole",m);break;case"xlinkRole":jr(o,"http://www.w3.org/1999/xlink","xlink:role",m);break;case"xlinkShow":jr(o,"http://www.w3.org/1999/xlink","xlink:show",m);break;case"xlinkTitle":jr(o,"http://www.w3.org/1999/xlink","xlink:title",m);break;case"xlinkType":jr(o,"http://www.w3.org/1999/xlink","xlink:type",m);break;case"xmlBase":jr(o,"http://www.w3.org/XML/1998/namespace","xml:base",m);break;case"xmlLang":jr(o,"http://www.w3.org/XML/1998/namespace","xml:lang",m);break;case"xmlSpace":jr(o,"http://www.w3.org/XML/1998/namespace","xml:space",m);break;case"is":Ys(o,"is",m);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=Tae.get(c)||c,Ys(o,c,m))}}function q1(o,l,c,m,v,w){switch(c){case"style":tM(o,m,w);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(r(61));if(c=m.__html,c!=null){if(v.children!=null)throw Error(r(60));o.innerHTML=c}}break;case"children":typeof m=="string"?Zs(o,m):(typeof m=="number"||typeof m=="bigint")&&Zs(o,""+m);break;case"onScroll":m!=null&&Ge("scroll",o);break;case"onScrollEnd":m!=null&&Ge("scrollend",o);break;case"onClick":m!=null&&(o.onclick=Jp);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Jh.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(v=c.endsWith("Capture"),l=c.slice(2,v?c.length-7:void 0),w=o[pn]||null,w=w!=null?w[c]:null,typeof w=="function"&&o.removeEventListener(l,w,v),typeof m=="function")){typeof w!="function"&&w!==null&&(c in o?o[c]=null:o.hasAttribute(c)&&o.removeAttribute(c)),o.addEventListener(l,m,v);break e}c in o?o[c]=m:m===!0?o.setAttribute(c,""):Ys(o,c,m)}}}function on(o,l,c){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ge("error",o),Ge("load",o);var m=!1,v=!1,w;for(w in c)if(c.hasOwnProperty(w)){var M=c[w];if(M!=null)switch(w){case"src":m=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:ut(o,l,w,M,c,null)}}v&&ut(o,l,"srcSet",c.srcSet,c,null),m&&ut(o,l,"src",c.src,c,null);return;case"input":Ge("invalid",o);var L=w=M=v=null,X=null,ee=null;for(m in c)if(c.hasOwnProperty(m)){var ue=c[m];if(ue!=null)switch(m){case"name":v=ue;break;case"type":M=ue;break;case"checked":X=ue;break;case"defaultChecked":ee=ue;break;case"value":w=ue;break;case"defaultValue":L=ue;break;case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(r(137,l));break;default:ut(o,l,m,ue,c,null)}}Z2(o,w,L,X,ee,M,v,!1),Xs(o);return;case"select":Ge("invalid",o),m=M=w=null;for(v in c)if(c.hasOwnProperty(v)&&(L=c[v],L!=null))switch(v){case"value":w=L;break;case"defaultValue":M=L;break;case"multiple":m=L;default:ut(o,l,v,L,c,null)}l=w,c=M,o.multiple=!!m,l!=null?Ks(o,!!m,l,!1):c!=null&&Ks(o,!!m,c,!0);return;case"textarea":Ge("invalid",o),w=v=m=null;for(M in c)if(c.hasOwnProperty(M)&&(L=c[M],L!=null))switch(M){case"value":m=L;break;case"defaultValue":v=L;break;case"children":w=L;break;case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(91));break;default:ut(o,l,M,L,c,null)}J2(o,m,v,w),Xs(o);return;case"option":for(X in c)if(c.hasOwnProperty(X)&&(m=c[X],m!=null))switch(X){case"selected":o.selected=m&&typeof m!="function"&&typeof m!="symbol";break;default:ut(o,l,X,m,c,null)}return;case"dialog":Ge("beforetoggle",o),Ge("toggle",o),Ge("cancel",o),Ge("close",o);break;case"iframe":case"object":Ge("load",o);break;case"video":case"audio":for(m=0;m<Vc.length;m++)Ge(Vc[m],o);break;case"image":Ge("error",o),Ge("load",o);break;case"details":Ge("toggle",o);break;case"embed":case"source":case"link":Ge("error",o),Ge("load",o);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ee in c)if(c.hasOwnProperty(ee)&&(m=c[ee],m!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:ut(o,l,ee,m,c,null)}return;default:if(sb(l)){for(ue in c)c.hasOwnProperty(ue)&&(m=c[ue],m!==void 0&&q1(o,l,ue,m,c,void 0));return}}for(L in c)c.hasOwnProperty(L)&&(m=c[L],m!=null&&ut(o,l,L,m,c,null))}function Jse(o,l,c,m){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,w=null,M=null,L=null,X=null,ee=null,ue=null;for(ne in c){var de=c[ne];if(c.hasOwnProperty(ne)&&de!=null)switch(ne){case"checked":break;case"value":break;case"defaultValue":X=de;default:m.hasOwnProperty(ne)||ut(o,l,ne,null,m,de)}}for(var te in m){var ne=m[te];if(de=c[te],m.hasOwnProperty(te)&&(ne!=null||de!=null))switch(te){case"type":w=ne;break;case"name":v=ne;break;case"checked":ee=ne;break;case"defaultChecked":ue=ne;break;case"value":M=ne;break;case"defaultValue":L=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(r(137,l));break;default:ne!==de&&ut(o,l,te,ne,m,de)}}Ws(o,M,L,X,ee,ue,w,v);return;case"select":ne=M=L=te=null;for(w in c)if(X=c[w],c.hasOwnProperty(w)&&X!=null)switch(w){case"value":break;case"multiple":ne=X;default:m.hasOwnProperty(w)||ut(o,l,w,null,m,X)}for(v in m)if(w=m[v],X=c[v],m.hasOwnProperty(v)&&(w!=null||X!=null))switch(v){case"value":te=w;break;case"defaultValue":L=w;break;case"multiple":M=w;default:w!==X&&ut(o,l,v,w,m,X)}l=L,c=M,m=ne,te!=null?Ks(o,!!c,te,!1):!!m!=!!c&&(l!=null?Ks(o,!!c,l,!0):Ks(o,!!c,c?[]:"",!1));return;case"textarea":ne=te=null;for(L in c)if(v=c[L],c.hasOwnProperty(L)&&v!=null&&!m.hasOwnProperty(L))switch(L){case"value":break;case"children":break;default:ut(o,l,L,null,m,v)}for(M in m)if(v=m[M],w=c[M],m.hasOwnProperty(M)&&(v!=null||w!=null))switch(M){case"value":te=v;break;case"defaultValue":ne=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(91));break;default:v!==w&&ut(o,l,M,v,m,w)}Q2(o,te,ne);return;case"option":for(var je in c)if(te=c[je],c.hasOwnProperty(je)&&te!=null&&!m.hasOwnProperty(je))switch(je){case"selected":o.selected=!1;break;default:ut(o,l,je,null,m,te)}for(X in m)if(te=m[X],ne=c[X],m.hasOwnProperty(X)&&te!==ne&&(te!=null||ne!=null))switch(X){case"selected":o.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:ut(o,l,X,te,m,ne)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ne in c)te=c[Ne],c.hasOwnProperty(Ne)&&te!=null&&!m.hasOwnProperty(Ne)&&ut(o,l,Ne,null,m,te);for(ee in m)if(te=m[ee],ne=c[ee],m.hasOwnProperty(ee)&&te!==ne&&(te!=null||ne!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(r(137,l));break;default:ut(o,l,ee,te,m,ne)}return;default:if(sb(l)){for(var ct in c)te=c[ct],c.hasOwnProperty(ct)&&te!==void 0&&!m.hasOwnProperty(ct)&&q1(o,l,ct,void 0,m,te);for(ue in m)te=m[ue],ne=c[ue],!m.hasOwnProperty(ue)||te===ne||te===void 0&&ne===void 0||q1(o,l,ue,te,m,ne);return}}for(var Q in c)te=c[Q],c.hasOwnProperty(Q)&&te!=null&&!m.hasOwnProperty(Q)&&ut(o,l,Q,null,m,te);for(de in m)te=m[de],ne=c[de],!m.hasOwnProperty(de)||te===ne||te==null&&ne==null||ut(o,l,de,te,m,ne)}var Y1=null,G1=null;function em(o){return o.nodeType===9?o:o.ownerDocument}function e4(o){switch(o){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function t4(o,l){if(o===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return o===1&&l==="foreignObject"?0:o}function X1(o,l){return o==="textarea"||o==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var W1=null;function ele(){var o=window.event;return o&&o.type==="popstate"?o===W1?!1:(W1=o,!0):(W1=null,!1)}var n4=typeof setTimeout=="function"?setTimeout:void 0,tle=typeof clearTimeout=="function"?clearTimeout:void 0,r4=typeof Promise=="function"?Promise:void 0,nle=typeof queueMicrotask=="function"?queueMicrotask:typeof r4<"u"?function(o){return r4.resolve(null).then(o).catch(rle)}:n4;function rle(o){setTimeout(function(){throw o})}function Yo(o){return o==="head"}function i4(o,l){var c=l,m=0,v=0;do{var w=c.nextSibling;if(o.removeChild(c),w&&w.nodeType===8)if(c=w.data,c==="/$"){if(0<m&&8>m){c=m;var M=o.ownerDocument;if(c&1&&qc(M.documentElement),c&2&&qc(M.body),c&4)for(c=M.head,qc(c),M=c.firstChild;M;){var L=M.nextSibling,X=M.nodeName;M[Ta]||X==="SCRIPT"||X==="STYLE"||X==="LINK"&&M.rel.toLowerCase()==="stylesheet"||c.removeChild(M),M=L}}if(v===0){o.removeChild(w),Jc(l);return}v--}else c==="$"||c==="$?"||c==="$!"?v++:m=c.charCodeAt(0)-48;else m=0;c=w}while(c);Jc(l)}function K1(o){var l=o.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var c=l;switch(l=l.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":K1(c),rc(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}o.removeChild(c)}}function ile(o,l,c,m){for(;o.nodeType===1;){var v=c;if(o.nodeName.toLowerCase()!==l.toLowerCase()){if(!m&&(o.nodeName!=="INPUT"||o.type!=="hidden"))break}else if(m){if(!o[Ta])switch(l){case"meta":if(!o.hasAttribute("itemprop"))break;return o;case"link":if(w=o.getAttribute("rel"),w==="stylesheet"&&o.hasAttribute("data-precedence"))break;if(w!==v.rel||o.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||o.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||o.getAttribute("title")!==(v.title==null?null:v.title))break;return o;case"style":if(o.hasAttribute("data-precedence"))break;return o;case"script":if(w=o.getAttribute("src"),(w!==(v.src==null?null:v.src)||o.getAttribute("type")!==(v.type==null?null:v.type)||o.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&w&&o.hasAttribute("async")&&!o.hasAttribute("itemprop"))break;return o;default:return o}}else if(l==="input"&&o.type==="hidden"){var w=v.name==null?null:""+v.name;if(v.type==="hidden"&&o.getAttribute("name")===w)return o}else return o;if(o=Lr(o.nextSibling),o===null)break}return null}function ole(o,l,c){if(l==="")return null;for(;o.nodeType!==3;)if((o.nodeType!==1||o.nodeName!=="INPUT"||o.type!=="hidden")&&!c||(o=Lr(o.nextSibling),o===null))return null;return o}function Z1(o){return o.data==="$!"||o.data==="$?"&&o.ownerDocument.readyState==="complete"}function ale(o,l){var c=o.ownerDocument;if(o.data!=="$?"||c.readyState==="complete")l();else{var m=function(){l(),c.removeEventListener("DOMContentLoaded",m)};c.addEventListener("DOMContentLoaded",m),o._reactRetry=m}}function Lr(o){for(;o!=null;o=o.nextSibling){var l=o.nodeType;if(l===1||l===3)break;if(l===8){if(l=o.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return o}var Q1=null;function o4(o){o=o.previousSibling;for(var l=0;o;){if(o.nodeType===8){var c=o.data;if(c==="$"||c==="$!"||c==="$?"){if(l===0)return o;l--}else c==="/$"&&l++}o=o.previousSibling}return null}function a4(o,l,c){switch(l=em(c),o){case"html":if(o=l.documentElement,!o)throw Error(r(452));return o;case"head":if(o=l.head,!o)throw Error(r(453));return o;case"body":if(o=l.body,!o)throw Error(r(454));return o;default:throw Error(r(451))}}function qc(o){for(var l=o.attributes;l.length;)o.removeAttributeNode(l[0]);rc(o)}var xr=new Map,s4=new Set;function tm(o){return typeof o.getRootNode=="function"?o.getRootNode():o.nodeType===9?o:o.ownerDocument}var eo=B.d;B.d={f:sle,r:lle,D:ule,C:cle,L:fle,m:dle,X:ple,S:hle,M:mle};function sle(){var o=eo.f(),l=Yp();return o||l}function lle(o){var l=Fi(o);l!==null&&l.tag===5&&l.type==="form"?A3(l):eo.r(o)}var kl=typeof document>"u"?null:document;function l4(o,l,c){var m=kl;if(m&&typeof l=="string"&&l){var v=Pn(l);v='link[rel="'+o+'"][href="'+v+'"]',typeof c=="string"&&(v+='[crossorigin="'+c+'"]'),s4.has(v)||(s4.add(v),o={rel:o,crossOrigin:c,href:l},m.querySelector(v)===null&&(l=m.createElement("link"),on(l,"link",o),Vt(l),m.head.appendChild(l)))}}function ule(o){eo.D(o),l4("dns-prefetch",o,null)}function cle(o,l){eo.C(o,l),l4("preconnect",o,l)}function fle(o,l,c){eo.L(o,l,c);var m=kl;if(m&&o&&l){var v='link[rel="preload"][as="'+Pn(l)+'"]';l==="image"&&c&&c.imageSrcSet?(v+='[imagesrcset="'+Pn(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(v+='[imagesizes="'+Pn(c.imageSizes)+'"]')):v+='[href="'+Pn(o)+'"]';var w=v;switch(l){case"style":w=Al(o);break;case"script":w=Tl(o)}xr.has(w)||(o=h({rel:"preload",href:l==="image"&&c&&c.imageSrcSet?void 0:o,as:l},c),xr.set(w,o),m.querySelector(v)!==null||l==="style"&&m.querySelector(Yc(w))||l==="script"&&m.querySelector(Gc(w))||(l=m.createElement("link"),on(l,"link",o),Vt(l),m.head.appendChild(l)))}}function dle(o,l){eo.m(o,l);var c=kl;if(c&&o){var m=l&&typeof l.as=="string"?l.as:"script",v='link[rel="modulepreload"][as="'+Pn(m)+'"][href="'+Pn(o)+'"]',w=v;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":w=Tl(o)}if(!xr.has(w)&&(o=h({rel:"modulepreload",href:o},l),xr.set(w,o),c.querySelector(v)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Gc(w)))return}m=c.createElement("link"),on(m,"link",o),Vt(m),c.head.appendChild(m)}}}function hle(o,l,c){eo.S(o,l,c);var m=kl;if(m&&o){var v=ko(m).hoistableStyles,w=Al(o);l=l||"default";var M=v.get(w);if(!M){var L={loading:0,preload:null};if(M=m.querySelector(Yc(w)))L.loading=5;else{o=h({rel:"stylesheet",href:o,"data-precedence":l},c),(c=xr.get(w))&&J1(o,c);var X=M=m.createElement("link");Vt(X),on(X,"link",o),X._p=new Promise(function(ee,ue){X.onload=ee,X.onerror=ue}),X.addEventListener("load",function(){L.loading|=1}),X.addEventListener("error",function(){L.loading|=2}),L.loading|=4,nm(M,l,m)}M={type:"stylesheet",instance:M,count:1,state:L},v.set(w,M)}}}function ple(o,l){eo.X(o,l);var c=kl;if(c&&o){var m=ko(c).hoistableScripts,v=Tl(o),w=m.get(v);w||(w=c.querySelector(Gc(v)),w||(o=h({src:o,async:!0},l),(l=xr.get(v))&&ex(o,l),w=c.createElement("script"),Vt(w),on(w,"link",o),c.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},m.set(v,w))}}function mle(o,l){eo.M(o,l);var c=kl;if(c&&o){var m=ko(c).hoistableScripts,v=Tl(o),w=m.get(v);w||(w=c.querySelector(Gc(v)),w||(o=h({src:o,async:!0,type:"module"},l),(l=xr.get(v))&&ex(o,l),w=c.createElement("script"),Vt(w),on(w,"link",o),c.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},m.set(v,w))}}function u4(o,l,c,m){var v=(v=re.current)?tm(v):null;if(!v)throw Error(r(446));switch(o){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(l=Al(c.href),c=ko(v).hoistableStyles,m=c.get(l),m||(m={type:"style",instance:null,count:0,state:null},c.set(l,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){o=Al(c.href);var w=ko(v).hoistableStyles,M=w.get(o);if(M||(v=v.ownerDocument||v,M={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},w.set(o,M),(w=v.querySelector(Yc(o)))&&!w._p&&(M.instance=w,M.state.loading=5),xr.has(o)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},xr.set(o,c),w||gle(v,o,c,M.state))),l&&m===null)throw Error(r(528,""));return M}if(l&&m!==null)throw Error(r(529,""));return null;case"script":return l=c.async,c=c.src,typeof c=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Tl(c),c=ko(v).hoistableScripts,m=c.get(l),m||(m={type:"script",instance:null,count:0,state:null},c.set(l,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,o))}}function Al(o){return'href="'+Pn(o)+'"'}function Yc(o){return'link[rel="stylesheet"]['+o+"]"}function c4(o){return h({},o,{"data-precedence":o.precedence,precedence:null})}function gle(o,l,c,m){o.querySelector('link[rel="preload"][as="style"]['+l+"]")?m.loading=1:(l=o.createElement("link"),m.preload=l,l.addEventListener("load",function(){return m.loading|=1}),l.addEventListener("error",function(){return m.loading|=2}),on(l,"link",c),Vt(l),o.head.appendChild(l))}function Tl(o){return'[src="'+Pn(o)+'"]'}function Gc(o){return"script[async]"+o}function f4(o,l,c){if(l.count++,l.instance===null)switch(l.type){case"style":var m=o.querySelector('style[data-href~="'+Pn(c.href)+'"]');if(m)return l.instance=m,Vt(m),m;var v=h({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return m=(o.ownerDocument||o).createElement("style"),Vt(m),on(m,"style",v),nm(m,c.precedence,o),l.instance=m;case"stylesheet":v=Al(c.href);var w=o.querySelector(Yc(v));if(w)return l.state.loading|=4,l.instance=w,Vt(w),w;m=c4(c),(v=xr.get(v))&&J1(m,v),w=(o.ownerDocument||o).createElement("link"),Vt(w);var M=w;return M._p=new Promise(function(L,X){M.onload=L,M.onerror=X}),on(w,"link",m),l.state.loading|=4,nm(w,c.precedence,o),l.instance=w;case"script":return w=Tl(c.src),(v=o.querySelector(Gc(w)))?(l.instance=v,Vt(v),v):(m=c,(v=xr.get(w))&&(m=h({},c),ex(m,v)),o=o.ownerDocument||o,v=o.createElement("script"),Vt(v),on(v,"link",m),o.head.appendChild(v),l.instance=v);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(m=l.instance,l.state.loading|=4,nm(m,c.precedence,o));return l.instance}function nm(o,l,c){for(var m=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=m.length?m[m.length-1]:null,w=v,M=0;M<m.length;M++){var L=m[M];if(L.dataset.precedence===l)w=L;else if(w!==v)break}w?w.parentNode.insertBefore(o,w.nextSibling):(l=c.nodeType===9?c.head:c,l.insertBefore(o,l.firstChild))}function J1(o,l){o.crossOrigin==null&&(o.crossOrigin=l.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=l.referrerPolicy),o.title==null&&(o.title=l.title)}function ex(o,l){o.crossOrigin==null&&(o.crossOrigin=l.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=l.referrerPolicy),o.integrity==null&&(o.integrity=l.integrity)}var rm=null;function d4(o,l,c){if(rm===null){var m=new Map,v=rm=new Map;v.set(c,m)}else v=rm,m=v.get(c),m||(m=new Map,v.set(c,m));if(m.has(o))return m;for(m.set(o,null),c=c.getElementsByTagName(o),v=0;v<c.length;v++){var w=c[v];if(!(w[Ta]||w[Wt]||o==="link"&&w.getAttribute("rel")==="stylesheet")&&w.namespaceURI!=="http://www.w3.org/2000/svg"){var M=w.getAttribute(l)||"";M=o+M;var L=m.get(M);L?L.push(w):m.set(M,[w])}}return m}function h4(o,l,c){o=o.ownerDocument||o,o.head.insertBefore(c,l==="title"?o.querySelector("head > title"):null)}function yle(o,l,c){if(c===1||l.itemProp!=null)return!1;switch(o){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return o=l.disabled,typeof l.precedence=="string"&&o==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function p4(o){return!(o.type==="stylesheet"&&(o.state.loading&3)===0)}var Xc=null;function vle(){}function ble(o,l,c){if(Xc===null)throw Error(r(475));var m=Xc;if(l.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var v=Al(c.href),w=o.querySelector(Yc(v));if(w){o=w._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(m.count++,m=im.bind(m),o.then(m,m)),l.state.loading|=4,l.instance=w,Vt(w);return}w=o.ownerDocument||o,c=c4(c),(v=xr.get(v))&&J1(c,v),w=w.createElement("link"),Vt(w);var M=w;M._p=new Promise(function(L,X){M.onload=L,M.onerror=X}),on(w,"link",c),l.instance=w}m.stylesheets===null&&(m.stylesheets=new Map),m.stylesheets.set(l,o),(o=l.state.preload)&&(l.state.loading&3)===0&&(m.count++,l=im.bind(m),o.addEventListener("load",l),o.addEventListener("error",l))}}function xle(){if(Xc===null)throw Error(r(475));var o=Xc;return o.stylesheets&&o.count===0&&tx(o,o.stylesheets),0<o.count?function(l){var c=setTimeout(function(){if(o.stylesheets&&tx(o,o.stylesheets),o.unsuspend){var m=o.unsuspend;o.unsuspend=null,m()}},6e4);return o.unsuspend=l,function(){o.unsuspend=null,clearTimeout(c)}}:null}function im(){if(this.count--,this.count===0){if(this.stylesheets)tx(this,this.stylesheets);else if(this.unsuspend){var o=this.unsuspend;this.unsuspend=null,o()}}}var om=null;function tx(o,l){o.stylesheets=null,o.unsuspend!==null&&(o.count++,om=new Map,l.forEach(wle,o),om=null,im.call(o))}function wle(o,l){if(!(l.state.loading&4)){var c=om.get(o);if(c)var m=c.get(null);else{c=new Map,om.set(o,c);for(var v=o.querySelectorAll("link[data-precedence],style[data-precedence]"),w=0;w<v.length;w++){var M=v[w];(M.nodeName==="LINK"||M.getAttribute("media")!=="not all")&&(c.set(M.dataset.precedence,M),m=M)}m&&c.set(null,m)}v=l.instance,M=v.getAttribute("data-precedence"),w=c.get(M)||m,w===m&&c.set(null,v),c.set(M,v),this.count++,m=im.bind(this),v.addEventListener("load",m),v.addEventListener("error",m),w?w.parentNode.insertBefore(v,w.nextSibling):(o=o.nodeType===9?o.head:o,o.insertBefore(v,o.firstChild)),l.state.loading|=4}}var Wc={$$typeof:k,Provider:null,Consumer:null,_currentValue:q,_currentValue2:q,_threadCount:0};function Sle(o,l,c,m,v,w,M,L){this.tag=1,this.containerInfo=o,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qu(0),this.hiddenUpdates=Qu(null),this.identifierPrefix=m,this.onUncaughtError=v,this.onCaughtError=w,this.onRecoverableError=M,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=L,this.incompleteTransitions=new Map}function m4(o,l,c,m,v,w,M,L,X,ee,ue,de){return o=new Sle(o,l,c,M,L,X,ee,de),l=1,w===!0&&(l|=24),w=Jn(3,null,null,l),o.current=w,w.stateNode=o,l=zb(),l.refCount++,o.pooledCache=l,l.refCount++,w.memoizedState={element:m,isDehydrated:c,cache:l},Bb(w),o}function g4(o){return o?(o=ol,o):ol}function y4(o,l,c,m,v,w){v=g4(v),m.context===null?m.context=v:m.pendingContext=v,m=Do(l),m.payload={element:c},w=w===void 0?null:w,w!==null&&(m.callback=w),c=Po(o,m,l),c!==null&&(ir(c,o,l),Cc(c,o,l))}function v4(o,l){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var c=o.retryLane;o.retryLane=c!==0&&c<l?c:l}}function nx(o,l){v4(o,l),(o=o.alternate)&&v4(o,l)}function b4(o){if(o.tag===13){var l=il(o,67108864);l!==null&&ir(l,o,67108864),nx(o,67108864)}}var am=!0;function _le(o,l,c,m){var v=j.T;j.T=null;var w=B.p;try{B.p=2,rx(o,l,c,m)}finally{B.p=w,j.T=v}}function Ele(o,l,c,m){var v=j.T;j.T=null;var w=B.p;try{B.p=8,rx(o,l,c,m)}finally{B.p=w,j.T=v}}function rx(o,l,c,m){if(am){var v=ix(m);if(v===null)U1(o,l,m,sm,c),w4(o,m);else if(kle(v,o,l,c,m))m.stopPropagation();else if(w4(o,m),l&4&&-1<Cle.indexOf(o)){for(;v!==null;){var w=Fi(v);if(w!==null)switch(w.tag){case 3:if(w=w.stateNode,w.current.memoizedState.isDehydrated){var M=Sn(w.pendingLanes);if(M!==0){var L=w;for(L.pendingLanes|=2,L.entangledLanes|=2;M;){var X=1<<31-Ae(M);L.entanglements[1]|=X,M&=~X}hi(w),(ot&6)===0&&(Up=xt()+500,Hc(0))}}break;case 13:L=il(w,2),L!==null&&ir(L,w,2),Yp(),nx(w,2)}if(w=ix(m),w===null&&U1(o,l,m,sm,c),w===v)break;v=w}v!==null&&m.stopPropagation()}else U1(o,l,m,null,c)}}function ix(o){return o=ub(o),ox(o)}var sm=null;function ox(o){if(sm=null,o=Li(o),o!==null){var l=a(o);if(l===null)o=null;else{var c=l.tag;if(c===13){if(o=s(l),o!==null)return o;o=null}else if(c===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;o=null}else l!==o&&(o=null)}}return sm=o,null}function x4(o){switch(o){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Kn()){case Dr:return 2;case Nn:return 8;case dr:case Pe:return 32;case si:return 268435456;default:return 32}default:return 32}}var ax=!1,Go=null,Xo=null,Wo=null,Kc=new Map,Zc=new Map,Ko=[],Cle="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".split(" ");function w4(o,l){switch(o){case"focusin":case"focusout":Go=null;break;case"dragenter":case"dragleave":Xo=null;break;case"mouseover":case"mouseout":Wo=null;break;case"pointerover":case"pointerout":Kc.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zc.delete(l.pointerId)}}function Qc(o,l,c,m,v,w){return o===null||o.nativeEvent!==w?(o={blockedOn:l,domEventName:c,eventSystemFlags:m,nativeEvent:w,targetContainers:[v]},l!==null&&(l=Fi(l),l!==null&&b4(l)),o):(o.eventSystemFlags|=m,l=o.targetContainers,v!==null&&l.indexOf(v)===-1&&l.push(v),o)}function kle(o,l,c,m,v){switch(l){case"focusin":return Go=Qc(Go,o,l,c,m,v),!0;case"dragenter":return Xo=Qc(Xo,o,l,c,m,v),!0;case"mouseover":return Wo=Qc(Wo,o,l,c,m,v),!0;case"pointerover":var w=v.pointerId;return Kc.set(w,Qc(Kc.get(w)||null,o,l,c,m,v)),!0;case"gotpointercapture":return w=v.pointerId,Zc.set(w,Qc(Zc.get(w)||null,o,l,c,m,v)),!0}return!1}function S4(o){var l=Li(o.target);if(l!==null){var c=a(l);if(c!==null){if(l=c.tag,l===13){if(l=s(c),l!==null){o.blockedOn=l,eb(o.priority,function(){if(c.tag===13){var m=rr();m=ec(m);var v=il(c,m);v!==null&&ir(v,c,m),nx(c,m)}});return}}else if(l===3&&c.stateNode.current.memoizedState.isDehydrated){o.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}o.blockedOn=null}function lm(o){if(o.blockedOn!==null)return!1;for(var l=o.targetContainers;0<l.length;){var c=ix(o.nativeEvent);if(c===null){c=o.nativeEvent;var m=new c.constructor(c.type,c);lb=m,c.target.dispatchEvent(m),lb=null}else return l=Fi(c),l!==null&&b4(l),o.blockedOn=c,!1;l.shift()}return!0}function _4(o,l,c){lm(o)&&c.delete(l)}function Ale(){ax=!1,Go!==null&&lm(Go)&&(Go=null),Xo!==null&&lm(Xo)&&(Xo=null),Wo!==null&&lm(Wo)&&(Wo=null),Kc.forEach(_4),Zc.forEach(_4)}function um(o,l){o.blockedOn===l&&(o.blockedOn=null,ax||(ax=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Ale)))}var cm=null;function E4(o){cm!==o&&(cm=o,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){cm===o&&(cm=null);for(var l=0;l<o.length;l+=3){var c=o[l],m=o[l+1],v=o[l+2];if(typeof m!="function"){if(ox(m||c)===null)continue;break}var w=Fi(c);w!==null&&(o.splice(l,3),l-=3,o1(w,{pending:!0,data:v,method:c.method,action:m},m,v))}}))}function Jc(o){function l(X){return um(X,o)}Go!==null&&um(Go,o),Xo!==null&&um(Xo,o),Wo!==null&&um(Wo,o),Kc.forEach(l),Zc.forEach(l);for(var c=0;c<Ko.length;c++){var m=Ko[c];m.blockedOn===o&&(m.blockedOn=null)}for(;0<Ko.length&&(c=Ko[0],c.blockedOn===null);)S4(c),c.blockedOn===null&&Ko.shift();if(c=(o.ownerDocument||o).$$reactFormReplay,c!=null)for(m=0;m<c.length;m+=3){var v=c[m],w=c[m+1],M=v[pn]||null;if(typeof w=="function")M||E4(c);else if(M){var L=null;if(w&&w.hasAttribute("formAction")){if(v=w,M=w[pn]||null)L=M.formAction;else if(ox(v)!==null)continue}else L=M.action;typeof L=="function"?c[m+1]=L:(c.splice(m,3),m-=3),E4(c)}}}function sx(o){this._internalRoot=o}fm.prototype.render=sx.prototype.render=function(o){var l=this._internalRoot;if(l===null)throw Error(r(409));var c=l.current,m=rr();y4(c,m,o,l,null,null)},fm.prototype.unmount=sx.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var l=o.containerInfo;y4(o.current,2,null,o,null,null),Yp(),l[Co]=null}};function fm(o){this._internalRoot=o}fm.prototype.unstable_scheduleHydration=function(o){if(o){var l=Kh();o={blockedOn:null,target:o,priority:l};for(var c=0;c<Ko.length&&l!==0&&l<Ko[c].priority;c++);Ko.splice(c,0,o),c===0&&S4(o)}};var C4=t.version;if(C4!=="19.1.0")throw Error(r(527,C4,"19.1.0"));B.findDOMNode=function(o){var l=o._reactInternals;if(l===void 0)throw typeof o.render=="function"?Error(r(188)):(o=Object.keys(o).join(","),Error(r(268,o)));return o=f(l),o=o!==null?d(o):null,o=o===null?null:o.stateNode,o};var Tle={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var dm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dm.isDisabled&&dm.supportsFiber)try{ae=dm.inject(Tle),pe=dm}catch{}}return Zu.createRoot=function(o,l){if(!i(o))throw Error(r(299));var c=!1,m="",v=$3,w=H3,M=V3,L=null;return l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(v=l.onUncaughtError),l.onCaughtError!==void 0&&(w=l.onCaughtError),l.onRecoverableError!==void 0&&(M=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(L=l.unstable_transitionCallbacks)),l=m4(o,1,!1,null,null,c,m,v,w,M,L,null),o[Co]=l.current,V1(o),new sx(l)},Zu.hydrateRoot=function(o,l,c){if(!i(o))throw Error(r(299));var m=!1,v="",w=$3,M=H3,L=V3,X=null,ee=null;return c!=null&&(c.unstable_strictMode===!0&&(m=!0),c.identifierPrefix!==void 0&&(v=c.identifierPrefix),c.onUncaughtError!==void 0&&(w=c.onUncaughtError),c.onCaughtError!==void 0&&(M=c.onCaughtError),c.onRecoverableError!==void 0&&(L=c.onRecoverableError),c.unstable_transitionCallbacks!==void 0&&(X=c.unstable_transitionCallbacks),c.formState!==void 0&&(ee=c.formState)),l=m4(o,1,!0,l,c??null,m,v,w,M,L,X,ee),l.context=g4(null),c=l.current,m=rr(),m=ec(m),v=Do(m),v.callback=null,Po(c,v,m),c=m,l.current.lanes=c,Aa(l,c),hi(l),o[Co]=l.current,V1(o),new fm(l)},Zu.version="19.1.0",Zu}var K2;function Eae(){if(K2)return Kv.exports;K2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Kv.exports=_ae(),Kv.exports}var Cae=Eae();const kae=(e,t)=>{t===void 0&&(t={});const{element:n,eleid:r}=typeof e=="string"?{element:document.getElementById(e),eleid:e}:{element:e,eleid:e.id};Cae.createRoot(n).render(_.jsx(C.StrictMode,{children:_.jsx(xae,{...t,id:t.id||r})}))};window.FuncNodes=kae,window.FuncNodes.version="0.4.8"})();
|
825
|
+
`).replace(Qse,"")}function J5(o,l){return l=Q5(l),Q5(o)===l}function Jp(){}function ut(o,l,c,m,v,w){switch(c){case"children":typeof m=="string"?l==="body"||l==="textarea"&&m===""||Zs(o,m):(typeof m=="number"||typeof m=="bigint")&&l!=="body"&&Zs(o,""+m);break;case"className":Gs(o,"class",m);break;case"tabIndex":Gs(o,"tabindex",m);break;case"dir":case"role":case"viewBox":case"width":case"height":Gs(o,c,m);break;case"style":tM(o,m,w);break;case"data":if(l!=="object"){Gs(o,"data",m);break}case"src":case"href":if(m===""&&(l!=="a"||c!=="href")){o.removeAttribute(c);break}if(m==null||typeof m=="function"||typeof m=="symbol"||typeof m=="boolean"){o.removeAttribute(c);break}m=sp(""+m),o.setAttribute(c,m);break;case"action":case"formAction":if(typeof m=="function"){o.setAttribute(c,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof w=="function"&&(c==="formAction"?(l!=="input"&&ut(o,l,"name",v.name,v,null),ut(o,l,"formEncType",v.formEncType,v,null),ut(o,l,"formMethod",v.formMethod,v,null),ut(o,l,"formTarget",v.formTarget,v,null)):(ut(o,l,"encType",v.encType,v,null),ut(o,l,"method",v.method,v,null),ut(o,l,"target",v.target,v,null)));if(m==null||typeof m=="symbol"||typeof m=="boolean"){o.removeAttribute(c);break}m=sp(""+m),o.setAttribute(c,m);break;case"onClick":m!=null&&(o.onclick=Jp);break;case"onScroll":m!=null&&Ge("scroll",o);break;case"onScrollEnd":m!=null&&Ge("scrollend",o);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(r(61));if(c=m.__html,c!=null){if(v.children!=null)throw Error(r(60));o.innerHTML=c}}break;case"multiple":o.multiple=m&&typeof m!="function"&&typeof m!="symbol";break;case"muted":o.muted=m&&typeof m!="function"&&typeof m!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(m==null||typeof m=="function"||typeof m=="boolean"||typeof m=="symbol"){o.removeAttribute("xlink:href");break}c=sp(""+m),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",c);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":m!=null&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(c,""+m):o.removeAttribute(c);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":m&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(c,""):o.removeAttribute(c);break;case"capture":case"download":m===!0?o.setAttribute(c,""):m!==!1&&m!=null&&typeof m!="function"&&typeof m!="symbol"?o.setAttribute(c,m):o.removeAttribute(c);break;case"cols":case"rows":case"size":case"span":m!=null&&typeof m!="function"&&typeof m!="symbol"&&!isNaN(m)&&1<=m?o.setAttribute(c,m):o.removeAttribute(c);break;case"rowSpan":case"start":m==null||typeof m=="function"||typeof m=="symbol"||isNaN(m)?o.removeAttribute(c):o.setAttribute(c,m);break;case"popover":Ge("beforetoggle",o),Ge("toggle",o),Ys(o,"popover",m);break;case"xlinkActuate":jr(o,"http://www.w3.org/1999/xlink","xlink:actuate",m);break;case"xlinkArcrole":jr(o,"http://www.w3.org/1999/xlink","xlink:arcrole",m);break;case"xlinkRole":jr(o,"http://www.w3.org/1999/xlink","xlink:role",m);break;case"xlinkShow":jr(o,"http://www.w3.org/1999/xlink","xlink:show",m);break;case"xlinkTitle":jr(o,"http://www.w3.org/1999/xlink","xlink:title",m);break;case"xlinkType":jr(o,"http://www.w3.org/1999/xlink","xlink:type",m);break;case"xmlBase":jr(o,"http://www.w3.org/XML/1998/namespace","xml:base",m);break;case"xmlLang":jr(o,"http://www.w3.org/XML/1998/namespace","xml:lang",m);break;case"xmlSpace":jr(o,"http://www.w3.org/XML/1998/namespace","xml:space",m);break;case"is":Ys(o,"is",m);break;case"innerText":case"textContent":break;default:(!(2<c.length)||c[0]!=="o"&&c[0]!=="O"||c[1]!=="n"&&c[1]!=="N")&&(c=Tae.get(c)||c,Ys(o,c,m))}}function q1(o,l,c,m,v,w){switch(c){case"style":tM(o,m,w);break;case"dangerouslySetInnerHTML":if(m!=null){if(typeof m!="object"||!("__html"in m))throw Error(r(61));if(c=m.__html,c!=null){if(v.children!=null)throw Error(r(60));o.innerHTML=c}}break;case"children":typeof m=="string"?Zs(o,m):(typeof m=="number"||typeof m=="bigint")&&Zs(o,""+m);break;case"onScroll":m!=null&&Ge("scroll",o);break;case"onScrollEnd":m!=null&&Ge("scrollend",o);break;case"onClick":m!=null&&(o.onclick=Jp);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Jh.hasOwnProperty(c))e:{if(c[0]==="o"&&c[1]==="n"&&(v=c.endsWith("Capture"),l=c.slice(2,v?c.length-7:void 0),w=o[pn]||null,w=w!=null?w[c]:null,typeof w=="function"&&o.removeEventListener(l,w,v),typeof m=="function")){typeof w!="function"&&w!==null&&(c in o?o[c]=null:o.hasAttribute(c)&&o.removeAttribute(c)),o.addEventListener(l,m,v);break e}c in o?o[c]=m:m===!0?o.setAttribute(c,""):Ys(o,c,m)}}}function on(o,l,c){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ge("error",o),Ge("load",o);var m=!1,v=!1,w;for(w in c)if(c.hasOwnProperty(w)){var M=c[w];if(M!=null)switch(w){case"src":m=!0;break;case"srcSet":v=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:ut(o,l,w,M,c,null)}}v&&ut(o,l,"srcSet",c.srcSet,c,null),m&&ut(o,l,"src",c.src,c,null);return;case"input":Ge("invalid",o);var L=w=M=v=null,X=null,ee=null;for(m in c)if(c.hasOwnProperty(m)){var ue=c[m];if(ue!=null)switch(m){case"name":v=ue;break;case"type":M=ue;break;case"checked":X=ue;break;case"defaultChecked":ee=ue;break;case"value":w=ue;break;case"defaultValue":L=ue;break;case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(r(137,l));break;default:ut(o,l,m,ue,c,null)}}Z2(o,w,L,X,ee,M,v,!1),Xs(o);return;case"select":Ge("invalid",o),m=M=w=null;for(v in c)if(c.hasOwnProperty(v)&&(L=c[v],L!=null))switch(v){case"value":w=L;break;case"defaultValue":M=L;break;case"multiple":m=L;default:ut(o,l,v,L,c,null)}l=w,c=M,o.multiple=!!m,l!=null?Ks(o,!!m,l,!1):c!=null&&Ks(o,!!m,c,!0);return;case"textarea":Ge("invalid",o),w=v=m=null;for(M in c)if(c.hasOwnProperty(M)&&(L=c[M],L!=null))switch(M){case"value":m=L;break;case"defaultValue":v=L;break;case"children":w=L;break;case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(91));break;default:ut(o,l,M,L,c,null)}J2(o,m,v,w),Xs(o);return;case"option":for(X in c)if(c.hasOwnProperty(X)&&(m=c[X],m!=null))switch(X){case"selected":o.selected=m&&typeof m!="function"&&typeof m!="symbol";break;default:ut(o,l,X,m,c,null)}return;case"dialog":Ge("beforetoggle",o),Ge("toggle",o),Ge("cancel",o),Ge("close",o);break;case"iframe":case"object":Ge("load",o);break;case"video":case"audio":for(m=0;m<Vc.length;m++)Ge(Vc[m],o);break;case"image":Ge("error",o),Ge("load",o);break;case"details":Ge("toggle",o);break;case"embed":case"source":case"link":Ge("error",o),Ge("load",o);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ee in c)if(c.hasOwnProperty(ee)&&(m=c[ee],m!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:ut(o,l,ee,m,c,null)}return;default:if(sb(l)){for(ue in c)c.hasOwnProperty(ue)&&(m=c[ue],m!==void 0&&q1(o,l,ue,m,c,void 0));return}}for(L in c)c.hasOwnProperty(L)&&(m=c[L],m!=null&&ut(o,l,L,m,c,null))}function Jse(o,l,c,m){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var v=null,w=null,M=null,L=null,X=null,ee=null,ue=null;for(ne in c){var de=c[ne];if(c.hasOwnProperty(ne)&&de!=null)switch(ne){case"checked":break;case"value":break;case"defaultValue":X=de;default:m.hasOwnProperty(ne)||ut(o,l,ne,null,m,de)}}for(var te in m){var ne=m[te];if(de=c[te],m.hasOwnProperty(te)&&(ne!=null||de!=null))switch(te){case"type":w=ne;break;case"name":v=ne;break;case"checked":ee=ne;break;case"defaultChecked":ue=ne;break;case"value":M=ne;break;case"defaultValue":L=ne;break;case"children":case"dangerouslySetInnerHTML":if(ne!=null)throw Error(r(137,l));break;default:ne!==de&&ut(o,l,te,ne,m,de)}}Ws(o,M,L,X,ee,ue,w,v);return;case"select":ne=M=L=te=null;for(w in c)if(X=c[w],c.hasOwnProperty(w)&&X!=null)switch(w){case"value":break;case"multiple":ne=X;default:m.hasOwnProperty(w)||ut(o,l,w,null,m,X)}for(v in m)if(w=m[v],X=c[v],m.hasOwnProperty(v)&&(w!=null||X!=null))switch(v){case"value":te=w;break;case"defaultValue":L=w;break;case"multiple":M=w;default:w!==X&&ut(o,l,v,w,m,X)}l=L,c=M,m=ne,te!=null?Ks(o,!!c,te,!1):!!m!=!!c&&(l!=null?Ks(o,!!c,l,!0):Ks(o,!!c,c?[]:"",!1));return;case"textarea":ne=te=null;for(L in c)if(v=c[L],c.hasOwnProperty(L)&&v!=null&&!m.hasOwnProperty(L))switch(L){case"value":break;case"children":break;default:ut(o,l,L,null,m,v)}for(M in m)if(v=m[M],w=c[M],m.hasOwnProperty(M)&&(v!=null||w!=null))switch(M){case"value":te=v;break;case"defaultValue":ne=v;break;case"children":break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(91));break;default:v!==w&&ut(o,l,M,v,m,w)}Q2(o,te,ne);return;case"option":for(var je in c)if(te=c[je],c.hasOwnProperty(je)&&te!=null&&!m.hasOwnProperty(je))switch(je){case"selected":o.selected=!1;break;default:ut(o,l,je,null,m,te)}for(X in m)if(te=m[X],ne=c[X],m.hasOwnProperty(X)&&te!==ne&&(te!=null||ne!=null))switch(X){case"selected":o.selected=te&&typeof te!="function"&&typeof te!="symbol";break;default:ut(o,l,X,te,m,ne)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ne in c)te=c[Ne],c.hasOwnProperty(Ne)&&te!=null&&!m.hasOwnProperty(Ne)&&ut(o,l,Ne,null,m,te);for(ee in m)if(te=m[ee],ne=c[ee],m.hasOwnProperty(ee)&&te!==ne&&(te!=null||ne!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(r(137,l));break;default:ut(o,l,ee,te,m,ne)}return;default:if(sb(l)){for(var ct in c)te=c[ct],c.hasOwnProperty(ct)&&te!==void 0&&!m.hasOwnProperty(ct)&&q1(o,l,ct,void 0,m,te);for(ue in m)te=m[ue],ne=c[ue],!m.hasOwnProperty(ue)||te===ne||te===void 0&&ne===void 0||q1(o,l,ue,te,m,ne);return}}for(var Q in c)te=c[Q],c.hasOwnProperty(Q)&&te!=null&&!m.hasOwnProperty(Q)&&ut(o,l,Q,null,m,te);for(de in m)te=m[de],ne=c[de],!m.hasOwnProperty(de)||te===ne||te==null&&ne==null||ut(o,l,de,te,m,ne)}var Y1=null,G1=null;function em(o){return o.nodeType===9?o:o.ownerDocument}function e4(o){switch(o){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function t4(o,l){if(o===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return o===1&&l==="foreignObject"?0:o}function X1(o,l){return o==="textarea"||o==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var W1=null;function ele(){var o=window.event;return o&&o.type==="popstate"?o===W1?!1:(W1=o,!0):(W1=null,!1)}var n4=typeof setTimeout=="function"?setTimeout:void 0,tle=typeof clearTimeout=="function"?clearTimeout:void 0,r4=typeof Promise=="function"?Promise:void 0,nle=typeof queueMicrotask=="function"?queueMicrotask:typeof r4<"u"?function(o){return r4.resolve(null).then(o).catch(rle)}:n4;function rle(o){setTimeout(function(){throw o})}function Yo(o){return o==="head"}function i4(o,l){var c=l,m=0,v=0;do{var w=c.nextSibling;if(o.removeChild(c),w&&w.nodeType===8)if(c=w.data,c==="/$"){if(0<m&&8>m){c=m;var M=o.ownerDocument;if(c&1&&qc(M.documentElement),c&2&&qc(M.body),c&4)for(c=M.head,qc(c),M=c.firstChild;M;){var L=M.nextSibling,X=M.nodeName;M[Ta]||X==="SCRIPT"||X==="STYLE"||X==="LINK"&&M.rel.toLowerCase()==="stylesheet"||c.removeChild(M),M=L}}if(v===0){o.removeChild(w),Jc(l);return}v--}else c==="$"||c==="$?"||c==="$!"?v++:m=c.charCodeAt(0)-48;else m=0;c=w}while(c);Jc(l)}function K1(o){var l=o.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var c=l;switch(l=l.nextSibling,c.nodeName){case"HTML":case"HEAD":case"BODY":K1(c),rc(c);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(c.rel.toLowerCase()==="stylesheet")continue}o.removeChild(c)}}function ile(o,l,c,m){for(;o.nodeType===1;){var v=c;if(o.nodeName.toLowerCase()!==l.toLowerCase()){if(!m&&(o.nodeName!=="INPUT"||o.type!=="hidden"))break}else if(m){if(!o[Ta])switch(l){case"meta":if(!o.hasAttribute("itemprop"))break;return o;case"link":if(w=o.getAttribute("rel"),w==="stylesheet"&&o.hasAttribute("data-precedence"))break;if(w!==v.rel||o.getAttribute("href")!==(v.href==null||v.href===""?null:v.href)||o.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin)||o.getAttribute("title")!==(v.title==null?null:v.title))break;return o;case"style":if(o.hasAttribute("data-precedence"))break;return o;case"script":if(w=o.getAttribute("src"),(w!==(v.src==null?null:v.src)||o.getAttribute("type")!==(v.type==null?null:v.type)||o.getAttribute("crossorigin")!==(v.crossOrigin==null?null:v.crossOrigin))&&w&&o.hasAttribute("async")&&!o.hasAttribute("itemprop"))break;return o;default:return o}}else if(l==="input"&&o.type==="hidden"){var w=v.name==null?null:""+v.name;if(v.type==="hidden"&&o.getAttribute("name")===w)return o}else return o;if(o=Lr(o.nextSibling),o===null)break}return null}function ole(o,l,c){if(l==="")return null;for(;o.nodeType!==3;)if((o.nodeType!==1||o.nodeName!=="INPUT"||o.type!=="hidden")&&!c||(o=Lr(o.nextSibling),o===null))return null;return o}function Z1(o){return o.data==="$!"||o.data==="$?"&&o.ownerDocument.readyState==="complete"}function ale(o,l){var c=o.ownerDocument;if(o.data!=="$?"||c.readyState==="complete")l();else{var m=function(){l(),c.removeEventListener("DOMContentLoaded",m)};c.addEventListener("DOMContentLoaded",m),o._reactRetry=m}}function Lr(o){for(;o!=null;o=o.nextSibling){var l=o.nodeType;if(l===1||l===3)break;if(l===8){if(l=o.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return o}var Q1=null;function o4(o){o=o.previousSibling;for(var l=0;o;){if(o.nodeType===8){var c=o.data;if(c==="$"||c==="$!"||c==="$?"){if(l===0)return o;l--}else c==="/$"&&l++}o=o.previousSibling}return null}function a4(o,l,c){switch(l=em(c),o){case"html":if(o=l.documentElement,!o)throw Error(r(452));return o;case"head":if(o=l.head,!o)throw Error(r(453));return o;case"body":if(o=l.body,!o)throw Error(r(454));return o;default:throw Error(r(451))}}function qc(o){for(var l=o.attributes;l.length;)o.removeAttributeNode(l[0]);rc(o)}var xr=new Map,s4=new Set;function tm(o){return typeof o.getRootNode=="function"?o.getRootNode():o.nodeType===9?o:o.ownerDocument}var eo=B.d;B.d={f:sle,r:lle,D:ule,C:cle,L:fle,m:dle,X:ple,S:hle,M:mle};function sle(){var o=eo.f(),l=Yp();return o||l}function lle(o){var l=Fi(o);l!==null&&l.tag===5&&l.type==="form"?A3(l):eo.r(o)}var kl=typeof document>"u"?null:document;function l4(o,l,c){var m=kl;if(m&&typeof l=="string"&&l){var v=Pn(l);v='link[rel="'+o+'"][href="'+v+'"]',typeof c=="string"&&(v+='[crossorigin="'+c+'"]'),s4.has(v)||(s4.add(v),o={rel:o,crossOrigin:c,href:l},m.querySelector(v)===null&&(l=m.createElement("link"),on(l,"link",o),Vt(l),m.head.appendChild(l)))}}function ule(o){eo.D(o),l4("dns-prefetch",o,null)}function cle(o,l){eo.C(o,l),l4("preconnect",o,l)}function fle(o,l,c){eo.L(o,l,c);var m=kl;if(m&&o&&l){var v='link[rel="preload"][as="'+Pn(l)+'"]';l==="image"&&c&&c.imageSrcSet?(v+='[imagesrcset="'+Pn(c.imageSrcSet)+'"]',typeof c.imageSizes=="string"&&(v+='[imagesizes="'+Pn(c.imageSizes)+'"]')):v+='[href="'+Pn(o)+'"]';var w=v;switch(l){case"style":w=Al(o);break;case"script":w=Tl(o)}xr.has(w)||(o=h({rel:"preload",href:l==="image"&&c&&c.imageSrcSet?void 0:o,as:l},c),xr.set(w,o),m.querySelector(v)!==null||l==="style"&&m.querySelector(Yc(w))||l==="script"&&m.querySelector(Gc(w))||(l=m.createElement("link"),on(l,"link",o),Vt(l),m.head.appendChild(l)))}}function dle(o,l){eo.m(o,l);var c=kl;if(c&&o){var m=l&&typeof l.as=="string"?l.as:"script",v='link[rel="modulepreload"][as="'+Pn(m)+'"][href="'+Pn(o)+'"]',w=v;switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":w=Tl(o)}if(!xr.has(w)&&(o=h({rel:"modulepreload",href:o},l),xr.set(w,o),c.querySelector(v)===null)){switch(m){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(c.querySelector(Gc(w)))return}m=c.createElement("link"),on(m,"link",o),Vt(m),c.head.appendChild(m)}}}function hle(o,l,c){eo.S(o,l,c);var m=kl;if(m&&o){var v=ko(m).hoistableStyles,w=Al(o);l=l||"default";var M=v.get(w);if(!M){var L={loading:0,preload:null};if(M=m.querySelector(Yc(w)))L.loading=5;else{o=h({rel:"stylesheet",href:o,"data-precedence":l},c),(c=xr.get(w))&&J1(o,c);var X=M=m.createElement("link");Vt(X),on(X,"link",o),X._p=new Promise(function(ee,ue){X.onload=ee,X.onerror=ue}),X.addEventListener("load",function(){L.loading|=1}),X.addEventListener("error",function(){L.loading|=2}),L.loading|=4,nm(M,l,m)}M={type:"stylesheet",instance:M,count:1,state:L},v.set(w,M)}}}function ple(o,l){eo.X(o,l);var c=kl;if(c&&o){var m=ko(c).hoistableScripts,v=Tl(o),w=m.get(v);w||(w=c.querySelector(Gc(v)),w||(o=h({src:o,async:!0},l),(l=xr.get(v))&&ex(o,l),w=c.createElement("script"),Vt(w),on(w,"link",o),c.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},m.set(v,w))}}function mle(o,l){eo.M(o,l);var c=kl;if(c&&o){var m=ko(c).hoistableScripts,v=Tl(o),w=m.get(v);w||(w=c.querySelector(Gc(v)),w||(o=h({src:o,async:!0,type:"module"},l),(l=xr.get(v))&&ex(o,l),w=c.createElement("script"),Vt(w),on(w,"link",o),c.head.appendChild(w)),w={type:"script",instance:w,count:1,state:null},m.set(v,w))}}function u4(o,l,c,m){var v=(v=re.current)?tm(v):null;if(!v)throw Error(r(446));switch(o){case"meta":case"title":return null;case"style":return typeof c.precedence=="string"&&typeof c.href=="string"?(l=Al(c.href),c=ko(v).hoistableStyles,m=c.get(l),m||(m={type:"style",instance:null,count:0,state:null},c.set(l,m)),m):{type:"void",instance:null,count:0,state:null};case"link":if(c.rel==="stylesheet"&&typeof c.href=="string"&&typeof c.precedence=="string"){o=Al(c.href);var w=ko(v).hoistableStyles,M=w.get(o);if(M||(v=v.ownerDocument||v,M={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},w.set(o,M),(w=v.querySelector(Yc(o)))&&!w._p&&(M.instance=w,M.state.loading=5),xr.has(o)||(c={rel:"preload",as:"style",href:c.href,crossOrigin:c.crossOrigin,integrity:c.integrity,media:c.media,hrefLang:c.hrefLang,referrerPolicy:c.referrerPolicy},xr.set(o,c),w||gle(v,o,c,M.state))),l&&m===null)throw Error(r(528,""));return M}if(l&&m!==null)throw Error(r(529,""));return null;case"script":return l=c.async,c=c.src,typeof c=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Tl(c),c=ko(v).hoistableScripts,m=c.get(l),m||(m={type:"script",instance:null,count:0,state:null},c.set(l,m)),m):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,o))}}function Al(o){return'href="'+Pn(o)+'"'}function Yc(o){return'link[rel="stylesheet"]['+o+"]"}function c4(o){return h({},o,{"data-precedence":o.precedence,precedence:null})}function gle(o,l,c,m){o.querySelector('link[rel="preload"][as="style"]['+l+"]")?m.loading=1:(l=o.createElement("link"),m.preload=l,l.addEventListener("load",function(){return m.loading|=1}),l.addEventListener("error",function(){return m.loading|=2}),on(l,"link",c),Vt(l),o.head.appendChild(l))}function Tl(o){return'[src="'+Pn(o)+'"]'}function Gc(o){return"script[async]"+o}function f4(o,l,c){if(l.count++,l.instance===null)switch(l.type){case"style":var m=o.querySelector('style[data-href~="'+Pn(c.href)+'"]');if(m)return l.instance=m,Vt(m),m;var v=h({},c,{"data-href":c.href,"data-precedence":c.precedence,href:null,precedence:null});return m=(o.ownerDocument||o).createElement("style"),Vt(m),on(m,"style",v),nm(m,c.precedence,o),l.instance=m;case"stylesheet":v=Al(c.href);var w=o.querySelector(Yc(v));if(w)return l.state.loading|=4,l.instance=w,Vt(w),w;m=c4(c),(v=xr.get(v))&&J1(m,v),w=(o.ownerDocument||o).createElement("link"),Vt(w);var M=w;return M._p=new Promise(function(L,X){M.onload=L,M.onerror=X}),on(w,"link",m),l.state.loading|=4,nm(w,c.precedence,o),l.instance=w;case"script":return w=Tl(c.src),(v=o.querySelector(Gc(w)))?(l.instance=v,Vt(v),v):(m=c,(v=xr.get(w))&&(m=h({},c),ex(m,v)),o=o.ownerDocument||o,v=o.createElement("script"),Vt(v),on(v,"link",m),o.head.appendChild(v),l.instance=v);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(m=l.instance,l.state.loading|=4,nm(m,c.precedence,o));return l.instance}function nm(o,l,c){for(var m=c.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=m.length?m[m.length-1]:null,w=v,M=0;M<m.length;M++){var L=m[M];if(L.dataset.precedence===l)w=L;else if(w!==v)break}w?w.parentNode.insertBefore(o,w.nextSibling):(l=c.nodeType===9?c.head:c,l.insertBefore(o,l.firstChild))}function J1(o,l){o.crossOrigin==null&&(o.crossOrigin=l.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=l.referrerPolicy),o.title==null&&(o.title=l.title)}function ex(o,l){o.crossOrigin==null&&(o.crossOrigin=l.crossOrigin),o.referrerPolicy==null&&(o.referrerPolicy=l.referrerPolicy),o.integrity==null&&(o.integrity=l.integrity)}var rm=null;function d4(o,l,c){if(rm===null){var m=new Map,v=rm=new Map;v.set(c,m)}else v=rm,m=v.get(c),m||(m=new Map,v.set(c,m));if(m.has(o))return m;for(m.set(o,null),c=c.getElementsByTagName(o),v=0;v<c.length;v++){var w=c[v];if(!(w[Ta]||w[Wt]||o==="link"&&w.getAttribute("rel")==="stylesheet")&&w.namespaceURI!=="http://www.w3.org/2000/svg"){var M=w.getAttribute(l)||"";M=o+M;var L=m.get(M);L?L.push(w):m.set(M,[w])}}return m}function h4(o,l,c){o=o.ownerDocument||o,o.head.insertBefore(c,l==="title"?o.querySelector("head > title"):null)}function yle(o,l,c){if(c===1||l.itemProp!=null)return!1;switch(o){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return o=l.disabled,typeof l.precedence=="string"&&o==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function p4(o){return!(o.type==="stylesheet"&&(o.state.loading&3)===0)}var Xc=null;function vle(){}function ble(o,l,c){if(Xc===null)throw Error(r(475));var m=Xc;if(l.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var v=Al(c.href),w=o.querySelector(Yc(v));if(w){o=w._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(m.count++,m=im.bind(m),o.then(m,m)),l.state.loading|=4,l.instance=w,Vt(w);return}w=o.ownerDocument||o,c=c4(c),(v=xr.get(v))&&J1(c,v),w=w.createElement("link"),Vt(w);var M=w;M._p=new Promise(function(L,X){M.onload=L,M.onerror=X}),on(w,"link",c),l.instance=w}m.stylesheets===null&&(m.stylesheets=new Map),m.stylesheets.set(l,o),(o=l.state.preload)&&(l.state.loading&3)===0&&(m.count++,l=im.bind(m),o.addEventListener("load",l),o.addEventListener("error",l))}}function xle(){if(Xc===null)throw Error(r(475));var o=Xc;return o.stylesheets&&o.count===0&&tx(o,o.stylesheets),0<o.count?function(l){var c=setTimeout(function(){if(o.stylesheets&&tx(o,o.stylesheets),o.unsuspend){var m=o.unsuspend;o.unsuspend=null,m()}},6e4);return o.unsuspend=l,function(){o.unsuspend=null,clearTimeout(c)}}:null}function im(){if(this.count--,this.count===0){if(this.stylesheets)tx(this,this.stylesheets);else if(this.unsuspend){var o=this.unsuspend;this.unsuspend=null,o()}}}var om=null;function tx(o,l){o.stylesheets=null,o.unsuspend!==null&&(o.count++,om=new Map,l.forEach(wle,o),om=null,im.call(o))}function wle(o,l){if(!(l.state.loading&4)){var c=om.get(o);if(c)var m=c.get(null);else{c=new Map,om.set(o,c);for(var v=o.querySelectorAll("link[data-precedence],style[data-precedence]"),w=0;w<v.length;w++){var M=v[w];(M.nodeName==="LINK"||M.getAttribute("media")!=="not all")&&(c.set(M.dataset.precedence,M),m=M)}m&&c.set(null,m)}v=l.instance,M=v.getAttribute("data-precedence"),w=c.get(M)||m,w===m&&c.set(null,v),c.set(M,v),this.count++,m=im.bind(this),v.addEventListener("load",m),v.addEventListener("error",m),w?w.parentNode.insertBefore(v,w.nextSibling):(o=o.nodeType===9?o.head:o,o.insertBefore(v,o.firstChild)),l.state.loading|=4}}var Wc={$$typeof:k,Provider:null,Consumer:null,_currentValue:q,_currentValue2:q,_threadCount:0};function Sle(o,l,c,m,v,w,M,L){this.tag=1,this.containerInfo=o,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qu(0),this.hiddenUpdates=Qu(null),this.identifierPrefix=m,this.onUncaughtError=v,this.onCaughtError=w,this.onRecoverableError=M,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=L,this.incompleteTransitions=new Map}function m4(o,l,c,m,v,w,M,L,X,ee,ue,de){return o=new Sle(o,l,c,M,L,X,ee,de),l=1,w===!0&&(l|=24),w=Jn(3,null,null,l),o.current=w,w.stateNode=o,l=zb(),l.refCount++,o.pooledCache=l,l.refCount++,w.memoizedState={element:m,isDehydrated:c,cache:l},Bb(w),o}function g4(o){return o?(o=ol,o):ol}function y4(o,l,c,m,v,w){v=g4(v),m.context===null?m.context=v:m.pendingContext=v,m=Do(l),m.payload={element:c},w=w===void 0?null:w,w!==null&&(m.callback=w),c=Po(o,m,l),c!==null&&(ir(c,o,l),Cc(c,o,l))}function v4(o,l){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var c=o.retryLane;o.retryLane=c!==0&&c<l?c:l}}function nx(o,l){v4(o,l),(o=o.alternate)&&v4(o,l)}function b4(o){if(o.tag===13){var l=il(o,67108864);l!==null&&ir(l,o,67108864),nx(o,67108864)}}var am=!0;function _le(o,l,c,m){var v=j.T;j.T=null;var w=B.p;try{B.p=2,rx(o,l,c,m)}finally{B.p=w,j.T=v}}function Ele(o,l,c,m){var v=j.T;j.T=null;var w=B.p;try{B.p=8,rx(o,l,c,m)}finally{B.p=w,j.T=v}}function rx(o,l,c,m){if(am){var v=ix(m);if(v===null)U1(o,l,m,sm,c),w4(o,m);else if(kle(v,o,l,c,m))m.stopPropagation();else if(w4(o,m),l&4&&-1<Cle.indexOf(o)){for(;v!==null;){var w=Fi(v);if(w!==null)switch(w.tag){case 3:if(w=w.stateNode,w.current.memoizedState.isDehydrated){var M=Sn(w.pendingLanes);if(M!==0){var L=w;for(L.pendingLanes|=2,L.entangledLanes|=2;M;){var X=1<<31-Ae(M);L.entanglements[1]|=X,M&=~X}hi(w),(ot&6)===0&&(Up=xt()+500,Hc(0))}}break;case 13:L=il(w,2),L!==null&&ir(L,w,2),Yp(),nx(w,2)}if(w=ix(m),w===null&&U1(o,l,m,sm,c),w===v)break;v=w}v!==null&&m.stopPropagation()}else U1(o,l,m,null,c)}}function ix(o){return o=ub(o),ox(o)}var sm=null;function ox(o){if(sm=null,o=Li(o),o!==null){var l=a(o);if(l===null)o=null;else{var c=l.tag;if(c===13){if(o=s(l),o!==null)return o;o=null}else if(c===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;o=null}else l!==o&&(o=null)}}return sm=o,null}function x4(o){switch(o){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Kn()){case Dr:return 2;case Nn:return 8;case dr:case Pe:return 32;case si:return 268435456;default:return 32}default:return 32}}var ax=!1,Go=null,Xo=null,Wo=null,Kc=new Map,Zc=new Map,Ko=[],Cle="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".split(" ");function w4(o,l){switch(o){case"focusin":case"focusout":Go=null;break;case"dragenter":case"dragleave":Xo=null;break;case"mouseover":case"mouseout":Wo=null;break;case"pointerover":case"pointerout":Kc.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zc.delete(l.pointerId)}}function Qc(o,l,c,m,v,w){return o===null||o.nativeEvent!==w?(o={blockedOn:l,domEventName:c,eventSystemFlags:m,nativeEvent:w,targetContainers:[v]},l!==null&&(l=Fi(l),l!==null&&b4(l)),o):(o.eventSystemFlags|=m,l=o.targetContainers,v!==null&&l.indexOf(v)===-1&&l.push(v),o)}function kle(o,l,c,m,v){switch(l){case"focusin":return Go=Qc(Go,o,l,c,m,v),!0;case"dragenter":return Xo=Qc(Xo,o,l,c,m,v),!0;case"mouseover":return Wo=Qc(Wo,o,l,c,m,v),!0;case"pointerover":var w=v.pointerId;return Kc.set(w,Qc(Kc.get(w)||null,o,l,c,m,v)),!0;case"gotpointercapture":return w=v.pointerId,Zc.set(w,Qc(Zc.get(w)||null,o,l,c,m,v)),!0}return!1}function S4(o){var l=Li(o.target);if(l!==null){var c=a(l);if(c!==null){if(l=c.tag,l===13){if(l=s(c),l!==null){o.blockedOn=l,eb(o.priority,function(){if(c.tag===13){var m=rr();m=ec(m);var v=il(c,m);v!==null&&ir(v,c,m),nx(c,m)}});return}}else if(l===3&&c.stateNode.current.memoizedState.isDehydrated){o.blockedOn=c.tag===3?c.stateNode.containerInfo:null;return}}}o.blockedOn=null}function lm(o){if(o.blockedOn!==null)return!1;for(var l=o.targetContainers;0<l.length;){var c=ix(o.nativeEvent);if(c===null){c=o.nativeEvent;var m=new c.constructor(c.type,c);lb=m,c.target.dispatchEvent(m),lb=null}else return l=Fi(c),l!==null&&b4(l),o.blockedOn=c,!1;l.shift()}return!0}function _4(o,l,c){lm(o)&&c.delete(l)}function Ale(){ax=!1,Go!==null&&lm(Go)&&(Go=null),Xo!==null&&lm(Xo)&&(Xo=null),Wo!==null&&lm(Wo)&&(Wo=null),Kc.forEach(_4),Zc.forEach(_4)}function um(o,l){o.blockedOn===l&&(o.blockedOn=null,ax||(ax=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Ale)))}var cm=null;function E4(o){cm!==o&&(cm=o,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){cm===o&&(cm=null);for(var l=0;l<o.length;l+=3){var c=o[l],m=o[l+1],v=o[l+2];if(typeof m!="function"){if(ox(m||c)===null)continue;break}var w=Fi(c);w!==null&&(o.splice(l,3),l-=3,o1(w,{pending:!0,data:v,method:c.method,action:m},m,v))}}))}function Jc(o){function l(X){return um(X,o)}Go!==null&&um(Go,o),Xo!==null&&um(Xo,o),Wo!==null&&um(Wo,o),Kc.forEach(l),Zc.forEach(l);for(var c=0;c<Ko.length;c++){var m=Ko[c];m.blockedOn===o&&(m.blockedOn=null)}for(;0<Ko.length&&(c=Ko[0],c.blockedOn===null);)S4(c),c.blockedOn===null&&Ko.shift();if(c=(o.ownerDocument||o).$$reactFormReplay,c!=null)for(m=0;m<c.length;m+=3){var v=c[m],w=c[m+1],M=v[pn]||null;if(typeof w=="function")M||E4(c);else if(M){var L=null;if(w&&w.hasAttribute("formAction")){if(v=w,M=w[pn]||null)L=M.formAction;else if(ox(v)!==null)continue}else L=M.action;typeof L=="function"?c[m+1]=L:(c.splice(m,3),m-=3),E4(c)}}}function sx(o){this._internalRoot=o}fm.prototype.render=sx.prototype.render=function(o){var l=this._internalRoot;if(l===null)throw Error(r(409));var c=l.current,m=rr();y4(c,m,o,l,null,null)},fm.prototype.unmount=sx.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var l=o.containerInfo;y4(o.current,2,null,o,null,null),Yp(),l[Co]=null}};function fm(o){this._internalRoot=o}fm.prototype.unstable_scheduleHydration=function(o){if(o){var l=Kh();o={blockedOn:null,target:o,priority:l};for(var c=0;c<Ko.length&&l!==0&&l<Ko[c].priority;c++);Ko.splice(c,0,o),c===0&&S4(o)}};var C4=t.version;if(C4!=="19.1.0")throw Error(r(527,C4,"19.1.0"));B.findDOMNode=function(o){var l=o._reactInternals;if(l===void 0)throw typeof o.render=="function"?Error(r(188)):(o=Object.keys(o).join(","),Error(r(268,o)));return o=f(l),o=o!==null?d(o):null,o=o===null?null:o.stateNode,o};var Tle={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var dm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dm.isDisabled&&dm.supportsFiber)try{ae=dm.inject(Tle),pe=dm}catch{}}return Zu.createRoot=function(o,l){if(!i(o))throw Error(r(299));var c=!1,m="",v=$3,w=H3,M=V3,L=null;return l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(v=l.onUncaughtError),l.onCaughtError!==void 0&&(w=l.onCaughtError),l.onRecoverableError!==void 0&&(M=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(L=l.unstable_transitionCallbacks)),l=m4(o,1,!1,null,null,c,m,v,w,M,L,null),o[Co]=l.current,V1(o),new sx(l)},Zu.hydrateRoot=function(o,l,c){if(!i(o))throw Error(r(299));var m=!1,v="",w=$3,M=H3,L=V3,X=null,ee=null;return c!=null&&(c.unstable_strictMode===!0&&(m=!0),c.identifierPrefix!==void 0&&(v=c.identifierPrefix),c.onUncaughtError!==void 0&&(w=c.onUncaughtError),c.onCaughtError!==void 0&&(M=c.onCaughtError),c.onRecoverableError!==void 0&&(L=c.onRecoverableError),c.unstable_transitionCallbacks!==void 0&&(X=c.unstable_transitionCallbacks),c.formState!==void 0&&(ee=c.formState)),l=m4(o,1,!0,l,c??null,m,v,w,M,L,X,ee),l.context=g4(null),c=l.current,m=rr(),m=ec(m),v=Do(m),v.callback=null,Po(c,v,m),c=m,l.current.lanes=c,Aa(l,c),hi(l),o[Co]=l.current,V1(o),new fm(l)},Zu.version="19.1.0",Zu}var K2;function Eae(){if(K2)return Kv.exports;K2=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Kv.exports=_ae(),Kv.exports}var Cae=Eae();const kae=(e,t)=>{t===void 0&&(t={});const{element:n,eleid:r}=typeof e=="string"?{element:document.getElementById(e),eleid:e}:{element:e,eleid:e.id};Cae.createRoot(n).render(_.jsx(C.StrictMode,{children:_.jsx(xae,{...t,id:t.id||r})}))};window.FuncNodes=kae,window.FuncNodes.version="0.4.9"})();
|