From 56e151329dde275ba3eef079852d25f7c866899e Mon Sep 17 00:00:00 2001 From: HarelM Date: Tue, 21 Jan 2025 11:48:16 +0000 Subject: [PATCH] deploy: f12af91a55ddd0cac18e8ad5da8572e6cbae5795 --- .../{index-B0AqiJy_.js => index-Bd2N1aSW.js} | 110 +++++++++--------- ...-B0AqiJy_.js.map => index-Bd2N1aSW.js.map} | 2 +- index.html | 2 +- 3 files changed, 57 insertions(+), 57 deletions(-) rename assets/{index-B0AqiJy_.js => index-Bd2N1aSW.js} (91%) rename assets/{index-B0AqiJy_.js.map => index-Bd2N1aSW.js.map} (64%) diff --git a/assets/index-B0AqiJy_.js b/assets/index-Bd2N1aSW.js similarity index 91% rename from assets/index-B0AqiJy_.js rename to assets/index-Bd2N1aSW.js index a4386abd..e9c76d23 100644 --- a/assets/index-B0AqiJy_.js +++ b/assets/index-Bd2N1aSW.js @@ -1,4 +1,4 @@ -var Fz=Object.defineProperty;var Uz=(r,t,e)=>t in r?Fz(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Kn=(r,t,e)=>Uz(r,typeof t!="symbol"?t+"":t,e);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function e(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=e(i);fetch(i.href,o)}})();function us(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function BE(r){if(r.__esModule)return r;var t=r.default;if(typeof t=="function"){var e=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),e}var lx={exports:{}},hy={},ux={exports:{}},ga={},eB;function jz(){if(eB)return ga;eB=1;/** +var jz=Object.defineProperty;var zz=(r,t,e)=>t in r?jz(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var Kn=(r,t,e)=>zz(r,typeof t!="symbol"?t+"":t,e);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function e(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=e(i);fetch(i.href,o)}})();function us(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function BE(r){if(r.__esModule)return r;var t=r.default;if(typeof t=="function"){var e=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),e}var lx={exports:{}},hy={},ux={exports:{}},ga={},eB;function Nz(){if(eB)return ga;eB=1;/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var Fz=Object.defineProperty;var Uz=(r,t,e)=>t in r?Fz(r,t,{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 r=Symbol.for("react.element"),t=Symbol.for("react.portal"),e=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),I=Symbol.iterator;function S(ke){return ke===null||typeof ke!="object"?null:(ke=I&&ke[I]||ke["@@iterator"],typeof ke=="function"?ke:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,U={};function j(ke,We,vt){this.props=ke,this.context=We,this.refs=U,this.updater=vt||B}j.prototype.isReactComponent={},j.prototype.setState=function(ke,We){if(typeof ke!="object"&&typeof ke!="function"&&ke!=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,ke,We,"setState")},j.prototype.forceUpdate=function(ke){this.updater.enqueueForceUpdate(this,ke,"forceUpdate")};function q(){}q.prototype=j.prototype;function W(ke,We,vt){this.props=ke,this.context=We,this.refs=U,this.updater=vt||B}var ee=W.prototype=new q;ee.constructor=W,P(ee,j.prototype),ee.isPureReactComponent=!0;var J=Array.isArray,$=Object.prototype.hasOwnProperty,X={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function ae(ke,We,vt){var Pt,ut={},jt=null,Rt=null;if(We!=null)for(Pt in We.ref!==void 0&&(Rt=We.ref),We.key!==void 0&&(jt=""+We.key),We)$.call(We,Pt)&&!G.hasOwnProperty(Pt)&&(ut[Pt]=We[Pt]);var Ke=arguments.length-2;if(Ke===1)ut.children=vt;else if(1t in r?Fz(r,t,{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 nB;function zz(){if(nB)return hy;nB=1;var r=Ts(),t=Symbol.for("react.element"),e=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(a,f,g){var b,I={},S=null,B=null;g!==void 0&&(S=""+g),f.key!==void 0&&(S=""+f.key),f.ref!==void 0&&(B=f.ref);for(b in f)n.call(f,b)&&!o.hasOwnProperty(b)&&(I[b]=f[b]);if(a&&a.defaultProps)for(b in f=a.defaultProps,f)I[b]===void 0&&(I[b]=f[b]);return{$$typeof:t,type:a,key:S,ref:B,props:I,_owner:i.current}}return hy.Fragment=e,hy.jsx=s,hy.jsxs=s,hy}var rB;function Nz(){return rB||(rB=1,lx.exports=zz()),lx.exports}var ue=Nz(),di=Ts();const Zn=us(di);var JK={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},aS=Zn.createContext&&Zn.createContext(JK),Gz=["attr","size","title"];function Wz(r,t){if(r==null)return{};var e=Qz(r,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(e[n]=r[n])}return e}function Qz(r,t){if(r==null)return{};var e={},n=Object.keys(r),i,o;for(o=0;o=0)&&(e[i]=r[i]);return e}function OC(){return OC=Object.assign?Object.assign.bind():function(r){for(var t=1;tZn.createElement(t.tag,BC({key:e},t.attr),eR(t.child)))}function Yl(r){return t=>Zn.createElement(Vz,OC({attr:BC({},r.attr)},t),eR(r.child))}function Vz(r){var t=e=>{var{attr:n,size:i,title:o}=r,s=Wz(r,Gz),a=i||e.size||"1em",f;return e.className&&(f=e.className),r.className&&(f=(f?f+" ":"")+r.className),Zn.createElement("svg",OC({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,n,s,{className:f,style:BC(BC({color:r.color||e.color},e.style),r.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&Zn.createElement("title",null,o),r.children)};return aS!==void 0?Zn.createElement(aS.Consumer,null,e=>t(e)):t(JK)}var S_={},Ax={exports:{}},nh={},cx={exports:{}},dx={};/** + */var nB;function Gz(){if(nB)return hy;nB=1;var r=Ts(),t=Symbol.for("react.element"),e=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(a,f,g){var b,I={},S=null,B=null;g!==void 0&&(S=""+g),f.key!==void 0&&(S=""+f.key),f.ref!==void 0&&(B=f.ref);for(b in f)n.call(f,b)&&!o.hasOwnProperty(b)&&(I[b]=f[b]);if(a&&a.defaultProps)for(b in f=a.defaultProps,f)I[b]===void 0&&(I[b]=f[b]);return{$$typeof:t,type:a,key:S,ref:B,props:I,_owner:i.current}}return hy.Fragment=e,hy.jsx=s,hy.jsxs=s,hy}var rB;function Wz(){return rB||(rB=1,lx.exports=Gz()),lx.exports}var ue=Wz(),di=Ts();const Zn=us(di);var JK={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},aS=Zn.createContext&&Zn.createContext(JK),Qz=["attr","size","title"];function qz(r,t){if(r==null)return{};var e=Yz(r,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(e[n]=r[n])}return e}function Yz(r,t){if(r==null)return{};var e={},n=Object.keys(r),i,o;for(o=0;o=0)&&(e[i]=r[i]);return e}function OC(){return OC=Object.assign?Object.assign.bind():function(r){for(var t=1;tZn.createElement(t.tag,BC({key:e},t.attr),eR(t.child)))}function Yl(r){return t=>Zn.createElement(Zz,OC({attr:BC({},r.attr)},t),eR(r.child))}function Zz(r){var t=e=>{var{attr:n,size:i,title:o}=r,s=qz(r,Qz),a=i||e.size||"1em",f;return e.className&&(f=e.className),r.className&&(f=(f?f+" ":"")+r.className),Zn.createElement("svg",OC({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,n,s,{className:f,style:BC(BC({color:r.color||e.color},e.style),r.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&Zn.createElement("title",null,o),r.children)};return aS!==void 0?Zn.createElement(aS.Consumer,null,e=>t(e)):t(JK)}var S_={},Ax={exports:{}},nh={},cx={exports:{}},dx={};/** * @license React * scheduler.production.min.js * @@ -22,7 +22,7 @@ var Fz=Object.defineProperty;var Uz=(r,t,e)=>t in r?Fz(r,t,{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 oB;function Hz(){return oB||(oB=1,function(r){function t(je,et){var Ue=je.length;je.push(et);e:for(;0>>1,We=je[ke];if(0>>1;kei(ut,Ue))jti(Rt,ut)?(je[ke]=Rt,je[jt]=Ue,ke=jt):(je[ke]=ut,je[Pt]=Ue,ke=Pt);else if(jti(Rt,Ue))je[ke]=Rt,je[jt]=Ue,ke=jt;else break e}}return et}function i(je,et){var Ue=je.sortIndex-et.sortIndex;return Ue!==0?Ue:je.id-et.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;r.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();r.unstable_now=function(){return s.now()-a}}var f=[],g=[],b=1,I=null,S=3,B=!1,P=!1,U=!1,j=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ee(je){for(var et=e(g);et!==null;){if(et.callback===null)n(g);else if(et.startTime<=je)n(g),et.sortIndex=et.expirationTime,t(f,et);else break;et=e(g)}}function J(je){if(U=!1,ee(je),!P)if(e(f)!==null)P=!0,nt($);else{var et=e(g);et!==null&&Ne(J,et.startTime-je)}}function $(je,et){P=!1,U&&(U=!1,q(ae),ae=-1),B=!0;var Ue=S;try{for(ee(et),I=e(f);I!==null&&(!(I.expirationTime>et)||je&&!Ie());){var ke=I.callback;if(typeof ke=="function"){I.callback=null,S=I.priorityLevel;var We=ke(I.expirationTime<=et);et=r.unstable_now(),typeof We=="function"?I.callback=We:I===e(f)&&n(f),ee(et)}else n(f);I=e(f)}if(I!==null)var vt=!0;else{var Pt=e(g);Pt!==null&&Ne(J,Pt.startTime-et),vt=!1}return vt}finally{I=null,S=Ue,B=!1}}var X=!1,G=null,ae=-1,ge=5,he=-1;function Ie(){return!(r.unstable_now()-heje||125ke?(je.sortIndex=Ue,t(g,je),e(f)===null&&je===e(g)&&(U?(q(ae),ae=-1):U=!0,Ne(J,Ue-ke))):(je.sortIndex=We,t(f,je),P||B||(P=!0,nt($))),je},r.unstable_shouldYield=Ie,r.unstable_wrapCallback=function(je){var et=S;return function(){var Ue=S;S=et;try{return je.apply(this,arguments)}finally{S=Ue}}}}(dx)),dx}var aB;function Zz(){return aB||(aB=1,cx.exports=Hz()),cx.exports}/** + */var oB;function Xz(){return oB||(oB=1,function(r){function t(je,et){var Ue=je.length;je.push(et);e:for(;0>>1,We=je[ke];if(0>>1;kei(ut,Ue))jti(Rt,ut)?(je[ke]=Rt,je[jt]=Ue,ke=jt):(je[ke]=ut,je[Pt]=Ue,ke=Pt);else if(jti(Rt,Ue))je[ke]=Rt,je[jt]=Ue,ke=jt;else break e}}return et}function i(je,et){var Ue=je.sortIndex-et.sortIndex;return Ue!==0?Ue:je.id-et.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;r.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();r.unstable_now=function(){return s.now()-a}}var f=[],g=[],b=1,I=null,S=3,B=!1,P=!1,U=!1,j=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ee(je){for(var et=e(g);et!==null;){if(et.callback===null)n(g);else if(et.startTime<=je)n(g),et.sortIndex=et.expirationTime,t(f,et);else break;et=e(g)}}function J(je){if(U=!1,ee(je),!P)if(e(f)!==null)P=!0,nt($);else{var et=e(g);et!==null&&Ne(J,et.startTime-je)}}function $(je,et){P=!1,U&&(U=!1,q(ae),ae=-1),B=!0;var Ue=S;try{for(ee(et),I=e(f);I!==null&&(!(I.expirationTime>et)||je&&!Ie());){var ke=I.callback;if(typeof ke=="function"){I.callback=null,S=I.priorityLevel;var We=ke(I.expirationTime<=et);et=r.unstable_now(),typeof We=="function"?I.callback=We:I===e(f)&&n(f),ee(et)}else n(f);I=e(f)}if(I!==null)var vt=!0;else{var Pt=e(g);Pt!==null&&Ne(J,Pt.startTime-et),vt=!1}return vt}finally{I=null,S=Ue,B=!1}}var X=!1,G=null,ae=-1,ge=5,he=-1;function Ie(){return!(r.unstable_now()-heje||125ke?(je.sortIndex=Ue,t(g,je),e(f)===null&&je===e(g)&&(U?(q(ae),ae=-1):U=!0,Ne(J,Ue-ke))):(je.sortIndex=We,t(f,je),P||B||(P=!0,nt($))),je},r.unstable_shouldYield=Ie,r.unstable_wrapCallback=function(je){var et=S;return function(){var Ue=S;S=et;try{return je.apply(this,arguments)}finally{S=Ue}}}}(dx)),dx}var aB;function Jz(){return aB||(aB=1,cx.exports=Xz()),cx.exports}/** * @license React * react-dom.production.min.js * @@ -30,26 +30,26 @@ var Fz=Object.defineProperty;var Uz=(r,t,e)=>t in r?Fz(r,t,{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 sB;function Xz(){if(sB)return nh;sB=1;var r=Ts(),t=Zz();function e(m){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+m,L=1;L"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,g=/^[: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]*$/,b={},I={};function S(m){return f.call(I,m)?!0:f.call(b,m)?!1:g.test(m)?I[m]=!0:(b[m]=!0,!1)}function B(m,_,L,Q){if(L!==null&&L.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return Q?!1:L!==null?!L.acceptsBooleans:(m=m.toLowerCase().slice(0,5),m!=="data-"&&m!=="aria-");default:return!1}}function P(m,_,L,Q){if(_===null||typeof _>"u"||B(m,_,L,Q))return!0;if(Q)return!1;if(L!==null)switch(L.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function U(m,_,L,Q,le,me,Xe){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=Q,this.attributeNamespace=le,this.mustUseProperty=L,this.propertyName=m,this.type=_,this.sanitizeURL=me,this.removeEmptyString=Xe}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){j[m]=new U(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 U(_,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){j[m]=new U(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){j[m]=new U(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 U(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){j[m]=new U(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){j[m]=new U(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){j[m]=new U(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){j[m]=new U(m,5,!1,m.toLowerCase(),null,!1,!1)});var q=/[\-:]([a-z])/g;function W(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(q,W);j[_]=new U(_,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(q,W);j[_]=new U(_,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var _=m.replace(q,W);j[_]=new U(_,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){j[m]=new U(m,1,!1,m.toLowerCase(),null,!1,!1)}),j.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){j[m]=new U(m,1,!1,m.toLowerCase(),null,!0,!0)});function ee(m,_,L,Q){var le=j.hasOwnProperty(_)?j[_]:null;(le!==null?le.type!==0:Q||!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N")&&(P(_,L,le,Q)&&(L=null),Q||le===null?S(_)&&(L===null?m.removeAttribute(_):m.setAttribute(_,""+L)):le.mustUseProperty?m[le.propertyName]=L===null?le.type===3?!1:"":L:(_=le.attributeName,Q=le.attributeNamespace,L===null?m.removeAttribute(_):(le=le.type,L=le===3||le===4&&L===!0?"":""+L,Q?m.setAttributeNS(Q,_,L):m.setAttribute(_,L))))}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),X=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),Ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),nt=Symbol.for("react.lazy"),Ne=Symbol.for("react.offscreen"),je=Symbol.iterator;function et(m){return m===null||typeof m!="object"?null:(m=je&&m[je]||m["@@iterator"],typeof m=="function"?m:null)}var Ue=Object.assign,ke;function We(m){if(ke===void 0)try{throw Error()}catch(L){var _=L.stack.trim().match(/\n( *(at )?)/);ke=_&&_[1]||""}return` + */var sB;function eN(){if(sB)return nh;sB=1;var r=Ts(),t=Jz();function e(m){for(var _="https://reactjs.org/docs/error-decoder.html?invariant="+m,L=1;L"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,g=/^[: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]*$/,b={},I={};function S(m){return f.call(I,m)?!0:f.call(b,m)?!1:g.test(m)?I[m]=!0:(b[m]=!0,!1)}function B(m,_,L,Q){if(L!==null&&L.type===0)return!1;switch(typeof _){case"function":case"symbol":return!0;case"boolean":return Q?!1:L!==null?!L.acceptsBooleans:(m=m.toLowerCase().slice(0,5),m!=="data-"&&m!=="aria-");default:return!1}}function P(m,_,L,Q){if(_===null||typeof _>"u"||B(m,_,L,Q))return!0;if(Q)return!1;if(L!==null)switch(L.type){case 3:return!_;case 4:return _===!1;case 5:return isNaN(_);case 6:return isNaN(_)||1>_}return!1}function U(m,_,L,Q,le,me,Xe){this.acceptsBooleans=_===2||_===3||_===4,this.attributeName=Q,this.attributeNamespace=le,this.mustUseProperty=L,this.propertyName=m,this.type=_,this.sanitizeURL=me,this.removeEmptyString=Xe}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(m){j[m]=new U(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 U(_,1,!1,m[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(m){j[m]=new U(m,2,!1,m.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(m){j[m]=new U(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 U(m,3,!1,m.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(m){j[m]=new U(m,3,!0,m,null,!1,!1)}),["capture","download"].forEach(function(m){j[m]=new U(m,4,!1,m,null,!1,!1)}),["cols","rows","size","span"].forEach(function(m){j[m]=new U(m,6,!1,m,null,!1,!1)}),["rowSpan","start"].forEach(function(m){j[m]=new U(m,5,!1,m.toLowerCase(),null,!1,!1)});var q=/[\-:]([a-z])/g;function W(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(q,W);j[_]=new U(_,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(q,W);j[_]=new U(_,1,!1,m,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(m){var _=m.replace(q,W);j[_]=new U(_,1,!1,m,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(m){j[m]=new U(m,1,!1,m.toLowerCase(),null,!1,!1)}),j.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(m){j[m]=new U(m,1,!1,m.toLowerCase(),null,!0,!0)});function ee(m,_,L,Q){var le=j.hasOwnProperty(_)?j[_]:null;(le!==null?le.type!==0:Q||!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N")&&(P(_,L,le,Q)&&(L=null),Q||le===null?S(_)&&(L===null?m.removeAttribute(_):m.setAttribute(_,""+L)):le.mustUseProperty?m[le.propertyName]=L===null?le.type===3?!1:"":L:(_=le.attributeName,Q=le.attributeNamespace,L===null?m.removeAttribute(_):(le=le.type,L=le===3||le===4&&L===!0?"":""+L,Q?m.setAttributeNS(Q,_,L):m.setAttribute(_,L))))}var J=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),X=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),ae=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),Ie=Symbol.for("react.context"),re=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),Se=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),nt=Symbol.for("react.lazy"),Ne=Symbol.for("react.offscreen"),je=Symbol.iterator;function et(m){return m===null||typeof m!="object"?null:(m=je&&m[je]||m["@@iterator"],typeof m=="function"?m:null)}var Ue=Object.assign,ke;function We(m){if(ke===void 0)try{throw Error()}catch(L){var _=L.stack.trim().match(/\n( *(at )?)/);ke=_&&_[1]||""}return` `+ke+m}var vt=!1;function Pt(m,_){if(!m||vt)return"";vt=!0;var L=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(Cn){var Q=Cn}Reflect.construct(m,[],_)}else{try{_.call()}catch(Cn){Q=Cn}m.call(_.prototype)}else{try{throw Error()}catch(Cn){Q=Cn}m()}}catch(Cn){if(Cn&&Q&&typeof Cn.stack=="string"){for(var le=Cn.stack.split(` `),me=Q.stack.split(` `),Xe=le.length-1,Bt=me.length-1;1<=Xe&&0<=Bt&&le[Xe]!==me[Bt];)Bt--;for(;1<=Xe&&0<=Bt;Xe--,Bt--)if(le[Xe]!==me[Bt]){if(Xe!==1||Bt!==1)do if(Xe--,Bt--,0>Bt||le[Xe]!==me[Bt]){var Wt=` `+le[Xe].replace(" at new "," at ");return m.displayName&&Wt.includes("")&&(Wt=Wt.replace("",m.displayName)),Wt}while(1<=Xe&&0<=Bt);break}}}finally{vt=!1,Error.prepareStackTrace=L}return(m=m?m.displayName||m.name:"")?We(m):""}function ut(m){switch(m.tag){case 5:return We(m.type);case 16:return We("Lazy");case 13:return We("Suspense");case 19:return We("SuspenseList");case 0:case 2:case 15:return m=Pt(m.type,!1),m;case 11:return m=Pt(m.type.render,!1),m;case 1:return m=Pt(m.type,!0),m;default:return""}}function jt(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 X:return"Portal";case ge:return"Profiler";case ae:return"StrictMode";case oe:return"Suspense";case Se:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case Ie:return(m.displayName||"Context")+".Consumer";case he:return(m._context.displayName||"Context")+".Provider";case re:var _=m.render;return m=m.displayName,m||(m=_.displayName||_.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case ye:return _=m.displayName||null,_!==null?_:jt(m.type)||"Memo";case nt:_=m._payload,m=m._init;try{return jt(m(_))}catch{}}return null}function Rt(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 jt(_);case 8:return _===ae?"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 Ke(m){switch(typeof m){case"boolean":case"number":case"string":case"undefined":return m;case"object":return m;default:return""}}function we(m){var _=m.type;return(m=m.nodeName)&&m.toLowerCase()==="input"&&(_==="checkbox"||_==="radio")}function Fe(m){var _=we(m)?"checked":"value",L=Object.getOwnPropertyDescriptor(m.constructor.prototype,_),Q=""+m[_];if(!m.hasOwnProperty(_)&&typeof L<"u"&&typeof L.get=="function"&&typeof L.set=="function"){var le=L.get,me=L.set;return Object.defineProperty(m,_,{configurable:!0,get:function(){return le.call(this)},set:function(Xe){Q=""+Xe,me.call(this,Xe)}}),Object.defineProperty(m,_,{enumerable:L.enumerable}),{getValue:function(){return Q},setValue:function(Xe){Q=""+Xe},stopTracking:function(){m._valueTracker=null,delete m[_]}}}}function tt(m){m._valueTracker||(m._valueTracker=Fe(m))}function mt(m){if(!m)return!1;var _=m._valueTracker;if(!_)return!0;var L=_.getValue(),Q="";return m&&(Q=we(m)?m.checked?"true":"false":m.value),m=Q,m!==L?(_.setValue(m),!0):!1}function bt(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 L=_.checked;return Ue({},_,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:L??m._wrapperState.initialChecked})}function Vt(m,_){var L=_.defaultValue==null?"":_.defaultValue,Q=_.checked!=null?_.checked:_.defaultChecked;L=Ke(_.value!=null?_.value:L),m._wrapperState={initialChecked:Q,initialValue:L,controlled:_.type==="checkbox"||_.type==="radio"?_.checked!=null:_.value!=null}}function rn(m,_){_=_.checked,_!=null&&ee(m,"checked",_,!1)}function Sn(m,_){rn(m,_);var L=Ke(_.value),Q=_.type;if(L!=null)Q==="number"?(L===0&&m.value===""||m.value!=L)&&(m.value=""+L):m.value!==""+L&&(m.value=""+L);else if(Q==="submit"||Q==="reset"){m.removeAttribute("value");return}_.hasOwnProperty("value")?Bn(m,_.type,L):_.hasOwnProperty("defaultValue")&&Bn(m,_.type,Ke(_.defaultValue)),_.checked==null&&_.defaultChecked!=null&&(m.defaultChecked=!!_.defaultChecked)}function Ar(m,_,L){if(_.hasOwnProperty("value")||_.hasOwnProperty("defaultValue")){var Q=_.type;if(!(Q!=="submit"&&Q!=="reset"||_.value!==void 0&&_.value!==null))return;_=""+m._wrapperState.initialValue,L||_===m.value||(m.value=_),m.defaultValue=_}L=m.name,L!==""&&(m.name=""),m.defaultChecked=!!m._wrapperState.initialChecked,L!==""&&(m.name=L)}function Bn(m,_,L){(_!=="number"||bt(m.ownerDocument)!==m)&&(L==null?m.defaultValue=""+m._wrapperState.initialValue:m.defaultValue!==""+L&&(m.defaultValue=""+L))}var ar=Array.isArray;function Cr(m,_,L,Q){if(m=m.options,_){_={};for(var le=0;le"+_.valueOf().toString()+"",_=de.firstChild;m.firstChild;)m.removeChild(m.firstChild);for(;_.firstChild;)m.appendChild(_.firstChild)}});function Je(m,_){if(_){var L=m.firstChild;if(L&&L===m.lastChild&&L.nodeType===3){L.nodeValue=_;return}}m.textContent=_}var kt={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},Xt=["Webkit","ms","Moz","O"];Object.keys(kt).forEach(function(m){Xt.forEach(function(_){_=_+m.charAt(0).toUpperCase()+m.substring(1),kt[_]=kt[m]})});function it(m,_,L){return _==null||typeof _=="boolean"||_===""?"":L||typeof _!="number"||_===0||kt.hasOwnProperty(m)&&kt[m]?(""+_).trim():_+"px"}function Ut(m,_){m=m.style;for(var L in _)if(_.hasOwnProperty(L)){var Q=L.indexOf("--")===0,le=it(L,_[L],Q);L==="float"&&(L="cssFloat"),Q?m.setProperty(L,le):m[L]=le}}var qe=Ue({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 fe(m,_){if(_){if(qe[m]&&(_.children!=null||_.dangerouslySetInnerHTML!=null))throw Error(e(137,m));if(_.dangerouslySetInnerHTML!=null){if(_.children!=null)throw Error(e(60));if(typeof _.dangerouslySetInnerHTML!="object"||!("__html"in _.dangerouslySetInnerHTML))throw Error(e(61))}if(_.style!=null&&typeof _.style!="object")throw Error(e(62))}}function xe(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 Qe(m){return m=m.target||m.srcElement||window,m.correspondingUseElement&&(m=m.correspondingUseElement),m.nodeType===3?m.parentNode:m}var pt=null,ft=null,Et=null;function Ct(m){if(m=Li(m)){if(typeof pt!="function")throw Error(e(280));var _=m.stateNode;_&&(_=Ma(_),pt(m.stateNode,m.type,_))}}function nn(m){ft?Et?Et.push(m):Et=[m]:ft=m}function Yt(){if(ft){var m=ft,_=Et;if(Et=ft=null,Ct(m),_)for(m=0;m<_.length;m++)Ct(_[m])}}function Gt(m,_){return m(_)}function wt(){}var Tn=!1;function En(m,_,L){if(Tn)return m(_,L);Tn=!0;try{return Gt(m,_,L)}finally{Tn=!1,(ft!==null||Et!==null)&&(wt(),Yt())}}function sr(m,_){var L=m.stateNode;if(L===null)return null;var Q=Ma(L);if(Q===null)return null;L=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(L&&typeof L!="function")throw Error(e(231,_,typeof L));return L}var Pr=!1;if(a)try{var an={};Object.defineProperty(an,"passive",{get:function(){Pr=!0}}),window.addEventListener("test",an,an),window.removeEventListener("test",an,an)}catch{Pr=!1}function Wn(m,_,L,Q,le,me,Xe,Bt,Wt){var Cn=Array.prototype.slice.call(arguments,3);try{_.apply(L,Cn)}catch(nr){this.onError(nr)}}var ir=!1,zr=null,fr=!1,hr=null,zn={onError:function(m){ir=!0,zr=m}};function Pi(m,_,L,Q,le,me,Xe,Bt,Wt){ir=!1,zr=null,Wn.apply(zn,arguments)}function po(m,_,L,Q,le,me,Xe,Bt,Wt){if(Pi.apply(this,arguments),ir){if(ir){var Cn=zr;ir=!1,zr=null}else throw Error(e(198));fr||(fr=!0,hr=Cn)}}function ri(m){var _=m,L=m;if(m.alternate)for(;_.return;)_=_.return;else{m=_;do _=m,_.flags&4098&&(L=_.return),m=_.return;while(m)}return _.tag===3?L:null}function Xr(m){if(m.tag===13){var _=m.memoizedState;if(_===null&&(m=m.alternate,m!==null&&(_=m.memoizedState)),_!==null)return _.dehydrated}return null}function ii(m){if(ri(m)!==m)throw Error(e(188))}function mo(m){var _=m.alternate;if(!_){if(_=ri(m),_===null)throw Error(e(188));return _!==m?null:m}for(var L=m,Q=_;;){var le=L.return;if(le===null)break;var me=le.alternate;if(me===null){if(Q=le.return,Q!==null){L=Q;continue}break}if(le.child===me.child){for(me=le.child;me;){if(me===L)return ii(le),m;if(me===Q)return ii(le),_;me=me.sibling}throw Error(e(188))}if(L.return!==Q.return)L=le,Q=me;else{for(var Xe=!1,Bt=le.child;Bt;){if(Bt===L){Xe=!0,L=le,Q=me;break}if(Bt===Q){Xe=!0,Q=le,L=me;break}Bt=Bt.sibling}if(!Xe){for(Bt=me.child;Bt;){if(Bt===L){Xe=!0,L=me,Q=le;break}if(Bt===Q){Xe=!0,Q=me,L=le;break}Bt=Bt.sibling}if(!Xe)throw Error(e(189))}}if(L.alternate!==Q)throw Error(e(190))}if(L.tag!==3)throw Error(e(188));return L.stateNode.current===L?m:_}function Mi(m){return m=mo(m),m!==null?ka(m):null}function ka(m){if(m.tag===5||m.tag===6)return m;for(m=m.child;m!==null;){var _=ka(m);if(_!==null)return _;m=m.sibling}return null}var ns=t.unstable_scheduleCallback,wo=t.unstable_cancelCallback,Ua=t.unstable_shouldYield,Ya=t.unstable_requestPaint,Vi=t.unstable_now,Rl=t.unstable_getCurrentPriorityLevel,Ps=t.unstable_ImmediatePriority,ki=t.unstable_UserBlockingPriority,Mr=t.unstable_NormalPriority,ms=t.unstable_LowPriority,oa=t.unstable_IdlePriority,ba=null,Ge=null;function _t(m){if(Ge&&typeof Ge.onCommitFiberRoot=="function")try{Ge.onCommitFiberRoot(ba,m,void 0,(m.current.flags&128)===128)}catch{}}var cn=Math.clz32?Math.clz32:Qn,jn=Math.log,An=Math.LN2;function Qn(m){return m>>>=0,m===0?32:31-(jn(m)/An|0)|0}var _i=64,Ki=4194304;function Xi(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 aa(m,_){var L=m.pendingLanes;if(L===0)return 0;var Q=0,le=m.suspendedLanes,me=m.pingedLanes,Xe=L&268435455;if(Xe!==0){var Bt=Xe&~le;Bt!==0?Q=Xi(Bt):(me&=Xe,me!==0&&(Q=Xi(me)))}else Xe=L&~le,Xe!==0?Q=Xi(Xe):me!==0&&(Q=Xi(me));if(Q===0)return 0;if(_!==0&&_!==Q&&!(_&le)&&(le=Q&-Q,me=_&-_,le>=me||le===16&&(me&4194240)!==0))return _;if(Q&4&&(Q|=L&16),_=m.entangledLanes,_!==0)for(m=m.entanglements,_&=Q;0<_;)L=31-cn(_),le=1<L;L++)_.push(m);return _}function As(m,_,L){m.pendingLanes|=_,_!==536870912&&(m.suspendedLanes=0,m.pingedLanes=0),m=m.eventTimes,_=31-cn(_),m[_]=L}function Ju(m,_){var L=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=uu),Ld=" ",jh=!1;function Hl(m,_){switch(m){case"keyup":return lu.indexOf(_.keyCode)!==-1;case"keydown":return _.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bl(m){return m=m.detail,typeof m=="object"&&"data"in m?m.data:null}var FA=!1;function Tc(m,_){switch(m){case"compositionend":return bl(_);case"keypress":return _.which!==32?null:(jh=!0,Ld);case"textInput":return m=_.data,m===Ld&&jh?null:m;default:return null}}function zh(m,_){if(FA)return m==="compositionend"||!fh&&Hl(m,_)?(m=So(),Ci=Er=pr=null,FA=!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 kc&&_.locale!=="ko"?null:_.data;default:return null}}var yf={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 rd(m){var _=m&&m.nodeName&&m.nodeName.toLowerCase();return _==="input"?!!yf[m.type]:_==="textarea"}function fA(m,_,L,Q){nn(Q),_=hc(_,"onChange"),0<_.length&&(L=new gs("onChange","change",null,L,Q),m.push({event:L,listeners:_}))}var Ys=null,xl=null;function Yo(m){Nd(m,0)}function ph(m){var _=Wr(m);if(mt(_))return m}function Lp(m,_){if(m==="change")return _}var Pc=!1;if(a){var Bu;if(a){var Fd="oninput"in document;if(!Fd){var Ud=document.createElement("div");Ud.setAttribute("oninput","return;"),Fd=typeof Ud.oninput=="function"}Bu=Fd}else Bu=!1;Pc=Bu&&(!document.documentMode||9=_)return{node:L,offset:_-m};m=Q}e:{for(;L;){if(L.nextSibling){L=L.nextSibling;break e}L=L.parentNode}L=void 0}L=bi(L)}}function is(m,_){return m&&_?m===_?!0:m&&m.nodeType===3?!1:_&&_.nodeType===3?is(m,_.parentNode):"contains"in m?m.contains(_):m.compareDocumentPosition?!!(m.compareDocumentPosition(_)&16):!1:!1}function $o(){for(var m=window,_=bt();_ instanceof m.HTMLIFrameElement;){try{var L=typeof _.contentWindow.location.href=="string"}catch{L=!1}if(L)m=_.contentWindow;else break;_=bt(m.document)}return _}function UA(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 Xf(m){var _=$o(),L=m.focusedElem,Q=m.selectionRange;if(_!==L&&L&&L.ownerDocument&&is(L.ownerDocument.documentElement,L)){if(Q!==null&&UA(L)){if(_=Q.start,m=Q.end,m===void 0&&(m=_),"selectionStart"in L)L.selectionStart=_,L.selectionEnd=Math.min(m,L.value.length);else if(m=(_=L.ownerDocument||document)&&_.defaultView||window,m.getSelection){m=m.getSelection();var le=L.textContent.length,me=Math.min(Q.start,le);Q=Q.end===void 0?me:Math.min(Q.end,le),!m.extend&&me>Q&&(le=Q,Q=me,me=le),le=Co(L,me);var Xe=Co(L,Q);le&&Xe&&(m.rangeCount!==1||m.anchorNode!==le.node||m.anchorOffset!==le.offset||m.focusNode!==Xe.node||m.focusOffset!==Xe.offset)&&(_=_.createRange(),_.setStart(le.node,le.offset),m.removeAllRanges(),me>Q?(m.addRange(_),m.extend(Xe.node,Xe.offset)):(_.setEnd(Xe.node,Xe.offset),m.addRange(_)))}}for(_=[],m=L;m=m.parentNode;)m.nodeType===1&&_.push({element:m,left:m.scrollLeft,top:m.scrollTop});for(typeof L.focus=="function"&&L.focus(),L=0;L<_.length;L++)m=_[L],m.element.scrollLeft=m.left,m.element.scrollTop=m.top}}var wl=a&&"documentMode"in document&&11>=document.documentMode,cu=null,jA=null,Ml=null,Qi=!1;function zA(m,_,L){var Q=L.window===L?L.document:L.nodeType===9?L:L.ownerDocument;Qi||cu==null||cu!==bt(Q)||(Q=cu,"selectionStart"in Q&&UA(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}),Ml&&Kr(Ml,Q)||(Ml=Q,Q=hc(jA,"onSelect"),0Qd||(m.current=ld[Qd],ld[Qd]=null,Qd--)}function ya(m,_){Qd++,ld[Qd]=m.current,m.current=_}var iA={},Sa=Ms(iA),dr=Ms(!1),ys=iA;function zc(m,_){var L=m.type.contextTypes;if(!L)return iA;var Q=m.stateNode;if(Q&&Q.__reactInternalMemoizedUnmaskedChildContext===_)return Q.__reactInternalMemoizedMaskedChildContext;var le={},me;for(me in L)le[me]=_[me];return Q&&(m=m.stateNode,m.__reactInternalMemoizedUnmaskedChildContext=_,m.__reactInternalMemoizedMaskedChildContext=le),le}function Ss(m){return m=m.childContextTypes,m!=null}function VA(){za(dr),za(Sa)}function ud(m,_,L){if(Sa.current!==iA)throw Error(e(168));ya(Sa,_),ya(dr,L)}function Ad(m,_,L){var Q=m.stateNode;if(_=_.childContextTypes,typeof Q.getChildContext!="function")return L;Q=Q.getChildContext();for(var le in Q)if(!(le in _))throw Error(e(108,Rt(m)||"Unknown",le));return Ue({},L,Q)}function Si(m){return m=(m=m.stateNode)&&m.__reactInternalMemoizedMergedChildContext||iA,ys=Sa.current,ya(Sa,m),ya(dr,dr.current),!0}function cd(m,_,L){var Q=m.stateNode;if(!Q)throw Error(e(169));L?(m=Ad(m,_,ys),Q.__reactInternalMemoizedMergedChildContext=m,za(dr),za(Sa),ya(Sa,m)):za(dr),ya(dr,L)}var Ul=null,dd=!1,hd=!1;function vA(m){Ul===null?Ul=[m]:Ul.push(m)}function HA(m){dd=!0,vA(m)}function oA(){if(!hd&&Ul!==null){hd=!0;var m=0,_=kr;try{var L=Ul;for(kr=1;m>=Xe,le-=Xe,Zl=1<<32-cn(_)+le|L<Ni?(Ra=Ii,Ii=null):Ra=Ii.sibling;var Xo=$n(ln,Ii,dn[Ni],mr);if(Xo===null){Ii===null&&(Ii=Ra);break}m&&Ii&&Xo.alternate===null&&_(ln,Ii),en=me(Xo,en,Ni),Ti===null?ni=Xo:Ti.sibling=Xo,Ti=Xo,Ii=Ra}if(Ni===dn.length)return L(ln,Ii),cr&&mc(ln,Ni),ni;if(Ii===null){for(;NiNi?(Ra=Ii,Ii=null):Ra=Ii.sibling;var Eh=$n(ln,Ii,Xo.value,mr);if(Eh===null){Ii===null&&(Ii=Ra);break}m&&Ii&&Eh.alternate===null&&_(ln,Ii),en=me(Eh,en,Ni),Ti===null?ni=Eh:Ti.sibling=Eh,Ti=Eh,Ii=Ra}if(Xo.done)return L(ln,Ii),cr&&mc(ln,Ni),ni;if(Ii===null){for(;!Xo.done;Ni++,Xo=dn.next())Xo=ur(ln,Xo.value,mr),Xo!==null&&(en=me(Xo,en,Ni),Ti===null?ni=Xo:Ti.sibling=Xo,Ti=Xo);return cr&&mc(ln,Ni),ni}for(Ii=Q(ln,Ii);!Xo.done;Ni++,Xo=dn.next())Xo=Rr(Ii,ln,Ni,Xo.value,mr),Xo!==null&&(m&&Xo.alternate!==null&&Ii.delete(Xo.key===null?Ni:Xo.key),en=me(Xo,en,Ni),Ti===null?ni=Xo:Ti.sibling=Xo,Ti=Xo);return m&&Ii.forEach(function(_g){return _(ln,_g)}),cr&&mc(ln,Ni),ni}function Xs(ln,en,dn,mr){if(typeof dn=="object"&&dn!==null&&dn.type===G&&dn.key===null&&(dn=dn.props.children),typeof dn=="object"&&dn!==null){switch(dn.$$typeof){case $:e:{for(var ni=dn.key,Ti=en;Ti!==null;){if(Ti.key===ni){if(ni=dn.type,ni===G){if(Ti.tag===7){L(ln,Ti.sibling),en=le(Ti,dn.props.children),en.return=ln,ln=en;break e}}else if(Ti.elementType===ni||typeof ni=="object"&&ni!==null&&ni.$$typeof===nt&&$d(ni)===Ti.type){L(ln,Ti.sibling),en=le(Ti,dn.props),en.ref=Yd(ln,Ti,dn),en.return=ln,ln=en;break e}L(ln,Ti);break}else _(ln,Ti);Ti=Ti.sibling}dn.type===G?(en=ef(dn.props.children,ln.mode,mr,dn.key),en.return=ln,ln=en):(mr=Tm(dn.type,dn.key,dn.props,null,ln.mode,mr),mr.ref=Yd(ln,en,dn),mr.return=ln,ln=mr)}return Xe(ln);case X:e:{for(Ti=dn.key;en!==null;){if(en.key===Ti)if(en.tag===4&&en.stateNode.containerInfo===dn.containerInfo&&en.stateNode.implementation===dn.implementation){L(ln,en.sibling),en=le(en,dn.children||[]),en.return=ln,ln=en;break e}else{L(ln,en);break}else _(ln,en);en=en.sibling}en=Pm(dn,ln.mode,mr),en.return=ln,ln=en}return Xe(ln);case nt:return Ti=dn._init,Xs(ln,en,Ti(dn._payload),mr)}if(ar(dn))return oi(ln,en,dn,mr);if(et(dn))return ui(ln,en,dn,mr);CA(ln,dn)}return typeof dn=="string"&&dn!==""||typeof dn=="number"?(dn=""+dn,en!==null&&en.tag===6?(L(ln,en.sibling),en=le(en,dn),en.return=ln,ln=en):(L(ln,en),en=y0(dn,ln.mode,mr),en.return=ln,ln=en),Xe(ln)):L(ln,en)}return Xs}var Na=bA(!0),yc=bA(!1),jl=Ms(null),ol=null,Fu=null,vc=null;function gu(){vc=Fu=ol=null}function vs(m){var _=jl.current;za(jl),m._currentValue=_}function Za(m,_,L){for(;m!==null;){var Q=m.alternate;if((m.childLanes&_)!==_?(m.childLanes|=_,Q!==null&&(Q.childLanes|=_)):Q!==null&&(Q.childLanes&_)!==_&&(Q.childLanes|=_),m===L)break;m=m.return}}function Jl(m,_){ol=m,vc=Fu=null,m=m.dependencies,m!==null&&m.firstContext!==null&&(m.lanes&_&&(Nl=!0),m.firstContext=null)}function eu(m){var _=m._currentValue;if(vc!==m)if(m={context:m,memoizedValue:_,next:null},Fu===null){if(ol===null)throw Error(e(308));Fu=m,ol.dependencies={lanes:0,firstContext:m}}else Fu=Fu.next=m;return _}var aA=null;function yu(m){aA===null?aA=[m]:aA.push(m)}function _c(m,_,L,Q){var le=_.interleaved;return le===null?(L.next=L,yu(_)):(L.next=le.next,le.next=L),_.interleaved=L,Uu(m,Q)}function Uu(m,_){m.lanes|=_;var L=m.alternate;for(L!==null&&(L.lanes|=_),L=m,m=m.return;m!==null;)m.childLanes|=_,L=m.alternate,L!==null&&(L.childLanes|=_),L=m,m=m.return;return L.tag===3?L.stateNode:null}var zl=!1;function fd(m){m.updateQueue={baseState:m.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function k(m,_){m=m.updateQueue,_.updateQueue===m&&(_.updateQueue={baseState:m.baseState,firstBaseUpdate:m.firstBaseUpdate,lastBaseUpdate:m.lastBaseUpdate,shared:m.shared,effects:m.effects})}function l(m,_){return{eventTime:m,lane:_,tag:0,payload:null,callback:null,next:null}}function c(m,_,L){var Q=m.updateQueue;if(Q===null)return null;if(Q=Q.shared,vi&2){var le=Q.pending;return le===null?_.next=_:(_.next=le.next,le.next=_),Q.pending=_,Uu(m,L)}return le=Q.interleaved,le===null?(_.next=_,yu(Q)):(_.next=le.next,le.next=_),Q.interleaved=_,Uu(m,L)}function C(m,_,L){if(_=_.updateQueue,_!==null&&(_=_.shared,(L&4194240)!==0)){var Q=_.lanes;Q&=m.pendingLanes,L|=Q,_.lanes=L,sa(m,L)}}function M(m,_){var L=m.updateQueue,Q=m.alternate;if(Q!==null&&(Q=Q.updateQueue,L===Q)){var le=null,me=null;if(L=L.firstBaseUpdate,L!==null){do{var Xe={eventTime:L.eventTime,lane:L.lane,tag:L.tag,payload:L.payload,callback:L.callback,next:null};me===null?le=me=Xe:me=me.next=Xe,L=L.next}while(L!==null);me===null?le=me=_:me=me.next=_}else le=me=_;L={baseState:Q.baseState,firstBaseUpdate:le,lastBaseUpdate:me,shared:Q.shared,effects:Q.effects},m.updateQueue=L;return}m=L.lastBaseUpdate,m===null?L.firstBaseUpdate=_:m.next=_,L.lastBaseUpdate=_}function K(m,_,L,Q){var le=m.updateQueue;zl=!1;var me=le.firstBaseUpdate,Xe=le.lastBaseUpdate,Bt=le.shared.pending;if(Bt!==null){le.shared.pending=null;var Wt=Bt,Cn=Wt.next;Wt.next=null,Xe===null?me=Cn:Xe.next=Cn,Xe=Wt;var nr=m.alternate;nr!==null&&(nr=nr.updateQueue,Bt=nr.lastBaseUpdate,Bt!==Xe&&(Bt===null?nr.firstBaseUpdate=Cn:Bt.next=Cn,nr.lastBaseUpdate=Wt))}if(me!==null){var ur=le.baseState;Xe=0,nr=Cn=Wt=null,Bt=me;do{var $n=Bt.lane,Rr=Bt.eventTime;if((Q&$n)===$n){nr!==null&&(nr=nr.next={eventTime:Rr,lane:0,tag:Bt.tag,payload:Bt.payload,callback:Bt.callback,next:null});e:{var oi=m,ui=Bt;switch($n=_,Rr=L,ui.tag){case 1:if(oi=ui.payload,typeof oi=="function"){ur=oi.call(Rr,ur,$n);break e}ur=oi;break e;case 3:oi.flags=oi.flags&-65537|128;case 0:if(oi=ui.payload,$n=typeof oi=="function"?oi.call(Rr,ur,$n):oi,$n==null)break e;ur=Ue({},ur,$n);break e;case 2:zl=!0}}Bt.callback!==null&&Bt.lane!==0&&(m.flags|=64,$n=le.effects,$n===null?le.effects=[Bt]:$n.push(Bt))}else Rr={eventTime:Rr,lane:$n,tag:Bt.tag,payload:Bt.payload,callback:Bt.callback,next:null},nr===null?(Cn=nr=Rr,Wt=ur):nr=nr.next=Rr,Xe|=$n;if(Bt=Bt.next,Bt===null){if(Bt=le.shared.pending,Bt===null)break;$n=Bt,Bt=$n.next,$n.next=null,le.lastBaseUpdate=$n,le.shared.pending=null}}while(!0);if(nr===null&&(Wt=ur),le.baseState=Wt,le.firstBaseUpdate=Cn,le.lastBaseUpdate=nr,_=le.shared.interleaved,_!==null){le=_;do Xe|=le.lane,le=le.next;while(le!==_)}else me===null&&(le.shared.lanes=0);Al|=Xe,m.lanes=Xe,m.memoizedState=ur}}function z(m,_,L){if(m=_.effects,_.effects=null,m!==null)for(_=0;_L?L:4,m(!0);var Q=Kt.transition;Kt.transition={};try{m(!1),_()}finally{kr=L,Kt.transition=Q}}function gh(){return Oo().memoizedState}function md(m,_,L){var Q=xh(m);if(L={lane:Q,action:L,hasEagerState:!1,eagerState:null,next:null},yh(m))Os(_,L);else if(L=_c(m,_,L,Q),L!==null){var le=sA();Qc(L,m,Q,le),nu(L,_,Q)}}function XA(m,_,L){var Q=xh(m),le={lane:Q,action:L,hasEagerState:!1,eagerState:null,next:null};if(yh(m))Os(_,le);else{var me=m.alternate;if(m.lanes===0&&(me===null||me.lanes===0)&&(me=_.lastRenderedReducer,me!==null))try{var Xe=_.lastRenderedState,Bt=me(Xe,L);if(le.hasEagerState=!0,le.eagerState=Bt,sn(Bt,Xe)){var Wt=_.interleaved;Wt===null?(le.next=le,yu(_)):(le.next=Wt.next,Wt.next=le),_.interleaved=le;return}}catch{}finally{}L=_c(m,_,le,Q),L!==null&&(le=sA(),Qc(L,m,Q,le),nu(L,_,Q))}}function yh(m){var _=m.alternate;return m===Tt||_!==null&&_===Tt}function Os(m,_){_n=vn=!0;var L=m.pending;L===null?_.next=_:(_.next=L.next,L.next=_),m.pending=_}function nu(m,_,L){if(L&4194240){var Q=_.lanes;Q&=m.pendingLanes,L|=Q,_.lanes=L,sa(m,L)}}var gd={readContext:eu,useCallback:Un,useContext:Un,useEffect:Un,useImperativeHandle:Un,useInsertionEffect:Un,useLayoutEffect:Un,useMemo:Un,useReducer:Un,useRef:Un,useState:Un,useDebugValue:Un,useDeferredValue:Un,useTransition:Un,useMutableSource:Un,useSyncExternalStore:Un,useId:Un,unstable_isNewReconciler:!1},Jf={readContext:eu,useCallback:function(m,_){return Hi().memoizedState=[m,_===void 0?null:_],m},useContext:eu,useEffect:zu,useImperativeHandle:function(m,_,L){return L=L!=null?L.concat([m]):null,xA(4194308,4,El.bind(null,_,m),L)},useLayoutEffect:function(m,_){return xA(4194308,4,m,_)},useInsertionEffect:function(m,_){return xA(4,2,m,_)},useMemo:function(m,_){var L=Hi();return _=_===void 0?null:_,m=m(),L.memoizedState=[m,_],m},useReducer:function(m,_,L){var Q=Hi();return _=L!==void 0?L(_):_,Q.memoizedState=Q.baseState=_,m={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:m,lastRenderedState:_},Q.queue=m,m=m.dispatch=md.bind(null,Tt,m),[Q.memoizedState,m]},useRef:function(m){var _=Hi();return m={current:m},_.memoizedState=m},useState:al,useDebugValue:Ga,useDeferredValue:function(m){return Hi().memoizedState=m},useTransition:function(){var m=al(!1),_=m[0];return m=mh.bind(null,m[1]),Hi().memoizedState=m,[_,m]},useMutableSource:function(){},useSyncExternalStore:function(m,_,L){var Q=Tt,le=Hi();if(cr){if(L===void 0)throw Error(e(407));L=L()}else{if(L=_(),Zo===null)throw Error(e(349));zt&30||Es(Q,_,L)}le.memoizedState=L;var me={value:L,getSnapshot:_};return le.queue=me,zu(ca.bind(null,Q,me,m),[m]),Q.flags|=2048,sl(9,No.bind(null,Q,me,L,_),void 0,null),L},useId:function(){var m=Hi(),_=Zo.identifierPrefix;if(cr){var L=Du,Q=Zl;L=(Q&~(1<<32-cn(Q)-1)).toString(32)+L,_=":"+_+"R"+L,L=gn++,0<\/script>",m=m.removeChild(m.firstChild)):typeof Q.is=="string"?m=Xe.createElement(L,{is:Q.is}):(m=Xe.createElement(L),L==="select"&&(Xe=m,Q.multiple?Xe.multiple=!0:Q.size&&(Xe.size=Q.size))):m=Xe.createElementNS(m,L),m[yA]=_,m[fc]=Q,ul(m,_,!1,!1),_.stateNode=m;e:{switch(Xe=xe(L,Q),L){case"dialog":Vo("cancel",m),Vo("close",m),le=Q;break;case"iframe":case"object":case"embed":Vo("load",m),le=Q;break;case"video":case"audio":for(le=0;leMf&&(_.flags|=128,Q=!0,$h(me,!1),_.lanes=4194304)}else{if(!Q)if(m=dt(Xe),m!==null){if(_.flags|=128,Q=!0,L=m.updateQueue,L!==null&&(_.updateQueue=L,_.flags|=4),$h(me,!0),me.tail===null&&me.tailMode==="hidden"&&!Xe.alternate&&!cr)return Hs(_),null}else 2*Vi()-me.renderingStartTime>Mf&&L!==1073741824&&(_.flags|=128,Q=!0,$h(me,!1),_.lanes=4194304);me.isBackwards?(Xe.sibling=_.child,_.child=Xe):(L=me.last,L!==null?L.sibling=Xe:_.child=Xe,me.last=Xe)}return me.tail!==null?(_=me.tail,me.rendering=_,me.tail=_.sibling,me.renderingStartTime=Vi(),_.sibling=null,L=st.current,ya(st,Q?L&1|2:L&1),_):(Hs(_),null);case 22:case 23:return h0(),Q=_.memoizedState!==null,m!==null&&m.memoizedState!==null!==Q&&(_.flags|=8192),Q&&_.mode&1?Ba&1073741824&&(Hs(_),_.subtreeFlags&6&&(_.flags|=8192)):Hs(_),null;case 24:return null;case 25:return null}throw Error(e(156,_.tag))}function A(m,_){switch(gc(_),_.tag){case 1:return Ss(_.type)&&VA(),m=_.flags,m&65536?(_.flags=m&-65537|128,_):null;case 3:return $e(),za(dr),za(Sa),St(),m=_.flags,m&65536&&!(m&128)?(_.flags=m&-65537|128,_):null;case 5:return ct(_),null;case 13:if(za(st),m=_.memoizedState,m!==null&&m.dehydrated!==null){if(_.alternate===null)throw Error(e(340));mu()}return m=_.flags,m&65536?(_.flags=m&-65537|128,_):null;case 19:return za(st),null;case 4:return $e(),null;case 10:return vs(_.type._context),null;case 22:case 23:return h0(),null;case 24:return null;default:return null}}var y=!1,O=!1,E=typeof WeakSet=="function"?WeakSet:Set,R=null;function H(m,_){var L=m.ref;if(L!==null)if(typeof L=="function")try{L(null)}catch(Q){Zs(m,_,Q)}else L.current=null}function Ae(m,_,L){try{L()}catch(Q){Zs(m,_,Q)}}var _e=!1;function Be(m,_){if(qA=Ee,m=$o(),UA(m)){if("selectionStart"in m)var L={start:m.selectionStart,end:m.selectionEnd};else e:{L=(L=m.ownerDocument)&&L.defaultView||window;var Q=L.getSelection&&L.getSelection();if(Q&&Q.rangeCount!==0){L=Q.anchorNode;var le=Q.anchorOffset,me=Q.focusNode;Q=Q.focusOffset;try{L.nodeType,me.nodeType}catch{L=null;break e}var Xe=0,Bt=-1,Wt=-1,Cn=0,nr=0,ur=m,$n=null;t:for(;;){for(var Rr;ur!==L||le!==0&&ur.nodeType!==3||(Bt=Xe+le),ur!==me||Q!==0&&ur.nodeType!==3||(Wt=Xe+Q),ur.nodeType===3&&(Xe+=ur.nodeValue.length),(Rr=ur.firstChild)!==null;)$n=ur,ur=Rr;for(;;){if(ur===m)break t;if($n===L&&++Cn===le&&(Bt=Xe),$n===me&&++nr===Q&&(Wt=Xe),(Rr=ur.nextSibling)!==null)break;ur=$n,$n=ur.parentNode}ur=Rr}L=Bt===-1||Wt===-1?null:{start:Bt,end:Wt}}else L=null}L=L||{start:0,end:0}}else L=null;for(Fl={focusedElem:m,selectionRange:L},Ee=!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)switch(_.tag){case 0:case 11:case 15:break;case 1:if(oi!==null){var ui=oi.memoizedProps,Xs=oi.memoizedState,ln=_.stateNode,en=ln.getSnapshotBeforeUpdate(_.elementType===_.type?ui:Us(_.type,ui),Xs);ln.__reactInternalSnapshotBeforeUpdate=en}break;case 3:var dn=_.stateNode.containerInfo;dn.nodeType===1?dn.textContent="":dn.nodeType===9&&dn.documentElement&&dn.removeChild(dn.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(e(163))}}catch(mr){Zs(_,_.return,mr)}if(m=_.sibling,m!==null){m.return=_.return,R=m;break}R=_.return}return oi=_e,_e=!1,oi}function Le(m,_,L){var Q=_.updateQueue;if(Q=Q!==null?Q.lastEffect:null,Q!==null){var le=Q=Q.next;do{if((le.tag&m)===m){var me=le.destroy;le.destroy=void 0,me!==void 0&&Ae(_,L,me)}le=le.next}while(le!==Q)}}function ht(m,_){if(_=_.updateQueue,_=_!==null?_.lastEffect:null,_!==null){var L=_=_.next;do{if((L.tag&m)===m){var Q=L.create;L.destroy=Q()}L=L.next}while(L!==_)}}function xt(m){var _=m.ref;if(_!==null){var L=m.stateNode;switch(m.tag){case 5:m=L;break;default:m=L}typeof _=="function"?_(m):_.current=m}}function Jt(m){var _=m.alternate;_!==null&&(m.alternate=null,Jt(_)),m.child=null,m.deletions=null,m.sibling=null,m.tag===5&&(_=m.stateNode,_!==null&&(delete _[yA],delete _[fc],delete _[jc],delete _[rt],delete _[Ds])),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 xn(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 Rn(m,_,L){var Q=m.tag;if(Q===5||Q===6)m=m.stateNode,_?L.nodeType===8?L.parentNode.insertBefore(m,_):L.insertBefore(m,_):(L.nodeType===8?(_=L.parentNode,_.insertBefore(m,L)):(_=L,_.appendChild(m)),L=L._reactRootContainer,L!=null||_.onclick!==null||(_.onclick=ku));else if(Q!==4&&(m=m.child,m!==null))for(Rn(m,_,L),m=m.sibling;m!==null;)Rn(m,_,L),m=m.sibling}function Yn(m,_,L){var Q=m.tag;if(Q===5||Q===6)m=m.stateNode,_?L.insertBefore(m,_):L.appendChild(m);else if(Q!==4&&(m=m.child,m!==null))for(Yn(m,_,L),m=m.sibling;m!==null;)Yn(m,_,L),m=m.sibling}var Xn=null,yr=!1;function or(m,_,L){for(L=L.child;L!==null;)Tr(m,_,L),L=L.sibling}function Tr(m,_,L){if(Ge&&typeof Ge.onCommitFiberUnmount=="function")try{Ge.onCommitFiberUnmount(ba,L)}catch{}switch(L.tag){case 5:O||H(L,_);case 6:var Q=Xn,le=yr;Xn=null,or(m,_,L),Xn=Q,yr=le,Xn!==null&&(yr?(m=Xn,L=L.stateNode,m.nodeType===8?m.parentNode.removeChild(L):m.removeChild(L)):Xn.removeChild(L.stateNode));break;case 18:Xn!==null&&(yr?(m=Xn,L=L.stateNode,m.nodeType===8?Wd(m.parentNode,L):m.nodeType===1&&Wd(m,L),Di(m)):Wd(Xn,L.stateNode));break;case 4:Q=Xn,le=yr,Xn=L.stateNode.containerInfo,yr=!0,or(m,_,L),Xn=Q,yr=le;break;case 0:case 11:case 14:case 15:if(!O&&(Q=L.updateQueue,Q!==null&&(Q=Q.lastEffect,Q!==null))){le=Q=Q.next;do{var me=le,Xe=me.destroy;me=me.tag,Xe!==void 0&&(me&2||me&4)&&Ae(L,_,Xe),le=le.next}while(le!==Q)}or(m,_,L);break;case 1:if(!O&&(H(L,_),Q=L.stateNode,typeof Q.componentWillUnmount=="function"))try{Q.props=L.memoizedProps,Q.state=L.memoizedState,Q.componentWillUnmount()}catch(Bt){Zs(L,_,Bt)}or(m,_,L);break;case 21:or(m,_,L);break;case 22:L.mode&1?(O=(Q=O)||L.memoizedState!==null,or(m,_,L),O=Q):or(m,_,L);break;default:or(m,_,L)}}function li(m){var _=m.updateQueue;if(_!==null){m.updateQueue=null;var L=m.stateNode;L===null&&(L=m.stateNode=new E),_.forEach(function(Q){var le=mg.bind(null,m,Q);L.has(Q)||(L.add(Q),Q.then(le,le))})}}function Fr(m,_){var L=_.deletions;if(L!==null)for(var Q=0;Qle&&(le=Xe),Q&=~me}if(Q=le,Q=Vi()-Q,Q=(120>Q?120:480>Q?480:1080>Q?1080:1920>Q?1920:3e3>Q?3e3:4320>Q?4320:1960*Gl(Q/1960))-Q,10m?16:m,Xh===null)var Q=!1;else{if(m=Xh,Xh=null,OA=0,vi&6)throw Error(e(331));var le=vi;for(vi|=4,R=m.current;R!==null;){var me=R,Xe=me.child;if(R.flags&16){var Bt=me.deletions;if(Bt!==null){for(var Wt=0;WtVi()-Vh?wd(m,0):Wc|=L),ec(m,_)}function lA(m,_){_===0&&(m.mode&1?(_=Ki,Ki<<=1,!(Ki&130023424)&&(Ki=4194304)):_=1);var L=sA();m=Uu(m,_),m!==null&&(As(m,_,L),ec(m,L))}function g0(m){var _=m.memoizedState,L=0;_!==null&&(L=_.retryLane),lA(m,L)}function mg(m,_){var L=0;switch(m.tag){case 13:var Q=m.stateNode,le=m.memoizedState;le!==null&&(L=le.retryLane);break;case 19:Q=m.stateNode;break;default:throw Error(e(314))}Q!==null&&Q.delete(_),lA(m,L)}var Mh;Mh=function(m,_,L){if(m!==null)if(m.memoizedProps!==_.pendingProps||dr.current)Nl=!0;else{if(!(m.lanes&L)&&!(_.flags&128))return Nl=!1,bm(m,_,L);Nl=!!(m.flags&131072)}else Nl=!1,cr&&_.flags&1048576&&qd(_,fu,_.index);switch(_.lanes=0,_.tag){case 2:var Q=_.type;op(m,_),m=_.pendingProps;var le=zc(_,Sa.current);Jl(_,L),le=Or(null,_,Q,m,le,L);var me=Bi();return _.flags|=1,typeof le=="object"&&le!==null&&typeof le.render=="function"&&le.$$typeof===void 0?(_.tag=1,_.memoizedState=null,_.updateQueue=null,Ss(Q)?(me=!0,Si(_)):me=!1,_.memoizedState=le.state!==null&&le.state!==void 0?le.state:null,fd(_),le.updater=vh,_.stateNode=le,le._reactInternals=_,Fp(_,Q,m,L),_=Ch(null,_,Q,!0,me,L)):(_.tag=0,cr&&me&&_A(_),Ol(null,_,le,L),_=_.child),_;case 16:Q=_.elementType;e:{switch(op(m,_),m=_.pendingProps,le=Q._init,Q=le(Q._payload),_.type=Q,le=_.tag=km(Q),m=Us(Q,m),le){case 0:_=_d(null,_,Q,m,L);break e;case 1:_=SA(null,_,Q,m,L);break e;case 11:_=Up(null,_,Q,m,L);break e;case 14:_=wf(null,_,Q,Us(Q.type,m),L);break e}throw Error(e(306,Q,""))}return _;case 0:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Us(Q,le),_d(m,_,Q,le,L);case 1:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Us(Q,le),SA(m,_,Q,le,L);case 3:e:{if(ip(_),m===null)throw Error(e(387));Q=_.pendingProps,me=_.memoizedState,le=me.element,k(m,_),K(_,Q,null,L);var Xe=_.memoizedState;if(Q=Xe.element,me.isDehydrated)if(me={element:Q,isDehydrated:!1,cache:Xe.cache,pendingSuspenseBoundaries:Xe.pendingSuspenseBoundaries,transitions:Xe.transitions},_.updateQueue.baseState=me,_.memoizedState=me,_.flags&256){le=JA(Error(e(423)),_),_=xc(m,_,Q,L,le);break e}else if(Q!==le){le=JA(Error(e(424)),_),_=xc(m,_,Q,L,le);break e}else for(cs=$A(_.stateNode.containerInfo.firstChild),ma=_,cr=!0,qr=null,L=yc(_,null,Q,L),_.child=L;L;)L.flags=L.flags&-3|4096,L=L.sibling;else{if(mu(),Q===le){_=vu(m,_,L);break e}Ol(m,_,Q,L)}_=_.child}return _;case 5:return He(_),m===null&&va(_),Q=_.type,le=_.pendingProps,me=m!==null?m.memoizedProps:null,Xe=le.children,gA(Q,le)?Xe=null:me!==null&&gA(Q,me)&&(_.flags|=32),Qh(m,_),Ol(m,_,Xe,L),_.child;case 6:return m===null&&va(_),null;case 13:return Zd(m,_,L);case 4:return Te(_,_.stateNode.containerInfo),Q=_.pendingProps,m===null?_.child=Na(_,null,Q,L):Ol(m,_,Q,L),_.child;case 11:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Us(Q,le),Up(m,_,Q,le,L);case 7:return Ol(m,_,_.pendingProps,L),_.child;case 8:return Ol(m,_,_.pendingProps.children,L),_.child;case 12:return Ol(m,_,_.pendingProps.children,L),_.child;case 10:e:{if(Q=_.type._context,le=_.pendingProps,me=_.memoizedProps,Xe=le.value,ya(jl,Q._currentValue),Q._currentValue=Xe,me!==null)if(sn(me.value,Xe)){if(me.children===le.children&&!dr.current){_=vu(m,_,L);break e}}else for(me=_.child,me!==null&&(me.return=_);me!==null;){var Bt=me.dependencies;if(Bt!==null){Xe=me.child;for(var Wt=Bt.firstContext;Wt!==null;){if(Wt.context===Q){if(me.tag===1){Wt=l(-1,L&-L),Wt.tag=2;var Cn=me.updateQueue;if(Cn!==null){Cn=Cn.shared;var nr=Cn.pending;nr===null?Wt.next=Wt:(Wt.next=nr.next,nr.next=Wt),Cn.pending=Wt}}me.lanes|=L,Wt=me.alternate,Wt!==null&&(Wt.lanes|=L),Za(me.return,L,_),Bt.lanes|=L;break}Wt=Wt.next}}else if(me.tag===10)Xe=me.type===_.type?null:me.child;else if(me.tag===18){if(Xe=me.return,Xe===null)throw Error(e(341));Xe.lanes|=L,Bt=Xe.alternate,Bt!==null&&(Bt.lanes|=L),Za(Xe,L,_),Xe=me.sibling}else Xe=me.child;if(Xe!==null)Xe.return=me;else for(Xe=me;Xe!==null;){if(Xe===_){Xe=null;break}if(me=Xe.sibling,me!==null){me.return=Xe.return,Xe=me;break}Xe=Xe.return}me=Xe}Ol(m,_,le.children,L),_=_.child}return _;case 9:return le=_.type,Q=_.pendingProps.children,Jl(_,L),le=eu(le),Q=Q(le),_.flags|=1,Ol(m,_,Q,L),_.child;case 14:return Q=_.type,le=Us(Q,_.pendingProps),le=Us(Q.type,le),wf(m,_,Q,le,L);case 15:return Bo(m,_,_.type,_.pendingProps,L);case 17:return Q=_.type,le=_.pendingProps,le=_.elementType===Q?le:Us(Q,le),op(m,_),_.tag=1,Ss(Q)?(m=!0,Si(_)):m=!1,Jl(_,L),Vd(_,Q,le),Fp(_,Q,le,L),Ch(null,_,Q,!0,m,L);case 19:return bd(m,_,L);case 22:return Nu(m,_,L)}throw Error(e(156,_.tag))};function lp(m,_){return ns(m,_)}function Wp(m,_,L,Q){this.tag=m,this.key=L,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 Gu(m,_,L,Q){return new Wp(m,_,L,Q)}function Bf(m){return m=m.prototype,!(!m||!m.isReactComponent)}function km(m){if(typeof m=="function")return Bf(m)?1:0;if(m!=null){if(m=m.$$typeof,m===re)return 11;if(m===ye)return 14}return 2}function Md(m,_){var L=m.alternate;return L===null?(L=Gu(m.tag,_,m.key,m.mode),L.elementType=m.elementType,L.type=m.type,L.stateNode=m.stateNode,L.alternate=m,m.alternate=L):(L.pendingProps=_,L.type=m.type,L.flags=0,L.subtreeFlags=0,L.deletions=null),L.flags=m.flags&14680064,L.childLanes=m.childLanes,L.lanes=m.lanes,L.child=m.child,L.memoizedProps=m.memoizedProps,L.memoizedState=m.memoizedState,L.updateQueue=m.updateQueue,_=m.dependencies,L.dependencies=_===null?null:{lanes:_.lanes,firstContext:_.firstContext},L.sibling=m.sibling,L.index=m.index,L.ref=m.ref,L}function Tm(m,_,L,Q,le,me){var Xe=2;if(Q=m,typeof m=="function")Bf(m)&&(Xe=1);else if(typeof m=="string")Xe=5;else e:switch(m){case G:return ef(L.children,le,me,_);case ae:Xe=8,le|=8;break;case ge:return m=Gu(12,L,_,le|2),m.elementType=ge,m.lanes=me,m;case oe:return m=Gu(13,L,_,le),m.elementType=oe,m.lanes=me,m;case Se:return m=Gu(19,L,_,le),m.elementType=Se,m.lanes=me,m;case Ne:return Qp(L,le,me,_);default:if(typeof m=="object"&&m!==null)switch(m.$$typeof){case he:Xe=10;break e;case Ie:Xe=9;break e;case re:Xe=11;break e;case ye:Xe=14;break e;case nt:Xe=16,Q=null;break e}throw Error(e(130,m==null?m:typeof m,""))}return _=Gu(Xe,L,_,le),_.elementType=m,_.type=Q,_.lanes=me,_}function ef(m,_,L,Q){return m=Gu(7,m,Q,_),m.lanes=L,m}function Qp(m,_,L,Q){return m=Gu(22,m,Q,_),m.elementType=Ne,m.lanes=L,m.stateNode={isHidden:!1},m}function y0(m,_,L){return m=Gu(6,m,null,_),m.lanes=L,m}function Pm(m,_,L){return _=Gu(4,m.children!==null?m.children:[],m.key,_),_.lanes=L,_.stateNode={containerInfo:m.containerInfo,pendingChildren:null,implementation:m.implementation},_}function gg(m,_,L,Q,le){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=Ai(0),this.expirationTimes=Ai(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ai(0),this.identifierPrefix=Q,this.onRecoverableError=le,this.mutableSourceEagerHydrationData=null}function qp(m,_,L,Q,le,me,Xe,Bt,Wt){return m=new gg(m,_,L,Bt,Wt),_===1?(_=1,me===!0&&(_|=8)):_=0,me=Gu(3,null,null,_),m.current=me,me.stateNode=m,me.memoizedState={element:Q,isDehydrated:L,cache:null,transitions:null,pendingSuspenseBoundaries:null},fd(me),m}function v0(m,_,L){var Q=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}return r(),Ax.exports=Xz(),Ax.exports}var uB;function Jz(){if(uB)return S_;uB=1;var r=Tv();return S_.createRoot=r.createRoot,S_.hydrateRoot=r.hydrateRoot,S_}var eN=Jz();const tN="modulepreload",nN=function(r){return"/maputnik/"+r},AB={},fy=function(t,e,n){let i=Promise.resolve();if(e&&e.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(e.map(f=>{if(f=nN(f),f in AB)return;AB[f]=!0;const g=f.endsWith(".css"),b=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${b}`))return;const I=document.createElement("link");if(I.rel=g?"stylesheet":tN,g||(I.as="script"),I.crossOrigin="",I.href=f,a&&I.setAttribute("nonce",a),document.head.appendChild(I),g)return new Promise((S,B)=>{I.addEventListener("load",S),I.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},rN=(r,t,e)=>{const n=r[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((i,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==e?". Note that variables only represent file names one level deep.":""))))})},iN={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,t){console&&console[r]&&console[r].apply(console,t)}};class IC{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||iN,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),n=0;n{this.observers[n]||(this.observers[n]=new Map);const i=this.observers[n].get(e)||0;this.observers[n].set(e,i+1)}),this}off(t,e){if(this.observers[t]){if(!e){delete this.observers[t];return}this.observers[t].delete(e)}}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i{let[a,f]=s;for(let g=0;g{let[a,f]=s;for(let g=0;g{r=n,t=i});return e.resolve=r,e.reject=t,e}function cB(r){return r==null?"":""+r}function oN(r,t,e){r.forEach(n=>{t[n]&&(e[n]=t[n])})}const aN=/###/g;function Qy(r,t,e){function n(a){return a&&a.indexOf("###")>-1?a.replace(aN,"."):a}function i(){return!r||typeof r=="string"}const o=typeof t!="string"?t:t.split(".");let s=0;for(;s":">",'"':""","'":"'","/":"/"};function AN(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,t=>uN[t]):r}class cN{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const e=this.regExpMap.get(t);if(e!==void 0)return e;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const dN=[" ",",","?","!",";"],hN=new cN(20);function fN(r,t,e){t=t||"",e=e||"";const n=dN.filter(s=>t.indexOf(s)<0&&e.indexOf(s)<0);if(n.length===0)return!0;const i=hN.getRegExp(`(${n.map(s=>s==="?"?"\\?":s).join("|")})`);let o=!i.test(r);if(!o){const s=r.indexOf(e);s>0&&!i.test(r.substring(0,s))&&(o=!0)}return o}function sS(r,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[t])return r[t];const n=t.split(e);let i=r;for(let o=0;o-1&&f0?r.replace("_","-"):r}class hB extends jb{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,s=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;t.indexOf(".")>-1?a=t.split("."):(a=[t,e],n&&(Array.isArray(n)?a.push(...n):typeof n=="string"&&o?a.push(...n.split(o)):a.push(n)));const f=kC(this.data,a);return!f&&!e&&!n&&t.indexOf(".")>-1&&(t=a[0],e=a[1],n=a.slice(2).join(".")),f||!s||typeof n!="string"?f:sS(this.data&&this.data[t]&&this.data[t][e],n,o)}addResource(t,e,n,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let a=[t,e];n&&(a=a.concat(s?n.split(s):n)),t.indexOf(".")>-1&&(a=t.split("."),i=e,e=a[1]),this.addNamespaces(e),dB(this.data,a,i),o.silent||this.emit("added",t,e,n,i)}addResources(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in n)(typeof n[o]=="string"||Array.isArray(n[o]))&&this.addResource(t,e,o,n[o],{silent:!0});i.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,i,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},a=[t,e];t.indexOf(".")>-1&&(a=t.split("."),i=n,n=e,e=a[1]),this.addNamespaces(e);let f=kC(this.data,a)||{};s.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?tR(f,n,o):f={...f,...n},dB(this.data,a,f),s.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return this.getResource(t,e)!==void 0}getResourceBundle(t,e){return e||(e=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,e)}:this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(i=>e[i]&&Object.keys(e[i]).length>0)}toJSON(){return this.data}}var nR={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,t,e,n,i){return r.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,e,n,i))}),t}};const fB={};class PC extends jb{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),oN(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=xp.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const n=this.resolve(t,e);return n&&n.res!==void 0}extractFromKey(t,e){let n=e.nsSeparator!==void 0?e.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const i=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator;let o=e.ns||this.options.defaultNS||[];const s=n&&t.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!fN(t,n,i);if(s&&!a){const f=t.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:t,namespaces:o};const g=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(g[0])>-1)&&(o=g.shift()),t=g.join(i)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,e,n){if(typeof e!="object"&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),typeof e=="object"&&(e={...e}),e||(e={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=e.returnDetails!==void 0?e.returnDetails:this.options.returnDetails,o=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,{key:s,namespaces:a}=this.extractFromKey(t[t.length-1],e),f=a[a.length-1],g=e.lng||this.language,b=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(g&&g.toLowerCase()==="cimode"){if(b){const J=e.nsSeparator||this.options.nsSeparator;return i?{res:`${f}${J}${s}`,usedKey:s,exactUsedKey:s,usedLng:g,usedNS:f,usedParams:this.getUsedParamsDetails(e)}:`${f}${J}${s}`}return i?{res:s,usedKey:s,exactUsedKey:s,usedLng:g,usedNS:f,usedParams:this.getUsedParamsDetails(e)}:s}const I=this.resolve(t,e);let S=I&&I.res;const B=I&&I.usedKey||s,P=I&&I.exactUsedKey||s,U=Object.prototype.toString.apply(S),j=["[object Number]","[object Function]","[object RegExp]"],q=e.joinArrays!==void 0?e.joinArrays:this.options.joinArrays,W=!this.i18nFormat||this.i18nFormat.handleAsObject;if(W&&S&&(typeof S!="string"&&typeof S!="boolean"&&typeof S!="number")&&j.indexOf(U)<0&&!(typeof q=="string"&&Array.isArray(S))){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const J=this.options.returnedObjectHandler?this.options.returnedObjectHandler(B,S,{...e,ns:a}):`key '${s} (${this.language})' returned an object instead of string.`;return i?(I.res=J,I.usedParams=this.getUsedParamsDetails(e),I):J}if(o){const J=Array.isArray(S),$=J?[]:{},X=J?P:B;for(const G in S)if(Object.prototype.hasOwnProperty.call(S,G)){const ae=`${X}${o}${G}`;$[G]=this.translate(ae,{...e,joinArrays:!1,ns:a}),$[G]===ae&&($[G]=S[G])}S=$}}else if(W&&typeof q=="string"&&Array.isArray(S))S=S.join(q),S&&(S=this.extendTranslation(S,t,e,n));else{let J=!1,$=!1;const X=e.count!==void 0&&typeof e.count!="string",G=PC.hasDefaultValue(e),ae=X?this.pluralResolver.getSuffix(g,e.count,e):"",ge=e.ordinal&&X?this.pluralResolver.getSuffix(g,e.count,{ordinal:!1}):"",he=X&&!e.ordinal&&e.count===0&&this.pluralResolver.shouldUseIntlApi(),Ie=he&&e[`defaultValue${this.options.pluralSeparator}zero`]||e[`defaultValue${ae}`]||e[`defaultValue${ge}`]||e.defaultValue;!this.isValidLookup(S)&&G&&(J=!0,S=Ie),this.isValidLookup(S)||($=!0,S=s);const oe=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&$?void 0:S,Se=G&&Ie!==S&&this.options.updateMissing;if($||J||Se){if(this.logger.log(Se?"updateKey":"missingKey",g,f,s,Se?Ie:S),o){const je=this.resolve(s,{...e,keySeparator:!1});je&&je.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 ye=[];const nt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if(this.options.saveMissingTo==="fallback"&&nt&&nt[0])for(let je=0;je{const ke=G&&Ue!==S?Ue:oe;this.options.missingKeyHandler?this.options.missingKeyHandler(je,f,et,ke,Se,e):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(je,f,et,ke,Se,e),this.emit("missingKey",je,f,et,S)};this.options.saveMissing&&(this.options.saveMissingPlurals&&X?ye.forEach(je=>{const et=this.pluralResolver.getSuffixes(je,e);he&&e[`defaultValue${this.options.pluralSeparator}zero`]&&et.indexOf(`${this.options.pluralSeparator}zero`)<0&&et.push(`${this.options.pluralSeparator}zero`),et.forEach(Ue=>{Ne([je],s+Ue,e[`defaultValue${Ue}`]||Ie)})}):Ne(ye,s,Ie))}S=this.extendTranslation(S,t,e,I,n),$&&S===s&&this.options.appendNamespaceToMissingKey&&(S=`${f}:${s}`),($||J)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?S=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${f}:${s}`:s,J?S:void 0):S=this.options.parseMissingKeyHandler(S))}return i?(I.res=S,I.usedParams=this.getUsedParamsDetails(e),I):S}extendTranslation(t,e,n,i,o){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const g=typeof t=="string"&&(n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let b;if(g){const S=t.match(this.interpolator.nestingRegexp);b=S&&S.length}let I=n.replace&&typeof n.replace!="string"?n.replace:n;if(this.options.interpolation.defaultVariables&&(I={...this.options.interpolation.defaultVariables,...I}),t=this.interpolator.interpolate(t,I,n.lng||this.language||i.usedLng,n),g){const S=t.match(this.interpolator.nestingRegexp),B=S&&S.length;b1&&arguments[1]!==void 0?arguments[1]:{},n,i,o,s,a;return typeof t=="string"&&(t=[t]),t.forEach(f=>{if(this.isValidLookup(n))return;const g=this.extractFromKey(f,e),b=g.key;i=b;let I=g.namespaces;this.options.fallbackNS&&(I=I.concat(this.options.fallbackNS));const S=e.count!==void 0&&typeof e.count!="string",B=S&&!e.ordinal&&e.count===0&&this.pluralResolver.shouldUseIntlApi(),P=e.context!==void 0&&(typeof e.context=="string"||typeof e.context=="number")&&e.context!=="",U=e.lngs?e.lngs:this.languageUtils.toResolveHierarchy(e.lng||this.language,e.fallbackLng);I.forEach(j=>{this.isValidLookup(n)||(a=j,!fB[`${U[0]}-${j}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(fB[`${U[0]}-${j}`]=!0,this.logger.warn(`key "${i}" for languages "${U.join(", ")}" won't get resolved as namespace "${a}" 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!!!")),U.forEach(q=>{if(this.isValidLookup(n))return;s=q;const W=[b];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(W,b,q,j,e);else{let J;S&&(J=this.pluralResolver.getSuffix(q,e.count,e));const $=`${this.options.pluralSeparator}zero`,X=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(S&&(W.push(b+J),e.ordinal&&J.indexOf(X)===0&&W.push(b+J.replace(X,this.options.pluralSeparator)),B&&W.push(b+$)),P){const G=`${b}${this.options.contextSeparator}${e.context}`;W.push(G),S&&(W.push(G+J),e.ordinal&&J.indexOf(X)===0&&W.push(G+J.replace(X,this.options.pluralSeparator)),B&&W.push(G+$))}}let ee;for(;ee=W.pop();)this.isValidLookup(n)||(o=ee,n=this.getResource(q,j,ee,e))}))})}),{res:n,usedKey:i,exactUsedKey:o,usedLng:s,usedNS:a}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,i):this.resourceStore.getResource(t,e,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&typeof t.replace!="string";let i=n?t.replace:t;if(n&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(const o of e)delete i[o]}return i}static hasDefaultValue(t){const e="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e===n.substring(0,e.length)&&t[n]!==void 0)return!0;return!1}}function hx(r){return r.charAt(0).toUpperCase()+r.slice(1)}class pB{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=xp.create("languageUtils")}getScriptPartFromCode(t){if(t=TC(t),!t||t.indexOf("-")<0)return null;const e=t.split("-");return e.length===2||(e.pop(),e[e.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(e.join("-"))}getLanguagePartFromCode(t){if(t=TC(t),!t||t.indexOf("-")<0)return t;const e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const e=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(i=>i.toLowerCase()):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=hx(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!=="sgn"&&n[2].length===2&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=hx(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=hx(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(n=>{if(e)return;const i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(e=i)}),!e&&this.options.supportedLngs&&t.forEach(n=>{if(e)return;const i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return e=i;e=this.options.supportedLngs.find(o=>{if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if(typeof t=="function"&&(t=t(e)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){const n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),i=[],o=s=>{s&&(this.isSupportedCode(s)?i.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),n.forEach(s=>{i.indexOf(s)<0&&o(this.formatLanguageCode(s))}),i}}let pN=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],mN={1:function(r){return+(r>1)},2:function(r){return+(r!=1)},3:function(r){return 0},4:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},5:function(r){return r==0?0:r==1?1:r==2?2:r%100>=3&&r%100<=10?3:r%100>=11?4:5},6:function(r){return r==1?0:r>=2&&r<=4?1:2},7:function(r){return r==1?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},8:function(r){return r==1?0:r==2?1:r!=8&&r!=11?2:3},9:function(r){return+(r>=2)},10:function(r){return r==1?0:r==2?1:r<7?2:r<11?3:4},11:function(r){return r==1||r==11?0:r==2||r==12?1:r>2&&r<20?2:3},12:function(r){return+(r%10!=1||r%100==11)},13:function(r){return+(r!==0)},14:function(r){return r==1?0:r==2?1:r==3?2:3},15:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&(r%100<10||r%100>=20)?1:2},16:function(r){return r%10==1&&r%100!=11?0:r!==0?1:2},17:function(r){return r==1||r%10==1&&r%100!=11?0:1},18:function(r){return r==0?0:r==1?1:2},19:function(r){return r==1?0:r==0||r%100>1&&r%100<11?1:r%100>10&&r%100<20?2:3},20:function(r){return r==1?0:r==0||r%100>0&&r%100<20?1:2},21:function(r){return r%100==1?1:r%100==2?2:r%100==3||r%100==4?3:0},22:function(r){return r==1?0:r==2?1:(r<0||r>10)&&r%10==0?2:3}};const gN=["v1","v2","v3"],yN=["v4"],mB={zero:0,one:1,two:2,few:3,many:4,other:5};function vN(){const r={};return pN.forEach(t=>{t.lngs.forEach(e=>{r[e]={numbers:t.nr,plurals:mN[t.fc]}})}),r}class _N{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=xp.create("pluralResolver"),(!this.options.compatibilityJSON||yN.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=vN()}addRule(t,e){this.rules[t]=e}getRule(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(TC(t==="dev"?"en":t),{type:e.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${e}${i}`)}getSuffixes(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,e);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((i,o)=>mB[i]-mB[o]).map(i=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${i}`):n.numbers.map(i=>this.getSuffix(t,i,e)):[]}getSuffix(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,n);return i?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(e)}`:this.getSuffixRetroCompatible(i,e):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,e){const n=t.noAbs?t.plurals(e):t.plurals(Math.abs(e));let i=t.numbers[n];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!gN.includes(this.options.compatibilityJSON)}}function gB(r,t,e){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=lN(r,t,e);return!o&&i&&typeof e=="string"&&(o=sS(r,e,n),o===void 0&&(o=sS(t,e,n))),o}class CN{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xp.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(e=>e),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:e,escapeValue:n,useRawValueToEscape:i,prefix:o,prefixEscaped:s,suffix:a,suffixEscaped:f,formatSeparator:g,unescapeSuffix:b,unescapePrefix:I,nestingPrefix:S,nestingPrefixEscaped:B,nestingSuffix:P,nestingSuffixEscaped:U,nestingOptionsSeparator:j,maxReplaces:q,alwaysFormat:W}=t.interpolation;this.escape=e!==void 0?e:AN,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?Sg(o):s||"{{",this.suffix=a?Sg(a):f||"}}",this.formatSeparator=g||",",this.unescapePrefix=b?"":I||"-",this.unescapeSuffix=this.unescapePrefix?"":b||"",this.nestingPrefix=S?Sg(S):B||Sg("$t("),this.nestingSuffix=P?Sg(P):U||Sg(")"),this.nestingOptionsSeparator=j||",",this.maxReplaces=q||1e3,this.alwaysFormat=W!==void 0?W:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(e,n)=>e&&e.source===n?(e.lastIndex=0,e):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,n,i){let o,s,a;const f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function g(P){return P.replace(/\$/g,"$$$$")}const b=P=>{if(P.indexOf(this.formatSeparator)<0){const W=gB(e,f,P,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(W,void 0,n,{...i,...e,interpolationkey:P}):W}const U=P.split(this.formatSeparator),j=U.shift().trim(),q=U.join(this.formatSeparator).trim();return this.format(gB(e,f,j,this.options.keySeparator,this.options.ignoreJSONStructure),q,n,{...i,...e,interpolationkey:j})};this.resetRegExp();const I=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,S=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:P=>g(P)},{regex:this.regexp,safeValue:P=>this.escapeValue?g(this.escape(P)):g(P)}].forEach(P=>{for(a=0;o=P.regex.exec(t);){const U=o[1].trim();if(s=b(U),s===void 0)if(typeof I=="function"){const q=I(t,o,i);s=typeof q=="string"?q:""}else if(i&&Object.prototype.hasOwnProperty.call(i,U))s="";else if(S){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${U} for interpolating ${t}`),s="";else typeof s!="string"&&!this.useRawValueToEscape&&(s=cB(s));const j=P.safeValue(s);if(t=t.replace(o[0],j),S?(P.regex.lastIndex+=s.length,P.regex.lastIndex-=o[0].length):P.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),t}nest(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,s;function a(f,g){const b=this.nestingOptionsSeparator;if(f.indexOf(b)<0)return f;const I=f.split(new RegExp(`${b}[ ]*{`));let S=`{${I[1]}`;f=I[0],S=this.interpolate(S,s);const B=S.match(/'/g),P=S.match(/"/g);(B&&B.length%2===0&&!P||P.length%2!==0)&&(S=S.replace(/'/g,'"'));try{s=JSON.parse(S),g&&(s={...g,...s})}catch(U){return this.logger.warn(`failed parsing options string in nesting for key ${f}`,U),`${f}${b}${S}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,f}for(;i=this.nestingRegexp.exec(t);){let f=[];s={...n},s=s.replace&&typeof s.replace!="string"?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let g=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const b=i[1].split(this.formatSeparator).map(I=>I.trim());i[1]=b.shift(),f=b,g=!0}if(o=e(a.call(this,i[1].trim(),s),s),o&&i[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=cB(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),g&&(o=f.reduce((b,I)=>this.format(b,I,n.lng,{...n,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}function bN(r){let t=r.toLowerCase().trim();const e={};if(r.indexOf("(")>-1){const n=r.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?e.currency||(e.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?e.range||(e.range=i.trim()):i.split(";").forEach(s=>{if(s){const[a,...f]=s.split(":"),g=f.join(":").trim().replace(/^'+|'+$/g,""),b=a.trim();e[b]||(e[b]=g),g==="false"&&(e[b]=!1),g==="true"&&(e[b]=!0),isNaN(g)||(e[b]=parseInt(g,10))}})}return{formatName:t,formatOptions:e}}function Eg(r){const t={};return function(n,i,o){const s=i+JSON.stringify(o);let a=t[s];return a||(a=r(TC(i),o),t[s]=a),a(n)}}class xN{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xp.create("formatter"),this.options=t,this.formats={number:Eg((e,n)=>{const i=new Intl.NumberFormat(e,{...n});return o=>i.format(o)}),currency:Eg((e,n)=>{const i=new Intl.NumberFormat(e,{...n,style:"currency"});return o=>i.format(o)}),datetime:Eg((e,n)=>{const i=new Intl.DateTimeFormat(e,{...n});return o=>i.format(o)}),relativetime:Eg((e,n)=>{const i=new Intl.RelativeTimeFormat(e,{...n});return o=>i.format(o,n.range||"day")}),list:Eg((e,n)=>{const i=new Intl.ListFormat(e,{...n});return o=>i.format(o)})},this.init(t)}init(t){const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=Eg(e)}format(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return e.split(this.formatSeparator).reduce((a,f)=>{const{formatName:g,formatOptions:b}=bN(f);if(this.formats[g]){let I=a;try{const S=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},B=S.locale||S.lng||i.locale||i.lng||n;I=this.formats[g](a,B,{...b,...i,...S})}catch(S){this.logger.warn(S)}return I}else this.logger.warn(`there was no format function for ${g}`);return a},t)}}function wN(r,t){r.pending[t]!==void 0&&(delete r.pending[t],r.pendingCount--)}class MN extends jb{constructor(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=xp.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=[],this.backend&&this.backend.init&&this.backend.init(n,i.backend,i)}queueLoad(t,e,n,i){const o={},s={},a={},f={};return t.forEach(g=>{let b=!0;e.forEach(I=>{const S=`${g}|${I}`;!n.reload&&this.store.hasResourceBundle(g,I)?this.state[S]=2:this.state[S]<0||(this.state[S]===1?s[S]===void 0&&(s[S]=!0):(this.state[S]=1,b=!1,s[S]===void 0&&(s[S]=!0),o[S]===void 0&&(o[S]=!0),f[I]===void 0&&(f[I]=!0)))}),b||(a[g]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(f)}}loaded(t,e,n){const i=t.split("|"),o=i[0],s=i[1];e&&this.emit("failedLoading",o,s,e),n&&this.store.addResourceBundle(o,s,n,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2;const a={};this.queue.forEach(f=>{sN(f.loaded,[o],s),wN(f,t),e&&f.errors.push(e),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(g=>{a[g]||(a[g]={});const b=f.loaded[g];b.length&&b.forEach(I=>{a[g][I]===void 0&&(a[g][I]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(f=>!f.done)}read(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!t.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:e,fcName:n,tried:i,wait:o,callback:s});return}this.readingCalls++;const a=(g,b)=>{if(this.readingCalls--,this.waitingReads.length>0){const I=this.waitingReads.shift();this.read(I.lng,I.ns,I.fcName,I.tried,I.wait,I.callback)}if(g&&b&&i{this.read.call(this,t,e,n,i+1,o*2,s)},o);return}s(g,b)},f=this.backend[n].bind(this.backend);if(f.length===2){try{const g=f(t,e);g&&typeof g.then=="function"?g.then(b=>a(null,b)).catch(a):a(null,g)}catch(g){a(g)}return}return f(t,e,a)}prepareLoading(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof e=="string"&&(e=[e]);const o=this.queueLoad(t,e,n,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(s=>{this.loadOne(s)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),i=n[0],o=n[1];this.read(i,o,"read",void 0,void 0,(s,a)=>{s&&this.logger.warn(`${e}loading namespace ${o} for language ${i} failed`,s),!s&&a&&this.logger.log(`${e}loaded namespace ${o} for language ${i}`,a),this.loaded(t,s,a)})}saveMissing(t,e,n,i,o){let s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e)){this.logger.warn(`did not save key "${n}" as the namespace "${e}" 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(!(n==null||n==="")){if(this.backend&&this.backend.create){const f={...s,isUpdate:o},g=this.backend.create.bind(this.backend);if(g.length<6)try{let b;g.length===5?b=g(t,e,n,i,f):b=g(t,e,n,i),b&&typeof b.then=="function"?b.then(I=>a(null,I)).catch(a):a(null,b)}catch(b){a(b)}else g(t,e,n,i,a,f)}!t||!t[0]||this.store.addResource(t[0],e,n,i)}}}function yB(){return{debug:!1,initImmediate:!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:function(t){let e={};if(typeof t[1]=="object"&&(e=t[1]),typeof t[1]=="string"&&(e.defaultValue=t[1]),typeof t[2]=="string"&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(i=>{e[i]=n[i]})}return e},interpolation:{escapeValue:!0,format:r=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function vB(r){return typeof r.ns=="string"&&(r.ns=[r.ns]),typeof r.fallbackLng=="string"&&(r.fallbackLng=[r.fallbackLng]),typeof r.fallbackNS=="string"&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&&r.supportedLngs.indexOf("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r}function E_(){}function SN(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(e=>{typeof r[e]=="function"&&(r[e]=r[e].bind(r))})}class rv extends jb{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(super(),this.options=vB(t),this.services={},this.logger=xp,this.modules={external:[]},SN(this),e&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),!e.defaultNS&&e.defaultNS!==!1&&e.ns&&(typeof e.ns=="string"?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const i=yB();this.options={...i,...this.options,...vB(e)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator);function o(b){return b?typeof b=="function"?new b:b:null}if(!this.options.isClone){this.modules.logger?xp.init(o(this.modules.logger),this.options):xp.init(null,this.options);let b;this.modules.formatter?b=this.modules.formatter:typeof Intl<"u"&&(b=xN);const I=new pB(this.options);this.store=new hB(this.options.resources,this.options);const S=this.services;S.logger=xp,S.resourceStore=this.store,S.languageUtils=I,S.pluralResolver=new _N(I,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),b&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(S.formatter=o(b),S.formatter.init(S,this.options),this.options.interpolation.format=S.formatter.format.bind(S.formatter)),S.interpolator=new CN(this.options),S.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},S.backendConnector=new MN(o(this.modules.backend),S.resourceStore,S,this.options),S.backendConnector.on("*",function(B){for(var P=arguments.length,U=new Array(P>1?P-1:0),j=1;j1?P-1:0),j=1;j{B.init&&B.init(this)})}if(this.format=this.options.interpolation.format,n||(n=E_),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const b=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);b.length>0&&b[0]!=="dev"&&(this.options.lng=b[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(b=>{this[b]=function(){return t.store[b](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(b=>{this[b]=function(){return t.store[b](...arguments),t}});const f=py(),g=()=>{const b=(I,S)=>{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),f.resolve(S),n(I,S)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return b(null,this.t.bind(this));this.changeLanguage(this.options.lng,b)};return this.options.resources||!this.options.initImmediate?g():setTimeout(g,0),f}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E_;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const o=[],s=a=>{if(!a||a==="cimode")return;this.services.languageUtils.toResolveHierarchy(a).forEach(g=>{g!=="cimode"&&o.indexOf(g)<0&&o.push(g)})};i?s(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(f=>s(f)),this.options.preload&&this.options.preload.forEach(a=>s(a)),this.services.backendConnector.load(o,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(a)})}else n(null)}reloadResources(t,e,n){const i=py();return t||(t=this.languages),e||(e=this.options.ns),n||(n=E_),this.services.backendConnector.reload(t,e,o=>{i.resolve(),n(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&nR.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;const i=py();this.emit("languageChanging",t);const o=f=>{this.language=f,this.languages=this.services.languageUtils.toResolveHierarchy(f),this.resolvedLanguage=void 0,this.setResolvedLanguage(f)},s=(f,g)=>{g?(o(g),this.translator.changeLanguage(g),this.isLanguageChangingTo=void 0,this.emit("languageChanged",g),this.logger.log("languageChanged",g)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),e&&e(f,function(){return n.t(...arguments)})},a=f=>{!t&&!f&&this.services.languageDetector&&(f=[]);const g=typeof f=="string"?f:this.services.languageUtils.getBestMatchFromCodes(f);g&&(this.language||o(g),this.translator.language||this.translator.changeLanguage(g),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(g)),this.loadResources(g,b=>{s(b,g)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t),i}getFixedT(t,e,n){var i=this;const o=function(s,a){let f;if(typeof a!="object"){for(var g=arguments.length,b=new Array(g>2?g-2:0),I=2;I`${f.keyPrefix}${S}${P}`):B=f.keyPrefix?`${f.keyPrefix}${S}${s}`:s,i.t(B,f)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=e,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};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 n=e.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const s=(a,f)=>{const g=this.services.backendConnector.state[`${a}|${f}`];return g===-1||g===2};if(e.precheck){const a=e.precheck(this,s);if(a!==void 0)return a}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(n,t)&&(!i||s(o,t)))}loadNamespaces(t,e){const n=py();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),e&&e(i)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){const n=py();typeof t=="string"&&(t=[t]);const i=this.options.preload||[],o=t.filter(s=>i.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return o.length?(this.options.preload=i.concat(o),this.loadResources(s=>{n.resolve(),e&&e(s)}),n):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const e=["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"],n=this.services&&this.services.languageUtils||new pB(yB());return e.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new rv(t,e)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E_;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},o=new rv(i);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(a=>{o[a]=this[a]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new hB(this.store.data,i),o.services.resourceStore=o.store),o.translator=new PC(o.services,i),o.translator.on("*",function(a){for(var f=arguments.length,g=new Array(f>1?f-1:0),b=1;b{if(t)for(const e in t)r[e]===void 0&&(r[e]=t[e])}),r}const _B=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,IN=(r,t,e)=>{const n=e||{};n.path=n.path||"/";const i=encodeURIComponent(t);let o=`${r}=${i}`;if(n.maxAge>0){const s=n.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(s)}`}if(n.domain){if(!_B.test(n.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${n.domain}`}if(n.path){if(!_B.test(n.path))throw new TypeError("option path is invalid");o+=`; Path=${n.path}`}if(n.expires){if(typeof n.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(o+="; HttpOnly"),n.secure&&(o+="; Secure"),n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},CB={create(r,t,e,n){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};e&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+e*60*1e3)),n&&(i.domain=n),document.cookie=IN(r,encodeURIComponent(t),i)},read(r){const t=`${r}=`,e=document.cookie.split(";");for(let n=0;n-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const s=i.substring(1).split("&");for(let a=0;a0&&s[a].substring(0,f)===t&&(e=s[a].substring(f+1))}}return e}};let my=null;const bB=()=>{if(my!==null)return my;try{my=window!=="undefined"&&window.localStorage!==null;const r="i18next.translate.boo";window.localStorage.setItem(r,"foo"),window.localStorage.removeItem(r)}catch{my=!1}return my};var PN={name:"localStorage",lookup(r){let{lookupLocalStorage:t}=r;if(t&&bB())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(r,t){let{lookupLocalStorage:e}=t;e&&bB()&&window.localStorage.setItem(e,r)}};let gy=null;const xB=()=>{if(gy!==null)return gy;try{gy=window!=="undefined"&&window.sessionStorage!==null;const r="i18next.translate.boo";window.sessionStorage.setItem(r,"foo"),window.sessionStorage.removeItem(r)}catch{gy=!1}return gy};var KN={name:"sessionStorage",lookup(r){let{lookupSessionStorage:t}=r;if(t&&xB())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(r,t){let{lookupSessionStorage:e}=t;e&&xB()&&window.sessionStorage.setItem(e,r)}},RN={name:"navigator",lookup(r){const t=[];if(typeof navigator<"u"){const{languages:e,userLanguage:n,language:i}=navigator;if(e)for(let o=0;o0?t:void 0}},DN={name:"htmlTag",lookup(r){let{htmlTag:t}=r,e;const n=t||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(e=n.getAttribute("lang")),e}},LN={name:"path",lookup(r){var i;let{lookupFromPathIndex:t}=r;if(typeof window>"u")return;const e=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(e)?(i=e[typeof t=="number"?t:0])==null?void 0:i.replace("/",""):void 0}},FN={name:"subdomain",lookup(r){var i,o;let{lookupFromSubdomainIndex:t}=r;const e=typeof t=="number"?t+1:1,n=typeof window<"u"&&((o=(i=window.location)==null?void 0:i.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(n)return n[e]}};function UN(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:r=>r}}class rR{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,e)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=BN(e,this.options||{},UN()),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=n,this.addDetector(kN),this.addDetector(TN),this.addDetector(PN),this.addDetector(KN),this.addDetector(RN),this.addDetector(DN),this.addDetector(LN),this.addDetector(FN)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let e=[];return t.forEach(n=>{if(this.detectors[n]){let i=this.detectors[n].lookup(this.options);i&&typeof i=="string"&&(i=[i]),i&&(e=e.concat(i))}}),e=e.map(n=>this.options.convertDetectedLanguage(n)),this.services.languageUtils.getBestMatchFromCodes?e:e.length>0?e[0]:null}cacheUserLanguage(t,e){e||(e=this.options.caches),e&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||e.forEach(n=>{this.detectors[n]&&this.detectors[n].cacheUserLanguage(t,this.options)}))}}rR.type="languageDetector";var jN=function(t){return{type:"backend",init:function(n,i,o){},read:function(n,i,o){if(typeof t=="function"){if(t.length<3){try{var s=t(n,i);s&&typeof s.then=="function"?s.then(function(a){return o(null,a&&a.default||a)}).catch(o):o(null,s)}catch(a){o(a)}return}t(n,i,o);return}o(null,t[n]&&t[n][i])}}},fx,wB;function zN(){return wB||(wB=1,fx={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}),fx}var NN=zN();const GN=us(NN);var WN=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function MB(r){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},e=r.match(/<\/?([^\s]+?)[/\s>]/);if(e&&(t.name=e[1],(GN[e[1]]||r.charAt(r.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=r.indexOf("-->");return{type:"comment",comment:n!==-1?r.slice(4,n):""}}for(var i=new RegExp(WN),o=null;(o=i.exec(r))!==null;)if(o[0].trim())if(o[1]){var s=o[1].trim(),a=[s,""];s.indexOf("=")>-1&&(a=s.split("=")),t.attrs[a[0]]=a[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var QN=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,qN=/^\s*$/,YN=Object.create(null);function iR(r,t){switch(t.type){case"text":return r+t.content;case"tag":return r+="<"+t.name+(t.attrs?function(e){var n=[];for(var i in e)n.push(i+'="'+e[i]+'"');return n.length?" "+n.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?r:r+t.children.reduce(iR,"")+"";case"comment":return r+""}}var $N={parse:function(r,t){t||(t={}),t.components||(t.components=YN);var e,n=[],i=[],o=-1,s=!1;if(r.indexOf("<")!==0){var a=r.indexOf("<");n.push({type:"text",content:a===-1?r:r.substring(0,a)})}return r.replace(QN,function(f,g){if(s){if(f!=="")return;s=!1}var b,I=f.charAt(1)!=="/",S=f.startsWith("");return{type:"comment",comment:n!==-1?r.slice(4,n):""}}for(var i=new RegExp(qN),o=null;(o=i.exec(r))!==null;)if(o[0].trim())if(o[1]){var s=o[1].trim(),a=[s,""];s.indexOf("=")>-1&&(a=s.split("=")),t.attrs[a[0]]=a[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var YN=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,$N=/^\s*$/,VN=Object.create(null);function aR(r,t){switch(t.type){case"text":return r+t.content;case"tag":return r+="<"+t.name+(t.attrs?function(e){var n=[];for(var i in e)n.push(i+'="'+e[i]+'"');return n.length?" "+n.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?r:r+t.children.reduce(aR,"")+"";case"comment":return r+""}}var HN={parse:function(r,t){t||(t={}),t.components||(t.components=VN);var e,n=[],i=[],o=-1,s=!1;if(r.indexOf("<")!==0){var a=r.indexOf("<");n.push({type:"text",content:a===-1?r:r.substring(0,a)})}return r.replace(YN,function(f,g){if(s){if(f!=="")return;s=!1}var b,I=f.charAt(1)!=="/",S=f.startsWith("