diff --git a/assets/index-BJgsgjd1.js b/assets/index-BfWtXz5I.js similarity index 66% rename from assets/index-BJgsgjd1.js rename to assets/index-BfWtXz5I.js index d73732cb..bb2369ed 100644 --- a/assets/index-BJgsgjd1.js +++ b/assets/index-BfWtXz5I.js @@ -1,4 +1,4 @@ -var DG=Object.defineProperty;var FG=(n,e,t)=>e in n?DG(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Dn=(n,e,t)=>FG(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();function Gl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function mB(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var H3={exports:{}},Mv={},Z3={exports:{}},ds={},Q8;function LG(){if(Q8)return ds;Q8=1;/** +var Kj=Object.defineProperty;var Fj=(n,e,t)=>e in n?Kj(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var $n=(n,e,t)=>Fj(n,typeof e!="symbol"?e+"":e,t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function t(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=t(i);fetch(i.href,s)}})();function jl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function mB(n){if(Object.prototype.hasOwnProperty.call(n,"__esModule"))return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}),t}var H3={exports:{}},Mv={},Z3={exports:{}},ds={},QI;function Lj(){if(QI)return ds;QI=1;/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var DG=Object.defineProperty;var FG=(n,e,t)=>e in n?DG(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var n=Symbol.for("react.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),B=Symbol.iterator;function k(Ge){return Ge===null||typeof Ge!="object"?null:(Ge=B&&Ge[B]||Ge["@@iterator"],typeof Ge=="function"?Ge:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F=Object.assign,N={};function j(Ge,$e,yt){this.props=Ge,this.context=$e,this.refs=N,this.updater=yt||P}j.prototype.isReactComponent={},j.prototype.setState=function(Ge,$e){if(typeof Ge!="object"&&typeof Ge!="function"&&Ge!=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,Ge,$e,"setState")},j.prototype.forceUpdate=function(Ge){this.updater.enqueueForceUpdate(this,Ge,"forceUpdate")};function H(){}H.prototype=j.prototype;function X(Ge,$e,yt){this.props=Ge,this.context=$e,this.refs=N,this.updater=yt||P}var oe=X.prototype=new H;oe.constructor=X,F(oe,j.prototype),oe.isPureReactComponent=!0;var te=Array.isArray,$=Object.prototype.hasOwnProperty,ne={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function ie(Ge,$e,yt){var Dt,at={},Kt=null,Et=null;if($e!=null)for(Dt in $e.ref!==void 0&&(Et=$e.ref),$e.key!==void 0&&(Kt=""+$e.key),$e)$.call($e,Dt)&&!W.hasOwnProperty(Dt)&&(at[Dt]=$e[Dt]);var Fe=arguments.length-2;if(Fe===1)at.children=yt;else if(1e in n?DG(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var q8;function UG(){if(q8)return Mv;q8=1;var n=nl(),e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(o,f,v){var x,B={},k=null,P=null;v!==void 0&&(k=""+v),f.key!==void 0&&(k=""+f.key),f.ref!==void 0&&(P=f.ref);for(x in f)r.call(f,x)&&!s.hasOwnProperty(x)&&(B[x]=f[x]);if(o&&o.defaultProps)for(x in f=o.defaultProps,f)B[x]===void 0&&(B[x]=f[x]);return{$$typeof:e,type:o,key:k,ref:P,props:B,_owner:i.current}}return Mv.Fragment=t,Mv.jsx=l,Mv.jsxs=l,Mv}var $8;function zG(){return $8||($8=1,H3.exports=UG()),H3.exports}var se=zG(),or=nl();const Wn=Gl(or);var hF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},By=Wn.createContext&&Wn.createContext(hF),NG=["attr","size","title"];function WG(n,e){if(n==null)return{};var t=GG(n,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function GG(n,e){if(n==null)return{};var t={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){if(e.indexOf(r)>=0)continue;t[r]=n[r]}return t}function i2(){return i2=Object.assign?Object.assign.bind():function(n){for(var e=1;eWn.createElement(e.tag,o2({key:t},e.attr),dF(e.child)))}function iA(n){return e=>Wn.createElement(qG,i2({attr:o2({},n.attr)},e),dF(n.child))}function qG(n){var e=t=>{var{attr:r,size:i,title:s}=n,l=WG(n,NG),o=i||t.size||"1em",f;return t.className&&(f=t.className),n.className&&(f=(f?f+" ":"")+n.className),Wn.createElement("svg",i2({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,l,{className:f,style:o2(o2({color:n.color||t.color},t.style),n.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),s&&Wn.createElement("title",null,s),n.children)};return By!==void 0?Wn.createElement(By.Consumer,null,t=>e(t)):e(hF)}var Z_={},X3={exports:{}},ld={},J3={exports:{}},e4={};/** + */var qI;function Uj(){if(qI)return Mv;qI=1;var n=nl(),e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function l(o,f,v){var x,B={},k=null,P=null;v!==void 0&&(k=""+v),f.key!==void 0&&(k=""+f.key),f.ref!==void 0&&(P=f.ref);for(x in f)r.call(f,x)&&!s.hasOwnProperty(x)&&(B[x]=f[x]);if(o&&o.defaultProps)for(x in f=o.defaultProps,f)B[x]===void 0&&(B[x]=f[x]);return{$$typeof:e,type:o,key:k,ref:P,props:B,_owner:i.current}}return Mv.Fragment=t,Mv.jsx=l,Mv.jsxs=l,Mv}var $I;function zj(){return $I||($I=1,H3.exports=Uj()),H3.exports}var se=zj(),ir=nl();const hr=jl(ir);var hF={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},By=hr.createContext&&hr.createContext(hF),Nj=["attr","size","title"];function Gj(n,e){if(n==null)return{};var t=jj(n,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(n,r)&&(t[r]=n[r])}return t}function jj(n,e){if(n==null)return{};var t={};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){if(e.indexOf(r)>=0)continue;t[r]=n[r]}return t}function p2(){return p2=Object.assign?Object.assign.bind():function(n){for(var e=1;ehr.createElement(e.tag,m2({key:t},e.attr),dF(e.child)))}function iA(n){return e=>hr.createElement(qj,p2({attr:m2({},n.attr)},e),dF(n.child))}function qj(n){var e=t=>{var{attr:r,size:i,title:s}=n,l=Gj(n,Nj),o=i||t.size||"1em",f;return t.className&&(f=t.className),n.className&&(f=(f?f+" ":"")+n.className),hr.createElement("svg",p2({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,l,{className:f,style:m2(m2({color:n.color||t.color},t.style),n.style),height:o,width:o,xmlns:"http://www.w3.org/2000/svg"}),s&&hr.createElement("title",null,s),n.children)};return By!==void 0?hr.createElement(By.Consumer,null,t=>e(t)):e(hF)}var lb={},X3={exports:{}},ld={},J3={exports:{}},e4={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var DG=Object.defineProperty;var FG=(n,e,t)=>e in n?DG(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var H8;function $G(){return H8||(H8=1,function(n){function e(rt,tt){var Te=rt.length;rt.push(tt);e:for(;0>>1,$e=rt[Ge];if(0>>1;Gei(at,Te))Kt<$e&&0>i(Et,at)?(rt[Ge]=Et,rt[Kt]=Te,Ge=Kt):(rt[Ge]=at,rt[Dt]=Te,Ge=Dt);else if(Kt<$e&&0>i(Et,Te))rt[Ge]=Et,rt[Kt]=Te,Ge=Kt;else break e}}return tt}function i(rt,tt){var Te=rt.sortIndex-tt.sortIndex;return Te!==0?Te:rt.id-tt.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var f=[],v=[],x=1,B=null,k=3,P=!1,F=!1,N=!1,j=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function oe(rt){for(var tt=t(v);tt!==null;){if(tt.callback===null)r(v);else if(tt.startTime<=rt)r(v),tt.sortIndex=tt.expirationTime,e(f,tt);else break;tt=t(v)}}function te(rt){if(N=!1,oe(rt),!F)if(t(f)!==null)F=!0,dt($);else{var tt=t(v);tt!==null&&vt(te,tt.startTime-rt)}}function $(rt,tt){F=!1,N&&(N=!1,H(ie),ie=-1),P=!0;var Te=k;try{for(oe(tt),B=t(f);B!==null&&(!(B.expirationTime>tt)||rt&&!Se());){var Ge=B.callback;if(typeof Ge=="function"){B.callback=null,k=B.priorityLevel;var $e=Ge(B.expirationTime<=tt);tt=n.unstable_now(),typeof $e=="function"?B.callback=$e:B===t(f)&&r(f),oe(tt)}else r(f);B=t(f)}if(B!==null)var yt=!0;else{var Dt=t(v);Dt!==null&&vt(te,Dt.startTime-tt),yt=!1}return yt}finally{B=null,k=Te,P=!1}}var ne=!1,W=null,ie=-1,de=5,pe=-1;function Se(){return!(n.unstable_now()-pert||125Ge?(rt.sortIndex=Te,e(v,rt),t(f)===null&&rt===t(v)&&(N?(H(ie),ie=-1):N=!0,vt(te,Te-Ge))):(rt.sortIndex=$e,e(f,rt),F||P||(F=!0,dt($))),rt},n.unstable_shouldYield=Se,n.unstable_wrapCallback=function(rt){var tt=k;return function(){var Te=k;k=tt;try{return rt.apply(this,arguments)}finally{k=Te}}}}(e4)),e4}var Z8;function VG(){return Z8||(Z8=1,J3.exports=$G()),J3.exports}/** + */var HI;function $j(){return HI||(HI=1,function(n){function e(rt,tt){var Te=rt.length;rt.push(tt);e:for(;0>>1,$e=rt[je];if(0>>1;jei(at,Te))Rt<$e&&0>i(Et,at)?(rt[je]=Et,rt[Rt]=Te,je=Rt):(rt[je]=at,rt[Kt]=Te,je=Kt);else if(Rt<$e&&0>i(Et,Te))rt[je]=Et,rt[Rt]=Te,je=Rt;else break e}}return tt}function i(rt,tt){var Te=rt.sortIndex-tt.sortIndex;return Te!==0?Te:rt.id-tt.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;n.unstable_now=function(){return s.now()}}else{var l=Date,o=l.now();n.unstable_now=function(){return l.now()-o}}var f=[],v=[],x=1,B=null,k=3,P=!1,F=!1,N=!1,W=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,q=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ie(rt){for(var tt=t(v);tt!==null;){if(tt.callback===null)r(v);else if(tt.startTime<=rt)r(v),tt.sortIndex=tt.expirationTime,e(f,tt);else break;tt=t(v)}}function te(rt){if(N=!1,ie(rt),!F)if(t(f)!==null)F=!0,dt(V);else{var tt=t(v);tt!==null&&vt(te,tt.startTime-rt)}}function V(rt,tt){F=!1,N&&(N=!1,H(oe),oe=-1),P=!0;var Te=k;try{for(ie(tt),B=t(f);B!==null&&(!(B.expirationTime>tt)||rt&&!Se());){var je=B.callback;if(typeof je=="function"){B.callback=null,k=B.priorityLevel;var $e=je(B.expirationTime<=tt);tt=n.unstable_now(),typeof $e=="function"?B.callback=$e:B===t(f)&&r(f),ie(tt)}else r(f);B=t(f)}if(B!==null)var yt=!0;else{var Kt=t(v);Kt!==null&&vt(te,Kt.startTime-tt),yt=!1}return yt}finally{B=null,k=Te,P=!1}}var ne=!1,G=null,oe=-1,de=5,pe=-1;function Se(){return!(n.unstable_now()-pert||125je?(rt.sortIndex=Te,e(v,rt),t(f)===null&&rt===t(v)&&(N?(H(oe),oe=-1):N=!0,vt(te,Te-je))):(rt.sortIndex=$e,e(f,rt),F||P||(F=!0,dt(V))),rt},n.unstable_shouldYield=Se,n.unstable_wrapCallback=function(rt){var tt=k;return function(){var Te=k;k=tt;try{return rt.apply(this,arguments)}finally{k=Te}}}}(e4)),e4}var ZI;function Vj(){return ZI||(ZI=1,J3.exports=$j()),J3.exports}/** * @license React * react-dom.production.min.js * @@ -30,52 +30,52 @@ var DG=Object.defineProperty;var FG=(n,e,t)=>e in n?DG(n,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var X8;function HG(){if(X8)return ld;X8=1;var n=nl(),e=VG();function t(m){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+m,D=1;D"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,v=/^[: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]*$/,x={},B={};function k(m){return f.call(B,m)?!0:f.call(x,m)?!1:v.test(m)?B[m]=!0:(x[m]=!0,!1)}function P(m,_,D,Q){if(D!==null&&D.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return Q?!1:D!==null?!D.acceptsBooleans:(m=m.toLowerCase().slice(0,5),m!=="data-"&&m!=="aria-");default:return!1}}function F(m,_,D,Q){if(_===null||typeof _>"u"||P(m,_,D,Q))return!0;if(Q)return!1;if(D!==null)switch(D.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function N(m,_,D,Q,ae,ve,Je){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=Q,this.attributeNamespace=ae,this.mustUseProperty=D,this.propertyName=m,this.type=_,this.sanitizeURL=ve,this.removeEmptyString=Je}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){j[m]=new N(m,0,!1,m,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(m){var _=m[0];j[_]=new N(_,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){j[m]=new N(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){j[m]=new N(m,2,!1,m,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(m){j[m]=new N(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){j[m]=new N(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){j[m]=new N(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){j[m]=new N(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){j[m]=new N(m,5,!1,m.toLowerCase(),null,!1,!1)});var H=/[\-:]([a-z])/g;function X(m){return m[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(m){var _=m.replace(H,X);j[_]=new N(_,1,!1,m,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(m){var _=m.replace(H,X);j[_]=new N(_,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var _=m.replace(H,X);j[_]=new N(_,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){j[m]=new N(m,1,!1,m.toLowerCase(),null,!1,!1)}),j.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){j[m]=new N(m,1,!1,m.toLowerCase(),null,!0,!0)});function oe(m,_,D,Q){var ae=j.hasOwnProperty(_)?j[_]:null;(ae!==null?ae.type!==0:Q||!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N")&&(F(_,D,ae,Q)&&(D=null),Q||ae===null?k(_)&&(D===null?m.removeAttribute(_):m.setAttribute(_,""+D)):ae.mustUseProperty?m[ae.propertyName]=D===null?ae.type===3?!1:"":D:(_=ae.attributeName,Q=ae.attributeNamespace,D===null?m.removeAttribute(_):(ae=ae.type,D=ae===3||ae===4&&D===!0?"":""+D,Q?m.setAttributeNS(Q,_,D):m.setAttribute(_,D))))}var te=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),ne=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),pe=Symbol.for("react.provider"),Se=Symbol.for("react.context"),we=Symbol.for("react.forward_ref"),Ce=Symbol.for("react.suspense"),Re=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),dt=Symbol.for("react.lazy"),vt=Symbol.for("react.offscreen"),rt=Symbol.iterator;function tt(m){return m===null||typeof m!="object"?null:(m=rt&&m[rt]||m["@@iterator"],typeof m=="function"?m:null)}var Te=Object.assign,Ge;function $e(m){if(Ge===void 0)try{throw Error()}catch(D){var _=D.stack.trim().match(/\n( *(at )?)/);Ge=_&&_[1]||""}return` -`+Ge+m}var yt=!1;function Dt(m,_){if(!m||yt)return"";yt=!0;var D=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_)if(_=function(){throw Error()},Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(wn){var Q=wn}Reflect.construct(m,[],_)}else{try{_.call()}catch(wn){Q=wn}m.call(_.prototype)}else{try{throw Error()}catch(wn){Q=wn}m()}}catch(wn){if(wn&&Q&&typeof wn.stack=="string"){for(var ae=wn.stack.split(` + */var XI;function Hj(){if(XI)return ld;XI=1;var n=nl(),e=Vj();function t(m){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+m,K=1;K"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,v=/^[: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]*$/,x={},B={};function k(m){return f.call(B,m)?!0:f.call(x,m)?!1:v.test(m)?B[m]=!0:(x[m]=!0,!1)}function P(m,_,K,Q){if(K!==null&&K.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return Q?!1:K!==null?!K.acceptsBooleans:(m=m.toLowerCase().slice(0,5),m!=="data-"&&m!=="aria-");default:return!1}}function F(m,_,K,Q){if(_===null||typeof _>"u"||P(m,_,K,Q))return!0;if(Q)return!1;if(K!==null)switch(K.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function N(m,_,K,Q,ae,ve,Je){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=Q,this.attributeNamespace=ae,this.mustUseProperty=K,this.propertyName=m,this.type=_,this.sanitizeURL=ve,this.removeEmptyString=Je}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){W[m]=new N(m,0,!1,m,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(m){var _=m[0];W[_]=new N(_,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){W[m]=new N(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){W[m]=new N(m,2,!1,m,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(m){W[m]=new N(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){W[m]=new N(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){W[m]=new N(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){W[m]=new N(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){W[m]=new N(m,5,!1,m.toLowerCase(),null,!1,!1)});var H=/[\-:]([a-z])/g;function q(m){return m[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(m){var _=m.replace(H,q);W[_]=new N(_,1,!1,m,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(m){var _=m.replace(H,q);W[_]=new N(_,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var _=m.replace(H,q);W[_]=new N(_,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){W[m]=new N(m,1,!1,m.toLowerCase(),null,!1,!1)}),W.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){W[m]=new N(m,1,!1,m.toLowerCase(),null,!0,!0)});function ie(m,_,K,Q){var ae=W.hasOwnProperty(_)?W[_]:null;(ae!==null?ae.type!==0:Q||!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N")&&(F(_,K,ae,Q)&&(K=null),Q||ae===null?k(_)&&(K===null?m.removeAttribute(_):m.setAttribute(_,""+K)):ae.mustUseProperty?m[ae.propertyName]=K===null?ae.type===3?!1:"":K:(_=ae.attributeName,Q=ae.attributeNamespace,K===null?m.removeAttribute(_):(ae=ae.type,K=ae===3||ae===4&&K===!0?"":""+K,Q?m.setAttributeNS(Q,_,K):m.setAttribute(_,K))))}var te=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),ne=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),oe=Symbol.for("react.strict_mode"),de=Symbol.for("react.profiler"),pe=Symbol.for("react.provider"),Se=Symbol.for("react.context"),we=Symbol.for("react.forward_ref"),Ce=Symbol.for("react.suspense"),De=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),dt=Symbol.for("react.lazy"),vt=Symbol.for("react.offscreen"),rt=Symbol.iterator;function tt(m){return m===null||typeof m!="object"?null:(m=rt&&m[rt]||m["@@iterator"],typeof m=="function"?m:null)}var Te=Object.assign,je;function $e(m){if(je===void 0)try{throw Error()}catch(K){var _=K.stack.trim().match(/\n( *(at )?)/);je=_&&_[1]||""}return` +`+je+m}var yt=!1;function Kt(m,_){if(!m||yt)return"";yt=!0;var K=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(_)if(_=function(){throw Error()},Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(wn){var Q=wn}Reflect.construct(m,[],_)}else{try{_.call()}catch(wn){Q=wn}m.call(_.prototype)}else{try{throw Error()}catch(wn){Q=wn}m()}}catch(wn){if(wn&&Q&&typeof wn.stack=="string"){for(var ae=wn.stack.split(` `),ve=Q.stack.split(` `),Je=ae.length-1,Bt=ve.length-1;1<=Je&&0<=Bt&&ae[Je]!==ve[Bt];)Bt--;for(;1<=Je&&0<=Bt;Je--,Bt--)if(ae[Je]!==ve[Bt]){if(Je!==1||Bt!==1)do if(Je--,Bt--,0>Bt||ae[Je]!==ve[Bt]){var Qt=` -`+ae[Je].replace(" at new "," at ");return m.displayName&&Qt.includes("")&&(Qt=Qt.replace("",m.displayName)),Qt}while(1<=Je&&0<=Bt);break}}}finally{yt=!1,Error.prepareStackTrace=D}return(m=m?m.displayName||m.name:"")?$e(m):""}function at(m){switch(m.tag){case 5:return $e(m.type);case 16:return $e("Lazy");case 13:return $e("Suspense");case 19:return $e("SuspenseList");case 0:case 2:case 15:return m=Dt(m.type,!1),m;case 11:return m=Dt(m.type.render,!1),m;case 1:return m=Dt(m.type,!0),m;default:return""}}function Kt(m){if(m==null)return null;if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case W:return"Fragment";case ne:return"Portal";case de:return"Profiler";case ie:return"StrictMode";case Ce:return"Suspense";case Re:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case Se:return(m.displayName||"Context")+".Consumer";case pe:return(m._context.displayName||"Context")+".Provider";case we:var _=m.render;return m=m.displayName,m||(m=_.displayName||_.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case xe:return _=m.displayName||null,_!==null?_:Kt(m.type)||"Memo";case dt:_=m._payload,m=m._init;try{return Kt(m(_))}catch{}}return null}function Et(m){var _=m.type;switch(m.tag){case 24:return"Cache";case 9:return(_.displayName||"Context")+".Consumer";case 10:return(_._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return m=_.render,m=m.displayName||m.name||"",_.displayName||(m!==""?"ForwardRef("+m+")":"ForwardRef");case 7:return"Fragment";case 5:return _;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Kt(_);case 8:return _===ie?"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 _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _}return null}function Fe(m){switch(typeof m){case"boolean":case"number":case"string":case"undefined":return m;case"object":return m;default:return""}}function Pe(m){var _=m.type;return(m=m.nodeName)&&m.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Ee(m){var _=Pe(m)?"checked":"value",D=Object.getOwnPropertyDescriptor(m.constructor.prototype,_),Q=""+m[_];if(!m.hasOwnProperty(_)&&typeof D<"u"&&typeof D.get=="function"&&typeof D.set=="function"){var ae=D.get,ve=D.set;return Object.defineProperty(m,_,{configurable:!0,get:function(){return ae.call(this)},set:function(Je){Q=""+Je,ve.call(this,Je)}}),Object.defineProperty(m,_,{enumerable:D.enumerable}),{getValue:function(){return Q},setValue:function(Je){Q=""+Je},stopTracking:function(){m._valueTracker=null,delete m[_]}}}}function nt(m){m._valueTracker||(m._valueTracker=Ee(m))}function Ct(m){if(!m)return!1;var _=m._valueTracker;if(!_)return!0;var D=_.getValue(),Q="";return m&&(Q=Pe(m)?m.checked?"true":"false":m.value),m=Q,m!==D?(_.setValue(m),!0):!1}function ut(m){if(m=m||(typeof document<"u"?document:void 0),typeof m>"u")return null;try{return m.activeElement||m.body}catch{return m.body}}function Lt(m,_){var D=_.checked;return Te({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:D??m._wrapperState.initialChecked})}function $t(m,_){var D=_.defaultValue==null?"":_.defaultValue,Q=_.checked!=null?_.checked:_.defaultChecked;D=Fe(_.value!=null?_.value:D),m._wrapperState={initialChecked:Q,initialValue:D,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function Rt(m,_){_=_.checked,_!=null&&oe(m,"checked",_,!1)}function yn(m,_){Rt(m,_);var D=Fe(_.value),Q=_.type;if(D!=null)Q==="number"?(D===0&&m.value===""||m.value!=D)&&(m.value=""+D):m.value!==""+D&&(m.value=""+D);else if(Q==="submit"||Q==="reset"){m.removeAttribute("value");return}_.hasOwnProperty("value")?Jt(m,_.type,D):_.hasOwnProperty("defaultValue")&&Jt(m,_.type,Fe(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(m.defaultChecked=!!_.defaultChecked)}function Qn(m,_,D){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var Q=_.type;if(!(Q!=="submit"&&Q!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+m._wrapperState.initialValue,D||_===m.value||(m.value=_),m.defaultValue=_}D=m.name,D!==""&&(m.name=""),m.defaultChecked=!!m._wrapperState.initialChecked,D!==""&&(m.name=D)}function Jt(m,_,D){(_!=="number"||ut(m.ownerDocument)!==m)&&(D==null?m.defaultValue=""+m._wrapperState.initialValue:m.defaultValue!==""+D&&(m.defaultValue=""+D))}var Zn=Array.isArray;function Bn(m,_,D,Q){if(m=m.options,_){_={};for(var ae=0;ae"+_.valueOf().toString()+"",_=he.firstChild;m.firstChild;)m.removeChild(m.firstChild);for(;_.firstChild;)m.appendChild(_.firstChild)}});function et(m,_){if(_){var D=m.firstChild;if(D&&D===m.lastChild&&D.nodeType===3){D.nodeValue=_;return}}m.textContent=_}var St={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},Yt=["Webkit","ms","Moz","O"];Object.keys(St).forEach(function(m){Yt.forEach(function(_){_=_+m.charAt(0).toUpperCase()+m.substring(1),St[_]=St[m]})});function tn(m,_,D){return _==null||typeof _=="boolean"||_===""?"":D||typeof _!="number"||_===0||St.hasOwnProperty(m)&&St[m]?(""+_).trim():_+"px"}function sr(m,_){m=m.style;for(var D in _)if(_.hasOwnProperty(D)){var Q=D.indexOf("--")===0,ae=tn(D,_[D],Q);D==="float"&&(D="cssFloat"),Q?m.setProperty(D,ae):m[D]=ae}}var Ze=Te({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 le(m,_){if(_){if(Ze[m]&&(_.children!=null||_.dangerouslySetInnerHTML!=null))throw Error(t(137,m));if(_.dangerouslySetInnerHTML!=null){if(_.children!=null)throw Error(t(60));if(typeof _.dangerouslySetInnerHTML!="object"||!("__html"in _.dangerouslySetInnerHTML))throw Error(t(61))}if(_.style!=null&&typeof _.style!="object")throw Error(t(62))}}function ge(m,_){if(m.indexOf("-")===-1)return typeof _.is=="string";switch(m){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 p=null;function We(m){return m=m.target||m.srcElement||window,m.correspondingUseElement&&(m=m.correspondingUseElement),m.nodeType===3?m.parentNode:m}var Ye=null,Ke=null,At=null;function ct(m){if(m=Ro(m)){if(typeof Ye!="function")throw Error(t(280));var _=m.stateNode;_&&(_=Os(_),Ye(m.stateNode,m.type,_))}}function Ft(m){Ke?At?At.push(m):At=[m]:Ke=m}function Gt(){if(Ke){var m=Ke,_=At;if(At=Ke=null,ct(m),_)for(m=0;m<_.length;m++)ct(_[m])}}function Wt(m,_){return m(_)}function rn(){}var Tn=!1;function Fn(m,_,D){if(Tn)return m(_,D);Tn=!0;try{return Wt(m,_,D)}finally{Tn=!1,(Ke!==null||At!==null)&&(rn(),Gt())}}function pr(m,_){var D=m.stateNode;if(D===null)return null;var Q=Os(D);if(Q===null)return null;D=Q[_];e:switch(_){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Q=!Q.disabled)||(m=m.type,Q=!(m==="button"||m==="input"||m==="select"||m==="textarea")),m=!Q;break e;default:m=!1}if(m)return null;if(D&&typeof D!="function")throw Error(t(231,_,typeof D));return D}var kr=!1;if(o)try{var ar={};Object.defineProperty(ar,"passive",{get:function(){kr=!0}}),window.addEventListener("test",ar,ar),window.removeEventListener("test",ar,ar)}catch{kr=!1}function on(m,_,D,Q,ae,ve,Je,Bt,Qt){var wn=Array.prototype.slice.call(arguments,3);try{_.apply(D,wn)}catch(lr){this.onError(lr)}}var ni=!1,Ai=null,Gr=!1,Lr=null,Sn={onError:function(m){ni=!0,Ai=m}};function Dr(m,_,D,Q,ae,ve,Je,Bt,Qt){ni=!1,Ai=null,on.apply(Sn,arguments)}function ci(m,_,D,Q,ae,ve,Je,Bt,Qt){if(Dr.apply(this,arguments),ni){if(ni){var wn=Ai;ni=!1,Ai=null}else throw Error(t(198));Gr||(Gr=!0,Lr=wn)}}function Ki(m){var _=m,D=m;if(m.alternate)for(;_.return;)_=_.return;else{m=_;do _=m,(_.flags&4098)!==0&&(D=_.return),m=_.return;while(m)}return _.tag===3?D:null}function vi(m){if(m.tag===13){var _=m.memoizedState;if(_===null&&(m=m.alternate,m!==null&&(_=m.memoizedState)),_!==null)return _.dehydrated}return null}function us(m){if(Ki(m)!==m)throw Error(t(188))}function $r(m){var _=m.alternate;if(!_){if(_=Ki(m),_===null)throw Error(t(188));return _!==m?null:m}for(var D=m,Q=_;;){var ae=D.return;if(ae===null)break;var ve=ae.alternate;if(ve===null){if(Q=ae.return,Q!==null){D=Q;continue}break}if(ae.child===ve.child){for(ve=ae.child;ve;){if(ve===D)return us(ae),m;if(ve===Q)return us(ae),_;ve=ve.sibling}throw Error(t(188))}if(D.return!==Q.return)D=ae,Q=ve;else{for(var Je=!1,Bt=ae.child;Bt;){if(Bt===D){Je=!0,D=ae,Q=ve;break}if(Bt===Q){Je=!0,Q=ae,D=ve;break}Bt=Bt.sibling}if(!Je){for(Bt=ve.child;Bt;){if(Bt===D){Je=!0,D=ve,Q=ae;break}if(Bt===Q){Je=!0,Q=ve,D=ae;break}Bt=Bt.sibling}if(!Je)throw Error(t(189))}}if(D.alternate!==Q)throw Error(t(190))}if(D.tag!==3)throw Error(t(188));return D.stateNode.current===D?m:_}function bs(m){return m=$r(m),m!==null?Ua(m):null}function Ua(m){if(m.tag===5||m.tag===6)return m;for(m=m.child;m!==null;){var _=Ua(m);if(_!==null)return _;m=m.sibling}return null}var fa=e.unstable_scheduleCallback,Wo=e.unstable_cancelCallback,Ns=e.unstable_shouldYield,dl=e.unstable_requestPaint,hi=e.unstable_now,sa=e.unstable_getCurrentPriorityLevel,xo=e.unstable_ImmediatePriority,Ao=e.unstable_UserBlockingPriority,Or=e.unstable_NormalPriority,Sa=e.unstable_LowPriority,$o=e.unstable_IdlePriority,es=null,qe=null;function bt(m){if(qe&&typeof qe.onCommitFiberRoot=="function")try{qe.onCommitFiberRoot(es,m,void 0,(m.current.flags&128)===128)}catch{}}var bn=Math.clz32?Math.clz32:vr,Yn=Math.log,fn=Math.LN2;function vr(m){return m>>>=0,m===0?32:31-(Yn(m)/fn|0)|0}var Yi=64,To=4194304;function ps(m){switch(m&-m){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 m&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return m&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return m}}function pa(m,_){var D=m.pendingLanes;if(D===0)return 0;var Q=0,ae=m.suspendedLanes,ve=m.pingedLanes,Je=D&268435455;if(Je!==0){var Bt=Je&~ae;Bt!==0?Q=ps(Bt):(ve&=Je,ve!==0&&(Q=ps(ve)))}else Je=D&~ae,Je!==0?Q=ps(Je):ve!==0&&(Q=ps(ve));if(Q===0)return 0;if(_!==0&&_!==Q&&(_&ae)===0&&(ae=Q&-Q,ve=_&-_,ae>=ve||ae===16&&(ve&4194240)!==0))return _;if((Q&4)!==0&&(Q|=D&16),_=m.entangledLanes,_!==0)for(m=m.entanglements,_&=Q;0<_;)D=31-bn(_),ae=1<D;D++)_.push(m);return _}function za(m,_,D){m.pendingLanes|=_,_!==536870912&&(m.suspendedLanes=0,m.pingedLanes=0),m=m.eventTimes,_=31-bn(_),m[_]=D}function eu(m,_){var D=m.pendingLanes&~_;m.pendingLanes=_,m.suspendedLanes=0,m.pingedLanes=0,m.expiredLanes&=_,m.mutableReadLanes&=_,m.entangledLanes&=_,_=m.entanglements;var Q=m.eventTimes;for(m=m.expirationTimes;0=wl),_d=" ",bd=!1;function pl(m,_){switch(m){case"keyup":return IA.indexOf(_.keyCode)!==-1;case"keydown":return _.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rc(m){return m=m.detail,typeof m=="object"&&"data"in m?m.data:null}var Dc=!1;function ju(m,_){switch(m){case"compositionend":return Rc(_);case"keypress":return _.which!==32?null:(bd=!0,_d);case"textInput":return m=_.data,m===_d&&bd?null:m;default:return null}}function qf(m,_){if(Dc)return m==="compositionend"||!Xh&&pl(m,_)?(m=Mo(),qi=ri=Rr=null,Dc=!1,m):null;switch(m){case"paste":return null;case"keypress":if(!(_.ctrlKey||_.altKey||_.metaKey)||_.ctrlKey&&_.altKey){if(_.char&&1<_.char.length)return _.char;if(_.which)return String.fromCharCode(_.which)}return null;case"compositionend":return xh&&_.locale!=="ko"?null:_.data;default:return null}}var df={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 xd(m){var _=m&&m.nodeName&&m.nodeName.toLowerCase();return _==="input"?!!df[m.type]:_==="textarea"}function Md(m,_,D,Q){Ft(Q),_=pc(_,"onChange"),0<_.length&&(D=new Ws("onChange","change",null,D,Q),m.push({event:D,listeners:_}))}var il=null,ml=null;function $f(m){Ed(m,0)}function Mh(m){var _=li(m);if(Ct(_))return m}function Kp(m,_){if(m==="change")return _}var ao=!1;if(o){var Oa;if(o){var wh="oninput"in document;if(!wh){var wd=document.createElement("div");wd.setAttribute("oninput","return;"),wh=typeof wd.oninput=="function"}Oa=wh}else Oa=!1;ao=Oa&&(!document.documentMode||9=_)return{node:D,offset:_-m};m=Q}e:{for(;D;){if(D.nextSibling){D=D.nextSibling;break e}D=D.parentNode}D=void 0}D=Ri(D)}}function ga(m,_){return m&&_?m===_?!0:m&&m.nodeType===3?!1:_&&_.nodeType===3?ga(m,_.parentNode):"contains"in m?m.contains(_):m.compareDocumentPosition?!!(m.compareDocumentPosition(_)&16):!1:!1}function ts(){for(var m=window,_=ut();_ instanceof m.HTMLIFrameElement;){try{var D=typeof _.contentWindow.location.href=="string"}catch{D=!1}if(D)m=_.contentWindow;else break;_=ut(m.document)}return _}function hc(m){var _=m&&m.nodeName&&m.nodeName.toLowerCase();return _&&(_==="input"&&(m.type==="text"||m.type==="search"||m.type==="tel"||m.type==="url"||m.type==="password")||_==="textarea"||m.contentEditable==="true")}function mf(m){var _=ts(),D=m.focusedElem,Q=m.selectionRange;if(_!==D&&D&&D.ownerDocument&&ga(D.ownerDocument.documentElement,D)){if(Q!==null&&hc(D)){if(_=Q.start,m=Q.end,m===void 0&&(m=_),"selectionStart"in D)D.selectionStart=_,D.selectionEnd=Math.min(m,D.value.length);else if(m=(_=D.ownerDocument||document)&&_.defaultView||window,m.getSelection){m=m.getSelection();var ae=D.textContent.length,ve=Math.min(Q.start,ae);Q=Q.end===void 0?ve:Math.min(Q.end,ae),!m.extend&&ve>Q&&(ae=Q,Q=ve,ve=ae),ae=Go(D,ve);var Je=Go(D,Q);ae&&Je&&(m.rangeCount!==1||m.anchorNode!==ae.node||m.anchorOffset!==ae.offset||m.focusNode!==Je.node||m.focusOffset!==Je.offset)&&(_=_.createRange(),_.setStart(ae.node,ae.offset),m.removeAllRanges(),ve>Q?(m.addRange(_),m.extend(Je.node,Je.offset)):(_.setEnd(Je.node,Je.offset),m.addRange(_)))}}for(_=[],m=D;m=m.parentNode;)m.nodeType===1&&_.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<_.length;D++)m=_[D],m.element.scrollLeft=m.left,m.element.scrollTop=m.top}}var TA=o&&"documentMode"in document&&11>=document.documentMode,AA=null,vu=null,ja=null,ya=!1;function oh(m,_,D){var Q=D.window===D?D.document:D.nodeType===9?D:D.ownerDocument;ya||AA==null||AA!==ut(Q)||(Q=AA,"selectionStart"in Q&&hc(Q)?Q={start:Q.selectionStart,end:Q.selectionEnd}:(Q=(Q.ownerDocument&&Q.ownerDocument.defaultView||window).getSelection(),Q={anchorNode:Q.anchorNode,anchorOffset:Q.anchorOffset,focusNode:Q.focusNode,focusOffset:Q.focusOffset}),ja&&Ur(ja,Q)||(ja=Q,Q=pc(vu,"onSelect"),0$u||(m.current=js[$u],js[$u]=null,$u--)}function Is(m,_){$u++,js[$u]=m.current,m.current=_}var ru={},qa=ol(ru),yl=ol(!1),vl=ru;function Vu(m,_){var D=m.type.contextTypes;if(!D)return ru;var Q=m.stateNode;if(Q&&Q.__reactInternalMemoizedUnmaskedChildContext===_)return Q.__reactInternalMemoizedMaskedChildContext;var ae={},ve;for(ve in D)ae[ve]=_[ve];return Q&&(m=m.stateNode,m.__reactInternalMemoizedUnmaskedChildContext=_,m.__reactInternalMemoizedMaskedChildContext=ae),ae}function Ol(m){return m=m.childContextTypes,m!=null}function Ia(){Rs(yl),Rs(qa)}function iu(m,_,D){if(qa.current!==ru)throw Error(t(168));Is(qa,_),Is(yl,D)}function ch(m,_,D){var Q=m.stateNode;if(_=_.childContextTypes,typeof Q.getChildContext!="function")return D;Q=Q.getChildContext();for(var ae in Q)if(!(ae in _))throw Error(t(108,Et(m)||"Unknown",ae));return Te({},D,Q)}function ea(m){return m=(m=m.stateNode)&&m.__reactInternalMemoizedMergedChildContext||ru,vl=qa.current,Is(qa,m),Is(yl,yl.current),!0}function hh(m,_,D){var Q=m.stateNode;if(!Q)throw Error(t(169));D?(m=ch(m,_,vl),Q.__reactInternalMemoizedMergedChildContext=m,Rs(yl),Rs(qa),Is(qa,m)):Rs(yl),Is(yl,D)}var ql=null,yf=!1,dh=!1;function ou(m){ql===null?ql=[m]:ql.push(m)}function yc(m){yf=!0,ou(m)}function su(){if(!dh&&ql!==null){dh=!0;var m=0,_=xi;try{var D=ql;for(xi=1;m>=Je,ae-=Je,RA=1<<32-bn(_)+ae|D<$i?(jA=Si,Si=null):jA=Si.sibling;var ws=Ar(An,Si,pn[$i],br);if(ws===null){Si===null&&(Si=jA);break}m&&Si&&ws.alternate===null&&_(An,Si),Zt=ve(ws,Zt,$i),Pi===null?mi=ws:Pi.sibling=ws,Pi=ws,Si=jA}if($i===pn.length)return D(An,Si),ys&&vc(An,$i),mi;if(Si===null){for(;$i$i?(jA=Si,Si=null):jA=Si.sibling;var jd=Ar(An,Si,ws.value,br);if(jd===null){Si===null&&(Si=jA);break}m&&Si&&jd.alternate===null&&_(An,Si),Zt=ve(jd,Zt,$i),Pi===null?mi=jd:Pi.sibling=jd,Pi=jd,Si=jA}if(ws.done)return D(An,Si),ys&&vc(An,$i),mi;if(Si===null){for(;!ws.done;$i++,ws=pn.next())ws=Cr(An,ws.value,br),ws!==null&&(Zt=ve(ws,Zt,$i),Pi===null?mi=ws:Pi.sibling=ws,Pi=ws);return ys&&vc(An,$i),mi}for(Si=Q(An,Si);!ws.done;$i++,ws=pn.next())ws=jr(Si,An,$i,ws.value,br),ws!==null&&(m&&ws.alternate!==null&&Si.delete(ws.key===null?$i:ws.key),Zt=ve(ws,Zt,$i),Pi===null?mi=ws:Pi.sibling=ws,Pi=ws);return m&&Si.forEach(function(ov){return _(An,ov)}),ys&&vc(An,$i),mi}function ul(An,Zt,pn,br){if(typeof pn=="object"&&pn!==null&&pn.type===W&&pn.key===null&&(pn=pn.props.children),typeof pn=="object"&&pn!==null){switch(pn.$$typeof){case $:e:{for(var mi=pn.key,Pi=Zt;Pi!==null;){if(Pi.key===mi){if(mi=pn.type,mi===W){if(Pi.tag===7){D(An,Pi.sibling),Zt=ae(Pi,pn.props.children),Zt.return=An,An=Zt;break e}}else if(Pi.elementType===mi||typeof mi=="object"&&mi!==null&&mi.$$typeof===dt&&Tl(mi)===Pi.type){D(An,Pi.sibling),Zt=ae(Pi,pn.props),Zt.ref=td(An,Pi,pn),Zt.return=An,An=Zt;break e}D(An,Pi);break}else _(An,Pi);Pi=Pi.sibling}pn.type===W?(Zt=np(pn.props.children,An.mode,br,pn.key),Zt.return=An,An=Zt):(br=Wp(pn.type,pn.key,pn.props,null,An.mode,br),br.ref=td(An,Zt,pn),br.return=An,An=br)}return Je(An);case ne:e:{for(Pi=pn.key;Zt!==null;){if(Zt.key===Pi)if(Zt.tag===4&&Zt.stateNode.containerInfo===pn.containerInfo&&Zt.stateNode.implementation===pn.implementation){D(An,Zt.sibling),Zt=ae(Zt,pn.children||[]),Zt.return=An,An=Zt;break e}else{D(An,Zt);break}else _(An,Zt);Zt=Zt.sibling}Zt=ig(pn,An.mode,br),Zt.return=An,An=Zt}return Je(An);case dt:return Pi=pn._init,ul(An,Zt,Pi(pn._payload),br)}if(Zn(pn))return oi(An,Zt,pn,br);if(tt(pn))return di(An,Zt,pn,br);Ih(An,pn)}return typeof pn=="string"&&pn!==""||typeof pn=="number"?(pn=""+pn,Zt!==null&&Zt.tag===6?(D(An,Zt.sibling),Zt=ae(Zt,pn),Zt.return=An,An=Zt):(D(An,Zt),Zt=rg(pn,An.mode,br),Zt.return=An,An=Zt),Je(An)):D(An,Zt)}return ul}var _r=Xu(!0),ii=Xu(!1),xc=ol(null),kl=null,Ju=null,Qs=null;function Ou(){Qs=Ju=kl=null}function as(m){var _=xc.current;Rs(xc),m._currentValue=_}function Ta(m,_,D){for(;m!==null;){var Q=m.alternate;if((m.childLanes&_)!==_?(m.childLanes|=_,Q!==null&&(Q.childLanes|=_)):Q!==null&&(Q.childLanes&_)!==_&&(Q.childLanes|=_),m===D)break;m=m.return}}function fA(m,_){kl=m,Qs=Ju=null,m=m.dependencies,m!==null&&m.firstContext!==null&&((m.lanes&_)!==0&&(eA=!0),m.firstContext=null)}function Do(m){var _=m._currentValue;if(Qs!==m)if(m={context:m,memoizedValue:_,next:null},Ju===null){if(kl===null)throw Error(t(308));Ju=m,kl.dependencies={lanes:0,firstContext:m}}else Ju=Ju.next=m;return _}var ls=null;function au(m){ls===null?ls=[m]:ls.push(m)}function ec(m,_,D,Q){var ae=_.interleaved;return ae===null?(D.next=D,au(_)):(D.next=ae.next,ae.next=D),_.interleaved=D,FA(m,Q)}function FA(m,_){m.lanes|=_;var D=m.alternate;for(D!==null&&(D.lanes|=_),D=m,m=m.return;m!==null;)m.childLanes|=_,D=m.alternate,D!==null&&(D.childLanes|=_),D=m,m=m.return;return D.tag===3?D.stateNode:null}var al=!1;function Th(m){m.updateQueue={baseState:m.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gc(m,_){m=m.updateQueue,_.updateQueue===m&&(_.updateQueue={baseState:m.baseState,firstBaseUpdate:m.firstBaseUpdate,lastBaseUpdate:m.lastBaseUpdate,shared:m.shared,effects:m.effects})}function pA(m,_){return{eventTime:m,lane:_,tag:0,payload:null,callback:null,next:null}}function Pl(m,_,D){var Q=m.updateQueue;if(Q===null)return null;if(Q=Q.shared,(Mi&2)!==0){var ae=Q.pending;return ae===null?_.next=_:(_.next=ae.next,ae.next=_),Q.pending=_,FA(m,D)}return ae=Q.interleaved,ae===null?(_.next=_,au(Q)):(_.next=ae.next,ae.next=_),Q.interleaved=_,FA(m,D)}function O(m,_,D){if(_=_.updateQueue,_!==null&&(_=_.shared,(D&4194240)!==0)){var Q=_.lanes;Q&=m.pendingLanes,D|=Q,_.lanes=D,Ea(m,D)}}function a(m,_){var D=m.updateQueue,Q=m.alternate;if(Q!==null&&(Q=Q.updateQueue,D===Q)){var ae=null,ve=null;if(D=D.firstBaseUpdate,D!==null){do{var Je={eventTime:D.eventTime,lane:D.lane,tag:D.tag,payload:D.payload,callback:D.callback,next:null};ve===null?ae=ve=Je:ve=ve.next=Je,D=D.next}while(D!==null);ve===null?ae=ve=_:ve=ve.next=_}else ae=ve=_;D={baseState:Q.baseState,firstBaseUpdate:ae,lastBaseUpdate:ve,shared:Q.shared,effects:Q.effects},m.updateQueue=D;return}m=D.lastBaseUpdate,m===null?D.firstBaseUpdate=_:m.next=_,D.lastBaseUpdate=_}function c(m,_,D,Q){var ae=m.updateQueue;al=!1;var ve=ae.firstBaseUpdate,Je=ae.lastBaseUpdate,Bt=ae.shared.pending;if(Bt!==null){ae.shared.pending=null;var Qt=Bt,wn=Qt.next;Qt.next=null,Je===null?ve=wn:Je.next=wn,Je=Qt;var lr=m.alternate;lr!==null&&(lr=lr.updateQueue,Bt=lr.lastBaseUpdate,Bt!==Je&&(Bt===null?lr.firstBaseUpdate=wn:Bt.next=wn,lr.lastBaseUpdate=Qt))}if(ve!==null){var Cr=ae.baseState;Je=0,lr=wn=Qt=null,Bt=ve;do{var Ar=Bt.lane,jr=Bt.eventTime;if((Q&Ar)===Ar){lr!==null&&(lr=lr.next={eventTime:jr,lane:0,tag:Bt.tag,payload:Bt.payload,callback:Bt.callback,next:null});e:{var oi=m,di=Bt;switch(Ar=_,jr=D,di.tag){case 1:if(oi=di.payload,typeof oi=="function"){Cr=oi.call(jr,Cr,Ar);break e}Cr=oi;break e;case 3:oi.flags=oi.flags&-65537|128;case 0:if(oi=di.payload,Ar=typeof oi=="function"?oi.call(jr,Cr,Ar):oi,Ar==null)break e;Cr=Te({},Cr,Ar);break e;case 2:al=!0}}Bt.callback!==null&&Bt.lane!==0&&(m.flags|=64,Ar=ae.effects,Ar===null?ae.effects=[Bt]:Ar.push(Bt))}else jr={eventTime:jr,lane:Ar,tag:Bt.tag,payload:Bt.payload,callback:Bt.callback,next:null},lr===null?(wn=lr=jr,Qt=Cr):lr=lr.next=jr,Je|=Ar;if(Bt=Bt.next,Bt===null){if(Bt=ae.shared.pending,Bt===null)break;Ar=Bt,Bt=Ar.next,Ar.next=null,ae.lastBaseUpdate=Ar,ae.shared.pending=null}}while(!0);if(lr===null&&(Qt=Cr),ae.baseState=Qt,ae.firstBaseUpdate=wn,ae.lastBaseUpdate=lr,_=ae.shared.interleaved,_!==null){ae=_;do Je|=ae.lane,ae=ae.next;while(ae!==_)}else ve===null&&(ae.shared.lanes=0);GA|=Je,m.lanes=Je,m.memoizedState=Cr}}function C(m,_,D){if(m=_.effects,_.effects=null,m!==null)for(_=0;_D?D:4,m(!0);var Q=Mt.transition;Mt.transition={};try{m(!1),_()}finally{xi=D,Mt.transition=Q}}function vs(){return Ir().memoizedState}function _f(m,_,D){var Q=Ef(m);if(D={lane:Q,action:D,hasEagerState:!1,eagerState:null,next:null},Id(m))yA(_,D);else if(D=ec(m,_,D,Q),D!==null){var ae=rc();mh(D,m,Q,ae),UA(D,_,Q)}}function Od(m,_,D){var Q=Ef(m),ae={lane:Q,action:D,hasEagerState:!1,eagerState:null,next:null};if(Id(m))yA(_,ae);else{var ve=m.alternate;if(m.lanes===0&&(ve===null||ve.lanes===0)&&(ve=_.lastRenderedReducer,ve!==null))try{var Je=_.lastRenderedState,Bt=ve(Je,D);if(ae.hasEagerState=!0,ae.eagerState=Bt,hn(Bt,Je)){var Qt=_.interleaved;Qt===null?(ae.next=ae,au(_)):(ae.next=Qt.next,Qt.next=ae),_.interleaved=ae;return}}catch{}finally{}D=ec(m,_,ae,Q),D!==null&&(ae=rc(),mh(D,m,Q,ae),UA(D,_,Q))}}function Id(m){var _=m.alternate;return m===xt||_!==null&&_===xt}function yA(m,_){sn=zt=!0;var D=m.pending;D===null?_.next=_:(_.next=D.next,D.next=_),m.pending=_}function UA(m,_,D){if((D&4194240)!==0){var Q=_.lanes;Q&=m.pendingLanes,D|=Q,_.lanes=D,Ea(m,D)}}var Qc={readContext:Do,useCallback:ln,useContext:ln,useEffect:ln,useImperativeHandle:ln,useInsertionEffect:ln,useLayoutEffect:ln,useMemo:ln,useReducer:ln,useRef:ln,useState:ln,useDebugValue:ln,useDeferredValue:ln,useTransition:ln,useMutableSource:ln,useSyncExternalStore:ln,useId:ln,unstable_isNewReconciler:!1},Tu={readContext:Do,useCallback:function(m,_){return Rn().memoizedState=[m,_===void 0?null:_],m},useContext:Do,useEffect:Iu,useImperativeHandle:function(m,_,D){return D=D!=null?D.concat([m]):null,Zl(4194308,4,gA.bind(null,_,m),D)},useLayoutEffect:function(m,_){return Zl(4194308,4,m,_)},useInsertionEffect:function(m,_){return Zl(4,2,m,_)},useMemo:function(m,_){var D=Rn();return _=_===void 0?null:_,m=m(),D.memoizedState=[m,_],m},useReducer:function(m,_,D){var Q=Rn();return _=D!==void 0?D(_):_,Q.memoizedState=Q.baseState=_,m={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:m,lastRenderedState:_},Q.queue=m,m=m.dispatch=_f.bind(null,xt,m),[Q.memoizedState,m]},useRef:function(m){var _=Rn();return m={current:m},_.memoizedState=m},useState:_a,useDebugValue:Jl,useDeferredValue:function(m){return Rn().memoizedState=m},useTransition:function(){var m=_a(!1),_=m[0];return m=Kl.bind(null,m[1]),Rn().memoizedState=m,[_,m]},useMutableSource:function(){},useSyncExternalStore:function(m,_,D){var Q=xt,ae=Rn();if(ys){if(D===void 0)throw Error(t(407));D=D()}else{if(D=_(),Yo===null)throw Error(t(349));(It&30)!==0||Ds(Q,_,D)}ae.memoizedState=D;var ve={value:D,getSnapshot:_};return ae.queue=ve,Iu(ji.bind(null,Q,ve,m),[m]),Q.flags|=2048,lo(9,fo.bind(null,Q,ve,D,_),void 0,null),D},useId:function(){var m=Rn(),_=Yo.identifierPrefix;if(ys){var D=ki,Q=RA;D=(Q&~(1<<32-bn(Q)-1)).toString(32)+D,_=":"+_+"R"+D,D=xn++,0")&&(Qt=Qt.replace("",m.displayName)),Qt}while(1<=Je&&0<=Bt);break}}}finally{yt=!1,Error.prepareStackTrace=K}return(m=m?m.displayName||m.name:"")?$e(m):""}function at(m){switch(m.tag){case 5:return $e(m.type);case 16:return $e("Lazy");case 13:return $e("Suspense");case 19:return $e("SuspenseList");case 0:case 2:case 15:return m=Kt(m.type,!1),m;case 11:return m=Kt(m.type.render,!1),m;case 1:return m=Kt(m.type,!0),m;default:return""}}function Rt(m){if(m==null)return null;if(typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case G:return"Fragment";case ne:return"Portal";case de:return"Profiler";case oe:return"StrictMode";case Ce:return"Suspense";case De:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case Se:return(m.displayName||"Context")+".Consumer";case pe:return(m._context.displayName||"Context")+".Provider";case we:var _=m.render;return m=m.displayName,m||(m=_.displayName||_.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case xe:return _=m.displayName||null,_!==null?_:Rt(m.type)||"Memo";case dt:_=m._payload,m=m._init;try{return Rt(m(_))}catch{}}return null}function Et(m){var _=m.type;switch(m.tag){case 24:return"Cache";case 9:return(_.displayName||"Context")+".Consumer";case 10:return(_._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return m=_.render,m=m.displayName||m.name||"",_.displayName||(m!==""?"ForwardRef("+m+")":"ForwardRef");case 7:return"Fragment";case 5:return _;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Rt(_);case 8:return _===oe?"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 _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _}return null}function Fe(m){switch(typeof m){case"boolean":case"number":case"string":case"undefined":return m;case"object":return m;default:return""}}function Pe(m){var _=m.type;return(m=m.nodeName)&&m.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Ee(m){var _=Pe(m)?"checked":"value",K=Object.getOwnPropertyDescriptor(m.constructor.prototype,_),Q=""+m[_];if(!m.hasOwnProperty(_)&&typeof K<"u"&&typeof K.get=="function"&&typeof K.set=="function"){var ae=K.get,ve=K.set;return Object.defineProperty(m,_,{configurable:!0,get:function(){return ae.call(this)},set:function(Je){Q=""+Je,ve.call(this,Je)}}),Object.defineProperty(m,_,{enumerable:K.enumerable}),{getValue:function(){return Q},setValue:function(Je){Q=""+Je},stopTracking:function(){m._valueTracker=null,delete m[_]}}}}function nt(m){m._valueTracker||(m._valueTracker=Ee(m))}function Ct(m){if(!m)return!1;var _=m._valueTracker;if(!_)return!0;var K=_.getValue(),Q="";return m&&(Q=Pe(m)?m.checked?"true":"false":m.value),m=Q,m!==K?(_.setValue(m),!0):!1}function ut(m){if(m=m||(typeof document<"u"?document:void 0),typeof m>"u")return null;try{return m.activeElement||m.body}catch{return m.body}}function Lt(m,_){var K=_.checked;return Te({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:K??m._wrapperState.initialChecked})}function $t(m,_){var K=_.defaultValue==null?"":_.defaultValue,Q=_.checked!=null?_.checked:_.defaultChecked;K=Fe(_.value!=null?_.value:K),m._wrapperState={initialChecked:Q,initialValue:K,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function Dt(m,_){_=_.checked,_!=null&&ie(m,"checked",_,!1)}function yn(m,_){Dt(m,_);var K=Fe(_.value),Q=_.type;if(K!=null)Q==="number"?(K===0&&m.value===""||m.value!=K)&&(m.value=""+K):m.value!==""+K&&(m.value=""+K);else if(Q==="submit"||Q==="reset"){m.removeAttribute("value");return}_.hasOwnProperty("value")?Jt(m,_.type,K):_.hasOwnProperty("defaultValue")&&Jt(m,_.type,Fe(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(m.defaultChecked=!!_.defaultChecked)}function jn(m,_,K){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var Q=_.type;if(!(Q!=="submit"&&Q!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+m._wrapperState.initialValue,K||_===m.value||(m.value=_),m.defaultValue=_}K=m.name,K!==""&&(m.name=""),m.defaultChecked=!!m._wrapperState.initialChecked,K!==""&&(m.name=K)}function Jt(m,_,K){(_!=="number"||ut(m.ownerDocument)!==m)&&(K==null?m.defaultValue=""+m._wrapperState.initialValue:m.defaultValue!==""+K&&(m.defaultValue=""+K))}var Hn=Array.isArray;function Bn(m,_,K,Q){if(m=m.options,_){_={};for(var ae=0;ae"+_.valueOf().toString()+"",_=he.firstChild;m.firstChild;)m.removeChild(m.firstChild);for(;_.firstChild;)m.appendChild(_.firstChild)}});function et(m,_){if(_){var K=m.firstChild;if(K&&K===m.lastChild&&K.nodeType===3){K.nodeValue=_;return}}m.textContent=_}var St={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},Yt=["Webkit","ms","Moz","O"];Object.keys(St).forEach(function(m){Yt.forEach(function(_){_=_+m.charAt(0).toUpperCase()+m.substring(1),St[_]=St[m]})});function tn(m,_,K){return _==null||typeof _=="boolean"||_===""?"":K||typeof _!="number"||_===0||St.hasOwnProperty(m)&&St[m]?(""+_).trim():_+"px"}function or(m,_){m=m.style;for(var K in _)if(_.hasOwnProperty(K)){var Q=K.indexOf("--")===0,ae=tn(K,_[K],Q);K==="float"&&(K="cssFloat"),Q?m.setProperty(K,ae):m[K]=ae}}var Ze=Te({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 le(m,_){if(_){if(Ze[m]&&(_.children!=null||_.dangerouslySetInnerHTML!=null))throw Error(t(137,m));if(_.dangerouslySetInnerHTML!=null){if(_.children!=null)throw Error(t(60));if(typeof _.dangerouslySetInnerHTML!="object"||!("__html"in _.dangerouslySetInnerHTML))throw Error(t(61))}if(_.style!=null&&typeof _.style!="object")throw Error(t(62))}}function ge(m,_){if(m.indexOf("-")===-1)return typeof _.is=="string";switch(m){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 p=null;function Ge(m){return m=m.target||m.srcElement||window,m.correspondingUseElement&&(m=m.correspondingUseElement),m.nodeType===3?m.parentNode:m}var Ye=null,Re=null,At=null;function ct(m){if(m=Do(m)){if(typeof Ye!="function")throw Error(t(280));var _=m.stateNode;_&&(_=Os(_),Ye(m.stateNode,m.type,_))}}function Ft(m){Re?At?At.push(m):At=[m]:Re=m}function jt(){if(Re){var m=Re,_=At;if(At=Re=null,ct(m),_)for(m=0;m<_.length;m++)ct(_[m])}}function Gt(m,_){return m(_)}function rn(){}var Tn=!1;function Kn(m,_,K){if(Tn)return m(_,K);Tn=!0;try{return Gt(m,_,K)}finally{Tn=!1,(Re!==null||At!==null)&&(rn(),jt())}}function pr(m,_){var K=m.stateNode;if(K===null)return null;var Q=Os(K);if(Q===null)return null;K=Q[_];e:switch(_){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Q=!Q.disabled)||(m=m.type,Q=!(m==="button"||m==="input"||m==="select"||m==="textarea")),m=!Q;break e;default:m=!1}if(m)return null;if(K&&typeof K!="function")throw Error(t(231,_,typeof K));return K}var kr=!1;if(o)try{var sr={};Object.defineProperty(sr,"passive",{get:function(){kr=!0}}),window.addEventListener("test",sr,sr),window.removeEventListener("test",sr,sr)}catch{kr=!1}function on(m,_,K,Q,ae,ve,Je,Bt,Qt){var wn=Array.prototype.slice.call(arguments,3);try{_.apply(K,wn)}catch(ar){this.onError(ar)}}var ni=!1,Ai=null,jr=!1,Lr=null,Sn={onError:function(m){ni=!0,Ai=m}};function Kr(m,_,K,Q,ae,ve,Je,Bt,Qt){ni=!1,Ai=null,on.apply(Sn,arguments)}function ci(m,_,K,Q,ae,ve,Je,Bt,Qt){if(Kr.apply(this,arguments),ni){if(ni){var wn=Ai;ni=!1,Ai=null}else throw Error(t(198));jr||(jr=!0,Lr=wn)}}function Ri(m){var _=m,K=m;if(m.alternate)for(;_.return;)_=_.return;else{m=_;do _=m,(_.flags&4098)!==0&&(K=_.return),m=_.return;while(m)}return _.tag===3?K:null}function vi(m){if(m.tag===13){var _=m.memoizedState;if(_===null&&(m=m.alternate,m!==null&&(_=m.memoizedState)),_!==null)return _.dehydrated}return null}function us(m){if(Ri(m)!==m)throw Error(t(188))}function $r(m){var _=m.alternate;if(!_){if(_=Ri(m),_===null)throw Error(t(188));return _!==m?null:m}for(var K=m,Q=_;;){var ae=K.return;if(ae===null)break;var ve=ae.alternate;if(ve===null){if(Q=ae.return,Q!==null){K=Q;continue}break}if(ae.child===ve.child){for(ve=ae.child;ve;){if(ve===K)return us(ae),m;if(ve===Q)return us(ae),_;ve=ve.sibling}throw Error(t(188))}if(K.return!==Q.return)K=ae,Q=ve;else{for(var Je=!1,Bt=ae.child;Bt;){if(Bt===K){Je=!0,K=ae,Q=ve;break}if(Bt===Q){Je=!0,Q=ae,K=ve;break}Bt=Bt.sibling}if(!Je){for(Bt=ve.child;Bt;){if(Bt===K){Je=!0,K=ve,Q=ae;break}if(Bt===Q){Je=!0,Q=ve,K=ae;break}Bt=Bt.sibling}if(!Je)throw Error(t(189))}}if(K.alternate!==Q)throw Error(t(190))}if(K.tag!==3)throw Error(t(188));return K.stateNode.current===K?m:_}function bs(m){return m=$r(m),m!==null?Ua(m):null}function Ua(m){if(m.tag===5||m.tag===6)return m;for(m=m.child;m!==null;){var _=Ua(m);if(_!==null)return _;m=m.sibling}return null}var fa=e.unstable_scheduleCallback,Go=e.unstable_cancelCallback,Ns=e.unstable_shouldYield,dl=e.unstable_requestPaint,hi=e.unstable_now,sa=e.unstable_getCurrentPriorityLevel,xo=e.unstable_ImmediatePriority,Ao=e.unstable_UserBlockingPriority,Or=e.unstable_NormalPriority,Sa=e.unstable_LowPriority,$o=e.unstable_IdlePriority,es=null,qe=null;function bt(m){if(qe&&typeof qe.onCommitFiberRoot=="function")try{qe.onCommitFiberRoot(es,m,void 0,(m.current.flags&128)===128)}catch{}}var bn=Math.clz32?Math.clz32:vr,Wn=Math.log,fn=Math.LN2;function vr(m){return m>>>=0,m===0?32:31-(Wn(m)/fn|0)|0}var Yi=64,To=4194304;function ps(m){switch(m&-m){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 m&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return m&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return m}}function pa(m,_){var K=m.pendingLanes;if(K===0)return 0;var Q=0,ae=m.suspendedLanes,ve=m.pingedLanes,Je=K&268435455;if(Je!==0){var Bt=Je&~ae;Bt!==0?Q=ps(Bt):(ve&=Je,ve!==0&&(Q=ps(ve)))}else Je=K&~ae,Je!==0?Q=ps(Je):ve!==0&&(Q=ps(ve));if(Q===0)return 0;if(_!==0&&_!==Q&&(_&ae)===0&&(ae=Q&-Q,ve=_&-_,ae>=ve||ae===16&&(ve&4194240)!==0))return _;if((Q&4)!==0&&(Q|=K&16),_=m.entangledLanes,_!==0)for(m=m.entanglements,_&=Q;0<_;)K=31-bn(_),ae=1<K;K++)_.push(m);return _}function za(m,_,K){m.pendingLanes|=_,_!==536870912&&(m.suspendedLanes=0,m.pingedLanes=0),m=m.eventTimes,_=31-bn(_),m[_]=K}function eu(m,_){var K=m.pendingLanes&~_;m.pendingLanes=_,m.suspendedLanes=0,m.pingedLanes=0,m.expiredLanes&=_,m.mutableReadLanes&=_,m.entangledLanes&=_,_=m.entanglements;var Q=m.eventTimes;for(m=m.expirationTimes;0=wl),_d=" ",bd=!1;function pl(m,_){switch(m){case"keyup":return IA.indexOf(_.keyCode)!==-1;case"keydown":return _.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dc(m){return m=m.detail,typeof m=="object"&&"data"in m?m.data:null}var Kc=!1;function Wu(m,_){switch(m){case"compositionend":return Dc(_);case"keypress":return _.which!==32?null:(bd=!0,_d);case"textInput":return m=_.data,m===_d&&bd?null:m;default:return null}}function $f(m,_){if(Kc)return m==="compositionend"||!Xh&&pl(m,_)?(m=Mo(),qi=ri=Dr=null,Kc=!1,m):null;switch(m){case"paste":return null;case"keypress":if(!(_.ctrlKey||_.altKey||_.metaKey)||_.ctrlKey&&_.altKey){if(_.char&&1<_.char.length)return _.char;if(_.which)return String.fromCharCode(_.which)}return null;case"compositionend":return xh&&_.locale!=="ko"?null:_.data;default:return null}}var df={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 xd(m){var _=m&&m.nodeName&&m.nodeName.toLowerCase();return _==="input"?!!df[m.type]:_==="textarea"}function Md(m,_,K,Q){Ft(Q),_=fc(_,"onChange"),0<_.length&&(K=new Gs("onChange","change",null,K,Q),m.push({event:K,listeners:_}))}var il=null,ml=null;function Vf(m){Ed(m,0)}function Mh(m){var _=li(m);if(Ct(_))return m}function Kp(m,_){if(m==="change")return _}var ao=!1;if(o){var Oa;if(o){var wh="oninput"in document;if(!wh){var wd=document.createElement("div");wd.setAttribute("oninput","return;"),wh=typeof wd.oninput=="function"}Oa=wh}else Oa=!1;ao=Oa&&(!document.documentMode||9=_)return{node:K,offset:_-m};m=Q}e:{for(;K;){if(K.nextSibling){K=K.nextSibling;break e}K=K.parentNode}K=void 0}K=Di(K)}}function ga(m,_){return m&&_?m===_?!0:m&&m.nodeType===3?!1:_&&_.nodeType===3?ga(m,_.parentNode):"contains"in m?m.contains(_):m.compareDocumentPosition?!!(m.compareDocumentPosition(_)&16):!1:!1}function ts(){for(var m=window,_=ut();_ instanceof m.HTMLIFrameElement;){try{var K=typeof _.contentWindow.location.href=="string"}catch{K=!1}if(K)m=_.contentWindow;else break;_=ut(m.document)}return _}function cc(m){var _=m&&m.nodeName&&m.nodeName.toLowerCase();return _&&(_==="input"&&(m.type==="text"||m.type==="search"||m.type==="tel"||m.type==="url"||m.type==="password")||_==="textarea"||m.contentEditable==="true")}function mf(m){var _=ts(),K=m.focusedElem,Q=m.selectionRange;if(_!==K&&K&&K.ownerDocument&&ga(K.ownerDocument.documentElement,K)){if(Q!==null&&cc(K)){if(_=Q.start,m=Q.end,m===void 0&&(m=_),"selectionStart"in K)K.selectionStart=_,K.selectionEnd=Math.min(m,K.value.length);else if(m=(_=K.ownerDocument||document)&&_.defaultView||window,m.getSelection){m=m.getSelection();var ae=K.textContent.length,ve=Math.min(Q.start,ae);Q=Q.end===void 0?ve:Math.min(Q.end,ae),!m.extend&&ve>Q&&(ae=Q,Q=ve,ve=ae),ae=jo(K,ve);var Je=jo(K,Q);ae&&Je&&(m.rangeCount!==1||m.anchorNode!==ae.node||m.anchorOffset!==ae.offset||m.focusNode!==Je.node||m.focusOffset!==Je.offset)&&(_=_.createRange(),_.setStart(ae.node,ae.offset),m.removeAllRanges(),ve>Q?(m.addRange(_),m.extend(Je.node,Je.offset)):(_.setEnd(Je.node,Je.offset),m.addRange(_)))}}for(_=[],m=K;m=m.parentNode;)m.nodeType===1&&_.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof K.focus=="function"&&K.focus(),K=0;K<_.length;K++)m=_[K],m.element.scrollLeft=m.left,m.element.scrollTop=m.top}}var TA=o&&"documentMode"in document&&11>=document.documentMode,AA=null,vu=null,Wa=null,ya=!1;function oh(m,_,K){var Q=K.window===K?K.document:K.nodeType===9?K:K.ownerDocument;ya||AA==null||AA!==ut(Q)||(Q=AA,"selectionStart"in Q&&cc(Q)?Q={start:Q.selectionStart,end:Q.selectionEnd}:(Q=(Q.ownerDocument&&Q.ownerDocument.defaultView||window).getSelection(),Q={anchorNode:Q.anchorNode,anchorOffset:Q.anchorOffset,focusNode:Q.focusNode,focusOffset:Q.focusOffset}),Wa&&Ur(Wa,Q)||(Wa=Q,Q=fc(vu,"onSelect"),0$u||(m.current=Ws[$u],Ws[$u]=null,$u--)}function Is(m,_){$u++,Ws[$u]=m.current,m.current=_}var ru={},qa=ol(ru),yl=ol(!1),vl=ru;function Vu(m,_){var K=m.type.contextTypes;if(!K)return ru;var Q=m.stateNode;if(Q&&Q.__reactInternalMemoizedUnmaskedChildContext===_)return Q.__reactInternalMemoizedMaskedChildContext;var ae={},ve;for(ve in K)ae[ve]=_[ve];return Q&&(m=m.stateNode,m.__reactInternalMemoizedUnmaskedChildContext=_,m.__reactInternalMemoizedMaskedChildContext=ae),ae}function Ol(m){return m=m.childContextTypes,m!=null}function Ia(){Rs(yl),Rs(qa)}function iu(m,_,K){if(qa.current!==ru)throw Error(t(168));Is(qa,_),Is(yl,K)}function ch(m,_,K){var Q=m.stateNode;if(_=_.childContextTypes,typeof Q.getChildContext!="function")return K;Q=Q.getChildContext();for(var ae in Q)if(!(ae in _))throw Error(t(108,Et(m)||"Unknown",ae));return Te({},K,Q)}function ea(m){return m=(m=m.stateNode)&&m.__reactInternalMemoizedMergedChildContext||ru,vl=qa.current,Is(qa,m),Is(yl,yl.current),!0}function hh(m,_,K){var Q=m.stateNode;if(!Q)throw Error(t(169));K?(m=ch(m,_,vl),Q.__reactInternalMemoizedMergedChildContext=m,Rs(yl),Rs(qa),Is(qa,m)):Rs(yl),Is(yl,K)}var ql=null,yf=!1,dh=!1;function ou(m){ql===null?ql=[m]:ql.push(m)}function gc(m){yf=!0,ou(m)}function su(){if(!dh&&ql!==null){dh=!0;var m=0,_=xi;try{var K=ql;for(xi=1;m>=Je,ae-=Je,DA=1<<32-bn(_)+ae|K<$i?(WA=Si,Si=null):WA=Si.sibling;var ws=lr(An,Si,pn[$i],br);if(ws===null){Si===null&&(Si=WA);break}m&&Si&&ws.alternate===null&&_(An,Si),Zt=ve(ws,Zt,$i),Pi===null?mi=ws:Pi.sibling=ws,Pi=ws,Si=WA}if($i===pn.length)return K(An,Si),ys&&yc(An,$i),mi;if(Si===null){for(;$i$i?(WA=Si,Si=null):WA=Si.sibling;var Wd=lr(An,Si,ws.value,br);if(Wd===null){Si===null&&(Si=WA);break}m&&Si&&Wd.alternate===null&&_(An,Si),Zt=ve(Wd,Zt,$i),Pi===null?mi=Wd:Pi.sibling=Wd,Pi=Wd,Si=WA}if(ws.done)return K(An,Si),ys&&yc(An,$i),mi;if(Si===null){for(;!ws.done;$i++,ws=pn.next())ws=Cr(An,ws.value,br),ws!==null&&(Zt=ve(ws,Zt,$i),Pi===null?mi=ws:Pi.sibling=ws,Pi=ws);return ys&&yc(An,$i),mi}for(Si=Q(An,Si);!ws.done;$i++,ws=pn.next())ws=Wr(Si,An,$i,ws.value,br),ws!==null&&(m&&ws.alternate!==null&&Si.delete(ws.key===null?$i:ws.key),Zt=ve(ws,Zt,$i),Pi===null?mi=ws:Pi.sibling=ws,Pi=ws);return m&&Si.forEach(function(ov){return _(An,ov)}),ys&&yc(An,$i),mi}function ul(An,Zt,pn,br){if(typeof pn=="object"&&pn!==null&&pn.type===G&&pn.key===null&&(pn=pn.props.children),typeof pn=="object"&&pn!==null){switch(pn.$$typeof){case V:e:{for(var mi=pn.key,Pi=Zt;Pi!==null;){if(Pi.key===mi){if(mi=pn.type,mi===G){if(Pi.tag===7){K(An,Pi.sibling),Zt=ae(Pi,pn.props.children),Zt.return=An,An=Zt;break e}}else if(Pi.elementType===mi||typeof mi=="object"&&mi!==null&&mi.$$typeof===dt&&Tl(mi)===Pi.type){K(An,Pi.sibling),Zt=ae(Pi,pn.props),Zt.ref=td(An,Pi,pn),Zt.return=An,An=Zt;break e}K(An,Pi);break}else _(An,Pi);Pi=Pi.sibling}pn.type===G?(Zt=rp(pn.props.children,An.mode,br,pn.key),Zt.return=An,An=Zt):(br=Wp(pn.type,pn.key,pn.props,null,An.mode,br),br.ref=td(An,Zt,pn),br.return=An,An=br)}return Je(An);case ne:e:{for(Pi=pn.key;Zt!==null;){if(Zt.key===Pi)if(Zt.tag===4&&Zt.stateNode.containerInfo===pn.containerInfo&&Zt.stateNode.implementation===pn.implementation){K(An,Zt.sibling),Zt=ae(Zt,pn.children||[]),Zt.return=An,An=Zt;break e}else{K(An,Zt);break}else _(An,Zt);Zt=Zt.sibling}Zt=og(pn,An.mode,br),Zt.return=An,An=Zt}return Je(An);case dt:return Pi=pn._init,ul(An,Zt,Pi(pn._payload),br)}if(Hn(pn))return oi(An,Zt,pn,br);if(tt(pn))return di(An,Zt,pn,br);Ih(An,pn)}return typeof pn=="string"&&pn!==""||typeof pn=="number"?(pn=""+pn,Zt!==null&&Zt.tag===6?(K(An,Zt.sibling),Zt=ae(Zt,pn),Zt.return=An,An=Zt):(K(An,Zt),Zt=ig(pn,An.mode,br),Zt.return=An,An=Zt),Je(An)):K(An,Zt)}return ul}var _r=Xu(!0),ii=Xu(!1),bc=ol(null),kl=null,Ju=null,Qs=null;function Ou(){Qs=Ju=kl=null}function as(m){var _=bc.current;Rs(bc),m._currentValue=_}function Ta(m,_,K){for(;m!==null;){var Q=m.alternate;if((m.childLanes&_)!==_?(m.childLanes|=_,Q!==null&&(Q.childLanes|=_)):Q!==null&&(Q.childLanes&_)!==_&&(Q.childLanes|=_),m===K)break;m=m.return}}function fA(m,_){kl=m,Qs=Ju=null,m=m.dependencies,m!==null&&m.firstContext!==null&&((m.lanes&_)!==0&&(eA=!0),m.firstContext=null)}function Ko(m){var _=m._currentValue;if(Qs!==m)if(m={context:m,memoizedValue:_,next:null},Ju===null){if(kl===null)throw Error(t(308));Ju=m,kl.dependencies={lanes:0,firstContext:m}}else Ju=Ju.next=m;return _}var ls=null;function au(m){ls===null?ls=[m]:ls.push(m)}function ec(m,_,K,Q){var ae=_.interleaved;return ae===null?(K.next=K,au(_)):(K.next=ae.next,ae.next=K),_.interleaved=K,FA(m,Q)}function FA(m,_){m.lanes|=_;var K=m.alternate;for(K!==null&&(K.lanes|=_),K=m,m=m.return;m!==null;)m.childLanes|=_,K=m.alternate,K!==null&&(K.childLanes|=_),K=m,m=m.return;return K.tag===3?K.stateNode:null}var al=!1;function Th(m){m.updateQueue={baseState:m.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jc(m,_){m=m.updateQueue,_.updateQueue===m&&(_.updateQueue={baseState:m.baseState,firstBaseUpdate:m.firstBaseUpdate,lastBaseUpdate:m.lastBaseUpdate,shared:m.shared,effects:m.effects})}function pA(m,_){return{eventTime:m,lane:_,tag:0,payload:null,callback:null,next:null}}function Pl(m,_,K){var Q=m.updateQueue;if(Q===null)return null;if(Q=Q.shared,(Mi&2)!==0){var ae=Q.pending;return ae===null?_.next=_:(_.next=ae.next,ae.next=_),Q.pending=_,FA(m,K)}return ae=Q.interleaved,ae===null?(_.next=_,au(Q)):(_.next=ae.next,ae.next=_),Q.interleaved=_,FA(m,K)}function O(m,_,K){if(_=_.updateQueue,_!==null&&(_=_.shared,(K&4194240)!==0)){var Q=_.lanes;Q&=m.pendingLanes,K|=Q,_.lanes=K,Ea(m,K)}}function a(m,_){var K=m.updateQueue,Q=m.alternate;if(Q!==null&&(Q=Q.updateQueue,K===Q)){var ae=null,ve=null;if(K=K.firstBaseUpdate,K!==null){do{var Je={eventTime:K.eventTime,lane:K.lane,tag:K.tag,payload:K.payload,callback:K.callback,next:null};ve===null?ae=ve=Je:ve=ve.next=Je,K=K.next}while(K!==null);ve===null?ae=ve=_:ve=ve.next=_}else ae=ve=_;K={baseState:Q.baseState,firstBaseUpdate:ae,lastBaseUpdate:ve,shared:Q.shared,effects:Q.effects},m.updateQueue=K;return}m=K.lastBaseUpdate,m===null?K.firstBaseUpdate=_:m.next=_,K.lastBaseUpdate=_}function c(m,_,K,Q){var ae=m.updateQueue;al=!1;var ve=ae.firstBaseUpdate,Je=ae.lastBaseUpdate,Bt=ae.shared.pending;if(Bt!==null){ae.shared.pending=null;var Qt=Bt,wn=Qt.next;Qt.next=null,Je===null?ve=wn:Je.next=wn,Je=Qt;var ar=m.alternate;ar!==null&&(ar=ar.updateQueue,Bt=ar.lastBaseUpdate,Bt!==Je&&(Bt===null?ar.firstBaseUpdate=wn:Bt.next=wn,ar.lastBaseUpdate=Qt))}if(ve!==null){var Cr=ae.baseState;Je=0,ar=wn=Qt=null,Bt=ve;do{var lr=Bt.lane,Wr=Bt.eventTime;if((Q&lr)===lr){ar!==null&&(ar=ar.next={eventTime:Wr,lane:0,tag:Bt.tag,payload:Bt.payload,callback:Bt.callback,next:null});e:{var oi=m,di=Bt;switch(lr=_,Wr=K,di.tag){case 1:if(oi=di.payload,typeof oi=="function"){Cr=oi.call(Wr,Cr,lr);break e}Cr=oi;break e;case 3:oi.flags=oi.flags&-65537|128;case 0:if(oi=di.payload,lr=typeof oi=="function"?oi.call(Wr,Cr,lr):oi,lr==null)break e;Cr=Te({},Cr,lr);break e;case 2:al=!0}}Bt.callback!==null&&Bt.lane!==0&&(m.flags|=64,lr=ae.effects,lr===null?ae.effects=[Bt]:lr.push(Bt))}else Wr={eventTime:Wr,lane:lr,tag:Bt.tag,payload:Bt.payload,callback:Bt.callback,next:null},ar===null?(wn=ar=Wr,Qt=Cr):ar=ar.next=Wr,Je|=lr;if(Bt=Bt.next,Bt===null){if(Bt=ae.shared.pending,Bt===null)break;lr=Bt,Bt=lr.next,lr.next=null,ae.lastBaseUpdate=lr,ae.shared.pending=null}}while(!0);if(ar===null&&(Qt=Cr),ae.baseState=Qt,ae.firstBaseUpdate=wn,ae.lastBaseUpdate=ar,_=ae.shared.interleaved,_!==null){ae=_;do Je|=ae.lane,ae=ae.next;while(ae!==_)}else ve===null&&(ae.shared.lanes=0);jA|=Je,m.lanes=Je,m.memoizedState=Cr}}function C(m,_,K){if(m=_.effects,_.effects=null,m!==null)for(_=0;_K?K:4,m(!0);var Q=Mt.transition;Mt.transition={};try{m(!1),_()}finally{xi=K,Mt.transition=Q}}function vs(){return Ir().memoizedState}function _f(m,_,K){var Q=Ef(m);if(K={lane:Q,action:K,hasEagerState:!1,eagerState:null,next:null},Id(m))yA(_,K);else if(K=ec(m,_,K,Q),K!==null){var ae=rc();mh(K,m,Q,ae),UA(K,_,Q)}}function Od(m,_,K){var Q=Ef(m),ae={lane:Q,action:K,hasEagerState:!1,eagerState:null,next:null};if(Id(m))yA(_,ae);else{var ve=m.alternate;if(m.lanes===0&&(ve===null||ve.lanes===0)&&(ve=_.lastRenderedReducer,ve!==null))try{var Je=_.lastRenderedState,Bt=ve(Je,K);if(ae.hasEagerState=!0,ae.eagerState=Bt,hn(Bt,Je)){var Qt=_.interleaved;Qt===null?(ae.next=ae,au(_)):(ae.next=Qt.next,Qt.next=ae),_.interleaved=ae;return}}catch{}finally{}K=ec(m,_,ae,Q),K!==null&&(ae=rc(),mh(K,m,Q,ae),UA(K,_,Q))}}function Id(m){var _=m.alternate;return m===xt||_!==null&&_===xt}function yA(m,_){sn=zt=!0;var K=m.pending;K===null?_.next=_:(_.next=K.next,K.next=_),m.pending=_}function UA(m,_,K){if((K&4194240)!==0){var Q=_.lanes;Q&=m.pendingLanes,K|=Q,_.lanes=K,Ea(m,K)}}var Qc={readContext:Ko,useCallback:ln,useContext:ln,useEffect:ln,useImperativeHandle:ln,useInsertionEffect:ln,useLayoutEffect:ln,useMemo:ln,useReducer:ln,useRef:ln,useState:ln,useDebugValue:ln,useDeferredValue:ln,useTransition:ln,useMutableSource:ln,useSyncExternalStore:ln,useId:ln,unstable_isNewReconciler:!1},Tu={readContext:Ko,useCallback:function(m,_){return Dn().memoizedState=[m,_===void 0?null:_],m},useContext:Ko,useEffect:Iu,useImperativeHandle:function(m,_,K){return K=K!=null?K.concat([m]):null,Zl(4194308,4,gA.bind(null,_,m),K)},useLayoutEffect:function(m,_){return Zl(4194308,4,m,_)},useInsertionEffect:function(m,_){return Zl(4,2,m,_)},useMemo:function(m,_){var K=Dn();return _=_===void 0?null:_,m=m(),K.memoizedState=[m,_],m},useReducer:function(m,_,K){var Q=Dn();return _=K!==void 0?K(_):_,Q.memoizedState=Q.baseState=_,m={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:m,lastRenderedState:_},Q.queue=m,m=m.dispatch=_f.bind(null,xt,m),[Q.memoizedState,m]},useRef:function(m){var _=Dn();return m={current:m},_.memoizedState=m},useState:_a,useDebugValue:Jl,useDeferredValue:function(m){return Dn().memoizedState=m},useTransition:function(){var m=_a(!1),_=m[0];return m=Rl.bind(null,m[1]),Dn().memoizedState=m,[_,m]},useMutableSource:function(){},useSyncExternalStore:function(m,_,K){var Q=xt,ae=Dn();if(ys){if(K===void 0)throw Error(t(407));K=K()}else{if(K=_(),Yo===null)throw Error(t(349));(It&30)!==0||Ds(Q,_,K)}ae.memoizedState=K;var ve={value:K,getSnapshot:_};return ae.queue=ve,Iu(Wi.bind(null,Q,ve,m),[m]),Q.flags|=2048,lo(9,fo.bind(null,Q,ve,K,_),void 0,null),K},useId:function(){var m=Dn(),_=Yo.identifierPrefix;if(ys){var K=ki,Q=DA;K=(Q&~(1<<32-bn(Q)-1)).toString(32)+K,_=":"+_+"R"+K,K=xn++,0<\/script>",m=m.removeChild(m.firstChild)):typeof Q.is=="string"?m=Je.createElement(D,{is:Q.is}):(m=Je.createElement(D),D==="select"&&(Je=m,Q.multiple?Je.multiple=!0:Q.size&&(Je.size=Q.size))):m=Je.createElementNS(m,D),m[Su]=_,m[Bl]=Q,Cl(m,_,!1,!1),_.stateNode=m;e:{switch(Je=ge(D,Q),D){case"dialog":cs("cancel",m),cs("close",m),ae=Q;break;case"iframe":case"object":case"embed":cs("load",m),ae=Q;break;case"video":case"audio":for(ae=0;aeUd&&(_.flags|=128,Q=!0,Zf(ve,!1),_.lanes=4194304)}else{if(!Q)if(m=Ve(Je),m!==null){if(_.flags|=128,Q=!0,D=m.updateQueue,D!==null&&(_.updateQueue=D,_.flags|=4),Zf(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Je.alternate&&!ys)return _A(_),null}else 2*hi()-ve.renderingStartTime>Ud&&D!==1073741824&&(_.flags|=128,Q=!0,Zf(ve,!1),_.lanes=4194304);ve.isBackwards?(Je.sibling=_.child,_.child=Je):(D=ve.last,D!==null?D.sibling=Je:_.child=Je,ve.last=Je)}return ve.tail!==null?(_=ve.tail,ve.rendering=_,ve.tail=_.sibling,ve.renderingStartTime=hi(),_.sibling=null,D=Ne.current,Is(Ne,Q?D&1|2:D&1),_):(_A(_),null);case 22:case 23:return eg(),Q=_.memoizedState!==null,m!==null&&m.memoizedState!==null!==Q&&(_.flags|=8192),Q&&(_.mode&1)!==0?(Ms&1073741824)!==0&&(_A(_),_.subtreeFlags&6&&(_.flags|=8192)):_A(_),null;case 24:return null;case 25:return null}throw Error(t(156,_.tag))}function u(m,_){switch(Wc(_),_.tag){case 1:return Ol(_.type)&&Ia(),m=_.flags,m&65536?(_.flags=m&-65537|128,_):null;case 3:return fe(),Rs(yl),Rs(qa),ft(),m=_.flags,(m&65536)!==0&&(m&128)===0?(_.flags=m&-65537|128,_):null;case 5:return Oe(_),null;case 13:if(Rs(Ne),m=_.memoizedState,m!==null&&m.dehydrated!==null){if(_.alternate===null)throw Error(t(340));Bu()}return m=_.flags,m&65536?(_.flags=m&-65537|128,_):null;case 19:return Rs(Ne),null;case 4:return fe(),null;case 10:return as(_.type._context),null;case 22:case 23:return eg(),null;case 24:return null;default:return null}}var g=!1,E=!1,S=typeof WeakSet=="function"?WeakSet:Set,R=null;function V(m,_){var D=m.ref;if(D!==null)if(typeof D=="function")try{D(null)}catch(Q){Ha(m,_,Q)}else D.current=null}function ce(m,_,D){try{D()}catch(Q){Ha(m,_,Q)}}var be=!1;function ke(m,_){if(Ah=Be,m=ts(),hc(m)){if("selectionStart"in m)var D={start:m.selectionStart,end:m.selectionEnd};else e:{D=(D=m.ownerDocument)&&D.defaultView||window;var Q=D.getSelection&&D.getSelection();if(Q&&Q.rangeCount!==0){D=Q.anchorNode;var ae=Q.anchorOffset,ve=Q.focusNode;Q=Q.focusOffset;try{D.nodeType,ve.nodeType}catch{D=null;break e}var Je=0,Bt=-1,Qt=-1,wn=0,lr=0,Cr=m,Ar=null;t:for(;;){for(var jr;Cr!==D||ae!==0&&Cr.nodeType!==3||(Bt=Je+ae),Cr!==ve||Q!==0&&Cr.nodeType!==3||(Qt=Je+Q),Cr.nodeType===3&&(Je+=Cr.nodeValue.length),(jr=Cr.firstChild)!==null;)Ar=Cr,Cr=jr;for(;;){if(Cr===m)break t;if(Ar===D&&++wn===ae&&(Bt=Je),Ar===ve&&++lr===Q&&(Qt=Je),(jr=Cr.nextSibling)!==null)break;Cr=Ar,Ar=Cr.parentNode}Cr=jr}D=Bt===-1||Qt===-1?null:{start:Bt,end:Qt}}else D=null}D=D||{start:0,end:0}}else D=null;for(KA={focusedElem:m,selectionRange:D},Be=!1,R=_;R!==null;)if(_=R,m=_.child,(_.subtreeFlags&1028)!==0&&m!==null)m.return=_,R=m;else for(;R!==null;){_=R;try{var oi=_.alternate;if((_.flags&1024)!==0)switch(_.tag){case 0:case 11:case 15:break;case 1:if(oi!==null){var di=oi.memoizedProps,ul=oi.memoizedState,An=_.stateNode,Zt=An.getSnapshotBeforeUpdate(_.elementType===_.type?di:na(_.type,di),ul);An.__reactInternalSnapshotBeforeUpdate=Zt}break;case 3:var pn=_.stateNode.containerInfo;pn.nodeType===1?pn.textContent="":pn.nodeType===9&&pn.documentElement&&pn.removeChild(pn.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}catch(br){Ha(_,_.return,br)}if(m=_.sibling,m!==null){m.return=_.return,R=m;break}R=_.return}return oi=be,be=!1,oi}function ze(m,_,D){var Q=_.updateQueue;if(Q=Q!==null?Q.lastEffect:null,Q!==null){var ae=Q=Q.next;do{if((ae.tag&m)===m){var ve=ae.destroy;ae.destroy=void 0,ve!==void 0&&ce(_,D,ve)}ae=ae.next}while(ae!==Q)}}function gt(m,_){if(_=_.updateQueue,_=_!==null?_.lastEffect:null,_!==null){var D=_=_.next;do{if((D.tag&m)===m){var Q=D.create;D.destroy=Q()}D=D.next}while(D!==_)}}function wt(m){var _=m.ref;if(_!==null){var D=m.stateNode;switch(m.tag){case 5:m=D;break;default:m=D}typeof _=="function"?_(m):_.current=m}}function en(m){var _=m.alternate;_!==null&&(m.alternate=null,en(_)),m.child=null,m.deletions=null,m.sibling=null,m.tag===5&&(_=m.stateNode,_!==null&&(delete _[Su],delete _[Bl],delete _[uh],delete _[it],delete _[Bh])),m.stateNode=null,m.return=null,m.dependencies=null,m.memoizedProps=null,m.memoizedState=null,m.pendingProps=null,m.stateNode=null,m.updateQueue=null}function qt(m){return m.tag===5||m.tag===3||m.tag===4}function Mn(m){e:for(;;){for(;m.sibling===null;){if(m.return===null||qt(m.return))return null;m=m.return}for(m.sibling.return=m.return,m=m.sibling;m.tag!==5&&m.tag!==6&&m.tag!==18;){if(m.flags&2||m.child===null||m.tag===4)continue e;m.child.return=m,m=m.child}if(!(m.flags&2))return m.stateNode}}function Un(m,_,D){var Q=m.tag;if(Q===5||Q===6)m=m.stateNode,_?D.nodeType===8?D.parentNode.insertBefore(m,_):D.insertBefore(m,_):(D.nodeType===8?(_=D.parentNode,_.insertBefore(m,D)):(_=D,_.appendChild(m)),D=D._reactRootContainer,D!=null||_.onclick!==null||(_.onclick=Yu));else if(Q!==4&&(m=m.child,m!==null))for(Un(m,_,D),m=m.sibling;m!==null;)Un(m,_,D),m=m.sibling}function Ln(m,_,D){var Q=m.tag;if(Q===5||Q===6)m=m.stateNode,_?D.insertBefore(m,_):D.appendChild(m);else if(Q!==4&&(m=m.child,m!==null))for(Ln(m,_,D),m=m.sibling;m!==null;)Ln(m,_,D),m=m.sibling}var Xn=null,Mr=!1;function mr(m,_,D){for(D=D.child;D!==null;)Kr(m,_,D),D=D.sibling}function Kr(m,_,D){if(qe&&typeof qe.onCommitFiberUnmount=="function")try{qe.onCommitFiberUnmount(es,D)}catch{}switch(D.tag){case 5:E||V(D,_);case 6:var Q=Xn,ae=Mr;Xn=null,mr(m,_,D),Xn=Q,Mr=ae,Xn!==null&&(Mr?(m=Xn,D=D.stateNode,m.nodeType===8?m.parentNode.removeChild(D):m.removeChild(D)):Xn.removeChild(D.stateNode));break;case 18:Xn!==null&&(Mr?(m=Xn,D=D.stateNode,m.nodeType===8?qu(m.parentNode,D):m.nodeType===1&&qu(m,D),no(m)):qu(Xn,D.stateNode));break;case 4:Q=Xn,ae=Mr,Xn=D.stateNode.containerInfo,Mr=!0,mr(m,_,D),Xn=Q,Mr=ae;break;case 0:case 11:case 14:case 15:if(!E&&(Q=D.updateQueue,Q!==null&&(Q=Q.lastEffect,Q!==null))){ae=Q=Q.next;do{var ve=ae,Je=ve.destroy;ve=ve.tag,Je!==void 0&&((ve&2)!==0||(ve&4)!==0)&&ce(D,_,Je),ae=ae.next}while(ae!==Q)}mr(m,_,D);break;case 1:if(!E&&(V(D,_),Q=D.stateNode,typeof Q.componentWillUnmount=="function"))try{Q.props=D.memoizedProps,Q.state=D.memoizedState,Q.componentWillUnmount()}catch(Bt){Ha(D,_,Bt)}mr(m,_,D);break;case 21:mr(m,_,D);break;case 22:D.mode&1?(E=(Q=E)||D.memoizedState!==null,mr(m,_,D),E=Q):mr(m,_,D);break;default:mr(m,_,D)}}function ei(m){var _=m.updateQueue;if(_!==null){m.updateQueue=null;var D=m.stateNode;D===null&&(D=m.stateNode=new S),_.forEach(function(Q){var ae=d1.bind(null,m,Q);D.has(Q)||(D.add(Q),Q.then(ae,ae))})}}function Nr(m,_){var D=_.deletions;if(D!==null)for(var Q=0;Qae&&(ae=Je),Q&=~ve}if(Q=ae,Q=hi()-Q,Q=(120>Q?120:480>Q?480:1080>Q?1080:1920>Q?1920:3e3>Q?3e3:4320>Q?4320:1960*WA(Q/1960))-Q,10m?16:m,Nd===null)var Q=!1;else{if(m=Nd,Nd=null,bA=0,(Mi&6)!==0)throw Error(t(331));var ae=Mi;for(Mi|=4,R=m.current;R!==null;){var ve=R,Je=ve.child;if((R.flags&16)!==0){var Bt=ve.deletions;if(Bt!==null){for(var Qt=0;Qthi()-wf?tp(m,0):Mc|=D),ic(m,_)}function h1(m,_){_===0&&((m.mode&1)===0?_=1:(_=To,To<<=1,(To&130023424)===0&&(To=4194304)));var D=rc();m=FA(m,_),m!==null&&(za(m,_,D),ic(m,D))}function Om(m){var _=m.memoizedState,D=0;_!==null&&(D=_.retryLane),h1(m,D)}function d1(m,_){var D=0;switch(m.tag){case 13:var Q=m.stateNode,ae=m.memoizedState;ae!==null&&(D=ae.retryLane);break;case 19:Q=m.stateNode;break;default:throw Error(t(314))}Q!==null&&Q.delete(_),h1(m,D)}var r0;r0=function(m,_,D){if(m!==null)if(m.memoizedProps!==_.pendingProps||yl.current)eA=!0;else{if((m.lanes&D)===0&&(_.flags&128)===0)return eA=!1,Lp(m,_,D);eA=(m.flags&131072)!==0}else eA=!1,ys&&(_.flags&1048576)!==0&&vf(_,Il,_.index);switch(_.lanes=0,_.tag){case 2:var Q=_.type;NA(m,_),m=_.pendingProps;var ae=Vu(_,qa.current);fA(_,D),ae=hr(null,_,Q,m,ae,D);var ve=dr();return _.flags|=1,typeof ae=="object"&&ae!==null&&typeof ae.render=="function"&&ae.$$typeof===void 0?(_.tag=1,_.memoizedState=null,_.updateQueue=null,Ol(Q)?(ve=!0,ea(_)):ve=!1,_.memoizedState=ae.state!==null&&ae.state!==void 0?ae.state:null,Th(_),ae.updater=ku,_.stateNode=ae,ae._reactInternals=_,Rp(_,Q,m,D),_=Kd(null,_,Q,!0,ve,D)):(_.tag=0,ys&&ve&&Hu(_),Rl(null,_,ae,D),_=_.child),_;case 16:Q=_.elementType;e:{switch(NA(m,_),m=_.pendingProps,ae=Q._init,Q=ae(Q._payload),_.type=Q,ae=_.tag=f1(Q),m=na(Q,m),ae){case 0:_=ph(null,_,Q,m,D);break e;case 1:_=zA(null,_,Q,m,D);break e;case 11:_=Cm(null,_,Q,m,D);break e;case 14:_=Fp(null,_,Q,na(Q.type,m),D);break e}throw Error(t(306,Q,""))}return _;case 0:return Q=_.type,ae=_.pendingProps,ae=_.elementType===Q?ae:na(Q,ae),ph(m,_,Q,ae,D);case 1:return Q=_.type,ae=_.pendingProps,ae=_.elementType===Q?ae:na(Q,ae),zA(m,_,Q,ae,D);case 3:e:{if(Hf(_),m===null)throw Error(t(387));Q=_.pendingProps,ve=_.memoizedState,ae=ve.element,Gc(m,_),c(_,Q,null,D);var Je=_.memoizedState;if(Q=Je.element,ve.isDehydrated)if(ve={element:Q,isDehydrated:!1,cache:Je.cache,pendingSuspenseBoundaries:Je.pendingSuspenseBoundaries,transitions:Je.transitions},_.updateQueue.baseState=ve,_.memoizedState=ve,_.flags&256){ae=Pu(Error(t(423)),_),_=Yc(m,_,Q,D,ae);break e}else if(Q!==ae){ae=Pu(Error(t(424)),_),_=Yc(m,_,Q,D,ae);break e}else for(Ca=Ya(_.stateNode.containerInfo.firstChild),sl=_,ys=!0,Vl=null,D=ii(_,null,Q,D),_.child=D;D;)D.flags=D.flags&-3|4096,D=D.sibling;else{if(Bu(),Q===ae){_=CA(m,_,D);break e}Rl(m,_,Q,D)}_=_.child}return _;case 5:return Ie(_),m===null&&dA(_),Q=_.type,ae=_.pendingProps,ve=m!==null?m.memoizedProps:null,Je=ae.children,mc(Q,ae)?Je=null:ve!==null&&mc(Q,ve)&&(_.flags|=32),Kh(m,_),Rl(m,_,Je,D),_.child;case 6:return m===null&&dA(_),null;case 13:return Dd(m,_,D);case 4:return Ae(_,_.stateNode.containerInfo),Q=_.pendingProps,m===null?_.child=_r(_,null,Q,D):Rl(m,_,Q,D),_.child;case 11:return Q=_.type,ae=_.pendingProps,ae=_.elementType===Q?ae:na(Q,ae),Cm(m,_,Q,ae,D);case 7:return Rl(m,_,_.pendingProps,D),_.child;case 8:return Rl(m,_,_.pendingProps.children,D),_.child;case 12:return Rl(m,_,_.pendingProps.children,D),_.child;case 10:e:{if(Q=_.type._context,ae=_.pendingProps,ve=_.memoizedProps,Je=ae.value,Is(xc,Q._currentValue),Q._currentValue=Je,ve!==null)if(hn(ve.value,Je)){if(ve.children===ae.children&&!yl.current){_=CA(m,_,D);break e}}else for(ve=_.child,ve!==null&&(ve.return=_);ve!==null;){var Bt=ve.dependencies;if(Bt!==null){Je=ve.child;for(var Qt=Bt.firstContext;Qt!==null;){if(Qt.context===Q){if(ve.tag===1){Qt=pA(-1,D&-D),Qt.tag=2;var wn=ve.updateQueue;if(wn!==null){wn=wn.shared;var lr=wn.pending;lr===null?Qt.next=Qt:(Qt.next=lr.next,lr.next=Qt),wn.pending=Qt}}ve.lanes|=D,Qt=ve.alternate,Qt!==null&&(Qt.lanes|=D),Ta(ve.return,D,_),Bt.lanes|=D;break}Qt=Qt.next}}else if(ve.tag===10)Je=ve.type===_.type?null:ve.child;else if(ve.tag===18){if(Je=ve.return,Je===null)throw Error(t(341));Je.lanes|=D,Bt=Je.alternate,Bt!==null&&(Bt.lanes|=D),Ta(Je,D,_),Je=ve.sibling}else Je=ve.child;if(Je!==null)Je.return=ve;else for(Je=ve;Je!==null;){if(Je===_){Je=null;break}if(ve=Je.sibling,ve!==null){ve.return=Je.return,Je=ve;break}Je=Je.return}ve=Je}Rl(m,_,ae.children,D),_=_.child}return _;case 9:return ae=_.type,Q=_.pendingProps.children,fA(_,D),ae=Do(ae),Q=Q(ae),_.flags|=1,Rl(m,_,Q,D),_.child;case 14:return Q=_.type,ae=na(Q,_.pendingProps),ae=na(Q.type,ae),Fp(m,_,Q,ae,D);case 15:return So(m,_,_.type,_.pendingProps,D);case 17:return Q=_.type,ae=_.pendingProps,ae=_.elementType===Q?ae:na(Q,ae),NA(m,_),_.tag=1,Ol(Q)?(m=!0,ea(_)):m=!1,fA(_,D),nd(_,Q,ae),Rp(_,Q,ae,D),Kd(null,_,Q,!0,m,D);case 19:return nc(m,_,D);case 22:return _m(m,_,D)}throw Error(t(156,_.tag))};function ng(m,_){return fa(m,_)}function Dl(m,_,D,Q){this.tag=m,this.key=D,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=_,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Q,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wc(m,_,D,Q){return new Dl(m,_,D,Q)}function i0(m){return m=m.prototype,!(!m||!m.isReactComponent)}function f1(m){if(typeof m=="function")return i0(m)?1:0;if(m!=null){if(m=m.$$typeof,m===we)return 11;if(m===xe)return 14}return 2}function $c(m,_){var D=m.alternate;return D===null?(D=wc(m.tag,_,m.key,m.mode),D.elementType=m.elementType,D.type=m.type,D.stateNode=m.stateNode,D.alternate=m,m.alternate=D):(D.pendingProps=_,D.type=m.type,D.flags=0,D.subtreeFlags=0,D.deletions=null),D.flags=m.flags&14680064,D.childLanes=m.childLanes,D.lanes=m.lanes,D.child=m.child,D.memoizedProps=m.memoizedProps,D.memoizedState=m.memoizedState,D.updateQueue=m.updateQueue,_=m.dependencies,D.dependencies=_===null?null:{lanes:_.lanes,firstContext:_.firstContext},D.sibling=m.sibling,D.index=m.index,D.ref=m.ref,D}function Wp(m,_,D,Q,ae,ve){var Je=2;if(Q=m,typeof m=="function")i0(m)&&(Je=1);else if(typeof m=="string")Je=5;else e:switch(m){case W:return np(D.children,ae,ve,_);case ie:Je=8,ae|=8;break;case de:return m=wc(12,D,_,ae|2),m.elementType=de,m.lanes=ve,m;case Ce:return m=wc(13,D,_,ae),m.elementType=Ce,m.lanes=ve,m;case Re:return m=wc(19,D,_,ae),m.elementType=Re,m.lanes=ve,m;case vt:return o0(D,ae,ve,_);default:if(typeof m=="object"&&m!==null)switch(m.$$typeof){case pe:Je=10;break e;case Se:Je=9;break e;case we:Je=11;break e;case xe:Je=14;break e;case dt:Je=16,Q=null;break e}throw Error(t(130,m==null?m:typeof m,""))}return _=wc(Je,D,_,ae),_.elementType=m,_.type=Q,_.lanes=ve,_}function np(m,_,D,Q){return m=wc(7,m,Q,_),m.lanes=D,m}function o0(m,_,D,Q){return m=wc(22,m,Q,_),m.elementType=vt,m.lanes=D,m.stateNode={isHidden:!1},m}function rg(m,_,D){return m=wc(6,m,null,_),m.lanes=D,m}function ig(m,_,D){return _=wc(4,m.children!==null?m.children:[],m.key,_),_.lanes=D,_.stateNode={containerInfo:m.containerInfo,pendingChildren:null,implementation:m.implementation},_}function p1(m,_,D,Q,ae){this.tag=_,this.containerInfo=m,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=rl(0),this.expirationTimes=rl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rl(0),this.identifierPrefix=Q,this.onRecoverableError=ae,this.mutableSourceEagerHydrationData=null}function uu(m,_,D,Q,ae,ve,Je,Bt,Qt){return m=new p1(m,_,D,Bt,Qt),_===1?(_=1,ve===!0&&(_|=8)):_=0,ve=wc(3,null,null,_),m.current=ve,ve.stateNode=m,ve.memoizedState={element:Q,isDehydrated:D,cache:null,transitions:null,pendingSuspenseBoundaries:null},Th(ve),m}function og(m,_,D){var Q=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}return n(),X3.exports=HG(),X3.exports}var eI;function ZG(){if(eI)return Z_;eI=1;var n=cx();return Z_.createRoot=n.createRoot,Z_.hydrateRoot=n.hydrateRoot,Z_}var XG=ZG();const JG="modulepreload",ej=function(n){return"/maputnik/"+n},tI={},M1=function(e,t,r){let i=Promise.resolve();if(t&&t.length>0){let l=function(v){return Promise.all(v.map(x=>Promise.resolve(x).then(B=>({status:"fulfilled",value:B}),B=>({status:"rejected",reason:B}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),f=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=l(t.map(v=>{if(v=ej(v),v in tI)return;tI[v]=!0;const x=v.endsWith(".css"),B=x?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${B}`))return;const k=document.createElement("link");if(k.rel=x?"stylesheet":JG,x||(k.as="script"),k.crossOrigin="",k.href=v,f&&k.setAttribute("nonce",f),document.head.appendChild(k),x)return new Promise((P,F)=>{k.addEventListener("load",P),k.addEventListener("error",()=>F(new Error(`Unable to preload CSS for ${v}`)))})}))}function s(l){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=l,window.dispatchEvent(o),!o.defaultPrevented)throw l}return i.then(l=>{for(const o of l||[])o.status==="rejected"&&s(o.reason);return e().catch(s)})},tj=(n,e,t)=>{const r=n[e];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((i,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},Oo=n=>typeof n=="string",wv=()=>{let n,e;const t=new Promise((r,i)=>{n=r,e=i});return t.resolve=n,t.reject=e,t},nI=n=>n==null?"":""+n,nj=(n,e,t)=>{n.forEach(r=>{e[r]&&(t[r]=e[r])})},rj=/###/g,rI=n=>n&&n.indexOf("###")>-1?n.replace(rj,"."):n,iI=n=>!n||Oo(n),oC=(n,e,t)=>{const r=Oo(e)?e.split("."):e;let i=0;for(;i{const{obj:r,k:i}=oC(n,e,Object);if(r!==void 0||e.length===1){r[i]=t;return}let s=e[e.length-1],l=e.slice(0,e.length-1),o=oC(n,l,Object);for(;o.obj===void 0&&l.length;)s=`${l[l.length-1]}.${s}`,l=l.slice(0,l.length-1),o=oC(n,l,Object),o!=null&&o.obj&&typeof o.obj[`${o.k}.${s}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${s}`]=t},ij=(n,e,t,r)=>{const{obj:i,k:s}=oC(n,e,Object);i[s]=i[s]||[],i[s].push(t)},s2=(n,e)=>{const{obj:t,k:r}=oC(n,e);if(t&&Object.prototype.hasOwnProperty.call(t,r))return t[r]},oj=(n,e,t)=>{const r=s2(n,t);return r!==void 0?r:s2(e,t)},fF=(n,e,t)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in n?Oo(n[r])||n[r]instanceof String||Oo(e[r])||e[r]instanceof String?t&&(n[r]=e[r]):fF(n[r],e[r],t):n[r]=e[r]);return n},w1=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var sj={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const aj=n=>Oo(n)?n.replace(/[&<>"'\/]/g,e=>sj[e]):n;class lj{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}const Aj=[" ",",","?","!",";"],uj=new lj(20),cj=(n,e,t)=>{e=e||"",t=t||"";const r=Aj.filter(l=>e.indexOf(l)<0&&t.indexOf(l)<0);if(r.length===0)return!0;const i=uj.getRegExp(`(${r.map(l=>l==="?"?"\\?":l).join("|")})`);let s=!i.test(n);if(!s){const l=n.indexOf(t);l>0&&!i.test(n.substring(0,l))&&(s=!0)}return s},t6=(n,e,t=".")=>{if(!n)return;if(n[e])return Object.prototype.hasOwnProperty.call(n,e)?n[e]:void 0;const r=e.split(t);let i=n;for(let s=0;s-1&&fn==null?void 0:n.replace("_","-"),hj={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,e){var t,r;(r=(t=console==null?void 0:console[n])==null?void 0:t.apply)==null||r.call(t,console,e)}};class a2{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||hj,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,i){return i&&!this.debug?null:(Oo(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new a2(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new a2(this.logger,e)}}var nm=new a2;class hx{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(t)||0;this.observers[r].set(t,i+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([i,s])=>{for(let l=0;l{for(let l=0;l-1&&this.options.ns.splice(t,1)}getResource(e,t,r,i={}){var v,x;const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],r&&(Array.isArray(r)?o.push(...r):Oo(r)&&s?o.push(...r.split(s)):o.push(r)));const f=s2(this.data,o);return!f&&!t&&!r&&e.indexOf(".")>-1&&(e=o[0],t=o[1],r=o.slice(2).join(".")),f||!l||!Oo(r)?f:t6((x=(v=this.data)==null?void 0:v[e])==null?void 0:x[t],r,s)}addResource(e,t,r,i,s={silent:!1}){const l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let o=[e,t];r&&(o=o.concat(l?r.split(l):r)),e.indexOf(".")>-1&&(o=e.split("."),i=t,t=o[1]),this.addNamespaces(t),oI(this.data,o,i),s.silent||this.emit("added",e,t,r,i)}addResources(e,t,r,i={silent:!1}){for(const s in r)(Oo(r[s])||Array.isArray(r[s]))&&this.addResource(e,t,s,r[s],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,i,s,l={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),i=r,r=t,t=o[1]),this.addNamespaces(t);let f=s2(this.data,o)||{};l.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?fF(f,r,s):f={...f,...r},oI(this.data,o,f),l.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(i=>t[i]&&Object.keys(t[i]).length>0)}toJSON(){return this.data}}var pF={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,e,t,r,i){return n.forEach(s=>{var l;e=((l=this.processors[s])==null?void 0:l.process(e,t,r,i))??e}),e}};const aI={},lI=n=>!Oo(n)&&typeof n!="boolean"&&typeof n!="number";class l2 extends hx{constructor(e,t={}){super(),nj(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=nm.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const r={...t};if(e==null)return!1;const i=this.resolve(e,r);return(i==null?void 0:i.res)!==void 0}extractFromKey(e,t){let r=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let s=t.ns||this.options.defaultNS||[];const l=r&&e.indexOf(r)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!cj(e,r,i);if(l&&!o){const f=e.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:e,namespaces:Oo(s)?[s]:s};const v=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(v[0])>-1)&&(s=v.shift()),e=v.join(i)}return{key:e,namespaces:Oo(s)?[s]:s}}translate(e,t,r){let i=typeof t=="object"?{...t}:t;if(typeof i!="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(i={...i}),i||(i={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const s=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,l=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,{key:o,namespaces:f}=this.extractFromKey(e[e.length-1],i),v=f[f.length-1];let x=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;x===void 0&&(x=":");const B=i.lng||this.language,k=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((B==null?void 0:B.toLowerCase())==="cimode")return k?s?{res:`${v}${x}${o}`,usedKey:o,exactUsedKey:o,usedLng:B,usedNS:v,usedParams:this.getUsedParamsDetails(i)}:`${v}${x}${o}`:s?{res:o,usedKey:o,exactUsedKey:o,usedLng:B,usedNS:v,usedParams:this.getUsedParamsDetails(i)}:o;const P=this.resolve(e,i);let F=P==null?void 0:P.res;const N=(P==null?void 0:P.usedKey)||o,j=(P==null?void 0:P.exactUsedKey)||o,H=["[object Number]","[object Function]","[object RegExp]"],X=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,oe=!this.i18nFormat||this.i18nFormat.handleAsObject,te=i.count!==void 0&&!Oo(i.count),$=l2.hasDefaultValue(i),ne=te?this.pluralResolver.getSuffix(B,i.count,i):"",W=i.ordinal&&te?this.pluralResolver.getSuffix(B,i.count,{ordinal:!1}):"",ie=te&&!i.ordinal&&i.count===0,de=ie&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${ne}`]||i[`defaultValue${W}`]||i.defaultValue;let pe=F;oe&&!F&&$&&(pe=de);const Se=lI(pe),we=Object.prototype.toString.apply(pe);if(oe&&pe&&Se&&H.indexOf(we)<0&&!(Oo(X)&&Array.isArray(pe))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Ce=this.options.returnedObjectHandler?this.options.returnedObjectHandler(N,pe,{...i,ns:f}):`key '${o} (${this.language})' returned an object instead of string.`;return s?(P.res=Ce,P.usedParams=this.getUsedParamsDetails(i),P):Ce}if(l){const Ce=Array.isArray(pe),Re=Ce?[]:{},xe=Ce?j:N;for(const dt in pe)if(Object.prototype.hasOwnProperty.call(pe,dt)){const vt=`${xe}${l}${dt}`;$&&!F?Re[dt]=this.translate(vt,{...i,defaultValue:lI(de)?de[dt]:void 0,joinArrays:!1,ns:f}):Re[dt]=this.translate(vt,{...i,joinArrays:!1,ns:f}),Re[dt]===vt&&(Re[dt]=pe[dt])}F=Re}}else if(oe&&Oo(X)&&Array.isArray(F))F=F.join(X),F&&(F=this.extendTranslation(F,e,i,r));else{let Ce=!1,Re=!1;!this.isValidLookup(F)&&$&&(Ce=!0,F=de),this.isValidLookup(F)||(Re=!0,F=o);const dt=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Re?void 0:F,vt=$&&de!==F&&this.options.updateMissing;if(Re||Ce||vt){if(this.logger.log(vt?"updateKey":"missingKey",B,v,o,vt?de:F),l){const Ge=this.resolve(o,{...i,keySeparator:!1});Ge&&Ge.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let rt=[];const tt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&tt&&tt[0])for(let Ge=0;Ge{var at;const Dt=$&&yt!==F?yt:dt;this.options.missingKeyHandler?this.options.missingKeyHandler(Ge,v,$e,Dt,vt,i):(at=this.backendConnector)!=null&&at.saveMissing&&this.backendConnector.saveMissing(Ge,v,$e,Dt,vt,i),this.emit("missingKey",Ge,v,$e,F)};this.options.saveMissing&&(this.options.saveMissingPlurals&&te?rt.forEach(Ge=>{const $e=this.pluralResolver.getSuffixes(Ge,i);ie&&i[`defaultValue${this.options.pluralSeparator}zero`]&&$e.indexOf(`${this.options.pluralSeparator}zero`)<0&&$e.push(`${this.options.pluralSeparator}zero`),$e.forEach(yt=>{Te([Ge],o+yt,i[`defaultValue${yt}`]||de)})}):Te(rt,o,de))}F=this.extendTranslation(F,e,i,P,r),Re&&F===o&&this.options.appendNamespaceToMissingKey&&(F=`${v}${x}${o}`),(Re||Ce)&&this.options.parseMissingKeyHandler&&(F=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${v}${x}${o}`:o,Ce?F:void 0,i))}return s?(P.res=F,P.usedParams=this.getUsedParamsDetails(i),P):F}extendTranslation(e,t,r,i,s){var f,v;if((f=this.i18nFormat)!=null&&f.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const x=Oo(e)&&(((v=r==null?void 0:r.interpolation)==null?void 0:v.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let B;if(x){const P=e.match(this.interpolator.nestingRegexp);B=P&&P.length}let k=r.replace&&!Oo(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(k={...this.options.interpolation.defaultVariables,...k}),e=this.interpolator.interpolate(e,k,r.lng||this.language||i.usedLng,r),x){const P=e.match(this.interpolator.nestingRegexp),F=P&&P.length;B(s==null?void 0:s[0])===P[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${P[0]} in key: ${t[0]}`),null):this.translate(...P,t),r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,o=Oo(l)?[l]:l;return e!=null&&(o!=null&&o.length)&&r.applyPostProcessor!==!1&&(e=pF.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,i,s,l,o;return Oo(e)&&(e=[e]),e.forEach(f=>{if(this.isValidLookup(r))return;const v=this.extractFromKey(f,t),x=v.key;i=x;let B=v.namespaces;this.options.fallbackNS&&(B=B.concat(this.options.fallbackNS));const k=t.count!==void 0&&!Oo(t.count),P=k&&!t.ordinal&&t.count===0,F=t.context!==void 0&&(Oo(t.context)||typeof t.context=="number")&&t.context!=="",N=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);B.forEach(j=>{var H,X;this.isValidLookup(r)||(o=j,!aI[`${N[0]}-${j}`]&&((H=this.utils)!=null&&H.hasLoadedNamespace)&&!((X=this.utils)!=null&&X.hasLoadedNamespace(o))&&(aI[`${N[0]}-${j}`]=!0,this.logger.warn(`key "${i}" for languages "${N.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),N.forEach(oe=>{var ne;if(this.isValidLookup(r))return;l=oe;const te=[x];if((ne=this.i18nFormat)!=null&&ne.addLookupKeys)this.i18nFormat.addLookupKeys(te,x,oe,j,t);else{let W;k&&(W=this.pluralResolver.getSuffix(oe,t.count,t));const ie=`${this.options.pluralSeparator}zero`,de=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(k&&(te.push(x+W),t.ordinal&&W.indexOf(de)===0&&te.push(x+W.replace(de,this.options.pluralSeparator)),P&&te.push(x+ie)),F){const pe=`${x}${this.options.contextSeparator}${t.context}`;te.push(pe),k&&(te.push(pe+W),t.ordinal&&W.indexOf(de)===0&&te.push(pe+W.replace(de,this.options.pluralSeparator)),P&&te.push(pe+ie))}}let $;for(;$=te.pop();)this.isValidLookup(r)||(s=$,r=this.getResource(oe,j,$,t))}))})}),{res:r,usedKey:i,exactUsedKey:s,usedLng:l,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,r,i={}){var s;return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(e,t,r,i):this.resourceStore.getResource(e,t,r,i)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!Oo(e.replace);let i=r?e.replace:e;if(r&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const s of t)delete i[s]}return i}static hasDefaultValue(e){const t="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&e[r]!==void 0)return!0;return!1}}class AI{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=nm.create("languageUtils")}getScriptPartFromCode(e){if(e=bC(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=bC(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(Oo(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(r=>{if(t)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(t=i)}),!t&&this.options.supportedLngs&&e.forEach(r=>{if(t)return;const i=this.getScriptPartFromCode(r);if(this.isSupportedCode(i))return t=i;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(l=>{if(l===s)return l;if(!(l.indexOf("-")<0&&s.indexOf("-")<0)&&(l.indexOf("-")>0&&s.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===s||l.indexOf(s)===0&&s.length>1))return l})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),Oo(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),i=[],s=l=>{l&&(this.isSupportedCode(l)?i.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))};return Oo(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(e))):Oo(e)&&s(this.formatLanguageCode(e)),r.forEach(l=>{i.indexOf(l)<0&&s(this.formatLanguageCode(l))}),i}}const uI={zero:0,one:1,two:2,few:3,many:4,other:5},cI={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class dj{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=nm.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const r=bC(e==="dev"?"en":e),i=t.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let l;try{l=new Intl.PluralRules(r,{type:i})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),cI;if(!e.match(/-|_/))return cI;const f=this.languageUtils.getLanguagePartFromCode(e);l=this.getRule(f,t)}return this.pluralRulesCache[s]=l,l}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(i=>`${t}${i}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?r.resolvedOptions().pluralCategories.sort((i,s)=>uI[i]-uI[s]).map(i=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(e,t,r={}){const i=this.getRule(e,r);return i?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}const hI=(n,e,t,r=".",i=!0)=>{let s=oj(n,e,t);return!s&&i&&Oo(t)&&(s=t6(n,t,r),s===void 0&&(s=t6(e,t,r))),s},t4=n=>n.replace(/\$/g,"$$$$");class fj{constructor(e={}){var t;this.logger=nm.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(r=>r),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:i,prefix:s,prefixEscaped:l,suffix:o,suffixEscaped:f,formatSeparator:v,unescapeSuffix:x,unescapePrefix:B,nestingPrefix:k,nestingPrefixEscaped:P,nestingSuffix:F,nestingSuffixEscaped:N,nestingOptionsSeparator:j,maxReplaces:H,alwaysFormat:X}=e.interpolation;this.escape=t!==void 0?t:aj,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?w1(s):l||"{{",this.suffix=o?w1(o):f||"}}",this.formatSeparator=v||",",this.unescapePrefix=x?"":B||"-",this.unescapeSuffix=this.unescapePrefix?"":x||"",this.nestingPrefix=k?w1(k):P||w1("$t("),this.nestingSuffix=F?w1(F):N||w1(")"),this.nestingOptionsSeparator=j||",",this.maxReplaces=H||1e3,this.alwaysFormat=X!==void 0?X:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,r)=>(t==null?void 0:t.source)===r?(t.lastIndex=0,t):new RegExp(r,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,i){var P;let s,l,o;const f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},v=F=>{if(F.indexOf(this.formatSeparator)<0){const X=hI(t,f,F,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(X,void 0,r,{...i,...t,interpolationkey:F}):X}const N=F.split(this.formatSeparator),j=N.shift().trim(),H=N.join(this.formatSeparator).trim();return this.format(hI(t,f,j,this.options.keySeparator,this.options.ignoreJSONStructure),H,r,{...i,...t,interpolationkey:j})};this.resetRegExp();const x=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,B=((P=i==null?void 0:i.interpolation)==null?void 0:P.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:F=>t4(F)},{regex:this.regexp,safeValue:F=>this.escapeValue?t4(this.escape(F)):t4(F)}].forEach(F=>{for(o=0;s=F.regex.exec(e);){const N=s[1].trim();if(l=v(N),l===void 0)if(typeof x=="function"){const H=x(e,s,i);l=Oo(H)?H:""}else if(i&&Object.prototype.hasOwnProperty.call(i,N))l="";else if(B){l=s[0];continue}else this.logger.warn(`missed to pass in variable ${N} for interpolating ${e}`),l="";else!Oo(l)&&!this.useRawValueToEscape&&(l=nI(l));const j=F.safeValue(l);if(e=e.replace(s[0],j),B?(F.regex.lastIndex+=l.length,F.regex.lastIndex-=s[0].length):F.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,r={}){let i,s,l;const o=(f,v)=>{const x=this.nestingOptionsSeparator;if(f.indexOf(x)<0)return f;const B=f.split(new RegExp(`${x}[ ]*{`));let k=`{${B[1]}`;f=B[0],k=this.interpolate(k,l);const P=k.match(/'/g),F=k.match(/"/g);(((P==null?void 0:P.length)??0)%2===0&&!F||F.length%2!==0)&&(k=k.replace(/'/g,'"'));try{l=JSON.parse(k),v&&(l={...v,...l})}catch(N){return this.logger.warn(`failed parsing options string in nesting for key ${f}`,N),`${f}${x}${k}`}return l.defaultValue&&l.defaultValue.indexOf(this.prefix)>-1&&delete l.defaultValue,f};for(;i=this.nestingRegexp.exec(e);){let f=[];l={...r},l=l.replace&&!Oo(l.replace)?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;const v=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(v!==-1&&(f=i[1].slice(v).split(this.formatSeparator).map(x=>x.trim()).filter(Boolean),i[1]=i[1].slice(0,v)),s=t(o.call(this,i[1].trim(),l),l),s&&i[0]===e&&!Oo(s))return s;Oo(s)||(s=nI(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),s=""),f.length&&(s=f.reduce((x,B)=>this.format(x,B,r.lng,{...r,interpolationkey:i[1].trim()}),s.trim())),e=e.replace(i[0],s),this.regexp.lastIndex=0}return e}}const pj=n=>{let e=n.toLowerCase().trim();const t={};if(n.indexOf("(")>-1){const r=n.split("(");e=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);e==="currency"&&i.indexOf(":")<0?t.currency||(t.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?t.range||(t.range=i.trim()):i.split(";").forEach(l=>{if(l){const[o,...f]=l.split(":"),v=f.join(":").trim().replace(/^'+|'+$/g,""),x=o.trim();t[x]||(t[x]=v),v==="false"&&(t[x]=!1),v==="true"&&(t[x]=!0),isNaN(v)||(t[x]=parseInt(v,10))}})}return{formatName:e,formatOptions:t}},dI=n=>{const e={};return(t,r,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s={...s,[i.interpolationkey]:void 0});const l=r+JSON.stringify(s);let o=e[l];return o||(o=n(bC(r),i),e[l]=o),o(t)}},mj=n=>(e,t,r)=>n(bC(t),r)(e);class gj{constructor(e={}){this.logger=nm.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const r=t.cacheInBuiltFormats?dI:mj;this.formats={number:r((i,s)=>{const l=new Intl.NumberFormat(i,{...s});return o=>l.format(o)}),currency:r((i,s)=>{const l=new Intl.NumberFormat(i,{...s,style:"currency"});return o=>l.format(o)}),datetime:r((i,s)=>{const l=new Intl.DateTimeFormat(i,{...s});return o=>l.format(o)}),relativetime:r((i,s)=>{const l=new Intl.RelativeTimeFormat(i,{...s});return o=>l.format(o,s.range||"day")}),list:r((i,s)=>{const l=new Intl.ListFormat(i,{...s});return o=>l.format(o)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=dI(t)}format(e,t,r,i={}){const s=t.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(o=>o.indexOf(")")>-1)){const o=s.findIndex(f=>f.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,o)].join(this.formatSeparator)}return s.reduce((o,f)=>{var B;const{formatName:v,formatOptions:x}=pj(f);if(this.formats[v]){let k=o;try{const P=((B=i==null?void 0:i.formatParams)==null?void 0:B[i.interpolationkey])||{},F=P.locale||P.lng||i.locale||i.lng||r;k=this.formats[v](o,F,{...x,...i,...P})}catch(P){this.logger.warn(P)}return k}else this.logger.warn(`there was no format function for ${v}`);return o},e)}}const yj=(n,e)=>{n.pending[e]!==void 0&&(delete n.pending[e],n.pendingCount--)};class vj extends hx{constructor(e,t,r,i={}){var s,l;super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=nm.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],(l=(s=this.backend)==null?void 0:s.init)==null||l.call(s,r,i.backend,i)}queueLoad(e,t,r,i){const s={},l={},o={},f={};return e.forEach(v=>{let x=!0;t.forEach(B=>{const k=`${v}|${B}`;!r.reload&&this.store.hasResourceBundle(v,B)?this.state[k]=2:this.state[k]<0||(this.state[k]===1?l[k]===void 0&&(l[k]=!0):(this.state[k]=1,x=!1,l[k]===void 0&&(l[k]=!0),s[k]===void 0&&(s[k]=!0),f[B]===void 0&&(f[B]=!0)))}),x||(o[v]=!0)}),(Object.keys(s).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(l),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(f)}}loaded(e,t,r){const i=e.split("|"),s=i[0],l=i[1];t&&this.emit("failedLoading",s,l,t),!t&&r&&this.store.addResourceBundle(s,l,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);const o={};this.queue.forEach(f=>{ij(f.loaded,[s],l),yj(f,e),t&&f.errors.push(t),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(v=>{o[v]||(o[v]={});const x=f.loaded[v];x.length&&x.forEach(B=>{o[v][B]===void 0&&(o[v][B]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(f=>!f.done)}read(e,t,r,i=0,s=this.retryTimeout,l){if(!e.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:s,callback:l});return}this.readingCalls++;const o=(v,x)=>{if(this.readingCalls--,this.waitingReads.length>0){const B=this.waitingReads.shift();this.read(B.lng,B.ns,B.fcName,B.tried,B.wait,B.callback)}if(v&&x&&i{this.read.call(this,e,t,r,i+1,s*2,l)},s);return}l(v,x)},f=this.backend[r].bind(this.backend);if(f.length===2){try{const v=f(e,t);v&&typeof v.then=="function"?v.then(x=>o(null,x)).catch(o):o(null,v)}catch(v){o(v)}return}return f(e,t,o)}prepareLoading(e,t,r={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();Oo(e)&&(e=this.languageUtils.toResolveHierarchy(e)),Oo(t)&&(t=[t]);const s=this.queueLoad(e,t,r,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(l=>{this.loadOne(l)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){const r=e.split("|"),i=r[0],s=r[1];this.read(i,s,"read",void 0,void 0,(l,o)=>{l&&this.logger.warn(`${t}loading namespace ${s} for language ${i} failed`,l),!l&&o&&this.logger.log(`${t}loaded namespace ${s} for language ${i}`,o),this.loaded(e,l,o)})}saveMissing(e,t,r,i,s,l={},o=()=>{}){var f,v,x,B,k;if((v=(f=this.services)==null?void 0:f.utils)!=null&&v.hasLoadedNamespace&&!((B=(x=this.services)==null?void 0:x.utils)!=null&&B.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if((k=this.backend)!=null&&k.create){const P={...l,isUpdate:s},F=this.backend.create.bind(this.backend);if(F.length<6)try{let N;F.length===5?N=F(e,t,r,i,P):N=F(e,t,r,i),N&&typeof N.then=="function"?N.then(j=>o(null,j)).catch(o):o(null,N)}catch(N){o(N)}else F(e,t,r,i,o,P)}!e||!e[0]||this.store.addResource(e[0],t,r,i)}}}const fI=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:n=>{let e={};if(typeof n[1]=="object"&&(e=n[1]),Oo(n[1])&&(e.defaultValue=n[1]),Oo(n[2])&&(e.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){const t=n[3]||n[2];Object.keys(t).forEach(r=>{e[r]=t[r]})}return e},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),pI=n=>{var e,t;return Oo(n.ns)&&(n.ns=[n.ns]),Oo(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),Oo(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((t=(e=n.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},X_=()=>{},Cj=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{typeof n[t]=="function"&&(n[t]=n[t].bind(n))})};class xC extends hx{constructor(e={},t){if(super(),this.options=pI(e),this.services={},this.logger=nm,this.modules={external:[]},Cj(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e=="function"&&(t=e,e={}),e.defaultNS==null&&e.ns&&(Oo(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=fI();this.options={...r,...this.options,...pI(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator);const i=v=>v?typeof v=="function"?new v:v:null;if(!this.options.isClone){this.modules.logger?nm.init(i(this.modules.logger),this.options):nm.init(null,this.options);let v;this.modules.formatter?v=this.modules.formatter:v=gj;const x=new AI(this.options);this.store=new sI(this.options.resources,this.options);const B=this.services;B.logger=nm,B.resourceStore=this.store,B.languageUtils=x,B.pluralResolver=new dj(x,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),v&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(B.formatter=i(v),B.formatter.init&&B.formatter.init(B,this.options),this.options.interpolation.format=B.formatter.format.bind(B.formatter)),B.interpolator=new fj(this.options),B.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},B.backendConnector=new vj(i(this.modules.backend),B.resourceStore,B,this.options),B.backendConnector.on("*",(P,...F)=>{this.emit(P,...F)}),this.modules.languageDetector&&(B.languageDetector=i(this.modules.languageDetector),B.languageDetector.init&&B.languageDetector.init(B,this.options.detection,this.options)),this.modules.i18nFormat&&(B.i18nFormat=i(this.modules.i18nFormat),B.i18nFormat.init&&B.i18nFormat.init(this)),this.translator=new l2(this.services,this.options),this.translator.on("*",(P,...F)=>{this.emit(P,...F)}),this.modules.external.forEach(P=>{P.init&&P.init(this)})}if(this.format=this.options.interpolation.format,t||(t=X_),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const v=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);v.length>0&&v[0]!=="dev"&&(this.options.lng=v[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(v=>{this[v]=(...x)=>this.store[v](...x)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(v=>{this[v]=(...x)=>(this.store[v](...x),this)});const o=wv(),f=()=>{const v=(x,B)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(B),t(x,B)};if(this.languages&&!this.isInitialized)return v(null,this.t.bind(this));this.changeLanguage(this.options.lng,v)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),o}loadResources(e,t=X_){var s,l;let r=t;const i=Oo(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],f=v=>{if(!v||v==="cimode")return;this.services.languageUtils.toResolveHierarchy(v).forEach(B=>{B!=="cimode"&&o.indexOf(B)<0&&o.push(B)})};i?f(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(x=>f(x)),(l=(s=this.options.preload)==null?void 0:s.forEach)==null||l.call(s,v=>f(v)),this.services.backendConnector.load(o,this.options.ns,v=>{!v&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(v)})}else r(null)}reloadResources(e,t,r){const i=wv();return typeof e=="function"&&(r=e,e=void 0),typeof t=="function"&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=X_),this.services.backendConnector.reload(e,t,s=>{i.resolve(),r(s)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&pF.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const r=wv();this.emit("languageChanging",e);const i=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},s=(o,f)=>{f?this.isLanguageChangingTo===e&&(i(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,r.resolve((...v)=>this.t(...v)),t&&t(o,(...v)=>this.t(...v))},l=o=>{var x,B;!e&&!o&&this.services.languageDetector&&(o=[]);const f=Oo(o)?o:o&&o[0],v=this.store.hasLanguageSomeTranslations(f)?f:this.services.languageUtils.getBestMatchFromCodes(Oo(o)?[o]:o);v&&(this.language||i(v),this.translator.language||this.translator.changeLanguage(v),(B=(x=this.services.languageDetector)==null?void 0:x.cacheUserLanguage)==null||B.call(x,v)),this.loadResources(v,k=>{s(k,v)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),r}getFixedT(e,t,r){const i=(s,l,...o)=>{let f;typeof l!="object"?f=this.options.overloadTranslationOptionHandler([s,l].concat(o)):f={...l},f.lng=f.lng||i.lng,f.lngs=f.lngs||i.lngs,f.ns=f.ns||i.ns,f.keyPrefix!==""&&(f.keyPrefix=f.keyPrefix||r||i.keyPrefix);const v=this.options.keySeparator||".";let x;return f.keyPrefix&&Array.isArray(s)?x=s.map(B=>`${f.keyPrefix}${v}${B}`):x=f.keyPrefix?`${f.keyPrefix}${v}${s}`:s,this.t(x,f)};return Oo(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=r,i}t(...e){var t;return(t=this.translator)==null?void 0:t.translate(...e)}exists(...e){var t;return(t=this.translator)==null?void 0:t.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const l=(o,f)=>{const v=this.services.backendConnector.state[`${o}|${f}`];return v===-1||v===0||v===2};if(t.precheck){const o=t.precheck(this,l);if(o!==void 0)return o}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(r,e)&&(!i||l(s,e)))}loadNamespaces(e,t){const r=wv();return this.options.ns?(Oo(e)&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),t&&t(i)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=wv();Oo(e)&&(e=[e]);const i=this.options.preload||[],s=e.filter(l=>i.indexOf(l)<0&&this.services.languageUtils.isSupportedCode(l));return s.length?(this.options.preload=i.concat(s),this.loadResources(l=>{r.resolve(),t&&t(l)}),r):(t&&t(),Promise.resolve())}dir(e){var i,s;if(e||(e=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!e)return"rtl";if(Intl.Locale){const l=new Intl.Locale(e);if(l&&l.getTextInfo){const o=l.getTextInfo();if(o&&o.direction)return o.direction}}const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=((s=this.services)==null?void 0:s.languageUtils)||new AI(fI());return e.toLowerCase().indexOf("-latn")>1?"ltr":t.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){return new xC(e,t)}cloneInstance(e={},t=X_){const r=e.forkResourceStore;r&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},s=new xC(i);if((e.debug!==void 0||e.prefix!==void 0)&&(s.logger=s.logger.clone(e)),["store","services","language"].forEach(o=>{s[o]=this[o]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const o=Object.keys(this.store.data).reduce((f,v)=>(f[v]={...this.store.data[v]},f[v]=Object.keys(f[v]).reduce((x,B)=>(x[B]={...f[v][B]},x),f[v]),f),{});s.store=new sI(o,i),s.services.resourceStore=s.store}return s.translator=new l2(s.services,i),s.translator.on("*",(o,...f)=>{s.emit(o,...f)}),s.init(i,t),s.translator.options=i,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const nh=xC.createInstance();nh.createInstance=xC.createInstance;nh.createInstance;nh.dir;nh.init;nh.loadResources;nh.reloadResources;nh.use;nh.changeLanguage;nh.getFixedT;nh.t;nh.exists;nh.setDefaultNamespace;nh.hasLoadedNamespace;nh.loadNamespaces;nh.loadLanguages;const{slice:_j,forEach:bj}=[];function xj(n){return bj.call(_j.call(arguments,1),e=>{if(e)for(const t in e)n[t]===void 0&&(n[t]=e[t])}),n}function Mj(n){return typeof n!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(n))}const mI=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,wj=function(n,e){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},i=encodeURIComponent(e);let s=`${n}=${i}`;if(r.maxAge>0){const l=r.maxAge-0;if(Number.isNaN(l))throw new Error("maxAge should be a Number");s+=`; Max-Age=${Math.floor(l)}`}if(r.domain){if(!mI.test(r.domain))throw new TypeError("option domain is invalid");s+=`; Domain=${r.domain}`}if(r.path){if(!mI.test(r.path))throw new TypeError("option path is invalid");s+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(s+="; Partitioned"),s},gI={create(n,e,t,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};t&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+t*60*1e3)),r&&(i.domain=r),document.cookie=wj(n,e,i)},read(n){const e=`${n}=`,t=document.cookie.split(";");for(let r=0;r-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const l=i.substring(1).split("&");for(let o=0;o0&&l[o].substring(0,f)===e&&(t=l[o].substring(f+1))}}return t}},Bj={name:"hash",lookup(n){var i;let{lookupHash:e,lookupFromHashIndex:t}=n,r;if(typeof window<"u"){const{hash:s}=window.location;if(s&&s.length>2){const l=s.substring(1);if(e){const o=l.split("&");for(let f=0;f0&&o[f].substring(0,v)===e&&(r=o[f].substring(v+1))}}if(r)return r;if(!r&&t>-1){const o=s.match(/\/([a-zA-Z-]*)/g);return Array.isArray(o)?(i=o[typeof t=="number"?t:0])==null?void 0:i.replace("/",""):void 0}}}return r}};let S1=null;const yI=()=>{if(S1!==null)return S1;try{if(S1=typeof window<"u"&&window.localStorage!==null,!S1)return!1;const n="i18next.translate.boo";window.localStorage.setItem(n,"foo"),window.localStorage.removeItem(n)}catch{S1=!1}return S1};var Oj={name:"localStorage",lookup(n){let{lookupLocalStorage:e}=n;if(e&&yI())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupLocalStorage:t}=e;t&&yI()&&window.localStorage.setItem(t,n)}};let E1=null;const vI=()=>{if(E1!==null)return E1;try{if(E1=typeof window<"u"&&window.sessionStorage!==null,!E1)return!1;const n="i18next.translate.boo";window.sessionStorage.setItem(n,"foo"),window.sessionStorage.removeItem(n)}catch{E1=!1}return E1};var Ij={name:"sessionStorage",lookup(n){let{lookupSessionStorage:e}=n;if(e&&vI())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(n,e){let{lookupSessionStorage:t}=e;t&&vI()&&window.sessionStorage.setItem(t,n)}},Tj={name:"navigator",lookup(n){const e=[];if(typeof navigator<"u"){const{languages:t,userLanguage:r,language:i}=navigator;if(t)for(let s=0;s0?e:void 0}},kj={name:"htmlTag",lookup(n){let{htmlTag:e}=n,t;const r=e||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(t=r.getAttribute("lang")),t}},Pj={name:"path",lookup(n){var i;let{lookupFromPathIndex:e}=n;if(typeof window>"u")return;const t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(t)?(i=t[typeof e=="number"?e:0])==null?void 0:i.replace("/",""):void 0}},Kj={name:"subdomain",lookup(n){var i,s;let{lookupFromSubdomainIndex:e}=n;const t=typeof e=="number"?e+1:1,r=typeof window<"u"&&((s=(i=window.location)==null?void 0:i.hostname)==null?void 0:s.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[t]}};let mF=!1;try{document.cookie,mF=!0}catch{}const gF=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];mF||gF.splice(1,1);const Rj=()=>({order:gF,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:n=>n});class yF{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=e,this.options=xj(t,this.options||{},Rj()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=i=>i.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(Sj),this.addDetector(Ej),this.addDetector(Oj),this.addDetector(Ij),this.addDetector(Tj),this.addDetector(kj),this.addDetector(Pj),this.addDetector(Kj),this.addDetector(Bj)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,t=[];return e.forEach(r=>{if(this.detectors[r]){let i=this.detectors[r].lookup(this.options);i&&typeof i=="string"&&(i=[i]),i&&(t=t.concat(i))}}),t=t.filter(r=>r!=null&&!Mj(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(e,this.options)}))}}yF.type="languageDetector";var Dj=function(e){return{type:"backend",init:function(r,i,s){},read:function(r,i,s){if(typeof e=="function"){if(e.length<3){try{var l=e(r,i);l&&typeof l.then=="function"?l.then(function(o){return s(null,o&&o.default||o)}).catch(s):s(null,l)}catch(o){s(o)}return}e(r,i,s);return}s(null,e&&e[r]&&e[r][i])}}},n4,CI;function Fj(){return CI||(CI=1,n4={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),n4}var Lj=Fj();const Uj=Gl(Lj);var zj=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function _I(n){var e={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},t=n.match(/<\/?([^\s]+?)[/\s>]/);if(t&&(e.name=t[1],(Uj[t[1]]||n.charAt(n.length-2)==="/")&&(e.voidElement=!0),e.name.startsWith("!--"))){var r=n.indexOf("-->");return{type:"comment",comment:r!==-1?n.slice(4,r):""}}for(var i=new RegExp(zj),s=null;(s=i.exec(n))!==null;)if(s[0].trim())if(s[1]){var l=s[1].trim(),o=[l,""];l.indexOf("=")>-1&&(o=l.split("=")),e.attrs[o[0]]=o[1],i.lastIndex--}else s[2]&&(e.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return e}var Nj=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,Wj=/^\s*$/,Gj=Object.create(null);function vF(n,e){switch(e.type){case"text":return n+e.content;case"tag":return n+="<"+e.name+(e.attrs?function(t){var r=[];for(var i in t)r.push(i+'="'+t[i]+'"');return r.length?" "+r.join(" "):""}(e.attrs):"")+(e.voidElement?"/>":">"),e.voidElement?n:n+e.children.reduce(vF,"")+"";case"comment":return n+""}}var jj={parse:function(n,e){e||(e={}),e.components||(e.components=Gj);var t,r=[],i=[],s=-1,l=!1;if(n.indexOf("<")!==0){var o=n.indexOf("<");r.push({type:"text",content:o===-1?n:n.substring(0,o)})}return n.replace(Nj,function(f,v){if(l){if(f!=="")return;l=!1}var x,B=f.charAt(1)!=="/",k=f.startsWith("");return{type:"comment",comment:r!==-1?n.slice(4,r):""}}for(var i=new RegExp(zW),s=null;(s=i.exec(n))!==null;)if(s[0].trim())if(s[1]){var l=s[1].trim(),o=[l,""];l.indexOf("=")>-1&&(o=l.split("=")),e.attrs[o[0]]=o[1],i.lastIndex--}else s[2]&&(e.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return e}var NW=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,GW=/^\s*$/,jW=Object.create(null);function vF(n,e){switch(e.type){case"text":return n+e.content;case"tag":return n+="<"+e.name+(e.attrs?function(t){var r=[];for(var i in t)r.push(i+'="'+t[i]+'"');return r.length?" "+r.join(" "):""}(e.attrs):"")+(e.voidElement?"/>":">"),e.voidElement?n:n+e.children.reduce(vF,"")+"";case"comment":return n+""}}var WW={parse:function(n,e){e||(e={}),e.components||(e.components=jW);var t,r=[],i=[],s=-1,l=!1;if(n.indexOf("<")!==0){var o=n.indexOf("<");r.push({type:"text",content:o===-1?n:n.substring(0,o)})}return n.replace(NW,function(f,v){if(l){if(f!=="")return;l=!1}var x,B=f.charAt(1)!=="/",k=f.startsWith("