@x4b/webcomponent-banner 28.8.0 → 28.9.0

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.
@@ -1,4 +1,4 @@
1
- (function(me,Pe){typeof exports=="object"&&typeof module<"u"?Pe(exports):typeof define=="function"&&define.amd?define(["exports"],Pe):(me=typeof globalThis<"u"?globalThis:me||self,Pe(me.webcomponentBanner={}))})(this,function(me){"use strict";var hv=Object.defineProperty;var mv=(me,Pe,Xt)=>Pe in me?hv(me,Pe,{enumerable:!0,configurable:!0,writable:!0,value:Xt}):me[Pe]=Xt;var Ap=(me,Pe,Xt)=>(mv(me,typeof Pe!="symbol"?Pe+"":Pe,Xt),Xt);function Pe(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Xt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var x={exports:{}},A={};/**
1
+ (function(ve,Ie){typeof exports=="object"&&typeof module<"u"?Ie(exports):typeof define=="function"&&define.amd?define(["exports"],Ie):(ve=typeof globalThis<"u"?globalThis:ve||self,Ie(ve.webcomponentBanner={}))})(this,function(ve){"use strict";var Vv=Object.defineProperty;var Gv=(ve,Ie,Yt)=>Ie in ve?Vv(ve,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):ve[Ie]=Yt;var Wp=(ve,Ie,Yt)=>(Gv(ve,typeof Ie!="symbol"?Ie+"":Ie,Yt),Yt);function Ie(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var k={exports:{}},A={};/**
2
2
  * @license React
3
3
  * react.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var $n=Symbol.for("react.element"),Hp=Symbol.for("react.portal"),Dp=Symbol.for("react.fragment"),zp=Symbol.for("react.strict_mode"),Bp=Symbol.for("react.profiler"),Fp=Symbol.for("react.provider"),bp=Symbol.for("react.context"),Up=Symbol.for("react.forward_ref"),jp=Symbol.for("react.suspense"),Vp=Symbol.for("react.memo"),Gp=Symbol.for("react.lazy"),Ta=Symbol.iterator;function $p(e){return e===null||typeof e!="object"?null:(e=Ta&&e[Ta]||e["@@iterator"],typeof e=="function"?e:null)}var Na={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ca=Object.assign,Ra={};function dn(e,t,n){this.props=e,this.context=t,this.refs=Ra,this.updater=n||Na}dn.prototype.isReactComponent={},dn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},dn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Pa(){}Pa.prototype=dn.prototype;function Ni(e,t,n){this.props=e,this.context=t,this.refs=Ra,this.updater=n||Na}var Ci=Ni.prototype=new Pa;Ci.constructor=Ni,Ca(Ci,dn.prototype),Ci.isPureReactComponent=!0;var Ma=Array.isArray,_a=Object.prototype.hasOwnProperty,Ri={current:null},La={key:!0,ref:!0,__self:!0,__source:!0};function Ia(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)_a.call(t,r)&&!La.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){for(var a=Array(u),s=0;s<u;s++)a[s]=arguments[s+2];o.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)o[r]===void 0&&(o[r]=u[r]);return{$$typeof:$n,type:e,key:i,ref:l,props:o,_owner:Ri.current}}function Xp(e,t){return{$$typeof:$n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Pi(e){return typeof e=="object"&&e!==null&&e.$$typeof===$n}function Zp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Oa=/\/+/g;function Mi(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Zp(""+e.key):t.toString(36)}function Xr(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case $n:case Hp:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+Mi(l,0):r,Ma(o)?(n="",e!=null&&(n=e.replace(Oa,"$&/")+"/"),Xr(o,t,n,"",function(s){return s})):o!=null&&(Pi(o)&&(o=Xp(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(Oa,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",Ma(e))for(var u=0;u<e.length;u++){i=e[u];var a=r+Mi(i,u);l+=Xr(i,t,n,a,o)}else if(a=$p(e),typeof a=="function")for(e=a.call(e),u=0;!(i=e.next()).done;)i=i.value,a=r+Mi(i,u++),l+=Xr(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Zr(e,t,n){if(e==null)return e;var r=[],o=0;return Xr(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Wp(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ge={current:null},Wr={transition:null},Qp={ReactCurrentDispatcher:ge,ReactCurrentBatchConfig:Wr,ReactCurrentOwner:Ri};A.Children={map:Zr,forEach:function(e,t,n){Zr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Zr(e,function(){t++}),t},toArray:function(e){return Zr(e,function(t){return t})||[]},only:function(e){if(!Pi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},A.Component=dn,A.Fragment=Dp,A.Profiler=Bp,A.PureComponent=Ni,A.StrictMode=zp,A.Suspense=jp,A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qp,A.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ca({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=Ri.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(a in t)_a.call(t,a)&&!La.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&u!==void 0?u[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){u=Array(a);for(var s=0;s<a;s++)u[s]=arguments[s+2];r.children=u}return{$$typeof:$n,type:e.type,key:o,ref:i,props:r,_owner:l}},A.createContext=function(e){return e={$$typeof:bp,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Fp,_context:e},e.Consumer=e},A.createElement=Ia,A.createFactory=function(e){var t=Ia.bind(null,e);return t.type=e,t},A.createRef=function(){return{current:null}},A.forwardRef=function(e){return{$$typeof:Up,render:e}},A.isValidElement=Pi,A.lazy=function(e){return{$$typeof:Gp,_payload:{_status:-1,_result:e},_init:Wp}},A.memo=function(e,t){return{$$typeof:Vp,type:e,compare:t===void 0?null:t}},A.startTransition=function(e){var t=Wr.transition;Wr.transition={};try{e()}finally{Wr.transition=t}},A.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},A.useCallback=function(e,t){return ge.current.useCallback(e,t)},A.useContext=function(e){return ge.current.useContext(e)},A.useDebugValue=function(){},A.useDeferredValue=function(e){return ge.current.useDeferredValue(e)},A.useEffect=function(e,t){return ge.current.useEffect(e,t)},A.useId=function(){return ge.current.useId()},A.useImperativeHandle=function(e,t,n){return ge.current.useImperativeHandle(e,t,n)},A.useInsertionEffect=function(e,t){return ge.current.useInsertionEffect(e,t)},A.useLayoutEffect=function(e,t){return ge.current.useLayoutEffect(e,t)},A.useMemo=function(e,t){return ge.current.useMemo(e,t)},A.useReducer=function(e,t,n){return ge.current.useReducer(e,t,n)},A.useRef=function(e){return ge.current.useRef(e)},A.useState=function(e){return ge.current.useState(e)},A.useSyncExternalStore=function(e,t,n){return ge.current.useSyncExternalStore(e,t,n)},A.useTransition=function(){return ge.current.useTransition()},A.version="18.2.0",function(e){e.exports=A}(x);const Se=Xt(x.exports),Kp=Pe({__proto__:null,default:Se},[x.exports]);function Aa(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Aa(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function _i(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Aa(e))&&(r&&(r+=" "),r+=t);return r}var Qr={exports:{}},Xn={};/**
9
+ */var Yn=Symbol.for("react.element"),Qp=Symbol.for("react.portal"),Kp=Symbol.for("react.fragment"),Yp=Symbol.for("react.strict_mode"),Jp=Symbol.for("react.profiler"),qp=Symbol.for("react.provider"),eh=Symbol.for("react.context"),th=Symbol.for("react.forward_ref"),nh=Symbol.for("react.suspense"),rh=Symbol.for("react.memo"),oh=Symbol.for("react.lazy"),Hu=Symbol.iterator;function ih(e){return e===null||typeof e!="object"?null:(e=Hu&&e[Hu]||e["@@iterator"],typeof e=="function"?e:null)}var zu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Bu=Object.assign,bu={};function vn(e,t,n){this.props=e,this.context=t,this.refs=bu,this.updater=n||zu}vn.prototype.isReactComponent={},vn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},vn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Fu(){}Fu.prototype=vn.prototype;function Li(e,t,n){this.props=e,this.context=t,this.refs=bu,this.updater=n||zu}var Ii=Li.prototype=new Fu;Ii.constructor=Li,Bu(Ii,vn.prototype),Ii.isPureReactComponent=!0;var Uu=Array.isArray,ju=Object.prototype.hasOwnProperty,_i={current:null},Vu={key:!0,ref:!0,__self:!0,__source:!0};function Gu(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)ju.call(t,r)&&!Vu.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var u=Array(a),s=0;s<a;s++)u[s]=arguments[s+2];o.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Yn,type:e,key:i,ref:l,props:o,_owner:_i.current}}function lh(e,t){return{$$typeof:Yn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Oi(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yn}function ah(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var $u=/\/+/g;function Ai(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ah(""+e.key):t.toString(36)}function Kr(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Yn:case Qp:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+Ai(l,0):r,Uu(o)?(n="",e!=null&&(n=e.replace($u,"$&/")+"/"),Kr(o,t,n,"",function(s){return s})):o!=null&&(Oi(o)&&(o=lh(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace($u,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",Uu(e))for(var a=0;a<e.length;a++){i=e[a];var u=r+Ai(i,a);l+=Kr(i,t,n,u,o)}else if(u=ih(e),typeof u=="function")for(e=u.call(e),a=0;!(i=e.next()).done;)i=i.value,u=r+Ai(i,a++),l+=Kr(i,t,n,u,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Yr(e,t,n){if(e==null)return e;var r=[],o=0;return Kr(e,r,"","",function(i){return t.call(n,i,o++)}),r}function uh(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ye={current:null},Jr={transition:null},sh={ReactCurrentDispatcher:ye,ReactCurrentBatchConfig:Jr,ReactCurrentOwner:_i};A.Children={map:Yr,forEach:function(e,t,n){Yr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Yr(e,function(){t++}),t},toArray:function(e){return Yr(e,function(t){return t})||[]},only:function(e){if(!Oi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},A.Component=vn,A.Fragment=Kp,A.Profiler=Jp,A.PureComponent=Li,A.StrictMode=Yp,A.Suspense=nh,A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sh,A.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Bu({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=_i.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)ju.call(t,u)&&!Vu.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var s=0;s<u;s++)a[s]=arguments[s+2];r.children=a}return{$$typeof:Yn,type:e.type,key:o,ref:i,props:r,_owner:l}},A.createContext=function(e){return e={$$typeof:eh,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:qp,_context:e},e.Consumer=e},A.createElement=Gu,A.createFactory=function(e){var t=Gu.bind(null,e);return t.type=e,t},A.createRef=function(){return{current:null}},A.forwardRef=function(e){return{$$typeof:th,render:e}},A.isValidElement=Oi,A.lazy=function(e){return{$$typeof:oh,_payload:{_status:-1,_result:e},_init:uh}},A.memo=function(e,t){return{$$typeof:rh,type:e,compare:t===void 0?null:t}},A.startTransition=function(e){var t=Jr.transition;Jr.transition={};try{e()}finally{Jr.transition=t}},A.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},A.useCallback=function(e,t){return ye.current.useCallback(e,t)},A.useContext=function(e){return ye.current.useContext(e)},A.useDebugValue=function(){},A.useDeferredValue=function(e){return ye.current.useDeferredValue(e)},A.useEffect=function(e,t){return ye.current.useEffect(e,t)},A.useId=function(){return ye.current.useId()},A.useImperativeHandle=function(e,t,n){return ye.current.useImperativeHandle(e,t,n)},A.useInsertionEffect=function(e,t){return ye.current.useInsertionEffect(e,t)},A.useLayoutEffect=function(e,t){return ye.current.useLayoutEffect(e,t)},A.useMemo=function(e,t){return ye.current.useMemo(e,t)},A.useReducer=function(e,t,n){return ye.current.useReducer(e,t,n)},A.useRef=function(e){return ye.current.useRef(e)},A.useState=function(e){return ye.current.useState(e)},A.useSyncExternalStore=function(e,t,n){return ye.current.useSyncExternalStore(e,t,n)},A.useTransition=function(){return ye.current.useTransition()},A.version="18.2.0",function(e){e.exports=A}(k);const we=Yt(k.exports),ch=Ie({__proto__:null,default:we},[k.exports]);function Xu(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Xu(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Di(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Xu(e))&&(r&&(r+=" "),r+=t);return r}var qr={exports:{}},Jn={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.min.js
12
12
  *
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ha;function Yp(){if(Ha)return Xn;Ha=1;var e=Se,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(u,a,s){var f,m={},p=null,v=null;s!==void 0&&(p=""+s),a.key!==void 0&&(p=""+a.key),a.ref!==void 0&&(v=a.ref);for(f in a)r.call(a,f)&&!i.hasOwnProperty(f)&&(m[f]=a[f]);if(u&&u.defaultProps)for(f in a=u.defaultProps,a)m[f]===void 0&&(m[f]=a[f]);return{$$typeof:t,type:u,key:p,ref:v,props:m,_owner:o.current}}return Xn.Fragment=n,Xn.jsx=l,Xn.jsxs=l,Xn}(function(e){e.exports=Yp()})(Qr);const Jp=Qr.exports.Fragment,pn=Qr.exports.jsx,qp=Qr.exports.jsxs;function eh({label:e,className:t,...n}){return pn("div",{...n,className:_i("tw-inline-block tw-h-[1em] tw-w-[1em] tw-animate-spin tw-rounded-full tw-border-2 tw-border-solid tw-border-current tw-border-b-trnsparent tw-border-l-transparent",t),children:pn("p",{className:"tw-sr-only",children:e})})}const De=Se.forwardRef(({variant:e="solid",isLoading:t=!1,colorScheme:n="primary",size:r="base",compact:o=!1,rounded:i=!1,loadingLabel:l,children:u,className:a,as:s,disabled:f,...m},p)=>{const v=s||"button",y=f||t;return pn(v,{ref:p,disabled:y,className:_i("svg-block tw-relative tw-inline-block tw-font-sans tw-leading-normal tw-no-underline tw-transition-colors tw-duration-500 hover:tw-duration-150 focus:tw-outline-none",r==="sm"&&"tw-text-sm",r==="base"&&"tw-text-base",r==="lg"&&"tw-text-base lg:tw-text-lg",r==="xl"&&"tw-text-base lg:tw-text-lg xl:tw-text-xl",i?"tw-px-3":o?"tw-px-2":"tw-px-4",i?"tw-rounded-full tw-py-3":"tw-rounded-lg tw-py-2",y?"tw-cursor-default tw-opacity-40":"tw-cursor-pointer",e==="solid"&&["tw-rounded-lg tw-border tw-border-solid tw-py-2 tw-font-semibold focus-visible:tw-ring",n==="primary"&&["tw-bg-primary-600 tw-border-primary-600 focus-visible:tw-ring-primary-300 tw-text-white",!y&&"hover:tw-bg-primary-700 hover:tw-border-primary-700"],n==="accent"&&["tw-bg-accent-800 tw-border-accent-800 focus-visible:tw-ring-accent-300 tw-text-white",!y&&"hover:tw-bg-accent-900 hover:tw-border-accent-900"],n==="gray"&&["tw-border-gray-100 tw-bg-gray-100 tw-text-gray-700 focus-visible:tw-ring-gray-300 ",!y&&"hover:tw-border-gray-200 hover:tw-bg-gray-200 hover:tw-text-gray-900"],n==="red"&&["tw-border-red-700 tw-bg-red-700 tw-text-white focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-800"],n==="green"&&["tw-border-green-700 tw-bg-green-700 tw-text-white focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-800"]],e==="outline"&&["tw-border tw-border-solid tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-border-primary-600 tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-50 hover:tw-border-primary-700"],n==="accent"&&["tw-border-accent-800 tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-800 hover:tw-bg-accent-50"],n==="gray"&&["tw-border-gray-700 tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-700 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-border-red-800 tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-100 hover:tw-text-red-800"],n==="green"&&["tw-border-green-800 tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="ghost"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-100 hover:tw-border-primary-100"],n==="accent"&&["tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-50 hover:tw-bg-accent-50"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-100 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-100 hover:tw-bg-red-100 hover:tw-text-red-900"],n==="green"&&["tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-100 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="link"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent !tw-px-0 !tw-py-0 tw-font-medium hover:tw-underline focus:tw-outline-none focus-visible:tw-ring focus-visible:tw-ring-offset-2",n==="primary"&&["focus-visible:tw-ring-primary-300 tw-text-primary-700"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300"]],a),...m,children:pn(th,{isLoading:t,loadingLabel:l,children:u})})});function th({isLoading:e,loadingLabel:t,children:n}){return qp(Jp,{children:[pn("div",{className:_i("tw-block tw-transition-opacity",{"tw-opacity-0":e,"tw-opacity-100":!e}),children:n}),e&&pn(eh,{className:"tw-absolute tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-m-auto",label:t})]})}typeof window>"u"||Se.useLayoutEffect;var nh={width:"w",height:"h",x:"x",y:"y",quality:"q",if:"if",aspectRatio:"ar",rotate:"a",opacity:"o",radius:"r",dpr:"dpr",effect:"e",border:"bo",currentPage:"cp",preview:"preview:duration",duration:"du",faceCount:"fc",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags"};""+Object.keys(nh).join("|");var Kr=globalThis&&globalThis.__assign||function(){return Kr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Kr.apply(this,arguments)},Da={},rh=function(e){return Da=Kr(Kr({},Da),e)};rh({cloudName:"x4b"});var Li={exports:{}},Me={},za={exports:{}},Ba={};/**
17
+ */var Zu;function fh(){if(Zu)return Jn;Zu=1;var e=we,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(a,u,s){var f,m={},p=null,v=null;s!==void 0&&(p=""+s),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(v=u.ref);for(f in u)r.call(u,f)&&!i.hasOwnProperty(f)&&(m[f]=u[f]);if(a&&a.defaultProps)for(f in u=a.defaultProps,u)m[f]===void 0&&(m[f]=u[f]);return{$$typeof:t,type:a,key:p,ref:v,props:m,_owner:o.current}}return Jn.Fragment=n,Jn.jsx=l,Jn.jsxs=l,Jn}(function(e){e.exports=fh()})(qr);const dh=qr.exports.Fragment,yn=qr.exports.jsx,ph=qr.exports.jsxs;function hh({label:e,className:t,...n}){return yn("div",{...n,className:Di("tw-inline-block tw-h-[1em] tw-w-[1em] tw-animate-spin tw-rounded-full tw-border-2 tw-border-solid tw-border-current tw-border-b-trnsparent tw-border-l-transparent",t),children:yn("p",{className:"tw-sr-only",children:e})})}const _e=we.forwardRef(({variant:e="solid",isLoading:t=!1,colorScheme:n="primary",size:r="base",compact:o=!1,rounded:i=!1,loadingLabel:l,children:a,className:u,as:s,disabled:f,...m},p)=>{const v=s||"button",y=f||t;return yn(v,{ref:p,disabled:y,className:Di("svg-block tw-relative tw-inline-block tw-font-sans tw-leading-normal tw-no-underline tw-transition-colors tw-duration-500 hover:tw-duration-150 focus:tw-outline-none",r==="sm"&&"tw-text-sm",r==="base"&&"tw-text-base",r==="lg"&&"tw-text-base lg:tw-text-lg",r==="xl"&&"tw-text-base lg:tw-text-lg xl:tw-text-xl",i?"tw-px-3":o?"tw-px-2":"tw-px-4",i?"tw-rounded-full tw-py-3":"tw-rounded-lg tw-py-2",y?"tw-cursor-default tw-opacity-40":"tw-cursor-pointer",e==="solid"&&["tw-rounded-lg tw-border tw-border-solid tw-py-2 tw-font-semibold focus-visible:tw-ring",n==="primary"&&["tw-bg-primary-600 tw-border-primary-600 focus-visible:tw-ring-primary-300 tw-text-white",!y&&"hover:tw-bg-primary-700 hover:tw-border-primary-700"],n==="accent"&&["tw-bg-accent-800 tw-border-accent-800 focus-visible:tw-ring-accent-300 tw-text-white",!y&&"hover:tw-bg-accent-900 hover:tw-border-accent-900"],n==="gray"&&["tw-border-gray-100 tw-bg-gray-100 tw-text-gray-700 focus-visible:tw-ring-gray-300 ",!y&&"hover:tw-border-gray-200 hover:tw-bg-gray-200 hover:tw-text-gray-900"],n==="red"&&["tw-border-red-700 tw-bg-red-700 tw-text-white focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-800"],n==="green"&&["tw-border-green-700 tw-bg-green-700 tw-text-white focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-800"]],e==="outline"&&["tw-border tw-border-solid tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-border-primary-600 tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-50 hover:tw-border-primary-700"],n==="accent"&&["tw-border-accent-800 tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-800 hover:tw-bg-accent-50"],n==="gray"&&["tw-border-gray-700 tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-700 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-border-red-800 tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-800 hover:tw-bg-red-100 hover:tw-text-red-800"],n==="green"&&["tw-border-green-800 tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-800 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="ghost"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-py-2 tw-font-medium focus:tw-outline-none focus-visible:tw-ring",n==="primary"&&["tw-text-primary-600 focus-visible:tw-ring-primary-300",!y&&"hover:tw-text-primary-700 hover:tw-bg-primary-100 hover:tw-border-primary-100"],n==="accent"&&["tw-text-accent-800 focus-visible:tw-ring-accent-300",!y&&"hover:tw-text-accent-800 hover:tw-border-accent-50 hover:tw-bg-accent-50"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300",!y&&"hover:tw-border-gray-100 hover:tw-bg-gray-100 hover:tw-text-gray-700"],n==="red"&&["tw-text-red-800 focus-visible:tw-ring-red-300",!y&&"hover:tw-border-red-100 hover:tw-bg-red-100 hover:tw-text-red-900"],n==="green"&&["tw-text-green-800 focus-visible:tw-ring-green-300",!y&&"hover:tw-border-green-100 hover:tw-bg-green-100 hover:tw-text-green-800"]],e==="link"&&["tw-border tw-border-solid tw-border-transparent tw-bg-transparent !tw-px-0 !tw-py-0 tw-font-medium hover:tw-underline focus:tw-outline-none focus-visible:tw-ring focus-visible:tw-ring-offset-2",n==="primary"&&["focus-visible:tw-ring-primary-300 tw-text-primary-700"],n==="gray"&&["tw-text-gray-700 focus-visible:tw-ring-gray-300"]],u),...m,children:yn(mh,{isLoading:t,loadingLabel:l,children:a})})});function mh({isLoading:e,loadingLabel:t,children:n}){return ph(dh,{children:[yn("div",{className:Di("tw-block tw-transition-opacity",{"tw-opacity-0":e,"tw-opacity-100":!e}),children:n}),e&&yn(hh,{className:"tw-absolute tw-top-0 tw-right-0 tw-bottom-0 tw-left-0 tw-m-auto",label:t})]})}typeof window>"u"||we.useLayoutEffect;var gh={width:"w",height:"h",x:"x",y:"y",quality:"q",if:"if",aspectRatio:"ar",rotate:"a",opacity:"o",radius:"r",dpr:"dpr",effect:"e",border:"bo",currentPage:"cp",preview:"preview:duration",duration:"du",faceCount:"fc",initialAspectRatio:"iar",initialDuration:"idu",initialHeight:"ih",initialWidth:"iw",pageCount:"pc",pageX:"px",pageY:"py",tags:"tags"};""+Object.keys(gh).join("|");var eo=globalThis&&globalThis.__assign||function(){return eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},eo.apply(this,arguments)},Wu={},vh=function(e){return Wu=eo(eo({},Wu),e)};vh({cloudName:"x4b"});var Hi={exports:{}},Oe={},Qu={exports:{}},Ku={};/**
18
18
  * @license React
19
19
  * scheduler.production.min.js
20
20
  *
@@ -22,7 +22,7 @@
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */(function(e){function t(C,L){var I=C.length;C.push(L);e:for(;0<I;){var Y=I-1>>>1,te=C[Y];if(0<o(te,L))C[Y]=L,C[I]=te,I=Y;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var L=C[0],I=C.pop();if(I!==L){C[0]=I;e:for(var Y=0,te=C.length,Gn=te>>>1;Y<Gn;){var yt=2*(Y+1)-1,$r=C[yt],wt=yt+1,U=C[wt];if(0>o($r,I))wt<te&&0>o(U,$r)?(C[Y]=U,C[wt]=I,Y=wt):(C[Y]=$r,C[yt]=I,Y=yt);else if(wt<te&&0>o(U,I))C[Y]=U,C[wt]=I,Y=wt;else break e}}return L}function o(C,L){var I=C.sortIndex-L.sortIndex;return I!==0?I:C.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var a=[],s=[],f=1,m=null,p=3,v=!1,y=!1,E=!1,N=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(C){for(var L=n(s);L!==null;){if(L.callback===null)r(s);else if(L.startTime<=C)r(s),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(s)}}function w(C){if(E=!1,d(C),!y)if(n(a)!==null)y=!0,Gt(g);else{var L=n(s);L!==null&&Gr(w,L.startTime-C)}}function g(C,L){y=!1,E&&(E=!1,h(_),_=-1),v=!0;var I=p;try{for(d(L),m=n(a);m!==null&&(!(m.expirationTime>L)||C&&!he());){var Y=m.callback;if(typeof Y=="function"){m.callback=null,p=m.priorityLevel;var te=Y(m.expirationTime<=L);L=e.unstable_now(),typeof te=="function"?m.callback=te:m===n(a)&&r(a),d(L)}else r(a);m=n(a)}if(m!==null)var Gn=!0;else{var yt=n(s);yt!==null&&Gr(w,yt.startTime-L),Gn=!1}return Gn}finally{m=null,p=I,v=!1}}var T=!1,P=null,_=-1,K=5,O=-1;function he(){return!(e.unstable_now()-O<K)}function Vt(){if(P!==null){var C=e.unstable_now();O=C;var L=!0;try{L=P(!0,C)}finally{L?fn():(T=!1,P=null)}}else T=!1}var fn;if(typeof c=="function")fn=function(){c(Vt)};else if(typeof MessageChannel<"u"){var Ti=new MessageChannel,Ye=Ti.port2;Ti.port1.onmessage=Vt,fn=function(){Ye.postMessage(null)}}else fn=function(){N(Vt,0)};function Gt(C){P=C,T||(T=!0,fn())}function Gr(C,L){_=N(function(){C(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,Gt(g))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(C){switch(p){case 1:case 2:case 3:var L=3;break;default:L=p}var I=p;p=L;try{return C()}finally{p=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,L){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var I=p;p=C;try{return L()}finally{p=I}},e.unstable_scheduleCallback=function(C,L,I){var Y=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?Y+I:Y):I=Y,C){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=I+te,C={id:f++,callback:L,priorityLevel:C,startTime:I,expirationTime:te,sortIndex:-1},I>Y?(C.sortIndex=I,t(s,C),n(a)===null&&C===n(s)&&(E?(h(_),_=-1):E=!0,Gr(w,I-Y))):(C.sortIndex=te,t(a,C),y||v||(y=!0,Gt(g))),C},e.unstable_shouldYield=he,e.unstable_wrapCallback=function(C){var L=p;return function(){var I=p;p=L;try{return C.apply(this,arguments)}finally{p=I}}}})(Ba),function(e){e.exports=Ba}(za);/**
25
+ */(function(e){function t(C,I){var O=C.length;C.push(I);e:for(;0<O;){var Y=O-1>>>1,ne=C[Y];if(0<o(ne,I))C[Y]=I,C[O]=ne,O=Y;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var I=C[0],O=C.pop();if(O!==I){C[0]=O;e:for(var Y=0,ne=C.length,Kn=ne>>>1;Y<Kn;){var Tt=2*(Y+1)-1,Qr=C[Tt],Nt=Tt+1,U=C[Nt];if(0>o(Qr,O))Nt<ne&&0>o(U,Qr)?(C[Y]=U,C[Nt]=O,Y=Nt):(C[Y]=Qr,C[Tt]=O,Y=Tt);else if(Nt<ne&&0>o(U,O))C[Y]=U,C[Nt]=O,Y=Nt;else break e}}return I}function o(C,I){var O=C.sortIndex-I.sortIndex;return O!==0?O:C.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],f=1,m=null,p=3,v=!1,y=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(C){for(var I=n(s);I!==null;){if(I.callback===null)r(s);else if(I.startTime<=C)r(s),I.sortIndex=I.expirationTime,t(u,I);else break;I=n(s)}}function E(C){if(w=!1,d(C),!y)if(n(u)!==null)y=!0,tt(g);else{var I=n(s);I!==null&&Wr(E,I.startTime-C)}}function g(C,I){y=!1,w&&(w=!1,h(P),P=-1),v=!0;var O=p;try{for(d(I),m=n(u);m!==null&&(!(m.expirationTime>I)||C&&!ue());){var Y=m.callback;if(typeof Y=="function"){m.callback=null,p=m.priorityLevel;var ne=Y(m.expirationTime<=I);I=e.unstable_now(),typeof ne=="function"?m.callback=ne:m===n(u)&&r(u),d(I)}else r(u);m=n(u)}if(m!==null)var Kn=!0;else{var Tt=n(s);Tt!==null&&Wr(E,Tt.startTime-I),Kn=!1}return Kn}finally{m=null,p=O,v=!1}}var x=!1,R=null,P=-1,V=5,_=-1;function ue(){return!(e.unstable_now()-_<V)}function ft(){if(R!==null){var C=e.unstable_now();_=C;var I=!0;try{I=R(!0,C)}finally{I?xt():(x=!1,R=null)}}else x=!1}var xt;if(typeof c=="function")xt=function(){c(ft)};else if(typeof MessageChannel<"u"){var Te=new MessageChannel,ie=Te.port2;Te.port1.onmessage=ft,xt=function(){ie.postMessage(null)}}else xt=function(){N(ft,0)};function tt(C){R=C,x||(x=!0,xt())}function Wr(C,I){P=N(function(){C(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,tt(g))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(C){switch(p){case 1:case 2:case 3:var I=3;break;default:I=p}var O=p;p=I;try{return C()}finally{p=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,I){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var O=p;p=C;try{return I()}finally{p=O}},e.unstable_scheduleCallback=function(C,I,O){var Y=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?Y+O:Y):O=Y,C){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=O+ne,C={id:f++,callback:I,priorityLevel:C,startTime:O,expirationTime:ne,sortIndex:-1},O>Y?(C.sortIndex=O,t(s,C),n(u)===null&&C===n(s)&&(w?(h(P),P=-1):w=!0,Wr(E,O-Y))):(C.sortIndex=ne,t(u,C),y||v||(y=!0,tt(g))),C},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function(C){var I=p;return function(){var O=p;p=I;try{return C.apply(this,arguments)}finally{p=O}}}})(Ku),function(e){e.exports=Ku}(Qu);/**
26
26
  * @license React
27
27
  * react-dom.production.min.js
28
28
  *
@@ -30,42 +30,42 @@
30
30
  *
31
31
  * This source code is licensed under the MIT license found in the
32
32
  * LICENSE file in the root directory of this source tree.
33
- */var Fa=x.exports,_e=za.exports;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ba=new Set,Zn={};function Zt(e,t){hn(e,t),hn(e+"Capture",t)}function hn(e,t){for(Zn[e]=t,e=0;e<t.length;e++)ba.add(t[e])}var ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ii=Object.prototype.hasOwnProperty,oh=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ua={},ja={};function ih(e){return Ii.call(ja,e)?!0:Ii.call(Ua,e)?!1:oh.test(e)?ja[e]=!0:(Ua[e]=!0,!1)}function lh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function uh(e,t,n,r){if(t===null||typeof t>"u"||lh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ve(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){le[e]=new ve(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];le[t]=new ve(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){le[e]=new ve(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){le[e]=new ve(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){le[e]=new ve(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){le[e]=new ve(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){le[e]=new ve(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){le[e]=new ve(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){le[e]=new ve(e,5,!1,e.toLowerCase(),null,!1,!1)});var Oi=/[\-:]([a-z])/g;function Ai(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Oi,Ai);le[t]=new ve(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Oi,Ai);le[t]=new ve(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Oi,Ai);le[t]=new ve(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){le[e]=new ve(e,1,!1,e.toLowerCase(),null,!1,!1)}),le.xlinkHref=new ve("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){le[e]=new ve(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hi(e,t,n,r){var o=le.hasOwnProperty(t)?le[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(uh(t,n,o,r)&&(n=null),r||o===null?ih(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var at=Fa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Yr=Symbol.for("react.element"),mn=Symbol.for("react.portal"),gn=Symbol.for("react.fragment"),Di=Symbol.for("react.strict_mode"),zi=Symbol.for("react.profiler"),Va=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),Bi=Symbol.for("react.forward_ref"),Fi=Symbol.for("react.suspense"),bi=Symbol.for("react.suspense_list"),Ui=Symbol.for("react.memo"),Et=Symbol.for("react.lazy"),$a=Symbol.for("react.offscreen"),Xa=Symbol.iterator;function Wn(e){return e===null||typeof e!="object"?null:(e=Xa&&e[Xa]||e["@@iterator"],typeof e=="function"?e:null)}var Z=Object.assign,ji;function Qn(e){if(ji===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ji=t&&t[1]||""}return`
34
- `+ji+e}var Vi=!1;function Gi(e,t){if(!e||Vi)return"";Vi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var o=s.stack.split(`
33
+ */var Yu=k.exports,Ae=Qu.exports;function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ju=new Set,qn={};function Jt(e,t){wn(e,t),wn(e+"Capture",t)}function wn(e,t){for(qn[e]=t,e=0;e<t.length;e++)Ju.add(t[e])}var dt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zi=Object.prototype.hasOwnProperty,yh=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qu={},es={};function wh(e){return zi.call(es,e)?!0:zi.call(qu,e)?!1:yh.test(e)?es[e]=!0:(qu[e]=!0,!1)}function Eh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Sh(e,t,n,r){if(t===null||typeof t>"u"||Eh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){se[e]=new Ee(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];se[t]=new Ee(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){se[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){se[e]=new Ee(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){se[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){se[e]=new Ee(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){se[e]=new Ee(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){se[e]=new Ee(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){se[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var Bi=/[\-:]([a-z])/g;function bi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Bi,bi);se[t]=new Ee(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Bi,bi);se[t]=new Ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Bi,bi);se[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){se[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)}),se.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){se[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function Fi(e,t,n,r){var o=se.hasOwnProperty(t)?se[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Sh(t,n,o,r)&&(n=null),r||o===null?wh(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var pt=Yu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,to=Symbol.for("react.element"),En=Symbol.for("react.portal"),Sn=Symbol.for("react.fragment"),Ui=Symbol.for("react.strict_mode"),ji=Symbol.for("react.profiler"),ts=Symbol.for("react.provider"),ns=Symbol.for("react.context"),Vi=Symbol.for("react.forward_ref"),Gi=Symbol.for("react.suspense"),$i=Symbol.for("react.suspense_list"),Xi=Symbol.for("react.memo"),Rt=Symbol.for("react.lazy"),rs=Symbol.for("react.offscreen"),os=Symbol.iterator;function er(e){return e===null||typeof e!="object"?null:(e=os&&e[os]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,Zi;function tr(e){if(Zi===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Zi=t&&t[1]||""}return`
34
+ `+Zi+e}var Wi=!1;function Qi(e,t){if(!e||Wi)return"";Wi=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var o=s.stack.split(`
35
35
  `),i=r.stack.split(`
36
- `),l=o.length-1,u=i.length-1;1<=l&&0<=u&&o[l]!==i[u];)u--;for(;1<=l&&0<=u;l--,u--)if(o[l]!==i[u]){if(l!==1||u!==1)do if(l--,u--,0>u||o[l]!==i[u]){var a=`
37
- `+o[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=u);break}}}finally{Vi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qn(e):""}function ah(e){switch(e.tag){case 5:return Qn(e.type);case 16:return Qn("Lazy");case 13:return Qn("Suspense");case 19:return Qn("SuspenseList");case 0:case 2:case 15:return e=Gi(e.type,!1),e;case 11:return e=Gi(e.type.render,!1),e;case 1:return e=Gi(e.type,!0),e;default:return""}}function $i(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case gn:return"Fragment";case mn:return"Portal";case zi:return"Profiler";case Di:return"StrictMode";case Fi:return"Suspense";case bi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ga:return(e.displayName||"Context")+".Consumer";case Va:return(e._context.displayName||"Context")+".Provider";case Bi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ui:return t=e.displayName||null,t!==null?t:$i(e.type)||"Memo";case Et:t=e._payload,e=e._init;try{return $i(e(t))}catch{}}return null}function sh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $i(t);case 8:return t===Di?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function St(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Za(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ch(e){var t=Za(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jr(e){e._valueTracker||(e._valueTracker=ch(e))}function Wa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Za(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Xi(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Qa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=St(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ka(e,t){t=t.checked,t!=null&&Hi(e,"checked",t,!1)}function Zi(e,t){Ka(e,t);var n=St(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Wi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Wi(e,t.type,St(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ya(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Wi(e,t,n){(t!=="number"||qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Kn=Array.isArray;function vn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+St(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Qi(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(k(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ja(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(k(92));if(Kn(n)){if(1<n.length)throw Error(k(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:St(n)}}function qa(e,t){var n=St(t.value),r=St(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function es(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ts(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ki(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ts(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var eo,ns=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(eo=eo||document.createElement("div"),eo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=eo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Jn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fh=["Webkit","ms","Moz","O"];Object.keys(Jn).forEach(function(e){fh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jn[t]=Jn[e]})});function rs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Jn.hasOwnProperty(e)&&Jn[e]?(""+t).trim():t+"px"}function os(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=rs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var dh=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Yi(e,t){if(t){if(dh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Ji(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qi=null;function el(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tl=null,yn=null,wn=null;function is(e){if(e=Er(e)){if(typeof tl!="function")throw Error(k(280));var t=e.stateNode;t&&(t=To(t),tl(e.stateNode,e.type,t))}}function ls(e){yn?wn?wn.push(e):wn=[e]:yn=e}function us(){if(yn){var e=yn,t=wn;if(wn=yn=null,is(e),t)for(e=0;e<t.length;e++)is(t[e])}}function as(e,t){return e(t)}function ss(){}var nl=!1;function cs(e,t,n){if(nl)return e(t,n);nl=!0;try{return as(e,t,n)}finally{nl=!1,(yn!==null||wn!==null)&&(ss(),us())}}function qn(e,t){var n=e.stateNode;if(n===null)return null;var r=To(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(k(231,t,typeof n));return n}var rl=!1;if(ut)try{var er={};Object.defineProperty(er,"passive",{get:function(){rl=!0}}),window.addEventListener("test",er,er),window.removeEventListener("test",er,er)}catch{rl=!1}function ph(e,t,n,r,o,i,l,u,a){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(f){this.onError(f)}}var tr=!1,to=null,no=!1,ol=null,hh={onError:function(e){tr=!0,to=e}};function mh(e,t,n,r,o,i,l,u,a){tr=!1,to=null,ph.apply(hh,arguments)}function gh(e,t,n,r,o,i,l,u,a){if(mh.apply(this,arguments),tr){if(tr){var s=to;tr=!1,to=null}else throw Error(k(198));no||(no=!0,ol=s)}}function Wt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function fs(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ds(e){if(Wt(e)!==e)throw Error(k(188))}function vh(e){var t=e.alternate;if(!t){if(t=Wt(e),t===null)throw Error(k(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return ds(o),e;if(i===r)return ds(o),t;i=i.sibling}throw Error(k(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(k(189))}}if(n.alternate!==r)throw Error(k(190))}if(n.tag!==3)throw Error(k(188));return n.stateNode.current===n?e:t}function ps(e){return e=vh(e),e!==null?hs(e):null}function hs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=hs(e);if(t!==null)return t;e=e.sibling}return null}var ms=_e.unstable_scheduleCallback,gs=_e.unstable_cancelCallback,yh=_e.unstable_shouldYield,wh=_e.unstable_requestPaint,q=_e.unstable_now,Eh=_e.unstable_getCurrentPriorityLevel,il=_e.unstable_ImmediatePriority,vs=_e.unstable_UserBlockingPriority,ro=_e.unstable_NormalPriority,Sh=_e.unstable_LowPriority,ys=_e.unstable_IdlePriority,oo=null,Je=null;function kh(e){if(Je&&typeof Je.onCommitFiberRoot=="function")try{Je.onCommitFiberRoot(oo,e,void 0,(e.current.flags&128)===128)}catch{}}var Ge=Math.clz32?Math.clz32:Nh,xh=Math.log,Th=Math.LN2;function Nh(e){return e>>>=0,e===0?32:31-(xh(e)/Th|0)|0}var io=64,lo=4194304;function nr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function uo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var u=l&~o;u!==0?r=nr(u):(i&=l,i!==0&&(r=nr(i)))}else l=n&~o,l!==0?r=nr(l):i!==0&&(r=nr(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ge(t),o=1<<n,r|=e[n],t&=~o;return r}function Ch(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rh(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Ge(i),u=1<<l,a=o[l];a===-1?((u&n)===0||(u&r)!==0)&&(o[l]=Ch(u,t)):a<=t&&(e.expiredLanes|=u),i&=~u}}function ll(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ws(){var e=io;return io<<=1,(io&4194240)===0&&(io=64),e}function ul(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function rr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ge(t),e[t]=n}function Ph(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ge(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function al(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ge(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var F=0;function Es(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ss,sl,ks,xs,Ts,cl=!1,ao=[],kt=null,xt=null,Tt=null,or=new Map,ir=new Map,Nt=[],Mh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ns(e,t){switch(e){case"focusin":case"focusout":kt=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":or.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ir.delete(t.pointerId)}}function lr(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Er(t),t!==null&&sl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function _h(e,t,n,r,o){switch(t){case"focusin":return kt=lr(kt,e,t,n,r,o),!0;case"dragenter":return xt=lr(xt,e,t,n,r,o),!0;case"mouseover":return Tt=lr(Tt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return or.set(i,lr(or.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ir.set(i,lr(ir.get(i)||null,e,t,n,r,o)),!0}return!1}function Cs(e){var t=Qt(e.target);if(t!==null){var n=Wt(t);if(n!==null){if(t=n.tag,t===13){if(t=fs(n),t!==null){e.blockedOn=t,Ts(e.priority,function(){ks(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function so(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=dl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);qi=r,n.target.dispatchEvent(r),qi=null}else return t=Er(n),t!==null&&sl(t),e.blockedOn=n,!1;t.shift()}return!0}function Rs(e,t,n){so(e)&&n.delete(t)}function Lh(){cl=!1,kt!==null&&so(kt)&&(kt=null),xt!==null&&so(xt)&&(xt=null),Tt!==null&&so(Tt)&&(Tt=null),or.forEach(Rs),ir.forEach(Rs)}function ur(e,t){e.blockedOn===t&&(e.blockedOn=null,cl||(cl=!0,_e.unstable_scheduleCallback(_e.unstable_NormalPriority,Lh)))}function ar(e){function t(o){return ur(o,e)}if(0<ao.length){ur(ao[0],e);for(var n=1;n<ao.length;n++){var r=ao[n];r.blockedOn===e&&(r.blockedOn=null)}}for(kt!==null&&ur(kt,e),xt!==null&&ur(xt,e),Tt!==null&&ur(Tt,e),or.forEach(t),ir.forEach(t),n=0;n<Nt.length;n++)r=Nt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&(n=Nt[0],n.blockedOn===null);)Cs(n),n.blockedOn===null&&Nt.shift()}var En=at.ReactCurrentBatchConfig,co=!0;function Ih(e,t,n,r){var o=F,i=En.transition;En.transition=null;try{F=1,fl(e,t,n,r)}finally{F=o,En.transition=i}}function Oh(e,t,n,r){var o=F,i=En.transition;En.transition=null;try{F=4,fl(e,t,n,r)}finally{F=o,En.transition=i}}function fl(e,t,n,r){if(co){var o=dl(e,t,n,r);if(o===null)Ml(e,t,r,fo,n),Ns(e,r);else if(_h(o,e,t,n,r))r.stopPropagation();else if(Ns(e,r),t&4&&-1<Mh.indexOf(e)){for(;o!==null;){var i=Er(o);if(i!==null&&Ss(i),i=dl(e,t,n,r),i===null&&Ml(e,t,r,fo,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Ml(e,t,r,null,n)}}var fo=null;function dl(e,t,n,r){if(fo=null,e=el(r),e=Qt(e),e!==null)if(t=Wt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=fs(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return fo=e,null}function Ps(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Eh()){case il:return 1;case vs:return 4;case ro:case Sh:return 16;case ys:return 536870912;default:return 16}default:return 16}}var Ct=null,pl=null,po=null;function Ms(){if(po)return po;var e,t=pl,n=t.length,r,o="value"in Ct?Ct.value:Ct.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[i-r];r++);return po=o.slice(e,1<r?1-r:void 0)}function ho(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function mo(){return!0}function _s(){return!1}function Le(e){function t(n,r,o,i,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?mo:_s,this.isPropagationStopped=_s,this}return Z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=mo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=mo)},persist:function(){},isPersistent:mo}),t}var Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hl=Le(Sn),sr=Z({},Sn,{view:0,detail:0}),Ah=Le(sr),ml,gl,cr,go=Z({},sr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cr&&(cr&&e.type==="mousemove"?(ml=e.screenX-cr.screenX,gl=e.screenY-cr.screenY):gl=ml=0,cr=e),ml)},movementY:function(e){return"movementY"in e?e.movementY:gl}}),Ls=Le(go),Hh=Z({},go,{dataTransfer:0}),Dh=Le(Hh),zh=Z({},sr,{relatedTarget:0}),vl=Le(zh),Bh=Z({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0}),Fh=Le(Bh),bh=Z({},Sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Uh=Le(bh),jh=Z({},Sn,{data:0}),Is=Le(jh),Vh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Gh={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"},$h={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$h[e])?!!t[e]:!1}function yl(){return Xh}var Zh=Z({},sr,{key:function(e){if(e.key){var t=Vh[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ho(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Gh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yl,charCode:function(e){return e.type==="keypress"?ho(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ho(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Wh=Le(Zh),Qh=Z({},go,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Os=Le(Qh),Kh=Z({},sr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yl}),Yh=Le(Kh),Jh=Z({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),qh=Le(Jh),e0=Z({},go,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),t0=Le(e0),n0=[9,13,27,32],wl=ut&&"CompositionEvent"in window,fr=null;ut&&"documentMode"in document&&(fr=document.documentMode);var r0=ut&&"TextEvent"in window&&!fr,As=ut&&(!wl||fr&&8<fr&&11>=fr),Hs=String.fromCharCode(32),Ds=!1;function zs(e,t){switch(e){case"keyup":return n0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var kn=!1;function o0(e,t){switch(e){case"compositionend":return Bs(t);case"keypress":return t.which!==32?null:(Ds=!0,Hs);case"textInput":return e=t.data,e===Hs&&Ds?null:e;default:return null}}function i0(e,t){if(kn)return e==="compositionend"||!wl&&zs(e,t)?(e=Ms(),po=pl=Ct=null,kn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return As&&t.locale!=="ko"?null:t.data;default:return null}}var l0={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 Fs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!l0[e.type]:t==="textarea"}function bs(e,t,n,r){ls(r),t=So(t,"onChange"),0<t.length&&(n=new hl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var dr=null,pr=null;function u0(e){oc(e,0)}function vo(e){var t=Rn(e);if(Wa(t))return e}function a0(e,t){if(e==="change")return t}var Us=!1;if(ut){var El;if(ut){var Sl="oninput"in document;if(!Sl){var js=document.createElement("div");js.setAttribute("oninput","return;"),Sl=typeof js.oninput=="function"}El=Sl}else El=!1;Us=El&&(!document.documentMode||9<document.documentMode)}function Vs(){dr&&(dr.detachEvent("onpropertychange",Gs),pr=dr=null)}function Gs(e){if(e.propertyName==="value"&&vo(pr)){var t=[];bs(t,pr,e,el(e)),cs(u0,t)}}function s0(e,t,n){e==="focusin"?(Vs(),dr=t,pr=n,dr.attachEvent("onpropertychange",Gs)):e==="focusout"&&Vs()}function c0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vo(pr)}function f0(e,t){if(e==="click")return vo(t)}function d0(e,t){if(e==="input"||e==="change")return vo(t)}function p0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $e=typeof Object.is=="function"?Object.is:p0;function hr(e,t){if($e(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Ii.call(t,o)||!$e(e[o],t[o]))return!1}return!0}function $s(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Xs(e,t){var n=$s(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=$s(n)}}function Zs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ws(){for(var e=window,t=qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qr(e.document)}return t}function kl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function h0(e){var t=Ws(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zs(n.ownerDocument.documentElement,n)){if(r!==null&&kl(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Xs(n,i);var l=Xs(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var m0=ut&&"documentMode"in document&&11>=document.documentMode,xn=null,xl=null,mr=null,Tl=!1;function Qs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tl||xn==null||xn!==qr(r)||(r=xn,"selectionStart"in r&&kl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),mr&&hr(mr,r)||(mr=r,r=So(xl,"onSelect"),0<r.length&&(t=new hl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=xn)))}function yo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Tn={animationend:yo("Animation","AnimationEnd"),animationiteration:yo("Animation","AnimationIteration"),animationstart:yo("Animation","AnimationStart"),transitionend:yo("Transition","TransitionEnd")},Nl={},Ks={};ut&&(Ks=document.createElement("div").style,"AnimationEvent"in window||(delete Tn.animationend.animation,delete Tn.animationiteration.animation,delete Tn.animationstart.animation),"TransitionEvent"in window||delete Tn.transitionend.transition);function wo(e){if(Nl[e])return Nl[e];if(!Tn[e])return e;var t=Tn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ks)return Nl[e]=t[n];return e}var Ys=wo("animationend"),Js=wo("animationiteration"),qs=wo("animationstart"),ec=wo("transitionend"),tc=new Map,nc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rt(e,t){tc.set(e,t),Zt(t,[e])}for(var Cl=0;Cl<nc.length;Cl++){var Rl=nc[Cl],g0=Rl.toLowerCase(),v0=Rl[0].toUpperCase()+Rl.slice(1);Rt(g0,"on"+v0)}Rt(Ys,"onAnimationEnd"),Rt(Js,"onAnimationIteration"),Rt(qs,"onAnimationStart"),Rt("dblclick","onDoubleClick"),Rt("focusin","onFocus"),Rt("focusout","onBlur"),Rt(ec,"onTransitionEnd"),hn("onMouseEnter",["mouseout","mouseover"]),hn("onMouseLeave",["mouseout","mouseover"]),hn("onPointerEnter",["pointerout","pointerover"]),hn("onPointerLeave",["pointerout","pointerover"]),Zt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Zt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Zt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Zt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Zt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Zt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gr="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(" "),y0=new Set("cancel close invalid load scroll toggle".split(" ").concat(gr));function rc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,gh(r,t,void 0,e),e.currentTarget=null}function oc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var u=r[l],a=u.instance,s=u.currentTarget;if(u=u.listener,a!==i&&o.isPropagationStopped())break e;rc(o,u,s),i=a}else for(l=0;l<r.length;l++){if(u=r[l],a=u.instance,s=u.currentTarget,u=u.listener,a!==i&&o.isPropagationStopped())break e;rc(o,u,s),i=a}}}if(no)throw e=ol,no=!1,ol=null,e}function V(e,t){var n=t[Hl];n===void 0&&(n=t[Hl]=new Set);var r=e+"__bubble";n.has(r)||(ic(t,e,2,!1),n.add(r))}function Pl(e,t,n){var r=0;t&&(r|=4),ic(n,e,r,t)}var Eo="_reactListening"+Math.random().toString(36).slice(2);function vr(e){if(!e[Eo]){e[Eo]=!0,ba.forEach(function(n){n!=="selectionchange"&&(y0.has(n)||Pl(n,!1,e),Pl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Eo]||(t[Eo]=!0,Pl("selectionchange",!1,t))}}function ic(e,t,n,r){switch(Ps(t)){case 1:var o=Ih;break;case 4:o=Oh;break;default:o=fl}n=o.bind(null,t,n,e),o=void 0,!rl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ml(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var u=r.stateNode.containerInfo;if(u===o||u.nodeType===8&&u.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;l=l.return}for(;u!==null;){if(l=Qt(u),l===null)return;if(a=l.tag,a===5||a===6){r=i=l;continue e}u=u.parentNode}}r=r.return}cs(function(){var s=i,f=el(n),m=[];e:{var p=tc.get(e);if(p!==void 0){var v=hl,y=e;switch(e){case"keypress":if(ho(n)===0)break e;case"keydown":case"keyup":v=Wh;break;case"focusin":y="focus",v=vl;break;case"focusout":y="blur",v=vl;break;case"beforeblur":case"afterblur":v=vl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=Ls;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Dh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=Yh;break;case Ys:case Js:case qs:v=Fh;break;case ec:v=qh;break;case"scroll":v=Ah;break;case"wheel":v=t0;break;case"copy":case"cut":case"paste":v=Uh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Os}var E=(t&4)!==0,N=!E&&e==="scroll",h=E?p!==null?p+"Capture":null:p;E=[];for(var c=s,d;c!==null;){d=c;var w=d.stateNode;if(d.tag===5&&w!==null&&(d=w,h!==null&&(w=qn(c,h),w!=null&&E.push(yr(c,w,d)))),N)break;c=c.return}0<E.length&&(p=new v(p,y,null,n,f),m.push({event:p,listeners:E}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",p&&n!==qi&&(y=n.relatedTarget||n.fromElement)&&(Qt(y)||y[st]))break e;if((v||p)&&(p=f.window===f?f:(p=f.ownerDocument)?p.defaultView||p.parentWindow:window,v?(y=n.relatedTarget||n.toElement,v=s,y=y?Qt(y):null,y!==null&&(N=Wt(y),y!==N||y.tag!==5&&y.tag!==6)&&(y=null)):(v=null,y=s),v!==y)){if(E=Ls,w="onMouseLeave",h="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(E=Os,w="onPointerLeave",h="onPointerEnter",c="pointer"),N=v==null?p:Rn(v),d=y==null?p:Rn(y),p=new E(w,c+"leave",v,n,f),p.target=N,p.relatedTarget=d,w=null,Qt(f)===s&&(E=new E(h,c+"enter",y,n,f),E.target=d,E.relatedTarget=N,w=E),N=w,v&&y)t:{for(E=v,h=y,c=0,d=E;d;d=Nn(d))c++;for(d=0,w=h;w;w=Nn(w))d++;for(;0<c-d;)E=Nn(E),c--;for(;0<d-c;)h=Nn(h),d--;for(;c--;){if(E===h||h!==null&&E===h.alternate)break t;E=Nn(E),h=Nn(h)}E=null}else E=null;v!==null&&lc(m,p,v,E,!1),y!==null&&N!==null&&lc(m,N,y,E,!0)}}e:{if(p=s?Rn(s):window,v=p.nodeName&&p.nodeName.toLowerCase(),v==="select"||v==="input"&&p.type==="file")var g=a0;else if(Fs(p))if(Us)g=d0;else{g=c0;var T=s0}else(v=p.nodeName)&&v.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(g=f0);if(g&&(g=g(e,s))){bs(m,g,n,f);break e}T&&T(e,p,s),e==="focusout"&&(T=p._wrapperState)&&T.controlled&&p.type==="number"&&Wi(p,"number",p.value)}switch(T=s?Rn(s):window,e){case"focusin":(Fs(T)||T.contentEditable==="true")&&(xn=T,xl=s,mr=null);break;case"focusout":mr=xl=xn=null;break;case"mousedown":Tl=!0;break;case"contextmenu":case"mouseup":case"dragend":Tl=!1,Qs(m,n,f);break;case"selectionchange":if(m0)break;case"keydown":case"keyup":Qs(m,n,f)}var P;if(wl)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else kn?zs(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(As&&n.locale!=="ko"&&(kn||_!=="onCompositionStart"?_==="onCompositionEnd"&&kn&&(P=Ms()):(Ct=f,pl="value"in Ct?Ct.value:Ct.textContent,kn=!0)),T=So(s,_),0<T.length&&(_=new Is(_,e,null,n,f),m.push({event:_,listeners:T}),P?_.data=P:(P=Bs(n),P!==null&&(_.data=P)))),(P=r0?o0(e,n):i0(e,n))&&(s=So(s,"onBeforeInput"),0<s.length&&(f=new Is("onBeforeInput","beforeinput",null,n,f),m.push({event:f,listeners:s}),f.data=P))}oc(m,t)})}function yr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function So(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=qn(e,n),i!=null&&r.unshift(yr(e,i,o)),i=qn(e,t),i!=null&&r.push(yr(e,i,o))),e=e.return}return r}function Nn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function lc(e,t,n,r,o){for(var i=t._reactName,l=[];n!==null&&n!==r;){var u=n,a=u.alternate,s=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&s!==null&&(u=s,o?(a=qn(n,i),a!=null&&l.unshift(yr(n,a,u))):o||(a=qn(n,i),a!=null&&l.push(yr(n,a,u)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var w0=/\r\n?/g,E0=/\u0000|\uFFFD/g;function uc(e){return(typeof e=="string"?e:""+e).replace(w0,`
38
- `).replace(E0,"")}function ko(e,t,n){if(t=uc(t),uc(e)!==t&&n)throw Error(k(425))}function xo(){}var _l=null,Ll=null;function Il(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ol=typeof setTimeout=="function"?setTimeout:void 0,S0=typeof clearTimeout=="function"?clearTimeout:void 0,ac=typeof Promise=="function"?Promise:void 0,k0=typeof queueMicrotask=="function"?queueMicrotask:typeof ac<"u"?function(e){return ac.resolve(null).then(e).catch(x0)}:Ol;function x0(e){setTimeout(function(){throw e})}function Al(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ar(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ar(t)}function Pt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function sc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),qe="__reactFiber$"+Cn,wr="__reactProps$"+Cn,st="__reactContainer$"+Cn,Hl="__reactEvents$"+Cn,T0="__reactListeners$"+Cn,N0="__reactHandles$"+Cn;function Qt(e){var t=e[qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[st]||n[qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=sc(e);e!==null;){if(n=e[qe])return n;e=sc(e)}return t}e=n,n=e.parentNode}return null}function Er(e){return e=e[qe]||e[st],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Rn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(k(33))}function To(e){return e[wr]||null}var Dl=[],Pn=-1;function Mt(e){return{current:e}}function G(e){0>Pn||(e.current=Dl[Pn],Dl[Pn]=null,Pn--)}function j(e,t){Pn++,Dl[Pn]=e.current,e.current=t}var _t={},se=Mt(_t),ke=Mt(!1),Kt=_t;function Mn(e,t){var n=e.type.contextTypes;if(!n)return _t;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function xe(e){return e=e.childContextTypes,e!=null}function No(){G(ke),G(se)}function cc(e,t,n){if(se.current!==_t)throw Error(k(168));j(se,t),j(ke,n)}function fc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(k(108,sh(e)||"Unknown",o));return Z({},n,r)}function Co(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_t,Kt=se.current,j(se,e),j(ke,ke.current),!0}function dc(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=fc(e,t,Kt),r.__reactInternalMemoizedMergedChildContext=e,G(ke),G(se),j(se,e)):G(ke),j(ke,n)}var ct=null,Ro=!1,zl=!1;function pc(e){ct===null?ct=[e]:ct.push(e)}function C0(e){Ro=!0,pc(e)}function Lt(){if(!zl&&ct!==null){zl=!0;var e=0,t=F;try{var n=ct;for(F=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ct=null,Ro=!1}catch(o){throw ct!==null&&(ct=ct.slice(e+1)),ms(il,Lt),o}finally{F=t,zl=!1}}return null}var _n=[],Ln=0,Po=null,Mo=0,ze=[],Be=0,Yt=null,ft=1,dt="";function Jt(e,t){_n[Ln++]=Mo,_n[Ln++]=Po,Po=e,Mo=t}function hc(e,t,n){ze[Be++]=ft,ze[Be++]=dt,ze[Be++]=Yt,Yt=e;var r=ft;e=dt;var o=32-Ge(r)-1;r&=~(1<<o),n+=1;var i=32-Ge(t)+o;if(30<i){var l=o-o%5;i=(r&(1<<l)-1).toString(32),r>>=l,o-=l,ft=1<<32-Ge(t)+o|n<<o|r,dt=i+e}else ft=1<<i|n<<o|r,dt=e}function Bl(e){e.return!==null&&(Jt(e,1),hc(e,1,0))}function Fl(e){for(;e===Po;)Po=_n[--Ln],_n[Ln]=null,Mo=_n[--Ln],_n[Ln]=null;for(;e===Yt;)Yt=ze[--Be],ze[Be]=null,dt=ze[--Be],ze[Be]=null,ft=ze[--Be],ze[Be]=null}var Ie=null,Oe=null,X=!1,Xe=null;function mc(e,t){var n=je(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function gc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ie=e,Oe=Pt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ie=e,Oe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Yt!==null?{id:ft,overflow:dt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=je(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ie=e,Oe=null,!0):!1;default:return!1}}function bl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ul(e){if(X){var t=Oe;if(t){var n=t;if(!gc(e,t)){if(bl(e))throw Error(k(418));t=Pt(n.nextSibling);var r=Ie;t&&gc(e,t)?mc(r,n):(e.flags=e.flags&-4097|2,X=!1,Ie=e)}}else{if(bl(e))throw Error(k(418));e.flags=e.flags&-4097|2,X=!1,Ie=e}}}function vc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ie=e}function _o(e){if(e!==Ie)return!1;if(!X)return vc(e),X=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Il(e.type,e.memoizedProps)),t&&(t=Oe)){if(bl(e))throw yc(),Error(k(418));for(;t;)mc(e,t),t=Pt(t.nextSibling)}if(vc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(k(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Oe=Pt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Oe=null}}else Oe=Ie?Pt(e.stateNode.nextSibling):null;return!0}function yc(){for(var e=Oe;e;)e=Pt(e.nextSibling)}function In(){Oe=Ie=null,X=!1}function jl(e){Xe===null?Xe=[e]:Xe.push(e)}var R0=at.ReactCurrentBatchConfig;function Ze(e,t){if(e&&e.defaultProps){t=Z({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Lo=Mt(null),Io=null,On=null,Vl=null;function Gl(){Vl=On=Io=null}function $l(e){var t=Lo.current;G(Lo),e._currentValue=t}function Xl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function An(e,t){Io=e,Vl=On=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Te=!0),e.firstContext=null)}function Fe(e){var t=e._currentValue;if(Vl!==e)if(e={context:e,memoizedValue:t,next:null},On===null){if(Io===null)throw Error(k(308));On=e,Io.dependencies={lanes:0,firstContext:e}}else On=On.next=e;return t}var qt=null;function Zl(e){qt===null?qt=[e]:qt.push(e)}function wc(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Zl(t)):(n.next=o.next,o.next=n),t.interleaved=n,pt(e,r)}function pt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var It=!1;function Wl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ec(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ht(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ot(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(z&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,pt(e,n)}return o=r.interleaved,o===null?(t.next=t,Zl(r)):(t.next=o.next,o.next=t),r.interleaved=t,pt(e,n)}function Oo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,al(e,n)}}function Sc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ao(e,t,n,r){var o=e.updateQueue;It=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(u!==null){o.shared.pending=null;var a=u,s=a.next;a.next=null,l===null?i=s:l.next=s,l=a;var f=e.alternate;f!==null&&(f=f.updateQueue,u=f.lastBaseUpdate,u!==l&&(u===null?f.firstBaseUpdate=s:u.next=s,f.lastBaseUpdate=a))}if(i!==null){var m=o.baseState;l=0,f=s=a=null,u=i;do{var p=u.lane,v=u.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:v,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var y=e,E=u;switch(p=t,v=n,E.tag){case 1:if(y=E.payload,typeof y=="function"){m=y.call(v,m,p);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=E.payload,p=typeof y=="function"?y.call(v,m,p):y,p==null)break e;m=Z({},m,p);break e;case 2:It=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[u]:p.push(u))}else v={eventTime:v,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},f===null?(s=f=v,a=m):f=f.next=v,l|=p;if(u=u.next,u===null){if(u=o.shared.pending,u===null)break;p=u,u=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(1);if(f===null&&(a=m),o.baseState=a,o.firstBaseUpdate=s,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);nn|=l,e.lanes=l,e.memoizedState=m}}function kc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(k(191,o));o.call(r)}}}var xc=new Fa.Component().refs;function Ql(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Z({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ho={isMounted:function(e){return(e=e._reactInternals)?Wt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=we(),o=zt(e),i=ht(r,o);i.payload=t,n!=null&&(i.callback=n),t=Ot(e,i,o),t!==null&&(Ke(t,e,o,r),Oo(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=we(),o=zt(e),i=ht(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ot(e,i,o),t!==null&&(Ke(t,e,o,r),Oo(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=we(),r=zt(e),o=ht(n,r);o.tag=2,t!=null&&(o.callback=t),t=Ot(e,o,r),t!==null&&(Ke(t,e,r,n),Oo(t,e,r))}};function Tc(e,t,n,r,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!hr(n,r)||!hr(o,i):!0}function Nc(e,t,n){var r=!1,o=_t,i=t.contextType;return typeof i=="object"&&i!==null?i=Fe(i):(o=xe(t)?Kt:se.current,r=t.contextTypes,i=(r=r!=null)?Mn(e,o):_t),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ho,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Cc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ho.enqueueReplaceState(t,t.state,null)}function Kl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=xc,Wl(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Fe(i):(i=xe(t)?Kt:se.current,o.context=Mn(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ql(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Ho.enqueueReplaceState(o,o.state,null),Ao(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Sr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(k(309));var r=n.stateNode}if(!r)throw Error(k(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var u=o.refs;u===xc&&(u=o.refs={}),l===null?delete u[i]:u[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(k(284));if(!n._owner)throw Error(k(290,e))}return e}function Do(e,t){throw e=Object.prototype.toString.call(t),Error(k(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Rc(e){var t=e._init;return t(e._payload)}function Pc(e){function t(h,c){if(e){var d=h.deletions;d===null?(h.deletions=[c],h.flags|=16):d.push(c)}}function n(h,c){if(!e)return null;for(;c!==null;)t(h,c),c=c.sibling;return null}function r(h,c){for(h=new Map;c!==null;)c.key!==null?h.set(c.key,c):h.set(c.index,c),c=c.sibling;return h}function o(h,c){return h=Ft(h,c),h.index=0,h.sibling=null,h}function i(h,c,d){return h.index=d,e?(d=h.alternate,d!==null?(d=d.index,d<c?(h.flags|=2,c):d):(h.flags|=2,c)):(h.flags|=1048576,c)}function l(h){return e&&h.alternate===null&&(h.flags|=2),h}function u(h,c,d,w){return c===null||c.tag!==6?(c=Ou(d,h.mode,w),c.return=h,c):(c=o(c,d),c.return=h,c)}function a(h,c,d,w){var g=d.type;return g===gn?f(h,c,d.props.children,w,d.key):c!==null&&(c.elementType===g||typeof g=="object"&&g!==null&&g.$$typeof===Et&&Rc(g)===c.type)?(w=o(c,d.props),w.ref=Sr(h,c,d),w.return=h,w):(w=ti(d.type,d.key,d.props,null,h.mode,w),w.ref=Sr(h,c,d),w.return=h,w)}function s(h,c,d,w){return c===null||c.tag!==4||c.stateNode.containerInfo!==d.containerInfo||c.stateNode.implementation!==d.implementation?(c=Au(d,h.mode,w),c.return=h,c):(c=o(c,d.children||[]),c.return=h,c)}function f(h,c,d,w,g){return c===null||c.tag!==7?(c=un(d,h.mode,w,g),c.return=h,c):(c=o(c,d),c.return=h,c)}function m(h,c,d){if(typeof c=="string"&&c!==""||typeof c=="number")return c=Ou(""+c,h.mode,d),c.return=h,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case Yr:return d=ti(c.type,c.key,c.props,null,h.mode,d),d.ref=Sr(h,null,c),d.return=h,d;case mn:return c=Au(c,h.mode,d),c.return=h,c;case Et:var w=c._init;return m(h,w(c._payload),d)}if(Kn(c)||Wn(c))return c=un(c,h.mode,d,null),c.return=h,c;Do(h,c)}return null}function p(h,c,d,w){var g=c!==null?c.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return g!==null?null:u(h,c,""+d,w);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Yr:return d.key===g?a(h,c,d,w):null;case mn:return d.key===g?s(h,c,d,w):null;case Et:return g=d._init,p(h,c,g(d._payload),w)}if(Kn(d)||Wn(d))return g!==null?null:f(h,c,d,w,null);Do(h,d)}return null}function v(h,c,d,w,g){if(typeof w=="string"&&w!==""||typeof w=="number")return h=h.get(d)||null,u(c,h,""+w,g);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Yr:return h=h.get(w.key===null?d:w.key)||null,a(c,h,w,g);case mn:return h=h.get(w.key===null?d:w.key)||null,s(c,h,w,g);case Et:var T=w._init;return v(h,c,d,T(w._payload),g)}if(Kn(w)||Wn(w))return h=h.get(d)||null,f(c,h,w,g,null);Do(c,w)}return null}function y(h,c,d,w){for(var g=null,T=null,P=c,_=c=0,K=null;P!==null&&_<d.length;_++){P.index>_?(K=P,P=null):K=P.sibling;var O=p(h,P,d[_],w);if(O===null){P===null&&(P=K);break}e&&P&&O.alternate===null&&t(h,P),c=i(O,c,_),T===null?g=O:T.sibling=O,T=O,P=K}if(_===d.length)return n(h,P),X&&Jt(h,_),g;if(P===null){for(;_<d.length;_++)P=m(h,d[_],w),P!==null&&(c=i(P,c,_),T===null?g=P:T.sibling=P,T=P);return X&&Jt(h,_),g}for(P=r(h,P);_<d.length;_++)K=v(P,h,_,d[_],w),K!==null&&(e&&K.alternate!==null&&P.delete(K.key===null?_:K.key),c=i(K,c,_),T===null?g=K:T.sibling=K,T=K);return e&&P.forEach(function(he){return t(h,he)}),X&&Jt(h,_),g}function E(h,c,d,w){var g=Wn(d);if(typeof g!="function")throw Error(k(150));if(d=g.call(d),d==null)throw Error(k(151));for(var T=g=null,P=c,_=c=0,K=null,O=d.next();P!==null&&!O.done;_++,O=d.next()){P.index>_?(K=P,P=null):K=P.sibling;var he=p(h,P,O.value,w);if(he===null){P===null&&(P=K);break}e&&P&&he.alternate===null&&t(h,P),c=i(he,c,_),T===null?g=he:T.sibling=he,T=he,P=K}if(O.done)return n(h,P),X&&Jt(h,_),g;if(P===null){for(;!O.done;_++,O=d.next())O=m(h,O.value,w),O!==null&&(c=i(O,c,_),T===null?g=O:T.sibling=O,T=O);return X&&Jt(h,_),g}for(P=r(h,P);!O.done;_++,O=d.next())O=v(P,h,_,O.value,w),O!==null&&(e&&O.alternate!==null&&P.delete(O.key===null?_:O.key),c=i(O,c,_),T===null?g=O:T.sibling=O,T=O);return e&&P.forEach(function(Vt){return t(h,Vt)}),X&&Jt(h,_),g}function N(h,c,d,w){if(typeof d=="object"&&d!==null&&d.type===gn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Yr:e:{for(var g=d.key,T=c;T!==null;){if(T.key===g){if(g=d.type,g===gn){if(T.tag===7){n(h,T.sibling),c=o(T,d.props.children),c.return=h,h=c;break e}}else if(T.elementType===g||typeof g=="object"&&g!==null&&g.$$typeof===Et&&Rc(g)===T.type){n(h,T.sibling),c=o(T,d.props),c.ref=Sr(h,T,d),c.return=h,h=c;break e}n(h,T);break}else t(h,T);T=T.sibling}d.type===gn?(c=un(d.props.children,h.mode,w,d.key),c.return=h,h=c):(w=ti(d.type,d.key,d.props,null,h.mode,w),w.ref=Sr(h,c,d),w.return=h,h=w)}return l(h);case mn:e:{for(T=d.key;c!==null;){if(c.key===T)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(h,c.sibling),c=o(c,d.children||[]),c.return=h,h=c;break e}else{n(h,c);break}else t(h,c);c=c.sibling}c=Au(d,h.mode,w),c.return=h,h=c}return l(h);case Et:return T=d._init,N(h,c,T(d._payload),w)}if(Kn(d))return y(h,c,d,w);if(Wn(d))return E(h,c,d,w);Do(h,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(h,c.sibling),c=o(c,d),c.return=h,h=c):(n(h,c),c=Ou(d,h.mode,w),c.return=h,h=c),l(h)):n(h,c)}return N}var Hn=Pc(!0),Mc=Pc(!1),kr={},et=Mt(kr),xr=Mt(kr),Tr=Mt(kr);function en(e){if(e===kr)throw Error(k(174));return e}function Yl(e,t){switch(j(Tr,t),j(xr,e),j(et,kr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ki(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ki(t,e)}G(et),j(et,t)}function Dn(){G(et),G(xr),G(Tr)}function _c(e){en(Tr.current);var t=en(et.current),n=Ki(t,e.type);t!==n&&(j(xr,e),j(et,n))}function Jl(e){xr.current===e&&(G(et),G(xr))}var W=Mt(0);function zo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ql=[];function eu(){for(var e=0;e<ql.length;e++)ql[e]._workInProgressVersionPrimary=null;ql.length=0}var Bo=at.ReactCurrentDispatcher,tu=at.ReactCurrentBatchConfig,tn=0,Q=null,ne=null,oe=null,Fo=!1,Nr=!1,Cr=0,P0=0;function ce(){throw Error(k(321))}function nu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$e(e[n],t[n]))return!1;return!0}function ru(e,t,n,r,o,i){if(tn=i,Q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Bo.current=e===null||e.memoizedState===null?I0:O0,e=n(r,o),Nr){i=0;do{if(Nr=!1,Cr=0,25<=i)throw Error(k(301));i+=1,oe=ne=null,t.updateQueue=null,Bo.current=A0,e=n(r,o)}while(Nr)}if(Bo.current=jo,t=ne!==null&&ne.next!==null,tn=0,oe=ne=Q=null,Fo=!1,t)throw Error(k(300));return e}function ou(){var e=Cr!==0;return Cr=0,e}function tt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return oe===null?Q.memoizedState=oe=e:oe=oe.next=e,oe}function be(){if(ne===null){var e=Q.alternate;e=e!==null?e.memoizedState:null}else e=ne.next;var t=oe===null?Q.memoizedState:oe.next;if(t!==null)oe=t,ne=e;else{if(e===null)throw Error(k(310));ne=e,e={memoizedState:ne.memoizedState,baseState:ne.baseState,baseQueue:ne.baseQueue,queue:ne.queue,next:null},oe===null?Q.memoizedState=oe=e:oe=oe.next=e}return oe}function Rr(e,t){return typeof t=="function"?t(e):t}function iu(e){var t=be(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=ne,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var u=l=null,a=null,s=i;do{var f=s.lane;if((tn&f)===f)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var m={lane:f,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(u=a=m,l=r):a=a.next=m,Q.lanes|=f,nn|=f}s=s.next}while(s!==null&&s!==i);a===null?l=r:a.next=u,$e(r,t.memoizedState)||(Te=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Q.lanes|=i,nn|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function lu(e){var t=be(),n=t.queue;if(n===null)throw Error(k(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);$e(i,t.memoizedState)||(Te=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Lc(){}function Ic(e,t){var n=Q,r=be(),o=t(),i=!$e(r.memoizedState,o);if(i&&(r.memoizedState=o,Te=!0),r=r.queue,uu(Hc.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||oe!==null&&oe.memoizedState.tag&1){if(n.flags|=2048,Pr(9,Ac.bind(null,n,r,o,t),void 0,null),ie===null)throw Error(k(349));(tn&30)!==0||Oc(n,t,o)}return o}function Oc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ac(e,t,n,r){t.value=n,t.getSnapshot=r,Dc(t)&&zc(e)}function Hc(e,t,n){return n(function(){Dc(t)&&zc(e)})}function Dc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!$e(e,n)}catch{return!0}}function zc(e){var t=pt(e,1);t!==null&&Ke(t,e,1,-1)}function Bc(e){var t=tt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Rr,lastRenderedState:e},t.queue=e,e=e.dispatch=L0.bind(null,Q,e),[t.memoizedState,e]}function Pr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Fc(){return be().memoizedState}function bo(e,t,n,r){var o=tt();Q.flags|=e,o.memoizedState=Pr(1|t,n,void 0,r===void 0?null:r)}function Uo(e,t,n,r){var o=be();r=r===void 0?null:r;var i=void 0;if(ne!==null){var l=ne.memoizedState;if(i=l.destroy,r!==null&&nu(r,l.deps)){o.memoizedState=Pr(t,n,i,r);return}}Q.flags|=e,o.memoizedState=Pr(1|t,n,i,r)}function bc(e,t){return bo(8390656,8,e,t)}function uu(e,t){return Uo(2048,8,e,t)}function Uc(e,t){return Uo(4,2,e,t)}function jc(e,t){return Uo(4,4,e,t)}function Vc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Gc(e,t,n){return n=n!=null?n.concat([e]):null,Uo(4,4,Vc.bind(null,t,e),n)}function au(){}function $c(e,t){var n=be();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xc(e,t){var n=be();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&nu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Zc(e,t,n){return(tn&21)===0?(e.baseState&&(e.baseState=!1,Te=!0),e.memoizedState=n):($e(n,t)||(n=ws(),Q.lanes|=n,nn|=n,e.baseState=!0),t)}function M0(e,t){var n=F;F=n!==0&&4>n?n:4,e(!0);var r=tu.transition;tu.transition={};try{e(!1),t()}finally{F=n,tu.transition=r}}function Wc(){return be().memoizedState}function _0(e,t,n){var r=zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qc(e))Kc(t,n);else if(n=wc(e,t,n,r),n!==null){var o=we();Ke(n,e,r,o),Yc(n,t,r)}}function L0(e,t,n){var r=zt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qc(e))Kc(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,u=i(l,n);if(o.hasEagerState=!0,o.eagerState=u,$e(u,l)){var a=t.interleaved;a===null?(o.next=o,Zl(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=wc(e,t,o,r),n!==null&&(o=we(),Ke(n,e,r,o),Yc(n,t,r))}}function Qc(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Kc(e,t){Nr=Fo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yc(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,al(e,n)}}var jo={readContext:Fe,useCallback:ce,useContext:ce,useEffect:ce,useImperativeHandle:ce,useInsertionEffect:ce,useLayoutEffect:ce,useMemo:ce,useReducer:ce,useRef:ce,useState:ce,useDebugValue:ce,useDeferredValue:ce,useTransition:ce,useMutableSource:ce,useSyncExternalStore:ce,useId:ce,unstable_isNewReconciler:!1},I0={readContext:Fe,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:bc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,bo(4194308,4,Vc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bo(4194308,4,e,t)},useInsertionEffect:function(e,t){return bo(4,2,e,t)},useMemo:function(e,t){var n=tt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_0.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:Bc,useDebugValue:au,useDeferredValue:function(e){return tt().memoizedState=e},useTransition:function(){var e=Bc(!1),t=e[0];return e=M0.bind(null,e[1]),tt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,o=tt();if(X){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ie===null)throw Error(k(349));(tn&30)!==0||Oc(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,bc(Hc.bind(null,r,i,e),[e]),r.flags|=2048,Pr(9,Ac.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=tt(),t=ie.identifierPrefix;if(X){var n=dt,r=ft;n=(r&~(1<<32-Ge(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Cr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=P0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},O0={readContext:Fe,useCallback:$c,useContext:Fe,useEffect:uu,useImperativeHandle:Gc,useInsertionEffect:Uc,useLayoutEffect:jc,useMemo:Xc,useReducer:iu,useRef:Fc,useState:function(){return iu(Rr)},useDebugValue:au,useDeferredValue:function(e){var t=be();return Zc(t,ne.memoizedState,e)},useTransition:function(){var e=iu(Rr)[0],t=be().memoizedState;return[e,t]},useMutableSource:Lc,useSyncExternalStore:Ic,useId:Wc,unstable_isNewReconciler:!1},A0={readContext:Fe,useCallback:$c,useContext:Fe,useEffect:uu,useImperativeHandle:Gc,useInsertionEffect:Uc,useLayoutEffect:jc,useMemo:Xc,useReducer:lu,useRef:Fc,useState:function(){return lu(Rr)},useDebugValue:au,useDeferredValue:function(e){var t=be();return ne===null?t.memoizedState=e:Zc(t,ne.memoizedState,e)},useTransition:function(){var e=lu(Rr)[0],t=be().memoizedState;return[e,t]},useMutableSource:Lc,useSyncExternalStore:Ic,useId:Wc,unstable_isNewReconciler:!1};function zn(e,t){try{var n="",r=t;do n+=ah(r),r=r.return;while(r);var o=n}catch(i){o=`
36
+ `),l=o.length-1,a=i.length-1;1<=l&&0<=a&&o[l]!==i[a];)a--;for(;1<=l&&0<=a;l--,a--)if(o[l]!==i[a]){if(l!==1||a!==1)do if(l--,a--,0>a||o[l]!==i[a]){var u=`
37
+ `+o[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{Wi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?tr(e):""}function kh(e){switch(e.tag){case 5:return tr(e.type);case 16:return tr("Lazy");case 13:return tr("Suspense");case 19:return tr("SuspenseList");case 0:case 2:case 15:return e=Qi(e.type,!1),e;case 11:return e=Qi(e.type.render,!1),e;case 1:return e=Qi(e.type,!0),e;default:return""}}function Ki(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Sn:return"Fragment";case En:return"Portal";case ji:return"Profiler";case Ui:return"StrictMode";case Gi:return"Suspense";case $i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ns:return(e.displayName||"Context")+".Consumer";case ts:return(e._context.displayName||"Context")+".Provider";case Vi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xi:return t=e.displayName||null,t!==null?t:Ki(e.type)||"Memo";case Rt:t=e._payload,e=e._init;try{return Ki(e(t))}catch{}}return null}function xh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ki(t);case 8:return t===Ui?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ct(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function is(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Th(e){var t=is(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function no(e){e._valueTracker||(e._valueTracker=Th(e))}function ls(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=is(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ro(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Yi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function as(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ct(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function us(e,t){t=t.checked,t!=null&&Fi(e,"checked",t,!1)}function Ji(e,t){us(e,t);var n=Ct(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?qi(e,t.type,n):t.hasOwnProperty("defaultValue")&&qi(e,t.type,Ct(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ss(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function qi(e,t,n){(t!=="number"||ro(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var nr=Array.isArray;function kn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ct(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function el(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function cs(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));if(nr(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ct(n)}}function fs(e,t){var n=Ct(t.value),r=Ct(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ds(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ps(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function tl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ps(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var oo,hs=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(oo=oo||document.createElement("div"),oo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=oo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var or={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Nh=["Webkit","ms","Moz","O"];Object.keys(or).forEach(function(e){Nh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),or[t]=or[e]})});function ms(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||or.hasOwnProperty(e)&&or[e]?(""+t).trim():t+"px"}function gs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ms(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Rh=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function nl(e,t){if(t){if(Rh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function rl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ol=null;function il(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ll=null,xn=null,Tn=null;function vs(e){if(e=Rr(e)){if(typeof ll!="function")throw Error(T(280));var t=e.stateNode;t&&(t=Mo(t),ll(e.stateNode,e.type,t))}}function ys(e){xn?Tn?Tn.push(e):Tn=[e]:xn=e}function ws(){if(xn){var e=xn,t=Tn;if(Tn=xn=null,vs(e),t)for(e=0;e<t.length;e++)vs(t[e])}}function Es(e,t){return e(t)}function Ss(){}var al=!1;function ks(e,t,n){if(al)return e(t,n);al=!0;try{return Es(e,t,n)}finally{al=!1,(xn!==null||Tn!==null)&&(Ss(),ws())}}function ir(e,t){var n=e.stateNode;if(n===null)return null;var r=Mo(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(T(231,t,typeof n));return n}var ul=!1;if(dt)try{var lr={};Object.defineProperty(lr,"passive",{get:function(){ul=!0}}),window.addEventListener("test",lr,lr),window.removeEventListener("test",lr,lr)}catch{ul=!1}function Ch(e,t,n,r,o,i,l,a,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(f){this.onError(f)}}var ar=!1,io=null,lo=!1,sl=null,Mh={onError:function(e){ar=!0,io=e}};function Ph(e,t,n,r,o,i,l,a,u){ar=!1,io=null,Ch.apply(Mh,arguments)}function Lh(e,t,n,r,o,i,l,a,u){if(Ph.apply(this,arguments),ar){if(ar){var s=io;ar=!1,io=null}else throw Error(T(198));lo||(lo=!0,sl=s)}}function qt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function xs(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ts(e){if(qt(e)!==e)throw Error(T(188))}function Ih(e){var t=e.alternate;if(!t){if(t=qt(e),t===null)throw Error(T(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ts(o),e;if(i===r)return Ts(o),t;i=i.sibling}throw Error(T(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,a=o.child;a;){if(a===n){l=!0,n=o,r=i;break}if(a===r){l=!0,r=o,n=i;break}a=a.sibling}if(!l){for(a=i.child;a;){if(a===n){l=!0,n=i,r=o;break}if(a===r){l=!0,r=i,n=o;break}a=a.sibling}if(!l)throw Error(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function Ns(e){return e=Ih(e),e!==null?Rs(e):null}function Rs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Rs(e);if(t!==null)return t;e=e.sibling}return null}var Cs=Ae.unstable_scheduleCallback,Ms=Ae.unstable_cancelCallback,_h=Ae.unstable_shouldYield,Oh=Ae.unstable_requestPaint,q=Ae.unstable_now,Ah=Ae.unstable_getCurrentPriorityLevel,cl=Ae.unstable_ImmediatePriority,Ps=Ae.unstable_UserBlockingPriority,ao=Ae.unstable_NormalPriority,Dh=Ae.unstable_LowPriority,Ls=Ae.unstable_IdlePriority,uo=null,nt=null;function Hh(e){if(nt&&typeof nt.onCommitFiberRoot=="function")try{nt.onCommitFiberRoot(uo,e,void 0,(e.current.flags&128)===128)}catch{}}var Ze=Math.clz32?Math.clz32:bh,zh=Math.log,Bh=Math.LN2;function bh(e){return e>>>=0,e===0?32:31-(zh(e)/Bh|0)|0}var so=64,co=4194304;function ur(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function fo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=ur(a):(i&=l,i!==0&&(r=ur(i)))}else l=n&~o,l!==0?r=ur(l):i!==0&&(r=ur(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ze(t),o=1<<n,r|=e[n],t&=~o;return r}function Fh(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Uh(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Ze(i),a=1<<l,u=o[l];u===-1?((a&n)===0||(a&r)!==0)&&(o[l]=Fh(a,t)):u<=t&&(e.expiredLanes|=a),i&=~a}}function fl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Is(){var e=so;return so<<=1,(so&4194240)===0&&(so=64),e}function dl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function sr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ze(t),e[t]=n}function jh(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ze(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function pl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ze(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var F=0;function _s(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Os,hl,As,Ds,Hs,ml=!1,po=[],Mt=null,Pt=null,Lt=null,cr=new Map,fr=new Map,It=[],Vh="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function zs(e,t){switch(e){case"focusin":case"focusout":Mt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":fr.delete(t.pointerId)}}function dr(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Rr(t),t!==null&&hl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Gh(e,t,n,r,o){switch(t){case"focusin":return Mt=dr(Mt,e,t,n,r,o),!0;case"dragenter":return Pt=dr(Pt,e,t,n,r,o),!0;case"mouseover":return Lt=dr(Lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return cr.set(i,dr(cr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,fr.set(i,dr(fr.get(i)||null,e,t,n,r,o)),!0}return!1}function Bs(e){var t=en(e.target);if(t!==null){var n=qt(t);if(n!==null){if(t=n.tag,t===13){if(t=xs(n),t!==null){e.blockedOn=t,Hs(e.priority,function(){As(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ho(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=vl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);ol=r,n.target.dispatchEvent(r),ol=null}else return t=Rr(n),t!==null&&hl(t),e.blockedOn=n,!1;t.shift()}return!0}function bs(e,t,n){ho(e)&&n.delete(t)}function $h(){ml=!1,Mt!==null&&ho(Mt)&&(Mt=null),Pt!==null&&ho(Pt)&&(Pt=null),Lt!==null&&ho(Lt)&&(Lt=null),cr.forEach(bs),fr.forEach(bs)}function pr(e,t){e.blockedOn===t&&(e.blockedOn=null,ml||(ml=!0,Ae.unstable_scheduleCallback(Ae.unstable_NormalPriority,$h)))}function hr(e){function t(o){return pr(o,e)}if(0<po.length){pr(po[0],e);for(var n=1;n<po.length;n++){var r=po[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Mt!==null&&pr(Mt,e),Pt!==null&&pr(Pt,e),Lt!==null&&pr(Lt,e),cr.forEach(t),fr.forEach(t),n=0;n<It.length;n++)r=It[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<It.length&&(n=It[0],n.blockedOn===null);)Bs(n),n.blockedOn===null&&It.shift()}var Nn=pt.ReactCurrentBatchConfig,mo=!0;function Xh(e,t,n,r){var o=F,i=Nn.transition;Nn.transition=null;try{F=1,gl(e,t,n,r)}finally{F=o,Nn.transition=i}}function Zh(e,t,n,r){var o=F,i=Nn.transition;Nn.transition=null;try{F=4,gl(e,t,n,r)}finally{F=o,Nn.transition=i}}function gl(e,t,n,r){if(mo){var o=vl(e,t,n,r);if(o===null)Al(e,t,r,go,n),zs(e,r);else if(Gh(o,e,t,n,r))r.stopPropagation();else if(zs(e,r),t&4&&-1<Vh.indexOf(e)){for(;o!==null;){var i=Rr(o);if(i!==null&&Os(i),i=vl(e,t,n,r),i===null&&Al(e,t,r,go,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Al(e,t,r,null,n)}}var go=null;function vl(e,t,n,r){if(go=null,e=il(r),e=en(e),e!==null)if(t=qt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=xs(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return go=e,null}function Fs(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ah()){case cl:return 1;case Ps:return 4;case ao:case Dh:return 16;case Ls:return 536870912;default:return 16}default:return 16}}var _t=null,yl=null,vo=null;function Us(){if(vo)return vo;var e,t=yl,n=t.length,r,o="value"in _t?_t.value:_t.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[i-r];r++);return vo=o.slice(e,1<r?1-r:void 0)}function yo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wo(){return!0}function js(){return!1}function De(e){function t(n,r,o,i,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?wo:js,this.isPropagationStopped=js,this}return W(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wo)},persist:function(){},isPersistent:wo}),t}var Rn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wl=De(Rn),mr=W({},Rn,{view:0,detail:0}),Wh=De(mr),El,Sl,gr,Eo=W({},mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==gr&&(gr&&e.type==="mousemove"?(El=e.screenX-gr.screenX,Sl=e.screenY-gr.screenY):Sl=El=0,gr=e),El)},movementY:function(e){return"movementY"in e?e.movementY:Sl}}),Vs=De(Eo),Qh=W({},Eo,{dataTransfer:0}),Kh=De(Qh),Yh=W({},mr,{relatedTarget:0}),kl=De(Yh),Jh=W({},Rn,{animationName:0,elapsedTime:0,pseudoElement:0}),qh=De(Jh),e0=W({},Rn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),t0=De(e0),n0=W({},Rn,{data:0}),Gs=De(n0),r0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},o0={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"},i0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function l0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=i0[e])?!!t[e]:!1}function xl(){return l0}var a0=W({},mr,{key:function(e){if(e.key){var t=r0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?o0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xl,charCode:function(e){return e.type==="keypress"?yo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),u0=De(a0),s0=W({},Eo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$s=De(s0),c0=W({},mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xl}),f0=De(c0),d0=W({},Rn,{propertyName:0,elapsedTime:0,pseudoElement:0}),p0=De(d0),h0=W({},Eo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),m0=De(h0),g0=[9,13,27,32],Tl=dt&&"CompositionEvent"in window,vr=null;dt&&"documentMode"in document&&(vr=document.documentMode);var v0=dt&&"TextEvent"in window&&!vr,Xs=dt&&(!Tl||vr&&8<vr&&11>=vr),Zs=String.fromCharCode(32),Ws=!1;function Qs(e,t){switch(e){case"keyup":return g0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ks(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cn=!1;function y0(e,t){switch(e){case"compositionend":return Ks(t);case"keypress":return t.which!==32?null:(Ws=!0,Zs);case"textInput":return e=t.data,e===Zs&&Ws?null:e;default:return null}}function w0(e,t){if(Cn)return e==="compositionend"||!Tl&&Qs(e,t)?(e=Us(),vo=yl=_t=null,Cn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xs&&t.locale!=="ko"?null:t.data;default:return null}}var E0={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 Ys(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!E0[e.type]:t==="textarea"}function Js(e,t,n,r){ys(r),t=No(t,"onChange"),0<t.length&&(n=new wl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var yr=null,wr=null;function S0(e){gc(e,0)}function So(e){var t=_n(e);if(ls(t))return e}function k0(e,t){if(e==="change")return t}var qs=!1;if(dt){var Nl;if(dt){var Rl="oninput"in document;if(!Rl){var ec=document.createElement("div");ec.setAttribute("oninput","return;"),Rl=typeof ec.oninput=="function"}Nl=Rl}else Nl=!1;qs=Nl&&(!document.documentMode||9<document.documentMode)}function tc(){yr&&(yr.detachEvent("onpropertychange",nc),wr=yr=null)}function nc(e){if(e.propertyName==="value"&&So(wr)){var t=[];Js(t,wr,e,il(e)),ks(S0,t)}}function x0(e,t,n){e==="focusin"?(tc(),yr=t,wr=n,yr.attachEvent("onpropertychange",nc)):e==="focusout"&&tc()}function T0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return So(wr)}function N0(e,t){if(e==="click")return So(t)}function R0(e,t){if(e==="input"||e==="change")return So(t)}function C0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var We=typeof Object.is=="function"?Object.is:C0;function Er(e,t){if(We(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!zi.call(t,o)||!We(e[o],t[o]))return!1}return!0}function rc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function oc(e,t){var n=rc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=rc(n)}}function ic(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ic(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lc(){for(var e=window,t=ro();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ro(e.document)}return t}function Cl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function M0(e){var t=lc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ic(n.ownerDocument.documentElement,n)){if(r!==null&&Cl(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=oc(n,i);var l=oc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var P0=dt&&"documentMode"in document&&11>=document.documentMode,Mn=null,Ml=null,Sr=null,Pl=!1;function ac(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pl||Mn==null||Mn!==ro(r)||(r=Mn,"selectionStart"in r&&Cl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Sr&&Er(Sr,r)||(Sr=r,r=No(Ml,"onSelect"),0<r.length&&(t=new wl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Mn)))}function ko(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pn={animationend:ko("Animation","AnimationEnd"),animationiteration:ko("Animation","AnimationIteration"),animationstart:ko("Animation","AnimationStart"),transitionend:ko("Transition","TransitionEnd")},Ll={},uc={};dt&&(uc=document.createElement("div").style,"AnimationEvent"in window||(delete Pn.animationend.animation,delete Pn.animationiteration.animation,delete Pn.animationstart.animation),"TransitionEvent"in window||delete Pn.transitionend.transition);function xo(e){if(Ll[e])return Ll[e];if(!Pn[e])return e;var t=Pn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in uc)return Ll[e]=t[n];return e}var sc=xo("animationend"),cc=xo("animationiteration"),fc=xo("animationstart"),dc=xo("transitionend"),pc=new Map,hc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ot(e,t){pc.set(e,t),Jt(t,[e])}for(var Il=0;Il<hc.length;Il++){var _l=hc[Il],L0=_l.toLowerCase(),I0=_l[0].toUpperCase()+_l.slice(1);Ot(L0,"on"+I0)}Ot(sc,"onAnimationEnd"),Ot(cc,"onAnimationIteration"),Ot(fc,"onAnimationStart"),Ot("dblclick","onDoubleClick"),Ot("focusin","onFocus"),Ot("focusout","onBlur"),Ot(dc,"onTransitionEnd"),wn("onMouseEnter",["mouseout","mouseover"]),wn("onMouseLeave",["mouseout","mouseover"]),wn("onPointerEnter",["pointerout","pointerover"]),wn("onPointerLeave",["pointerout","pointerover"]),Jt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Jt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Jt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Jt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Jt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Jt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="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(" "),_0=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function mc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Lh(r,t,void 0,e),e.currentTarget=null}function gc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var a=r[l],u=a.instance,s=a.currentTarget;if(a=a.listener,u!==i&&o.isPropagationStopped())break e;mc(o,a,s),i=u}else for(l=0;l<r.length;l++){if(a=r[l],u=a.instance,s=a.currentTarget,a=a.listener,u!==i&&o.isPropagationStopped())break e;mc(o,a,s),i=u}}}if(lo)throw e=sl,lo=!1,sl=null,e}function G(e,t){var n=t[Fl];n===void 0&&(n=t[Fl]=new Set);var r=e+"__bubble";n.has(r)||(vc(t,e,2,!1),n.add(r))}function Ol(e,t,n){var r=0;t&&(r|=4),vc(n,e,r,t)}var To="_reactListening"+Math.random().toString(36).slice(2);function xr(e){if(!e[To]){e[To]=!0,Ju.forEach(function(n){n!=="selectionchange"&&(_0.has(n)||Ol(n,!1,e),Ol(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[To]||(t[To]=!0,Ol("selectionchange",!1,t))}}function vc(e,t,n,r){switch(Fs(t)){case 1:var o=Xh;break;case 4:o=Zh;break;default:o=gl}n=o.bind(null,t,n,e),o=void 0,!ul||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Al(e,t,n,r,o){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var u=l.tag;if((u===3||u===4)&&(u=l.stateNode.containerInfo,u===o||u.nodeType===8&&u.parentNode===o))return;l=l.return}for(;a!==null;){if(l=en(a),l===null)return;if(u=l.tag,u===5||u===6){r=i=l;continue e}a=a.parentNode}}r=r.return}ks(function(){var s=i,f=il(n),m=[];e:{var p=pc.get(e);if(p!==void 0){var v=wl,y=e;switch(e){case"keypress":if(yo(n)===0)break e;case"keydown":case"keyup":v=u0;break;case"focusin":y="focus",v=kl;break;case"focusout":y="blur",v=kl;break;case"beforeblur":case"afterblur":v=kl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=Vs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Kh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=f0;break;case sc:case cc:case fc:v=qh;break;case dc:v=p0;break;case"scroll":v=Wh;break;case"wheel":v=m0;break;case"copy":case"cut":case"paste":v=t0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=$s}var w=(t&4)!==0,N=!w&&e==="scroll",h=w?p!==null?p+"Capture":null:p;w=[];for(var c=s,d;c!==null;){d=c;var E=d.stateNode;if(d.tag===5&&E!==null&&(d=E,h!==null&&(E=ir(c,h),E!=null&&w.push(Tr(c,E,d)))),N)break;c=c.return}0<w.length&&(p=new v(p,y,null,n,f),m.push({event:p,listeners:w}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",p&&n!==ol&&(y=n.relatedTarget||n.fromElement)&&(en(y)||y[ht]))break e;if((v||p)&&(p=f.window===f?f:(p=f.ownerDocument)?p.defaultView||p.parentWindow:window,v?(y=n.relatedTarget||n.toElement,v=s,y=y?en(y):null,y!==null&&(N=qt(y),y!==N||y.tag!==5&&y.tag!==6)&&(y=null)):(v=null,y=s),v!==y)){if(w=Vs,E="onMouseLeave",h="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(w=$s,E="onPointerLeave",h="onPointerEnter",c="pointer"),N=v==null?p:_n(v),d=y==null?p:_n(y),p=new w(E,c+"leave",v,n,f),p.target=N,p.relatedTarget=d,E=null,en(f)===s&&(w=new w(h,c+"enter",y,n,f),w.target=d,w.relatedTarget=N,E=w),N=E,v&&y)t:{for(w=v,h=y,c=0,d=w;d;d=Ln(d))c++;for(d=0,E=h;E;E=Ln(E))d++;for(;0<c-d;)w=Ln(w),c--;for(;0<d-c;)h=Ln(h),d--;for(;c--;){if(w===h||h!==null&&w===h.alternate)break t;w=Ln(w),h=Ln(h)}w=null}else w=null;v!==null&&yc(m,p,v,w,!1),y!==null&&N!==null&&yc(m,N,y,w,!0)}}e:{if(p=s?_n(s):window,v=p.nodeName&&p.nodeName.toLowerCase(),v==="select"||v==="input"&&p.type==="file")var g=k0;else if(Ys(p))if(qs)g=R0;else{g=T0;var x=x0}else(v=p.nodeName)&&v.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(g=N0);if(g&&(g=g(e,s))){Js(m,g,n,f);break e}x&&x(e,p,s),e==="focusout"&&(x=p._wrapperState)&&x.controlled&&p.type==="number"&&qi(p,"number",p.value)}switch(x=s?_n(s):window,e){case"focusin":(Ys(x)||x.contentEditable==="true")&&(Mn=x,Ml=s,Sr=null);break;case"focusout":Sr=Ml=Mn=null;break;case"mousedown":Pl=!0;break;case"contextmenu":case"mouseup":case"dragend":Pl=!1,ac(m,n,f);break;case"selectionchange":if(P0)break;case"keydown":case"keyup":ac(m,n,f)}var R;if(Tl)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Cn?Qs(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Xs&&n.locale!=="ko"&&(Cn||P!=="onCompositionStart"?P==="onCompositionEnd"&&Cn&&(R=Us()):(_t=f,yl="value"in _t?_t.value:_t.textContent,Cn=!0)),x=No(s,P),0<x.length&&(P=new Gs(P,e,null,n,f),m.push({event:P,listeners:x}),R?P.data=R:(R=Ks(n),R!==null&&(P.data=R)))),(R=v0?y0(e,n):w0(e,n))&&(s=No(s,"onBeforeInput"),0<s.length&&(f=new Gs("onBeforeInput","beforeinput",null,n,f),m.push({event:f,listeners:s}),f.data=R))}gc(m,t)})}function Tr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function No(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ir(e,n),i!=null&&r.unshift(Tr(e,i,o)),i=ir(e,t),i!=null&&r.push(Tr(e,i,o))),e=e.return}return r}function Ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function yc(e,t,n,r,o){for(var i=t._reactName,l=[];n!==null&&n!==r;){var a=n,u=a.alternate,s=a.stateNode;if(u!==null&&u===r)break;a.tag===5&&s!==null&&(a=s,o?(u=ir(n,i),u!=null&&l.unshift(Tr(n,u,a))):o||(u=ir(n,i),u!=null&&l.push(Tr(n,u,a)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var O0=/\r\n?/g,A0=/\u0000|\uFFFD/g;function wc(e){return(typeof e=="string"?e:""+e).replace(O0,`
38
+ `).replace(A0,"")}function Ro(e,t,n){if(t=wc(t),wc(e)!==t&&n)throw Error(T(425))}function Co(){}var Dl=null,Hl=null;function zl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Bl=typeof setTimeout=="function"?setTimeout:void 0,D0=typeof clearTimeout=="function"?clearTimeout:void 0,Ec=typeof Promise=="function"?Promise:void 0,H0=typeof queueMicrotask=="function"?queueMicrotask:typeof Ec<"u"?function(e){return Ec.resolve(null).then(e).catch(z0)}:Bl;function z0(e){setTimeout(function(){throw e})}function bl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),hr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);hr(t)}function At(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Sc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var In=Math.random().toString(36).slice(2),rt="__reactFiber$"+In,Nr="__reactProps$"+In,ht="__reactContainer$"+In,Fl="__reactEvents$"+In,B0="__reactListeners$"+In,b0="__reactHandles$"+In;function en(e){var t=e[rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ht]||n[rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Sc(e);e!==null;){if(n=e[rt])return n;e=Sc(e)}return t}e=n,n=e.parentNode}return null}function Rr(e){return e=e[rt]||e[ht],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function _n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function Mo(e){return e[Nr]||null}var Ul=[],On=-1;function Dt(e){return{current:e}}function $(e){0>On||(e.current=Ul[On],Ul[On]=null,On--)}function j(e,t){On++,Ul[On]=e.current,e.current=t}var Ht={},de=Dt(Ht),Ne=Dt(!1),tn=Ht;function An(e,t){var n=e.type.contextTypes;if(!n)return Ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return e=e.childContextTypes,e!=null}function Po(){$(Ne),$(de)}function kc(e,t,n){if(de.current!==Ht)throw Error(T(168));j(de,t),j(Ne,n)}function xc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(T(108,xh(e)||"Unknown",o));return W({},n,r)}function Lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ht,tn=de.current,j(de,e),j(Ne,Ne.current),!0}function Tc(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=xc(e,t,tn),r.__reactInternalMemoizedMergedChildContext=e,$(Ne),$(de),j(de,e)):$(Ne),j(Ne,n)}var mt=null,Io=!1,jl=!1;function Nc(e){mt===null?mt=[e]:mt.push(e)}function F0(e){Io=!0,Nc(e)}function zt(){if(!jl&&mt!==null){jl=!0;var e=0,t=F;try{var n=mt;for(F=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}mt=null,Io=!1}catch(o){throw mt!==null&&(mt=mt.slice(e+1)),Cs(cl,zt),o}finally{F=t,jl=!1}}return null}var Dn=[],Hn=0,_o=null,Oo=0,be=[],Fe=0,nn=null,gt=1,vt="";function rn(e,t){Dn[Hn++]=Oo,Dn[Hn++]=_o,_o=e,Oo=t}function Rc(e,t,n){be[Fe++]=gt,be[Fe++]=vt,be[Fe++]=nn,nn=e;var r=gt;e=vt;var o=32-Ze(r)-1;r&=~(1<<o),n+=1;var i=32-Ze(t)+o;if(30<i){var l=o-o%5;i=(r&(1<<l)-1).toString(32),r>>=l,o-=l,gt=1<<32-Ze(t)+o|n<<o|r,vt=i+e}else gt=1<<i|n<<o|r,vt=e}function Vl(e){e.return!==null&&(rn(e,1),Rc(e,1,0))}function Gl(e){for(;e===_o;)_o=Dn[--Hn],Dn[Hn]=null,Oo=Dn[--Hn],Dn[Hn]=null;for(;e===nn;)nn=be[--Fe],be[Fe]=null,vt=be[--Fe],be[Fe]=null,gt=be[--Fe],be[Fe]=null}var He=null,ze=null,Z=!1,Qe=null;function Cc(e,t){var n=Ge(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Mc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,He=e,ze=At(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,He=e,ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=nn!==null?{id:gt,overflow:vt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ge(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,He=e,ze=null,!0):!1;default:return!1}}function $l(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xl(e){if(Z){var t=ze;if(t){var n=t;if(!Mc(e,t)){if($l(e))throw Error(T(418));t=At(n.nextSibling);var r=He;t&&Mc(e,t)?Cc(r,n):(e.flags=e.flags&-4097|2,Z=!1,He=e)}}else{if($l(e))throw Error(T(418));e.flags=e.flags&-4097|2,Z=!1,He=e}}}function Pc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;He=e}function Ao(e){if(e!==He)return!1;if(!Z)return Pc(e),Z=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!zl(e.type,e.memoizedProps)),t&&(t=ze)){if($l(e))throw Lc(),Error(T(418));for(;t;)Cc(e,t),t=At(t.nextSibling)}if(Pc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ze=At(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ze=null}}else ze=He?At(e.stateNode.nextSibling):null;return!0}function Lc(){for(var e=ze;e;)e=At(e.nextSibling)}function zn(){ze=He=null,Z=!1}function Zl(e){Qe===null?Qe=[e]:Qe.push(e)}var U0=pt.ReactCurrentBatchConfig;function Ke(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Do=Dt(null),Ho=null,Bn=null,Wl=null;function Ql(){Wl=Bn=Ho=null}function Kl(e){var t=Do.current;$(Do),e._currentValue=t}function Yl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function bn(e,t){Ho=e,Wl=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ce=!0),e.firstContext=null)}function Ue(e){var t=e._currentValue;if(Wl!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(Ho===null)throw Error(T(308));Bn=e,Ho.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var on=null;function Jl(e){on===null?on=[e]:on.push(e)}function Ic(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Jl(t)):(n.next=o.next,o.next=n),t.interleaved=n,yt(e,r)}function yt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bt=!1;function ql(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _c(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function bt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(z&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,yt(e,n)}return o=r.interleaved,o===null?(t.next=t,Jl(r)):(t.next=o.next,o.next=t),r.interleaved=t,yt(e,n)}function zo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pl(e,n)}}function Oc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bo(e,t,n,r){var o=e.updateQueue;Bt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?i=s:l.next=s,l=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(i!==null){var m=o.baseState;l=0,f=s=u=null,a=i;do{var p=a.lane,v=a.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:v,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,w=a;switch(p=t,v=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){m=y.call(v,m,p);break e}m=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,p=typeof y=="function"?y.call(v,m,p):y,p==null)break e;m=W({},m,p);break e;case 2:Bt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[a]:p.push(a))}else v={eventTime:v,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=v,u=m):f=f.next=v,l|=p;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;p=a,a=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(1);if(f===null&&(u=m),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);un|=l,e.lanes=l,e.memoizedState=m}}function Ac(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(T(191,o));o.call(r)}}}var Dc=new Yu.Component().refs;function ea(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:W({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var bo={isMounted:function(e){return(e=e._reactInternals)?qt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ke(),o=Vt(e),i=wt(r,o);i.payload=t,n!=null&&(i.callback=n),t=bt(e,i,o),t!==null&&(qe(t,e,o,r),zo(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ke(),o=Vt(e),i=wt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=bt(e,i,o),t!==null&&(qe(t,e,o,r),zo(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ke(),r=Vt(e),o=wt(n,r);o.tag=2,t!=null&&(o.callback=t),t=bt(e,o,r),t!==null&&(qe(t,e,r,n),zo(t,e,r))}};function Hc(e,t,n,r,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!Er(n,r)||!Er(o,i):!0}function zc(e,t,n){var r=!1,o=Ht,i=t.contextType;return typeof i=="object"&&i!==null?i=Ue(i):(o=Re(t)?tn:de.current,r=t.contextTypes,i=(r=r!=null)?An(e,o):Ht),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Bc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&bo.enqueueReplaceState(t,t.state,null)}function ta(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Dc,ql(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ue(i):(i=Re(t)?tn:de.current,o.context=An(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ea(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&bo.enqueueReplaceState(o,o.state,null),Bo(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Cr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(T(309));var r=n.stateNode}if(!r)throw Error(T(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var a=o.refs;a===Dc&&(a=o.refs={}),l===null?delete a[i]:a[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function Fo(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bc(e){var t=e._init;return t(e._payload)}function Fc(e){function t(h,c){if(e){var d=h.deletions;d===null?(h.deletions=[c],h.flags|=16):d.push(c)}}function n(h,c){if(!e)return null;for(;c!==null;)t(h,c),c=c.sibling;return null}function r(h,c){for(h=new Map;c!==null;)c.key!==null?h.set(c.key,c):h.set(c.index,c),c=c.sibling;return h}function o(h,c){return h=$t(h,c),h.index=0,h.sibling=null,h}function i(h,c,d){return h.index=d,e?(d=h.alternate,d!==null?(d=d.index,d<c?(h.flags|=2,c):d):(h.flags|=2,c)):(h.flags|=1048576,c)}function l(h){return e&&h.alternate===null&&(h.flags|=2),h}function a(h,c,d,E){return c===null||c.tag!==6?(c=Ba(d,h.mode,E),c.return=h,c):(c=o(c,d),c.return=h,c)}function u(h,c,d,E){var g=d.type;return g===Sn?f(h,c,d.props.children,E,d.key):c!==null&&(c.elementType===g||typeof g=="object"&&g!==null&&g.$$typeof===Rt&&bc(g)===c.type)?(E=o(c,d.props),E.ref=Cr(h,c,d),E.return=h,E):(E=ii(d.type,d.key,d.props,null,h.mode,E),E.ref=Cr(h,c,d),E.return=h,E)}function s(h,c,d,E){return c===null||c.tag!==4||c.stateNode.containerInfo!==d.containerInfo||c.stateNode.implementation!==d.implementation?(c=ba(d,h.mode,E),c.return=h,c):(c=o(c,d.children||[]),c.return=h,c)}function f(h,c,d,E,g){return c===null||c.tag!==7?(c=dn(d,h.mode,E,g),c.return=h,c):(c=o(c,d),c.return=h,c)}function m(h,c,d){if(typeof c=="string"&&c!==""||typeof c=="number")return c=Ba(""+c,h.mode,d),c.return=h,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case to:return d=ii(c.type,c.key,c.props,null,h.mode,d),d.ref=Cr(h,null,c),d.return=h,d;case En:return c=ba(c,h.mode,d),c.return=h,c;case Rt:var E=c._init;return m(h,E(c._payload),d)}if(nr(c)||er(c))return c=dn(c,h.mode,d,null),c.return=h,c;Fo(h,c)}return null}function p(h,c,d,E){var g=c!==null?c.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return g!==null?null:a(h,c,""+d,E);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case to:return d.key===g?u(h,c,d,E):null;case En:return d.key===g?s(h,c,d,E):null;case Rt:return g=d._init,p(h,c,g(d._payload),E)}if(nr(d)||er(d))return g!==null?null:f(h,c,d,E,null);Fo(h,d)}return null}function v(h,c,d,E,g){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(d)||null,a(c,h,""+E,g);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case to:return h=h.get(E.key===null?d:E.key)||null,u(c,h,E,g);case En:return h=h.get(E.key===null?d:E.key)||null,s(c,h,E,g);case Rt:var x=E._init;return v(h,c,d,x(E._payload),g)}if(nr(E)||er(E))return h=h.get(d)||null,f(c,h,E,g,null);Fo(c,E)}return null}function y(h,c,d,E){for(var g=null,x=null,R=c,P=c=0,V=null;R!==null&&P<d.length;P++){R.index>P?(V=R,R=null):V=R.sibling;var _=p(h,R,d[P],E);if(_===null){R===null&&(R=V);break}e&&R&&_.alternate===null&&t(h,R),c=i(_,c,P),x===null?g=_:x.sibling=_,x=_,R=V}if(P===d.length)return n(h,R),Z&&rn(h,P),g;if(R===null){for(;P<d.length;P++)R=m(h,d[P],E),R!==null&&(c=i(R,c,P),x===null?g=R:x.sibling=R,x=R);return Z&&rn(h,P),g}for(R=r(h,R);P<d.length;P++)V=v(R,h,P,d[P],E),V!==null&&(e&&V.alternate!==null&&R.delete(V.key===null?P:V.key),c=i(V,c,P),x===null?g=V:x.sibling=V,x=V);return e&&R.forEach(function(ue){return t(h,ue)}),Z&&rn(h,P),g}function w(h,c,d,E){var g=er(d);if(typeof g!="function")throw Error(T(150));if(d=g.call(d),d==null)throw Error(T(151));for(var x=g=null,R=c,P=c=0,V=null,_=d.next();R!==null&&!_.done;P++,_=d.next()){R.index>P?(V=R,R=null):V=R.sibling;var ue=p(h,R,_.value,E);if(ue===null){R===null&&(R=V);break}e&&R&&ue.alternate===null&&t(h,R),c=i(ue,c,P),x===null?g=ue:x.sibling=ue,x=ue,R=V}if(_.done)return n(h,R),Z&&rn(h,P),g;if(R===null){for(;!_.done;P++,_=d.next())_=m(h,_.value,E),_!==null&&(c=i(_,c,P),x===null?g=_:x.sibling=_,x=_);return Z&&rn(h,P),g}for(R=r(h,R);!_.done;P++,_=d.next())_=v(R,h,P,_.value,E),_!==null&&(e&&_.alternate!==null&&R.delete(_.key===null?P:_.key),c=i(_,c,P),x===null?g=_:x.sibling=_,x=_);return e&&R.forEach(function(ft){return t(h,ft)}),Z&&rn(h,P),g}function N(h,c,d,E){if(typeof d=="object"&&d!==null&&d.type===Sn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case to:e:{for(var g=d.key,x=c;x!==null;){if(x.key===g){if(g=d.type,g===Sn){if(x.tag===7){n(h,x.sibling),c=o(x,d.props.children),c.return=h,h=c;break e}}else if(x.elementType===g||typeof g=="object"&&g!==null&&g.$$typeof===Rt&&bc(g)===x.type){n(h,x.sibling),c=o(x,d.props),c.ref=Cr(h,x,d),c.return=h,h=c;break e}n(h,x);break}else t(h,x);x=x.sibling}d.type===Sn?(c=dn(d.props.children,h.mode,E,d.key),c.return=h,h=c):(E=ii(d.type,d.key,d.props,null,h.mode,E),E.ref=Cr(h,c,d),E.return=h,h=E)}return l(h);case En:e:{for(x=d.key;c!==null;){if(c.key===x)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(h,c.sibling),c=o(c,d.children||[]),c.return=h,h=c;break e}else{n(h,c);break}else t(h,c);c=c.sibling}c=ba(d,h.mode,E),c.return=h,h=c}return l(h);case Rt:return x=d._init,N(h,c,x(d._payload),E)}if(nr(d))return y(h,c,d,E);if(er(d))return w(h,c,d,E);Fo(h,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(h,c.sibling),c=o(c,d),c.return=h,h=c):(n(h,c),c=Ba(d,h.mode,E),c.return=h,h=c),l(h)):n(h,c)}return N}var Fn=Fc(!0),Uc=Fc(!1),Mr={},ot=Dt(Mr),Pr=Dt(Mr),Lr=Dt(Mr);function ln(e){if(e===Mr)throw Error(T(174));return e}function na(e,t){switch(j(Lr,t),j(Pr,e),j(ot,Mr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=tl(t,e)}$(ot),j(ot,t)}function Un(){$(ot),$(Pr),$(Lr)}function jc(e){ln(Lr.current);var t=ln(ot.current),n=tl(t,e.type);t!==n&&(j(Pr,e),j(ot,n))}function ra(e){Pr.current===e&&($(ot),$(Pr))}var Q=Dt(0);function Uo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var oa=[];function ia(){for(var e=0;e<oa.length;e++)oa[e]._workInProgressVersionPrimary=null;oa.length=0}var jo=pt.ReactCurrentDispatcher,la=pt.ReactCurrentBatchConfig,an=0,K=null,re=null,le=null,Vo=!1,Ir=!1,_r=0,j0=0;function pe(){throw Error(T(321))}function aa(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!We(e[n],t[n]))return!1;return!0}function ua(e,t,n,r,o,i){if(an=i,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jo.current=e===null||e.memoizedState===null?X0:Z0,e=n(r,o),Ir){i=0;do{if(Ir=!1,_r=0,25<=i)throw Error(T(301));i+=1,le=re=null,t.updateQueue=null,jo.current=W0,e=n(r,o)}while(Ir)}if(jo.current=Xo,t=re!==null&&re.next!==null,an=0,le=re=K=null,Vo=!1,t)throw Error(T(300));return e}function sa(){var e=_r!==0;return _r=0,e}function it(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return le===null?K.memoizedState=le=e:le=le.next=e,le}function je(){if(re===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=re.next;var t=le===null?K.memoizedState:le.next;if(t!==null)le=t,re=e;else{if(e===null)throw Error(T(310));re=e,e={memoizedState:re.memoizedState,baseState:re.baseState,baseQueue:re.baseQueue,queue:re.queue,next:null},le===null?K.memoizedState=le=e:le=le.next=e}return le}function Or(e,t){return typeof t=="function"?t(e):t}function ca(e){var t=je(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=re,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=l=null,u=null,s=i;do{var f=s.lane;if((an&f)===f)u!==null&&(u=u.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var m={lane:f,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};u===null?(a=u=m,l=r):u=u.next=m,K.lanes|=f,un|=f}s=s.next}while(s!==null&&s!==i);u===null?l=r:u.next=a,We(r,t.memoizedState)||(Ce=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,K.lanes|=i,un|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function fa(e){var t=je(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);We(i,t.memoizedState)||(Ce=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Vc(){}function Gc(e,t){var n=K,r=je(),o=t(),i=!We(r.memoizedState,o);if(i&&(r.memoizedState=o,Ce=!0),r=r.queue,da(Zc.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||le!==null&&le.memoizedState.tag&1){if(n.flags|=2048,Ar(9,Xc.bind(null,n,r,o,t),void 0,null),ae===null)throw Error(T(349));(an&30)!==0||$c(n,t,o)}return o}function $c(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Xc(e,t,n,r){t.value=n,t.getSnapshot=r,Wc(t)&&Qc(e)}function Zc(e,t,n){return n(function(){Wc(t)&&Qc(e)})}function Wc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!We(e,n)}catch{return!0}}function Qc(e){var t=yt(e,1);t!==null&&qe(t,e,1,-1)}function Kc(e){var t=it();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Or,lastRenderedState:e},t.queue=e,e=e.dispatch=$0.bind(null,K,e),[t.memoizedState,e]}function Ar(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Yc(){return je().memoizedState}function Go(e,t,n,r){var o=it();K.flags|=e,o.memoizedState=Ar(1|t,n,void 0,r===void 0?null:r)}function $o(e,t,n,r){var o=je();r=r===void 0?null:r;var i=void 0;if(re!==null){var l=re.memoizedState;if(i=l.destroy,r!==null&&aa(r,l.deps)){o.memoizedState=Ar(t,n,i,r);return}}K.flags|=e,o.memoizedState=Ar(1|t,n,i,r)}function Jc(e,t){return Go(8390656,8,e,t)}function da(e,t){return $o(2048,8,e,t)}function qc(e,t){return $o(4,2,e,t)}function ef(e,t){return $o(4,4,e,t)}function tf(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function nf(e,t,n){return n=n!=null?n.concat([e]):null,$o(4,4,tf.bind(null,t,e),n)}function pa(){}function rf(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function of(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function lf(e,t,n){return(an&21)===0?(e.baseState&&(e.baseState=!1,Ce=!0),e.memoizedState=n):(We(n,t)||(n=Is(),K.lanes|=n,un|=n,e.baseState=!0),t)}function V0(e,t){var n=F;F=n!==0&&4>n?n:4,e(!0);var r=la.transition;la.transition={};try{e(!1),t()}finally{F=n,la.transition=r}}function af(){return je().memoizedState}function G0(e,t,n){var r=Vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uf(e))sf(t,n);else if(n=Ic(e,t,n,r),n!==null){var o=ke();qe(n,e,r,o),cf(n,t,r)}}function $0(e,t,n){var r=Vt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uf(e))sf(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,We(a,l)){var u=t.interleaved;u===null?(o.next=o,Jl(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=Ic(e,t,o,r),n!==null&&(o=ke(),qe(n,e,r,o),cf(n,t,r))}}function uf(e){var t=e.alternate;return e===K||t!==null&&t===K}function sf(e,t){Ir=Vo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function cf(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pl(e,n)}}var Xo={readContext:Ue,useCallback:pe,useContext:pe,useEffect:pe,useImperativeHandle:pe,useInsertionEffect:pe,useLayoutEffect:pe,useMemo:pe,useReducer:pe,useRef:pe,useState:pe,useDebugValue:pe,useDeferredValue:pe,useTransition:pe,useMutableSource:pe,useSyncExternalStore:pe,useId:pe,unstable_isNewReconciler:!1},X0={readContext:Ue,useCallback:function(e,t){return it().memoizedState=[e,t===void 0?null:t],e},useContext:Ue,useEffect:Jc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Go(4194308,4,tf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Go(4194308,4,e,t)},useInsertionEffect:function(e,t){return Go(4,2,e,t)},useMemo:function(e,t){var n=it();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=it();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=G0.bind(null,K,e),[r.memoizedState,e]},useRef:function(e){var t=it();return e={current:e},t.memoizedState=e},useState:Kc,useDebugValue:pa,useDeferredValue:function(e){return it().memoizedState=e},useTransition:function(){var e=Kc(!1),t=e[0];return e=V0.bind(null,e[1]),it().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,o=it();if(Z){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),ae===null)throw Error(T(349));(an&30)!==0||$c(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Jc(Zc.bind(null,r,i,e),[e]),r.flags|=2048,Ar(9,Xc.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=it(),t=ae.identifierPrefix;if(Z){var n=vt,r=gt;n=(r&~(1<<32-Ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=_r++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=j0++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Z0={readContext:Ue,useCallback:rf,useContext:Ue,useEffect:da,useImperativeHandle:nf,useInsertionEffect:qc,useLayoutEffect:ef,useMemo:of,useReducer:ca,useRef:Yc,useState:function(){return ca(Or)},useDebugValue:pa,useDeferredValue:function(e){var t=je();return lf(t,re.memoizedState,e)},useTransition:function(){var e=ca(Or)[0],t=je().memoizedState;return[e,t]},useMutableSource:Vc,useSyncExternalStore:Gc,useId:af,unstable_isNewReconciler:!1},W0={readContext:Ue,useCallback:rf,useContext:Ue,useEffect:da,useImperativeHandle:nf,useInsertionEffect:qc,useLayoutEffect:ef,useMemo:of,useReducer:fa,useRef:Yc,useState:function(){return fa(Or)},useDebugValue:pa,useDeferredValue:function(e){var t=je();return re===null?t.memoizedState=e:lf(t,re.memoizedState,e)},useTransition:function(){var e=fa(Or)[0],t=je().memoizedState;return[e,t]},useMutableSource:Vc,useSyncExternalStore:Gc,useId:af,unstable_isNewReconciler:!1};function jn(e,t){try{var n="",r=t;do n+=kh(r),r=r.return;while(r);var o=n}catch(i){o=`
39
39
  Error generating stack: `+i.message+`
40
- `+i.stack}return{value:e,source:t,stack:o,digest:null}}function su(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function cu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var H0=typeof WeakMap=="function"?WeakMap:Map;function Jc(e,t,n){n=ht(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qo||(Qo=!0,Nu=r),cu(e,t)},n}function qc(e,t,n){n=ht(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){cu(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){cu(e,t),typeof r!="function"&&(Ht===null?Ht=new Set([this]):Ht.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function ef(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new H0;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Q0.bind(null,e,t,n),t.then(e,e))}function tf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function nf(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ht(-1,1),t.tag=2,Ot(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var D0=at.ReactCurrentOwner,Te=!1;function ye(e,t,n,r){t.child=e===null?Mc(t,null,n,r):Hn(t,e.child,n,r)}function rf(e,t,n,r,o){n=n.render;var i=t.ref;return An(t,o),r=ru(e,t,n,r,i,o),n=ou(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,mt(e,t,o)):(X&&n&&Bl(t),t.flags|=1,ye(e,t,r,o),t.child)}function of(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Iu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,lf(e,t,i,r,o)):(e=ti(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:hr,n(l,r)&&e.ref===t.ref)return mt(e,t,o)}return t.flags|=1,e=Ft(i,r),e.ref=t.ref,e.return=t,t.child=e}function lf(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(hr(i,r)&&e.ref===t.ref)if(Te=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Te=!0);else return t.lanes=e.lanes,mt(e,t,o)}return fu(e,t,n,r,o)}function uf(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},j(Fn,Ae),Ae|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,j(Fn,Ae),Ae|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,j(Fn,Ae),Ae|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,j(Fn,Ae),Ae|=r;return ye(e,t,o,n),t.child}function af(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function fu(e,t,n,r,o){var i=xe(n)?Kt:se.current;return i=Mn(t,i),An(t,o),n=ru(e,t,n,r,i,o),r=ou(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,mt(e,t,o)):(X&&r&&Bl(t),t.flags|=1,ye(e,t,n,o),t.child)}function sf(e,t,n,r,o){if(xe(n)){var i=!0;Co(t)}else i=!1;if(An(t,o),t.stateNode===null)Go(e,t),Nc(t,n,r),Kl(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,u=t.memoizedProps;l.props=u;var a=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=Fe(s):(s=xe(n)?Kt:se.current,s=Mn(t,s));var f=n.getDerivedStateFromProps,m=typeof f=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==r||a!==s)&&Cc(t,l,r,s),It=!1;var p=t.memoizedState;l.state=p,Ao(t,r,l,o),a=t.memoizedState,u!==r||p!==a||ke.current||It?(typeof f=="function"&&(Ql(t,n,f,r),a=t.memoizedState),(u=It||Tc(t,n,u,r,p,a,s))?(m||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=s,r=u):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Ec(e,t),u=t.memoizedProps,s=t.type===t.elementType?u:Ze(t.type,u),l.props=s,m=t.pendingProps,p=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Fe(a):(a=xe(n)?Kt:se.current,a=Mn(t,a));var v=n.getDerivedStateFromProps;(f=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(u!==m||p!==a)&&Cc(t,l,r,a),It=!1,p=t.memoizedState,l.state=p,Ao(t,r,l,o);var y=t.memoizedState;u!==m||p!==y||ke.current||It?(typeof v=="function"&&(Ql(t,n,v,r),y=t.memoizedState),(s=It||Tc(t,n,s,r,p,y,a)||!1)?(f||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=a,r=s):(typeof l.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return du(e,t,n,r,i,o)}function du(e,t,n,r,o,i){af(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&dc(t,n,!1),mt(e,t,i);r=t.stateNode,D0.current=t;var u=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Hn(t,e.child,null,i),t.child=Hn(t,null,u,i)):ye(e,t,u,i),t.memoizedState=r.state,o&&dc(t,n,!0),t.child}function cf(e){var t=e.stateNode;t.pendingContext?cc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&cc(e,t.context,!1),Yl(e,t.containerInfo)}function ff(e,t,n,r,o){return In(),jl(o),t.flags|=256,ye(e,t,n,r),t.child}var pu={dehydrated:null,treeContext:null,retryLane:0};function hu(e){return{baseLanes:e,cachePool:null,transitions:null}}function df(e,t,n){var r=t.pendingProps,o=W.current,i=!1,l=(t.flags&128)!==0,u;if((u=l)||(u=e!==null&&e.memoizedState===null?!1:(o&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),j(W,o&1),e===null)return Ul(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=ni(l,r,0,null),e=un(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=hu(n),t.memoizedState=pu,e):mu(t,l));if(o=e.memoizedState,o!==null&&(u=o.dehydrated,u!==null))return z0(e,t,l,r,u,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,u=o.sibling;var a={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Ft(o,a),r.subtreeFlags=o.subtreeFlags&14680064),u!==null?i=Ft(u,i):(i=un(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?hu(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=pu,r}return i=e.child,e=i.sibling,r=Ft(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function mu(e,t){return t=ni({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Vo(e,t,n,r){return r!==null&&jl(r),Hn(t,e.child,null,n),e=mu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function z0(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=su(Error(k(422))),Vo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=ni({mode:"visible",children:r.children},o,0,null),i=un(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Hn(t,e.child,null,l),t.child.memoizedState=hu(l),t.memoizedState=pu,i);if((t.mode&1)===0)return Vo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(k(419)),r=su(i,r,void 0),Vo(e,t,l,r)}if(u=(l&e.childLanes)!==0,Te||u){if(r=ie,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|l))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,pt(e,o),Ke(r,e,o,-1))}return Lu(),r=su(Error(k(421))),Vo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=K0.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Oe=Pt(o.nextSibling),Ie=t,X=!0,Xe=null,e!==null&&(ze[Be++]=ft,ze[Be++]=dt,ze[Be++]=Yt,ft=e.id,dt=e.overflow,Yt=t),t=mu(t,r.children),t.flags|=4096,t)}function pf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Xl(e.return,t,n)}function gu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function hf(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ye(e,t,r.children,n),r=W.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&pf(e,n,t);else if(e.tag===19)pf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(j(W,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&zo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),gu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&zo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}gu(t,!0,n,null,i);break;case"together":gu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Go(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),nn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(k(153));if(t.child!==null){for(e=t.child,n=Ft(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ft(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function B0(e,t,n){switch(t.tag){case 3:cf(t),In();break;case 5:_c(t);break;case 1:xe(t.type)&&Co(t);break;case 4:Yl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;j(Lo,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(j(W,W.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?df(e,t,n):(j(W,W.current&1),e=mt(e,t,n),e!==null?e.sibling:null);j(W,W.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return hf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),j(W,W.current),r)break;return null;case 22:case 23:return t.lanes=0,uf(e,t,n)}return mt(e,t,n)}var mf,vu,gf,vf;mf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},vu=function(){},gf=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,en(et.current);var i=null;switch(n){case"input":o=Xi(e,o),r=Xi(e,r),i=[];break;case"select":o=Z({},o,{value:void 0}),r=Z({},r,{value:void 0}),i=[];break;case"textarea":o=Qi(e,o),r=Qi(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=xo)}Yi(n,r);var l;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var u=o[s];for(l in u)u.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Zn.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var a=r[s];if(u=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&a!==u&&(a!=null||u!=null))if(s==="style")if(u){for(l in u)!u.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&u[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(i||(i=[]),i.push(s,n)),n=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(i=i||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Zn.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&V("scroll",e),i||u===a||(i=[])):(i=i||[]).push(s,a))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},vf=function(e,t,n,r){n!==r&&(t.flags|=4)};function Mr(e,t){if(!X)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function F0(e,t,n){var r=t.pendingProps;switch(Fl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fe(t),null;case 1:return xe(t.type)&&No(),fe(t),null;case 3:return r=t.stateNode,Dn(),G(ke),G(se),eu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(_o(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Xe!==null&&(Pu(Xe),Xe=null))),vu(e,t),fe(t),null;case 5:Jl(t);var o=en(Tr.current);if(n=t.type,e!==null&&t.stateNode!=null)gf(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(k(166));return fe(t),null}if(e=en(et.current),_o(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[qe]=t,r[wr]=i,e=(t.mode&1)!==0,n){case"dialog":V("cancel",r),V("close",r);break;case"iframe":case"object":case"embed":V("load",r);break;case"video":case"audio":for(o=0;o<gr.length;o++)V(gr[o],r);break;case"source":V("error",r);break;case"img":case"image":case"link":V("error",r),V("load",r);break;case"details":V("toggle",r);break;case"input":Qa(r,i),V("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},V("invalid",r);break;case"textarea":Ja(r,i),V("invalid",r)}Yi(n,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var u=i[l];l==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&ko(r.textContent,u,e),o=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&ko(r.textContent,u,e),o=["children",""+u]):Zn.hasOwnProperty(l)&&u!=null&&l==="onScroll"&&V("scroll",r)}switch(n){case"input":Jr(r),Ya(r,i,!0);break;case"textarea":Jr(r),es(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=xo)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ts(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[qe]=t,e[wr]=r,mf(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ji(n,r),n){case"dialog":V("cancel",e),V("close",e),o=r;break;case"iframe":case"object":case"embed":V("load",e),o=r;break;case"video":case"audio":for(o=0;o<gr.length;o++)V(gr[o],e);o=r;break;case"source":V("error",e),o=r;break;case"img":case"image":case"link":V("error",e),V("load",e),o=r;break;case"details":V("toggle",e),o=r;break;case"input":Qa(e,r),o=Xi(e,r),V("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Z({},r,{value:void 0}),V("invalid",e);break;case"textarea":Ja(e,r),o=Qi(e,r),V("invalid",e);break;default:o=r}Yi(n,o),u=o;for(i in u)if(u.hasOwnProperty(i)){var a=u[i];i==="style"?os(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&ns(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Yn(e,a):typeof a=="number"&&Yn(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Zn.hasOwnProperty(i)?a!=null&&i==="onScroll"&&V("scroll",e):a!=null&&Hi(e,i,a,l))}switch(n){case"input":Jr(e),Ya(e,r,!1);break;case"textarea":Jr(e),es(e);break;case"option":r.value!=null&&e.setAttribute("value",""+St(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?vn(e,!!r.multiple,i,!1):r.defaultValue!=null&&vn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=xo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return fe(t),null;case 6:if(e&&t.stateNode!=null)vf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(k(166));if(n=en(Tr.current),en(et.current),_o(t)){if(r=t.stateNode,n=t.memoizedProps,r[qe]=t,(i=r.nodeValue!==n)&&(e=Ie,e!==null))switch(e.tag){case 3:ko(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ko(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[qe]=t,t.stateNode=r}return fe(t),null;case 13:if(G(W),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(X&&Oe!==null&&(t.mode&1)!==0&&(t.flags&128)===0)yc(),In(),t.flags|=98560,i=!1;else if(i=_o(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(k(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(k(317));i[qe]=t}else In(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;fe(t),i=!1}else Xe!==null&&(Pu(Xe),Xe=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(W.current&1)!==0?re===0&&(re=3):Lu())),t.updateQueue!==null&&(t.flags|=4),fe(t),null);case 4:return Dn(),vu(e,t),e===null&&vr(t.stateNode.containerInfo),fe(t),null;case 10:return $l(t.type._context),fe(t),null;case 17:return xe(t.type)&&No(),fe(t),null;case 19:if(G(W),i=t.memoizedState,i===null)return fe(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)Mr(i,!1);else{if(re!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=zo(e),l!==null){for(t.flags|=128,Mr(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return j(W,W.current&1|2),t.child}e=e.sibling}i.tail!==null&&q()>bn&&(t.flags|=128,r=!0,Mr(i,!1),t.lanes=4194304)}else{if(!r)if(e=zo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Mr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!X)return fe(t),null}else 2*q()-i.renderingStartTime>bn&&n!==1073741824&&(t.flags|=128,r=!0,Mr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=q(),t.sibling=null,n=W.current,j(W,r?n&1|2:n&1),t):(fe(t),null);case 22:case 23:return _u(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Ae&1073741824)!==0&&(fe(t),t.subtreeFlags&6&&(t.flags|=8192)):fe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function b0(e,t){switch(Fl(t),t.tag){case 1:return xe(t.type)&&No(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dn(),G(ke),G(se),eu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Jl(t),null;case 13:if(G(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));In()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(W),null;case 4:return Dn(),null;case 10:return $l(t.type._context),null;case 22:case 23:return _u(),null;case 24:return null;default:return null}}var $o=!1,de=!1,U0=typeof WeakSet=="function"?WeakSet:Set,R=null;function Bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function yu(e,t,n){try{n()}catch(r){J(e,t,r)}}var yf=!1;function j0(e,t){if(_l=co,e=Ws(),kl(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,u=-1,a=-1,s=0,f=0,m=e,p=null;t:for(;;){for(var v;m!==n||o!==0&&m.nodeType!==3||(u=l+o),m!==i||r!==0&&m.nodeType!==3||(a=l+r),m.nodeType===3&&(l+=m.nodeValue.length),(v=m.firstChild)!==null;)p=m,m=v;for(;;){if(m===e)break t;if(p===n&&++s===o&&(u=l),p===i&&++f===r&&(a=l),(v=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=v}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ll={focusedElem:e,selectionRange:n},co=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var E=y.memoizedProps,N=y.memoizedState,h=t.stateNode,c=h.getSnapshotBeforeUpdate(t.elementType===t.type?E:Ze(t.type,E),N);h.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(w){J(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=yf,yf=!1,y}function _r(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&yu(t,n,i)}o=o.next}while(o!==r)}}function Xo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function wu(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wf(e){var t=e.alternate;t!==null&&(e.alternate=null,wf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[qe],delete t[wr],delete t[Hl],delete t[T0],delete t[N0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ef(e){return e.tag===5||e.tag===3||e.tag===4}function Sf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ef(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Eu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xo));else if(r!==4&&(e=e.child,e!==null))for(Eu(e,t,n),e=e.sibling;e!==null;)Eu(e,t,n),e=e.sibling}function Su(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Su(e,t,n),e=e.sibling;e!==null;)Su(e,t,n),e=e.sibling}var ue=null,We=!1;function At(e,t,n){for(n=n.child;n!==null;)kf(e,t,n),n=n.sibling}function kf(e,t,n){if(Je&&typeof Je.onCommitFiberUnmount=="function")try{Je.onCommitFiberUnmount(oo,n)}catch{}switch(n.tag){case 5:de||Bn(n,t);case 6:var r=ue,o=We;ue=null,At(e,t,n),ue=r,We=o,ue!==null&&(We?(e=ue,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ue.removeChild(n.stateNode));break;case 18:ue!==null&&(We?(e=ue,n=n.stateNode,e.nodeType===8?Al(e.parentNode,n):e.nodeType===1&&Al(e,n),ar(e)):Al(ue,n.stateNode));break;case 4:r=ue,o=We,ue=n.stateNode.containerInfo,We=!0,At(e,t,n),ue=r,We=o;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&yu(n,t,l),o=o.next}while(o!==r)}At(e,t,n);break;case 1:if(!de&&(Bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){J(n,t,u)}At(e,t,n);break;case 21:At(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,At(e,t,n),de=r):At(e,t,n);break;default:At(e,t,n)}}function xf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new U0),t.forEach(function(r){var o=Y0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Qe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,u=l;e:for(;u!==null;){switch(u.tag){case 5:ue=u.stateNode,We=!1;break e;case 3:ue=u.stateNode.containerInfo,We=!0;break e;case 4:ue=u.stateNode.containerInfo,We=!0;break e}u=u.return}if(ue===null)throw Error(k(160));kf(i,l,o),ue=null,We=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(s){J(o,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Tf(t,e),t=t.sibling}function Tf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Qe(t,e),nt(e),r&4){try{_r(3,e,e.return),Xo(3,e)}catch(E){J(e,e.return,E)}try{_r(5,e,e.return)}catch(E){J(e,e.return,E)}}break;case 1:Qe(t,e),nt(e),r&512&&n!==null&&Bn(n,n.return);break;case 5:if(Qe(t,e),nt(e),r&512&&n!==null&&Bn(n,n.return),e.flags&32){var o=e.stateNode;try{Yn(o,"")}catch(E){J(e,e.return,E)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=n!==null?n.memoizedProps:i,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&Ka(o,i),Ji(u,l);var s=Ji(u,i);for(l=0;l<a.length;l+=2){var f=a[l],m=a[l+1];f==="style"?os(o,m):f==="dangerouslySetInnerHTML"?ns(o,m):f==="children"?Yn(o,m):Hi(o,f,m,s)}switch(u){case"input":Zi(o,i);break;case"textarea":qa(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var v=i.value;v!=null?vn(o,!!i.multiple,v,!1):p!==!!i.multiple&&(i.defaultValue!=null?vn(o,!!i.multiple,i.defaultValue,!0):vn(o,!!i.multiple,i.multiple?[]:"",!1))}o[wr]=i}catch(E){J(e,e.return,E)}}break;case 6:if(Qe(t,e),nt(e),r&4){if(e.stateNode===null)throw Error(k(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(E){J(e,e.return,E)}}break;case 3:if(Qe(t,e),nt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ar(t.containerInfo)}catch(E){J(e,e.return,E)}break;case 4:Qe(t,e),nt(e);break;case 13:Qe(t,e),nt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Tu=q())),r&4&&xf(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(de=(s=de)||f,Qe(t,e),de=s):Qe(t,e),nt(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!f&&(e.mode&1)!==0)for(R=e,f=e.child;f!==null;){for(m=R=f;R!==null;){switch(p=R,v=p.child,p.tag){case 0:case 11:case 14:case 15:_r(4,p,p.return);break;case 1:Bn(p,p.return);var y=p.stateNode;if(typeof y.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(E){J(r,n,E)}}break;case 5:Bn(p,p.return);break;case 22:if(p.memoizedState!==null){Rf(m);continue}}v!==null?(v.return=p,R=v):Rf(m)}f=f.sibling}e:for(f=null,m=e;;){if(m.tag===5){if(f===null){f=m;try{o=m.stateNode,s?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=m.stateNode,a=m.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=rs("display",l))}catch(E){J(e,e.return,E)}}}else if(m.tag===6){if(f===null)try{m.stateNode.nodeValue=s?"":m.memoizedProps}catch(E){J(e,e.return,E)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;f===m&&(f=null),m=m.return}f===m&&(f=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Qe(t,e),nt(e),r&4&&xf(e);break;case 21:break;default:Qe(t,e),nt(e)}}function nt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ef(n)){var r=n;break e}n=n.return}throw Error(k(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Yn(o,""),r.flags&=-33);var i=Sf(e);Su(e,i,o);break;case 3:case 4:var l=r.stateNode.containerInfo,u=Sf(e);Eu(e,u,l);break;default:throw Error(k(161))}}catch(a){J(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function V0(e,t,n){R=e,Nf(e)}function Nf(e,t,n){for(var r=(e.mode&1)!==0;R!==null;){var o=R,i=o.child;if(o.tag===22&&r){var l=o.memoizedState!==null||$o;if(!l){var u=o.alternate,a=u!==null&&u.memoizedState!==null||de;u=$o;var s=de;if($o=l,(de=a)&&!s)for(R=o;R!==null;)l=R,a=l.child,l.tag===22&&l.memoizedState!==null?Pf(o):a!==null?(a.return=l,R=a):Pf(o);for(;i!==null;)R=i,Nf(i),i=i.sibling;R=o,$o=u,de=s}Cf(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,R=i):Cf(e)}}function Cf(e){for(;R!==null;){var t=R;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:de||Xo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!de)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ze(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&kc(t,i,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}kc(t,l,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var f=s.memoizedState;if(f!==null){var m=f.dehydrated;m!==null&&ar(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(k(163))}de||t.flags&512&&wu(t)}catch(p){J(t,t.return,p)}}if(t===e){R=null;break}if(n=t.sibling,n!==null){n.return=t.return,R=n;break}R=t.return}}function Rf(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var n=t.sibling;if(n!==null){n.return=t.return,R=n;break}R=t.return}}function Pf(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Xo(4,t)}catch(a){J(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){J(t,o,a)}}var i=t.return;try{wu(t)}catch(a){J(t,i,a)}break;case 5:var l=t.return;try{wu(t)}catch(a){J(t,l,a)}}}catch(a){J(t,t.return,a)}if(t===e){R=null;break}var u=t.sibling;if(u!==null){u.return=t.return,R=u;break}R=t.return}}var G0=Math.ceil,Zo=at.ReactCurrentDispatcher,ku=at.ReactCurrentOwner,Ue=at.ReactCurrentBatchConfig,z=0,ie=null,ee=null,ae=0,Ae=0,Fn=Mt(0),re=0,Lr=null,nn=0,Wo=0,xu=0,Ir=null,Ne=null,Tu=0,bn=1/0,gt=null,Qo=!1,Nu=null,Ht=null,Ko=!1,Dt=null,Yo=0,Or=0,Cu=null,Jo=-1,qo=0;function we(){return(z&6)!==0?q():Jo!==-1?Jo:Jo=q()}function zt(e){return(e.mode&1)===0?1:(z&2)!==0&&ae!==0?ae&-ae:R0.transition!==null?(qo===0&&(qo=ws()),qo):(e=F,e!==0||(e=window.event,e=e===void 0?16:Ps(e.type)),e)}function Ke(e,t,n,r){if(50<Or)throw Or=0,Cu=null,Error(k(185));rr(e,n,r),((z&2)===0||e!==ie)&&(e===ie&&((z&2)===0&&(Wo|=n),re===4&&Bt(e,ae)),Ce(e,r),n===1&&z===0&&(t.mode&1)===0&&(bn=q()+500,Ro&&Lt()))}function Ce(e,t){var n=e.callbackNode;Rh(e,t);var r=uo(e,e===ie?ae:0);if(r===0)n!==null&&gs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&gs(n),t===1)e.tag===0?C0(_f.bind(null,e)):pc(_f.bind(null,e)),k0(function(){(z&6)===0&&Lt()}),n=null;else{switch(Es(r)){case 1:n=il;break;case 4:n=vs;break;case 16:n=ro;break;case 536870912:n=ys;break;default:n=ro}n=Bf(n,Mf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Mf(e,t){if(Jo=-1,qo=0,(z&6)!==0)throw Error(k(327));var n=e.callbackNode;if(Un()&&e.callbackNode!==n)return null;var r=uo(e,e===ie?ae:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=ei(e,r);else{t=r;var o=z;z|=2;var i=If();(ie!==e||ae!==t)&&(gt=null,bn=q()+500,on(e,t));do try{Z0();break}catch(u){Lf(e,u)}while(1);Gl(),Zo.current=i,z=o,ee!==null?t=0:(ie=null,ae=0,t=re)}if(t!==0){if(t===2&&(o=ll(e),o!==0&&(r=o,t=Ru(e,o))),t===1)throw n=Lr,on(e,0),Bt(e,r),Ce(e,q()),n;if(t===6)Bt(e,r);else{if(o=e.current.alternate,(r&30)===0&&!$0(o)&&(t=ei(e,r),t===2&&(i=ll(e),i!==0&&(r=i,t=Ru(e,i))),t===1))throw n=Lr,on(e,0),Bt(e,r),Ce(e,q()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(k(345));case 2:ln(e,Ne,gt);break;case 3:if(Bt(e,r),(r&130023424)===r&&(t=Tu+500-q(),10<t)){if(uo(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){we(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ol(ln.bind(null,e,Ne,gt),t);break}ln(e,Ne,gt);break;case 4:if(Bt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-Ge(r);i=1<<l,l=t[l],l>o&&(o=l),r&=~i}if(r=o,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*G0(r/1960))-r,10<r){e.timeoutHandle=Ol(ln.bind(null,e,Ne,gt),r);break}ln(e,Ne,gt);break;case 5:ln(e,Ne,gt);break;default:throw Error(k(329))}}}return Ce(e,q()),e.callbackNode===n?Mf.bind(null,e):null}function Ru(e,t){var n=Ir;return e.current.memoizedState.isDehydrated&&(on(e,t).flags|=256),e=ei(e,t),e!==2&&(t=Ne,Ne=n,t!==null&&Pu(t)),e}function Pu(e){Ne===null?Ne=e:Ne.push.apply(Ne,e)}function $0(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!$e(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Bt(e,t){for(t&=~xu,t&=~Wo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ge(t),r=1<<n;e[n]=-1,t&=~r}}function _f(e){if((z&6)!==0)throw Error(k(327));Un();var t=uo(e,0);if((t&1)===0)return Ce(e,q()),null;var n=ei(e,t);if(e.tag!==0&&n===2){var r=ll(e);r!==0&&(t=r,n=Ru(e,r))}if(n===1)throw n=Lr,on(e,0),Bt(e,t),Ce(e,q()),n;if(n===6)throw Error(k(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ln(e,Ne,gt),Ce(e,q()),null}function Mu(e,t){var n=z;z|=1;try{return e(t)}finally{z=n,z===0&&(bn=q()+500,Ro&&Lt())}}function rn(e){Dt!==null&&Dt.tag===0&&(z&6)===0&&Un();var t=z;z|=1;var n=Ue.transition,r=F;try{if(Ue.transition=null,F=1,e)return e()}finally{F=r,Ue.transition=n,z=t,(z&6)===0&&Lt()}}function _u(){Ae=Fn.current,G(Fn)}function on(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,S0(n)),ee!==null)for(n=ee.return;n!==null;){var r=n;switch(Fl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&No();break;case 3:Dn(),G(ke),G(se),eu();break;case 5:Jl(r);break;case 4:Dn();break;case 13:G(W);break;case 19:G(W);break;case 10:$l(r.type._context);break;case 22:case 23:_u()}n=n.return}if(ie=e,ee=e=Ft(e.current,null),ae=Ae=t,re=0,Lr=null,xu=Wo=nn=0,Ne=Ir=null,qt!==null){for(t=0;t<qt.length;t++)if(n=qt[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var l=i.next;i.next=o,r.next=l}n.pending=r}qt=null}return e}function Lf(e,t){do{var n=ee;try{if(Gl(),Bo.current=jo,Fo){for(var r=Q.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Fo=!1}if(tn=0,oe=ne=Q=null,Nr=!1,Cr=0,ku.current=null,n===null||n.return===null){re=1,Lr=t,ee=null;break}e:{var i=e,l=n.return,u=n,a=t;if(t=ae,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,f=u,m=f.tag;if((f.mode&1)===0&&(m===0||m===11||m===15)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var v=tf(l);if(v!==null){v.flags&=-257,nf(v,l,u,i,t),v.mode&1&&ef(i,s,t),t=v,a=s;var y=t.updateQueue;if(y===null){var E=new Set;E.add(a),t.updateQueue=E}else y.add(a);break e}else{if((t&1)===0){ef(i,s,t),Lu();break e}a=Error(k(426))}}else if(X&&u.mode&1){var N=tf(l);if(N!==null){(N.flags&65536)===0&&(N.flags|=256),nf(N,l,u,i,t),jl(zn(a,u));break e}}i=a=zn(a,u),re!==4&&(re=2),Ir===null?Ir=[i]:Ir.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=Jc(i,a,t);Sc(i,h);break e;case 1:u=a;var c=i.type,d=i.stateNode;if((i.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ht===null||!Ht.has(d)))){i.flags|=65536,t&=-t,i.lanes|=t;var w=qc(i,u,t);Sc(i,w);break e}}i=i.return}while(i!==null)}Af(n)}catch(g){t=g,ee===n&&n!==null&&(ee=n=n.return);continue}break}while(1)}function If(){var e=Zo.current;return Zo.current=jo,e===null?jo:e}function Lu(){(re===0||re===3||re===2)&&(re=4),ie===null||(nn&268435455)===0&&(Wo&268435455)===0||Bt(ie,ae)}function ei(e,t){var n=z;z|=2;var r=If();(ie!==e||ae!==t)&&(gt=null,on(e,t));do try{X0();break}catch(o){Lf(e,o)}while(1);if(Gl(),z=n,Zo.current=r,ee!==null)throw Error(k(261));return ie=null,ae=0,re}function X0(){for(;ee!==null;)Of(ee)}function Z0(){for(;ee!==null&&!yh();)Of(ee)}function Of(e){var t=zf(e.alternate,e,Ae);e.memoizedProps=e.pendingProps,t===null?Af(e):ee=t,ku.current=null}function Af(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=F0(n,t,Ae),n!==null){ee=n;return}}else{if(n=b0(n,t),n!==null){n.flags&=32767,ee=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{re=6,ee=null;return}}if(t=t.sibling,t!==null){ee=t;return}ee=t=e}while(t!==null);re===0&&(re=5)}function ln(e,t,n){var r=F,o=Ue.transition;try{Ue.transition=null,F=1,W0(e,t,n,r)}finally{Ue.transition=o,F=r}return null}function W0(e,t,n,r){do Un();while(Dt!==null);if((z&6)!==0)throw Error(k(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(k(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Ph(e,i),e===ie&&(ee=ie=null,ae=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||Ko||(Ko=!0,Bf(ro,function(){return Un(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=Ue.transition,Ue.transition=null;var l=F;F=1;var u=z;z|=4,ku.current=null,j0(e,n),Tf(n,e),h0(Ll),co=!!_l,Ll=_l=null,e.current=n,V0(n),wh(),z=u,F=l,Ue.transition=i}else e.current=n;if(Ko&&(Ko=!1,Dt=e,Yo=o),i=e.pendingLanes,i===0&&(Ht=null),kh(n.stateNode),Ce(e,q()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Qo)throw Qo=!1,e=Nu,Nu=null,e;return(Yo&1)!==0&&e.tag!==0&&Un(),i=e.pendingLanes,(i&1)!==0?e===Cu?Or++:(Or=0,Cu=e):Or=0,Lt(),null}function Un(){if(Dt!==null){var e=Es(Yo),t=Ue.transition,n=F;try{if(Ue.transition=null,F=16>e?16:e,Dt===null)var r=!1;else{if(e=Dt,Dt=null,Yo=0,(z&6)!==0)throw Error(k(331));var o=z;for(z|=4,R=e.current;R!==null;){var i=R,l=i.child;if((R.flags&16)!==0){var u=i.deletions;if(u!==null){for(var a=0;a<u.length;a++){var s=u[a];for(R=s;R!==null;){var f=R;switch(f.tag){case 0:case 11:case 15:_r(8,f,i)}var m=f.child;if(m!==null)m.return=f,R=m;else for(;R!==null;){f=R;var p=f.sibling,v=f.return;if(wf(f),f===s){R=null;break}if(p!==null){p.return=v,R=p;break}R=v}}}var y=i.alternate;if(y!==null){var E=y.child;if(E!==null){y.child=null;do{var N=E.sibling;E.sibling=null,E=N}while(E!==null)}}R=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,R=l;else e:for(;R!==null;){if(i=R,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:_r(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,R=h;break e}R=i.return}}var c=e.current;for(R=c;R!==null;){l=R;var d=l.child;if((l.subtreeFlags&2064)!==0&&d!==null)d.return=l,R=d;else e:for(l=c;R!==null;){if(u=R,(u.flags&2048)!==0)try{switch(u.tag){case 0:case 11:case 15:Xo(9,u)}}catch(g){J(u,u.return,g)}if(u===l){R=null;break e}var w=u.sibling;if(w!==null){w.return=u.return,R=w;break e}R=u.return}}if(z=o,Lt(),Je&&typeof Je.onPostCommitFiberRoot=="function")try{Je.onPostCommitFiberRoot(oo,e)}catch{}r=!0}return r}finally{F=n,Ue.transition=t}}return!1}function Hf(e,t,n){t=zn(n,t),t=Jc(e,t,1),e=Ot(e,t,1),t=we(),e!==null&&(rr(e,1,t),Ce(e,t))}function J(e,t,n){if(e.tag===3)Hf(e,e,n);else for(;t!==null;){if(t.tag===3){Hf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ht===null||!Ht.has(r))){e=zn(n,e),e=qc(t,e,1),t=Ot(t,e,1),e=we(),t!==null&&(rr(t,1,e),Ce(t,e));break}}t=t.return}}function Q0(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=we(),e.pingedLanes|=e.suspendedLanes&n,ie===e&&(ae&n)===n&&(re===4||re===3&&(ae&130023424)===ae&&500>q()-Tu?on(e,0):xu|=n),Ce(e,t)}function Df(e,t){t===0&&((e.mode&1)===0?t=1:(t=lo,lo<<=1,(lo&130023424)===0&&(lo=4194304)));var n=we();e=pt(e,t),e!==null&&(rr(e,t,n),Ce(e,n))}function K0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Df(e,n)}function Y0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Df(e,n)}var zf;zf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ke.current)Te=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Te=!1,B0(e,t,n);Te=(e.flags&131072)!==0}else Te=!1,X&&(t.flags&1048576)!==0&&hc(t,Mo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Go(e,t),e=t.pendingProps;var o=Mn(t,se.current);An(t,n),o=ru(null,t,r,e,o,n);var i=ou();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xe(r)?(i=!0,Co(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Wl(t),o.updater=Ho,t.stateNode=o,o._reactInternals=t,Kl(t,r,e,n),t=du(null,t,r,!0,i,n)):(t.tag=0,X&&i&&Bl(t),ye(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Go(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=q0(r),e=Ze(r,e),o){case 0:t=fu(null,t,r,e,n);break e;case 1:t=sf(null,t,r,e,n);break e;case 11:t=rf(null,t,r,e,n);break e;case 14:t=of(null,t,r,Ze(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ze(r,o),fu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ze(r,o),sf(e,t,r,o,n);case 3:e:{if(cf(t),e===null)throw Error(k(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Ec(e,t),Ao(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=zn(Error(k(423)),t),t=ff(e,t,r,n,o);break e}else if(r!==o){o=zn(Error(k(424)),t),t=ff(e,t,r,n,o);break e}else for(Oe=Pt(t.stateNode.containerInfo.firstChild),Ie=t,X=!0,Xe=null,n=Mc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(In(),r===o){t=mt(e,t,n);break e}ye(e,t,r,n)}t=t.child}return t;case 5:return _c(t),e===null&&Ul(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Il(r,o)?l=null:i!==null&&Il(r,i)&&(t.flags|=32),af(e,t),ye(e,t,l,n),t.child;case 6:return e===null&&Ul(t),null;case 13:return df(e,t,n);case 4:return Yl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Hn(t,null,r,n):ye(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ze(r,o),rf(e,t,r,o,n);case 7:return ye(e,t,t.pendingProps,n),t.child;case 8:return ye(e,t,t.pendingProps.children,n),t.child;case 12:return ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,j(Lo,r._currentValue),r._currentValue=l,i!==null)if($e(i.value,l)){if(i.children===o.children&&!ke.current){t=mt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){l=i.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=ht(-1,n&-n),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?a.next=a:(a.next=f.next,f.next=a),s.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Xl(i.return,n,t),u.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(k(341));l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),Xl(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}ye(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,An(t,n),o=Fe(o),r=r(o),t.flags|=1,ye(e,t,r,n),t.child;case 14:return r=t.type,o=Ze(r,t.pendingProps),o=Ze(r.type,o),of(e,t,r,o,n);case 15:return lf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ze(r,o),Go(e,t),t.tag=1,xe(r)?(e=!0,Co(t)):e=!1,An(t,n),Nc(t,r,o),Kl(t,r,o,n),du(null,t,r,!0,e,n);case 19:return hf(e,t,n);case 22:return uf(e,t,n)}throw Error(k(156,t.tag))};function Bf(e,t){return ms(e,t)}function J0(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,t,n,r){return new J0(e,t,n,r)}function Iu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function q0(e){if(typeof e=="function")return Iu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Bi)return 11;if(e===Ui)return 14}return 2}function Ft(e,t){var n=e.alternate;return n===null?(n=je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ti(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Iu(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case gn:return un(n.children,o,i,t);case Di:l=8,o|=8;break;case zi:return e=je(12,n,t,o|2),e.elementType=zi,e.lanes=i,e;case Fi:return e=je(13,n,t,o),e.elementType=Fi,e.lanes=i,e;case bi:return e=je(19,n,t,o),e.elementType=bi,e.lanes=i,e;case $a:return ni(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Va:l=10;break e;case Ga:l=9;break e;case Bi:l=11;break e;case Ui:l=14;break e;case Et:l=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=je(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function un(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function ni(e,t,n,r){return e=je(22,e,r,t),e.elementType=$a,e.lanes=n,e.stateNode={isHidden:!1},e}function Ou(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function Au(e,t,n){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function em(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ul(0),this.expirationTimes=ul(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ul(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Hu(e,t,n,r,o,i,l,u,a){return e=new em(e,t,n,u,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=je(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wl(i),e}function tm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:mn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ff(e){if(!e)return _t;e=e._reactInternals;e:{if(Wt(e)!==e||e.tag!==1)throw Error(k(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(xe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(k(171))}if(e.tag===1){var n=e.type;if(xe(n))return fc(e,n,t)}return t}function bf(e,t,n,r,o,i,l,u,a){return e=Hu(n,r,!0,e,o,i,l,u,a),e.context=Ff(null),n=e.current,r=we(),o=zt(n),i=ht(r,o),i.callback=t!=null?t:null,Ot(n,i,o),e.current.lanes=o,rr(e,o,r),Ce(e,r),e}function ri(e,t,n,r){var o=t.current,i=we(),l=zt(o);return n=Ff(n),t.context===null?t.context=n:t.pendingContext=n,t=ht(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Ot(o,t,l),e!==null&&(Ke(e,o,l,i),Oo(e,o,l)),l}function oi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Uf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Du(e,t){Uf(e,t),(e=e.alternate)&&Uf(e,t)}function nm(){return null}var jf=typeof reportError=="function"?reportError:function(e){console.error(e)};function zu(e){this._internalRoot=e}ii.prototype.render=zu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(k(409));ri(e,t,null,null)},ii.prototype.unmount=zu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rn(function(){ri(null,e,null,null)}),t[st]=null}};function ii(e){this._internalRoot=e}ii.prototype.unstable_scheduleHydration=function(e){if(e){var t=xs();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&t!==0&&t<Nt[n].priority;n++);Nt.splice(n,0,e),n===0&&Cs(e)}};function Bu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function li(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Vf(){}function rm(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var s=oi(l);i.call(s)}}var l=bf(t,r,e,0,null,!1,!1,"",Vf);return e._reactRootContainer=l,e[st]=l.current,vr(e.nodeType===8?e.parentNode:e),rn(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var u=r;r=function(){var s=oi(a);u.call(s)}}var a=Hu(e,0,!1,null,null,!1,!1,"",Vf);return e._reactRootContainer=a,e[st]=a.current,vr(e.nodeType===8?e.parentNode:e),rn(function(){ri(t,a,n,r)}),a}function ui(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var u=o;o=function(){var a=oi(l);u.call(a)}}ri(t,l,e,o)}else l=rm(n,t,e,o,r);return oi(l)}Ss=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=nr(t.pendingLanes);n!==0&&(al(t,n|1),Ce(t,q()),(z&6)===0&&(bn=q()+500,Lt()))}break;case 13:rn(function(){var r=pt(e,1);if(r!==null){var o=we();Ke(r,e,1,o)}}),Du(e,1)}},sl=function(e){if(e.tag===13){var t=pt(e,134217728);if(t!==null){var n=we();Ke(t,e,134217728,n)}Du(e,134217728)}},ks=function(e){if(e.tag===13){var t=zt(e),n=pt(e,t);if(n!==null){var r=we();Ke(n,e,t,r)}Du(e,t)}},xs=function(){return F},Ts=function(e,t){var n=F;try{return F=e,t()}finally{F=n}},tl=function(e,t,n){switch(t){case"input":if(Zi(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=To(r);if(!o)throw Error(k(90));Wa(r),Zi(r,o)}}}break;case"textarea":qa(e,n);break;case"select":t=n.value,t!=null&&vn(e,!!n.multiple,t,!1)}},as=Mu,ss=rn;var om={usingClientEntryPoint:!1,Events:[Er,Rn,To,ls,us,Mu]},Ar={findFiberByHostInstance:Qt,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},im={bundleType:Ar.bundleType,version:Ar.version,rendererPackageName:Ar.rendererPackageName,rendererConfig:Ar.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:at.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ps(e),e===null?null:e.stateNode},findFiberByHostInstance:Ar.findFiberByHostInstance||nm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ai=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ai.isDisabled&&ai.supportsFiber)try{oo=ai.inject(im),Je=ai}catch{}}Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=om,Me.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bu(t))throw Error(k(200));return tm(e,t,null,n)},Me.createRoot=function(e,t){if(!Bu(e))throw Error(k(299));var n=!1,r="",o=jf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Hu(e,1,!1,null,null,n,!1,r,o),e[st]=t.current,vr(e.nodeType===8?e.parentNode:e),new zu(t)},Me.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(k(188)):(e=Object.keys(e).join(","),Error(k(268,e)));return e=ps(t),e=e===null?null:e.stateNode,e},Me.flushSync=function(e){return rn(e)},Me.hydrate=function(e,t,n){if(!li(t))throw Error(k(200));return ui(null,e,t,!0,n)},Me.hydrateRoot=function(e,t,n){if(!Bu(e))throw Error(k(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",l=jf;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=bf(t,null,e,1,n!=null?n:null,o,!1,i,l),e[st]=t.current,vr(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ii(t)},Me.render=function(e,t,n){if(!li(t))throw Error(k(200));return ui(null,e,t,!1,n)},Me.unmountComponentAtNode=function(e){if(!li(e))throw Error(k(40));return e._reactRootContainer?(rn(function(){ui(null,null,e,!1,function(){e._reactRootContainer=null,e[st]=null})}),!0):!1},Me.unstable_batchedUpdates=Mu,Me.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!li(n))throw Error(k(200));if(e==null||e._reactInternals===void 0)throw Error(k(38));return ui(e,t,n,!1,r)},Me.version="18.2.0-next-9e3b772b8-20220608",function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Me}(Li);var Fu=function(e,t){return Fu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Fu(e,t)};function Ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Fu(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var M=function(){return M=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},M.apply(this,arguments)};function bu(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function rt(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Uu={exports:{}},B={};/** @license React v16.13.1
40
+ `+i.stack}return{value:e,source:t,stack:o,digest:null}}function ha(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function ma(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Q0=typeof WeakMap=="function"?WeakMap:Map;function ff(e,t,n){n=wt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qo||(qo=!0,La=r),ma(e,t)},n}function df(e,t,n){n=wt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ma(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ma(e,t),typeof r!="function"&&(Ut===null?Ut=new Set([this]):Ut.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function pf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Q0;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=sm.bind(null,e,t,n),t.then(e,e))}function hf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function mf(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wt(-1,1),t.tag=2,bt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var K0=pt.ReactCurrentOwner,Ce=!1;function Se(e,t,n,r){t.child=e===null?Uc(t,null,n,r):Fn(t,e.child,n,r)}function gf(e,t,n,r,o){n=n.render;var i=t.ref;return bn(t,o),r=ua(e,t,n,r,i,o),n=sa(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Z&&n&&Vl(t),t.flags|=1,Se(e,t,r,o),t.child)}function vf(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!za(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,yf(e,t,i,r,o)):(e=ii(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:Er,n(l,r)&&e.ref===t.ref)return Et(e,t,o)}return t.flags|=1,e=$t(i,r),e.ref=t.ref,e.return=t,t.child=e}function yf(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Er(i,r)&&e.ref===t.ref)if(Ce=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(Ce=!0);else return t.lanes=e.lanes,Et(e,t,o)}return ga(e,t,n,r,o)}function wf(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},j(Gn,Be),Be|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,j(Gn,Be),Be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,j(Gn,Be),Be|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,j(Gn,Be),Be|=r;return Se(e,t,o,n),t.child}function Ef(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ga(e,t,n,r,o){var i=Re(n)?tn:de.current;return i=An(t,i),bn(t,o),n=ua(e,t,n,r,i,o),r=sa(),e!==null&&!Ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Et(e,t,o)):(Z&&r&&Vl(t),t.flags|=1,Se(e,t,n,o),t.child)}function Sf(e,t,n,r,o){if(Re(n)){var i=!0;Lo(t)}else i=!1;if(bn(t,o),t.stateNode===null)Wo(e,t),zc(t,n,r),ta(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var u=l.context,s=n.contextType;typeof s=="object"&&s!==null?s=Ue(s):(s=Re(n)?tn:de.current,s=An(t,s));var f=n.getDerivedStateFromProps,m=typeof f=="function"||typeof l.getSnapshotBeforeUpdate=="function";m||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||u!==s)&&Bc(t,l,r,s),Bt=!1;var p=t.memoizedState;l.state=p,Bo(t,r,l,o),u=t.memoizedState,a!==r||p!==u||Ne.current||Bt?(typeof f=="function"&&(ea(t,n,f,r),u=t.memoizedState),(a=Bt||Hc(t,n,a,r,p,u,s))?(m||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,_c(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:Ke(t.type,a),l.props=s,m=t.pendingProps,p=l.context,u=n.contextType,typeof u=="object"&&u!==null?u=Ue(u):(u=Re(n)?tn:de.current,u=An(t,u));var v=n.getDerivedStateFromProps;(f=typeof v=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==m||p!==u)&&Bc(t,l,r,u),Bt=!1,p=t.memoizedState,l.state=p,Bo(t,r,l,o);var y=t.memoizedState;a!==m||p!==y||Ne.current||Bt?(typeof v=="function"&&(ea(t,n,v,r),y=t.memoizedState),(s=Bt||Hc(t,n,s,r,p,y,u)||!1)?(f||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=u,r=s):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return va(e,t,n,r,i,o)}function va(e,t,n,r,o,i){Ef(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&Tc(t,n,!1),Et(e,t,i);r=t.stateNode,K0.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Fn(t,e.child,null,i),t.child=Fn(t,null,a,i)):Se(e,t,a,i),t.memoizedState=r.state,o&&Tc(t,n,!0),t.child}function kf(e){var t=e.stateNode;t.pendingContext?kc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&kc(e,t.context,!1),na(e,t.containerInfo)}function xf(e,t,n,r,o){return zn(),Zl(o),t.flags|=256,Se(e,t,n,r),t.child}var ya={dehydrated:null,treeContext:null,retryLane:0};function wa(e){return{baseLanes:e,cachePool:null,transitions:null}}function Tf(e,t,n){var r=t.pendingProps,o=Q.current,i=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),j(Q,o&1),e===null)return Xl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=li(l,r,0,null),e=dn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=wa(n),t.memoizedState=ya,e):Ea(t,l));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Y0(e,t,l,r,a,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,a=o.sibling;var u={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=$t(o,u),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=$t(a,i):(i=dn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?wa(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=ya,r}return i=e.child,e=i.sibling,r=$t(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ea(e,t){return t=li({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Zo(e,t,n,r){return r!==null&&Zl(r),Fn(t,e.child,null,n),e=Ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Y0(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=ha(Error(T(422))),Zo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=li({mode:"visible",children:r.children},o,0,null),i=dn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&Fn(t,e.child,null,l),t.child.memoizedState=wa(l),t.memoizedState=ya,i);if((t.mode&1)===0)return Zo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(T(419)),r=ha(i,r,void 0),Zo(e,t,l,r)}if(a=(l&e.childLanes)!==0,Ce||a){if(r=ae,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=(o&(r.suspendedLanes|l))!==0?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,yt(e,o),qe(r,e,o,-1))}return Ha(),r=ha(Error(T(421))),Zo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=cm.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,ze=At(o.nextSibling),He=t,Z=!0,Qe=null,e!==null&&(be[Fe++]=gt,be[Fe++]=vt,be[Fe++]=nn,gt=e.id,vt=e.overflow,nn=t),t=Ea(t,r.children),t.flags|=4096,t)}function Nf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Yl(e.return,t,n)}function Sa(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Rf(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Se(e,t,r.children,n),r=Q.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Nf(e,n,t);else if(e.tag===19)Nf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(j(Q,r),(t.mode&1)===0)t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Uo(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Sa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Uo(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Sa(t,!0,n,null,i);break;case"together":Sa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wo(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Et(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),un|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=$t(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=$t(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function J0(e,t,n){switch(t.tag){case 3:kf(t),zn();break;case 5:jc(t);break;case 1:Re(t.type)&&Lo(t);break;case 4:na(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;j(Do,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(j(Q,Q.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?Tf(e,t,n):(j(Q,Q.current&1),e=Et(e,t,n),e!==null?e.sibling:null);j(Q,Q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return Rf(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),j(Q,Q.current),r)break;return null;case 22:case 23:return t.lanes=0,wf(e,t,n)}return Et(e,t,n)}var Cf,ka,Mf,Pf;Cf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ka=function(){},Mf=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ln(ot.current);var i=null;switch(n){case"input":o=Yi(e,o),r=Yi(e,r),i=[];break;case"select":o=W({},o,{value:void 0}),r=W({},r,{value:void 0}),i=[];break;case"textarea":o=el(e,o),r=el(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Co)}nl(n,r);var l;n=null;for(s in o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&o[s]!=null)if(s==="style"){var a=o[s];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(qn.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var u=r[s];if(a=o!=null?o[s]:void 0,r.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(l in a)!a.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in u)u.hasOwnProperty(l)&&a[l]!==u[l]&&(n||(n={}),n[l]=u[l])}else n||(i||(i=[]),i.push(s,n)),n=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(i=i||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(qn.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&G("scroll",e),i||a===u||(i=[])):(i=i||[]).push(s,u))}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},Pf=function(e,t,n,r){n!==r&&(t.flags|=4)};function Dr(e,t){if(!Z)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function he(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function q0(e,t,n){var r=t.pendingProps;switch(Gl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return he(t),null;case 1:return Re(t.type)&&Po(),he(t),null;case 3:return r=t.stateNode,Un(),$(Ne),$(de),ia(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ao(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Qe!==null&&(Oa(Qe),Qe=null))),ka(e,t),he(t),null;case 5:ra(t);var o=ln(Lr.current);if(n=t.type,e!==null&&t.stateNode!=null)Mf(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return he(t),null}if(e=ln(ot.current),Ao(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[rt]=t,r[Nr]=i,e=(t.mode&1)!==0,n){case"dialog":G("cancel",r),G("close",r);break;case"iframe":case"object":case"embed":G("load",r);break;case"video":case"audio":for(o=0;o<kr.length;o++)G(kr[o],r);break;case"source":G("error",r);break;case"img":case"image":case"link":G("error",r),G("load",r);break;case"details":G("toggle",r);break;case"input":as(r,i),G("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},G("invalid",r);break;case"textarea":cs(r,i),G("invalid",r)}nl(n,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var a=i[l];l==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Ro(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Ro(r.textContent,a,e),o=["children",""+a]):qn.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&G("scroll",r)}switch(n){case"input":no(r),ss(r,i,!0);break;case"textarea":no(r),ds(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Co)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ps(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[rt]=t,e[Nr]=r,Cf(e,t,!1,!1),t.stateNode=e;e:{switch(l=rl(n,r),n){case"dialog":G("cancel",e),G("close",e),o=r;break;case"iframe":case"object":case"embed":G("load",e),o=r;break;case"video":case"audio":for(o=0;o<kr.length;o++)G(kr[o],e);o=r;break;case"source":G("error",e),o=r;break;case"img":case"image":case"link":G("error",e),G("load",e),o=r;break;case"details":G("toggle",e),o=r;break;case"input":as(e,r),o=Yi(e,r),G("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=W({},r,{value:void 0}),G("invalid",e);break;case"textarea":cs(e,r),o=el(e,r),G("invalid",e);break;default:o=r}nl(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var u=a[i];i==="style"?gs(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&hs(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&rr(e,u):typeof u=="number"&&rr(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(qn.hasOwnProperty(i)?u!=null&&i==="onScroll"&&G("scroll",e):u!=null&&Fi(e,i,u,l))}switch(n){case"input":no(e),ss(e,r,!1);break;case"textarea":no(e),ds(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ct(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?kn(e,!!r.multiple,i,!1):r.defaultValue!=null&&kn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Co)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return he(t),null;case 6:if(e&&t.stateNode!=null)Pf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=ln(Lr.current),ln(ot.current),Ao(t)){if(r=t.stateNode,n=t.memoizedProps,r[rt]=t,(i=r.nodeValue!==n)&&(e=He,e!==null))switch(e.tag){case 3:Ro(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ro(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rt]=t,t.stateNode=r}return he(t),null;case 13:if($(Q),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Z&&ze!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Lc(),zn(),t.flags|=98560,i=!1;else if(i=Ao(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(T(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(T(317));i[rt]=t}else zn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;he(t),i=!1}else Qe!==null&&(Oa(Qe),Qe=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Q.current&1)!==0?oe===0&&(oe=3):Ha())),t.updateQueue!==null&&(t.flags|=4),he(t),null);case 4:return Un(),ka(e,t),e===null&&xr(t.stateNode.containerInfo),he(t),null;case 10:return Kl(t.type._context),he(t),null;case 17:return Re(t.type)&&Po(),he(t),null;case 19:if($(Q),i=t.memoizedState,i===null)return he(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)Dr(i,!1);else{if(oe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Uo(e),l!==null){for(t.flags|=128,Dr(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return j(Q,Q.current&1|2),t.child}e=e.sibling}i.tail!==null&&q()>$n&&(t.flags|=128,r=!0,Dr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Uo(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Dr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Z)return he(t),null}else 2*q()-i.renderingStartTime>$n&&n!==1073741824&&(t.flags|=128,r=!0,Dr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=q(),t.sibling=null,n=Q.current,j(Q,r?n&1|2:n&1),t):(he(t),null);case 22:case 23:return Da(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Be&1073741824)!==0&&(he(t),t.subtreeFlags&6&&(t.flags|=8192)):he(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function em(e,t){switch(Gl(t),t.tag){case 1:return Re(t.type)&&Po(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Un(),$(Ne),$(de),ia(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ra(t),null;case 13:if($(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));zn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(Q),null;case 4:return Un(),null;case 10:return Kl(t.type._context),null;case 22:case 23:return Da(),null;case 24:return null;default:return null}}var Qo=!1,me=!1,tm=typeof WeakSet=="function"?WeakSet:Set,M=null;function Vn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function xa(e,t,n){try{n()}catch(r){J(e,t,r)}}var Lf=!1;function nm(e,t){if(Dl=mo,e=lc(),Cl(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,f=0,m=e,p=null;t:for(;;){for(var v;m!==n||o!==0&&m.nodeType!==3||(a=l+o),m!==i||r!==0&&m.nodeType!==3||(u=l+r),m.nodeType===3&&(l+=m.nodeValue.length),(v=m.firstChild)!==null;)p=m,m=v;for(;;){if(m===e)break t;if(p===n&&++s===o&&(a=l),p===i&&++f===r&&(u=l),(v=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=v}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hl={focusedElem:e,selectionRange:n},mo=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var y=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,N=y.memoizedState,h=t.stateNode,c=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:Ke(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(E){J(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return y=Lf,Lf=!1,y}function Hr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&xa(t,n,i)}o=o.next}while(o!==r)}}function Ko(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ta(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function If(e){var t=e.alternate;t!==null&&(e.alternate=null,If(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Nr],delete t[Fl],delete t[B0],delete t[b0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function _f(e){return e.tag===5||e.tag===3||e.tag===4}function Of(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_f(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Na(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Co));else if(r!==4&&(e=e.child,e!==null))for(Na(e,t,n),e=e.sibling;e!==null;)Na(e,t,n),e=e.sibling}function Ra(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ra(e,t,n),e=e.sibling;e!==null;)Ra(e,t,n),e=e.sibling}var ce=null,Ye=!1;function Ft(e,t,n){for(n=n.child;n!==null;)Af(e,t,n),n=n.sibling}function Af(e,t,n){if(nt&&typeof nt.onCommitFiberUnmount=="function")try{nt.onCommitFiberUnmount(uo,n)}catch{}switch(n.tag){case 5:me||Vn(n,t);case 6:var r=ce,o=Ye;ce=null,Ft(e,t,n),ce=r,Ye=o,ce!==null&&(Ye?(e=ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ce.removeChild(n.stateNode));break;case 18:ce!==null&&(Ye?(e=ce,n=n.stateNode,e.nodeType===8?bl(e.parentNode,n):e.nodeType===1&&bl(e,n),hr(e)):bl(ce,n.stateNode));break;case 4:r=ce,o=Ye,ce=n.stateNode.containerInfo,Ye=!0,Ft(e,t,n),ce=r,Ye=o;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&xa(n,t,l),o=o.next}while(o!==r)}Ft(e,t,n);break;case 1:if(!me&&(Vn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){J(n,t,a)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,Ft(e,t,n),me=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Df(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new tm),t.forEach(function(r){var o=fm.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Je(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:ce=a.stateNode,Ye=!1;break e;case 3:ce=a.stateNode.containerInfo,Ye=!0;break e;case 4:ce=a.stateNode.containerInfo,Ye=!0;break e}a=a.return}if(ce===null)throw Error(T(160));Af(i,l,o),ce=null,Ye=!1;var u=o.alternate;u!==null&&(u.return=null),o.return=null}catch(s){J(o,t,s)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Hf(t,e),t=t.sibling}function Hf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Je(t,e),lt(e),r&4){try{Hr(3,e,e.return),Ko(3,e)}catch(w){J(e,e.return,w)}try{Hr(5,e,e.return)}catch(w){J(e,e.return,w)}}break;case 1:Je(t,e),lt(e),r&512&&n!==null&&Vn(n,n.return);break;case 5:if(Je(t,e),lt(e),r&512&&n!==null&&Vn(n,n.return),e.flags&32){var o=e.stateNode;try{rr(o,"")}catch(w){J(e,e.return,w)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=n!==null?n.memoizedProps:i,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&us(o,i),rl(a,l);var s=rl(a,i);for(l=0;l<u.length;l+=2){var f=u[l],m=u[l+1];f==="style"?gs(o,m):f==="dangerouslySetInnerHTML"?hs(o,m):f==="children"?rr(o,m):Fi(o,f,m,s)}switch(a){case"input":Ji(o,i);break;case"textarea":fs(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var v=i.value;v!=null?kn(o,!!i.multiple,v,!1):p!==!!i.multiple&&(i.defaultValue!=null?kn(o,!!i.multiple,i.defaultValue,!0):kn(o,!!i.multiple,i.multiple?[]:"",!1))}o[Nr]=i}catch(w){J(e,e.return,w)}}break;case 6:if(Je(t,e),lt(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(w){J(e,e.return,w)}}break;case 3:if(Je(t,e),lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{hr(t.containerInfo)}catch(w){J(e,e.return,w)}break;case 4:Je(t,e),lt(e);break;case 13:Je(t,e),lt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Pa=q())),r&4&&Df(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(me=(s=me)||f,Je(t,e),me=s):Je(t,e),lt(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!f&&(e.mode&1)!==0)for(M=e,f=e.child;f!==null;){for(m=M=f;M!==null;){switch(p=M,v=p.child,p.tag){case 0:case 11:case 14:case 15:Hr(4,p,p.return);break;case 1:Vn(p,p.return);var y=p.stateNode;if(typeof y.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(w){J(r,n,w)}}break;case 5:Vn(p,p.return);break;case 22:if(p.memoizedState!==null){bf(m);continue}}v!==null?(v.return=p,M=v):bf(m)}f=f.sibling}e:for(f=null,m=e;;){if(m.tag===5){if(f===null){f=m;try{o=m.stateNode,s?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=m.stateNode,u=m.memoizedProps.style,l=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=ms("display",l))}catch(w){J(e,e.return,w)}}}else if(m.tag===6){if(f===null)try{m.stateNode.nodeValue=s?"":m.memoizedProps}catch(w){J(e,e.return,w)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;f===m&&(f=null),m=m.return}f===m&&(f=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Je(t,e),lt(e),r&4&&Df(e);break;case 21:break;default:Je(t,e),lt(e)}}function lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(_f(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(rr(o,""),r.flags&=-33);var i=Of(e);Ra(e,i,o);break;case 3:case 4:var l=r.stateNode.containerInfo,a=Of(e);Na(e,a,l);break;default:throw Error(T(161))}}catch(u){J(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rm(e,t,n){M=e,zf(e)}function zf(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var o=M,i=o.child;if(o.tag===22&&r){var l=o.memoizedState!==null||Qo;if(!l){var a=o.alternate,u=a!==null&&a.memoizedState!==null||me;a=Qo;var s=me;if(Qo=l,(me=u)&&!s)for(M=o;M!==null;)l=M,u=l.child,l.tag===22&&l.memoizedState!==null?Ff(o):u!==null?(u.return=l,M=u):Ff(o);for(;i!==null;)M=i,zf(i),i=i.sibling;M=o,Qo=a,me=s}Bf(e)}else(o.subtreeFlags&8772)!==0&&i!==null?(i.return=o,M=i):Bf(e)}}function Bf(e){for(;M!==null;){var t=M;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:me||Ko(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!me)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ke(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Ac(t,i,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ac(t,l,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var s=t.alternate;if(s!==null){var f=s.memoizedState;if(f!==null){var m=f.dehydrated;m!==null&&hr(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}me||t.flags&512&&Ta(t)}catch(p){J(t,t.return,p)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function bf(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function Ff(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ko(4,t)}catch(u){J(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(u){J(t,o,u)}}var i=t.return;try{Ta(t)}catch(u){J(t,i,u)}break;case 5:var l=t.return;try{Ta(t)}catch(u){J(t,l,u)}}}catch(u){J(t,t.return,u)}if(t===e){M=null;break}var a=t.sibling;if(a!==null){a.return=t.return,M=a;break}M=t.return}}var om=Math.ceil,Yo=pt.ReactCurrentDispatcher,Ca=pt.ReactCurrentOwner,Ve=pt.ReactCurrentBatchConfig,z=0,ae=null,te=null,fe=0,Be=0,Gn=Dt(0),oe=0,zr=null,un=0,Jo=0,Ma=0,Br=null,Me=null,Pa=0,$n=1/0,St=null,qo=!1,La=null,Ut=null,ei=!1,jt=null,ti=0,br=0,Ia=null,ni=-1,ri=0;function ke(){return(z&6)!==0?q():ni!==-1?ni:ni=q()}function Vt(e){return(e.mode&1)===0?1:(z&2)!==0&&fe!==0?fe&-fe:U0.transition!==null?(ri===0&&(ri=Is()),ri):(e=F,e!==0||(e=window.event,e=e===void 0?16:Fs(e.type)),e)}function qe(e,t,n,r){if(50<br)throw br=0,Ia=null,Error(T(185));sr(e,n,r),((z&2)===0||e!==ae)&&(e===ae&&((z&2)===0&&(Jo|=n),oe===4&&Gt(e,fe)),Pe(e,r),n===1&&z===0&&(t.mode&1)===0&&($n=q()+500,Io&&zt()))}function Pe(e,t){var n=e.callbackNode;Uh(e,t);var r=fo(e,e===ae?fe:0);if(r===0)n!==null&&Ms(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ms(n),t===1)e.tag===0?F0(jf.bind(null,e)):Nc(jf.bind(null,e)),H0(function(){(z&6)===0&&zt()}),n=null;else{switch(_s(r)){case 1:n=cl;break;case 4:n=Ps;break;case 16:n=ao;break;case 536870912:n=Ls;break;default:n=ao}n=Kf(n,Uf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Uf(e,t){if(ni=-1,ri=0,(z&6)!==0)throw Error(T(327));var n=e.callbackNode;if(Xn()&&e.callbackNode!==n)return null;var r=fo(e,e===ae?fe:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=oi(e,r);else{t=r;var o=z;z|=2;var i=Gf();(ae!==e||fe!==t)&&(St=null,$n=q()+500,cn(e,t));do try{am();break}catch(a){Vf(e,a)}while(1);Ql(),Yo.current=i,z=o,te!==null?t=0:(ae=null,fe=0,t=oe)}if(t!==0){if(t===2&&(o=fl(e),o!==0&&(r=o,t=_a(e,o))),t===1)throw n=zr,cn(e,0),Gt(e,r),Pe(e,q()),n;if(t===6)Gt(e,r);else{if(o=e.current.alternate,(r&30)===0&&!im(o)&&(t=oi(e,r),t===2&&(i=fl(e),i!==0&&(r=i,t=_a(e,i))),t===1))throw n=zr,cn(e,0),Gt(e,r),Pe(e,q()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:fn(e,Me,St);break;case 3:if(Gt(e,r),(r&130023424)===r&&(t=Pa+500-q(),10<t)){if(fo(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){ke(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Bl(fn.bind(null,e,Me,St),t);break}fn(e,Me,St);break;case 4:if(Gt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-Ze(r);i=1<<l,l=t[l],l>o&&(o=l),r&=~i}if(r=o,r=q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*om(r/1960))-r,10<r){e.timeoutHandle=Bl(fn.bind(null,e,Me,St),r);break}fn(e,Me,St);break;case 5:fn(e,Me,St);break;default:throw Error(T(329))}}}return Pe(e,q()),e.callbackNode===n?Uf.bind(null,e):null}function _a(e,t){var n=Br;return e.current.memoizedState.isDehydrated&&(cn(e,t).flags|=256),e=oi(e,t),e!==2&&(t=Me,Me=n,t!==null&&Oa(t)),e}function Oa(e){Me===null?Me=e:Me.push.apply(Me,e)}function im(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!We(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Gt(e,t){for(t&=~Ma,t&=~Jo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ze(t),r=1<<n;e[n]=-1,t&=~r}}function jf(e){if((z&6)!==0)throw Error(T(327));Xn();var t=fo(e,0);if((t&1)===0)return Pe(e,q()),null;var n=oi(e,t);if(e.tag!==0&&n===2){var r=fl(e);r!==0&&(t=r,n=_a(e,r))}if(n===1)throw n=zr,cn(e,0),Gt(e,t),Pe(e,q()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fn(e,Me,St),Pe(e,q()),null}function Aa(e,t){var n=z;z|=1;try{return e(t)}finally{z=n,z===0&&($n=q()+500,Io&&zt())}}function sn(e){jt!==null&&jt.tag===0&&(z&6)===0&&Xn();var t=z;z|=1;var n=Ve.transition,r=F;try{if(Ve.transition=null,F=1,e)return e()}finally{F=r,Ve.transition=n,z=t,(z&6)===0&&zt()}}function Da(){Be=Gn.current,$(Gn)}function cn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,D0(n)),te!==null)for(n=te.return;n!==null;){var r=n;switch(Gl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Po();break;case 3:Un(),$(Ne),$(de),ia();break;case 5:ra(r);break;case 4:Un();break;case 13:$(Q);break;case 19:$(Q);break;case 10:Kl(r.type._context);break;case 22:case 23:Da()}n=n.return}if(ae=e,te=e=$t(e.current,null),fe=Be=t,oe=0,zr=null,Ma=Jo=un=0,Me=Br=null,on!==null){for(t=0;t<on.length;t++)if(n=on[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var l=i.next;i.next=o,r.next=l}n.pending=r}on=null}return e}function Vf(e,t){do{var n=te;try{if(Ql(),jo.current=Xo,Vo){for(var r=K.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Vo=!1}if(an=0,le=re=K=null,Ir=!1,_r=0,Ca.current=null,n===null||n.return===null){oe=1,zr=t,te=null;break}e:{var i=e,l=n.return,a=n,u=t;if(t=fe,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var s=u,f=a,m=f.tag;if((f.mode&1)===0&&(m===0||m===11||m===15)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var v=hf(l);if(v!==null){v.flags&=-257,mf(v,l,a,i,t),v.mode&1&&pf(i,s,t),t=v,u=s;var y=t.updateQueue;if(y===null){var w=new Set;w.add(u),t.updateQueue=w}else y.add(u);break e}else{if((t&1)===0){pf(i,s,t),Ha();break e}u=Error(T(426))}}else if(Z&&a.mode&1){var N=hf(l);if(N!==null){(N.flags&65536)===0&&(N.flags|=256),mf(N,l,a,i,t),Zl(jn(u,a));break e}}i=u=jn(u,a),oe!==4&&(oe=2),Br===null?Br=[i]:Br.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=ff(i,u,t);Oc(i,h);break e;case 1:a=u;var c=i.type,d=i.stateNode;if((i.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ut===null||!Ut.has(d)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=df(i,a,t);Oc(i,E);break e}}i=i.return}while(i!==null)}Xf(n)}catch(g){t=g,te===n&&n!==null&&(te=n=n.return);continue}break}while(1)}function Gf(){var e=Yo.current;return Yo.current=Xo,e===null?Xo:e}function Ha(){(oe===0||oe===3||oe===2)&&(oe=4),ae===null||(un&268435455)===0&&(Jo&268435455)===0||Gt(ae,fe)}function oi(e,t){var n=z;z|=2;var r=Gf();(ae!==e||fe!==t)&&(St=null,cn(e,t));do try{lm();break}catch(o){Vf(e,o)}while(1);if(Ql(),z=n,Yo.current=r,te!==null)throw Error(T(261));return ae=null,fe=0,oe}function lm(){for(;te!==null;)$f(te)}function am(){for(;te!==null&&!_h();)$f(te)}function $f(e){var t=Qf(e.alternate,e,Be);e.memoizedProps=e.pendingProps,t===null?Xf(e):te=t,Ca.current=null}function Xf(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=q0(n,t,Be),n!==null){te=n;return}}else{if(n=em(n,t),n!==null){n.flags&=32767,te=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{oe=6,te=null;return}}if(t=t.sibling,t!==null){te=t;return}te=t=e}while(t!==null);oe===0&&(oe=5)}function fn(e,t,n){var r=F,o=Ve.transition;try{Ve.transition=null,F=1,um(e,t,n,r)}finally{Ve.transition=o,F=r}return null}function um(e,t,n,r){do Xn();while(jt!==null);if((z&6)!==0)throw Error(T(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(jh(e,i),e===ae&&(te=ae=null,fe=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||ei||(ei=!0,Kf(ao,function(){return Xn(),null})),i=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||i){i=Ve.transition,Ve.transition=null;var l=F;F=1;var a=z;z|=4,Ca.current=null,nm(e,n),Hf(n,e),M0(Hl),mo=!!Dl,Hl=Dl=null,e.current=n,rm(n),Oh(),z=a,F=l,Ve.transition=i}else e.current=n;if(ei&&(ei=!1,jt=e,ti=o),i=e.pendingLanes,i===0&&(Ut=null),Hh(n.stateNode),Pe(e,q()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(qo)throw qo=!1,e=La,La=null,e;return(ti&1)!==0&&e.tag!==0&&Xn(),i=e.pendingLanes,(i&1)!==0?e===Ia?br++:(br=0,Ia=e):br=0,zt(),null}function Xn(){if(jt!==null){var e=_s(ti),t=Ve.transition,n=F;try{if(Ve.transition=null,F=16>e?16:e,jt===null)var r=!1;else{if(e=jt,jt=null,ti=0,(z&6)!==0)throw Error(T(331));var o=z;for(z|=4,M=e.current;M!==null;){var i=M,l=i.child;if((M.flags&16)!==0){var a=i.deletions;if(a!==null){for(var u=0;u<a.length;u++){var s=a[u];for(M=s;M!==null;){var f=M;switch(f.tag){case 0:case 11:case 15:Hr(8,f,i)}var m=f.child;if(m!==null)m.return=f,M=m;else for(;M!==null;){f=M;var p=f.sibling,v=f.return;if(If(f),f===s){M=null;break}if(p!==null){p.return=v,M=p;break}M=v}}}var y=i.alternate;if(y!==null){var w=y.child;if(w!==null){y.child=null;do{var N=w.sibling;w.sibling=null,w=N}while(w!==null)}}M=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,M=l;else e:for(;M!==null;){if(i=M,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Hr(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,M=h;break e}M=i.return}}var c=e.current;for(M=c;M!==null;){l=M;var d=l.child;if((l.subtreeFlags&2064)!==0&&d!==null)d.return=l,M=d;else e:for(l=c;M!==null;){if(a=M,(a.flags&2048)!==0)try{switch(a.tag){case 0:case 11:case 15:Ko(9,a)}}catch(g){J(a,a.return,g)}if(a===l){M=null;break e}var E=a.sibling;if(E!==null){E.return=a.return,M=E;break e}M=a.return}}if(z=o,zt(),nt&&typeof nt.onPostCommitFiberRoot=="function")try{nt.onPostCommitFiberRoot(uo,e)}catch{}r=!0}return r}finally{F=n,Ve.transition=t}}return!1}function Zf(e,t,n){t=jn(n,t),t=ff(e,t,1),e=bt(e,t,1),t=ke(),e!==null&&(sr(e,1,t),Pe(e,t))}function J(e,t,n){if(e.tag===3)Zf(e,e,n);else for(;t!==null;){if(t.tag===3){Zf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ut===null||!Ut.has(r))){e=jn(n,e),e=df(t,e,1),t=bt(t,e,1),e=ke(),t!==null&&(sr(t,1,e),Pe(t,e));break}}t=t.return}}function sm(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ke(),e.pingedLanes|=e.suspendedLanes&n,ae===e&&(fe&n)===n&&(oe===4||oe===3&&(fe&130023424)===fe&&500>q()-Pa?cn(e,0):Ma|=n),Pe(e,t)}function Wf(e,t){t===0&&((e.mode&1)===0?t=1:(t=co,co<<=1,(co&130023424)===0&&(co=4194304)));var n=ke();e=yt(e,t),e!==null&&(sr(e,t,n),Pe(e,n))}function cm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Wf(e,n)}function fm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),Wf(e,n)}var Qf;Qf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)Ce=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ce=!1,J0(e,t,n);Ce=(e.flags&131072)!==0}else Ce=!1,Z&&(t.flags&1048576)!==0&&Rc(t,Oo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wo(e,t),e=t.pendingProps;var o=An(t,de.current);bn(t,n),o=ua(null,t,r,e,o,n);var i=sa();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Re(r)?(i=!0,Lo(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ql(t),o.updater=bo,t.stateNode=o,o._reactInternals=t,ta(t,r,e,n),t=va(null,t,r,!0,i,n)):(t.tag=0,Z&&i&&Vl(t),Se(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=pm(r),e=Ke(r,e),o){case 0:t=ga(null,t,r,e,n);break e;case 1:t=Sf(null,t,r,e,n);break e;case 11:t=gf(null,t,r,e,n);break e;case 14:t=vf(null,t,r,Ke(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),ga(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),Sf(e,t,r,o,n);case 3:e:{if(kf(t),e===null)throw Error(T(387));r=t.pendingProps,i=t.memoizedState,o=i.element,_c(e,t),Bo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=jn(Error(T(423)),t),t=xf(e,t,r,n,o);break e}else if(r!==o){o=jn(Error(T(424)),t),t=xf(e,t,r,n,o);break e}else for(ze=At(t.stateNode.containerInfo.firstChild),He=t,Z=!0,Qe=null,n=Uc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(zn(),r===o){t=Et(e,t,n);break e}Se(e,t,r,n)}t=t.child}return t;case 5:return jc(t),e===null&&Xl(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,zl(r,o)?l=null:i!==null&&zl(r,i)&&(t.flags|=32),Ef(e,t),Se(e,t,l,n),t.child;case 6:return e===null&&Xl(t),null;case 13:return Tf(e,t,n);case 4:return na(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fn(t,null,r,n):Se(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),gf(e,t,r,o,n);case 7:return Se(e,t,t.pendingProps,n),t.child;case 8:return Se(e,t,t.pendingProps.children,n),t.child;case 12:return Se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,j(Do,r._currentValue),r._currentValue=l,i!==null)if(We(i.value,l)){if(i.children===o.children&&!Ne.current){t=Et(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=wt(-1,n&-n),u.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Yl(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(T(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Yl(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Se(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,bn(t,n),o=Ue(o),r=r(o),t.flags|=1,Se(e,t,r,n),t.child;case 14:return r=t.type,o=Ke(r,t.pendingProps),o=Ke(r.type,o),vf(e,t,r,o,n);case 15:return yf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ke(r,o),Wo(e,t),t.tag=1,Re(r)?(e=!0,Lo(t)):e=!1,bn(t,n),zc(t,r,o),ta(t,r,o,n),va(null,t,r,!0,e,n);case 19:return Rf(e,t,n);case 22:return wf(e,t,n)}throw Error(T(156,t.tag))};function Kf(e,t){return Cs(e,t)}function dm(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ge(e,t,n,r){return new dm(e,t,n,r)}function za(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pm(e){if(typeof e=="function")return za(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vi)return 11;if(e===Xi)return 14}return 2}function $t(e,t){var n=e.alternate;return n===null?(n=Ge(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ii(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")za(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Sn:return dn(n.children,o,i,t);case Ui:l=8,o|=8;break;case ji:return e=Ge(12,n,t,o|2),e.elementType=ji,e.lanes=i,e;case Gi:return e=Ge(13,n,t,o),e.elementType=Gi,e.lanes=i,e;case $i:return e=Ge(19,n,t,o),e.elementType=$i,e.lanes=i,e;case rs:return li(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ts:l=10;break e;case ns:l=9;break e;case Vi:l=11;break e;case Xi:l=14;break e;case Rt:l=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=Ge(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function dn(e,t,n,r){return e=Ge(7,e,r,t),e.lanes=n,e}function li(e,t,n,r){return e=Ge(22,e,r,t),e.elementType=rs,e.lanes=n,e.stateNode={isHidden:!1},e}function Ba(e,t,n){return e=Ge(6,e,null,t),e.lanes=n,e}function ba(e,t,n){return t=Ge(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hm(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=dl(0),this.expirationTimes=dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fa(e,t,n,r,o,i,l,a,u){return e=new hm(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ge(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ql(i),e}function mm(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:En,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Yf(e){if(!e)return Ht;e=e._reactInternals;e:{if(qt(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Re(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if(Re(n))return xc(e,n,t)}return t}function Jf(e,t,n,r,o,i,l,a,u){return e=Fa(n,r,!0,e,o,i,l,a,u),e.context=Yf(null),n=e.current,r=ke(),o=Vt(n),i=wt(r,o),i.callback=t!=null?t:null,bt(n,i,o),e.current.lanes=o,sr(e,o,r),Pe(e,r),e}function ai(e,t,n,r){var o=t.current,i=ke(),l=Vt(o);return n=Yf(n),t.context===null?t.context=n:t.pendingContext=n,t=wt(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=bt(o,t,l),e!==null&&(qe(e,o,l,i),zo(e,o,l)),l}function ui(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function qf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ua(e,t){qf(e,t),(e=e.alternate)&&qf(e,t)}function gm(){return null}var ed=typeof reportError=="function"?reportError:function(e){console.error(e)};function ja(e){this._internalRoot=e}si.prototype.render=ja.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));ai(e,t,null,null)},si.prototype.unmount=ja.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sn(function(){ai(null,e,null,null)}),t[ht]=null}};function si(e){this._internalRoot=e}si.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ds();e={blockedOn:null,target:e,priority:t};for(var n=0;n<It.length&&t!==0&&t<It[n].priority;n++);It.splice(n,0,e),n===0&&Bs(e)}};function Va(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ci(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function td(){}function vm(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var s=ui(l);i.call(s)}}var l=Jf(t,r,e,0,null,!1,!1,"",td);return e._reactRootContainer=l,e[ht]=l.current,xr(e.nodeType===8?e.parentNode:e),sn(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var s=ui(u);a.call(s)}}var u=Fa(e,0,!1,null,null,!1,!1,"",td);return e._reactRootContainer=u,e[ht]=u.current,xr(e.nodeType===8?e.parentNode:e),sn(function(){ai(t,u,n,r)}),u}function fi(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var a=o;o=function(){var u=ui(l);a.call(u)}}ai(t,l,e,o)}else l=vm(n,t,e,o,r);return ui(l)}Os=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ur(t.pendingLanes);n!==0&&(pl(t,n|1),Pe(t,q()),(z&6)===0&&($n=q()+500,zt()))}break;case 13:sn(function(){var r=yt(e,1);if(r!==null){var o=ke();qe(r,e,1,o)}}),Ua(e,1)}},hl=function(e){if(e.tag===13){var t=yt(e,134217728);if(t!==null){var n=ke();qe(t,e,134217728,n)}Ua(e,134217728)}},As=function(e){if(e.tag===13){var t=Vt(e),n=yt(e,t);if(n!==null){var r=ke();qe(n,e,t,r)}Ua(e,t)}},Ds=function(){return F},Hs=function(e,t){var n=F;try{return F=e,t()}finally{F=n}},ll=function(e,t,n){switch(t){case"input":if(Ji(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Mo(r);if(!o)throw Error(T(90));ls(r),Ji(r,o)}}}break;case"textarea":fs(e,n);break;case"select":t=n.value,t!=null&&kn(e,!!n.multiple,t,!1)}},Es=Aa,Ss=sn;var ym={usingClientEntryPoint:!1,Events:[Rr,_n,Mo,ys,ws,Aa]},Fr={findFiberByHostInstance:en,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},wm={bundleType:Fr.bundleType,version:Fr.version,rendererPackageName:Fr.rendererPackageName,rendererConfig:Fr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ns(e),e===null?null:e.stateNode},findFiberByHostInstance:Fr.findFiberByHostInstance||gm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var di=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!di.isDisabled&&di.supportsFiber)try{uo=di.inject(wm),nt=di}catch{}}Oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ym,Oe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Va(t))throw Error(T(200));return mm(e,t,null,n)},Oe.createRoot=function(e,t){if(!Va(e))throw Error(T(299));var n=!1,r="",o=ed;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Fa(e,1,!1,null,null,n,!1,r,o),e[ht]=t.current,xr(e.nodeType===8?e.parentNode:e),new ja(t)},Oe.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=Ns(t),e=e===null?null:e.stateNode,e},Oe.flushSync=function(e){return sn(e)},Oe.hydrate=function(e,t,n){if(!ci(t))throw Error(T(200));return fi(null,e,t,!0,n)},Oe.hydrateRoot=function(e,t,n){if(!Va(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",l=ed;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Jf(t,null,e,1,n!=null?n:null,o,!1,i,l),e[ht]=t.current,xr(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new si(t)},Oe.render=function(e,t,n){if(!ci(t))throw Error(T(200));return fi(null,e,t,!1,n)},Oe.unmountComponentAtNode=function(e){if(!ci(e))throw Error(T(40));return e._reactRootContainer?(sn(function(){fi(null,null,e,!1,function(){e._reactRootContainer=null,e[ht]=null})}),!0):!1},Oe.unstable_batchedUpdates=Aa,Oe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ci(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return fi(e,t,n,!1,r)},Oe.version="18.2.0-next-9e3b772b8-20220608",function(e){function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Oe}(Hi);var Ga=function(e,t){return Ga=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Ga(e,t)};function $e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ga(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},L.apply(this,arguments)};function $a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function at(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Xa={exports:{}},b={};/** @license React v16.13.1
41
41
  * react-is.production.min.js
42
42
  *
43
43
  * Copyright (c) Facebook, Inc. and its affiliates.
44
44
  *
45
45
  * This source code is licensed under the MIT license found in the
46
46
  * LICENSE file in the root directory of this source tree.
47
- */var Gf;function lm(){if(Gf)return B;Gf=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,a=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,N=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,c=e?Symbol.for("react.scope"):60119;function d(g){if(typeof g=="object"&&g!==null){var T=g.$$typeof;switch(T){case t:switch(g=g.type,g){case a:case s:case r:case i:case o:case m:return g;default:switch(g=g&&g.$$typeof,g){case u:case f:case y:case v:case l:return g;default:return T}}case n:return T}}}function w(g){return d(g)===s}return B.AsyncMode=a,B.ConcurrentMode=s,B.ContextConsumer=u,B.ContextProvider=l,B.Element=t,B.ForwardRef=f,B.Fragment=r,B.Lazy=y,B.Memo=v,B.Portal=n,B.Profiler=i,B.StrictMode=o,B.Suspense=m,B.isAsyncMode=function(g){return w(g)||d(g)===a},B.isConcurrentMode=w,B.isContextConsumer=function(g){return d(g)===u},B.isContextProvider=function(g){return d(g)===l},B.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},B.isForwardRef=function(g){return d(g)===f},B.isFragment=function(g){return d(g)===r},B.isLazy=function(g){return d(g)===y},B.isMemo=function(g){return d(g)===v},B.isPortal=function(g){return d(g)===n},B.isProfiler=function(g){return d(g)===i},B.isStrictMode=function(g){return d(g)===o},B.isSuspense=function(g){return d(g)===m},B.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===s||g===i||g===o||g===m||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===y||g.$$typeof===v||g.$$typeof===l||g.$$typeof===u||g.$$typeof===f||g.$$typeof===N||g.$$typeof===h||g.$$typeof===c||g.$$typeof===E)},B.typeOf=d,B}(function(e){e.exports=lm()})(Uu);var $f=Uu.exports,um={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},am={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xf={};Xf[$f.ForwardRef]=um,Xf[$f.Memo]=am;function Zf(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}var H;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(H||(H={}));var $;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})($||($={}));var jn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(jn||(jn={}));function Wf(e){return e.type===$.literal}function sm(e){return e.type===$.argument}function Qf(e){return e.type===$.number}function Kf(e){return e.type===$.date}function Yf(e){return e.type===$.time}function Jf(e){return e.type===$.select}function qf(e){return e.type===$.plural}function cm(e){return e.type===$.pound}function ed(e){return e.type===$.tag}function td(e){return!!(e&&typeof e=="object"&&e.type===jn.number)}function ju(e){return!!(e&&typeof e=="object"&&e.type===jn.dateTime)}var nd=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,fm=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function dm(e){var t={};return e.replace(fm,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"short":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var pm=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function hm(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(pm).filter(function(p){return p.length>0}),n=[],r=0,o=t;r<o.length;r++){var i=o[r],l=i.split("/");if(l.length===0)throw new Error("Invalid number skeleton");for(var u=l[0],a=l.slice(1),s=0,f=a;s<f.length;s++){var m=f[s];if(m.length===0)throw new Error("Invalid number skeleton")}n.push({stem:u,options:a})}return n}function mm(e){return e.replace(/^(.*?)-/,"")}var rd=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,od=/^(@+)?(\+|#+)?[rs]?$/g,gm=/(\*)(0+)|(#+)(0+)|(0+)/g,id=/^(0+)$/;function ld(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(od,function(n,r,o){return typeof o!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):o==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof o=="string"?o.length:0)),""}),t}function ud(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function vm(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!id.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ad(e){var t={},n=ud(e);return n||t}function ym(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=mm(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=M(M(M({},t),{notation:"scientific"}),o.options.reduce(function(a,s){return M(M({},a),ad(s))},{}));continue;case"engineering":t=M(M(M({},t),{notation:"engineering"}),o.options.reduce(function(a,s){return M(M({},a),ad(s))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(gm,function(a,s,f,m,p,v){if(s)t.minimumIntegerDigits=f.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(id.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(rd.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(rd,function(a,s,f,m,p,v){return f==="*"?t.minimumFractionDigits=s.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:p&&v?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+v.length):(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length),""});var i=o.options[0];i==="w"?t=M(M({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=M(M({},t),ld(i)));continue}if(od.test(o.stem)){t=M(M({},t),ld(o.stem));continue}var l=ud(o.stem);l&&(t=M(M({},t),l));var u=vm(o.stem);u&&(t=M(M({},t),u))}return t}var si={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function wm(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if(o==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var l=1+(i&1),u=i<2?1:3+(i>>1),a="a",s=Em(t);for((s=="H"||s=="k")&&(u=0);u-- >0;)n+=a;for(;l-- >0;)n=s+n}else o==="J"?n+="H":n+=o}return n}function Em(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var o=si[r||""]||si[n||""]||si["".concat(n,"-001")]||si["001"];return o[0]}var Vu,Sm=new RegExp("^".concat(nd.source,"*")),km=new RegExp("".concat(nd.source,"*$"));function D(e,t){return{start:e,end:t}}var xm=!!String.prototype.startsWith,Tm=!!String.fromCodePoint,Nm=!!Object.fromEntries,Cm=!!String.prototype.codePointAt,Rm=!!String.prototype.trimStart,Pm=!!String.prototype.trimEnd,Mm=!!Number.isSafeInteger,_m=Mm?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Gu=!0;try{var Lm=dd("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gu=((Vu=Lm.exec("a"))===null||Vu===void 0?void 0:Vu[0])==="a"}catch{Gu=!1}var sd=xm?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},$u=Tm?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=e.length,o=0,i;r>o;){if(i=e[o++],i>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return n},cd=Nm?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],l=o[1];t[i]=l}return t},fd=Cm?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r=e.charCodeAt(t),o;return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},Im=Rm?function(e){return e.trimStart()}:function(e){return e.replace(Sm,"")},Om=Pm?function(e){return e.trimEnd()}:function(e){return e.replace(km,"")};function dd(e,t){return new RegExp(e,t)}var Xu;if(Gu){var pd=dd("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xu=function(e,t){var n;pd.lastIndex=t;var r=pd.exec(e);return(n=r[1])!==null&&n!==void 0?n:""}}else Xu=function(e,t){for(var n=[];;){var r=fd(e,t);if(r===void 0||hd(r)||zm(r))break;n.push(r),t+=r>=65536?2:1}return $u.apply(void 0,n)};var Am=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var o=[];!this.isEOF();){var i=this.char();if(i===123){var l=this.parseArgument(t,r);if(l.err)return l;o.push(l.val)}else{if(i===125&&t>0)break;if(i===35&&(n==="plural"||n==="selectordinal")){var u=this.clonePosition();this.bump(),o.push({type:$.pound,location:D(u,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(H.UNMATCHED_CLOSING_TAG,D(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Zu(this.peek()||0)){var l=this.parseTag(t,n);if(l.err)return l;o.push(l.val)}else{var l=this.parseLiteral(t,n);if(l.err)return l;o.push(l.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$.literal,value:"<".concat(o,"/>"),location:D(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,n,!0);if(i.err)return i;var l=i.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Zu(this.char()))return this.error(H.INVALID_TAG,D(u,this.clonePosition()));var a=this.clonePosition(),s=this.parseTagName();return o!==s?this.error(H.UNMATCHED_CLOSING_TAG,D(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:$.tag,value:o,children:l,location:D(r,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,D(u,this.clonePosition())))}else return this.error(H.UNCLOSED_TAG,D(r,this.clonePosition()))}else return this.error(H.INVALID_TAG,D(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Dm(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),o="";;){var i=this.tryParseQuote(n);if(i){o+=i;continue}var l=this.tryParseUnquoted(t,n);if(l){o+=l;continue}var u=this.tryParseLeftAngleBracket();if(u){o+=u;continue}break}var a=D(r,this.clonePosition());return{val:{type:$.literal,value:o,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Hm(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return $u.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),$u(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(H.EMPTY_ARGUMENT,D(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(H.MALFORMED_ARGUMENT,D(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$.argument,value:o,location:D(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition())):this.parseArgumentOptions(t,n,o,r);default:return this.error(H.MALFORMED_ARGUMENT,D(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=Xu(this.message,n),o=n+r.length;this.bumpTo(o);var i=this.clonePosition(),l=D(t,i);return{value:r,location:l}},e.prototype.parseArgumentOptions=function(t,n,r,o){var i,l=this.clonePosition(),u=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(u){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,D(l,a));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=Om(m.val);if(p.length===0)return this.error(H.EXPECT_ARGUMENT_STYLE,D(this.clonePosition(),this.clonePosition()));var v=D(f,this.clonePosition());s={style:p,styleLocation:v}}var y=this.tryParseArgumentClose(o);if(y.err)return y;var E=D(o,this.clonePosition());if(s&&sd(s==null?void 0:s.style,"::",0)){var N=Im(s.style.slice(2));if(u==="number"){var m=this.parseNumberSkeletonFromString(N,s.styleLocation);return m.err?m:{val:{type:$.number,value:r,location:E,style:m.val},err:null}}else{if(N.length===0)return this.error(H.EXPECT_DATE_TIME_SKELETON,E);var h=N;this.locale&&(h=wm(N,this.locale));var p={type:jn.dateTime,pattern:h,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?dm(h):{}},c=u==="date"?$.date:$.time;return{val:{type:c,value:r,location:E,style:p},err:null}}}return{val:{type:u==="number"?$.number:u==="date"?$.date:$.time,value:r,location:E,style:(i=s==null?void 0:s.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,D(d,M({},d)));this.bumpSpace();var w=this.parseIdentifierIfPossible(),g=0;if(u!=="select"&&w.value==="offset"){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),w=this.parseIdentifierIfPossible(),g=m.val}var T=this.tryParsePluralOrSelectOptions(t,u,n,w);if(T.err)return T;var y=this.tryParseArgumentClose(o);if(y.err)return y;var P=D(o,this.clonePosition());return u==="select"?{val:{type:$.select,value:r,options:cd(T.val),location:P},err:null}:{val:{type:$.plural,value:r,options:cd(T.val),offset:g,pluralType:u==="plural"?"cardinal":"ordinal",location:P},err:null}}default:return this.error(H.INVALID_ARGUMENT_TYPE,D(l,a))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,D(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,D(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=hm(t)}catch{return this.error(H.INVALID_NUMBER_SKELETON,n)}return{val:{type:jn.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?ym(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,o){for(var i,l=!1,u=[],a=new Set,s=o.value,f=o.location;;){if(s.length===0){var m=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=D(m,this.clonePosition()),s=this.message.slice(m.offset,this.offset())}else break}if(a.has(s))return this.error(n==="select"?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);s==="other"&&(l=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,D(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var E=this.tryParseArgumentClose(v);if(E.err)return E;u.push([s,{value:y.val,location:D(v,this.clonePosition())}]),a.add(s),this.bumpSpace(),i=this.parseIdentifierIfPossible(),s=i.value,f=i.location}return u.length===0?this.error(n==="select"?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,D(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(H.MISSING_OTHER_CLAUSE,D(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,l=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)i=!0,l=l*10+(u-48),this.bump();else break}var a=D(o,this.clonePosition());return i?(l*=r,_m(l)?{val:l,err:null}:this.error(n,a)):this.error(t,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=fd(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(sd(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&hd(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function Zu(e){return e>=97&&e<=122||e>=65&&e<=90}function Hm(e){return Zu(e)||e===47}function Dm(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function hd(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function zm(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Wu(e){e.forEach(function(t){if(delete t.location,Jf(t)||qf(t))for(var n in t.options)delete t.options[n].location,Wu(t.options[n].value);else Qf(t)&&td(t.style)||(Kf(t)||Yf(t))&&ju(t.style)?delete t.style.location:ed(t)&&Wu(t.children)})}function Bm(e,t){t===void 0&&(t={}),t=M({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Am(e,t).parse();if(n.err){var r=SyntaxError(H[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||Wu(n.val),n.val}function ot(e,t){var n=t&&t.cache?t.cache:Gm,r=t&&t.serializer?t.serializer:Vm,o=t&&t.strategy?t.strategy:bm;return o(e,{cache:n,serializer:r})}function Fm(e){return e==null||typeof e=="number"||typeof e=="boolean"}function md(e,t,n,r){var o=Fm(r)?r:n(r),i=t.get(o);return typeof i>"u"&&(i=e.call(this,r),t.set(o,i)),i}function gd(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return typeof i>"u"&&(i=e.apply(this,r),t.set(o,i)),i}function Qu(e,t,n,r,o){return n.bind(t,e,r,o)}function bm(e,t){var n=e.length===1?md:gd;return Qu(e,this,n,t.cache.create(),t.serializer)}function Um(e,t){return Qu(e,this,gd,t.cache.create(),t.serializer)}function jm(e,t){return Qu(e,this,md,t.cache.create(),t.serializer)}var Vm=function(){return JSON.stringify(arguments)};function Ku(){this.cache=Object.create(null)}Ku.prototype.get=function(e){return this.cache[e]},Ku.prototype.set=function(e,t){this.cache[e]=t};var Gm={create:function(){return new Ku}},it={variadic:Um,monadic:jm},lt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(lt||(lt={}));var bt=function(e){Ve(t,e);function t(n,r,o){var i=e.call(this,n)||this;return i.code=r,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),vd=function(e){Ve(t,e);function t(n,r,o,i){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),lt.INVALID_VALUE,i)||this}return t}(bt),$m=function(e){Ve(t,e);function t(n,r,o){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),lt.INVALID_VALUE,o)||this}return t}(bt),Xm=function(e){Ve(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),lt.MISSING_VALUE,r)||this}return t}(bt),Ee;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Ee||(Ee={}));function Zm(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==Ee.literal||n.type!==Ee.literal?t.push(n):r.value+=n.value,t},[])}function yd(e){return typeof e=="function"}function ci(e,t,n,r,o,i,l){if(e.length===1&&Wf(e[0]))return[{type:Ee.literal,value:e[0].value}];for(var u=[],a=0,s=e;a<s.length;a++){var f=s[a];if(Wf(f)){u.push({type:Ee.literal,value:f.value});continue}if(cm(f)){typeof i=="number"&&u.push({type:Ee.literal,value:n.getNumberFormat(t).format(i)});continue}var m=f.value;if(!(o&&m in o))throw new Xm(m,l);var p=o[m];if(sm(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),u.push({type:typeof p=="string"?Ee.literal:Ee.object,value:p});continue}if(Kf(f)){var v=typeof f.style=="string"?r.date[f.style]:ju(f.style)?f.style.parsedOptions:void 0;u.push({type:Ee.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(Yf(f)){var v=typeof f.style=="string"?r.time[f.style]:ju(f.style)?f.style.parsedOptions:r.time.medium;u.push({type:Ee.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(Qf(f)){var v=typeof f.style=="string"?r.number[f.style]:td(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(p=p*(v.scale||1)),u.push({type:Ee.literal,value:n.getNumberFormat(t,v).format(p)});continue}if(ed(f)){var y=f.children,E=f.value,N=o[E];if(!yd(N))throw new $m(E,"function",l);var h=ci(y,t,n,r,o,i),c=N(h.map(function(g){return g.value}));Array.isArray(c)||(c=[c]),u.push.apply(u,c.map(function(g){return{type:typeof g=="string"?Ee.literal:Ee.object,value:g}}))}if(Jf(f)){var d=f.options[p]||f.options.other;if(!d)throw new vd(f.value,p,Object.keys(f.options),l);u.push.apply(u,ci(d.value,t,n,r,o));continue}if(qf(f)){var d=f.options["=".concat(p)];if(!d){if(!Intl.PluralRules)throw new bt(`Intl.PluralRules is not available in this environment.
47
+ */var nd;function Em(){if(nd)return b;nd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,s=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,w=e?Symbol.for("react.block"):60121,N=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,c=e?Symbol.for("react.scope"):60119;function d(g){if(typeof g=="object"&&g!==null){var x=g.$$typeof;switch(x){case t:switch(g=g.type,g){case u:case s:case r:case i:case o:case m:return g;default:switch(g=g&&g.$$typeof,g){case a:case f:case y:case v:case l:return g;default:return x}}case n:return x}}}function E(g){return d(g)===s}return b.AsyncMode=u,b.ConcurrentMode=s,b.ContextConsumer=a,b.ContextProvider=l,b.Element=t,b.ForwardRef=f,b.Fragment=r,b.Lazy=y,b.Memo=v,b.Portal=n,b.Profiler=i,b.StrictMode=o,b.Suspense=m,b.isAsyncMode=function(g){return E(g)||d(g)===u},b.isConcurrentMode=E,b.isContextConsumer=function(g){return d(g)===a},b.isContextProvider=function(g){return d(g)===l},b.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},b.isForwardRef=function(g){return d(g)===f},b.isFragment=function(g){return d(g)===r},b.isLazy=function(g){return d(g)===y},b.isMemo=function(g){return d(g)===v},b.isPortal=function(g){return d(g)===n},b.isProfiler=function(g){return d(g)===i},b.isStrictMode=function(g){return d(g)===o},b.isSuspense=function(g){return d(g)===m},b.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===s||g===i||g===o||g===m||g===p||typeof g=="object"&&g!==null&&(g.$$typeof===y||g.$$typeof===v||g.$$typeof===l||g.$$typeof===a||g.$$typeof===f||g.$$typeof===N||g.$$typeof===h||g.$$typeof===c||g.$$typeof===w)},b.typeOf=d,b}(function(e){e.exports=Em()})(Xa);var rd=Xa.exports,Sm={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},km={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},od={};od[rd.ForwardRef]=Sm,od[rd.Memo]=km;function id(e,t,n){if(n===void 0&&(n=Error),!e)throw new n(t)}var D;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(D||(D={}));var X;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(X||(X={}));var Zn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Zn||(Zn={}));function ld(e){return e.type===X.literal}function xm(e){return e.type===X.argument}function ad(e){return e.type===X.number}function ud(e){return e.type===X.date}function sd(e){return e.type===X.time}function cd(e){return e.type===X.select}function fd(e){return e.type===X.plural}function Tm(e){return e.type===X.pound}function dd(e){return e.type===X.tag}function pd(e){return!!(e&&typeof e=="object"&&e.type===Zn.number)}function Za(e){return!!(e&&typeof e=="object"&&e.type===Zn.dateTime)}var hd=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Nm=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Rm(e){var t={};return e.replace(Nm,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"short":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Cm=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Mm(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Cm).filter(function(p){return p.length>0}),n=[],r=0,o=t;r<o.length;r++){var i=o[r],l=i.split("/");if(l.length===0)throw new Error("Invalid number skeleton");for(var a=l[0],u=l.slice(1),s=0,f=u;s<f.length;s++){var m=f[s];if(m.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:u})}return n}function Pm(e){return e.replace(/^(.*?)-/,"")}var md=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,gd=/^(@+)?(\+|#+)?[rs]?$/g,Lm=/(\*)(0+)|(#+)(0+)|(0+)/g,vd=/^(0+)$/;function yd(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(gd,function(n,r,o){return typeof o!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):o==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof o=="string"?o.length:0)),""}),t}function wd(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Im(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!vd.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ed(e){var t={},n=wd(e);return n||t}function _m(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Pm(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=L(L(L({},t),{notation:"scientific"}),o.options.reduce(function(u,s){return L(L({},u),Ed(s))},{}));continue;case"engineering":t=L(L(L({},t),{notation:"engineering"}),o.options.reduce(function(u,s){return L(L({},u),Ed(s))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Lm,function(u,s,f,m,p,v){if(s)t.minimumIntegerDigits=f.length;else{if(m&&p)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(vd.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(md.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(md,function(u,s,f,m,p,v){return f==="*"?t.minimumFractionDigits=s.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:p&&v?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+v.length):(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length),""});var i=o.options[0];i==="w"?t=L(L({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=L(L({},t),yd(i)));continue}if(gd.test(o.stem)){t=L(L({},t),yd(o.stem));continue}var l=wd(o.stem);l&&(t=L(L({},t),l));var a=Im(o.stem);a&&(t=L(L({},t),a))}return t}var pi={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Om(e,t){for(var n="",r=0;r<e.length;r++){var o=e.charAt(r);if(o==="j"){for(var i=0;r+1<e.length&&e.charAt(r+1)===o;)i++,r++;var l=1+(i&1),a=i<2?1:3+(i>>1),u="a",s=Am(t);for((s=="H"||s=="k")&&(a=0);a-- >0;)n+=u;for(;l-- >0;)n=s+n}else o==="J"?n+="H":n+=o}return n}function Am(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var o=pi[r||""]||pi[n||""]||pi["".concat(n,"-001")]||pi["001"];return o[0]}var Wa,Dm=new RegExp("^".concat(hd.source,"*")),Hm=new RegExp("".concat(hd.source,"*$"));function H(e,t){return{start:e,end:t}}var zm=!!String.prototype.startsWith,Bm=!!String.fromCodePoint,bm=!!Object.fromEntries,Fm=!!String.prototype.codePointAt,Um=!!String.prototype.trimStart,jm=!!String.prototype.trimEnd,Vm=!!Number.isSafeInteger,Gm=Vm?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qa=!0;try{var $m=Td("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qa=((Wa=$m.exec("a"))===null||Wa===void 0?void 0:Wa[0])==="a"}catch{Qa=!1}var Sd=zm?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Ka=Bm?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=e.length,o=0,i;r>o;){if(i=e[o++],i>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(((i-=65536)>>10)+55296,i%1024+56320)}return n},kd=bm?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o[0],l=o[1];t[i]=l}return t},xd=Fm?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var r=e.charCodeAt(t),o;return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:(r-55296<<10)+(o-56320)+65536}},Xm=Um?function(e){return e.trimStart()}:function(e){return e.replace(Dm,"")},Zm=jm?function(e){return e.trimEnd()}:function(e){return e.replace(Hm,"")};function Td(e,t){return new RegExp(e,t)}var Ya;if(Qa){var Nd=Td("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ya=function(e,t){var n;Nd.lastIndex=t;var r=Nd.exec(e);return(n=r[1])!==null&&n!==void 0?n:""}}else Ya=function(e,t){for(var n=[];;){var r=xd(e,t);if(r===void 0||Rd(r)||Ym(r))break;n.push(r),t+=r>=65536?2:1}return Ka.apply(void 0,n)};var Wm=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var o=[];!this.isEOF();){var i=this.char();if(i===123){var l=this.parseArgument(t,r);if(l.err)return l;o.push(l.val)}else{if(i===125&&t>0)break;if(i===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),o.push({type:X.pound,location:H(a,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(D.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ja(this.peek()||0)){var l=this.parseTag(t,n);if(l.err)return l;o.push(l.val)}else{var l=this.parseLiteral(t,n);if(l.err)return l;o.push(l.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:X.literal,value:"<".concat(o,"/>"),location:H(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,n,!0);if(i.err)return i;var l=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ja(this.char()))return this.error(D.INVALID_TAG,H(a,this.clonePosition()));var u=this.clonePosition(),s=this.parseTagName();return o!==s?this.error(D.UNMATCHED_CLOSING_TAG,H(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:X.tag,value:o,children:l,location:H(r,this.clonePosition())},err:null}:this.error(D.INVALID_TAG,H(a,this.clonePosition())))}else return this.error(D.UNCLOSED_TAG,H(r,this.clonePosition()))}else return this.error(D.INVALID_TAG,H(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Km(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),o="";;){var i=this.tryParseQuote(n);if(i){o+=i;continue}var l=this.tryParseUnquoted(t,n);if(l){o+=l;continue}var a=this.tryParseLeftAngleBracket();if(a){o+=a;continue}break}var u=H(r,this.clonePosition());return{val:{type:X.literal,value:o,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Qm(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Ka.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),Ka(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(D.EMPTY_ARGUMENT,H(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(D.MALFORMED_ARGUMENT,H(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:X.argument,value:o,location:H(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(r,this.clonePosition())):this.parseArgumentOptions(t,n,o,r);default:return this.error(D.MALFORMED_ARGUMENT,H(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=Ya(this.message,n),o=n+r.length;this.bumpTo(o);var i=this.clonePosition(),l=H(t,i);return{value:r,location:l}},e.prototype.parseArgumentOptions=function(t,n,r,o){var i,l=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(D.EXPECT_ARGUMENT_TYPE,H(l,u));case"number":case"date":case"time":{this.bumpSpace();var s=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=Zm(m.val);if(p.length===0)return this.error(D.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var v=H(f,this.clonePosition());s={style:p,styleLocation:v}}var y=this.tryParseArgumentClose(o);if(y.err)return y;var w=H(o,this.clonePosition());if(s&&Sd(s==null?void 0:s.style,"::",0)){var N=Xm(s.style.slice(2));if(a==="number"){var m=this.parseNumberSkeletonFromString(N,s.styleLocation);return m.err?m:{val:{type:X.number,value:r,location:w,style:m.val},err:null}}else{if(N.length===0)return this.error(D.EXPECT_DATE_TIME_SKELETON,w);var h=N;this.locale&&(h=Om(N,this.locale));var p={type:Zn.dateTime,pattern:h,location:s.styleLocation,parsedOptions:this.shouldParseSkeletons?Rm(h):{}},c=a==="date"?X.date:X.time;return{val:{type:c,value:r,location:w,style:p},err:null}}}return{val:{type:a==="number"?X.number:a==="date"?X.date:X.time,value:r,location:w,style:(i=s==null?void 0:s.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,H(d,L({},d)));this.bumpSpace();var E=this.parseIdentifierIfPossible(),g=0;if(a!=="select"&&E.value==="offset"){if(!this.bumpIf(":"))return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),E=this.parseIdentifierIfPossible(),g=m.val}var x=this.tryParsePluralOrSelectOptions(t,a,n,E);if(x.err)return x;var y=this.tryParseArgumentClose(o);if(y.err)return y;var R=H(o,this.clonePosition());return a==="select"?{val:{type:X.select,value:r,options:kd(x.val),location:R},err:null}:{val:{type:X.plural,value:r,options:kd(x.val),offset:g,pluralType:a==="plural"?"cardinal":"ordinal",location:R},err:null}}default:return this.error(D.INVALID_ARGUMENT_TYPE,H(l,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,H(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Mm(t)}catch{return this.error(D.INVALID_NUMBER_SKELETON,n)}return{val:{type:Zn.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?_m(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,o){for(var i,l=!1,a=[],u=new Set,s=o.value,f=o.location;;){if(s.length===0){var m=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_SELECTOR,D.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=H(m,this.clonePosition()),s=this.message.slice(m.offset,this.offset())}else break}if(u.has(s))return this.error(n==="select"?D.DUPLICATE_SELECT_ARGUMENT_SELECTOR:D.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);s==="other"&&(l=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:D.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,n,r);if(y.err)return y;var w=this.tryParseArgumentClose(v);if(w.err)return w;a.push([s,{value:y.val,location:H(v,this.clonePosition())}]),u.add(s),this.bumpSpace(),i=this.parseIdentifierIfPossible(),s=i.value,f=i.location}return a.length===0?this.error(n==="select"?D.EXPECT_SELECT_ARGUMENT_SELECTOR:D.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(D.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,l=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,l=l*10+(a-48),this.bump();else break}var u=H(o,this.clonePosition());return i?(l*=r,Gm(l)?{val:l,err:null}:this.error(n,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=xd(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Sd(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Rd(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function Ja(e){return e>=97&&e<=122||e>=65&&e<=90}function Qm(e){return Ja(e)||e===47}function Km(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Rd(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ym(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function qa(e){e.forEach(function(t){if(delete t.location,cd(t)||fd(t))for(var n in t.options)delete t.options[n].location,qa(t.options[n].value);else ad(t)&&pd(t.style)||(ud(t)||sd(t))&&Za(t.style)?delete t.style.location:dd(t)&&qa(t.children)})}function Jm(e,t){t===void 0&&(t={}),t=L({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Wm(e,t).parse();if(n.err){var r=SyntaxError(D[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||qa(n.val),n.val}function ut(e,t){var n=t&&t.cache?t.cache:o1,r=t&&t.serializer?t.serializer:r1,o=t&&t.strategy?t.strategy:e1;return o(e,{cache:n,serializer:r})}function qm(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Cd(e,t,n,r){var o=qm(r)?r:n(r),i=t.get(o);return typeof i>"u"&&(i=e.call(this,r),t.set(o,i)),i}function Md(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return typeof i>"u"&&(i=e.apply(this,r),t.set(o,i)),i}function eu(e,t,n,r,o){return n.bind(t,e,r,o)}function e1(e,t){var n=e.length===1?Cd:Md;return eu(e,this,n,t.cache.create(),t.serializer)}function t1(e,t){return eu(e,this,Md,t.cache.create(),t.serializer)}function n1(e,t){return eu(e,this,Cd,t.cache.create(),t.serializer)}var r1=function(){return JSON.stringify(arguments)};function tu(){this.cache=Object.create(null)}tu.prototype.get=function(e){return this.cache[e]},tu.prototype.set=function(e,t){this.cache[e]=t};var o1={create:function(){return new tu}},st={variadic:t1,monadic:n1},ct;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ct||(ct={}));var Xt=function(e){$e(t,e);function t(n,r,o){var i=e.call(this,n)||this;return i.code=r,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Pd=function(e){$e(t,e);function t(n,r,o,i){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),ct.INVALID_VALUE,i)||this}return t}(Xt),i1=function(e){$e(t,e);function t(n,r,o){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),ct.INVALID_VALUE,o)||this}return t}(Xt),l1=function(e){$e(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),ct.MISSING_VALUE,r)||this}return t}(Xt),xe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(xe||(xe={}));function a1(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==xe.literal||n.type!==xe.literal?t.push(n):r.value+=n.value,t},[])}function Ld(e){return typeof e=="function"}function hi(e,t,n,r,o,i,l){if(e.length===1&&ld(e[0]))return[{type:xe.literal,value:e[0].value}];for(var a=[],u=0,s=e;u<s.length;u++){var f=s[u];if(ld(f)){a.push({type:xe.literal,value:f.value});continue}if(Tm(f)){typeof i=="number"&&a.push({type:xe.literal,value:n.getNumberFormat(t).format(i)});continue}var m=f.value;if(!(o&&m in o))throw new l1(m,l);var p=o[m];if(xm(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),a.push({type:typeof p=="string"?xe.literal:xe.object,value:p});continue}if(ud(f)){var v=typeof f.style=="string"?r.date[f.style]:Za(f.style)?f.style.parsedOptions:void 0;a.push({type:xe.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(sd(f)){var v=typeof f.style=="string"?r.time[f.style]:Za(f.style)?f.style.parsedOptions:r.time.medium;a.push({type:xe.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(ad(f)){var v=typeof f.style=="string"?r.number[f.style]:pd(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(p=p*(v.scale||1)),a.push({type:xe.literal,value:n.getNumberFormat(t,v).format(p)});continue}if(dd(f)){var y=f.children,w=f.value,N=o[w];if(!Ld(N))throw new i1(w,"function",l);var h=hi(y,t,n,r,o,i),c=N(h.map(function(g){return g.value}));Array.isArray(c)||(c=[c]),a.push.apply(a,c.map(function(g){return{type:typeof g=="string"?xe.literal:xe.object,value:g}}))}if(cd(f)){var d=f.options[p]||f.options.other;if(!d)throw new Pd(f.value,p,Object.keys(f.options),l);a.push.apply(a,hi(d.value,t,n,r,o));continue}if(fd(f)){var d=f.options["=".concat(p)];if(!d){if(!Intl.PluralRules)throw new Xt(`Intl.PluralRules is not available in this environment.
48
48
  Try polyfilling it using "@formatjs/intl-pluralrules"
49
- `,lt.MISSING_INTL_API,l);var w=n.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));d=f.options[w]||f.options.other}if(!d)throw new vd(f.value,p,Object.keys(f.options),l);u.push.apply(u,ci(d.value,t,n,r,o,p-(f.offset||0)));continue}}return Zm(u)}function Wm(e,t){return t?M(M(M({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=M(M({},e[r]),t[r]||{}),n},{})):e}function Qm(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Wm(e[r],t[r]),n},M({},e)):e}function Yu(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Km(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ot(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,rt([void 0],n,!1)))},{cache:Yu(e.number),strategy:it.variadic}),getDateTimeFormat:ot(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,rt([void 0],n,!1)))},{cache:Yu(e.dateTime),strategy:it.variadic}),getPluralRules:ot(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,rt([void 0],n,!1)))},{cache:Yu(e.pluralRules),strategy:it.variadic})}}var wd=function(){function e(t,n,r,o){n===void 0&&(n=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=i.formatToParts(l);if(u.length===1)return u[0].value;var a=u.reduce(function(s,f){return!s.length||f.type!==Ee.literal||typeof s[s.length-1]!="string"?s.push(f.value):s[s.length-1]+=f.value,s},[]);return a.length<=1?a[0]||"":a},this.formatToParts=function(l){return ci(i.ast,i.locales,i.formatters,i.formats,l,void 0,i.message)},this.resolvedOptions=function(){var l;return{locale:((l=i.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:o==null?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Qm(e.formats,r),this.formatters=o&&o.formatters||Km(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Bm,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),pe;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(pe||(pe={}));var Re=function(e){Ve(t,e);function t(n,r,o){var i=this,l=o?o instanceof Error?o:new Error(String(o)):void 0;return i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,`
49
+ `,ct.MISSING_INTL_API,l);var E=n.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));d=f.options[E]||f.options.other}if(!d)throw new Pd(f.value,p,Object.keys(f.options),l);a.push.apply(a,hi(d.value,t,n,r,o,p-(f.offset||0)));continue}}return a1(a)}function u1(e,t){return t?L(L(L({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=L(L({},e[r]),t[r]||{}),n},{})):e}function s1(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=u1(e[r],t[r]),n},L({},e)):e}function nu(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function c1(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ut(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,at([void 0],n,!1)))},{cache:nu(e.number),strategy:st.variadic}),getDateTimeFormat:ut(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,at([void 0],n,!1)))},{cache:nu(e.dateTime),strategy:st.variadic}),getPluralRules:ut(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,at([void 0],n,!1)))},{cache:nu(e.pluralRules),strategy:st.variadic})}}var Id=function(){function e(t,n,r,o){n===void 0&&(n=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var a=i.formatToParts(l);if(a.length===1)return a[0].value;var u=a.reduce(function(s,f){return!s.length||f.type!==xe.literal||typeof s[s.length-1]!="string"?s.push(f.value):s[s.length-1]+=f.value,s},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(l){return hi(i.ast,i.locales,i.formatters,i.formats,l,void 0,i.message)},this.resolvedOptions=function(){var l;return{locale:((l=i.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:o==null?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s1(e.formats,r),this.formatters=o&&o.formatters||c1(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Jm,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),ge;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(ge||(ge={}));var Le=function(e){$e(t,e);function t(n,r,o){var i=this,l=o?o instanceof Error?o:new Error(String(o)):void 0;return i=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,`
50
50
  `).concat(l?`
51
51
  `.concat(l.message,`
52
- `).concat(l.stack):""))||this,i.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i,t),i}return t}(Error),Ym=function(e){Ve(t,e);function t(n,r){return e.call(this,pe.UNSUPPORTED_FORMATTER,n,r)||this}return t}(Re),Jm=function(e){Ve(t,e);function t(n,r){return e.call(this,pe.INVALID_CONFIG,n,r)||this}return t}(Re),Ed=function(e){Ve(t,e);function t(n,r){return e.call(this,pe.MISSING_DATA,n,r)||this}return t}(Re),Ju=function(e){Ve(t,e);function t(n,r,o){return e.call(this,pe.FORMAT_ERROR,"".concat(n,`
52
+ `).concat(l.stack):""))||this,i.code=n,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i,t),i}return t}(Error),f1=function(e){$e(t,e);function t(n,r){return e.call(this,ge.UNSUPPORTED_FORMATTER,n,r)||this}return t}(Le),d1=function(e){$e(t,e);function t(n,r){return e.call(this,ge.INVALID_CONFIG,n,r)||this}return t}(Le),_d=function(e){$e(t,e);function t(n,r){return e.call(this,ge.MISSING_DATA,n,r)||this}return t}(Le),ru=function(e){$e(t,e);function t(n,r,o){return e.call(this,ge.FORMAT_ERROR,"".concat(n,`
53
53
  Locale: `).concat(r,`
54
- `),o)||this}return t}(Re),qu=function(e){Ve(t,e);function t(n,r,o,i){var l=e.call(this,"".concat(n,`
54
+ `),o)||this}return t}(Le),ou=function(e){$e(t,e);function t(n,r,o,i){var l=e.call(this,"".concat(n,`
55
55
  MessageID: `).concat(o==null?void 0:o.id,`
56
56
  Default Message: `).concat(o==null?void 0:o.defaultMessage,`
57
57
  Description: `).concat(o==null?void 0:o.description,`
58
- `),r,i)||this;return l.descriptor=o,l}return t}(Ju),qm=function(e){Ve(t,e);function t(n,r){var o=e.call(this,pe.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(i){var l;return(l=i.value)!==null&&l!==void 0?l:JSON.stringify(i)}).join(),")"):"id"," as fallback."))||this;return o.descriptor=n,o}return t}(Re);function an(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,o){return o in e?r[o]=e[o]:o in n&&(r[o]=n[o]),r},{})}var e1=function(e){},t1=function(e){},Sd={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:e1,onWarn:t1};function kd(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function sn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function n1(e){e===void 0&&(e=kd());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=ot(function(){for(var u,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return new((u=Intl.DateTimeFormat).bind.apply(u,rt([void 0],a,!1)))},{cache:sn(e.dateTime),strategy:it.variadic}),i=ot(function(){for(var u,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return new((u=Intl.NumberFormat).bind.apply(u,rt([void 0],a,!1)))},{cache:sn(e.number),strategy:it.variadic}),l=ot(function(){for(var u,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return new((u=Intl.PluralRules).bind.apply(u,rt([void 0],a,!1)))},{cache:sn(e.pluralRules),strategy:it.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:ot(function(u,a,s,f){return new wd(u,a,s,M({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:l}},f||{}))},{cache:sn(e.message),strategy:it.variadic}),getRelativeTimeFormat:ot(function(){for(var u=[],a=0;a<arguments.length;a++)u[a]=arguments[a];return new(t.bind.apply(t,rt([void 0],u,!1)))},{cache:sn(e.relativeTime),strategy:it.variadic}),getPluralRules:l,getListFormat:ot(function(){for(var u=[],a=0;a<arguments.length;a++)u[a]=arguments[a];return new(n.bind.apply(n,rt([void 0],u,!1)))},{cache:sn(e.list),strategy:it.variadic}),getDisplayNames:ot(function(){for(var u=[],a=0;a<arguments.length;a++)u[a]=arguments[a];return new(r.bind.apply(r,rt([void 0],u,!1)))},{cache:sn(e.displayNames),strategy:it.variadic})}}function ea(e,t,n,r){var o=e&&e[t],i;if(o&&(i=o[n]),i)return i;r(new Ym("No ".concat(t," format named: ").concat(n)))}function fi(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=M({timeZone:t},e[r]),n},{})}function xd(e,t){var n=Object.keys(M(M({},e),t));return n.reduce(function(r,o){return r[o]=M(M({},e[o]||{}),t[o]||{}),r},{})}function Td(e,t){if(!t)return e;var n=wd.formats;return M(M(M({},n),e),{date:xd(fi(n.date,t),fi(e.date||{},t)),time:xd(fi(n.time,t),fi(e.time||{},t))})}var ta=function(e,t,n,r,o){var i=e.locale,l=e.formats,u=e.messages,a=e.defaultLocale,s=e.defaultFormats,f=e.fallbackOnEmptyString,m=e.onError,p=e.timeZone,v=e.defaultRichTextElements;n===void 0&&(n={id:""});var y=n.id,E=n.defaultMessage;Zf(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var N=String(y),h=u&&Object.prototype.hasOwnProperty.call(u,N)&&u[N];if(Array.isArray(h)&&h.length===1&&h[0].type===$.literal)return h[0].value;if(!r&&h&&typeof h=="string"&&!v)return h.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=M(M({},v),r||{}),l=Td(l,p),s=Td(s,p),!h){if(f===!1&&h==="")return h;if((!E||i&&i.toLowerCase()!==a.toLowerCase())&&m(new qm(n,i)),E)try{var c=t.getMessageFormat(E,a,s,o);return c.format(r)}catch(d){return m(new qu('Error formatting default message for: "'.concat(N,'", rendering default message verbatim'),i,n,d)),typeof E=="string"?E:N}return N}try{var c=t.getMessageFormat(h,i,l,M({formatters:t},o||{}));return c.format(r)}catch(d){m(new qu('Error formatting message: "'.concat(N,'", using ').concat(E?"default message":"id"," as fallback."),i,n,d))}if(E)try{var c=t.getMessageFormat(E,a,s,o);return c.format(r)}catch(d){m(new qu('Error formatting the default message for: "'.concat(N,'", rendering message verbatim'),i,n,d))}return typeof h=="string"?h:typeof E=="string"?E:N},Nd=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function di(e,t,n,r){var o=e.locale,i=e.formats,l=e.onError,u=e.timeZone;r===void 0&&(r={});var a=r.format,s=M(M({},u&&{timeZone:u}),a&&ea(i,t,a,l)),f=an(r,Nd,s);return t==="time"&&!f.hour&&!f.minute&&!f.second&&!f.timeStyle&&!f.dateStyle&&(f=M(M({},f),{hour:"numeric",minute:"numeric"})),n(o,f)}function r1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return di(e,"date",t,l).format(u)}catch(a){e.onError(new Re(pe.FORMAT_ERROR,"Error formatting date.",a))}return String(u)}function o1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return di(e,"time",t,l).format(u)}catch(a){e.onError(new Re(pe.FORMAT_ERROR,"Error formatting time.",a))}return String(u)}function i1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=n[2],u=l===void 0?{}:l,a=e.timeZone,s=e.locale,f=e.onError,m=an(u,Nd,a?{timeZone:a}:{});try{return t(s,m).formatRange(o,i)}catch(p){f(new Re(pe.FORMAT_ERROR,"Error formatting date time range.",p))}return String(o)}function l1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return di(e,"date",t,l).formatToParts(u)}catch(a){e.onError(new Re(pe.FORMAT_ERROR,"Error formatting date.",a))}return[]}function u1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,u=typeof o=="string"?new Date(o||0):o;try{return di(e,"time",t,l).formatToParts(u)}catch(a){e.onError(new Re(pe.FORMAT_ERROR,"Error formatting time.",a))}return[]}var a1=["style","type","fallback"];function s1(e,t,n,r){var o=e.locale,i=e.onError,l=Intl.DisplayNames;l||i(new bt(`Intl.DisplayNames is not available in this environment.
58
+ `),r,i)||this;return l.descriptor=o,l}return t}(ru),p1=function(e){$e(t,e);function t(n,r){var o=e.call(this,ge.MISSING_TRANSLATION,'Missing message: "'.concat(n.id,'" for locale "').concat(r,'", using ').concat(n.defaultMessage?"default message (".concat(typeof n.defaultMessage=="string"?n.defaultMessage:n.defaultMessage.map(function(i){var l;return(l=i.value)!==null&&l!==void 0?l:JSON.stringify(i)}).join(),")"):"id"," as fallback."))||this;return o.descriptor=n,o}return t}(Le);function pn(e,t,n){return n===void 0&&(n={}),t.reduce(function(r,o){return o in e?r[o]=e[o]:o in n&&(r[o]=n[o]),r},{})}var h1=function(e){},m1=function(e){},Od={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:h1,onWarn:m1};function Ad(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function hn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function g1(e){e===void 0&&(e=Ad());var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames,o=ut(function(){for(var a,u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return new((a=Intl.DateTimeFormat).bind.apply(a,at([void 0],u,!1)))},{cache:hn(e.dateTime),strategy:st.variadic}),i=ut(function(){for(var a,u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return new((a=Intl.NumberFormat).bind.apply(a,at([void 0],u,!1)))},{cache:hn(e.number),strategy:st.variadic}),l=ut(function(){for(var a,u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];return new((a=Intl.PluralRules).bind.apply(a,at([void 0],u,!1)))},{cache:hn(e.pluralRules),strategy:st.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:ut(function(a,u,s,f){return new Id(a,u,s,L({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:l}},f||{}))},{cache:hn(e.message),strategy:st.variadic}),getRelativeTimeFormat:ut(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return new(t.bind.apply(t,at([void 0],a,!1)))},{cache:hn(e.relativeTime),strategy:st.variadic}),getPluralRules:l,getListFormat:ut(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return new(n.bind.apply(n,at([void 0],a,!1)))},{cache:hn(e.list),strategy:st.variadic}),getDisplayNames:ut(function(){for(var a=[],u=0;u<arguments.length;u++)a[u]=arguments[u];return new(r.bind.apply(r,at([void 0],a,!1)))},{cache:hn(e.displayNames),strategy:st.variadic})}}function iu(e,t,n,r){var o=e&&e[t],i;if(o&&(i=o[n]),i)return i;r(new f1("No ".concat(t," format named: ").concat(n)))}function mi(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=L({timeZone:t},e[r]),n},{})}function Dd(e,t){var n=Object.keys(L(L({},e),t));return n.reduce(function(r,o){return r[o]=L(L({},e[o]||{}),t[o]||{}),r},{})}function Hd(e,t){if(!t)return e;var n=Id.formats;return L(L(L({},n),e),{date:Dd(mi(n.date,t),mi(e.date||{},t)),time:Dd(mi(n.time,t),mi(e.time||{},t))})}var lu=function(e,t,n,r,o){var i=e.locale,l=e.formats,a=e.messages,u=e.defaultLocale,s=e.defaultFormats,f=e.fallbackOnEmptyString,m=e.onError,p=e.timeZone,v=e.defaultRichTextElements;n===void 0&&(n={id:""});var y=n.id,w=n.defaultMessage;id(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var N=String(y),h=a&&Object.prototype.hasOwnProperty.call(a,N)&&a[N];if(Array.isArray(h)&&h.length===1&&h[0].type===X.literal)return h[0].value;if(!r&&h&&typeof h=="string"&&!v)return h.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=L(L({},v),r||{}),l=Hd(l,p),s=Hd(s,p),!h){if(f===!1&&h==="")return h;if((!w||i&&i.toLowerCase()!==u.toLowerCase())&&m(new p1(n,i)),w)try{var c=t.getMessageFormat(w,u,s,o);return c.format(r)}catch(d){return m(new ou('Error formatting default message for: "'.concat(N,'", rendering default message verbatim'),i,n,d)),typeof w=="string"?w:N}return N}try{var c=t.getMessageFormat(h,i,l,L({formatters:t},o||{}));return c.format(r)}catch(d){m(new ou('Error formatting message: "'.concat(N,'", using ').concat(w?"default message":"id"," as fallback."),i,n,d))}if(w)try{var c=t.getMessageFormat(w,u,s,o);return c.format(r)}catch(d){m(new ou('Error formatting the default message for: "'.concat(N,'", rendering message verbatim'),i,n,d))}return typeof h=="string"?h:typeof w=="string"?w:N},zd=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function gi(e,t,n,r){var o=e.locale,i=e.formats,l=e.onError,a=e.timeZone;r===void 0&&(r={});var u=r.format,s=L(L({},a&&{timeZone:a}),u&&iu(i,t,u,l)),f=pn(r,zd,s);return t==="time"&&!f.hour&&!f.minute&&!f.second&&!f.timeStyle&&!f.dateStyle&&(f=L(L({},f),{hour:"numeric",minute:"numeric"})),n(o,f)}function v1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"date",t,l).format(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting date.",u))}return String(a)}function y1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"time",t,l).format(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting time.",u))}return String(a)}function w1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=n[2],a=l===void 0?{}:l,u=e.timeZone,s=e.locale,f=e.onError,m=pn(a,zd,u?{timeZone:u}:{});try{return t(s,m).formatRange(o,i)}catch(p){f(new Le(ge.FORMAT_ERROR,"Error formatting date time range.",p))}return String(o)}function E1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"date",t,l).formatToParts(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting date.",u))}return[]}function S1(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],l=i===void 0?{}:i,a=typeof o=="string"?new Date(o||0):o;try{return gi(e,"time",t,l).formatToParts(a)}catch(u){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting time.",u))}return[]}var k1=["style","type","fallback"];function x1(e,t,n,r){var o=e.locale,i=e.onError,l=Intl.DisplayNames;l||i(new Xt(`Intl.DisplayNames is not available in this environment.
59
59
  Try polyfilling it using "@formatjs/intl-displaynames"
60
- `,lt.MISSING_INTL_API));var u=an(r,a1);try{return t(o,u).of(n)}catch(a){i(new Re(pe.FORMAT_ERROR,"Error formatting display name.",a))}}var c1=["type","style"],Cd=Date.now();function f1(e){return"".concat(Cd,"_").concat(e,"_").concat(Cd)}function d1(e,t,n,r){r===void 0&&(r={});var o=Rd(e,t,n,r).reduce(function(i,l){var u=l.value;return typeof u!="string"?i.push(u):typeof i[i.length-1]=="string"?i[i.length-1]+=u:i.push(u),i},[]);return o.length===1?o[0]:o.length===0?"":o}function Rd(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={});var l=Intl.ListFormat;l||i(new bt(`Intl.ListFormat is not available in this environment.
60
+ `,ct.MISSING_INTL_API));var a=pn(r,k1);try{return t(o,a).of(n)}catch(u){i(new Le(ge.FORMAT_ERROR,"Error formatting display name.",u))}}var T1=["type","style"],Bd=Date.now();function N1(e){return"".concat(Bd,"_").concat(e,"_").concat(Bd)}function R1(e,t,n,r){r===void 0&&(r={});var o=bd(e,t,n,r).reduce(function(i,l){var a=l.value;return typeof a!="string"?i.push(a):typeof i[i.length-1]=="string"?i[i.length-1]+=a:i.push(a),i},[]);return o.length===1?o[0]:o.length===0?"":o}function bd(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={});var l=Intl.ListFormat;l||i(new Xt(`Intl.ListFormat is not available in this environment.
61
61
  Try polyfilling it using "@formatjs/intl-listformat"
62
- `,lt.MISSING_INTL_API));var u=an(r,c1);try{var a={},s=n.map(function(f,m){if(typeof f=="object"){var p=f1(m);return a[p]=f,p}return String(f)});return t(o,u).formatToParts(s).map(function(f){return f.type==="literal"?f:M(M({},f),{value:a[f.value]||f.value})})}catch(f){i(new Re(pe.FORMAT_ERROR,"Error formatting list.",f))}return n}var p1=["type"];function h1(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={}),Intl.PluralRules||i(new bt(`Intl.PluralRules is not available in this environment.
62
+ `,ct.MISSING_INTL_API));var a=pn(r,T1);try{var u={},s=n.map(function(f,m){if(typeof f=="object"){var p=N1(m);return u[p]=f,p}return String(f)});return t(o,a).formatToParts(s).map(function(f){return f.type==="literal"?f:L(L({},f),{value:u[f.value]||f.value})})}catch(f){i(new Le(ge.FORMAT_ERROR,"Error formatting list.",f))}return n}var C1=["type"];function M1(e,t,n,r){var o=e.locale,i=e.onError;r===void 0&&(r={}),Intl.PluralRules||i(new Xt(`Intl.PluralRules is not available in this environment.
63
63
  Try polyfilling it using "@formatjs/intl-pluralrules"
64
- `,lt.MISSING_INTL_API));var l=an(r,p1);try{return t(o,l).select(n)}catch(u){i(new Ju("Error formatting plural.",o,u))}return"other"}var m1=["numeric","style"];function g1(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,u=!!l&&ea(o,"relative",l,i)||{},a=an(n,m1,u);return t(r,a)}function v1(e,t,n,r,o){o===void 0&&(o={}),r||(r="second");var i=Intl.RelativeTimeFormat;i||e.onError(new bt(`Intl.RelativeTimeFormat is not available in this environment.
64
+ `,ct.MISSING_INTL_API));var l=pn(r,C1);try{return t(o,l).select(n)}catch(a){i(new ru("Error formatting plural.",o,a))}return"other"}var P1=["numeric","style"];function L1(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,a=!!l&&iu(o,"relative",l,i)||{},u=pn(n,P1,a);return t(r,u)}function I1(e,t,n,r,o){o===void 0&&(o={}),r||(r="second");var i=Intl.RelativeTimeFormat;i||e.onError(new Xt(`Intl.RelativeTimeFormat is not available in this environment.
65
65
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
66
- `,lt.MISSING_INTL_API));try{return g1(e,t,o).format(n,r)}catch(l){e.onError(new Ju("Error formatting relative time.",e.locale,l))}return String(n)}var y1=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Pd(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,u=l&&ea(o,"number",l,i)||{},a=an(n,y1,u);return t(r,a)}function w1(e,t,n,r){r===void 0&&(r={});try{return Pd(e,t,r).format(n)}catch(o){e.onError(new Re(pe.FORMAT_ERROR,"Error formatting number.",o))}return String(n)}function E1(e,t,n,r){r===void 0&&(r={});try{return Pd(e,t,r).formatToParts(n)}catch(o){e.onError(new Re(pe.FORMAT_ERROR,"Error formatting number.",o))}return[]}function S1(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function k1(e){e.onWarn&&e.defaultRichTextElements&&S1(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
66
+ `,ct.MISSING_INTL_API));try{return L1(e,t,o).format(n,r)}catch(l){e.onError(new ru("Error formatting relative time.",e.locale,l))}return String(n)}var _1=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Fd(e,t,n){var r=e.locale,o=e.formats,i=e.onError;n===void 0&&(n={});var l=n.format,a=l&&iu(o,"number",l,i)||{},u=pn(n,_1,a);return t(r,u)}function O1(e,t,n,r){r===void 0&&(r={});try{return Fd(e,t,r).format(n)}catch(o){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting number.",o))}return String(n)}function A1(e,t,n,r){r===void 0&&(r={});try{return Fd(e,t,r).formatToParts(n)}catch(o){e.onError(new Le(ge.FORMAT_ERROR,"Error formatting number.",o))}return[]}function D1(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function H1(e){e.onWarn&&e.defaultRichTextElements&&D1(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
67
67
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
68
- For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function x1(e,t){var n=n1(t),r=M(M({},Sd),e),o=r.locale,i=r.defaultLocale,l=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&l?l(new Ed('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&l&&l(new Ed('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(l&&l(new Jm('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),k1(r),M(M({},r),{formatters:n,formatNumber:w1.bind(null,r,n.getNumberFormat),formatNumberToParts:E1.bind(null,r,n.getNumberFormat),formatRelativeTime:v1.bind(null,r,n.getRelativeTimeFormat),formatDate:r1.bind(null,r,n.getDateTimeFormat),formatDateToParts:l1.bind(null,r,n.getDateTimeFormat),formatTime:o1.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:i1.bind(null,r,n.getDateTimeFormat),formatTimeToParts:u1.bind(null,r,n.getDateTimeFormat),formatPlural:h1.bind(null,r,n.getPluralRules),formatMessage:ta.bind(null,r,n),$t:ta.bind(null,r,n),formatList:d1.bind(null,r,n.getListFormat),formatListToParts:Rd.bind(null,r,n.getListFormat),formatDisplayName:s1.bind(null,r,n.getDisplayNames)})}function Md(e){Zf(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var _d=M(M({},Sd),{textComponent:x.exports.Fragment});function T1(e){return function(t){return e(x.exports.Children.toArray(t))}}function N1(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var l=n[i];if(e[l]!==t[l]||!Object.prototype.hasOwnProperty.call(t,l))return!1}return!0}var pi={exports:{}},Hr={};/**
68
+ For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function z1(e,t){var n=g1(t),r=L(L({},Od),e),o=r.locale,i=r.defaultLocale,l=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&l?l(new _d('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&l&&l(new _d('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(l&&l(new d1('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),H1(r),L(L({},r),{formatters:n,formatNumber:O1.bind(null,r,n.getNumberFormat),formatNumberToParts:A1.bind(null,r,n.getNumberFormat),formatRelativeTime:I1.bind(null,r,n.getRelativeTimeFormat),formatDate:v1.bind(null,r,n.getDateTimeFormat),formatDateToParts:E1.bind(null,r,n.getDateTimeFormat),formatTime:y1.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:w1.bind(null,r,n.getDateTimeFormat),formatTimeToParts:S1.bind(null,r,n.getDateTimeFormat),formatPlural:M1.bind(null,r,n.getPluralRules),formatMessage:lu.bind(null,r,n),$t:lu.bind(null,r,n),formatList:R1.bind(null,r,n.getListFormat),formatListToParts:bd.bind(null,r,n.getListFormat),formatDisplayName:x1.bind(null,r,n.getDisplayNames)})}function Ud(e){id(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var jd=L(L({},Od),{textComponent:k.exports.Fragment});function B1(e){return function(t){return e(k.exports.Children.toArray(t))}}function b1(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var l=n[i];if(e[l]!==t[l]||!Object.prototype.hasOwnProperty.call(t,l))return!1}return!0}var vi={exports:{}},Ur={};/**
69
69
  * @license React
70
70
  * react-jsx-runtime.production.min.js
71
71
  *
@@ -73,7 +73,16 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi
73
73
  *
74
74
  * This source code is licensed under the MIT license found in the
75
75
  * LICENSE file in the root directory of this source tree.
76
- */var Ld;function C1(){if(Ld)return Hr;Ld=1;var e=Se,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(u,a,s){var f,m={},p=null,v=null;s!==void 0&&(p=""+s),a.key!==void 0&&(p=""+a.key),a.ref!==void 0&&(v=a.ref);for(f in a)r.call(a,f)&&!i.hasOwnProperty(f)&&(m[f]=a[f]);if(u&&u.defaultProps)for(f in a=u.defaultProps,a)m[f]===void 0&&(m[f]=a[f]);return{$$typeof:t,type:u,key:p,ref:v,props:m,_owner:o.current}}return Hr.Fragment=n,Hr.jsx=l,Hr.jsxs=l,Hr}(function(e){e.exports=C1()})(pi);const R1=pi.exports.Fragment,S=pi.exports.jsx,b=pi.exports.jsxs;var na=x.exports.createContext(null);na.Consumer;var P1=na.Provider,M1=P1,_1=na;function cn(){var e=x.exports.useContext(_1);return Md(e),e}var ra;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(ra||(ra={}));var oa;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(oa||(oa={}));function Id(e){var t=function(n){var r=cn(),o=n.value,i=n.children,l=bu(n,["value","children"]),u=typeof o=="string"?new Date(o||0):o,a=e==="formatDate"?r.formatDateToParts(u,l):r.formatTimeToParts(u,l);return i(a)};return t.displayName=oa[e],t}function Dr(e){var t=function(n){var r=cn(),o=n.value,i=n.children,l=bu(n,["value","children"]),u=r[e](o,l);if(typeof i=="function")return i(u);var a=r.textComponent||x.exports.Fragment;return S(a,{children:u})};return t.displayName=ra[e],t}function ia(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Od(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=yd(r)?T1(r):r,t},{})}var Ad=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var l=Od(r),u=ta.apply(void 0,rt([e,t,n,l],o,!1));return Array.isArray(u)?x.exports.Children.toArray(u):u},Hd=function(e,t){var n=e.defaultRichTextElements,r=bu(e,["defaultRichTextElements"]),o=Od(n),i=x1(M(M(M({},_d),r),{defaultRichTextElements:o}),t),l={locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:o};return M(M({},i),{formatMessage:Ad.bind(null,l,i.formatters),$t:Ad.bind(null,l,i.formatters)})},L1=function(e){Ve(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cache=kd(),n.state={cache:n.cache,intl:Hd(ia(n.props),n.cache),prevConfig:ia(n.props)},n}return t.getDerivedStateFromProps=function(n,r){var o=r.prevConfig,i=r.cache,l=ia(n);return N1(o,l)?null:{intl:Hd(l,i),prevConfig:l}},t.prototype.render=function(){return Md(this.state.intl),S(M1,{value:this.state.intl,children:this.props.children})},t.displayName="IntlProvider",t.defaultProps=_d,t}(x.exports.PureComponent);const I1=L1;Dr("formatDate"),Dr("formatTime"),Dr("formatNumber"),Dr("formatList"),Dr("formatDisplayName"),Id("formatDate"),Id("formatTime");function Dd(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Dd(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function hi(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Dd(e))&&(r&&(r+=" "),r+=t);return r}const zd="x4b.menu.fullsize";function Bd(){return(window.localStorage.getItem(zd)||"true")==="true"}function O1(e){window.localStorage.setItem(zd,String(e))}/**
76
+ */var Vd;function F1(){if(Vd)return Ur;Vd=1;var e=we,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(a,u,s){var f,m={},p=null,v=null;s!==void 0&&(p=""+s),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(v=u.ref);for(f in u)r.call(u,f)&&!i.hasOwnProperty(f)&&(m[f]=u[f]);if(a&&a.defaultProps)for(f in u=a.defaultProps,u)m[f]===void 0&&(m[f]=u[f]);return{$$typeof:t,type:a,key:p,ref:v,props:m,_owner:o.current}}return Ur.Fragment=n,Ur.jsx=l,Ur.jsxs=l,Ur}(function(e){e.exports=F1()})(vi);const yi=vi.exports.Fragment,S=vi.exports.jsx,B=vi.exports.jsxs;var au=k.exports.createContext(null);au.Consumer;var U1=au.Provider,j1=U1,V1=au;function mn(){var e=k.exports.useContext(V1);return Ud(e),e}var uu;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(uu||(uu={}));var su;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(su||(su={}));function Gd(e){var t=function(n){var r=mn(),o=n.value,i=n.children,l=$a(n,["value","children"]),a=typeof o=="string"?new Date(o||0):o,u=e==="formatDate"?r.formatDateToParts(a,l):r.formatTimeToParts(a,l);return i(u)};return t.displayName=su[e],t}function jr(e){var t=function(n){var r=mn(),o=n.value,i=n.children,l=$a(n,["value","children"]),a=r[e](o,l);if(typeof i=="function")return i(a);var u=r.textComponent||k.exports.Fragment;return S(u,{children:a})};return t.displayName=uu[e],t}function cu(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function $d(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=Ld(r)?B1(r):r,t},{})}var Xd=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var l=$d(r),a=lu.apply(void 0,at([e,t,n,l],o,!1));return Array.isArray(a)?k.exports.Children.toArray(a):a},Zd=function(e,t){var n=e.defaultRichTextElements,r=$a(e,["defaultRichTextElements"]),o=$d(n),i=z1(L(L(L({},jd),r),{defaultRichTextElements:o}),t),l={locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:o};return L(L({},i),{formatMessage:Xd.bind(null,l,i.formatters),$t:Xd.bind(null,l,i.formatters)})},G1=function(e){$e(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.cache=Ad(),n.state={cache:n.cache,intl:Zd(cu(n.props),n.cache),prevConfig:cu(n.props)},n}return t.getDerivedStateFromProps=function(n,r){var o=r.prevConfig,i=r.cache,l=cu(n);return b1(o,l)?null:{intl:Zd(l,i),prevConfig:l}},t.prototype.render=function(){return Ud(this.state.intl),S(j1,{value:this.state.intl,children:this.props.children})},t.displayName="IntlProvider",t.defaultProps=jd,t}(k.exports.PureComponent);const $1=G1;jr("formatDate"),jr("formatTime"),jr("formatNumber"),jr("formatList"),jr("formatDisplayName"),Gd("formatDate"),Gd("formatTime");function Wd(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Wd(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function wi(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Wd(e))&&(r&&(r+=" "),r+=t);return r}const X1=`
77
+ ---
78
+ Request Info [please do not remove or edit this footer]
79
+ `,Z1=`
80
+ ---
81
+ `;function W1(e){const t=`User Name: ${e.username}
82
+ Application: ${e.applicationName}
83
+ App Version: ${e.version}
84
+ X4B-UI Version: __npm_package_version__
85
+ URL: ${e.url}`;return X1+t+Z1}function fu(e,t,n,r){const o=n.replace("{application.name}",r.applicationName)+W1(r);return`mailto:${e}?subject=${encodeURIComponent(t)}&body=${encodeURIComponent(o)}`}const Qd="x4b.menu.fullsize";function Kd(){return(window.localStorage.getItem(Qd)||"true")==="true"}function Q1(e){window.localStorage.setItem(Qd,String(e))}/**
77
86
  * @reach/utils v0.18.0
78
87
  *
79
88
  * Copyright (c) 2018-2022, React Training LLC
@@ -82,10 +91,10 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi
82
91
  * LICENSE.md file in the root directory of this source tree.
83
92
  *
84
93
  * @license MIT
85
- */function Fd(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function He(e,t){return n=>{if(e&&e(n),!n.defaultPrevented)return t(n)}}function bd(e){return typeof e=="boolean"}function mi(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function A1(e){return typeof e=="string"}function H1(e,t){if(e!=null)if(mi(e))e(t);else try{e.current=t}catch{throw new Error(`Cannot assign value "${t}" to ref "${e}"`)}}function zr(...e){return x.exports.useCallback(t=>{for(let n of e)H1(n,t)},e)}function Br(e){return Fd()?e?e.ownerDocument:document:null}function D1(e,t){let n=x.exports.createContext(t);function r(i){let{children:l,...u}=i,a=x.exports.useMemo(()=>u,Object.values(u));return S(n.Provider,{value:a,children:l})}function o(i){let l=x.exports.useContext(n);if(l)return l;if(t)return t;throw Error(`${i} must be rendered inside of a ${e} component.`)}return n.displayName=`${e}Context`,r.displayName=`${e}Provider`,[r,o]}function gi(e){return"which"in e?e.which===3:"button"in e?e.button===2:!1}function vi(...e){return e.filter(t=>t!=null).join("--")}function la(){}function Ud(){let[,e]=x.exports.useState(Object.create(null));return x.exports.useCallback(()=>{e(Object.create(null))},[])}var Vn=Fd()?x.exports.useLayoutEffect:x.exports.useEffect;function ua(e){const t=x.exports.useRef(null);return x.exports.useEffect(()=>{t.current=e},[e]),t.current}function z1(e,t){let[n,r]=x.exports.useState(t),o=x.exports.useCallback(i=>{e.current=i,r(i)},[]);return[n,o]}var B1=({children:e,type:t="reach-portal",containerRef:n})=>{let r=x.exports.useRef(null),o=x.exports.useRef(null),i=Ud();return x.exports.useEffect(()=>{n!=null&&(typeof n!="object"||!("current"in n)?console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."):n.current==null&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."))},[n]),Vn(()=>{if(!r.current)return;let l=r.current.ownerDocument,u=(n==null?void 0:n.current)||l.body;return o.current=l==null?void 0:l.createElement(t),u.appendChild(o.current),i(),()=>{o.current&&u&&u.removeChild(o.current)}},[t,i,n]),o.current?Li.exports.createPortal(e,o.current):S("span",{ref:r})},jd=({unstable_skipInitialRender:e,...t})=>{let[n,r]=x.exports.useState(!1);return x.exports.useEffect(()=>{e&&r(!0)},[e]),e&&!n?null:S(B1,{...t})};jd.displayName="Portal";var F1=["bottom","height","left","right","top","width"],b1=function(e,t){return e===void 0&&(e={}),t===void 0&&(t={}),F1.some(function(n){return e[n]!==t[n]})},Ut=new Map,Vd,U1=function e(){var t=[];Ut.forEach(function(n,r){var o=r.getBoundingClientRect();b1(o,n.rect)&&(n.rect=o,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),Vd=window.requestAnimationFrame(e)};function j1(e,t){return{observe:function(){var n=Ut.size===0;Ut.has(e)?Ut.get(e).callbacks.push(t):Ut.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&U1()},unobserve:function(){var n=Ut.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||Ut.delete(e),Ut.size||cancelAnimationFrame(Vd)}}}}function Gd(e,t,n){var r;let o,i;bd(t)?o=t:(o=(r=t==null?void 0:t.observe)!=null?r:!0,i=t==null?void 0:t.onChange),mi(n)&&(i=n),x.exports.useEffect(()=>{bd(t)&&console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe")},[t]),x.exports.useEffect(()=>{mi(n)&&console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange")},[n]);let[l,u]=x.exports.useState(e.current),a=x.exports.useRef(!1),s=x.exports.useRef(!1),[f,m]=x.exports.useState(null),p=x.exports.useRef(i);return Vn(()=>{p.current=i,e.current!==l&&u(e.current)}),Vn(()=>{l&&!a.current&&(a.current=!0,m(l.getBoundingClientRect()))},[l]),Vn(()=>{if(!o)return;let v=l;if(s.current||(s.current=!0,v=e.current),!v){console.warn("You need to place the ref");return}let y=j1(v,E=>{var N;(N=p.current)==null||N.call(p,E),m(E)});return y.observe(),()=>{y.unobserve()}},[o,l,e]),f}/*!
94
+ */function Yd(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ee(e,t){return n=>{if(e&&e(n),!n.defaultPrevented)return t(n)}}function Jd(e){return typeof e=="boolean"}function Ei(e){return!!(e&&{}.toString.call(e)=="[object Function]")}function K1(e){return typeof e=="string"}function Y1(e,t){if(e!=null)if(Ei(e))e(t);else try{e.current=t}catch{throw new Error(`Cannot assign value "${t}" to ref "${e}"`)}}function gn(...e){return k.exports.useCallback(t=>{for(let n of e)Y1(n,t)},e)}function Zt(e){return Yd()?e?e.ownerDocument:document:null}function J1(e,t){let n=k.exports.createContext(t);function r(i){let{children:l,...a}=i,u=k.exports.useMemo(()=>a,Object.values(a));return S(n.Provider,{value:u,children:l})}function o(i){let l=k.exports.useContext(n);if(l)return l;if(t)return t;throw Error(`${i} must be rendered inside of a ${e} component.`)}return n.displayName=`${e}Context`,r.displayName=`${e}Provider`,[r,o]}function q1(e){var t,n;let r=Zt(e),o=r.defaultView||window;return r?{width:(t=r.documentElement.clientWidth)!=null?t:o.innerWidth,height:(n=r.documentElement.clientHeight)!=null?n:o.innerHeight}:{width:0,height:0}}function Si(e){return"which"in e?e.which===3:"button"in e?e.button===2:!1}function Wn(...e){return e.filter(t=>t!=null).join("--")}function du(){}function qd(){let[,e]=k.exports.useState(Object.create(null));return k.exports.useCallback(()=>{e(Object.create(null))},[])}var Qn=Yd()?k.exports.useLayoutEffect:k.exports.useEffect;function pu(e){const t=k.exports.useRef(null);return k.exports.useEffect(()=>{t.current=e},[e]),t.current}function eg(e,t){let[n,r]=k.exports.useState(t),o=k.exports.useCallback(i=>{e.current=i,r(i)},[]);return[n,o]}var tg=({children:e,type:t="reach-portal",containerRef:n})=>{let r=k.exports.useRef(null),o=k.exports.useRef(null),i=qd();return k.exports.useEffect(()=>{n!=null&&(typeof n!="object"||!("current"in n)?console.warn("@reach/portal: Invalid value passed to the `containerRef` of a `Portal`. The portal will be appended to the document body, but if you want to attach it to another DOM node you must pass a valid React ref object to `containerRef`."):n.current==null&&console.warn("@reach/portal: A ref was passed to the `containerRef` prop of a `Portal`, but no DOM node was attached to it. Be sure to pass the ref to a DOM component.\n\nIf you are forwarding the ref from another component, be sure to use the React.forwardRef API. See https://reactjs.org/docs/forwarding-refs.html."))},[n]),Qn(()=>{if(!r.current)return;let l=r.current.ownerDocument,a=(n==null?void 0:n.current)||l.body;return o.current=l==null?void 0:l.createElement(t),a.appendChild(o.current),i(),()=>{o.current&&a&&a.removeChild(o.current)}},[t,i,n]),o.current?Hi.exports.createPortal(e,o.current):S("span",{ref:r})},hu=({unstable_skipInitialRender:e,...t})=>{let[n,r]=k.exports.useState(!1);return k.exports.useEffect(()=>{e&&r(!0)},[e]),e&&!n?null:S(tg,{...t})};hu.displayName="Portal";var ng=["bottom","height","left","right","top","width"],rg=function(e,t){return e===void 0&&(e={}),t===void 0&&(t={}),ng.some(function(n){return e[n]!==t[n]})},Wt=new Map,ep,og=function e(){var t=[];Wt.forEach(function(n,r){var o=r.getBoundingClientRect();rg(o,n.rect)&&(n.rect=o,t.push(n))}),t.forEach(function(n){n.callbacks.forEach(function(r){return r(n.rect)})}),ep=window.requestAnimationFrame(e)};function ig(e,t){return{observe:function(){var n=Wt.size===0;Wt.has(e)?Wt.get(e).callbacks.push(t):Wt.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[t]}),n&&og()},unobserve:function(){var n=Wt.get(e);if(n){var r=n.callbacks.indexOf(t);r>=0&&n.callbacks.splice(r,1),n.callbacks.length||Wt.delete(e),Wt.size||cancelAnimationFrame(ep)}}}}function ki(e,t,n){var r;let o,i;Jd(t)?o=t:(o=(r=t==null?void 0:t.observe)!=null?r:!0,i=t==null?void 0:t.onChange),Ei(n)&&(i=n),k.exports.useEffect(()=>{Jd(t)&&console.warn("Passing `observe` as the second argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `observe` property as the second argument (`useRect(ref, { observe })`).\nSee https://reach.tech/rect#userect-observe")},[t]),k.exports.useEffect(()=>{Ei(n)&&console.warn("Passing `onChange` as the third argument to `useRect` is deprecated and will be removed in a future version of Reach UI. Instead, you can pass an object of options with an `onChange` property as the second argument (`useRect(ref, { onChange })`).\nSee https://reach.tech/rect#userect-onchange")},[n]);let[l,a]=k.exports.useState(e.current),u=k.exports.useRef(!1),s=k.exports.useRef(!1),[f,m]=k.exports.useState(null),p=k.exports.useRef(i);return Qn(()=>{p.current=i,e.current!==l&&a(e.current)}),Qn(()=>{l&&!u.current&&(u.current=!0,m(l.getBoundingClientRect()))},[l]),Qn(()=>{if(!o)return;let v=l;if(s.current||(s.current=!0,v=e.current),!v){console.warn("You need to place the ref");return}let y=ig(v,w=>{var N;(N=p.current)==null||N.call(p,w),m(w)});return y.observe(),()=>{y.unobserve()}},[o,l,e]),f}/*!
86
95
  * tabbable 5.3.3
87
96
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
88
- */var V1=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],aa=V1.join(","),$d=typeof Element>"u",Fr=$d?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,sa=!$d&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},G1=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(aa));return t&&Fr.call(e,aa)&&r.unshift(e),r=r.filter(n),r},$1=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(l.tagName==="SLOT"){var u=l.assignedElements(),a=u.length?u:l.children,s=e(a,!0,r);r.flatten?o.push.apply(o,s):o.push({scope:l,candidates:s})}else{var f=Fr.call(l,aa);f&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var m=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),p=!r.shadowRootFilter||r.shadowRootFilter(l);if(m&&p){var v=e(m===!0?l.children:m.children,!0,r);r.flatten?o.push.apply(o,v):o.push({scope:l,candidates:v})}else i.unshift.apply(i,l.children)}}return o},Xd=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},X1=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Zd=function(e){return e.tagName==="INPUT"},Z1=function(e){return Zd(e)&&e.type==="hidden"},W1=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},Q1=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},K1=function(e){if(!e.name)return!0;var t=e.form||sa(e),n=function(i){return t.querySelectorAll('input[type="radio"][name="'+i+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=Q1(r,e.form);return!o||o===e},Y1=function(e){return Zd(e)&&e.type==="radio"},J1=function(e){return Y1(e)&&!K1(e)},Wd=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},q1=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=Fr.call(e,"details>summary:first-of-type"),i=o?e.parentElement:e;if(Fr.call(i,"details:not([open]) *"))return!0;var l=sa(e).host,u=(l==null?void 0:l.ownerDocument.contains(l))||e.ownerDocument.contains(e);if(!n||n==="full"){if(typeof r=="function"){for(var a=e;e;){var s=e.parentElement,f=sa(e);if(s&&!s.shadowRoot&&r(s)===!0)return Wd(e);e.assignedSlot?e=e.assignedSlot:!s&&f!==e.ownerDocument?e=f.host:e=s}e=a}if(u)return!e.getClientRects().length}else if(n==="non-zero-area")return Wd(e);return!1},eg=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName==="LEGEND")return Fr.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},tg=function(e,t){return!(t.disabled||Z1(t)||q1(t,e)||W1(t)||eg(t))},Qd=function(e,t){return!(J1(t)||Xd(t)<0||!tg(e,t))},ng=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},rg=function e(t){var n=[],r=[];return t.forEach(function(o,i){var l=!!o.scope,u=l?o.scope:o,a=Xd(u,l),s=l?e(o.candidates):u;a===0?l?n.push.apply(n,s):n.push(u):r.push({documentOrder:i,tabIndex:a,item:o,isScope:l,content:s})}),r.sort(X1).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},vt=function(e,t){t=t||{};var n;return t.getShadowRoot?n=$1([e],t.includeContainer,{filter:Qd.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ng}):n=G1(e,t.includeContainer,Qd.bind(null,t)),rg(n)},ca=x.exports.forwardRef(function({unstable_skipInitialPortalRender:e,...t},n){return S(jd,{unstable_skipInitialRender:e,children:S(Kd,{ref:n,...t})})});ca.displayName="Popover";var Kd=x.exports.forwardRef(function({as:e="div",targetRef:t,position:n=lg,unstable_observableRefs:r=[],...o},i){const l=x.exports.useRef(null),u=Gd(l,{observe:!o.hidden}),a=Gd(t,{observe:!0}),s=zr(l,i);return ag(t,l),S(e,{"data-reach-popover":"",ref:s,...o,style:{position:"absolute",...og(n,a,u,...r),...o.style}})});Kd.displayName="PopoverImpl";function og(e,t,n,...r){return n?e(t,n,...r.map(o=>o.current)):{visibility:"hidden"}}function ig(e,t,n){return{top:n?`${e.top-t.height+window.pageYOffset}px`:`${e.top+e.height+window.pageYOffset}px`}}var lg=(e,t)=>{if(!e||!t)return{};const{directionRight:n,directionUp:r}=ug(e,t);return{left:n?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,...ig(e,t,r)}};function ug(e,t,n=0,r=0){const o={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0},i=o.right&&!o.left,l=o.left&&!o.right,u=o.bottom&&!o.top,a=o.top&&!o.bottom;return{directionRight:i,directionLeft:l,directionUp:u,directionDown:a}}function ag(e,t){const n=Br(e.current);function r(c){c.key==="Tab"&&t.current&&vt(t.current).length===0||(c.key==="Tab"&&c.shiftKey?s(c)?f(c):m(c)?p(c):y(c)&&N():c.key==="Tab"&&(i()?l(c):u()?a(c):v(c)&&N()))}x.exports.useEffect(()=>(n.addEventListener("keydown",r),()=>{n.removeEventListener("keydown",r)}),[]);function o(){const c=vt(n),d=c&&e.current?c.indexOf(e.current):-1,w=c&&c[d+1];return t.current&&t.current.contains(w||null)?!1:w}function i(){return e.current?e.current===n.activeElement:!1}function l(c){const d=t.current&&vt(t.current);d&&d[0]&&(c.preventDefault(),d[0].focus())}function u(){if(t.current&&t.current.contains(n.activeElement||null)){const c=t.current&&vt(t.current);return Boolean(c&&c[c.length-1]===n.activeElement)}return!1}function a(c){const d=o();d&&(c.preventDefault(),d.focus())}function s(c){if(!c.shiftKey)return;const d=o();return c.target===d}function f(c){const d=t.current&&vt(t.current),w=d&&d[d.length-1];w&&(c.preventDefault(),w.focus())}function m(c){const d=t.current&&vt(t.current);return d?d.length===0?!1:c.target===d[0]:!1}function p(c){var d;c.preventDefault(),(d=e.current)==null||d.focus()}function v(c){const d=t.current?vt(n).filter(w=>!t.current.contains(w)):null;return d?c.target===d[d.length-1]:!1}function y(c){return c.target===vt(n)[0]}let E=[];function N(){const c=t.current&&vt(t.current);c&&(c.forEach(d=>{E.push([d,d.tabIndex]),d.tabIndex=-1}),n.addEventListener("focusin",h))}function h(){n.removeEventListener("focusin",h),E.forEach(([c,d])=>{c.tabIndex=d})}}var fa=!1,sg=0;function Yd(){return++sg}var Jd=Kp["useId".toString()];function cg(e){var t;if(Jd!==void 0){let i=Jd();return e!=null?e:i}let n=e!=null?e:fa?Yd():null,[r,o]=x.exports.useState(n);return Vn(()=>{r===null&&o(Yd())},[]),x.exports.useEffect(()=>{fa===!1&&(fa=!0)},[]),(t=e!=null?e:r)!=null?t:void 0}function fg(e,t={}){const n=[];let r=x.exports.createContext({descendants:n,registerDescendant:()=>la,...t});return r.displayName=e,r}function dg(e,t,n){let r=Ud(),{registerDescendant:o,descendants:i}=x.exports.useContext(t),l=n!=null?n:i.findIndex(u=>u.element===e.element);return Vn(()=>(e.element||r(),o({...e,index:l})),[e,r,l,o,...Object.values(e)]),l}function pg(){return x.exports.useState([])}function hg(e){return x.exports.useContext(e).descendants}function mg({context:e,children:t,items:n,set:r}){let o=x.exports.useCallback(({element:i,index:l,...u})=>i?(r(a=>{if(l!=null&&l!==-1)return ep(a,{element:i,index:l,...u},l);if(a.length===0)return[{...u,element:i,index:0}];if(a.find(m=>m.element===i))return console.warn(`[reach-ui]: \`useDescendant\` was called with an element that was already registered.
97
+ */var lg=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],mu=lg.join(","),tp=typeof Element>"u",Vr=tp?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,gu=!tp&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},ag=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(mu));return t&&Vr.call(e,mu)&&r.unshift(e),r=r.filter(n),r},ug=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var l=i.shift();if(l.tagName==="SLOT"){var a=l.assignedElements(),u=a.length?a:l.children,s=e(u,!0,r);r.flatten?o.push.apply(o,s):o.push({scope:l,candidates:s})}else{var f=Vr.call(l,mu);f&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var m=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),p=!r.shadowRootFilter||r.shadowRootFilter(l);if(m&&p){var v=e(m===!0?l.children:m.children,!0,r);r.flatten?o.push.apply(o,v):o.push({scope:l,candidates:v})}else i.unshift.apply(i,l.children)}}return o},np=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},sg=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rp=function(e){return e.tagName==="INPUT"},cg=function(e){return rp(e)&&e.type==="hidden"},fg=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},dg=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},pg=function(e){if(!e.name)return!0;var t=e.form||gu(e),n=function(i){return t.querySelectorAll('input[type="radio"][name="'+i+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=dg(r,e.form);return!o||o===e},hg=function(e){return rp(e)&&e.type==="radio"},mg=function(e){return hg(e)&&!pg(e)},op=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},gg=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var o=Vr.call(e,"details>summary:first-of-type"),i=o?e.parentElement:e;if(Vr.call(i,"details:not([open]) *"))return!0;var l=gu(e).host,a=(l==null?void 0:l.ownerDocument.contains(l))||e.ownerDocument.contains(e);if(!n||n==="full"){if(typeof r=="function"){for(var u=e;e;){var s=e.parentElement,f=gu(e);if(s&&!s.shadowRoot&&r(s)===!0)return op(e);e.assignedSlot?e=e.assignedSlot:!s&&f!==e.ownerDocument?e=f.host:e=s}e=u}if(a)return!e.getClientRects().length}else if(n==="non-zero-area")return op(e);return!1},vg=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName==="LEGEND")return Vr.call(t,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},yg=function(e,t){return!(t.disabled||cg(t)||gg(t,e)||fg(t)||vg(t))},ip=function(e,t){return!(mg(t)||np(t)<0||!yg(e,t))},wg=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Eg=function e(t){var n=[],r=[];return t.forEach(function(o,i){var l=!!o.scope,a=l?o.scope:o,u=np(a,l),s=l?e(o.candidates):a;u===0?l?n.push.apply(n,s):n.push(a):r.push({documentOrder:i,tabIndex:u,item:o,isScope:l,content:s})}),r.sort(sg).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},kt=function(e,t){t=t||{};var n;return t.getShadowRoot?n=ug([e],t.includeContainer,{filter:ip.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:wg}):n=ag(e,t.includeContainer,ip.bind(null,t)),Eg(n)},vu=k.exports.forwardRef(function({unstable_skipInitialPortalRender:e,...t},n){return S(hu,{unstable_skipInitialRender:e,children:S(lp,{ref:n,...t})})});vu.displayName="Popover";var lp=k.exports.forwardRef(function({as:e="div",targetRef:t,position:n=xg,unstable_observableRefs:r=[],...o},i){const l=k.exports.useRef(null),a=ki(l,{observe:!o.hidden}),u=ki(t,{observe:!0}),s=gn(l,i);return Ng(t,l),S(e,{"data-reach-popover":"",ref:s,...o,style:{position:"absolute",...Sg(n,u,a,...r),...o.style}})});lp.displayName="PopoverImpl";function Sg(e,t,n,...r){return n?e(t,n,...r.map(o=>o.current)):{visibility:"hidden"}}function kg(e,t,n){return{top:n?`${e.top-t.height+window.pageYOffset}px`:`${e.top+e.height+window.pageYOffset}px`}}var xg=(e,t)=>{if(!e||!t)return{};const{directionRight:n,directionUp:r}=Tg(e,t);return{left:n?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,...kg(e,t,r)}};function Tg(e,t,n=0,r=0){const o={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0},i=o.right&&!o.left,l=o.left&&!o.right,a=o.bottom&&!o.top,u=o.top&&!o.bottom;return{directionRight:i,directionLeft:l,directionUp:a,directionDown:u}}function Ng(e,t){const n=Zt(e.current);function r(c){c.key==="Tab"&&t.current&&kt(t.current).length===0||(c.key==="Tab"&&c.shiftKey?s(c)?f(c):m(c)?p(c):y(c)&&N():c.key==="Tab"&&(i()?l(c):a()?u(c):v(c)&&N()))}k.exports.useEffect(()=>(n.addEventListener("keydown",r),()=>{n.removeEventListener("keydown",r)}),[]);function o(){const c=kt(n),d=c&&e.current?c.indexOf(e.current):-1,E=c&&c[d+1];return t.current&&t.current.contains(E||null)?!1:E}function i(){return e.current?e.current===n.activeElement:!1}function l(c){const d=t.current&&kt(t.current);d&&d[0]&&(c.preventDefault(),d[0].focus())}function a(){if(t.current&&t.current.contains(n.activeElement||null)){const c=t.current&&kt(t.current);return Boolean(c&&c[c.length-1]===n.activeElement)}return!1}function u(c){const d=o();d&&(c.preventDefault(),d.focus())}function s(c){if(!c.shiftKey)return;const d=o();return c.target===d}function f(c){const d=t.current&&kt(t.current),E=d&&d[d.length-1];E&&(c.preventDefault(),E.focus())}function m(c){const d=t.current&&kt(t.current);return d?d.length===0?!1:c.target===d[0]:!1}function p(c){var d;c.preventDefault(),(d=e.current)==null||d.focus()}function v(c){const d=t.current?kt(n).filter(E=>!t.current.contains(E)):null;return d?c.target===d[d.length-1]:!1}function y(c){return c.target===kt(n)[0]}let w=[];function N(){const c=t.current&&kt(t.current);c&&(c.forEach(d=>{w.push([d,d.tabIndex]),d.tabIndex=-1}),n.addEventListener("focusin",h))}function h(){n.removeEventListener("focusin",h),w.forEach(([c,d])=>{c.tabIndex=d})}}var yu=!1,Rg=0;function ap(){return++Rg}var up=ch["useId".toString()];function sp(e){var t;if(up!==void 0){let i=up();return e!=null?e:i}let n=e!=null?e:yu?ap():null,[r,o]=k.exports.useState(n);return Qn(()=>{r===null&&o(ap())},[]),k.exports.useEffect(()=>{yu===!1&&(yu=!0)},[]),(t=e!=null?e:r)!=null?t:void 0}function Cg(e,t={}){const n=[];let r=k.exports.createContext({descendants:n,registerDescendant:()=>du,...t});return r.displayName=e,r}function Mg(e,t,n){let r=qd(),{registerDescendant:o,descendants:i}=k.exports.useContext(t),l=n!=null?n:i.findIndex(a=>a.element===e.element);return Qn(()=>(e.element||r(),o({...e,index:l})),[e,r,l,o,...Object.values(e)]),l}function Pg(){return k.exports.useState([])}function Lg(e){return k.exports.useContext(e).descendants}function Ig({context:e,children:t,items:n,set:r}){let o=k.exports.useCallback(({element:i,index:l,...a})=>i?(r(u=>{if(l!=null&&l!==-1)return fp(u,{element:i,index:l,...a},l);if(u.length===0)return[{...a,element:i,index:0}];if(u.find(m=>m.element===i))return console.warn(`[reach-ui]: \`useDescendant\` was called with an element that was already registered.
89
98
 
90
99
  If you are using the \`@reach/descendants\` package directly, make sure to only register descendants once. Registering a descendant more than once will lead to bugs in your app.
91
100
 
@@ -95,16 +104,7 @@ To report a bug, open a new issue:
95
104
 
96
105
  https://github.com/reach/reach-ui/issues/new?assignees=&labels=&template=Bug_report.md
97
106
 
98
- IMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed.`),yg(a);let s=vg(a,i),f;return s===-1?f=[...a,{...u,element:i,index:a.length}]:f=ep(a,{...u,element:i,index:s},s),f}),()=>{!i||r(a=>a.filter(s=>i!==s.element))}):la,[]);return S(e.Provider,{value:x.exports.useMemo(()=>({descendants:n,registerDescendant:o}),[n,o]),children:t})}function gg(e,t){let{descendants:n}=x.exports.useContext(e),{callback:r,currentIndex:o,filter:i,key:l="index",orientation:u="vertical",rotate:a=!0,rtl:s=!1}=t;return function(f){if(!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(f.key))return;let m=o!=null?o:-1,p=i?n.filter(i):n;if(!p.length)return;let v=p.findIndex(c=>c.index===o);function y(){return m===h().index?a?N():p[v]:p[(v+1)%p.length]}function E(){return m===N().index?a?h():p[v]:p[(v-1+p.length)%p.length]}function N(){return p[0]}function h(){return p[p.length-1]}switch(f.key){case"ArrowDown":if(u==="vertical"||u==="both"){f.preventDefault();let T=y();r(l==="option"?T:T[l])}break;case"ArrowUp":if(u==="vertical"||u==="both"){f.preventDefault();let T=E();r(l==="option"?T:T[l])}break;case"ArrowLeft":if(u==="horizontal"||u==="both"){f.preventDefault();let T=(s?y:E)();r(l==="option"?T:T[l])}break;case"ArrowRight":if(u==="horizontal"||u==="both"){f.preventDefault();let T=(s?E:y)();r(l==="option"?T:T[l])}break;case"PageUp":f.preventDefault();let c=(f.ctrlKey?E:N)();r(l==="option"?c:c[l]);break;case"Home":f.preventDefault();let d=N();r(l==="option"?d:d[l]);break;case"PageDown":f.preventDefault();let w=(f.ctrlKey?y:h)();r(l==="option"?w:w[l]);break;case"End":f.preventDefault();let g=h();r(l==="option"?g:g[l]);break}}}function qd(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function vg(e,t){if(!t||!e.length)return-1;let n=e.length;for(;n--;){let r=e[n].element;if(!!r&&qd(r,t))return n+1}return-1}function ep(e,t,n){return n==null||!(n in e)?[...e,t]:[...e.slice(0,n),t,...e.slice(n)]}function yg(e){return e.sort((t,n)=>!t.element||!n.element?0:qd(t.element,n.element)?-1:1).map((t,n)=>({...t,index:n}))}var tp="CLEAR_SELECTION_INDEX",da="CLICK_MENU_ITEM",br="CLOSE_MENU",wg="OPEN_MENU_AT_FIRST_ITEM",pa="OPEN_MENU_AT_INDEX",np="OPEN_MENU_CLEARED",ha="SEARCH_FOR_ITEM",jt="SELECT_ITEM_AT_INDEX",ma="SET_BUTTON_ID",yi=fg("DropdownDescendantContext"),[Eg,Ur]=D1("Dropdown"),Sg={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},rp=({id:e,children:t})=>{let n=x.exports.useRef(null),r=x.exports.useRef(null),o=x.exports.useRef(null),[i,l]=pg(),u=cg(e),a=e||vi("menu",u),s=vi("menu-button",a),[f,m]=x.exports.useReducer(Pg,{...Sg,triggerId:s}),p=x.exports.useRef(!1),v=x.exports.useRef([]),y=x.exports.useRef(!1),E=x.exports.useRef({x:0,y:0});return x.exports.useEffect(()=>{f.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame(()=>{wi(r.current)})):window.__REACH_DISABLE_TOOLTIPS=!1},[f.isExpanded]),S(mg,{context:yi,items:i,set:l,children:S(Eg,{dispatch:m,dropdownId:a,dropdownRef:r,mouseDownStartPosRef:E,popoverRef:o,readyToSelect:y,selectCallbacks:v,state:f,triggerClickedRef:p,triggerRef:n,children:mi(t)?t({isExpanded:f.isExpanded,isOpen:f.isExpanded}):t})})};rp.displayName="DropdownProvider";function op({onKeyDown:e,onMouseDown:t,id:n,ref:r,...o}){let{dispatch:i,dropdownId:l,mouseDownStartPosRef:u,triggerClickedRef:a,triggerRef:s,state:{triggerId:f,isExpanded:m}}=Ur("useDropdownTrigger"),p=zr(s,r),v=sp(),y=x.exports.useMemo(()=>v.findIndex(h=>!h.disabled),[v]);x.exports.useEffect(()=>{n!=null&&n!==f&&i({type:ma,payload:n})},[f,i,n]),x.exports.useEffect(()=>{n==null&&i({type:ma,payload:vi("menu-button",l)})},[l,i,n]);function E(h){switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),i({type:pa,payload:{index:y}});break;case"Enter":case" ":i({type:pa,payload:{index:y}});break}}function N(h){gi(h.nativeEvent)||(u.current={x:h.clientX,y:h.clientY},m||(a.current=!0),i(m?{type:br}:{type:np}))}return{data:{isExpanded:m,controls:l},props:{...o,ref:p,id:f||void 0,onKeyDown:He(e,E),onMouseDown:He(t,N),type:"button"}}}var kg=x.exports.forwardRef(({as:e="button",...t},n)=>{let{props:r}=op({...t,ref:n});return S(e,{"data-reach-dropdown-trigger":"",...r})});kg.displayName="DropdownTrigger";function ip({index:e,isLink:t=!1,onClick:n,onDragStart:r,onMouseDown:o,onMouseEnter:i,onMouseLeave:l,onMouseMove:u,onMouseUp:a,onSelect:s,disabled:f,onFocus:m,valueText:p,ref:v,...y}){let{dispatch:E,dropdownRef:N,mouseDownStartPosRef:h,readyToSelect:c,selectCallbacks:d,triggerRef:w,state:{selectionIndex:g,isExpanded:T}}=Ur("useDropdownItem"),P=x.exports.useRef(null),[_,K]=x.exports.useState(p||""),O=x.exports.useCallback(U=>{!p&&(U==null?void 0:U.textContent)&&K(U.textContent)},[p]),he=x.exports.useRef(!1),[Vt,fn]=z1(P,null),Ti=x.exports.useMemo(()=>({element:Vt,key:_,disabled:f,isLink:t}),[f,Vt,t,_]),Ye=dg(Ti,yi,e),Gt=Ye===g&&!f,Gr=zr(v,fn,O);d.current[Ye]=s;function C(){wi(w.current),s&&s(),E({type:da})}function L(U){gi(U.nativeEvent)||t&&(f?U.preventDefault():C())}function I(U){t&&U.preventDefault()}function Y(U){gi(U.nativeEvent)||(t?he.current=!0:U.preventDefault())}function te(U){let $t=Br(N.current);!Gt&&Ye!=null&&!f&&((N==null?void 0:N.current)&&N.current!==$t.activeElement&&P.current!==$t.activeElement&&N.current.focus(),E({type:jt,payload:{index:Ye}}))}function Gn(U){E({type:tp})}function yt(U){if(!c.current){let $t=8,dv=Math.abs(U.clientX-h.current.x),pv=Math.abs(U.clientY-h.current.y);(dv>$t||pv>$t)&&(c.current=!0)}!Gt&&Ye!=null&&!f&&E({type:jt,payload:{index:Ye,dropdownRef:N}})}function $r(){c.current=!0,!Gt&&Ye!=null&&!f&&E({type:jt,payload:{index:Ye}})}function wt(U){if(!gi(U.nativeEvent)){if(!c.current){c.current=!0;return}t?he.current?he.current=!1:P.current&&P.current.click():f||C()}}return x.exports.useEffect(()=>{if(T){let U=window.setTimeout(()=>{c.current=!0},400);return()=>{window.clearTimeout(U)}}else c.current=!1},[T,c]),x.exports.useEffect(()=>{let U=Br(P.current);return U.addEventListener("mouseup",$t),()=>{U.removeEventListener("mouseup",$t)};function $t(){he.current=!1}},[]),{data:{disabled:f},props:{id:ap(Ye),tabIndex:-1,...y,ref:Gr,"data-disabled":f?"":void 0,"data-selected":Gt?"":void 0,"data-valuetext":_,onClick:He(n,L),onDragStart:He(r,I),onMouseDown:He(o,Y),onMouseEnter:He(i,te),onMouseLeave:He(l,Gn),onMouseMove:He(u,yt),onFocus:He(m,$r),onMouseUp:He(a,wt)}}}var xg=x.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=ip({...t,ref:n});return S(e,{"data-reach-dropdown-item":"",...r})});xg.displayName="DropdownItem";function lp({id:e,onKeyDown:t,ref:n,...r}){let{dispatch:o,triggerRef:i,dropdownRef:l,selectCallbacks:u,dropdownId:a,state:{isExpanded:s,triggerId:f,selectionIndex:m,typeaheadQuery:p}}=Ur("useDropdownItems"),v=sp(),y=zr(l,n);x.exports.useEffect(()=>{let d=Cg(v,p);p&&d!=null&&o({type:jt,payload:{index:d,dropdownRef:l}});let w=window.setTimeout(()=>p&&o({type:ha,payload:""}),1e3);return()=>window.clearTimeout(w)},[o,v,p,l]);let E=ua(v.length),N=ua(v[m]),h=ua(m);x.exports.useEffect(()=>{m>v.length-1?o({type:jt,payload:{index:v.length-1,dropdownRef:l}}):E!==v.length&&m>-1&&N&&h===m&&v[m]!==N&&o({type:jt,payload:{index:v.findIndex(d=>d.key===(N==null?void 0:N.key)),dropdownRef:l}})},[l,o,v,E,N,h,m]);let c=He(function(d){let{key:w}=d;if(s)switch(w){case"Enter":case" ":let g=v.find(T=>T.index===m);g&&!g.disabled&&(d.preventDefault(),g.isLink&&g.element?g.element.click():(wi(i.current),u.current[g.index]&&u.current[g.index](),o({type:da})));break;case"Escape":wi(i.current),o({type:br});break;case"Tab":d.preventDefault();break;default:if(A1(w)&&w.length===1){let T=p+w.toLowerCase();o({type:ha,payload:T})}break}},gg(yi,{currentIndex:m,orientation:"vertical",rotate:!1,filter:d=>!d.disabled,callback:d=>{o({type:jt,payload:{index:d,dropdownRef:l}})},key:"index"}));return{data:{activeDescendant:ap(m)||void 0,triggerId:f},props:{tabIndex:-1,...r,ref:y,id:a,onKeyDown:He(t,c)}}}var Tg=x.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=lp({...t,ref:n});return S(e,{"data-reach-dropdown-items":"",...r})});Tg.displayName="DropdownItems";function up({onBlur:e,portal:t=!0,position:n,ref:r,...o}){let{triggerRef:i,triggerClickedRef:l,dispatch:u,dropdownRef:a,popoverRef:s,state:{isExpanded:f}}=Ur("useDropdownPopover"),m=zr(s,r);return x.exports.useEffect(()=>{if(!f)return;let p=Br(s.current);function v(y){l.current?l.current=!1:Rg(s.current,y.target)||u({type:br})}return p.addEventListener("mousedown",v),()=>{p.removeEventListener("mousedown",v)}},[l,i,u,a,s,f]),{data:{portal:t,position:n,targetRef:i,isExpanded:f},props:{ref:m,hidden:!f,onBlur:He(e,p=>{p.currentTarget.contains(p.relatedTarget)||u({type:br})}),...o}}}var Ng=x.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=up({...t,ref:n}),u={"data-reach-dropdown-popover":""};return r?S(ca,{...l,...u,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):S(e,{...l,...u})});Ng.displayName="DropdownPopover";function Cg(e,t=""){if(!t)return null;let n=e.find(r=>{var o,i,l;return r.disabled?!1:(l=(i=(o=r.element)==null?void 0:o.dataset)==null?void 0:i.valuetext)==null?void 0:l.toLowerCase().startsWith(t)});return n?e.indexOf(n):null}function ap(e){let{dropdownId:t}=Ur("useItemId");return e!=null&&e>-1?vi(`option-${e}`,t):void 0}function wi(e){e&&e.focus()}function Rg(e,t){return!!(e&&e.contains(t))}function Pg(e,t={}){switch(t.type){case da:return{...e,isExpanded:!1,selectionIndex:-1};case br:return{...e,isExpanded:!1,selectionIndex:-1};case wg:return{...e,isExpanded:!0,selectionIndex:0};case pa:return{...e,isExpanded:!0,selectionIndex:t.payload.index};case np:return{...e,isExpanded:!0,selectionIndex:-1};case jt:{let{dropdownRef:n={current:null}}=t.payload;if(t.payload.index>=0&&t.payload.index!==e.selectionIndex){if(n.current){let r=Br(n.current);n.current!==(r==null?void 0:r.activeElement)&&n.current.focus()}return{...e,selectionIndex:t.payload.max!=null?Math.min(Math.max(t.payload.index,0),t.payload.max):Math.max(t.payload.index,0)}}return e}case tp:return{...e,selectionIndex:-1};case ma:return{...e,triggerId:t.payload};case ha:return typeof t.payload<"u"?{...e,typeaheadQuery:t.payload}:e;default:return e}}function sp(){return hg(yi)}var jr=x.exports.forwardRef(({as:e=x.exports.Fragment,id:t,children:n,...r},o)=>{let i=x.exports.useMemo(()=>{try{return Uu.exports.isFragment(S(e,{}))}catch{return!1}},[e])?{}:{ref:o,id:t,"data-reach-menu":"",...r};return S(e,{...i,children:S(rp,{id:t,children:n})})});jr.displayName="Menu";var Vr=x.exports.forwardRef(({as:e="button",...t},n)=>{let{data:{isExpanded:r,controls:o},props:i}=op({...t,ref:n});return S(e,{"aria-expanded":r?!0:void 0,"aria-haspopup":!0,"aria-controls":o,...i,"data-reach-menu-button":""})});Vr.displayName="MenuButton";var ga=x.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{disabled:r},props:o}=ip({...t,ref:n});return S(e,{role:"menuitem",...o,"aria-disabled":r||void 0,"data-reach-menu-item":""})});ga.displayName="MenuItemImpl";var cp=x.exports.forwardRef(({as:e="div",...t},n)=>S(ga,{...t,ref:n,as:e}));cp.displayName="MenuItem";var fp=x.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{activeDescendant:r,triggerId:o},props:i}=lp({...t,ref:n});return S(e,{"aria-activedescendant":r,"aria-labelledby":o||void 0,role:"menu",...i,"data-reach-menu-items":""})});fp.displayName="MenuItems";var Ei=x.exports.forwardRef(({as:e="a",component:t,onSelect:n,...r},o)=>(x.exports.useEffect(()=>{t&&console.warn("[@reach/menu-button]: Please use the `as` prop instead of `component`")},[t]),S(ga,{...r,ref:o,"data-reach-menu-link":"",as:e,isLink:!0,onSelect:n||la})));Ei.displayName="MenuLink";var dp=x.exports.forwardRef(({portal:e=!0,...t},n)=>S(pp,{portal:e,children:S(fp,{...t,ref:n,"data-reach-menu-list":""})}));dp.displayName="MenuList";var pp=x.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=up({...t,ref:n}),u={"data-reach-menu-popover":""};return r?S(ca,{...l,...u,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):S(e,{...l,...u})});pp.displayName="MenuPopover";function Si({children:e,withMinWidth:t=!0,className:n,...r}){return S(dp,{...r,className:hi({"tw-min-w-[13.125rem]":t},"motion-safe:data-[reach-menu-list]:tw-animate-slideDown motion-safe:data-[reach-menu-items]:tw-animate-slideDown tw-z-[1] tw-mt-2 tw-bg-white tw-shadow-[0_1px_2px_0_rgb(60,64,67,0.3),0_2px_6px_2px_rgb(60,64,67,0.15)] tw-outline-none tw-will-change-transform",n),children:e})}function Mg({applicationDescriptions:e,refreshToken:t}){const n=cn(),r=Object.values(e).filter(o=>!o.hidden).map(o=>({...o,url:`${o.url}${t?`#refreshToken=${t}`:""}`}));return b(jr,{children:[b(Vr,{as:De,className:"aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"appSelector"})}),b("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:[S("title",{children:n.formatMessage({id:"appSelector"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M15 20h5v-5h-5m0-2.5h5v-5h-5M7.5 5h5V0h-5M15 5h5V0h-5M7.5 12.5h5v-5h-5m-7.5 5h5v-5H0M0 20h5v-5H0m7.5 5h5v-5h-5M0 5h5V0H0v5z"})})]})]}),S(Si,{className:"tw-grid tw-max-w-[250px] tw-grid-cols-2 tw-gap-3 tw-px-4 tw-py-4",children:r.map(o=>b(Ei,{className:"data-selected:tw-duration-150 tw-flex tw-flex-col tw-items-center tw-gap-2 tw-rounded-lg tw-px-2 tw-py-2 tw-text-center tw-text-sm tw-font-light tw-text-black tw-no-underline tw-transition-colors tw-duration-500 hover:tw-cursor-pointer hover:tw-bg-gray-50 hover:tw-duration-150 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",href:o.url,children:[S("img",{alt:"",width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${o.logo}`,className:"tw-my-0 tw-mx-2 tw-block"}),o.name]},`app-selector-${o.name}`))})]})}function hp({children:e,className:t,...n}){return S("h1",{...n,className:hi("tw-my-0 tw-mr-auto tw-ml-2 tw-text-lg tw-font-light tw-leading-none tw-tracking-wide tw-text-black md:tw-text-xl lg:tw-text-2xl",t),children:e})}const _g=`
99
- ---
100
- Request Info [please do not remove or edit this footer]
101
- `,Lg=`
102
- ---
103
- `;function Ig(e){const t=`User Name: ${e.username}
104
- Application: ${e.applicationName}
105
- App Version: ${e.version}
106
- X4B-UI Version: __npm_package_version__
107
- URL: ${e.url}`;return _g+t+Lg}function mp(e,t,n,r){const o=n.replace("{application.name}",r.applicationName)+Ig(r);return`mailto:${e}?subject=${encodeURIComponent(t)}&body=${encodeURIComponent(o)}`}const Og="support@xcomponent.com",Ag="sales@xcomponent.com";function Hg({systemInfo:e,documentationUrl:t}){const n=cn();return b(jr,{children:[b(Vr,{className:"aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 tw-hidden aria-expanded:tw-duration-150 sm:tw-inline-block",as:De,variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"help"})}),b("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",children:[S("title",{children:n.formatMessage({id:"help"})}),b("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:[S("path",{d:"M11 2.221c2.343 0 4.548.915 6.209 2.57A8.742 8.742 0 0 1 19.779 11a8.742 8.742 0 0 1-2.57 6.209A8.742 8.742 0 0 1 11 19.779a8.742 8.742 0 0 1-6.209-2.57A8.742 8.742 0 0 1 2.221 11c0-2.343.915-4.548 2.57-6.209A8.742 8.742 0 0 1 11 2.221M11 0C4.924 0 0 4.924 0 11s4.924 11 11 11 11-4.924 11-11S17.076 0 11 0z"}),S("path",{d:"M9.89 15.39h2.22v2.22H9.89v-2.22zm2.21-1.111H9.9c0-3.543 3.3-3.29 3.3-5.49A2.21 2.21 0 0 0 11 6.584c-1.211 0-2.2 1.031-2.2 2.195H6.6a4.388 4.388 0 0 1 4.4-4.39c2.433 0 4.4 1.962 4.4 4.395 0 2.75-3.3 3.062-3.3 5.495z"})]})]})]}),b(Si,{children:[t&&S(va,{href:t,label:n.formatMessage({id:"documentation"}),icon:b("svg",{className:ya,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:[S("path",{strokeWidth:"1",fill:"currentColor",d:"M52.586 20.5H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM52.586 32.1H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM70.25 40.7h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 52.3h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 63.9h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM56 75.5H29.75a1.5 1.5 0 100 3H56a1.5 1.5 0 100-3zM44.181 35.785a1.5 1.5 0 001.5-1.5V16a1.5 1.5 0 00-1.5-1.5H28.896a1.5 1.5 0 00-1.5 1.5v18.285a1.5 1.5 0 001.5 1.5h15.285zM30.396 17.5h12.285v15.285H30.396V17.5z"}),S("path",{strokeWidth:"1",fill:"currentColor",d:"M78.521 5H21.479a4.067 4.067 0 00-4.063 4.063v81.875a4.067 4.067 0 004.063 4.063h43.522c.161 0 .314-.032.46-.08.023-.007.045-.012.067-.021.148-.056.282-.136.404-.233.011-.008.024-.011.034-.02L82.05 81.083c.015-.013.026-.029.041-.042a1.27 1.27 0 00.114-.118c.03-.034.06-.068.086-.104.03-.041.056-.084.082-.128a1.2 1.2 0 00.066-.122c.021-.045.038-.092.055-.139a1.315 1.315 0 00.084-.43c.001-.021.006-.041.006-.062V9.063A4.068 4.068 0 0078.521 5zM20.417 90.938V9.063c0-.586.476-1.063 1.062-1.063h57.042c.586 0 1.063.477 1.063 1.063v69.374H65a1.5 1.5 0 00-1.5 1.5V92H21.479a1.063 1.063 0 01-1.062-1.062zm56.562-9.501L66.5 90.273v-8.837h10.479z"})]})}),S(va,{href:mp(Og,`[${e.applicationName}] Support Request`,n.formatMessage({id:"contactUsMailBody"}),e),label:n.formatMessage({id:"contactus"}),icon:S("svg",{className:ya,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M16 21c-4.397 0-8 3.603-8 8v42c0 4.397 3.603 8 8 8h68c4.397 0 8-3.603 8-8V29c0-4.397-3.603-8-8-8H16zm0 4h68c.338 0 .657.05.969.125L51.594 57.406c-.736.712-2.452.712-3.188 0L15.031 25.125A4.1 4.1 0 0116 25zm-3.844 2.969l23.375 22.594L12.438 72.78C12.172 72.243 12 71.653 12 71V29c0-.363.07-.7.156-1.031zm75.688 0c.086.332.156.668.156 1.031v42c0 .653-.173 1.243-.438 1.781L64.47 50.563l23.375-22.594zM38.406 53.344l7.188 6.937c2.44 2.36 6.373 2.36 8.812 0l7.188-6.937L84.094 75H15.906l22.5-21.656z"})})})}),S(va,{href:mp(Ag,`[${e.applicationName}] Sales Contact Request`,n.formatMessage({id:"contactSalesMailBody"}),e),label:n.formatMessage({id:"contactSales"}),icon:S("svg",{className:ya,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M16 21c-4.397 0-8 3.603-8 8v42c0 4.397 3.603 8 8 8h68c4.397 0 8-3.603 8-8V29c0-4.397-3.603-8-8-8H16zm0 4h68c.338 0 .657.05.969.125L51.594 57.406c-.736.712-2.452.712-3.188 0L15.031 25.125A4.1 4.1 0 0116 25zm-3.844 2.969l23.375 22.594L12.438 72.78C12.172 72.243 12 71.653 12 71V29c0-.363.07-.7.156-1.031zm75.688 0c.086.332.156.668.156 1.031v42c0 .653-.173 1.243-.438 1.781L64.47 50.563l23.375-22.594zM38.406 53.344l7.188 6.937c2.44 2.36 6.373 2.36 8.812 0l7.188-6.937L84.094 75H15.906l22.5-21.656z"})})})})]})]})}function va({href:e,label:t,icon:n}){return b(Ei,{className:"tw-m-0 tw-flex tw-items-center tw-gap-4 tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black tw-no-underline hover:tw-cursor-pointer hover:tw-bg-gray-50 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",href:e,target:"_blank",rel:"noopener noreferrer nofollow",children:[n,t]})}const ya="tw-w-[1.5rem] tw-h-[1.5rem] tw-block",gp="x4b.language",Dg=e=>{window.localStorage.setItem(gp,e)};function vp(){return window.localStorage.getItem(gp)||"en"}const yp={en:"EN - English",fr:"FR - Fran\xE7ais"};function zg({language:e,languages:t,onLanguageSelected:n}){return b(jr,{children:[S(Vr,{as:De,className:"aria-expanded:tw-border-gray-100 aria-expanded:tw-bg-gray-100 aria-expanded:tw-text-gray-700 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"gray",rounded:!0,compact:!0,children:b("div",{className:"tw-min-w-[36px] tw-text-base lg:tw-text-lg",children:[S("span",{children:e.toUpperCase()}),b("svg",{"aria-hidden":!0,className:"tw-ml-1 !tw-inline-block",xmlns:"http://www.w3.org/2000/svg",width:"8",height:"5",viewBox:"0 0 8 5",children:[S("defs",{children:S("path",{id:"a",d:"M1367.876 32.83a.5.5 0 01-.752-.66l3.5-4a.5.5 0 01.752 0l3.5 4a.5.5 0 01-.752.66L1371 29.26l-3.124 3.57z"})}),S("use",{fill:"currentColor",transform:"matrix(1 0 0 -1 -1367 33)",xlinkHref:"#a"})]})]})}),S(Si,{withMinWidth:!1,className:"tw-min-w-fit",children:t.filter(r=>yp[r]).map(r=>S(cp,{className:"tw-cursor-pointer tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black hover:tw-bg-gray-50 data-[selected]:tw-bg-gray-50",onSelect:()=>{Dg(r),n&&n(r)},children:yp[r]},r))})]})}function Bg({count:e,onClick:t}){const n=cn();return b(De,{className:"tw-hidden sm:tw-inline-block",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:t,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"notifications"})}),b("svg",{"aria-hidden":!0,width:"22",height:"22",opacity:"0.9",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"tw-block tw-scale-[1.08]",children:[S("title",{children:n.formatMessage({id:"notifications"})}),S("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"})]}),e?S("div",{className:"tw-absolute tw-top-[0.3em] tw-left-[22px] tw-min-w-[1em] tw-rounded-[1em] tw-bg-red-600 tw-py-[0.1em] tw-px-[0.3em] tw-text-center tw-text-[0.8em] tw-font-semibold tw-leading-[1em] tw-text-white",children:e}):void 0]})}function Fg({username:e,version:t,onLogout:n}){const r=cn();return b(jr,{children:[b(Vr,{className:"!tw-px-0 !tw-py-0 tw-transition-opacity hover:tw-opacity-80 aria-expanded:tw-opacity-80 aria-expanded:tw-duration-150",as:De,variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:r.formatMessage({id:"userAccountTooltip"})}),b("svg",{"aria-hidden":!0,width:44,height:44,viewBox:"0 0 44 44",version:"1.1",children:[S("title",{children:r.formatMessage({id:"userAccountTooltip"})}),S("defs",{children:S("clipPath",{id:"user-badge--clip-path",children:S("circle",{cx:"50%",cy:"50%",r:"22",fill:"#FFFFFF",fillRule:"evenodd"})})}),S("image",{width:"44",height:"44",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfMAAAHyCAMAAADIjdfcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYBQTFRFM22C0LKTQX6aSEhIRoSiSoyuMGp+0cjRRICdNXCFQH2ZP3uWs7OwJ11xhoeGR2VzSIalSousPnqVSoqrOHOKz6jORoalPHmT/ubPR4enR4WkRYSjPXqUoYt2VVVVQ4GeOnaPSYqs5NbjOXSNS4ytrGeqcXBvdIeENnGIRVZdRUVFSl9o/vDjOVll4sWlRXSKLlpp/dy8sKqXN1FaUVFR8cqjO3eQTExMPnuWk5uYbZKet5yCR4OgRElL0b2jW4mboKWiRm19TIOa/dKoT4efQk1STI2vUVtf////Rn6apFiiU1dZSIioQHePQoCcSYmpRYKgRYOhQX+bQHSLRIKgQ4GdRIOhSIinQHyXPHiROnWNPnmTSImqO3iRQn+cQoCdSImpSYqqOnWOQX6ZSYioQ4CdOXSMuoK56ebpjnxs8/Pz5r2eUFVXc2hdXl5f/dWuXFZRUE1L+fT58+rz/vz5Z19X/vjxQXCEXHp+OHSOak5pSH+bRnuUklWRgW6AU0pTDizfXgAAHjtJREFUeNrs3etjE8d2APAxohKxPRZ140DBXqe6tYikGBljX9coMiiKasVcqHmlUFJyb9Nb2WBjDAFze932X69k+aHHrnYeZ2bOked8SfIFVvvLOXNmZneW/TPC+JvI+MeT+NuI+Ie/C40//ennn3/+4x//pTP+0BX/+Yd/bcbf98Xldnx1FEf/eq03Ll4/jYtH8eg0fjqKp+3YPInmv892x7Oj+POlS5d++eVhZ7w6icftuNAVv452xvPuGOuJycnJ6WZMTjJPft7IMZp7crPk08yTnzdyfOae3DQ5OnNPbpwcm7knN0+OzNyTWyDHZe7JbZCjMvfkVsgxmXtyO+RXmCc/b+QvmSc/b+RozD25NXIs5p7cHjkSc09ukRyHuSe3SY6ib/fkVskxmHtyu+QIzD25ZXL35p7cNrlzc09undy1uSe3T+7Y3JM7IHdr7sldkDs19+ROyF2ae3I35A7NPbkj8hfMk583cmfmntwZuStzT+6O3JG5J3dI7sbck7skd2LuyZ2SuzD35G7JHZh7csfk9s09uWty6+ae3Dn5vzNPft7ILZt7cgTkds09OQZyq+aeHAW5TXNPjoP898yTnzdye+aeHAu5NXNPjobclrknx0NuydyTIyK3Y+7JMZFbMffkqMhtmHtyXOQWzD05MnLz5p4cG7lxc0+Ojty0uSfHR27Y3JMjJP+aefLzRm7U3JOjJDdp7slxkhs09+RIyc2Ze3Ks5MbMPTlaclPmnhwvuSFzT46Y3Iy5J8dMbsTck6MmN2HuyXGTGzD35MjJ/4OdH/LDYiWdzjWjlj+JWus/0+l0sXiOyMHNMZJvNrFz5XxM1Jr4xUvngBzaHB35YaUjrQWinEsfHA43+b+xISb/sRKf3VHwxeElhzXHRH6YruW1ouk+nOSg5njItcFP3Q+HjxzSHAv5dxUY8OPWLl0cMnJAcyTkP6bLeeCoFYrDRA5njoP8x0LeSNRaRX5IyMHMUZCbEm+P7QdDQg5ljoF806R4O9l/HQZyIHMM5JVy3nwUDumTw5gjID+s5e1Erkid/HdsOMjTeXvRVCdNDmHuntxakp+qUyb/LzYE5FZG8h71Q7rk+ubuyQt5F1E4pEqube6cfLOWdxPlClFyXXPX5MWKK/JWgX9AklzT3Cl5Me3Qux1piuR65g7Ji4VyHkGcpjohci1zZ+TfVWp5JFGukCPXMXdF/l26nEcUBWrkGuauyCuoxFv1/TktcnVzR+TFWh5d1B6QIlc2d0P+XTqPMcpPKJGrmrshP6zl83jRqZB/yQiRV/Joo4lOhlzN3An5d4U84iiPkSFXMndDXsujjtoYFXIVcyfkf0VO3pyyUSFXMHdCfljOo480EXJ5c08eGU9okEub+7F8wJBOg1zW3JMPrO4kyCXN3czLc3kq8YQCuZy5G/I0GfJ8jgK5lLlffYuN+TH85DLmbsj/WqZkXuZj6MklzB1tntbypOI2H8NOLm7uiDydJxacjyEnFzZ3RH5IjbyZ6PyfcJOLmrt6ECpHzryZ6Pz3qMkFzZ09+0aPvJXoJ+g4ycXMnT3hWiNoXuYn6EjJhcydPceezueJJnoLHSu5iLm7VxfKJM1r/AgdLbmAubsXlGimeT6/cIT+JVbyeHN35ETT/Li4c/4NUvJYc4evIVbyVIP3oqMijzN3+bJxjaz5Qg86LvIYc5fkRbLkx13cKToy8m8Y2iMFCnTNT4o75wwh+UBzp+SbZcLmt0/Rk/jIB5m7PSumQpj8rLg30dGRDzB3fDxQjrL5WXHvRUdAHm3u+kQo0uSnnXsvOgbySHPnh4DRNr/NO9GvoCKPMnd+1F+atnmZd8UVTOQR5u4P9Kzlh6e4n6AjIQ83d0++SZy8u7i30bGQh5ojOI9dZTjf30Vszq+gIQ8zx/ChDcnhfD9bGqlWqyW0A3ozXmAhDzFH8QUlqdn5dql6HCW0A3oz/oKEvN8cx3fSxBde92eWq2exjbe4t9BRkPeZ4yDfVBPHhB5izn+HgrzXHMkHMEVbuO0ecUToZR6GjoG8xxzLZ27FNljejVRDAsuYzgegOyXvNkfzMeu0YpJjQl8IRf/GPXmXOZ7vl4s8L1GqRsXIPtYBvRlfOCfvNMdDLjBV2x+pRsebj3jN+ReuyTvMEZHHmw8kr1aXEXRyNR6F7pj8zBwT+eWaHnlrUN/H2cQdo7skPzVHRX5Zm7w5qH/E2cS1y7tL8i8YRvI4cwFyBPU92pwnXZIfmyMjv6zasfek+juUTVwnugvytjk28sHm21XRcJvqg8yP0Z2QH5mjIx9ovluVCJejeo3Hobshb5njIx9kvv+mKhXuGvgyj0F3RN40R0j+FcBgflbgZ9BN1o7Rv3ZD/gXDSP4VUGU/WZbbRmnO+ddOyAeYOyT/CqyyO1VfEEO3TR5t7pI82nymqhgu1OPNW+jWySPNnZJHmr9brlbV1fcxTdZO0O2TR5m7Jf8KrIHr6ebeoTM/QrdLHmHumPxyxCOQ76q6UcpiM+d/sU0ebu6a/HLORJofl/gSyDLN/u7MzEzMaFETMudfWiYPNXdOHmH+rgoTI9uaNf5j6WSXp/RO37wT3QZ5mLl78gjzUhUsRtSz/d3MG8El/TKXRbdCHmKOgDzcfH+5ChnLJYV0f7c9IvFwNZdEt0Peb46B/FpObz9NYnDflsj33VLoxv22vnkb3RJ5nzkK8nDzkaqZGCltx7/Rurtdiiwz2/rmLXRb5L3mOMivhT3f/rFqMt6MlGayu2FJv5udKcU8cflRfSHu7CQ5a+Q95kjIQ81LVSvxZqQVzYlYqfVPseX9EQDzTnSz5N3mWMhDzd9U8cYMgPkZumHyLnM05GHmH6uY4x2A+Qm6afJOczzkYeYl1OYlCPM2unHyDnNE5GHmb6r0El3WvIVunvzMHBP5taKxdVerI7q0OU9aID81R0UeYr6N3PwNjHkT3Tj5iTku8hDzEnLz6kcYc540Tn5sjow8xHwZu3kJyPwU3Rh52xwbeb/5Lnby0OKuZH6Mbo78yBwd+bVDasN5eOeuZn6EbpC8ZY6P/No1csN56E6LonkT3SR50xwj+TVis/OIAV3VnPMvDZJ/wVCSXyQ2O4/YaFE370QHJ2coya+Ta+GaAWp+hg5PzlCSXy8Dvb7itonTMT9BN0DOUJJfz5Fr4arVXVjzNroJcoaSvNd8hIL5NrB5C90IOUNJ3mtOgTxkm0XTnH9phpyhJO8x/0jCvKTzDGTEoWJGyBlK8usFem17yGSNG0LXJGcoya+nqa28GjIPRdclZyjJe8xJTNX6J+hlbgRdm5yhJO8xH6FpXuMm0PXJGUryi0VvfvaQHDQ5Q0neY75Mw3xX6cwBOXQIcoaSvMe8er7NO9BByBlK8osXvXnXhjooOcNJfpHe9LzffIEDowORM5zkj2oEzbfNmR+hQ5EznOR3Os/+oGI+A78k04kORs5Qkq+2HiTdpbUM122eLS1XF2HRwcgZVvKOTYsZcua77ef3zKMrkTOE5HeXu3eqyJmfPuLx2TC6GjnDR/5ovGd7kpr52VM9N7lRdEVyho/8h95WmIp5qf9Brhsm0VXJGTryR/c67tnyOypPw51upnZdLeyI3o2uTM7QkT+62XsfRyiZ90wyuDF0dXKGjvxR30IHJfPex7g+m0LXIGfoyO9037Q3tMx7r3WVm0HXIWfYyLuG83aiEzLvazcXuRF0LXKGjbxjpnaS6FTMl0OOIR7hJtD1yBk28kdrfVsXVMyrYTMMbgJdj5xhI+83HyFjHvb6LDeCznTIGTby7qlau2ZSMS/ZMuecaZAzbOQ/VYcrPltHjyVn2Mi9uSZ6PDnDRu7N9dCZqrlD8mEzr3Cr6EzV3CX5TzeHy5xzm+hM1dwp+U9r3lwZnamauyV/6s2V0ZmquWPyp+NDRb7G7aEzVXPX5E/vDZX5CLeGLiqeZNjIn64OlfmiafPTxXdh8l5z9+RP7wyV+Sq3hC5O3mOOgPzpD35JRgFdgrzbHAP5082hmqBXuBV0GfIucxzkm8M0WVvmViIpQ95pjoR8c5ga9xGOCT3Za46FfPOOb+HMoCd7zdGQb276Fs4IerLXHBH5MA3onKNBT/aaYyIfogF9kaNBT/aaoyIfogH9BseCnuw1x0X+9OnQzNArHAl6stccG/nQbK2tcY4DPdlrjo58dliK+wTHgZ7sNcdHPjs7JMU9yVGgJ3vNMZLPDkfnvsg5BvRkvzlC8tnh2Fv7zDGgJ/vNMZLPzg5DF3eTcwToyVBzhOSzd/3kHAY9GWqOkXx2ds2nOQR6MtQcJ/kQTNcmuHv0ZIQ5SnL6ie4wzU/RkxHmSMnJj+g3uHP0pIg5IvLZZ4v+ARk99KSIOSryZz+QXoyrcOfoIua4yJ89o9zGrXKOF52hJX9GuLqvcY4YneEl//MlqtV9ucIxozPE5Jd+WKZp/plzzOgMMfmlX+6QRL/BOWp0hpn8l4cU0RGRh6Mz1OQPH96hNqYvoyIPRWe4yR8+/J5W9z5S4Rw7OkNO3oy742QK/OJnji9CzLGTPyRT4SscZ/SZUyB/+IpCgV/jnAY6I0H+isI67Congs5IkL/63q/EwKEzEuSvXuF/hGKZcyLojAb5K/wniC1yKuiMBvkr/I/N3OBU0BkN8lev0M/WkpwKOiNC/hj7bG2NcyrojAj5Y+yztQlOBp0RIX/8GHlxr3Ay6IwKOfLivsY5GXRGhRx5cZ/gnIw6o0L++MJNX9ph0BkZ8guLvrQDve1AhvzCXV/aYYKRIb+AubgnSZnTIb+Ad819kVMzJ0KOuLjfoGZOhfzCBawbqsucmDkdcrTFfZGYOSHyCxeQPgBboW6OmPwCziPE1jhxc8zkSLu4G8TNUZP/Oopxir6cpG2OnHx01Xdw0ObYyUdHl30HB2uOn3wU34nPI5yyOQHy0bu+g4M0p0A+OoptunaTEzanQT6K7XGZCcLmRMhHR9f8RA3InAw5sunaKidrTod89PlNP1GDMKdE/hxToi9yquakyJ9jSvQKVXNi5IgSnWSat8ypkT//ftmnuZ45OfLnz+/5NNcyJ0iOJtErpM1JkWMZ0Ymm+bE5MfLnd3ya65pTI8dhTjXNj8zJkeMwrxA2p0f+fMyvtGuZUyRHYE5xQ+3EnCQ5AvMJTtycGrl785ucuDk58jHnD058Jm5Oj9y9OadtTpDcm+uZUyT35vprr9TIvbm2OTnysXveXM+cHrk31zQnSO7N9cwpkntzLXOS5N4c1JwE+dgdbw5nToPcmwOaEyGf9OZg5lTIvTmYORlybw5lTod82pvDmBMin77rzSHMKZFPT3tzAHNa5JP+0Sh9c2Lkrs1HhsCcGrk31zYnRz7tzTXN6ZF7c01zguTeXM+cIvn0sjfXMCdJPr3mzdXNaZJ7cx1zmuTeHMScFLk3hzAnRf79HcdnQa7dTdI3p0R+J1WvX3VrfrVeT90lbk6I/OBtvY7BvL5VW6BsTog8nbjXMv/WvXl9onybrjkd8oNaIvEai3kmkSCZ6owUeTqRSGTrWMzrbxMJiqnOCJE/aSZ5ol3acZhPtK6nRtCcDHm63LrFiRQe8/GjCypTq++MCvnvc4l2bOExTx1f0m2K5vjJD2rH9zdRx2O+dXJNtFo5RoM8fXJ3E2/b5nW35p/aF3F6VeV5YuboyU/r+mnb7nhR5la9x5xUfWcEyA/KiX5zp8X92+OLyHZcGJ36zvCTpxOJEPP6LXfke/UQczqpzrCTP8klws0/uU/zHnMqU3WGnLxSTkSYuxvRb9UjzIlM1Rlq8geFRCLS/DdH1X3vt0hzGvWdYSY/m5SHmdc/7bmt7GHmFFo5hpg8XU4MNHfTu3eQtzZZ+gJ/fWdoyR/kEokYcxfoVzv//tArRF/fGVbySjkRb24fvYs8whx7qjOc5BFJfrbe7gi9m7weeZG3kZsjJA9r3sLN7aL3kGeirxJzK8cQkofM0DridS/6npP2rXMvlViqM4RZnht0K4+fmajbn7Lt9ZIPNseLzhC2b5LmlhZnbn3q+4vvDbzQGmpzZPPygXcyMV7vDwvLsLd+qw+TObY19sHm90LMjQ/qe1fD/tYsWXN0O2mDzSfC7r7h+h5S1+PNE3jNke+XxyzKdNT3PVtTtPjpOXJzZORP0utLMbcyAqD+6ZbVJK/XX8dcaJCbX0BsjmNeXincD4Igzvx1FLqRUX3vauRfl4q50KXmj9nJLSA1R0BeSa8H7diPuZWpSIT6b1etJfnpKw2DzY/YkaU7Q0D+4CBdCM5iJSE/WTtL9Vtml2E6Y1XMHJ07c0z+4Cy/Rc1X6wMDrsAPKOsibXtiv/t3oXFnDsmb6X0/6I848+xgiWaBh1G/+lvMXxTImaOBZ27IDyqF9SAiEnHtcD0uPl01O5CLte2JlahfmJt3Cs+skw/iFjI/fkvRqPqtb+P/jpSy+XHCu4JnFslfFtMx3GLmqXrdrLqIeNxqe5z5cca7KPXMDnmzVRPhDgSm5xEr7nDqYuLHJw5omjuBZ8bJi5XwVk3dfKJeN6d+9ZPon56NvVCJX33U3C3YNDdD/rJYEU1uKfO3deGQ7OH3xMVjV9slzS0O8swM+VgxrcAttAw3cPVVa5VmL3Z2JtXCKZjbqfXMAPlYpRCoh4B5qi4Vn4SSXXQYF1157V6IU8h4k+bA5GPpQCtWElBNXEeJj1uck0txsRZOy7zFvmDMHJi8uB4YN5+oy8cg9b1vFf7At6bNm0Xe3Ho7JLlmkouZB3WViKzw8jkusgoHYB7smDIHJB8raJMHAvdSZCVO+KGKvU9Kf5hACxe64I6gvjNQ8vXAjnmqrhZXxZ5nBVmFAzE3gs6wkQuZr9ah0K+q/klZgctcCVCiM2zkSyLm2ToQumqWx2+kQpkbQGfIyMXME8rm3cdN7SmTZxK2zOEbOQbWscOQC5qnlM0/DXrpEHRFBsocHJ3hmaQJL8OprMqEVvdb6n/KhNBlAt2TnDFzLfJKYNVceUD/kMm8OY7l6id187c2zYN5Q+Z6q29Qv05kSUZ+QN/KTE01GnMbfdFoTE1lPsiTbyWsmgcLRsz11tjv2zYXHtA/NLU34qIxlTEwnAOa75gw19tJKwS2zcdFdeLB2zE3tQU+nOsvvhoZ0hkE+QEceSB2M4W3Wd5viMf7D1uwwzmgOeSQziD2y+/bNxfdZslImDc25j6ADueQ5jvA5ppPxQBWdmHzRAa2tJ+wv4ccziHNAas70yeHrOyCSzLCA/rUhmQ0IIdzUHO43p1pkwOtucqaT0BX9uOYAhzOITbWDFR3pv24YzpwYi4yQ/8wJ2++sQU3nMOag7VxTJf8QeDIPAU+mB9P2t6DDefA5jug5hrPsRdgzfeFze/BD+ai1V10OIfaZAFu45gmeTFwZZ41UtlbETslCByZA7VxTPNtFeA0F12GE3mzoaFIHlvdMwlX5jkocx1y6DSXMU8ZqewC1X3cmTlMojO9d9LWHZqvmqns8dU9684cJNGZFnklcGieNVPZ41dmxC8xEWBMdKb15il4mgcS93PgU+6ZDa2Y0nyy3Zh5DsZcnRw+zaXMBy2/zumZD9psWXVpDpHoTOdIgYJb8wkjDVxsomedmgMkOtMgLwZuzQMzDVxMG7eVcGoOkOhM4+AQA2m+JHNDo/dTtdN8QBs37thcP9GZOrmJNJczv2emgWtHSnfhFXwz9ThgzeWOByo4N8+amKfFrcYFrs3nIc3lyB8Ezs0jll9B0jyqjcskXJvvAJpLHgKWNmG+L2c+bmKeNjjR7zk31050pnzu230E5qGztdTGhsFEz7o334EylyWvBAjMw2Zr7+egzDc+qB0pYtpcd7rGVA/0LGAwD5utTYGRz6U0Z2qmzHMg5tLkRSM/RmaLJWK2BpbmjdR73ZmaKfMAwlz+2N4CDvOsoTRvpD4AzNSMmc/rm8uTv7yPw7x/b21Ke3I+6IXFVAKF+Y62ucLh3GY6OAXzsNlaZqqhWODn4l5QXZW8vH1D92lB01zlPPYCFvPIvbVMKvyN8+iZWUrgdai3SMxzeuZKR/AHWMzj3lXcymQEq73I64lbCSTmWl0cU/rQRhqNucirDR+Eyjrku4nmzechzKW+rbJu6qdIkwsdDzil95CE8kzNoPkOgLkUeTHAYy7y0YaMxtapxiKcSXOdLo6pfEGpgMhc6EX0BsxwPo7IfF7XXPKjWfcxmYu8iL4F8975BCLzHU1zSfKDAJO50FFxUyDDufzlLQUIiztT+BpiAZW52GHucegiI0Qqgck8p2MuS/4ywGUudMpIBsBcbhFuZd8guFZxZ/LfPK0gMwc5ZUSkbX+LhVuzi2Pyn7ktIDMX+tzalP54nsHDrVfcmTS5ydKuZp4CMG8AzNRWlqx5axV3Jv0xa5OlPVjaXzFT3Kf0l16zMeCB7ZjXMZf6fnnB+G9ZasqvdNqvdP+nypmQsasyWvsrK4GLyGmYS5E/cPLzllZMHyGV0SrtTtB31M2lyM2WdiVxoX2WhvZ6+4TlIyXMFXcmSW6htMuKC+2zaO+rxe+vrFAp7kySfOw+OnGhfRbtBXeR/RXbfdwOhHk8ueXSLvj+Wmxxf6/9zITY/opl9QV983jysbTNn7QCts8isIMOtb+yj764MznysXVcRV10n0XAPAO2v2Iv2Xd0zUXIixjBBfZZUroPykhuna9gLu5MitzScC6/FpfV3T+Pa9xRbZ1rztaYFLmF0r60r7TmvqVt3gDeOrfCntMxFyN/gKykCxf3hubDzquq12V6bNcwFyM3XdqVxWP3WURea4B8f8VaHz+vbC5IbnoRbkn9zsZsoouYZyBO77Zd4HOq5qLkphfhdMwHF/c5vSfcVzUuDN9sjcmQG5+pJUwVd83jPt+iNVeZrTEJcvOLcCumirveAd46pd30TH1exVyc3PyemqnintF7S3EV7XCuVNyZBLmFxyUMFXexUwIplnaV2RoTJ7exCJcwU9zFzDMES7tKcWfi5Db21FbMFHexg4VSYK8m4l6KY+Lkkxb21JbMFHcx8ymAQ/rtm+/omMeRP7GxaaBT3HXNG0AHilgdzhVma0yYfNLKnppOcU9pfoRpDr6029hTnVc2jyWftPL0o5niLnhmHMXSrjCgM2HyaTuPyOjUUd2vMGUolnb5AZ0Jk1sZzvUG9JTOMlxU4469tMsP6EyUfNrSE6/7Joq7vQPbHTwrIz2gM1HyaUsvMywZKO5bguYNiqVdfkBnouTTtl5mMFDcRT/QMkeytEsvvzJRckvDud5sbULz21skS7v0gM4EySetvcBioLgLn+meoVjapQd0Jkg+ae/dRPjiLmyeIlnaZQd0Jkg+ae8FFvjiLmw+RbK0yw7oTJDc2nBuorgLf7qhQbK0yw7oTIx82ub7qODFXdh8jmRplx3QmRj5tM2jBsDX3MU/0UKztEsO6EyMfHo9IJLor9WX4fobdyKlXXJAZ2Lkdk8Ogn5aRvkD2ERKu+SAzoTIp+0eLwFc3D+Im0/BPfxo9cSJeRXzweTTVo+XgC7uEt/GboA9/Gi1tMsN6EyIfNryaVGwxV3CfA7sufZ9qzdsR948jnzaLjlwcZf5nOZ7Ms+1qw/oTIj8wPIvgC3uMuYZMs+1qw/oTITc9nAO/BKTjPkUkVeWdAZ0JkJ+xf7hj5DFvaFoTqi0Sw3oTIT85bp1c8g3VGXMGzRLu9SAzkTIn1j/BaDFXcZ8jsJBA5oDOhMgf+niLGeNG55VXobratzfUkpzmQGdCZC/TAe0En1LwzyjdzyYmw5Oxzyc/GUhoJXo45Ln+4Y2cROkSrvMNgsTIH/p4ifodHFZ1WW4TnON/+n2XdyvBSXzKPIDJ+ZgxV3OvAFQ2p3cr3kV8yjyKxUnvwGsuKekzOf0Szv2L/KwePIr6YBaor9VXYY7a9wDUh2c1KoMiye/sh6QS/SMunmGZmmXaOJYPPkVR79B53XFVXXzKd3SvuTodi1Img8iP3BlHsAU94aC+Wt6aS7exLFYclfDud50LaNs3tB8EG7f1d3KSZkPJL9SCAgm+qr0IRNdjfsEvTQXb+JYLLmzFk4r0QPFpdd24/6a2kRNakBnseRX3P0InelaStk8o1XaHd6teWHzOPIDh79Co7hPqC3DtZu4LMU0FzePI3fYwmkleqBhvkVvoibTxLE4cpctnFaip1TNGxql3WWaCzdxLI7csfmSdnGfkjWf0yjtS05vlmATx+LIXwQB0UR/rWi+kSLZwYkP6CyO/MCxufoC7Liq+f8STXMJ84HkLyoB1USfUFqGa8b/EU1z0SaOxZC/SAdkE31Lzfx/qKa5aBPHYshfrAdkE31cZel1Y+O/qaa5aBP3/wIMAI6prfGsFSkIAAAAAElFTkSuQmCC",clipPath:"url(#user-badge--clip-path)"})]})]}),b(Si,{withMinWidth:!1,className:"tw-w-[310px]",children:[b("div",{className:"tw-flex tw-flex-col tw-gap-4 tw-py-4 tw-px-5",children:[S("div",{className:"tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-base tw-font-semibold tw-leading-tight tw-text-black",children:e}),S(Ei,{as:De,className:"tw-self-end data-[selected]:[&:not(:hover)]:tw-ring data-[selected]:[&:not(:hover)]:tw-ring-gray-300",variant:"outline",colorScheme:"gray",onSelect:n,children:r.formatMessage({id:"logout"})})]}),S("div",{className:"tw-flex tw-w-full tw-justify-center tw-bg-gray-50 tw-py-4 tw-px-0 tw-text-sm tw-font-normal tw-text-gray-700",children:r.formatMessage({id:"version"},{version:t})})]})]})}function bg({application:e,applications:t,notificationCount:n,onNotificationClick:r,onInstallationClick:o,onToggleMenuClick:i,language:l,languages:u,onLanguageChange:a,username:s,version:f,logout:m,refreshToken:p,loginUrl:v,withMaxWith:y=!1,className:E,...N}){const h=cn(),c=t==null?void 0:t[e],d=t==null?void 0:t["x4b-settings"],w=()=>{const g=!Bd();O1(g),i&&i(g)};return c?S("header",{...N,"aria-label":"Global",className:hi(E,"tw-box-border tw-bg-white ",p&&"tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),children:b("nav",{"aria-label":"top",className:hi(p?"tw-gap-0 sm:tw-gap-1 lg:tw-gap-2":"tw-gap-0 sm:tw-gap-1",y&&"tw-mx-auto tw-max-w-7xl","tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),children:[p&&i&&b(De,{variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:w,children:[S("p",{className:"tw-sr-only",children:h.formatMessage({id:"mainMenu"})}),b("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 18 16",children:[S("title",{children:h.formatMessage({id:"mainMenu"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M18 6.818H0v1.364h18zM18 13H0v1.36h18zM18 .364H0v1.36h18z"})})]})]}),S("img",{alt:e,width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${c.logo}`,className:"tw-my-0 tw-block"}),S(hp,{className:"tw-hidden md:tw-block",children:c.name}),S(hp,{className:"tw-block md:tw-hidden",children:c.shortname||c.name}),o!==void 0&&S(De,{as:"a",variant:"ghost",colorScheme:"primary",compact:!1,rounded:!1,"aria-label":h.formatMessage({id:"installGateway"}),onClick:o,children:h.formatMessage({id:"installGateway"})}),n!==void 0&&p&&S(Bg,{count:n,onClick:r}),d&&p&&b(De,{as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,href:`${d.url}${p?`#refreshToken=${p}`:""}`,children:[S("p",{className:"tw-sr-only",children:h.formatMessage({id:"settings"})}),b("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",children:[S("title",{children:h.formatMessage({id:"settings"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M14.037 19.103v2.25c0 .357-.29.647-.647.647H8.61a.647.647 0 0 1-.647-.647v-2.25c-.981-.278-1.658-.682-2.422-1.353a15.057 15.057 0 0 1-.108-.096L3.35 18.811a.647.647 0 0 1-.875-.242L.087 14.43a.647.647 0 0 1 .237-.884l1.995-1.15a8.415 8.415 0 0 1 .005-2.796L.344 8.452a.647.647 0 0 1-.234-.885l2.413-4.138A.647.647 0 0 1 3.4 3.19l2.036 1.152.105-.093c.764-.67 1.44-1.073 2.422-1.353V.647c0-.357.29-.647.647-.647h4.78c.357 0 .647.29.647.647v2.25c.982.28 1.658.683 2.422 1.353l.105.093L18.6 3.191a.647.647 0 0 1 .878.238l2.412 4.138c.18.309.075.706-.234.885l-1.98 1.149c.156.934.161 1.857.005 2.797l1.995 1.149c.31.178.416.574.237.884l-2.388 4.138a.647.647 0 0 1-.874.242l-2.084-1.157-.108.096c-.764.671-1.44 1.075-2.422 1.353zm-1.294-.504c0-.303.21-.566.507-.632 1.043-.231 1.621-.545 2.355-1.19.114-.1.181-.161.432-.39a.647.647 0 0 1 .752-.09l1.933 1.074 1.747-3.026-1.834-1.056a.647.647 0 0 1-.308-.7 7.203 7.203 0 0 0-.005-3.178.647.647 0 0 1 .307-.699l1.816-1.054-1.764-3.026L16.793 5.7a.647.647 0 0 1-.756-.086c-.246-.226-.318-.291-.432-.391-.733-.644-1.311-.958-2.356-1.19a.647.647 0 0 1-.506-.632V1.294H9.257v2.107c0 .303-.21.566-.506.631-1.044.233-1.623.547-2.356 1.19-.114.101-.185.166-.432.392a.647.647 0 0 1-.756.086L3.32 4.632 1.555 7.658l1.816 1.054a.647.647 0 0 1 .308.699 7.203 7.203 0 0 0-.005 3.177.647.647 0 0 1-.31.7l-1.833 1.057 1.747 3.026 1.934-1.074a.647.647 0 0 1 .751.09c.25.229.318.29.432.39.734.645 1.312.959 2.355 1.19a.647.647 0 0 1 .507.632v2.107h3.486v-2.107zM14.276 11a3.275 3.275 0 1 1-6.551 0 3.275 3.275 0 0 1 6.55 0zm-1.294 0a1.981 1.981 0 1 0-3.963 0 1.981 1.981 0 0 0 3.963 0z"})})]})]}),S(Hg,{documentationUrl:c.documentationUrl,systemInfo:{applicationName:c.name,username:s,version:f,url:c.url}}),S(De,{href:"https://slack.xcomponent.com",as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,"aria-label":h.formatMessage({id:"contactDevelopers"}),children:b("svg",{viewBox:"8 8 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:"tw-w-[1.5rem] tw-h-[1.5rem] tw-block",children:[S("title",{children:h.formatMessage({id:"contactDevelopers"})}),S("path",{d:"M16.535 27.397a2.711 2.711 0 01-2.704 2.705 2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h2.704v2.705zM17.898 27.397a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772a2.712 2.712 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772z",fill:"#E01E5A"}),S("path",{d:"M20.603 16.535a2.711 2.711 0 01-2.705-2.704 2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v2.704h-2.705zM20.603 17.898a2.712 2.712 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772z",fill:"#36C5F0"}),S("path",{d:"M31.465 20.603a2.711 2.711 0 012.704-2.705 2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-2.704v-2.705zM30.102 20.603a2.711 2.711 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772z",fill:"#2EB67D"}),S("path",{d:"M27.397 31.465a2.711 2.711 0 012.705 2.704 2.711 2.711 0 01-2.705 2.705 2.712 2.712 0 01-2.705-2.705v-2.704h2.705zM27.397 30.102a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772a2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772z",fill:"#ECB22E"})]})}),p&&t&&S(Mg,{applicationDescriptions:t,refreshToken:p}),p&&s&&f&&m&&S(Fg,{username:s,version:f,onLogout:m}),S(zg,{language:l||"en",languages:u||["en"],onLanguageSelected:a}),!p&&b(R1,{children:[S(De,{className:"tw-ml-2 tw-mr-0 md:tw-ml-3 lg:tw-mr-3",size:"lg",href:v,as:"a",variant:"link",colorScheme:"gray",children:h.formatMessage({id:"login"})}),S(De,{className:"tw-ml-3 tw-hidden lg:tw-inline-block",size:"xl",href:v,as:"a",variant:"solid",colorScheme:"primary",children:h.formatMessage({id:"getStartedFree"})})]})]})}):(console.error(`Unknown application ${e}`),S("div",{"data-testid":"init-error"}))}const Ug={mainMenu:"Main menu",settings:"Settings",help:"Help",contactDevelopers:"Contact Community",contactus:"Contact Support",contactUsMailBody:`Hello Support team,
107
+ IMPORTANT: this check will only run in the development build, so if you see this warning please be aware that your app may crash when deployed.`),Ag(u);let s=Og(u,i),f;return s===-1?f=[...u,{...a,element:i,index:u.length}]:f=fp(u,{...a,element:i,index:s},s),f}),()=>{!i||r(u=>u.filter(s=>i!==s.element))}):du,[]);return S(e.Provider,{value:k.exports.useMemo(()=>({descendants:n,registerDescendant:o}),[n,o]),children:t})}function _g(e,t){let{descendants:n}=k.exports.useContext(e),{callback:r,currentIndex:o,filter:i,key:l="index",orientation:a="vertical",rotate:u=!0,rtl:s=!1}=t;return function(f){if(!["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(f.key))return;let m=o!=null?o:-1,p=i?n.filter(i):n;if(!p.length)return;let v=p.findIndex(c=>c.index===o);function y(){return m===h().index?u?N():p[v]:p[(v+1)%p.length]}function w(){return m===N().index?u?h():p[v]:p[(v-1+p.length)%p.length]}function N(){return p[0]}function h(){return p[p.length-1]}switch(f.key){case"ArrowDown":if(a==="vertical"||a==="both"){f.preventDefault();let x=y();r(l==="option"?x:x[l])}break;case"ArrowUp":if(a==="vertical"||a==="both"){f.preventDefault();let x=w();r(l==="option"?x:x[l])}break;case"ArrowLeft":if(a==="horizontal"||a==="both"){f.preventDefault();let x=(s?y:w)();r(l==="option"?x:x[l])}break;case"ArrowRight":if(a==="horizontal"||a==="both"){f.preventDefault();let x=(s?w:y)();r(l==="option"?x:x[l])}break;case"PageUp":f.preventDefault();let c=(f.ctrlKey?w:N)();r(l==="option"?c:c[l]);break;case"Home":f.preventDefault();let d=N();r(l==="option"?d:d[l]);break;case"PageDown":f.preventDefault();let E=(f.ctrlKey?y:h)();r(l==="option"?E:E[l]);break;case"End":f.preventDefault();let g=h();r(l==="option"?g:g[l]);break}}}function cp(e,t){return Boolean(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function Og(e,t){if(!t||!e.length)return-1;let n=e.length;for(;n--;){let r=e[n].element;if(!!r&&cp(r,t))return n+1}return-1}function fp(e,t,n){return n==null||!(n in e)?[...e,t]:[...e.slice(0,n),t,...e.slice(n)]}function Ag(e){return e.sort((t,n)=>!t.element||!n.element?0:cp(t.element,n.element)?-1:1).map((t,n)=>({...t,index:n}))}var dp="CLEAR_SELECTION_INDEX",wu="CLICK_MENU_ITEM",Gr="CLOSE_MENU",Dg="OPEN_MENU_AT_FIRST_ITEM",Eu="OPEN_MENU_AT_INDEX",pp="OPEN_MENU_CLEARED",Su="SEARCH_FOR_ITEM",Qt="SELECT_ITEM_AT_INDEX",ku="SET_BUTTON_ID",xi=Cg("DropdownDescendantContext"),[Hg,$r]=J1("Dropdown"),zg={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},hp=({id:e,children:t})=>{let n=k.exports.useRef(null),r=k.exports.useRef(null),o=k.exports.useRef(null),[i,l]=Pg(),a=sp(e),u=e||Wn("menu",a),s=Wn("menu-button",u),[f,m]=k.exports.useReducer(Gg,{...zg,triggerId:s}),p=k.exports.useRef(!1),v=k.exports.useRef([]),y=k.exports.useRef(!1),w=k.exports.useRef({x:0,y:0});return k.exports.useEffect(()=>{f.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame(()=>{Ti(r.current)})):window.__REACH_DISABLE_TOOLTIPS=!1},[f.isExpanded]),S(Ig,{context:xi,items:i,set:l,children:S(Hg,{dispatch:m,dropdownId:u,dropdownRef:r,mouseDownStartPosRef:w,popoverRef:o,readyToSelect:y,selectCallbacks:v,state:f,triggerClickedRef:p,triggerRef:n,children:Ei(t)?t({isExpanded:f.isExpanded,isOpen:f.isExpanded}):t})})};hp.displayName="DropdownProvider";function mp({onKeyDown:e,onMouseDown:t,id:n,ref:r,...o}){let{dispatch:i,dropdownId:l,mouseDownStartPosRef:a,triggerClickedRef:u,triggerRef:s,state:{triggerId:f,isExpanded:m}}=$r("useDropdownTrigger"),p=gn(s,r),v=Ep(),y=k.exports.useMemo(()=>v.findIndex(h=>!h.disabled),[v]);k.exports.useEffect(()=>{n!=null&&n!==f&&i({type:ku,payload:n})},[f,i,n]),k.exports.useEffect(()=>{n==null&&i({type:ku,payload:Wn("menu-button",l)})},[l,i,n]);function w(h){switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),i({type:Eu,payload:{index:y}});break;case"Enter":case" ":i({type:Eu,payload:{index:y}});break}}function N(h){Si(h.nativeEvent)||(a.current={x:h.clientX,y:h.clientY},m||(u.current=!0),i(m?{type:Gr}:{type:pp}))}return{data:{isExpanded:m,controls:l},props:{...o,ref:p,id:f||void 0,onKeyDown:ee(e,w),onMouseDown:ee(t,N),type:"button"}}}var Bg=k.exports.forwardRef(({as:e="button",...t},n)=>{let{props:r}=mp({...t,ref:n});return S(e,{"data-reach-dropdown-trigger":"",...r})});Bg.displayName="DropdownTrigger";function gp({index:e,isLink:t=!1,onClick:n,onDragStart:r,onMouseDown:o,onMouseEnter:i,onMouseLeave:l,onMouseMove:a,onMouseUp:u,onSelect:s,disabled:f,onFocus:m,valueText:p,ref:v,...y}){let{dispatch:w,dropdownRef:N,mouseDownStartPosRef:h,readyToSelect:c,selectCallbacks:d,triggerRef:E,state:{selectionIndex:g,isExpanded:x}}=$r("useDropdownItem"),R=k.exports.useRef(null),[P,V]=k.exports.useState(p||""),_=k.exports.useCallback(U=>{!p&&(U==null?void 0:U.textContent)&&V(U.textContent)},[p]),ue=k.exports.useRef(!1),[ft,xt]=eg(R,null),Te=k.exports.useMemo(()=>({element:ft,key:P,disabled:f,isLink:t}),[f,ft,t,P]),ie=Mg(Te,xi,e),tt=ie===g&&!f,Wr=gn(v,xt,_);d.current[ie]=s;function C(){Ti(E.current),s&&s(),w({type:wu})}function I(U){Si(U.nativeEvent)||t&&(f?U.preventDefault():C())}function O(U){t&&U.preventDefault()}function Y(U){Si(U.nativeEvent)||(t?ue.current=!0:U.preventDefault())}function ne(U){let Kt=Zt(N.current);!tt&&ie!=null&&!f&&((N==null?void 0:N.current)&&N.current!==Kt.activeElement&&R.current!==Kt.activeElement&&N.current.focus(),w({type:Qt,payload:{index:ie}}))}function Kn(U){w({type:dp})}function Tt(U){if(!c.current){let Kt=8,Uv=Math.abs(U.clientX-h.current.x),jv=Math.abs(U.clientY-h.current.y);(Uv>Kt||jv>Kt)&&(c.current=!0)}!tt&&ie!=null&&!f&&w({type:Qt,payload:{index:ie,dropdownRef:N}})}function Qr(){c.current=!0,!tt&&ie!=null&&!f&&w({type:Qt,payload:{index:ie}})}function Nt(U){if(!Si(U.nativeEvent)){if(!c.current){c.current=!0;return}t?ue.current?ue.current=!1:R.current&&R.current.click():f||C()}}return k.exports.useEffect(()=>{if(x){let U=window.setTimeout(()=>{c.current=!0},400);return()=>{window.clearTimeout(U)}}else c.current=!1},[x,c]),k.exports.useEffect(()=>{let U=Zt(R.current);return U.addEventListener("mouseup",Kt),()=>{U.removeEventListener("mouseup",Kt)};function Kt(){ue.current=!1}},[]),{data:{disabled:f},props:{id:wp(ie),tabIndex:-1,...y,ref:Wr,"data-disabled":f?"":void 0,"data-selected":tt?"":void 0,"data-valuetext":P,onClick:ee(n,I),onDragStart:ee(r,O),onMouseDown:ee(o,Y),onMouseEnter:ee(i,ne),onMouseLeave:ee(l,Kn),onMouseMove:ee(a,Tt),onFocus:ee(m,Qr),onMouseUp:ee(u,Nt)}}}var bg=k.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=gp({...t,ref:n});return S(e,{"data-reach-dropdown-item":"",...r})});bg.displayName="DropdownItem";function vp({id:e,onKeyDown:t,ref:n,...r}){let{dispatch:o,triggerRef:i,dropdownRef:l,selectCallbacks:a,dropdownId:u,state:{isExpanded:s,triggerId:f,selectionIndex:m,typeaheadQuery:p}}=$r("useDropdownItems"),v=Ep(),y=gn(l,n);k.exports.useEffect(()=>{let d=jg(v,p);p&&d!=null&&o({type:Qt,payload:{index:d,dropdownRef:l}});let E=window.setTimeout(()=>p&&o({type:Su,payload:""}),1e3);return()=>window.clearTimeout(E)},[o,v,p,l]);let w=pu(v.length),N=pu(v[m]),h=pu(m);k.exports.useEffect(()=>{m>v.length-1?o({type:Qt,payload:{index:v.length-1,dropdownRef:l}}):w!==v.length&&m>-1&&N&&h===m&&v[m]!==N&&o({type:Qt,payload:{index:v.findIndex(d=>d.key===(N==null?void 0:N.key)),dropdownRef:l}})},[l,o,v,w,N,h,m]);let c=ee(function(d){let{key:E}=d;if(s)switch(E){case"Enter":case" ":let g=v.find(x=>x.index===m);g&&!g.disabled&&(d.preventDefault(),g.isLink&&g.element?g.element.click():(Ti(i.current),a.current[g.index]&&a.current[g.index](),o({type:wu})));break;case"Escape":Ti(i.current),o({type:Gr});break;case"Tab":d.preventDefault();break;default:if(K1(E)&&E.length===1){let x=p+E.toLowerCase();o({type:Su,payload:x})}break}},_g(xi,{currentIndex:m,orientation:"vertical",rotate:!1,filter:d=>!d.disabled,callback:d=>{o({type:Qt,payload:{index:d,dropdownRef:l}})},key:"index"}));return{data:{activeDescendant:wp(m)||void 0,triggerId:f},props:{tabIndex:-1,...r,ref:y,id:u,onKeyDown:ee(t,c)}}}var Fg=k.exports.forwardRef(({as:e="div",...t},n)=>{let{props:r}=vp({...t,ref:n});return S(e,{"data-reach-dropdown-items":"",...r})});Fg.displayName="DropdownItems";function yp({onBlur:e,portal:t=!0,position:n,ref:r,...o}){let{triggerRef:i,triggerClickedRef:l,dispatch:a,dropdownRef:u,popoverRef:s,state:{isExpanded:f}}=$r("useDropdownPopover"),m=gn(s,r);return k.exports.useEffect(()=>{if(!f)return;let p=Zt(s.current);function v(y){l.current?l.current=!1:Vg(s.current,y.target)||a({type:Gr})}return p.addEventListener("mousedown",v),()=>{p.removeEventListener("mousedown",v)}},[l,i,a,u,s,f]),{data:{portal:t,position:n,targetRef:i,isExpanded:f},props:{ref:m,hidden:!f,onBlur:ee(e,p=>{p.currentTarget.contains(p.relatedTarget)||a({type:Gr})}),...o}}}var Ug=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=yp({...t,ref:n}),a={"data-reach-dropdown-popover":""};return r?S(vu,{...l,...a,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):S(e,{...l,...a})});Ug.displayName="DropdownPopover";function jg(e,t=""){if(!t)return null;let n=e.find(r=>{var o,i,l;return r.disabled?!1:(l=(i=(o=r.element)==null?void 0:o.dataset)==null?void 0:i.valuetext)==null?void 0:l.toLowerCase().startsWith(t)});return n?e.indexOf(n):null}function wp(e){let{dropdownId:t}=$r("useItemId");return e!=null&&e>-1?Wn(`option-${e}`,t):void 0}function Ti(e){e&&e.focus()}function Vg(e,t){return!!(e&&e.contains(t))}function Gg(e,t={}){switch(t.type){case wu:return{...e,isExpanded:!1,selectionIndex:-1};case Gr:return{...e,isExpanded:!1,selectionIndex:-1};case Dg:return{...e,isExpanded:!0,selectionIndex:0};case Eu:return{...e,isExpanded:!0,selectionIndex:t.payload.index};case pp:return{...e,isExpanded:!0,selectionIndex:-1};case Qt:{let{dropdownRef:n={current:null}}=t.payload;if(t.payload.index>=0&&t.payload.index!==e.selectionIndex){if(n.current){let r=Zt(n.current);n.current!==(r==null?void 0:r.activeElement)&&n.current.focus()}return{...e,selectionIndex:t.payload.max!=null?Math.min(Math.max(t.payload.index,0),t.payload.max):Math.max(t.payload.index,0)}}return e}case dp:return{...e,selectionIndex:-1};case ku:return{...e,triggerId:t.payload};case Su:return typeof t.payload<"u"?{...e,typeaheadQuery:t.payload}:e;default:return e}}function Ep(){return Lg(xi)}var Xr=k.exports.forwardRef(({as:e=k.exports.Fragment,id:t,children:n,...r},o)=>{let i=k.exports.useMemo(()=>{try{return Xa.exports.isFragment(S(e,{}))}catch{return!1}},[e])?{}:{ref:o,id:t,"data-reach-menu":"",...r};return S(e,{...i,children:S(hp,{id:t,children:n})})});Xr.displayName="Menu";var Zr=k.exports.forwardRef(({as:e="button",...t},n)=>{let{data:{isExpanded:r,controls:o},props:i}=mp({...t,ref:n});return S(e,{"aria-expanded":r?!0:void 0,"aria-haspopup":!0,"aria-controls":o,...i,"data-reach-menu-button":""})});Zr.displayName="MenuButton";var xu=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{disabled:r},props:o}=gp({...t,ref:n});return S(e,{role:"menuitem",...o,"aria-disabled":r||void 0,"data-reach-menu-item":""})});xu.displayName="MenuItemImpl";var Sp=k.exports.forwardRef(({as:e="div",...t},n)=>S(xu,{...t,ref:n,as:e}));Sp.displayName="MenuItem";var kp=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{activeDescendant:r,triggerId:o},props:i}=vp({...t,ref:n});return S(e,{"aria-activedescendant":r,"aria-labelledby":o||void 0,role:"menu",...i,"data-reach-menu-items":""})});kp.displayName="MenuItems";var Ni=k.exports.forwardRef(({as:e="a",component:t,onSelect:n,...r},o)=>(k.exports.useEffect(()=>{t&&console.warn("[@reach/menu-button]: Please use the `as` prop instead of `component`")},[t]),S(xu,{...r,ref:o,"data-reach-menu-link":"",as:e,isLink:!0,onSelect:n||du})));Ni.displayName="MenuLink";var xp=k.exports.forwardRef(({portal:e=!0,...t},n)=>S(Tp,{portal:e,children:S(kp,{...t,ref:n,"data-reach-menu-list":""})}));xp.displayName="MenuList";var Tp=k.exports.forwardRef(({as:e="div",...t},n)=>{let{data:{portal:r,targetRef:o,position:i},props:l}=yp({...t,ref:n}),a={"data-reach-menu-popover":""};return r?S(vu,{...l,...a,as:e,targetRef:o,position:i,unstable_skipInitialPortalRender:!0}):S(e,{...l,...a})});Tp.displayName="MenuPopover";function Ri({children:e,withMinWidth:t=!0,className:n,...r}){return S(xp,{...r,className:wi({"tw-min-w-[13.125rem]":t},"motion-safe:data-[reach-menu-list]:tw-animate-slideDown motion-safe:data-[reach-menu-items]:tw-animate-slideDown tw-z-[1] tw-mt-2 tw-bg-white tw-shadow-[0_1px_2px_0_rgb(60,64,67,0.3),0_2px_6px_2px_rgb(60,64,67,0.15)] tw-outline-none tw-will-change-transform",n),children:e})}function $g({applicationDescriptions:e,refreshToken:t}){const n=mn(),r=Object.values(e).filter(o=>!o.hidden).map(o=>({...o,url:`${o.url}${t?`#refreshToken=${t}`:""}`}));return B(Xr,{children:[B(Zr,{as:_e,className:"aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"appSelector"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",children:[S("title",{children:n.formatMessage({id:"appSelector"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M15 20h5v-5h-5m0-2.5h5v-5h-5M7.5 5h5V0h-5M15 5h5V0h-5M7.5 12.5h5v-5h-5m-7.5 5h5v-5H0M0 20h5v-5H0m7.5 5h5v-5h-5M0 5h5V0H0v5z"})})]})]}),S(Ri,{className:"tw-grid tw-max-w-[250px] tw-grid-cols-2 tw-gap-3 tw-px-4 tw-py-4",children:r.map(o=>B(Ni,{className:"data-selected:tw-duration-150 tw-flex tw-flex-col tw-items-center tw-gap-2 tw-rounded-lg tw-px-2 tw-py-2 tw-text-center tw-text-sm tw-font-light tw-text-black tw-no-underline tw-transition-colors tw-duration-500 hover:tw-cursor-pointer hover:tw-bg-gray-50 hover:tw-duration-150 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",href:o.url,children:[S("img",{alt:"",width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${o.logo}`,className:"tw-my-0 tw-mx-2 tw-block"}),o.name]},`app-selector-${o.name}`))})]})}function Np({children:e,className:t,...n}){return S("h1",{...n,className:wi("tw-my-0 tw-mr-auto tw-ml-2 tw-text-lg tw-font-light tw-leading-none tw-tracking-wide tw-text-black md:tw-text-xl lg:tw-text-2xl",t),children:e})}var Rp=k.exports.forwardRef(function({as:e="span",style:t={},...n},r){return S(e,{ref:r,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal",...t},...n})});Rp.displayName="VisuallyHidden";var Xg=100,Zg=500,Tu={initial:"IDLE",states:{IDLE:{enter:Cu,on:{MOUSE_ENTER:"FOCUSED",FOCUS:"VISIBLE"}},FOCUSED:{enter:Kg,leave:Yg,on:{MOUSE_MOVE:"FOCUSED",MOUSE_LEAVE:"IDLE",MOUSE_DOWN:"DISMISSED",BLUR:"IDLE",REST:"VISIBLE"}},VISIBLE:{on:{FOCUS:"FOCUSED",MOUSE_ENTER:"FOCUSED",MOUSE_LEAVE:"LEAVING_VISIBLE",BLUR:"LEAVING_VISIBLE",MOUSE_DOWN:"DISMISSED",SELECT_WITH_KEYBOARD:"DISMISSED",GLOBAL_MOUSE_MOVE:"LEAVING_VISIBLE"}},LEAVING_VISIBLE:{enter:Jg,leave:()=>{qg(),Cu()},on:{MOUSE_ENTER:"VISIBLE",FOCUS:"VISIBLE",TIME_COMPLETE:"IDLE"}},DISMISSED:{leave:()=>{Cu()},on:{MOUSE_LEAVE:"IDLE",BLUR:"IDLE"}}}},Xe={value:Tu.initial,context:{id:null}},Ci=[];function Wg(e){return Ci.push(e),()=>{Ci.splice(Ci.indexOf(e),1)}}function Qg(){Ci.forEach(e=>e(Xe))}var Nu;function Kg(){window.clearTimeout(Nu),Nu=window.setTimeout(()=>{et({type:"REST"})},Xg)}function Yg(){window.clearTimeout(Nu)}var Ru;function Jg(){window.clearTimeout(Ru),Ru=window.setTimeout(()=>et({type:"TIME_COMPLETE"}),Zg)}function qg(){window.clearTimeout(Ru)}function Cu(){Xe.context.id=null}function Cp({id:e,onPointerEnter:t,onPointerMove:n,onPointerLeave:r,onPointerDown:o,onMouseEnter:i,onMouseMove:l,onMouseLeave:a,onMouseDown:u,onFocus:s,onBlur:f,onKeyDown:m,disabled:p,ref:v,DEBUG_STYLE:y}={}){let w=String(sp(e)),[N,h]=k.exports.useState(y?!0:Pp(w,!0)),c=k.exports.useRef(null),d=gn(v,c),E=ki(c,{observe:N});k.exports.useEffect(()=>Wg(()=>{h(Pp(w))}),[w]),k.exports.useEffect(()=>{let Te=Zt(c.current);function ie(tt){(tt.key==="Escape"||tt.key==="Esc")&&Xe.value==="VISIBLE"&&et({type:"SELECT_WITH_KEYBOARD"})}return Te.addEventListener("keydown",ie),()=>Te.removeEventListener("keydown",ie)},[]),ov({disabled:p,isVisible:N,ref:c});function g(Te,ie){return typeof window<"u"&&"PointerEvent"in window?Te:ee(Te,ie)}function x(Te){return function(ie){ie.pointerType==="mouse"&&Te(ie)}}function R(){et({type:"MOUSE_ENTER",id:w})}function P(){et({type:"MOUSE_MOVE",id:w})}function V(){et({type:"MOUSE_LEAVE"})}function _(){Xe.context.id===w&&et({type:"MOUSE_DOWN"})}function ue(){window.__REACH_DISABLE_TOOLTIPS||et({type:"FOCUS",id:w})}function ft(){Xe.context.id===w&&et({type:"BLUR"})}function xt(Te){(Te.key==="Enter"||Te.key===" ")&&et({type:"SELECT_WITH_KEYBOARD"})}return[{"aria-describedby":N?Wn("tooltip",w):void 0,"data-state":N?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:d,onPointerEnter:ee(t,x(R)),onPointerMove:ee(n,x(P)),onPointerLeave:ee(r,x(V)),onPointerDown:ee(o,x(_)),onMouseEnter:g(i,R),onMouseMove:g(l,P),onMouseLeave:g(a,V),onMouseDown:g(u,_),onFocus:ee(s,ue),onBlur:ee(f,ft),onKeyDown:ee(m,xt)},{id:w,triggerRect:E,isVisible:N},N]}var ev=k.exports.forwardRef(function({children:e,label:t,ariaLabel:n,id:r,DEBUG_STYLE:o,...i},l){let a=k.exports.Children.only(e);k.exports.useEffect(()=>{n&&console.warn("The `ariaLabel prop is deprecated and will be removed from @reach/tooltip in a future version of Reach UI. Please use `aria-label` instead.")},[n]);let[u,s]=Cp({id:r,onPointerEnter:a.props.onPointerEnter,onPointerMove:a.props.onPointerMove,onPointerLeave:a.props.onPointerLeave,onPointerDown:a.props.onPointerDown,onMouseEnter:a.props.onMouseEnter,onMouseMove:a.props.onMouseMove,onMouseLeave:a.props.onMouseLeave,onMouseDown:a.props.onMouseDown,onFocus:a.props.onFocus,onBlur:a.props.onBlur,onKeyDown:a.props.onKeyDown,disabled:a.props.disabled,ref:a.ref,DEBUG_STYLE:o});return B(yi,{children:[k.exports.cloneElement(a,u),S(Mu,{ref:l,label:t,"aria-label":n,...s,...i})]})});ev.displayName="Tooltip";var Mu=k.exports.forwardRef(function({label:e,ariaLabel:t,isVisible:n,id:r,...o},i){return n?S(hu,{children:S(Mp,{ref:i,label:e,"aria-label":t,isVisible:n,...o,id:Wn("tooltip",String(r))})}):null});Mu.displayName="TooltipPopup";var Mp=k.exports.forwardRef(function({ariaLabel:e,"aria-label":t,as:n="div",id:r,isVisible:o,label:i,position:l=rv,style:a,triggerRect:u,...s},f){let m=(t||e)!=null,p=k.exports.useRef(null),v=gn(f,p),y=ki(p,{observe:o});return B(yi,{children:[S(n,{role:m?void 0:"tooltip",...s,ref:v,"data-reach-tooltip":"",id:m?void 0:r,style:{...a,...tv(l,u,y)},children:i}),m&&S(Rp,{role:"tooltip",id:r,children:t||e})]})});Mp.displayName="TooltipContent";function tv(e,t,n){return n?e(t,n):{visibility:"hidden"}}var nv=8,rv=(e,t,n=nv)=>{let{width:r,height:o}=q1();if(!e||!t)return{};let i={top:e.top-t.height<0,right:r<e.left+t.width,bottom:o<e.bottom+t.height+n,left:e.left-t.width<0},l=i.right&&!i.left,a=i.bottom&&!i.top;return{left:l?`${e.right-t.width+window.pageXOffset}px`:`${e.left+window.pageXOffset}px`,top:a?`${e.top-n-t.height+window.pageYOffset}px`:`${e.top+n+e.height+window.pageYOffset}px`}};function ov({disabled:e,isVisible:t,ref:n}){k.exports.useEffect(()=>{if(!(typeof window<"u"&&"PointerEvent"in window)||!e||!t)return;let r=Zt(n.current);function o(i){!t||i.target instanceof Element&&i.target.closest("[data-reach-tooltip-trigger][data-state='tooltip-visible']")||et({type:"GLOBAL_MOUSE_MOVE"})}return r.addEventListener("mousemove",o),()=>{r.removeEventListener("mousemove",o)}},[e,t,n])}function et(e){let{value:t,context:n,changed:r}=iv(Xe,e);r&&(Xe={value:t,context:n},Qg())}function iv(e,t){let n=Tu.states[e.value],r=n&&n.on&&n.on[t.type];if(!r)return{...e,changed:!1};n&&n.leave&&n.leave(e.context,t);const{type:o,...i}=t;let l={...Xe.context,...i},a=typeof r=="string"?r:r.target,u=Tu.states[a];return u&&u.enter&&u.enter(e.context,t),{value:a,context:l,changed:!0}}function Pp(e,t){return Xe.context.id===e&&(t?Xe.value==="VISIBLE":Xe.value==="VISIBLE"||Xe.value==="LEAVING_VISIBLE")}const lv=(e,t)=>{const n=e&&t?e.right-t.width+window.scrollX:"",r=e?e.bottom+window.scrollY:"";return{left:`${n}px`,top:`${r}px`}};function av({children:e,label:t}){const[n,r]=Cp();return B(yi,{children:[we.cloneElement(e,n),S(Mu,{...r,label:t,"aria-label":t,style:{background:"white",color:"black",border:"none",borderRadius:"0.5rem",boxShadow:"0 2px 10px rgba(0,0,0,0.1)"},position:lv,className:"tw-border tw-border-blue-500 tw-p-2"})]})}const uv="support@xcomponent.com",sv="sales@xcomponent.com";function cv({systemInfo:e,documentationUrl:t}){const n=mn();return B(Xr,{children:[B(Zr,{className:"aria-expanded:tw-text-primary-700 aria-expanded:tw-bg-primary-100 aria-expanded:tw-border-primary-100 tw-hidden aria-expanded:tw-duration-150 sm:tw-inline-block",as:_e,variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"help"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",children:[S("title",{children:n.formatMessage({id:"help"})}),B("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:[S("path",{d:"M11 2.221c2.343 0 4.548.915 6.209 2.57A8.742 8.742 0 0 1 19.779 11a8.742 8.742 0 0 1-2.57 6.209A8.742 8.742 0 0 1 11 19.779a8.742 8.742 0 0 1-6.209-2.57A8.742 8.742 0 0 1 2.221 11c0-2.343.915-4.548 2.57-6.209A8.742 8.742 0 0 1 11 2.221M11 0C4.924 0 0 4.924 0 11s4.924 11 11 11 11-4.924 11-11S17.076 0 11 0z"}),S("path",{d:"M9.89 15.39h2.22v2.22H9.89v-2.22zm2.21-1.111H9.9c0-3.543 3.3-3.29 3.3-5.49A2.21 2.21 0 0 0 11 6.584c-1.211 0-2.2 1.031-2.2 2.195H6.6a4.388 4.388 0 0 1 4.4-4.39c2.433 0 4.4 1.962 4.4 4.395 0 2.75-3.3 3.062-3.3 5.495z"})]})]})]}),B(Ri,{children:[t&&S(Pu,{href:t,label:n.formatMessage({id:"documentation"}),icon:B("svg",{className:Lu,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:[S("path",{strokeWidth:"1",fill:"currentColor",d:"M52.586 20.5H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM52.586 32.1H70.25a1.5 1.5 0 100-3H52.586a1.5 1.5 0 100 3zM70.25 40.7h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 52.3h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM70.25 63.9h-40.5a1.5 1.5 0 100 3h40.5a1.5 1.5 0 100-3zM56 75.5H29.75a1.5 1.5 0 100 3H56a1.5 1.5 0 100-3zM44.181 35.785a1.5 1.5 0 001.5-1.5V16a1.5 1.5 0 00-1.5-1.5H28.896a1.5 1.5 0 00-1.5 1.5v18.285a1.5 1.5 0 001.5 1.5h15.285zM30.396 17.5h12.285v15.285H30.396V17.5z"}),S("path",{strokeWidth:"1",fill:"currentColor",d:"M78.521 5H21.479a4.067 4.067 0 00-4.063 4.063v81.875a4.067 4.067 0 004.063 4.063h43.522c.161 0 .314-.032.46-.08.023-.007.045-.012.067-.021.148-.056.282-.136.404-.233.011-.008.024-.011.034-.02L82.05 81.083c.015-.013.026-.029.041-.042a1.27 1.27 0 00.114-.118c.03-.034.06-.068.086-.104.03-.041.056-.084.082-.128a1.2 1.2 0 00.066-.122c.021-.045.038-.092.055-.139a1.315 1.315 0 00.084-.43c.001-.021.006-.041.006-.062V9.063A4.068 4.068 0 0078.521 5zM20.417 90.938V9.063c0-.586.476-1.063 1.062-1.063h57.042c.586 0 1.063.477 1.063 1.063v69.374H65a1.5 1.5 0 00-1.5 1.5V92H21.479a1.063 1.063 0 01-1.062-1.062zm56.562-9.501L66.5 90.273v-8.837h10.479z"})]})}),S(Pu,{href:fu(uv,`[${e.applicationName}] Support Request`,n.formatMessage({id:"contactUsMailBody"}),e),label:n.formatMessage({id:"contactus"}),icon:S("svg",{className:Lu,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M16 21c-4.397 0-8 3.603-8 8v42c0 4.397 3.603 8 8 8h68c4.397 0 8-3.603 8-8V29c0-4.397-3.603-8-8-8H16zm0 4h68c.338 0 .657.05.969.125L51.594 57.406c-.736.712-2.452.712-3.188 0L15.031 25.125A4.1 4.1 0 0116 25zm-3.844 2.969l23.375 22.594L12.438 72.78C12.172 72.243 12 71.653 12 71V29c0-.363.07-.7.156-1.031zm75.688 0c.086.332.156.668.156 1.031v42c0 .653-.173 1.243-.438 1.781L64.47 50.563l23.375-22.594zM38.406 53.344l7.188 6.937c2.44 2.36 6.373 2.36 8.812 0l7.188-6.937L84.094 75H15.906l22.5-21.656z"})})})}),S(Pu,{href:fu(sv,`[${e.applicationName}] Sales Contact Request`,n.formatMessage({id:"contactSalesMailBody"}),e),label:n.formatMessage({id:"contactSales"}),icon:S("svg",{className:Lu,"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M16 21c-4.397 0-8 3.603-8 8v42c0 4.397 3.603 8 8 8h68c4.397 0 8-3.603 8-8V29c0-4.397-3.603-8-8-8H16zm0 4h68c.338 0 .657.05.969.125L51.594 57.406c-.736.712-2.452.712-3.188 0L15.031 25.125A4.1 4.1 0 0116 25zm-3.844 2.969l23.375 22.594L12.438 72.78C12.172 72.243 12 71.653 12 71V29c0-.363.07-.7.156-1.031zm75.688 0c.086.332.156.668.156 1.031v42c0 .653-.173 1.243-.438 1.781L64.47 50.563l23.375-22.594zM38.406 53.344l7.188 6.937c2.44 2.36 6.373 2.36 8.812 0l7.188-6.937L84.094 75H15.906l22.5-21.656z"})})})})]})]})}function Pu({href:e,label:t,icon:n}){return B(Ni,{className:"tw-m-0 tw-flex tw-items-center tw-gap-4 tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black tw-no-underline hover:tw-cursor-pointer hover:tw-bg-gray-50 data-[selected]:tw-cursor-pointer data-[selected]:tw-bg-gray-50",href:e,target:"_blank",rel:"noopener noreferrer nofollow",children:[n,t]})}const Lu="tw-w-[1.5rem] tw-h-[1.5rem] tw-block",Lp="x4b.language",fv=e=>{window.localStorage.setItem(Lp,e)};function Ip(){return window.localStorage.getItem(Lp)||"en"}const _p={en:"EN - English",fr:"FR - Fran\xE7ais"};function dv({language:e,languages:t,onLanguageSelected:n}){return B(Xr,{children:[S(Zr,{as:_e,className:"aria-expanded:tw-border-gray-100 aria-expanded:tw-bg-gray-100 aria-expanded:tw-text-gray-700 aria-expanded:tw-duration-150",variant:"ghost",colorScheme:"gray",rounded:!0,compact:!0,children:B("div",{className:"tw-min-w-[36px] tw-text-base lg:tw-text-lg",children:[S("span",{children:e.toUpperCase()}),B("svg",{"aria-hidden":!0,className:"tw-ml-1 !tw-inline-block",xmlns:"http://www.w3.org/2000/svg",width:"8",height:"5",viewBox:"0 0 8 5",children:[S("defs",{children:S("path",{id:"a",d:"M1367.876 32.83a.5.5 0 01-.752-.66l3.5-4a.5.5 0 01.752 0l3.5 4a.5.5 0 01-.752.66L1371 29.26l-3.124 3.57z"})}),S("use",{fill:"currentColor",transform:"matrix(1 0 0 -1 -1367 33)",xlinkHref:"#a"})]})]})}),S(Ri,{withMinWidth:!1,className:"tw-min-w-fit",children:t.filter(r=>_p[r]).map(r=>S(Sp,{className:"tw-cursor-pointer tw-whitespace-nowrap tw-py-2 tw-px-4 tw-text-base tw-font-normal tw-leading-normal tw-tracking-normal tw-text-black hover:tw-bg-gray-50 data-[selected]:tw-bg-gray-50",onSelect:()=>{fv(r),n&&n(r)},children:_p[r]},r))})]})}function pv({count:e,onClick:t}){const n=mn();return B(_e,{className:"tw-hidden sm:tw-inline-block",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:t,children:[S("p",{className:"tw-sr-only",children:n.formatMessage({id:"notifications"})}),B("svg",{"aria-hidden":!0,width:"22",height:"22",opacity:"0.9",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"tw-block tw-scale-[1.08]",children:[S("title",{children:n.formatMessage({id:"notifications"})}),S("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"})]}),e?S("div",{className:"tw-absolute tw-top-[0.3em] tw-left-[22px] tw-min-w-[1em] tw-rounded-[1em] tw-bg-red-600 tw-py-[0.1em] tw-px-[0.3em] tw-text-center tw-text-[0.8em] tw-font-semibold tw-leading-[1em] tw-text-white",children:e}):void 0]})}function hv({username:e,version:t,onLogout:n}){const r=mn();return B(Xr,{children:[B(Zr,{className:"!tw-px-0 !tw-py-0 tw-transition-opacity hover:tw-opacity-80 aria-expanded:tw-opacity-80 aria-expanded:tw-duration-150",as:_e,variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,children:[S("p",{className:"tw-sr-only",children:r.formatMessage({id:"userAccountTooltip"})}),B("svg",{"aria-hidden":!0,width:44,height:44,viewBox:"0 0 44 44",version:"1.1",children:[S("title",{children:r.formatMessage({id:"userAccountTooltip"})}),S("defs",{children:S("clipPath",{id:"user-badge--clip-path",children:S("circle",{cx:"50%",cy:"50%",r:"22",fill:"#FFFFFF",fillRule:"evenodd"})})}),S("image",{width:"44",height:"44",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfMAAAHyCAMAAADIjdfcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYBQTFRFM22C0LKTQX6aSEhIRoSiSoyuMGp+0cjRRICdNXCFQH2ZP3uWs7OwJ11xhoeGR2VzSIalSousPnqVSoqrOHOKz6jORoalPHmT/ubPR4enR4WkRYSjPXqUoYt2VVVVQ4GeOnaPSYqs5NbjOXSNS4ytrGeqcXBvdIeENnGIRVZdRUVFSl9o/vDjOVll4sWlRXSKLlpp/dy8sKqXN1FaUVFR8cqjO3eQTExMPnuWk5uYbZKet5yCR4OgRElL0b2jW4mboKWiRm19TIOa/dKoT4efQk1STI2vUVtf////Rn6apFiiU1dZSIioQHePQoCcSYmpRYKgRYOhQX+bQHSLRIKgQ4GdRIOhSIinQHyXPHiROnWNPnmTSImqO3iRQn+cQoCdSImpSYqqOnWOQX6ZSYioQ4CdOXSMuoK56ebpjnxs8/Pz5r2eUFVXc2hdXl5f/dWuXFZRUE1L+fT58+rz/vz5Z19X/vjxQXCEXHp+OHSOak5pSH+bRnuUklWRgW6AU0pTDizfXgAAHjtJREFUeNrs3etjE8d2APAxohKxPRZ140DBXqe6tYikGBljX9coMiiKasVcqHmlUFJyb9Nb2WBjDAFze932X69k+aHHrnYeZ2bOked8SfIFVvvLOXNmZneW/TPC+JvI+MeT+NuI+Ie/C40//ennn3/+4x//pTP+0BX/+Yd/bcbf98Xldnx1FEf/eq03Ll4/jYtH8eg0fjqKp+3YPInmv892x7Oj+POlS5d++eVhZ7w6icftuNAVv452xvPuGOuJycnJ6WZMTjJPft7IMZp7crPk08yTnzdyfOae3DQ5OnNPbpwcm7knN0+OzNyTWyDHZe7JbZCjMvfkVsgxmXtyO+RXmCc/b+QvmSc/b+RozD25NXIs5p7cHjkSc09ukRyHuSe3SY6ib/fkVskxmHtyu+QIzD25ZXL35p7cNrlzc09undy1uSe3T+7Y3JM7IHdr7sldkDs19+ROyF2ae3I35A7NPbkj8hfMk583cmfmntwZuStzT+6O3JG5J3dI7sbck7skd2LuyZ2SuzD35G7JHZh7csfk9s09uWty6+ae3Dn5vzNPft7ILZt7cgTkds09OQZyq+aeHAW5TXNPjoP898yTnzdye+aeHAu5NXNPjobclrknx0NuydyTIyK3Y+7JMZFbMffkqMhtmHtyXOQWzD05MnLz5p4cG7lxc0+Ojty0uSfHR27Y3JMjJP+aefLzRm7U3JOjJDdp7slxkhs09+RIyc2Ze3Ks5MbMPTlaclPmnhwvuSFzT46Y3Iy5J8dMbsTck6MmN2HuyXGTGzD35MjJ/4OdH/LDYiWdzjWjlj+JWus/0+l0sXiOyMHNMZJvNrFz5XxM1Jr4xUvngBzaHB35YaUjrQWinEsfHA43+b+xISb/sRKf3VHwxeElhzXHRH6YruW1ouk+nOSg5njItcFP3Q+HjxzSHAv5dxUY8OPWLl0cMnJAcyTkP6bLeeCoFYrDRA5njoP8x0LeSNRaRX5IyMHMUZCbEm+P7QdDQg5ljoF806R4O9l/HQZyIHMM5JVy3nwUDumTw5gjID+s5e1Erkid/HdsOMjTeXvRVCdNDmHuntxakp+qUyb/LzYE5FZG8h71Q7rk+ubuyQt5F1E4pEqube6cfLOWdxPlClFyXXPX5MWKK/JWgX9AklzT3Cl5Me3Qux1piuR65g7Ji4VyHkGcpjohci1zZ+TfVWp5JFGukCPXMXdF/l26nEcUBWrkGuauyCuoxFv1/TktcnVzR+TFWh5d1B6QIlc2d0P+XTqPMcpPKJGrmrshP6zl83jRqZB/yQiRV/Joo4lOhlzN3An5d4U84iiPkSFXMndDXsujjtoYFXIVcyfkf0VO3pyyUSFXMHdCfljOo480EXJ5c08eGU9okEub+7F8wJBOg1zW3JMPrO4kyCXN3czLc3kq8YQCuZy5G/I0GfJ8jgK5lLlffYuN+TH85DLmbsj/WqZkXuZj6MklzB1tntbypOI2H8NOLm7uiDydJxacjyEnFzZ3RH5IjbyZ6PyfcJOLmrt6ECpHzryZ6Pz3qMkFzZ09+0aPvJXoJ+g4ycXMnT3hWiNoXuYn6EjJhcydPceezueJJnoLHSu5iLm7VxfKJM1r/AgdLbmAubsXlGimeT6/cIT+JVbyeHN35ETT/Li4c/4NUvJYc4evIVbyVIP3oqMijzN3+bJxjaz5Qg86LvIYc5fkRbLkx13cKToy8m8Y2iMFCnTNT4o75wwh+UBzp+SbZcLmt0/Rk/jIB5m7PSumQpj8rLg30dGRDzB3fDxQjrL5WXHvRUdAHm3u+kQo0uSnnXsvOgbySHPnh4DRNr/NO9GvoCKPMnd+1F+atnmZd8UVTOQR5u4P9Kzlh6e4n6AjIQ83d0++SZy8u7i30bGQh5ojOI9dZTjf30Vszq+gIQ8zx/ChDcnhfD9bGqlWqyW0A3ozXmAhDzFH8QUlqdn5dql6HCW0A3oz/oKEvN8cx3fSxBde92eWq2exjbe4t9BRkPeZ4yDfVBPHhB5izn+HgrzXHMkHMEVbuO0ecUToZR6GjoG8xxzLZ27FNljejVRDAsuYzgegOyXvNkfzMeu0YpJjQl8IRf/GPXmXOZ7vl4s8L1GqRsXIPtYBvRlfOCfvNMdDLjBV2x+pRsebj3jN+ReuyTvMEZHHmw8kr1aXEXRyNR6F7pj8zBwT+eWaHnlrUN/H2cQdo7skPzVHRX5Zm7w5qH/E2cS1y7tL8i8YRvI4cwFyBPU92pwnXZIfmyMjv6zasfek+juUTVwnugvytjk28sHm21XRcJvqg8yP0Z2QH5mjIx9ovluVCJejeo3Hobshb5njIx9kvv+mKhXuGvgyj0F3RN40R0j+FcBgflbgZ9BN1o7Rv3ZD/gXDSP4VUGU/WZbbRmnO+ddOyAeYOyT/CqyyO1VfEEO3TR5t7pI82nymqhgu1OPNW+jWySPNnZJHmr9brlbV1fcxTdZO0O2TR5m7Jf8KrIHr6ebeoTM/QrdLHmHumPxyxCOQ76q6UcpiM+d/sU0ebu6a/HLORJofl/gSyDLN/u7MzEzMaFETMudfWiYPNXdOHmH+rgoTI9uaNf5j6WSXp/RO37wT3QZ5mLl78gjzUhUsRtSz/d3MG8El/TKXRbdCHmKOgDzcfH+5ChnLJYV0f7c9IvFwNZdEt0Peb46B/FpObz9NYnDflsj33VLoxv22vnkb3RJ5nzkK8nDzkaqZGCltx7/Rurtdiiwz2/rmLXRb5L3mOMivhT3f/rFqMt6MlGayu2FJv5udKcU8cflRfSHu7CQ5a+Q95kjIQ81LVSvxZqQVzYlYqfVPseX9EQDzTnSz5N3mWMhDzd9U8cYMgPkZumHyLnM05GHmH6uY4x2A+Qm6afJOczzkYeYl1OYlCPM2unHyDnNE5GHmb6r0El3WvIVunvzMHBP5taKxdVerI7q0OU9aID81R0UeYr6N3PwNjHkT3Tj5iTku8hDzEnLz6kcYc540Tn5sjow8xHwZu3kJyPwU3Rh52xwbeb/5Lnby0OKuZH6Mbo78yBwd+bVDasN5eOeuZn6EbpC8ZY6P/No1csN56E6LonkT3SR50xwj+TVis/OIAV3VnPMvDZJ/wVCSXyQ2O4/YaFE370QHJ2coya+Ta+GaAWp+hg5PzlCSXy8Dvb7itonTMT9BN0DOUJJfz5Fr4arVXVjzNroJcoaSvNd8hIL5NrB5C90IOUNJ3mtOgTxkm0XTnH9phpyhJO8x/0jCvKTzDGTEoWJGyBlK8usFem17yGSNG0LXJGcoya+nqa28GjIPRdclZyjJe8xJTNX6J+hlbgRdm5yhJO8xH6FpXuMm0PXJGUryi0VvfvaQHDQ5Q0neY75Mw3xX6cwBOXQIcoaSvMe8er7NO9BByBlK8osXvXnXhjooOcNJfpHe9LzffIEDowORM5zkj2oEzbfNmR+hQ5EznOR3Os/+oGI+A78k04kORs5Qkq+2HiTdpbUM122eLS1XF2HRwcgZVvKOTYsZcua77ef3zKMrkTOE5HeXu3eqyJmfPuLx2TC6GjnDR/5ovGd7kpr52VM9N7lRdEVyho/8h95WmIp5qf9Brhsm0VXJGTryR/c67tnyOypPw51upnZdLeyI3o2uTM7QkT+62XsfRyiZ90wyuDF0dXKGjvxR30IHJfPex7g+m0LXIGfoyO9037Q3tMx7r3WVm0HXIWfYyLuG83aiEzLvazcXuRF0LXKGjbxjpnaS6FTMl0OOIR7hJtD1yBk28kdrfVsXVMyrYTMMbgJdj5xhI+83HyFjHvb6LDeCznTIGTby7qlau2ZSMS/ZMuecaZAzbOQ/VYcrPltHjyVn2Mi9uSZ6PDnDRu7N9dCZqrlD8mEzr3Cr6EzV3CX5TzeHy5xzm+hM1dwp+U9r3lwZnamauyV/6s2V0ZmquWPyp+NDRb7G7aEzVXPX5E/vDZX5CLeGLiqeZNjIn64OlfmiafPTxXdh8l5z9+RP7wyV+Sq3hC5O3mOOgPzpD35JRgFdgrzbHAP5082hmqBXuBV0GfIucxzkm8M0WVvmViIpQ95pjoR8c5ga9xGOCT3Za46FfPOOb+HMoCd7zdGQb276Fs4IerLXHBH5MA3onKNBT/aaYyIfogF9kaNBT/aaoyIfogH9BseCnuw1x0X+9OnQzNArHAl6stccG/nQbK2tcY4DPdlrjo58dliK+wTHgZ7sNcdHPjs7JMU9yVGgJ3vNMZLPDkfnvsg5BvRkvzlC8tnh2Fv7zDGgJ/vNMZLPzg5DF3eTcwToyVBzhOSzd/3kHAY9GWqOkXx2ds2nOQR6MtQcJ/kQTNcmuHv0ZIQ5SnL6ie4wzU/RkxHmSMnJj+g3uHP0pIg5IvLZZ4v+ARk99KSIOSryZz+QXoyrcOfoIua4yJ89o9zGrXKOF52hJX9GuLqvcY4YneEl//MlqtV9ucIxozPE5Jd+WKZp/plzzOgMMfmlX+6QRL/BOWp0hpn8l4cU0RGRh6Mz1OQPH96hNqYvoyIPRWe4yR8+/J5W9z5S4Rw7OkNO3oy742QK/OJnji9CzLGTPyRT4SscZ/SZUyB/+IpCgV/jnAY6I0H+isI67Congs5IkL/63q/EwKEzEuSvXuF/hGKZcyLojAb5K/wniC1yKuiMBvkr/I/N3OBU0BkN8lev0M/WkpwKOiNC/hj7bG2NcyrojAj5Y+yztQlOBp0RIX/8GHlxr3Ay6IwKOfLivsY5GXRGhRx5cZ/gnIw6o0L++MJNX9ph0BkZ8guLvrQDve1AhvzCXV/aYYKRIb+AubgnSZnTIb+Ad819kVMzJ0KOuLjfoGZOhfzCBawbqsucmDkdcrTFfZGYOSHyCxeQPgBboW6OmPwCziPE1jhxc8zkSLu4G8TNUZP/Oopxir6cpG2OnHx01Xdw0ObYyUdHl30HB2uOn3wU34nPI5yyOQHy0bu+g4M0p0A+OoptunaTEzanQT6K7XGZCcLmRMhHR9f8RA3InAw5sunaKidrTod89PlNP1GDMKdE/hxToi9yquakyJ9jSvQKVXNi5IgSnWSat8ypkT//ftmnuZ45OfLnz+/5NNcyJ0iOJtErpM1JkWMZ0Ymm+bE5MfLnd3ya65pTI8dhTjXNj8zJkeMwrxA2p0f+fMyvtGuZUyRHYE5xQ+3EnCQ5AvMJTtycGrl785ucuDk58jHnD058Jm5Oj9y9OadtTpDcm+uZUyT35vprr9TIvbm2OTnysXveXM+cHrk31zQnSO7N9cwpkntzLXOS5N4c1JwE+dgdbw5nToPcmwOaEyGf9OZg5lTIvTmYORlybw5lTod82pvDmBMin77rzSHMKZFPT3tzAHNa5JP+0Sh9c2Lkrs1HhsCcGrk31zYnRz7tzTXN6ZF7c01zguTeXM+cIvn0sjfXMCdJPr3mzdXNaZJ7cx1zmuTeHMScFLk3hzAnRf79HcdnQa7dTdI3p0R+J1WvX3VrfrVeT90lbk6I/OBtvY7BvL5VW6BsTog8nbjXMv/WvXl9onybrjkd8oNaIvEai3kmkSCZ6owUeTqRSGTrWMzrbxMJiqnOCJE/aSZ5ol3acZhPtK6nRtCcDHm63LrFiRQe8/GjCypTq++MCvnvc4l2bOExTx1f0m2K5vjJD2rH9zdRx2O+dXJNtFo5RoM8fXJ3E2/b5nW35p/aF3F6VeV5YuboyU/r+mnb7nhR5la9x5xUfWcEyA/KiX5zp8X92+OLyHZcGJ36zvCTpxOJEPP6LXfke/UQczqpzrCTP8klws0/uU/zHnMqU3WGnLxSTkSYuxvRb9UjzIlM1Rlq8geFRCLS/DdH1X3vt0hzGvWdYSY/m5SHmdc/7bmt7GHmFFo5hpg8XU4MNHfTu3eQtzZZ+gJ/fWdoyR/kEokYcxfoVzv//tArRF/fGVbySjkRb24fvYs8whx7qjOc5BFJfrbe7gi9m7weeZG3kZsjJA9r3sLN7aL3kGeirxJzK8cQkofM0DridS/6npP2rXMvlViqM4RZnht0K4+fmajbn7Lt9ZIPNseLzhC2b5LmlhZnbn3q+4vvDbzQGmpzZPPygXcyMV7vDwvLsLd+qw+TObY19sHm90LMjQ/qe1fD/tYsWXN0O2mDzSfC7r7h+h5S1+PNE3jNke+XxyzKdNT3PVtTtPjpOXJzZORP0utLMbcyAqD+6ZbVJK/XX8dcaJCbX0BsjmNeXincD4Igzvx1FLqRUX3vauRfl4q50KXmj9nJLSA1R0BeSa8H7diPuZWpSIT6b1etJfnpKw2DzY/YkaU7Q0D+4CBdCM5iJSE/WTtL9Vtml2E6Y1XMHJ07c0z+4Cy/Rc1X6wMDrsAPKOsibXtiv/t3oXFnDsmb6X0/6I848+xgiWaBh1G/+lvMXxTImaOBZ27IDyqF9SAiEnHtcD0uPl01O5CLte2JlahfmJt3Cs+skw/iFjI/fkvRqPqtb+P/jpSy+XHCu4JnFslfFtMx3GLmqXrdrLqIeNxqe5z5cca7KPXMDnmzVRPhDgSm5xEr7nDqYuLHJw5omjuBZ8bJi5XwVk3dfKJeN6d+9ZPon56NvVCJX33U3C3YNDdD/rJYEU1uKfO3deGQ7OH3xMVjV9slzS0O8swM+VgxrcAttAw3cPVVa5VmL3Z2JtXCKZjbqfXMAPlYpRCoh4B5qi4Vn4SSXXQYF1157V6IU8h4k+bA5GPpQCtWElBNXEeJj1uck0txsRZOy7zFvmDMHJi8uB4YN5+oy8cg9b1vFf7At6bNm0Xe3Ho7JLlmkouZB3WViKzw8jkusgoHYB7smDIHJB8raJMHAvdSZCVO+KGKvU9Kf5hACxe64I6gvjNQ8vXAjnmqrhZXxZ5nBVmFAzE3gs6wkQuZr9ah0K+q/klZgctcCVCiM2zkSyLm2ToQumqWx2+kQpkbQGfIyMXME8rm3cdN7SmTZxK2zOEbOQbWscOQC5qnlM0/DXrpEHRFBsocHJ3hmaQJL8OprMqEVvdb6n/KhNBlAt2TnDFzLfJKYNVceUD/kMm8OY7l6id187c2zYN5Q+Z6q29Qv05kSUZ+QN/KTE01GnMbfdFoTE1lPsiTbyWsmgcLRsz11tjv2zYXHtA/NLU34qIxlTEwnAOa75gw19tJKwS2zcdFdeLB2zE3tQU+nOsvvhoZ0hkE+QEceSB2M4W3Wd5viMf7D1uwwzmgOeSQziD2y+/bNxfdZslImDc25j6ADueQ5jvA5ppPxQBWdmHzRAa2tJ+wv4ccziHNAas70yeHrOyCSzLCA/rUhmQ0IIdzUHO43p1pkwOtucqaT0BX9uOYAhzOITbWDFR3pv24YzpwYi4yQ/8wJ2++sQU3nMOag7VxTJf8QeDIPAU+mB9P2t6DDefA5jug5hrPsRdgzfeFze/BD+ai1V10OIfaZAFu45gmeTFwZZ41UtlbETslCByZA7VxTPNtFeA0F12GE3mzoaFIHlvdMwlX5jkocx1y6DSXMU8ZqewC1X3cmTlMojO9d9LWHZqvmqns8dU9684cJNGZFnklcGieNVPZ41dmxC8xEWBMdKb15il4mgcS93PgU+6ZDa2Y0nyy3Zh5DsZcnRw+zaXMBy2/zumZD9psWXVpDpHoTOdIgYJb8wkjDVxsomedmgMkOtMgLwZuzQMzDVxMG7eVcGoOkOhM4+AQA2m+JHNDo/dTtdN8QBs37thcP9GZOrmJNJczv2emgWtHSnfhFXwz9ThgzeWOByo4N8+amKfFrcYFrs3nIc3lyB8Ezs0jll9B0jyqjcskXJvvAJpLHgKWNmG+L2c+bmKeNjjR7zk31050pnzu230E5qGztdTGhsFEz7o334EylyWvBAjMw2Zr7+egzDc+qB0pYtpcd7rGVA/0LGAwD5utTYGRz6U0Z2qmzHMg5tLkRSM/RmaLJWK2BpbmjdR73ZmaKfMAwlz+2N4CDvOsoTRvpD4AzNSMmc/rm8uTv7yPw7x/b21Ke3I+6IXFVAKF+Y62ucLh3GY6OAXzsNlaZqqhWODn4l5QXZW8vH1D92lB01zlPPYCFvPIvbVMKvyN8+iZWUrgdai3SMxzeuZKR/AHWMzj3lXcymQEq73I64lbCSTmWl0cU/rQRhqNucirDR+Eyjrku4nmzechzKW+rbJu6qdIkwsdDzil95CE8kzNoPkOgLkUeTHAYy7y0YaMxtapxiKcSXOdLo6pfEGpgMhc6EX0BsxwPo7IfF7XXPKjWfcxmYu8iL4F8975BCLzHU1zSfKDAJO50FFxUyDDufzlLQUIiztT+BpiAZW52GHucegiI0Qqgck8p2MuS/4ywGUudMpIBsBcbhFuZd8guFZxZ/LfPK0gMwc5ZUSkbX+LhVuzi2Pyn7ktIDMX+tzalP54nsHDrVfcmTS5ydKuZp4CMG8AzNRWlqx5axV3Jv0xa5OlPVjaXzFT3Kf0l16zMeCB7ZjXMZf6fnnB+G9ZasqvdNqvdP+nypmQsasyWvsrK4GLyGmYS5E/cPLzllZMHyGV0SrtTtB31M2lyM2WdiVxoX2WhvZ6+4TlIyXMFXcmSW6htMuKC+2zaO+rxe+vrFAp7kySfOw+OnGhfRbtBXeR/RXbfdwOhHk8ueXSLvj+Wmxxf6/9zITY/opl9QV983jysbTNn7QCts8isIMOtb+yj764MznysXVcRV10n0XAPAO2v2Iv2Xd0zUXIixjBBfZZUroPykhuna9gLu5MitzScC6/FpfV3T+Pa9xRbZ1rztaYFLmF0r60r7TmvqVt3gDeOrfCntMxFyN/gKykCxf3hubDzquq12V6bNcwFyM3XdqVxWP3WURea4B8f8VaHz+vbC5IbnoRbkn9zsZsoouYZyBO77Zd4HOq5qLkphfhdMwHF/c5vSfcVzUuDN9sjcmQG5+pJUwVd83jPt+iNVeZrTEJcvOLcCumirveAd46pd30TH1exVyc3PyemqnintF7S3EV7XCuVNyZBLmFxyUMFXexUwIplnaV2RoTJ7exCJcwU9zFzDMES7tKcWfi5Db21FbMFHexg4VSYK8m4l6KY+Lkkxb21JbMFHcx8ymAQ/rtm+/omMeRP7GxaaBT3HXNG0AHilgdzhVma0yYfNLKnppOcU9pfoRpDr6029hTnVc2jyWftPL0o5niLnhmHMXSrjCgM2HyaTuPyOjUUd2vMGUolnb5AZ0Jk1sZzvUG9JTOMlxU4469tMsP6EyUfNrSE6/7Joq7vQPbHTwrIz2gM1HyaUsvMywZKO5bguYNiqVdfkBnouTTtl5mMFDcRT/QMkeytEsvvzJRckvDud5sbULz21skS7v0gM4EySetvcBioLgLn+meoVjapQd0Jkg+ae/dRPjiLmyeIlnaZQd0Jkg+ae8FFvjiLmw+RbK0yw7oTJDc2nBuorgLf7qhQbK0yw7oTIx82ub7qODFXdh8jmRplx3QmRj5tM2jBsDX3MU/0UKztEsO6EyMfHo9IJLor9WX4fobdyKlXXJAZ2Lkdk8Ogn5aRvkD2ERKu+SAzoTIp+0eLwFc3D+Im0/BPfxo9cSJeRXzweTTVo+XgC7uEt/GboA9/Gi1tMsN6EyIfNryaVGwxV3CfA7sufZ9qzdsR948jnzaLjlwcZf5nOZ7Ms+1qw/oTIj8wPIvgC3uMuYZMs+1qw/oTITc9nAO/BKTjPkUkVeWdAZ0JkJ+xf7hj5DFvaFoTqi0Sw3oTIT85bp1c8g3VGXMGzRLu9SAzkTIn1j/BaDFXcZ8jsJBA5oDOhMgf+niLGeNG55VXobratzfUkpzmQGdCZC/TAe0En1LwzyjdzyYmw5Oxzyc/GUhoJXo45Ln+4Y2cROkSrvMNgsTIH/p4ifodHFZ1WW4TnON/+n2XdyvBSXzKPIDJ+ZgxV3OvAFQ2p3cr3kV8yjyKxUnvwGsuKekzOf0Szv2L/KwePIr6YBaor9VXYY7a9wDUh2c1KoMiye/sh6QS/SMunmGZmmXaOJYPPkVR79B53XFVXXzKd3SvuTodi1Img8iP3BlHsAU94aC+Wt6aS7exLFYclfDud50LaNs3tB8EG7f1d3KSZkPJL9SCAgm+qr0IRNdjfsEvTQXb+JYLLmzFk4r0QPFpdd24/6a2kRNakBnseRX3P0InelaStk8o1XaHd6teWHzOPIDh79Co7hPqC3DtZu4LMU0FzePI3fYwmkleqBhvkVvoibTxLE4cpctnFaip1TNGxql3WWaCzdxLI7csfmSdnGfkjWf0yjtS05vlmATx+LIXwQB0UR/rWi+kSLZwYkP6CyO/MCxufoC7Liq+f8STXMJ84HkLyoB1USfUFqGa8b/EU1z0SaOxZC/SAdkE31Lzfx/qKa5aBPHYshfrAdkE31cZel1Y+O/qaa5aBP3/wIMAI6prfGsFSkIAAAAAElFTkSuQmCC",clipPath:"url(#user-badge--clip-path)"})]})]}),B(Ri,{withMinWidth:!1,className:"tw-w-[310px]",children:[B("div",{className:"tw-flex tw-flex-col tw-gap-4 tw-py-4 tw-px-5",children:[S("div",{className:"tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap tw-text-base tw-font-semibold tw-leading-tight tw-text-black",children:e}),S(Ni,{as:_e,className:"tw-self-end data-[selected]:[&:not(:hover)]:tw-ring data-[selected]:[&:not(:hover)]:tw-ring-gray-300",variant:"outline",colorScheme:"gray",onSelect:n,children:r.formatMessage({id:"logout"})})]}),S("div",{className:"tw-flex tw-w-full tw-justify-center tw-bg-gray-50 tw-py-4 tw-px-0 tw-text-sm tw-font-normal tw-text-gray-700",children:r.formatMessage({id:"version"},{version:t})})]})]})}function mv({application:e,applications:t,notificationCount:n,onNotificationClick:r,onInstallationClick:o,onToggleMenuClick:i,language:l,languages:a,onLanguageChange:u,username:s,version:f,logout:m,refreshToken:p,loginUrl:v,withMaxWith:y=!1,className:w,showUpgrade:N,...h}){const c=mn(),d=t==null?void 0:t[e],E=t==null?void 0:t["x4b-settings"],g="support@xcomponent.com",x=d&&{applicationName:d==null?void 0:d.name,username:s,version:f,url:d==null?void 0:d.url},R=()=>{const P=!Kd();Q1(P),i&&i(P)};return d?S("header",{...h,"aria-label":"Global",className:wi(w,"tw-box-border tw-bg-white ",p&&"tw-shadow-[0_0_10px_0_rgba(72,40,83,0.1)]"),children:B("nav",{"aria-label":"top",className:wi(p?"tw-gap-0 sm:tw-gap-1 lg:tw-gap-2":"tw-gap-0 sm:tw-gap-1",y&&"tw-mx-auto tw-max-w-7xl","tw-text-primary-600 tw-isolate tw-m-0 tw-box-border tw-flex tw-w-full tw-flex-row tw-flex-wrap tw-items-center tw-justify-start tw-py-2 tw-px-4 tw-font-sans tw-antialiased lg:tw-px-5 xl:tw-px-3 "),children:[p&&i&&B(_e,{variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,onClick:R,children:[S("p",{className:"tw-sr-only",children:c.formatMessage({id:"mainMenu"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 18 16",children:[S("title",{children:c.formatMessage({id:"mainMenu"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M18 6.818H0v1.364h18zM18 13H0v1.36h18zM18 .364H0v1.36h18z"})})]})]}),S("img",{alt:e,width:"34",height:"34","aria-hidden":!0,src:`data:image/svg+xml;base64,${d.logo}`,className:"tw-my-0 tw-block"}),S(Np,{className:"tw-hidden md:tw-block",children:d.name}),S(Np,{className:"tw-block md:tw-hidden",children:d.shortname||d.name}),o!==void 0&&S(_e,{as:"a",variant:"ghost",colorScheme:"primary",compact:!1,rounded:!1,"aria-label":c.formatMessage({id:"installGateway"}),onClick:o,children:c.formatMessage({id:"installGateway"})}),N&&S(av,{label:c.formatMessage({id:"upgradeBtnTooltip"}),children:B(_e,{as:"a",variant:"outline",colorScheme:"primary",rounded:!0,href:x&&fu(g,`[${x.applicationName}] Support Request`,c.formatMessage({id:"contactUpgradeMailBody"}),x),target:"_blank",rel:"noopener noreferrer nofollow",children:[B("p",{className:"tw-sr-only",children:[" ",c.formatMessage({id:"upgradeBtnTooltip"})]}),c.formatMessage({id:"upgradeBtn"})]})}),n!==void 0&&p&&S(pv,{count:n,onClick:r}),E&&p&&B(_e,{as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,href:`${E.url}${p?`#refreshToken=${p}`:""}`,children:[S("p",{className:"tw-sr-only",children:c.formatMessage({id:"settings"})}),B("svg",{"aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",children:[S("title",{children:c.formatMessage({id:"settings"})}),S("g",{fill:"currentColor",fillRule:"evenodd",fillOpacity:.9,children:S("path",{d:"M14.037 19.103v2.25c0 .357-.29.647-.647.647H8.61a.647.647 0 0 1-.647-.647v-2.25c-.981-.278-1.658-.682-2.422-1.353a15.057 15.057 0 0 1-.108-.096L3.35 18.811a.647.647 0 0 1-.875-.242L.087 14.43a.647.647 0 0 1 .237-.884l1.995-1.15a8.415 8.415 0 0 1 .005-2.796L.344 8.452a.647.647 0 0 1-.234-.885l2.413-4.138A.647.647 0 0 1 3.4 3.19l2.036 1.152.105-.093c.764-.67 1.44-1.073 2.422-1.353V.647c0-.357.29-.647.647-.647h4.78c.357 0 .647.29.647.647v2.25c.982.28 1.658.683 2.422 1.353l.105.093L18.6 3.191a.647.647 0 0 1 .878.238l2.412 4.138c.18.309.075.706-.234.885l-1.98 1.149c.156.934.161 1.857.005 2.797l1.995 1.149c.31.178.416.574.237.884l-2.388 4.138a.647.647 0 0 1-.874.242l-2.084-1.157-.108.096c-.764.671-1.44 1.075-2.422 1.353zm-1.294-.504c0-.303.21-.566.507-.632 1.043-.231 1.621-.545 2.355-1.19.114-.1.181-.161.432-.39a.647.647 0 0 1 .752-.09l1.933 1.074 1.747-3.026-1.834-1.056a.647.647 0 0 1-.308-.7 7.203 7.203 0 0 0-.005-3.178.647.647 0 0 1 .307-.699l1.816-1.054-1.764-3.026L16.793 5.7a.647.647 0 0 1-.756-.086c-.246-.226-.318-.291-.432-.391-.733-.644-1.311-.958-2.356-1.19a.647.647 0 0 1-.506-.632V1.294H9.257v2.107c0 .303-.21.566-.506.631-1.044.233-1.623.547-2.356 1.19-.114.101-.185.166-.432.392a.647.647 0 0 1-.756.086L3.32 4.632 1.555 7.658l1.816 1.054a.647.647 0 0 1 .308.699 7.203 7.203 0 0 0-.005 3.177.647.647 0 0 1-.31.7l-1.833 1.057 1.747 3.026 1.934-1.074a.647.647 0 0 1 .751.09c.25.229.318.29.432.39.734.645 1.312.959 2.355 1.19a.647.647 0 0 1 .507.632v2.107h3.486v-2.107zM14.276 11a3.275 3.275 0 1 1-6.551 0 3.275 3.275 0 0 1 6.55 0zm-1.294 0a1.981 1.981 0 1 0-3.963 0 1.981 1.981 0 0 0 3.963 0z"})})]})]}),S(cv,{documentationUrl:d.documentationUrl,systemInfo:{applicationName:d.name,username:s,version:f,url:d.url}}),S(_e,{href:"https://slack.xcomponent.com",as:"a",variant:"ghost",colorScheme:"primary",compact:!0,rounded:!0,"aria-label":c.formatMessage({id:"contactDevelopers"}),children:B("svg",{viewBox:"8 8 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,className:"tw-w-[1.5rem] tw-h-[1.5rem] tw-block",children:[S("title",{children:c.formatMessage({id:"contactDevelopers"})}),S("path",{d:"M16.535 27.397a2.711 2.711 0 01-2.704 2.705 2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h2.704v2.705zM17.898 27.397a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772a2.712 2.712 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772z",fill:"#E01E5A"}),S("path",{d:"M20.603 16.535a2.711 2.711 0 01-2.705-2.704 2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v2.704h-2.705zM20.603 17.898a2.712 2.712 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772z",fill:"#36C5F0"}),S("path",{d:"M31.465 20.603a2.711 2.711 0 012.704-2.705 2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-2.704v-2.705zM30.102 20.603a2.711 2.711 0 01-2.705 2.705 2.711 2.711 0 01-2.705-2.705v-6.772a2.711 2.711 0 012.705-2.705 2.711 2.711 0 012.705 2.705v6.772z",fill:"#2EB67D"}),S("path",{d:"M27.397 31.465a2.711 2.711 0 012.705 2.704 2.711 2.711 0 01-2.705 2.705 2.712 2.712 0 01-2.705-2.705v-2.704h2.705zM27.397 30.102a2.711 2.711 0 01-2.705-2.705 2.711 2.711 0 012.705-2.705h6.772a2.711 2.711 0 012.705 2.705 2.711 2.711 0 01-2.705 2.705h-6.772z",fill:"#ECB22E"})]})}),p&&t&&S($g,{applicationDescriptions:t,refreshToken:p}),p&&s&&f&&m&&S(hv,{username:s,version:f,onLogout:m}),S(dv,{language:l||"en",languages:a||["en"],onLanguageSelected:u}),!p&&B(yi,{children:[S(_e,{className:"tw-ml-2 tw-mr-0 md:tw-ml-3 lg:tw-mr-3",size:"lg",href:v,as:"a",variant:"link",colorScheme:"gray",children:c.formatMessage({id:"login"})}),S(_e,{className:"tw-ml-3 tw-hidden lg:tw-inline-block",size:"xl",href:v,as:"a",variant:"solid",colorScheme:"primary",children:c.formatMessage({id:"getStartedFree"})})]})]})}):(console.error(`Unknown application ${e}`),S("div",{"data-testid":"init-error"}))}const gv={mainMenu:"Main menu",settings:"Settings",help:"Help",contactDevelopers:"Contact Community",contactus:"Contact Support",contactUsMailBody:`Hello Support team,
108
108
 
109
109
  <Please describe your problem/request here.
110
110
  Do not hesitate to add as many details as possible.
@@ -118,7 +118,15 @@ The more precise your explanation, the better our answer. \u{1F60A}>
118
118
  I look forward to hearing from you.
119
119
 
120
120
  Regards,
121
- <Your name>`,documentation:"Documentation",notifications:"Notifications",appSelector:"X4B applications",userAccountTooltip:"X4B account",logout:"Sign out",version:"Version: {version}",login:"Log in",getStartedFree:"Get started free",installGateway:"Install Gateways & Agents"},jg={mainMenu:"Menu principal",settings:"Param\xE8tres",help:"Aide",contactDevelopers:"Contacter la communaut\xE9",contactus:"Contacter le support",contactUsMailBody:`Bonjour,
121
+ <Your name>`,contactUpgradeMailBody:`Hello Admin team,
122
+
123
+ Requesting upgrade from Free to Enterprise Edition.
124
+ Please provide details on process, pricing, and features.
125
+
126
+ Thank you\u{1F60A}
127
+
128
+ Regards,
129
+ <Your name>`,documentation:"Documentation",notifications:"Notifications",appSelector:"X4B applications",userAccountTooltip:"X4B account",logout:"Sign out",version:"Version: {version}",login:"Log in",getStartedFree:"Get started free",installGateway:"Install Gateways & Agents",upgradeBtn:"Upgrade to Enterprise plan",upgradeBtnTooltip:"Email for Enterprise upgrade"},vv={mainMenu:"Menu principal",settings:"Param\xE8tres",help:"Aide",contactDevelopers:"Contacter la communaut\xE9",contactus:"Contacter le support",contactUsMailBody:`Bonjour,
122
130
 
123
131
  <Merci d'entrer la description de votre probl\xE8me/requ\xEAte au support ici.
124
132
  N'h\xE9sitez pas \xE0 rajouter le plus de d\xE9tails possible. Plus votre demande
@@ -132,7 +140,15 @@ The more precise your explanation, the better our answer. \u{1F60A}>
132
140
  Merci d'avance.
133
141
 
134
142
  Cordialement,
135
- <Votre nom>`,documentation:"Documentation",notifications:"Notifications",appSelector:"Applications X4B",userAccountTooltip:"Compte X4B",logout:"D\xE9connexion",version:"Version : {version}",login:"Se connecter",getStartedFree:"Essayer gratuitement",installGateway:"Installation des passerelles & agents"},Vg={en:Ug,fr:jg},Gg=e=>Vg[e];function $g(e){const t=e.language||"en";return S(I1,{locale:t,messages:Gg(t),children:S(bg,{...e})})}async function Xg(e){const t=await fetch(`${e}/applications`);return t.ok?(await t.json()).reduce((n,r)=>(n[r.id]={name:r.label,url:r.url,logo:r.logo,documentationUrl:r.documentationUrl,hidden:Boolean(r.hidden)},n),{}):(console.error(t.text),{})}function wa(e){this.message=e}wa.prototype=new Error,wa.prototype.name="InvalidCharacterError";var wp=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new wa("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,l="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?l+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return l};function Zg(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(wp(n).replace(/(.)/g,function(r,o){var i=o.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}(t)}catch{return wp(t)}}function ki(e){this.message=e}function Ea(e,t){if(typeof e!="string")throw new ki("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(Zg(e.split(".")[n]))}catch(r){throw new ki("Invalid token specified: "+r.message)}}ki.prototype=new Error,ki.prototype.name="InvalidTokenError";const Wg=e=>{if(e){const t=Ea(e);return t?t.user:void 0}},Qg=()=>{const e=Ep("refreshToken");return e?{refreshToken:e,accessToken:Ep("accessToken")}:{}};function Ep(e){var t;const n=(t=window.location.hash)==null?void 0:t.slice(1).split("#").map(r=>{const o=r.split("=");return{key:o[0],value:o[1]}}).filter(r=>r.key===e).map(r=>r.value);return n&&n.length>0?n[0]:void 0}const Kg=()=>window.accessToken,Sa=60,Yg=5*Sa*1e3,Sp=e=>{const t=Ea(e),n=Date.now()/1e3;return!t.exp||t.exp>n+Sa},Jg=e=>{const t=Ea(e),n=Date.now()/1e3;return t.exp?Sp(e)?(t.exp-n-Sa)*1e3:0:Yg},kp=()=>{const e=vp();return e?`lang=${e}&`:""};async function qg(e,t){const n=await fetch(`${e}/services`);if(n.ok){const r=await n.json(),o=r.login,i=r.authentication,l=()=>{window.location.href=`${o}/logout?${kp()}redirectUrl=${encodeURIComponent(window.location.href)}`},u=Qg();if(u!=null&&u.refreshToken){const a=await Tp(l,i,u,t);if(history.replaceState({},"",window.location.href.split("#")[0]),a)return{token:a,logout:l}}else window.location.href=`${o}?${kp()}redirectUrl=${encodeURIComponent(window.location.href)}`}else throw new Error(await n.text())}function xp(e,t,n,r){const o=Jg(window.accessToken||"");console.debug(`Token will refresh in ${o} ms`),setTimeout(()=>Tp(e,t,n,r),o)}async function Tp(e,t,n,r){if(n.accessToken&&Sp(n.accessToken))return window.accessToken=n.accessToken,xp(e,t,n,r),n;if(!n.refreshToken){window.accessToken=void 0,console.error("no refresh token, nothing to refresh");return}try{const o=await fetch(`${t}/api/Users/RefreshToken`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n.refreshToken)});if(o.ok){const i=await o.json();if(i.refreshToken)return window.accessToken=i.accessToken,r&&r(i),xp(e,t,i,r),i;console.error("no refresh token");return}else{const i=await o.json();console.error(i),e()}}catch(o){console.error(o),e()}}const ka=Se.createContext(void 0);ka.displayName="AuthContext";function ev({appsServiceUrl:e,children:t}){const[n,r]=Se.useState(),[o,i]=Se.useState(),l=Se.useCallback(a=>{r(s=>({logout:(s==null?void 0:s.logout)||(()=>{}),token:{accessToken:a.accessToken,refreshToken:a.refreshToken}}))},[]);Se.useEffect(()=>{Promise.all([qg(e,l),Xg(e)]).then(([a,s])=>{Object.keys(s).forEach(f=>{s[f].logo=window.btoa(s[f].logo)}),i(s),r(a)})},[e,l]);const u=Se.useCallback(a=>({...a,applications:o,username:Wg(n==null?void 0:n.token.refreshToken),logout:n==null?void 0:n.logout,refreshToken:n==null?void 0:n.token.refreshToken}),[o,n]);return S(ka.Provider,{value:{appsServiceUrl:e,authResult:n,applications:o,getBannerProps:u},children:n&&o&&t})}function tv(){const e=Se.useContext(ka);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}var Np,Cp=Li.exports;Np=Cp.createRoot,Cp.hydrateRoot;var Rp={exports:{}},xi={};/**
143
+ <Votre nom>`,contactUpgradeMailBody:`Bonjour \xE9quipe administrative,
144
+
145
+ Demande de passage du plan Gratuit \xE0 l'\xE9dition Entreprise.
146
+ Veuillez fournir des d\xE9tails sur le processus, les tarifs et les fonctionnalit\xE9s.
147
+
148
+ Merci \u{1F60A}
149
+
150
+ Cordialement,
151
+ <Votre nom>`,documentation:"Documentation",notifications:"Notifications",appSelector:"Applications X4B",userAccountTooltip:"Compte X4B",logout:"D\xE9connexion",version:"Version : {version}",login:"Se connecter",getStartedFree:"Essayer gratuitement",installGateway:"Installation des passerelles & agents",upgradeBtn:"Basculer vers l'\xE9dition Entreprise",upgradeBtnTooltip:"Email pour la mise \xE0 niveau Entreprise"},yv={en:gv,fr:vv},wv=e=>yv[e];function Ev(e){const t=e.language||"en";return S($1,{locale:t,messages:wv(t),children:S(mv,{...e})})}async function Sv(e){const t=await fetch(`${e}/applications`);return t.ok?(await t.json()).reduce((n,r)=>(n[r.id]={name:r.label,url:r.url,logo:r.logo,documentationUrl:r.documentationUrl,hidden:Boolean(r.hidden)},n),{}):(console.error(t.text),{})}function Iu(e){this.message=e}Iu.prototype=new Error,Iu.prototype.name="InvalidCharacterError";var Op=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Iu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,o=0,i=0,l="";r=t.charAt(i++);~r&&(n=o%4?64*n+r:r,o++%4)?l+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return l};function kv(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(n){return decodeURIComponent(Op(n).replace(/(.)/g,function(r,o){var i=o.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}(t)}catch{return Op(t)}}function Mi(e){this.message=e}function _u(e,t){if(typeof e!="string")throw new Mi("Invalid token specified");var n=(t=t||{}).header===!0?0:1;try{return JSON.parse(kv(e.split(".")[n]))}catch(r){throw new Mi("Invalid token specified: "+r.message)}}Mi.prototype=new Error,Mi.prototype.name="InvalidTokenError";const xv=e=>{if(e){const t=_u(e);return t?t.user:void 0}},Tv=()=>{const e=Ap("refreshToken");return e?{refreshToken:e,accessToken:Ap("accessToken")}:{}};function Ap(e){var t;const n=(t=window.location.hash)==null?void 0:t.slice(1).split("#").map(r=>{const o=r.split("=");return{key:o[0],value:o[1]}}).filter(r=>r.key===e).map(r=>r.value);return n&&n.length>0?n[0]:void 0}const Nv=()=>window.accessToken,Ou=60,Rv=5*Ou*1e3,Dp=e=>{const t=_u(e),n=Date.now()/1e3;return!t.exp||t.exp>n+Ou},Cv=e=>{const t=_u(e),n=Date.now()/1e3;return t.exp?Dp(e)?(t.exp-n-Ou)*1e3:0:Rv},Hp=()=>{const e=Ip();return e?`lang=${e}&`:""};async function Mv(e,t){const n=await fetch(`${e}/services`);if(n.ok){const r=await n.json(),o=r.login,i=r.authentication,l=()=>{window.location.href=`${o}/logout?${Hp()}redirectUrl=${encodeURIComponent(window.location.href)}`},a=Tv();if(a!=null&&a.refreshToken){const u=await Bp(l,i,a,t);if(history.replaceState({},"",window.location.href.split("#")[0]),u)return{token:u,logout:l}}else window.location.href=`${o}?${Hp()}redirectUrl=${encodeURIComponent(window.location.href)}`}else throw new Error(await n.text())}function zp(e,t,n,r){const o=Cv(window.accessToken||"");console.debug(`Token will refresh in ${o} ms`),setTimeout(()=>Bp(e,t,n,r),o)}async function Bp(e,t,n,r){if(n.accessToken&&Dp(n.accessToken))return window.accessToken=n.accessToken,zp(e,t,n,r),n;if(!n.refreshToken){window.accessToken=void 0,console.error("no refresh token, nothing to refresh");return}try{const o=await fetch(`${t}/api/Users/RefreshToken`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n.refreshToken)});if(o.ok){const i=await o.json();if(i.refreshToken)return window.accessToken=i.accessToken,r&&r(i),zp(e,t,i,r),i;console.error("no refresh token");return}else{const i=await o.json();console.error(i),e()}}catch(o){console.error(o),e()}}const Au=we.createContext(void 0);Au.displayName="AuthContext";function Pv({appsServiceUrl:e,children:t}){const[n,r]=we.useState(),[o,i]=we.useState(),l=we.useCallback(u=>{r(s=>({logout:(s==null?void 0:s.logout)||(()=>{}),token:{accessToken:u.accessToken,refreshToken:u.refreshToken}}))},[]);we.useEffect(()=>{Promise.all([Mv(e,l),Sv(e)]).then(([u,s])=>{Object.keys(s).forEach(f=>{s[f].logo=window.btoa(s[f].logo)}),i(s),r(u)})},[e,l]);const a=we.useCallback(u=>({...u,applications:o,username:xv(n==null?void 0:n.token.refreshToken),logout:n==null?void 0:n.logout,refreshToken:n==null?void 0:n.token.refreshToken}),[o,n]);return S(Au.Provider,{value:{appsServiceUrl:e,authResult:n,applications:o,getBannerProps:a},children:n&&o&&t})}function Lv(){const e=we.useContext(Au);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}var bp,Fp=Hi.exports;bp=Fp.createRoot,Fp.hydrateRoot;var Up={exports:{}},Pi={};/**
136
152
  * @license React
137
153
  * react-jsx-runtime.production.min.js
138
154
  *
@@ -140,5 +156,5 @@ The more precise your explanation, the better our answer. \u{1F60A}>
140
156
  *
141
157
  * This source code is licensed under the MIT license found in the
142
158
  * LICENSE file in the root directory of this source tree.
143
- */var nv=x.exports,rv=Symbol.for("react.element"),ov=Symbol.for("react.fragment"),iv=Object.prototype.hasOwnProperty,lv=nv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,uv={key:!0,ref:!0,__self:!0,__source:!0};function Pp(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)iv.call(t,r)&&!uv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:rv,type:e,key:i,ref:l,props:o,_owner:lv.current}}xi.Fragment=ov,xi.jsx=Pp,xi.jsxs=Pp,function(e){e.exports=xi}(Rp);const xa=Rp.exports.jsx,Mp="notification-count",_p="application",Lp="language",Ip="version",Op="languages",av="apps-service-url";class sv extends HTMLElement{constructor(){super(...arguments);Ap(this,"root")}static get observedAttributes(){return[Mp,_p,Lp,Ip,Op]}connectedCallback(){this.root=Np(this),this.renderReactApp()}disconnectedCallback(){var n;(n=this.root)==null||n.unmount()}renderReactApp(){var i;const n=this.getAttribute(Mp),r=this.getAttribute(Op)||void 0,o=xa(ev,{appsServiceUrl:this.getAttribute(av)||"",children:xa(cv,{notificationCount:n?Number.parseInt(n):void 0,application:this.getAttribute(_p)||"",language:this.getAttribute(Lp)||void 0,languages:r?r.split(","):void 0,version:this.getAttribute(Ip)||""})});(i=this.root)==null||i.render(o)}attributeChangedCallback(){this.renderReactApp()}}function cv({notificationCount:e,application:t,language:n,languages:r,version:o}){const{getBannerProps:i,authResult:l}=tv(),u=f=>{document.dispatchEvent(new CustomEvent("menuToggleButtonClicked",{detail:f}))},a=()=>{document.dispatchEvent(new CustomEvent("notificationButtonClicked"))},s=f=>{document.dispatchEvent(new CustomEvent("languageChanged",{detail:f}))};return Se.useEffect(()=>{document.dispatchEvent(new CustomEvent("startupFinished",{}))},[]),Se.useEffect(()=>{document.dispatchEvent(new CustomEvent("tokenRefreshed",{}))},[l]),xa($g,{...i({application:t,notificationCount:e,onNotificationClick:a,onToggleMenuClick:u,language:n,languages:r,onLanguageChange:s,version:o})})}function fv(){window.customElements.define("x4b-banner",sv)}me.getDefaultLanguage=vp,me.getToken=Kg,me.isMenuOpen=Bd,me.register=fv,Object.defineProperties(me,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
159
+ */var Iv=k.exports,_v=Symbol.for("react.element"),Ov=Symbol.for("react.fragment"),Av=Object.prototype.hasOwnProperty,Dv=Iv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Hv={key:!0,ref:!0,__self:!0,__source:!0};function jp(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Av.call(t,r)&&!Hv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:_v,type:e,key:i,ref:l,props:o,_owner:Dv.current}}Pi.Fragment=Ov,Pi.jsx=jp,Pi.jsxs=jp,function(e){e.exports=Pi}(Up);const Du=Up.exports.jsx,Vp="notification-count",Gp="application",$p="language",Xp="version",Zp="languages",zv="apps-service-url";class Bv extends HTMLElement{constructor(){super(...arguments);Wp(this,"root")}static get observedAttributes(){return[Vp,Gp,$p,Xp,Zp]}connectedCallback(){this.root=bp(this),this.renderReactApp()}disconnectedCallback(){var n;(n=this.root)==null||n.unmount()}renderReactApp(){var i;const n=this.getAttribute(Vp),r=this.getAttribute(Zp)||void 0,o=Du(Pv,{appsServiceUrl:this.getAttribute(zv)||"",children:Du(bv,{notificationCount:n?Number.parseInt(n):void 0,application:this.getAttribute(Gp)||"",language:this.getAttribute($p)||void 0,languages:r?r.split(","):void 0,version:this.getAttribute(Xp)||""})});(i=this.root)==null||i.render(o)}attributeChangedCallback(){this.renderReactApp()}}function bv({notificationCount:e,application:t,language:n,languages:r,version:o}){const{getBannerProps:i,authResult:l}=Lv(),a=f=>{document.dispatchEvent(new CustomEvent("menuToggleButtonClicked",{detail:f}))},u=()=>{document.dispatchEvent(new CustomEvent("notificationButtonClicked"))},s=f=>{document.dispatchEvent(new CustomEvent("languageChanged",{detail:f}))};return we.useEffect(()=>{document.dispatchEvent(new CustomEvent("startupFinished",{}))},[]),we.useEffect(()=>{document.dispatchEvent(new CustomEvent("tokenRefreshed",{}))},[l]),Du(Ev,{...i({application:t,notificationCount:e,onNotificationClick:u,onToggleMenuClick:a,language:n,languages:r,onLanguageChange:s,version:o})})}function Fv(){window.customElements.define("x4b-banner",Bv)}ve.getDefaultLanguage=Ip,ve.getToken=Nv,ve.isMenuOpen=Kd,ve.register=Fv,Object.defineProperties(ve,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
144
160
  //# sourceMappingURL=webcomponent-banner.umd.js.map