diff --git a/includes/templates/admin/quick-setup/dist/quick-setup.min.js b/includes/templates/admin/quick-setup/dist/quick-setup.min.js index 63e1b56da..7715e01ea 100644 --- a/includes/templates/admin/quick-setup/dist/quick-setup.min.js +++ b/includes/templates/admin/quick-setup/dist/quick-setup.min.js @@ -1,4 +1,4 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var iu={exports:{}},ol={},ou={exports:{}},F={};/** +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var iu={exports:{}},sl={},ou={exports:{}},F={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var qn=Symbol.for("react.element"),kc=Symbol.for("react.portal"),_c=Symbol.for("react.fragment"),Sc=Symbol.for("react.strict_mode"),Cc=Symbol.for("react.profiler"),Ec=Symbol.for("react.provider"),jc=Symbol.for("react.context"),Nc=Symbol.for("react.forward_ref"),Pc=Symbol.for("react.suspense"),Tc=Symbol.for("react.memo"),zc=Symbol.for("react.lazy"),Vo=Symbol.iterator;function Lc(e){return e===null||typeof e!="object"?null:(e=Vo&&e[Vo]||e["@@iterator"],typeof e=="function"?e:null)}var su={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},uu=Object.assign,au={};function an(e,t,n){this.props=e,this.context=t,this.refs=au,this.updater=n||su}an.prototype.isReactComponent={};an.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")};an.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cu(){}cu.prototype=an.prototype;function Qi(e,t,n){this.props=e,this.context=t,this.refs=au,this.updater=n||su}var Ki=Qi.prototype=new cu;Ki.constructor=Qi;uu(Ki,an.prototype);Ki.isPureReactComponent=!0;var Bo=Array.isArray,du=Object.prototype.hasOwnProperty,Yi={current:null},fu={key:!0,ref:!0,__self:!0,__source:!0};function pu(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)du.call(t,r)&&!fu.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,J=P[Q];if(0>>1;Ql(Cl,R))xtl(ir,Cl)?(P[Q]=ir,P[xt]=R,Q=xt):(P[Q]=Cl,P[wt]=R,Q=wt);else if(xtl(ir,R))P[Q]=ir,P[xt]=R,Q=xt;else break e}}return L}function l(P,L){var R=P.sortIndex-L.sortIndex;return R!==0?R:P.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],d=[],g=1,f=null,v=3,x=!1,k=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,p=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(P){for(var L=n(d);L!==null;){if(L.callback===null)r(d);else if(L.startTime<=P)r(d),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(d)}}function h(P){if(y=!1,m(P),!k)if(n(u)!==null)k=!0,_l(w);else{var L=n(d);L!==null&&Sl(h,L.startTime-P)}}function w(P,L){k=!1,y&&(y=!1,p(E),E=-1),x=!0;var R=v;try{for(m(L),f=n(u);f!==null&&(!(f.expirationTime>L)||P&&!re());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,v=f.priorityLevel;var J=Q(f.expirationTime<=L);L=e.unstable_now(),typeof J=="function"?f.callback=J:f===n(u)&&r(u),m(L)}else r(u);f=n(u)}if(f!==null)var lr=!0;else{var wt=n(d);wt!==null&&Sl(h,wt.startTime-L),lr=!1}return lr}finally{f=null,v=R,x=!1}}var _=!1,C=null,E=-1,O=5,z=-1;function re(){return!(e.unstable_now()-zP||125Q?(P.sortIndex=R,t(d,P),n(u)===null&&P===n(d)&&(y?(p(E),E=-1):y=!0,Sl(h,R-Q))):(P.sortIndex=J,t(u,P),k||x||(k=!0,_l(w))),P},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(P){var L=v;return function(){var R=v;v=L;try{return P.apply(this,arguments)}finally{v=R}}}})(yu);gu.exports=yu;var Bc=gu.exports;/** + */(function(e){function t(P,z){var R=P.length;P.push(z);e:for(;0>>1,J=P[Q];if(0>>1;Ql(Sl,R))_tl(or,Sl)?(P[Q]=or,P[_t]=R,Q=_t):(P[Q]=Sl,P[kt]=R,Q=kt);else if(_tl(or,R))P[Q]=or,P[_t]=R,Q=_t;else break e}}return z}function l(P,z){var R=P.sortIndex-z.sortIndex;return R!==0?R:P.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],c=[],g=1,p=null,v=3,x=!1,k=!1,y=!1,T=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=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(P){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=P)r(c),z.sortIndex=z.expirationTime,t(u,z);else break;z=n(c)}}function h(P){if(y=!1,m(P),!k)if(n(u)!==null)k=!0,pn(w);else{var z=n(c);z!==null&&xt(h,z.startTime-P)}}function w(P,z){k=!1,y&&(y=!1,f(E),E=-1),x=!0;var R=v;try{for(m(z),p=n(u);p!==null&&(!(p.expirationTime>z)||P&&!re());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,v=p.priorityLevel;var J=Q(p.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?p.callback=J:p===n(u)&&r(u),m(z)}else r(u);p=n(u)}if(p!==null)var ir=!0;else{var kt=n(c);kt!==null&&xt(h,kt.startTime-z),ir=!1}return ir}finally{p=null,v=R,x=!1}}var _=!1,C=null,E=-1,D=5,L=-1;function re(){return!(e.unstable_now()-LP||125Q?(P.sortIndex=R,t(c,P),n(u)===null&&P===n(c)&&(y?(f(E),E=-1):y=!0,xt(h,R-Q))):(P.sortIndex=J,t(u,P),k||x||(k=!0,pn(w))),P},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(P){var z=v;return function(){var R=v;v=z;try{return P.apply(this,arguments)}finally{v=R}}}})(yu);gu.exports=yu;var Bc=gu.exports;/** * @license React * react-dom.production.min.js * @@ -30,11 +30,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Wc=nt,xe=Bc;function S(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ql=Object.prototype.hasOwnProperty,Qc=/^[: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]*$/,Qo={},Ko={};function Kc(e){return ql.call(Ko,e)?!0:ql.call(Qo,e)?!1:Qc.test(e)?Ko[e]=!0:(Qo[e]=!0,!1)}function Yc(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 Xc(e,t,n,r){if(t===null||typeof t>"u"||Yc(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 de(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new de(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){ne[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gi=/[\-:]([a-z])/g;function Zi(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(Gi,Zi);ne[t]=new de(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(Gi,Zi);ne[t]=new de(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(Gi,Zi);ne[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ji(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jl=Object.prototype.hasOwnProperty,Qc=/^[: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]*$/,Qo={},Ko={};function Kc(e){return Jl.call(Ko,e)?!0:Jl.call(Qo,e)?!1:Qc.test(e)?Ko[e]=!0:(Qo[e]=!0,!1)}function Yc(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 Xc(e,t,n,r){if(t===null||typeof t>"u"||Yc(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 de(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new de(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){ne[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var Xi=/[\-:]([a-z])/g;function Gi(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(Xi,Gi);ne[t]=new de(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(Xi,Gi);ne[t]=new de(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(Xi,Gi);ne[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zi(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2s||l[o]!==i[s]){var u=` -`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?kn(e):""}function Gc(e){switch(e.tag){case 5:return kn(e.type);case 16:return kn("Lazy");case 13:return kn("Suspense");case 19:return kn("SuspenseList");case 0:case 2:case 15:return e=Pl(e.type,!1),e;case 11:return e=Pl(e.type.render,!1),e;case 1:return e=Pl(e.type,!0),e;default:return""}}function ni(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 At:return"Fragment";case Mt:return"Portal";case bl:return"Profiler";case qi:return"StrictMode";case ei:return"Suspense";case ti:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ku:return(e.displayName||"Context")+".Consumer";case xu:return(e._context.displayName||"Context")+".Provider";case bi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case eo:return t=e.displayName||null,t!==null?t:ni(e.type)||"Memo";case qe:t=e._payload,e=e._init;try{return ni(e(t))}catch{}}return null}function Zc(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 ni(t);case 8:return t===qi?"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 pt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Su(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Jc(e){var t=Su(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 l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ur(e){e._valueTracker||(e._valueTracker=Jc(e))}function Cu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Su(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ir(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 ri(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pt(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 Eu(e,t){t=t.checked,t!=null&&Ji(e,"checked",t,!1)}function li(e,t){Eu(e,t);var n=pt(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")?ii(e,t.type,n):t.hasOwnProperty("defaultValue")&&ii(e,t.type,pt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Go(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 ii(e,t,n){(t!=="number"||Ir(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _n=Array.isArray;function Gt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=ar.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function In(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var jn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qc=["Webkit","ms","Moz","O"];Object.keys(jn).forEach(function(e){qc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jn[t]=jn[e]})});function Tu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||jn.hasOwnProperty(e)&&jn[e]?(""+t).trim():t+"px"}function zu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Tu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var bc=B({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 ui(e,t){if(t){if(bc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function ai(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 ci=null;function to(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var di=null,Zt=null,Jt=null;function qo(e){if(e=tr(e)){if(typeof di!="function")throw Error(S(280));var t=e.stateNode;t&&(t=dl(t),di(e.stateNode,e.type,t))}}function Lu(e){Zt?Jt?Jt.push(e):Jt=[e]:Zt=e}function Ru(){if(Zt){var e=Zt,t=Jt;if(Jt=Zt=null,qo(e),t)for(e=0;e>>=0,e===0?32:31-(cd(e)/dd|0)|0}var cr=64,dr=4194304;function Sn(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 $r(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=Sn(s):(i&=o,i!==0&&(r=Sn(i)))}else o=n&~l,o!==0?r=Sn(o):i!==0&&(r=Sn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function bn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fe(t),e[t]=n}function hd(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=Pn),ss=" ",us=!1;function qu(e,t){switch(e){case"keyup":return Bd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ut=!1;function Qd(e,t){switch(e){case"compositionend":return bu(t);case"keypress":return t.which!==32?null:(us=!0,ss);case"textInput":return e=t.data,e===ss&&us?null:e;default:return null}}function Kd(e,t){if(Ut)return e==="compositionend"||!ao&&qu(e,t)?(e=Zu(),Nr=oo=rt=null,Ut=!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)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=fs(n)}}function ra(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ra(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function la(){for(var e=window,t=Ir();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ir(e.document)}return t}function co(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 tf(e){var t=la(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ra(n.ownerDocument.documentElement,n)){if(r!==null&&co(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 l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ps(n,i);var o=ps(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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=document.documentMode,$t=null,gi=null,zn=null,yi=!1;function ms(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yi||$t==null||$t!==Ir(r)||(r=$t,"selectionStart"in r&&co(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}),zn&&Vn(zn,r)||(zn=r,r=Br(gi,"onSelect"),0Bt||(e.current=Ci[Bt],Ci[Bt]=null,Bt--)}function M(e,t){Bt++,Ci[Bt]=e.current,e.current=t}var mt={},se=vt(mt),me=vt(!1),Pt=mt;function nn(e,t){var n=e.type.contextTypes;if(!n)return mt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Qr(){U(me),U(se)}function ks(e,t,n){if(se.current!==mt)throw Error(S(168));M(se,t),M(me,n)}function pa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,Zc(e)||"Unknown",l));return B({},n,r)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mt,Pt=se.current,M(se,e),M(me,me.current),!0}function _s(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=pa(e,t,Pt),r.__reactInternalMemoizedMergedChildContext=e,U(me),U(se),M(se,e)):U(me),M(me,n)}var Ve=null,fl=!1,Vl=!1;function ma(e){Ve===null?Ve=[e]:Ve.push(e)}function mf(e){fl=!0,ma(e)}function gt(){if(!Vl&&Ve!==null){Vl=!0;var e=0,t=I;try{var n=Ve;for(I=1;e>=o,l-=o,Be=1<<32-Fe(t)+l|n<E?(O=C,C=null):O=C.sibling;var z=v(p,C,m[E],h);if(z===null){C===null&&(C=O);break}e&&C&&z.alternate===null&&t(p,C),c=i(z,c,E),_===null?w=z:_.sibling=z,_=z,C=O}if(E===m.length)return n(p,C),$&&kt(p,E),w;if(C===null){for(;EE?(O=C,C=null):O=C.sibling;var re=v(p,C,z.value,h);if(re===null){C===null&&(C=O);break}e&&C&&re.alternate===null&&t(p,C),c=i(re,c,E),_===null?w=re:_.sibling=re,_=re,C=O}if(z.done)return n(p,C),$&&kt(p,E),w;if(C===null){for(;!z.done;E++,z=m.next())z=f(p,z.value,h),z!==null&&(c=i(z,c,E),_===null?w=z:_.sibling=z,_=z);return $&&kt(p,E),w}for(C=r(p,C);!z.done;E++,z=m.next())z=x(C,p,E,z.value,h),z!==null&&(e&&z.alternate!==null&&C.delete(z.key===null?E:z.key),c=i(z,c,E),_===null?w=z:_.sibling=z,_=z);return e&&C.forEach(function(yt){return t(p,yt)}),$&&kt(p,E),w}function T(p,c,m,h){if(typeof m=="object"&&m!==null&&m.type===At&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case sr:e:{for(var w=m.key,_=c;_!==null;){if(_.key===w){if(w=m.type,w===At){if(_.tag===7){n(p,_.sibling),c=l(_,m.props.children),c.return=p,p=c;break e}}else if(_.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===qe&&Es(w)===_.type){n(p,_.sibling),c=l(_,m.props),c.ref=yn(p,_,m),c.return=p,p=c;break e}n(p,_);break}else t(p,_);_=_.sibling}m.type===At?(c=Nt(m.props.children,p.mode,h,m.key),c.return=p,p=c):(h=Dr(m.type,m.key,m.props,null,p.mode,h),h.ref=yn(p,c,m),h.return=p,p=h)}return o(p);case Mt:e:{for(_=m.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===m.containerInfo&&c.stateNode.implementation===m.implementation){n(p,c.sibling),c=l(c,m.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=Zl(m,p.mode,h),c.return=p,p=c}return o(p);case qe:return _=m._init,T(p,c,_(m._payload),h)}if(_n(m))return k(p,c,m,h);if(pn(m))return y(p,c,m,h);yr(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,c!==null&&c.tag===6?(n(p,c.sibling),c=l(c,m),c.return=p,p=c):(n(p,c),c=Gl(m,p.mode,h),c.return=p,p=c),o(p)):n(p,c)}return T}var ln=ya(!0),wa=ya(!1),Gr=vt(null),Zr=null,Kt=null,ho=null;function vo(){ho=Kt=Zr=null}function go(e){var t=Gr.current;U(Gr),e._currentValue=t}function Ni(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 bt(e,t){Zr=e,ho=Kt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function Ne(e){var t=e._currentValue;if(ho!==e)if(e={context:e,memoizedValue:t,next:null},Kt===null){if(Zr===null)throw Error(S(308));Kt=e,Zr.dependencies={lanes:0,firstContext:e}}else Kt=Kt.next=e;return t}var Ct=null;function yo(e){Ct===null?Ct=[e]:Ct.push(e)}function xa(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,yo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Xe(e,r)}function Xe(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 be=!1;function wo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ka(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 Qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function at(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Xe(e,n)}return l=r.interleaved,l===null?(t.next=t,yo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Xe(e,n)}function Tr(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,ro(e,n)}}function js(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Jr(e,t,n,r){var l=e.updateQueue;be=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,d=u.next;u.next=null,o===null?i=d:o.next=d,o=u;var g=e.alternate;g!==null&&(g=g.updateQueue,s=g.lastBaseUpdate,s!==o&&(s===null?g.firstBaseUpdate=d:s.next=d,g.lastBaseUpdate=u))}if(i!==null){var f=l.baseState;o=0,g=d=u=null,s=i;do{var v=s.lane,x=s.eventTime;if((r&v)===v){g!==null&&(g=g.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var k=e,y=s;switch(v=t,x=n,y.tag){case 1:if(k=y.payload,typeof k=="function"){f=k.call(x,f,v);break e}f=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=y.payload,v=typeof k=="function"?k.call(x,f,v):k,v==null)break e;f=B({},f,v);break e;case 2:be=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[s]:v.push(s))}else x={eventTime:x,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},g===null?(d=g=x,u=f):g=g.next=x,o|=v;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;v=s,s=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(g===null&&(u=f),l.baseState=u,l.firstBaseUpdate=d,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Lt|=o,e.lanes=o,e.memoizedState=f}}function Ns(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Wl.transition;Wl.transition={};try{e(!1),t()}finally{I=n,Wl.transition=r}}function Aa(){return Pe().memoizedState}function yf(e,t,n){var r=dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ua(e))$a(t,n);else if(n=xa(e,t,n,r),n!==null){var l=ae();Oe(n,e,r,l),Ha(n,t,r)}}function wf(e,t,n){var r=dt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ua(e))$a(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,De(s,o)){var u=t.interleaved;u===null?(l.next=l,yo(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=xa(e,t,l,r),n!==null&&(l=ae(),Oe(n,e,r,l),Ha(n,t,r))}}function Ua(e){var t=e.alternate;return e===V||t!==null&&t===V}function $a(e,t){Ln=br=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ha(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ro(e,n)}}var el={readContext:Ne,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},xf={readContext:Ne,useCallback:function(e,t){return Me().memoizedState=[e,t===void 0?null:t],e},useContext:Ne,useEffect:Ts,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Lr(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Lr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Lr(4,2,e,t)},useMemo:function(e,t){var n=Me();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Me();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=yf.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Me();return e={current:e},t.memoizedState=e},useState:Ps,useDebugValue:No,useDeferredValue:function(e){return Me().memoizedState=e},useTransition:function(){var e=Ps(!1),t=e[0];return e=gf.bind(null,e[1]),Me().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=Me();if($){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));zt&30||Ea(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ts(Na.bind(null,r,i,e),[e]),r.flags|=2048,Zn(9,ja.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Me(),t=b.identifierPrefix;if($){var n=We,r=Be;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xn++,0")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{jl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?_n(e):""}function Gc(e){switch(e.tag){case 5:return _n(e.type);case 16:return _n("Lazy");case 13:return _n("Suspense");case 19:return _n("SuspenseList");case 0:case 2:case 15:return e=Nl(e.type,!1),e;case 11:return e=Nl(e.type.render,!1),e;case 1:return e=Nl(e.type,!0),e;default:return""}}function ti(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 Ut:return"Fragment";case At:return"Portal";case ql:return"Profiler";case Ji:return"StrictMode";case bl:return"Suspense";case ei:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ku:return(e.displayName||"Context")+".Consumer";case xu:return(e._context.displayName||"Context")+".Provider";case qi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bi:return t=e.displayName||null,t!==null?t:ti(e.type)||"Memo";case tt:t=e._payload,e=e._init;try{return ti(e(t))}catch{}}return null}function Zc(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 ti(t);case 8:return t===Ji?"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 ht(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Su(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Jc(e){var t=Su(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 l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ar(e){e._valueTracker||(e._valueTracker=Jc(e))}function Cu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Su(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mr(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 ni(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ht(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 Eu(e,t){t=t.checked,t!=null&&Zi(e,"checked",t,!1)}function ri(e,t){Eu(e,t);var n=ht(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")?li(e,t.type,n):t.hasOwnProperty("defaultValue")&&li(e,t.type,ht(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Go(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 li(e,t,n){(t!=="number"||Mr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Sn=Array.isArray;function Zt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=cr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nn={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},qc=["Webkit","ms","Moz","O"];Object.keys(Nn).forEach(function(e){qc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nn[t]=Nn[e]})});function Tu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nn.hasOwnProperty(e)&&Nn[e]?(""+t).trim():t+"px"}function zu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Tu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var bc=B({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 si(e,t){if(t){if(bc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function ui(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 ai=null;function eo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ci=null,Jt=null,qt=null;function qo(e){if(e=nr(e)){if(typeof ci!="function")throw Error(S(280));var t=e.stateNode;t&&(t=fl(t),ci(e.stateNode,e.type,t))}}function Lu(e){Jt?qt?qt.push(e):qt=[e]:Jt=e}function Ru(){if(Jt){var e=Jt,t=qt;if(qt=Jt=null,qo(e),t)for(e=0;e>>=0,e===0?32:31-(cd(e)/dd|0)|0}var dr=64,fr=4194304;function Cn(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 Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~l;s!==0?r=Cn(s):(i&=o,i!==0&&(r=Cn(i)))}else o=n&~l,o!==0?r=Cn(o):i!==0&&(r=Cn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function er(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function hd(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=Tn),ss=" ",us=!1;function qu(e,t){switch(e){case"keyup":return Bd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var $t=!1;function Qd(e,t){switch(e){case"compositionend":return bu(t);case"keypress":return t.which!==32?null:(us=!0,ss);case"textInput":return e=t.data,e===ss&&us?null:e;default:return null}}function Kd(e,t){if($t)return e==="compositionend"||!uo&&qu(e,t)?(e=Zu(),Pr=io=it=null,$t=!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)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=fs(n)}}function ra(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ra(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function la(){for(var e=window,t=Mr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mr(e.document)}return t}function ao(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 tf(e){var t=la(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ra(n.ownerDocument.documentElement,n)){if(r!==null&&ao(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 l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ps(n,i);var o=ps(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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=document.documentMode,Ht=null,vi=null,Ln=null,gi=!1;function ms(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;gi||Ht==null||Ht!==Mr(r)||(r=Ht,"selectionStart"in r&&ao(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}),Ln&&Bn(Ln,r)||(Ln=r,r=Wr(vi,"onSelect"),0Wt||(e.current=Si[Wt],Si[Wt]=null,Wt--)}function M(e,t){Wt++,Si[Wt]=e.current,e.current=t}var vt={},se=yt(vt),me=yt(!1),zt=vt;function rn(e,t){var n=e.type.contextTypes;if(!n)return vt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Kr(){U(me),U(se)}function ks(e,t,n){if(se.current!==vt)throw Error(S(168));M(se,t),M(me,n)}function pa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(S(108,Zc(e)||"Unknown",l));return B({},n,r)}function Yr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vt,zt=se.current,M(se,e),M(me,me.current),!0}function _s(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=pa(e,t,zt),r.__reactInternalMemoizedMergedChildContext=e,U(me),U(se),M(se,e)):U(me),M(me,n)}var We=null,pl=!1,Hl=!1;function ma(e){We===null?We=[e]:We.push(e)}function mf(e){pl=!0,ma(e)}function wt(){if(!Hl&&We!==null){Hl=!0;var e=0,t=I;try{var n=We;for(I=1;e>=o,l-=o,Ke=1<<32-Oe(t)+l|n<E?(D=C,C=null):D=C.sibling;var L=v(f,C,m[E],h);if(L===null){C===null&&(C=D);break}e&&C&&L.alternate===null&&t(f,C),d=i(L,d,E),_===null?w=L:_.sibling=L,_=L,C=D}if(E===m.length)return n(f,C),$&&St(f,E),w;if(C===null){for(;EE?(D=C,C=null):D=C.sibling;var re=v(f,C,L.value,h);if(re===null){C===null&&(C=D);break}e&&C&&re.alternate===null&&t(f,C),d=i(re,d,E),_===null?w=re:_.sibling=re,_=re,C=D}if(L.done)return n(f,C),$&&St(f,E),w;if(C===null){for(;!L.done;E++,L=m.next())L=p(f,L.value,h),L!==null&&(d=i(L,d,E),_===null?w=L:_.sibling=L,_=L);return $&&St(f,E),w}for(C=r(f,C);!L.done;E++,L=m.next())L=x(C,f,E,L.value,h),L!==null&&(e&&L.alternate!==null&&C.delete(L.key===null?E:L.key),d=i(L,d,E),_===null?w=L:_.sibling=L,_=L);return e&&C.forEach(function(ge){return t(f,ge)}),$&&St(f,E),w}function T(f,d,m,h){if(typeof m=="object"&&m!==null&&m.type===Ut&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ur:e:{for(var w=m.key,_=d;_!==null;){if(_.key===w){if(w=m.type,w===Ut){if(_.tag===7){n(f,_.sibling),d=l(_,m.props.children),d.return=f,f=d;break e}}else if(_.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===tt&&Es(w)===_.type){n(f,_.sibling),d=l(_,m.props),d.ref=wn(f,_,m),d.return=f,f=d;break e}n(f,_);break}else t(f,_);_=_.sibling}m.type===Ut?(d=Tt(m.props.children,f.mode,h,m.key),d.return=f,f=d):(h=Ir(m.type,m.key,m.props,null,f.mode,h),h.ref=wn(f,d,m),h.return=f,f=h)}return o(f);case At:e:{for(_=m.key;d!==null;){if(d.key===_)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(f,d.sibling),d=l(d,m.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=Gl(m,f.mode,h),d.return=f,f=d}return o(f);case tt:return _=m._init,T(f,d,_(m._payload),h)}if(Sn(m))return k(f,d,m,h);if(mn(m))return y(f,d,m,h);wr(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,m),d.return=f,f=d):(n(f,d),d=Xl(m,f.mode,h),d.return=f,f=d),o(f)):n(f,d)}return T}var on=ya(!0),wa=ya(!1),Zr=yt(null),Jr=null,Yt=null,mo=null;function ho(){mo=Yt=Jr=null}function vo(e){var t=Zr.current;U(Zr),e._currentValue=t}function ji(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 en(e,t){Jr=e,mo=Yt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function Pe(e){var t=e._currentValue;if(mo!==e)if(e={context:e,memoizedValue:t,next:null},Yt===null){if(Jr===null)throw Error(S(308));Yt=e,Jr.dependencies={lanes:0,firstContext:e}}else Yt=Yt.next=e;return t}var jt=null;function go(e){jt===null?jt=[e]:jt.push(e)}function xa(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,go(t)):(n.next=l.next,l.next=n),t.interleaved=n,Je(e,r)}function Je(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 nt=!1;function yo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ka(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 Xe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function dt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Je(e,n)}return l=r.interleaved,l===null?(t.next=t,go(r)):(t.next=l.next,l.next=t),r.interleaved=t,Je(e,n)}function zr(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,no(e,n)}}function js(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qr(e,t,n,r){var l=e.updateQueue;nt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,c=u.next;u.next=null,o===null?i=c:o.next=c,o=u;var g=e.alternate;g!==null&&(g=g.updateQueue,s=g.lastBaseUpdate,s!==o&&(s===null?g.firstBaseUpdate=c:s.next=c,g.lastBaseUpdate=u))}if(i!==null){var p=l.baseState;o=0,g=c=u=null,s=i;do{var v=s.lane,x=s.eventTime;if((r&v)===v){g!==null&&(g=g.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var k=e,y=s;switch(v=t,x=n,y.tag){case 1:if(k=y.payload,typeof k=="function"){p=k.call(x,p,v);break e}p=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=y.payload,v=typeof k=="function"?k.call(x,p,v):k,v==null)break e;p=B({},p,v);break e;case 2:nt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[s]:v.push(s))}else x={eventTime:x,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},g===null?(c=g=x,u=p):g=g.next=x,o|=v;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;v=s,s=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(g===null&&(u=p),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Ft|=o,e.lanes=o,e.memoizedState=p}}function Ns(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Bl.transition;Bl.transition={};try{e(!1),t()}finally{I=n,Bl.transition=r}}function Aa(){return Te().memoizedState}function yf(e,t,n){var r=pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ua(e))$a(t,n);else if(n=xa(e,t,n,r),n!==null){var l=ae();De(n,e,r,l),Ha(n,t,r)}}function wf(e,t,n){var r=pt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ua(e))$a(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,Ie(s,o)){var u=t.interleaved;u===null?(l.next=l,go(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=xa(e,t,l,r),n!==null&&(l=ae(),De(n,e,r,l),Ha(n,t,r))}}function Ua(e){var t=e.alternate;return e===V||t!==null&&t===V}function $a(e,t){Rn=el=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ha(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,no(e,n)}}var tl={readContext:Pe,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},xf={readContext:Pe,useCallback:function(e,t){return Ae().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Ts,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Rr(4194308,4,Fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Rr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Rr(4,2,e,t)},useMemo:function(e,t){var n=Ae();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ae();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=yf.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=Ae();return e={current:e},t.memoizedState=e},useState:Ps,useDebugValue:jo,useDeferredValue:function(e){return Ae().memoizedState=e},useTransition:function(){var e=Ps(!1),t=e[0];return e=gf.bind(null,e[1]),Ae().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=Ae();if($){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));Rt&30||Ea(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ts(Na.bind(null,r,i,e),[e]),r.flags|=2048,Jn(9,ja.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ae(),t=b.identifierPrefix;if($){var n=Ye,r=Ke;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ae]=t,e[Qn]=r,Ja(e,t,!1,!1),t.stateNode=e;e:{switch(o=ai(n,r),n){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;lun&&(t.flags|=128,r=!0,wn(i,!1),t.lanes=4194304)}else{if(!r)if(e=qr(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),wn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!$)return ie(t),null}else 2*K()-i.renderingStartTime>un&&n!==1073741824&&(t.flags|=128,r=!0,wn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=K(),t.sibling=null,n=H.current,M(H,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Fo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ge&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Pf(e,t){switch(po(t),t.tag){case 1:return he(t.type)&&Qr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return on(),U(me),U(se),_o(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ko(t),null;case 13:if(U(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));rn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(H),null;case 4:return on(),null;case 10:return go(t.type._context),null;case 22:case 23:return Fo(),null;case 24:return null;default:return null}}var xr=!1,oe=!1,Tf=typeof WeakSet=="function"?WeakSet:Set,j=null;function Yt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Ii(e,t,n){try{n()}catch(r){W(e,t,r)}}var $s=!1;function zf(e,t){if(wi=Hr,e=la(),co(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 l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,d=0,g=0,f=e,v=null;t:for(;;){for(var x;f!==n||l!==0&&f.nodeType!==3||(s=o+l),f!==i||r!==0&&f.nodeType!==3||(u=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(x=f.firstChild)!==null;)v=f,f=x;for(;;){if(f===e)break t;if(v===n&&++d===l&&(s=o),v===i&&++g===r&&(u=o),(x=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=x}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(xi={focusedElem:e,selectionRange:n},Hr=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var y=k.memoizedProps,T=k.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:ze(t.type,y),T);p.__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(S(163))}}catch(h){W(t,t.return,h)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return k=$s,$s=!1,k}function Rn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Ii(t,n,i)}l=l.next}while(l!==r)}}function hl(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 Mi(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 ec(e){var t=e.alternate;t!==null&&(e.alternate=null,ec(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ae],delete t[Qn],delete t[Si],delete t[ff],delete t[pf])),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 tc(e){return e.tag===5||e.tag===3||e.tag===4}function Hs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tc(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 Ai(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=Wr));else if(r!==4&&(e=e.child,e!==null))for(Ai(e,t,n),e=e.sibling;e!==null;)Ai(e,t,n),e=e.sibling}function Ui(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(Ui(e,t,n),e=e.sibling;e!==null;)Ui(e,t,n),e=e.sibling}var ee=null,Le=!1;function Je(e,t,n){for(n=n.child;n!==null;)nc(e,t,n),n=n.sibling}function nc(e,t,n){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(sl,n)}catch{}switch(n.tag){case 5:oe||Yt(n,t);case 6:var r=ee,l=Le;ee=null,Je(e,t,n),ee=r,Le=l,ee!==null&&(Le?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Le?(e=ee,n=n.stateNode,e.nodeType===8?Hl(e.parentNode,n):e.nodeType===1&&Hl(e,n),$n(e)):Hl(ee,n.stateNode));break;case 4:r=ee,l=Le,ee=n.stateNode.containerInfo,Le=!0,Je(e,t,n),ee=r,Le=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Ii(n,t,o),l=l.next}while(l!==r)}Je(e,t,n);break;case 1:if(!oe&&(Yt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){W(n,t,s)}Je(e,t,n);break;case 21:Je(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,Je(e,t,n),oe=r):Je(e,t,n);break;default:Je(e,t,n)}}function Vs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tf),t.forEach(function(r){var l=Uf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Te(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Rf(r/1960))-r,10e?16:e,lt===null)var r=!1;else{if(e=lt,lt=null,rl=0,D&6)throw Error(S(331));var l=D;for(D|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var s=i.deletions;if(s!==null){for(var u=0;uK()-Lo?jt(e,0):zo|=n),ve(e,t)}function cc(e,t){t===0&&(e.mode&1?(t=dr,dr<<=1,!(dr&130023424)&&(dr=4194304)):t=1);var n=ae();e=Xe(e,t),e!==null&&(bn(e,t,n),ve(e,n))}function Af(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cc(e,n)}function Uf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),cc(e,n)}var dc;dc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,jf(e,t,n);pe=!!(e.flags&131072)}else pe=!1,$&&t.flags&1048576&&ha(t,Xr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Rr(e,t),e=t.pendingProps;var l=nn(t,se.current);bt(t,n),l=Co(null,t,r,e,l,n);var i=Eo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(i=!0,Kr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,wo(t),l.updater=ml,t.stateNode=l,l._reactInternals=t,Ti(t,r,e,n),t=Ri(null,t,r,!0,i,n)):(t.tag=0,$&&i&&fo(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Rr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Hf(r),e=ze(r,e),l){case 0:t=Li(null,t,r,e,n);break e;case 1:t=Ms(null,t,r,e,n);break e;case 11:t=Ds(null,t,r,e,n);break e;case 14:t=Is(null,t,r,ze(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Li(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Ms(e,t,r,l,n);case 3:e:{if(Xa(t),e===null)throw Error(S(387));r=t.pendingProps,i=t.memoizedState,l=i.element,ka(e,t),Jr(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=sn(Error(S(423)),t),t=As(e,t,r,n,l);break e}else if(r!==l){l=sn(Error(S(424)),t),t=As(e,t,r,n,l);break e}else for(ye=ut(t.stateNode.containerInfo.firstChild),we=t,$=!0,Re=null,n=wa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(rn(),r===l){t=Ge(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return _a(t),e===null&&ji(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,ki(r,l)?o=null:i!==null&&ki(r,i)&&(t.flags|=32),Ya(e,t),ue(e,t,o,n),t.child;case 6:return e===null&&ji(t),null;case 13:return Ga(e,t,n);case 4:return xo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ln(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Ds(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,M(Gr,r._currentValue),r._currentValue=o,i!==null)if(De(i.value,o)){if(i.children===l.children&&!me.current){t=Ge(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Qe(-1,n&-n),u.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var g=d.pending;g===null?u.next=u:(u.next=g.next,g.next=u),d.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Ni(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Ni(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,bt(t,n),l=Ne(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=ze(r,t.pendingProps),l=ze(r.type,l),Is(e,t,r,l,n);case 15:return Qa(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ze(r,l),Rr(e,t),t.tag=1,he(r)?(e=!0,Kr(t)):e=!1,bt(t,n),Va(t,r,l),Ti(t,r,l,n),Ri(null,t,r,!0,e,n);case 19:return Za(e,t,n);case 22:return Ka(e,t,n)}throw Error(S(156,t.tag))};function fc(e,t){return Uu(e,t)}function $f(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 Ee(e,t,n,r){return new $f(e,t,n,r)}function Do(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hf(e){if(typeof e=="function")return Do(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bi)return 11;if(e===eo)return 14}return 2}function ft(e,t){var n=e.alternate;return n===null?(n=Ee(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 Dr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Do(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case At:return Nt(n.children,l,i,t);case qi:o=8,l|=8;break;case bl:return e=Ee(12,n,t,l|2),e.elementType=bl,e.lanes=i,e;case ei:return e=Ee(13,n,t,l),e.elementType=ei,e.lanes=i,e;case ti:return e=Ee(19,n,t,l),e.elementType=ti,e.lanes=i,e;case _u:return gl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xu:o=10;break e;case ku:o=9;break e;case bi:o=11;break e;case eo:o=14;break e;case qe:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ee(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Nt(e,t,n,r){return e=Ee(7,e,r,t),e.lanes=n,e}function gl(e,t,n,r){return e=Ee(22,e,r,t),e.elementType=_u,e.lanes=n,e.stateNode={isHidden:!1},e}function Gl(e,t,n){return e=Ee(6,e,null,t),e.lanes=n,e}function Zl(e,t,n){return t=Ee(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vf(e,t,n,r,l){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=zl(0),this.expirationTimes=zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Io(e,t,n,r,l,i,o,s,u){return e=new Vf(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ee(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},wo(i),e}function Bf(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vc)}catch(e){console.error(e)}}vc(),vu.exports=ke;var Xf=vu.exports,Zs=Xf;Jl.createRoot=Zs.createRoot,Jl.hydrateRoot=Zs.hydrateRoot;var Gf={};(function(e){(function(){var t={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function n(s){return l(o(s),arguments)}function r(s,u){return n.apply(null,[s].concat(u||[]))}function l(s,u){var d=1,g=s.length,f,v="",x,k,y,T,p,c,m,h;for(x=0;x=0),y.type){case"b":f=parseInt(f,10).toString(2);break;case"c":f=String.fromCharCode(parseInt(f,10));break;case"d":case"i":f=parseInt(f,10);break;case"j":f=JSON.stringify(f,null,y.width?parseInt(y.width):0);break;case"e":f=y.precision?parseFloat(f).toExponential(y.precision):parseFloat(f).toExponential();break;case"f":f=y.precision?parseFloat(f).toFixed(y.precision):parseFloat(f);break;case"g":f=y.precision?String(Number(f.toPrecision(y.precision))):parseFloat(f);break;case"o":f=(parseInt(f,10)>>>0).toString(8);break;case"s":f=String(f),f=y.precision?f.substring(0,y.precision):f;break;case"t":f=String(!!f),f=y.precision?f.substring(0,y.precision):f;break;case"T":f=Object.prototype.toString.call(f).slice(8,-1).toLowerCase(),f=y.precision?f.substring(0,y.precision):f;break;case"u":f=parseInt(f,10)>>>0;break;case"v":f=f.valueOf(),f=y.precision?f.substring(0,y.precision):f;break;case"x":f=(parseInt(f,10)>>>0).toString(16);break;case"X":f=(parseInt(f,10)>>>0).toString(16).toUpperCase();break}t.json.test(y.type)?v+=f:(t.number.test(y.type)&&(!m||y.sign)?(h=m?"+":"-",f=f.toString().replace(t.sign,"")):h="",p=y.pad_char?y.pad_char==="0"?"0":y.pad_char.charAt(1):" ",c=y.width-(h+f).length,T=y.width&&c>0?p.repeat(c):"",v+=y.align?h+f+T:p==="0"?h+T+f:T+h+f)}return v}var i=Object.create(null);function o(s){if(i[s])return i[s];for(var u=s,d,g=[],f=0;u;){if((d=t.text.exec(u))!==null)g.push(d[0]);else if((d=t.modulo.exec(u))!==null)g.push("%");else if((d=t.placeholder.exec(u))!==null){if(d[2]){f|=1;var v=[],x=d[2],k=[];if((k=t.key.exec(x))!==null)for(v.push(k[1]);(x=x.substring(k[0].length))!=="";)if((k=t.key_access.exec(x))!==null)v.push(k[1]);else if((k=t.index_access.exec(x))!==null)v.push(k[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");d[2]=v}else f|=2;if(f===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");g.push({placeholder:d[0],param_no:d[1],keys:d[2],sign:d[3],pad_char:d[4],align:d[5],width:d[6],precision:d[7],type:d[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(d[0].length)}return i[s]=g}e.sprintf=n,e.vsprintf=r,typeof window<"u"&&(window.sprintf=n,window.vsprintf=r)})()})(Gf);var Wi,gc,En,yc;Wi={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1};gc=["(","?"];En={")":["("],":":["?","?:"]};yc=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function Zf(e){for(var t=[],n=[],r,l,i,o;r=e.match(yc);){for(l=r[0],i=e.substr(0,r.index).trim(),i&&t.push(i);o=n.pop();){if(En[l]){if(En[l][0]===o){l=En[l][1]||l;break}}else if(gc.indexOf(o)>=0||Wi[o]":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function qf(e,t){var n=[],r,l,i,o,s,u;for(r=0;r{const r=new $o({}),l=new Set,i=()=>{l.forEach(h=>h())},o=h=>(l.add(h),()=>l.delete(h)),s=(h="default")=>r.data[h],u=(h,w="default")=>{var _;r.data[w]={...r.data[w],...h},r.data[w][""]={...qs[""],...(_=r.data[w])==null?void 0:_[""]},delete r.pluralForms[w]},d=(h,w)=>{u(h,w),i()},g=(h,w="default")=>{var _;r.data[w]={...r.data[w],...h,"":{...qs[""],...(_=r.data[w])==null?void 0:_[""],...h==null?void 0:h[""]}},delete r.pluralForms[w],i()},f=(h,w)=>{r.data={},r.pluralForms={},d(h,w)},v=(h="default",w,_,C,E)=>(r.data[h]||u(void 0,h),r.dcnpgettext(h,w,_,C,E)),x=(h="default")=>h,k=(h,w)=>{let _=v(w,void 0,h);return n?(_=n.applyFilters("i18n.gettext",_,h,w),n.applyFilters("i18n.gettext_"+x(w),_,h,w)):_},y=(h,w,_)=>{let C=v(_,w,h);return n?(C=n.applyFilters("i18n.gettext_with_context",C,h,w,_),n.applyFilters("i18n.gettext_with_context_"+x(_),C,h,w,_)):C},T=(h,w,_,C)=>{let E=v(C,void 0,h,w,_);return n?(E=n.applyFilters("i18n.ngettext",E,h,w,_,C),n.applyFilters("i18n.ngettext_"+x(C),E,h,w,_,C)):E},p=(h,w,_,C,E)=>{let O=v(E,C,h,w,_);return n?(O=n.applyFilters("i18n.ngettext_with_context",O,h,w,_,C,E),n.applyFilters("i18n.ngettext_with_context_"+x(E),O,h,w,_,C,E)):O},c=()=>y("ltr","text direction")==="rtl",m=(h,w,_)=>{var O,z;const C=w?w+""+h:h;let E=!!((z=(O=r.data)==null?void 0:O[_??"default"])!=null&&z[C]);return n&&(E=n.applyFilters("i18n.has_translation",E,h,w,_),E=n.applyFilters("i18n.has_translation_"+x(_),E,h,w,_)),E};if(n){const h=w=>{np.test(w)&&i()};n.addAction("hookAdded","core/i18n",h),n.addAction("hookRemoved","core/i18n",h)}return{getLocaleData:s,setLocaleData:d,addLocaleData:g,resetLocaleData:f,subscribe:o,__:k,_x:y,_n:T,_nx:p,isRTL:c,hasTranslation:m}};function wc(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function Ho(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function bs(e,t){return function(r,l,i,o=10){const s=e[t];if(!Ho(r)||!wc(l))return;if(typeof i!="function"){console.error("The hook callback must be a function.");return}if(typeof o!="number"){console.error("If specified, the hook priority must be a number.");return}const u={callback:i,priority:o,namespace:l};if(s[r]){const d=s[r].handlers;let g;for(g=d.length;g>0&&!(o>=d[g-1].priority);g--);g===d.length?d[g]=u:d.splice(g,0,u),s.__current.forEach(f=>{f.name===r&&f.currentIndex>=g&&f.currentIndex++})}else s[r]={handlers:[u],runs:0};r!=="hookAdded"&&e.doAction("hookAdded",r,l,i,o)}}function Sr(e,t,n=!1){return function(l,i){const o=e[t];if(!Ho(l)||!n&&!wc(i))return;if(!o[l])return 0;let s=0;if(n)s=o[l].handlers.length,o[l]={runs:o[l].runs,handlers:[]};else{const u=o[l].handlers;for(let d=u.length-1;d>=0;d--)u[d].namespace===i&&(u.splice(d,1),s++,o.__current.forEach(g=>{g.name===l&&g.currentIndex>=d&&g.currentIndex--}))}return l!=="hookRemoved"&&e.doAction("hookRemoved",l,i),s}}function eu(e,t){return function(r,l){const i=e[t];return typeof l<"u"?r in i&&i[r].handlers.some(o=>o.namespace===l):r in i}}function tu(e,t,n=!1){return function(l,...i){const o=e[t];o[l]||(o[l]={handlers:[],runs:0}),o[l].runs++;const s=o[l].handlers;if(!s||!s.length)return n?i[0]:void 0;const u={name:l,currentIndex:0};for(o.__current.push(u);u.currentIndex"u"?typeof l.__current[0]<"u":l.__current[0]?r===l.__current[0].name:!1}}function lu(e,t){return function(r){const l=e[t];if(Ho(r))return l[r]&&l[r].runs?l[r].runs:0}}class lp{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=bs(this,"actions"),this.addFilter=bs(this,"filters"),this.removeAction=Sr(this,"actions"),this.removeFilter=Sr(this,"filters"),this.hasAction=eu(this,"actions"),this.hasFilter=eu(this,"filters"),this.removeAllActions=Sr(this,"actions",!0),this.removeAllFilters=Sr(this,"filters",!0),this.doAction=tu(this,"actions"),this.applyFilters=tu(this,"filters",!0),this.currentAction=nu(this,"actions"),this.currentFilter=nu(this,"filters"),this.doingAction=ru(this,"actions"),this.doingFilter=ru(this,"filters"),this.didAction=lu(this,"actions"),this.didFilter=lu(this,"filters")}}function ip(){return new lp}const op=ip(),X=rp(void 0,void 0,op);X.getLocaleData.bind(X);X.setLocaleData.bind(X);X.resetLocaleData.bind(X);X.subscribe.bind(X);const N=X.__.bind(X);X._x.bind(X);X._n.bind(X);X._nx.bind(X);X.isRTL.bind(X);X.hasTranslation.bind(X);function sp({activeTab:e,handleTabChange:t}){let n=localize==null?void 0:localize.eael_quick_setup_data,r=n==null?void 0:n.menu_items;r==null||r.wizard_column;let l=r==null?void 0:r.templately_status,i=r==null?void 0:r.items,o=r==null?void 0:r.templately_local_plugin_data,s=r==null?void 0:r.ea_pro_local_plugin_data,u=0,d="";return a.jsx(a.Fragment,{children:a.jsx("div",{className:`eael-onboard-nav-list flex justify-between ${n.menu_items.wizard_column}`,"data-step":"1",children:i.map((g,f)=>g==="Templately"&&l||o!==!1&&g==="Templately"||s&&g==="Go PRO"?null:(d=g.trim().toLowerCase().replace(/ /g,"-"),a.jsxs("div",{className:`eael-onboard-nav ${e===d?"active":""} ${d}`,children:[a.jsx("span",{className:"eael-nav-count",children:++u}),a.jsx("span",{className:"eael-nav-text",children:g})]},f)))})})}function up({activeTab:e,handleTabChange:t,modalTarget:n,handleModalChange:r,closeModal:l,emailAddress:i}){let o=localize==null?void 0:localize.eael_quick_setup_data,s=o==null?void 0:o.getting_started_content,u=s==null?void 0:s.youtube_promo_src;return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"eael-onboard-content-wrapper min-h-538",children:a.jsxs("div",{className:"eael-onboard-content",children:[a.jsxs("div",{className:"eael-onboard-content-top",children:[a.jsx("a",{href:"//www.youtube.com/watch?v=ZISSbnHo0rE&ab_channel=WPDeveloper",target:"_blank",children:a.jsx("img",{src:u,alt:N("Youtube Promo","essential-addons-for-elementor-lite")})}),a.jsx("h3",{children:N("Get Started with Essential Addons","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Thank you for choosing Essential Addons for Elementor. Follow these simple steps of easy setup wizard & enjoy your Elementor web-building experience now!","essential-addons-for-elementor-lite")})]}),a.jsxs("div",{className:"eael-next-step-wrapper",id:"eael-dashboard--wrapper",children:[a.jsxs("p",{children:[N("By proceeding, you grant permission for this plugin to collect your information.","essential-addons-for-elementor-lite"),a.jsx("span",{className:"collect-info eael-what-we-collect",onClick:r,"data-target":"what-we-collect",children:N("Find out what we collect.","essential-addons-for-elementor-lite")})]}),a.jsx("input",{type:"hidden",value:i,id:"eael_user_email_address",name:"eael_user_email_address"}),a.jsxs("button",{className:"primary-btn install-btn eael-setup-next-btn eael-user-email-address",type:"button","data-next":"configuration",onClick:t,children:[N("Proceed to Next Step","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]}),a.jsx("span",{className:"skip-item eael-setup-next-btn",type:"button","data-next":"configuration",onClick:t,children:N("Skip This Step","essential-addons-for-elementor-lite")})]})]})}),a.jsx("section",{class:`eael-modal-wrapper ${n=="what-we-collect"?"":"eael-d-none"} eael-what-we-collect-modal`,children:a.jsxs("div",{class:"eael-modal-content-wrapper eael-onboard-modal",children:[a.jsxs("div",{class:"",children:[a.jsx("h5",{children:N("What We Collect?","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("We collect non-sensitive diagnostic data and plugin usage information. Your site URL, WordPress & PHP version, plugins & themes, and email address to send you the discount coupon. This data lets us make sure this plugin always stays compatible with the most popular plugins and themes. No spam, we promise.","essential-addons-for-elementor-lite")})]}),a.jsx("div",{class:"eael-modal-close-btn",onClick:l,children:a.jsx("i",{class:"ea-dash-icon ea-close"})})]})})]})}function ap({activeTab:e,handleTabChange:t}){let n=localize==null?void 0:localize.eael_quick_setup_data,r=n==null?void 0:n.configuration_content,l=r==null?void 0:r.ea_logo_src;return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"eael-onboard-content-wrapper mb-4 min-h-538",children:a.jsxs("div",{className:"eael-onboard-content",children:[a.jsxs("div",{className:"eael-onboard-content-top",children:[a.jsx("img",{src:l,alt:N("EA Logo","essential-addons-for-elementor-lite")}),a.jsxs("h3",{children:[N("Choose Your Preferred Mode for Essential Addons","essential-addons-for-elementor-lite")," ","🚀"]}),a.jsxs("p",{children:[N("Select any mode you desire to start with; you can also easily access features of all modes at any point later.","essential-addons-for-elementor-lite")," ","🔥"]})]}),a.jsxs("div",{className:"eael-onboard-content-select",children:[a.jsxs("label",{className:"flex-1 checkbox--label",children:[a.jsx("input",{id:"basic",value:"basic",className:"eael_preferences eael-d-none",name:"eael_preferences",type:"radio",defaultChecked:"checked"}),a.jsxs("span",{className:"select--wrapper",children:[a.jsx("span",{className:"check-mark"}),a.jsxs("h4",{children:[N("Basic","essential-addons-for-elementor-lite")," ",a.jsx("span",{children:N("(Recommended)","essential-addons-for-elementor-lite")})]}),a.jsx("p",{children:N("Use the basic features of Essential Addons and keep your site lightweight. Most basic elements are activated in this option.","essential-addons-for-elementor-lite")})]})]}),a.jsxs("label",{className:"flex-1 checkbox--label",children:[a.jsx("input",{id:"advance",value:"advance",className:"eael_preferences eael-d-none",name:"eael_preferences",type:"radio"}),a.jsxs("span",{className:"select--wrapper",children:[a.jsx("span",{className:"check-mark"}),a.jsx("h4",{children:N("Advanced","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Build complex websites with the advanced functionalities of Essential Addons. All dynamic elements will be activated in this option.","essential-addons-for-elementor-lite")})]})]}),a.jsxs("label",{className:"flex-1 checkbox--label",children:[a.jsx("input",{id:"custom",value:"custom",className:"eael_preferences eael-d-none",name:"eael_preferences",type:"radio"}),a.jsxs("span",{className:"select--wrapper",children:[a.jsx("span",{className:"check-mark"}),a.jsx("h4",{children:N("Custom","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Configure the elements of Essential Addons according to your preferences to make your website engaging, captivate, and stand out.","essential-addons-for-elementor-lite")})]})]})]})]})}),a.jsx("div",{id:"eael-dashboard--wrapper",className:"eael-section-wrapper flex flex-end",children:a.jsxs("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"elements",onClick:t,children:[N("Next","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})})]})}function cp({activeTab:e,handleTabChange:t,showElements:n,handleShowElements:r}){var g,f;let l=localize==null?void 0:localize.eael_quick_setup_data,i=l==null?void 0:l.elements_content,o=i==null?void 0:i.elements_list,s="",u=(g=l==null?void 0:l.menu_items)==null?void 0:g.ea_pro_local_plugin_data,d=(f=l==null?void 0:l.menu_items)==null?void 0:f.templately_local_plugin_data;return o=typeof o=="object"?Object.entries(o):o,a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"eael-onboard-content-wrapper eael-onboard-elements mb-4",children:[a.jsxs("div",{className:"eael-connect-others flex gap-4 justify-between items-start mb-10",children:[a.jsxs("div",{className:"flex gap-4 flex-1",children:[a.jsx("div",{className:"eael-others-icon eaicon-1",children:a.jsx("i",{className:"ea-dash-icon ea-elements"})}),a.jsxs("div",{className:"max-w-454",children:[a.jsx("h4",{children:N("Turn on the Elements That You Need","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Enable/Disable the elements anytime you want from the Essential Addons Dashboard","essential-addons-for-elementor-lite")})]})]}),a.jsxs("button",{className:"primary-btn changelog-btn flex items-center gap-2 view-all-elements eael-d-none",type:"button",onClick:r,children:[N("View All","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]}),a.jsx("a",{href:"https://essential-addons.com/demos/",target:"_blank",rel:"noopener noreferrer",children:a.jsxs("span",{className:"primary-btn changelog-btn",children:[N("View All","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})})]}),a.jsx("div",{className:"onboard-scroll-wrap",children:a.jsx("div",{id:"Content",className:"eael-contents",children:o.map((v,x)=>{var k;return s="",a.jsxs("div",{children:[a.jsx("div",{className:`flex items-center gap-2 justify-between mb-4 eael-element-title-wrap ${n?"":s}`,children:a.jsx("h3",{className:"eael-content-title",children:v[1].title})}),a.jsx("div",{className:`eael-content-wrapper mb-10 eael-element-content-wrap ${n?"":s}`,children:(k=v[1])==null?void 0:k.elements.map(y=>{const T=y.preferences||"",p=T==="basic"?"checked":"";return a.jsx("div",{className:"eael-content-items eael-quick-setup-post-grid",children:a.jsxs("div",{className:"eael-content-head",children:[a.jsx("h5",{className:"toggle-label",children:y.title}),a.jsxs("label",{className:"toggle-wrap eael-quick-setup-toggler",children:[a.jsx("input",{type:"checkbox","data-preferences":T,name:`eael_element[${y.key}]`,defaultChecked:p}),a.jsx("span",{className:"slider"})]})]})},y.key)})})]},x)})})}),a.jsx("div",{className:"eael-section-overlay"})]}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsxs("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"configuration",onClick:t,children:[a.jsx("i",{className:"ea-dash-icon ea-left-arrow-long"}),N("Previous","essential-addons-for-elementor-lite")]}),a.jsxs("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":u?d?"integrations":"templately":"go-pro",onClick:t,children:[N("Next","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})]})]})}function dp({activeTab:e,handleTabChange:t}){var o;let n=localize==null?void 0:localize.eael_quick_setup_data,r=n==null?void 0:n.go_pro_content,l=r==null?void 0:r.feature_items,i=(o=n==null?void 0:n.menu_items)==null?void 0:o.templately_local_plugin_data;return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"eael-onboard-content-wrapper eael-onboard-pro mb-4",children:[a.jsxs("div",{className:"eael-connect-others flex gap-4 justify-between items-start mb-10",children:[a.jsxs("div",{className:"flex gap-4 flex-1",children:[a.jsx("div",{className:"eael-others-icon eaicon-1",children:a.jsx("i",{className:"ea-dash-icon ea-lock"})}),a.jsxs("div",{className:"max-w-454",children:[a.jsx("h4",{children:N("Unlock 40+ Advanced PRO Widgets","essential-addons-for-elementor-lite")}),a.jsxs("p",{children:[N("Elevate your web-building experience with an array of cool premium elements, cutting-edge extensions & robust integrations. ","essential-addons-for-elementor-lite"),"🔥"]})]})]}),a.jsx("a",{target:"_blank",href:"https://wpdeveloper.com/in/upgrade-essential-addons-elementor",rel:"noopener noreferrer",children:a.jsxs("span",{className:"upgrade-button",children:[a.jsx("i",{className:"ea-dash-icon ea-crown-1"}),N("Upgrade to PRO","essential-addons-for-elementor-lite")]})})]}),a.jsxs("div",{className:"eael-pro-features flex justify-between items-center",children:[a.jsxs("div",{className:"eael-features-content",children:[a.jsx("h2",{children:N("Explore Premium Features","essential-addons-for-elementor-lite")}),a.jsx("p",{className:"mb-7",children:N("Discover the premium features of the most popular elements library for Elementor. Experience the web building experience with:","essential-addons-for-elementor-lite")}),a.jsxs("div",{className:"eael-feature-list-wrap mb-6",children:[a.jsxs("div",{className:"eael-feature-list-item flex gap-2 items-center mb-4",children:[a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5 7L6.33333 8.33333L9 5.66667M1 7C1 7.78793 1.15519 8.56815 1.45672 9.2961C1.75825 10.0241 2.20021 10.6855 2.75736 11.2426C3.31451 11.7998 3.97595 12.2417 4.7039 12.5433C5.43185 12.8448 6.21207 13 7 13C7.78793 13 8.56815 12.8448 9.2961 12.5433C10.0241 12.2417 10.6855 11.7998 11.2426 11.2426C11.7998 10.6855 12.2417 10.0241 12.5433 9.2961C12.8448 8.56815 13 7.78793 13 7C13 6.21207 12.8448 5.43185 12.5433 4.7039C12.2417 3.97595 11.7998 3.31451 11.2426 2.75736C10.6855 2.20021 10.0241 1.75825 9.2961 1.45672C8.56815 1.15519 7.78793 1 7 1C6.21207 1 5.43185 1.15519 4.7039 1.45672C3.97595 1.75825 3.31451 2.20021 2.75736 2.75736C2.20021 3.31451 1.75825 3.97595 1.45672 4.7039C1.15519 5.43185 1 6.21207 1 7Z",stroke:"#750EF4","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),a.jsx("p",{children:N("Customization Flexibility in Design with Premium Creative Elements.","essential-addons-for-elementor-lite")})]}),a.jsxs("div",{className:"eael-feature-list-item flex gap-2 items-center mb-4",children:[a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5 7L6.33333 8.33333L9 5.66667M1 7C1 7.78793 1.15519 8.56815 1.45672 9.2961C1.75825 10.0241 2.20021 10.6855 2.75736 11.2426C3.31451 11.7998 3.97595 12.2417 4.7039 12.5433C5.43185 12.8448 6.21207 13 7 13C7.78793 13 8.56815 12.8448 9.2961 12.5433C10.0241 12.2417 10.6855 11.7998 11.2426 11.2426C11.7998 10.6855 12.2417 10.0241 12.5433 9.2961C12.8448 8.56815 13 7.78793 13 7C13 6.21207 12.8448 5.43185 12.5433 4.7039C12.2417 3.97595 11.7998 3.31451 11.2426 2.75736C10.6855 2.20021 10.0241 1.75825 9.2961 1.45672C8.56815 1.15519 7.78793 1 7 1C6.21207 1 5.43185 1.15519 4.7039 1.45672C3.97595 1.75825 3.31451 2.20021 2.75736 2.75736C2.20021 3.31451 1.75825 3.97595 1.45672 4.7039C1.15519 5.43185 1 6.21207 1 7Z",stroke:"#750EF4","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),a.jsx("p",{children:N("Advanced WooCommerce Widgets like Checkout, Cross-Sells & more.","essential-addons-for-elementor-lite")})]}),a.jsxs("div",{className:"eael-feature-list-item flex gap-2 items-center mb-4",children:[a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5 7L6.33333 8.33333L9 5.66667M1 7C1 7.78793 1.15519 8.56815 1.45672 9.2961C1.75825 10.0241 2.20021 10.6855 2.75736 11.2426C3.31451 11.7998 3.97595 12.2417 4.7039 12.5433C5.43185 12.8448 6.21207 13 7 13C7.78793 13 8.56815 12.8448 9.2961 12.5433C10.0241 12.2417 10.6855 11.7998 11.2426 11.2426C11.7998 10.6855 12.2417 10.0241 12.5433 9.2961C12.8448 8.56815 13 7.78793 13 7C13 6.21207 12.8448 5.43185 12.5433 4.7039C12.2417 3.97595 11.7998 3.31451 11.2426 2.75736C10.6855 2.20021 10.0241 1.75825 9.2961 1.45672C8.56815 1.15519 7.78793 1 7 1C6.21207 1 5.43185 1.15519 4.7039 1.45672C3.97595 1.75825 3.31451 2.20021 2.75736 2.75736C2.20021 3.31451 1.75825 3.97595 1.45672 4.7039C1.15519 5.43185 1 6.21207 1 7Z",stroke:"#750EF4","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),a.jsx("p",{children:N("Cutting-edge Extensions Like Custom JS, Content Protection & more.","essential-addons-for-elementor-lite")})]})]}),a.jsx("a",{href:"https://essential-addons.com/demos/",target:"_blank",rel:"noopener noreferrer",children:a.jsxs("span",{className:"primary-btn changelog-btn",children:[a.jsx("i",{className:"ea-dash-icon ea-link"}),N("Learn More","essential-addons-for-elementor-lite")]})})]}),a.jsx("div",{className:"features-widget-wrapper",children:l.map((s,u)=>a.jsx("div",{className:"features-widget-item",children:a.jsxs("a",{href:s.link,target:"_blank",rel:"noopener noreferrer",children:[a.jsx("img",{src:s.img_src,alt:N(s.title,"essential-addons-for-elementor-lite")}),a.jsx("span",{className:"eael-tooltip",children:N(s.title,"essential-addons-for-elementor-lite")})]})},u))})]})]}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsxs("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"elements",onClick:t,children:[a.jsx("i",{className:"ea-dash-icon ea-left-arrow-long"}),N("Previous","essential-addons-for-elementor-lite")]}),a.jsxs("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":i?"integrations":"templately",onClick:t,children:[N("Next","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})]})]})}function fp({activeTab:e,handleTabChange:t,handleIntegrationSwitch:n}){let r=localize==null?void 0:localize.eael_quick_setup_data,l=r==null?void 0:r.templately_content;return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"eael-onboard-content-wrapper eael-onboard-templately mb-4 min-h-538",children:a.jsxs("div",{className:"eael-general-content-item templates flex justify-between items-center gap-5",children:[a.jsxs("div",{className:"templates-content",children:[a.jsxs("h2",{children:[a.jsx("span",{className:"title-color-2",children:N("5000+","essential-addons-for-elementor-lite")})," ",N("Ready Templates","essential-addons-for-elementor-lite")]}),a.jsx("p",{className:"mb-10",children:N("Unlock an extensive collection of ready WordPress templates from Templately along with full site import and cloud collaboration features.","essential-addons-for-elementor-lite")}),a.jsxs("div",{className:"eael-templately-details flex flex-col gap-4",children:[a.jsxs("div",{className:"eael-content-details flex gap-3 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_1_src,alt:N("Templately Icon 1","essential-addons-for-elementor-lite")})}),N("Stunning Ready Website Templates","essential-addons-for-elementor-lite")]}),a.jsxs("div",{className:"eael-content-details flex gap-3 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_2_src,alt:N("Templately Icon 2","essential-addons-for-elementor-lite")})}),N("One-Click Full Site Import","essential-addons-for-elementor-lite")]}),a.jsxs("div",{className:"eael-content-details flex gap-3 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_3_src,alt:N("Templately Icon 3","essential-addons-for-elementor-lite")})}),N("Team Collaboration WorkSpace","essential-addons-for-elementor-lite")]}),a.jsxs("div",{className:"eael-content-details flex gap-4 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_4_src,alt:N("Templately Icon 4","essential-addons-for-elementor-lite")})}),N("Unlimited Cloud Storage","essential-addons-for-elementor-lite")]})]})]}),a.jsx("div",{className:"templates-img",children:a.jsx("img",{src:l==null?void 0:l.templately_promo_src,alt:N("Templately Promo","essential-addons-for-elementor-lite")})})]})}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsx("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"integrations",onClick:t,children:N("Skip","essential-addons-for-elementor-lite")}),a.jsx("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn eael-quick-setup-next-button wpdeveloper-plugin-installer",type:"button","data-next":"integrations","data-action":"install","data-slug":"templately",onClick:async i=>{await n(i,"",1)},children:N("Enable Templates","essential-addons-for-elementor-lite")})]})]})}function pp({activeTab:e,handleTabChange:t,modalTarget:n,handleModalChange:r,closeModal:l,handleIntegrationSwitch:i}){var k,y;let o=localize==null?void 0:localize.eael_quick_setup_data,s=o==null?void 0:o.integrations_content,u=(k=o==null?void 0:o.menu_items)==null?void 0:k.ea_pro_local_plugin_data,d=(y=o==null?void 0:o.menu_items)==null?void 0:y.templately_local_plugin_data,g=s==null?void 0:s.plugin_list;const[f,v]=nt.useState(g),x=async T=>{T.preventDefault();const p=T.target;p.setAttribute("disabled","disabled");let c=new FormData(document.querySelector("form.eael-setup-wizard-form"));c=new URLSearchParams(c).toString();try{const h=await(await fetch(localize.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"save_setup_wizard_data",security:localize.nonce,fields:c})})).json();h.success?(r({currentTarget:{getAttribute:()=>"modal"}}),setTimeout(()=>{window.location=h.data.redirect_url},3e3)):(p.removeAttribute("disabled"),Swal.fire({icon:"error",title:"Error",text:"error"}))}catch{p.removeAttribute("disabled"),Swal.fire({icon:"error",title:"Error",text:"error"})}};return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"eael-onboard-content-wrapper eael-onboard-integrations mb-4",children:[a.jsxs("div",{className:"eael-connect-others flex gap-4 justify-between items-start mb-10",children:[a.jsxs("div",{className:"flex gap-4 flex-1",children:[a.jsx("div",{className:"eael-others-icon eaicon-1",children:a.jsx("i",{className:"ea-dash-icon ea-plug"})}),a.jsxs("div",{className:"max-w-454",children:[a.jsx("h4",{children:N("Fusion Hub for WordPress","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Boost your websites with some exclusive and popular plugins to get the most out of WordPress.","essential-addons-for-elementor-lite")})]})]}),a.jsxs("div",{className:"toggle-wrapper flex items-center gap-2 eael-d-none",children:[a.jsx("h5",{children:N("Enable All Integrations","essential-addons-for-elementor-lite")}),a.jsxs("label",{className:"toggle-wrap",children:[a.jsx("input",{type:"checkbox"}),a.jsx("span",{className:"slider"})]})]})]}),a.jsx("div",{className:"eael-integration-content-wrapper onboard-scroll-wrap",children:f.map(T=>a.jsxs("div",{className:"eael-integration-item",children:[a.jsxs("div",{className:"eael-integration-header flex gap-2 items-center",children:[a.jsx("img",{src:T.logo,alt:"logo",width:"30"}),a.jsx("h5",{children:T.title})]}),a.jsxs("div",{className:"eael-integration-footer",children:[a.jsx("p",{children:T.desc}),a.jsxs("div",{className:"integration-settings flex justify-between items-center",children:[a.jsx("h5",{className:"toggle-label",children:T.local_plugin_data===!1||!T.is_active?N("Activate","essential-addons-for-elementor-lite"):N("Deactivate","essential-addons-for-elementor-lite")}),a.jsx("button",{className:"wpdeveloper-plugin-installer eael-quick-setup-wpdeveloper-plugin-installer eael-d-none","data-action":T.local_plugin_data===!1?"install":"activate","data-slug":T.slug,"data-basename":T.basename,children:T.local_plugin_data===!1?N("Install","essential-addons-for-elementor-lite"):T.is_active?N("Activated","essential-addons-for-elementor-lite"):N("Activate","essential-addons-for-elementor-lite")}),a.jsxs("label",{className:"toggle-wrap",children:[a.jsx("input",{type:"checkbox",className:"enable-integration-switch",defaultChecked:T.is_active,"data-local_plugin_data":T.local_plugin_data,onChange:p=>i(p,T)}),a.jsx("span",{className:"slider"})]})]})]})]},T.basename))}),a.jsx("div",{className:"eael-section-overlay"})]}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsxs("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":d?u?"elements":"go-pro":"templately",onClick:t,children:[a.jsx("i",{className:"ea-dash-icon ea-left-arrow-long"}),N("Previous","essential-addons-for-elementor-lite")]}),a.jsx("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn1 eael-setup-wizard-save","data-next":"",onClick:x,children:N("Finish","essential-addons-for-elementor-lite")})]})]})}function mp({closeModal:e}){let t=localize==null?void 0:localize.eael_quick_setup_data,n=t==null?void 0:t.modal_content,r=n==null?void 0:n.success_2_src;return a.jsx(a.Fragment,{children:a.jsx("section",{className:"eael-modal-wrapper",children:a.jsxs("div",{className:"eael-modal-content-wrapper eael-onboard-modal",children:[a.jsxs("div",{className:"congrats--wrapper",children:[a.jsx("img",{className:"eael-modal-map-img",src:r,alt:N("Success Image","essential-addons-for-elementor-lite")}),a.jsx("h4",{className:"congrats--title",children:N("Congratulations!","essential-addons-for-elementor-lite")}),a.jsxs("h6",{className:"congrats--content",children:[N("You are now ready to enjoy all the amazing features..","essential-addons-for-elementor-lite")," 🎉"]})]}),a.jsx("div",{className:"eael-modal-close-btn",onClick:e,children:a.jsx("i",{className:"ea-dash-icon ea-close"})})]})})})}function hp(){var p;let e=localize.eael_quick_setup_data,t=(p=e==null?void 0:e.getting_started_content)==null?void 0:p.is_tracking_allowed,n=t?"configuration":"getting-started";const[r,l]=nt.useState(n),[i,o]=nt.useState(""),[s,u]=nt.useState(0),[d,g]=nt.useState(t),f=c=>{l(c.currentTarget.getAttribute("data-next")),c.currentTarget.classList.contains("eael-user-email-address")&&(g("1"),document.getElementById("eael_user_email_address").value=1,v())},v=async c=>{let m=new FormData(document.querySelector("form.eael-setup-wizard-form"));m=new URLSearchParams(m).toString();try{(await(await fetch(localize.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"enable_wpins_process",security:localize.nonce,fields:m})})).json()).success}catch{}},x=c=>{o(c.currentTarget.getAttribute("data-target"))},k=()=>{o("")},y=c=>{u(1)},T=async(c,m,h=0)=>{const w=c.target.checked??0,_=c.target.getAttribute("data-local_plugin_data")==="false",C=_?"install":w?"activate":"deactivate",E=_?m==null?void 0:m.slug:m==null?void 0:m.basename;let O={action:`wpdeveloper_${C}_plugin`,security:localize.nonce};O[_?"slug":"basename"]=E;let z="",re="";if(h?(O.action="wpdeveloper_install_plugin",O.slug="templately",z=c.currentTarget,re=c.currentTarget.getAttribute("data-next")):z=c.target.closest(".eael-integration-footer").querySelector(".toggle-label"),z){z.textContent="Processing...";try{(await(await fetch(localize.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(O).toString()})).json()).success?(h?(z.textContent="Enabled Templates",l(re)):z.textContent=w?"Deactivate":"Activate",_&&setPluginList(rr=>rr.map(fn=>fn.slug===m.slug?{...fn,local_plugin_data:!0}:fn))):h?l(re):z.textContent=w?"Activate":"Deactivate"}catch{h?l(re):z.textContent=w?"Activate":"Deactivate"}}};return a.jsx(a.Fragment,{children:a.jsx("section",{className:"eael-onboard-main-wrapper eael-quick-setup-wizard-wrapper",children:a.jsxs("form",{className:"eael-setup-wizard-form eael-quick-setup-wizard-form",method:"post",children:[a.jsx("div",{className:"eael-menu-items",children:a.jsx(sp,{activeTab:r,handleTabChange:f})}),!t&&a.jsx("div",{className:`eael-setup-content eael-getting-started-content ${r=="getting-started"?"":"eael-d-none"}`,children:a.jsx(up,{activeTab:r,handleTabChange:f,modalTarget:i,handleModalChange:x,closeModal:k,emailAddress:d})}),a.jsx("div",{className:`eael-setup-content eael-configuration-content ${r==="configuration"?"":"eael-d-none"}`,children:a.jsx(ap,{activeTab:r,handleTabChange:f})}),a.jsx("div",{className:`eael-setup-content eael-elements-content ${r==="elements"?"":"eael-d-none"}`,children:a.jsx(cp,{activeTab:r,handleTabChange:f,showElements:s,handleShowElements:y})}),a.jsx("div",{className:`eael-setup-content eael-go-pro-content ${r==="go-pro"?"":"eael-d-none"}`,children:a.jsx(dp,{activeTab:r,handleTabChange:f})}),a.jsx("div",{className:`eael-setup-content eael-templately-content ${r==="templately"?"":"eael-d-none"}`,children:a.jsx(fp,{activeTab:r,handleTabChange:f,handleIntegrationSwitch:T})}),a.jsx("div",{className:`eael-setup-content eael-integrations-content ${r==="integrations"?"":"eael-d-none"}`,children:a.jsx(pp,{activeTab:r,handleTabChange:f,modalTarget:i,handleModalChange:x,closeModal:k,handleIntegrationSwitch:T})}),i==="modal"&&a.jsx("div",{className:"eael-modal-content",children:a.jsx(mp,{activeTab:r,handleTabChange:f,modalTarget:i,handleModalChange:x,closeModal:k})})]})})})}Jl.createRoot(document.getElementById("eael-onboard--wrapper")).render(a.jsx(Ic.StrictMode,{children:a.jsx(hp,{})})); +`+i.stack}return{value:e,source:t,stack:l,digest:null}}function Kl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ti(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Sf=typeof WeakMap=="function"?WeakMap:Map;function Ba(e,t,n){n=Xe(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){rl||(rl=!0,Ui=r),Ti(e,t)},n}function Wa(e,t,n){n=Xe(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Ti(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ti(e,t),typeof r!="function"&&(ft===null?ft=new Set([this]):ft.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Rs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Sf;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=Mf.bind(null,e,t,n),t.then(e,e))}function Fs(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 Os(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,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=Xe(-1,1),t.tag=2,dt(n,t,1))),n.lanes|=1),e)}var Cf=be.ReactCurrentOwner,pe=!1;function ue(e,t,n,r){t.child=e===null?wa(t,null,n,r):on(t,e.child,n,r)}function Ds(e,t,n,r,l){n=n.render;var i=t.ref;return en(t,l),r=So(e,t,n,r,i,l),n=Co(),e!==null&&!pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,qe(e,t,l)):($&&n&&co(t),t.flags|=1,ue(e,t,r,l),t.child)}function Is(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Oo(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Qa(e,t,i,r,l)):(e=Ir(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Bn,n(o,r)&&e.ref===t.ref)return qe(e,t,l)}return t.flags|=1,e=mt(i,r),e.ref=t.ref,e.return=t,t.child=e}function Qa(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Bn(i,r)&&e.ref===t.ref)if(pe=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(pe=!0);else return t.lanes=e.lanes,qe(e,t,l)}return zi(e,t,n,r,l)}function Ka(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},M(Gt,ye),ye|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,M(Gt,ye),ye|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,M(Gt,ye),ye|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,M(Gt,ye),ye|=r;return ue(e,t,l,n),t.child}function Ya(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zi(e,t,n,r,l){var i=he(n)?zt:se.current;return i=rn(t,i),en(t,l),n=So(e,t,n,r,i,l),r=Co(),e!==null&&!pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,qe(e,t,l)):($&&r&&co(t),t.flags|=1,ue(e,t,n,l),t.child)}function Ms(e,t,n,r,l){if(he(n)){var i=!0;Yr(t)}else i=!1;if(en(t,l),t.stateNode===null)Fr(e,t),Va(t,n,r),Pi(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Pe(c):(c=he(n)?zt:se.current,c=rn(t,c));var g=n.getDerivedStateFromProps,p=typeof g=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||u!==c)&&Ls(t,o,r,c),nt=!1;var v=t.memoizedState;o.state=v,qr(t,r,o,l),u=t.memoizedState,s!==r||v!==u||me.current||nt?(typeof g=="function"&&(Ni(t,n,g,r),u=t.memoizedState),(s=nt||zs(t,n,s,r,v,u,c))?(p||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=c,r=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,ka(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Le(t.type,s),o.props=c,p=t.pendingProps,v=o.context,u=n.contextType,typeof u=="object"&&u!==null?u=Pe(u):(u=he(n)?zt:se.current,u=rn(t,u));var x=n.getDerivedStateFromProps;(g=typeof x=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==p||v!==u)&&Ls(t,o,r,u),nt=!1,v=t.memoizedState,o.state=v,qr(t,r,o,l);var k=t.memoizedState;s!==p||v!==k||me.current||nt?(typeof x=="function"&&(Ni(t,n,x,r),k=t.memoizedState),(c=nt||zs(t,n,c,r,v,k,u)||!1)?(g||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,k,u),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,k,u)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=k),o.props=r,o.state=k,o.context=u,r=c):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),r=!1)}return Li(e,t,n,r,i,l)}function Li(e,t,n,r,l,i){Ya(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&_s(t,n,!1),qe(e,t,i);r=t.stateNode,Cf.current=t;var s=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=on(t,e.child,null,i),t.child=on(t,null,s,i)):ue(e,t,s,i),t.memoizedState=r.state,l&&_s(t,n,!0),t.child}function Xa(e){var t=e.stateNode;t.pendingContext?ks(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ks(e,t.context,!1),wo(e,t.containerInfo)}function As(e,t,n,r,l){return ln(),po(l),t.flags|=256,ue(e,t,n,r),t.child}var Ri={dehydrated:null,treeContext:null,retryLane:0};function Fi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ga(e,t,n){var r=t.pendingProps,l=H.current,i=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),M(H,l&1),e===null)return Ei(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):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=yl(o,r,0,null),e=Tt(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Fi(n),t.memoizedState=Ri,e):No(t,o));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return Ef(e,t,o,r,s,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,s=l.sibling;var u={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=mt(l,u),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?i=mt(s,i):(i=Tt(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Fi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Ri,r}return i=e.child,e=i.sibling,r=mt(i,{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 No(e,t){return t=yl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function xr(e,t,n,r){return r!==null&&po(r),on(t,e.child,null,n),e=No(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ef(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=Kl(Error(S(422))),xr(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=yl({mode:"visible",children:r.children},l,0,null),i=Tt(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&on(t,e.child,null,o),t.child.memoizedState=Fi(o),t.memoizedState=Ri,i);if(!(t.mode&1))return xr(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(S(419)),r=Kl(i,r,void 0),xr(e,t,o,r)}if(s=(o&e.childLanes)!==0,pe||s){if(r=b,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Je(e,l),De(r,e,l,-1))}return Fo(),r=Kl(Error(S(421))),xr(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Af.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,we=ct(l.nextSibling),xe=t,$=!0,Fe=null,e!==null&&(Ce[Ee++]=Ke,Ce[Ee++]=Ye,Ce[Ee++]=Lt,Ke=e.id,Ye=e.overflow,Lt=t),t=No(t,r.children),t.flags|=4096,t)}function Us(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ji(e.return,t,n)}function Yl(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function Za(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(ue(e,t,r.children,n),r=H.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&&Us(e,n,t);else if(e.tag===19)Us(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(M(H,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&br(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Yl(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&br(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Yl(t,!0,n,null,i);break;case"together":Yl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function qe(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ft|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(S(153));if(t.child!==null){for(e=t.child,n=mt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=mt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jf(e,t,n){switch(t.tag){case 3:Xa(t),ln();break;case 5:_a(t);break;case 1:he(t.type)&&Yr(t);break;case 4:wo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;M(Zr,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(M(H,H.current&1),t.flags|=128,null):n&t.child.childLanes?Ga(e,t,n):(M(H,H.current&1),e=qe(e,t,n),e!==null?e.sibling:null);M(H,H.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Za(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),M(H,H.current),r)break;return null;case 22:case 23:return t.lanes=0,Ka(e,t,n)}return qe(e,t,n)}var Ja,Oi,qa,ba;Ja=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}};Oi=function(){};qa=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Nt(He.current);var i=null;switch(n){case"input":l=ni(e,l),r=ni(e,r),i=[];break;case"select":l=B({},l,{value:void 0}),r=B({},r,{value:void 0}),i=[];break;case"textarea":l=ii(e,l),r=ii(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Qr)}si(n,r);var o;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var s=l[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(In.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(u!=null||s!=null))if(c==="style")if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,s=s?s.__html:void 0,u!=null&&s!==u&&(i=i||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(In.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&A("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};ba=function(e,t,n,r){n!==r&&(t.flags|=4)};function xn(e,t){if(!$)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 ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Nf(e,t,n){var r=t.pendingProps;switch(fo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(t),null;case 1:return he(t.type)&&Kr(),ie(t),null;case 3:return r=t.stateNode,sn(),U(me),U(se),ko(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(yr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Fe!==null&&(Vi(Fe),Fe=null))),Oi(e,t),ie(t),null;case 5:xo(t);var l=Nt(Xn.current);if(n=t.type,e!==null&&t.stateNode!=null)qa(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(S(166));return ie(t),null}if(e=Nt(He.current),yr(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ue]=t,r[Kn]=i,e=(t.mode&1)!==0,n){case"dialog":A("cancel",r),A("close",r);break;case"iframe":case"object":case"embed":A("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ue]=t,e[Kn]=r,Ja(e,t,!1,!1),t.stateNode=e;e:{switch(o=ui(n,r),n){case"dialog":A("cancel",e),A("close",e),l=r;break;case"iframe":case"object":case"embed":A("load",e),l=r;break;case"video":case"audio":for(l=0;lan&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304)}else{if(!r)if(e=br(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!$)return ie(t),null}else 2*K()-i.renderingStartTime>an&&n!==1073741824&&(t.flags|=128,r=!0,xn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=K(),t.sibling=null,n=H.current,M(H,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Ro(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ye&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(S(156,t.tag))}function Pf(e,t){switch(fo(t),t.tag){case 1:return he(t.type)&&Kr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sn(),U(me),U(se),ko(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xo(t),null;case 13:if(U(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(H),null;case 4:return sn(),null;case 10:return vo(t.type._context),null;case 22:case 23:return Ro(),null;case 24:return null;default:return null}}var kr=!1,oe=!1,Tf=typeof WeakSet=="function"?WeakSet:Set,j=null;function Xt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Di(e,t,n){try{n()}catch(r){W(e,t,r)}}var $s=!1;function zf(e,t){if(yi=Vr,e=la(),ao(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 l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,u=-1,c=0,g=0,p=e,v=null;t:for(;;){for(var x;p!==n||l!==0&&p.nodeType!==3||(s=o+l),p!==i||r!==0&&p.nodeType!==3||(u=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(x=p.firstChild)!==null;)v=p,p=x;for(;;){if(p===e)break t;if(v===n&&++c===l&&(s=o),v===i&&++g===r&&(u=o),(x=p.nextSibling)!==null)break;p=v,v=p.parentNode}p=x}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(wi={focusedElem:e,selectionRange:n},Vr=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var y=k.memoizedProps,T=k.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:Le(t.type,y),T);f.__reactInternalSnapshotBeforeUpdate=d}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(S(163))}}catch(h){W(t,t.return,h)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return k=$s,$s=!1,k}function Fn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Di(t,n,i)}l=l.next}while(l!==r)}}function vl(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 Ii(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 ec(e){var t=e.alternate;t!==null&&(e.alternate=null,ec(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Kn],delete t[_i],delete t[ff],delete t[pf])),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 tc(e){return e.tag===5||e.tag===3||e.tag===4}function Hs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||tc(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 Mi(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=Qr));else if(r!==4&&(e=e.child,e!==null))for(Mi(e,t,n),e=e.sibling;e!==null;)Mi(e,t,n),e=e.sibling}function Ai(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(Ai(e,t,n),e=e.sibling;e!==null;)Ai(e,t,n),e=e.sibling}var ee=null,Re=!1;function et(e,t,n){for(n=n.child;n!==null;)nc(e,t,n),n=n.sibling}function nc(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(ul,n)}catch{}switch(n.tag){case 5:oe||Xt(n,t);case 6:var r=ee,l=Re;ee=null,et(e,t,n),ee=r,Re=l,ee!==null&&(Re?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Re?(e=ee,n=n.stateNode,e.nodeType===8?$l(e.parentNode,n):e.nodeType===1&&$l(e,n),Hn(e)):$l(ee,n.stateNode));break;case 4:r=ee,l=Re,ee=n.stateNode.containerInfo,Re=!0,et(e,t,n),ee=r,Re=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Di(n,t,o),l=l.next}while(l!==r)}et(e,t,n);break;case 1:if(!oe&&(Xt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){W(n,t,s)}et(e,t,n);break;case 21:et(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,et(e,t,n),oe=r):et(e,t,n);break;default:et(e,t,n)}}function Vs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tf),t.forEach(function(r){var l=Uf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Rf(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,ll=0,O&6)throw Error(S(331));var l=O;for(O|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var s=i.deletions;if(s!==null){for(var u=0;uK()-zo?Pt(e,0):To|=n),ve(e,t)}function cc(e,t){t===0&&(e.mode&1?(t=fr,fr<<=1,!(fr&130023424)&&(fr=4194304)):t=1);var n=ae();e=Je(e,t),e!==null&&(er(e,t,n),ve(e,n))}function Af(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cc(e,n)}function Uf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(t),cc(e,n)}var dc;dc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,jf(e,t,n);pe=!!(e.flags&131072)}else pe=!1,$&&t.flags&1048576&&ha(t,Gr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fr(e,t),e=t.pendingProps;var l=rn(t,se.current);en(t,n),l=So(null,t,r,e,l,n);var i=Co();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(i=!0,Yr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,yo(t),l.updater=hl,t.stateNode=l,l._reactInternals=t,Pi(t,r,e,n),t=Li(null,t,r,!0,i,n)):(t.tag=0,$&&i&&co(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Hf(r),e=Le(r,e),l){case 0:t=zi(null,t,r,e,n);break e;case 1:t=Ms(null,t,r,e,n);break e;case 11:t=Ds(null,t,r,e,n);break e;case 14:t=Is(null,t,r,Le(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),zi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ms(e,t,r,l,n);case 3:e:{if(Xa(t),e===null)throw Error(S(387));r=t.pendingProps,i=t.memoizedState,l=i.element,ka(e,t),qr(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=un(Error(S(423)),t),t=As(e,t,r,n,l);break e}else if(r!==l){l=un(Error(S(424)),t),t=As(e,t,r,n,l);break e}else for(we=ct(t.stateNode.containerInfo.firstChild),xe=t,$=!0,Fe=null,n=wa(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ln(),r===l){t=qe(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return _a(t),e===null&&Ei(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,xi(r,l)?o=null:i!==null&&xi(r,i)&&(t.flags|=32),Ya(e,t),ue(e,t,o,n),t.child;case 6:return e===null&&Ei(t),null;case 13:return Ga(e,t,n);case 4:return wo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=on(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ds(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,M(Zr,r._currentValue),r._currentValue=o,i!==null)if(Ie(i.value,o)){if(i.children===l.children&&!me.current){t=qe(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Xe(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var g=c.pending;g===null?u.next=u:(u.next=g.next,g.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),ji(i.return,n,t),s.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),ji(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,en(t,n),l=Pe(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),Is(e,t,r,l,n);case 15:return Qa(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Fr(e,t),t.tag=1,he(r)?(e=!0,Yr(t)):e=!1,en(t,n),Va(t,r,l),Pi(t,r,l,n),Li(null,t,r,!0,e,n);case 19:return Za(e,t,n);case 22:return Ka(e,t,n)}throw Error(S(156,t.tag))};function fc(e,t){return Uu(e,t)}function $f(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 $f(e,t,n,r)}function Oo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hf(e){if(typeof e=="function")return Oo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qi)return 11;if(e===bi)return 14}return 2}function mt(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 Ir(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Oo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ut:return Tt(n.children,l,i,t);case Ji:o=8,l|=8;break;case ql:return e=je(12,n,t,l|2),e.elementType=ql,e.lanes=i,e;case bl:return e=je(13,n,t,l),e.elementType=bl,e.lanes=i,e;case ei:return e=je(19,n,t,l),e.elementType=ei,e.lanes=i,e;case _u:return yl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case xu:o=10;break e;case ku:o=9;break e;case qi:o=11;break e;case bi:o=14;break e;case tt:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=je(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Tt(e,t,n,r){return e=je(7,e,r,t),e.lanes=n,e}function yl(e,t,n,r){return e=je(22,e,r,t),e.elementType=_u,e.lanes=n,e.stateNode={isHidden:!1},e}function Xl(e,t,n){return e=je(6,e,null,t),e.lanes=n,e}function Gl(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 Vf(e,t,n,r,l){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=Tl(0),this.expirationTimes=Tl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Do(e,t,n,r,l,i,o,s,u){return e=new Vf(e,t,n,s,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=je(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},yo(i),e}function Bf(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vc)}catch(e){console.error(e)}}vc(),vu.exports=_e;var Xf=vu.exports,Zs=Xf;Zl.createRoot=Zs.createRoot,Zl.hydrateRoot=Zs.hydrateRoot;var Gf={};(function(e){(function(){var t={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function n(s){return l(o(s),arguments)}function r(s,u){return n.apply(null,[s].concat(u||[]))}function l(s,u){var c=1,g=s.length,p,v="",x,k,y,T,f,d,m,h;for(x=0;x=0),y.type){case"b":p=parseInt(p,10).toString(2);break;case"c":p=String.fromCharCode(parseInt(p,10));break;case"d":case"i":p=parseInt(p,10);break;case"j":p=JSON.stringify(p,null,y.width?parseInt(y.width):0);break;case"e":p=y.precision?parseFloat(p).toExponential(y.precision):parseFloat(p).toExponential();break;case"f":p=y.precision?parseFloat(p).toFixed(y.precision):parseFloat(p);break;case"g":p=y.precision?String(Number(p.toPrecision(y.precision))):parseFloat(p);break;case"o":p=(parseInt(p,10)>>>0).toString(8);break;case"s":p=String(p),p=y.precision?p.substring(0,y.precision):p;break;case"t":p=String(!!p),p=y.precision?p.substring(0,y.precision):p;break;case"T":p=Object.prototype.toString.call(p).slice(8,-1).toLowerCase(),p=y.precision?p.substring(0,y.precision):p;break;case"u":p=parseInt(p,10)>>>0;break;case"v":p=p.valueOf(),p=y.precision?p.substring(0,y.precision):p;break;case"x":p=(parseInt(p,10)>>>0).toString(16);break;case"X":p=(parseInt(p,10)>>>0).toString(16).toUpperCase();break}t.json.test(y.type)?v+=p:(t.number.test(y.type)&&(!m||y.sign)?(h=m?"+":"-",p=p.toString().replace(t.sign,"")):h="",f=y.pad_char?y.pad_char==="0"?"0":y.pad_char.charAt(1):" ",d=y.width-(h+p).length,T=y.width&&d>0?f.repeat(d):"",v+=y.align?h+p+T:f==="0"?h+T+p:T+h+p)}return v}var i=Object.create(null);function o(s){if(i[s])return i[s];for(var u=s,c,g=[],p=0;u;){if((c=t.text.exec(u))!==null)g.push(c[0]);else if((c=t.modulo.exec(u))!==null)g.push("%");else if((c=t.placeholder.exec(u))!==null){if(c[2]){p|=1;var v=[],x=c[2],k=[];if((k=t.key.exec(x))!==null)for(v.push(k[1]);(x=x.substring(k[0].length))!=="";)if((k=t.key_access.exec(x))!==null)v.push(k[1]);else if((k=t.index_access.exec(x))!==null)v.push(k[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");c[2]=v}else p|=2;if(p===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");g.push({placeholder:c[0],param_no:c[1],keys:c[2],sign:c[3],pad_char:c[4],align:c[5],width:c[6],precision:c[7],type:c[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(c[0].length)}return i[s]=g}e.sprintf=n,e.vsprintf=r,typeof window<"u"&&(window.sprintf=n,window.vsprintf=r)})()})(Gf);var Bi,gc,jn,yc;Bi={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1};gc=["(","?"];jn={")":["("],":":["?","?:"]};yc=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;function Zf(e){for(var t=[],n=[],r,l,i,o;r=e.match(yc);){for(l=r[0],i=e.substr(0,r.index).trim(),i&&t.push(i);o=n.pop();){if(jn[l]){if(jn[l][0]===o){l=jn[l][1]||l;break}}else if(gc.indexOf(o)>=0||Bi[o]":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function qf(e,t){var n=[],r,l,i,o,s,u;for(r=0;r{const r=new Uo({}),l=new Set,i=()=>{l.forEach(h=>h())},o=h=>(l.add(h),()=>l.delete(h)),s=(h="default")=>r.data[h],u=(h,w="default")=>{var _;r.data[w]={...r.data[w],...h},r.data[w][""]={...qs[""],...(_=r.data[w])==null?void 0:_[""]},delete r.pluralForms[w]},c=(h,w)=>{u(h,w),i()},g=(h,w="default")=>{var _;r.data[w]={...r.data[w],...h,"":{...qs[""],...(_=r.data[w])==null?void 0:_[""],...h==null?void 0:h[""]}},delete r.pluralForms[w],i()},p=(h,w)=>{r.data={},r.pluralForms={},c(h,w)},v=(h="default",w,_,C,E)=>(r.data[h]||u(void 0,h),r.dcnpgettext(h,w,_,C,E)),x=(h="default")=>h,k=(h,w)=>{let _=v(w,void 0,h);return n?(_=n.applyFilters("i18n.gettext",_,h,w),n.applyFilters("i18n.gettext_"+x(w),_,h,w)):_},y=(h,w,_)=>{let C=v(_,w,h);return n?(C=n.applyFilters("i18n.gettext_with_context",C,h,w,_),n.applyFilters("i18n.gettext_with_context_"+x(_),C,h,w,_)):C},T=(h,w,_,C)=>{let E=v(C,void 0,h,w,_);return n?(E=n.applyFilters("i18n.ngettext",E,h,w,_,C),n.applyFilters("i18n.ngettext_"+x(C),E,h,w,_,C)):E},f=(h,w,_,C,E)=>{let D=v(E,C,h,w,_);return n?(D=n.applyFilters("i18n.ngettext_with_context",D,h,w,_,C,E),n.applyFilters("i18n.ngettext_with_context_"+x(E),D,h,w,_,C,E)):D},d=()=>y("ltr","text direction")==="rtl",m=(h,w,_)=>{var D,L;const C=w?w+""+h:h;let E=!!((L=(D=r.data)==null?void 0:D[_??"default"])!=null&&L[C]);return n&&(E=n.applyFilters("i18n.has_translation",E,h,w,_),E=n.applyFilters("i18n.has_translation_"+x(_),E,h,w,_)),E};if(n){const h=w=>{np.test(w)&&i()};n.addAction("hookAdded","core/i18n",h),n.addAction("hookRemoved","core/i18n",h)}return{getLocaleData:s,setLocaleData:c,addLocaleData:g,resetLocaleData:p,subscribe:o,__:k,_x:y,_n:T,_nx:f,isRTL:d,hasTranslation:m}};function wc(e){return typeof e!="string"||e===""?(console.error("The namespace must be a non-empty string."),!1):/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)?!0:(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)}function $o(e){return typeof e!="string"||e===""?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)?!0:(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)}function bs(e,t){return function(r,l,i,o=10){const s=e[t];if(!$o(r)||!wc(l))return;if(typeof i!="function"){console.error("The hook callback must be a function.");return}if(typeof o!="number"){console.error("If specified, the hook priority must be a number.");return}const u={callback:i,priority:o,namespace:l};if(s[r]){const c=s[r].handlers;let g;for(g=c.length;g>0&&!(o>=c[g-1].priority);g--);g===c.length?c[g]=u:c.splice(g,0,u),s.__current.forEach(p=>{p.name===r&&p.currentIndex>=g&&p.currentIndex++})}else s[r]={handlers:[u],runs:0};r!=="hookAdded"&&e.doAction("hookAdded",r,l,i,o)}}function Cr(e,t,n=!1){return function(l,i){const o=e[t];if(!$o(l)||!n&&!wc(i))return;if(!o[l])return 0;let s=0;if(n)s=o[l].handlers.length,o[l]={runs:o[l].runs,handlers:[]};else{const u=o[l].handlers;for(let c=u.length-1;c>=0;c--)u[c].namespace===i&&(u.splice(c,1),s++,o.__current.forEach(g=>{g.name===l&&g.currentIndex>=c&&g.currentIndex--}))}return l!=="hookRemoved"&&e.doAction("hookRemoved",l,i),s}}function eu(e,t){return function(r,l){const i=e[t];return typeof l<"u"?r in i&&i[r].handlers.some(o=>o.namespace===l):r in i}}function tu(e,t,n=!1){return function(l,...i){const o=e[t];o[l]||(o[l]={handlers:[],runs:0}),o[l].runs++;const s=o[l].handlers;if(!s||!s.length)return n?i[0]:void 0;const u={name:l,currentIndex:0};for(o.__current.push(u);u.currentIndex"u"?typeof l.__current[0]<"u":l.__current[0]?r===l.__current[0].name:!1}}function lu(e,t){return function(r){const l=e[t];if($o(r))return l[r]&&l[r].runs?l[r].runs:0}}class lp{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=bs(this,"actions"),this.addFilter=bs(this,"filters"),this.removeAction=Cr(this,"actions"),this.removeFilter=Cr(this,"filters"),this.hasAction=eu(this,"actions"),this.hasFilter=eu(this,"filters"),this.removeAllActions=Cr(this,"actions",!0),this.removeAllFilters=Cr(this,"filters",!0),this.doAction=tu(this,"actions"),this.applyFilters=tu(this,"filters",!0),this.currentAction=nu(this,"actions"),this.currentFilter=nu(this,"filters"),this.doingAction=ru(this,"actions"),this.doingFilter=ru(this,"filters"),this.didAction=lu(this,"actions"),this.didFilter=lu(this,"filters")}}function ip(){return new lp}const op=ip(),X=rp(void 0,void 0,op);X.getLocaleData.bind(X);X.setLocaleData.bind(X);X.resetLocaleData.bind(X);X.subscribe.bind(X);const N=X.__.bind(X);X._x.bind(X);X._n.bind(X);X._nx.bind(X);X.isRTL.bind(X);X.hasTranslation.bind(X);function sp({activeTab:e,handleTabChange:t}){let n=localize==null?void 0:localize.eael_quick_setup_data,r=n==null?void 0:n.menu_items;r==null||r.wizard_column;let l=r==null?void 0:r.templately_status,i=r==null?void 0:r.items,o=r==null?void 0:r.templately_local_plugin_data,s=r==null?void 0:r.ea_pro_local_plugin_data,u=0,c="";return a.jsx(a.Fragment,{children:a.jsx("div",{className:`eael-onboard-nav-list flex justify-between ${n.menu_items.wizard_column}`,"data-step":"1",children:i.map((g,p)=>g==="Templately"&&l||o!==!1&&g==="Templately"||s&&g==="Go PRO"?null:(c=g.trim().toLowerCase().replace(/ /g,"-"),a.jsxs("div",{className:`eael-onboard-nav ${e===c?"active":""} ${c}`,children:[a.jsx("span",{className:"eael-nav-count",children:++u}),a.jsx("span",{className:"eael-nav-text",children:g})]},p)))})})}function up({activeTab:e,handleTabChange:t,modalTarget:n,handleModalChange:r,closeModal:l,emailAddress:i}){let o=localize==null?void 0:localize.eael_quick_setup_data,s=o==null?void 0:o.getting_started_content,u=s==null?void 0:s.youtube_promo_src;return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"eael-onboard-content-wrapper min-h-538",children:a.jsxs("div",{className:"eael-onboard-content",children:[a.jsxs("div",{className:"eael-onboard-content-top",children:[a.jsx("a",{href:"//www.youtube.com/watch?v=ZISSbnHo0rE&ab_channel=WPDeveloper",target:"_blank",children:a.jsx("img",{src:u,alt:N("Youtube Promo","essential-addons-for-elementor-lite")})}),a.jsx("h3",{children:N("Get Started with Essential Addons","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Thank you for choosing Essential Addons for Elementor. Follow these simple steps of easy setup wizard & enjoy your Elementor web-building experience now!","essential-addons-for-elementor-lite")})]}),a.jsxs("div",{className:"eael-next-step-wrapper",id:"eael-dashboard--wrapper",children:[a.jsxs("p",{children:[N("By proceeding, you grant permission for this plugin to collect your information.","essential-addons-for-elementor-lite"),a.jsx("span",{className:"collect-info eael-what-we-collect",onClick:r,"data-target":"what-we-collect",children:N("Find out what we collect.","essential-addons-for-elementor-lite")})]}),a.jsx("input",{type:"hidden",value:i,id:"eael_user_email_address",name:"eael_user_email_address"}),a.jsxs("button",{className:"primary-btn install-btn eael-setup-next-btn eael-user-email-address",type:"button","data-next":"configuration",onClick:t,children:[N("Proceed to Next Step","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]}),a.jsx("span",{className:"skip-item eael-setup-next-btn",type:"button","data-next":"configuration",onClick:t,children:N("Skip This Step","essential-addons-for-elementor-lite")})]})]})}),a.jsx("section",{class:`eael-modal-wrapper ${n=="what-we-collect"?"":"eael-d-none"} eael-what-we-collect-modal`,children:a.jsxs("div",{class:"eael-modal-content-wrapper eael-onboard-modal",children:[a.jsxs("div",{class:"",children:[a.jsx("h5",{children:N("What We Collect?","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("We collect non-sensitive diagnostic data and plugin usage information. Your site URL, WordPress & PHP version, plugins & themes, and email address to send you the discount coupon. This data lets us make sure this plugin always stays compatible with the most popular plugins and themes. No spam, we promise.","essential-addons-for-elementor-lite")})]}),a.jsx("div",{class:"eael-modal-close-btn",onClick:l,children:a.jsx("i",{class:"ea-dash-icon ea-close"})})]})})]})}function ap({activeTab:e,handleTabChange:t}){let n=localize==null?void 0:localize.eael_quick_setup_data,r=n==null?void 0:n.configuration_content,l=r==null?void 0:r.ea_logo_src;return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"eael-onboard-content-wrapper mb-4 min-h-538",children:a.jsxs("div",{className:"eael-onboard-content",children:[a.jsxs("div",{className:"eael-onboard-content-top",children:[a.jsx("img",{src:l,alt:N("EA Logo","essential-addons-for-elementor-lite")}),a.jsxs("h3",{children:[N("Choose Your Preferred Mode for Essential Addons","essential-addons-for-elementor-lite")," ","🚀"]}),a.jsxs("p",{children:[N("Select any mode you desire to start with; you can also easily access features of all modes at any point later.","essential-addons-for-elementor-lite")," ","🔥"]})]}),a.jsxs("div",{className:"eael-onboard-content-select",children:[a.jsxs("label",{className:"flex-1 checkbox--label",children:[a.jsx("input",{id:"basic",value:"basic",className:"eael_preferences eael-d-none",name:"eael_preferences",type:"radio",defaultChecked:"checked"}),a.jsxs("span",{className:"select--wrapper",children:[a.jsx("span",{className:"check-mark"}),a.jsxs("h4",{children:[N("Basic","essential-addons-for-elementor-lite")," ",a.jsx("span",{children:N("(Recommended)","essential-addons-for-elementor-lite")})]}),a.jsx("p",{children:N("Use the basic features of Essential Addons and keep your site lightweight. Most basic elements are activated in this option.","essential-addons-for-elementor-lite")})]})]}),a.jsxs("label",{className:"flex-1 checkbox--label",children:[a.jsx("input",{id:"advance",value:"advance",className:"eael_preferences eael-d-none",name:"eael_preferences",type:"radio"}),a.jsxs("span",{className:"select--wrapper",children:[a.jsx("span",{className:"check-mark"}),a.jsx("h4",{children:N("Advanced","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Build complex websites with the advanced functionalities of Essential Addons. All dynamic elements will be activated in this option.","essential-addons-for-elementor-lite")})]})]}),a.jsxs("label",{className:"flex-1 checkbox--label",children:[a.jsx("input",{id:"custom",value:"custom",className:"eael_preferences eael-d-none",name:"eael_preferences",type:"radio"}),a.jsxs("span",{className:"select--wrapper",children:[a.jsx("span",{className:"check-mark"}),a.jsx("h4",{children:N("Custom","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Configure the elements of Essential Addons according to your preferences to make your website engaging, captivate, and stand out.","essential-addons-for-elementor-lite")})]})]})]})]})}),a.jsx("div",{id:"eael-dashboard--wrapper",className:"eael-section-wrapper flex flex-end",children:a.jsxs("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"elements",onClick:t,children:[N("Next","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})})]})}function cp({activeTab:e,handleTabChange:t,showElements:n,handleShowElements:r}){var g,p;let l=localize==null?void 0:localize.eael_quick_setup_data,i=l==null?void 0:l.elements_content,o=i==null?void 0:i.elements_list,s="",u=(g=l==null?void 0:l.menu_items)==null?void 0:g.ea_pro_local_plugin_data,c=(p=l==null?void 0:l.menu_items)==null?void 0:p.templately_local_plugin_data;return o=typeof o=="object"?Object.entries(o):o,a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"eael-onboard-content-wrapper eael-onboard-elements mb-4",children:[a.jsxs("div",{className:"eael-connect-others flex gap-4 justify-between items-start mb-10",children:[a.jsxs("div",{className:"flex gap-4 flex-1",children:[a.jsx("div",{className:"eael-others-icon eaicon-1",children:a.jsx("i",{className:"ea-dash-icon ea-elements"})}),a.jsxs("div",{className:"max-w-454",children:[a.jsx("h4",{children:N("Turn on the Elements That You Need","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Enable/Disable the elements anytime you want from the Essential Addons Dashboard","essential-addons-for-elementor-lite")})]})]}),a.jsxs("button",{className:"primary-btn changelog-btn flex items-center gap-2 view-all-elements eael-d-none",type:"button",onClick:r,children:[N("View All","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]}),a.jsx("a",{href:"https://essential-addons.com/demos/",target:"_blank",rel:"noopener noreferrer",children:a.jsxs("span",{className:"primary-btn changelog-btn",children:[N("View All","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})})]}),a.jsx("div",{className:"onboard-scroll-wrap",children:a.jsx("div",{id:"Content",className:"eael-contents",children:o.map((v,x)=>{var k;return s="",a.jsxs("div",{children:[a.jsx("div",{className:`flex items-center gap-2 justify-between mb-4 eael-element-title-wrap ${n?"":s}`,children:a.jsx("h3",{className:"eael-content-title",children:v[1].title})}),a.jsx("div",{className:`eael-content-wrapper mb-10 eael-element-content-wrap ${n?"":s}`,children:(k=v[1])==null?void 0:k.elements.map(y=>{const T=y.preferences||"",f=T==="basic"?"checked":"";return a.jsx("div",{className:"eael-content-items eael-quick-setup-post-grid",children:a.jsxs("div",{className:"eael-content-head",children:[a.jsx("h5",{className:"toggle-label",children:y.title}),a.jsxs("label",{className:"toggle-wrap eael-quick-setup-toggler",children:[a.jsx("input",{type:"checkbox","data-preferences":T,name:`eael_element[${y.key}]`,defaultChecked:f}),a.jsx("span",{className:"slider"})]})]})},y.key)})})]},x)})})}),a.jsx("div",{className:"eael-section-overlay"})]}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsxs("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"configuration",onClick:t,children:[a.jsx("i",{className:"ea-dash-icon ea-left-arrow-long"}),N("Previous","essential-addons-for-elementor-lite")]}),a.jsxs("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":u?c?"integrations":"templately":"go-pro",onClick:t,children:[N("Next","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})]})]})}function dp({activeTab:e,handleTabChange:t}){var o;let n=localize==null?void 0:localize.eael_quick_setup_data,r=n==null?void 0:n.go_pro_content,l=r==null?void 0:r.feature_items,i=(o=n==null?void 0:n.menu_items)==null?void 0:o.templately_local_plugin_data;return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"eael-onboard-content-wrapper eael-onboard-pro mb-4",children:[a.jsxs("div",{className:"eael-connect-others flex gap-4 justify-between items-start mb-10",children:[a.jsxs("div",{className:"flex gap-4 flex-1",children:[a.jsx("div",{className:"eael-others-icon eaicon-1",children:a.jsx("i",{className:"ea-dash-icon ea-lock"})}),a.jsxs("div",{className:"max-w-454",children:[a.jsx("h4",{children:N("Unlock 40+ Advanced PRO Widgets","essential-addons-for-elementor-lite")}),a.jsxs("p",{children:[N("Elevate your web-building experience with an array of cool premium elements, cutting-edge extensions & robust integrations. ","essential-addons-for-elementor-lite"),"🔥"]})]})]}),a.jsx("a",{target:"_blank",href:"https://wpdeveloper.com/in/upgrade-essential-addons-elementor",rel:"noopener noreferrer",children:a.jsxs("span",{className:"upgrade-button",children:[a.jsx("i",{className:"ea-dash-icon ea-crown-1"}),N("Upgrade to PRO","essential-addons-for-elementor-lite")]})})]}),a.jsxs("div",{className:"eael-pro-features flex justify-between items-center",children:[a.jsxs("div",{className:"eael-features-content",children:[a.jsx("h2",{children:N("Explore Premium Features","essential-addons-for-elementor-lite")}),a.jsx("p",{className:"mb-7",children:N("Discover the premium features of the most popular elements library for Elementor. Experience the web building experience with:","essential-addons-for-elementor-lite")}),a.jsxs("div",{className:"eael-feature-list-wrap mb-6",children:[a.jsxs("div",{className:"eael-feature-list-item flex gap-2 items-center mb-4",children:[a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5 7L6.33333 8.33333L9 5.66667M1 7C1 7.78793 1.15519 8.56815 1.45672 9.2961C1.75825 10.0241 2.20021 10.6855 2.75736 11.2426C3.31451 11.7998 3.97595 12.2417 4.7039 12.5433C5.43185 12.8448 6.21207 13 7 13C7.78793 13 8.56815 12.8448 9.2961 12.5433C10.0241 12.2417 10.6855 11.7998 11.2426 11.2426C11.7998 10.6855 12.2417 10.0241 12.5433 9.2961C12.8448 8.56815 13 7.78793 13 7C13 6.21207 12.8448 5.43185 12.5433 4.7039C12.2417 3.97595 11.7998 3.31451 11.2426 2.75736C10.6855 2.20021 10.0241 1.75825 9.2961 1.45672C8.56815 1.15519 7.78793 1 7 1C6.21207 1 5.43185 1.15519 4.7039 1.45672C3.97595 1.75825 3.31451 2.20021 2.75736 2.75736C2.20021 3.31451 1.75825 3.97595 1.45672 4.7039C1.15519 5.43185 1 6.21207 1 7Z",stroke:"#750EF4","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),a.jsx("p",{children:N("Customization Flexibility in Design with Premium Creative Elements.","essential-addons-for-elementor-lite")})]}),a.jsxs("div",{className:"eael-feature-list-item flex gap-2 items-center mb-4",children:[a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5 7L6.33333 8.33333L9 5.66667M1 7C1 7.78793 1.15519 8.56815 1.45672 9.2961C1.75825 10.0241 2.20021 10.6855 2.75736 11.2426C3.31451 11.7998 3.97595 12.2417 4.7039 12.5433C5.43185 12.8448 6.21207 13 7 13C7.78793 13 8.56815 12.8448 9.2961 12.5433C10.0241 12.2417 10.6855 11.7998 11.2426 11.2426C11.7998 10.6855 12.2417 10.0241 12.5433 9.2961C12.8448 8.56815 13 7.78793 13 7C13 6.21207 12.8448 5.43185 12.5433 4.7039C12.2417 3.97595 11.7998 3.31451 11.2426 2.75736C10.6855 2.20021 10.0241 1.75825 9.2961 1.45672C8.56815 1.15519 7.78793 1 7 1C6.21207 1 5.43185 1.15519 4.7039 1.45672C3.97595 1.75825 3.31451 2.20021 2.75736 2.75736C2.20021 3.31451 1.75825 3.97595 1.45672 4.7039C1.15519 5.43185 1 6.21207 1 7Z",stroke:"#750EF4","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),a.jsx("p",{children:N("Advanced WooCommerce Widgets like Checkout, Cross-Sells & more.","essential-addons-for-elementor-lite")})]}),a.jsxs("div",{className:"eael-feature-list-item flex gap-2 items-center mb-4",children:[a.jsx("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5 7L6.33333 8.33333L9 5.66667M1 7C1 7.78793 1.15519 8.56815 1.45672 9.2961C1.75825 10.0241 2.20021 10.6855 2.75736 11.2426C3.31451 11.7998 3.97595 12.2417 4.7039 12.5433C5.43185 12.8448 6.21207 13 7 13C7.78793 13 8.56815 12.8448 9.2961 12.5433C10.0241 12.2417 10.6855 11.7998 11.2426 11.2426C11.7998 10.6855 12.2417 10.0241 12.5433 9.2961C12.8448 8.56815 13 7.78793 13 7C13 6.21207 12.8448 5.43185 12.5433 4.7039C12.2417 3.97595 11.7998 3.31451 11.2426 2.75736C10.6855 2.20021 10.0241 1.75825 9.2961 1.45672C8.56815 1.15519 7.78793 1 7 1C6.21207 1 5.43185 1.15519 4.7039 1.45672C3.97595 1.75825 3.31451 2.20021 2.75736 2.75736C2.20021 3.31451 1.75825 3.97595 1.45672 4.7039C1.15519 5.43185 1 6.21207 1 7Z",stroke:"#750EF4","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})}),a.jsx("p",{children:N("Cutting-edge Extensions Like Custom JS, Content Protection & more.","essential-addons-for-elementor-lite")})]})]}),a.jsx("a",{href:"https://essential-addons.com/demos/",target:"_blank",rel:"noopener noreferrer",children:a.jsxs("span",{className:"primary-btn changelog-btn",children:[a.jsx("i",{className:"ea-dash-icon ea-link"}),N("Learn More","essential-addons-for-elementor-lite")]})})]}),a.jsx("div",{className:"features-widget-wrapper",children:l.map((s,u)=>a.jsx("div",{className:"features-widget-item",children:a.jsxs("a",{href:s.link,target:"_blank",rel:"noopener noreferrer",children:[a.jsx("img",{src:s.img_src,alt:N(s.title,"essential-addons-for-elementor-lite")}),a.jsx("span",{className:"eael-tooltip",children:N(s.title,"essential-addons-for-elementor-lite")})]})},u))})]})]}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsxs("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"elements",onClick:t,children:[a.jsx("i",{className:"ea-dash-icon ea-left-arrow-long"}),N("Previous","essential-addons-for-elementor-lite")]}),a.jsxs("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":i?"integrations":"templately",onClick:t,children:[N("Next","essential-addons-for-elementor-lite"),a.jsx("i",{className:"ea-dash-icon ea-right-arrow-long"})]})]})]})}function fp({activeTab:e,handleTabChange:t,handleIntegrationSwitch:n}){let r=localize==null?void 0:localize.eael_quick_setup_data,l=r==null?void 0:r.templately_content;return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"eael-onboard-content-wrapper eael-onboard-templately mb-4 min-h-538",children:a.jsxs("div",{className:"eael-general-content-item templates flex justify-between items-center gap-5",children:[a.jsxs("div",{className:"templates-content",children:[a.jsxs("h2",{children:[a.jsx("span",{className:"title-color-2",children:N("5000+","essential-addons-for-elementor-lite")})," ",N("Ready Templates","essential-addons-for-elementor-lite")]}),a.jsx("p",{className:"mb-10",children:N("Unlock an extensive collection of ready WordPress templates from Templately along with full site import and cloud collaboration features.","essential-addons-for-elementor-lite")}),a.jsxs("div",{className:"eael-templately-details flex flex-col gap-4",children:[a.jsxs("div",{className:"eael-content-details flex gap-3 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_1_src,alt:N("Templately Icon 1","essential-addons-for-elementor-lite")})}),N("Stunning Ready Website Templates","essential-addons-for-elementor-lite")]}),a.jsxs("div",{className:"eael-content-details flex gap-3 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_2_src,alt:N("Templately Icon 2","essential-addons-for-elementor-lite")})}),N("One-Click Full Site Import","essential-addons-for-elementor-lite")]}),a.jsxs("div",{className:"eael-content-details flex gap-3 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_3_src,alt:N("Templately Icon 3","essential-addons-for-elementor-lite")})}),N("Team Collaboration WorkSpace","essential-addons-for-elementor-lite")]}),a.jsxs("div",{className:"eael-content-details flex gap-4 items-center",children:[a.jsx("span",{children:a.jsx("img",{src:l==null?void 0:l.templately_icon_4_src,alt:N("Templately Icon 4","essential-addons-for-elementor-lite")})}),N("Unlimited Cloud Storage","essential-addons-for-elementor-lite")]})]})]}),a.jsx("div",{className:"templates-img",children:a.jsx("img",{src:l==null?void 0:l.templately_promo_src,alt:N("Templately Promo","essential-addons-for-elementor-lite")})})]})}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsx("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":"integrations",onClick:t,children:N("Skip","essential-addons-for-elementor-lite")}),a.jsx("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn eael-quick-setup-next-button wpdeveloper-plugin-installer",type:"button","data-next":"integrations","data-action":"install","data-slug":"templately",onClick:async i=>{await n(i,"",1)},children:N("Enable Templates","essential-addons-for-elementor-lite")})]})]})}function pp({activeTab:e,handleTabChange:t,modalTarget:n,handleModalChange:r,closeModal:l,handleIntegrationSwitch:i,disableSwitches:o}){var y,T;let s=localize==null?void 0:localize.eael_quick_setup_data,u=s==null?void 0:s.integrations_content,c=(y=s==null?void 0:s.menu_items)==null?void 0:y.ea_pro_local_plugin_data,g=(T=s==null?void 0:s.menu_items)==null?void 0:T.templately_local_plugin_data,p=u==null?void 0:u.plugin_list;const[v,x]=Qe.useState(p),k=async f=>{f.preventDefault();const d=f.target;d.setAttribute("disabled","disabled");let m=new FormData(document.querySelector("form.eael-setup-wizard-form"));m=new URLSearchParams(m).toString();try{const w=await(await fetch(localize.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"save_setup_wizard_data",security:localize.nonce,fields:m})})).json();w.success?(r({currentTarget:{getAttribute:()=>"modal"}}),setTimeout(()=>{window.location=w.data.redirect_url},3e3)):(d.removeAttribute("disabled"),Swal.fire({icon:"error",title:"Error",text:"error"}))}catch{d.removeAttribute("disabled"),Swal.fire({icon:"error",title:"Error",text:"error"})}};return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"eael-onboard-content-wrapper eael-onboard-integrations mb-4",children:[a.jsxs("div",{className:"eael-connect-others flex gap-4 justify-between items-start mb-10",children:[a.jsxs("div",{className:"flex gap-4 flex-1",children:[a.jsx("div",{className:"eael-others-icon eaicon-1",children:a.jsx("i",{className:"ea-dash-icon ea-plug"})}),a.jsxs("div",{className:"max-w-454",children:[a.jsx("h4",{children:N("Fusion Hub for WordPress","essential-addons-for-elementor-lite")}),a.jsx("p",{children:N("Boost your websites with some exclusive and popular plugins to get the most out of WordPress.","essential-addons-for-elementor-lite")})]})]}),a.jsxs("div",{className:"toggle-wrapper flex items-center gap-2 eael-d-none",children:[a.jsx("h5",{children:N("Enable All Integrations","essential-addons-for-elementor-lite")}),a.jsxs("label",{className:"toggle-wrap",children:[a.jsx("input",{type:"checkbox"}),a.jsx("span",{className:"slider"})]})]})]}),a.jsx("div",{className:"eael-integration-content-wrapper onboard-scroll-wrap",children:v.map(f=>a.jsxs("div",{className:"eael-integration-item",children:[a.jsxs("div",{className:"eael-integration-header flex gap-2 items-center",children:[a.jsx("img",{src:f.logo,alt:"logo",width:"30"}),a.jsx("h5",{children:f.title})]}),a.jsxs("div",{className:"eael-integration-footer",children:[a.jsx("p",{children:f.desc}),a.jsxs("div",{className:"integration-settings flex justify-between items-center",children:[a.jsx("h5",{className:"toggle-label",children:f.local_plugin_data===!1||!f.is_active?N("Activate","essential-addons-for-elementor-lite"):N("Deactivate","essential-addons-for-elementor-lite")}),a.jsx("button",{className:"wpdeveloper-plugin-installer eael-quick-setup-wpdeveloper-plugin-installer eael-d-none","data-action":f.local_plugin_data===!1?"install":"activate","data-slug":f.slug,"data-basename":f.basename,children:f.local_plugin_data===!1?N("Install","essential-addons-for-elementor-lite"):f.is_active?N("Activated","essential-addons-for-elementor-lite"):N("Activate","essential-addons-for-elementor-lite")}),a.jsxs("label",{className:"toggle-wrap",children:[a.jsx("input",{type:"checkbox",className:"enable-integration-switch",defaultChecked:f.is_active,"data-local_plugin_data":f.local_plugin_data,onChange:d=>i(d,f),disabled:o}),a.jsx("span",{className:"slider"})]})]})]})]},f.basename))}),a.jsx("div",{className:"eael-section-overlay"})]}),a.jsxs("div",{className:"eael-section-wrapper flex flex-end gap-4",children:[a.jsxs("button",{className:"previous-btn flex gap-2 items-center eael-setup-next-btn",type:"button","data-next":g?c?"elements":"go-pro":"templately",onClick:t,children:[a.jsx("i",{className:"ea-dash-icon ea-left-arrow-long"}),N("Previous","essential-addons-for-elementor-lite")]}),a.jsx("button",{className:"primary-btn install-btn flex gap-2 items-center eael-setup-next-btn1 eael-setup-wizard-save","data-next":"",onClick:k,children:N("Finish","essential-addons-for-elementor-lite")})]})]})}function mp({closeModal:e}){let t=localize==null?void 0:localize.eael_quick_setup_data,n=t==null?void 0:t.modal_content,r=n==null?void 0:n.success_2_src;return a.jsx(a.Fragment,{children:a.jsx("section",{className:"eael-modal-wrapper",children:a.jsxs("div",{className:"eael-modal-content-wrapper eael-onboard-modal",children:[a.jsxs("div",{className:"congrats--wrapper",children:[a.jsx("img",{className:"eael-modal-map-img",src:r,alt:N("Success Image","essential-addons-for-elementor-lite")}),a.jsx("h4",{className:"congrats--title",children:N("Congratulations!","essential-addons-for-elementor-lite")}),a.jsxs("h6",{className:"congrats--content",children:[N("You are now ready to enjoy all the amazing features..","essential-addons-for-elementor-lite")," 🎉"]})]}),a.jsx("div",{className:"eael-modal-close-btn",onClick:e,children:a.jsx("i",{className:"ea-dash-icon ea-close"})})]})})})}function hp(){var m;let e=localize.eael_quick_setup_data,t=(m=e==null?void 0:e.getting_started_content)==null?void 0:m.is_tracking_allowed,n=t?"configuration":"getting-started";const[r,l]=Qe.useState(n),[i,o]=Qe.useState(""),[s,u]=Qe.useState(0),[c,g]=Qe.useState(t),[p,v]=Qe.useState(!1),x=h=>{l(h.currentTarget.getAttribute("data-next")),h.currentTarget.classList.contains("eael-user-email-address")&&(g("1"),document.getElementById("eael_user_email_address").value=1,k())},k=async h=>{let w=new FormData(document.querySelector("form.eael-setup-wizard-form"));w=new URLSearchParams(w).toString();try{(await(await fetch(localize.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({action:"enable_wpins_process",security:localize.nonce,fields:w})})).json()).success}catch{}},y=h=>{o(h.currentTarget.getAttribute("data-target"))},T=()=>{o("")},f=h=>{u(1)},d=async(h,w,_=0)=>{v(!0);const C=h.target.checked??0,E=h.target.getAttribute("data-local_plugin_data")==="false",D=E?"install":C?"activate":"deactivate",L=E?w==null?void 0:w.slug:w==null?void 0:w.basename;let re={action:`wpdeveloper_${D}_plugin`,security:localize.nonce};re[E?"slug":"basename"]=L;let ge="",Ve="";if(_?(re.action="wpdeveloper_install_plugin",re.slug="templately",ge=h.currentTarget,Ve=h.currentTarget.getAttribute("data-next")):ge=h.target.closest(".eael-integration-footer").querySelector(".toggle-label"),ge){ge.textContent="Processing...";try{(await(await fetch(localize.ajaxurl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(re).toString()})).json()).success?(_?(ge.textContent="Enabled Templates",l(Ve)):ge.textContent=C?"Deactivate":"Activate",E&&setPluginList(pn=>pn.map(xt=>xt.slug===w.slug?{...xt,local_plugin_data:!0}:xt))):_?l(Ve):ge.textContent=C?"Activate":"Deactivate"}catch{}}v(!1)};return a.jsx(a.Fragment,{children:a.jsx("section",{className:"eael-onboard-main-wrapper eael-quick-setup-wizard-wrapper",children:a.jsxs("form",{className:"eael-setup-wizard-form eael-quick-setup-wizard-form",method:"post",children:[a.jsx("div",{className:"eael-menu-items",children:a.jsx(sp,{activeTab:r,handleTabChange:x})}),!t&&a.jsx("div",{className:`eael-setup-content eael-getting-started-content ${r=="getting-started"?"":"eael-d-none"}`,children:a.jsx(up,{activeTab:r,handleTabChange:x,modalTarget:i,handleModalChange:y,closeModal:T,emailAddress:c})}),a.jsx("div",{className:`eael-setup-content eael-configuration-content ${r==="configuration"?"":"eael-d-none"}`,children:a.jsx(ap,{activeTab:r,handleTabChange:x})}),a.jsx("div",{className:`eael-setup-content eael-elements-content ${r==="elements"?"":"eael-d-none"}`,children:a.jsx(cp,{activeTab:r,handleTabChange:x,showElements:s,handleShowElements:f})}),a.jsx("div",{className:`eael-setup-content eael-go-pro-content ${r==="go-pro"?"":"eael-d-none"}`,children:a.jsx(dp,{activeTab:r,handleTabChange:x})}),a.jsx("div",{className:`eael-setup-content eael-templately-content ${r==="templately"?"":"eael-d-none"}`,children:a.jsx(fp,{activeTab:r,handleTabChange:x,handleIntegrationSwitch:d})}),a.jsx("div",{className:`eael-setup-content eael-integrations-content ${r==="integrations"?"":"eael-d-none"}`,children:a.jsx(pp,{activeTab:r,handleTabChange:x,modalTarget:i,handleModalChange:y,closeModal:T,handleIntegrationSwitch:d,disableSwitches:p})}),i==="modal"&&a.jsx("div",{className:"eael-modal-content",children:a.jsx(mp,{activeTab:r,handleTabChange:x,modalTarget:i,handleModalChange:y,closeModal:T})})]})})})}Zl.createRoot(document.getElementById("eael-onboard--wrapper")).render(a.jsx(Ic.StrictMode,{children:a.jsx(hp,{})})); diff --git a/includes/templates/admin/quick-setup/src/components/App.jsx b/includes/templates/admin/quick-setup/src/components/App.jsx index 88988c1d7..2f625e829 100644 --- a/includes/templates/admin/quick-setup/src/components/App.jsx +++ b/includes/templates/admin/quick-setup/src/components/App.jsx @@ -18,6 +18,7 @@ function App() { const [modalTarget, setModalTarget] = useState(""); const [showElements, setShowElements] = useState(0); const [emailAddress, setEmailAddress] = useState(is_tracking_allowed); + const [disableSwitches, setDisableSwitches] = useState(false); const handleTabChange = (event) => { setActiveTab(event.currentTarget.getAttribute("data-next")); @@ -70,6 +71,8 @@ function App() { }; const handleIntegrationSwitch = async (event, plugin, isTemplately = 0) => { + setDisableSwitches(true); + const isChecked = event.target.checked ?? 0; const isActionInstall = @@ -115,6 +118,7 @@ function App() { }); const result = await response.json(); + if (result.success) { if( isTemplately ) { label.textContent = 'Enabled Templates'; @@ -139,13 +143,15 @@ function App() { } } } catch (error) { - if( isTemplately ) { - setActiveTab(dataNext); - } else { - label.textContent = isChecked ? "Activate" : "Deactivate"; - } + // if( isTemplately ) { + // setActiveTab(dataNext); + // } else { + // label.textContent = isChecked ? "Activate" : "Deactivate"; + // } } } + + setDisableSwitches(false); }; return ( @@ -238,6 +244,7 @@ function App() { handleModalChange={handleModalChange} closeModal={closeModal} handleIntegrationSwitch={handleIntegrationSwitch} + disableSwitches={disableSwitches} /> diff --git a/includes/templates/admin/quick-setup/src/components/IntegrationContent.jsx b/includes/templates/admin/quick-setup/src/components/IntegrationContent.jsx index 7b648dce4..0aff00710 100644 --- a/includes/templates/admin/quick-setup/src/components/IntegrationContent.jsx +++ b/includes/templates/admin/quick-setup/src/components/IntegrationContent.jsx @@ -8,6 +8,7 @@ function IntegrationContent({ handleModalChange, closeModal, handleIntegrationSwitch, + disableSwitches, }) { let eaelQuickSetup = localize?.eael_quick_setup_data; let integrations_content = eaelQuickSetup?.integrations_content; @@ -145,6 +146,7 @@ function IntegrationContent({ onChange={(event) => handleIntegrationSwitch(event, plugin) } + disabled={disableSwitches} />