OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
Add 2024.5 Selector Tool (#27619) (#27623)
Karol Blaszczakc6d8e8228dc1
diff --git a/docs/articles_en/get-started/install-openvino.rst b/docs/articles_en/get-started/install-openvino.rstindex 22d889c18f7..71afff035b2 100644--- a/docs/articles_en/get-started/install-openvino.rst+++ b/docs/articles_en/get-started/install-openvino.rst@@ -19,9 +19,9 @@ Install OpenVINO™ 2024.4.. raw:: html- <script type="module" crossorigin src="../_static/selector-tool/assets/index-f34d1fad.js"></script>+ <script type="module" crossorigin src="../_static/selector-tool/assets/index-Codcw3jz.js"></script><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <iframe id="selector" src="../_static/selector-tool/selector-8d4cf1d.html" style="width: 100%; border: none" title="Download Intel® Distribution of OpenVINO™ Toolkit"></iframe>+ <iframe id="selector" src="../_static/selector-tool/selector-451bede.html" style="width: 100%; border: none" title="Download Intel® Distribution of OpenVINO™ Toolkit"></iframe>OpenVINO 2024.5, described here, is not a Long-Term-Support version!All currently supported versions are:diff --git a/docs/sphinx_setup/_static/selector-tool/assets/index-f34d1fad.js b/docs/sphinx_setup/_static/selector-tool/assets/index-Codcw3jz.jssimilarity index 100%rename from docs/sphinx_setup/_static/selector-tool/assets/index-f34d1fad.jsrename to docs/sphinx_setup/_static/selector-tool/assets/index-Codcw3jz.jsdiff --git a/docs/sphinx_setup/_static/selector-tool/assets/selector-4f9c3c09.js b/docs/sphinx_setup/_static/selector-tool/assets/selector-4f9c3c09.jsdeleted file mode 100644index 0836ad1aed4..00000000000--- a/docs/sphinx_setup/_static/selector-tool/assets/selector-4f9c3c09.js+++ /dev/null@@ -1,61 +0,0 @@-var Xf=Object.defineProperty;var Jf=(e,t,n)=>t in e?Xf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ve=(e,t,n)=>(Jf(e,typeof t!="symbol"?t+"":t,n),n);function uc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cc={exports:{}},po={},dc={exports:{}},D={};/**- * @license React- * react.production.min.js- *- * Copyright (c) Facebook, Inc. and its affiliates.- *- * This source code is licensed under the MIT license found in the- * LICENSE file in the root directory of this source tree.- */var qr=Symbol.for("react.element"),Zf=Symbol.for("react.portal"),qf=Symbol.for("react.fragment"),ep=Symbol.for("react.strict_mode"),tp=Symbol.for("react.profiler"),np=Symbol.for("react.provider"),rp=Symbol.for("react.context"),ip=Symbol.for("react.forward_ref"),op=Symbol.for("react.suspense"),lp=Symbol.for("react.memo"),sp=Symbol.for("react.lazy"),Oa=Symbol.iterator;function ap(e){return e===null||typeof e!="object"?null:(e=Oa&&e[Oa]||e["@@iterator"],typeof e=="function"?e:null)}var fc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pc=Object.assign,hc={};function sr(e,t,n){this.props=e,this.context=t,this.refs=hc,this.updater=n||fc}sr.prototype.isReactComponent={};sr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};sr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mc(){}mc.prototype=sr.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=hc,this.updater=n||fc}var ms=hs.prototype=new mc;ms.constructor=hs;pc(ms,sr.prototype);ms.isPureReactComponent=!0;var _a=Array.isArray,gc=Object.prototype.hasOwnProperty,gs={current:null},vc={key:!0,ref:!0,__self:!0,__source:!0};function yc(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)gc.call(t,r)&&!vc.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:qr,type:e,key:o,ref:l,props:i,_owner:gs.current}}function up(e,t){return{$$typeof:qr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vs(e){return typeof e=="object"&&e!==null&&e.$$typeof===qr}function cp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Na=/\/+/g;function Fo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?cp(""+e.key):t.toString(36)}function Ei(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case qr:case Zf:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+Fo(l,0):r,_a(i)?(n="",e!=null&&(n=e.replace(Na,"$&/")+"/"),Ei(i,t,n,"",function(u){return u})):i!=null&&(vs(i)&&(i=up(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Na,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",_a(e))for(var s=0;s<e.length;s++){o=e[s];var a=r+Fo(o,s);l+=Ei(o,t,n,a,i)}else if(a=ap(e),typeof a=="function")for(e=a.call(e),s=0;!(o=e.next()).done;)o=o.value,a=r+Fo(o,s++),l+=Ei(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function li(e,t,n){if(e==null)return e;var r=[],i=0;return Ei(e,r,"","",function(o){return t.call(n,o,i++)}),r}function dp(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var xe={current:null},xi={transition:null},fp={ReactCurrentDispatcher:xe,ReactCurrentBatchConfig:xi,ReactCurrentOwner:gs};D.Children={map:li,forEach:function(e,t,n){li(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return li(e,function(){t++}),t},toArray:function(e){return li(e,function(t){return t})||[]},only:function(e){if(!vs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=sr;D.Fragment=qf;D.Profiler=tp;D.PureComponent=hs;D.StrictMode=ep;D.Suspense=op;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fp;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=pc({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=gs.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)gc.call(t,a)&&!vc.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:qr,type:e.type,key:i,ref:o,props:r,_owner:l}};D.createContext=function(e){return e={$$typeof:rp,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:np,_context:e},e.Consumer=e};D.createElement=yc;D.createFactory=function(e){var t=yc.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:ip,render:e}};D.isValidElement=vs;D.lazy=function(e){return{$$typeof:sp,_payload:{_status:-1,_result:e},_init:dp}};D.memo=function(e,t){return{$$typeof:lp,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=xi.transition;xi.transition={};try{e()}finally{xi.transition=t}};D.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};D.useCallback=function(e,t){return xe.current.useCallback(e,t)};D.useContext=function(e){return xe.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return xe.current.useDeferredValue(e)};D.useEffect=function(e,t){return xe.current.useEffect(e,t)};D.useId=function(){return xe.current.useId()};D.useImperativeHandle=function(e,t,n){return xe.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return xe.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return xe.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return xe.current.useMemo(e,t)};D.useReducer=function(e,t,n){return xe.current.useReducer(e,t,n)};D.useRef=function(e){return xe.current.useRef(e)};D.useState=function(e){return xe.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return xe.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return xe.current.useTransition()};D.version="18.2.0";dc.exports=D;var U=dc.exports;const pp=uc(U);/**- * @license React- * react-jsx-runtime.production.min.js- *- * Copyright (c) Facebook, Inc. and its affiliates.- *- * This source code is licensed under the MIT license found in the- * LICENSE file in the root directory of this source tree.- */var hp=U,mp=Symbol.for("react.element"),gp=Symbol.for("react.fragment"),vp=Object.prototype.hasOwnProperty,yp=hp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,wp={key:!0,ref:!0,__self:!0,__source:!0};function wc(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)vp.call(t,r)&&!wp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:mp,type:e,key:o,ref:l,props:i,_owner:yp.current}}po.Fragment=gp;po.jsx=wc;po.jsxs=wc;cc.exports=po;var ys=cc.exports;const Zn=ys.Fragment,v=ys.jsx,R=ys.jsxs;document.body.style.cssText+=`-overflow: hidden;-`;const kp=()=>{const e={type:"size",height:document.body.offsetHeight};window.parent.postMessage(e)};new ResizeObserver(kp).observe(document.body);function me(e){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},me(e)}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t){if(me(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(me(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kc(e){var t=Sp(e,"string");return me(t)==="symbol"?t:String(t)}function Pa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kc(r.key),r)}}function ht(e,t,n){return t&&Pa(e.prototype,t),n&&Pa(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gl(e,t){return gl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},gl(e,t)}function ho(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gl(e,t)}function ei(e,t){if(t&&(me(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Gt(e)}function _t(e){return _t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},_t(e)}function nt(e,t,n){return t=kc(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){if(Array.isArray(e))return e}function Op(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ea(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Oc(e,t){if(e){if(typeof e=="string")return Ea(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ea(e,t)}}function _c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.-In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _p(e){return Sc(e)||Op(e)||Oc(e)||_c()}function xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ca(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xa(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Np={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},Pp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};pt(this,e),this.init(t,n)}return ht(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||Np,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new e(this.logger,Ca(Ca({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new e(this.logger,n)}}]),e}(),kt=new Pp,nn=function(){function e(){pt(this,e),this.observers={}}return ht(e,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var l=[].concat(this.observers[n]);l.forEach(function(a){a.apply(void 0,i)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(a){a.apply(a,[n].concat(i))})}}}]),e}();function fr(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function Ia(e){return e==null?"":""+e}function Ep(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function ws(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var l=r(o.shift());!e[l]&&n&&(e[l]=new n),Object.prototype.hasOwnProperty.call(e,l)?e=e[l]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function Ta(e,t,n){var r=ws(e,t,Object),i=r.obj,o=r.k;i[o]=n}function xp(e,t,n,r){var i=ws(e,t,Object),o=i.obj,l=i.k;o[l]=o[l]||[],r&&(o[l]=o[l].concat(n)),r||o[l].push(n)}function bi(e,t){var n=ws(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Ra(e,t,n){var r=bi(e,n);return r!==void 0?r:bi(t,n)}function Nc(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Nc(e[r],t[r],n):e[r]=t[r]);return e}function Tn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Cp={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Ip(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Cp[t]}):e}var mo=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Tp=[" ",",","?","!",";"];function Rp(e,t,n){t=t||"",n=n||"";var r=Tp.filter(function(s){return t.indexOf(s)<0&&n.indexOf(s)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),o=!i.test(e);if(!o){var l=e.indexOf(n);l>0&&!i.test(e.substring(0,l))&&(o=!0)}return o}function La(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function si(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?La(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):La(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Lp(e){var t=Ap();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Ap(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var l=2,s=r.slice(o,o+l).join(n),a=i[s];a===void 0&&r.length>o+l;)l++,s=r.slice(o,o+l).join(n),a=i[s];if(a===void 0)return;if(a===null)return null;if(t.endsWith(s)){if(typeof a=="string")return a;if(s&&typeof a[s]=="string")return a[s]}var u=r.slice(o+l).join(n);return u?Pc(a,u,n):void 0}i=i[r[o]]}return i}}var jp=function(e){ho(n,e);var t=Lp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return pt(this,n),i=t.call(this),mo&&nn.call(Gt(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return ht(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,u=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,p=[i,o];l&&typeof l!="string"&&(p=p.concat(l)),l&&typeof l=="string"&&(p=p.concat(a?l.split(a):l)),i.indexOf(".")>-1&&(p=i.split("."));var d=bi(this.data,p);return d||!u||typeof l!="string"?d:Pc(this.data&&this.data[i]&&this.data[i][o],l,a)}},{key:"addResource",value:function(i,o,l,s){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var p=[i,o];l&&(p=p.concat(u?l.split(u):l)),i.indexOf(".")>-1&&(p=i.split("."),s=o,o=p[1]),this.addNamespaces(o),Ta(this.data,p,s),a.silent||this.emit("added",i,o,l,s)}},{key:"addResources",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in l)(typeof l[a]=="string"||Object.prototype.toString.apply(l[a])==="[object Array]")&&this.addResource(i,o,a,l[a],{silent:!0});s.silent||this.emit("added",i,o,l)}},{key:"addResourceBundle",value:function(i,o,l,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},p=[i,o];i.indexOf(".")>-1&&(p=i.split("."),s=l,l=o,o=p[1]),this.addNamespaces(o);var d=bi(this.data,p)||{};s?Nc(d,l,a):d=si(si({},d),l),Ta(this.data,p,d),u.silent||this.emit("added",i,o,l)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?si(si({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),l=o&&Object.keys(o)||[];return!!l.find(function(s){return o[s]&&Object.keys(o[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(nn),Ec={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var l=this;return t.forEach(function(s){l.processors[s]&&(n=l.processors[s].process(n,r,i,o))}),n}};function Aa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Aa(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Aa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Fp(e){var t=Dp();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Dp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var ja={},Fa=function(e){ho(n,e);var t=Fp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return pt(this,n),i=t.call(this),mo&&nn.call(Gt(i)),Ep(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Gt(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=kt.create("translator"),i}return ht(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var l=this.resolve(i,o);return l&&l.res!==void 0}},{key:"extractFromKey",value:function(i,o){var l=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");var s=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,a=o.ns||this.options.defaultNS||[],u=l&&i.indexOf(l)>-1,p=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Rp(i,l,s);if(u&&!p){var d=i.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:i,namespaces:a};var h=i.split(l);(l!==s||l===s&&this.options.ns.indexOf(h[0])>-1)&&(a=h.shift()),i=h.join(s)}return typeof a=="string"&&(a=[a]),{key:i,namespaces:a}}},{key:"translate",value:function(i,o,l){var s=this;if(me(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var a=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,p=this.extractFromKey(i[i.length-1],o),d=p.key,h=p.namespaces,g=h[h.length-1],y=o.lng||this.language,k=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(y&&y.toLowerCase()==="cimode"){if(k){var _=o.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(g).concat(_).concat(d),usedKey:d,exactUsedKey:d,usedLng:y,usedNS:g}:"".concat(g).concat(_).concat(d)}return a?{res:d,usedKey:d,exactUsedKey:d,usedLng:y,usedNS:g}:d}var f=this.resolve(i,o),c=f&&f.res,m=f&&f.usedKey||d,w=f&&f.exactUsedKey||d,O=Object.prototype.toString.apply(c),S=["[object Number]","[object Function]","[object RegExp]"],P=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,A=typeof c!="string"&&typeof c!="boolean"&&typeof c!="number";if(E&&c&&A&&S.indexOf(O)<0&&!(typeof P=="string"&&O==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,c,Oe(Oe({},o),{},{ns:h})):"key '".concat(d," (").concat(this.language,")' returned an object instead of string.");return a?(f.res=x,f):x}if(u){var H=O==="[object Array]",Te=H?[]:{},Nt=H?w:m;for(var rt in c)if(Object.prototype.hasOwnProperty.call(c,rt)){var xn="".concat(Nt).concat(u).concat(rt);Te[rt]=this.translate(xn,Oe(Oe({},o),{joinArrays:!1,ns:h})),Te[rt]===xn&&(Te[rt]=c[rt])}c=Te}}else if(E&&typeof P=="string"&&O==="[object Array]")c=c.join(P),c&&(c=this.extendTranslation(c,i,o,l));else{var mt=!1,it=!1,C=o.count!==void 0&&typeof o.count!="string",L=n.hasDefaultValue(o),j=C?this.pluralResolver.getSuffix(y,o.count,o):"",V=o["defaultValue".concat(j)]||o.defaultValue;!this.isValidLookup(c)&&L&&(mt=!0,c=V),this.isValidLookup(c)||(it=!0,c=d);var Q=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Pt=Q&&it?void 0:c,ze=L&&V!==c&&this.options.updateMissing;if(it||mt||ze){if(this.logger.log(ze?"updateKey":"missingKey",y,g,d,ze?V:c),u){var Cn=this.resolve(d,Oe(Oe({},o),{},{keySeparator:!1}));Cn&&Cn.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.")}var be=[],Et=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Et&&Et[0])for(var Lo=0;Lo<Et.length;Lo++)be.push(Et[Lo]);else this.options.saveMissingTo==="all"?be=this.languageUtils.toResolveHierarchy(o.lng||this.language):be.push(o.lng||this.language);var wa=function(In,jo,ka){var Sa=L&&ka!==c?ka:Pt;s.options.missingKeyHandler?s.options.missingKeyHandler(In,g,jo,Sa,ze,o):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(In,g,jo,Sa,ze,o),s.emit("missingKey",In,g,jo,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?be.forEach(function(Ao){s.pluralResolver.getSuffixes(Ao,o).forEach(function(In){wa([Ao],d+In,o["defaultValue".concat(In)]||V)})}):wa(be,d,V))}c=this.extendTranslation(c,i,o,f,l),it&&c===d&&this.options.appendNamespaceToMissingKey&&(c="".concat(g,":").concat(d)),(it||mt)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(g,":").concat(d):d,mt?c:void 0):c=this.options.parseMissingKeyHandler(c))}return a?(f.res=c,f):c}},{key:"extendTranslation",value:function(i,o,l,s,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,Oe(Oe({},this.options.interpolation.defaultVariables),l),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init(Oe(Oe({},l),{interpolation:Oe(Oe({},this.options.interpolation),l.interpolation)}));var p=typeof i=="string"&&(l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),d;if(p){var h=i.match(this.interpolator.nestingRegexp);d=h&&h.length}var g=l.replace&&typeof l.replace!="string"?l.replace:l;if(this.options.interpolation.defaultVariables&&(g=Oe(Oe({},this.options.interpolation.defaultVariables),g)),i=this.interpolator.interpolate(i,g,l.lng||this.language,l),p){var y=i.match(this.interpolator.nestingRegexp),k=y&&y.length;d<k&&(l.nest=!1)}l.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var c=arguments.length,m=new Array(c),w=0;w<c;w++)m[w]=arguments[w];return a&&a[0]===m[0]&&!l.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(m[0]," in key: ").concat(o[0])),null):u.translate.apply(u,m.concat([o]))},l)),l.interpolation&&this.interpolator.reset()}var _=l.postProcess||this.options.postProcess,f=typeof _=="string"?[_]:_;return i!=null&&f&&f.length&&l.applyPostProcessor!==!1&&(i=Ec.handle(f,i,o,this.options&&this.options.postProcessPassResolved?Oe({i18nResolved:s},l):l,this)),i}},{key:"resolve",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,a,u,p,d;return typeof i=="string"&&(i=[i]),i.forEach(function(h){if(!o.isValidLookup(s)){var g=o.extractFromKey(h,l),y=g.key;a=y;var k=g.namespaces;o.options.fallbackNS&&(k=k.concat(o.options.fallbackNS));var _=l.count!==void 0&&typeof l.count!="string",f=_&&!l.ordinal&&l.count===0&&o.pluralResolver.shouldUseIntlApi(),c=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",m=l.lngs?l.lngs:o.languageUtils.toResolveHierarchy(l.lng||o.language,l.fallbackLng);k.forEach(function(w){o.isValidLookup(s)||(d=w,!ja["".concat(m[0],"-").concat(w)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(d)&&(ja["".concat(m[0],"-").concat(w)]=!0,o.logger.warn('key "'.concat(a,'" for languages "').concat(m.join(", "),`" won't get resolved as namespace "`).concat(d,'" 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!!!")),m.forEach(function(O){if(!o.isValidLookup(s)){p=O;var S=[y];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(S,y,O,w,l);else{var P;_&&(P=o.pluralResolver.getSuffix(O,l.count,l));var E="".concat(o.options.pluralSeparator,"zero");if(_&&(S.push(y+P),f&&S.push(y+E)),c){var A="".concat(y).concat(o.options.contextSeparator).concat(l.context);S.push(A),_&&(S.push(A+P),f&&S.push(A+E))}}for(var x;x=S.pop();)o.isValidLookup(s)||(u=x,s=o.getResource(O,w,x,l))}}))})}}),{res:s,usedKey:a,exactUsedKey:u,usedLng:p,usedNS:d}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,l){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,l,s):this.resourceStore.getResource(i,o,l,s)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&o===l.substring(0,o.length)&&i[l]!==void 0)return!0;return!1}}]),n}(nn);function Do(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Da=function(){function e(t){pt(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=kt.create("languageUtils")}return ht(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Do(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Do(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=Do(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var l=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(l))&&(i=l)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var l=r.getLanguagePartFromCode(o);if(r.isSupportedCode(l))return i=l;i=r.options.supportedLngs.find(function(s){if(s.indexOf(l)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),l=[],s=function(u){u&&(i.isSupportedCode(u)?l.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(n))):typeof n=="string"&&s(this.formatLanguageCode(n)),o.forEach(function(a){l.indexOf(a)<0&&s(i.formatLanguageCode(a))}),l}}]),e}(),Up=[{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}],zp={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},bp=["v1","v2","v3"],Ua={zero:0,one:1,two:2,few:3,many:4,other:5};function Vp(){var e={};return Up.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:zp[t.fc]}})}),e}var $p=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};pt(this,e),this.languageUtils=t,this.options=n,this.logger=kt.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(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=Vp()}return ht(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(l,s){return Ua[l]-Ua[s]}).map(function(l){return"".concat(r.options.prepend).concat(l)}):o.numbers.map(function(l){return r.getSuffix(n,l,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),l=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(l===2?l="plural":l===1&&(l=""));var s=function(){return i.options.prepend&&l.toString()?i.options.prepend+l.toString():l.toString()};return this.options.compatibilityJSON==="v1"?l===1?"":typeof l=="number"?"_plural_".concat(l.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!bp.includes(this.options.compatibilityJSON)}}]),e}();function za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ot(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?za(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Mp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(this,e),this.logger=kt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return ht(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:Ip,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?Tn(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?Tn(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?Tn(r.nestingPrefix):r.nestingPrefixEscaped||Tn("$t("),this.nestingSuffix=r.nestingSuffix?Tn(r.nestingSuffix):r.nestingSuffixEscaped||Tn(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var l=this,s,a,u,p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(_){return _.replace(/\$/g,"$$$$")}var h=function(f){if(f.indexOf(l.formatSeparator)<0){var c=Ra(r,p,f);return l.alwaysFormat?l.format(c,void 0,i,ot(ot(ot({},o),r),{},{interpolationkey:f})):c}var m=f.split(l.formatSeparator),w=m.shift().trim(),O=m.join(l.formatSeparator).trim();return l.format(Ra(r,p,w),O,i,ot(ot(ot({},o),r),{},{interpolationkey:w}))};this.resetRegExp();var g=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,y=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,k=[{regex:this.regexpUnescape,safeValue:function(f){return d(f)}},{regex:this.regexp,safeValue:function(f){return l.escapeValue?d(l.escape(f)):d(f)}}];return k.forEach(function(_){for(u=0;s=_.regex.exec(n);){var f=s[1].trim();if(a=h(f),a===void 0)if(typeof g=="function"){var c=g(n,s,o);a=typeof c=="string"?c:""}else if(o&&Object.prototype.hasOwnProperty.call(o,f))a="";else if(y){a=s[0];continue}else l.logger.warn("missed to pass in variable ".concat(f," for interpolating ").concat(n)),a="";else typeof a!="string"&&!l.useRawValueToEscape&&(a=Ia(a));var m=_.safeValue(a);if(n=n.replace(s[0],m),y?(_.regex.lastIndex+=a.length,_.regex.lastIndex-=s[0].length):_.regex.lastIndex=0,u++,u>=l.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l,s,a;function u(g,y){var k=this.nestingOptionsSeparator;if(g.indexOf(k)<0)return g;var _=g.split(new RegExp("".concat(k,"[ ]*{"))),f="{".concat(_[1]);g=_[0],f=this.interpolate(f,a);var c=f.match(/'/g),m=f.match(/"/g);(c&&c.length%2===0&&!m||m.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),y&&(a=ot(ot({},y),a))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(g),w),"".concat(g).concat(k).concat(f)}return delete a.defaultValue,g}for(;l=this.nestingRegexp.exec(n);){var p=[];a=ot({},o),a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;var d=!1;if(l[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(l[1])){var h=l[1].split(this.formatSeparator).map(function(g){return g.trim()});l[1]=h.shift(),p=h,d=!0}if(s=r(u.call(this,l[1].trim(),a),a),s&&l[0]===n&&typeof s!="string")return s;typeof s!="string"&&(s=Ia(s)),s||(this.logger.warn("missed to resolve ".concat(l[1]," for nesting ").concat(n)),s=""),d&&(s=p.reduce(function(g,y){return i.format(g,y,o.lng,ot(ot({},o),{},{interpolationkey:l[1].trim()}))},s.trim())),n=n.replace(l[0],s),this.regexp.lastIndex=0}return n}}]),e}();function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ba(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Bp(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(l){if(l){var s=l.split(":"),a=_p(s),u=a[0],p=a.slice(1),d=p.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=d),d==="false"&&(n[u.trim()]=!1),d==="true"&&(n[u.trim()]=!0),isNaN(d)||(n[u.trim()]=parseInt(d,10))}})}}return{formatName:t,formatOptions:n}}function Rn(e){var t={};return function(r,i,o){var l=i+JSON.stringify(o),s=t[l];return s||(s=e(i,o),t[l]=s),s(r)}}var Kp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(this,e),this.logger=kt.create("formatter"),this.options=t,this.formats={number:Rn(function(n,r){var i=new Intl.NumberFormat(n,xt({},r));return function(o){return i.format(o)}}),currency:Rn(function(n,r){var i=new Intl.NumberFormat(n,xt(xt({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:Rn(function(n,r){var i=new Intl.DateTimeFormat(n,xt({},r));return function(o){return i.format(o)}}),relativetime:Rn(function(n,r){var i=new Intl.RelativeTimeFormat(n,xt({},r));return function(o){return i.format(o,r.range||"day")}}),list:Rn(function(n,r){var i=new Intl.ListFormat(n,xt({},r));return function(o){return i.format(o)}})},this.init(t)}return ht(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=Rn(r)}},{key:"format",value:function(n,r,i){var o=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=r.split(this.formatSeparator),a=s.reduce(function(u,p){var d=Bp(p),h=d.formatName,g=d.formatOptions;if(o.formats[h]){var y=u;try{var k=l&&l.formatParams&&l.formatParams[l.interpolationkey]||{},_=k.locale||k.lng||l.locale||l.lng||i;y=o.formats[h](u,_,xt(xt(xt({},g),l),k))}catch(f){o.logger.warn(f)}return y}else o.logger.warn("there was no format function for ".concat(h));return u},n);return a}}]),e}();function Va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Va(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Va(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Hp(e){var t=Wp();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Wp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Gp(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Yp=function(e){ho(n,e);var t=Hp(n);function n(r,i,o){var l,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return pt(this,n),l=t.call(this),mo&&nn.call(Gt(l)),l.backend=r,l.store=i,l.services=o,l.languageUtils=o.languageUtils,l.options=s,l.logger=kt.create("backendConnector"),l.waitingReads=[],l.maxParallelReads=s.maxParallelReads||10,l.readingCalls=0,l.maxRetries=s.maxRetries>=0?s.maxRetries:5,l.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,l.state={},l.queue=[],l.backend&&l.backend.init&&l.backend.init(o,s.backend,s),l}return ht(n,[{key:"queueLoad",value:function(i,o,l,s){var a=this,u={},p={},d={},h={};return i.forEach(function(g){var y=!0;o.forEach(function(k){var _="".concat(g,"|").concat(k);!l.reload&&a.store.hasResourceBundle(g,k)?a.state[_]=2:a.state[_]<0||(a.state[_]===1?p[_]===void 0&&(p[_]=!0):(a.state[_]=1,y=!1,p[_]===void 0&&(p[_]=!0),u[_]===void 0&&(u[_]=!0),h[k]===void 0&&(h[k]=!0)))}),y||(d[g]=!0)}),(Object.keys(u).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(u),pending:Object.keys(p),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(h)}}},{key:"loaded",value:function(i,o,l){var s=i.split("|"),a=s[0],u=s[1];o&&this.emit("failedLoading",a,u,o),l&&this.store.addResourceBundle(a,u,l),this.state[i]=o?-1:2;var p={};this.queue.forEach(function(d){xp(d.loaded,[a],u),Gp(d,i),o&&d.errors.push(o),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(function(h){p[h]||(p[h]={});var g=d.loaded[h];g.length&&g.forEach(function(y){p[h][y]===void 0&&(p[h][y]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(i,o,l){var s=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,p=arguments.length>5?arguments[5]:void 0;if(!i.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:l,tried:a,wait:u,callback:p});return}this.readingCalls++;var d=function(k,_){if(s.readingCalls--,s.waitingReads.length>0){var f=s.waitingReads.shift();s.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(k&&_&&a<s.maxRetries){setTimeout(function(){s.read.call(s,i,o,l,a+1,u*2,p)},u);return}p(k,_)},h=this.backend[l].bind(this.backend);if(h.length===2){try{var g=h(i,o);g&&typeof g.then=="function"?g.then(function(y){return d(null,y)}).catch(d):d(null,g)}catch(y){d(y)}return}return h(i,o,d)}},{key:"prepareLoading",value:function(i,o){var l=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=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."),a&&a();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,s,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(p){l.loadOne(p)})}},{key:"load",value:function(i,o,l){this.prepareLoading(i,o,{},l)}},{key:"reload",value:function(i,o,l){this.prepareLoading(i,o,{reload:!0},l)}},{key:"loadOne",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),a=s[0],u=s[1];this.read(a,u,"read",void 0,void 0,function(p,d){p&&o.logger.warn("".concat(l,"loading namespace ").concat(u," for language ").concat(a," failed"),p),!p&&d&&o.logger.log("".concat(l,"loaded namespace ").concat(u," for language ").concat(a),d),o.loaded(i,p,d)})}},{key:"saveMissing",value:function(i,o,l,s,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},p=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(l,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(l==null||l==="")){if(this.backend&&this.backend.create){var d=$a($a({},u),{},{isUpdate:a}),h=this.backend.create.bind(this.backend);if(h.length<6)try{var g;h.length===5?g=h(i,o,l,s,d):g=h(i,o,l,s),g&&typeof g.then=="function"?g.then(function(y){return p(null,y)}).catch(p):p(null,g)}catch(y){p(y)}else h(i,o,l,s,p,d)}!i||!i[0]||this.store.addResource(i[0],o,l,s)}}}]),n}(nn);function Ma(){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:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(me(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),me(t[2])==="object"||me(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Ba(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ka(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ka(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qp(e){var t=Xp();return function(){var r=_t(e),i;if(t){var o=_t(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return ei(this,i)}}function Xp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ai(){}function Jp(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var Vi=function(e){ho(n,e);var t=Qp(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(pt(this,n),r=t.call(this),mo&&nn.call(Gt(r)),r.options=Ba(i),r.services={},r.logger=kt,r.modules={external:[]},Jp(Gt(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),ei(r,Gt(r));setTimeout(function(){r.init(i,o)},0)}return r}return ht(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(l=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var s=Ma();this.options=gt(gt(gt({},s),this.options),Ba(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=gt(gt({},s.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function a(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?kt.init(a(this.modules.logger),this.options):kt.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Kp);var p=new Da(this.options);this.store=new jp(this.options.resources,this.options);var d=this.services;d.logger=kt,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new $p(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(d.formatter=a(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Mp(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Yp(a(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(f){for(var c=arguments.length,m=new Array(c>1?c-1:0),w=1;w<c;w++)m[w-1]=arguments[w];i.emit.apply(i,[f].concat(m))}),this.modules.languageDetector&&(d.languageDetector=a(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=a(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new Fa(this.services,this.options),this.translator.on("*",function(f){for(var c=arguments.length,m=new Array(c>1?c-1:0),w=1;w<c;w++)m[w-1]=arguments[w];i.emit.apply(i,[f].concat(m))}),this.modules.external.forEach(function(f){f.init&&f.init(i)})}if(this.format=this.options.interpolation.format,l||(l=ai),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var g=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];g.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments)}});var y=["addResource","addResources","addResourceBundle","removeResourceBundle"];y.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments),i}});var k=fr(),_=function(){var c=function(w,O){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),k.resolve(O),l(w,O)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return c(null,i.t.bind(i));i.changeLanguage(i.options.lng,c)};return this.options.resources||!this.options.initImmediate?_():setTimeout(_,0),k}},{key:"loadResources",value:function(i){var o=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ai,s=l,a=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return s();var u=[],p=function(g){if(g){var y=o.services.languageUtils.toResolveHierarchy(g);y.forEach(function(k){u.indexOf(k)<0&&u.push(k)})}};if(a)p(a);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(h){return p(h)})}this.options.preload&&this.options.preload.forEach(function(h){return p(h)}),this.services.backendConnector.load(u,this.options.ns,function(h){!h&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),s(h)})}else s(null)}},{key:"reloadResources",value:function(i,o,l){var s=fr();return i||(i=this.languages),o||(o=this.options.ns),l||(l=ai),this.services.backendConnector.reload(i,o,function(a){s.resolve(),l(a)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&Ec.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var l=this.languages[o];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}}},{key:"changeLanguage",value:function(i,o){var l=this;this.isLanguageChangingTo=i;var s=fr();this.emit("languageChanging",i);var a=function(h){l.language=h,l.languages=l.services.languageUtils.toResolveHierarchy(h),l.resolvedLanguage=void 0,l.setResolvedLanguage(h)},u=function(h,g){g?(a(g),l.translator.changeLanguage(g),l.isLanguageChangingTo=void 0,l.emit("languageChanged",g),l.logger.log("languageChanged",g)):l.isLanguageChangingTo=void 0,s.resolve(function(){return l.t.apply(l,arguments)}),o&&o(h,function(){return l.t.apply(l,arguments)})},p=function(h){!i&&!h&&l.services.languageDetector&&(h=[]);var g=typeof h=="string"?h:l.services.languageUtils.getBestMatchFromCodes(h);g&&(l.language||a(g),l.translator.language||l.translator.changeLanguage(g),l.services.languageDetector&&l.services.languageDetector.cacheUserLanguage&&l.services.languageDetector.cacheUserLanguage(g)),l.loadResources(g,function(y){u(y,g)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(i),s}},{key:"getFixedT",value:function(i,o,l){var s=this,a=function u(p,d){var h;if(me(d)!=="object"){for(var g=arguments.length,y=new Array(g>2?g-2:0),k=2;k<g;k++)y[k-2]=arguments[k];h=s.options.overloadTranslationOptionHandler([p,d].concat(y))}else h=gt({},d);h.lng=h.lng||u.lng,h.lngs=h.lngs||u.lngs,h.ns=h.ns||u.ns,h.keyPrefix=h.keyPrefix||l||u.keyPrefix;var _=s.options.keySeparator||".",f;return h.keyPrefix&&Array.isArray(p)?f=p.map(function(c){return"".concat(h.keyPrefix).concat(_).concat(c)}):f=h.keyPrefix?"".concat(h.keyPrefix).concat(_).concat(p):p,s.t(f,h)};return typeof i=="string"?a.lng=i:a.lngs=i,a.ns=o,a.keyPrefix=l,a}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,l=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;var s=this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var p=function(g,y){var k=o.services.backendConnector.state["".concat(g,"|").concat(y)];return k===-1||k===2};if(l.precheck){var d=l.precheck(this,p);if(d!==void 0)return d}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(s,i)&&(!a||p(u,i)))}},{key:"loadNamespaces",value:function(i,o){var l=this,s=fr();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(a){l.options.ns.indexOf(a)<0&&l.options.ns.push(a)}),this.loadResources(function(a){s.resolve(),o&&o(a)}),s):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var l=fr();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],a=i.filter(function(u){return s.indexOf(u)<0});return a.length?(this.options.preload=s.concat(a),this.loadResources(function(u){l.resolve(),o&&o(u)}),l):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["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"],l=this.services&&this.services.languageUtils||new Da(Ma());return o.indexOf(l.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ai,s=gt(gt(gt({},this.options),o),{isClone:!0}),a=new n(s);(o.debug!==void 0||o.prefix!==void 0)&&(a.logger=a.logger.clone(o));var u=["store","services","language"];return u.forEach(function(p){a[p]=i[p]}),a.services=gt({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new Fa(a.services,a.options),a.translator.on("*",function(p){for(var d=arguments.length,h=new Array(d>1?d-1:0),g=1;g<d;g++)h[g-1]=arguments[g];a.emit.apply(a,[p].concat(h))}),a.init(s,l),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(nn);nt(Vi,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Vi(e,t)});var fe=Vi.createInstance();fe.createInstance=Vi.createInstance;fe.createInstance;fe.dir;fe.init;fe.loadResources;fe.reloadResources;fe.use;fe.changeLanguage;fe.getFixedT;fe.t;fe.exists;fe.setDefaultNamespace;fe.hasLoadedNamespace;fe.loadNamespaces;fe.loadLanguages;function Zp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function ks(e,t){if(e==null)return{};var n=Zp(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var qp={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};const eh=uc(qp);var th=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Ha(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(eh[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var i=new RegExp(th),o=null;(o=i.exec(e))!==null;)if(o[0].trim())if(o[1]){var l=o[1].trim(),s=[l,""];l.indexOf("=")>-1&&(s=l.split("=")),t.attrs[s[0]]=s[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var nh=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,rh=/^\s*$/,ih=Object.create(null);function xc(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var i in n)r.push(i+'="'+n[i]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(xc,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var oh={parse:function(e,t){t||(t={}),t.components||(t.components=ih);var n,r=[],i=[],o=-1,l=!1;if(e.indexOf("<")!==0){var s=e.indexOf("<");r.push({type:"text",content:s===-1?e:e.substring(0,s)})}return e.replace(nh,function(a,u){if(l){if(a!=="</"+n.name+">")return;l=!1}var p,d=a.charAt(1)!=="/",h=a.startsWith("<!--"),g=u+a.length,y=e.charAt(g);if(h){var k=Ha(a);return o<0?(r.push(k),r):((p=i[o]).children.push(k),r)}if(d&&(o++,(n=Ha(a)).type==="tag"&&t.components[n.name]&&(n.type="component",l=!0),n.voidElement||l||!y||y==="<"||n.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),o===0&&r.push(n),(p=i[o-1])&&p.children.push(n),i[o]=n),(!d||n.voidElement)&&(o>-1&&(n.voidElement||n.name===a.slice(2,-1))&&(o--,n=o===-1?r:i[o]),!l&&y!=="<"&&y)){p=o===-1?r:i[o].children;var _=e.indexOf("<",g),f=e.slice(g,_===-1?void 0:_);rh.test(f)&&(f=" "),(_>-1&&o+p.length>=0||f!==" ")&&p.push({type:"text",content:f})}}),r},stringify:function(e){return e.reduce(function(t,n){return t+xc("",n)},"")}};function Ci(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Wa={};function $i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&Wa[t[0]]||(typeof t[0]=="string"&&(Wa[t[0]]=new Date),Ci.apply(void 0,t))}function Ga(e,t,n){e.loadNamespaces(t,function(){if(e.isInitialized)n();else{var r=function i(){setTimeout(function(){e.off("initialized",i)},0),n()};e.on("initialized",r)}})}function lh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var l=function(a,u){var p=t.services.backendConnector.state["".concat(a,"|").concat(u)];return p===-1||p===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!l(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||l(r,e)&&(!i||l(o,e)))}function sh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return $i("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,l){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!l(o.isLanguageChangingTo,e))return!1}}):lh(e,t,n)}var ah=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,uh={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ch=function(t){return uh[t]},dh=function(t){return t.replace(ah,ch)};function Ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Qa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ya(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ya(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var vl={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:dh};function fh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vl=Qa(Qa({},vl),e)}function Cc(){return vl}var Ic;function ph(e){Ic=e}function Ss(){return Ic}var hh=["format"],mh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xa(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Uo(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function zo(e){return e?e.props?e.props.children:e.children:[]}function gh(e){return Object.prototype.toString.call(e)!=="[object Array]"?!1:e.every(function(t){return U.isValidElement(t)})}function Or(e){return Array.isArray(e)?e:[e]}function vh(e,t){var n=se({},t);return n.props=Object.assign(e.props,t.props),n}function Tc(e,t){if(!e)return"";var n="",r=Or(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach(function(o,l){if(typeof o=="string")n+="".concat(o);else if(U.isValidElement(o)){var s=Object.keys(o.props).length,a=i.indexOf(o.type)>-1,u=o.props.children;if(!u&&a&&s===0)n+="<".concat(o.type,"/>");else if(!u&&(!a||s!==0))n+="<".concat(l,"></").concat(l,">");else if(o.props.i18nIsDynamicList)n+="<".concat(l,"></").concat(l,">");else if(a&&s===1&&typeof u=="string")n+="<".concat(o.type,">").concat(u,"</").concat(o.type,">");else{var p=Tc(u,t);n+="<".concat(l,">").concat(p,"</").concat(l,">")}}else if(o===null)Ci("Trans: the passed in value is invalid - seems you passed in a null child.");else if(me(o)==="object"){var d=o.format,h=ks(o,hh),g=Object.keys(h);if(g.length===1){var y=d?"".concat(g[0],", ").concat(d):g[0];n+="{{".concat(y,"}}")}else Ci("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",o)}else Ci("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",o)}),n}function yh(e,t,n,r,i,o){if(t==="")return[];var l=r.transKeepBasicHtmlNodesFor||[],s=t&&new RegExp(l.join("|")).test(t);if(!e&&!s)return[t];var a={};function u(_){var f=Or(_);f.forEach(function(c){typeof c!="string"&&(Uo(c)?u(zo(c)):me(c)==="object"&&!U.isValidElement(c)&&Object.assign(a,c))})}u(e);var p=oh.parse("<0>".concat(t,"</0>")),d=se(se({},a),i);function h(_,f,c){var m=zo(_),w=y(m,f.children,c);return gh(m)&&w.length===0?m:w}function g(_,f,c,m,w){_.dummy&&(_.children=f),c.push(U.cloneElement(_,se(se({},_.props),{},{key:m}),w?void 0:f))}function y(_,f,c){var m=Or(_),w=Or(f);return w.reduce(function(O,S,P){var E=S.children&&S.children[0]&&S.children[0].content&&n.services.interpolator.interpolate(S.children[0].content,d,n.language);if(S.type==="tag"){var A=m[parseInt(S.name,10)];!A&&c.length===1&&c[0][S.name]&&(A=c[0][S.name]),A||(A={});var x=Object.keys(S.attrs).length!==0?vh({props:S.attrs},A):A,H=U.isValidElement(x),Te=H&&Uo(S,!0)&&!S.voidElement,Nt=s&&me(x)==="object"&&x.dummy&&!H,rt=me(e)==="object"&&e!==null&&Object.hasOwnProperty.call(e,S.name);if(typeof x=="string"){var xn=n.services.interpolator.interpolate(x,d,n.language);O.push(xn)}else if(Uo(x)||Te){var mt=h(x,S,c);g(x,mt,O,P)}else if(Nt){var it=y(m,S.children,c);O.push(U.cloneElement(x,se(se({},x.props),{},{key:P}),it))}else if(Number.isNaN(parseFloat(S.name)))if(rt){var C=h(x,S,c);g(x,C,O,P,S.voidElement)}else if(r.transSupportBasicHtmlNodes&&l.indexOf(S.name)>-1)if(S.voidElement)O.push(U.createElement(S.name,{key:"".concat(S.name,"-").concat(P)}));else{var L=y(m,S.children,c);O.push(U.createElement(S.name,{key:"".concat(S.name,"-").concat(P)},L))}else if(S.voidElement)O.push("<".concat(S.name," />"));else{var j=y(m,S.children,c);O.push("<".concat(S.name,">").concat(j,"</").concat(S.name,">"))}else if(me(x)==="object"&&!H){var V=S.children[0]?E:null;V&&O.push(V)}else S.children.length===1&&E?O.push(U.cloneElement(x,se(se({},x.props),{},{key:P}),E)):O.push(U.cloneElement(x,se(se({},x.props),{},{key:P})))}else if(S.type==="text"){var Q=r.transWrapTextNodes,Pt=o?r.unescape(n.services.interpolator.interpolate(S.content,d,n.language)):n.services.interpolator.interpolate(S.content,d,n.language);Q?O.push(U.createElement(Q,{key:"".concat(S.name,"-").concat(P)},Pt)):O.push(Pt)}return O},[])}var k=y([{dummy:!0,children:e||[]}],p,Or(e||[]));return zo(k[0])}function wh(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,l=e.tOptions,s=l===void 0?{}:l,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,g=e.t,y=e.shouldUnescape,k=ks(e,mh),_=h||Ss();if(!_)return $i("You will need to pass in an i18next instance by using i18nextReactModule"),t;var f=g||_.t.bind(_)||function(Te){return Te};o&&(s.context=o);var c=se(se({},Cc()),_.options&&_.options.react),m=d||f.ns||_.options&&_.options.defaultNS;m=typeof m=="string"?[m]:m||["translation"];var w=u||Tc(t,c)||c.transEmptyNodeValue||i,O=c.hashTransKey,S=i||(O?O(w):w),P=a?s.interpolation:{interpolation:se(se({},s.interpolation),{},{prefix:"#$?",suffix:"?$#"})},E=se(se(se(se({},s),{},{count:n},a),P),{},{defaultValue:w,ns:m}),A=S?f(S,E):w,x=yh(p||t,A,_,c,E,y),H=r!==void 0?r:c.defaultTransParent;return H?U.createElement(H,k,x):x}var kh={type:"3rdParty",init:function(t){fh(t.options.react),ph(t)}},Rc=U.createContext(),Sh=function(){function e(){pt(this,e),this.usedNamespaces={}}return ht(e,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(i){r.usedNamespaces[i]||(r.usedNamespaces[i]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}(),Oh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function _h(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ja(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ja(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function b(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,l=e.tOptions,s=l===void 0?{}:l,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,g=e.t,y=e.shouldUnescape,k=ks(e,Oh),_=U.useContext(Rc)||{},f=_.i18n,c=_.defaultNS,m=h||f||Ss(),w=g||m&&m.t.bind(m);return wh(_h({children:t,count:n,parent:r,i18nKey:i,context:o,tOptions:s,values:a,defaults:u,components:p,ns:d||w&&w.ns||c||m&&m.options&&m.options.defaultNS,i18n:m,t:g,shouldUnescape:y},k))}function Nh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,s=[],a=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);a=!0);}catch(p){u=!0,i=p}finally{try{if(!a&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return s}}function Ph(e,t){return Sc(e)||Nh(e,t)||Oc(e,t)||_c()}function Za(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function bo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Za(Object(n),!0).forEach(function(r){nt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Za(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Eh=function(t,n){var r=U.useRef();return U.useEffect(function(){r.current=n?r.current:t},[t,n]),r.current};function B(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=U.useContext(Rc)||{},i=r.i18n,o=r.defaultNS,l=n||i||Ss();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new Sh),!l){$i("You will need to pass in an i18next instance by using initReactI18next");var s=function(A,x){return typeof x=="string"?x:x&&me(x)==="object"&&typeof x.defaultValue=="string"?x.defaultValue:Array.isArray(A)?A[A.length-1]:A},a=[s,{},!1];return a.t=s,a.i18n={},a.ready=!1,a}l.options.react&&l.options.react.wait!==void 0&&$i("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=bo(bo(bo({},Cc()),l.options.react),t),p=u.useSuspense,d=u.keyPrefix,h=e||o||l.options&&l.options.defaultNS;h=typeof h=="string"?[h]:h||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(h);var g=(l.isInitialized||l.initializedStoreOnce)&&h.every(function(E){return sh(E,l,u)});function y(){return l.getFixedT(null,u.nsMode==="fallback"?h:h[0],d)}var k=U.useState(y),_=Ph(k,2),f=_[0],c=_[1],m=h.join(),w=Eh(m),O=U.useRef(!0);U.useEffect(function(){var E=u.bindI18n,A=u.bindI18nStore;O.current=!0,!g&&!p&&Ga(l,h,function(){O.current&&c(y)}),g&&w&&w!==m&&O.current&&c(y);function x(){O.current&&c(y)}return E&&l&&l.on(E,x),A&&l&&l.store.on(A,x),function(){O.current=!1,E&&l&&E.split(" ").forEach(function(H){return l.off(H,x)}),A&&l&&A.split(" ").forEach(function(H){return l.store.off(H,x)})}},[l,m]);var S=U.useRef(!0);U.useEffect(function(){O.current&&!S.current&&c(y),S.current=!1},[l,d]);var P=[f,l,g];if(P.t=f,P.i18n=l,P.ready=g,g||!g&&!p)return P;throw new Promise(function(E){Ga(l,h,function(){E()})})}const xh={prevReleases:"旧版",installationInstructions:"安装说明",getStarted:"入门指南",troubleshooting:"故障排除指南",systemRequirements:"系统要求",githubRepository:"OpenVINO 工具套件 GitHub 存储库",githubGenAIRepository:"OpenVINO GenAI GitHub 存储库",giteeRepository:"OpenVINO 工具套件 Gitee 存储库",giteeGenAIRepository:"OpenVINO GenAI Gitee 存储库"},Ch={OpenVINONotebooks:"准备好运行 OpenVINO 笔记本",tokenizers:"<0>OpenVINO Tokenizers</0> 用于简化 tokenizer 转换",nncf:"<0>NNCF</0> 用于在模型上执行压缩算法",ovms:"<0>OVMS</0> 用于为部署提供优化模型"},Ih={copy:"复制",copied:"已复制"},Th={resources:xh,relatedTools:Ch,copyCommand:Ih},Rh={titles:{recommended:"推荐",hddlSupport:"包含 NCS2/HDDL 支持",LTS:"LTS",nightlyBuild:"每日构建版"}},Lh={devTools:{title:"开发工具",subtitle:"开发和优化深度学习模型的最佳选择。"},runtime:{title:"运行时",subtitle:"您已拥有模型,并且希望对其运行推理。"}},Ah={includesNPUPlugin:"包括 NPU",openVINOArchives:"OpenVINO 归档文件",source:"源",pythonAPIOnly:"仅限 Python API",CAPIOnly:"仅限 C++ API",jsAPIOnly:"仅限 JavaScript API"},jh={package:{base:{title:"OpenVINO 基础程序包",subtitle:"利用基本 GenAI 进行全面推理"},genai:{title:"具有 GenAI 的 OpenVINO",subtitle:"全面推理 + 完整 GenAI 程序包"}},versions:Rh,environment:Lh,distributions:Ah},Fh={titles:{envinronment:"环境",os:"操作系统",version:"版本",distribution:"分发",frameworks:"框架",package:"封装",install:"安装",resources:"资源",relatedTools:"相关工具"}},Dh={install:"安装框架",tooltip:`我们假设所需的框架已经安装到您的环境中。如果没有,您可以使用 OpenVINO 工具套件安装该框架。-可用框架:Caffe、Kaldi、Apache MXNet、PyTorch、ONNX、TensorFlow。`},Uh={apt:{steps:{download:"<0>第 1 步:</0>下载 <2>{{filename}}</2>。您也可以使用以下命令",addKey:"<0>第 2 步:</0>将此密钥添加到系统密钥环。",addRepository:"<0>第 3 步:</0>通过以下命令添加存储库。",updateList:"<0>第 4 步:</0>使用更新命令更新软件包列表。",verify:"<0>第 5 步:</0>验证 APT 存储库的设置是否正确。使用 apt-cache 命令查看包含所有可用 OpenVINO 程序包和组件的列表",install:"<0>第 6 步:</0>安装 OpenVINO 运行时。"}},brew:{steps:{install:"下载并安装程序包"}},conan:{steps:{createConanFile:"<0>第 1 步:</0>为您的 OpenVINO 项目创建一个 <2>{{txtFilename}}</2> 文件并在那里添加 “openvino” 依赖项",install:"<0>第 2 步:</0>运行下面的命令创建 <2>{{cmakeFilename}}</2> 文件,该文件将用来编译 OpenVINO 项目",compile:"<0>第 3 步:</0>配置和编译 OpenVINO 项目"}},conda:{steps:{createEnv:"<0>第 1 步:</0>创建 Anaconda 环境(以 Python 3.10 为例)",activateEnv:"<0>第 2 步:</0>激活 Anaconda 环境",update:"<0>第 3 步:</0>将 Anaconda 环境更新至最新版本",install:"<0>第 4 步:</0>下载并安装程序包。"}},download:{downloadArchives:"下载归档文件",downloadArchivesGenAI:"下载 GenAI 档案",gotoDocker:"转到 Docker",gotoInstallInstruction:"转到安装说明",useFollowingLink:"使用下方链接:"},githubGitee:{steps:{useGitClone:"<0>第 1 步:</0>运用 Git 克隆 OpenVINO 工具套件存储库。",buildInstructions:"<0>第 2 步:</0>按照<2>说明从源代码构建</2>"}},npm:{steps:{install:"下载并安装程序包"}},pip:{steps:{createVenv:"<0>第 1 步:</0>创建虚拟环境。",activateVenv:"<0>第 2 步:</0>激活虚拟环境。",upgradePip:"<0>第 3 步:</0>将 pip 升级到最新版本。",install:"<0>第 4 步:</0>下载并安装程序包。"}},vcpkg:{steps:{install:"下载并安装程序包"}},yum:{steps:{createRepoFile:"<0>第 1 步:</0>以正常用户身份在 /tmp 目录中创建 YUM 存储库文件。",moveFile:"<0>第 2 步:</0>将新的 openvino-{{year}}.repo 文件移动到 YUM 配置目录 <4>{{directory}}</4>。",verify:"<0>第 3 步:</0>使用以下命令验证新建存储库的设置是否正确。",install:"<0>第 4 步:</0>安装 OpenVINO 运行时。"}},zypper:{steps:{addRepo:"<0>第 1 步:</0>使用下面的命令创建一个 ZYPPER 存储库文件",refresh:"<0>第 2 步:</0>刷新存储库",install:"<0>第 3 步:</0>安装 OpenVINO"}}},zh={selectorForm:Fh,frameworks:Dh,distributions:Uh},bh={translation:zh,common:Th,core:jh},Vh={prevReleases:"Previous Releases",installationInstructions:"Installation Instructions",getStarted:"Get Started Guide",troubleshooting:"Troubleshooting Guide",systemRequirements:"System Requirements",githubRepository:"OpenVINO Toolkit GitHub Repository",githubGenAIRepository:"OpenVINO GenAI GitHub Repository",giteeRepository:"OpenVINO Toolkit Gitee Repository",giteeGenAIRepository:"OpenVINO GenAI Gitee Repository"},$h={OpenVINONotebooks:"Ready to run OpenVINO Notebooks",tokenizers:"<0>OpenVINO Tokenizers</0> to streamline tokenizer conversion",nncf:"<0>NNCF</0> for implementing compression algorithms on models",ovms:"<0>OVMS</0> for serving models optimized for deployment"},Mh={copy:"Copy",copied:"Copied"},Bh={resources:Vh,relatedTools:$h,copyCommand:Mh},Kh={titles:{recommended:"Recommended",hddlSupport:"Includes NCS2/HDDL support",LTS:"LTS",nightlyBuild:"Nightly Build"}},Hh={devTools:{title:"Development Tools",subtitle:"Your best option to develop and optimize deep learning models."},runtime:{title:"Runtime",subtitle:"You already have a model and want to run inference on it."}},Wh={includesNPUPlugin:"Includes NPU plugin",openVINOArchives:"OpenVINO Archives",source:"Source",pythonAPIOnly:"Python API only",CAPIOnly:"C++ API only",jsAPIOnly:"JavaScript API only"},Gh={package:{base:{title:"OpenVINO Base Package",subtitle:"Full inference with basic GenAI"},genai:{title:"OpenVINO with GenAI",subtitle:"Full inference + complete GenAI package"}},versions:Kh,environment:Hh,distributions:Wh},Yh={titles:{envinronment:"Environment",os:"Operating System",version:"Version",distribution:"Distribution",frameworks:"Frameworks",package:"Package",install:"Install",resources:"Resources",relatedTools:"Related Tools"}},Qh={install:"Install Frameworks",tooltip:`We assume that needed frameworks are already installed in your environment. If not, you can install them with OpenVINO toolkit.-Available frameworks: Caffe, Kaldi, Apache MXNet, PyTorch, ONNX, TensorFlow.`},Xh={apt:{steps:{download:"<0>Step 1:</0> Download the <2>{{filename}}</2>. You can also use the following command",addKey:"<0>Step 2:</0> Add this key to the system keyring",addRepository:"<0>Step 3:</0> Add the repository via the following command",updateList:"<0>Step 4:</0> Update the list of packages via the update command",verify:"<0>Step 5:</0> Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components",install:"<0>Step 6:</0> Install OpenVINO Runtime"}},brew:{steps:{install:"Download and install the package"}},conan:{steps:{createConanFile:"<0>Step 1:</0> Create a <2>{{txtFilename}}</2> file for your OpenVINO project and add “openvino” dependency in there",install:"<0>Step 2:</0> Run the command below to create <2>{{cmakeFilename}}</2> file, which will be used to compile your project with OpenVINO",compile:"<0>Step 3:</0> Configure and compile your project with OpenVINO"}},conda:{steps:{createEnv:"<0>Step 1:</0> Create the Anaconda environment (Python 3.10 used as an example)",activateEnv:"<0>Step 2:</0> Activate the Anaconda environment",update:"<0>Step 3:</0> Update the Anaconda environment to the latest version",install:"<0>Step 4:</0> Download and install the package"}},download:{downloadArchives:"Download Archives",downloadArchivesGenAI:"Download Archives with GenAI",gotoDocker:"Go to Docker",gotoInstallInstruction:"Go to Installation Instructions",useFollowingLink:"Use the following link:"},githubGitee:{steps:{useGitClone:"<0>Step 1:</0> Use Git to clone the OpenVINO toolkit repository",buildInstructions:"<0>Step 2:</0> Follow the <2>instructions to build from source</2>"}},npm:{steps:{install:"Download and install the package"}},pip:{steps:{createVenv:"<0>Step 1:</0> Create virtual environment",activateVenv:"<0>Step 2:</0> Activate virtual environment",upgradePip:"<0>Step 3:</0> Upgrade pip to latest version",install:"<0>Step 4:</0> Download and install the package"}},vcpkg:{steps:{install:"Download and install the package"}},yum:{steps:{createRepoFile:"<0>Step 1:</0> Create the YUM repo file in the /tmp directory as a normal user",moveFile:"<0>Step 2:</0> Move the new openvino-{{year}}.repo file to the YUM configuration directory <4>{{directory}}</4>",verify:"<0>Step 3:</0> Verify that the new repo is properly set up by running the following command",install:"<0>Step 4:</0> Install OpenVINO Runtime"}},zypper:{steps:{addRepo:"<0>Step 1:</0> Create a ZYPPER repository file with the command below",refresh:"<0>Step 2:</0> Refresh repositories",install:"<0>Step 3:</0> Install OpenVINO"}}},Jh={selectorForm:Yh,frameworks:Qh,distributions:Xh},Zh={translation:Jh,common:Bh,core:Gh},qn={en:Zh,cn:bh},yl="en";if(!(yl in qn))throw new Error(`'${yl}' language is not supported`);fe.use(kh).init({debug:!1,resources:qn,lng:yl,fallbackLng:"en",interpolation:{escapeValue:!1},supportedLngs:Object.keys(qn),returnObjects:!1,returnNull:!1});fe.t;var wl={},Lc={exports:{}},We={},Ac={exports:{}},jc={};/**- * @license React- * scheduler.production.min.js- *- * Copyright (c) Facebook, Inc. and its affiliates.- *- * This source code is licensed under the MIT license found in the- * LICENSE file in the root directory of this source tree.- */(function(e){function t(C,L){var j=C.length;C.push(L);e:for(;0<j;){var V=j-1>>>1,Q=C[V];if(0<i(Q,L))C[V]=L,C[j]=Q,j=V;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var L=C[0],j=C.pop();if(j!==L){C[0]=j;e:for(var V=0,Q=C.length,Pt=Q>>>1;V<Pt;){var ze=2*(V+1)-1,Cn=C[ze],be=ze+1,Et=C[be];if(0>i(Cn,j))be<Q&&0>i(Et,Cn)?(C[V]=Et,C[be]=j,V=be):(C[V]=Cn,C[ze]=j,V=ze);else if(be<Q&&0>i(Et,j))C[V]=Et,C[be]=j,V=be;else break e}}return L}function i(C,L){var j=C.sortIndex-L.sortIndex;return j!==0?j:C.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],p=1,d=null,h=3,g=!1,y=!1,k=!1,_=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(C){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=C)r(u),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(u)}}function w(C){if(k=!1,m(C),!y)if(n(a)!==null)y=!0,mt(O);else{var L=n(u);L!==null&&it(w,L.startTime-C)}}function O(C,L){y=!1,k&&(k=!1,f(E),E=-1),g=!0;var j=h;try{for(m(L),d=n(a);d!==null&&(!(d.expirationTime>L)||C&&!H());){var V=d.callback;if(typeof V=="function"){d.callback=null,h=d.priorityLevel;var Q=V(d.expirationTime<=L);L=e.unstable_now(),typeof Q=="function"?d.callback=Q:d===n(a)&&r(a),m(L)}else r(a);d=n(a)}if(d!==null)var Pt=!0;else{var ze=n(u);ze!==null&&it(w,ze.startTime-L),Pt=!1}return Pt}finally{d=null,h=j,g=!1}}var S=!1,P=null,E=-1,A=5,x=-1;function H(){return!(e.unstable_now()-x<A)}function Te(){if(P!==null){var C=e.unstable_now();x=C;var L=!0;try{L=P(!0,C)}finally{L?Nt():(S=!1,P=null)}}else S=!1}var Nt;if(typeof c=="function")Nt=function(){c(Te)};else if(typeof MessageChannel<"u"){var rt=new MessageChannel,xn=rt.port2;rt.port1.onmessage=Te,Nt=function(){xn.postMessage(null)}}else Nt=function(){_(Te,0)};function mt(C){P=C,S||(S=!0,Nt())}function it(C,L){E=_(function(){C(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){y||g||(y=!0,mt(O))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(C){switch(h){case 1:case 2:case 3:var L=3;break;default:L=h}var j=h;h=L;try{return C()}finally{h=j}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,L){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var j=h;h=C;try{return L()}finally{h=j}},e.unstable_scheduleCallback=function(C,L,j){var V=e.unstable_now();switch(typeof j=="object"&&j!==null?(j=j.delay,j=typeof j=="number"&&0<j?V+j:V):j=V,C){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=j+Q,C={id:p++,callback:L,priorityLevel:C,startTime:j,expirationTime:Q,sortIndex:-1},j>V?(C.sortIndex=j,t(u,C),n(a)===null&&C===n(u)&&(k?(f(E),E=-1):k=!0,it(w,j-V))):(C.sortIndex=Q,t(a,C),y||g||(y=!0,mt(O))),C},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(C){var L=h;return function(){var j=h;h=L;try{return C.apply(this,arguments)}finally{h=j}}}})(jc);Ac.exports=jc;var qh=Ac.exports;/**- * @license React- * react-dom.production.min.js- *- * Copyright (c) Facebook, Inc. and its affiliates.- *- * This source code is licensed under the MIT license found in the- * LICENSE file in the root directory of this source tree.- */var Fc=U,He=qh;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Dc=new Set,Dr={};function On(e,t){er(e,t),er(e+"Capture",t)}function er(e,t){for(Dr[e]=t,e=0;e<t.length;e++)Dc.add(t[e])}var At=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kl=Object.prototype.hasOwnProperty,em=/^[: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]*$/,qa={},eu={};function tm(e){return kl.call(eu,e)?!0:kl.call(qa,e)?!1:em.test(e)?eu[e]=!0:(qa[e]=!0,!1)}function nm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rm(e,t,n,r){if(t===null||typeof t>"u"||nm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ce(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ve={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ve[e]=new Ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ve[t]=new Ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ve[e]=new Ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ve[e]=new Ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ve[e]=new Ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ve[e]=new Ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ve[e]=new Ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ve[e]=new Ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ve[e]=new Ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Os=/[\-:]([a-z])/g;function _s(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Os,_s);ve[t]=new Ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Os,_s);ve[t]=new Ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Os,_s);ve[t]=new Ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ve[e]=new Ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ve.xlinkHref=new Ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ve[e]=new Ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ns(e,t,n,r){var i=ve.hasOwnProperty(t)?ve[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(rm(t,n,i,r)&&(n=null),r||i===null?tm(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Ut=Fc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ui=Symbol.for("react.element"),jn=Symbol.for("react.portal"),Fn=Symbol.for("react.fragment"),Ps=Symbol.for("react.strict_mode"),Sl=Symbol.for("react.profiler"),Uc=Symbol.for("react.provider"),zc=Symbol.for("react.context"),Es=Symbol.for("react.forward_ref"),Ol=Symbol.for("react.suspense"),_l=Symbol.for("react.suspense_list"),xs=Symbol.for("react.memo"),$t=Symbol.for("react.lazy"),bc=Symbol.for("react.offscreen"),tu=Symbol.iterator;function pr(e){return e===null||typeof e!="object"?null:(e=tu&&e[tu]||e["@@iterator"],typeof e=="function"?e:null)}var Z=Object.assign,Vo;function _r(e){if(Vo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Vo=t&&t[1]||""}return`-`+Vo+e}var $o=!1;function Mo(e,t){if(!e||$o)return"";$o=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`-`),o=r.stack.split(`-`),l=i.length-1,s=o.length-1;1<=l&&0<=s&&i[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(i[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||i[l]!==o[s]){var a=`-`+i[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{$o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_r(e):""}function im(e){switch(e.tag){case 5:return _r(e.type);case 16:return _r("Lazy");case 13:return _r("Suspense");case 19:return _r("SuspenseList");case 0:case 2:case 15:return e=Mo(e.type,!1),e;case 11:return e=Mo(e.type.render,!1),e;case 1:return e=Mo(e.type,!0),e;default:return""}}function Nl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Fn:return"Fragment";case jn:return"Portal";case Sl:return"Profiler";case Ps:return"StrictMode";case Ol:return"Suspense";case _l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zc:return(e.displayName||"Context")+".Consumer";case Uc:return(e._context.displayName||"Context")+".Provider";case Es:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xs:return t=e.displayName||null,t!==null?t:Nl(e.type)||"Memo";case $t:t=e._payload,e=e._init;try{return Nl(e(t))}catch{}}return null}function om(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Nl(t);case 8:return t===Ps?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function rn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lm(e){var t=Vc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ci(e){e._valueTracker||(e._valueTracker=lm(e))}function $c(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Vc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Pl(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=rn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Mc(e,t){t=t.checked,t!=null&&Ns(e,"checked",t,!1)}function El(e,t){Mc(e,t);var n=rn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?xl(e,t.type,n):t.hasOwnProperty("defaultValue")&&xl(e,t.type,rn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ru(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function xl(e,t,n){(t!=="number"||Mi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nr=Array.isArray;function Wn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+rn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Cl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(N(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function iu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(N(92));if(Nr(n)){if(1<n.length)throw Error(N(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:rn(n)}}function Bc(e,t){var n=rn(t.value),r=rn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ou(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Kc(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Il(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Kc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var di,Hc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(di=di||document.createElement("div"),di.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=di.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ur(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xr={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},sm=["Webkit","ms","Moz","O"];Object.keys(xr).forEach(function(e){sm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xr[t]=xr[e]})});function Wc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xr.hasOwnProperty(e)&&xr[e]?(""+t).trim():t+"px"}function Gc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Wc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var am=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Tl(e,t){if(t){if(am[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function Rl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ll=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Al=null,Gn=null,Yn=null;function lu(e){if(e=ri(e)){if(typeof Al!="function")throw Error(N(280));var t=e.stateNode;t&&(t=ko(t),Al(e.stateNode,e.type,t))}}function Yc(e){Gn?Yn?Yn.push(e):Yn=[e]:Gn=e}function Qc(){if(Gn){var e=Gn,t=Yn;if(Yn=Gn=null,lu(e),t)for(e=0;e<t.length;e++)lu(t[e])}}function Xc(e,t){return e(t)}function Jc(){}var Bo=!1;function Zc(e,t,n){if(Bo)return e(t,n);Bo=!0;try{return Xc(e,t,n)}finally{Bo=!1,(Gn!==null||Yn!==null)&&(Jc(),Qc())}}function zr(e,t){var n=e.stateNode;if(n===null)return null;var r=ko(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(N(231,t,typeof n));return n}var jl=!1;if(At)try{var hr={};Object.defineProperty(hr,"passive",{get:function(){jl=!0}}),window.addEventListener("test",hr,hr),window.removeEventListener("test",hr,hr)}catch{jl=!1}function um(e,t,n,r,i,o,l,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(p){this.onError(p)}}var Cr=!1,Bi=null,Ki=!1,Fl=null,cm={onError:function(e){Cr=!0,Bi=e}};function dm(e,t,n,r,i,o,l,s,a){Cr=!1,Bi=null,um.apply(cm,arguments)}function fm(e,t,n,r,i,o,l,s,a){if(dm.apply(this,arguments),Cr){if(Cr){var u=Bi;Cr=!1,Bi=null}else throw Error(N(198));Ki||(Ki=!0,Fl=u)}}function _n(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function qc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function su(e){if(_n(e)!==e)throw Error(N(188))}function pm(e){var t=e.alternate;if(!t){if(t=_n(e),t===null)throw Error(N(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return su(i),e;if(o===r)return su(i),t;o=o.sibling}throw Error(N(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l)throw Error(N(189))}}if(n.alternate!==r)throw Error(N(190))}if(n.tag!==3)throw Error(N(188));return n.stateNode.current===n?e:t}function ed(e){return e=pm(e),e!==null?td(e):null}function td(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=td(e);if(t!==null)return t;e=e.sibling}return null}var nd=He.unstable_scheduleCallback,au=He.unstable_cancelCallback,hm=He.unstable_shouldYield,mm=He.unstable_requestPaint,re=He.unstable_now,gm=He.unstable_getCurrentPriorityLevel,Is=He.unstable_ImmediatePriority,rd=He.unstable_UserBlockingPriority,Hi=He.unstable_NormalPriority,vm=He.unstable_LowPriority,id=He.unstable_IdlePriority,go=null,St=null;function ym(e){if(St&&typeof St.onCommitFiberRoot=="function")try{St.onCommitFiberRoot(go,e,void 0,(e.current.flags&128)===128)}catch{}}var ct=Math.clz32?Math.clz32:Sm,wm=Math.log,km=Math.LN2;function Sm(e){return e>>>=0,e===0?32:31-(wm(e)/km|0)|0}var fi=64,pi=4194304;function Pr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Wi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=Pr(s):(o&=l,o!==0&&(r=Pr(o)))}else l=n&~i,l!==0?r=Pr(l):o!==0&&(r=Pr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ct(t),i=1<<n,r|=e[n],t&=~i;return r}function Om(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function _m(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-ct(o),s=1<<l,a=i[l];a===-1?(!(s&n)||s&r)&&(i[l]=Om(s,t)):a<=t&&(e.expiredLanes|=s),o&=~s}}function Dl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function od(){var e=fi;return fi<<=1,!(fi&4194240)&&(fi=64),e}function Ko(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ti(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=n}function Nm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ct(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Ts(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ct(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var M=0;function ld(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var sd,Rs,ad,ud,cd,Ul=!1,hi=[],Yt=null,Qt=null,Xt=null,br=new Map,Vr=new Map,Bt=[],Pm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function uu(e,t){switch(e){case"focusin":case"focusout":Yt=null;break;case"dragenter":case"dragleave":Qt=null;break;case"mouseover":case"mouseout":Xt=null;break;case"pointerover":case"pointerout":br.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vr.delete(t.pointerId)}}function mr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=ri(t),t!==null&&Rs(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Em(e,t,n,r,i){switch(t){case"focusin":return Yt=mr(Yt,e,t,n,r,i),!0;case"dragenter":return Qt=mr(Qt,e,t,n,r,i),!0;case"mouseover":return Xt=mr(Xt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return br.set(o,mr(br.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Vr.set(o,mr(Vr.get(o)||null,e,t,n,r,i)),!0}return!1}function dd(e){var t=fn(e.target);if(t!==null){var n=_n(t);if(n!==null){if(t=n.tag,t===13){if(t=qc(n),t!==null){e.blockedOn=t,cd(e.priority,function(){ad(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ii(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=zl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ll=r,n.target.dispatchEvent(r),Ll=null}else return t=ri(n),t!==null&&Rs(t),e.blockedOn=n,!1;t.shift()}return!0}function cu(e,t,n){Ii(e)&&n.delete(t)}function xm(){Ul=!1,Yt!==null&&Ii(Yt)&&(Yt=null),Qt!==null&&Ii(Qt)&&(Qt=null),Xt!==null&&Ii(Xt)&&(Xt=null),br.forEach(cu),Vr.forEach(cu)}function gr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ul||(Ul=!0,He.unstable_scheduleCallback(He.unstable_NormalPriority,xm)))}function $r(e){function t(i){return gr(i,e)}if(0<hi.length){gr(hi[0],e);for(var n=1;n<hi.length;n++){var r=hi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yt!==null&&gr(Yt,e),Qt!==null&&gr(Qt,e),Xt!==null&&gr(Xt,e),br.forEach(t),Vr.forEach(t),n=0;n<Bt.length;n++)r=Bt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Bt.length&&(n=Bt[0],n.blockedOn===null);)dd(n),n.blockedOn===null&&Bt.shift()}var Qn=Ut.ReactCurrentBatchConfig,Gi=!0;function Cm(e,t,n,r){var i=M,o=Qn.transition;Qn.transition=null;try{M=1,Ls(e,t,n,r)}finally{M=i,Qn.transition=o}}function Im(e,t,n,r){var i=M,o=Qn.transition;Qn.transition=null;try{M=4,Ls(e,t,n,r)}finally{M=i,Qn.transition=o}}function Ls(e,t,n,r){if(Gi){var i=zl(e,t,n,r);if(i===null)el(e,t,r,Yi,n),uu(e,r);else if(Em(i,e,t,n,r))r.stopPropagation();else if(uu(e,r),t&4&&-1<Pm.indexOf(e)){for(;i!==null;){var o=ri(i);if(o!==null&&sd(o),o=zl(e,t,n,r),o===null&&el(e,t,r,Yi,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else el(e,t,r,null,n)}}var Yi=null;function zl(e,t,n,r){if(Yi=null,e=Cs(r),e=fn(e),e!==null)if(t=_n(e),t===null)e=null;else if(n=t.tag,n===13){if(e=qc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yi=e,null}function fd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(gm()){case Is:return 1;case rd:return 4;case Hi:case vm:return 16;case id:return 536870912;default:return 16}default:return 16}}var Ht=null,As=null,Ti=null;function pd(){if(Ti)return Ti;var e,t=As,n=t.length,r,i="value"in Ht?Ht.value:Ht.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return Ti=i.slice(e,1<r?1-r:void 0)}function Ri(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function mi(){return!0}function du(){return!1}function Ge(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?mi:du,this.isPropagationStopped=du,this}return Z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=mi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=mi)},persist:function(){},isPersistent:mi}),t}var ar={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},js=Ge(ar),ni=Z({},ar,{view:0,detail:0}),Tm=Ge(ni),Ho,Wo,vr,vo=Z({},ni,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==vr&&(vr&&e.type==="mousemove"?(Ho=e.screenX-vr.screenX,Wo=e.screenY-vr.screenY):Wo=Ho=0,vr=e),Ho)},movementY:function(e){return"movementY"in e?e.movementY:Wo}}),fu=Ge(vo),Rm=Z({},vo,{dataTransfer:0}),Lm=Ge(Rm),Am=Z({},ni,{relatedTarget:0}),Go=Ge(Am),jm=Z({},ar,{animationName:0,elapsedTime:0,pseudoElement:0}),Fm=Ge(jm),Dm=Z({},ar,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Um=Ge(Dm),zm=Z({},ar,{data:0}),pu=Ge(zm),bm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$m={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$m[e])?!!t[e]:!1}function Fs(){return Mm}var Bm=Z({},ni,{key:function(e){if(e.key){var t=bm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ri(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fs,charCode:function(e){return e.type==="keypress"?Ri(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ri(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Km=Ge(Bm),Hm=Z({},vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hu=Ge(Hm),Wm=Z({},ni,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fs}),Gm=Ge(Wm),Ym=Z({},ar,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qm=Ge(Ym),Xm=Z({},vo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Jm=Ge(Xm),Zm=[9,13,27,32],Ds=At&&"CompositionEvent"in window,Ir=null;At&&"documentMode"in document&&(Ir=document.documentMode);var qm=At&&"TextEvent"in window&&!Ir,hd=At&&(!Ds||Ir&&8<Ir&&11>=Ir),mu=String.fromCharCode(32),gu=!1;function md(e,t){switch(e){case"keyup":return Zm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function eg(e,t){switch(e){case"compositionend":return gd(t);case"keypress":return t.which!==32?null:(gu=!0,mu);case"textInput":return e=t.data,e===mu&&gu?null:e;default:return null}}function tg(e,t){if(Dn)return e==="compositionend"||!Ds&&md(e,t)?(e=pd(),Ti=As=Ht=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return hd&&t.locale!=="ko"?null:t.data;default:return null}}var ng={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 vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ng[e.type]:t==="textarea"}function vd(e,t,n,r){Yc(r),t=Qi(t,"onChange"),0<t.length&&(n=new js("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Tr=null,Mr=null;function rg(e){Cd(e,0)}function yo(e){var t=bn(e);if($c(t))return e}function ig(e,t){if(e==="change")return t}var yd=!1;if(At){var Yo;if(At){var Qo="oninput"in document;if(!Qo){var yu=document.createElement("div");yu.setAttribute("oninput","return;"),Qo=typeof yu.oninput=="function"}Yo=Qo}else Yo=!1;yd=Yo&&(!document.documentMode||9<document.documentMode)}function wu(){Tr&&(Tr.detachEvent("onpropertychange",wd),Mr=Tr=null)}function wd(e){if(e.propertyName==="value"&&yo(Mr)){var t=[];vd(t,Mr,e,Cs(e)),Zc(rg,t)}}function og(e,t,n){e==="focusin"?(wu(),Tr=t,Mr=n,Tr.attachEvent("onpropertychange",wd)):e==="focusout"&&wu()}function lg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return yo(Mr)}function sg(e,t){if(e==="click")return yo(t)}function ag(e,t){if(e==="input"||e==="change")return yo(t)}function ug(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ft=typeof Object.is=="function"?Object.is:ug;function Br(e,t){if(ft(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!kl.call(t,i)||!ft(e[i],t[i]))return!1}return!0}function ku(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Su(e,t){var n=ku(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ku(n)}}function kd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?kd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sd(){for(var e=window,t=Mi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mi(e.document)}return t}function Us(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cg(e){var t=Sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&kd(n.ownerDocument.documentElement,n)){if(r!==null&&Us(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Su(n,o);var l=Su(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dg=At&&"documentMode"in document&&11>=document.documentMode,Un=null,bl=null,Rr=null,Vl=!1;function Ou(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vl||Un==null||Un!==Mi(r)||(r=Un,"selectionStart"in r&&Us(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rr&&Br(Rr,r)||(Rr=r,r=Qi(bl,"onSelect"),0<r.length&&(t=new js("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Un)))}function gi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var zn={animationend:gi("Animation","AnimationEnd"),animationiteration:gi("Animation","AnimationIteration"),animationstart:gi("Animation","AnimationStart"),transitionend:gi("Transition","TransitionEnd")},Xo={},Od={};At&&(Od=document.createElement("div").style,"AnimationEvent"in window||(delete zn.animationend.animation,delete zn.animationiteration.animation,delete zn.animationstart.animation),"TransitionEvent"in window||delete zn.transitionend.transition);function wo(e){if(Xo[e])return Xo[e];if(!zn[e])return e;var t=zn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Od)return Xo[e]=t[n];return e}var _d=wo("animationend"),Nd=wo("animationiteration"),Pd=wo("animationstart"),Ed=wo("transitionend"),xd=new Map,_u="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ln(e,t){xd.set(e,t),On(t,[e])}for(var Jo=0;Jo<_u.length;Jo++){var Zo=_u[Jo],fg=Zo.toLowerCase(),pg=Zo[0].toUpperCase()+Zo.slice(1);ln(fg,"on"+pg)}ln(_d,"onAnimationEnd");ln(Nd,"onAnimationIteration");ln(Pd,"onAnimationStart");ln("dblclick","onDoubleClick");ln("focusin","onFocus");ln("focusout","onBlur");ln(Ed,"onTransitionEnd");er("onMouseEnter",["mouseout","mouseover"]);er("onMouseLeave",["mouseout","mouseover"]);er("onPointerEnter",["pointerout","pointerover"]);er("onPointerLeave",["pointerout","pointerover"]);On("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));On("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));On("onBeforeInput",["compositionend","keypress","textInput","paste"]);On("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));On("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));On("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Er="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),hg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Er));function Nu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,fm(r,t,void 0,e),e.currentTarget=null}function Cd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var s=r[l],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==o&&i.isPropagationStopped())break e;Nu(i,s,u),o=a}else for(l=0;l<r.length;l++){if(s=r[l],a=s.instance,u=s.currentTarget,s=s.listener,a!==o&&i.isPropagationStopped())break e;Nu(i,s,u),o=a}}}if(Ki)throw e=Fl,Ki=!1,Fl=null,e}function W(e,t){var n=t[Hl];n===void 0&&(n=t[Hl]=new Set);var r=e+"__bubble";n.has(r)||(Id(t,e,2,!1),n.add(r))}function qo(e,t,n){var r=0;t&&(r|=4),Id(n,e,r,t)}var vi="_reactListening"+Math.random().toString(36).slice(2);function Kr(e){if(!e[vi]){e[vi]=!0,Dc.forEach(function(n){n!=="selectionchange"&&(hg.has(n)||qo(n,!1,e),qo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vi]||(t[vi]=!0,qo("selectionchange",!1,t))}}function Id(e,t,n,r){switch(fd(t)){case 1:var i=Cm;break;case 4:i=Im;break;default:i=Ls}n=i.bind(null,t,n,e),i=void 0,!jl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function el(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;l=l.return}for(;s!==null;){if(l=fn(s),l===null)return;if(a=l.tag,a===5||a===6){r=o=l;continue e}s=s.parentNode}}r=r.return}Zc(function(){var u=o,p=Cs(n),d=[];e:{var h=xd.get(e);if(h!==void 0){var g=js,y=e;switch(e){case"keypress":if(Ri(n)===0)break e;case"keydown":case"keyup":g=Km;break;case"focusin":y="focus",g=Go;break;case"focusout":y="blur",g=Go;break;case"beforeblur":case"afterblur":g=Go;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=fu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Lm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Gm;break;case _d:case Nd:case Pd:g=Fm;break;case Ed:g=Qm;break;case"scroll":g=Tm;break;case"wheel":g=Jm;break;case"copy":case"cut":case"paste":g=Um;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=hu}var k=(t&4)!==0,_=!k&&e==="scroll",f=k?h!==null?h+"Capture":null:h;k=[];for(var c=u,m;c!==null;){m=c;var w=m.stateNode;if(m.tag===5&&w!==null&&(m=w,f!==null&&(w=zr(c,f),w!=null&&k.push(Hr(c,w,m)))),_)break;c=c.return}0<k.length&&(h=new g(h,y,null,n,p),d.push({event:h,listeners:k}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",h&&n!==Ll&&(y=n.relatedTarget||n.fromElement)&&(fn(y)||y[jt]))break e;if((g||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,g?(y=n.relatedTarget||n.toElement,g=u,y=y?fn(y):null,y!==null&&(_=_n(y),y!==_||y.tag!==5&&y.tag!==6)&&(y=null)):(g=null,y=u),g!==y)){if(k=fu,w="onMouseLeave",f="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(k=hu,w="onPointerLeave",f="onPointerEnter",c="pointer"),_=g==null?h:bn(g),m=y==null?h:bn(y),h=new k(w,c+"leave",g,n,p),h.target=_,h.relatedTarget=m,w=null,fn(p)===u&&(k=new k(f,c+"enter",y,n,p),k.target=m,k.relatedTarget=_,w=k),_=w,g&&y)t:{for(k=g,f=y,c=0,m=k;m;m=Ln(m))c++;for(m=0,w=f;w;w=Ln(w))m++;for(;0<c-m;)k=Ln(k),c--;for(;0<m-c;)f=Ln(f),m--;for(;c--;){if(k===f||f!==null&&k===f.alternate)break t;k=Ln(k),f=Ln(f)}k=null}else k=null;g!==null&&Pu(d,h,g,k,!1),y!==null&&_!==null&&Pu(d,_,y,k,!0)}}e:{if(h=u?bn(u):window,g=h.nodeName&&h.nodeName.toLowerCase(),g==="select"||g==="input"&&h.type==="file")var O=ig;else if(vu(h))if(yd)O=ag;else{O=lg;var S=og}else(g=h.nodeName)&&g.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(O=sg);if(O&&(O=O(e,u))){vd(d,O,n,p);break e}S&&S(e,h,u),e==="focusout"&&(S=h._wrapperState)&&S.controlled&&h.type==="number"&&xl(h,"number",h.value)}switch(S=u?bn(u):window,e){case"focusin":(vu(S)||S.contentEditable==="true")&&(Un=S,bl=u,Rr=null);break;case"focusout":Rr=bl=Un=null;break;case"mousedown":Vl=!0;break;case"contextmenu":case"mouseup":case"dragend":Vl=!1,Ou(d,n,p);break;case"selectionchange":if(dg)break;case"keydown":case"keyup":Ou(d,n,p)}var P;if(Ds)e:{switch(e){case"compositionstart":var E="onCompositionStart";break e;case"compositionend":E="onCompositionEnd";break e;case"compositionupdate":E="onCompositionUpdate";break e}E=void 0}else Dn?md(e,n)&&(E="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(E="onCompositionStart");E&&(hd&&n.locale!=="ko"&&(Dn||E!=="onCompositionStart"?E==="onCompositionEnd"&&Dn&&(P=pd()):(Ht=p,As="value"in Ht?Ht.value:Ht.textContent,Dn=!0)),S=Qi(u,E),0<S.length&&(E=new pu(E,e,null,n,p),d.push({event:E,listeners:S}),P?E.data=P:(P=gd(n),P!==null&&(E.data=P)))),(P=qm?eg(e,n):tg(e,n))&&(u=Qi(u,"onBeforeInput"),0<u.length&&(p=new pu("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:u}),p.data=P))}Cd(d,t)})}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qi(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=zr(e,n),o!=null&&r.unshift(Hr(e,o,i)),o=zr(e,t),o!=null&&r.push(Hr(e,o,i))),e=e.return}return r}function Ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pu(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,i?(a=zr(n,o),a!=null&&l.unshift(Hr(n,a,s))):i||(a=zr(n,o),a!=null&&l.push(Hr(n,a,s)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var mg=/\r\n?/g,gg=/\u0000|\uFFFD/g;function Eu(e){return(typeof e=="string"?e:""+e).replace(mg,`-`).replace(gg,"")}function yi(e,t,n){if(t=Eu(t),Eu(e)!==t&&n)throw Error(N(425))}function Xi(){}var $l=null,Ml=null;function Bl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Kl=typeof setTimeout=="function"?setTimeout:void 0,vg=typeof clearTimeout=="function"?clearTimeout:void 0,xu=typeof Promise=="function"?Promise:void 0,yg=typeof queueMicrotask=="function"?queueMicrotask:typeof xu<"u"?function(e){return xu.resolve(null).then(e).catch(wg)}:Kl;function wg(e){setTimeout(function(){throw e})}function tl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),$r(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);$r(t)}function Jt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Cu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var ur=Math.random().toString(36).slice(2),wt="__reactFiber$"+ur,Wr="__reactProps$"+ur,jt="__reactContainer$"+ur,Hl="__reactEvents$"+ur,kg="__reactListeners$"+ur,Sg="__reactHandles$"+ur;function fn(e){var t=e[wt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[jt]||n[wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cu(e);e!==null;){if(n=e[wt])return n;e=Cu(e)}return t}e=n,n=e.parentNode}return null}function ri(e){return e=e[wt]||e[jt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function bn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(N(33))}function ko(e){return e[Wr]||null}var Wl=[],Vn=-1;function sn(e){return{current:e}}function G(e){0>Vn||(e.current=Wl[Vn],Wl[Vn]=null,Vn--)}function K(e,t){Vn++,Wl[Vn]=e.current,e.current=t}var on={},Se=sn(on),je=sn(!1),vn=on;function tr(e,t){var n=e.type.contextTypes;if(!n)return on;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Fe(e){return e=e.childContextTypes,e!=null}function Ji(){G(je),G(Se)}function Iu(e,t,n){if(Se.current!==on)throw Error(N(168));K(Se,t),K(je,n)}function Td(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(N(108,om(e)||"Unknown",i));return Z({},n,r)}function Zi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||on,vn=Se.current,K(Se,e),K(je,je.current),!0}function Tu(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Td(e,t,vn),r.__reactInternalMemoizedMergedChildContext=e,G(je),G(Se),K(Se,e)):G(je),K(je,n)}var It=null,So=!1,nl=!1;function Rd(e){It===null?It=[e]:It.push(e)}function Og(e){So=!0,Rd(e)}function an(){if(!nl&&It!==null){nl=!0;var e=0,t=M;try{var n=It;for(M=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}It=null,So=!1}catch(i){throw It!==null&&(It=It.slice(e+1)),nd(Is,an),i}finally{M=t,nl=!1}}return null}var $n=[],Mn=0,qi=null,eo=0,Qe=[],Xe=0,yn=null,Tt=1,Rt="";function un(e,t){$n[Mn++]=eo,$n[Mn++]=qi,qi=e,eo=t}function Ld(e,t,n){Qe[Xe++]=Tt,Qe[Xe++]=Rt,Qe[Xe++]=yn,yn=e;var r=Tt;e=Rt;var i=32-ct(r)-1;r&=~(1<<i),n+=1;var o=32-ct(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,Tt=1<<32-ct(t)+i|n<<i|r,Rt=o+e}else Tt=1<<o|n<<i|r,Rt=e}function zs(e){e.return!==null&&(un(e,1),Ld(e,1,0))}function bs(e){for(;e===qi;)qi=$n[--Mn],$n[Mn]=null,eo=$n[--Mn],$n[Mn]=null;for(;e===yn;)yn=Qe[--Xe],Qe[Xe]=null,Rt=Qe[--Xe],Qe[Xe]=null,Tt=Qe[--Xe],Qe[Xe]=null}var Ke=null,Be=null,Y=!1,ut=null;function Ad(e,t){var n=Je(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ru(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ke=e,Be=Jt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ke=e,Be=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=yn!==null?{id:Tt,overflow:Rt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Je(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ke=e,Be=null,!0):!1;default:return!1}}function Gl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Yl(e){if(Y){var t=Be;if(t){var n=t;if(!Ru(e,t)){if(Gl(e))throw Error(N(418));t=Jt(n.nextSibling);var r=Ke;t&&Ru(e,t)?Ad(r,n):(e.flags=e.flags&-4097|2,Y=!1,Ke=e)}}else{if(Gl(e))throw Error(N(418));e.flags=e.flags&-4097|2,Y=!1,Ke=e}}}function Lu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ke=e}function wi(e){if(e!==Ke)return!1;if(!Y)return Lu(e),Y=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Bl(e.type,e.memoizedProps)),t&&(t=Be)){if(Gl(e))throw jd(),Error(N(418));for(;t;)Ad(e,t),t=Jt(t.nextSibling)}if(Lu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(N(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Be=Jt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Be=null}}else Be=Ke?Jt(e.stateNode.nextSibling):null;return!0}function jd(){for(var e=Be;e;)e=Jt(e.nextSibling)}function nr(){Be=Ke=null,Y=!1}function Vs(e){ut===null?ut=[e]:ut.push(e)}var _g=Ut.ReactCurrentBatchConfig;function st(e,t){if(e&&e.defaultProps){t=Z({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var to=sn(null),no=null,Bn=null,$s=null;function Ms(){$s=Bn=no=null}function Bs(e){var t=to.current;G(to),e._currentValue=t}function Ql(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Xn(e,t){no=e,$s=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ae=!0),e.firstContext=null)}function et(e){var t=e._currentValue;if($s!==e)if(e={context:e,memoizedValue:t,next:null},Bn===null){if(no===null)throw Error(N(308));Bn=e,no.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return t}var pn=null;function Ks(e){pn===null?pn=[e]:pn.push(e)}function Fd(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ks(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ft(e,r)}function Ft(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mt=!1;function Hs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Dd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Lt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ft(e,n)}return i=r.interleaved,i===null?(t.next=t,Ks(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ft(e,n)}function Li(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ts(e,n)}}function Au(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ro(e,t,n,r){var i=e.updateQueue;Mt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?o=u:l.next=u,l=a;var p=e.alternate;p!==null&&(p=p.updateQueue,s=p.lastBaseUpdate,s!==l&&(s===null?p.firstBaseUpdate=u:s.next=u,p.lastBaseUpdate=a))}if(o!==null){var d=i.baseState;l=0,p=u=a=null,s=o;do{var h=s.lane,g=s.eventTime;if((r&h)===h){p!==null&&(p=p.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,k=s;switch(h=t,g=n,k.tag){case 1:if(y=k.payload,typeof y=="function"){d=y.call(g,d,h);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=k.payload,h=typeof y=="function"?y.call(g,d,h):y,h==null)break e;d=Z({},d,h);break e;case 2:Mt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[s]:h.push(s))}else g={eventTime:g,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},p===null?(u=p=g,a=d):p=p.next=g,l|=h;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;h=s,s=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(1);if(p===null&&(a=d),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=p,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);kn|=l,e.lanes=l,e.memoizedState=d}}function ju(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(N(191,i));i.call(r)}}}var Ud=new Fc.Component().refs;function Xl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Z({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Oo={isMounted:function(e){return(e=e._reactInternals)?_n(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=en(e),o=Lt(r,i);o.payload=t,n!=null&&(o.callback=n),t=Zt(e,o,i),t!==null&&(dt(t,e,i,r),Li(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Pe(),i=en(e),o=Lt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Zt(e,o,i),t!==null&&(dt(t,e,i,r),Li(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Pe(),r=en(e),i=Lt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Zt(e,i,r),t!==null&&(dt(t,e,r,n),Li(t,e,r))}};function Fu(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!Br(n,r)||!Br(i,o):!0}function zd(e,t,n){var r=!1,i=on,o=t.contextType;return typeof o=="object"&&o!==null?o=et(o):(i=Fe(t)?vn:Se.current,r=t.contextTypes,o=(r=r!=null)?tr(e,i):on),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Oo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Du(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Oo.enqueueReplaceState(t,t.state,null)}function Jl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ud,Hs(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=et(o):(o=Fe(t)?vn:Se.current,i.context=tr(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Xl(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Oo.enqueueReplaceState(i,i.state,null),ro(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function yr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(N(309));var r=n.stateNode}if(!r)throw Error(N(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var s=i.refs;s===Ud&&(s=i.refs={}),l===null?delete s[o]:s[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(N(284));if(!n._owner)throw Error(N(290,e))}return e}function ki(e,t){throw e=Object.prototype.toString.call(t),Error(N(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Uu(e){var t=e._init;return t(e._payload)}function bd(e){function t(f,c){if(e){var m=f.deletions;m===null?(f.deletions=[c],f.flags|=16):m.push(c)}}function n(f,c){if(!e)return null;for(;c!==null;)t(f,c),c=c.sibling;return null}function r(f,c){for(f=new Map;c!==null;)c.key!==null?f.set(c.key,c):f.set(c.index,c),c=c.sibling;return f}function i(f,c){return f=tn(f,c),f.index=0,f.sibling=null,f}function o(f,c,m){return f.index=m,e?(m=f.alternate,m!==null?(m=m.index,m<c?(f.flags|=2,c):m):(f.flags|=2,c)):(f.flags|=1048576,c)}function l(f){return e&&f.alternate===null&&(f.flags|=2),f}function s(f,c,m,w){return c===null||c.tag!==6?(c=ul(m,f.mode,w),c.return=f,c):(c=i(c,m),c.return=f,c)}function a(f,c,m,w){var O=m.type;return O===Fn?p(f,c,m.props.children,w,m.key):c!==null&&(c.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===$t&&Uu(O)===c.type)?(w=i(c,m.props),w.ref=yr(f,c,m),w.return=f,w):(w=zi(m.type,m.key,m.props,null,f.mode,w),w.ref=yr(f,c,m),w.return=f,w)}function u(f,c,m,w){return c===null||c.tag!==4||c.stateNode.containerInfo!==m.containerInfo||c.stateNode.implementation!==m.implementation?(c=cl(m,f.mode,w),c.return=f,c):(c=i(c,m.children||[]),c.return=f,c)}function p(f,c,m,w,O){return c===null||c.tag!==7?(c=gn(m,f.mode,w,O),c.return=f,c):(c=i(c,m),c.return=f,c)}function d(f,c,m){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ul(""+c,f.mode,m),c.return=f,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case ui:return m=zi(c.type,c.key,c.props,null,f.mode,m),m.ref=yr(f,null,c),m.return=f,m;case jn:return c=cl(c,f.mode,m),c.return=f,c;case $t:var w=c._init;return d(f,w(c._payload),m)}if(Nr(c)||pr(c))return c=gn(c,f.mode,m,null),c.return=f,c;ki(f,c)}return null}function h(f,c,m,w){var O=c!==null?c.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return O!==null?null:s(f,c,""+m,w);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ui:return m.key===O?a(f,c,m,w):null;case jn:return m.key===O?u(f,c,m,w):null;case $t:return O=m._init,h(f,c,O(m._payload),w)}if(Nr(m)||pr(m))return O!==null?null:p(f,c,m,w,null);ki(f,m)}return null}function g(f,c,m,w,O){if(typeof w=="string"&&w!==""||typeof w=="number")return f=f.get(m)||null,s(c,f,""+w,O);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case ui:return f=f.get(w.key===null?m:w.key)||null,a(c,f,w,O);case jn:return f=f.get(w.key===null?m:w.key)||null,u(c,f,w,O);case $t:var S=w._init;return g(f,c,m,S(w._payload),O)}if(Nr(w)||pr(w))return f=f.get(m)||null,p(c,f,w,O,null);ki(c,w)}return null}function y(f,c,m,w){for(var O=null,S=null,P=c,E=c=0,A=null;P!==null&&E<m.length;E++){P.index>E?(A=P,P=null):A=P.sibling;var x=h(f,P,m[E],w);if(x===null){P===null&&(P=A);break}e&&P&&x.alternate===null&&t(f,P),c=o(x,c,E),S===null?O=x:S.sibling=x,S=x,P=A}if(E===m.length)return n(f,P),Y&&un(f,E),O;if(P===null){for(;E<m.length;E++)P=d(f,m[E],w),P!==null&&(c=o(P,c,E),S===null?O=P:S.sibling=P,S=P);return Y&&un(f,E),O}for(P=r(f,P);E<m.length;E++)A=g(P,f,E,m[E],w),A!==null&&(e&&A.alternate!==null&&P.delete(A.key===null?E:A.key),c=o(A,c,E),S===null?O=A:S.sibling=A,S=A);return e&&P.forEach(function(H){return t(f,H)}),Y&&un(f,E),O}function k(f,c,m,w){var O=pr(m);if(typeof O!="function")throw Error(N(150));if(m=O.call(m),m==null)throw Error(N(151));for(var S=O=null,P=c,E=c=0,A=null,x=m.next();P!==null&&!x.done;E++,x=m.next()){P.index>E?(A=P,P=null):A=P.sibling;var H=h(f,P,x.value,w);if(H===null){P===null&&(P=A);break}e&&P&&H.alternate===null&&t(f,P),c=o(H,c,E),S===null?O=H:S.sibling=H,S=H,P=A}if(x.done)return n(f,P),Y&&un(f,E),O;if(P===null){for(;!x.done;E++,x=m.next())x=d(f,x.value,w),x!==null&&(c=o(x,c,E),S===null?O=x:S.sibling=x,S=x);return Y&&un(f,E),O}for(P=r(f,P);!x.done;E++,x=m.next())x=g(P,f,E,x.value,w),x!==null&&(e&&x.alternate!==null&&P.delete(x.key===null?E:x.key),c=o(x,c,E),S===null?O=x:S.sibling=x,S=x);return e&&P.forEach(function(Te){return t(f,Te)}),Y&&un(f,E),O}function _(f,c,m,w){if(typeof m=="object"&&m!==null&&m.type===Fn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ui:e:{for(var O=m.key,S=c;S!==null;){if(S.key===O){if(O=m.type,O===Fn){if(S.tag===7){n(f,S.sibling),c=i(S,m.props.children),c.return=f,f=c;break e}}else if(S.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===$t&&Uu(O)===S.type){n(f,S.sibling),c=i(S,m.props),c.ref=yr(f,S,m),c.return=f,f=c;break e}n(f,S);break}else t(f,S);S=S.sibling}m.type===Fn?(c=gn(m.props.children,f.mode,w,m.key),c.return=f,f=c):(w=zi(m.type,m.key,m.props,null,f.mode,w),w.ref=yr(f,c,m),w.return=f,f=w)}return l(f);case jn:e:{for(S=m.key;c!==null;){if(c.key===S)if(c.tag===4&&c.stateNode.containerInfo===m.containerInfo&&c.stateNode.implementation===m.implementation){n(f,c.sibling),c=i(c,m.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=cl(m,f.mode,w),c.return=f,f=c}return l(f);case $t:return S=m._init,_(f,c,S(m._payload),w)}if(Nr(m))return y(f,c,m,w);if(pr(m))return k(f,c,m,w);ki(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,c!==null&&c.tag===6?(n(f,c.sibling),c=i(c,m),c.return=f,f=c):(n(f,c),c=ul(m,f.mode,w),c.return=f,f=c),l(f)):n(f,c)}return _}var rr=bd(!0),Vd=bd(!1),ii={},Ot=sn(ii),Gr=sn(ii),Yr=sn(ii);function hn(e){if(e===ii)throw Error(N(174));return e}function Ws(e,t){switch(K(Yr,t),K(Gr,e),K(Ot,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Il(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Il(t,e)}G(Ot),K(Ot,t)}function ir(){G(Ot),G(Gr),G(Yr)}function $d(e){hn(Yr.current);var t=hn(Ot.current),n=Il(t,e.type);t!==n&&(K(Gr,e),K(Ot,n))}function Gs(e){Gr.current===e&&(G(Ot),G(Gr))}var X=sn(0);function io(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var rl=[];function Ys(){for(var e=0;e<rl.length;e++)rl[e]._workInProgressVersionPrimary=null;rl.length=0}var Ai=Ut.ReactCurrentDispatcher,il=Ut.ReactCurrentBatchConfig,wn=0,J=null,ae=null,ce=null,oo=!1,Lr=!1,Qr=0,Ng=0;function ye(){throw Error(N(321))}function Qs(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ft(e[n],t[n]))return!1;return!0}function Xs(e,t,n,r,i,o){if(wn=o,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ai.current=e===null||e.memoizedState===null?Cg:Ig,e=n(r,i),Lr){o=0;do{if(Lr=!1,Qr=0,25<=o)throw Error(N(301));o+=1,ce=ae=null,t.updateQueue=null,Ai.current=Tg,e=n(r,i)}while(Lr)}if(Ai.current=lo,t=ae!==null&&ae.next!==null,wn=0,ce=ae=J=null,oo=!1,t)throw Error(N(300));return e}function Js(){var e=Qr!==0;return Qr=0,e}function yt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ce===null?J.memoizedState=ce=e:ce=ce.next=e,ce}function tt(){if(ae===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=ae.next;var t=ce===null?J.memoizedState:ce.next;if(t!==null)ce=t,ae=e;else{if(e===null)throw Error(N(310));ae=e,e={memoizedState:ae.memoizedState,baseState:ae.baseState,baseQueue:ae.baseQueue,queue:ae.queue,next:null},ce===null?J.memoizedState=ce=e:ce=ce.next=e}return ce}function Xr(e,t){return typeof t=="function"?t(e):t}function ol(e){var t=tt(),n=t.queue;if(n===null)throw Error(N(311));n.lastRenderedReducer=e;var r=ae,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=l=null,a=null,u=o;do{var p=u.lane;if((wn&p)===p)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:p,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=d,l=r):a=a.next=d,J.lanes|=p,kn|=p}u=u.next}while(u!==null&&u!==o);a===null?l=r:a.next=s,ft(r,t.memoizedState)||(Ae=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,J.lanes|=o,kn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ll(e){var t=tt(),n=t.queue;if(n===null)throw Error(N(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);ft(o,t.memoizedState)||(Ae=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Md(){}function Bd(e,t){var n=J,r=tt(),i=t(),o=!ft(r.memoizedState,i);if(o&&(r.memoizedState=i,Ae=!0),r=r.queue,Zs(Wd.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ce!==null&&ce.memoizedState.tag&1){if(n.flags|=2048,Jr(9,Hd.bind(null,n,r,i,t),void 0,null),de===null)throw Error(N(349));wn&30||Kd(n,t,i)}return i}function Kd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Hd(e,t,n,r){t.value=n,t.getSnapshot=r,Gd(t)&&Yd(e)}function Wd(e,t,n){return n(function(){Gd(t)&&Yd(e)})}function Gd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ft(e,n)}catch{return!0}}function Yd(e){var t=Ft(e,1);t!==null&&dt(t,e,1,-1)}function zu(e){var t=yt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xr,lastRenderedState:e},t.queue=e,e=e.dispatch=xg.bind(null,J,e),[t.memoizedState,e]}function Jr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Qd(){return tt().memoizedState}function ji(e,t,n,r){var i=yt();J.flags|=e,i.memoizedState=Jr(1|t,n,void 0,r===void 0?null:r)}function _o(e,t,n,r){var i=tt();r=r===void 0?null:r;var o=void 0;if(ae!==null){var l=ae.memoizedState;if(o=l.destroy,r!==null&&Qs(r,l.deps)){i.memoizedState=Jr(t,n,o,r);return}}J.flags|=e,i.memoizedState=Jr(1|t,n,o,r)}function bu(e,t){return ji(8390656,8,e,t)}function Zs(e,t){return _o(2048,8,e,t)}function Xd(e,t){return _o(4,2,e,t)}function Jd(e,t){return _o(4,4,e,t)}function Zd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function qd(e,t,n){return n=n!=null?n.concat([e]):null,_o(4,4,Zd.bind(null,t,e),n)}function qs(){}function ef(e,t){var n=tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tf(e,t){var n=tt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nf(e,t,n){return wn&21?(ft(n,t)||(n=od(),J.lanes|=n,kn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ae=!0),e.memoizedState=n)}function Pg(e,t){var n=M;M=n!==0&&4>n?n:4,e(!0);var r=il.transition;il.transition={};try{e(!1),t()}finally{M=n,il.transition=r}}function rf(){return tt().memoizedState}function Eg(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},of(e))lf(t,n);else if(n=Fd(e,t,n,r),n!==null){var i=Pe();dt(n,e,r,i),sf(n,t,r)}}function xg(e,t,n){var r=en(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(of(e))lf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,ft(s,l)){var a=t.interleaved;a===null?(i.next=i,Ks(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Fd(e,t,i,r),n!==null&&(i=Pe(),dt(n,e,r,i),sf(n,t,r))}}function of(e){var t=e.alternate;return e===J||t!==null&&t===J}function lf(e,t){Lr=oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ts(e,n)}}var lo={readContext:et,useCallback:ye,useContext:ye,useEffect:ye,useImperativeHandle:ye,useInsertionEffect:ye,useLayoutEffect:ye,useMemo:ye,useReducer:ye,useRef:ye,useState:ye,useDebugValue:ye,useDeferredValue:ye,useTransition:ye,useMutableSource:ye,useSyncExternalStore:ye,useId:ye,unstable_isNewReconciler:!1},Cg={readContext:et,useCallback:function(e,t){return yt().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:bu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ji(4194308,4,Zd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ji(4194308,4,e,t)},useInsertionEffect:function(e,t){return ji(4,2,e,t)},useMemo:function(e,t){var n=yt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=yt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Eg.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=yt();return e={current:e},t.memoizedState=e},useState:zu,useDebugValue:qs,useDeferredValue:function(e){return yt().memoizedState=e},useTransition:function(){var e=zu(!1),t=e[0];return e=Pg.bind(null,e[1]),yt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=J,i=yt();if(Y){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),de===null)throw Error(N(349));wn&30||Kd(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,bu(Wd.bind(null,r,o,e),[e]),r.flags|=2048,Jr(9,Hd.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=yt(),t=de.identifierPrefix;if(Y){var n=Rt,r=Tt;n=(r&~(1<<32-ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Ng++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ig={readContext:et,useCallback:ef,useContext:et,useEffect:Zs,useImperativeHandle:qd,useInsertionEffect:Xd,useLayoutEffect:Jd,useMemo:tf,useReducer:ol,useRef:Qd,useState:function(){return ol(Xr)},useDebugValue:qs,useDeferredValue:function(e){var t=tt();return nf(t,ae.memoizedState,e)},useTransition:function(){var e=ol(Xr)[0],t=tt().memoizedState;return[e,t]},useMutableSource:Md,useSyncExternalStore:Bd,useId:rf,unstable_isNewReconciler:!1},Tg={readContext:et,useCallback:ef,useContext:et,useEffect:Zs,useImperativeHandle:qd,useInsertionEffect:Xd,useLayoutEffect:Jd,useMemo:tf,useReducer:ll,useRef:Qd,useState:function(){return ll(Xr)},useDebugValue:qs,useDeferredValue:function(e){var t=tt();return ae===null?t.memoizedState=e:nf(t,ae.memoizedState,e)},useTransition:function(){var e=ll(Xr)[0],t=tt().memoizedState;return[e,t]},useMutableSource:Md,useSyncExternalStore:Bd,useId:rf,unstable_isNewReconciler:!1};function or(e,t){try{var n="",r=t;do n+=im(r),r=r.return;while(r);var i=n}catch(o){i=`-Error generating stack: `+o.message+`-`+o.stack}return{value:e,source:t,stack:i,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Zl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Rg=typeof WeakMap=="function"?WeakMap:Map;function af(e,t,n){n=Lt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ao||(ao=!0,as=r),Zl(e,t)},n}function uf(e,t,n){n=Lt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Zl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Zl(e,t),typeof r!="function"&&(qt===null?qt=new Set([this]):qt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Vu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rg;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Hg.bind(null,e,t,n),t.then(e,e))}function $u(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Mu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Lt(-1,1),t.tag=2,Zt(n,t,1))),n.lanes|=1),e)}var Lg=Ut.ReactCurrentOwner,Ae=!1;function _e(e,t,n,r){t.child=e===null?Vd(t,null,n,r):rr(t,e.child,n,r)}function Bu(e,t,n,r,i){n=n.render;var o=t.ref;return Xn(t,i),r=Xs(e,t,n,r,o,i),n=Js(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Dt(e,t,i)):(Y&&n&&zs(t),t.flags|=1,_e(e,t,r,i),t.child)}function Ku(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!sa(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,cf(e,t,o,r,i)):(e=zi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Br,n(l,r)&&e.ref===t.ref)return Dt(e,t,i)}return t.flags|=1,e=tn(o,r),e.ref=t.ref,e.return=t,t.child=e}function cf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Br(o,r)&&e.ref===t.ref)if(Ae=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Ae=!0);else return t.lanes=e.lanes,Dt(e,t,i)}return ql(e,t,n,r,i)}function df(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(Hn,$e),$e|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(Hn,$e),$e|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,K(Hn,$e),$e|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,K(Hn,$e),$e|=r;return _e(e,t,i,n),t.child}function ff(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ql(e,t,n,r,i){var o=Fe(n)?vn:Se.current;return o=tr(t,o),Xn(t,i),n=Xs(e,t,n,r,o,i),r=Js(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Dt(e,t,i)):(Y&&r&&zs(t),t.flags|=1,_e(e,t,n,i),t.child)}function Hu(e,t,n,r,i){if(Fe(n)){var o=!0;Zi(t)}else o=!1;if(Xn(t,i),t.stateNode===null)Fi(e,t),zd(t,n,r),Jl(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=et(u):(u=Fe(n)?vn:Se.current,u=tr(t,u));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==u)&&Du(t,l,r,u),Mt=!1;var h=t.memoizedState;l.state=h,ro(t,r,l,i),a=t.memoizedState,s!==r||h!==a||je.current||Mt?(typeof p=="function"&&(Xl(t,n,p,r),a=t.memoizedState),(s=Mt||Fu(t,n,s,r,h,a,u))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=u,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Dd(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:st(t.type,s),l.props=u,d=t.pendingProps,h=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=et(a):(a=Fe(n)?vn:Se.current,a=tr(t,a));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==d||h!==a)&&Du(t,l,r,a),Mt=!1,h=t.memoizedState,l.state=h,ro(t,r,l,i);var y=t.memoizedState;s!==d||h!==y||je.current||Mt?(typeof g=="function"&&(Xl(t,n,g,r),y=t.memoizedState),(u=Mt||Fu(t,n,u,r,h,y,a)||!1)?(p||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,y,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,y,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),l.props=r,l.state=y,l.context=a,r=u):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return es(e,t,n,r,o,i)}function es(e,t,n,r,i,o){ff(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Tu(t,n,!1),Dt(e,t,o);r=t.stateNode,Lg.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=rr(t,e.child,null,o),t.child=rr(t,null,s,o)):_e(e,t,s,o),t.memoizedState=r.state,i&&Tu(t,n,!0),t.child}function pf(e){var t=e.stateNode;t.pendingContext?Iu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Iu(e,t.context,!1),Ws(e,t.containerInfo)}function Wu(e,t,n,r,i){return nr(),Vs(i),t.flags|=256,_e(e,t,n,r),t.child}var ts={dehydrated:null,treeContext:null,retryLane:0};function ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function hf(e,t,n){var r=t.pendingProps,i=X.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),K(X,i&1),e===null)return Yl(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Eo(l,r,0,null),e=gn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ns(n),t.memoizedState=ts,e):ea(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return Ag(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=tn(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=tn(s,o):(o=gn(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?ns(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=ts,r}return o=e.child,e=o.sibling,r=tn(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ea(e,t){return t=Eo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Si(e,t,n,r){return r!==null&&Vs(r),rr(t,e.child,null,n),e=ea(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ag(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=sl(Error(N(422))),Si(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Eo({mode:"visible",children:r.children},i,0,null),o=gn(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&rr(t,e.child,null,l),t.child.memoizedState=ns(l),t.memoizedState=ts,o);if(!(t.mode&1))return Si(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(N(419)),r=sl(o,r,void 0),Si(e,t,l,r)}if(s=(l&e.childLanes)!==0,Ae||s){if(r=de,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ft(e,i),dt(r,e,i,-1))}return la(),r=sl(Error(N(421))),Si(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Wg.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Be=Jt(i.nextSibling),Ke=t,Y=!0,ut=null,e!==null&&(Qe[Xe++]=Tt,Qe[Xe++]=Rt,Qe[Xe++]=yn,Tt=e.id,Rt=e.overflow,yn=t),t=ea(t,r.children),t.flags|=4096,t)}function Gu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ql(e.return,t,n)}function al(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function mf(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(_e(e,t,r.children,n),r=X.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gu(e,n,t);else if(e.tag===19)Gu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(X,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&io(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),al(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&io(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}al(t,!0,n,null,o);break;case"together":al(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Dt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),kn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(N(153));if(t.child!==null){for(e=t.child,n=tn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=tn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jg(e,t,n){switch(t.tag){case 3:pf(t),nr();break;case 5:$d(t);break;case 1:Fe(t.type)&&Zi(t);break;case 4:Ws(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;K(to,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(X,X.current&1),t.flags|=128,null):n&t.child.childLanes?hf(e,t,n):(K(X,X.current&1),e=Dt(e,t,n),e!==null?e.sibling:null);K(X,X.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return mf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),K(X,X.current),r)break;return null;case 22:case 23:return t.lanes=0,df(e,t,n)}return Dt(e,t,n)}var gf,rs,vf,yf;gf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};rs=function(){};vf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,hn(Ot.current);var o=null;switch(n){case"input":i=Pl(e,i),r=Pl(e,r),o=[];break;case"select":i=Z({},i,{value:void 0}),r=Z({},r,{value:void 0}),o=[];break;case"textarea":i=Cl(e,i),r=Cl(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Xi)}Tl(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Dr.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Dr.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&W("scroll",e),o||s===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};yf=function(e,t,n,r){n!==r&&(t.flags|=4)};function wr(e,t){if(!Y)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function we(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Fg(e,t,n){var r=t.pendingProps;switch(bs(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return we(t),null;case 1:return Fe(t.type)&&Ji(),we(t),null;case 3:return r=t.stateNode,ir(),G(je),G(Se),Ys(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ut!==null&&(ds(ut),ut=null))),rs(e,t),we(t),null;case 5:Gs(t);var i=hn(Yr.current);if(n=t.type,e!==null&&t.stateNode!=null)vf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(N(166));return we(t),null}if(e=hn(Ot.current),wi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[wt]=t,r[Wr]=o,e=(t.mode&1)!==0,n){case"dialog":W("cancel",r),W("close",r);break;case"iframe":case"object":case"embed":W("load",r);break;case"video":case"audio":for(i=0;i<Er.length;i++)W(Er[i],r);break;case"source":W("error",r);break;case"img":case"image":case"link":W("error",r),W("load",r);break;case"details":W("toggle",r);break;case"input":nu(r,o),W("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},W("invalid",r);break;case"textarea":iu(r,o),W("invalid",r)}Tl(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var s=o[l];l==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&yi(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&yi(r.textContent,s,e),i=["children",""+s]):Dr.hasOwnProperty(l)&&s!=null&&l==="onScroll"&&W("scroll",r)}switch(n){case"input":ci(r),ru(r,o,!0);break;case"textarea":ci(r),ou(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Xi)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Kc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[wt]=t,e[Wr]=r,gf(e,t,!1,!1),t.stateNode=e;e:{switch(l=Rl(n,r),n){case"dialog":W("cancel",e),W("close",e),i=r;break;case"iframe":case"object":case"embed":W("load",e),i=r;break;case"video":case"audio":for(i=0;i<Er.length;i++)W(Er[i],e);i=r;break;case"source":W("error",e),i=r;break;case"img":case"image":case"link":W("error",e),W("load",e),i=r;break;case"details":W("toggle",e),i=r;break;case"input":nu(e,r),i=Pl(e,r),W("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Z({},r,{value:void 0}),W("invalid",e);break;case"textarea":iu(e,r),i=Cl(e,r),W("invalid",e);break;default:i=r}Tl(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="style"?Gc(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Hc(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Ur(e,a):typeof a=="number"&&Ur(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Dr.hasOwnProperty(o)?a!=null&&o==="onScroll"&&W("scroll",e):a!=null&&Ns(e,o,a,l))}switch(n){case"input":ci(e),ru(e,r,!1);break;case"textarea":ci(e),ou(e);break;case"option":r.value!=null&&e.setAttribute("value",""+rn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Wn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Wn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Xi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return we(t),null;case 6:if(e&&t.stateNode!=null)yf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(N(166));if(n=hn(Yr.current),hn(Ot.current),wi(t)){if(r=t.stateNode,n=t.memoizedProps,r[wt]=t,(o=r.nodeValue!==n)&&(e=Ke,e!==null))switch(e.tag){case 3:yi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&yi(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[wt]=t,t.stateNode=r}return we(t),null;case 13:if(G(X),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Y&&Be!==null&&t.mode&1&&!(t.flags&128))jd(),nr(),t.flags|=98560,o=!1;else if(o=wi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(N(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(N(317));o[wt]=t}else nr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;we(t),o=!1}else ut!==null&&(ds(ut),ut=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||X.current&1?ue===0&&(ue=3):la())),t.updateQueue!==null&&(t.flags|=4),we(t),null);case 4:return ir(),rs(e,t),e===null&&Kr(t.stateNode.containerInfo),we(t),null;case 10:return Bs(t.type._context),we(t),null;case 17:return Fe(t.type)&&Ji(),we(t),null;case 19:if(G(X),o=t.memoizedState,o===null)return we(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)wr(o,!1);else{if(ue!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=io(e),l!==null){for(t.flags|=128,wr(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(X,X.current&1|2),t.child}e=e.sibling}o.tail!==null&&re()>lr&&(t.flags|=128,r=!0,wr(o,!1),t.lanes=4194304)}else{if(!r)if(e=io(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Y)return we(t),null}else 2*re()-o.renderingStartTime>lr&&n!==1073741824&&(t.flags|=128,r=!0,wr(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,n=X.current,K(X,r?n&1|2:n&1),t):(we(t),null);case 22:case 23:return oa(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?$e&1073741824&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function Dg(e,t){switch(bs(t),t.tag){case 1:return Fe(t.type)&&Ji(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ir(),G(je),G(Se),Ys(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gs(t),null;case 13:if(G(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(X),null;case 4:return ir(),null;case 10:return Bs(t.type._context),null;case 22:case 23:return oa(),null;case 24:return null;default:return null}}var Oi=!1,ke=!1,Ug=typeof WeakSet=="function"?WeakSet:Set,T=null;function Kn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ee(e,t,r)}else n.current=null}function is(e,t,n){try{n()}catch(r){ee(e,t,r)}}var Yu=!1;function zg(e,t){if($l=Gi,e=Sd(),Us(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,u=0,p=0,d=e,h=null;t:for(;;){for(var g;d!==n||i!==0&&d.nodeType!==3||(s=l+i),d!==o||r!==0&&d.nodeType!==3||(a=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(g=d.firstChild)!==null;)h=d,d=g;for(;;){if(d===e)break t;if(h===n&&++u===i&&(s=l),h===o&&++p===r&&(a=l),(g=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ml={focusedElem:e,selectionRange:n},Gi=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var k=y.memoizedProps,_=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:st(t.type,k),_);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(w){ee(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return y=Yu,Yu=!1,y}function Ar(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&is(t,n,o)}i=i.next}while(i!==r)}}function No(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wf(e){var t=e.alternate;t!==null&&(e.alternate=null,wf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wt],delete t[Wr],delete t[Hl],delete t[kg],delete t[Sg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kf(e){return e.tag===5||e.tag===3||e.tag===4}function Qu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ls(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Xi));else if(r!==4&&(e=e.child,e!==null))for(ls(e,t,n),e=e.sibling;e!==null;)ls(e,t,n),e=e.sibling}function ss(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ss(e,t,n),e=e.sibling;e!==null;)ss(e,t,n),e=e.sibling}var he=null,at=!1;function Vt(e,t,n){for(n=n.child;n!==null;)Sf(e,t,n),n=n.sibling}function Sf(e,t,n){if(St&&typeof St.onCommitFiberUnmount=="function")try{St.onCommitFiberUnmount(go,n)}catch{}switch(n.tag){case 5:ke||Kn(n,t);case 6:var r=he,i=at;he=null,Vt(e,t,n),he=r,at=i,he!==null&&(at?(e=he,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):he.removeChild(n.stateNode));break;case 18:he!==null&&(at?(e=he,n=n.stateNode,e.nodeType===8?tl(e.parentNode,n):e.nodeType===1&&tl(e,n),$r(e)):tl(he,n.stateNode));break;case 4:r=he,i=at,he=n.stateNode.containerInfo,at=!0,Vt(e,t,n),he=r,at=i;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&is(n,t,l),i=i.next}while(i!==r)}Vt(e,t,n);break;case 1:if(!ke&&(Kn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ee(n,t,s)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Vt(e,t,n),ke=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function Xu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ug),t.forEach(function(r){var i=Gg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function lt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 5:he=s.stateNode,at=!1;break e;case 3:he=s.stateNode.containerInfo,at=!0;break e;case 4:he=s.stateNode.containerInfo,at=!0;break e}s=s.return}if(he===null)throw Error(N(160));Sf(o,l,i),he=null,at=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){ee(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Of(t,e),t=t.sibling}function Of(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(lt(t,e),vt(e),r&4){try{Ar(3,e,e.return),No(3,e)}catch(k){ee(e,e.return,k)}try{Ar(5,e,e.return)}catch(k){ee(e,e.return,k)}}break;case 1:lt(t,e),vt(e),r&512&&n!==null&&Kn(n,n.return);break;case 5:if(lt(t,e),vt(e),r&512&&n!==null&&Kn(n,n.return),e.flags&32){var i=e.stateNode;try{Ur(i,"")}catch(k){ee(e,e.return,k)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&Mc(i,o),Rl(s,l);var u=Rl(s,o);for(l=0;l<a.length;l+=2){var p=a[l],d=a[l+1];p==="style"?Gc(i,d):p==="dangerouslySetInnerHTML"?Hc(i,d):p==="children"?Ur(i,d):Ns(i,p,d,u)}switch(s){case"input":El(i,o);break;case"textarea":Bc(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?Wn(i,!!o.multiple,g,!1):h!==!!o.multiple&&(o.defaultValue!=null?Wn(i,!!o.multiple,o.defaultValue,!0):Wn(i,!!o.multiple,o.multiple?[]:"",!1))}i[Wr]=o}catch(k){ee(e,e.return,k)}}break;case 6:if(lt(t,e),vt(e),r&4){if(e.stateNode===null)throw Error(N(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(k){ee(e,e.return,k)}}break;case 3:if(lt(t,e),vt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{$r(t.containerInfo)}catch(k){ee(e,e.return,k)}break;case 4:lt(t,e),vt(e);break;case 13:lt(t,e),vt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ra=re())),r&4&&Xu(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(ke=(u=ke)||p,lt(t,e),ke=u):lt(t,e),vt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!p&&e.mode&1)for(T=e,p=e.child;p!==null;){for(d=T=p;T!==null;){switch(h=T,g=h.child,h.tag){case 0:case 11:case 14:case 15:Ar(4,h,h.return);break;case 1:Kn(h,h.return);var y=h.stateNode;if(typeof y.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(k){ee(r,n,k)}}break;case 5:Kn(h,h.return);break;case 22:if(h.memoizedState!==null){Zu(d);continue}}g!==null?(g.return=h,T=g):Zu(d)}p=p.sibling}e:for(p=null,d=e;;){if(d.tag===5){if(p===null){p=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=d.stateNode,a=d.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=Wc("display",l))}catch(k){ee(e,e.return,k)}}}else if(d.tag===6){if(p===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(k){ee(e,e.return,k)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;p===d&&(p=null),d=d.return}p===d&&(p=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:lt(t,e),vt(e),r&4&&Xu(e);break;case 21:break;default:lt(t,e),vt(e)}}function vt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(kf(n)){var r=n;break e}n=n.return}throw Error(N(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ur(i,""),r.flags&=-33);var o=Qu(e);ss(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,s=Qu(e);ls(e,s,l);break;default:throw Error(N(161))}}catch(a){ee(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bg(e,t,n){T=e,_f(e)}function _f(e,t,n){for(var r=(e.mode&1)!==0;T!==null;){var i=T,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Oi;if(!l){var s=i.alternate,a=s!==null&&s.memoizedState!==null||ke;s=Oi;var u=ke;if(Oi=l,(ke=a)&&!u)for(T=i;T!==null;)l=T,a=l.child,l.tag===22&&l.memoizedState!==null?qu(i):a!==null?(a.return=l,T=a):qu(i);for(;o!==null;)T=o,_f(o),o=o.sibling;T=i,Oi=s,ke=u}Ju(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,T=o):Ju(e)}}function Ju(e){for(;T!==null;){var t=T;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ke||No(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ke)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:st(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&ju(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ju(t,l,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var d=p.dehydrated;d!==null&&$r(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(N(163))}ke||t.flags&512&&os(t)}catch(h){ee(t,t.return,h)}}if(t===e){T=null;break}if(n=t.sibling,n!==null){n.return=t.return,T=n;break}T=t.return}}function Zu(e){for(;T!==null;){var t=T;if(t===e){T=null;break}var n=t.sibling;if(n!==null){n.return=t.return,T=n;break}T=t.return}}function qu(e){for(;T!==null;){var t=T;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{No(4,t)}catch(a){ee(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){ee(t,i,a)}}var o=t.return;try{os(t)}catch(a){ee(t,o,a)}break;case 5:var l=t.return;try{os(t)}catch(a){ee(t,l,a)}}}catch(a){ee(t,t.return,a)}if(t===e){T=null;break}var s=t.sibling;if(s!==null){s.return=t.return,T=s;break}T=t.return}}var Vg=Math.ceil,so=Ut.ReactCurrentDispatcher,ta=Ut.ReactCurrentOwner,qe=Ut.ReactCurrentBatchConfig,z=0,de=null,le=null,ge=0,$e=0,Hn=sn(0),ue=0,Zr=null,kn=0,Po=0,na=0,jr=null,Le=null,ra=0,lr=1/0,Ct=null,ao=!1,as=null,qt=null,_i=!1,Wt=null,uo=0,Fr=0,us=null,Di=-1,Ui=0;function Pe(){return z&6?re():Di!==-1?Di:Di=re()}function en(e){return e.mode&1?z&2&&ge!==0?ge&-ge:_g.transition!==null?(Ui===0&&(Ui=od()),Ui):(e=M,e!==0||(e=window.event,e=e===void 0?16:fd(e.type)),e):1}function dt(e,t,n,r){if(50<Fr)throw Fr=0,us=null,Error(N(185));ti(e,n,r),(!(z&2)||e!==de)&&(e===de&&(!(z&2)&&(Po|=n),ue===4&&Kt(e,ge)),De(e,r),n===1&&z===0&&!(t.mode&1)&&(lr=re()+500,So&&an()))}function De(e,t){var n=e.callbackNode;_m(e,t);var r=Wi(e,e===de?ge:0);if(r===0)n!==null&&au(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&au(n),t===1)e.tag===0?Og(ec.bind(null,e)):Rd(ec.bind(null,e)),yg(function(){!(z&6)&&an()}),n=null;else{switch(ld(r)){case 1:n=Is;break;case 4:n=rd;break;case 16:n=Hi;break;case 536870912:n=id;break;default:n=Hi}n=Rf(n,Nf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Nf(e,t){if(Di=-1,Ui=0,z&6)throw Error(N(327));var n=e.callbackNode;if(Jn()&&e.callbackNode!==n)return null;var r=Wi(e,e===de?ge:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=co(e,r);else{t=r;var i=z;z|=2;var o=Ef();(de!==e||ge!==t)&&(Ct=null,lr=re()+500,mn(e,t));do try{Bg();break}catch(s){Pf(e,s)}while(1);Ms(),so.current=o,z=i,le!==null?t=0:(de=null,ge=0,t=ue)}if(t!==0){if(t===2&&(i=Dl(e),i!==0&&(r=i,t=cs(e,i))),t===1)throw n=Zr,mn(e,0),Kt(e,r),De(e,re()),n;if(t===6)Kt(e,r);else{if(i=e.current.alternate,!(r&30)&&!$g(i)&&(t=co(e,r),t===2&&(o=Dl(e),o!==0&&(r=o,t=cs(e,o))),t===1))throw n=Zr,mn(e,0),Kt(e,r),De(e,re()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(N(345));case 2:cn(e,Le,Ct);break;case 3:if(Kt(e,r),(r&130023424)===r&&(t=ra+500-re(),10<t)){if(Wi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Pe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Kl(cn.bind(null,e,Le,Ct),t);break}cn(e,Le,Ct);break;case 4:if(Kt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-ct(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Vg(r/1960))-r,10<r){e.timeoutHandle=Kl(cn.bind(null,e,Le,Ct),r);break}cn(e,Le,Ct);break;case 5:cn(e,Le,Ct);break;default:throw Error(N(329))}}}return De(e,re()),e.callbackNode===n?Nf.bind(null,e):null}function cs(e,t){var n=jr;return e.current.memoizedState.isDehydrated&&(mn(e,t).flags|=256),e=co(e,t),e!==2&&(t=Le,Le=n,t!==null&&ds(t)),e}function ds(e){Le===null?Le=e:Le.push.apply(Le,e)}function $g(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!ft(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Kt(e,t){for(t&=~na,t&=~Po,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ct(t),r=1<<n;e[n]=-1,t&=~r}}function ec(e){if(z&6)throw Error(N(327));Jn();var t=Wi(e,0);if(!(t&1))return De(e,re()),null;var n=co(e,t);if(e.tag!==0&&n===2){var r=Dl(e);r!==0&&(t=r,n=cs(e,r))}if(n===1)throw n=Zr,mn(e,0),Kt(e,t),De(e,re()),n;if(n===6)throw Error(N(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,cn(e,Le,Ct),De(e,re()),null}function ia(e,t){var n=z;z|=1;try{return e(t)}finally{z=n,z===0&&(lr=re()+500,So&&an())}}function Sn(e){Wt!==null&&Wt.tag===0&&!(z&6)&&Jn();var t=z;z|=1;var n=qe.transition,r=M;try{if(qe.transition=null,M=1,e)return e()}finally{M=r,qe.transition=n,z=t,!(z&6)&&an()}}function oa(){$e=Hn.current,G(Hn)}function mn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,vg(n)),le!==null)for(n=le.return;n!==null;){var r=n;switch(bs(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ji();break;case 3:ir(),G(je),G(Se),Ys();break;case 5:Gs(r);break;case 4:ir();break;case 13:G(X);break;case 19:G(X);break;case 10:Bs(r.type._context);break;case 22:case 23:oa()}n=n.return}if(de=e,le=e=tn(e.current,null),ge=$e=t,ue=0,Zr=null,na=Po=kn=0,Le=jr=null,pn!==null){for(t=0;t<pn.length;t++)if(n=pn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}pn=null}return e}function Pf(e,t){do{var n=le;try{if(Ms(),Ai.current=lo,oo){for(var r=J.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}oo=!1}if(wn=0,ce=ae=J=null,Lr=!1,Qr=0,ta.current=null,n===null||n.return===null){ue=1,Zr=t,le=null;break}e:{var o=e,l=n.return,s=n,a=t;if(t=ge,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,p=s,d=p.tag;if(!(p.mode&1)&&(d===0||d===11||d===15)){var h=p.alternate;h?(p.updateQueue=h.updateQueue,p.memoizedState=h.memoizedState,p.lanes=h.lanes):(p.updateQueue=null,p.memoizedState=null)}var g=$u(l);if(g!==null){g.flags&=-257,Mu(g,l,s,o,t),g.mode&1&&Vu(o,u,t),t=g,a=u;var y=t.updateQueue;if(y===null){var k=new Set;k.add(a),t.updateQueue=k}else y.add(a);break e}else{if(!(t&1)){Vu(o,u,t),la();break e}a=Error(N(426))}}else if(Y&&s.mode&1){var _=$u(l);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Mu(_,l,s,o,t),Vs(or(a,s));break e}}o=a=or(a,s),ue!==4&&(ue=2),jr===null?jr=[o]:jr.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var f=af(o,a,t);Au(o,f);break e;case 1:s=a;var c=o.type,m=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(qt===null||!qt.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=uf(o,s,t);Au(o,w);break e}}o=o.return}while(o!==null)}Cf(n)}catch(O){t=O,le===n&&n!==null&&(le=n=n.return);continue}break}while(1)}function Ef(){var e=so.current;return so.current=lo,e===null?lo:e}function la(){(ue===0||ue===3||ue===2)&&(ue=4),de===null||!(kn&268435455)&&!(Po&268435455)||Kt(de,ge)}function co(e,t){var n=z;z|=2;var r=Ef();(de!==e||ge!==t)&&(Ct=null,mn(e,t));do try{Mg();break}catch(i){Pf(e,i)}while(1);if(Ms(),z=n,so.current=r,le!==null)throw Error(N(261));return de=null,ge=0,ue}function Mg(){for(;le!==null;)xf(le)}function Bg(){for(;le!==null&&!hm();)xf(le)}function xf(e){var t=Tf(e.alternate,e,$e);e.memoizedProps=e.pendingProps,t===null?Cf(e):le=t,ta.current=null}function Cf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Dg(n,t),n!==null){n.flags&=32767,le=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ue=6,le=null;return}}else if(n=Fg(n,t,$e),n!==null){le=n;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);ue===0&&(ue=5)}function cn(e,t,n){var r=M,i=qe.transition;try{qe.transition=null,M=1,Kg(e,t,n,r)}finally{qe.transition=i,M=r}return null}function Kg(e,t,n,r){do Jn();while(Wt!==null);if(z&6)throw Error(N(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(N(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Nm(e,o),e===de&&(le=de=null,ge=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||_i||(_i=!0,Rf(Hi,function(){return Jn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=qe.transition,qe.transition=null;var l=M;M=1;var s=z;z|=4,ta.current=null,zg(e,n),Of(n,e),cg(Ml),Gi=!!$l,Ml=$l=null,e.current=n,bg(n),mm(),z=s,M=l,qe.transition=o}else e.current=n;if(_i&&(_i=!1,Wt=e,uo=i),o=e.pendingLanes,o===0&&(qt=null),ym(n.stateNode),De(e,re()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ao)throw ao=!1,e=as,as=null,e;return uo&1&&e.tag!==0&&Jn(),o=e.pendingLanes,o&1?e===us?Fr++:(Fr=0,us=e):Fr=0,an(),null}function Jn(){if(Wt!==null){var e=ld(uo),t=qe.transition,n=M;try{if(qe.transition=null,M=16>e?16:e,Wt===null)var r=!1;else{if(e=Wt,Wt=null,uo=0,z&6)throw Error(N(331));var i=z;for(z|=4,T=e.current;T!==null;){var o=T,l=o.child;if(T.flags&16){var s=o.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(T=u;T!==null;){var p=T;switch(p.tag){case 0:case 11:case 15:Ar(8,p,o)}var d=p.child;if(d!==null)d.return=p,T=d;else for(;T!==null;){p=T;var h=p.sibling,g=p.return;if(wf(p),p===u){T=null;break}if(h!==null){h.return=g,T=h;break}T=g}}}var y=o.alternate;if(y!==null){var k=y.child;if(k!==null){y.child=null;do{var _=k.sibling;k.sibling=null,k=_}while(k!==null)}}T=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,T=l;else e:for(;T!==null;){if(o=T,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ar(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,T=f;break e}T=o.return}}var c=e.current;for(T=c;T!==null;){l=T;var m=l.child;if(l.subtreeFlags&2064&&m!==null)m.return=l,T=m;else e:for(l=c;T!==null;){if(s=T,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:No(9,s)}}catch(O){ee(s,s.return,O)}if(s===l){T=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,T=w;break e}T=s.return}}if(z=i,an(),St&&typeof St.onPostCommitFiberRoot=="function")try{St.onPostCommitFiberRoot(go,e)}catch{}r=!0}return r}finally{M=n,qe.transition=t}}return!1}function tc(e,t,n){t=or(n,t),t=af(e,t,1),e=Zt(e,t,1),t=Pe(),e!==null&&(ti(e,1,t),De(e,t))}function ee(e,t,n){if(e.tag===3)tc(e,e,n);else for(;t!==null;){if(t.tag===3){tc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(qt===null||!qt.has(r))){e=or(n,e),e=uf(t,e,1),t=Zt(t,e,1),e=Pe(),t!==null&&(ti(t,1,e),De(t,e));break}}t=t.return}}function Hg(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Pe(),e.pingedLanes|=e.suspendedLanes&n,de===e&&(ge&n)===n&&(ue===4||ue===3&&(ge&130023424)===ge&&500>re()-ra?mn(e,0):na|=n),De(e,t)}function If(e,t){t===0&&(e.mode&1?(t=pi,pi<<=1,!(pi&130023424)&&(pi=4194304)):t=1);var n=Pe();e=Ft(e,t),e!==null&&(ti(e,t,n),De(e,n))}function Wg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),If(e,n)}function Gg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),If(e,n)}var Tf;Tf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||je.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,jg(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,Y&&t.flags&1048576&&Ld(t,eo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fi(e,t),e=t.pendingProps;var i=tr(t,Se.current);Xn(t,n),i=Xs(null,t,r,e,i,n);var o=Js();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(o=!0,Zi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Hs(t),i.updater=Oo,t.stateNode=i,i._reactInternals=t,Jl(t,r,e,n),t=es(null,t,r,!0,o,n)):(t.tag=0,Y&&o&&zs(t),_e(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Qg(r),e=st(r,e),i){case 0:t=ql(null,t,r,e,n);break e;case 1:t=Hu(null,t,r,e,n);break e;case 11:t=Bu(null,t,r,e,n);break e;case 14:t=Ku(null,t,r,st(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),ql(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Hu(e,t,r,i,n);case 3:e:{if(pf(t),e===null)throw Error(N(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Dd(e,t),ro(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=or(Error(N(423)),t),t=Wu(e,t,r,n,i);break e}else if(r!==i){i=or(Error(N(424)),t),t=Wu(e,t,r,n,i);break e}else for(Be=Jt(t.stateNode.containerInfo.firstChild),Ke=t,Y=!0,ut=null,n=Vd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(nr(),r===i){t=Dt(e,t,n);break e}_e(e,t,r,n)}t=t.child}return t;case 5:return $d(t),e===null&&Yl(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Bl(r,i)?l=null:o!==null&&Bl(r,o)&&(t.flags|=32),ff(e,t),_e(e,t,l,n),t.child;case 6:return e===null&&Yl(t),null;case 13:return hf(e,t,n);case 4:return Ws(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rr(t,null,r,n):_e(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Bu(e,t,r,i,n);case 7:return _e(e,t,t.pendingProps,n),t.child;case 8:return _e(e,t,t.pendingProps.children,n),t.child;case 12:return _e(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,K(to,r._currentValue),r._currentValue=l,o!==null)if(ft(o.value,l)){if(o.children===i.children&&!je.current){t=Dt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Lt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?a.next=a:(a.next=p.next,p.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Ql(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(N(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Ql(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}_e(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Xn(t,n),i=et(i),r=r(i),t.flags|=1,_e(e,t,r,n),t.child;case 14:return r=t.type,i=st(r,t.pendingProps),i=st(r.type,i),Ku(e,t,r,i,n);case 15:return cf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Fi(e,t),t.tag=1,Fe(r)?(e=!0,Zi(t)):e=!1,Xn(t,n),zd(t,r,i),Jl(t,r,i,n),es(null,t,r,!0,e,n);case 19:return mf(e,t,n);case 22:return df(e,t,n)}throw Error(N(156,t.tag))};function Rf(e,t){return nd(e,t)}function Yg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,t,n,r){return new Yg(e,t,n,r)}function sa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Qg(e){if(typeof e=="function")return sa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Es)return 11;if(e===xs)return 14}return 2}function tn(e,t){var n=e.alternate;return n===null?(n=Je(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zi(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")sa(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Fn:return gn(n.children,i,o,t);case Ps:l=8,i|=8;break;case Sl:return e=Je(12,n,t,i|2),e.elementType=Sl,e.lanes=o,e;case Ol:return e=Je(13,n,t,i),e.elementType=Ol,e.lanes=o,e;case _l:return e=Je(19,n,t,i),e.elementType=_l,e.lanes=o,e;case bc:return Eo(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Uc:l=10;break e;case zc:l=9;break e;case Es:l=11;break e;case xs:l=14;break e;case $t:l=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=Je(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function gn(e,t,n,r){return e=Je(7,e,r,t),e.lanes=n,e}function Eo(e,t,n,r){return e=Je(22,e,r,t),e.elementType=bc,e.lanes=n,e.stateNode={isHidden:!1},e}function ul(e,t,n){return e=Je(6,e,null,t),e.lanes=n,e}function cl(e,t,n){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xg(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ko(0),this.expirationTimes=Ko(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ko(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function aa(e,t,n,r,i,o,l,s,a){return e=new Xg(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hs(o),e}function Jg(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:jn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Lf(e){if(!e)return on;e=e._reactInternals;e:{if(_n(e)!==e||e.tag!==1)throw Error(N(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Fe(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(N(171))}if(e.tag===1){var n=e.type;if(Fe(n))return Td(e,n,t)}return t}function Af(e,t,n,r,i,o,l,s,a){return e=aa(n,r,!0,e,i,o,l,s,a),e.context=Lf(null),n=e.current,r=Pe(),i=en(n),o=Lt(r,i),o.callback=t??null,Zt(n,o,i),e.current.lanes=i,ti(e,i,r),De(e,r),e}function xo(e,t,n,r){var i=t.current,o=Pe(),l=en(i);return n=Lf(n),t.context===null?t.context=n:t.pendingContext=n,t=Lt(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zt(i,t,l),e!==null&&(dt(e,i,l,o),Li(e,i,l)),l}function fo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function nc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ua(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function Zg(){return null}var jf=typeof reportError=="function"?reportError:function(e){console.error(e)};function ca(e){this._internalRoot=e}Co.prototype.render=ca.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(N(409));xo(e,t,null,null)};Co.prototype.unmount=ca.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Sn(function(){xo(null,e,null,null)}),t[jt]=null}};function Co(e){this._internalRoot=e}Co.prototype.unstable_scheduleHydration=function(e){if(e){var t=ud();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Bt.length&&t!==0&&t<Bt[n].priority;n++);Bt.splice(n,0,e),n===0&&dd(e)}};function da(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Io(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rc(){}function qg(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=fo(l);o.call(u)}}var l=Af(t,r,e,0,null,!1,!1,"",rc);return e._reactRootContainer=l,e[jt]=l.current,Kr(e.nodeType===8?e.parentNode:e),Sn(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=fo(a);s.call(u)}}var a=aa(e,0,!1,null,null,!1,!1,"",rc);return e._reactRootContainer=a,e[jt]=a.current,Kr(e.nodeType===8?e.parentNode:e),Sn(function(){xo(t,a,n,r)}),a}function To(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var s=i;i=function(){var a=fo(l);s.call(a)}}xo(t,l,e,i)}else l=qg(n,t,e,i,r);return fo(l)}sd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Pr(t.pendingLanes);n!==0&&(Ts(t,n|1),De(t,re()),!(z&6)&&(lr=re()+500,an()))}break;case 13:Sn(function(){var r=Ft(e,1);if(r!==null){var i=Pe();dt(r,e,1,i)}}),ua(e,1)}};Rs=function(e){if(e.tag===13){var t=Ft(e,134217728);if(t!==null){var n=Pe();dt(t,e,134217728,n)}ua(e,134217728)}};ad=function(e){if(e.tag===13){var t=en(e),n=Ft(e,t);if(n!==null){var r=Pe();dt(n,e,t,r)}ua(e,t)}};ud=function(){return M};cd=function(e,t){var n=M;try{return M=e,t()}finally{M=n}};Al=function(e,t,n){switch(t){case"input":if(El(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ko(r);if(!i)throw Error(N(90));$c(r),El(r,i)}}}break;case"textarea":Bc(e,n);break;case"select":t=n.value,t!=null&&Wn(e,!!n.multiple,t,!1)}};Xc=ia;Jc=Sn;var ev={usingClientEntryPoint:!1,Events:[ri,bn,ko,Yc,Qc,ia]},kr={findFiberByHostInstance:fn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},tv={bundleType:kr.bundleType,version:kr.version,rendererPackageName:kr.rendererPackageName,rendererConfig:kr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ut.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ed(e),e===null?null:e.stateNode},findFiberByHostInstance:kr.findFiberByHostInstance||Zg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ni=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ni.isDisabled&&Ni.supportsFiber)try{go=Ni.inject(tv),St=Ni}catch{}}We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ev;We.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!da(t))throw Error(N(200));return Jg(e,t,null,n)};We.createRoot=function(e,t){if(!da(e))throw Error(N(299));var n=!1,r="",i=jf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=aa(e,1,!1,null,null,n,!1,r,i),e[jt]=t.current,Kr(e.nodeType===8?e.parentNode:e),new ca(t)};We.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(N(188)):(e=Object.keys(e).join(","),Error(N(268,e)));return e=ed(t),e=e===null?null:e.stateNode,e};We.flushSync=function(e){return Sn(e)};We.hydrate=function(e,t,n){if(!Io(t))throw Error(N(200));return To(null,e,t,!0,n)};We.hydrateRoot=function(e,t,n){if(!da(e))throw Error(N(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=jf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Af(t,null,e,1,n??null,i,!1,o,l),e[jt]=t.current,Kr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Co(t)};We.render=function(e,t,n){if(!Io(t))throw Error(N(200));return To(null,e,t,!1,n)};We.unmountComponentAtNode=function(e){if(!Io(e))throw Error(N(40));return e._reactRootContainer?(Sn(function(){To(null,null,e,!1,function(){e._reactRootContainer=null,e[jt]=null})}),!0):!1};We.unstable_batchedUpdates=ia;We.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Io(n))throw Error(N(200));if(e==null||e._reactInternals===void 0)throw Error(N(38));return To(e,t,n,!1,r)};We.version="18.2.0-next-9e3b772b8-20220608";function Ff(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ff)}catch(e){console.error(e)}}Ff(),Lc.exports=We;var nv=Lc.exports,ic=nv;wl.createRoot=ic.createRoot,wl.hydrateRoot=ic.hydrateRoot;const fa=fe.createInstance(),fs="en";if(!(fs in qn))throw new Error(`'${fs}' language is not supported`);fa.init({debug:!1,resources:qn,lng:fs,fallbackLng:"en",supportedLngs:Object.keys(qn)});const q=fa.getFixedT(null,"core"),rv=e=>fa.getFixedT(null,"core",e);var I=(e=>(e.ROOT="ROOT",e.PACKAGE="PACKAGE",e.VERSION="VERSION",e.ENVIRONMENT="ENVIRONMENT",e.OP_SYSTEM="OP_SYSTEM",e.DISTRIBUTION="DISTRIBUTION",e.FRAMEWORK="FRAMEWORK",e))(I||{}),Df=(e=>(e.ROOT="ROOT",e))(Df||{}),zt=(e=>(e.v_2022_3_2="v_2022_3_2",e.v_2023_3_0="v_2023_3_0",e.v_2024_4_0="v_2024_4_0",e.NIGHTLY="NIGHTLY",e))(zt||{}),oi=(e=>(e.DEV_TOOLS="DEV_TOOLS",e.RUNTIME="RUNTIME",e))(oi||{}),Ze=(e=>(e.WINDOWS="WINDOWS",e.MACOS="MACOS",e.LINUX="LINUX",e))(Ze||{}),Ee=(e=>(e.OPENVINO_BASE="OPENVINO_BASE",e.OPENVINO_GENAI="OPENVINO_GENAI",e))(Ee||{});const iv={title:"Windows"},ov={title:"macOS"},lv={title:"Linux"};var F=(e=>(e.PIP="PIP",e.ARCHIVE="ARCHIVE",e.GITHUB="GITHUB",e.GITEE="GITEE",e.DOCKER="DOCKER",e.APT="APT",e.YUM="YUM",e.CONDA="CONDA",e.BREW="BREW",e.VCPKG="VCPKG",e.CONAN="CONAN",e.NPM="NPM",e.ZYPPER="ZYPPER",e.SNAP="SNAP",e))(F||{}),Me=(e=>(e.CAFFE="CAFFE",e.PYTORCH="PYTORCH",e.TENSORFLOW_1="TENSORFLOW_1",e.TENSORFLOW_2="TENSORFLOW_2",e.ONNX="ONNX",e.KALDI="KALDI",e.MXNET="MXNET",e))(Me||{});class Re{constructor(t,n=[]){Ve(this,"level");Ve(this,"key");Ve(this,"metadata");Ve(this,"children",[]);Ve(this,"isDefault",!1);Ve(this,"checked",!1);Ve(this,"childrenSelector");this.level=t.level,this.key=t.key,this.metadata=t.metadata,this.children=n,this.childrenSelector=t.childrenSelector}default(){return this.isDefault=!0,this.checked=!0,this}toOption(){return{level:this.level,key:this.key,metadata:this.metadata,checked:this.checked,hasFootnote:!1}}}const sv=rv("distributions");var ne=(e=>(e[e.UBUNTU_18=0]="UBUNTU_18",e[e.UBUNTU_20=1]="UBUNTU_20",e[e.UBUNTU_22=2]="UBUNTU_22",e[e.UBUNTU_24=3]="UBUNTU_24",e))(ne||{});class Ue extends Re{constructor(n,r=[]){super(n,r);Ve(this,"footnoteLevel",null)}toOption(){return{...super.toOption(),key:this.key,data:this.data}}addFootnote(n){return this.footnoteLevel=n,this}includesNPUPlugin(){const n=sv("includesNPUPlugin");return this.metadata.subtitle?this.metadata.subtitle=[n,this.metadata.subtitle].join(`-`):this.metadata.subtitle=n,this}}class pa extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.APT,metadata:{title:"APT"}}),this._data=t}get data(){return{...this._data,commands:pv}}cApiOnly(){return this.metadata.subtitle=q("distributions.CAPIOnly"),this}}const ps="GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB",oc=`https://apt.repos.intel.com/intel-gpg-keys/${ps}`,av={[ne.UBUNTU_24]:24,[ne.UBUNTU_22]:22,[ne.UBUNTU_20]:20,[ne.UBUNTU_18]:18},uv={alias:{[ne.UBUNTU_24]:"noble",[ne.UBUNTU_22]:"jammy",[ne.UBUNTU_20]:"focal",[ne.UBUNTU_18]:"bionic"},numberName:{[ne.UBUNTU_24]:"ubuntu24",[ne.UBUNTU_22]:"ubuntu22",[ne.UBUNTU_20]:"ubuntu20",[ne.UBUNTU_18]:"ubuntu18"}},cv=new Set([zt.v_2022_3_2]),dv=(e,t)=>{const n=cv.has(e.key)?"alias":"numberName";return uv[n][t]},fv=(e,t)=>{const n=dv(e,t);return`echo "deb https://apt.repos.intel.com/openvino/${e.metadata.aptYear} ${n} main" | sudo tee /etc/apt/sources.list.d/intel-openvino-${e.metadata.aptYear}.list`},pv={keyFilename:ps,keyHref:oc,downloadKeyCommand:`wget ${oc}`,addKeyCommand:`sudo apt-key add ${ps}`,getAddRepositoryCommands:(e,t)=>t.map(n=>({ubuntuVersionNumber:av[n],command:fv(e,n)})),updatePackagesCommand:"sudo apt update",verifyAptCacheCommand:"apt-cache search openvino",getInstallCommand:e=>`sudo apt install openvino-${e.metadata.aptVersion}`};class pe extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.ARCHIVE,metadata:{title:q("distributions.openVINOArchives")}}),this.data=t}}class Uf extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.BREW,metadata:{title:"Homebrew"}}),this._data=t}get data(){return{...this._data,commands:hv}}}const hv={install:"brew install openvino"};class cr extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.CONAN,metadata:{title:"Conan"}}),this._data=t}get data(){return{...this._data,commands:gv}}}const lc="conanfile.txt",sc="conan_toolchain.cmake",mv=e=>`[requires]-openvino/${e.metadata.conanVersion}-[generators]-CMakeDeps-CMakeToolchain-[layout]-cmake_layout`,gv={conanTXTContent:mv,txtFilename:lc,cmakeFilename:sc,install:`conan install ${lc} --build=missing`,compile:`cmake -DCMAKE_TOOLCHAIN_FILE=<path to ${sc}> -DCMAKE_BUILD_TYPE=Release -S <path to CMakeLists.txt of your project> -B <build dir>-cmake --build <build dir> --parallel`};class dr extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.CONDA,metadata:{title:"Conda"}}),this._data=t}get data(){return{...this._data,commands:vv}}}const vv={createEnv:"conda create --name py310 python=3.10",activateEnv:"conda activate py310",update:"conda update --all",getInstall:({metadata:e})=>`conda install -c conda-forge openvino=${e.condaVersion}`};class bt extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.DOCKER,metadata:{title:"Docker"}}),this.data=t}}class ie extends Ue{constructor(){super({level:I.DISTRIBUTION,key:F.GITEE,metadata:{title:"Gitee",subtitle:q("distributions.source")}})}get data(){return{commands:yv,links:wv}}}const yv={getCloneCommand(e,t){return e.key===Ee.OPENVINO_BASE?`git clone -b ${t.metadata.giteeVersion} https://gitee.com/openvinotoolkit-prc/openvino.git`:`git clone -b ${t.metadata.genaiGitVersion} --recursive https://gitee.com/openvinotoolkit-prc/openvino.genai.git`}},wv={getBuildInstructionsLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/blob/${t.metadata.giteeVersion}/docs/dev/build.md`:`https://github.com/openvinotoolkit/openvino.genai/blob/${t.metadata.genaiGitVersion}/src/docs/BUILD.md`,getRepositoryLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://gitee.com/openvinotoolkit-prc/openvino/tree/${t.metadata.giteeVersion}`:`https://gitee.com/openvinotoolkit-prc/openvino.genai/tree/${t.metadata.genaiGitVersion}`};class oe extends Ue{constructor(){super({level:I.DISTRIBUTION,key:F.GITHUB,metadata:{title:"GitHub",subtitle:q("distributions.source")}})}get data(){return{commands:kv,links:Sv}}}const kv={getCloneCommand(e,t){return e.key===Ee.OPENVINO_BASE?`git clone -b ${t.metadata.githubVersion} https://github.com/openvinotoolkit/openvino.git`:`git clone -b ${t.metadata.genaiGitVersion} --recursive https://github.com/openvinotoolkit/openvino.genai.git`}},Sv={getBuildInstructionsLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/blob/${t.metadata.githubVersion}/docs/dev/build.md`:`https://github.com/openvinotoolkit/openvino.genai/blob/${t.metadata.genaiGitVersion}/src/docs/BUILD.md`,getRepositoryLink:(e,t)=>e.key===Ee.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/tree/${t.metadata.githubVersion}`:`https://github.com/openvinotoolkit/openvino.genai/tree/${t.metadata.genaiGitVersion}`};class ha extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.NPM,metadata:{title:"npm",subtitle:q("distributions.jsAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Ov}}}const Ov={getInstall:({metadata:e})=>`npm install openvino-node@${e.npmVersion}`},_v=(e,t)=>{e.forEach(n=>{n.key===Me.TENSORFLOW_1&&n.checked&&t===Me.TENSORFLOW_2||n.key===Me.TENSORFLOW_2&&n.checked&&t===Me.TENSORFLOW_1?n.checked=!1:t===n.key&&(n.checked=!n.checked)})},zf=(e,t)=>{e.forEach(n=>{n.checked=n.key===t,n.key===F.PIP&&n.checked&&n.children.forEach(r=>r.checked=r.isDefault)})},Nv=()=>[new Re({level:I.FRAMEWORK,key:Me.CAFFE,metadata:{title:"Caffe",pipKey:"caffe"}}),new Re({level:I.FRAMEWORK,key:Me.KALDI,metadata:{title:"Kaldi",pipKey:"kaldi"}}),new Re({level:I.FRAMEWORK,key:Me.MXNET,metadata:{title:"Apache MXNet",pipKey:"mxnet"}}),new Re({level:I.FRAMEWORK,key:Me.ONNX,metadata:{title:"Open Neural Network Exchange (ONNX)",pipKey:"ONNX"}}),new Re({level:I.FRAMEWORK,key:Me.PYTORCH,metadata:{title:"PyTorch",pipKey:"pytorch"}}),new Re({level:I.FRAMEWORK,key:Me.TENSORFLOW_1,metadata:{title:"TensorFlow 1.x",pipKey:"tensorflow"}}),new Re({level:I.FRAMEWORK,key:Me.TENSORFLOW_2,metadata:{title:"TensorFlow 2.x",pipKey:"tensorflow2"}})];class te extends Ue{constructor(t,{hasFrameworks:n,pythonAPI:r}={}){super({level:I.DISTRIBUTION,key:F.PIP,metadata:{title:"PIP",subtitle:r?q("distributions.pythonAPIOnly"):void 0},childrenSelector:_v},n?Nv():[]),this._data=t}get data(){return{...this._data,commands:Cv,frameworks:this.children.filter(({checked:t})=>t).map(t=>t.toOption())}}}function bf(e){return e.key===zt.NIGHTLY?"openvino_nightly_env":"openvino_env"}function Pv(e,t){const n=bf(t);return e.key===Ze.WINDOWS?`python -m venv ${n}`:`python3 -m venv ${n}`}function Ev(e,t){const n=bf(t);return e.key===Ze.WINDOWS?`${n}\\Scripts\\activate`:`source ${n}/bin/activate`}function xv({ovPackage:e,environment:t,os:n,version:r,distribution:i}){const o=i.data.frameworks.map(u=>u.metadata.pipKey),l=o.length?`[${o.join(",")}]`:"",s=(t==null?void 0:t.key)===oi.DEV_TOOLS?"openvino-dev":e.key===Ee.OPENVINO_GENAI?"openvino-genai":"openvino";if(r.key===zt.NIGHTLY)return`pip install --pre -U ${s} --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly`;let a=`${s}${l}==${r.metadata.pipVersion}`;return n.key===Ze.MACOS&&(a=`'${a}'`),`pip install ${a}`}const Cv={getCreateVenvCommand:Pv,getActivateVenvCommand:Ev,upgradeCommand:"python -m pip install --upgrade pip",getInstallCommand:xv};class Iv extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.SNAP,metadata:{title:"Snap",subtitle:q("distributions.CAPIOnly")}}),this.data=t}}class ma extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.VCPKG,metadata:{title:"vcpkg",subtitle:q("distributions.source")}}),this._data=t}get data(){return{...this._data,commands:Tv}}}const Tv={install:"vcpkg install openvino"};class ga extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.YUM,metadata:{title:"YUM",subtitle:q("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Rv}}}const ac="/etc/yum.repos.d",Rv={directory:ac,getCreateRepoCommand:e=>`tee > /tmp/openvino-${e.metadata.yumYear}.repo << EOF-[OpenVINO]-name=Intel(R) Distribution of OpenVINO ${e.metadata.yumYear}-baseurl=https://yum.repos.intel.com/openvino/${e.metadata.yumYear}-enabled=1-gpgcheck=1-repo_gpgcheck=1-gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB-EOF`,getMoveRepoFileCommand:e=>`sudo mv /tmp/openvino-${e.metadata.yumYear}.repo ${ac}`,verifyRepoCommand:"yum repolist | grep -i openvino",getInstallCommand:e=>`sudo yum install openvino-${e.metadata.yumVersion}`};class Lv extends Ue{constructor(t){super({level:I.DISTRIBUTION,key:F.ZYPPER,metadata:{title:"ZYPPER",subtitle:q("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Av}}}const Av={addRepo:"sudo zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/science.repo",refresh:"sudo zypper refresh",getInstallCommand:({metadata:e})=>`sudo zypper install openvino-devel-${e.zypperVersion} openvino-sample-${e.zypperVersion}`};class Vf extends Re{constructor(t,n,r){super({level:I.PACKAGE,key:t,metadata:n,childrenSelector:zf},r),this._setDefaultPackage()}_setDefaultPackage(){const t=Ee.OPENVINO_BASE;this.key===t&&this.default()}}class jv extends Vf{constructor(t){super(Ee.OPENVINO_BASE,{title:q("package.base.title"),subtitle:q("package.base.subtitle")},t)}}class Fv extends Vf{constructor(t){super(Ee.OPENVINO_GENAI,{title:q("package.genai.title"),subtitle:q("package.genai.subtitle")},t)}}class Ro extends Re{constructor(t,n,r){super({level:I.VERSION,key:t,metadata:n},r)}}const Dv={title:q("versions.titles.nightlyBuild"),pipVersion:"",githubVersion:"master",giteeVersion:"master",genaiGitVersion:"master",systemRequirementsLink:"https://docs.openvino.ai/nightly/about-openvino/release-notes-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/nightly/get-started.html",troubleshootingLink:"https://docs.openvino.ai/nightly/get-started/troubleshooting-install-config.html"};class $f extends Ro{constructor(t){super(zt.NIGHTLY,Dv,t)}}const Uv={title:"2024.4",subtitle:q("versions.titles.recommended"),pipVersion:"2024.4.0",githubVersion:"2024.4.0",giteeVersion:"2024.4.0",genaiGitVersion:"releases/2024/4",aptYear:2024,aptVersion:"2024.4.0",yumYear:2024,yumVersion:"2024.4.0",condaVersion:"2024.4.0",conanVersion:"2024.4.0",npmVersion:"2024.4.0",zypperVersion:"2024.4.0",systemRequirementsLink:"https://docs.openvino.ai/2024/about-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/2024/get-started.html",troubleshootingLink:"https://docs.openvino.ai/2024/get-started/troubleshooting-install-config.html"};class Mf extends Ro{constructor(t){super(zt.v_2024_4_0,Uv,t)}}const zv={title:`2023.3 ${q("versions.titles.LTS")}`,pipVersion:"2023.3.0",githubVersion:"2023.3.0",giteeVersion:"2023.3.0",aptYear:2023,aptVersion:"2023.3.0",yumYear:2023,yumVersion:"2023.3.0",condaVersion:"2023.3.0",conanVersion:"2023.3.0",systemRequirementsLink:"https://docs.openvino.ai/2023.3/system_requirements.html",getStartedLink:"https://docs.openvino.ai/2023.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2023.3/openvino_docs_get_started_guide_troubleshooting.html"};class bv extends Ro{constructor(t){super(zt.v_2023_3_0,zv,t)}}const Vv={title:`2022.3.2 ${q("versions.titles.LTS")}`,subtitle:q("versions.titles.hddlSupport"),pipVersion:"2022.3.2",githubVersion:"2022.3.2",giteeVersion:"2022.3.2",aptYear:2022,aptVersion:"2022.3.2",yumYear:2022,yumVersion:"2022.3.2",systemRequirementsLink:"https://docs.openvino.ai/systemrequirements",getStartedLink:"https://docs.openvino.ai/2022.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2022.3/openvino_docs_get_started_guide_troubleshooting_steps.html"};class Bf extends Ro{constructor(t){super(zt.v_2022_3_2,Vv,t)}}class va extends Re{constructor(t,n,r){super({level:I.OP_SYSTEM,key:t,metadata:n,childrenSelector:zf},r),this._setDefaultOS()}_setDefaultOS(){const t=this._detectOS()||Ze.WINDOWS;this.key===t&&this.default()}_detectOS(){const{userAgent:t}=navigator,n={windows:/(Windows|Win)/g,macOS:/(Macintosh|Mac)/g,linux:/(Linux|X11)/g};return n.windows.test(t)?Ze.WINDOWS:n.macOS.test(t)?Ze.MACOS:n.linux.test(t)?Ze.LINUX:null}}class Nn extends va{constructor(t){super(Ze.WINDOWS,iv,t)}}class Pn extends va{constructor(t){super(Ze.MACOS,ov,t)}}class En extends va{constructor(t){super(Ze.LINUX,lv,t)}}const $v=new En([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new oe,new ie]),Mv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new oe,new ie]),Bv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new oe,new ie]),Kv=new $f([Bv,Mv,$v]);class Hv extends Re{constructor(t){super({level:I.ENVIRONMENT,key:oi.RUNTIME,metadata:{title:q("environment.runtime.title"),subtitle:q("environment.runtime.subtitle")}},t)}}class Wv extends Re{constructor(t){super({level:I.ENVIRONMENT,key:oi.DEV_TOOLS,metadata:{title:q("environment.devTools.title"),subtitle:q("environment.devTools.subtitle")}},t)}}const Gv=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),Yv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).addFootnote(I.OP_SYSTEM).default(),new oe().addFootnote(I.OP_SYSTEM),new ie().addFootnote(I.OP_SYSTEM)]),Qv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new oe,new ie]),Xv=new Wv([Qv,Yv,Gv]),Jv=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/linux"}),new pa({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[ne.UBUNTU_18,ne.UBUNTU_20]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),Zv=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).addFootnote(I.OP_SYSTEM).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/macos"}).addFootnote(I.OP_SYSTEM),new oe().addFootnote(I.OP_SYSTEM),new ie().addFootnote(I.OP_SYSTEM)]),qv=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/windows"}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"})]),ey=new Hv([qv,Zv,Jv]),ty=new Bf([Xv.default(),ey]),ny=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/linux"}).includesNPUPlugin(),new pa({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[ne.UBUNTU_18,ne.UBUNTU_20,ne.UBUNTU_22]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),ry=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/macos"}),new oe,new ie,new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),iy=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/windows"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),oy=new bv([iy,ry,ny]),ly=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.4/linux"}).includesNPUPlugin(),new pa({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-apt.html"},os:[ne.UBUNTU_20,ne.UBUNTU_22,ne.UBUNTU_24]}),new ga({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-yum.html"}}),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Uf({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}}),new Lv({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-zypper.html"}}),new Iv({linksSet:{installation:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"},downloadLink:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"})]),sy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.4/macos"}),new oe,new ie,new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Uf({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),ay=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.4/windows"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new dr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new ma({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new cr({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new ha({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),uy=new Mf([ay,sy,ly]),cy=new jv([uy.default(),Kv,oy,ty]),dy=new En([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"}),new oe,new ie]),fy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"}),new oe,new ie]),py=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly"}),new oe,new ie]),hy=new $f([py,fy,dy]),my=new En([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.4/linux"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"})]),gy=new Pn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.4/macos"}),new oe,new ie]),vy=new Nn([new te({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new pe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.4/windows"}).includesNPUPlugin(),new oe,new ie,new bt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"})]),yy=new Mf([vy,gy,my]),wy=new Fv([yy.default(),hy]),ky=new Re({level:I.ROOT,key:Df.ROOT,metadata:{title:"ROOT"}},[cy.default(),wy]).default();function Sy(e,t){var i,o;if(t.key===F.DOCKER||!t.footnoteLevel)return e;const n=(i=e[t.footnoteLevel])==null?void 0:i.selected,r=(o=e[t.footnoteLevel])==null?void 0:o.nodes;return!n||!r||((Array.isArray(n)?[...n,...r]:[n]).forEach(l=>l.hasFootnote=!0),r.forEach(l=>l.checked&&(l.hasFootnote=!0))),e}class Oy{constructor(){Ve(this,"_root",ky)}getState(){try{return this._getState()}catch(t){return console.error(t),this._selectDefaults(this._root),this._getState()}}_getState(){const t=this._root.children,n=this._get_selected(t),r=n.children,i=this._get_selected(r),{environments:o,environment:l,systems:s,system:a}=this._processVersion(i),u=a.children,p=this._get_selected(u),d=this._processDistribution(p),h={[I.PACKAGE]:{nodes:t.map(g=>g.toOption()),selected:n.toOption()},[I.VERSION]:{nodes:r.map(g=>g.toOption()),selected:i.toOption()},[I.ENVIRONMENT]:l&&o?{nodes:o.map(g=>g.toOption()),selected:l.toOption()}:null,[I.OP_SYSTEM]:{nodes:s.map(g=>g.toOption()),selected:a.toOption()},[I.DISTRIBUTION]:{nodes:u.map(g=>g.toOption()),selected:p.toOption()},[I.FRAMEWORK]:d!=null&&d.length?{nodes:d.map(g=>g.toOption()),selected:d.filter(({checked:g})=>g).map(g=>g.toOption())}:null};return Sy(h,p)}_get_selected(t){t.some(({checked:r})=>r)||this._selectDefaultsForLevel(t[0].level);const n=t.find(({checked:r})=>r);if(!n)throw new Error("Not valid tree");return n}_processVersion(t){if(t instanceof Bf){const i=t.children,o=this._get_selected(i),l=o.children,s=this._get_selected(l);return{environments:i,environment:o,systems:l,system:s}}const n=t.children,r=this._get_selected(n);return{environments:null,environment:null,systems:n,system:r}}_processDistribution(t){return t instanceof te?t.children:null}setState(t){this._setState(t)}_setState(t,n=this._root){if(!n.children.length)return;const r=n.children[0].level,i=_y(t[r]);n.children.forEach(o=>o.checked=i.includes(o.key)),n.children.forEach(o=>this._setState(t,o))}select(t,n){return this._select(t,n),this.getState()}_select(t,n,r=this._root){var i;if(((i=r.children[0])==null?void 0:i.level)!==t){r.children.forEach(o=>this._select(t,n,o));return}if(r.childrenSelector){r.childrenSelector(r.children,n);return}r.children.forEach(o=>o.checked=o.key===n)}_selectDefaultsForLevel(t,n=this._root){if(n.children.length){if(n.children[0].level!==t){n.children.forEach(r=>this._selectDefaultsForLevel(t,r));return}this._selectDefaults(n)}}_selectDefaults(t){t.children.forEach(n=>{n.checked=n.isDefault,this._selectDefaults(n)})}}const An=new Oy;function _y(e){const t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),t}function Kf(e,{serializeVersion:t}={serializeVersion:!0}){var i,o;const n=[[I.PACKAGE,e.PACKAGE.selected.key],[I.VERSION,t?e.VERSION.selected.key:null],[I.ENVIRONMENT,(i=e.ENVIRONMENT)==null?void 0:i.selected.key],[I.OP_SYSTEM,e.OP_SYSTEM.selected.key],[I.DISTRIBUTION,e.DISTRIBUTION.selected.key],[I.FRAMEWORK,(o=e.FRAMEWORK)==null?void 0:o.selected.map(l=>l.key).join(",")]],r=new URLSearchParams;for(const[l,s]of n)s&&r.set(l,s);return r}function Hf(e){function t(r,i){const o=e.get(r);if(!o)throw new Error(`Cannot extract value for: ${r}`);if(!i[o])throw new Error(`Bad node key for: ${r}`);return i[o]}function n(r,i){const o=e.get(r);return o?o.split(",").map(s=>{if(!s||!i[s])throw new Error(`Bad node key for: ${r}`);return i[s]}):null}try{return{[I.PACKAGE]:t(I.PACKAGE,Ee),[I.VERSION]:e.has(I.VERSION)?t(I.VERSION,zt):null,[I.ENVIRONMENT]:e.has(I.ENVIRONMENT)?t(I.ENVIRONMENT,oi):null,[I.OP_SYSTEM]:t(I.OP_SYSTEM,Ze),[I.DISTRIBUTION]:t(I.DISTRIBUTION,F),[I.FRAMEWORK]:n(I.FRAMEWORK,Me)}}catch(r){return console.log(`Cannot restore state from url due to error "${r}"`),null}}function Ny(){const e=window.parent;if(!e.location.search)return null;const t=new URLSearchParams(e.location.search);return Hf(t)}function Py(e,t,n,{serializeVersion:r}={serializeVersion:!0}){U.useEffect(()=>{const i=window.parent,o=Kf(t,{serializeVersion:r}).toString(),l=new URL(i.location.toString());if(!l.search){l.search=o,i.history.replaceState(null,"",l);return}l.search.slice(1)!==o&&(l.search=o,i.history.pushState(null,"",l))}),parent.onpopstate=()=>{const i=window.parent,o=new URLSearchParams(i.location.search),l=Hf(o);l&&(e.setState(l),n(e.getState()))}}const dl=function(e){let t,n=!1;return function(...r){return n||(t=e(r),n=!0),t}};function Ey(e){var t,n;return typeof((n=(t=e.wap_tms)==null?void 0:t.custom)==null?void 0:n.trackComponentClick)!="function"?null:e.wap_tms.custom.trackComponentClick.bind(e.wap_tms.custom)}class xy{constructor(){Ve(this,"_window");Ve(this,"_consoleNotification",{notInitialized:dl(()=>console.log("Adobe analytics is not initialized")),notFound:dl(()=>console.log("Adobe analytics not found on a page")),devMode:dl(()=>console.log("Analytics in dev mode"))});Ve(this,"_send",t=>{if(!this._window){this._consoleNotification.notInitialized();return}const n=Kf(An.getState()).toString(),r=Ey(this._window);if(!r){this._consoleNotification.notFound();return}try{r(t,n)}catch(i){console.error(i)}})}initialize(t){this._window=t}install(){this._send("install")}combinationView(){this._send("combination-view")}}const Ye=new xy;function Cy(){const e=Ny();e&&An.setState(e);const t=U.createContext((r,i)=>{An.select(r,i)});function n(){const[r,i]=U.useState(An.getState());return Py(An,r,i),[r,(o,l)=>i(An.select(o,l))]}return{SelectorContext:t,useSelector:n}}async function Iy(e){e&&(navigator.clipboard?await navigator.clipboard.writeText(e):Ty(e))}function Ty(e){const t=Ry(e);document.body.append(t),t.select(),document.execCommand("copy"),t.remove()}function Ry(e){const t=document.createElement("textarea");t.style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style.left="-9999px";const n=window.pageYOffset||document.documentElement.scrollTop;return t.style.top=`${n}px`,t.setAttribute("readonly",""),t.value=e,t}function Ly(){return R("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 205 205",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[v("path",{fill:"none",stroke:"currentColor",strokeWidth:"10",d:"M 50 145 a 15 15 0 0 1 -15 -15 v -90 a 15 15 0 0 1 15 -15 h 70 a 15 15 0 0 1 15 15 v 5"}),v("rect",{x:"65",y:"60",width:"100",height:"120",rx:"15",fill:"none",stroke:"currentColor",strokeWidth:"10"})]})}function Ay(){return v("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:v("path",{strokeLinejoin:"round",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:"15",d:"M 40 100 L 90 150 L 170 40"})})}function jy(){return R("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[v("circle",{cx:"100",cy:"100",r:"90",fill:"none",strokeWidth:"15",stroke:"currentColor"}),v("path",{fill:"none",stroke:"currentColor",strokeWidth:"15",strokeLinecap:"round",d:"M 65 80 A 35 35 0 1 1 100 115"}),v("circle",{cx:"100",cy:"150",r:"3",fill:"none",stroke:"currentColor",strokeWidth:"15"})]})}const $=({comment:e,command:t,onCopy:n})=>{const[r,i]=U.useState(!1);return R("div",{className:"st-code-snippet","data-cy":"instructions-step",children:[e&&v(Wf,{children:e}),R("div",{"data-cy":"command",children:[t&&v("code",{className:"st-code-snippet-content",children:t}),t&&v("button",{className:"copy-button",type:"button","aria-label":"Copy","data-cy":"copy",onClick:async()=>{r||(await Iy(t),i(!0),setTimeout(()=>i(!1),1500),n==null||n())},children:r?v(Ay,{}):v(Ly,{})})]})]})},Wf=({children:e})=>R("pre",{className:"st-code-snippet-comment",children:["# ",e]}),Fy=({comment:e,snippets:t})=>R("div",{className:"st-code-snippet-multi-line","data-cy":"command",children:[e&&v(Wf,{children:e}),t.map(n=>v($,{...n},n.command))]});function Dy(e){return e.host==="docs.openvino.ai"}const fl="production.docs.en",Gf=(fl==null?void 0:fl.includes("idz"))||!1,pl={link:"spark-hyperlink spark-hyperlink-primary spark-hyperlink-standard spark-focus-visible spark-focus-visible-self spark-focus-visible-snap spark-focus-visible-background",button:"spark-button spark-button-action spark-button-size-m spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",buttonContent:"spark-button-content"},Ne=({href:e,children:t,type:n="link",testId:r="link",onClick:i})=>{const o=!Gf&&Dy(new URL(e))?"_parent":"_blank";return n==="link"?v("a",{href:e,className:pl.link,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t}):v("span",{className:pl.button,children:v("span",{className:pl.buttonContent,children:v("a",{href:e,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t})})})};const Uy={heading:"spark-heading spark-font-200"},Ie=({title:e,accent:t=!1,dashed:n=!1,children:r,testId:i})=>R("div",{className:`st-section ${t?"st-section-accent":""} ${n?"st-section-dashed":""}`,"data-cy":i,children:[v("span",{className:`st-section-title ${Uy.heading}`,children:e}),v("div",{className:"st-section-content",children:U.Children.map(r,o=>v(zy,{children:o}))})]}),zy=({children:e})=>v("div",{className:"st-section-content-row",children:e}),by=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.apt.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={comment:R(b,{ns:"translation",i18nKey:"distributions.apt.steps.addRepository",children:[v("b",{children:"Step 3:"})," Add the repository via the following command"]}),snippets:i.getAddRepositoryCommands(e,t.data.os).map(({ubuntuVersionNumber:s,command:a})=>({comment:`Ubuntu ${s}`,command:a}))},l={downloadKey:{comment:R(b,{t:n,i18nKey:"download",values:{filename:i.keyFilename},children:[v("b",{children:"Step 1:"})," Download the ",v(Ne,{href:i.keyHref,children:i.keyFilename}),". You can also use the following command"]}),command:i.downloadKeyCommand},addKey:{comment:R(b,{t:n,i18nKey:"addKey",children:[v("b",{children:"Step 2:"})," Add this key to the system keyring"]}),command:i.addKeyCommand},addRepository:o,updatePackages:{comment:R(b,{t:n,i18nKey:"updateList",children:[v("b",{children:"Step 4:"})," Update the list of packages via the update command"]}),command:i.updatePackagesCommand},verifyAptCache:{comment:R(b,{t:n,i18nKey:"verify",children:[v("b",{children:"Step 5:"})," Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components"]}),command:i.verifyAptCacheCommand},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 6:"})," Install OpenVINO Runtime"]}),command:i.getInstallCommand(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...l.downloadKey}),v($,{...l.addKey}),v(Fy,{...l.addRepository}),v($,{...l.updatePackages}),v($,{...l.verifyAptCache}),v($,{...l.install})]})},Vy=({distribution:e})=>{const{t}=B("translation",{keyPrefix:"distributions.brew.steps"}),{t:n}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:v(b,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ye.install()}};return v(Ie,{title:n("install"),accent:!0,testId:"instructions",children:v($,{...i.install})})},$y=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.conan.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,{txtFilename:o,cmakeFilename:l}=i,s={createConanFile:{comment:R(b,{t:n,i18nKey:"createConanFile",values:{txtFilename:o},children:[v("b",{children:"Step 1:"})," Create a ",v("b",{children:o})," file for your OpenVINO project and add “openvino” dependency in there"]}),command:i.conanTXTContent(e)},install:{comment:R(b,{t:n,i18nKey:"install",values:{cmakeFilename:l},children:[v("b",{children:"Step 2:"})," Run the command below to create ",v("b",{children:l})," file, which will be used to compile your project with OpenVINO"]}),command:i.install,onCopy:()=>Ye.install()},compile:{comment:R(b,{t:n,i18nKey:"compile",children:[v("b",{children:"Step 3:"})," Configure and compile your project with OpenVINO"]}),command:i.compile}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...s.createConanFile}),v($,{...s.install}),v($,{...s.compile})]})},My=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.conda.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={createEnv:{comment:R(b,{t:n,i18nKey:"createEnv",children:[v("b",{children:"Step 1:"})," Create the Anaconda environment (Python 3.10 used as an example)"]}),command:i.createEnv},activateEnv:{comment:R(b,{t:n,i18nKey:"activateEnv",children:[v("b",{children:"Step 2:"})," Activate the Anaconda environment"]}),command:i.activateEnv},upgradePip:{comment:R(b,{t:n,i18nKey:"update",children:[v("b",{children:"Step 3:"})," Update the Anaconda to latest version"]}),command:i.update},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Download and install the package"]}),command:i.getInstall(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...o.createEnv}),v($,{...o.activateEnv}),v($,{...o.upgradePip}),v($,{...o.install})]})},hl=({ovPackage:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.download"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),i={[F.ARCHIVE]:e.key===Ee.OPENVINO_BASE?n("downloadArchives"):n("downloadArchivesGenAI"),[F.DOCKER]:n("gotoDocker"),[F.SNAP]:n("gotoInstallInstruction")}[t.key],o=R(Zn,{children:[n("useFollowingLink"),v("br",{}),v("b",{children:v(Ne,{href:t.data.downloadLink,testId:"download-button",onClick:()=>Ye.install(),children:i})})]});return v(Ie,{title:r("install"),accent:!0,testId:"instructions",children:v($,{comment:o})})},By=({ovPackage:e,version:t,distribution:n})=>{const{t:r}=B("translation",{keyPrefix:"distributions.githubGitee"}),{t:i}=B("translation",{keyPrefix:"selectorForm.titles"}),o={clone:{comment:R(b,{t:r,i18nKey:"steps.useGitClone",children:[v("b",{children:"Step 1:"})," Use Git to clone the OpenVINO toolkit repository"]}),command:n.data.commands.getCloneCommand(e,t),onCopy:()=>Ye.install()},build:{comment:R(b,{t:r,i18nKey:"steps.buildInstructions",children:[v("b",{children:"Step 2:"})," Follow the ",v(Ne,{href:n.data.links.getBuildInstructionsLink(e,t),testId:"build-instructions-link",children:"instructions to build from source"})]})}};return R(Ie,{title:i("install"),accent:!0,testId:"instructions",children:[v($,{...o.clone}),v($,{...o.build})]})},Ky=({distribution:e,version:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.npm.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=e.data,o={install:{comment:v(b,{t:n,i18nKey:"install",children:"Download and install the package"}),command:i.getInstall(t),onCopy:()=>Ye.install()}};return v(Ie,{title:r("install"),accent:!0,testId:"instructions",children:v($,{...o.install})})},Hy=({ovPackage:e,environment:t,os:n,version:r,distribution:i})=>{const{t:o}=B("translation",{keyPrefix:"distributions.pip.steps"}),{t:l}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:s}=i.data,a=s.getCreateVenvCommand(n,r),u=s.getActivateVenvCommand(n,r),p=s.getInstallCommand({ovPackage:e,environment:t,os:n,version:r,distribution:i}),d={createEnv:{comment:R(b,{t:o,i18nKey:"createVenv",children:[v("b",{children:"Step 1:"})," Create virtual environment"]}),command:a},activateEnv:{comment:R(b,{t:o,i18nKey:"activateVenv",children:[v("b",{children:"Step 2:"})," Activate virtual environment"]}),command:u},upgradePip:{comment:R(b,{t:o,i18nKey:"upgradePip",children:[v("b",{children:"Step 3:"})," Upgrade pip to latest version"]}),command:s.upgradeCommand},install:{comment:R(b,{t:o,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Download and install the package"]}),command:p,onCopy:()=>Ye.install()}};return R(Ie,{title:l("install"),accent:!0,testId:"instructions",children:[v($,{...d.createEnv}),v($,{...d.activateEnv}),v($,{...d.upgradePip}),v($,{...d.install})]})},Wy=({distribution:e})=>{const{t}=B("translation",{keyPrefix:"distributions.vcpkg.steps"}),{t:n}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:v(b,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ye.install()}};return v(Ie,{title:n("install"),accent:!0,testId:"instructions",children:v($,{...i.install})})},Gy=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.yum.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{yumYear:i}=e.metadata,{commands:o}=t.data,l={createRepo:{comment:R(b,{t:n,i18nKey:"createRepoFile",children:[v("b",{children:"Step 1:"})," Create the YUM repo file in the /tmp directory as a normal user"]}),command:o.getCreateRepoCommand(e)},moveRepoFile:{comment:R(b,{t:n,i18nKey:"moveFile",values:{year:i,directory:o.directory},children:[v("b",{children:"Step 2:"})," Move the new openvino-",{year:i},".repo file to the YUM configuration directory ",v("b",{children:o.directory})]}),command:o.getMoveRepoFileCommand(e)},verifyRepo:{comment:R(b,{t:n,i18nKey:"verify",children:[v("b",{children:"Step 3:"})," Verify that the new repo is properly setup by running the following command"]}),command:o.verifyRepoCommand},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 4:"})," Install OpenVINO Runtime"]}),command:o.getInstallCommand(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...l.createRepo}),v($,{...l.moveRepoFile}),v($,{...l.verifyRepo}),v($,{...l.install})]})},Yy=({version:e,distribution:t})=>{const{t:n}=B("translation",{keyPrefix:"distributions.zypper.steps"}),{t:r}=B("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={addRepo:{comment:R(b,{t:n,i18nKey:"addRepo",children:[v("b",{children:"Step 1:"})," Create a ZYPPER repository file with the command below"]}),command:i.addRepo},refresh:{comment:R(b,{t:n,i18nKey:"refresh",children:[v("b",{children:"Step 2:"})," Refresh repositories"]}),command:i.refresh},install:{comment:R(b,{t:n,i18nKey:"install",children:[v("b",{children:"Step 3:"})," Install OpenVINO"]}),command:i.getInstallCommand(e),onCopy:()=>Ye.install()}};return R(Ie,{title:r("install"),accent:!0,testId:"instructions",children:[v($,{...o.addRepo}),v($,{...o.refresh}),v($,{...o.install})]})},Qy=({state:e})=>{var r;const t={ovPackage:e.PACKAGE.selected,environment:(r=e.ENVIRONMENT)==null?void 0:r.selected,os:e.OP_SYSTEM.selected,version:e.VERSION.selected,distribution:e.DISTRIBUTION.selected};if(t.distribution.key===F.PIP)return v(Hy,{...t,distribution:t.distribution});if(t.distribution.key===F.ARCHIVE)return v(hl,{...t,distribution:t.distribution});if(t.distribution.key===F.DOCKER)return v(hl,{...t,distribution:t.distribution});if(t.distribution.key===F.GITHUB||t.distribution.key===F.GITEE)return v(By,{...t,distribution:t.distribution});if(t.distribution.key===F.APT)return v(by,{...t,distribution:t.distribution});if(t.distribution.key===F.YUM)return v(Gy,{...t,distribution:t.distribution});if(t.distribution.key===F.CONDA)return v(My,{...t,distribution:t.distribution});if(t.distribution.key===F.BREW)return v(Vy,{...t,distribution:t.distribution});if(t.distribution.key===F.VCPKG)return v(Wy,{...t,distribution:t.distribution});if(t.distribution.key===F.CONAN)return v($y,{...t,distribution:t.distribution});if(t.distribution.key===F.NPM)return v(Ky,{...t,distribution:t.distribution});if(t.distribution.key===F.ZYPPER)return v(Yy,{...t,distribution:t.distribution});if(t.distribution.key===F.SNAP)return v(hl,{...t,distribution:t.distribution});const n=t.distribution;throw new Error(`${n}`)};function Xy(){const{t:e}=B("common",{keyPrefix:"relatedTools"}),{t}=B("translation");return v(Ie,{title:t("selectorForm.titles.relatedTools"),testId:"relatedTools",accent:!0,dashed:!0,children:R("div",{className:"st-related-tools-links",children:[v(Ne,{href:"https://github.com/openvinotoolkit/openvino_notebooks",testId:"notebooks-link",children:e("OpenVINONotebooks")}),v(Ne,{href:"https://huggingface.co/docs/optimum/main/intel/openvino/inference",testId:"hf_optimum-link",children:"Hugging Face + Optimum Intel"}),v("div",{children:R(b,{t:e,i18nKey:"tokenizers",children:[v(Ne,{href:"https://docs.openvino.ai/2024/learn-openvino/llm_inference_guide/ov-tokenizers.html",testId:"openvino_tokenizers-link",children:"OpenVINO Tokenizers"}),"to streamline tokenizer conversion"]})}),v("div",{children:R(b,{t:e,i18nKey:"nncf",children:[v(Ne,{href:"https://docs.openvino.ai/2024/openvino-workflow/model-optimization-guide/compressing-models-during-training.html",testId:"nncf-link",children:"NNCF"}),"for implementing compression algorithms on models"]})}),v("div",{children:R(b,{t:e,i18nKey:"ovms",children:[v(Ne,{href:"https://docs.openvino.ai/2024/ovms_what_is_openvino_model_server.html",testId:"ovms-link",children:"OVMS"}),"for serving models optimized for deployment"]})})]})})}function Jy({state:e}){const t=e.PACKAGE.selected,n=e.DISTRIBUTION.selected,r=e.VERSION.selected,{t:i}=B("translation",{keyPrefix:"selectorForm.titles"}),{t:o}=B("common",{keyPrefix:"resources"});let l=v(Zn,{});if(F.GITHUB===n.key||F.GITEE===n.key){const s=n.key===F.GITHUB?t.key===Ee.OPENVINO_BASE?o("githubRepository"):o("githubGenAIRepository"):t.key===Ee.OPENVINO_BASE?o("giteeRepository"):o("giteeGenAIRepository");l=R(Zn,{children:[v(Ne,{href:n.data.links.getBuildInstructionsLink(t,r),testId:"install-instructions-link",children:o("installationInstructions")}),v(Ne,{href:n.data.links.getRepositoryLink(t,r),testId:"repository-link",children:s})]})}else l=v(Ne,{href:n.data.linksSet.installation,testId:"install-instructions-link",children:o("installationInstructions")});return v(Ie,{title:i("resources"),testId:"resources",accent:!0,children:R("div",{className:"st-resources-links",children:[R("div",{children:[l,v(Ne,{href:"https://github.com/openvinotoolkit/openvino/releases",testId:"previous-releases-link",children:o("prevReleases")}),v(Ne,{href:r.metadata.systemRequirementsLink,testId:"system-requirements-link",children:o("systemRequirements")})]}),R("div",{children:[v(Ne,{href:r.metadata.getStartedLink,testId:"get-started-link",children:o("getStarted")}),v(Ne,{href:r.metadata.troubleshootingLink,testId:"troubleshooting-link",children:o("troubleshooting")})]})]})})}const Pi={tooltipToggle:"spark-tooltip-toggle",tooltipPopover:"spark-tooltip spark-tooltip-size-m spark-shadow spark-tooltip-bottom",tooltipLabel:"spark-tooltip-label",tooltipArrow:"spark-tooltip-tip"},Zy=({content:e})=>{const[t,n]=U.useState(!1);return v("div",{className:"help-tooltip",children:R("div",{className:Pi.tooltipToggle,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[v("div",{"aria-hidden":"true",role:"img",className:"help-tooltip-icon",children:v(jy,{})}),t&&R("div",{className:`help-tooltip-popover ${Pi.tooltipPopover}`,role:"tooltip",children:[v("span",{className:`help-tooltip-popover-content ${Pi.tooltipLabel}`,children:e}),v("span",{className:Pi.tooltipArrow})]})]})})};const ml={toggleSwitchField:"spark-fieldlabel spark-fieldlabel-size-m spark-toggle-switch spark-toggle-switch-action spark-toggle-switch-size-l",toggleSwitchInput:"spark-focus-visible spark-focus-visible-suppress spark-focus-visible-adjacent",toggleSwitchSelector:"spark-toggle-switch-selector spark-focus-visible spark-focus-visible-snap"},qy=({label:e,checked:t=!1,onClick:n,testId:r})=>R("label",{className:ml.toggleSwitchField,"data-cy":r,children:[v("input",{type:"checkbox",className:ml.toggleSwitchInput,role:"switch",checked:t,onChange:()=>n==null?void 0:n()}),v("span",{className:ml.toggleSwitchSelector}),v("div",{children:e})]});const dn={toggleButton:"spark-button spark-button-size-l spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",toggleButtonGroup:"spark-button-group spark-button-group-orientation-horizontal spark-button-group-align-start spark-button-group-spacing-l",actionButton:"spark-button-action",secondaryButton:"spark-button-secondary",disabledButton:"spark-button-disabled",buttonContent:"spark-button-content",fontXs:"spark-font-25"},Yf=({onClick:e,checked:t=!1,disabled:n=!1,title:r,subtitle:i,value:o})=>v("button",{className:`${dn.toggleButton} ${t?dn.actionButton:dn.secondaryButton} ${n&&dn.disabledButton}`,type:"button",role:"radio","aria-checked":t,onClick:()=>e==null?void 0:e(),"data-cy":o,"aria-label":r,children:R("span",{className:dn.buttonContent,children:[v("span",{className:"title",children:r}),i&&v("span",{className:`${dn.fontXs} subtitle`,children:i})]})}),Qf=({children:e,className:t})=>v("div",{className:`option-button-group ${t||""} ${dn.toggleButtonGroup}`,children:e});function e0({title:e,options:t,level:n}){const r=U.useContext(ya),i=t.some(({checked:u})=>u),[o,l]=U.useState(i),s=t.map(({level:u,key:p,checked:d,metadata:h})=>v(Yf,{value:`${u}_${p}`,checked:d,title:h.title,onClick:()=>r(u,p)},p)),{t:a}=B("translation",{keyPrefix:"frameworks"});return R(Ie,{title:e,testId:n,children:[R(Zn,{children:[v(qy,{label:a("install"),checked:o,onClick:()=>l(!o),testId:"frameworks-toggle-switch"}),v(Zy,{content:a("tooltip")})]}),v(Zn,{children:o&&v(Qf,{children:s})})]})}function Sr({title:e,options:t,level:n}){const r=U.useContext(ya),i=t.map(({level:o,key:l,checked:s,metadata:a})=>v(Yf,{value:`${o}_${l}`,checked:s,title:a.title,subtitle:a.subtitle,onClick:()=>r(o,l)},l));return v(Ie,{title:e,testId:n,children:v(Qf,{children:i})})}function t0({state:e}){var a,u;const t=e.PACKAGE.nodes,n=e.VERSION.nodes,r=(a=e.ENVIRONMENT)==null?void 0:a.nodes.map(p=>({...p,metadata:{...p.metadata,subtitle:void 0}})),i=e.OP_SYSTEM.nodes,o=e.DISTRIBUTION.nodes,l=(u=e.FRAMEWORK)==null?void 0:u.nodes;U.useEffect(()=>Ye.combinationView(),[e]);const{t:s}=B("translation",{keyPrefix:"selectorForm.titles"});return R(Zn,{children:[v(Sr,{title:s("package"),options:t,level:I.PACKAGE}),v(Sr,{title:s("version"),options:n,level:I.VERSION}),r&&v(Sr,{title:s("envinronment"),options:r,level:I.ENVIRONMENT}),v(Sr,{title:s("os"),options:i,level:I.OP_SYSTEM}),v(Sr,{title:s("distribution"),options:o,level:I.DISTRIBUTION}),l&&v(e0,{title:s("frameworks"),options:l,level:I.FRAMEWORK})]})}const{SelectorContext:ya,useSelector:n0}=Cy();Ye.initialize(window.parent);function r0(){const[e,t]=n0();return v("div",{className:`st-responsive-container ${Gf?"idz-page":""}`,children:R(ya.Provider,{value:t,children:[v(t0,{state:e}),v(Qy,{state:e}),v(Jy,{state:e}),v(Xy,{})]})})}wl.createRoot(document.getElementById("root")).render(v(pp.StrictMode,{children:v(r0,{})}));diff --git a/docs/sphinx_setup/_static/selector-tool/assets/selector-b0e2854e.css b/docs/sphinx_setup/_static/selector-tool/assets/selector-BC2lpCQ9.csssimilarity index 100%rename from docs/sphinx_setup/_static/selector-tool/assets/selector-b0e2854e.cssrename to docs/sphinx_setup/_static/selector-tool/assets/selector-BC2lpCQ9.cssdiff --git a/docs/sphinx_setup/_static/selector-tool/assets/selector-Bu10eOtw.js b/docs/sphinx_setup/_static/selector-tool/assets/selector-Bu10eOtw.jsnew file mode 100644index 00000000000..1201e390e5c--- /dev/null+++ b/docs/sphinx_setup/_static/selector-tool/assets/selector-Bu10eOtw.js@@ -0,0 +1,61 @@+var Gf=Object.defineProperty;var Yf=(e,t,n)=>t in e?Gf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ve=(e,t,n)=>Yf(e,typeof t!="symbol"?t+"":t,n);function sc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lc={exports:{}},co={},ac={exports:{}},F={};/**+ * @license React+ * react.production.min.js+ *+ * Copyright (c) Facebook, Inc. and its affiliates.+ *+ * This source code is licensed under the MIT license found in the+ * LICENSE file in the root directory of this source tree.+ */var Jr=Symbol.for("react.element"),Qf=Symbol.for("react.portal"),Xf=Symbol.for("react.fragment"),Jf=Symbol.for("react.strict_mode"),Zf=Symbol.for("react.profiler"),qf=Symbol.for("react.provider"),ep=Symbol.for("react.context"),tp=Symbol.for("react.forward_ref"),np=Symbol.for("react.suspense"),rp=Symbol.for("react.memo"),ip=Symbol.for("react.lazy"),wa=Symbol.iterator;function op(e){return e===null||typeof e!="object"?null:(e=wa&&e[wa]||e["@@iterator"],typeof e=="function"?e:null)}var uc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cc=Object.assign,dc={};function or(e,t,n){this.props=e,this.context=t,this.refs=dc,this.updater=n||uc}or.prototype.isReactComponent={};or.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fc(){}fc.prototype=or.prototype;function fl(e,t,n){this.props=e,this.context=t,this.refs=dc,this.updater=n||uc}var pl=fl.prototype=new fc;pl.constructor=fl;cc(pl,or.prototype);pl.isPureReactComponent=!0;var ka=Array.isArray,pc=Object.prototype.hasOwnProperty,hl={current:null},hc={key:!0,ref:!0,__self:!0,__source:!0};function mc(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)pc.call(t,r)&&!hc.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:Jr,type:e,key:o,ref:s,props:i,_owner:hl.current}}function sp(e,t){return{$$typeof:Jr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ml(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jr}function lp(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Sa=/\/+/g;function Lo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?lp(""+e.key):t.toString(36)}function _i(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Jr:case Qf:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Lo(s,0):r,ka(i)?(n="",e!=null&&(n=e.replace(Sa,"$&/")+"/"),_i(i,t,n,"",function(u){return u})):i!=null&&(ml(i)&&(i=sp(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(Sa,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",ka(e))for(var l=0;l<e.length;l++){o=e[l];var a=r+Lo(o,l);s+=_i(o,t,n,a,i)}else if(a=op(e),typeof a=="function")for(e=a.call(e),l=0;!(o=e.next()).done;)o=o.value,a=r+Lo(o,l++),s+=_i(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function ii(e,t,n){if(e==null)return e;var r=[],i=0;return _i(e,r,"","",function(o){return t.call(n,o,i++)}),r}function ap(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Pe={current:null},Ni={transition:null},up={ReactCurrentDispatcher:Pe,ReactCurrentBatchConfig:Ni,ReactCurrentOwner:hl};F.Children={map:ii,forEach:function(e,t,n){ii(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ii(e,function(){t++}),t},toArray:function(e){return ii(e,function(t){return t})||[]},only:function(e){if(!ml(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};F.Component=or;F.Fragment=Xf;F.Profiler=Zf;F.PureComponent=fl;F.StrictMode=Jf;F.Suspense=np;F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=up;F.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=cc({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=hl.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)pc.call(t,a)&&!hc.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Jr,type:e.type,key:i,ref:o,props:r,_owner:s}};F.createContext=function(e){return e={$$typeof:ep,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:qf,_context:e},e.Consumer=e};F.createElement=mc;F.createFactory=function(e){var t=mc.bind(null,e);return t.type=e,t};F.createRef=function(){return{current:null}};F.forwardRef=function(e){return{$$typeof:tp,render:e}};F.isValidElement=ml;F.lazy=function(e){return{$$typeof:ip,_payload:{_status:-1,_result:e},_init:ap}};F.memo=function(e,t){return{$$typeof:rp,type:e,compare:t===void 0?null:t}};F.startTransition=function(e){var t=Ni.transition;Ni.transition={};try{e()}finally{Ni.transition=t}};F.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};F.useCallback=function(e,t){return Pe.current.useCallback(e,t)};F.useContext=function(e){return Pe.current.useContext(e)};F.useDebugValue=function(){};F.useDeferredValue=function(e){return Pe.current.useDeferredValue(e)};F.useEffect=function(e,t){return Pe.current.useEffect(e,t)};F.useId=function(){return Pe.current.useId()};F.useImperativeHandle=function(e,t,n){return Pe.current.useImperativeHandle(e,t,n)};F.useInsertionEffect=function(e,t){return Pe.current.useInsertionEffect(e,t)};F.useLayoutEffect=function(e,t){return Pe.current.useLayoutEffect(e,t)};F.useMemo=function(e,t){return Pe.current.useMemo(e,t)};F.useReducer=function(e,t,n){return Pe.current.useReducer(e,t,n)};F.useRef=function(e){return Pe.current.useRef(e)};F.useState=function(e){return Pe.current.useState(e)};F.useSyncExternalStore=function(e,t,n){return Pe.current.useSyncExternalStore(e,t,n)};F.useTransition=function(){return Pe.current.useTransition()};F.version="18.2.0";ac.exports=F;var D=ac.exports;const cp=sc(D);/**+ * @license React+ * react-jsx-runtime.production.min.js+ *+ * Copyright (c) Facebook, Inc. and its affiliates.+ *+ * This source code is licensed under the MIT license found in the+ * LICENSE file in the root directory of this source tree.+ */var dp=D,fp=Symbol.for("react.element"),pp=Symbol.for("react.fragment"),hp=Object.prototype.hasOwnProperty,mp=dp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,gp={key:!0,ref:!0,__self:!0,__source:!0};function gc(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)hp.call(t,r)&&!gp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:fp,type:e,key:o,ref:s,props:i,_owner:mp.current}}co.Fragment=pp;co.jsx=gc;co.jsxs=gc;lc.exports=co;var m=lc.exports;document.body.style.cssText+=`+overflow: hidden;+`;const vp=()=>{const e={type:"size",height:document.body.offsetHeight};window.parent.postMessage(e)};new ResizeObserver(vp).observe(document.body);function he(e){"@babel/helpers - typeof";return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},he(e)}function ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yp(e,t){if(he(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(he(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vc(e){var t=yp(e,"string");return he(t)==="symbol"?t:String(t)}function xa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vc(r.key),r)}}function pt(e,t,n){return t&&xa(e.prototype,t),n&&xa(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hs(e,t){return hs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},hs(e,t)}function fo(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hs(e,t)}function Zr(e,t){if(t&&(he(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Wt(e)}function xt(e){return xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(e)}function tt(e,t,n){return t=vc(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){if(Array.isArray(e))return e}function wp(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Oa(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function wc(e,t){if(e){if(typeof e=="string")return Oa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oa(e,t)}}function kc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.+In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kp(e){return yc(e)||wp(e)||wc(e)||kc()}function _a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Na(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_a(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Sp={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,n){console&&console[t]&&console[t].apply(console,n)}},xp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ft(this,e),this.init(t,n)}return pt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=n||Sp,this.options=r,this.debug=r.debug}},{key:"setDebug",value:function(n){this.debug=n}},{key:"log",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"log","",!0)}},{key:"warn",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","",!0)}},{key:"error",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"error","")}},{key:"deprecate",value:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(n,r,i,o){return o&&!this.debug?null:(typeof n[0]=="string"&&(n[0]="".concat(i).concat(this.prefix," ").concat(n[0])),this.logger[r](n))}},{key:"create",value:function(n){return new e(this.logger,Na(Na({},{prefix:"".concat(this.prefix,":").concat(n,":")}),this.options))}},{key:"clone",value:function(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new e(this.logger,n)}}]),e}(),wt=new xp,tn=function(){function e(){ft(this,e),this.observers={}}return pt(e,[{key:"on",value:function(n,r){var i=this;return n.split(" ").forEach(function(o){i.observers[o]=i.observers[o]||[],i.observers[o].push(r)}),this}},{key:"off",value:function(n,r){if(this.observers[n]){if(!r){delete this.observers[n];return}this.observers[n]=this.observers[n].filter(function(i){return i!==r})}}},{key:"emit",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];if(this.observers[n]){var s=[].concat(this.observers[n]);s.forEach(function(a){a.apply(void 0,i)})}if(this.observers["*"]){var l=[].concat(this.observers["*"]);l.forEach(function(a){a.apply(a,[n].concat(i))})}}}]),e}();function cr(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function Pa(e){return e==null?"":""+e}function Op(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function gl(e,t,n){function r(l){return l&&l.indexOf("###")>-1?l.replace(/###/g,"."):l}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var s=r(o.shift());!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={}}return i()?{}:{obj:e,k:r(o.shift())}}function Ea(e,t,n){var r=gl(e,t,Object),i=r.obj,o=r.k;i[o]=n}function _p(e,t,n,r){var i=gl(e,t,Object),o=i.obj,s=i.k;o[s]=o[s]||[],o[s].push(n)}function Ui(e,t){var n=gl(e,t),r=n.obj,i=n.k;if(r)return r[i]}function Ca(e,t,n){var r=Ui(e,n);return r!==void 0?r:Ui(t,n)}function Sc(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Sc(e[r],t[r],n):e[r]=t[r]);return e}function jn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Np={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Pp(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return Np[t]}):e}var po=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Ep=[" ",",","?","!",";"];function Cp(e,t,n){t=t||"",n=n||"";var r=Ep.filter(function(l){return t.indexOf(l)<0&&n.indexOf(l)<0});if(r.length===0)return!0;var i=new RegExp("(".concat(r.map(function(l){return l==="?"?"\\?":l}).join("|"),")")),o=!i.test(e);if(!o){var s=e.indexOf(n);s>0&&!i.test(e.substring(0,s))&&(o=!0)}return o}function ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function oi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ja(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jp(e){var t=Ip();return function(){var r=xt(e),i;if(t){var o=xt(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Zr(this,i)}}function Ip(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function xc(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i||typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var s=2,l=r.slice(o,o+s).join(n),a=i[l];a===void 0&&r.length>o+s;)s++,l=r.slice(o,o+s).join(n),a=i[l];if(a===void 0)return;if(a===null)return null;if(t.endsWith(l)){if(typeof a=="string")return a;if(l&&typeof a[l]=="string")return a[l]}var u=r.slice(o+s).join(n);return u?xc(a,u,n):void 0}i=i[r[o]]}return i}}var Rp=function(e){fo(n,e);var t=jp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ft(this,n),i=t.call(this),po&&tn.call(Wt(i)),i.data=r||{},i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pt(n,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}},{key:"getResource",value:function(i,o,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator,u=l.ignoreJSONStructure!==void 0?l.ignoreJSONStructure:this.options.ignoreJSONStructure,p=[i,o];s&&typeof s!="string"&&(p=p.concat(s)),s&&typeof s=="string"&&(p=p.concat(a?s.split(a):s)),i.indexOf(".")>-1&&(p=i.split("."));var d=Ui(this.data,p);return d||!u||typeof s!="string"?d:xc(this.data&&this.data[i]&&this.data[i][o],s,a)}},{key:"addResource",value:function(i,o,s,l){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var p=[i,o];s&&(p=p.concat(u?s.split(u):s)),i.indexOf(".")>-1&&(p=i.split("."),l=o,o=p[1]),this.addNamespaces(o),Ea(this.data,p,l),a.silent||this.emit("added",i,o,s,l)}},{key:"addResources",value:function(i,o,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in s)(typeof s[a]=="string"||Object.prototype.toString.apply(s[a])==="[object Array]")&&this.addResource(i,o,a,s[a],{silent:!0});l.silent||this.emit("added",i,o,s)}},{key:"addResourceBundle",value:function(i,o,s,l,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},p=[i,o];i.indexOf(".")>-1&&(p=i.split("."),l=s,s=o,o=p[1]),this.addNamespaces(o);var d=Ui(this.data,p)||{};l?Sc(d,s,a):d=oi(oi({},d),s),Ea(this.data,p,d),u.silent||this.emit("added",i,o,s)}},{key:"removeResourceBundle",value:function(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}},{key:"hasResourceBundle",value:function(i,o){return this.getResource(i,o)!==void 0}},{key:"getResourceBundle",value:function(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?oi(oi({},{}),this.getResource(i,o)):this.getResource(i,o)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var o=this.getDataByLanguage(i),s=o&&Object.keys(o)||[];return!!s.find(function(l){return o[l]&&Object.keys(o[l]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),n}(tn),Oc={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,n,r,i,o){var s=this;return t.forEach(function(l){s.processors[l]&&(n=s.processors[l].process(n,r,i,o))}),n}};function Ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ia(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ia(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Tp(e){var t=Lp();return function(){var r=xt(e),i;if(t){var o=xt(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Zr(this,i)}}function Lp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var Ra={},Ta=function(e){fo(n,e);var t=Tp(n);function n(r){var i,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ft(this,n),i=t.call(this),po&&tn.call(Wt(i)),Op(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,Wt(i)),i.options=o,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=wt.create("translator"),i}return pt(n,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var s=this.resolve(i,o);return s&&s.res!==void 0}},{key:"extractFromKey",value:function(i,o){var s=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");var l=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,a=o.ns||this.options.defaultNS||[],u=s&&i.indexOf(s)>-1,p=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!Cp(i,s,l);if(u&&!p){var d=i.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:i,namespaces:a};var h=i.split(s);(s!==l||s===l&&this.options.ns.indexOf(h[0])>-1)&&(a=h.shift()),i=h.join(l)}return typeof a=="string"&&(a=[a]),{key:i,namespaces:a}}},{key:"translate",value:function(i,o,s){var l=this;if(he(o)!=="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var a=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,p=this.extractFromKey(i[i.length-1],o),d=p.key,h=p.namespaces,v=h[h.length-1],y=o.lng||this.language,k=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(y&&y.toLowerCase()==="cimode"){if(k){var O=o.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(v).concat(O).concat(d),usedKey:d,exactUsedKey:d,usedLng:y,usedNS:v}:"".concat(v).concat(O).concat(d)}return a?{res:d,usedKey:d,exactUsedKey:d,usedLng:y,usedNS:v}:d}var f=this.resolve(i,o),c=f&&f.res,g=f&&f.usedKey||d,w=f&&f.exactUsedKey||d,x=Object.prototype.toString.apply(c),S=["[object Number]","[object Function]","[object RegExp]"],N=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,P=!this.i18nFormat||this.i18nFormat.handleAsObject,T=typeof c!="string"&&typeof c!="boolean"&&typeof c!="number";if(P&&c&&T&&S.indexOf(x)<0&&!(typeof N=="string"&&x==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,c,Se(Se({},o),{},{ns:h})):"key '".concat(d," (").concat(this.language,")' returned an object instead of string.");return a?(f.res=E,f):E}if(u){var K=x==="[object Array]",je=K?[]:{},Ot=K?w:g;for(var nt in c)if(Object.prototype.hasOwnProperty.call(c,nt)){var Pn="".concat(Ot).concat(u).concat(nt);je[nt]=this.translate(Pn,Se(Se({},o),{joinArrays:!1,ns:h})),je[nt]===Pn&&(je[nt]=c[nt])}c=je}}else if(P&&typeof N=="string"&&x==="[object Array]")c=c.join(N),c&&(c=this.extendTranslation(c,i,o,s));else{var ht=!1,rt=!1,C=o.count!==void 0&&typeof o.count!="string",R=n.hasDefaultValue(o),L=C?this.pluralResolver.getSuffix(y,o.count,o):"",V=o["defaultValue".concat(L)]||o.defaultValue;!this.isValidLookup(c)&&R&&(ht=!0,c=V),this.isValidLookup(c)||(rt=!0,c=d);var Y=o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,_t=Y&&rt?void 0:c,Ue=R&&V!==c&&this.options.updateMissing;if(rt||ht||Ue){if(this.logger.log(Ue?"updateKey":"missingKey",y,v,d,Ue?V:c),u){var En=this.resolve(d,Se(Se({},o),{},{keySeparator:!1}));En&&En.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.")}var ze=[],Nt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Nt&&Nt[0])for(var Io=0;Io<Nt.length;Io++)ze.push(Nt[Io]);else this.options.saveMissingTo==="all"?ze=this.languageUtils.toResolveHierarchy(o.lng||this.language):ze.push(o.lng||this.language);var ga=function(Cn,To,va){var ya=R&&va!==c?va:_t;l.options.missingKeyHandler?l.options.missingKeyHandler(Cn,v,To,ya,Ue,o):l.backendConnector&&l.backendConnector.saveMissing&&l.backendConnector.saveMissing(Cn,v,To,ya,Ue,o),l.emit("missingKey",Cn,v,To,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?ze.forEach(function(Ro){l.pluralResolver.getSuffixes(Ro,o).forEach(function(Cn){ga([Ro],d+Cn,o["defaultValue".concat(Cn)]||V)})}):ga(ze,d,V))}c=this.extendTranslation(c,i,o,f,s),rt&&c===d&&this.options.appendNamespaceToMissingKey&&(c="".concat(v,":").concat(d)),(rt||ht)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(v,":").concat(d):d,ht?c:void 0):c=this.options.parseMissingKeyHandler(c))}return a?(f.res=c,f):c}},{key:"extendTranslation",value:function(i,o,s,l,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,Se(Se({},this.options.interpolation.defaultVariables),s),l.usedLng,l.usedNS,l.usedKey,{resolved:l});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init(Se(Se({},s),{interpolation:Se(Se({},this.options.interpolation),s.interpolation)}));var p=typeof i=="string"&&(s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),d;if(p){var h=i.match(this.interpolator.nestingRegexp);d=h&&h.length}var v=s.replace&&typeof s.replace!="string"?s.replace:s;if(this.options.interpolation.defaultVariables&&(v=Se(Se({},this.options.interpolation.defaultVariables),v)),i=this.interpolator.interpolate(i,v,s.lng||this.language,s),p){var y=i.match(this.interpolator.nestingRegexp),k=y&&y.length;d<k&&(s.nest=!1)}s.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var c=arguments.length,g=new Array(c),w=0;w<c;w++)g[w]=arguments[w];return a&&a[0]===g[0]&&!s.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(g[0]," in key: ").concat(o[0])),null):u.translate.apply(u,g.concat([o]))},s)),s.interpolation&&this.interpolator.reset()}var O=s.postProcess||this.options.postProcess,f=typeof O=="string"?[O]:O;return i!=null&&f&&f.length&&s.applyPostProcessor!==!1&&(i=Oc.handle(f,i,o,this.options&&this.options.postProcessPassResolved?Se({i18nResolved:l},s):s,this)),i}},{key:"resolve",value:function(i){var o=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l,a,u,p,d;return typeof i=="string"&&(i=[i]),i.forEach(function(h){if(!o.isValidLookup(l)){var v=o.extractFromKey(h,s),y=v.key;a=y;var k=v.namespaces;o.options.fallbackNS&&(k=k.concat(o.options.fallbackNS));var O=s.count!==void 0&&typeof s.count!="string",f=O&&!s.ordinal&&s.count===0&&o.pluralResolver.shouldUseIntlApi(),c=s.context!==void 0&&(typeof s.context=="string"||typeof s.context=="number")&&s.context!=="",g=s.lngs?s.lngs:o.languageUtils.toResolveHierarchy(s.lng||o.language,s.fallbackLng);k.forEach(function(w){o.isValidLookup(l)||(d=w,!Ra["".concat(g[0],"-").concat(w)]&&o.utils&&o.utils.hasLoadedNamespace&&!o.utils.hasLoadedNamespace(d)&&(Ra["".concat(g[0],"-").concat(w)]=!0,o.logger.warn('key "'.concat(a,'" for languages "').concat(g.join(", "),`" won't get resolved as namespace "`).concat(d,'" 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!!!")),g.forEach(function(x){if(!o.isValidLookup(l)){p=x;var S=[y];if(o.i18nFormat&&o.i18nFormat.addLookupKeys)o.i18nFormat.addLookupKeys(S,y,x,w,s);else{var N;O&&(N=o.pluralResolver.getSuffix(x,s.count,s));var P="".concat(o.options.pluralSeparator,"zero");if(O&&(S.push(y+N),f&&S.push(y+P)),c){var T="".concat(y).concat(o.options.contextSeparator).concat(s.context);S.push(T),O&&(S.push(T+N),f&&S.push(T+P))}}for(var E;E=S.pop();)o.isValidLookup(l)||(u=E,l=o.getResource(x,w,E,s))}}))})}}),{res:l,usedKey:a,exactUsedKey:u,usedLng:p,usedNS:d}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,o,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,s,l):this.resourceStore.getResource(i,o,s,l)}}],[{key:"hasDefaultValue",value:function(i){var o="defaultValue";for(var s in i)if(Object.prototype.hasOwnProperty.call(i,s)&&o===s.substring(0,o.length)&&i[s]!==void 0)return!0;return!1}}]),n}(tn);function Ao(e){return e.charAt(0).toUpperCase()+e.slice(1)}var La=function(){function e(t){ft(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=wt.create("languageUtils")}return pt(e,[{key:"getScriptPartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return null;var r=n.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}},{key:"getLanguagePartFromCode",value:function(n){if(!n||n.indexOf("-")<0)return n;var r=n.split("-");return this.formatLanguageCode(r[0])}},{key:"formatLanguageCode",value:function(n){if(typeof n=="string"&&n.indexOf("-")>-1){var r=["hans","hant","latn","cyrl","cans","mong","arab"],i=n.split("-");return this.options.lowerCaseLng?i=i.map(function(o){return o.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ao(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),r.indexOf(i[1].toLowerCase())>-1&&(i[1]=Ao(i[1].toLowerCase())),r.indexOf(i[2].toLowerCase())>-1&&(i[2]=Ao(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}},{key:"isSupportedCode",value:function(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}},{key:"getBestMatchFromCodes",value:function(n){var r=this;if(!n)return null;var i;return n.forEach(function(o){if(!i){var s=r.formatLanguageCode(o);(!r.options.supportedLngs||r.isSupportedCode(s))&&(i=s)}}),!i&&this.options.supportedLngs&&n.forEach(function(o){if(!i){var s=r.getLanguagePartFromCode(o);if(r.isSupportedCode(s))return i=s;i=r.options.supportedLngs.find(function(l){if(l.indexOf(s)===0)return l})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(n,r){if(!n)return[];if(typeof n=="function"&&(n=n(r)),typeof n=="string"&&(n=[n]),Object.prototype.toString.apply(n)==="[object Array]")return n;if(!r)return n.default||[];var i=n[r];return i||(i=n[this.getScriptPartFromCode(r)]),i||(i=n[this.formatLanguageCode(r)]),i||(i=n[this.getLanguagePartFromCode(r)]),i||(i=n.default),i||[]}},{key:"toResolveHierarchy",value:function(n,r){var i=this,o=this.getFallbackCodes(r||this.options.fallbackLng||[],n),s=[],l=function(u){u&&(i.isSupportedCode(u)?s.push(u):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof n=="string"&&n.indexOf("-")>-1?(this.options.load!=="languageOnly"&&l(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&l(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&l(this.getLanguagePartFromCode(n))):typeof n=="string"&&l(this.formatLanguageCode(n)),o.forEach(function(a){s.indexOf(a)<0&&l(i.formatLanguageCode(a))}),s}}]),e}(),Ap=[{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}],Fp={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},Dp=["v1","v2","v3"],Aa={zero:0,one:1,two:2,few:3,many:4,other:5};function Up(){var e={};return Ap.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:Fp[t.fc]}})}),e}var zp=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ft(this,e),this.languageUtils=t,this.options=n,this.logger=wt.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(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=Up()}return pt(e,[{key:"addRule",value:function(n,r){this.rules[n]=r}},{key:"getRule",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(n,{type:r.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[n]||this.rules[this.languageUtils.getLanguagePartFromCode(n)]}},{key:"needsPlural",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(n,r);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(n,i).map(function(o){return"".concat(r).concat(o)})}},{key:"getSuffixes",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(s,l){return Aa[s]-Aa[l]}).map(function(s){return"".concat(r.options.prepend).concat(s)}):o.numbers.map(function(s){return r.getSuffix(n,s,i)}):[]}},{key:"getSuffix",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=this.getRule(n,i);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(r)):this.getSuffixRetroCompatible(o,r):(this.logger.warn("no plural rule found for: ".concat(n)),"")}},{key:"getSuffixRetroCompatible",value:function(n,r){var i=this,o=n.noAbs?n.plurals(r):n.plurals(Math.abs(r)),s=n.numbers[o];this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));var l=function(){return i.options.prepend&&s.toString()?i.options.prepend+s.toString():s.toString()};return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?"_plural_".concat(s.toString()):l():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&n.numbers.length===2&&n.numbers[0]===1?l():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!Dp.includes(this.options.compatibilityJSON)}}]),e}();function Fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fa(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Vp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ft(this,e),this.logger=wt.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return pt(e,[{key:"init",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};n.interpolation||(n.interpolation={escapeValue:!0});var r=n.interpolation;this.escape=r.escape!==void 0?r.escape:Pp,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?jn(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?jn(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?jn(r.nestingPrefix):r.nestingPrefixEscaped||jn("$t("),this.nestingSuffix=r.nestingSuffix?jn(r.nestingSuffix):r.nestingSuffixEscaped||jn(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var n="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(n,"g");var r="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(r,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(n,r,i,o){var s=this,l,a,u,p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(O){return O.replace(/\$/g,"$$$$")}var h=function(f){if(f.indexOf(s.formatSeparator)<0){var c=Ca(r,p,f);return s.alwaysFormat?s.format(c,void 0,i,it(it(it({},o),r),{},{interpolationkey:f})):c}var g=f.split(s.formatSeparator),w=g.shift().trim(),x=g.join(s.formatSeparator).trim();return s.format(Ca(r,p,w),x,i,it(it(it({},o),r),{},{interpolationkey:w}))};this.resetRegExp();var v=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,y=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,k=[{regex:this.regexpUnescape,safeValue:function(f){return d(f)}},{regex:this.regexp,safeValue:function(f){return s.escapeValue?d(s.escape(f)):d(f)}}];return k.forEach(function(O){for(u=0;l=O.regex.exec(n);){var f=l[1].trim();if(a=h(f),a===void 0)if(typeof v=="function"){var c=v(n,l,o);a=typeof c=="string"?c:""}else if(o&&Object.prototype.hasOwnProperty.call(o,f))a="";else if(y){a=l[0];continue}else s.logger.warn("missed to pass in variable ".concat(f," for interpolating ").concat(n)),a="";else typeof a!="string"&&!s.useRawValueToEscape&&(a=Pa(a));var g=O.safeValue(a);if(n=n.replace(l[0],g),y?(O.regex.lastIndex+=a.length,O.regex.lastIndex-=l[0].length):O.regex.lastIndex=0,u++,u>=s.maxReplaces)break}}),n}},{key:"nest",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,l,a;function u(v,y){var k=this.nestingOptionsSeparator;if(v.indexOf(k)<0)return v;var O=v.split(new RegExp("".concat(k,"[ ]*{"))),f="{".concat(O[1]);v=O[0],f=this.interpolate(f,a);var c=f.match(/'/g),g=f.match(/"/g);(c&&c.length%2===0&&!g||g.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),y&&(a=it(it({},y),a))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(v),w),"".concat(v).concat(k).concat(f)}return delete a.defaultValue,v}for(;s=this.nestingRegexp.exec(n);){var p=[];a=it({},o),a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;var d=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){var h=s[1].split(this.formatSeparator).map(function(v){return v.trim()});s[1]=h.shift(),p=h,d=!0}if(l=r(u.call(this,s[1].trim(),a),a),l&&s[0]===n&&typeof l!="string")return l;typeof l!="string"&&(l=Pa(l)),l||(this.logger.warn("missed to resolve ".concat(s[1]," for nesting ").concat(n)),l=""),d&&(l=p.reduce(function(v,y){return i.format(v,y,o.lng,it(it({},o),{},{interpolationkey:s[1].trim()}))},l.trim())),n=n.replace(s[0],l),this.regexp.lastIndex=0}return n}}]),e}();function Da(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Pt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Da(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Da(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function bp(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);if(t==="currency"&&i.indexOf(":")<0)n.currency||(n.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)n.range||(n.range=i.trim());else{var o=i.split(";");o.forEach(function(s){if(s){var l=s.split(":"),a=kp(l),u=a[0],p=a.slice(1),d=p.join(":").trim().replace(/^'+|'+$/g,"");n[u.trim()]||(n[u.trim()]=d),d==="false"&&(n[u.trim()]=!1),d==="true"&&(n[u.trim()]=!0),isNaN(d)||(n[u.trim()]=parseInt(d,10))}})}}return{formatName:t,formatOptions:n}}function In(e){var t={};return function(r,i,o){var s=i+JSON.stringify(o),l=t[s];return l||(l=e(i,o),t[s]=l),l(r)}}var Mp=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ft(this,e),this.logger=wt.create("formatter"),this.options=t,this.formats={number:In(function(n,r){var i=new Intl.NumberFormat(n,Pt({},r));return function(o){return i.format(o)}}),currency:In(function(n,r){var i=new Intl.NumberFormat(n,Pt(Pt({},r),{},{style:"currency"}));return function(o){return i.format(o)}}),datetime:In(function(n,r){var i=new Intl.DateTimeFormat(n,Pt({},r));return function(o){return i.format(o)}}),relativetime:In(function(n,r){var i=new Intl.RelativeTimeFormat(n,Pt({},r));return function(o){return i.format(o,r.range||"day")}}),list:In(function(n,r){var i=new Intl.ListFormat(n,Pt({},r));return function(o){return i.format(o)}})},this.init(t)}return pt(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=r.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(n,r){this.formats[n.toLowerCase().trim()]=r}},{key:"addCached",value:function(n,r){this.formats[n.toLowerCase().trim()]=In(r)}},{key:"format",value:function(n,r,i){var o=this,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=r.split(this.formatSeparator),a=l.reduce(function(u,p){var d=bp(p),h=d.formatName,v=d.formatOptions;if(o.formats[h]){var y=u;try{var k=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},O=k.locale||k.lng||s.locale||s.lng||i;y=o.formats[h](u,O,Pt(Pt(Pt({},v),s),k))}catch(f){o.logger.warn(f)}return y}else o.logger.warn("there was no format function for ".concat(h));return u},n);return a}}]),e}();function Ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function za(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ua(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ua(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $p(e){var t=Bp();return function(){var r=xt(e),i;if(t){var o=xt(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Zr(this,i)}}function Bp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Kp(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var Hp=function(e){fo(n,e);var t=$p(n);function n(r,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ft(this,n),s=t.call(this),po&&tn.call(Wt(s)),s.backend=r,s.store=i,s.services=o,s.languageUtils=o.languageUtils,s.options=l,s.logger=wt.create("backendConnector"),s.waitingReads=[],s.maxParallelReads=l.maxParallelReads||10,s.readingCalls=0,s.maxRetries=l.maxRetries>=0?l.maxRetries:5,s.retryTimeout=l.retryTimeout>=1?l.retryTimeout:350,s.state={},s.queue=[],s.backend&&s.backend.init&&s.backend.init(o,l.backend,l),s}return pt(n,[{key:"queueLoad",value:function(i,o,s,l){var a=this,u={},p={},d={},h={};return i.forEach(function(v){var y=!0;o.forEach(function(k){var O="".concat(v,"|").concat(k);!s.reload&&a.store.hasResourceBundle(v,k)?a.state[O]=2:a.state[O]<0||(a.state[O]===1?p[O]===void 0&&(p[O]=!0):(a.state[O]=1,y=!1,p[O]===void 0&&(p[O]=!0),u[O]===void 0&&(u[O]=!0),h[k]===void 0&&(h[k]=!0)))}),y||(d[v]=!0)}),(Object.keys(u).length||Object.keys(p).length)&&this.queue.push({pending:p,pendingCount:Object.keys(p).length,loaded:{},errors:[],callback:l}),{toLoad:Object.keys(u),pending:Object.keys(p),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(h)}}},{key:"loaded",value:function(i,o,s){var l=i.split("|"),a=l[0],u=l[1];o&&this.emit("failedLoading",a,u,o),s&&this.store.addResourceBundle(a,u,s),this.state[i]=o?-1:2;var p={};this.queue.forEach(function(d){_p(d.loaded,[a],u),Kp(d,i),o&&d.errors.push(o),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(function(h){p[h]||(p[h]={});var v=d.loaded[h];v.length&&v.forEach(function(y){p[h][y]===void 0&&(p[h][y]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(i,o,s){var l=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,p=arguments.length>5?arguments[5]:void 0;if(!i.length)return p(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:s,tried:a,wait:u,callback:p});return}this.readingCalls++;var d=function(k,O){if(l.readingCalls--,l.waitingReads.length>0){var f=l.waitingReads.shift();l.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(k&&O&&a<l.maxRetries){setTimeout(function(){l.read.call(l,i,o,s,a+1,u*2,p)},u);return}p(k,O)},h=this.backend[s].bind(this.backend);if(h.length===2){try{var v=h(i,o);v&&typeof v.then=="function"?v.then(function(y){return d(null,y)}).catch(d):d(null,v)}catch(y){d(y)}return}return h(i,o,d)}},{key:"prepareLoading",value:function(i,o){var s=this,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=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."),a&&a();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);var u=this.queueLoad(i,o,l,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(p){s.loadOne(p)})}},{key:"load",value:function(i,o,s){this.prepareLoading(i,o,{},s)}},{key:"reload",value:function(i,o,s){this.prepareLoading(i,o,{reload:!0},s)}},{key:"loadOne",value:function(i){var o=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l=i.split("|"),a=l[0],u=l[1];this.read(a,u,"read",void 0,void 0,function(p,d){p&&o.logger.warn("".concat(s,"loading namespace ").concat(u," for language ").concat(a," failed"),p),!p&&d&&o.logger.log("".concat(s,"loaded namespace ").concat(u," for language ").concat(a),d),o.loaded(i,p,d)})}},{key:"saveMissing",value:function(i,o,s,l,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},p=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn('did not save key "'.concat(s,'" as the namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if(this.backend&&this.backend.create){var d=za(za({},u),{},{isUpdate:a}),h=this.backend.create.bind(this.backend);if(h.length<6)try{var v;h.length===5?v=h(i,o,s,l,d):v=h(i,o,s,l),v&&typeof v.then=="function"?v.then(function(y){return p(null,y)}).catch(p):p(null,v)}catch(y){p(y)}else h(i,o,s,l,p,d)}!i||!i[0]||this.store.addResource(i[0],o,s,l)}}}]),n}(tn);function Va(){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:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var n={};if(he(t[1])==="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),he(t[2])==="object"||he(t[3])==="object"){var r=t[3]||t[2];Object.keys(r).forEach(function(i){n[i]=r[i]})}return n},interpolation:{escapeValue:!0,format:function(t,n,r,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function ba(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ma(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ma(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Wp(e){var t=Gp();return function(){var r=xt(e),i;if(t){var o=xt(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return Zr(this,i)}}function Gp(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function si(){}function Yp(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(n){typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}var zi=function(e){fo(n,e);var t=Wp(n);function n(){var r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(ft(this,n),r=t.call(this),po&&tn.call(Wt(r)),r.options=ba(i),r.services={},r.logger=wt,r.modules={external:[]},Yp(Wt(r)),o&&!r.isInitialized&&!i.isClone){if(!r.options.initImmediate)return r.init(i,o),Zr(r,Wt(r));setTimeout(function(){r.init(i,o)},0)}return r}return pt(n,[{key:"init",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(s=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));var l=Va();this.options=mt(mt(mt({},l),this.options),ba(o)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=mt(mt({},l.interpolation),this.options.interpolation)),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function a(f){return f?typeof f=="function"?new f:f:null}if(!this.options.isClone){this.modules.logger?wt.init(a(this.modules.logger),this.options):wt.init(null,this.options);var u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=Mp);var p=new La(this.options);this.store=new Rp(this.options.resources,this.options);var d=this.services;d.logger=wt,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new zp(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===l.interpolation.format)&&(d.formatter=a(u),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Vp(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Hp(a(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(f){for(var c=arguments.length,g=new Array(c>1?c-1:0),w=1;w<c;w++)g[w-1]=arguments[w];i.emit.apply(i,[f].concat(g))}),this.modules.languageDetector&&(d.languageDetector=a(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=a(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new Ta(this.services,this.options),this.translator.on("*",function(f){for(var c=arguments.length,g=new Array(c>1?c-1:0),w=1;w<c;w++)g[w-1]=arguments[w];i.emit.apply(i,[f].concat(g))}),this.modules.external.forEach(function(f){f.init&&f.init(i)})}if(this.format=this.options.interpolation.format,s||(s=si),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var v=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];v.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments)}});var y=["addResource","addResources","addResourceBundle","removeResourceBundle"];y.forEach(function(f){i[f]=function(){var c;return(c=i.store)[f].apply(c,arguments),i}});var k=cr(),O=function(){var c=function(w,x){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),k.resolve(x),s(w,x)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return c(null,i.t.bind(i));i.changeLanguage(i.options.lng,c)};return this.options.resources||!this.options.initImmediate?O():setTimeout(O,0),k}},{key:"loadResources",value:function(i){var o=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:si,l=s,a=typeof i=="string"?i:this.language;if(typeof i=="function"&&(l=i),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return l();var u=[],p=function(v){if(v){var y=o.services.languageUtils.toResolveHierarchy(v);y.forEach(function(k){u.indexOf(k)<0&&u.push(k)})}};if(a)p(a);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(h){return p(h)})}this.options.preload&&this.options.preload.forEach(function(h){return p(h)}),this.services.backendConnector.load(u,this.options.ns,function(h){!h&&!o.resolvedLanguage&&o.language&&o.setResolvedLanguage(o.language),l(h)})}else l(null)}},{key:"reloadResources",value:function(i,o,s){var l=cr();return i||(i=this.languages),o||(o=this.options.ns),s||(s=si),this.services.backendConnector.reload(i,o,function(a){l.resolve(),s(a)}),l}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&Oc.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var o=0;o<this.languages.length;o++){var s=this.languages[o];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}},{key:"changeLanguage",value:function(i,o){var s=this;this.isLanguageChangingTo=i;var l=cr();this.emit("languageChanging",i);var a=function(h){s.language=h,s.languages=s.services.languageUtils.toResolveHierarchy(h),s.resolvedLanguage=void 0,s.setResolvedLanguage(h)},u=function(h,v){v?(a(v),s.translator.changeLanguage(v),s.isLanguageChangingTo=void 0,s.emit("languageChanged",v),s.logger.log("languageChanged",v)):s.isLanguageChangingTo=void 0,l.resolve(function(){return s.t.apply(s,arguments)}),o&&o(h,function(){return s.t.apply(s,arguments)})},p=function(h){!i&&!h&&s.services.languageDetector&&(h=[]);var v=typeof h=="string"?h:s.services.languageUtils.getBestMatchFromCodes(h);v&&(s.language||a(v),s.translator.language||s.translator.changeLanguage(v),s.services.languageDetector&&s.services.languageDetector.cacheUserLanguage&&s.services.languageDetector.cacheUserLanguage(v)),s.loadResources(v,function(y){u(y,v)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?p(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(p):this.services.languageDetector.detect(p):p(i),l}},{key:"getFixedT",value:function(i,o,s){var l=this,a=function u(p,d){var h;if(he(d)!=="object"){for(var v=arguments.length,y=new Array(v>2?v-2:0),k=2;k<v;k++)y[k-2]=arguments[k];h=l.options.overloadTranslationOptionHandler([p,d].concat(y))}else h=mt({},d);h.lng=h.lng||u.lng,h.lngs=h.lngs||u.lngs,h.ns=h.ns||u.ns,h.keyPrefix=h.keyPrefix||s||u.keyPrefix;var O=l.options.keySeparator||".",f;return h.keyPrefix&&Array.isArray(p)?f=p.map(function(c){return"".concat(h.keyPrefix).concat(O).concat(c)}):f=h.keyPrefix?"".concat(h.keyPrefix).concat(O).concat(p):p,l.t(f,h)};return typeof i=="string"?a.lng=i:a.lngs=i,a.ns=o,a.keyPrefix=s,a}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var o=this,s=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;var l=this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(l.toLowerCase()==="cimode")return!0;var p=function(v,y){var k=o.services.backendConnector.state["".concat(v,"|").concat(y)];return k===-1||k===2};if(s.precheck){var d=s.precheck(this,p);if(d!==void 0)return d}return!!(this.hasResourceBundle(l,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||p(l,i)&&(!a||p(u,i)))}},{key:"loadNamespaces",value:function(i,o){var s=this,l=cr();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(a){s.options.ns.indexOf(a)<0&&s.options.ns.push(a)}),this.loadResources(function(a){l.resolve(),o&&o(a)}),l):(o&&o(),Promise.resolve())}},{key:"loadLanguages",value:function(i,o){var s=cr();typeof i=="string"&&(i=[i]);var l=this.options.preload||[],a=i.filter(function(u){return l.indexOf(u)<0});return a.length?(this.options.preload=l.concat(a),this.loadResources(function(u){s.resolve(),o&&o(u)}),s):(o&&o(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var o=["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"],s=this.services&&this.services.languageUtils||new La(Va());return o.indexOf(s.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:si,l=mt(mt(mt({},this.options),o),{isClone:!0}),a=new n(l);(o.debug!==void 0||o.prefix!==void 0)&&(a.logger=a.logger.clone(o));var u=["store","services","language"];return u.forEach(function(p){a[p]=i[p]}),a.services=mt({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new Ta(a.services,a.options),a.translator.on("*",function(p){for(var d=arguments.length,h=new Array(d>1?d-1:0),v=1;v<d;v++)h[v-1]=arguments[v];a.emit.apply(a,[p].concat(h))}),a.init(l,s),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(tn);tt(zi,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new zi(e,t)});var de=zi.createInstance();de.createInstance=zi.createInstance;de.createInstance;de.dir;de.init;de.loadResources;de.reloadResources;de.use;de.changeLanguage;de.getFixedT;de.t;de.exists;de.setDefaultNamespace;de.hasLoadedNamespace;de.loadNamespaces;de.loadLanguages;function Qp(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function vl(e,t){if(e==null)return{};var n=Qp(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var Xp={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};const Jp=sc(Xp);var Zp=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function $a(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(Jp[n[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:r!==-1?e.slice(4,r):""}}for(var i=new RegExp(Zp),o=null;(o=i.exec(e))!==null;)if(o[0].trim())if(o[1]){var s=o[1].trim(),l=[s,""];s.indexOf("=")>-1&&(l=s.split("=")),t.attrs[l[0]]=l[1],i.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var qp=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,eh=/^\s*$/,th=Object.create(null);function _c(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(n){var r=[];for(var i in n)r.push(i+'="'+n[i]+'"');return r.length?" "+r.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(_c,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var nh={parse:function(e,t){t||(t={}),t.components||(t.components=th);var n,r=[],i=[],o=-1,s=!1;if(e.indexOf("<")!==0){var l=e.indexOf("<");r.push({type:"text",content:l===-1?e:e.substring(0,l)})}return e.replace(qp,function(a,u){if(s){if(a!=="</"+n.name+">")return;s=!1}var p,d=a.charAt(1)!=="/",h=a.startsWith("<!--"),v=u+a.length,y=e.charAt(v);if(h){var k=$a(a);return o<0?(r.push(k),r):((p=i[o]).children.push(k),r)}if(d&&(o++,(n=$a(a)).type==="tag"&&t.components[n.name]&&(n.type="component",s=!0),n.voidElement||s||!y||y==="<"||n.children.push({type:"text",content:e.slice(v,e.indexOf("<",v))}),o===0&&r.push(n),(p=i[o-1])&&p.children.push(n),i[o]=n),(!d||n.voidElement)&&(o>-1&&(n.voidElement||n.name===a.slice(2,-1))&&(o--,n=o===-1?r:i[o]),!s&&y!=="<"&&y)){p=o===-1?r:i[o].children;var O=e.indexOf("<",v),f=e.slice(v,O===-1?void 0:O);eh.test(f)&&(f=" "),(O>-1&&o+p.length>=0||f!==" ")&&p.push({type:"text",content:f})}}),r},stringify:function(e){return e.reduce(function(t,n){return t+_c("",n)},"")}};function Pi(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];typeof n[0]=="string"&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var Ba={};function Vi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&Ba[t[0]]||(typeof t[0]=="string"&&(Ba[t[0]]=new Date),Pi.apply(void 0,t))}function Ka(e,t,n){e.loadNamespaces(t,function(){if(e.isInitialized)n();else{var r=function i(){setTimeout(function(){e.off("initialized",i)},0),n()};e.on("initialized",r)}})}function rh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=t.languages[0],i=t.options?t.options.fallbackLng:!1,o=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;var s=function(a,u){var p=t.services.backendConnector.state["".concat(a,"|").concat(u)];return p===-1||p===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||s(r,e)&&(!i||s(o,e)))}function ih(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t.languages||!t.languages.length)return Vi("i18n.languages were undefined or empty",t.languages),!0;var r=t.options.ignoreJSONStructure!==void 0;return r?t.hasLoadedNamespace(e,{precheck:function(o,s){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!s(o.isLanguageChangingTo,e))return!1}}):rh(e,t,n)}var oh=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,sh={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},lh=function(t){return sh[t]},ah=function(t){return t.replace(oh,lh)};function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Wa(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ha(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ms={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:ah};function uh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ms=Wa(Wa({},ms),e)}function Nc(){return ms}var Pc;function ch(e){Pc=e}function yl(){return Pc}var dh=["format"],fh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ga(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Fo(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function Do(e){return e?e.props?e.props.children:e.children:[]}function ph(e){return Object.prototype.toString.call(e)!=="[object Array]"?!1:e.every(function(t){return D.isValidElement(t)})}function kr(e){return Array.isArray(e)?e:[e]}function hh(e,t){var n=se({},t);return n.props=Object.assign(e.props,t.props),n}function Ec(e,t){if(!e)return"";var n="",r=kr(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return r.forEach(function(o,s){if(typeof o=="string")n+="".concat(o);else if(D.isValidElement(o)){var l=Object.keys(o.props).length,a=i.indexOf(o.type)>-1,u=o.props.children;if(!u&&a&&l===0)n+="<".concat(o.type,"/>");else if(!u&&(!a||l!==0))n+="<".concat(s,"></").concat(s,">");else if(o.props.i18nIsDynamicList)n+="<".concat(s,"></").concat(s,">");else if(a&&l===1&&typeof u=="string")n+="<".concat(o.type,">").concat(u,"</").concat(o.type,">");else{var p=Ec(u,t);n+="<".concat(s,">").concat(p,"</").concat(s,">")}}else if(o===null)Pi("Trans: the passed in value is invalid - seems you passed in a null child.");else if(he(o)==="object"){var d=o.format,h=vl(o,dh),v=Object.keys(h);if(v.length===1){var y=d?"".concat(v[0],", ").concat(d):v[0];n+="{{".concat(y,"}}")}else Pi("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",o)}else Pi("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",o)}),n}function mh(e,t,n,r,i,o){if(t==="")return[];var s=r.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(s.join("|")).test(t);if(!e&&!l)return[t];var a={};function u(O){var f=kr(O);f.forEach(function(c){typeof c!="string"&&(Fo(c)?u(Do(c)):he(c)==="object"&&!D.isValidElement(c)&&Object.assign(a,c))})}u(e);var p=nh.parse("<0>".concat(t,"</0>")),d=se(se({},a),i);function h(O,f,c){var g=Do(O),w=y(g,f.children,c);return ph(g)&&w.length===0?g:w}function v(O,f,c,g,w){O.dummy&&(O.children=f),c.push(D.cloneElement(O,se(se({},O.props),{},{key:g}),w?void 0:f))}function y(O,f,c){var g=kr(O),w=kr(f);return w.reduce(function(x,S,N){var P=S.children&&S.children[0]&&S.children[0].content&&n.services.interpolator.interpolate(S.children[0].content,d,n.language);if(S.type==="tag"){var T=g[parseInt(S.name,10)];!T&&c.length===1&&c[0][S.name]&&(T=c[0][S.name]),T||(T={});var E=Object.keys(S.attrs).length!==0?hh({props:S.attrs},T):T,K=D.isValidElement(E),je=K&&Fo(S,!0)&&!S.voidElement,Ot=l&&he(E)==="object"&&E.dummy&&!K,nt=he(e)==="object"&&e!==null&&Object.hasOwnProperty.call(e,S.name);if(typeof E=="string"){var Pn=n.services.interpolator.interpolate(E,d,n.language);x.push(Pn)}else if(Fo(E)||je){var ht=h(E,S,c);v(E,ht,x,N)}else if(Ot){var rt=y(g,S.children,c);x.push(D.cloneElement(E,se(se({},E.props),{},{key:N}),rt))}else if(Number.isNaN(parseFloat(S.name)))if(nt){var C=h(E,S,c);v(E,C,x,N,S.voidElement)}else if(r.transSupportBasicHtmlNodes&&s.indexOf(S.name)>-1)if(S.voidElement)x.push(D.createElement(S.name,{key:"".concat(S.name,"-").concat(N)}));else{var R=y(g,S.children,c);x.push(D.createElement(S.name,{key:"".concat(S.name,"-").concat(N)},R))}else if(S.voidElement)x.push("<".concat(S.name," />"));else{var L=y(g,S.children,c);x.push("<".concat(S.name,">").concat(L,"</").concat(S.name,">"))}else if(he(E)==="object"&&!K){var V=S.children[0]?P:null;V&&x.push(V)}else S.children.length===1&&P?x.push(D.cloneElement(E,se(se({},E.props),{},{key:N}),P)):x.push(D.cloneElement(E,se(se({},E.props),{},{key:N})))}else if(S.type==="text"){var Y=r.transWrapTextNodes,_t=o?r.unescape(n.services.interpolator.interpolate(S.content,d,n.language)):n.services.interpolator.interpolate(S.content,d,n.language);Y?x.push(D.createElement(Y,{key:"".concat(S.name,"-").concat(N)},_t)):x.push(_t)}return x},[])}var k=y([{dummy:!0,children:e||[]}],p,kr(e||[]));return Do(k[0])}function gh(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,s=e.tOptions,l=s===void 0?{}:s,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,v=e.t,y=e.shouldUnescape,k=vl(e,fh),O=h||yl();if(!O)return Vi("You will need to pass in an i18next instance by using i18nextReactModule"),t;var f=v||O.t.bind(O)||function(je){return je};o&&(l.context=o);var c=se(se({},Nc()),O.options&&O.options.react),g=d||f.ns||O.options&&O.options.defaultNS;g=typeof g=="string"?[g]:g||["translation"];var w=u||Ec(t,c)||c.transEmptyNodeValue||i,x=c.hashTransKey,S=i||(x?x(w):w),N=a?l.interpolation:{interpolation:se(se({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},P=se(se(se(se({},l),{},{count:n},a),N),{},{defaultValue:w,ns:g}),T=S?f(S,P):w,E=mh(p||t,T,O,c,P,y),K=r!==void 0?r:c.defaultTransParent;return K?D.createElement(K,k,E):E}var vh={type:"3rdParty",init:function(t){uh(t.options.react),ch(t)}},Cc=D.createContext(),yh=function(){function e(){ft(this,e),this.usedNamespaces={}}return pt(e,[{key:"addUsedNamespaces",value:function(n){var r=this;n.forEach(function(i){r.usedNamespaces[i]||(r.usedNamespaces[i]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}(),wh=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function kh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ya(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ya(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function z(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,o=e.context,s=e.tOptions,l=s===void 0?{}:s,a=e.values,u=e.defaults,p=e.components,d=e.ns,h=e.i18n,v=e.t,y=e.shouldUnescape,k=vl(e,wh),O=D.useContext(Cc)||{},f=O.i18n,c=O.defaultNS,g=h||f||yl(),w=v||g&&g.t.bind(g);return gh(kh({children:t,count:n,parent:r,i18nKey:i,context:o,tOptions:l,values:a,defaults:u,components:p,ns:d||w&&w.ns||c||g&&g.options&&g.options.defaultNS,i18n:g,t:v,shouldUnescape:y},k))}function Sh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,l=[],a=!0,u=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(a=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);a=!0);}catch(p){u=!0,i=p}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return l}}function xh(e,t){return yc(e)||Sh(e,t)||wc(e,t)||kc()}function Qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Uo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Qa(Object(n),!0).forEach(function(r){tt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Oh=function(t,n){var r=D.useRef();return D.useEffect(function(){r.current=t},[t,n]),r.current};function $(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.i18n,r=D.useContext(Cc)||{},i=r.i18n,o=r.defaultNS,s=n||i||yl();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new yh),!s){Vi("You will need to pass in an i18next instance by using initReactI18next");var l=function(T,E){return typeof E=="string"?E:E&&he(E)==="object"&&typeof E.defaultValue=="string"?E.defaultValue:Array.isArray(T)?T[T.length-1]:T},a=[l,{},!1];return a.t=l,a.i18n={},a.ready=!1,a}s.options.react&&s.options.react.wait!==void 0&&Vi("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var u=Uo(Uo(Uo({},Nc()),s.options.react),t),p=u.useSuspense,d=u.keyPrefix,h=e||o||s.options&&s.options.defaultNS;h=typeof h=="string"?[h]:h||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(h);var v=(s.isInitialized||s.initializedStoreOnce)&&h.every(function(P){return ih(P,s,u)});function y(){return s.getFixedT(null,u.nsMode==="fallback"?h:h[0],d)}var k=D.useState(y),O=xh(k,2),f=O[0],c=O[1],g=h.join(),w=Oh(g),x=D.useRef(!0);D.useEffect(function(){var P=u.bindI18n,T=u.bindI18nStore;x.current=!0,!v&&!p&&Ka(s,h,function(){x.current&&c(y)}),v&&w&&w!==g&&x.current&&c(y);function E(){x.current&&c(y)}return P&&s&&s.on(P,E),T&&s&&s.store.on(T,E),function(){x.current=!1,P&&s&&P.split(" ").forEach(function(K){return s.off(K,E)}),T&&s&&T.split(" ").forEach(function(K){return s.store.off(K,E)})}},[s,g]);var S=D.useRef(!0);D.useEffect(function(){x.current&&!S.current&&c(y),S.current=!1},[s,d]);var N=[f,s,v];if(N.t=f,N.i18n=s,N.ready=v,v||!v&&!p)return N;throw new Promise(function(P){Ka(s,h,function(){P()})})}const _h={prevReleases:"旧版",installationInstructions:"安装说明",getStarted:"入门指南",troubleshooting:"故障排除指南",systemRequirements:"系统要求",githubRepository:"OpenVINO 工具套件 GitHub 存储库",githubGenAIRepository:"OpenVINO GenAI GitHub 存储库",giteeRepository:"OpenVINO 工具套件 Gitee 存储库",giteeGenAIRepository:"OpenVINO GenAI Gitee 存储库"},Nh={OpenVINONotebooks:"准备好运行 OpenVINO 笔记本",tokenizers:"<0>OpenVINO Tokenizers</0> 用于简化 tokenizer 转换",nncf:"<0>NNCF</0> 用于在模型上执行压缩算法",ovms:"<0>OVMS</0> 用于为部署提供优化模型"},Ph={copy:"复制",copied:"已复制"},Eh={resources:_h,relatedTools:Nh,copyCommand:Ph},Ch={titles:{recommended:"推荐",hddlSupport:"包含 NCS2/HDDL 支持",LTS:"LTS",nightlyBuild:"每日构建版"}},jh={devTools:{title:"开发工具",subtitle:"开发和优化深度学习模型的最佳选择。"},runtime:{title:"运行时",subtitle:"您已拥有模型,并且希望对其运行推理。"}},Ih={includesNPUPlugin:"包括 NPU",openVINOArchives:"OpenVINO 归档文件",source:"源",pythonAPIOnly:"仅限 Python API",CAPIOnly:"仅限 C++ API",jsAPIOnly:"仅限 JavaScript API"},Rh={package:{base:{title:"OpenVINO 基础程序包",subtitle:"利用基本 GenAI 进行全面推理"},genai:{title:"具有 GenAI 的 OpenVINO",subtitle:"全面推理 + 完整 GenAI 程序包"}},versions:Ch,environment:jh,distributions:Ih},Th={titles:{envinronment:"环境",os:"操作系统",version:"版本",distribution:"分发",frameworks:"框架",package:"封装",install:"安装",resources:"资源",relatedTools:"相关工具"}},Lh={install:"安装框架",tooltip:`我们假设所需的框架已经安装到您的环境中。如果没有,您可以使用 OpenVINO 工具套件安装该框架。+可用框架:Caffe、Kaldi、Apache MXNet、PyTorch、ONNX、TensorFlow。`},Ah={apt:{steps:{download:"<0>第 1 步:</0>下载 <2>{{filename}}</2>。您也可以使用以下命令",addKey:"<0>第 2 步:</0>将此密钥添加到系统密钥环。",addRepository:"<0>第 3 步:</0>通过以下命令添加存储库。",updateList:"<0>第 4 步:</0>使用更新命令更新软件包列表。",verify:"<0>第 5 步:</0>验证 APT 存储库的设置是否正确。使用 apt-cache 命令查看包含所有可用 OpenVINO 程序包和组件的列表",install:"<0>第 6 步:</0>安装 OpenVINO 运行时。"}},brew:{steps:{install:"下载并安装程序包"}},conan:{steps:{createConanFile:"<0>第 1 步:</0>为您的 OpenVINO 项目创建一个 <2>{{txtFilename}}</2> 文件并在那里添加 “openvino” 依赖项",install:"<0>第 2 步:</0>运行下面的命令创建 <2>{{cmakeFilename}}</2> 文件,该文件将用来编译 OpenVINO 项目",compile:"<0>第 3 步:</0>配置和编译 OpenVINO 项目"}},conda:{steps:{createEnv:"<0>第 1 步:</0>创建 Anaconda 环境(以 Python 3.10 为例)",activateEnv:"<0>第 2 步:</0>激活 Anaconda 环境",update:"<0>第 3 步:</0>将 Anaconda 环境更新至最新版本",install:"<0>第 4 步:</0>下载并安装程序包。"}},download:{downloadArchives:"下载归档文件",downloadArchivesGenAI:"下载 GenAI 档案",gotoDocker:"转到 Docker",gotoInstallInstruction:"转到安装说明",useFollowingLink:"使用下方链接:"},githubGitee:{steps:{useGitClone:"<0>第 1 步:</0>运用 Git 克隆 OpenVINO 工具套件存储库。",buildInstructions:"<0>第 2 步:</0>按照<2>说明从源代码构建</2>"}},npm:{steps:{install:"下载并安装程序包"}},pip:{steps:{createVenv:"<0>第 1 步:</0>创建虚拟环境。",activateVenv:"<0>第 2 步:</0>激活虚拟环境。",upgradePip:"<0>第 3 步:</0>将 pip 升级到最新版本。",install:"<0>第 4 步:</0>下载并安装程序包。"}},vcpkg:{steps:{install:"下载并安装程序包"}},yum:{steps:{createRepoFile:"<0>第 1 步:</0>以正常用户身份在 /tmp 目录中创建 YUM 存储库文件。",moveFile:"<0>第 2 步:</0>将新的 openvino-{{year}}.repo 文件移动到 YUM 配置目录 <4>{{directory}}</4>。",verify:"<0>第 3 步:</0>使用以下命令验证新建存储库的设置是否正确。",install:"<0>第 4 步:</0>安装 OpenVINO 运行时。"}},zypper:{steps:{addRepo:"<0>第 1 步:</0>使用下面的命令创建一个 ZYPPER 存储库文件",refresh:"<0>第 2 步:</0>刷新存储库",install:"<0>第 3 步:</0>安装 OpenVINO"}}},Fh={selectorForm:Th,frameworks:Lh,distributions:Ah},Dh={translation:Fh,common:Eh,core:Rh},Uh={prevReleases:"Previous Releases",installationInstructions:"Installation Instructions",getStarted:"Get Started Guide",troubleshooting:"Troubleshooting Guide",systemRequirements:"System Requirements",githubRepository:"OpenVINO Toolkit GitHub Repository",githubGenAIRepository:"OpenVINO GenAI GitHub Repository",giteeRepository:"OpenVINO Toolkit Gitee Repository",giteeGenAIRepository:"OpenVINO GenAI Gitee Repository"},zh={OpenVINONotebooks:"Ready to run OpenVINO Notebooks",tokenizers:"<0>OpenVINO Tokenizers</0> to streamline tokenizer conversion",nncf:"<0>NNCF</0> for implementing compression algorithms on models",ovms:"<0>OVMS</0> for serving models optimized for deployment"},Vh={copy:"Copy",copied:"Copied"},bh={resources:Uh,relatedTools:zh,copyCommand:Vh},Mh={titles:{recommended:"Recommended",hddlSupport:"Includes NCS2/HDDL support",LTS:"LTS",nightlyBuild:"Nightly Build"}},$h={devTools:{title:"Development Tools",subtitle:"Your best option to develop and optimize deep learning models."},runtime:{title:"Runtime",subtitle:"You already have a model and want to run inference on it."}},Bh={includesNPUPlugin:"Includes NPU plugin",openVINOArchives:"OpenVINO Archives",source:"Source",pythonAPIOnly:"Python API only",CAPIOnly:"C++ API only",jsAPIOnly:"JavaScript API only"},Kh={package:{base:{title:"OpenVINO Base Package",subtitle:"Full inference with basic GenAI"},genai:{title:"OpenVINO with GenAI",subtitle:"Full inference + complete GenAI package"}},versions:Mh,environment:$h,distributions:Bh},Hh={titles:{envinronment:"Environment",os:"Operating System",version:"Version",distribution:"Distribution",frameworks:"Frameworks",package:"Package",install:"Install",resources:"Resources",relatedTools:"Related Tools"}},Wh={install:"Install Frameworks",tooltip:`We assume that needed frameworks are already installed in your environment. If not, you can install them with OpenVINO toolkit.+Available frameworks: Caffe, Kaldi, Apache MXNet, PyTorch, ONNX, TensorFlow.`},Gh={apt:{steps:{download:"<0>Step 1:</0> Download the <2>{{filename}}</2>. You can also use the following command",addKey:"<0>Step 2:</0> Add this key to the system keyring",addRepository:"<0>Step 3:</0> Add the repository via the following command",updateList:"<0>Step 4:</0> Update the list of packages via the update command",verify:"<0>Step 5:</0> Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components",install:"<0>Step 6:</0> Install OpenVINO Runtime"}},brew:{steps:{install:"Download and install the package"}},conan:{steps:{createConanFile:"<0>Step 1:</0> Create a <2>{{txtFilename}}</2> file for your OpenVINO project and add “openvino” dependency in there",install:"<0>Step 2:</0> Run the command below to create <2>{{cmakeFilename}}</2> file, which will be used to compile your project with OpenVINO",compile:"<0>Step 3:</0> Configure and compile your project with OpenVINO"}},conda:{steps:{createEnv:"<0>Step 1:</0> Create the Anaconda environment (Python 3.10 used as an example)",activateEnv:"<0>Step 2:</0> Activate the Anaconda environment",update:"<0>Step 3:</0> Update the Anaconda environment to the latest version",install:"<0>Step 4:</0> Download and install the package"}},download:{downloadArchives:"Download Archives",downloadArchivesGenAI:"Download Archives with GenAI",gotoDocker:"Go to Docker",gotoInstallInstruction:"Go to Installation Instructions",useFollowingLink:"Use the following link:"},githubGitee:{steps:{useGitClone:"<0>Step 1:</0> Use Git to clone the OpenVINO toolkit repository",buildInstructions:"<0>Step 2:</0> Follow the <2>instructions to build from source</2>"}},npm:{steps:{install:"Download and install the package"}},pip:{steps:{createVenv:"<0>Step 1:</0> Create virtual environment",activateVenv:"<0>Step 2:</0> Activate virtual environment",upgradePip:"<0>Step 3:</0> Upgrade pip to latest version",install:"<0>Step 4:</0> Download and install the package"}},vcpkg:{steps:{install:"Download and install the package"}},yum:{steps:{createRepoFile:"<0>Step 1:</0> Create the YUM repo file in the /tmp directory as a normal user",moveFile:"<0>Step 2:</0> Move the new openvino-{{year}}.repo file to the YUM configuration directory <4>{{directory}}</4>",verify:"<0>Step 3:</0> Verify that the new repo is properly set up by running the following command",install:"<0>Step 4:</0> Install OpenVINO Runtime"}},zypper:{steps:{addRepo:"<0>Step 1:</0> Create a ZYPPER repository file with the command below",refresh:"<0>Step 2:</0> Refresh repositories",install:"<0>Step 3:</0> Install OpenVINO"}}},Yh={selectorForm:Hh,frameworks:Wh,distributions:Gh},Qh={translation:Yh,common:bh,core:Kh},Jn={en:Qh,cn:Dh},gs="en";if(!(gs in Jn))throw new Error(`'${gs}' language is not supported`);de.use(vh).init({debug:!1,resources:Jn,lng:gs,fallbackLng:"en",interpolation:{escapeValue:!1},supportedLngs:Object.keys(Jn),returnObjects:!1,returnNull:!1});de.t;var vs={},jc={exports:{}},He={},Ic={exports:{}},Rc={};/**+ * @license React+ * scheduler.production.min.js+ *+ * Copyright (c) Facebook, Inc. and its affiliates.+ *+ * This source code is licensed under the MIT license found in the+ * LICENSE file in the root directory of this source tree.+ */(function(e){function t(C,R){var L=C.length;C.push(R);e:for(;0<L;){var V=L-1>>>1,Y=C[V];if(0<i(Y,R))C[V]=R,C[L]=Y,L=V;else break e}}function n(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var R=C[0],L=C.pop();if(L!==R){C[0]=L;e:for(var V=0,Y=C.length,_t=Y>>>1;V<_t;){var Ue=2*(V+1)-1,En=C[Ue],ze=Ue+1,Nt=C[ze];if(0>i(En,L))ze<Y&&0>i(Nt,En)?(C[V]=Nt,C[ze]=L,V=ze):(C[V]=En,C[Ue]=L,V=Ue);else if(ze<Y&&0>i(Nt,L))C[V]=Nt,C[ze]=L,V=ze;else break e}}return R}function i(C,R){var L=C.sortIndex-R.sortIndex;return L!==0?L:C.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],p=1,d=null,h=3,v=!1,y=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(C){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=C)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function w(C){if(k=!1,g(C),!y)if(n(a)!==null)y=!0,ht(x);else{var R=n(u);R!==null&&rt(w,R.startTime-C)}}function x(C,R){y=!1,k&&(k=!1,f(P),P=-1),v=!0;var L=h;try{for(g(R),d=n(a);d!==null&&(!(d.expirationTime>R)||C&&!K());){var V=d.callback;if(typeof V=="function"){d.callback=null,h=d.priorityLevel;var Y=V(d.expirationTime<=R);R=e.unstable_now(),typeof Y=="function"?d.callback=Y:d===n(a)&&r(a),g(R)}else r(a);d=n(a)}if(d!==null)var _t=!0;else{var Ue=n(u);Ue!==null&&rt(w,Ue.startTime-R),_t=!1}return _t}finally{d=null,h=L,v=!1}}var S=!1,N=null,P=-1,T=5,E=-1;function K(){return!(e.unstable_now()-E<T)}function je(){if(N!==null){var C=e.unstable_now();E=C;var R=!0;try{R=N(!0,C)}finally{R?Ot():(S=!1,N=null)}}else S=!1}var Ot;if(typeof c=="function")Ot=function(){c(je)};else if(typeof MessageChannel<"u"){var nt=new MessageChannel,Pn=nt.port2;nt.port1.onmessage=je,Ot=function(){Pn.postMessage(null)}}else Ot=function(){O(je,0)};function ht(C){N=C,S||(S=!0,Ot())}function rt(C,R){P=O(function(){C(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){y||v||(y=!0,ht(x))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(C){switch(h){case 1:case 2:case 3:var R=3;break;default:R=h}var L=h;h=R;try{return C()}finally{h=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,R){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var L=h;h=C;try{return R()}finally{h=L}},e.unstable_scheduleCallback=function(C,R,L){var V=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?V+L:V):L=V,C){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=L+Y,C={id:p++,callback:R,priorityLevel:C,startTime:L,expirationTime:Y,sortIndex:-1},L>V?(C.sortIndex=L,t(u,C),n(a)===null&&C===n(u)&&(k?(f(P),P=-1):k=!0,rt(w,L-V))):(C.sortIndex=Y,t(a,C),y||v||(y=!0,ht(x))),C},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(C){var R=h;return function(){var L=h;h=R;try{return C.apply(this,arguments)}finally{h=L}}}})(Rc);Ic.exports=Rc;var Xh=Ic.exports;/**+ * @license React+ * react-dom.production.min.js+ *+ * Copyright (c) Facebook, Inc. and its affiliates.+ *+ * This source code is licensed under the MIT license found in the+ * LICENSE file in the root directory of this source tree.+ */var Tc=D,Ke=Xh;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Lc=new Set,Ar={};function Sn(e,t){Zn(e,t),Zn(e+"Capture",t)}function Zn(e,t){for(Ar[e]=t,e=0;e<t.length;e++)Lc.add(t[e])}var Tt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ys=Object.prototype.hasOwnProperty,Jh=/^[: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]*$/,Xa={},Ja={};function Zh(e){return ys.call(Ja,e)?!0:ys.call(Xa,e)?!1:Jh.test(e)?Ja[e]=!0:(Xa[e]=!0,!1)}function qh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function em(e,t,n,r){if(t===null||typeof t>"u"||qh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ee(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new Ee(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new Ee(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new Ee(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new Ee(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ge[e]=new Ee(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new Ee(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new Ee(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new Ee(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new Ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var wl=/[\-:]([a-z])/g;function kl(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(wl,kl);ge[t]=new Ee(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(wl,kl);ge[t]=new Ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(wl,kl);ge[t]=new Ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new Ee(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new Ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new Ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function Sl(e,t,n,r){var i=ge.hasOwnProperty(t)?ge[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(em(t,n,i,r)&&(n=null),r||i===null?Zh(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Dt=Tc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,li=Symbol.for("react.element"),Ln=Symbol.for("react.portal"),An=Symbol.for("react.fragment"),xl=Symbol.for("react.strict_mode"),ws=Symbol.for("react.profiler"),Ac=Symbol.for("react.provider"),Fc=Symbol.for("react.context"),Ol=Symbol.for("react.forward_ref"),ks=Symbol.for("react.suspense"),Ss=Symbol.for("react.suspense_list"),_l=Symbol.for("react.memo"),bt=Symbol.for("react.lazy"),Dc=Symbol.for("react.offscreen"),Za=Symbol.iterator;function dr(e){return e===null||typeof e!="object"?null:(e=Za&&e[Za]||e["@@iterator"],typeof e=="function"?e:null)}var J=Object.assign,zo;function Sr(e){if(zo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zo=t&&t[1]||""}return`+`+zo+e}var Vo=!1;function bo(e,t){if(!e||Vo)return"";Vo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`+`),o=r.stack.split(`+`),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==o[l]){var a=`+`+i[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Vo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Sr(e):""}function tm(e){switch(e.tag){case 5:return Sr(e.type);case 16:return Sr("Lazy");case 13:return Sr("Suspense");case 19:return Sr("SuspenseList");case 0:case 2:case 15:return e=bo(e.type,!1),e;case 11:return e=bo(e.type.render,!1),e;case 1:return e=bo(e.type,!0),e;default:return""}}function xs(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case An:return"Fragment";case Ln:return"Portal";case ws:return"Profiler";case xl:return"StrictMode";case ks:return"Suspense";case Ss:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fc:return(e.displayName||"Context")+".Consumer";case Ac:return(e._context.displayName||"Context")+".Provider";case Ol:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _l:return t=e.displayName||null,t!==null?t:xs(e.type)||"Memo";case bt:t=e._payload,e=e._init;try{return xs(e(t))}catch{}}return null}function nm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xs(t);case 8:return t===xl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function nn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Uc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function rm(e){var t=Uc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ai(e){e._valueTracker||(e._valueTracker=rm(e))}function zc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Uc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function bi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Os(e,t){var n=t.checked;return J({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=nn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vc(e,t){t=t.checked,t!=null&&Sl(e,"checked",t,!1)}function _s(e,t){Vc(e,t);var n=nn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ns(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ns(e,t.type,nn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function eu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ns(e,t,n){(t!=="number"||bi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var xr=Array.isArray;function Hn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+nn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ps(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return J({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function tu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(xr(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:nn(n)}}function bc(e,t){var n=nn(t.value),r=nn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function nu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Mc(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Es(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Mc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ui,$c=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ui=ui||document.createElement("div"),ui.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ui.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={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},im=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){im.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function Bc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function Kc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Bc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var om=J({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 Cs(e,t){if(t){if(om[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function js(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Is=null;function Nl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Rs=null,Wn=null,Gn=null;function ru(e){if(e=ti(e)){if(typeof Rs!="function")throw Error(_(280));var t=e.stateNode;t&&(t=yo(t),Rs(e.stateNode,e.type,t))}}function Hc(e){Wn?Gn?Gn.push(e):Gn=[e]:Wn=e}function Wc(){if(Wn){var e=Wn,t=Gn;if(Gn=Wn=null,ru(e),t)for(e=0;e<t.length;e++)ru(t[e])}}function Gc(e,t){return e(t)}function Yc(){}var Mo=!1;function Qc(e,t,n){if(Mo)return e(t,n);Mo=!0;try{return Gc(e,t,n)}finally{Mo=!1,(Wn!==null||Gn!==null)&&(Yc(),Wc())}}function Dr(e,t){var n=e.stateNode;if(n===null)return null;var r=yo(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(_(231,t,typeof n));return n}var Ts=!1;if(Tt)try{var fr={};Object.defineProperty(fr,"passive",{get:function(){Ts=!0}}),window.addEventListener("test",fr,fr),window.removeEventListener("test",fr,fr)}catch{Ts=!1}function sm(e,t,n,r,i,o,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(p){this.onError(p)}}var Pr=!1,Mi=null,$i=!1,Ls=null,lm={onError:function(e){Pr=!0,Mi=e}};function am(e,t,n,r,i,o,s,l,a){Pr=!1,Mi=null,sm.apply(lm,arguments)}function um(e,t,n,r,i,o,s,l,a){if(am.apply(this,arguments),Pr){if(Pr){var u=Mi;Pr=!1,Mi=null}else throw Error(_(198));$i||($i=!0,Ls=u)}}function xn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Xc(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function iu(e){if(xn(e)!==e)throw Error(_(188))}function cm(e){var t=e.alternate;if(!t){if(t=xn(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return iu(i),e;if(o===r)return iu(i),t;o=o.sibling}throw Error(_(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function Jc(e){return e=cm(e),e!==null?Zc(e):null}function Zc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Zc(e);if(t!==null)return t;e=e.sibling}return null}var qc=Ke.unstable_scheduleCallback,ou=Ke.unstable_cancelCallback,dm=Ke.unstable_shouldYield,fm=Ke.unstable_requestPaint,ne=Ke.unstable_now,pm=Ke.unstable_getCurrentPriorityLevel,Pl=Ke.unstable_ImmediatePriority,ed=Ke.unstable_UserBlockingPriority,Bi=Ke.unstable_NormalPriority,hm=Ke.unstable_LowPriority,td=Ke.unstable_IdlePriority,ho=null,kt=null;function mm(e){if(kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(ho,e,void 0,(e.current.flags&128)===128)}catch{}}var ut=Math.clz32?Math.clz32:ym,gm=Math.log,vm=Math.LN2;function ym(e){return e>>>=0,e===0?32:31-(gm(e)/vm|0)|0}var ci=64,di=4194304;function Or(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ki(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Or(l):(o&=s,o!==0&&(r=Or(o)))}else s=n&~i,s!==0?r=Or(s):o!==0&&(r=Or(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-ut(t),i=1<<n,r|=e[n],t&=~i;return r}function wm(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function km(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-ut(o),l=1<<s,a=i[s];a===-1?(!(l&n)||l&r)&&(i[s]=wm(l,t)):a<=t&&(e.expiredLanes|=l),o&=~l}}function As(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function nd(){var e=ci;return ci<<=1,!(ci&4194240)&&(ci=64),e}function $o(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function qr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ut(t),e[t]=n}function Sm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ut(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function El(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ut(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var M=0;function rd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var id,Cl,od,sd,ld,Fs=!1,fi=[],Gt=null,Yt=null,Qt=null,Ur=new Map,zr=new Map,$t=[],xm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function su(e,t){switch(e){case"focusin":case"focusout":Gt=null;break;case"dragenter":case"dragleave":Yt=null;break;case"mouseover":case"mouseout":Qt=null;break;case"pointerover":case"pointerout":Ur.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":zr.delete(t.pointerId)}}function pr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=ti(t),t!==null&&Cl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Om(e,t,n,r,i){switch(t){case"focusin":return Gt=pr(Gt,e,t,n,r,i),!0;case"dragenter":return Yt=pr(Yt,e,t,n,r,i),!0;case"mouseover":return Qt=pr(Qt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ur.set(o,pr(Ur.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,zr.set(o,pr(zr.get(o)||null,e,t,n,r,i)),!0}return!1}function ad(e){var t=dn(e.target);if(t!==null){var n=xn(t);if(n!==null){if(t=n.tag,t===13){if(t=Xc(n),t!==null){e.blockedOn=t,ld(e.priority,function(){od(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ei(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ds(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Is=r,n.target.dispatchEvent(r),Is=null}else return t=ti(n),t!==null&&Cl(t),e.blockedOn=n,!1;t.shift()}return!0}function lu(e,t,n){Ei(e)&&n.delete(t)}function _m(){Fs=!1,Gt!==null&&Ei(Gt)&&(Gt=null),Yt!==null&&Ei(Yt)&&(Yt=null),Qt!==null&&Ei(Qt)&&(Qt=null),Ur.forEach(lu),zr.forEach(lu)}function hr(e,t){e.blockedOn===t&&(e.blockedOn=null,Fs||(Fs=!0,Ke.unstable_scheduleCallback(Ke.unstable_NormalPriority,_m)))}function Vr(e){function t(i){return hr(i,e)}if(0<fi.length){hr(fi[0],e);for(var n=1;n<fi.length;n++){var r=fi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gt!==null&&hr(Gt,e),Yt!==null&&hr(Yt,e),Qt!==null&&hr(Qt,e),Ur.forEach(t),zr.forEach(t),n=0;n<$t.length;n++)r=$t[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<$t.length&&(n=$t[0],n.blockedOn===null);)ad(n),n.blockedOn===null&&$t.shift()}var Yn=Dt.ReactCurrentBatchConfig,Hi=!0;function Nm(e,t,n,r){var i=M,o=Yn.transition;Yn.transition=null;try{M=1,jl(e,t,n,r)}finally{M=i,Yn.transition=o}}function Pm(e,t,n,r){var i=M,o=Yn.transition;Yn.transition=null;try{M=4,jl(e,t,n,r)}finally{M=i,Yn.transition=o}}function jl(e,t,n,r){if(Hi){var i=Ds(e,t,n,r);if(i===null)Zo(e,t,r,Wi,n),su(e,r);else if(Om(i,e,t,n,r))r.stopPropagation();else if(su(e,r),t&4&&-1<xm.indexOf(e)){for(;i!==null;){var o=ti(i);if(o!==null&&id(o),o=Ds(e,t,n,r),o===null&&Zo(e,t,r,Wi,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Zo(e,t,r,null,n)}}var Wi=null;function Ds(e,t,n,r){if(Wi=null,e=Nl(r),e=dn(e),e!==null)if(t=xn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Xc(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wi=e,null}function ud(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(pm()){case Pl:return 1;case ed:return 4;case Bi:case hm:return 16;case td:return 536870912;default:return 16}default:return 16}}var Kt=null,Il=null,Ci=null;function cd(){if(Ci)return Ci;var e,t=Il,n=t.length,r,i="value"in Kt?Kt.value:Kt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Ci=i.slice(e,1<r?1-r:void 0)}function ji(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function pi(){return!0}function au(){return!1}function We(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?pi:au,this.isPropagationStopped=au,this}return J(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=pi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=pi)},persist:function(){},isPersistent:pi}),t}var sr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rl=We(sr),ei=J({},sr,{view:0,detail:0}),Em=We(ei),Bo,Ko,mr,mo=J({},ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tl,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==mr&&(mr&&e.type==="mousemove"?(Bo=e.screenX-mr.screenX,Ko=e.screenY-mr.screenY):Ko=Bo=0,mr=e),Bo)},movementY:function(e){return"movementY"in e?e.movementY:Ko}}),uu=We(mo),Cm=J({},mo,{dataTransfer:0}),jm=We(Cm),Im=J({},ei,{relatedTarget:0}),Ho=We(Im),Rm=J({},sr,{animationName:0,elapsedTime:0,pseudoElement:0}),Tm=We(Rm),Lm=J({},sr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Am=We(Lm),Fm=J({},sr,{data:0}),cu=We(Fm),Dm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Um={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},zm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=zm[e])?!!t[e]:!1}function Tl(){return Vm}var bm=J({},ei,{key:function(e){if(e.key){var t=Dm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ji(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Um[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tl,charCode:function(e){return e.type==="keypress"?ji(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ji(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Mm=We(bm),$m=J({},mo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),du=We($m),Bm=J({},ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tl}),Km=We(Bm),Hm=J({},sr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Wm=We(Hm),Gm=J({},mo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ym=We(Gm),Qm=[9,13,27,32],Ll=Tt&&"CompositionEvent"in window,Er=null;Tt&&"documentMode"in document&&(Er=document.documentMode);var Xm=Tt&&"TextEvent"in window&&!Er,dd=Tt&&(!Ll||Er&&8<Er&&11>=Er),fu=" ",pu=!1;function fd(e,t){switch(e){case"keyup":return Qm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fn=!1;function Jm(e,t){switch(e){case"compositionend":return pd(t);case"keypress":return t.which!==32?null:(pu=!0,fu);case"textInput":return e=t.data,e===fu&&pu?null:e;default:return null}}function Zm(e,t){if(Fn)return e==="compositionend"||!Ll&&fd(e,t)?(e=cd(),Ci=Il=Kt=null,Fn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return dd&&t.locale!=="ko"?null:t.data;default:return null}}var qm={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 hu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!qm[e.type]:t==="textarea"}function hd(e,t,n,r){Hc(r),t=Gi(t,"onChange"),0<t.length&&(n=new Rl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Cr=null,br=null;function eg(e){Nd(e,0)}function go(e){var t=zn(e);if(zc(t))return e}function tg(e,t){if(e==="change")return t}var md=!1;if(Tt){var Wo;if(Tt){var Go="oninput"in document;if(!Go){var mu=document.createElement("div");mu.setAttribute("oninput","return;"),Go=typeof mu.oninput=="function"}Wo=Go}else Wo=!1;md=Wo&&(!document.documentMode||9<document.documentMode)}function gu(){Cr&&(Cr.detachEvent("onpropertychange",gd),br=Cr=null)}function gd(e){if(e.propertyName==="value"&&go(br)){var t=[];hd(t,br,e,Nl(e)),Qc(eg,t)}}function ng(e,t,n){e==="focusin"?(gu(),Cr=t,br=n,Cr.attachEvent("onpropertychange",gd)):e==="focusout"&&gu()}function rg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return go(br)}function ig(e,t){if(e==="click")return go(t)}function og(e,t){if(e==="input"||e==="change")return go(t)}function sg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dt=typeof Object.is=="function"?Object.is:sg;function Mr(e,t){if(dt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!ys.call(t,i)||!dt(e[i],t[i]))return!1}return!0}function vu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function yu(e,t){var n=vu(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=vu(n)}}function vd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yd(){for(var e=window,t=bi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=bi(e.document)}return t}function Al(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function lg(e){var t=yd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vd(n.ownerDocument.documentElement,n)){if(r!==null&&Al(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=yu(n,o);var s=yu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ag=Tt&&"documentMode"in document&&11>=document.documentMode,Dn=null,Us=null,jr=null,zs=!1;function wu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zs||Dn==null||Dn!==bi(r)||(r=Dn,"selectionStart"in r&&Al(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),jr&&Mr(jr,r)||(jr=r,r=Gi(Us,"onSelect"),0<r.length&&(t=new Rl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Dn)))}function hi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Un={animationend:hi("Animation","AnimationEnd"),animationiteration:hi("Animation","AnimationIteration"),animationstart:hi("Animation","AnimationStart"),transitionend:hi("Transition","TransitionEnd")},Yo={},wd={};Tt&&(wd=document.createElement("div").style,"AnimationEvent"in window||(delete Un.animationend.animation,delete Un.animationiteration.animation,delete Un.animationstart.animation),"TransitionEvent"in window||delete Un.transitionend.transition);function vo(e){if(Yo[e])return Yo[e];if(!Un[e])return e;var t=Un[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in wd)return Yo[e]=t[n];return e}var kd=vo("animationend"),Sd=vo("animationiteration"),xd=vo("animationstart"),Od=vo("transitionend"),_d=new Map,ku="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function on(e,t){_d.set(e,t),Sn(t,[e])}for(var Qo=0;Qo<ku.length;Qo++){var Xo=ku[Qo],ug=Xo.toLowerCase(),cg=Xo[0].toUpperCase()+Xo.slice(1);on(ug,"on"+cg)}on(kd,"onAnimationEnd");on(Sd,"onAnimationIteration");on(xd,"onAnimationStart");on("dblclick","onDoubleClick");on("focusin","onFocus");on("focusout","onBlur");on(Od,"onTransitionEnd");Zn("onMouseEnter",["mouseout","mouseover"]);Zn("onMouseLeave",["mouseout","mouseover"]);Zn("onPointerEnter",["pointerout","pointerover"]);Zn("onPointerLeave",["pointerout","pointerover"]);Sn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Sn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Sn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Sn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Sn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Sn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _r="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),dg=new Set("cancel close invalid load scroll toggle".split(" ").concat(_r));function Su(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,um(r,t,void 0,e),e.currentTarget=null}function Nd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==o&&i.isPropagationStopped())break e;Su(i,l,u),o=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==o&&i.isPropagationStopped())break e;Su(i,l,u),o=a}}}if($i)throw e=Ls,$i=!1,Ls=null,e}function H(e,t){var n=t[Bs];n===void 0&&(n=t[Bs]=new Set);var r=e+"__bubble";n.has(r)||(Pd(t,e,2,!1),n.add(r))}function Jo(e,t,n){var r=0;t&&(r|=4),Pd(n,e,r,t)}var mi="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[mi]){e[mi]=!0,Lc.forEach(function(n){n!=="selectionchange"&&(dg.has(n)||Jo(n,!1,e),Jo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mi]||(t[mi]=!0,Jo("selectionchange",!1,t))}}function Pd(e,t,n,r){switch(ud(t)){case 1:var i=Nm;break;case 4:i=Pm;break;default:i=jl}n=i.bind(null,t,n,e),i=void 0,!Ts||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Zo(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;s=s.return}for(;l!==null;){if(s=dn(l),s===null)return;if(a=s.tag,a===5||a===6){r=o=s;continue e}l=l.parentNode}}r=r.return}Qc(function(){var u=o,p=Nl(n),d=[];e:{var h=_d.get(e);if(h!==void 0){var v=Rl,y=e;switch(e){case"keypress":if(ji(n)===0)break e;case"keydown":case"keyup":v=Mm;break;case"focusin":y="focus",v=Ho;break;case"focusout":y="blur",v=Ho;break;case"beforeblur":case"afterblur":v=Ho;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=uu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=jm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=Km;break;case kd:case Sd:case xd:v=Tm;break;case Od:v=Wm;break;case"scroll":v=Em;break;case"wheel":v=Ym;break;case"copy":case"cut":case"paste":v=Am;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=du}var k=(t&4)!==0,O=!k&&e==="scroll",f=k?h!==null?h+"Capture":null:h;k=[];for(var c=u,g;c!==null;){g=c;var w=g.stateNode;if(g.tag===5&&w!==null&&(g=w,f!==null&&(w=Dr(c,f),w!=null&&k.push(Br(c,w,g)))),O)break;c=c.return}0<k.length&&(h=new v(h,y,null,n,p),d.push({event:h,listeners:k}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",h&&n!==Is&&(y=n.relatedTarget||n.fromElement)&&(dn(y)||y[Lt]))break e;if((v||h)&&(h=p.window===p?p:(h=p.ownerDocument)?h.defaultView||h.parentWindow:window,v?(y=n.relatedTarget||n.toElement,v=u,y=y?dn(y):null,y!==null&&(O=xn(y),y!==O||y.tag!==5&&y.tag!==6)&&(y=null)):(v=null,y=u),v!==y)){if(k=uu,w="onMouseLeave",f="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(k=du,w="onPointerLeave",f="onPointerEnter",c="pointer"),O=v==null?h:zn(v),g=y==null?h:zn(y),h=new k(w,c+"leave",v,n,p),h.target=O,h.relatedTarget=g,w=null,dn(p)===u&&(k=new k(f,c+"enter",y,n,p),k.target=g,k.relatedTarget=O,w=k),O=w,v&&y)t:{for(k=v,f=y,c=0,g=k;g;g=Rn(g))c++;for(g=0,w=f;w;w=Rn(w))g++;for(;0<c-g;)k=Rn(k),c--;for(;0<g-c;)f=Rn(f),g--;for(;c--;){if(k===f||f!==null&&k===f.alternate)break t;k=Rn(k),f=Rn(f)}k=null}else k=null;v!==null&&xu(d,h,v,k,!1),y!==null&&O!==null&&xu(d,O,y,k,!0)}}e:{if(h=u?zn(u):window,v=h.nodeName&&h.nodeName.toLowerCase(),v==="select"||v==="input"&&h.type==="file")var x=tg;else if(hu(h))if(md)x=og;else{x=rg;var S=ng}else(v=h.nodeName)&&v.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(x=ig);if(x&&(x=x(e,u))){hd(d,x,n,p);break e}S&&S(e,h,u),e==="focusout"&&(S=h._wrapperState)&&S.controlled&&h.type==="number"&&Ns(h,"number",h.value)}switch(S=u?zn(u):window,e){case"focusin":(hu(S)||S.contentEditable==="true")&&(Dn=S,Us=u,jr=null);break;case"focusout":jr=Us=Dn=null;break;case"mousedown":zs=!0;break;case"contextmenu":case"mouseup":case"dragend":zs=!1,wu(d,n,p);break;case"selectionchange":if(ag)break;case"keydown":case"keyup":wu(d,n,p)}var N;if(Ll)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Fn?fd(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(dd&&n.locale!=="ko"&&(Fn||P!=="onCompositionStart"?P==="onCompositionEnd"&&Fn&&(N=cd()):(Kt=p,Il="value"in Kt?Kt.value:Kt.textContent,Fn=!0)),S=Gi(u,P),0<S.length&&(P=new cu(P,e,null,n,p),d.push({event:P,listeners:S}),N?P.data=N:(N=pd(n),N!==null&&(P.data=N)))),(N=Xm?Jm(e,n):Zm(e,n))&&(u=Gi(u,"onBeforeInput"),0<u.length&&(p=new cu("onBeforeInput","beforeinput",null,n,p),d.push({event:p,listeners:u}),p.data=N))}Nd(d,t)})}function Br(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gi(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Dr(e,n),o!=null&&r.unshift(Br(e,o,i)),o=Dr(e,t),o!=null&&r.push(Br(e,o,i))),e=e.return}return r}function Rn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xu(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,i?(a=Dr(n,o),a!=null&&s.unshift(Br(n,a,l))):i||(a=Dr(n,o),a!=null&&s.push(Br(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var fg=/\r\n?/g,pg=/\u0000|\uFFFD/g;function Ou(e){return(typeof e=="string"?e:""+e).replace(fg,`+`).replace(pg,"")}function gi(e,t,n){if(t=Ou(t),Ou(e)!==t&&n)throw Error(_(425))}function Yi(){}var Vs=null,bs=null;function Ms(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $s=typeof setTimeout=="function"?setTimeout:void 0,hg=typeof clearTimeout=="function"?clearTimeout:void 0,_u=typeof Promise=="function"?Promise:void 0,mg=typeof queueMicrotask=="function"?queueMicrotask:typeof _u<"u"?function(e){return _u.resolve(null).then(e).catch(gg)}:$s;function gg(e){setTimeout(function(){throw e})}function qo(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Vr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Vr(t)}function Xt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Nu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var lr=Math.random().toString(36).slice(2),yt="__reactFiber$"+lr,Kr="__reactProps$"+lr,Lt="__reactContainer$"+lr,Bs="__reactEvents$"+lr,vg="__reactListeners$"+lr,yg="__reactHandles$"+lr;function dn(e){var t=e[yt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Lt]||n[yt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Nu(e);e!==null;){if(n=e[yt])return n;e=Nu(e)}return t}e=n,n=e.parentNode}return null}function ti(e){return e=e[yt]||e[Lt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function zn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function yo(e){return e[Kr]||null}var Ks=[],Vn=-1;function sn(e){return{current:e}}function W(e){0>Vn||(e.current=Ks[Vn],Ks[Vn]=null,Vn--)}function B(e,t){Vn++,Ks[Vn]=e.current,e.current=t}var rn={},ke=sn(rn),Le=sn(!1),gn=rn;function qn(e,t){var n=e.type.contextTypes;if(!n)return rn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ae(e){return e=e.childContextTypes,e!=null}function Qi(){W(Le),W(ke)}function Pu(e,t,n){if(ke.current!==rn)throw Error(_(168));B(ke,t),B(Le,n)}function Ed(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(_(108,nm(e)||"Unknown",i));return J({},n,r)}function Xi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rn,gn=ke.current,B(ke,e),B(Le,Le.current),!0}function Eu(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=Ed(e,t,gn),r.__reactInternalMemoizedMergedChildContext=e,W(Le),W(ke),B(ke,e)):W(Le),B(Le,n)}var Ct=null,wo=!1,es=!1;function Cd(e){Ct===null?Ct=[e]:Ct.push(e)}function wg(e){wo=!0,Cd(e)}function ln(){if(!es&&Ct!==null){es=!0;var e=0,t=M;try{var n=Ct;for(M=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ct=null,wo=!1}catch(i){throw Ct!==null&&(Ct=Ct.slice(e+1)),qc(Pl,ln),i}finally{M=t,es=!1}}return null}var bn=[],Mn=0,Ji=null,Zi=0,Ye=[],Qe=0,vn=null,jt=1,It="";function an(e,t){bn[Mn++]=Zi,bn[Mn++]=Ji,Ji=e,Zi=t}function jd(e,t,n){Ye[Qe++]=jt,Ye[Qe++]=It,Ye[Qe++]=vn,vn=e;var r=jt;e=It;var i=32-ut(r)-1;r&=~(1<<i),n+=1;var o=32-ut(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,jt=1<<32-ut(t)+i|n<<i|r,It=o+e}else jt=1<<o|n<<i|r,It=e}function Fl(e){e.return!==null&&(an(e,1),jd(e,1,0))}function Dl(e){for(;e===Ji;)Ji=bn[--Mn],bn[Mn]=null,Zi=bn[--Mn],bn[Mn]=null;for(;e===vn;)vn=Ye[--Qe],Ye[Qe]=null,It=Ye[--Qe],Ye[Qe]=null,jt=Ye[--Qe],Ye[Qe]=null}var Be=null,$e=null,G=!1,at=null;function Id(e,t){var n=Xe(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Cu(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Be=e,$e=Xt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Be=e,$e=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=vn!==null?{id:jt,overflow:It}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Xe(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Be=e,$e=null,!0):!1;default:return!1}}function Hs(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ws(e){if(G){var t=$e;if(t){var n=t;if(!Cu(e,t)){if(Hs(e))throw Error(_(418));t=Xt(n.nextSibling);var r=Be;t&&Cu(e,t)?Id(r,n):(e.flags=e.flags&-4097|2,G=!1,Be=e)}}else{if(Hs(e))throw Error(_(418));e.flags=e.flags&-4097|2,G=!1,Be=e}}}function ju(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Be=e}function vi(e){if(e!==Be)return!1;if(!G)return ju(e),G=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Ms(e.type,e.memoizedProps)),t&&(t=$e)){if(Hs(e))throw Rd(),Error(_(418));for(;t;)Id(e,t),t=Xt(t.nextSibling)}if(ju(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){$e=Xt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}$e=null}}else $e=Be?Xt(e.stateNode.nextSibling):null;return!0}function Rd(){for(var e=$e;e;)e=Xt(e.nextSibling)}function er(){$e=Be=null,G=!1}function Ul(e){at===null?at=[e]:at.push(e)}var kg=Dt.ReactCurrentBatchConfig;function st(e,t){if(e&&e.defaultProps){t=J({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var qi=sn(null),eo=null,$n=null,zl=null;function Vl(){zl=$n=eo=null}function bl(e){var t=qi.current;W(qi),e._currentValue=t}function Gs(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Qn(e,t){eo=e,zl=$n=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Te=!0),e.firstContext=null)}function qe(e){var t=e._currentValue;if(zl!==e)if(e={context:e,memoizedValue:t,next:null},$n===null){if(eo===null)throw Error(_(308));$n=e,eo.dependencies={lanes:0,firstContext:e}}else $n=$n.next=e;return t}var fn=null;function Ml(e){fn===null?fn=[e]:fn.push(e)}function Td(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ml(t)):(n.next=i.next,i.next=n),t.interleaved=n,At(e,r)}function At(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mt=!1;function $l(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ld(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,At(e,n)}return i=r.interleaved,i===null?(t.next=t,Ml(r)):(t.next=i.next,i.next=t),r.interleaved=t,At(e,n)}function Ii(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,El(e,n)}}function Iu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function to(e,t,n,r){var i=e.updateQueue;Mt=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?o=u:s.next=u,s=a;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==s&&(l===null?p.firstBaseUpdate=u:l.next=u,p.lastBaseUpdate=a))}if(o!==null){var d=i.baseState;s=0,p=u=a=null,l=o;do{var h=l.lane,v=l.eventTime;if((r&h)===h){p!==null&&(p=p.next={eventTime:v,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,k=l;switch(h=t,v=n,k.tag){case 1:if(y=k.payload,typeof y=="function"){d=y.call(v,d,h);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=k.payload,h=typeof y=="function"?y.call(v,d,h):y,h==null)break e;d=J({},d,h);break e;case 2:Mt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[l]:h.push(l))}else v={eventTime:v,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(u=p=v,a=d):p=p.next=v,s|=h;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;h=l,l=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(p===null&&(a=d),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=p,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);wn|=s,e.lanes=s,e.memoizedState=d}}function Ru(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(_(191,i));i.call(r)}}}var Ad=new Tc.Component().refs;function Ys(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:J({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ko={isMounted:function(e){return(e=e._reactInternals)?xn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=_e(),i=qt(e),o=Rt(r,i);o.payload=t,n!=null&&(o.callback=n),t=Jt(e,o,i),t!==null&&(ct(t,e,i,r),Ii(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=_e(),i=qt(e),o=Rt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Jt(e,o,i),t!==null&&(ct(t,e,i,r),Ii(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=_e(),r=qt(e),i=Rt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Jt(e,i,r),t!==null&&(ct(t,e,r,n),Ii(t,e,r))}};function Tu(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!Mr(n,r)||!Mr(i,o):!0}function Fd(e,t,n){var r=!1,i=rn,o=t.contextType;return typeof o=="object"&&o!==null?o=qe(o):(i=Ae(t)?gn:ke.current,r=t.contextTypes,o=(r=r!=null)?qn(e,i):rn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ko,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Lu(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ko.enqueueReplaceState(t,t.state,null)}function Qs(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Ad,$l(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=qe(o):(o=Ae(t)?gn:ke.current,i.context=qn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Ys(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&ko.enqueueReplaceState(i,i.state,null),to(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function gr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var l=i.refs;l===Ad&&(l=i.refs={}),s===null?delete l[o]:l[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Au(e){var t=e._init;return t(e._payload)}function Dd(e){function t(f,c){if(e){var g=f.deletions;g===null?(f.deletions=[c],f.flags|=16):g.push(c)}}function n(f,c){if(!e)return null;for(;c!==null;)t(f,c),c=c.sibling;return null}function r(f,c){for(f=new Map;c!==null;)c.key!==null?f.set(c.key,c):f.set(c.index,c),c=c.sibling;return f}function i(f,c){return f=en(f,c),f.index=0,f.sibling=null,f}function o(f,c,g){return f.index=g,e?(g=f.alternate,g!==null?(g=g.index,g<c?(f.flags|=2,c):g):(f.flags|=2,c)):(f.flags|=1048576,c)}function s(f){return e&&f.alternate===null&&(f.flags|=2),f}function l(f,c,g,w){return c===null||c.tag!==6?(c=ls(g,f.mode,w),c.return=f,c):(c=i(c,g),c.return=f,c)}function a(f,c,g,w){var x=g.type;return x===An?p(f,c,g.props.children,w,g.key):c!==null&&(c.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===bt&&Au(x)===c.type)?(w=i(c,g.props),w.ref=gr(f,c,g),w.return=f,w):(w=Di(g.type,g.key,g.props,null,f.mode,w),w.ref=gr(f,c,g),w.return=f,w)}function u(f,c,g,w){return c===null||c.tag!==4||c.stateNode.containerInfo!==g.containerInfo||c.stateNode.implementation!==g.implementation?(c=as(g,f.mode,w),c.return=f,c):(c=i(c,g.children||[]),c.return=f,c)}function p(f,c,g,w,x){return c===null||c.tag!==7?(c=mn(g,f.mode,w,x),c.return=f,c):(c=i(c,g),c.return=f,c)}function d(f,c,g){if(typeof c=="string"&&c!==""||typeof c=="number")return c=ls(""+c,f.mode,g),c.return=f,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case li:return g=Di(c.type,c.key,c.props,null,f.mode,g),g.ref=gr(f,null,c),g.return=f,g;case Ln:return c=as(c,f.mode,g),c.return=f,c;case bt:var w=c._init;return d(f,w(c._payload),g)}if(xr(c)||dr(c))return c=mn(c,f.mode,g,null),c.return=f,c;yi(f,c)}return null}function h(f,c,g,w){var x=c!==null?c.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return x!==null?null:l(f,c,""+g,w);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case li:return g.key===x?a(f,c,g,w):null;case Ln:return g.key===x?u(f,c,g,w):null;case bt:return x=g._init,h(f,c,x(g._payload),w)}if(xr(g)||dr(g))return x!==null?null:p(f,c,g,w,null);yi(f,g)}return null}function v(f,c,g,w,x){if(typeof w=="string"&&w!==""||typeof w=="number")return f=f.get(g)||null,l(c,f,""+w,x);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case li:return f=f.get(w.key===null?g:w.key)||null,a(c,f,w,x);case Ln:return f=f.get(w.key===null?g:w.key)||null,u(c,f,w,x);case bt:var S=w._init;return v(f,c,g,S(w._payload),x)}if(xr(w)||dr(w))return f=f.get(g)||null,p(c,f,w,x,null);yi(c,w)}return null}function y(f,c,g,w){for(var x=null,S=null,N=c,P=c=0,T=null;N!==null&&P<g.length;P++){N.index>P?(T=N,N=null):T=N.sibling;var E=h(f,N,g[P],w);if(E===null){N===null&&(N=T);break}e&&N&&E.alternate===null&&t(f,N),c=o(E,c,P),S===null?x=E:S.sibling=E,S=E,N=T}if(P===g.length)return n(f,N),G&&an(f,P),x;if(N===null){for(;P<g.length;P++)N=d(f,g[P],w),N!==null&&(c=o(N,c,P),S===null?x=N:S.sibling=N,S=N);return G&&an(f,P),x}for(N=r(f,N);P<g.length;P++)T=v(N,f,P,g[P],w),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?P:T.key),c=o(T,c,P),S===null?x=T:S.sibling=T,S=T);return e&&N.forEach(function(K){return t(f,K)}),G&&an(f,P),x}function k(f,c,g,w){var x=dr(g);if(typeof x!="function")throw Error(_(150));if(g=x.call(g),g==null)throw Error(_(151));for(var S=x=null,N=c,P=c=0,T=null,E=g.next();N!==null&&!E.done;P++,E=g.next()){N.index>P?(T=N,N=null):T=N.sibling;var K=h(f,N,E.value,w);if(K===null){N===null&&(N=T);break}e&&N&&K.alternate===null&&t(f,N),c=o(K,c,P),S===null?x=K:S.sibling=K,S=K,N=T}if(E.done)return n(f,N),G&&an(f,P),x;if(N===null){for(;!E.done;P++,E=g.next())E=d(f,E.value,w),E!==null&&(c=o(E,c,P),S===null?x=E:S.sibling=E,S=E);return G&&an(f,P),x}for(N=r(f,N);!E.done;P++,E=g.next())E=v(N,f,P,E.value,w),E!==null&&(e&&E.alternate!==null&&N.delete(E.key===null?P:E.key),c=o(E,c,P),S===null?x=E:S.sibling=E,S=E);return e&&N.forEach(function(je){return t(f,je)}),G&&an(f,P),x}function O(f,c,g,w){if(typeof g=="object"&&g!==null&&g.type===An&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case li:e:{for(var x=g.key,S=c;S!==null;){if(S.key===x){if(x=g.type,x===An){if(S.tag===7){n(f,S.sibling),c=i(S,g.props.children),c.return=f,f=c;break e}}else if(S.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===bt&&Au(x)===S.type){n(f,S.sibling),c=i(S,g.props),c.ref=gr(f,S,g),c.return=f,f=c;break e}n(f,S);break}else t(f,S);S=S.sibling}g.type===An?(c=mn(g.props.children,f.mode,w,g.key),c.return=f,f=c):(w=Di(g.type,g.key,g.props,null,f.mode,w),w.ref=gr(f,c,g),w.return=f,f=w)}return s(f);case Ln:e:{for(S=g.key;c!==null;){if(c.key===S)if(c.tag===4&&c.stateNode.containerInfo===g.containerInfo&&c.stateNode.implementation===g.implementation){n(f,c.sibling),c=i(c,g.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=as(g,f.mode,w),c.return=f,f=c}return s(f);case bt:return S=g._init,O(f,c,S(g._payload),w)}if(xr(g))return y(f,c,g,w);if(dr(g))return k(f,c,g,w);yi(f,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,c!==null&&c.tag===6?(n(f,c.sibling),c=i(c,g),c.return=f,f=c):(n(f,c),c=ls(g,f.mode,w),c.return=f,f=c),s(f)):n(f,c)}return O}var tr=Dd(!0),Ud=Dd(!1),ni={},St=sn(ni),Hr=sn(ni),Wr=sn(ni);function pn(e){if(e===ni)throw Error(_(174));return e}function Bl(e,t){switch(B(Wr,t),B(Hr,e),B(St,ni),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Es(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Es(t,e)}W(St),B(St,t)}function nr(){W(St),W(Hr),W(Wr)}function zd(e){pn(Wr.current);var t=pn(St.current),n=Es(t,e.type);t!==n&&(B(Hr,e),B(St,n))}function Kl(e){Hr.current===e&&(W(St),W(Hr))}var Q=sn(0);function no(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ts=[];function Hl(){for(var e=0;e<ts.length;e++)ts[e]._workInProgressVersionPrimary=null;ts.length=0}var Ri=Dt.ReactCurrentDispatcher,ns=Dt.ReactCurrentBatchConfig,yn=0,X=null,le=null,ue=null,ro=!1,Ir=!1,Gr=0,Sg=0;function ve(){throw Error(_(321))}function Wl(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dt(e[n],t[n]))return!1;return!0}function Gl(e,t,n,r,i,o){if(yn=o,X=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ri.current=e===null||e.memoizedState===null?Ng:Pg,e=n(r,i),Ir){o=0;do{if(Ir=!1,Gr=0,25<=o)throw Error(_(301));o+=1,ue=le=null,t.updateQueue=null,Ri.current=Eg,e=n(r,i)}while(Ir)}if(Ri.current=io,t=le!==null&&le.next!==null,yn=0,ue=le=X=null,ro=!1,t)throw Error(_(300));return e}function Yl(){var e=Gr!==0;return Gr=0,e}function vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ue===null?X.memoizedState=ue=e:ue=ue.next=e,ue}function et(){if(le===null){var e=X.alternate;e=e!==null?e.memoizedState:null}else e=le.next;var t=ue===null?X.memoizedState:ue.next;if(t!==null)ue=t,le=e;else{if(e===null)throw Error(_(310));le=e,e={memoizedState:le.memoizedState,baseState:le.baseState,baseQueue:le.baseQueue,queue:le.queue,next:null},ue===null?X.memoizedState=ue=e:ue=ue.next=e}return ue}function Yr(e,t){return typeof t=="function"?t(e):t}function rs(e){var t=et(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=le,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=s=null,a=null,u=o;do{var p=u.lane;if((yn&p)===p)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:p,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,X.lanes|=p,wn|=p}u=u.next}while(u!==null&&u!==o);a===null?s=r:a.next=l,dt(r,t.memoizedState)||(Te=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,X.lanes|=o,wn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function is(e){var t=et(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);dt(o,t.memoizedState)||(Te=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Vd(){}function bd(e,t){var n=X,r=et(),i=t(),o=!dt(r.memoizedState,i);if(o&&(r.memoizedState=i,Te=!0),r=r.queue,Ql(Bd.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ue!==null&&ue.memoizedState.tag&1){if(n.flags|=2048,Qr(9,$d.bind(null,n,r,i,t),void 0,null),ce===null)throw Error(_(349));yn&30||Md(n,t,i)}return i}function Md(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=X.updateQueue,t===null?(t={lastEffect:null,stores:null},X.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function $d(e,t,n,r){t.value=n,t.getSnapshot=r,Kd(t)&&Hd(e)}function Bd(e,t,n){return n(function(){Kd(t)&&Hd(e)})}function Kd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dt(e,n)}catch{return!0}}function Hd(e){var t=At(e,1);t!==null&&ct(t,e,1,-1)}function Fu(e){var t=vt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:e},t.queue=e,e=e.dispatch=_g.bind(null,X,e),[t.memoizedState,e]}function Qr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=X.updateQueue,t===null?(t={lastEffect:null,stores:null},X.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Wd(){return et().memoizedState}function Ti(e,t,n,r){var i=vt();X.flags|=e,i.memoizedState=Qr(1|t,n,void 0,r===void 0?null:r)}function So(e,t,n,r){var i=et();r=r===void 0?null:r;var o=void 0;if(le!==null){var s=le.memoizedState;if(o=s.destroy,r!==null&&Wl(r,s.deps)){i.memoizedState=Qr(t,n,o,r);return}}X.flags|=e,i.memoizedState=Qr(1|t,n,o,r)}function Du(e,t){return Ti(8390656,8,e,t)}function Ql(e,t){return So(2048,8,e,t)}function Gd(e,t){return So(4,2,e,t)}function Yd(e,t){return So(4,4,e,t)}function Qd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Xd(e,t,n){return n=n!=null?n.concat([e]):null,So(4,4,Qd.bind(null,t,e),n)}function Xl(){}function Jd(e,t){var n=et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zd(e,t){var n=et();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Wl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function qd(e,t,n){return yn&21?(dt(n,t)||(n=nd(),X.lanes|=n,wn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Te=!0),e.memoizedState=n)}function xg(e,t){var n=M;M=n!==0&&4>n?n:4,e(!0);var r=ns.transition;ns.transition={};try{e(!1),t()}finally{M=n,ns.transition=r}}function ef(){return et().memoizedState}function Og(e,t,n){var r=qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},tf(e))nf(t,n);else if(n=Td(e,t,n,r),n!==null){var i=_e();ct(n,e,r,i),rf(n,t,r)}}function _g(e,t,n){var r=qt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(tf(e))nf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,dt(l,s)){var a=t.interleaved;a===null?(i.next=i,Ml(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Td(e,t,i,r),n!==null&&(i=_e(),ct(n,e,r,i),rf(n,t,r))}}function tf(e){var t=e.alternate;return e===X||t!==null&&t===X}function nf(e,t){Ir=ro=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function rf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,El(e,n)}}var io={readContext:qe,useCallback:ve,useContext:ve,useEffect:ve,useImperativeHandle:ve,useInsertionEffect:ve,useLayoutEffect:ve,useMemo:ve,useReducer:ve,useRef:ve,useState:ve,useDebugValue:ve,useDeferredValue:ve,useTransition:ve,useMutableSource:ve,useSyncExternalStore:ve,useId:ve,unstable_isNewReconciler:!1},Ng={readContext:qe,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:qe,useEffect:Du,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ti(4194308,4,Qd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ti(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ti(4,2,e,t)},useMemo:function(e,t){var n=vt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Og.bind(null,X,e),[r.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:Fu,useDebugValue:Xl,useDeferredValue:function(e){return vt().memoizedState=e},useTransition:function(){var e=Fu(!1),t=e[0];return e=xg.bind(null,e[1]),vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=X,i=vt();if(G){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ce===null)throw Error(_(349));yn&30||Md(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Du(Bd.bind(null,r,o,e),[e]),r.flags|=2048,Qr(9,$d.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=vt(),t=ce.identifierPrefix;if(G){var n=It,r=jt;n=(r&~(1<<32-ut(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Sg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Pg={readContext:qe,useCallback:Jd,useContext:qe,useEffect:Ql,useImperativeHandle:Xd,useInsertionEffect:Gd,useLayoutEffect:Yd,useMemo:Zd,useReducer:rs,useRef:Wd,useState:function(){return rs(Yr)},useDebugValue:Xl,useDeferredValue:function(e){var t=et();return qd(t,le.memoizedState,e)},useTransition:function(){var e=rs(Yr)[0],t=et().memoizedState;return[e,t]},useMutableSource:Vd,useSyncExternalStore:bd,useId:ef,unstable_isNewReconciler:!1},Eg={readContext:qe,useCallback:Jd,useContext:qe,useEffect:Ql,useImperativeHandle:Xd,useInsertionEffect:Gd,useLayoutEffect:Yd,useMemo:Zd,useReducer:is,useRef:Wd,useState:function(){return is(Yr)},useDebugValue:Xl,useDeferredValue:function(e){var t=et();return le===null?t.memoizedState=e:qd(t,le.memoizedState,e)},useTransition:function(){var e=is(Yr)[0],t=et().memoizedState;return[e,t]},useMutableSource:Vd,useSyncExternalStore:bd,useId:ef,unstable_isNewReconciler:!1};function rr(e,t){try{var n="",r=t;do n+=tm(r),r=r.return;while(r);var i=n}catch(o){i=`+Error generating stack: `+o.message+`+`+o.stack}return{value:e,source:t,stack:i,digest:null}}function os(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Xs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Cg=typeof WeakMap=="function"?WeakMap:Map;function of(e,t,n){n=Rt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){so||(so=!0,sl=r),Xs(e,t)},n}function sf(e,t,n){n=Rt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Xs(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Xs(e,t),typeof r!="function"&&(Zt===null?Zt=new Set([this]):Zt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Uu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Cg;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=$g.bind(null,e,t,n),t.then(e,e))}function zu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Vu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Rt(-1,1),t.tag=2,Jt(n,t,1))),n.lanes|=1),e)}var jg=Dt.ReactCurrentOwner,Te=!1;function xe(e,t,n,r){t.child=e===null?Ud(t,null,n,r):tr(t,e.child,n,r)}function bu(e,t,n,r,i){n=n.render;var o=t.ref;return Qn(t,i),r=Gl(e,t,n,r,o,i),n=Yl(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ft(e,t,i)):(G&&n&&Fl(t),t.flags|=1,xe(e,t,r,i),t.child)}function Mu(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!ia(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,lf(e,t,o,r,i)):(e=Di(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Mr,n(s,r)&&e.ref===t.ref)return Ft(e,t,i)}return t.flags|=1,e=en(o,r),e.ref=t.ref,e.return=t,t.child=e}function lf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Mr(o,r)&&e.ref===t.ref)if(Te=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Te=!0);else return t.lanes=e.lanes,Ft(e,t,i)}return Js(e,t,n,r,i)}function af(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},B(Kn,be),be|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,B(Kn,be),be|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,B(Kn,be),be|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,B(Kn,be),be|=r;return xe(e,t,i,n),t.child}function uf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Js(e,t,n,r,i){var o=Ae(n)?gn:ke.current;return o=qn(t,o),Qn(t,i),n=Gl(e,t,n,r,o,i),r=Yl(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ft(e,t,i)):(G&&r&&Fl(t),t.flags|=1,xe(e,t,n,i),t.child)}function $u(e,t,n,r,i){if(Ae(n)){var o=!0;Xi(t)}else o=!1;if(Qn(t,i),t.stateNode===null)Li(e,t),Fd(t,n,r),Qs(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=qe(u):(u=Ae(n)?gn:ke.current,u=qn(t,u));var p=n.getDerivedStateFromProps,d=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Lu(t,s,r,u),Mt=!1;var h=t.memoizedState;s.state=h,to(t,r,s,i),a=t.memoizedState,l!==r||h!==a||Le.current||Mt?(typeof p=="function"&&(Ys(t,n,p,r),a=t.memoizedState),(l=Mt||Tu(t,n,l,r,h,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Ld(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:st(t.type,l),s.props=u,d=t.pendingProps,h=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=qe(a):(a=Ae(n)?gn:ke.current,a=qn(t,a));var v=n.getDerivedStateFromProps;(p=typeof v=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||h!==a)&&Lu(t,s,r,a),Mt=!1,h=t.memoizedState,s.state=h,to(t,r,s,i);var y=t.memoizedState;l!==d||h!==y||Le.current||Mt?(typeof v=="function"&&(Ys(t,n,v,r),y=t.memoizedState),(u=Mt||Tu(t,n,u,r,h,y,a)||!1)?(p||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Zs(e,t,n,r,o,i)}function Zs(e,t,n,r,i,o){uf(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Eu(t,n,!1),Ft(e,t,o);r=t.stateNode,jg.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=tr(t,e.child,null,o),t.child=tr(t,null,l,o)):xe(e,t,l,o),t.memoizedState=r.state,i&&Eu(t,n,!0),t.child}function cf(e){var t=e.stateNode;t.pendingContext?Pu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Pu(e,t.context,!1),Bl(e,t.containerInfo)}function Bu(e,t,n,r,i){return er(),Ul(i),t.flags|=256,xe(e,t,n,r),t.child}var qs={dehydrated:null,treeContext:null,retryLane:0};function el(e){return{baseLanes:e,cachePool:null,transitions:null}}function df(e,t,n){var r=t.pendingProps,i=Q.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),B(Q,i&1),e===null)return Ws(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=_o(s,r,0,null),e=mn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=el(n),t.memoizedState=qs,e):Jl(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return Ig(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=en(i,a),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=en(l,o):(o=mn(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?el(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=qs,r}return o=e.child,e=o.sibling,r=en(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Jl(e,t){return t=_o({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function wi(e,t,n,r){return r!==null&&Ul(r),tr(t,e.child,null,n),e=Jl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ig(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=os(Error(_(422))),wi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=_o({mode:"visible",children:r.children},i,0,null),o=mn(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&tr(t,e.child,null,s),t.child.memoizedState=el(s),t.memoizedState=qs,o);if(!(t.mode&1))return wi(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(_(419)),r=os(o,r,void 0),wi(e,t,s,r)}if(l=(s&e.childLanes)!==0,Te||l){if(r=ce,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,At(e,i),ct(r,e,i,-1))}return ra(),r=os(Error(_(421))),wi(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Bg.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,$e=Xt(i.nextSibling),Be=t,G=!0,at=null,e!==null&&(Ye[Qe++]=jt,Ye[Qe++]=It,Ye[Qe++]=vn,jt=e.id,It=e.overflow,vn=t),t=Jl(t,r.children),t.flags|=4096,t)}function Ku(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Gs(e.return,t,n)}function ss(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function ff(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(xe(e,t,r.children,n),r=Q.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ku(e,n,t);else if(e.tag===19)Ku(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(B(Q,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&no(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ss(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&no(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ss(t,!0,n,null,o);break;case"together":ss(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Li(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ft(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),wn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=en(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=en(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Rg(e,t,n){switch(t.tag){case 3:cf(t),er();break;case 5:zd(t);break;case 1:Ae(t.type)&&Xi(t);break;case 4:Bl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;B(qi,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(B(Q,Q.current&1),t.flags|=128,null):n&t.child.childLanes?df(e,t,n):(B(Q,Q.current&1),e=Ft(e,t,n),e!==null?e.sibling:null);B(Q,Q.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ff(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),B(Q,Q.current),r)break;return null;case 22:case 23:return t.lanes=0,af(e,t,n)}return Ft(e,t,n)}var pf,tl,hf,mf;pf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};tl=function(){};hf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,pn(St.current);var o=null;switch(n){case"input":i=Os(e,i),r=Os(e,r),o=[];break;case"select":i=J({},i,{value:void 0}),r=J({},r,{value:void 0}),o=[];break;case"textarea":i=Ps(e,i),r=Ps(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Yi)}Cs(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ar.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ar.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&H("scroll",e),o||l===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};mf=function(e,t,n,r){n!==r&&(t.flags|=4)};function vr(e,t){if(!G)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Tg(e,t,n){var r=t.pendingProps;switch(Dl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ye(t),null;case 1:return Ae(t.type)&&Qi(),ye(t),null;case 3:return r=t.stateNode,nr(),W(Le),W(ke),Hl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(vi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,at!==null&&(ul(at),at=null))),tl(e,t),ye(t),null;case 5:Kl(t);var i=pn(Wr.current);if(n=t.type,e!==null&&t.stateNode!=null)hf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return ye(t),null}if(e=pn(St.current),vi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[yt]=t,r[Kr]=o,e=(t.mode&1)!==0,n){case"dialog":H("cancel",r),H("close",r);break;case"iframe":case"object":case"embed":H("load",r);break;case"video":case"audio":for(i=0;i<_r.length;i++)H(_r[i],r);break;case"source":H("error",r);break;case"img":case"image":case"link":H("error",r),H("load",r);break;case"details":H("toggle",r);break;case"input":qa(r,o),H("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},H("invalid",r);break;case"textarea":tu(r,o),H("invalid",r)}Cs(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&gi(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&gi(r.textContent,l,e),i=["children",""+l]):Ar.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&H("scroll",r)}switch(n){case"input":ai(r),eu(r,o,!0);break;case"textarea":ai(r),nu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Yi)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Mc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[yt]=t,e[Kr]=r,pf(e,t,!1,!1),t.stateNode=e;e:{switch(s=js(n,r),n){case"dialog":H("cancel",e),H("close",e),i=r;break;case"iframe":case"object":case"embed":H("load",e),i=r;break;case"video":case"audio":for(i=0;i<_r.length;i++)H(_r[i],e);i=r;break;case"source":H("error",e),i=r;break;case"img":case"image":case"link":H("error",e),H("load",e),i=r;break;case"details":H("toggle",e),i=r;break;case"input":qa(e,r),i=Os(e,r),H("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=J({},r,{value:void 0}),H("invalid",e);break;case"textarea":tu(e,r),i=Ps(e,r),H("invalid",e);break;default:i=r}Cs(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var a=l[o];o==="style"?Kc(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&$c(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Fr(e,a):typeof a=="number"&&Fr(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ar.hasOwnProperty(o)?a!=null&&o==="onScroll"&&H("scroll",e):a!=null&&Sl(e,o,a,s))}switch(n){case"input":ai(e),eu(e,r,!1);break;case"textarea":ai(e),nu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+nn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Hn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Hn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Yi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ye(t),null;case 6:if(e&&t.stateNode!=null)mf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=pn(Wr.current),pn(St.current),vi(t)){if(r=t.stateNode,n=t.memoizedProps,r[yt]=t,(o=r.nodeValue!==n)&&(e=Be,e!==null))switch(e.tag){case 3:gi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&gi(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[yt]=t,t.stateNode=r}return ye(t),null;case 13:if(W(Q),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(G&&$e!==null&&t.mode&1&&!(t.flags&128))Rd(),er(),t.flags|=98560,o=!1;else if(o=vi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(_(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(_(317));o[yt]=t}else er(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ye(t),o=!1}else at!==null&&(ul(at),at=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Q.current&1?ae===0&&(ae=3):ra())),t.updateQueue!==null&&(t.flags|=4),ye(t),null);case 4:return nr(),tl(e,t),e===null&&$r(t.stateNode.containerInfo),ye(t),null;case 10:return bl(t.type._context),ye(t),null;case 17:return Ae(t.type)&&Qi(),ye(t),null;case 19:if(W(Q),o=t.memoizedState,o===null)return ye(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)vr(o,!1);else{if(ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=no(e),s!==null){for(t.flags|=128,vr(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return B(Q,Q.current&1|2),t.child}e=e.sibling}o.tail!==null&&ne()>ir&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304)}else{if(!r)if(e=no(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),vr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!G)return ye(t),null}else 2*ne()-o.renderingStartTime>ir&&n!==1073741824&&(t.flags|=128,r=!0,vr(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ne(),t.sibling=null,n=Q.current,B(Q,r?n&1|2:n&1),t):(ye(t),null);case 22:case 23:return na(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?be&1073741824&&(ye(t),t.subtreeFlags&6&&(t.flags|=8192)):ye(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function Lg(e,t){switch(Dl(t),t.tag){case 1:return Ae(t.type)&&Qi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),W(Le),W(ke),Hl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Kl(t),null;case 13:if(W(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(Q),null;case 4:return nr(),null;case 10:return bl(t.type._context),null;case 22:case 23:return na(),null;case 24:return null;default:return null}}var ki=!1,we=!1,Ag=typeof WeakSet=="function"?WeakSet:Set,I=null;function Bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function nl(e,t,n){try{n()}catch(r){q(e,t,r)}}var Hu=!1;function Fg(e,t){if(Vs=Hi,e=yd(),Al(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,p=0,d=e,h=null;t:for(;;){for(var v;d!==n||i!==0&&d.nodeType!==3||(l=s+i),d!==o||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(v=d.firstChild)!==null;)h=d,d=v;for(;;){if(d===e)break t;if(h===n&&++u===i&&(l=s),h===o&&++p===r&&(a=s),(v=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=v}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(bs={focusedElem:e,selectionRange:n},Hi=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var k=y.memoizedProps,O=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:st(t.type,k),O);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(w){q(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return y=Hu,Hu=!1,y}function Rr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&nl(t,n,o)}i=i.next}while(i!==r)}}function xo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function rl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function gf(e){var t=e.alternate;t!==null&&(e.alternate=null,gf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[Kr],delete t[Bs],delete t[vg],delete t[yg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function vf(e){return e.tag===5||e.tag===3||e.tag===4}function Wu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function il(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Yi));else if(r!==4&&(e=e.child,e!==null))for(il(e,t,n),e=e.sibling;e!==null;)il(e,t,n),e=e.sibling}function ol(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ol(e,t,n),e=e.sibling;e!==null;)ol(e,t,n),e=e.sibling}var pe=null,lt=!1;function Vt(e,t,n){for(n=n.child;n!==null;)yf(e,t,n),n=n.sibling}function yf(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(ho,n)}catch{}switch(n.tag){case 5:we||Bn(n,t);case 6:var r=pe,i=lt;pe=null,Vt(e,t,n),pe=r,lt=i,pe!==null&&(lt?(e=pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):pe.removeChild(n.stateNode));break;case 18:pe!==null&&(lt?(e=pe,n=n.stateNode,e.nodeType===8?qo(e.parentNode,n):e.nodeType===1&&qo(e,n),Vr(e)):qo(pe,n.stateNode));break;case 4:r=pe,i=lt,pe=n.stateNode.containerInfo,lt=!0,Vt(e,t,n),pe=r,lt=i;break;case 0:case 11:case 14:case 15:if(!we&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&nl(n,t,s),i=i.next}while(i!==r)}Vt(e,t,n);break;case 1:if(!we&&(Bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){q(n,t,l)}Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:n.mode&1?(we=(r=we)||n.memoizedState!==null,Vt(e,t,n),we=r):Vt(e,t,n);break;default:Vt(e,t,n)}}function Gu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ag),t.forEach(function(r){var i=Kg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:pe=l.stateNode,lt=!1;break e;case 3:pe=l.stateNode.containerInfo,lt=!0;break e;case 4:pe=l.stateNode.containerInfo,lt=!0;break e}l=l.return}if(pe===null)throw Error(_(160));yf(o,s,i),pe=null,lt=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){q(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)wf(t,e),t=t.sibling}function wf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ot(t,e),gt(e),r&4){try{Rr(3,e,e.return),xo(3,e)}catch(k){q(e,e.return,k)}try{Rr(5,e,e.return)}catch(k){q(e,e.return,k)}}break;case 1:ot(t,e),gt(e),r&512&&n!==null&&Bn(n,n.return);break;case 5:if(ot(t,e),gt(e),r&512&&n!==null&&Bn(n,n.return),e.flags&32){var i=e.stateNode;try{Fr(i,"")}catch(k){q(e,e.return,k)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&Vc(i,o),js(l,s);var u=js(l,o);for(s=0;s<a.length;s+=2){var p=a[s],d=a[s+1];p==="style"?Kc(i,d):p==="dangerouslySetInnerHTML"?$c(i,d):p==="children"?Fr(i,d):Sl(i,p,d,u)}switch(l){case"input":_s(i,o);break;case"textarea":bc(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var v=o.value;v!=null?Hn(i,!!o.multiple,v,!1):h!==!!o.multiple&&(o.defaultValue!=null?Hn(i,!!o.multiple,o.defaultValue,!0):Hn(i,!!o.multiple,o.multiple?[]:"",!1))}i[Kr]=o}catch(k){q(e,e.return,k)}}break;case 6:if(ot(t,e),gt(e),r&4){if(e.stateNode===null)throw Error(_(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(k){q(e,e.return,k)}}break;case 3:if(ot(t,e),gt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Vr(t.containerInfo)}catch(k){q(e,e.return,k)}break;case 4:ot(t,e),gt(e);break;case 13:ot(t,e),gt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(ea=ne())),r&4&&Gu(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(we=(u=we)||p,ot(t,e),we=u):ot(t,e),gt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!p&&e.mode&1)for(I=e,p=e.child;p!==null;){for(d=I=p;I!==null;){switch(h=I,v=h.child,h.tag){case 0:case 11:case 14:case 15:Rr(4,h,h.return);break;case 1:Bn(h,h.return);var y=h.stateNode;if(typeof y.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(k){q(r,n,k)}}break;case 5:Bn(h,h.return);break;case 22:if(h.memoizedState!==null){Qu(d);continue}}v!==null?(v.return=h,I=v):Qu(d)}p=p.sibling}e:for(p=null,d=e;;){if(d.tag===5){if(p===null){p=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Bc("display",s))}catch(k){q(e,e.return,k)}}}else if(d.tag===6){if(p===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(k){q(e,e.return,k)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;p===d&&(p=null),d=d.return}p===d&&(p=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:ot(t,e),gt(e),r&4&&Gu(e);break;case 21:break;default:ot(t,e),gt(e)}}function gt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(vf(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Fr(i,""),r.flags&=-33);var o=Wu(e);ol(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=Wu(e);il(e,l,s);break;default:throw Error(_(161))}}catch(a){q(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Dg(e,t,n){I=e,kf(e)}function kf(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var i=I,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||ki;if(!s){var l=i.alternate,a=l!==null&&l.memoizedState!==null||we;l=ki;var u=we;if(ki=s,(we=a)&&!u)for(I=i;I!==null;)s=I,a=s.child,s.tag===22&&s.memoizedState!==null?Xu(i):a!==null?(a.return=s,I=a):Xu(i);for(;o!==null;)I=o,kf(o),o=o.sibling;I=i,ki=l,we=u}Yu(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,I=o):Yu(e)}}function Yu(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:we||xo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!we)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:st(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Ru(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ru(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var p=u.memoizedState;if(p!==null){var d=p.dehydrated;d!==null&&Vr(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}we||t.flags&512&&rl(t)}catch(h){q(t,t.return,h)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function Qu(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function Xu(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{xo(4,t)}catch(a){q(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){q(t,i,a)}}var o=t.return;try{rl(t)}catch(a){q(t,o,a)}break;case 5:var s=t.return;try{rl(t)}catch(a){q(t,s,a)}}}catch(a){q(t,t.return,a)}if(t===e){I=null;break}var l=t.sibling;if(l!==null){l.return=t.return,I=l;break}I=t.return}}var Ug=Math.ceil,oo=Dt.ReactCurrentDispatcher,Zl=Dt.ReactCurrentOwner,Ze=Dt.ReactCurrentBatchConfig,U=0,ce=null,oe=null,me=0,be=0,Kn=sn(0),ae=0,Xr=null,wn=0,Oo=0,ql=0,Tr=null,Re=null,ea=0,ir=1/0,Et=null,so=!1,sl=null,Zt=null,Si=!1,Ht=null,lo=0,Lr=0,ll=null,Ai=-1,Fi=0;function _e(){return U&6?ne():Ai!==-1?Ai:Ai=ne()}function qt(e){return e.mode&1?U&2&&me!==0?me&-me:kg.transition!==null?(Fi===0&&(Fi=nd()),Fi):(e=M,e!==0||(e=window.event,e=e===void 0?16:ud(e.type)),e):1}function ct(e,t,n,r){if(50<Lr)throw Lr=0,ll=null,Error(_(185));qr(e,n,r),(!(U&2)||e!==ce)&&(e===ce&&(!(U&2)&&(Oo|=n),ae===4&&Bt(e,me)),Fe(e,r),n===1&&U===0&&!(t.mode&1)&&(ir=ne()+500,wo&&ln()))}function Fe(e,t){var n=e.callbackNode;km(e,t);var r=Ki(e,e===ce?me:0);if(r===0)n!==null&&ou(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ou(n),t===1)e.tag===0?wg(Ju.bind(null,e)):Cd(Ju.bind(null,e)),mg(function(){!(U&6)&&ln()}),n=null;else{switch(rd(r)){case 1:n=Pl;break;case 4:n=ed;break;case 16:n=Bi;break;case 536870912:n=td;break;default:n=Bi}n=Cf(n,Sf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Sf(e,t){if(Ai=-1,Fi=0,U&6)throw Error(_(327));var n=e.callbackNode;if(Xn()&&e.callbackNode!==n)return null;var r=Ki(e,e===ce?me:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ao(e,r);else{t=r;var i=U;U|=2;var o=Of();(ce!==e||me!==t)&&(Et=null,ir=ne()+500,hn(e,t));do try{bg();break}catch(l){xf(e,l)}while(!0);Vl(),oo.current=o,U=i,oe!==null?t=0:(ce=null,me=0,t=ae)}if(t!==0){if(t===2&&(i=As(e),i!==0&&(r=i,t=al(e,i))),t===1)throw n=Xr,hn(e,0),Bt(e,r),Fe(e,ne()),n;if(t===6)Bt(e,r);else{if(i=e.current.alternate,!(r&30)&&!zg(i)&&(t=ao(e,r),t===2&&(o=As(e),o!==0&&(r=o,t=al(e,o))),t===1))throw n=Xr,hn(e,0),Bt(e,r),Fe(e,ne()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:un(e,Re,Et);break;case 3:if(Bt(e,r),(r&130023424)===r&&(t=ea+500-ne(),10<t)){if(Ki(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){_e(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=$s(un.bind(null,e,Re,Et),t);break}un(e,Re,Et);break;case 4:if(Bt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-ut(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ug(r/1960))-r,10<r){e.timeoutHandle=$s(un.bind(null,e,Re,Et),r);break}un(e,Re,Et);break;case 5:un(e,Re,Et);break;default:throw Error(_(329))}}}return Fe(e,ne()),e.callbackNode===n?Sf.bind(null,e):null}function al(e,t){var n=Tr;return e.current.memoizedState.isDehydrated&&(hn(e,t).flags|=256),e=ao(e,t),e!==2&&(t=Re,Re=n,t!==null&&ul(t)),e}function ul(e){Re===null?Re=e:Re.push.apply(Re,e)}function zg(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!dt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Bt(e,t){for(t&=~ql,t&=~Oo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ut(t),r=1<<n;e[n]=-1,t&=~r}}function Ju(e){if(U&6)throw Error(_(327));Xn();var t=Ki(e,0);if(!(t&1))return Fe(e,ne()),null;var n=ao(e,t);if(e.tag!==0&&n===2){var r=As(e);r!==0&&(t=r,n=al(e,r))}if(n===1)throw n=Xr,hn(e,0),Bt(e,t),Fe(e,ne()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,un(e,Re,Et),Fe(e,ne()),null}function ta(e,t){var n=U;U|=1;try{return e(t)}finally{U=n,U===0&&(ir=ne()+500,wo&&ln())}}function kn(e){Ht!==null&&Ht.tag===0&&!(U&6)&&Xn();var t=U;U|=1;var n=Ze.transition,r=M;try{if(Ze.transition=null,M=1,e)return e()}finally{M=r,Ze.transition=n,U=t,!(U&6)&&ln()}}function na(){be=Kn.current,W(Kn)}function hn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,hg(n)),oe!==null)for(n=oe.return;n!==null;){var r=n;switch(Dl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Qi();break;case 3:nr(),W(Le),W(ke),Hl();break;case 5:Kl(r);break;case 4:nr();break;case 13:W(Q);break;case 19:W(Q);break;case 10:bl(r.type._context);break;case 22:case 23:na()}n=n.return}if(ce=e,oe=e=en(e.current,null),me=be=t,ae=0,Xr=null,ql=Oo=wn=0,Re=Tr=null,fn!==null){for(t=0;t<fn.length;t++)if(n=fn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}fn=null}return e}function xf(e,t){do{var n=oe;try{if(Vl(),Ri.current=io,ro){for(var r=X.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ro=!1}if(yn=0,ue=le=X=null,Ir=!1,Gr=0,Zl.current=null,n===null||n.return===null){ae=1,Xr=t,oe=null;break}e:{var o=e,s=n.return,l=n,a=t;if(t=me,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,p=l,d=p.tag;if(!(p.mode&1)&&(d===0||d===11||d===15)){var h=p.alternate;h?(p.updateQueue=h.updateQueue,p.memoizedState=h.memoizedState,p.lanes=h.lanes):(p.updateQueue=null,p.memoizedState=null)}var v=zu(s);if(v!==null){v.flags&=-257,Vu(v,s,l,o,t),v.mode&1&&Uu(o,u,t),t=v,a=u;var y=t.updateQueue;if(y===null){var k=new Set;k.add(a),t.updateQueue=k}else y.add(a);break e}else{if(!(t&1)){Uu(o,u,t),ra();break e}a=Error(_(426))}}else if(G&&l.mode&1){var O=zu(s);if(O!==null){!(O.flags&65536)&&(O.flags|=256),Vu(O,s,l,o,t),Ul(rr(a,l));break e}}o=a=rr(a,l),ae!==4&&(ae=2),Tr===null?Tr=[o]:Tr.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var f=of(o,a,t);Iu(o,f);break e;case 1:l=a;var c=o.type,g=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Zt===null||!Zt.has(g)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=sf(o,l,t);Iu(o,w);break e}}o=o.return}while(o!==null)}Nf(n)}catch(x){t=x,oe===n&&n!==null&&(oe=n=n.return);continue}break}while(!0)}function Of(){var e=oo.current;return oo.current=io,e===null?io:e}function ra(){(ae===0||ae===3||ae===2)&&(ae=4),ce===null||!(wn&268435455)&&!(Oo&268435455)||Bt(ce,me)}function ao(e,t){var n=U;U|=2;var r=Of();(ce!==e||me!==t)&&(Et=null,hn(e,t));do try{Vg();break}catch(i){xf(e,i)}while(!0);if(Vl(),U=n,oo.current=r,oe!==null)throw Error(_(261));return ce=null,me=0,ae}function Vg(){for(;oe!==null;)_f(oe)}function bg(){for(;oe!==null&&!dm();)_f(oe)}function _f(e){var t=Ef(e.alternate,e,be);e.memoizedProps=e.pendingProps,t===null?Nf(e):oe=t,Zl.current=null}function Nf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Lg(n,t),n!==null){n.flags&=32767,oe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ae=6,oe=null;return}}else if(n=Tg(n,t,be),n!==null){oe=n;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);ae===0&&(ae=5)}function un(e,t,n){var r=M,i=Ze.transition;try{Ze.transition=null,M=1,Mg(e,t,n,r)}finally{Ze.transition=i,M=r}return null}function Mg(e,t,n,r){do Xn();while(Ht!==null);if(U&6)throw Error(_(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(_(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Sm(e,o),e===ce&&(oe=ce=null,me=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Si||(Si=!0,Cf(Bi,function(){return Xn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ze.transition,Ze.transition=null;var s=M;M=1;var l=U;U|=4,Zl.current=null,Fg(e,n),wf(n,e),lg(bs),Hi=!!Vs,bs=Vs=null,e.current=n,Dg(n),fm(),U=l,M=s,Ze.transition=o}else e.current=n;if(Si&&(Si=!1,Ht=e,lo=i),o=e.pendingLanes,o===0&&(Zt=null),mm(n.stateNode),Fe(e,ne()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(so)throw so=!1,e=sl,sl=null,e;return lo&1&&e.tag!==0&&Xn(),o=e.pendingLanes,o&1?e===ll?Lr++:(Lr=0,ll=e):Lr=0,ln(),null}function Xn(){if(Ht!==null){var e=rd(lo),t=Ze.transition,n=M;try{if(Ze.transition=null,M=16>e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,lo=0,U&6)throw Error(_(331));var i=U;for(U|=4,I=e.current;I!==null;){var o=I,s=o.child;if(I.flags&16){var l=o.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(I=u;I!==null;){var p=I;switch(p.tag){case 0:case 11:case 15:Rr(8,p,o)}var d=p.child;if(d!==null)d.return=p,I=d;else for(;I!==null;){p=I;var h=p.sibling,v=p.return;if(gf(p),p===u){I=null;break}if(h!==null){h.return=v,I=h;break}I=v}}}var y=o.alternate;if(y!==null){var k=y.child;if(k!==null){y.child=null;do{var O=k.sibling;k.sibling=null,k=O}while(k!==null)}}I=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,I=s;else e:for(;I!==null;){if(o=I,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Rr(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,I=f;break e}I=o.return}}var c=e.current;for(I=c;I!==null;){s=I;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,I=g;else e:for(s=c;I!==null;){if(l=I,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:xo(9,l)}}catch(x){q(l,l.return,x)}if(l===s){I=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,I=w;break e}I=l.return}}if(U=i,ln(),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(ho,e)}catch{}r=!0}return r}finally{M=n,Ze.transition=t}}return!1}function Zu(e,t,n){t=rr(n,t),t=of(e,t,1),e=Jt(e,t,1),t=_e(),e!==null&&(qr(e,1,t),Fe(e,t))}function q(e,t,n){if(e.tag===3)Zu(e,e,n);else for(;t!==null;){if(t.tag===3){Zu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Zt===null||!Zt.has(r))){e=rr(n,e),e=sf(t,e,1),t=Jt(t,e,1),e=_e(),t!==null&&(qr(t,1,e),Fe(t,e));break}}t=t.return}}function $g(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=_e(),e.pingedLanes|=e.suspendedLanes&n,ce===e&&(me&n)===n&&(ae===4||ae===3&&(me&130023424)===me&&500>ne()-ea?hn(e,0):ql|=n),Fe(e,t)}function Pf(e,t){t===0&&(e.mode&1?(t=di,di<<=1,!(di&130023424)&&(di=4194304)):t=1);var n=_e();e=At(e,t),e!==null&&(qr(e,t,n),Fe(e,n))}function Bg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Pf(e,n)}function Kg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),Pf(e,n)}var Ef;Ef=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Le.current)Te=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Te=!1,Rg(e,t,n);Te=!!(e.flags&131072)}else Te=!1,G&&t.flags&1048576&&jd(t,Zi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Li(e,t),e=t.pendingProps;var i=qn(t,ke.current);Qn(t,n),i=Gl(null,t,r,e,i,n);var o=Yl();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ae(r)?(o=!0,Xi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,$l(t),i.updater=ko,t.stateNode=i,i._reactInternals=t,Qs(t,r,e,n),t=Zs(null,t,r,!0,o,n)):(t.tag=0,G&&o&&Fl(t),xe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Li(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Wg(r),e=st(r,e),i){case 0:t=Js(null,t,r,e,n);break e;case 1:t=$u(null,t,r,e,n);break e;case 11:t=bu(null,t,r,e,n);break e;case 14:t=Mu(null,t,r,st(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Js(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),$u(e,t,r,i,n);case 3:e:{if(cf(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Ld(e,t),to(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=rr(Error(_(423)),t),t=Bu(e,t,r,n,i);break e}else if(r!==i){i=rr(Error(_(424)),t),t=Bu(e,t,r,n,i);break e}else for($e=Xt(t.stateNode.containerInfo.firstChild),Be=t,G=!0,at=null,n=Ud(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===i){t=Ft(e,t,n);break e}xe(e,t,r,n)}t=t.child}return t;case 5:return zd(t),e===null&&Ws(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Ms(r,i)?s=null:o!==null&&Ms(r,o)&&(t.flags|=32),uf(e,t),xe(e,t,s,n),t.child;case 6:return e===null&&Ws(t),null;case 13:return df(e,t,n);case 4:return Bl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):xe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),bu(e,t,r,i,n);case 7:return xe(e,t,t.pendingProps,n),t.child;case 8:return xe(e,t,t.pendingProps.children,n),t.child;case 12:return xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,B(qi,r._currentValue),r._currentValue=s,o!==null)if(dt(o.value,s)){if(o.children===i.children&&!Le.current){t=Ft(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Rt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var p=u.pending;p===null?a.next=a:(a.next=p.next,p.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Gs(o.return,n,t),l.lanes|=n;break}a=a.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(_(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Gs(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}xe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Qn(t,n),i=qe(i),r=r(i),t.flags|=1,xe(e,t,r,n),t.child;case 14:return r=t.type,i=st(r,t.pendingProps),i=st(r.type,i),Mu(e,t,r,i,n);case 15:return lf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:st(r,i),Li(e,t),t.tag=1,Ae(r)?(e=!0,Xi(t)):e=!1,Qn(t,n),Fd(t,r,i),Qs(t,r,i,n),Zs(null,t,r,!0,e,n);case 19:return ff(e,t,n);case 22:return af(e,t,n)}throw Error(_(156,t.tag))};function Cf(e,t){return qc(e,t)}function Hg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Xe(e,t,n,r){return new Hg(e,t,n,r)}function ia(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wg(e){if(typeof e=="function")return ia(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ol)return 11;if(e===_l)return 14}return 2}function en(e,t){var n=e.alternate;return n===null?(n=Xe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Di(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")ia(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case An:return mn(n.children,i,o,t);case xl:s=8,i|=8;break;case ws:return e=Xe(12,n,t,i|2),e.elementType=ws,e.lanes=o,e;case ks:return e=Xe(13,n,t,i),e.elementType=ks,e.lanes=o,e;case Ss:return e=Xe(19,n,t,i),e.elementType=Ss,e.lanes=o,e;case Dc:return _o(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ac:s=10;break e;case Fc:s=9;break e;case Ol:s=11;break e;case _l:s=14;break e;case bt:s=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Xe(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function mn(e,t,n,r){return e=Xe(7,e,r,t),e.lanes=n,e}function _o(e,t,n,r){return e=Xe(22,e,r,t),e.elementType=Dc,e.lanes=n,e.stateNode={isHidden:!1},e}function ls(e,t,n){return e=Xe(6,e,null,t),e.lanes=n,e}function as(e,t,n){return t=Xe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gg(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=$o(0),this.expirationTimes=$o(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$o(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function oa(e,t,n,r,i,o,s,l,a){return e=new Gg(e,t,n,l,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Xe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$l(o),e}function Yg(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ln,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function jf(e){if(!e)return rn;e=e._reactInternals;e:{if(xn(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ae(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(Ae(n))return Ed(e,n,t)}return t}function If(e,t,n,r,i,o,s,l,a){return e=oa(n,r,!0,e,i,o,s,l,a),e.context=jf(null),n=e.current,r=_e(),i=qt(n),o=Rt(r,i),o.callback=t??null,Jt(n,o,i),e.current.lanes=i,qr(e,i,r),Fe(e,r),e}function No(e,t,n,r){var i=t.current,o=_e(),s=qt(i);return n=jf(n),t.context===null?t.context=n:t.pendingContext=n,t=Rt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Jt(i,t,s),e!==null&&(ct(e,i,s,o),Ii(e,i,s)),s}function uo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function qu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function sa(e,t){qu(e,t),(e=e.alternate)&&qu(e,t)}function Qg(){return null}var Rf=typeof reportError=="function"?reportError:function(e){console.error(e)};function la(e){this._internalRoot=e}Po.prototype.render=la.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));No(e,t,null,null)};Po.prototype.unmount=la.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;kn(function(){No(null,e,null,null)}),t[Lt]=null}};function Po(e){this._internalRoot=e}Po.prototype.unstable_scheduleHydration=function(e){if(e){var t=sd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<$t.length&&t!==0&&t<$t[n].priority;n++);$t.splice(n,0,e),n===0&&ad(e)}};function aa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Eo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ec(){}function Xg(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=uo(s);o.call(u)}}var s=If(t,r,e,0,null,!1,!1,"",ec);return e._reactRootContainer=s,e[Lt]=s.current,$r(e.nodeType===8?e.parentNode:e),kn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=uo(a);l.call(u)}}var a=oa(e,0,!1,null,null,!1,!1,"",ec);return e._reactRootContainer=a,e[Lt]=a.current,$r(e.nodeType===8?e.parentNode:e),kn(function(){No(t,a,n,r)}),a}function Co(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var a=uo(s);l.call(a)}}No(t,s,e,i)}else s=Xg(n,t,e,i,r);return uo(s)}id=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Or(t.pendingLanes);n!==0&&(El(t,n|1),Fe(t,ne()),!(U&6)&&(ir=ne()+500,ln()))}break;case 13:kn(function(){var r=At(e,1);if(r!==null){var i=_e();ct(r,e,1,i)}}),sa(e,1)}};Cl=function(e){if(e.tag===13){var t=At(e,134217728);if(t!==null){var n=_e();ct(t,e,134217728,n)}sa(e,134217728)}};od=function(e){if(e.tag===13){var t=qt(e),n=At(e,t);if(n!==null){var r=_e();ct(n,e,t,r)}sa(e,t)}};sd=function(){return M};ld=function(e,t){var n=M;try{return M=e,t()}finally{M=n}};Rs=function(e,t,n){switch(t){case"input":if(_s(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=yo(r);if(!i)throw Error(_(90));zc(r),_s(r,i)}}}break;case"textarea":bc(e,n);break;case"select":t=n.value,t!=null&&Hn(e,!!n.multiple,t,!1)}};Gc=ta;Yc=kn;var Jg={usingClientEntryPoint:!1,Events:[ti,zn,yo,Hc,Wc,ta]},yr={findFiberByHostInstance:dn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Zg={bundleType:yr.bundleType,version:yr.version,rendererPackageName:yr.rendererPackageName,rendererConfig:yr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Dt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Jc(e),e===null?null:e.stateNode},findFiberByHostInstance:yr.findFiberByHostInstance||Qg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var xi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xi.isDisabled&&xi.supportsFiber)try{ho=xi.inject(Zg),kt=xi}catch{}}He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jg;He.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!aa(t))throw Error(_(200));return Yg(e,t,null,n)};He.createRoot=function(e,t){if(!aa(e))throw Error(_(299));var n=!1,r="",i=Rf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=oa(e,1,!1,null,null,n,!1,r,i),e[Lt]=t.current,$r(e.nodeType===8?e.parentNode:e),new la(t)};He.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=Jc(t),e=e===null?null:e.stateNode,e};He.flushSync=function(e){return kn(e)};He.hydrate=function(e,t,n){if(!Eo(t))throw Error(_(200));return Co(null,e,t,!0,n)};He.hydrateRoot=function(e,t,n){if(!aa(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Rf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=If(t,null,e,1,n??null,i,!1,o,s),e[Lt]=t.current,$r(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Po(t)};He.render=function(e,t,n){if(!Eo(t))throw Error(_(200));return Co(null,e,t,!1,n)};He.unmountComponentAtNode=function(e){if(!Eo(e))throw Error(_(40));return e._reactRootContainer?(kn(function(){Co(null,null,e,!1,function(){e._reactRootContainer=null,e[Lt]=null})}),!0):!1};He.unstable_batchedUpdates=ta;He.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Eo(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return Co(e,t,n,!1,r)};He.version="18.2.0-next-9e3b772b8-20220608";function Tf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Tf)}catch(e){console.error(e)}}Tf(),jc.exports=He;var qg=jc.exports,tc=qg;vs.createRoot=tc.createRoot,vs.hydrateRoot=tc.hydrateRoot;const ua=de.createInstance(),cl="en";if(!(cl in Jn))throw new Error(`'${cl}' language is not supported`);ua.init({debug:!1,resources:Jn,lng:cl,fallbackLng:"en",supportedLngs:Object.keys(Jn)});const Z=ua.getFixedT(null,"core"),ev=e=>ua.getFixedT(null,"core",e);var j=(e=>(e.ROOT="ROOT",e.PACKAGE="PACKAGE",e.VERSION="VERSION",e.ENVIRONMENT="ENVIRONMENT",e.OP_SYSTEM="OP_SYSTEM",e.DISTRIBUTION="DISTRIBUTION",e.FRAMEWORK="FRAMEWORK",e))(j||{}),Lf=(e=>(e.ROOT="ROOT",e))(Lf||{}),Ut=(e=>(e.v_2022_3_2="v_2022_3_2",e.v_2023_3_0="v_2023_3_0",e.v_2024_5_0="v_2024_5_0",e.NIGHTLY="NIGHTLY",e))(Ut||{}),ri=(e=>(e.DEV_TOOLS="DEV_TOOLS",e.RUNTIME="RUNTIME",e))(ri||{}),Je=(e=>(e.WINDOWS="WINDOWS",e.MACOS="MACOS",e.LINUX="LINUX",e))(Je||{}),Ne=(e=>(e.OPENVINO_BASE="OPENVINO_BASE",e.OPENVINO_GENAI="OPENVINO_GENAI",e))(Ne||{});const tv={title:"Windows"},nv={title:"macOS"},rv={title:"Linux"};var A=(e=>(e.PIP="PIP",e.ARCHIVE="ARCHIVE",e.GITHUB="GITHUB",e.GITEE="GITEE",e.DOCKER="DOCKER",e.APT="APT",e.YUM="YUM",e.CONDA="CONDA",e.BREW="BREW",e.VCPKG="VCPKG",e.CONAN="CONAN",e.NPM="NPM",e.ZYPPER="ZYPPER",e.SNAP="SNAP",e))(A||{}),Me=(e=>(e.CAFFE="CAFFE",e.PYTORCH="PYTORCH",e.TENSORFLOW_1="TENSORFLOW_1",e.TENSORFLOW_2="TENSORFLOW_2",e.ONNX="ONNX",e.KALDI="KALDI",e.MXNET="MXNET",e))(Me||{});class Ie{constructor(t,n=[]){Ve(this,"level");Ve(this,"key");Ve(this,"metadata");Ve(this,"children",[]);Ve(this,"isDefault",!1);Ve(this,"checked",!1);Ve(this,"childrenSelector");this.level=t.level,this.key=t.key,this.metadata=t.metadata,this.children=n,this.childrenSelector=t.childrenSelector}default(){return this.isDefault=!0,this.checked=!0,this}toOption(){return{level:this.level,key:this.key,metadata:this.metadata,checked:this.checked,hasFootnote:!1}}}const iv=ev("distributions");var te=(e=>(e[e.UBUNTU_18=0]="UBUNTU_18",e[e.UBUNTU_20=1]="UBUNTU_20",e[e.UBUNTU_22=2]="UBUNTU_22",e[e.UBUNTU_24=3]="UBUNTU_24",e))(te||{});class De extends Ie{constructor(n,r=[]){super(n,r);Ve(this,"footnoteLevel",null)}toOption(){return{...super.toOption(),key:this.key,data:this.data}}addFootnote(n){return this.footnoteLevel=n,this}includesNPUPlugin(){const n=iv("includesNPUPlugin");return this.metadata.subtitle?this.metadata.subtitle=[n,this.metadata.subtitle].join(`+`):this.metadata.subtitle=n,this}}class ca extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.APT,metadata:{title:"APT"}}),this._data=t}get data(){return{...this._data,commands:cv}}cApiOnly(){return this.metadata.subtitle=Z("distributions.CAPIOnly"),this}}const dl="GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB",nc=`https://apt.repos.intel.com/intel-gpg-keys/${dl}`,ov={[te.UBUNTU_24]:24,[te.UBUNTU_22]:22,[te.UBUNTU_20]:20,[te.UBUNTU_18]:18},sv={alias:{[te.UBUNTU_24]:"noble",[te.UBUNTU_22]:"jammy",[te.UBUNTU_20]:"focal",[te.UBUNTU_18]:"bionic"},numberName:{[te.UBUNTU_24]:"ubuntu24",[te.UBUNTU_22]:"ubuntu22",[te.UBUNTU_20]:"ubuntu20",[te.UBUNTU_18]:"ubuntu18"}},lv=new Set([Ut.v_2022_3_2]),av=(e,t)=>{const n=lv.has(e.key)?"alias":"numberName";return sv[n][t]},uv=(e,t)=>{const n=av(e,t);return`echo "deb https://apt.repos.intel.com/openvino/${e.metadata.aptYear} ${n} main" | sudo tee /etc/apt/sources.list.d/intel-openvino-${e.metadata.aptYear}.list`},cv={keyFilename:dl,keyHref:nc,downloadKeyCommand:`wget ${nc}`,addKeyCommand:`sudo apt-key add ${dl}`,getAddRepositoryCommands:(e,t)=>t.map(n=>({ubuntuVersionNumber:ov[n],command:uv(e,n)})),updatePackagesCommand:"sudo apt update",verifyAptCacheCommand:"apt-cache search openvino",getInstallCommand:e=>`sudo apt install openvino-${e.metadata.aptVersion}`};class fe extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.ARCHIVE,metadata:{title:Z("distributions.openVINOArchives")}}),this.data=t}}class Af extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.BREW,metadata:{title:"Homebrew"}}),this._data=t}get data(){return{...this._data,commands:dv}}}const dv={install:"brew install openvino"};class ar extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.CONAN,metadata:{title:"Conan"}}),this._data=t}get data(){return{...this._data,commands:pv}}}const rc="conanfile.txt",ic="conan_toolchain.cmake",fv=e=>`[requires]+openvino/${e.metadata.conanVersion}+[generators]+CMakeDeps+CMakeToolchain+[layout]+cmake_layout`,pv={conanTXTContent:fv,txtFilename:rc,cmakeFilename:ic,install:`conan install ${rc} --build=missing`,compile:`cmake -DCMAKE_TOOLCHAIN_FILE=<path to ${ic}> -DCMAKE_BUILD_TYPE=Release -S <path to CMakeLists.txt of your project> -B <build dir>+cmake --build <build dir> --parallel`};class ur extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.CONDA,metadata:{title:"Conda"}}),this._data=t}get data(){return{...this._data,commands:hv}}}const hv={createEnv:"conda create --name py310 python=3.10",activateEnv:"conda activate py310",update:"conda update --all",getInstall:({metadata:e})=>`conda install -c conda-forge openvino=${e.condaVersion}`};class zt extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.DOCKER,metadata:{title:"Docker"}}),this.data=t}}class re extends De{constructor(){super({level:j.DISTRIBUTION,key:A.GITEE,metadata:{title:"Gitee",subtitle:Z("distributions.source")}})}get data(){return{commands:mv,links:gv}}}const mv={getCloneCommand(e,t){return e.key===Ne.OPENVINO_BASE?`git clone -b ${t.metadata.giteeVersion} https://gitee.com/openvinotoolkit-prc/openvino.git`:`git clone -b ${t.metadata.genaiGitVersion} --recursive https://gitee.com/openvinotoolkit-prc/openvino.genai.git`}},gv={getBuildInstructionsLink:(e,t)=>e.key===Ne.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/blob/${t.metadata.giteeVersion}/docs/dev/build.md`:`https://github.com/openvinotoolkit/openvino.genai/blob/${t.metadata.genaiGitVersion}/src/docs/BUILD.md`,getRepositoryLink:(e,t)=>e.key===Ne.OPENVINO_BASE?`https://gitee.com/openvinotoolkit-prc/openvino/tree/${t.metadata.giteeVersion}`:`https://gitee.com/openvinotoolkit-prc/openvino.genai/tree/${t.metadata.genaiGitVersion}`};class ie extends De{constructor(){super({level:j.DISTRIBUTION,key:A.GITHUB,metadata:{title:"GitHub",subtitle:Z("distributions.source")}})}get data(){return{commands:vv,links:yv}}}const vv={getCloneCommand(e,t){return e.key===Ne.OPENVINO_BASE?`git clone -b ${t.metadata.githubVersion} https://github.com/openvinotoolkit/openvino.git`:`git clone -b ${t.metadata.genaiGitVersion} --recursive https://github.com/openvinotoolkit/openvino.genai.git`}},yv={getBuildInstructionsLink:(e,t)=>e.key===Ne.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/blob/${t.metadata.githubVersion}/docs/dev/build.md`:`https://github.com/openvinotoolkit/openvino.genai/blob/${t.metadata.genaiGitVersion}/src/docs/BUILD.md`,getRepositoryLink:(e,t)=>e.key===Ne.OPENVINO_BASE?`https://github.com/openvinotoolkit/openvino/tree/${t.metadata.githubVersion}`:`https://github.com/openvinotoolkit/openvino.genai/tree/${t.metadata.genaiGitVersion}`};class da extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.NPM,metadata:{title:"npm",subtitle:Z("distributions.jsAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:wv}}}const wv={getInstall:({metadata:e})=>`npm install openvino-node@${e.npmVersion}`},kv=(e,t)=>{e.forEach(n=>{n.key===Me.TENSORFLOW_1&&n.checked&&t===Me.TENSORFLOW_2||n.key===Me.TENSORFLOW_2&&n.checked&&t===Me.TENSORFLOW_1?n.checked=!1:t===n.key&&(n.checked=!n.checked)})},Ff=(e,t)=>{e.forEach(n=>{n.checked=n.key===t,n.key===A.PIP&&n.checked&&n.children.forEach(r=>r.checked=r.isDefault)})},Sv=()=>[new Ie({level:j.FRAMEWORK,key:Me.CAFFE,metadata:{title:"Caffe",pipKey:"caffe"}}),new Ie({level:j.FRAMEWORK,key:Me.KALDI,metadata:{title:"Kaldi",pipKey:"kaldi"}}),new Ie({level:j.FRAMEWORK,key:Me.MXNET,metadata:{title:"Apache MXNet",pipKey:"mxnet"}}),new Ie({level:j.FRAMEWORK,key:Me.ONNX,metadata:{title:"Open Neural Network Exchange (ONNX)",pipKey:"ONNX"}}),new Ie({level:j.FRAMEWORK,key:Me.PYTORCH,metadata:{title:"PyTorch",pipKey:"pytorch"}}),new Ie({level:j.FRAMEWORK,key:Me.TENSORFLOW_1,metadata:{title:"TensorFlow 1.x",pipKey:"tensorflow"}}),new Ie({level:j.FRAMEWORK,key:Me.TENSORFLOW_2,metadata:{title:"TensorFlow 2.x",pipKey:"tensorflow2"}})];class ee extends De{constructor(t,{hasFrameworks:n,pythonAPI:r}={}){super({level:j.DISTRIBUTION,key:A.PIP,metadata:{title:"PIP",subtitle:r?Z("distributions.pythonAPIOnly"):void 0},childrenSelector:kv},n?Sv():[]),this._data=t}get data(){return{...this._data,commands:Nv,frameworks:this.children.filter(({checked:t})=>t).map(t=>t.toOption())}}}function Df(e){return e.key===Ut.NIGHTLY?"openvino_nightly_env":"openvino_env"}function xv(e,t){const n=Df(t);return e.key===Je.WINDOWS?`python -m venv ${n}`:`python3 -m venv ${n}`}function Ov(e,t){const n=Df(t);return e.key===Je.WINDOWS?`${n}\\Scripts\\activate`:`source ${n}/bin/activate`}function _v({ovPackage:e,environment:t,os:n,version:r,distribution:i}){const o=i.data.frameworks.map(u=>u.metadata.pipKey),s=o.length?`[${o.join(",")}]`:"",l=(t==null?void 0:t.key)===ri.DEV_TOOLS?"openvino-dev":e.key===Ne.OPENVINO_GENAI?"openvino-genai":"openvino";if(r.key===Ut.NIGHTLY)return`pip install --pre -U ${l} --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly`;let a=`${l}${s}==${r.metadata.pipVersion}`;return n.key===Je.MACOS&&(a=`'${a}'`),`pip install ${a}`}const Nv={getCreateVenvCommand:xv,getActivateVenvCommand:Ov,upgradeCommand:"python -m pip install --upgrade pip",getInstallCommand:_v};class Pv extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.SNAP,metadata:{title:"Snap",subtitle:Z("distributions.CAPIOnly")}}),this.data=t}}class fa extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.VCPKG,metadata:{title:"vcpkg",subtitle:Z("distributions.source")}}),this._data=t}get data(){return{...this._data,commands:Ev}}}const Ev={install:"vcpkg install openvino"};class pa extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.YUM,metadata:{title:"YUM",subtitle:Z("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Cv}}}const oc="/etc/yum.repos.d",Cv={directory:oc,getCreateRepoCommand:e=>`tee > /tmp/openvino-${e.metadata.yumYear}.repo << EOF+[OpenVINO]+name=Intel(R) Distribution of OpenVINO ${e.metadata.yumYear}+baseurl=https://yum.repos.intel.com/openvino/${e.metadata.yumYear}+enabled=1+gpgcheck=1+repo_gpgcheck=1+gpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB+EOF`,getMoveRepoFileCommand:e=>`sudo mv /tmp/openvino-${e.metadata.yumYear}.repo ${oc}`,verifyRepoCommand:"yum repolist | grep -i openvino",getInstallCommand:e=>`sudo yum install openvino-${e.metadata.yumVersion}`};class jv extends De{constructor(t){super({level:j.DISTRIBUTION,key:A.ZYPPER,metadata:{title:"ZYPPER",subtitle:Z("distributions.CAPIOnly")}}),this._data=t}get data(){return{...this._data,commands:Iv}}}const Iv={addRepo:"sudo zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Tumbleweed/science.repo",refresh:"sudo zypper refresh",getInstallCommand:({metadata:e})=>`sudo zypper install openvino-devel-${e.zypperVersion} openvino-sample-${e.zypperVersion}`};class Uf extends Ie{constructor(t,n,r){super({level:j.PACKAGE,key:t,metadata:n,childrenSelector:Ff},r),this._setDefaultPackage()}_setDefaultPackage(){const t=Ne.OPENVINO_BASE;this.key===t&&this.default()}}class Rv extends Uf{constructor(t){super(Ne.OPENVINO_BASE,{title:Z("package.base.title"),subtitle:Z("package.base.subtitle")},t)}}class Tv extends Uf{constructor(t){super(Ne.OPENVINO_GENAI,{title:Z("package.genai.title"),subtitle:Z("package.genai.subtitle")},t)}}class jo extends Ie{constructor(t,n,r){super({level:j.VERSION,key:t,metadata:n},r)}}const Lv={title:Z("versions.titles.nightlyBuild"),pipVersion:"",githubVersion:"master",giteeVersion:"master",genaiGitVersion:"master",systemRequirementsLink:"https://docs.openvino.ai/nightly/about-openvino/release-notes-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/nightly/get-started.html",troubleshootingLink:"https://docs.openvino.ai/nightly/get-started/troubleshooting-install-config.html"};class zf extends jo{constructor(t){super(Ut.NIGHTLY,Lv,t)}}const Av={title:"2024.5",subtitle:Z("versions.titles.recommended"),pipVersion:"2024.5.0",githubVersion:"2024.5.0",giteeVersion:"2024.5.0",genaiGitVersion:"releases/2024/5",aptYear:2024,aptVersion:"2024.5.0",yumYear:2024,yumVersion:"2024.5.0",condaVersion:"2024.5.0",conanVersion:"2024.5.0",npmVersion:"2024.5.0",zypperVersion:"2024.5.0",systemRequirementsLink:"https://docs.openvino.ai/2024/about-openvino/system-requirements.html",getStartedLink:"https://docs.openvino.ai/2024/get-started.html",troubleshootingLink:"https://docs.openvino.ai/2024/get-started/troubleshooting-install-config.html"};class Vf extends jo{constructor(t){super(Ut.v_2024_5_0,Av,t)}}const Fv={title:`2023.3 ${Z("versions.titles.LTS")}`,pipVersion:"2023.3.0",githubVersion:"2023.3.0",giteeVersion:"2023.3.0",aptYear:2023,aptVersion:"2023.3.0",yumYear:2023,yumVersion:"2023.3.0",condaVersion:"2023.3.0",conanVersion:"2023.3.0",systemRequirementsLink:"https://docs.openvino.ai/2023.3/system_requirements.html",getStartedLink:"https://docs.openvino.ai/2023.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2023.3/openvino_docs_get_started_guide_troubleshooting.html"};class Dv extends jo{constructor(t){super(Ut.v_2023_3_0,Fv,t)}}const Uv={title:`2022.3.2 ${Z("versions.titles.LTS")}`,subtitle:Z("versions.titles.hddlSupport"),pipVersion:"2022.3.2",githubVersion:"2022.3.2",giteeVersion:"2022.3.2",aptYear:2022,aptVersion:"2022.3.2",yumYear:2022,yumVersion:"2022.3.2",systemRequirementsLink:"https://docs.openvino.ai/systemrequirements",getStartedLink:"https://docs.openvino.ai/2022.3/get_started.html",troubleshootingLink:"https://docs.openvino.ai/2022.3/openvino_docs_get_started_guide_troubleshooting_steps.html"};class bf extends jo{constructor(t){super(Ut.v_2022_3_2,Uv,t)}}class ha extends Ie{constructor(t,n,r){super({level:j.OP_SYSTEM,key:t,metadata:n,childrenSelector:Ff},r),this._setDefaultOS()}_setDefaultOS(){const t=this._detectOS()||Je.WINDOWS;this.key===t&&this.default()}_detectOS(){const{userAgent:t}=navigator,n={windows:/(Windows|Win)/g,macOS:/(Macintosh|Mac)/g,linux:/(Linux|X11)/g};return n.windows.test(t)?Je.WINDOWS:n.macOS.test(t)?Je.MACOS:n.linux.test(t)?Je.LINUX:null}}class On extends ha{constructor(t){super(Je.WINDOWS,tv,t)}}class _n extends ha{constructor(t){super(Je.MACOS,nv,t)}}class Nn extends ha{constructor(t){super(Je.LINUX,rv,t)}}const zv=new Nn([new ee({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new ie,new re]),Vv=new _n([new ee({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new ie,new re]),bv=new On([new ee({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/latest"}),new ie,new re]),Mv=new zf([bv,Vv,zv]);class $v extends Ie{constructor(t){super({level:j.ENVIRONMENT,key:ri.RUNTIME,metadata:{title:Z("environment.runtime.title"),subtitle:Z("environment.runtime.subtitle")}},t)}}class Bv extends Ie{constructor(t){super({level:j.ENVIRONMENT,key:ri.DEV_TOOLS,metadata:{title:Z("environment.devTools.title"),subtitle:Z("environment.devTools.subtitle")}},t)}}const Kv=new Nn([new ee({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),Hv=new _n([new ee({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).addFootnote(j.OP_SYSTEM).default(),new ie().addFootnote(j.OP_SYSTEM),new re().addFootnote(j.OP_SYSTEM)]),Wv=new On([new ee({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_install_dev_tools.html"},frameworks:[]},{hasFrameworks:!0}).default(),new ie,new re]),Gv=new Bv([Wv,Hv,Kv]),Yv=new Nn([new ee({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/linux"}),new ca({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[te.UBUNTU_18,te.UBUNTU_20]}),new pa({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_linux.html"})]),Qv=new _n([new ee({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).addFootnote(j.OP_SYSTEM).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/macos"}).addFootnote(j.OP_SYSTEM),new ie().addFootnote(j.OP_SYSTEM),new re().addFootnote(j.OP_SYSTEM)]),Xv=new On([new ee({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3.2/windows"}),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"},downloadLink:"https://docs.openvino.ai/2022.3/openvino_docs_install_guides_installing_openvino_docker_windows.html"})]),Jv=new $v([Xv,Qv,Yv]),Zv=new bf([Gv.default(),Jv]),qv=new Nn([new ee({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/linux"}).includesNPUPlugin(),new ca({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_apt.html"},os:[te.UBUNTU_18,te.UBUNTU_20,te.UBUNTU_22]}),new pa({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_yum.html"}}),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new ur({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new ar({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),ey=new _n([new ee({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/macos"}),new ie,new re,new ur({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new ar({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),ty=new On([new ee({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_from_archive_windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.3/windows"}).includesNPUPlugin(),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"},downloadLink:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_docker.html"}),new ur({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conda.html"}}),new ar({linksSet:{installation:"https://docs.openvino.ai/2023.3/openvino_docs_install_guides_installing_openvino_conan.html"}})]),ny=new Dv([ty,ey,qv]),ry=new Nn([new ee({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-linux.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.5/linux"}).includesNPUPlugin(),new ca({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-apt.html"},os:[te.UBUNTU_20,te.UBUNTU_22,te.UBUNTU_24]}),new pa({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-yum.html"}}),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new ur({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Af({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new fa({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new ar({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new da({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}}),new jv({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-zypper.html"}}),new Pv({linksSet:{installation:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"},downloadLink:"https://docs.openvino.ai/2024/openvino-workflow/deployment-locally/integrate-openvino-with-ubuntu-snap.html"})]),iy=new _n([new ee({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-macos.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.5/macos"}),new ie,new re,new ur({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new Af({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-brew.html"}}),new fa({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new ar({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new da({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),oy=new On([new ee({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-pip.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-windows.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.5/windows"}).includesNPUPlugin(),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"}),new ur({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conda.html"}}),new fa({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-vcpkg.html"}}),new ar({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-conan.html"}}),new da({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-npm.html"}})]),sy=new Vf([oy,iy,ry]),ly=new Rv([sy.default(),Mv,ny,Zv]),ay=new Nn([new ee({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly/latest"}),new ie,new re]),uy=new _n([new ee({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly/latest"}),new ie,new re]),cy=new On([new ee({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#pypi-installation"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/nightly/get-started/install-openvino/install-openvino-genai.html#archive-installation"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/nightly/latest"}),new ie,new re]),dy=new zf([cy,uy,ay]),fy=new Nn([new ee({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.5/linux"}).includesNPUPlugin(),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"})]),py=new _n([new ee({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.5/macos"}),new ie,new re]),hy=new On([new ee({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},frameworks:[]},{pythonAPI:!0}).includesNPUPlugin().default(),new fe({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-genai.html"},downloadLink:"https://storage.openvinotoolkit.org/repositories/openvino_genai/packages/2024.5/windows"}).includesNPUPlugin(),new ie,new re,new zt({linksSet:{installation:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"},downloadLink:"https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-docker-linux.html"})]),my=new Vf([hy,py,fy]),gy=new Tv([my.default(),dy]),vy=new Ie({level:j.ROOT,key:Lf.ROOT,metadata:{title:"ROOT"}},[ly.default(),gy]).default();function yy(e,t){var i,o;if(t.key===A.DOCKER||!t.footnoteLevel)return e;const n=(i=e[t.footnoteLevel])==null?void 0:i.selected,r=(o=e[t.footnoteLevel])==null?void 0:o.nodes;return!n||!r||((Array.isArray(n)?[...n,...r]:[n]).forEach(s=>s.hasFootnote=!0),r.forEach(s=>s.checked&&(s.hasFootnote=!0))),e}class wy{constructor(){Ve(this,"_root",vy)}getState(){try{return this._getState()}catch(t){return console.error(t),this._selectDefaults(this._root),this._getState()}}_getState(){const t=this._root.children,n=this._get_selected(t),r=n.children,i=this._get_selected(r),{environments:o,environment:s,systems:l,system:a}=this._processVersion(i),u=a.children,p=this._get_selected(u),d=this._processDistribution(p),h={[j.PACKAGE]:{nodes:t.map(v=>v.toOption()),selected:n.toOption()},[j.VERSION]:{nodes:r.map(v=>v.toOption()),selected:i.toOption()},[j.ENVIRONMENT]:s&&o?{nodes:o.map(v=>v.toOption()),selected:s.toOption()}:null,[j.OP_SYSTEM]:{nodes:l.map(v=>v.toOption()),selected:a.toOption()},[j.DISTRIBUTION]:{nodes:u.map(v=>v.toOption()),selected:p.toOption()},[j.FRAMEWORK]:d!=null&&d.length?{nodes:d.map(v=>v.toOption()),selected:d.filter(({checked:v})=>v).map(v=>v.toOption())}:null};return yy(h,p)}_get_selected(t){t.some(({checked:r})=>r)||this._selectDefaultsForLevel(t[0].level);const n=t.find(({checked:r})=>r);if(!n)throw new Error("Not valid tree");return n}_processVersion(t){if(t instanceof bf){const i=t.children,o=this._get_selected(i),s=o.children,l=this._get_selected(s);return{environments:i,environment:o,systems:s,system:l}}const n=t.children,r=this._get_selected(n);return{environments:null,environment:null,systems:n,system:r}}_processDistribution(t){return t instanceof ee?t.children:null}setState(t){this._setState(t)}_setState(t,n=this._root){if(!n.children.length)return;const r=n.children[0].level,i=ky(t[r]);n.children.forEach(o=>o.checked=i.includes(o.key)),n.children.forEach(o=>this._setState(t,o))}select(t,n){return this._select(t,n),this.getState()}_select(t,n,r=this._root){var i;if(((i=r.children[0])==null?void 0:i.level)!==t){r.children.forEach(o=>this._select(t,n,o));return}if(r.childrenSelector){r.childrenSelector(r.children,n);return}r.children.forEach(o=>o.checked=o.key===n)}_selectDefaultsForLevel(t,n=this._root){if(n.children.length){if(n.children[0].level!==t){n.children.forEach(r=>this._selectDefaultsForLevel(t,r));return}this._selectDefaults(n)}}_selectDefaults(t){t.children.forEach(n=>{n.checked=n.isDefault,this._selectDefaults(n)})}}const Tn=new wy;function ky(e){const t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),t}function Mf(e,{serializeVersion:t}={serializeVersion:!0}){var i,o;const n=[[j.PACKAGE,e.PACKAGE.selected.key],[j.VERSION,t?e.VERSION.selected.key:null],[j.ENVIRONMENT,(i=e.ENVIRONMENT)==null?void 0:i.selected.key],[j.OP_SYSTEM,e.OP_SYSTEM.selected.key],[j.DISTRIBUTION,e.DISTRIBUTION.selected.key],[j.FRAMEWORK,(o=e.FRAMEWORK)==null?void 0:o.selected.map(s=>s.key).join(",")]],r=new URLSearchParams;for(const[s,l]of n)l&&r.set(s,l);return r}function $f(e){function t(r,i){const o=e.get(r);if(!o)throw new Error(`Cannot extract value for: ${r}`);if(!i[o])throw new Error(`Bad node key for: ${r}`);return i[o]}function n(r,i){const o=e.get(r);return o?o.split(",").map(l=>{if(!l||!i[l])throw new Error(`Bad node key for: ${r}`);return i[l]}):null}try{return{[j.PACKAGE]:t(j.PACKAGE,Ne),[j.VERSION]:e.has(j.VERSION)?t(j.VERSION,Ut):null,[j.ENVIRONMENT]:e.has(j.ENVIRONMENT)?t(j.ENVIRONMENT,ri):null,[j.OP_SYSTEM]:t(j.OP_SYSTEM,Je),[j.DISTRIBUTION]:t(j.DISTRIBUTION,A),[j.FRAMEWORK]:n(j.FRAMEWORK,Me)}}catch(r){return console.log(`Cannot restore state from url due to error "${r}"`),null}}function Sy(){const e=window.parent;if(!e.location.search)return null;const t=new URLSearchParams(e.location.search);return $f(t)}function xy(e,t,n,{serializeVersion:r}={serializeVersion:!0}){D.useEffect(()=>{const i=window.parent,o=Mf(t,{serializeVersion:r}).toString(),s=new URL(i.location.toString());if(!s.search){s.search=o,i.history.replaceState(null,"",s);return}s.search.slice(1)!==o&&(s.search=o,i.history.pushState(null,"",s))}),parent.onpopstate=()=>{const i=window.parent,o=new URLSearchParams(i.location.search),s=$f(o);s&&(e.setState(s),n(e.getState()))}}const us=function(e){let t,n=!1;return function(...r){return n||(t=e(r),n=!0),t}};function Oy(e){var t,n;return typeof((n=(t=e.wap_tms)==null?void 0:t.custom)==null?void 0:n.trackComponentClick)!="function"?null:e.wap_tms.custom.trackComponentClick.bind(e.wap_tms.custom)}class _y{constructor(){Ve(this,"_window");Ve(this,"_consoleNotification",{notInitialized:us(()=>console.log("Adobe analytics is not initialized")),notFound:us(()=>console.log("Adobe analytics not found on a page")),devMode:us(()=>console.log("Analytics in dev mode"))});Ve(this,"_send",t=>{if(!this._window){this._consoleNotification.notInitialized();return}const n=Mf(Tn.getState()).toString(),r=Oy(this._window);if(!r){this._consoleNotification.notFound();return}try{r(t,n)}catch(i){console.error(i)}})}initialize(t){this._window=t}install(){this._send("install")}combinationView(){this._send("combination-view")}}const Ge=new _y;function Ny(){const e=Sy();e&&Tn.setState(e);const t=D.createContext((r,i)=>{Tn.select(r,i)});function n(){const[r,i]=D.useState(Tn.getState());return xy(Tn,r,i),[r,(o,s)=>i(Tn.select(o,s))]}return{SelectorContext:t,useSelector:n}}async function Py(e){e&&(navigator.clipboard?await navigator.clipboard.writeText(e):Ey(e))}function Ey(e){const t=Cy(e);document.body.append(t),t.select(),document.execCommand("copy"),t.remove()}function Cy(e){const t=document.createElement("textarea");t.style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style.left="-9999px";const n=window.pageYOffset||document.documentElement.scrollTop;return t.style.top=`${n}px`,t.setAttribute("readonly",""),t.value=e,t}function jy(){return m.jsxs("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 205 205",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[m.jsx("path",{fill:"none",stroke:"currentColor",strokeWidth:"10",d:"M 50 145 a 15 15 0 0 1 -15 -15 v -90 a 15 15 0 0 1 15 -15 h 70 a 15 15 0 0 1 15 15 v 5"}),m.jsx("rect",{x:"65",y:"60",width:"100",height:"120",rx:"15",fill:"none",stroke:"currentColor",strokeWidth:"10"})]})}function Iy(){return m.jsx("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:m.jsx("path",{strokeLinejoin:"round",strokeLinecap:"round",fill:"none",stroke:"currentColor",strokeWidth:"15",d:"M 40 100 L 90 150 L 170 40"})})}function Ry(){return m.jsxs("svg",{version:"1.1",width:"24",height:"24",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",className:"svg-icon",children:[m.jsx("circle",{cx:"100",cy:"100",r:"90",fill:"none",strokeWidth:"15",stroke:"currentColor"}),m.jsx("path",{fill:"none",stroke:"currentColor",strokeWidth:"15",strokeLinecap:"round",d:"M 65 80 A 35 35 0 1 1 100 115"}),m.jsx("circle",{cx:"100",cy:"150",r:"3",fill:"none",stroke:"currentColor",strokeWidth:"15"})]})}const b=({comment:e,command:t,onCopy:n})=>{const[r,i]=D.useState(!1),o=async()=>{r||(await Py(t),i(!0),setTimeout(()=>i(!1),1500),n==null||n())};return m.jsxs("div",{className:"st-code-snippet","data-cy":"instructions-step",children:[e&&m.jsx(Bf,{children:e}),m.jsxs("div",{"data-cy":"command",children:[t&&m.jsx("code",{className:"st-code-snippet-content",children:t}),t&&m.jsx("button",{className:"copy-button",type:"button","aria-label":"Copy","data-cy":"copy",onClick:o,children:r?m.jsx(Iy,{}):m.jsx(jy,{})})]})]})},Bf=({children:e})=>m.jsxs("pre",{className:"st-code-snippet-comment",children:["# ",e]}),Ty=({comment:e,snippets:t})=>m.jsxs("div",{className:"st-code-snippet-multi-line","data-cy":"command",children:[e&&m.jsx(Bf,{children:e}),t.map(n=>m.jsx(b,{...n},n.command))]});function Ly(e){return e.host==="docs.openvino.ai"}const cs="production.docs.en",Kf=(cs==null?void 0:cs.includes("idz"))||!1,ds={link:"spark-hyperlink spark-hyperlink-primary spark-hyperlink-standard spark-focus-visible spark-focus-visible-self spark-focus-visible-snap spark-focus-visible-background",button:"spark-button spark-button-action spark-button-size-m spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",buttonContent:"spark-button-content"},Oe=({href:e,children:t,type:n="link",testId:r="link",onClick:i})=>{const o=!Kf&&Ly(new URL(e))?"_parent":"_blank";return n==="link"?m.jsx("a",{href:e,className:ds.link,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t}):m.jsx("span",{className:ds.button,children:m.jsx("span",{className:ds.buttonContent,children:m.jsx("a",{href:e,target:o,rel:"noreferrer noopener","data-cy":r,onClick:()=>i==null?void 0:i(),children:t})})})},Ay={heading:"spark-heading spark-font-200"},Ce=({title:e,accent:t=!1,dashed:n=!1,children:r,testId:i})=>m.jsxs("div",{className:`st-section ${t?"st-section-accent":""} ${n?"st-section-dashed":""}`,"data-cy":i,children:[m.jsx("span",{className:`st-section-title ${Ay.heading}`,children:e}),m.jsx("div",{className:"st-section-content",children:D.Children.map(r,o=>m.jsx(Fy,{children:o}))})]}),Fy=({children:e})=>m.jsx("div",{className:"st-section-content-row",children:e}),Dy=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.apt.steps"}),{t:r}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={comment:m.jsxs(z,{ns:"translation",i18nKey:"distributions.apt.steps.addRepository",children:[m.jsx("b",{children:"Step 3:"})," Add the repository via the following command"]}),snippets:i.getAddRepositoryCommands(e,t.data.os).map(({ubuntuVersionNumber:l,command:a})=>({comment:`Ubuntu ${l}`,command:a}))},s={downloadKey:{comment:m.jsxs(z,{t:n,i18nKey:"download",values:{filename:i.keyFilename},children:[m.jsx("b",{children:"Step 1:"})," Download the ",m.jsx(Oe,{href:i.keyHref,children:i.keyFilename}),". You can also use the following command"]}),command:i.downloadKeyCommand},addKey:{comment:m.jsxs(z,{t:n,i18nKey:"addKey",children:[m.jsx("b",{children:"Step 2:"})," Add this key to the system keyring"]}),command:i.addKeyCommand},addRepository:o,updatePackages:{comment:m.jsxs(z,{t:n,i18nKey:"updateList",children:[m.jsx("b",{children:"Step 4:"})," Update the list of packages via the update command"]}),command:i.updatePackagesCommand},verifyAptCache:{comment:m.jsxs(z,{t:n,i18nKey:"verify",children:[m.jsx("b",{children:"Step 5:"})," Verify that the APT repository is properly set up. Run the apt-cache command to see a list of all available OpenVINO packages and components"]}),command:i.verifyAptCacheCommand},install:{comment:m.jsxs(z,{t:n,i18nKey:"install",children:[m.jsx("b",{children:"Step 6:"})," Install OpenVINO Runtime"]}),command:i.getInstallCommand(e),onCopy:()=>Ge.install()}};return m.jsxs(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[m.jsx(b,{...s.downloadKey}),m.jsx(b,{...s.addKey}),m.jsx(Ty,{...s.addRepository}),m.jsx(b,{...s.updatePackages}),m.jsx(b,{...s.verifyAptCache}),m.jsx(b,{...s.install})]})},Uy=({distribution:e})=>{const{t}=$("translation",{keyPrefix:"distributions.brew.steps"}),{t:n}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:m.jsx(z,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ge.install()}};return m.jsx(Ce,{title:n("install"),accent:!0,testId:"instructions",children:m.jsx(b,{...i.install})})},zy=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.conan.steps"}),{t:r}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,{txtFilename:o,cmakeFilename:s}=i,l={createConanFile:{comment:m.jsxs(z,{t:n,i18nKey:"createConanFile",values:{txtFilename:o},children:[m.jsx("b",{children:"Step 1:"})," Create a ",m.jsx("b",{children:o})," file for your OpenVINO project and add “openvino” dependency in there"]}),command:i.conanTXTContent(e)},install:{comment:m.jsxs(z,{t:n,i18nKey:"install",values:{cmakeFilename:s},children:[m.jsx("b",{children:"Step 2:"})," Run the command below to create ",m.jsx("b",{children:s})," file, which will be used to compile your project with OpenVINO"]}),command:i.install,onCopy:()=>Ge.install()},compile:{comment:m.jsxs(z,{t:n,i18nKey:"compile",children:[m.jsx("b",{children:"Step 3:"})," Configure and compile your project with OpenVINO"]}),command:i.compile}};return m.jsxs(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[m.jsx(b,{...l.createConanFile}),m.jsx(b,{...l.install}),m.jsx(b,{...l.compile})]})},Vy=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.conda.steps"}),{t:r}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={createEnv:{comment:m.jsxs(z,{t:n,i18nKey:"createEnv",children:[m.jsx("b",{children:"Step 1:"})," Create the Anaconda environment (Python 3.10 used as an example)"]}),command:i.createEnv},activateEnv:{comment:m.jsxs(z,{t:n,i18nKey:"activateEnv",children:[m.jsx("b",{children:"Step 2:"})," Activate the Anaconda environment"]}),command:i.activateEnv},upgradePip:{comment:m.jsxs(z,{t:n,i18nKey:"update",children:[m.jsx("b",{children:"Step 3:"})," Update the Anaconda to latest version"]}),command:i.update},install:{comment:m.jsxs(z,{t:n,i18nKey:"install",children:[m.jsx("b",{children:"Step 4:"})," Download and install the package"]}),command:i.getInstall(e),onCopy:()=>Ge.install()}};return m.jsxs(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[m.jsx(b,{...o.createEnv}),m.jsx(b,{...o.activateEnv}),m.jsx(b,{...o.upgradePip}),m.jsx(b,{...o.install})]})},fs=({ovPackage:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.download"}),{t:r}=$("translation",{keyPrefix:"selectorForm.titles"}),i={[A.ARCHIVE]:e.key===Ne.OPENVINO_BASE?n("downloadArchives"):n("downloadArchivesGenAI"),[A.DOCKER]:n("gotoDocker"),[A.SNAP]:n("gotoInstallInstruction")}[t.key],o=m.jsxs(m.Fragment,{children:[n("useFollowingLink"),m.jsx("br",{}),m.jsx("b",{children:m.jsx(Oe,{href:t.data.downloadLink,testId:"download-button",onClick:()=>Ge.install(),children:i})})]});return m.jsx(Ce,{title:r("install"),accent:!0,testId:"instructions",children:m.jsx(b,{comment:o})})},by=({ovPackage:e,version:t,distribution:n})=>{const{t:r}=$("translation",{keyPrefix:"distributions.githubGitee"}),{t:i}=$("translation",{keyPrefix:"selectorForm.titles"}),o={clone:{comment:m.jsxs(z,{t:r,i18nKey:"steps.useGitClone",children:[m.jsx("b",{children:"Step 1:"})," Use Git to clone the OpenVINO toolkit repository"]}),command:n.data.commands.getCloneCommand(e,t),onCopy:()=>Ge.install()},build:{comment:m.jsxs(z,{t:r,i18nKey:"steps.buildInstructions",children:[m.jsx("b",{children:"Step 2:"})," Follow the ",m.jsx(Oe,{href:n.data.links.getBuildInstructionsLink(e,t),testId:"build-instructions-link",children:"instructions to build from source"})]})}};return m.jsxs(Ce,{title:i("install"),accent:!0,testId:"instructions",children:[m.jsx(b,{...o.clone}),m.jsx(b,{...o.build})]})},My=({distribution:e,version:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.npm.steps"}),{t:r}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=e.data,o={install:{comment:m.jsx(z,{t:n,i18nKey:"install",children:"Download and install the package"}),command:i.getInstall(t),onCopy:()=>Ge.install()}};return m.jsx(Ce,{title:r("install"),accent:!0,testId:"instructions",children:m.jsx(b,{...o.install})})},$y=({ovPackage:e,environment:t,os:n,version:r,distribution:i})=>{const{t:o}=$("translation",{keyPrefix:"distributions.pip.steps"}),{t:s}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:l}=i.data,a=l.getCreateVenvCommand(n,r),u=l.getActivateVenvCommand(n,r),p=l.getInstallCommand({ovPackage:e,environment:t,os:n,version:r,distribution:i}),d={createEnv:{comment:m.jsxs(z,{t:o,i18nKey:"createVenv",children:[m.jsx("b",{children:"Step 1:"})," Create virtual environment"]}),command:a},activateEnv:{comment:m.jsxs(z,{t:o,i18nKey:"activateVenv",children:[m.jsx("b",{children:"Step 2:"})," Activate virtual environment"]}),command:u},upgradePip:{comment:m.jsxs(z,{t:o,i18nKey:"upgradePip",children:[m.jsx("b",{children:"Step 3:"})," Upgrade pip to latest version"]}),command:l.upgradeCommand},install:{comment:m.jsxs(z,{t:o,i18nKey:"install",children:[m.jsx("b",{children:"Step 4:"})," Download and install the package"]}),command:p,onCopy:()=>Ge.install()}};return m.jsxs(Ce,{title:s("install"),accent:!0,testId:"instructions",children:[m.jsx(b,{...d.createEnv}),m.jsx(b,{...d.activateEnv}),m.jsx(b,{...d.upgradePip}),m.jsx(b,{...d.install})]})},By=({distribution:e})=>{const{t}=$("translation",{keyPrefix:"distributions.vcpkg.steps"}),{t:n}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:r}=e.data,i={install:{comment:m.jsx(z,{t,i18nKey:"install",children:"Download and install the package"}),command:r.install,onCopy:()=>Ge.install()}};return m.jsx(Ce,{title:n("install"),accent:!0,testId:"instructions",children:m.jsx(b,{...i.install})})},Ky=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.yum.steps"}),{t:r}=$("translation",{keyPrefix:"selectorForm.titles"}),{yumYear:i}=e.metadata,{commands:o}=t.data,s={createRepo:{comment:m.jsxs(z,{t:n,i18nKey:"createRepoFile",children:[m.jsx("b",{children:"Step 1:"})," Create the YUM repo file in the /tmp directory as a normal user"]}),command:o.getCreateRepoCommand(e)},moveRepoFile:{comment:m.jsxs(z,{t:n,i18nKey:"moveFile",values:{year:i,directory:o.directory},children:[m.jsx("b",{children:"Step 2:"})," Move the new openvino-",{year:i},".repo file to the YUM configuration directory ",m.jsx("b",{children:o.directory})]}),command:o.getMoveRepoFileCommand(e)},verifyRepo:{comment:m.jsxs(z,{t:n,i18nKey:"verify",children:[m.jsx("b",{children:"Step 3:"})," Verify that the new repo is properly setup by running the following command"]}),command:o.verifyRepoCommand},install:{comment:m.jsxs(z,{t:n,i18nKey:"install",children:[m.jsx("b",{children:"Step 4:"})," Install OpenVINO Runtime"]}),command:o.getInstallCommand(e),onCopy:()=>Ge.install()}};return m.jsxs(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[m.jsx(b,{...s.createRepo}),m.jsx(b,{...s.moveRepoFile}),m.jsx(b,{...s.verifyRepo}),m.jsx(b,{...s.install})]})},Hy=({version:e,distribution:t})=>{const{t:n}=$("translation",{keyPrefix:"distributions.zypper.steps"}),{t:r}=$("translation",{keyPrefix:"selectorForm.titles"}),{commands:i}=t.data,o={addRepo:{comment:m.jsxs(z,{t:n,i18nKey:"addRepo",children:[m.jsx("b",{children:"Step 1:"})," Create a ZYPPER repository file with the command below"]}),command:i.addRepo},refresh:{comment:m.jsxs(z,{t:n,i18nKey:"refresh",children:[m.jsx("b",{children:"Step 2:"})," Refresh repositories"]}),command:i.refresh},install:{comment:m.jsxs(z,{t:n,i18nKey:"install",children:[m.jsx("b",{children:"Step 3:"})," Install OpenVINO"]}),command:i.getInstallCommand(e),onCopy:()=>Ge.install()}};return m.jsxs(Ce,{title:r("install"),accent:!0,testId:"instructions",children:[m.jsx(b,{...o.addRepo}),m.jsx(b,{...o.refresh}),m.jsx(b,{...o.install})]})},Wy=({state:e})=>{var r;const t={ovPackage:e.PACKAGE.selected,environment:(r=e.ENVIRONMENT)==null?void 0:r.selected,os:e.OP_SYSTEM.selected,version:e.VERSION.selected,distribution:e.DISTRIBUTION.selected};if(t.distribution.key===A.PIP)return m.jsx($y,{...t,distribution:t.distribution});if(t.distribution.key===A.ARCHIVE)return m.jsx(fs,{...t,distribution:t.distribution});if(t.distribution.key===A.DOCKER)return m.jsx(fs,{...t,distribution:t.distribution});if(t.distribution.key===A.GITHUB||t.distribution.key===A.GITEE)return m.jsx(by,{...t,distribution:t.distribution});if(t.distribution.key===A.APT)return m.jsx(Dy,{...t,distribution:t.distribution});if(t.distribution.key===A.YUM)return m.jsx(Ky,{...t,distribution:t.distribution});if(t.distribution.key===A.CONDA)return m.jsx(Vy,{...t,distribution:t.distribution});if(t.distribution.key===A.BREW)return m.jsx(Uy,{...t,distribution:t.distribution});if(t.distribution.key===A.VCPKG)return m.jsx(By,{...t,distribution:t.distribution});if(t.distribution.key===A.CONAN)return m.jsx(zy,{...t,distribution:t.distribution});if(t.distribution.key===A.NPM)return m.jsx(My,{...t,distribution:t.distribution});if(t.distribution.key===A.ZYPPER)return m.jsx(Hy,{...t,distribution:t.distribution});if(t.distribution.key===A.SNAP)return m.jsx(fs,{...t,distribution:t.distribution});const n=t.distribution;throw new Error(`${n}`)};function Gy(){const{t:e}=$("common",{keyPrefix:"relatedTools"}),{t}=$("translation");return m.jsx(Ce,{title:t("selectorForm.titles.relatedTools"),testId:"relatedTools",accent:!0,dashed:!0,children:m.jsxs("div",{className:"st-related-tools-links",children:[m.jsx(Oe,{href:"https://github.com/openvinotoolkit/openvino_notebooks",testId:"notebooks-link",children:e("OpenVINONotebooks")}),m.jsx(Oe,{href:"https://huggingface.co/docs/optimum/main/intel/openvino/inference",testId:"hf_optimum-link",children:"Hugging Face + Optimum Intel"}),m.jsx("div",{children:m.jsxs(z,{t:e,i18nKey:"tokenizers",children:[m.jsx(Oe,{href:"https://docs.openvino.ai/2024/learn-openvino/llm_inference_guide/ov-tokenizers.html",testId:"openvino_tokenizers-link",children:"OpenVINO Tokenizers"}),"to streamline tokenizer conversion"]})}),m.jsx("div",{children:m.jsxs(z,{t:e,i18nKey:"nncf",children:[m.jsx(Oe,{href:"https://docs.openvino.ai/2024/openvino-workflow/model-optimization-guide/compressing-models-during-training.html",testId:"nncf-link",children:"NNCF"}),"for implementing compression algorithms on models"]})}),m.jsx("div",{children:m.jsxs(z,{t:e,i18nKey:"ovms",children:[m.jsx(Oe,{href:"https://docs.openvino.ai/2024/ovms_what_is_openvino_model_server.html",testId:"ovms-link",children:"OVMS"}),"for serving models optimized for deployment"]})})]})})}function Yy({state:e}){const t=e.PACKAGE.selected,n=e.DISTRIBUTION.selected,r=e.VERSION.selected,{t:i}=$("translation",{keyPrefix:"selectorForm.titles"}),{t:o}=$("common",{keyPrefix:"resources"});let s=m.jsx(m.Fragment,{});if(A.GITHUB===n.key||A.GITEE===n.key){const l=n.key===A.GITHUB?t.key===Ne.OPENVINO_BASE?o("githubRepository"):o("githubGenAIRepository"):t.key===Ne.OPENVINO_BASE?o("giteeRepository"):o("giteeGenAIRepository");s=m.jsxs(m.Fragment,{children:[m.jsx(Oe,{href:n.data.links.getBuildInstructionsLink(t,r),testId:"install-instructions-link",children:o("installationInstructions")}),m.jsx(Oe,{href:n.data.links.getRepositoryLink(t,r),testId:"repository-link",children:l})]})}else s=m.jsx(Oe,{href:n.data.linksSet.installation,testId:"install-instructions-link",children:o("installationInstructions")});return m.jsx(Ce,{title:i("resources"),testId:"resources",accent:!0,children:m.jsxs("div",{className:"st-resources-links",children:[m.jsxs("div",{children:[s,m.jsx(Oe,{href:"https://github.com/openvinotoolkit/openvino/releases",testId:"previous-releases-link",children:o("prevReleases")}),m.jsx(Oe,{href:r.metadata.systemRequirementsLink,testId:"system-requirements-link",children:o("systemRequirements")})]}),m.jsxs("div",{children:[m.jsx(Oe,{href:r.metadata.getStartedLink,testId:"get-started-link",children:o("getStarted")}),m.jsx(Oe,{href:r.metadata.troubleshootingLink,testId:"troubleshooting-link",children:o("troubleshooting")})]})]})})}const Oi={tooltipToggle:"spark-tooltip-toggle",tooltipPopover:"spark-tooltip spark-tooltip-size-m spark-shadow spark-tooltip-bottom",tooltipLabel:"spark-tooltip-label",tooltipArrow:"spark-tooltip-tip"},Qy=({content:e})=>{const[t,n]=D.useState(!1);return m.jsx("div",{className:"help-tooltip",children:m.jsxs("div",{className:Oi.tooltipToggle,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[m.jsx("div",{"aria-hidden":"true",role:"img",className:"help-tooltip-icon",children:m.jsx(Ry,{})}),t&&m.jsxs("div",{className:`help-tooltip-popover ${Oi.tooltipPopover}`,role:"tooltip",children:[m.jsx("span",{className:`help-tooltip-popover-content ${Oi.tooltipLabel}`,children:e}),m.jsx("span",{className:Oi.tooltipArrow})]})]})})},ps={toggleSwitchField:"spark-fieldlabel spark-fieldlabel-size-m spark-toggle-switch spark-toggle-switch-action spark-toggle-switch-size-l",toggleSwitchInput:"spark-focus-visible spark-focus-visible-suppress spark-focus-visible-adjacent",toggleSwitchSelector:"spark-toggle-switch-selector spark-focus-visible spark-focus-visible-snap"},Xy=({label:e,checked:t=!1,onClick:n,testId:r})=>m.jsxs("label",{className:ps.toggleSwitchField,"data-cy":r,children:[m.jsx("input",{type:"checkbox",className:ps.toggleSwitchInput,role:"switch",checked:t,onChange:()=>n==null?void 0:n()}),m.jsx("span",{className:ps.toggleSwitchSelector}),m.jsx("div",{children:e})]}),cn={toggleButton:"spark-button spark-button-size-l spark-focus-visible spark-focus-visible-self spark-focus-visible-snap",toggleButtonGroup:"spark-button-group spark-button-group-orientation-horizontal spark-button-group-align-start spark-button-group-spacing-l",actionButton:"spark-button-action",secondaryButton:"spark-button-secondary",disabledButton:"spark-button-disabled",buttonContent:"spark-button-content",fontXs:"spark-font-25"},Hf=({onClick:e,checked:t=!1,disabled:n=!1,title:r,subtitle:i,value:o})=>m.jsx("button",{className:`${cn.toggleButton} ${t?cn.actionButton:cn.secondaryButton} ${n&&cn.disabledButton}`,type:"button",role:"radio","aria-checked":t,onClick:()=>e==null?void 0:e(),"data-cy":o,"aria-label":r,children:m.jsxs("span",{className:cn.buttonContent,children:[m.jsx("span",{className:"title",children:r}),i&&m.jsx("span",{className:`${cn.fontXs} subtitle`,children:i})]})}),Wf=({children:e,className:t})=>m.jsx("div",{className:`option-button-group ${t||""} ${cn.toggleButtonGroup}`,children:e});function Jy({title:e,options:t,level:n}){const r=D.useContext(ma),i=t.some(({checked:u})=>u),[o,s]=D.useState(i),l=t.map(({level:u,key:p,checked:d,metadata:h})=>m.jsx(Hf,{value:`${u}_${p}`,checked:d,title:h.title,onClick:()=>r(u,p)},p)),{t:a}=$("translation",{keyPrefix:"frameworks"});return m.jsxs(Ce,{title:e,testId:n,children:[m.jsxs(m.Fragment,{children:[m.jsx(Xy,{label:a("install"),checked:o,onClick:()=>s(!o),testId:"frameworks-toggle-switch"}),m.jsx(Qy,{content:a("tooltip")})]}),m.jsx(m.Fragment,{children:o&&m.jsx(Wf,{children:l})})]})}function wr({title:e,options:t,level:n}){const r=D.useContext(ma),i=t.map(({level:o,key:s,checked:l,metadata:a})=>m.jsx(Hf,{value:`${o}_${s}`,checked:l,title:a.title,subtitle:a.subtitle,onClick:()=>r(o,s)},s));return m.jsx(Ce,{title:e,testId:n,children:m.jsx(Wf,{children:i})})}function Zy({state:e}){var a,u;const t=e.PACKAGE.nodes,n=e.VERSION.nodes,r=(a=e.ENVIRONMENT)==null?void 0:a.nodes.map(p=>({...p,metadata:{...p.metadata,subtitle:void 0}})),i=e.OP_SYSTEM.nodes,o=e.DISTRIBUTION.nodes,s=(u=e.FRAMEWORK)==null?void 0:u.nodes;D.useEffect(()=>Ge.combinationView(),[e]);const{t:l}=$("translation",{keyPrefix:"selectorForm.titles"});return m.jsxs(m.Fragment,{children:[m.jsx(wr,{title:l("package"),options:t,level:j.PACKAGE}),m.jsx(wr,{title:l("version"),options:n,level:j.VERSION}),r&&m.jsx(wr,{title:l("envinronment"),options:r,level:j.ENVIRONMENT}),m.jsx(wr,{title:l("os"),options:i,level:j.OP_SYSTEM}),m.jsx(wr,{title:l("distribution"),options:o,level:j.DISTRIBUTION}),s&&m.jsx(Jy,{title:l("frameworks"),options:s,level:j.FRAMEWORK})]})}const{SelectorContext:ma,useSelector:qy}=Ny();Ge.initialize(window.parent);function e0(){const[e,t]=qy();return m.jsx("div",{className:`st-responsive-container ${Kf?"idz-page":""}`,children:m.jsxs(ma.Provider,{value:t,children:[m.jsx(Zy,{state:e}),m.jsx(Wy,{state:e}),m.jsx(Yy,{state:e}),m.jsx(Gy,{})]})})}vs.createRoot(document.getElementById("root")).render(m.jsx(cp.StrictMode,{children:m.jsx(e0,{})}));diff --git a/docs/sphinx_setup/_static/selector-tool/selector-8d4cf1d.html b/docs/sphinx_setup/_static/selector-tool/selector-451bede.htmlsimilarity index 66%rename from docs/sphinx_setup/_static/selector-tool/selector-8d4cf1d.htmlrename to docs/sphinx_setup/_static/selector-tool/selector-451bede.htmlindex 460b5c14848..c64aef27138 100644--- a/docs/sphinx_setup/_static/selector-tool/selector-8d4cf1d.html+++ b/docs/sphinx_setup/_static/selector-tool/selector-451bede.html@@ -1,7 +1,7 @@<!DOCTYPE html><html lang="en"><head>- <meta name="version" content="v_2024_4_0-8d4cf1d" />+ <meta name="version" content="v_2024_5_0-451bede" /><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><title>Download Intel® Distribution of OpenVINO™ Toolkit</title>@@ -9,11 +9,10 @@name="description"content="Download a version of the Intel® Distribution of OpenVINO™ toolkit for Linux, Windows, or macOS."/>- <script type="module" crossorigin src="./assets/selector-4f9c3c09.js"></script>- <link rel="stylesheet" href="./assets/selector-b0e2854e.css">+ <script type="module" crossorigin src="./assets/selector-Bu10eOtw.js"></script>+ <link rel="stylesheet" crossorigin href="./assets/selector-BC2lpCQ9.css"></head><body><div id="root"></div>-</body></html>