(self.webpackChunk=self.webpackChunk||[]).push([["3677"],{50156:function(e,t,n){var r={"./id-ID/common.json":["10712","5155"],"./id-ID/home.json":["93242","7217"],"./pt-PT/tool-manager.json":["60229","758"],"./it/home.json":["30291","5418"],"./nl/tool-manager.json":["52124","1274"],"./de/apps.json":["1631","6430"],"./id-ID/tool-manager.json":["52079","8340"],"./it/apps.json":["84378","4987"],"./he-IL/apps.json":["7795","9241"],"./es/tool-manager.json":["74076","7632"],"./fr/tool-manager.json":["68486","201"],"./he-IL/common.json":["18168","9996"],"./es/apps.json":["51601","1966"],"./en/home.json":["76032","2189"],"./en/url-mismatch.json":["78295","5975"],"./de/tool-manager.json":["40475","7651"],"./es/common.json":["54499","9978"],"./it/tool-manager.json":["31036","6809"],"./nl/common.json":["84354","2"],"./nl/home.json":["63554","6717"],"./pt-BR/tool-manager.json":["83625","3191"],"./pt-PT/apps.json":["4305","9538"],"./fr/common.json":["25022","7190"],"./pt-PT/home.json":["25805","215"],"./pl-PL/home.json":["68086","1389"],"./tr-TR/home.json":["85170","434"],"./fr/home.json":["38520","1093"],"./nl/apps.json":["30704","710"],"./tr-TR/apps.json":["68860","9442"],"./en/apps.json":["429","1285"],"./pt-BR/home.json":["69543","2799"],"./de/common.json":["24806","3494"],"./it/common.json":["46387","9758"],"./he-IL/home.json":["79613","4702"],"./en/tool-manager.json":["55458","1446"],"./id-ID/apps.json":["18850","6312"],"./pl-PL/common.json":["48059","8662"],"./pt-BR/apps.json":["54319","5722"],"./pt-BR/common.json":["74490","441"],"./fr/apps.json":["57848","8455"],"./pt-PT/common.json":["43861","6275"],"./pl-PL/tool-manager.json":["53374","820"],"./tr-TR/tool-manager.json":["34212","4483"],"./pl-PL/apps.json":["42522","7568"],"./es/home.json":["44593","3246"],"./en/common.json":["17965","7902"],"./de/home.json":["57359","5097"],"./he-IL/tool-manager.json":["76010","7301"],"./tr-TR/common.json":["59749","5797"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n.t(o,19)})}o.keys=()=>Object.keys(r),o.id=50156,e.exports=o},91140:function(e,t,n){var r={"./pt-PT/common.json":["7263","8488"],"./tr-TR/common.json":["82587","2386"],"./id-ID/common.json":["83159","2953"],"./es/common.json":["16157","5235"],"./nl/common.json":["33275","8753"],"./en/common.json":["72676","2881"],"./fr/common.json":["35129","1112"],"./de/common.json":["56727","1184"],"./he-IL/common.json":["95540","5464"],"./it/common.json":["90328","2513"],"./pl-PL/common.json":["91167","9716"],"./pt-BR/common.json":["41939","497"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n.t(o,19)})}o.keys=()=>Object.keys(r),o.id=91140,e.exports=o},4411:function(e,t,n){var r={"./tr-TR/components.json":["92599","7437"],"./nl/toast.json":["26436","8853"],"./id-ID/common.json":["79440","8669"],"./pt-BR/components.json":["94089","6341"],"./es/toast.json":["98330","5319"],"./pl-PL/toast.json":["8984","8567"],"./nl/components.json":["75193","3607"],"./de/toast.json":["86363","3699"],"./he-IL/common.json":["57744","6823"],"./it/toast.json":["11126","1636"],"./es/common.json":["33545","7270"],"./fr/toast.json":["64166","1729"],"./nl/common.json":["28922","162"],"./fr/common.json":["68627","9769"],"./it/components.json":["83780","7926"],"./en/components.json":["11281","581"],"./pt-BR/toast.json":["91710","7626"],"./es/components.json":["32375","9391"],"./id-ID/toast.json":["30062","3390"],"./fr/components.json":["74603","4348"],"./pl-PL/components.json":["77702","8672"],"./de/common.json":["58595","4453"],"./he-IL/components.json":["1162","9913"],"./en/toast.json":["59400","1372"],"./it/common.json":["34686","3426"],"./pl-PL/common.json":["52225","9264"],"./he-IL/toast.json":["77566","2573"],"./de/components.json":["63877","2993"],"./pt-BR/common.json":["78886","2832"],"./pt-PT/common.json":["85946","9257"],"./pt-PT/components.json":["34221","5092"],"./pt-PT/toast.json":["77703","9564"],"./id-ID/components.json":["51659","8768"],"./en/common.json":["28645","905"],"./tr-TR/toast.json":["8979","6975"],"./tr-TR/common.json":["76222","8757"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n.t(o,19)})}o.keys=()=>Object.keys(r),o.id=4411,e.exports=o},65654:function(e,t,n){var r={"./tr-TR/assets-whatsnew.json":["99024","6438"],"./tr-TR/send-feedback.json":["7111","9153"],"./id-ID/common.json":["95994","1513"],"./it/send-feedback.json":["61583","2965"],"./id-ID/send-feedback.json":["64777","897"],"./en/send-feedback.json":["21515","7148"],"./fr/send-feedback.json":["69051","4331"],"./he-IL/common.json":["7384","8390"],"./es/common.json":["99545","6255"],"./nl/common.json":["37513","8980"],"./de/send-feedback.json":["61735","4424"],"./fr/common.json":["51722","4625"],"./he-IL/assets-whatsnew.json":["58643","4858"],"./de/assets-whatsnew.json":["7544","5923"],"./fr/assets-whatsnew.json":["14019","3198"],"./pt-PT/send-feedback.json":["68331","6597"],"./en/assets-whatsnew.json":["1461","3925"],"./pt-BR/send-feedback.json":["46312","8018"],"./de/common.json":["5676","931"],"./es/assets-whatsnew.json":["177","2619"],"./es/send-feedback.json":["34869","7881"],"./id-ID/assets-whatsnew.json":["76801","2218"],"./it/assets-whatsnew.json":["76593","1268"],"./it/common.json":["34613","8886"],"./nl/assets-whatsnew.json":["87964","1251"],"./nl/send-feedback.json":["72257","6094"],"./pl-PL/assets-whatsnew.json":["34806","2646"],"./pl-PL/common.json":["8622","96"],"./pt-PT/common.json":["33798","8997"],"./pt-PT/assets-whatsnew.json":["73822","8359"],"./en/common.json":["96955","2143"],"./he-IL/send-feedback.json":["1653","7948"],"./pl-PL/send-feedback.json":["31175","7337"],"./tr-TR/common.json":["99847","1413"]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return n.e(t[1]).then(function(){return n.t(o,19)})}o.keys=()=>Object.keys(r),o.id=65654,e.exports=o},60775:function(e,t,n){"use strict";var r,o,i,a,l,s,c,u,d,f,p,h,y,g,m,v,b,w,j,O,x,E,S,P,T,C,A,I,k,_,L,M,R,Z,D,N,U,B,F,G,W,z,K,V,H,q,$,Y,Q,J,X,ee,et,en,er,eo,ei,ea,el,es=n(52322),ec=n(17029),eu=n(73557),ed=n(2784);function ef(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ep(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var eh=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};ef(eh,"hasData",function(e){return null!=e&&("string"!=typeof e||""!==e)&&(!Array.isArray(e)||e.length>0)}),ef(eh,"isDefined",function(e){return void 0!==e}),ef(eh,"deepCopy",function(e){return JSON.stringify(e)?JSON.parse(JSON.stringify(e)):e}),ef(eh,"deepCompare",function(e,t){var n;return(void 0===e?"undefined":ep(e))===(void 0===t?"undefined":ep(t))&&(Array.isArray(e)?e.length===t.length&&e.every(function(e,n){return eh.deepCompare(e,t[n])}):(null!=(n=Date)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n)?e.getTime()===t.getTime():null!==e&&(void 0===e?"undefined":ep(e))==="object"?!Array.isArray(t)&&Object.keys(e).length===Object.keys(t).length&&Object.keys(e).every(function(n){return eh.deepCompare(e[n],t[n])}):JSON.stringify(e)===JSON.stringify(t))});var ey=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=(0,ed.useRef)(e);(0,ed.useEffect)(function(){o.current=e},[e]),(0,ed.useEffect)(function(){var e=function(){o.current()};if(null!==t&&n){r&&e();var i=setInterval(e,t);return function(){clearInterval(i)}}},[t,n,r])},eg=n(13278),em=n(99842),ev=n(54014),eb=n(74163),ew=((r={}).EN="en",r.DE="de",r.ES="es",r.IT="it",r.NL="nl",r.PT="pt-PT",r.PT_BR="pt-BR",r.FR="fr",r.HE="he-IL",r),ej=["he-IL","azb"],eO={store:["he-IL"]},ex=n(65444);function eE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eS=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function eP(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function eT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}eE(eS,"defaultLanguage","en"),eE(eS,"normalizeLocale",function(e){var t=e.replace(/_/g,"-");try{return new Intl.Locale(t).toString()}catch(e){return eS.defaultLanguage}}),eE(eS,"setSystemLanguage",function(e){ex.Z.set("elementor_locale",eS.convertToElementorLocale(e),{expires:Number.MAX_SAFE_INTEGER,path:"/",domain:".elementor.com"});var t,n=null===(t=window.braze)||void 0===t?void 0:t.getUser();n&&n.setLanguage(e)}),eE(eS,"getSystemLanguage",function(){var e=eS.getSupportedLanguage(new URLSearchParams(window.location.search).get("lang")),t=eS.getSupportedLanguage(ex.Z.get("elementor_locale")),n=eS.getSupportedLanguage(navigator.language||navigator.languages[0]),r=ew.EN;return e?r=e:t?r=t:n&&(r=n),Object.values(ew).includes(r)?r:ew.EN}),eE(eS,"isLanguageExcluded",function(e){return(eO[""]||[]).includes(e)}),eE(eS,"getSupportedLanguages",function(){return Object.values(ew).filter(function(e){return!eS.isLanguageExcluded(e)})}),eE(eS,"getSupportedLanguage",function(e){if(!e||eS.isLanguageExcluded(e))return null;if(Object.values(ew).includes(e))return e;var t=eS.normalizeLocale(e);if(Object.values(ew).includes(t))return t;if(ej.includes(e))return e;var n=e.split("_")[0];if(n&&Object.values(ew).includes(n))return n;var r=e.split("-")[0];return r&&Object.values(ew).includes(r)?r:null}),eE(eS,"convertToElementorLocale",function(e){if(!e)return"".concat(eS.defaultLanguage,"-").concat(eS.defaultLanguage.toUpperCase());var t,n=e.toLowerCase(),r=eE({},ew.EN,"US"),o=(eE(t={},ew.HE,"he-IL"),eE(t,ew.PT,"pt-PT"),eE(t,ew.PT_BR,"pt-BR"),t);if(o[e])return o[e];var i=r[e]||e.toUpperCase();return"".concat(n,"-").concat(i)});var eC=function e(){var t,n,r=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");var o=this;eT(this,"definedLanguage",eS.getSystemLanguage()),eT(this,"instances",[]),eT(this,"changeLanguage",(t=function(e){var t,n;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(r){switch(r.label){case 0:if(eS.isLanguageExcluded(e))return[2];return o.definedLanguage=e,t=eS.normalizeLocale(e),n=o.instances.map(function(e){return e.changeLanguage(t)}),eS.setSystemLanguage(e),[4,Promise.all(n)];case 1:return r.sent(),[2]}})},n=function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){eP(i,r,o,a,l,"next",e)}function l(e){eP(i,r,o,a,l,"throw",e)}a(void 0)})},function(e){return n.apply(this,arguments)})),eT(this,"createInstance",function(e,t){var n=em.ZP.createInstance();return n.use(ev.Z).use((0,eb.Z)(e)).use(eg.Db).init({lng:eS.normalizeLocale(r.definedLanguage),fallbackLng:"en",ns:"common",interpolation:{escapeValue:!1},react:{useSuspense:!0}}),r.instances.push(n),n}),eT(this,"getLanguage",function(){return r.definedLanguage})};eT(eC,"singleton",void 0),eT(eC,"getSingleton",function(){return eC.singleton||(eC.singleton=new eC),eC.singleton});let eA=eC.getSingleton();function eI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ek=function(){var e,t=(e=(0,ed.useState)(eA.getLanguage()),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return eI(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eI(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=t[0],r=t[1],o=(0,eg.$G)().i18n;return(0,ed.useEffect)(function(){var e=function(e){r(e)};return o.on("languageChanged",e),function(){o.off("languageChanged",e)}},[o]),n},e_=n(95397),eL=function(){return(0,e_.I0)()},eM=e_.v9,eR=n(86226),eZ=(0,n(18476).nB)(),eD=eZ.middleware,eN=eZ.addMiddleware,eU=eZ.withMiddleware,eB=eZ.createDispatchWithMiddlewareHook,eF=eN.withTypes();eU.withTypes(),eB.withTypes();var eG=(0,eR.oM)({name:"_empty",initialState:{},reducers:{refresh:function(e){return e}}}),eW=eG.actions.refresh,ez=(0,eR.Ku)(eG).withLazyLoadedSlices(),eK=function(){return ez},eV=n(43898),eH=(0,eR.xC)({reducer:eK(),middleware:function(e){return e().prepend(eD).prepend(eV.I)},devTools:!1}),eq=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"addSlice",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];eK().inject(e,{overrideExisting:t}),this.reflectChanges()}},{key:"addSlices",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.length&&(e.forEach(function(e){eK().inject(e,{overrideExisting:t})}),this.reflectChanges())}},{key:"addQuery",value:function(e){eK().inject(e),this.addMiddleware(e.middleware),this.reflectChanges()}},{key:"addQueries",value:function(e){var t=this;e.length&&(e.forEach(function(e){eK().inject(e),t.addMiddleware(e.middleware)}),this.reflectChanges())}},{key:"addMiddleware",value:function(e){eF(e)}},{key:"emptyStore",value:function(){var e=ez=(0,eR.Ku)(eG).withLazyLoadedSlices();eH.replaceReducer(e)}},{key:"isAlreadyInjected",value:function(e){return Object.keys(eH.getState()).includes(e)}},{key:"reflectChanges",value:function(){eH.dispatch(eW())}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();o="getStoreInstance",i=function(){return eH},o in eq?Object.defineProperty(eq,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):eq[o]=i;var e$=function(e,t,n){var r=(0,ed.useRef)(!0);r.current&&(r.current=!1,(null==e?void 0:e.length)&&eq.addSlices(e),(null==t?void 0:t.length)&&eq.addQueries(t),(null==n?void 0:n.length)&&n.forEach(function(e){eq.addMiddleware(e)}))},eY=(0,ed.memo)(function(e){var t=e.slices,n=e.queries,r=e.children;return e$(t,n),(0,es.jsx)(e_.zt,{store:eH,children:r})}),eQ=((a={}).PLUGIN="PLUGIN",a.HOSTING="HOSTING",a.APP_AI="APP_AI",a.APP_IO="APP_IO",a.APP_BKP="APP_BKP",a.FREE_TRIAL="FREE_TRIAL",a.APP_SERVICE="APP_SERVICE",a.APP_STRATTIC="APP_STRATTIC",a.APP_SUPPORT="APP_SUPPORT",a.APP_MAILER="APP_MAILER",a.APP_EMPMA="APP_EMPMA",a.APP_ACCESS="APP_ACCESS",a.APP_MANAGE="APP_MANAGE",a.APP_DOMAIN="APP_DOMAIN",a.APP_ONE="APP_ONE",a);function eJ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eX=((l={}).PERSONALIZATION_ITEM="personalization-item",l);eJ(Y={},"platinum_support",{HELP_POPUP:"help_popup"}),eJ(Y,"ab_test",{WELCOME_MODAL:"welcome_modal"}),eJ(Y,"ec_services",{SERVICE_BANNER:"service_banner"}),eJ(Y,"alerts",{PLAN_SWITCH_DOWNGRADE_AFTER_30_DAYS:"plan_switch_downgrade_after_30_days"}),eJ(Y,"websites",{FAVORITES:"favorites",MANAGE_WELCOME_MODAL:"manage_welcome_modal"}),eJ(Y,"navigation",{VISITED_NEW_NAVIGATION:"visited_new_navigation",MANAGE_STARTER_INFO_TOOLTIP:"manage_starter_info_tooltip"});var e0=n(67074),e1=(0,eR.oM)({name:"shared",initialState:{alertError:void 0,sharedLoader:void 0,showMobileNav:!1,toasts:[]},reducers:{setAlertError:function(e,t){e.alertError=t.payload},setSharedLoader:function(e,t){e.sharedLoader=t.payload},setShowMobileNav:function(e,t){e.showMobileNav=t.payload},setToast:function(e,t){var n,r,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({id:t.payload.id||(0,e0.Z)(),type:t.payload.type||"info",text:t.payload.text||"",show:void 0===t.payload.show||t.payload.show,autohide:void 0===t.payload.autohide||t.payload.autohide},t.payload),i=null===(n=e.toasts)||void 0===n?void 0:n.find(function(e){return e.id===o.id});i?Object.assign(i,o):null===(r=e.toasts)||void 0===r||r.push(o)},removeToast:function(e,t){var n,r=null===(n=e.toasts)||void 0===n?void 0:n.find(function(e){return e.id===t.payload});r&&(r.show=!1)}}}),e2=e1.actions;function e3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e1.reducer;var e4=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};e3(e4,"setAlertError",e2.setAlertError),e3(e4,"setSharedLoader",e2.setSharedLoader),e3(e4,"setShowMobileNav",e2.setShowMobileNav),e3(e4,"setToast",e2.setToast),e3(e4,"removeToast",e2.removeToast);var e6=n(95067),e5=((s={}).GET="GET",s.POST="POST",s.PUT="PUT",s.PATCH="PATCH",s.DELETE="DELETE",s.HEAD="HEAD",s),e7=((c={}).REST_INVALID_NONCE="rest_cookie_invalid_nonce",c);function e8(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function e9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){e9(e,t,n[t])})}return e}function tt(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var tn=function(){var e;function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e4,i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],a=arguments.length>4?arguments[4]:void 0,l=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");e9(this,"http",void 0);var c=te({Accept:"application/json","Content-Type":"application/json"},s||{});this.http=e6.Z.create({baseURL:e,timeout:o,responseType:"json",withCredentials:!1,headers:te({},c)}),r&&(this.http.defaults.withCredentials=!0),(null==l?void 0:l.length)&&l.forEach(function(e){n.http.interceptors.request.use(e.fulfilled,e.rejected)}),(null==a?void 0:a.length)&&a.forEach(function(e){n.http.interceptors.response.use(e.fulfilled,e.rejected)}),this.http.interceptors.response.use(function(e){return e},function(e){var t,n;if(i&&((null===(t=e.response)||void 0===t?void 0:t.status)===401||(null===(n=e.response)||void 0===n?void 0:n.status)===403&&e.response.data.code===e7.REST_INVALID_NONCE)){var r="https://my.elementor.com/login/",o=encodeURIComponent(window.location.pathname+window.location.search+window.location.hash),a="".concat(r).concat(r.includes("?")?"&":"?","redirect_to=").concat(o);window.location.replace(a)}return Promise.reject(e)})}return e=[{key:"request",value:function(e,t,n){var r,o=this;return(r=function(){var r;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,o.http.request(te({method:e,url:t},n))];case 1:return[2,i.sent()];case 2:return r=i.sent(),[2,o.normalizeError(r)];case 3:return[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function a(e){e8(i,n,o,a,l,"next",e)}function l(e){e8(i,n,o,a,l,"throw",e)}a(void 0)})})()}},{key:"normalizeError",value:function(e){return Promise.reject(e)}},{key:"getAttachmentHeaders",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return te({},e?{Accept:"*/*","Content-Type":"multipart/form-data"}:{})}},{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return this.request(e5.GET,e,tt(te({params:t},r&&r),{headers:te({},this.getAttachmentHeaders(n),(null==r?void 0:r.headers)&&r.headers)}))}},{key:"post",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;return this.request(e5.POST,e,tt(te({params:n,data:t},o&&o),{headers:te({},this.getAttachmentHeaders(r),(null==o?void 0:o.headers)&&o.headers)}))}},{key:"put",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;return this.request(e5.PUT,e,tt(te({params:n,data:t},o&&o),{headers:te({},this.getAttachmentHeaders(r),(null==o?void 0:o.headers)&&o.headers)}))}},{key:"patch",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;return this.request(e5.PATCH,e,tt(te({params:n,data:t},o&&o),{headers:te({},this.getAttachmentHeaders(r),(null==o?void 0:o.headers)&&o.headers)}))}},{key:"delete",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return this.request(e5.DELETE,e,tt(te({params:t},r&&r),{headers:te({},this.getAttachmentHeaders(n),(null==r?void 0:r.headers)&&r.headers)}))}},{key:"head",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return this.request(e5.HEAD,e,tt(te({params:t},r&&r),{headers:te({},this.getAttachmentHeaders(n),(null==r?void 0:r.headers)&&r.headers)}))}},{key:"getInstance",value:function(){return this.http}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function tr(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function to(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ti=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"sendFeedback",value:function(e){var t,n=this;return(t=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:return[4,n.httpClient.post("/home-product-feedback",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){to(e,t,n[t])})}return e}({},e))];case 1:return[2,t.sent().data]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){tr(i,r,o,a,l,"next",e)}function l(e){tr(i,r,o,a,l,"throw",e)}a(void 0)})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();function ta(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}to(ti,"httpClient",new tn("https://my.elementor.com/feedback/api/v1",!0,3e4,!0)),f=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")},p="sendFeedback",h=(0,eR.hg)("acdClient/sendFeedback",(u=function(e,t){var n,r;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(o){switch(o.label){case 0:t.dispatch,n=t.rejectWithValue,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,ti.sendFeedback(e)];case 2:return o.sent(),[3,4];case 3:return r=o.sent(),[2,n(r)];case 4:return[2]}})},d=function(){var e=this,t=arguments;return new Promise(function(n,r){var o=u.apply(e,t);function i(e){ta(o,n,r,i,a,"next",e)}function a(e){ta(o,n,r,i,a,"throw",e)}i(void 0)})},function(e,t){return d.apply(this,arguments)})),p in f?Object.defineProperty(f,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[p]=h;var tl=n(12986);function ts(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tc=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function tu(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function td(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){tu(i,r,o,a,l,"next",e)}function l(e){tu(i,r,o,a,l,"throw",e)}a(void 0)})}}ts(tc,"selectState",function(e){return e.shared}),ts(tc,"selectAlertError",(0,tl.P1)(tc.selectState,function(e){return null==e?void 0:e.alertError})),ts(tc,"selectSharedLoader",(0,tl.P1)(tc.selectState,function(e){return null==e?void 0:e.sharedLoader})),ts(tc,"selectShowMobileNav",(0,tl.P1)(tc.selectState,function(e){return null==e?void 0:e.showMobileNav})),ts(tc,"selectToasts",(0,tl.P1)(tc.selectState,function(e){return(null==e?void 0:e.toasts)||[]}));function tf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tp(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var th=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"getMe",value:function(){var e=this;return td(function(){var t,n,r;return tp(this,function(o){switch(o.label){case 0:return[4,e.httpClient.get("me")];case 1:var i,a;return n=(t=o.sent()).data,r=t.headers,[2,(i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){tf(e,t,n[t])})}return e}({},n),a=a={geoCountry:r["x-geoip-country"],elementorAuthHeader:r["x-elementor-auth"]||null},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(a)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(a)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(a,e))}),i)]}})})()}},{key:"updatePersonalInfo",value:function(e,t){var n=this;return td(function(){return tp(this,function(r){switch(r.label){case 0:return[4,n.usersHttpClient.patch("/user-info/".concat(e),t)];case 1:return[2,r.sent()]}})})()}},{key:"updatePassword",value:function(e,t){var n=this;return td(function(){return tp(this,function(r){switch(r.label){case 0:return[4,n.usersHttpClient.patch("/user-info/".concat(e,"/password"),t)];case 1:return[2,r.sent()]}})})()}},{key:"getBillingInfo",value:function(e){var t=this;return td(function(){return tp(this,function(n){switch(n.label){case 0:return[4,t.customerHttpClient.get("/user/".concat(e,"/account"))];case 1:return[2,n.sent().data.billingInfo]}})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();function ty(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}tf(th,"httpClient",new tn("https://my.elementor.com/api/v3/users",!0)),tf(th,"usersHttpClient",new tn("https://my.elementor.com/api/auth/v1",!1,3e4,!1)),tf(th,"customerHttpClient",new tn("https://my.elementor.com/customer/api/v1",!1,3e4,!1));var tg=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"getCallCenterAllowedBasedOnSubscription",value:function(e){var t,n=this;return(t=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:return[4,n.httpClient.get("/users/".concat(e,"/allowed-call-center"))];case 1:return[2,t.sent().data]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){ty(i,r,o,a,l,"next",e)}function l(e){ty(i,r,o,a,l,"throw",e)}a(void 0)})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();y="httpClient",g=new tn("https://my.elementor.com/care/api/v1",!0),y in tg?Object.defineProperty(tg,y,{value:g,enumerable:!0,configurable:!0,writable:!0}):tg[y]=g;var tm=n(89644);function tv(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function tb(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){tv(i,r,o,a,l,"next",e)}function l(e){tv(i,r,o,a,l,"throw",e)}a(void 0)})}}function tw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tj(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var tO=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};tw(tO,"getMe",(0,eR.hg)("getMe",(m=tb(function(e,t){var n,r,o,i,a;return tj(this,function(e){switch(e.label){case 0:n=t.dispatch,r=t.rejectWithValue,e.label=1;case 1:return e.trys.push([1,3,,4]),[4,th.getMe()];case 2:return o=e.sent(),n(tC.setMe(o)),[3,4];case 3:var l,s;if(l=i=e.sent(),(null!=(s=tm.d7)&&"undefined"!=typeof Symbol&&s[Symbol.hasInstance]?!!s[Symbol.hasInstance](l):l instanceof s)&&(null===(a=i.response)||void 0===a?void 0:a.status)===401)return[2,r((0,eR.cN)(i))];return n(tC.setMe(null)),[2,r((0,eR.cN)(i))];case 4:return[2]}})}),function(e,t){return m.apply(this,arguments)}),{condition:function(e,t){var n,r=t.getState,o=null!==(n=null==e?void 0:e.hardReload)&&void 0!==n&&n,i=r().sharedUser,a=i.me,l=i.loadingState,s=i.errorState;return!!o||!(void 0!==a||l.me||s.me||document.getElementById("reset-email"))}})),tw(tO,"getCallCenterAllowedBasedOnSubscription",(0,eR.hg)("getCallCenterAllowedBasedOnSubscription",(v=tb(function(e,t){var n,r;return tj(this,function(o){switch(o.label){case 0:n=t.dispatch,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,tg.getCallCenterAllowedBasedOnSubscription(e)];case 2:return r=o.sent(),n(tC.setCallCenterAllowedBasedOnSubscription(r)),[3,4];case 3:return o.sent(),n(tC.setCallCenterAllowedBasedOnSubscription(void 0)),[3,4];case 4:return[2]}})}),function(e,t){return v.apply(this,arguments)}))),tw(tO,"updatePersonalInfo",(0,eR.hg)("updatePersonalInfo",(b=tb(function(e,t){var n;return tj(this,function(r){switch(r.label){case 0:return n=t.dispatch,[4,th.updatePersonalInfo(e.userId,e.info)];case 1:return r.sent(),n(tC.setPersonalInfo(e.info)),[2]}})}),function(e,t){return b.apply(this,arguments)}))),tw(tO,"updatePassword",(0,eR.hg)("updatePassword",(w=tb(function(e){return tj(this,function(t){switch(t.label){case 0:return[4,th.updatePassword(e.userId,e.data)];case 1:return t.sent(),[2]}})}),function(e){return w.apply(this,arguments)}))),tw(tO,"getBillingInfo",(0,eR.hg)("getBillingInfo",(j=tb(function(e,t){var n,r;return tj(this,function(o){switch(o.label){case 0:return n=t.dispatch,[4,th.getBillingInfo(e)];case 1:return r=o.sent(),n(tC.setBillingInfo(r)),[2]}})}),function(e,t){return j.apply(this,arguments)})));var tx=["RU"];function tE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var tS=(0,eR.oM)({name:"sharedUser",initialState:{me:void 0,isNewStoreUser:!1,callCenterAllowedBasedOnSubscription:void 0,billingInfo:void 0,loadingState:{},errorState:{}},reducers:{setMe:function(e,t){var n,r;e.me=t.payload||null,e.isNewStoreUser=(null===(r=t.payload)||void 0===r||null===(n=r.commercePlatform)||void 0===n?void 0:n.toLocaleLowerCase())==="ecp"},updateMe:function(e,t){if(e.me){var n,r,o,i;e.me=tE({},e.me,t.payload),e.isNewStoreUser=(null===(r=t.payload)||void 0===r||null===(n=r.commercePlatform)||void 0===n?void 0:n.toLocaleLowerCase())==="ecp"||(null===(i=e.me)||void 0===i||null===(o=i.commercePlatform)||void 0===o?void 0:o.toLocaleLowerCase())==="ecp"}},setCallCenterAllowedBasedOnSubscription:function(e,t){e.callCenterAllowedBasedOnSubscription=t.payload},setEmail:function(e,t){e.me&&(e.me.email=t.payload)},setPersonalInfo:function(e,t){e.me&&(e.me.firstName=t.payload.firstName,e.me.lastName=t.payload.lastName)},setBillingInfo:function(e,t){var n,r=tE({},t.payload);r.countryCode&&(n=r.countryCode,tx.includes(n))&&(r.countryCode=""),e.billingInfo=r}},extraReducers:function(e){e.addCase(tO.getMe.pending,function(e,t){e.loadingState.me=!0}),e.addCase(tO.getMe.fulfilled,function(e,t){e.loadingState.me=!1}),e.addCase(tO.getMe.rejected,function(e,t){var n;e.errorState.me=(null==t||null===(n=t.error)||void 0===n?void 0:n.message)||"Unexpected Error",e.loadingState.me=!1}),e.addCase(tO.getBillingInfo.pending,function(e){e.loadingState.billingInfo=!0}),e.addCase(tO.getBillingInfo.fulfilled,function(e){e.loadingState.billingInfo=!1}),e.addCase(tO.getBillingInfo.rejected,function(e,t){var n;e.errorState.billingInfo=(null==t||null===(n=t.error)||void 0===n?void 0:n.message)||"Unexpected Error",e.loadingState.billingInfo=!1})}}),tP=tS.actions;function tT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tS.reducer;var tC=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function tA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tT(tC,"setMe",tP.setMe),tT(tC,"updateMe",tP.updateMe),tT(tC,"setCallCenterAllowedBasedOnSubscription",tP.setCallCenterAllowedBasedOnSubscription),tT(tC,"setEmail",tP.setEmail),tT(tC,"setPersonalInfo",tP.setPersonalInfo),tT(tC,"setBillingInfo",tP.setBillingInfo);var tI=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};tA(tI,"selectState",function(e){return e.sharedUser}),tA(tI,"selectMe",(0,tl.P1)(tI.selectState,function(e){return null==e?void 0:e.me})),tA(tI,"selectIsNewStoreUser",(0,tl.P1)(tI.selectState,function(e){var t;return null!==(t=null==e?void 0:e.isNewStoreUser)&&void 0!==t&&t})),tA(tI,"selectIsLoading",(0,tl.P1)(tI.selectState,function(e){var t;return null!==(t=null==e?void 0:e.loadingState.me)&&void 0!==t&&t})),tA(tI,"selectCallCenterAllowedBasedOnSubscription",(0,tl.P1)(tI.selectState,function(e){return null==e?void 0:e.callCenterAllowedBasedOnSubscription})),tA(tI,"selectBillingInfo",(0,tl.P1)(tI.selectState,function(e){return(null==e?void 0:e.billingInfo)||null})),tA(tI,"selectBillingInfoLoading",(0,tl.P1)(tI.selectState,function(e){var t;return null!==(t=null==e?void 0:e.loadingState.billingInfo)&&void 0!==t&&t}));var tk=new tn("https://my.elementor.com/api/account/v1",!0,3e4,!0,[]).getInstance(),t_=new tn("https://my.elementor.com/subscription/api/v1",!0,3e4,!0,[]).getInstance();function tL(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function tM(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){tL(i,r,o,a,l,"next",e)}function l(e){tL(i,r,o,a,l,"throw",e)}a(void 0)})}}function tR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tZ(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var tD=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};tR(tD,"fetchAvailableSubs",(0,eR.hg)("shared-subscription/fetchAvailableSubs",(O=tM(function(e,t){var n,r,o;return tZ(this,function(e){switch(e.label){case 0:n=t.dispatch,e.label=1;case 1:return e.trys.push([1,3,,4]),n({type:"FETCH_AVAILABLE_SUBS_BEGIN"}),[4,tk.get("/subscriptions/available")];case 2:return r=e.sent().data,n({type:"FETCH_AVAILABLE_SUBS_SUCCESS",payload:r}),[3,4];case 3:throw o=e.sent(),n({type:"FETCH_AVAILABLE_SUBS_FAILURE"}),o;case 4:return[2]}})}),function(e,t){return O.apply(this,arguments)}))),tR(tD,"toggleSubscriptionAutoRenewal",(0,eR.hg)("shared-subscription/toggleSubscriptionAutoRenewal",(x=tM(function(e,t){var n,r,o,i,a;return tZ(this,function(l){switch(l.label){case 0:n=e.subscriptionId,r=e.autoRenew,o=e.errorMessage,i=t.dispatch,l.label=1;case 1:return l.trys.push([1,3,,4]),i({type:"TOGGLE_AUTO_RENEWAL_BEGIN"}),[4,t_.patch("/toggle-auto-renew/".concat(n),{autoRenew:r})];case 2:return l.sent().data.success?i({type:"TOGGLE_AUTO_RENEWAL_SUCCESS",payload:{id:n,data:{state:r}}}):i(e4.setToast({type:"error",text:null!=o?o:"retryErrorMessage"})),[3,4];case 3:throw a=l.sent(),i({type:"TOGGLE_AUTO_RENEWAL_FAILURE",payload:a.message}),i(e4.setToast({type:"error",text:null!=o?o:"retryErrorMessage"})),a;case 4:return[2]}})}),function(e,t){return x.apply(this,arguments)}))),(0,tl.P1)([function(e){var t;return null===(t=e.subscriptions)||void 0===t?void 0:t.data},function(e){var t;return null===(t=e.subscriptions)||void 0===t?void 0:t.licenses},function(e,t){return t}],function(e,t,n){if(n){var r,o,i=null==e?void 0:e.find(function(e){return e.id==n});if(i)return(null==t?void 0:t[n])?(r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},i),o=o={license:t[n]},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r):i}});var tN=(0,eR.oM)({name:"banners",initialState:{banners:[],loadingState:{},errorState:{}},reducers:{setBanners:function(e,t){e.banners=t.payload},setLoadState:function(e,t){e.loadingState[t.payload.key]=t.payload.value},setErrorState:function(e,t){e.errorState[t.payload.key]=t.payload.value}}}),tU=tN.actions;function tB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tN.reducer;var tF=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function tG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tB(tF,"setBanners",tU.setBanners),tB(tF,"setLoadState",tU.setLoadState),tB(tF,"setErrorState",tU.setErrorState);var tW=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function tz(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}tG(tW,"selectState",function(e){return e.banners}),tG(tW,"selectBanner",(0,tl.P1)([tW.selectState,function(e,t){return t}],function(e,t){return((null==e?void 0:e.banners)||[]).find(function(e){var n;return(null===(n=e.extras)||void 0===n?void 0:n.type)===t&&!e.dismissed})})),tG(tW,"selectBanners",(0,tl.P1)(tW.selectState,function(e){return(null==e?void 0:e.banners)||[]})),tG(tW,"selectLoadingState",(0,tl.P1)([tW.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.loadingState[t])||!1})),tG(tW,"selectErrorState",(0,tl.P1)([tW.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.errorState[t])||!1}));var tK=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"getBanners",value:function(e){var t;return(t=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(t){return e?[2,new Promise(function(t){var n=[];e.subscribeToContentCardsUpdates(function(r){var o,i,a=null===(o=r.cards)||void 0===o?void 0:o.filter(function(e){return e.isControl}),l=null===(i=r.cards)||void 0===i?void 0:i.filter(function(e){return!e.isControl});a.length&&e.logContentCardImpressions(a),(n=l).sort(function(e,t){return e.extras.priority-t.extras.priority}),t(n)}),e.requestContentCardsRefresh()})]:[2,[]]})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){tz(i,r,o,a,l,"next",e)}function l(e){tz(i,r,o,a,l,"throw",e)}a(void 0)})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();function tV(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}E=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")},S="getBanners",P=function(e){var t,n;return t=function(t){var n,r;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),t(tF.setLoadState({key:"banners",value:!0})),[4,tK.getBanners(e)];case 1:return n=o.sent(),t(tF.setBanners(n)),t(tF.setLoadState({key:"banners",value:!1})),[3,3];case 2:return r=o.sent(),t(tF.setLoadState({key:"banners",value:!1})),t(tF.setErrorState({key:"banners",value:r.message})),[3,3];case 3:return[2]}})},n=function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){tV(i,r,o,a,l,"next",e)}function l(e){tV(i,r,o,a,l,"throw",e)}a(void 0)})},function(e){return n.apply(this,arguments)}},S in E?Object.defineProperty(E,S,{value:P,enumerable:!0,configurable:!0,writable:!0}):E[S]=P,n(37968);var tH=function(){var e=eL();return{createToast:(0,ed.useCallback)(function(t){e(e4.setToast(t))},[e]),removeToast:(0,ed.useCallback)(function(t){e(e4.removeToast(t))},[e])}},tq=n(69763),t$=n(97861),tY=(0,tq.LC)({reducerPath:"personalizationApi",baseQuery:(0,t$.ni)({baseUrl:"https://my.elementor.com/personalization/api/v1",credentials:"include"}),tagTypes:[eX.PERSONALIZATION_ITEM],endpoints:function(e){return{getPersonalizationItem:e.query({query:function(e){var t=e.entityType,n=e.entityId,r=e.namespace,o=e.key;return{url:"/".concat(t,"/").concat(n,"/").concat(r,"/").concat(o),method:"GET"}},transformResponse:function(e){if(null==e?void 0:e.length)return e[0].data||null},providesTags:function(e,t,n){var r=n.entityId,o=n.entityType,i=n.namespace,a=n.key;return[{type:eX.PERSONALIZATION_ITEM,id:"".concat(o,"_").concat(r,"_").concat(i,"_").concat(a)}]}}),setPersonalizationItem:e.mutation({query:function(e){var t=e.entityType,n=e.entityId,r=e.namespace,o=e.key,i=e.data;return{url:"".concat(t,"/").concat(n,"/").concat(r,"/").concat(o),method:"POST",body:i}},invalidatesTags:function(e,t,n){var r=n.entityId,o=n.entityType,i=n.namespace,a=n.key;return[{type:eX.PERSONALIZATION_ITEM,id:"".concat(o,"_").concat(r,"_").concat(i,"_").concat(a)}]}}),updatePersonalizationItem:e.mutation({query:function(e){var t=e.entityType,n=e.entityId,r=e.namespace,o=e.key,i=e.data;return{url:"".concat(t,"/").concat(n,"/").concat(r,"/").concat(o),method:"PATCH",body:i}},invalidatesTags:function(e,t,n){var r=n.entityId,o=n.entityType,i=n.namespace,a=n.key;return[{type:eX.PERSONALIZATION_ITEM,id:"".concat(o,"_").concat(r,"_").concat(i,"_").concat(a)}]}}),deletePersonalizationItem:e.mutation({query:function(e){var t=e.entityType,n=e.entityId,r=e.namespace,o=e.key;return{url:"/".concat(t,"/").concat(n,"/").concat(r,"/").concat(o),method:"DELETE"}},invalidatesTags:function(e,t,n){var r=n.entityId,o=n.entityType,i=n.namespace,a=n.key;return[{type:eX.PERSONALIZATION_ITEM,id:"".concat(o,"_").concat(r,"_").concat(i,"_").concat(a)}]}})}}});tY.useGetPersonalizationItemQuery,tY.useUpdatePersonalizationItemMutation,tY.useSetPersonalizationItemMutation,tY.useDeletePersonalizationItemMutation;var tQ=(0,tq.LC)({reducerPath:"referralApi",baseQuery:(0,t$.ni)({baseUrl:"https://my.elementor.com/order/api/v1",credentials:"include"}),endpoints:function(e){return{getReferralCode:e.query({query:function(e){return{url:"/promo-code/referral?userId=".concat(e),method:"GET"}}}),generateReferralCode:e.mutation({query:function(e){return{url:"/promo-code/referral",method:"POST",body:{userId:e}}}})}}});tQ.useGetReferralCodeQuery,tQ.useGenerateReferralCodeMutation,(0,tq.LC)({reducerPath:"catalogApi",baseQuery:(0,t$.ni)({baseUrl:"https://my.elementor.com/catalog/api/v1",credentials:"include"}),tagTypes:["Plan"],endpoints:function(e){return{getSkuPlan:e.query({query:function(e){return{url:"/plan/".concat(e),method:"GET"}},providesTags:function(e,t,n){return[{type:"Plan",id:n}]}})}}}).useGetSkuPlanQuery;var tJ=eA.createInstance(function(e,t){return n(4411)("./".concat(e,"/").concat(t,".json"))}),tX=n(98982),t0=n(37063),t1=function(e){var t=e.children,n=e.directionInstance,r=ek(),o=ej.includes(r);return(0,ed.useEffect)(function(){var e=o?"rtl":"ltr";document.documentElement.dir=e},[o]),(0,es.jsxs)(t0.Z,{rtl:o,children:[n&&ed.createElement(n,{rtl:o,children:t}),!n&&t]})};function t2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function t3(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var t4=function(e){var t=e.themeInstance,n=e.directionInstance,r=e.children,o=e.colorScheme,i=void 0===o?"light":o,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["themeInstance","directionInstance","children","colorScheme"]);return(0,es.jsx)(t1,{directionInstance:n,children:(0,es.jsxs)(tX.f6,t3(t2({colorScheme:i},a),{children:[t&&ed.createElement(t,t3(t2({},a),{colorScheme:i,children:r})),!t&&r]}))})},t6=n(73686),t5=n(20211),t7=function(e){var t,n,r=e.isLoading,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["isLoading"]),i=(0,ed.useMemo)(function(){return r?{disabled:!0,startIcon:(0,es.jsx)(t5.Z,{"data-test":"spinner"})}:{}},[r]);return(0,es.jsx)(t4,{children:(0,es.jsx)(t6.Z,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},o,i),n=n={children:e.children},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))})},t8=n(57749),t9=n(47308),ne=n(29487);function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var nn=function(e){var t,n,r=e.bgStyle,o=void 0===r?"default":r,i=e.fullBackdrop,a=void 0===i||i,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["bgStyle","fullBackdrop"]),s=(0,ed.useMemo)(function(){return"transparent"===o?{color:"secondary.main",bgcolor:"transparent"}:"opaque"===o?{color:"secondary.main",bgcolor:"common.white"}:"body"===o?{color:"secondary.main",bgcolor:"grey.50"}:{color:"secondary.main"}},[o]),c=(0,ed.useMemo)(function(){return a?{}:{position:"unset",width:"100%",height:"100%"}},[a]);return(0,es.jsx)(t4,{children:(0,es.jsx)(t8.Z,(t=nt({sx:nt({zIndex:9999,display:l.open?"":"none"},s,c),transitionDuration:{appear:0,enter:0,exit:500}},l),n=n={children:l.open&&(0,es.jsxs)(t9.Z,{sx:{display:"flex",flexDirection:"column",rowGap:2,alignItems:"center"},"data-test":"generic-loader-test-id","data-testid":"shared-loader-backdrop",children:[(0,es.jsx)(t5.Z,{}),l.text&&(0,es.jsx)(ne.Z,{variant:"body1",color:"inherit",align:"center",children:l.text})]})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))})},nr=n(51424),no=n(22641),ni=function(e){var t=e.title,n=e.text,r=e.handleClose,o=e.show,i=e.btnText;return(0,es.jsx)(t4,{children:(0,es.jsx)(nr.Z,{open:o,onClose:r,"aria-labelledby":"alert-modal-title","aria-describedby":"alert-modal-description","data-test":"alert-modal",sx:{zIndex:9999},children:(0,es.jsxs)(t9.Z,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,bgcolor:"background.paper",p:4,display:"flex",flexDirection:"column",rowGap:2,outline:"none"},children:[(0,es.jsxs)(ne.Z,{id:"alert-modal-title",variant:"h6",component:"h2",children:[(0,es.jsx)(no.Z,{fontSize:"small",color:"error",sx:{verticalAlign:"middle",mr:1}}),t]}),(0,es.jsx)(ne.Z,{id:"alert-modal-description",variant:"body1",children:n}),i&&(0,es.jsx)(t6.Z,{variant:"contained",color:"secondary",onClick:r,sx:{alignSelf:"end"},"data-test":"alert-modal-action-button",children:i})]})})})},na=n(39061),nl=n(77759),ns=n(39857);function nc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){nc(e,t,n[t])})}return e}var nd=function(e){var t,n,r=e.title,o=e.titleVariant,i=e.subtitleVariant,a=e.subtitle,l=e.titleActions,s=e.actions,c=e.sx,u=e.mobileBreakpoint,d=void 0===u?"sm":u,f=e.stickyActions,p=void 0!==f&&f,h=e.breadcrumb,y=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleVariant","subtitleVariant","subtitle","titleActions","actions","sx","mobileBreakpoint","stickyActions","breadcrumb"]);return(0,es.jsx)(t4,{children:(0,es.jsxs)(t9.Z,(t=nu({sx:nu({display:"flex",flexDirection:nc({xs:"column"},d,"row"),justifyContent:nc({xs:"flex-start"},d,"space-between"),alignSelf:"stretch",alignItems:"center",gap:1},c||{})},y),n=n={children:[(0,es.jsxs)(t9.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"flex-start",alignSelf:"stretch",gap:1},children:[h&&h.length>0&&(0,es.jsx)(na.Z,{direction:"row",gap:1,divider:(0,es.jsx)(ne.Z,{variant:"body1",color:"text.secondary",children:"/"}),children:h.map(function(e){return(0,es.jsx)(nl.Z,{color:"text.secondary",underline:"hover",variant:"body1",component:ns.rU,to:e.to,children:(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",gap:1,children:[e.icon,(0,es.jsx)(ne.Z,{variant:"body1",children:e.label})]})},e.label)})}),(0,es.jsxs)(na.Z,{gap:2,direction:"row",alignItems:"center",children:[(0,es.jsx)(ne.Z,{variant:void 0===o?"h5":o,"data-test":"page-header-title",color:"text.primary",children:r}),l]}),a&&(0,es.jsx)(ne.Z,{variant:void 0===i?"body1":i,"data-test":"page-header-sub-title",color:"text.primary",children:a})]}),(0,es.jsx)(t9.Z,{sx:function(e){return nu({display:"flex",flexDirection:"row",alignSelf:nc({xs:"flex-start"},d,"center"),width:nc({xs:"100%"},d,"auto"),gap:1},p&&nc({},e.breakpoints.down(d),{position:"fixed",bottom:0,left:0,right:0,zIndex:1200,py:2,px:5,backgroundColor:"common.white",borderTop:"1px solid",borderColor:"divider"}))},"data-test":"page-header-actions",children:s})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))})},nf=n(4489),np=n(28500),nh=n(71866),ny=n(63601),ng=n(19221);function nm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}(0,ed.forwardRef)(function(e,t){var n,r,o,i=e.helperText,a=e.borderRadius,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["helperText","borderRadius"]),s=(n=(0,ed.useState)(!1),function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(n,2)||function(e,t){if(e){if("string"==typeof e)return nm(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nm(e,t)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=s[0],u=s[1];return(0,es.jsx)(t4,{children:(0,es.jsx)(nh.Z,nv({fullWidth:!0,color:"secondary",type:c?"text":"password",autoComplete:"password",helperText:i,variant:"outlined",InputProps:(r=nv({},void 0!==a&&{sx:{borderRadius:a}}),o=o={endAdornment:(0,es.jsx)(nf.Z,{position:"end",children:(0,es.jsxs)(np.Z,{"aria-label":"toggle password visibility",onClick:function(){u(function(e){return!e})},edge:"end",disableRipple:!0,children:[c&&(0,es.jsx)(ny.Z,{}),!c&&(0,es.jsx)(ng.Z,{})]})})},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r),inputRef:t},l))})}).displayName="PasswordField";var nb=n(84665),nw=n(92067),nj=eA.createInstance(function(e,t){return n(91140)("./".concat(e,"/").concat(t,".json"))});function nO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nx(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function nE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function nS(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var nP=function(e){var t,n,r,o=e.value,i=e.label,a=e.onCopied,l=e.sx,s=e.onClick,c=e.variant,u=e.color,d=void 0===u?"secondary":u,f=e.iconProps,p=void 0===f?{}:f,h=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["value","label","onCopied","sx","onClick","variant","color","iconProps"]),y=(0,eg.$G)("common",{i18n:nj}).t,g=(t=(0,ed.useState)(!1),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return nO(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nO(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),m=g[0],v=g[1],b=(n=function(e){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:return[4,navigator.clipboard.writeText(o||"")];case 1:return t.sent(),v(!0),null==a||a(),null==s||s(e),[2]}})},r=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){nx(i,r,o,a,l,"next",e)}function l(e){nx(i,r,o,a,l,"throw",e)}a(void 0)})},function(e){return r.apply(this,arguments)});return(0,es.jsx)(t4,{children:(0,es.jsx)(nb.Z,{onOpen:function(){return v(!1)},placement:"top",title:m?(0,es.jsx)("span",{children:y("copyClipboardSuccess")}):(0,es.jsx)("span",{children:y("copyClipboard")}),children:(0,es.jsxs)("span",{children:[i&&(0,es.jsx)(t6.Z,nS(nE({sx:nE({},l||{}),variant:void 0===c?"text":c,color:d,onClick:b,startIcon:(0,es.jsx)(nw.Z,nE({},p))},h),{children:(0,es.jsx)("span",{children:i})})),!i&&(0,es.jsx)(np.Z,nS(nE({sx:nE({py:0},l||{}),color:d,onClick:b},h),{children:(0,es.jsx)(nw.Z,nE({},p))}))]})})})},nT=n(20206),nC=n(69944),nA=n(7659),nI=n(43745),nk=n(25663),n_=n(4554),nL=n(23641),nM=n(28587),nR=n(9976);function nZ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function nN(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function nU(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nZ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nZ(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var nB={error:(0,es.jsx)(nL.Z,{color:"error"}),primary:null,secondary:null,info:(0,es.jsx)(nM.Z,{color:"info"}),success:(0,es.jsx)(nM.Z,{color:"success"}),warning:(0,es.jsx)(no.Z,{color:"warning"})},nF=function(e){var t,n,r,o=e.confirmColor,i=void 0===o?"primary":o,a=e.confirmMsg,l=e.acceptText,s=e.declineText,c=e.confirmTitle,u=e.onDecline,d=e.onButtonClicked,f=e.onClick,p=e.buttonType,h=void 0===p?"button":p,y=e.isLoading,g=void 0!==y&&y,m=e.dialogDividers,v=e.disableOpenConfirm,b=void 0!==v&&v,w=e.acceptButtonProps,j=e.switchProps,O=void 0===j?{}:j,x=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["confirmColor","confirmMsg","acceptText","declineText","confirmTitle","onDecline","onButtonClicked","onClick","buttonType","isLoading","dialogDividers","disableOpenConfirm","acceptButtonProps","switchProps"]),E=nU((0,ed.useState)(!1),2),S=E[0],P=E[1],T=nU((0,ed.useState)(!1),2),C=T[0],A=T[1],I=function(e){e.stopPropagation(),null==d||d(e),b||P(!0)},k=function(e){g||(null==u||u(e),P(!1))};return(0,ed.useEffect)(function(){!g&&C&&P(!1)},[g,C]),(0,es.jsxs)(t4,{children:["icon"===h&&(0,es.jsx)(np.Z,nN(nD({},x),{onClick:I,children:e.children})),"text"===h&&(0,es.jsxs)(na.Z,{direction:"row",gap:1,alignItems:"center",width:"100%",children:[x.startIcon,(0,es.jsx)(ne.Z,{onClick:I,color:x.disabled?"text.disabled":"text.primary",sx:nN(nD({},x.sx||{}),{pointerEvents:x.disabled?"none":"auto"}),children:e.children}),x.endIcon]}),"button"===h&&(0,es.jsx)(t6.Z,nN(nD({},x),{onClick:I,children:e.children})),"link"===h&&(0,es.jsx)(nl.Z,{onClick:I,underline:"none",color:x.disabled?"text.disabled":(null===(r=x.color)||void 0===r||null===(n=r.split)||void 0===n||null===(t=n.call(r,"."))||void 0===t?void 0:t.length)===2?x.color:"info.main",rel:"noopener noreferrer",variant:"body2",sx:nD({pointerEvents:x.disabled?"none":"auto",cursor:"pointer"},x.sx||{}),children:e.children}),"switch"===h&&(0,es.jsx)(nR.Z,nN(nD({},O),{onChange:function(){},disabled:x.disabled||O.disabled||g,onClick:I,sx:nN(nD({},O.sx||{}),{"& .PrivateSwitchBase-input":{visibility:"hidden"}})})),(0,es.jsxs)(nT.Z,{open:S,onClose:k,onClick:function(e){return e.stopPropagation()},children:[(0,es.jsx)(nk.Z,{onClose:k,sx:{".MuiDialogHeader-logo":{display:nB[i]?"block":"none"}},logo:nB[i],children:(0,es.jsx)(n_.Z,{variant:"subtitle1",fontWeight:600,sx:{py:"16px!important",width:"100%"},children:c})}),a&&(0,es.jsx)(nA.Z,{dividers:void 0!==m&&m,children:(0,es.jsx)(nI.Z,{variant:"body2",children:a})}),(0,es.jsxs)(nC.Z,{children:[(0,es.jsx)(t6.Z,{variant:"outlined",color:"secondary",onClick:k,children:s}),(0,es.jsx)(t7,nN(nD({variant:"contained",color:i,onClick:function(e){null==f||f(e),A(!0)},isLoading:g},void 0===w?{}:w),{children:l}))]})]})]})},nG=n(80260),nW=n(85878),nz=n(40555);function nK(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var nH=function(e){var t,n=e.alwaysOpen,r=void 0!==n&&n,o=e.clearable,i=e.fullWidth,a=void 0!==i&&i,l=e.focused,s=void 0!==l&&l,c=e.value,u=e.onChange,d=e.onOpen,f=e.colorScheme,p=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["alwaysOpen","clearable","fullWidth","focused","value","onChange","onOpen","colorScheme"]),h=(0,eg.$G)("common",{i18n:nj}).t,y=(t=(0,ed.useState)(!!c||r),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return nK(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nK(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=y[0],m=y[1],v=(0,ed.useRef)(null),b=function(){null==u||u({target:{value:""}}),r||m(!1)};return(0,ed.useEffect)(function(){m(r||!!c)},[r,c]),(0,es.jsxs)(t4,{colorScheme:void 0===f?"light":f,children:[(0,es.jsx)(nz.Z,{in:g,orientation:"horizontal",sx:nV({display:g?"block":"none"},a&&g?{width:"100%","& .MuiCollapse-wrapperInner":{width:"100%"}}:{}),children:(0,es.jsx)(nh.Z,nV({"data-test":"searchField",ref:v,variant:"outlined",size:"small",color:"secondary",inputRef:function(e){return e&&(!r||s)&&e.focus()},onKeyDown:function(e){"Escape"===e.key&&b()},InputProps:{startAdornment:(0,es.jsx)(nf.Z,{position:"start",children:(0,es.jsx)(nG.Z,{})}),endAdornment:(0,es.jsx)(es.Fragment,{children:(void 0===o||o)&&(0,es.jsx)(nf.Z,{position:"end",children:(0,es.jsx)(np.Z,{onClick:function(){return b()},disableRipple:!0,children:(0,es.jsx)(nW.Z,{"data-test":"close-icon"})})})})},onChange:u,value:c,onBlur:function(){c||r||m(!1)},sx:nV({},a&&g?{width:"100% !important"}:{})},p))}),!g&&(0,es.jsx)(nz.Z,{in:!g,orientation:"horizontal",children:(0,es.jsx)(nb.Z,{title:h("search"),placement:"top",children:(0,es.jsx)(np.Z,{onClick:function(){m(!0),null==d||d()},children:(0,es.jsx)(nG.Z,{"data-test":"search-icon"})})})})]})},nq=n(62564),n$=n(80070),nY=n(15173);function nQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nJ(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function nX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nQ(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var n0=function(e){var t,n,r,o=e.open,i=e.header,a=e.actions,l=e.declineText,s=e.onClose,c=nX((0,ed.useState)(a[0]||null),2),u=c[0],d=c[1],f=nX((0,ed.useState)(!1),2),p=f[0],h=f[1],y=(t=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:if(h(!0),!u)return[3,2];return[4,u.action()];case 1:e.sent(),e.label=2;case 2:return h(!1),[2]}})},n=function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){nJ(i,r,o,a,l,"next",e)}function l(e){nJ(i,r,o,a,l,"throw",e)}a(void 0)})},function(){return n.apply(this,arguments)});return(0,es.jsxs)(nT.Z,{open:o,onClose:s,onClick:function(e){return e.stopPropagation()},children:[(0,es.jsx)(nk.Z,{onClose:s,logo:!1,children:(0,es.jsx)(n_.Z,{variant:"subtitle1",fontWeight:600,children:i})}),a&&(0,es.jsx)(nA.Z,{children:(0,es.jsx)(nq.Z,{defaultValue:null===(r=a[0])||void 0===r?void 0:r.title,sx:{gap:3},children:a.map(function(e){return(0,es.jsx)(n$.Z,{value:e.title,control:(0,es.jsx)(nY.Z,{color:"secondary",sx:{pt:0}}),sx:{alignItems:"flex-start"},label:(0,es.jsxs)(na.Z,{direction:"column",gap:1,children:[(0,es.jsx)(ne.Z,{variant:"subtitle2",children:e.title}),(0,es.jsx)(ne.Z,{variant:"body2",children:e.description})]}),onClick:function(){return d(e)}},e.title)})})}),(0,es.jsxs)(nC.Z,{children:[(0,es.jsx)(t6.Z,{variant:"outlined",color:"secondary",onClick:s,children:l}),(0,es.jsx)(t7,{variant:"contained",onClick:y,isLoading:p,children:null==u?void 0:u.actionButtonText})]})]})};function n1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var n2=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function n3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n1(n2,"checkReduxRules",function(e,t,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],o=!0;return null==e||e.forEach(function(e){var i=e.reduxSelector(t),a=e.condition(i);!a&&r&&n(e.dispatchAction),o=o&&a}),o}),n1(n2,"injectReduxSlicesOnInit",function(e){null==e||e.forEach(function(e){eq.addSlice(e.reduxSlice)})}),n1(n2,"checkInlineRules",function(e){var t=!0;return null==e||e.forEach(function(e){var n=e();t=t&&n}),t});var n4=function(e){var t,n=e.children,r=e.delay,o=(t=(0,ed.useState)(!r),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return n3(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n3(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];return(0,ed.useEffect)(function(){if(r){var e=setTimeout(function(){a(!0)},r);return function(){clearTimeout(e)}}},[r]),i?(0,es.jsx)(es.Fragment,{children:n}):null};function n6(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n6(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var n7=function(e,t,n){return n2.checkReduxRules(e,eq.getStoreInstance().getState(),t,n)},n8=(0,ed.memo)(function(e){var t=e.children,n=e.reduxRules,r=e.inlineRules,o=e.fallbackUI,i=void 0===o?(0,es.jsx)(nn,{open:!0,"data-test":"guard-default-loader"}):o,a=e.fallbackUIDelay,l=e.onFailCallback,s=e.onFailDelay,c=eL(),u=(0,ed.useRef)(null),d=n5((0,ed.useState)(!(null==n?void 0:n.length)||n7(n,c,!1)||void 0),2),f=d[0],p=d[1],h=n5((0,ed.useState)(!(null==r?void 0:r.length)||n2.checkInlineRules(r)||void 0),2),y=h[0],g=h[1],m=(0,ed.useMemo)(function(){return f&&y},[f,y]);return(0,ed.useEffect)(function(){n2.injectReduxSlicesOnInit(n),p(n7(n,c,!0));var e=eq.getStoreInstance().subscribe(function(){p(n7(n,c,!1))});return function(){e()}},[c,n]),(0,ed.useEffect)(function(){g(n2.checkInlineRules(r))},[r]),(0,ed.useEffect)(function(){return!1===m?u.current=setTimeout(function(){null==l||l()},s||0):u.current&&clearTimeout(u.current),function(){u.current&&clearTimeout(u.current)}},[l,s,m]),m?t:(0,es.jsx)(n4,{delay:a,children:i})});function n9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.dataLayer=window.dataLayer||[];var re="/pricing/";eQ.APP_DOMAIN,n9(Q={},eQ.APP_IO,{url:"/upgrade-image-optimizer/",new:!0}),n9(Q,eQ.APP_AI,{url:"/upgrade-ai/",new:!0}),n9(Q,eQ.HOSTING,{url:"/upgrade-hosting/",new:!0}),n9(Q,eQ.PLUGIN,{url:"/upgrade-plugin/",new:!0}),n9(Q,eQ.APP_STRATTIC,{url:"/upgrade-static-hosting/",new:!0}),n9(Q,eQ.APP_BKP,{url:"/upgrade-backup/",new:!0}),n9(Q,eQ.FREE_TRIAL,void 0),n9(Q,eQ.APP_SERVICE,{url:"/upgrade-site-maintenance/",new:!0}),n9(Q,eQ.APP_SUPPORT,{url:"/upgrade-care/",new:!0}),n9(Q,eQ.APP_MAILER,{url:"/upgrade-site-mailer/",new:!0}),n9(Q,eQ.APP_EMPMA,{url:"/upgrade-send/",new:!0}),n9(Q,eQ.APP_ACCESS,{url:"/upgrade-ally/",new:!0}),n9(Q,eQ.APP_MANAGE,{url:"/upgrade-subscription/",new:!0}),n9(Q,eQ.APP_DOMAIN,void 0),n9(Q,eQ.APP_ONE,{url:"/upgrade-one/",new:!0});var rt="buyNewSubscription";n9(J={},eQ.HOSTING,{url:"/hosting/#plans",textKey:rt}),n9(J,eQ.PLUGIN,{url:"/pricing-plugin/",textKey:rt}),n9(J,eQ.APP_AI,{url:"/products/ai/#pricing",textKey:rt}),n9(J,eQ.APP_IO,{url:"/products/image-optimizer/#pricing",textKey:rt}),n9(J,eQ.APP_BKP,{url:re,textKey:rt}),n9(J,eQ.APP_STRATTIC,{url:re,textKey:rt}),n9(J,eQ.FREE_TRIAL,void 0),n9(J,eQ.APP_SERVICE,{url:"/care/site-maintenance/",textKey:rt}),n9(J,eQ.APP_SUPPORT,{url:"/care/support/",textKey:"goToPlatinumServices"}),n9(J,eQ.APP_MANAGE,{url:"/products/manage/#plans",textKey:rt}),n9(J,eQ.APP_MAILER,void 0),n9(J,eQ.APP_EMPMA,void 0),n9(J,eQ.APP_ACCESS,void 0),n9(J,eQ.APP_DOMAIN,void 0),n9(J,eQ.APP_ONE,{url:"/products/one/#plans",textKey:rt});var rn={default:{currency:"USD",symbol:"&#36;"},IL:{currency:"ILS",symbol:"&#8362;"},GB:{currency:"GBP",symbol:"&#163;"},AT:{currency:"EUR",symbol:"&euro;"},BE:{currency:"EUR",symbol:"&euro;"},CY:{currency:"EUR",symbol:"&euro;"},DE:{currency:"EUR",symbol:"&euro;"},EE:{currency:"EUR",symbol:"&euro;"},ES:{currency:"EUR",symbol:"&euro;"},FI:{currency:"EUR",symbol:"&euro;"},FR:{currency:"EUR",symbol:"&euro;"},GR:{currency:"EUR",symbol:"&euro;"},IE:{currency:"EUR",symbol:"&euro;"},IT:{currency:"EUR",symbol:"&euro;"},LT:{currency:"EUR",symbol:"&euro;"},LU:{currency:"EUR",symbol:"&euro;"},LV:{currency:"EUR",symbol:"&euro;"},MT:{currency:"EUR",symbol:"&euro;"},NL:{currency:"EUR",symbol:"&euro;"},PT:{currency:"EUR",symbol:"&euro;"},SI:{currency:"EUR",symbol:"&euro;"},SK:{currency:"EUR",symbol:"&euro;"},CA:{currency:"CAD",symbol:"CA$"},AU:{currency:"AUD",symbol:"A$"},BR:{currency:"BRL",symbol:"R$"}};function rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ro=new Set(["$","\u20AC","\u20AA","\xa3","CA$","A$","R$"]),ri=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function ra(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}rr(ri,"decodeCurrencySymbol",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}),rr(ri,"formatCurrency",function(e,t){var n=new Intl.NumberFormat(eA.getLanguage(),{minimumFractionDigits:0,maximumFractionDigits:2}).format(Number(e)),r=ri.decodeCurrencySymbol(t);return ro.has(r)?"".concat(r).concat(n):"".concat(n," ").concat(r)}),rr(ri,"getCurrencySymbol",function(e){for(var t in rn)if(rn[t].currency===e)return ri.decodeCurrencySymbol(rn[t].symbol)}),rr(ri,"getCurrencyByCountry",function(e){return rn[e]?rn[e]:rn.default});var rl=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};ra(rl,"getInitials",function(e,t){return e||t?"".concat(null==e?void 0:e.charAt(0)).concat(null==t?void 0:t.charAt(0)):""}),ra(rl,"getFullName",function(e,t){return"".concat(e).concat(e&&t?" ":"").concat(t)});function rs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rc=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"getDaysDuration",value:function(e,t){return"function"!=typeof e.getMonth&&(e=new Date(e)),"function"!=typeof t.getMonth&&(t=new Date(t)),Math.ceil((t.getTime()-e.getTime())/864e5)}},{key:"hasNoTimeSet",value:function(e){var t=new Date(e);return 0===t.getUTCHours()&&0===t.getUTCMinutes()&&0===t.getUTCSeconds()&&0===t.getUTCMilliseconds()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();rs(rc,"toISOShort",function(e){return new Date(e).toISOString().slice(0,10)}),rs(rc,"formatDate",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.getLanguage();if(!e)return"";try{return new Intl.DateTimeFormat(t||"en-US",{year:"numeric",month:"short",day:"numeric"}).format(new Date(e.replace(" ","T")))}catch(t){return new Date(e.replace(" ","T")).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}}),rs(rc,"formatDateShort",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.getLanguage();if(!e)return"";try{return new Intl.DateTimeFormat(t||"en-US",{month:"short",day:"numeric"}).format(new Date(e.replace(" ","T")))}catch(t){return new Date(e.replace(" ","T")).toLocaleDateString("en-US",{month:"short",day:"numeric"})}}),rs(rc,"formatTime",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.getLanguage();if(!e)return"";try{return new Intl.DateTimeFormat(t||"en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date(e.replace(" ","T")))}catch(t){return new Date(e.replace(" ","T")).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit"})}}),rs(rc,"formatDateTime",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?rc.formatDate(e)+" "+rc.formatTime(e):t}),rs(rc,"formatCompactDateTime",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.getLanguage();if(!e)return"";try{var n=new Date(e.replace(" ","T")),r=new Intl.DateTimeFormat(t||"en-US",{month:"short",day:"numeric"}).format(n),o=new Intl.DateTimeFormat(t||"en-US",{hour:"2-digit",minute:"2-digit",hour12:!1}).format(n);return"".concat(r," ").concat(o)}catch(t){var i=new Date(e.replace(" ","T")),a=i.toLocaleDateString("en-US",{month:"short",day:"numeric"}),l=i.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1});return"".concat(a," ").concat(l)}}),rs(rc,"hmsToHm",function(e){var t=e.split(":");return t.pop(),t.join(":")});(function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"isURLAbsolute",value:function(e){return RegExp("^(?:[a-z+]+:)?//","i").test(e)}},{key:"isElementorDomainValid",value:function(e){try{var t=new URL(e),n=t.protocol,r=t.hostname,o="elementor.com";if("https:"!==n)return!1;return o===r||r.endsWith(".".concat(o))}catch(e){return!1}}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t})().isURLAbsolute;var ru=n(78996);function rd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rf=((T={}).Infra="Infra",T.Hosting="Hosting",T.Domains="Domains",T.Store="Store",T),rp=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};rd(rp,"events",{PROFILE_BUTTON_CLICKED:"Profile button clicked",NAVIGATION_TAB_CLICKED:"Navigation tab clicked",PAGE_VIEW:"page_view",TOGGLE_CLICKED:"toggle_clicked",SORT_CHANGED:"sort_changed",FILTER_CLICKED:"filter_clicked",UPGRADE_CLICKED:"upgrade_clicked",EMPTY_STATE_ACTION_CLICKED:"empty_state_action_clicked",GLOBAL_ACTION_CLICKED:"global_action_clicked",APP_ICON_HOVERED:"app_icon_hovered",SITE_ENTRY_ACTION_CLICKED:"site_entry_action_clicked",AVATAR_MENU_CLICKED:"avatar_menu_clicked",ACTION_CLICKED:"action_clicked",LANGUAGE_SELECTED:"language_selected",PROMOTION_CLICKED:"promotion_clicked",PLUGIN_ACTION_CLICKED:"plugin_action_clicked",THEME_ACTION_CLICKED:"theme_action_clicked",CORE_ACTION_CLICKED:"core_action_clicked",DATABASE_ACTION_CLICKED:"database_action_clicked",MSV_NAVIGATION_CLICKED:"msv_navigation_clicked",OVERVIEW_CARD_CLICKED:"overview_card_clicked",MONITORING_ACTION_CLICKED:"monitoring_action_clicked",GO_TO_MONITORING_CLICKED:"go_to_monitoring_clicked",TAB_CLICKED:"tab_clicked",PROMOTION_CTA_CLICKED:"promotion_cta_clicked",AUDIT_CATEGORY_CLICKED:"audit_category_clicked",AUDIT_ITEM_VIEWED:"audit_item_viewed",AUDIT_ITEM_LINK_CLICKED:"audit_item_link_clicked",BILLING_CLICKED:"billing_clicked",TEAMS_CLICKED:"teams_clicked",ITEM_CLICKED:"item_clicked",SUBSCRIPTION_CLICKED:"subscription_clicked",SITE_ACTION_CLICKED:"site_action_clicked",CAPABILITY_CLICKED:"capability_clicked",FILTER_SET:"filter_set",ACTION_CONFIRMED:"action_confirmed",PREREGISTRATION_CLICKED:"preregistration_clicked",REGISTRATION_OPENED:"registration_opened",REGISTRATION_SUCCESS_VIEWED:"registration_success_viewed",REGISTRATION_EXIT_CLICKED:"registration_exit_clicked",REGISTRATION_CLICKED:"registration_clicked",REGISTRATION_CLOSED:"registration_closed",ALERT_CLICKED:"alert_clicked",MISMATCH_RESOLUTION:"mismatch_resolution",HOME_INSTALLER_REACHED:"home_installer_reached",PRIMARY_CTA_CLICKED:"primary_cta_clicked"}),rd(rp,"properties",{LOCATION:"location",FEATURE:"feature",TAB_NAME:"tab name",REFERRAL_URL:"referral url",PAGE:"page",SORT_OPTION:"sort_option",APP:"app",LANGUAGE:"language",ACTION_SITE_COUNT:"action_site_count",SCORE:"score",FILTER_NAME:"filter_name",CONNECT:"connect",CTA_NAME:"cta_name",PLUGIN_NAME:"plugin_name",THEME_NAME:"theme_name",CORE_VERSION:"core_version",DATABASE_TYPE_SELECTED:"database_type_selected",AUDIT_CATEGORY:"audit_category",AUDIT_COUNT:"audit_count",AUDIT_NAME:"audit_name",AUDIT_STATUS:"audit_status",VIEW_TYPE:"view_type",FILTER_TYPE:"filter_type",ACTION_TYPE:"action_type",CTA_TYPE:"cta_type",SITES_VIEW_TYPE:"sites_view_type",PROMOTION_TYPE:"promotion_type",ITEM_TYPE:"item_type",CARD_TYPE:"card_type",SITE_TYPE:"site_type",TAB_TYPE:"tab_type",CATEGORY_NAME:"category_name",CAPABILITY_NAME:"capability_name",TOOLS_TOTAL_COUNT:"tools_total_count",SELECTED_TOOLS_COUNT:"selected_tools_count",ALREADY_INSTALLED_TOOLS_COUNT:"already_installed_tools_count",APP_TYPE:"app_type",INTERACTION_TYPE:"interaction_type",TARGET_TYPE:"target_type",INTERACTION_RESULT:"interaction_result",TARGET_NAME:"target_name",LOCATION_L1:"location_l1",LOCATION_L2:"location_l2",LOCATION_L3:"location_l3",LOCATION_L4:"location_l4",STATE:"state",TARGET_VALUE:"target_value"});var rh=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rf.Infra,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;ru.Z.init(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({debug:!1,track_pageview:!0,persistence:"localStorage",opt_out_tracking_by_default:!0},null!=n?n:{})),r?ru.Z.register({appType:e}):ru.Z.register_once({appType:e}),this.hasValidConsent(o)||ru.Z.opt_out_tracking(),window.addEventListener("CookiebotOnAccept",function(){var e,t;(null===(t=window.Cookiebot)||void 0===t||null===(e=t.consent)||void 0===e?void 0:e.statistics)==!0?ru.Z.opt_in_tracking():ru.Z.opt_out_tracking()}),window.addEventListener("CookiebotOnDecline",function(){ru.Z.opt_out_tracking()})}},{key:"startTracking",value:function(e,t){this.hasValidConsent(t)&&ru.Z.opt_in_tracking(),e&&ru.Z.identify(e)}},{key:"trackMixpanelEvent",value:function(e,t){var n,r;(null===(r=window)||void 0===r||null===(n=r.elementorOneSettingsData)||void 0===n?void 0:n.shareUsageData)&&ru.Z.track(e,t)}},{key:"getCookieValue",value:function(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():void 0}},{key:"hasStatisticsConsent",value:function(e){var t=this.getCookieValue(e);if(!t)return!1;try{return decodeURIComponent(t).includes("statistics:true")}catch(e){return!1}}},{key:"hasValidConsent",value:function(e){return void 0!==e&&!!e||this.hasStatisticsConsent("CookieConsent")||this.hasStatisticsConsent("CsdCookieConsent")}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();tI.selectMe,tO.getMe(),n(21413),window.setStatsigOverrideAdapter=function(e){},window.clearStatsigOverrideAdapter=function(){},n(76635);var ry=function(e){var t=(0,ed.useRef)(e);(0,ed.useEffect)(function(){t.current=e},[e]),(0,ed.useEffect)(function(){var e=function(e){t.current(e)};return window.addEventListener("beforeunload",e),function(){window.removeEventListener("beforeunload",e)}})},rg=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=(0,ed.useRef)(!1);(0,ed.useEffect)(function(){t&&!n.current&&(n.current=!0,e())},[e,t])},rm=n(93283),rv=["popup_closed_by_user","window.lintrk","fbq","ResizeObserver","CustomEvent"],rb={400:{skipStatus:!0},401:{skipStatus:!0},404:{skipStatus:!0},403:{skipStatus:!0,skipCodes:["rest_cookie_invalid_nonce"]}},rw={ChunkLoadError:{skipErrorName:!0},Error:{skipErrorName:!1,skipCodes:["CSS_CHUNK_LOAD_FAILED"]},NotFoundError:{skipErrorName:!1,skipMessages:["Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node."]}},rj=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"skipAxiosError",value:function(e){try{var t,n,r,o,i=null==e||null===(t=e.response)||void 0===t?void 0:t.status,a=null==e||null===(r=e.response)||void 0===r||null===(n=r.data)||void 0===n?void 0:n.code;if(i&&rb[i]&&(rb[i].skipStatus||a&&(null===(o=rb[i].skipCodes)||void 0===o?void 0:o.includes(a))))return!0;return!1}catch(e){return!1}}},{key:"logAxiosResponseError",value:function(e){try{var t,n;if(this.skipAxiosError(e))return;console.log("Axios -> Sentry. Failed response data:",JSON.stringify(null==e||null===(t=e.response)||void 0===t?void 0:t.data)),rm.n_({category:"axios",message:"Axios request failed: ".concat(null==e||null===(n=e.response)||void 0===n?void 0:n.status),data:null==e?void 0:e.response,level:"error"}),rm.Tb(e)}catch(e){console.error("Error while capturing axios interceptor response error with Sentry",e)}}},{key:"skipTimoutError",value:function(e,t){return!!("string"==typeof(t.message||e)&&e.includes("Timeout"))}},{key:"skipErrorBoundaryError",value:function(e){var t=null==e?void 0:e.name;if(t&&rw[t]){if(rw[t].skipErrorName)return!0;var n,r,o=null==e?void 0:e.code;if(o&&(null===(n=rw[t].skipCodes)||void 0===n?void 0:n.includes(o)))return!0;var i=null==e?void 0:e.message;if(i&&(null===(r=rw[t].skipMessages)||void 0===r?void 0:r.includes(i)))return!0}return!1}},{key:"skipUnknownError",value:function(e){var t;return null!=e&&null!==(t=e.message)&&void 0!==t&&!!t.includes("unknown")&&(!e.extra||!e.extra.reason&&!e.extra.detail)}},{key:"skipNonErrorIssue",value:function(e){var t,n,r,o,i,a,l,s,c=(null===(t=e.exception)||void 0===t?void 0:t.values)&&(null===(n=e.exception)||void 0===n?void 0:n.values[0]);return!!((null==c?void 0:c.value)==="Non-Error exception captured with keys: currentTarget, isTrusted, target, type"||(null==c?void 0:c.value)==="Non-Error promise rejection captured with keys: currentTarget, detail, isTrusted, target"||(null==c||null===(o=c.value)||void 0===o||null===(r=o.includes)||void 0===r?void 0:r.call(o,"Non-Error promise rejection captured with value: Timeout"))||(null==c||null===(a=c.value)||void 0===a||null===(i=a.includes)||void 0===i?void 0:i.call(a,"The request is not allowed by the user agent or the platform in the current context"))||(null==c||null===(s=c.value)||void 0===s||null===(l=s.includes)||void 0===l?void 0:l.call(s,"Event `CustomEvent` (type=unhandledrejection) captured as promise rejection")))}},{key:"skipBlacklistErrors",value:function(e){return!!(e&&e.message&&rv.some(function(t){var n;return null==e||null===(n=e.message)||void 0===n?void 0:n.includes(t)}))}},{key:"logErrorBoundaryError",value:function(e){try{if(this.skipErrorBoundaryError(e))return;rm.Tb(e)}catch(e){console.error("Error while capturing ErrorBoundary with Sentry",e)}}},{key:"logError",value:function(e){try{rm.Tb(e)}catch(e){console.error("Error while capturing error with Sentry",e)}}},{key:"getAppVersion",value:function(){return"package"}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();function rO(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rx(e){return(rx=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rE(e,t){return(rE=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rS=function(){return!!e})()}var rP=function(e){var t,n;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function r(e){var t,n,o;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return n=r,o=[e],n=rx(n),(t=function(e,t){var n;if(t&&("object"==((n=t)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,rS()?Reflect.construct(n,o||[],rx(this).constructor):n.apply(this,o))).state={hasError:!1},t}return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),e&&rE(r,e),t=[{key:"componentDidCatch",value:function(e,t){console.log("ErrorBoundary - componentDidCatch",e,t),rj.logErrorBoundaryError(e),this.setState({hasError:!0,error:e})}},{key:"render",value:function(){return this.state.hasError?this.props.fallback(this.state.error):this.props.children}}],n=[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,error:e}}}],t&&rO(r.prototype,t),n&&rO(r,n),r}(ed.Component),rT=(0,ed.memo)(function(e){var t=e.children,n=e.fallback,r=(0,eg.$G)(["components"],{i18n:tJ,useSuspense:!1}).t,o=(0,ed.useCallback)(function(e){return n?n(e):(null==e?void 0:e.name)==="ChunkLoadError"||(null==e?void 0:e.code)==="CSS_CHUNK_LOAD_FAILED"?(window.location.reload(),null):(0,es.jsx)(ni,{show:!0,text:r("errorBoundary.default.title"),title:r("errorBoundary.default.message"),btnText:r("errorBoundary.default.btn"),handleClose:function(){return window.location.reload()}})},[n,r]);return(0,es.jsx)(rP,{fallback:o,children:t})}),rC=function(){var e,t,n=eM(tc.selectSharedLoader);return(0,es.jsx)(nn,(e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({open:!!(null==n?void 0:n.open)},n),t=t={"data-test":"shared-loading-screen"},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e))},rA=n(83444),rI=n(71268),rk=n(89637),r_=n(40760),rL=n(48969);function rM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var rR=(C={},{start:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n&&(C[e.id]&&clearTimeout(C[e.id]),C[e.id]=void 0),void 0===C[e.id]&&!1!==e.autohide&&!0===e.show&&(C[e.id]=setTimeout(function(){t(e4.removeToast(e.id)),C[e.id]=void 0},e.delay||5e3)),null},cancel:function(e){C[e.id]&&(clearTimeout(C[e.id]),C[e.id]=null)}}),rZ=function(e,t,n){if("string"==typeof t){var r=e(t,n);return r!==t&&r?r:t}return t},rD=function(e){var t,n=e.position,r=void 0===n?"bottom-right":n,o=eL(),i=(0,eg.$G)("toast",{i18n:tJ}).t,a=eM(tc.selectToasts),l=(t=(0,ed.useState)(!1),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return rM(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rM(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=l[0],c=l[1];(0,ed.useEffect)(function(){a&&a.length>0&&a.some(function(e){return e.show})?c(!0):c(!1)},[a]);var u=function(e){o(e4.removeToast(e.id))};return s&&(0,es.jsx)(t4,{themeInstance:tX.f6,directionInstance:t0.Z,children:(0,es.jsx)(rL.Z,{open:s,anchorOrigin:function(){switch(r){case"top-right":return{vertical:"top",horizontal:"right"};case"top-left":return{vertical:"top",horizontal:"left"};case"bottom-right":default:return{vertical:"bottom",horizontal:"right"};case"bottom-left":return{vertical:"bottom",horizontal:"left"}}}(),sx:{zIndex:Number.MAX_SAFE_INTEGER},children:(0,es.jsx)(na.Z,{flexDirection:"column",gap:2,"data-test":"dash-toasts",children:a.map(function(e){return(0,es.jsx)(r_.Z,{in:e.show,mountOnEnter:!0,unmountOnExit:!0,children:(0,es.jsxs)(rA.ZP,{variant:"filled",onClose:function(){u(e)},severity:e.type,secondaryAction:e.link&&(0,es.jsx)(rI.Z,{href:e.link.to,target:"_blank",children:rZ(i,e.link.text,e.props)}),onMouseEnter:function(){rR.cancel(e)},onMouseLeave:function(){rR.start(e,o,!0)},children:[rR.start(e,o),e.title&&(0,es.jsx)(rk.Z,{children:rZ(i,e.title,e.props)}),rZ(i,e.text,e.props)]})},e.id)})})})})},rN=function(e){var t=e.getCustomFallback,n=(0,eu.TH)().pathname;return(0,es.jsx)(ed.Suspense,{fallback:(null==t?void 0:t(n))||(0,es.jsx)(nn,{open:!0,bgStyle:"transparent",fullBackdrop:!1}),children:(0,es.jsx)(eu.j3,{})})},rU=n(96505),rB=n(97753),rF=n(57354),rG=n(11262),rW=n(61106),rz=n(291),rK=n(6714),rV=n(4314);function rH(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rq(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||rY(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r$(e){return function(e){if(Array.isArray(e))return rH(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||rY(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rY(e,t){if(e){if("string"==typeof e)return rH(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rH(e,t)}}var rQ=((A={}).ACD_CLIENT="acd-client-bucket-v",A.BACKOFFICE="backoffice-bucket-v",A.AUTH="auth-bucket-v",A.STORE="store-bucket-v",A.APPLICATION_CONSENT="application-consent-bucket-v",A.TRIAL="trial-bucket-v",A.ELEMENTOR_ONE="elementor-one-bucket-v",A),rJ=((I={}).ACD_CLIENT="app-acd-client",I.BACKOFFICE="app-backoffice",I.AUTH="app-auth",I.STORE="app-store",I.APPLICATION_CONSENT="app-application-consent",I.TRIAL="app-trial",I.ELEMENTOR_ONE="app-elementor-one",I),rX="master",r0=function(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""},r1=function(e,t){document.cookie="".concat(e,"=").concat(t,";path=/")};let r2=function(e){var t=e.cookieName,n=e.appName,r=e.colorScheme,o=void 0===r?"light":r,i=e.bucketUrl,a=void 0===i?"https://storage.googleapis.com/static-platform-client-workspace-prod.new-prod.elementor.red":i,l=rq((0,ns.lr)(),2),s=l[0],c=l[1],u=rq((0,ed.useState)(null),2),d=u[0],f=u[1],p=(0,ed.useRef)(!1),h=rq((0,ed.useState)([]),2),y=h[0],g=h[1],m=rq((0,ed.useState)(new URLSearchParams(window.location.search).get(t)||r0(t)||rX),2),v=m[0],b=m[1];rg(function(){s.delete(t),c(s)},!!s.get(t)),(0,ed.useEffect)(function(){fetch("".concat(a,"/").concat(n,"/available-deployments.json")).then(function(e){return e.json()}).then(function(e){g(e.deployments)}).catch(function(e){g([rX]),console.error(e)})},[]),(0,ed.useEffect)(function(){y.length&&!y.includes(v)&&(p.current=!0,b(rX))},[y,v]),(0,ed.useEffect)(function(){var e=r0(t);if(e!==v){if(r1(t,v),!e&&v===rX)return;if(p.current){p.current=!1;return}window.location.reload()}},[v]);var w=(0,ed.useCallback)(function(e){var n=new URL(window.location.href);return n.searchParams.set(t,e),n.toString()},[]);ey(function(){r0(t)!==v&&f({show:!0,title:"Deployment Changed",text:"Deployment has been changed in another tab. Please refresh the page.",btnText:"Refresh",handleClose:function(){f(null),window.location.reload()}})},6e4,(null==y?void 0:y.length)>0,!1);var j=rq((0,ed.useState)(""),2),O=j[0],x=j[1],E=(0,ed.useMemo)(function(){var e=r$(y||[]).filter(function(e){return e!==rX}).sort();return[rX].concat(r$(e)).filter(function(e){return e.toLowerCase().includes(O.toLowerCase())})},[y,O]);return(0,es.jsxs)(t4,{themeInstance:tX.f6,directionInstance:t0.Z,colorScheme:o,children:[(0,es.jsxs)(rz.Z,{color:"secondary",fullWidth:!0,"data-test":"deployment-form",sx:{minWidth:120},children:[(0,es.jsx)(rW.Z,{id:"multi-deployment-label",children:"Deployment"}),(0,es.jsxs)(rK.Z,{fullWidth:!0,onChange:function(e){b(e.target.value)},value:v,labelId:"multi-deployment-label",id:"multi-deployment-select",label:"Deployment",size:"tiny",variant:"outlined",renderValue:function(e){return(0,es.jsx)(ne.Z,{"data-test":"deployment-value",children:e})},MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},disableAutoFocusItem:!0},sx:{maxWidth:300,".MuiIconButton-root":{display:"none"}},children:[(0,es.jsx)(rG.Z,{onKeyDown:function(e){e.stopPropagation()},onKeyUp:function(e){e.stopPropagation()},children:(0,es.jsx)(nH,{placeholder:"Search deployment",alwaysOpen:!0,clearable:!1,fullWidth:!0,focused:!0,sx:{py:2,width:"100%"},value:O,onChange:function(e){return x(e.target.value)},colorScheme:o})}),E.map(function(e){return(0,es.jsx)(rU.Z,{value:e,autoFocus:!1,onKeyDown:function(e){e.stopPropagation()},onKeyUp:function(e){e.stopPropagation()},children:(0,es.jsxs)(na.Z,{direction:"row",spacing:1,sx:{justifyContent:"space-between",alignItems:"center",width:"100%"},onClick:function(e){var t,n;(null===(n=e.target)||void 0===n||null===(t=n.dataset)||void 0===t?void 0:t.propagate)!=="true"&&e.stopPropagation()},"data-propagate":"true",children:[(0,es.jsx)(ne.Z,{variant:"body2",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"data-test":"deployment-item-".concat(e),"data-propagate":"true",children:e}),(0,es.jsx)(nP,{value:w(e),size:"small",iconProps:{fontSize:"small",sx:{color:"dark"===o?"common.white":"common.black"}},onClick:function(e){e.stopPropagation()}})]})},e)}),0===E.length&&(0,es.jsx)(rG.Z,{onKeyDown:function(e){e.stopPropagation()},onKeyUp:function(e){e.stopPropagation()},children:(0,es.jsx)(rV.Z,{primary:"No results found",primaryTypographyProps:{color:"text.secondary",textAlign:"center"}})})]})]}),d&&(0,es.jsx)(ni,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},d))]})};function r3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var r4=function(e){var t,n=e.show,r=e.cookieName,o=e.appName,i=e.extraMenuItems,a=e.colorScheme,l=e.bucketUrl,s=e.size,c=(t=(0,ed.useState)(null),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return r3(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r3(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],d=c[1];return void 0!==n&&n?(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(np.Z,{onClick:function(e){d(e.currentTarget)},"aria-controls":u?"settings-menu":void 0,"aria-expanded":u?"true":void 0,"aria-haspopup":"true","data-test":"stg-settings-button",children:(0,es.jsx)(rB.Z,{fontSize:void 0===s?"medium":s})}),(0,es.jsxs)(rF.Z,{keepMounted:!0,id:"settings-menu",anchorEl:u,open:!!u,onClose:function(){d(null)},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:[(0,es.jsx)(rG.Z,{sx:{px:2,py:1.5},children:"Multi-deployment environment settings"}),(0,es.jsx)(rU.Z,{children:(0,es.jsx)(r2,{cookieName:r,appName:o,colorScheme:void 0===a?"light":a,bucketUrl:void 0===l?"https://storage.googleapis.com/static-platform-client-workspace-prod.new-prod.elementor.red":l})}),null==i?void 0:i.map(function(e){return(0,es.jsx)(rU.Z,{children:e.component},e.key)})]})]}):null};function r6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r5=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};r6(r5,"customNavigation","custom-navigation"),r6(r5,"addNavItem","add-navigation-item"),r6(r5,"addMobileNavComposition","add-mobile-nav-composition"),r6(r5,"closeRootMobileNavFn","close-root-mobile-nav-fn"),r6(r5,"removeNavItem","remove-navigation-item"),r6(r5,"banners","banners"),r6(r5,"horizontalLayoutBanner","horizontal-layout-banner"),r6(r5,"mainWebsiteCardExt","main-website-card-extension"),r6(r5,"openHostedWebsiteSubscriptionSelect","hosted-website-subscription-select"),r6(r5,"freeDomainModal","free-domain-modal"),r6(r5,"fullWidthPageHeader","fullWidthPageHeader"),r6(r5,"msvOverviewManagementAndUpdated","msv-overview-management-and-updated"),r6(r5,"msvOverviewMonitoring","msv-overview-monitoring"),r6(r5,"injectPageToSSV","inject-page-to-ssv"),r6(r5,"injectPageToSSVTrigger","inject-page-to-ssv-trigger"),r6(r5,"rightDrawerSlot","right-drawer-slot"),n(63751);let r7=function(e){var t=e.children;return(0,es.jsx)(t9.Z,{sx:{display:"flex",flexDirection:"column"},children:(0,es.jsx)(t9.Z,{component:"main",sx:{flexGrow:1,backgroundColor:"background.default",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:t})})};var r8=n(98459),r9=n(31946);function oe(e,t,n){return(oe=oo()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&on(o,n.prototype),o}).apply(null,arguments)}function ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function on(e,t){return(on=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function or(e){var t="function"==typeof Map?new Map:void 0;return(or=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return oe(e,arguments,ot(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),on(n,e)})(e)}function oo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oo=function(){return!!e})()}var oi=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e,n){var r,o,i,a,l;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return o=t,i=[e],o=ot(o),r=function(e,t){var n;if(t&&("object"==((n=t)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,oo()?Reflect.construct(o,i||[],ot(this).constructor):o.apply(this,i)),l=void 0,(a="code")in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l,r.name="APIError",r.code=n,r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&on(t,e),t}(or(Error));function oa(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}var ol="/wp/v2",os=function(){var e;function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")}return e=[{key:"request",value:function(e){var t,n=e.path,r=e.data,o=void 0===r?void 0:r,i=e.method,a=void 0===i?e5.POST:i;return(t=function(){var e,t,r,i,l,s,c,u,d,f,p;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),l=((null===(t=window)||void 0===t||null===(e=t.elementorOneSettingsData)||void 0===e?void 0:e.wpRestUrl)||"/wp-json/").replace(/\/$/,""),s=null===(i=window)||void 0===i||null===(r=i.elementorOneSettingsData)||void 0===r?void 0:r.wpRestNonce,c="".concat(l).concat(n),"GET"!==a||n.startsWith(ol)||(c=(0,r9.f)(c,{sb_time:new Date().getTime()})),[4,(0,r8.default)({url:c,method:a,data:o,headers:{"X-WP-Nonce":s}})];case 1:if(u=h.sent(),n.startsWith(ol)||void 0===u.success)return[2,u];if(!u.success)throw new oi((null===(d=u.data)||void 0===d?void 0:d.message)||"Unknown error");return[2,u.data];case 2:var y;if(y=f=h.sent(),null!=oi&&"undefined"!=typeof Symbol&&oi[Symbol.hasInstance]?!!oi[Symbol.hasInstance](y):y instanceof oi)throw f;throw new oi((null==f?void 0:f.message)||"Unknown error",null==f||null===(p=f.data)||void 0===p?void 0:p.status);case 3:return[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){oa(i,r,o,a,l,"next",e)}function l(e){oa(i,r,o,a,l,"throw",e)}a(void 0)})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t,e),t}();function oc(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function ou(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){oc(i,r,o,a,l,"next",e)}function l(e){oc(i,r,o,a,l,"throw",e)}a(void 0)})}}n(99501);function od(e){return(od=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function of(e,t){return(of=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function op(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(op=function(){return!!e})()}function oh(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var oy="/elementor-one/v1",og=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function n(){var e,t;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,t=arguments,e=od(e),function(e,t){var n;if(t&&("object"==((n=t)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,op()?Reflect.construct(e,t||[],od(this).constructor):e.apply(this,t))}return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&of(n,e),t=[{key:"initConnect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"new";return ou(function(){var n,r,o;return oh(this,function(i){return o={wp_rest:null===(r=window)||void 0===r||null===(n=r.elementorOneSettingsData)||void 0===n?void 0:n.wpRestNonce,clearSession:e},"update"===t&&(o.update_redirect_uri=!0),[2,os.request({method:e5.POST,path:"".concat(oy,"/connect/authorize"),data:o})]})})()}},{key:"getInstalledPlugins",value:function(){return ou(function(){return oh(this,function(e){switch(e.label){case 0:return[4,os.request({method:e5.GET,path:"".concat(oy,"/plugins")})];case 1:return[2,e.sent()]}})})()}},{key:"installPlugin",value:function(e,t){return ou(function(){return oh(this,function(n){switch(n.label){case 0:return[4,os.request({method:e5.POST,path:"".concat(oy,"/plugins"),data:{slug:e,status:t}})];case 1:return[2,n.sent()]}})})()}},{key:"activatePlugin",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/plugins/").concat(e,"/activate")})]})})()}},{key:"deactivatePlugin",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/plugins/").concat(e,"/deactivate")})]})})()}},{key:"upgradePlugin",value:function(e,t){return ou(function(){return oh(this,function(n){switch(n.label){case 0:return[4,os.request({method:e5.POST,path:"".concat(oy,"/plugins/").concat(e,"/upgrade"),data:{status:t}})];case 1:return[2,n.sent()]}})})()}},{key:"migrate",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/plugins/").concat(e,"/migration/run")})]})})()}},{key:"detachFromOne",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/plugins/").concat(e,"/migration/rollback")})]})})()}},{key:"clearSession",value:function(){return ou(function(){var e,t;return oh(this,function(n){return[2,os.request({method:e5.POST,path:"".concat(oy,"/connect/deactivate_and_disconnect"),data:{wp_rest:null===(t=window)||void 0===t||null===(e=t.elementorOneSettingsData)||void 0===e?void 0:e.wpRestNonce,clear_session:!0}})]})})()}},{key:"deactivateAndDisconnect",value:function(){return ou(function(){var e,t;return oh(this,function(n){return[2,os.request({method:e5.POST,path:"".concat(oy,"/connect/deactivate_and_disconnect"),data:{wp_rest:null===(t=window)||void 0===t||null===(e=t.elementorOneSettingsData)||void 0===e?void 0:e.wpRestNonce}})]})})()}},{key:"deactivate",value:function(){return ou(function(){var e,t;return oh(this,function(n){return[2,os.request({method:e5.POST,path:"".concat(oy,"/connect/deactivate"),data:{wp_rest:null===(t=window)||void 0===t||null===(e=t.elementorOneSettingsData)||void 0===e?void 0:e.wpRestNonce}})]})})()}},{key:"disconnect",value:function(){return ou(function(){var e,t;return oh(this,function(n){return[2,os.request({method:e5.POST,path:"".concat(oy,"/connect/disconnect"),data:{wp_rest:null===(t=window)||void 0===t||null===(e=t.elementorOneSettingsData)||void 0===e?void 0:e.wpRestNonce}})]})})()}},{key:"reconnect",value:function(){return ou(function(){var e,t;return oh(this,function(n){return[2,os.request({method:e5.POST,path:"".concat(oy,"/connect/reconnect"),data:{wp_rest:null===(t=window)||void 0===t||null===(e=t.elementorOneSettingsData)||void 0===e?void 0:e.wpRestNonce}})]})})()}},{key:"attachApps",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/apps/link"),data:{app_type:e}})]})})()}},{key:"detachApps",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/apps/unlink"),data:{app_type:e}})]})})()}},{key:"getPluginSettings",value:function(){return ou(function(){return oh(this,function(e){return[2,os.request({method:e5.GET,path:"".concat(oy,"/settings")})]})})()}},{key:"updatePluginSettings",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/settings"),data:e})]})})()}},{key:"installTheme",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/themes"),data:{slug:e,status:"active"}})]})})()}},{key:"activateTheme",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.POST,path:"".concat(oy,"/themes/").concat(e,"/activate")})]})})()}},{key:"updateSettings",value:function(e){return ou(function(){return oh(this,function(t){return[2,os.request({method:e5.PUT,path:"".concat(oy,"/settings"),data:e})]})})()}},{key:"switchDomain",value:function(){return ou(function(){return oh(this,function(e){switch(e.label){case 0:return[4,os.request({method:e5.POST,path:"".concat(oy,"/connect/switch-domain")})];case 1:return e.sent(),[2]}})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(n,t),n}(os),om=(0,eR.oM)({name:"sharedElementorOne",initialState:{pluginSettings:void 0,installProgress:{total:0,completed:0,inProgress:!1},siteScreenshot:void 0,dataFetched:{},loadingState:{},errorState:{}},reducers:{setPluginSettings:function(e,t){e.pluginSettings=t.payload},setDataFetched:function(e,t){e.dataFetched[t.payload.key]=t.payload.value},setSiteScreenshot:function(e,t){e.siteScreenshot=t.payload},setLoadState:function(e,t){e.loadingState[t.payload.key]=t.payload.value},setErrorState:function(e,t){e.errorState[t.payload.key]=t.payload.value},setInstallProgress:function(e,t){e.installProgress={total:t.payload.total,completed:0,inProgress:!0}},incrementInstallCompleted:function(e){e.installProgress.completed+=1,e.installProgress.completed>=e.installProgress.total&&(e.installProgress.inProgress=!1)}}}),ov=om.actions;function ob(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}om.reducer;var ow=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function oj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ob(ow,"setPluginSettings",ov.setPluginSettings),ob(ow,"setDataFetched",ov.setDataFetched),ob(ow,"setLoadState",ov.setLoadState),ob(ow,"setErrorState",ov.setErrorState),ob(ow,"setInstallProgress",ov.setInstallProgress),ob(ow,"incrementInstallCompleted",ov.incrementInstallCompleted),ob(ow,"setSiteScreenshot",ov.setSiteScreenshot);var oO=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};function ox(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function oE(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){ox(i,r,o,a,l,"next",e)}function l(e){ox(i,r,o,a,l,"throw",e)}a(void 0)})}}function oS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oP(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}oj(oO,"selectState",function(e){return e.sharedElementorOne}),oj(oO,"selectPluginSettings",(0,tl.P1)(oO.selectState,function(e){return null==e?void 0:e.pluginSettings})),oj(oO,"selectDataFetched",(0,tl.P1)([oO.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.dataFetched[t])||void 0})),oj(oO,"selectLoadingState",(0,tl.P1)([oO.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.loadingState[t])||void 0})),oj(oO,"selectErrorState",(0,tl.P1)([oO.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.errorState[t])||void 0})),oj(oO,"selectInstallProgress",(0,tl.P1)([oO.selectState],function(e){return(null==e?void 0:e.installProgress)||{total:0,completed:0,inProgress:!1}})),oj(oO,"selectSiteScreenshot",(0,tl.P1)(oO.selectState,function(e){return null==e?void 0:e.siteScreenshot}));var oT=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};oS(oT,"getPluginSettings",function(){var e,t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e=oE(function(e){var n,r;return oP(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),t&&e(ow.setLoadState({key:"pluginSettings",value:!0})),[4,og.getPluginSettings()];case 1:return n=o.sent(),e(ow.setPluginSettings(n)),[3,4];case 2:return r=o.sent(),e(e4.setAlertError({shouldRefresh:!0})),e(ow.setErrorState({key:"pluginSettings",value:null==r?void 0:r.message})),[3,4];case 3:return e(ow.setDataFetched({key:"pluginSettings",value:!0})),t&&e(ow.setLoadState({key:"pluginSettings",value:!1})),[7];case 4:return[2]}})}),function(t){return e.apply(this,arguments)}}),oS(oT,"updatePluginSettings",function(e){var t;return t=oE(function(t){var n,r;return oP(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),t(ow.setLoadState({key:"updatePluginSettings",value:!0})),[4,og.updatePluginSettings(e)];case 1:return n=o.sent(),t(ow.setPluginSettings(n)),[3,4];case 2:return r=o.sent(),t(e4.setAlertError({shouldRefresh:!0})),t(ow.setErrorState({key:"updatePluginSettings",value:null==r?void 0:r.message})),[3,4];case 3:return t(ow.setLoadState({key:"updatePluginSettings",value:!1})),[7];case 4:return[2]}})}),function(e){return t.apply(this,arguments)}}),oS(oT,"connect",function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e=oE(function(e){var n,r;return oP(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,3,4]),e(ow.setLoadState({key:"connect",value:!0})),[4,og.initConnect(t)];case 1:return r=o.sent(),null===(n=window.open(r,"_self"))||void 0===n||n.focus(),[3,4];case 2:return o.sent(),e(e4.setAlertError({shouldRefresh:!0})),[3,4];case 3:return e(ow.setLoadState({key:"connect",value:!1})),[7];case 4:return[2]}})}),function(t){return e.apply(this,arguments)}}),oS(oT,"disconnect",function(){var e;return e=oE(function(e){return oP(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,3,4]),e(ow.setLoadState({key:"disconnect",value:!0})),[4,og.disconnect()];case 1:return t.sent(),e(oT.getPluginSettings()),[3,4];case 2:return t.sent(),e(e4.setAlertError({shouldRefresh:!0})),[3,4];case 3:return e(ow.setLoadState({key:"disconnect",value:!1})),[7];case 4:return[2]}})}),function(t){return e.apply(this,arguments)}}),oS(oT,"attachApps",function(e){var t;return t=oE(function(t){return oP(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,3,4]),t(ow.setLoadState({key:"attachApps-".concat(e),value:!0})),[4,og.attachApps(e)];case 1:return[2,n.sent()];case 2:return n.sent(),t(e4.setAlertError({shouldRefresh:!0})),[2,void 0];case 3:return t(ow.setLoadState({key:"attachApps-".concat(e),value:!1})),[7];case 4:return[2]}})}),function(e){return t.apply(this,arguments)}}),oS(oT,"detachApps",function(e){var t;return t=oE(function(t){return oP(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,3,4]),t(ow.setLoadState({key:"detachApps-".concat(e),value:!0})),[4,og.detachApps(e)];case 1:return[2,n.sent()];case 2:return n.sent(),t(e4.setAlertError({shouldRefresh:!0})),[2,void 0];case 3:return t(ow.setLoadState({key:"detachApps-".concat(e),value:!1})),[7];case 4:return[2]}})}),function(e){return t.apply(this,arguments)}}),oS(oT,"getSiteScreenshot",function(e){var t;return t=oE(function(t){var n;return oP(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,3,4]),t(ow.setLoadState({key:"getSiteScreenshot",value:!0})),[4,"https://s.wordpress.com/mshots/v1/".concat(encodeURI(e),"?w=310&requeue=true")];case 1:return n=r.sent(),t(ow.setSiteScreenshot(n)),[3,4];case 2:return r.sent(),t(ow.setSiteScreenshot(null)),[3,4];case 3:return t(ow.setLoadState({key:"getSiteScreenshot",value:!1})),[7];case 4:return[2]}})}),function(e){return t.apply(this,arguments)}}),oS(oT,"activateHelloTheme",function(e){return oE(function(){return oP(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,og.activateTheme(e)];case 1:return t.sent(),[2,{success:!0,message:"siteIdentity.helloThemeActivated"}];case 2:return t.sent(),[2,{success:!1,message:"siteIdentity.helloThemeActivationFailed"}];case 3:return[2]}})})}),oS(oT,"installHelloTheme",function(e){var t;return t=oE(function(t){var n,r;return oP(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,5,6]),t(ow.setLoadState({key:"installHelloTheme",value:!0})),[4,og.installTheme(e)];case 1:return o.sent(),t(oT.getPluginSettings(!1)),[2,{success:!0,message:"siteIdentity.helloThemeInstalled"}];case 2:if((null==(n=o.sent())?void 0:n.code)!==409)return[3,4];return[4,t(oT.activateHelloTheme(e))];case 3:return r=o.sent(),t(oT.getPluginSettings(!1)),[2,r];case 4:return t(e4.setAlertError({shouldRefresh:!0})),[2,{success:!1,message:"siteIdentity.helloThemeInstallationFailed"}];case 5:return t(ow.setLoadState({key:"installHelloTheme",value:!1})),[7];case 6:return[2]}})}),function(e){return t.apply(this,arguments)}}),oS(oT,"switchDomain",function(){var e;return e=oE(function(e){return oP(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,3,4]),e(ow.setLoadState({key:"switchDomain",value:!0})),[4,og.switchDomain()];case 1:return t.sent(),[3,4];case 2:return t.sent(),e(e4.setAlertError({shouldRefresh:!0})),[3,4];case 3:return e(ow.setLoadState({key:"switchDomain",value:!1})),[7];case 4:return[2]}})}),function(t){return e.apply(this,arguments)}});var oC=((k={}).ACTIVE="active",k.INACTIVE="inactive",k),oA=((_={}).ELEMENTOR="elementor",_.ELEMENTOR_PRO="elementor-pro",_.ELEMENTOR_ACCESS="pojo-accessibility",_.ELEMENTOR_IO="image-optimization",_.ELEMENTOR_MAILER="site-mailer",_.ELEMENTOR_AI="angie",_),oI={reduxSlice:om,reduxSelector:oO.selectPluginSettings,condition:function(e){if(void 0!==e)return eh.hasData(e)},dispatchAction:oT.getPluginSettings()},ok=n(87770),o_=n(6423),oL=n(93553),oM=n(4999),oR=function(){return(0,es.jsxs)(na.Z,{gap:2,children:[(0,es.jsx)(na.Z,{direction:"row",gap:2,alignItems:"center",px:4,py:3,sx:{backgroundColor:"action.hover"},children:(0,es.jsxs)(na.Z,{direction:"row",gap:2,alignItems:"center",justifyContent:"space-between",width:"100%",children:[(0,es.jsxs)(na.Z,{gap:1,children:[(0,es.jsx)(ok.Z,{variant:"rounded",width:100,height:25}),(0,es.jsx)(ok.Z,{variant:"text",width:200,height:25})]}),(0,es.jsxs)(na.Z,{direction:"row",gap:1,children:[(0,es.jsx)(ok.Z,{variant:"rounded",width:100,height:36}),(0,es.jsx)(ok.Z,{variant:"rounded",width:100,height:36})]})]})}),(0,es.jsx)(oL.Z,{maxWidth:"lg",children:(0,es.jsxs)(na.Z,{sx:{px:4,pt:6,pb:4},gap:4,children:[(0,es.jsx)(ok.Z,{variant:"rounded",width:280,height:35}),(0,es.jsxs)(na.Z,{direction:"row",gap:2,alignItems:"center",justifyContent:"space-between",mt:2.5,children:[(0,es.jsxs)(na.Z,{direction:"row",gap:1,alignItems:"center",children:[(0,es.jsx)(ok.Z,{variant:"rounded",width:75,height:25}),(0,es.jsx)(ok.Z,{variant:"rounded",width:75,height:25,sx:{display:{xs:"none",md:"block"}}}),(0,es.jsx)(ok.Z,{variant:"rounded",width:75,height:25,sx:{display:{xs:"none",md:"block"}}}),(0,es.jsx)(ok.Z,{variant:"rounded",width:75,height:25,sx:{display:{xs:"none",md:"block"}}})]}),(0,es.jsx)(ok.Z,{variant:"rounded",width:100,height:25})]}),(0,es.jsx)(oM.Z,{container:!0,spacing:2,rowSpacing:6,children:Array.from({length:8}).map(function(e,t){return(0,es.jsx)(oM.Z,{item:!0,xs:12,sm:6,md:3,children:(0,es.jsx)(ok.Z,{variant:"rounded",width:"100%",height:280})},"skeleton-".concat(t))})})]})})]})},oZ=n(16060),oD=n(19391);function oN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){oN(e,t,n[t])})}return e}var oB=function(e){var t;return oN(t={marginLeft:"".concat(160,"px"),marginTop:"24px"},e.breakpoints.down(961),{marginLeft:"".concat(36,"px")}),oN(t,e.breakpoints.down(783),{marginTop:"12px",marginLeft:"".concat(0,"px")}),t},oF=function(){return(0,es.jsxs)(nT.Z,{open:!0,maxWidth:"lg",fullWidth:!0,transitionDuration:0,PaperProps:{sx:{height:"100%",width:"100%",mx:{xs:2,md:4}}},slotProps:{backdrop:{sx:function(e){return oU({},oB(e))}}},sx:function(e){return oU({},oB(e))},children:[(0,es.jsx)(nk.Z,{onClose:function(){},logo:!1,children:(0,es.jsx)(n_.Z,{color:"text.primary",children:(0,es.jsx)(ok.Z,{variant:"text",width:100})})}),(0,es.jsx)(nA.Z,{dividers:!0,children:(0,es.jsxs)(na.Z,{sx:{px:{xs:0,md:4},py:2},gap:3,children:[(0,es.jsx)(ok.Z,{variant:"text",width:200}),(0,es.jsx)(na.Z,{gap:3,children:Array.from({length:3}).map(function(e,t){return(0,es.jsxs)(na.Z,{gap:1,children:[(0,es.jsx)(ok.Z,{variant:"text",width:150}),(0,es.jsx)(oD.Z,{variant:"outlined",sx:{p:2},children:(0,es.jsx)(na.Z,{gap:1,divider:(0,es.jsx)(o_.Z,{}),children:Array.from({length:3}).map(function(e,t){return(0,es.jsxs)(na.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",gap:1,children:[(0,es.jsx)(ok.Z,{variant:"text",width:200}),(0,es.jsx)(ok.Z,{variant:"rounded",width:100,height:30})]},"category-item-".concat(t))})})})]},"category-".concat(t))})})]})})]})},oG=n(36),oW=n(15420),oz=function(){return(0,es.jsx)(oL.Z,{maxWidth:"lg",sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",pt:8,"@media (min-width: 600px)":{px:4}},children:(0,es.jsxs)(na.Z,{sx:{flexDirection:{xs:"column",md:"row"}},gap:4,children:[(0,es.jsxs)(na.Z,{gap:3,justifyContent:"center",sx:{flex:"0 0 50%",margin:"0 auto"},children:[(0,es.jsxs)(na.Z,{gap:1,children:[(0,es.jsx)(ok.Z,{variant:"rounded",width:150,height:24}),(0,es.jsx)(ok.Z,{variant:"rounded",width:180,height:24})]}),(0,es.jsxs)(na.Z,{gap:1,children:[(0,es.jsx)(ok.Z,{variant:"text",width:165}),(0,es.jsx)(ok.Z,{variant:"text",width:150})]}),(0,es.jsx)(ok.Z,{variant:"rounded",height:36,sx:{maxWidth:{xs:"100%",md:400}}})]}),(0,es.jsxs)(na.Z,{sx:{flex:"0 0 50%"},gap:2,children:[(0,es.jsx)(na.Z,{gap:2,children:Array.from({length:6}).map(function(e,t){return(0,es.jsx)(oG.Z,{variant:"outlined",sx:{width:"500px"},children:(0,es.jsx)(oW.Z,{children:(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",gap:2,sx:{height:"68px"},children:[(0,es.jsx)(ok.Z,{variant:"rectangular",width:24,height:24}),(0,es.jsxs)(na.Z,{width:"70%",children:[(0,es.jsx)(ok.Z,{variant:"text",sx:{width:"50%"}}),(0,es.jsx)(ok.Z,{variant:"text"})]}),(0,es.jsx)(ok.Z,{variant:"rounded",width:72,height:24,sx:{marginLeft:"auto",borderRadius:"12px"}})]})})},t)})}),(0,es.jsx)(ok.Z,{variant:"text",height:32,sx:{alignSelf:{xs:"center",md:"flex-end"},width:{xs:"70%",md:60}}})]})]})})},oK=function(e){var t,n,r,o=e.showHeader,i=(null===(r=window.location.hash)||void 0===r||null===(n=r.split)||void 0===n||null===(t=n.call(r,"#"))||void 0===t?void 0:t.length)>1?window.location.hash.split("#")[1]:"/home";return(0,es.jsx)(t9.Z,{sx:{display:"flex",flexDirection:"column",backgroundColor:"background.default",overflowY:"auto","@media (max-width: 784px)":{top:"48px"}},children:(0,es.jsxs)(na.Z,{pt:2,children:[(void 0===o||o)&&(0,es.jsxs)(na.Z,{direction:"row",gap:1,alignItems:"center",borderBottom:"1px solid",borderColor:"divider",justifyContent:"space-between",pb:2,px:3,children:[(0,es.jsx)(ok.Z,{variant:"rounded",width:150,height:25}),(0,es.jsxs)(na.Z,{direction:"row",gap:1,alignItems:"center",children:[(0,es.jsx)(ok.Z,{variant:"circular",width:25,height:25,sx:{display:{xs:"none",md:"block"}}}),(0,es.jsx)(ok.Z,{variant:"circular",width:25,height:25,sx:{display:{xs:"none",md:"block"}}}),(0,es.jsx)(ok.Z,{variant:"circular",width:25,height:25,sx:{display:{xs:"none",md:"block"}}}),(0,es.jsx)(o_.Z,{orientation:"vertical",flexItem:!0,sx:{display:{xs:"none",md:"block"}}}),(0,es.jsx)(ok.Z,{variant:"rounded",width:100,height:25})]})]}),(0,oZ.LX)("/home/onboarding",i)?(0,es.jsx)(oz,{}):(0,oZ.LX)("/home/tool-manager",i)?(0,es.jsx)(oF,{}):(0,es.jsx)(oR,{})]})})},oV=[oI],oH=(0,ed.memo)(function(e){var t=e.children;return(0,es.jsx)(n8,{reduxRules:oV,fallbackUI:(0,es.jsx)(oK,{}),children:t})}),oq={CONNECT:"connect"},o$=function(){var e=(0,eg.$G)(["common"]).t,t=eL(),n=eM(oO.selectPluginSettings),r=eM(function(e){return oO.selectLoadingState(e,"connect")}),o=function(e){t(oT.updatePluginSettings({dismissConnectAlert:!0}))};return n?(0,es.jsx)(na.Z,{children:!n.isConnected&&!n.dismissConnectAlert&&!n.isUrlMismatch&&(0,es.jsxs)(rA.ZP,{severity:"info",variant:"standard",onClose:function(){return o(oq.CONNECT)},"data-test":"alert-connect",children:[e("alerts.connect.description"),(0,es.jsx)(nl.Z,{onClick:function(){if(!r){var n,o,i;rh.trackMixpanelEvent(rp.events.ALERT_CLICKED,(n={},o=rp.properties.ACTION_TYPE,i=e("alerts.connect.action",{lng:ew.EN}),o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,n)),t(oT.connect())}},color:r?"text.disabled":"info.main",underline:"none",sx:{ml:1},"data-test":"alert-connect-action-link",children:e("alerts.connect.action")}),r&&(0,es.jsx)(t5.Z,{size:14,sx:{ml:1},color:"secondary","data-test":"alert-connect-loader"})]})}):null},oY=n(76706);function oQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function oJ(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return oQ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oQ(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var oX=function(e){return e>=600&&e<=784},o0=function(){var e=oJ((0,ed.useState)(function(){return window.innerWidth}),2),t=e[0],n=e[1],r=function(e){return e<=784?46:32},o=oJ((0,ed.useState)(function(){return r(window.innerWidth)}),2),i=o[0],a=o[1];return(0,ed.useEffect)(function(){var e=function(){var e=window.innerWidth;n(e);var t=r(e),o=window.scrollY||window.pageYOffset;oX(e)?a(t):e<=784?o>=t?a(0):a(t-o):a(t)};return e(),window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},[]),(0,ed.useEffect)(function(){var e=r(t);if(oX(t)||t>784){a(e);return}var n=function(){var t=window.scrollY||window.pageYOffset;t>=e?a(0):a(e-t)};return window.addEventListener("scroll",n,{passive:!0}),n(),function(){return window.removeEventListener("scroll",n)}},[t]),i},o1=function(){var e=(0,eg.$G)(["common"]).t,t=eM(oO.selectInstallProgress);return(ry(function(e){t.inProgress&&e.preventDefault()}),t.inProgress)?(0,es.jsx)(na.Z,{children:(0,es.jsx)(rA.ZP,{severity:"info",variant:"standard","data-test":"alert-installing",children:e("alerts.installing",{current:t.completed,total:t.total})})}):null};function o2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o3=((L={}).CREATE="Create",L.OPTIMIZE="Optimize",L.MANAGE="Manage",L),o4=(o2(X={},oA.ELEMENTOR,"APP_CORE"),o2(X,oA.ELEMENTOR_PRO,eQ.PLUGIN),o2(X,oA.ELEMENTOR_AI,eQ.APP_AI),o2(X,oA.ELEMENTOR_ACCESS,eQ.APP_ACCESS),o2(X,oA.ELEMENTOR_IO,eQ.APP_IO),o2(X,oA.ELEMENTOR_MAILER,eQ.APP_MAILER),X),o6=((M={}).ACTIVATE="activate",M.DEACTIVATE="deactivate",M.DETACH="detach",M.MIGRATE="migrate",M),o5=((R={}).ALL="all",R.FEATURED="featured",R.CREATE="create",R.OPTIMIZE="optimize",R.MANAGE="manage",R),o7=((Z={}).ALL="all",Z.ACTIVE="active",Z.NOT_INSTALLED="notInstalled",Z),o8=((D={}).HOME="home",D.TOOL_MANAGER="toolManager",D);function o9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ie={plugins:[],toolbarState:(o9(ee={},o8.HOME,{filter:o5.FEATURED}),o9(ee,o8.TOOL_MANAGER,{filter:o7.ALL}),ee),onboardingInstallToolsState:(o9(et={},oA.ELEMENTOR,!0),o9(et,oA.ELEMENTOR_PRO,!0),o9(et,oA.ELEMENTOR_ACCESS,!0),o9(et,oA.ELEMENTOR_IO,!0),o9(et,oA.ELEMENTOR_MAILER,!0),o9(et,oA.ELEMENTOR_AI,!1),et),toolManagerToolsState:{},conflictsToSolve:[],isConlictsDialogOpen:!1,dataFetched:{},loadingState:{},errorState:{}};function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var ir=(0,eR.oM)({name:"elementorOneHome",initialState:ie,reducers:{setToolbarState:function(e,t){e.toolbarState[t.payload.key]=it({},e.toolbarState[t.payload.key]||{},t.payload.value)},setPlugins:function(e,t){e.plugins=t.payload,e.dataFetched.plugins=!0,e.loadingState.plugins=!1,e.errorState.plugins=""},setOnboardingInstallToolsState:function(e,t){e.onboardingInstallToolsState[t.payload.key]=t.payload.value},setToolManagerToolsState:function(e,t){e.toolManagerToolsState[t.payload.key]=it({},e.toolManagerToolsState[t.payload.key]||{},t.payload.value)},setIsConflictsDialogOpen:function(e,t){e.isConlictsDialogOpen=t.payload},addConflictsToSolve:function(e,t){e.conflictsToSolve.push(t.payload)},resetConflictsToSolve:function(e){e.conflictsToSolve=[]},setBulkToolManagerToolsState:function(e,t){e.toolManagerToolsState=t.payload.toolsState.reduce(function(e,t){return e[t.appType]=t,e},it({},e.toolManagerToolsState))},setDataFetched:function(e,t){e.dataFetched[t.payload.key]=t.payload.value},setLoadState:function(e,t){e.loadingState[t.payload.key]=t.payload.value},setErrorState:function(e,t){e.errorState[t.payload.key]=t.payload.value}}}),io=ir.actions;function ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ir.reducer;var ia=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};ii(ia,"setToolbarState",io.setToolbarState),ii(ia,"setToolManagerToolsState",io.setToolManagerToolsState),ii(ia,"setBulkToolManagerToolsState",io.setBulkToolManagerToolsState),ii(ia,"setDataFetched",io.setDataFetched),ii(ia,"setLoadState",io.setLoadState),ii(ia,"setErrorState",io.setErrorState),ii(ia,"setPlugins",io.setPlugins),ii(ia,"setOnboardingInstallToolsState",io.setOnboardingInstallToolsState),ii(ia,"setIsConflictsDialogOpen",io.setIsConflictsDialogOpen),ii(ia,"addConflictsToSolve",io.addConflictsToSolve),ii(ia,"resetConflictsToSolve",io.resetConflictsToSolve);var il=((N={}).INSTALL="install",N.ACTIVATE="activate",N.UPDATE="update",N.MIGRATE="migrate",N);function is(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ic(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function iu(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){ic(i,r,o,a,l,"next",e)}function l(e){ic(i,r,o,a,l,"throw",e)}a(void 0)})}}function id(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ip(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var ih=function(e,t){return e.some(function(e){return e.slug===t.slug})?e.map(function(e){return e.slug===t.slug?t:e}):((function(e){if(Array.isArray(e))return is(e)})(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return is(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return is(e,t)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([t])},iy=new Set(Object.values(oA)),ig=function(e){return iy.has(e.slug)},im=function(e){return{appType:o4[e.slug],isActive:e.status===oC.ACTIVE,isInstalled:!0,updateRequired:null!==e.newVersion&&""!==e.newVersion,isMigrated:e.isMigrated,version:e.version,newVersion:e.newVersion,hasWpOnePackage:e.hasWpOnePackage}},iv=function(e,t,n){var r=ih(e,t);n(ia.setPlugins(r));var o=r.filter(ig).map(im);n(ia.setBulkToolManagerToolsState({toolsState:o}))},ib=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};id(ib,"getInstalledPlugins",(0,eR.hg)("elementorOneHome/getInstalledTools",(U=iu(function(e,t){var n,r,o,i,a;return ip(this,function(e){switch(e.label){case 0:t.getState,n=t.dispatch,r=t.rejectWithValue,e.label=1;case 1:return e.trys.push([1,3,,4]),n(ia.setLoadState({key:"plugins",value:!0})),n(ia.setErrorState({key:"plugins",value:""})),[4,og.getInstalledPlugins()];case 2:return o=e.sent(),n(ia.setPlugins(o)),i=o.filter(ig).map(im),n(ia.setBulkToolManagerToolsState({toolsState:i})),[3,4];case 3:return a=e.sent(),n(ia.setPlugins([])),n(ia.setLoadState({key:"plugins",value:!1})),n(ia.setErrorState({key:"plugins",value:(null==a?void 0:a.message)||"Failed to fetch plugins"})),[2,r(a)];case 4:return[2]}})}),function(e,t){return U.apply(this,arguments)}))),id(ib,"installPlugin",(0,eR.hg)("elementorOneHome/installAndActivatePlugin",(B=iu(function(e,t){var n,r,o,i,a,l,s;return ip(this,function(c){switch(c.label){case 0:n=e.slug,r=e.status,o=t.getState,i=t.dispatch,a=t.rejectWithValue,c.label=1;case 1:return c.trys.push([1,3,4,5]),i(ia.setLoadState({key:"installingPlugin-".concat(n),value:!0})),[4,og.installPlugin(n,r)];case 2:return l=c.sent(),iv(o().elementorOneHome.plugins,l,i),[2,l];case 3:return s=c.sent(),[2,a(s)];case 4:return i(ia.setLoadState({key:"installingPlugin-".concat(n),value:!1})),[7];case 5:return[2]}})}),function(e,t){return B.apply(this,arguments)}))),id(ib,"upgradePlugin",(0,eR.hg)("elementorOneHome/upgradePlugin",(F=iu(function(e,t){var n,r,o,i,a,l,s;return ip(this,function(c){switch(c.label){case 0:n=e.slug,r=e.status,o=t.getState,i=t.dispatch,a=t.rejectWithValue,c.label=1;case 1:return c.trys.push([1,3,4,5]),i(ia.setLoadState({key:"upgradePlugin-".concat(n),value:!0})),[4,og.upgradePlugin(n,r)];case 2:return l=c.sent(),iv(o().elementorOneHome.plugins,l,i),[2,l];case 3:return s=c.sent(),[2,a(s)];case 4:return i(ia.setLoadState({key:"upgradePlugin-".concat(n),value:!1})),[7];case 5:return[2]}})}),function(e,t){return F.apply(this,arguments)}))),id(ib,"migrateToOne",(0,eR.hg)("elementorOneHome/migratePlugin",(G=iu(function(e,t){var n,r,o,i,a,l;return ip(this,function(s){switch(s.label){case 0:n=e.slug,r=t.getState,o=t.dispatch,i=t.rejectWithValue,s.label=1;case 1:return s.trys.push([1,3,4,5]),o(ia.setLoadState({key:"migrateToOne-".concat(n),value:!0})),[4,og.migrate(n)];case 2:return a=s.sent(),iv(r().elementorOneHome.plugins,a,o),[2,a];case 3:return l=s.sent(),[2,i(l)];case 4:return o(ia.setLoadState({key:"migrateToOne-".concat(n),value:!1})),[7];case 5:return[2]}})}),function(e,t){return G.apply(this,arguments)}))),id(ib,"activatePlugin",(0,eR.hg)("elementorOneHome/activatePlugin",(W=iu(function(e,t){var n,r,o,i,a,l;return ip(this,function(s){switch(s.label){case 0:n=e.slug,r=t.getState,o=t.dispatch,i=t.rejectWithValue,s.label=1;case 1:return s.trys.push([1,3,4,5]),o(ia.setLoadState({key:"activatePlugin-".concat(n),value:!0})),[4,og.activatePlugin(n)];case 2:return a=s.sent(),iv(r().elementorOneHome.plugins,a,o),[2,a];case 3:return l=s.sent(),[2,i(l)];case 4:return o(ia.setLoadState({key:"activatePlugin-".concat(n),value:!1})),[7];case 5:return[2]}})}),function(e,t){return W.apply(this,arguments)}))),id(ib,"deactivatePlugin",(0,eR.hg)("elementorOneHome/deactivatePlugin",(z=iu(function(e,t){var n,r,o,i,a,l;return ip(this,function(s){switch(s.label){case 0:n=e.slug,r=t.getState,o=t.dispatch,i=t.rejectWithValue,s.label=1;case 1:return s.trys.push([1,3,4,5]),o(ia.setLoadState({key:"deactivatePlugin-".concat(n),value:!0})),[4,og.deactivatePlugin(n)];case 2:return a=s.sent(),iv(r().elementorOneHome.plugins,a,o),[2,a];case 3:return l=s.sent(),[2,i(l)];case 4:return o(ia.setLoadState({key:"deactivatePlugin-".concat(n),value:!1})),[7];case 5:return[2]}})}),function(e,t){return z.apply(this,arguments)}))),id(ib,"detachFromOne",(0,eR.hg)("elementorOneHome/detachFromOne",(K=iu(function(e,t){var n,r,o,i,a,l;return ip(this,function(s){switch(s.label){case 0:n=e.slug,r=t.getState,o=t.dispatch,i=t.rejectWithValue,s.label=1;case 1:return s.trys.push([1,3,4,5]),o(ia.setLoadState({key:"detachFromOne-".concat(n),value:!0})),[4,og.detachFromOne(n)];case 2:return a=s.sent(),iv(r().elementorOneHome.plugins,a,o),[2,a];case 3:return l=s.sent(),[2,i(l)];case 4:return o(ia.setLoadState({key:"detachFromOne-".concat(n),value:!1})),[7];case 5:return[2]}})}),function(e,t){return K.apply(this,arguments)}))),id(ib,"processPluginAction",(0,eR.hg)("elementorOneHome/processPlugin",(V=iu(function(e,t){var n,r,o;return ip(this,function(i){switch(i.label){case 0:n=e.slug,r=e.actionType,t.getState,o=t.dispatch,t.rejectWithValue,i.label=1;case 1:switch(i.trys.push([1,,11,12]),o(ia.setLoadState({key:"processingPlugin-".concat(n),value:!0})),r){case il.INSTALL:return[3,2];case il.ACTIVATE:return[3,4];case il.UPDATE:return[3,6];case il.MIGRATE:return[3,8]}return[3,10];case 2:return[4,o(ib.installPlugin({slug:n,status:oC.ACTIVE})).unwrap()];case 3:case 5:case 7:case 9:return i.sent(),[3,10];case 4:return[4,o(ib.activatePlugin({slug:n})).unwrap()];case 6:return[4,o(ib.upgradePlugin({slug:n,status:oC.ACTIVE})).unwrap()];case 8:return[4,o(ib.migrateToOne({slug:n})).unwrap()];case 10:return[3,12];case 11:return o(ia.setLoadState({key:"processingPlugin-".concat(n),value:!1})),o(ow.incrementInstallCompleted()),[7];case 12:return[2]}})}),function(e,t){return V.apply(this,arguments)}))),id(ib,"processPlugin",(0,eR.hg)("elementorOneHome/processPluginIncludingProCoreDependency",(H=iu(function(e,t){var n,r,o,i,a,l,s;return ip(this,function(c){switch(c.label){case 0:n=e.slug,r=e.actionType,o=t.getState,i=t.dispatch,t.rejectWithValue,c.label=1;case 1:if(c.trys.push([1,7,,8]),n!==oA.ELEMENTOR_PRO)return[3,5];if(l=!!(a=o().elementorOneHome.plugins.find(function(e){return e.slug===oA.ELEMENTOR})),s=(null==a?void 0:a.status)===oC.ACTIVE,l)return[3,3];return i(ia.setLoadState({key:"processingPlugin-".concat(oA.ELEMENTOR_PRO),value:!0})),[4,i(ib.processPluginAction({slug:oA.ELEMENTOR,actionType:il.INSTALL})).unwrap()];case 2:return c.sent(),[3,5];case 3:if(s)return[3,5];return i(ia.setLoadState({key:"processingPlugin-".concat(oA.ELEMENTOR_PRO),value:!0})),[4,i(ib.processPluginAction({slug:oA.ELEMENTOR,actionType:il.ACTIVATE})).unwrap()];case 4:c.sent(),c.label=5;case 5:return[4,i(ib.processPluginAction({slug:n,actionType:r})).unwrap()];case 6:return c.sent(),[3,8];case 7:return c.sent(),i(e4.setToast({type:"error",text:"Failed to process plugin ".concat(n)})),[3,8];case 8:return[2]}})}),function(e,t){return H.apply(this,arguments)})));var iw=function(){var e=(0,eg.$G)(["common"]).t,t=eM(oO.selectPluginSettings),n=(0,eu.s0)();return(null==t?void 0:t.isUrlMismatch)?(0,es.jsx)(es.Fragment,{children:(0,es.jsx)(na.Z,{children:(0,es.jsxs)(rA.ZP,{severity:"error",variant:"standard","data-test":"alert-url-mismatch",children:[(0,es.jsx)(rk.Z,{children:e("alerts.urlMismatch.title")}),e("alerts.urlMismatch.description"),(0,es.jsx)(nl.Z,{onClick:function(){var t,r,o;rh.trackMixpanelEvent(rp.events.ALERT_CLICKED,(t={},r=rp.properties.ACTION_TYPE,o=e("alerts.urlMismatch.action",{lng:ew.EN}),r in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o,t)),n("/home/url-mismatch")},color:"info.main",underline:"none",sx:{ml:1},"data-test":"alert-url-mismatch-action-link",children:e("alerts.urlMismatch.action")})]})})}):null};function ij(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iO=function(e){var t;return ij(t={marginLeft:"".concat(160,"px"),marginTop:"24px"},e.breakpoints.down(961),{marginLeft:"".concat(36,"px")}),ij(t,e.breakpoints.down(783),{marginTop:"12px",marginLeft:"".concat(0,"px")}),t};function ix(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let iS=function(e){var t,n=e.onClose,r=(0,eg.$G)("home").t,o=(t=(0,ed.useState)(!1),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return ix(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ix(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];return(0,es.jsxs)(na.Z,{gap:3,alignItems:"center",children:[(0,es.jsx)(ne.Z,{variant:"h3",sx:function(e){return iE({},e.breakpoints.down("lg"),{"& br":{display:"none"}})},children:(0,es.jsx)(eg.cC,{i18nKey:"welcomeModal.letsStart.title",t:r,components:{br:(0,es.jsx)("br",{})}})}),(0,es.jsx)(ne.Z,{variant:"body1",sx:function(e){return iE({},e.breakpoints.down("lg"),{"& br":{display:"none"}})},children:(0,es.jsx)(eg.cC,{i18nKey:"welcomeModal.letsStart.description",t:r,components:{br:(0,es.jsx)("br",{})}})}),(0,es.jsx)(t6.Z,{variant:"contained",color:"primary",size:"large",sx:{maxWidth:"320px",mt:1,width:"100%"},onClick:function(){a(!0),n()},loading:i,children:r("welcomeModal.letsStart.button")})]})};function iP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let iT=function(){var e,t,n,r=(e=(0,ed.useState)(!1),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return iP(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iP(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];return(0,es.jsxs)(t9.Z,{flex:1,alignSelf:(n="stretch","lg"in(t={xs:"center"})?Object.defineProperty(t,"lg",{value:n,enumerable:!0,configurable:!0,writable:!0}):t.lg=n,t),sx:{borderRadius:"16px",display:{xs:"none",sm:"flex"},justifyContent:"center",alignItems:"center",maxWidth:"800px",width:"100%"},children:[!o&&(0,es.jsx)(ok.Z,{variant:"rounded",sx:{borderRadius:"8px",aspectRatio:16/9,width:"100%",height:"auto"}}),(0,es.jsx)("iframe",{src:"https://www.youtube.com/embed/VeTG1Y73s6M?autoplay=1",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Elementor One Welcome Video",onLoad:function(){i(!0)},style:{borderRadius:"8px",aspectRatio:16/9,width:"100%",height:"auto",display:o?"block":"none"}})]})};function iC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iA(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function iI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ik(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){iI(e,t,n[t])})}return e}var i_="620px",iL=function(){var e,t,n,r=eL(),o=eM(function(e){return oO.selectPluginSettings(e)}),i=(e=(0,ed.useState)((null==o?void 0:o.welcomeScreenCompleted)===!1),function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,2)||function(e,t){if(e){if("string"==typeof e)return iC(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iC(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],l=i[1],s=(t=function(e,t){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:if("backdropClick"===t||"escapeKeyDown"===t)return[2];e.label=1;case 1:return e.trys.push([1,4,,5]),[4,r(oT.getPluginSettings(!1))];case 2:return e.sent(),[4,r(oT.updatePluginSettings({welcomeScreenCompleted:!0}))];case 3:return e.sent(),l(!1),[3,5];case 4:return console.error("Failed to update welcome screen status:",e.sent()),l(!1),[3,5];case 5:return[2]}})},n=function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){iA(i,r,o,a,l,"next",e)}function l(e){iA(i,r,o,a,l,"throw",e)}a(void 0)})},function(e,t){return n.apply(this,arguments)});return(0,es.jsxs)(nT.Z,{open:a,fullWidth:!0,maxWidth:"xl",disableEnforceFocus:!0,onClose:s,PaperProps:{sx:{borderRadius:"16px",minHeight:i_}},slotProps:{backdrop:{sx:function(e){return ik({},iO(e))}}},sx:function(e){return ik({},iO(e))},keepMounted:!1,"data-test":"welcome-modal-elementor-one",children:[(0,es.jsx)(nk.Z,{logo:!1,onClose:s}),(0,es.jsx)(nA.Z,{sx:{p:4,pt:0,height:"100%"},children:(0,es.jsxs)(na.Z,{direction:iI({xs:"column"},"lg","row"),justifyContent:"space-evenly",alignItems:"center",alignContent:"center",gap:4,sx:{height:"100%",width:"100%",minHeight:i_},children:[(0,es.jsx)(iS,{onClose:s}),(0,es.jsx)(iT,{})]})})]})};function iM(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}let iR=function(){var e,t,n,r=o0(),o=(0,eu.s0)(),i=eM(function(e){return oO.selectPluginSettings(e)}),a=eL(),l=ek(),s=null===(n=window.elementorOneSettingsData)||void 0===n?void 0:n.packageVersion,c=(e=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:return[4,a(oT.getPluginSettings())];case 1:return e.sent(),[4,a(oT.updatePluginSettings({dismissConnectAlert:!1}))];case 2:return e.sent(),a(ib.getInstalledPlugins()),o("/home/capabilities"),[2]}})},t=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){iM(i,r,o,a,l,"next",e)}function l(e){iM(i,r,o,a,l,"throw",e)}a(void 0)})},function(){return t.apply(this,arguments)});return(0,ed.useEffect)(function(){a(ib.getInstalledPlugins())},[a]),(0,ed.useEffect)(function(){if(i){var e=eS.getSupportedLanguage(i.userLocale);e&&eA.changeLanguage(e)}},[i]),rg(function(){var e,t;rh.startTracking(null===(t=window)||void 0===t||null===(e=t.elementorOneSettingsData)||void 0===e?void 0:e.shareUsageData)},null==i?void 0:i.isConnected),(0,es.jsxs)(oY.Qx,{env:"production",language:l,isRTL:null==i?void 0:i.isRTL,children:[(0,es.jsxs)(r7,{children:[(0,es.jsx)(oY.Zx,{onDisconnect:c,appSettings:{slug:"elementor-home",version:null!=s?s:"1.0.0"},multiDelpoymentSlot:(0,es.jsx)(t4,{colorScheme:"dark",children:(0,es.jsx)(r4,{cookieName:rQ.ELEMENTOR_ONE,appName:rJ.ELEMENTOR_ONE,colorScheme:"dark",size:"small",bucketUrl:"https://storage.googleapis.com/static-platform-client-elementor-one-prod.new-prod.elementor.red"})}),containerSx:{top:r}}),(0,es.jsx)(o$,{}),(0,es.jsx)(o1,{}),(0,es.jsx)(iw,{}),(0,es.jsx)(rN,{getCustomFallback:function(){return(0,es.jsx)(oK,{showHeader:!1})}}),(0,es.jsx)(rD,{}),(0,es.jsx)(rC,{})]}),(0,es.jsx)(iL,{})]})};var iZ=n(45715),iD=n(47563),iN=n(75915),iU=n(39086);function iB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iF=function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")};iB(iF,"selectState",function(e){return e.elementorOneHome}),iB(iF,"selectToolbarState",(0,tl.P1)([iF.selectState,function(e,t){return t}],function(e,t){return null==e?void 0:e.toolbarState[t]})),iB(iF,"selectToolManagerToolState",(0,tl.P1)([iF.selectState],function(e){return(null==e?void 0:e.toolManagerToolsState)||{}})),iB(iF,"selectToolManagerToolStateByKey",(0,tl.P1)([iF.selectState,function(e,t){return t}],function(e,t){return null==e?void 0:e.toolManagerToolsState[t]})),iB(iF,"selectDataFetched",(0,tl.P1)([iF.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.dataFetched[t])||!1})),iB(iF,"selectLoadingState",(0,tl.P1)([iF.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.loadingState[t])||!1})),iB(iF,"selectErrorState",(0,tl.P1)([iF.selectState,function(e,t){return t}],function(e,t){return(null==e?void 0:e.errorState[t])||!1})),iB(iF,"selectPlugins",(0,tl.P1)([iF.selectState],function(e){return(null==e?void 0:e.plugins)||[]})),iB(iF,"selectPluginBySlug",(0,tl.P1)([iF.selectState,iF.selectPlugins,function(e,t){return t}],function(e,t,n){return t.find(function(e){return e.slug===n})||null})),iB(iF,"selectOnboardingInstallToolsState",(0,tl.P1)([iF.selectState],function(e){return(null==e?void 0:e.onboardingInstallToolsState)||{}})),iB(iF,"selectIsConlictsDialogOpen",(0,tl.P1)([iF.selectState],function(e){return(null==e?void 0:e.isConlictsDialogOpen)||!1})),iB(iF,"selectConflictsToSolve",(0,tl.P1)([iF.selectState],function(e){return(null==e?void 0:e.conflictsToSolve)||[]})),iB(iF,"selectShouldPreventToolDeactivation",(0,tl.P1)([iF.selectState,iF.selectToolManagerToolState,function(e,t){return t}],function(e,t,n){var r=Object.values(oA),o=t[n];if(!o)return!1;var i=null==e?void 0:e.plugins.filter(function(e){if(!r.includes(e.slug))return!1;var n=t[o4[e.slug]];return(null==n?void 0:n.hasWpOnePackage)===!0}).length,a=null==e?void 0:e.plugins.filter(function(e){if(!r.includes(e.slug))return!1;var n=t[o4[e.slug]];return(null==n?void 0:n.isActive)===!0}).length,l=1===i&&!0===o.hasWpOnePackage,s=1===a&&!0===o.isActive;return l||s}));var iG=["Hello Biz","Hello Elementor","Hello Commerce"];function iW(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function iz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){iz(e,t,n[t])})}return e}var iV=function(){var e,t,n,r,o,i,a=eL(),l=(0,eg.$G)("home").t,s=tH().createToast,c=null===(o=window.elementorOneSettingsData)||void 0===o?void 0:o.elementorNewPostNonce,u=null===(i=window.elementorOneSettingsData)||void 0===i?void 0:i.elementorEditSiteNonce,d=eM(oO.selectPluginSettings),f=(null==d?void 0:d.siteUrl)||"",p=eM(function(e){return iF.selectPluginBySlug(e,oA.ELEMENTOR)}),h=eM(function(e){return iF.selectPluginBySlug(e,oA.ELEMENTOR_PRO)}),y=eM(function(e){return oO.selectLoadingState(e,"installHelloTheme")}),g=eM(function(e){return oO.selectLoadingState(e,"pluginSettings")}),m=(0,ed.useMemo)(function(){return null==d||!d.activeTheme||!iG.includes(null==d?void 0:d.activeTheme)},[null==d?void 0:d.activeTheme]),v=(e=function(){var e;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:return rh.trackMixpanelEvent(rp.events.SITE_ACTION_CLICKED,iz({},rp.properties.ACTION_TYPE,"get_hello")),[4,a(oT.installHelloTheme("hello-elementor"))];case 1:return s({type:(e=t.sent()).success?"success":"error",text:l(e.message||"")}),[2]}})},t=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){iW(i,r,o,a,l,"next",e)}function l(e){iW(i,r,o,a,l,"throw",e)}a(void 0)})},function(){return t.apply(this,arguments)}),b=function(e,t){rh.trackMixpanelEvent(rp.events.SITE_ACTION_CLICKED,iz({},rp.properties.ACTION_TYPE,t)),window.open(e,"_blank"),j.close()},w=function(e,t){return"".concat(f).concat(e).concat(t?"&_wpnonce=".concat(t):"")};(0,ed.useEffect)(function(){(null==d?void 0:d.siteUrl)&&a(oT.getSiteScreenshot(null==d?void 0:d.siteUrl))},[null==d?void 0:d.siteUrl,a]);var j=(0,iN.Z)({variant:"popover",popupId:"edit-site-menu"});return(0,es.jsxs)(na.Z,{sx:{backgroundColor:"action.hover",py:3,px:4,flexDirection:{xs:"column",sm:"row",md:"row"},alignItems:{xs:"flex-start",sm:"flex-start",md:"center"}},direction:"row",justifyContent:"space-between",alignItems:"center",children:[(0,es.jsx)(na.Z,{direction:"row",gap:2,alignItems:"center",children:g?(0,es.jsxs)(na.Z,{children:[(0,es.jsx)(ok.Z,{variant:"text",width:200,height:48}),(0,es.jsx)(ok.Z,{variant:"text",width:300,height:24})]}):(0,es.jsxs)(na.Z,{children:[(0,es.jsx)(ne.Z,{variant:"h5",color:"text.primary",children:null==d?void 0:d.siteName}),(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",gap:1,flexWrap:"wrap",sx:{display:{xs:"none",sm:"none",md:"flex"}},children:[(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",gap:1,flexShrink:0,children:[(0,es.jsx)(ne.Z,{variant:"body2",color:"text.primary",noWrap:!0,children:l("siteIdentity.activeTheme")}),(0,es.jsx)(ne.Z,{variant:"body2",color:"text.tertiary",noWrap:!0,children:null==d?void 0:d.activeTheme})]}),m&&(0,es.jsx)(t6.Z,{color:"info",size:"small",disabled:y,loading:y,onClick:v,loadingPosition:"end",children:l("siteIdentity.getHelloElementor")})]})]})}),p&&p.status===oC.ACTIVE&&(0,es.jsxs)(na.Z,{direction:"row",gap:1,sx:{pt:{xs:1,sm:0},width:{xs:"100%",sm:"auto"}},children:[(0,es.jsx)(t6.Z,{color:"secondary",endIcon:(0,es.jsx)(iZ.Z,{}),sx:{width:{xs:"100%",sm:"auto"}},onClick:function(){rh.trackMixpanelEvent(rp.events.SITE_ACTION_CLICKED,iz({},rp.properties.ACTION_TYPE,"editor_dashboard")),window.open(w("/wp-admin/admin.php?page=elementor"),"_blank")},children:l("siteIdentity.goToSiteSetup")}),(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(iD.Z,{slotProps:{caretButton:iK({},(0,iU.vW)(j)),mainButton:{fullWidth:!0}},sx:{width:{xs:"100%",sm:"auto"}},onClick:function(){return b(w("/wp-admin/admin.php?action=elementor_edit_website_redirect",u),"edit_site")},children:l("siteIdentity.editSite")}),(0,es.jsxs)(rF.Z,(n=iK({},(0,iU.wK)(j)),r=r={anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:[(0,es.jsx)(rU.Z,{onClick:function(){return b(w("/wp-admin/edit.php?action=elementor_new_post&post_type=page",c),"add_a_page")},children:l("siteIdentity.editSiteMenu.addPage")}),(0,es.jsx)(rU.Z,{onClick:function(){return b(w("/wp-admin/edit.php?action=elementor_new_post&post_type=post",c),"add_a_blog_post")},children:l("siteIdentity.editSiteMenu.addBlogPost")}),h&&h.status===oC.ACTIVE&&(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(rU.Z,{onClick:function(){return b(w("/wp-admin/admin.php?page=elementor-app#/site-editor/templates/header",c),"create_a_header")},children:l("siteIdentity.editSiteMenu.createHeader")}),(0,es.jsx)(rU.Z,{onClick:function(){return b(w("/wp-admin/admin.php?page=elementor-app#/site-editor/templates/footer",c),"create_a_footer")},children:l("siteIdentity.editSiteMenu.createFooter")})]})]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n))]})]})]})};let iH=function(){return(0,es.jsxs)(na.Z,{children:[(0,es.jsx)(iV,{}),(0,es.jsx)(oL.Z,{maxWidth:"lg",children:(0,es.jsx)(eu.j3,{})})]})};var iq=n(3964),i$=n(90795),iY=n(47746),iQ=function(e){var t=e.filterOptions,n=e.selectedFilter,r=e.filterCounts,o=e.onFilterChange,i=e.gaDataAttributes,a=e.dataTestPrefix,l=(0,iY.Z)(),s=(0,i$.Z)(l.breakpoints.down("md")),c=function(e){var t,n=null!==(t=null==r?void 0:r[e.countKey])&&void 0!==t?t:0;return"".concat(e.label," (").concat(n,")")},u=function(e,t,n){var r,i;e.preventDefault(e),o(t),null===(i=e.target)||void 0===i||null===(r=i.parentNode)||void 0===r||r.scrollIntoView({behavior:"auto",block:"center",inline:"center"})},d=function(e,t,n){9!==e.keyCode&&13===e.keyCode&&u(e,t,n)};return(0,es.jsx)(na.Z,{direction:"row",gap:1,flexWrap:s?"nowrap":"wrap",justifyContent:"flex-start",sx:{overflowX:s?"auto":"visible",overflowY:"hidden",paddingBottom:+!!s,mt:"4px !important"},children:t.map(function(e){return(0,es.jsx)(iq.Z,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({label:c(e),clickable:!0,onKeyDown:function(t){return d(t,e.value,e.gaLabel)},color:n===e.value?"secondary":"default",variant:"filled",shape:"rounded",onClick:function(){return o(e.value)},"data-test":"".concat(a,"-filter-").concat(e.value)},i),e.value)})})},iJ=n(19909);function iX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){iX(e,t,n[t])})}return e}function i1(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}let i2=function(e){var t=e.selectedFilter,n=e.onFilterChange,r=e.filterCounts,o=(0,eg.$G)("home").t,i=(0,ed.useMemo)(function(){return[{label:o("capabilities.filters.all"),value:o5.ALL,gaLabel:"All",countKey:"all"},{label:o("capabilities.filters.featured"),value:o5.FEATURED,gaLabel:"Featured",countKey:"featured"},{label:o("capabilities.filters.create"),value:o5.CREATE,gaLabel:"Create",countKey:"create"},{label:o("capabilities.filters.optimize"),value:o5.OPTIMIZE,gaLabel:"Optimize",countKey:"optimize"},{label:o("capabilities.filters.manage"),value:o5.MANAGE,gaLabel:"Manage",countKey:"manage"}]},[o]),a=(0,eu.s0)(),l=(0,i$.Z)(function(e){return e.breakpoints.down("md")}),s=(0,iN.Z)({variant:"popover",popupId:"filter-menu"}),c=function(e,t){var n,o=null!==(n=null==r?void 0:r[e])&&void 0!==n?n:0;return"".concat(t," (").concat(o,")")},u=function(e){n(e),s.close()},d=(0,ed.useMemo)(function(){return i.find(function(e){return e.value===t})},[i,t]);return(0,es.jsx)(na.Z,{mt:2.5,gap:4,children:(0,es.jsxs)(na.Z,{direction:"row",justifyContent:"space-between",children:[l?(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(t6.Z,i1(i0({variant:"contained",color:"secondary",size:"medium",endIcon:(0,es.jsx)(iJ.Z,{})},(0,iU.vW)(s)),{children:d?c(d.countKey,d.label):""})),(0,es.jsx)(rF.Z,i1(i0({},(0,iU.wK)(s)),{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},children:i.map(function(e){return(0,es.jsx)(rU.Z,{selected:t===e.value,onClick:function(){return u(e.value)},children:c(e.countKey,e.label)},e.value)})}))]}):(0,es.jsx)(iQ,{filterOptions:i,selectedFilter:t,filterCounts:r,onFilterChange:n,dataTestPrefix:"one-home"}),(0,es.jsx)(t6.Z,{variant:"outlined",color:"secondary",size:"small",startIcon:(0,es.jsx)(rB.Z,{}),onClick:function(){rh.trackMixpanelEvent(rp.events.SITE_ACTION_CLICKED,iX({},rp.properties.ACTION_TYPE,"tool_manager")),a("./tool-manager")},children:o("capabilities.toolManager")})]})})};var i3=n(21788),i4=((q={}).CREATE="Create",q.OPTIMIZE="Optimize",q.MANAGE="Manage",q),i6=(($={}).INSTALLED="installed",$.FREE="free",$.PRO="pro",$),i5=n(7415),i7=n(6218),i8=n(21752);function i9(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}var ae=function(e){var t,n,r=e.open,o=e.onClose,i=e.title,a=e.description,l=e.mediaUrl,s=e.cardType,c=e.onClick,u=e.slug,d=(0,eg.$G)("home").t,f=(0,i$.Z)(function(e){return e.breakpoints.down("md")}),p=(t=function(e){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:return[4,c(e)];case 1:return t.sent(),o(),[2]}})},n=function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){i9(i,r,o,a,l,"next",e)}function l(e){i9(i,r,o,a,l,"throw",e)}a(void 0)})},function(e){return n.apply(this,arguments)});return(0,es.jsxs)(nT.Z,{keepMounted:!1,open:r,onClose:o,fullWidth:!0,maxWidth:"md",disableEnforceFocus:!0,children:[(0,es.jsx)(nk.Z,{logo:!1,sx:{display:"flex",justifyContent:"space-between",width:"100% !important"},onClose:o,children:(0,es.jsx)(n_.Z,{children:i})}),(0,es.jsx)(nA.Z,{sx:{pt:0,pb:0},children:(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",gap:3,sx:{width:"100%"},children:[!f&&(0,es.jsx)(t9.Z,{sx:{width:"50%"},children:(0,es.jsx)("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:l,alt:"one-learn-more-modal-img"})}),(0,es.jsx)(t9.Z,{sx:{width:f?"100%":"50%"},children:(0,es.jsx)(ne.Z,{variant:"body1",children:(0,i8.ZP)(a)})})]})}),(0,es.jsx)(nC.Z,{children:(0,es.jsx)(t6.Z,{onClick:p,variant:"contained",color:s===i6.PRO?"promotion":"primary",startIcon:s===i6.PRO?(0,es.jsx)(i5.Z,{}):void 0,children:d(u?s===i6.PRO?"capabilities.learnMore.upgrade":"capabilities.learnMore.install":"capabilities.learnMore.open")})})]})};function at(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function an(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ao=function(e){var t,n,r,o,i=e.tag,a=e.title,l=e.description,s=e.img,c=e.link,u=e.linkPro,d=e.learnMore,f=e.slug,p=e.wpNonceLink,h=void 0!==p&&p,y=eL(),g=eM(function(e){return iF.selectPluginBySlug(e,f)}),m=eM(oO.selectPluginSettings),v=(null==m?void 0:m.siteUrl)||"",b=(null===(o=window.elementorOneSettingsData)||void 0===o?void 0:o.elementorSiteSettingsRedirectNonce)||"",w=(0,eg.$G)("home").t,j=(t=(0,ed.useState)(!1),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return at(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),O=j[0],x=j[1],E=(0,ed.useMemo)(function(){return(null==m?void 0:m.isConnected)||!1},[null==m?void 0:m.isConnected]),S=(0,ed.useMemo)(function(){return null!==g},[g]),P=(0,ed.useMemo)(function(){return(null==g?void 0:g.status)===oC.ACTIVE},[g]),T=eM(function(e){return!!f&&iF.selectLoadingState(e,"processingPlugin-".concat(f))}),C=eM(function(e){return iF.selectLoadingState(e,"plugins")}),A=eM(function(e){return iF.selectDataFetched(e,"plugins")}),I=(0,ed.useMemo)(function(){return T||!A&&C},[T,A,C]),k=(0,ed.useMemo)(function(){return!f||S&&P?i6.INSTALLED:f!==oA.ELEMENTOR_PRO||E?i6.FREE:i6.PRO},[S,f,E,P]),_=function(e){var t;rh.trackMixpanelEvent(rp.events.CAPABILITY_CLICKED,(ar(t={},rp.properties.ACTION_TYPE,e),ar(t,rp.properties.CATEGORY_NAME,i),ar(t,rp.properties.CAPABILITY_NAME,a),t))},L=(0,ed.useMemo)(function(){if(!f)return c;var e=c;return f===oA.ELEMENTOR_PRO&&(null==g?void 0:g.isConnected)&&P&&(e=u||c),"".concat(v).concat(e).concat(h?"&_wpnonce=".concat(b):"")},[h,c,v,b,f,null==g?void 0:g.isConnected,u,P]),M=(n=function(e){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(t){switch(t.label){case 0:if(e.preventDefault(),e.stopPropagation(),!f)return window.open(L,"_blank"),[2];switch(k){case i6.INSTALLED:return[3,1];case i6.PRO:return[3,2];case i6.FREE:return[3,3]}return[3,7];case 1:return _("open"),window.open(L,"_self"),[2];case 2:return _("go_pro"),window.open("https://elementor.com/pricing-plugin/","_self"),[2];case 3:if(!(S&&!P))return[3,5];return[4,y(ib.processPlugin({slug:f,actionType:il.ACTIVATE})).unwrap()];case 4:return t.sent(),[2];case 5:return[4,y(ib.processPlugin({slug:f,actionType:il.INSTALL})).unwrap()];case 6:return t.sent(),_("add_for_free"),[3,7];case 7:return[2]}})},r=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){an(i,r,o,a,l,"next",e)}function l(e){an(i,r,o,a,l,"throw",e)}a(void 0)})},function(e){return r.apply(this,arguments)});return(0,es.jsxs)(oG.Z,{onClick:S?void 0:function(){_("card"),x(!0)},variant:"outlined",sx:{borderRadius:2,height:"100%",cursor:S?"default":"pointer",display:"flex",flexDirection:"column","&:hover":{borderColor:"common.black"}},children:[(0,es.jsxs)(t9.Z,{sx:{position:"relative"},children:[(0,es.jsx)(i3.Z,{component:"img",src:s,sx:{height:140,objectFit:"cover"}}),(0,es.jsx)(iq.Z,{label:i,size:"small",sx:{position:"absolute",top:12,left:12}})]}),(0,es.jsxs)(oW.Z,{sx:{flex:1,pt:2},children:[(0,es.jsx)(na.Z,{direction:"row",justifyContent:"space-between",alignItems:"flex-start",children:(0,es.jsx)(na.Z,{direction:"row",alignItems:"center",gap:1,mb:1,children:(0,es.jsx)(ne.Z,{variant:"subtitle1",fontWeight:600,children:a})})}),(0,es.jsx)(ne.Z,{variant:"body2",color:"text.secondary",children:l})]}),(0,es.jsx)(i7.Z,{children:(0,es.jsx)(t6.Z,{onClick:M,size:"small",variant:"outlined",color:k===i6.PRO?"promotion":"secondary",startIcon:k===i6.PRO?(0,es.jsx)(i5.Z,{}):void 0,loading:I,loadingPosition:"start",children:function(){if(T)return w("capabilities.inProgressButton");if(I)return"";switch(k){case i6.INSTALLED:return w("capabilities.openButton");case i6.FREE:return w("capabilities.addForFreeButton");case i6.PRO:return w("capabilities.goProButton")}}()})}),!S&&(0,es.jsx)(ae,{open:O,onClose:function(e){null==e||e.stopPropagation(),x(!1)},title:a,description:d.description,mediaUrl:d.mediaUrl,cardType:k,onClick:M,slug:f})]})},ai=function(e){var t=e.cards;return(0,es.jsx)(oM.Z,{container:!0,spacing:2,rowSpacing:6,children:t.map(function(e){return(0,es.jsx)(oM.Z,{item:!0,xs:12,sm:6,md:3,children:(0,es.jsx)(ao,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e))},e.title)})})},aa=[{tag:i4.CREATE,slug:oA.ELEMENTOR,title:"Site settings",description:"Set global site rules to keep every page consistent",img:"https://assets.elementor.com/elementor-one/v1/images/siteSettings.png",isFeatured:!1,link:"/wp-admin/admin.php?action=elementor_site_settings_redirect",wpNonceLink:!0,learnMore:{description:'\n <div>\n Site settings let you define global rules so your site looks and behaves\n consistently across every page.\n <br /><br /> Set things once, and they apply everywhere,\n keeping your design system aligned and easy to maintain.\n </div>\n <br />\n <div><strong>With Site Settings, you can control:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Design system: Global fonts and colors</li>\n <li>Theme styles: Typography, buttons, images, forms, header, and footer</li>\n <li>Site settings: Identity, background, layout, lightbox, page transitions, and custom CSS</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/siteSettingsModal.png"},order:1,orderByTag:1},{tag:i4.CREATE,slug:oA.ELEMENTOR,title:"Site logo",description:"Upload your logo to shape your brand identity",img:"https://assets.elementor.com/elementor-one/v1/images/siteLogo.png",isFeatured:!0,link:"/wp-admin/admin.php?action=elementor_site_settings_redirect&active-tab=settings-site-identity",wpNonceLink:!0,learnMore:{description:"\n <div>\n Site logo lets you manage your logo from one central place and apply it\n consistently across your entire site.\n </div>\n <br />\n <div>\n Control how your logo looks and behaves everywhere it appears, including\n its size, alignment, link behavior, and placement in headers, footers, and templates.\n </div>\n ",mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/siteLogoModal.png"},order:2,orderByTag:2,orderFeatured:2},{tag:i4.CREATE,slug:oA.ELEMENTOR,title:"Global styles ",description:"Manage all fonts and colors from one place to keep your brand consistent",img:"https://assets.elementor.com/elementor-one/v1/images/globalStylesCard.png",isFeatured:!0,link:"/wp-admin/admin.php?action=elementor_site_settings_redirect&active-tab=global-colors",wpNonceLink:!0,learnMore:{description:'\n <div>\n Global styles let you define your site\u2019s visual system in one central place.\n <br /><br />\n Update styles once, and changes apply across your entire site,\n keeping everything consistent and easy to refine.\n </div>\n <br />\n <div><strong>With Global Styles, you can control:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Typography: Headings, text, links, and buttons</li>\n <li>Colors: Brand colors, text, backgrounds, and accents</li>\n <li>Buttons & forms: Styles, states, and spacing</li>\n <li>Layout defaults: Spacing across templates</li>\n </ul>\n',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/globalStylesModal.png"},order:3,orderByTag:3,orderFeatured:3},{tag:i4.CREATE,slug:oA.ELEMENTOR_PRO,title:"Theme builder",description:"Control your site\u2019s global parts with one simple, visual builder",img:"https://assets.elementor.com/elementor-one/v1/images/themeBuilder.png",isFeatured:!0,link:"/wp-admin/admin.php?page=elementor-app#/site-editor",learnMore:{description:'\n <div>\n Theme builder lets you design and control your site\u2019s core templates from one\n central place. <br /><br/> Any update you make is applied automatically wherever the template\n is used, helping you keep your site consistent while moving faster and staying\n in control.\n </div>\n <br />\n <div><strong>With Theme Builder, you can design:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Headers & footers</li>\n <li>Single posts & pages</li>\n <li>Archive pages</li>\n <li>Dynamic templates using conditions and display rules</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/themeBuilderModal.png"},order:4,orderByTag:4,orderFeatured:4},{tag:i4.CREATE,slug:oA.ELEMENTOR_PRO,title:"Popups",description:"Create unlimited custom popups to boost engagement and conversion",img:"https://assets.elementor.com/elementor-one/v1/images/popups.png",isFeatured:!0,link:"/wp-admin/admin.php?page=e-popups",linkPro:"/wp-admin/edit.php?post_type=elementor_library&tabs_group=popup&elementor_library_type=popup",learnMore:{description:'\n <div>\n Create popups with complete design freedom. Start from professionally designed,\n conversion-focused templates, or build your own from scratch.\n </div>\n <br />\n <div><strong>With Popups, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Design freely: Full control over layout, content, and styling</li>\n <li>Use proven templates: High-converting designs for promotions, forms, and announcements</li>\n <li>Show them at the right moment: Smart triggers and display conditions based on user behavior, pages, and devices</li>\n </ul>\n',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/popupsModal.png"},order:5,orderByTag:5,orderFeatured:5},{tag:i4.OPTIMIZE,slug:oA.ELEMENTOR,title:"Site performance",description:"Boost site speed with easy, effective performance tools",img:"https://assets.elementor.com/elementor-one/v1/images/sitePerformance.png",isFeatured:!1,link:"/wp-admin/admin.php?page=elementor-settings#tab-performance",learnMore:{description:'\n <div>\n Performance settings help you improve your site\u2019s loading speed by optimizing\n how assets are loaded and delivered.\n <br /><br /> Choose the options that best match your\n site\u2019s needs to reduce load times and create a faster experience for visitors.\n </div>\n <br />\n <div><strong>With Performance settings, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Optimize CSS loading: Control how styles are delivered for better performance</li>\n <li>Improve image loading: Prioritize key images and lazy-load content below the fold</li>\n <li>Reduce unused scripts: Prevent unnecessary Gutenberg assets from loading</li>\n <li>Control caching: Define how long elements are cached for faster repeat visits</li>\n </ul>\n',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/performanceModal.png"},order:6,orderByTag:1},{tag:i4.OPTIMIZE,slug:oA.ELEMENTOR_IO,title:"Image optimization",description:"Speed up your site by compressing your images",img:"https://assets.elementor.com/elementor-one/v1/images/imageOptimization.png",isFeatured:!0,link:"/wp-admin/admin.php?page=image-optimization-settings",learnMore:{description:'\n <div>\n Image optimization automatically improves your site\u2019s loading speed by optimizing\n images without sacrificing quality. \n <br /><br /> Smaller, faster images help your pages load\n quicker, improve Core Web Vitals, and create a smoother experience for your visitors.\n </div>\n <br />\n <div><strong>With Image Optimization, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Automatically optimize uploaded images for the best balance of quality and performance</li>\n <li>Resize and compress images to reduce file size</li>\n <li>Serve appropriately sized images to different devices</li>\n <li>Improve LCP and overall page speed without manual effort</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/imageOptimizationModal.png"},order:7,orderByTag:2,orderFeatured:6},{tag:i4.OPTIMIZE,slug:oA.ELEMENTOR_ACCESS,title:"Accessibility",description:"Create a more inclusive site and strengthen your user experience",img:"https://assets.elementor.com/elementor-one/v1/images/accessibility.png",isFeatured:!0,link:"/wp-admin/admin.php?page=accessibility-settings",learnMore:{description:'\n <div>\n Accessibility helps you make your website usable for everyone, without redesigning\n your site from scratch.\n <br /><br /> It identifies accessibility issues and guides you toward\n fixes that improve compliance, usability, and overall experience.\n </div>\n <br />\n <div><strong>With Accessibility, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Scan your site for accessibility issues and get clear, actionable recommendations</li>\n <li>Improve readability and navigation for keyboard and assistive technology users</li>\n <li>Support accessibility standards such as WCAG and ADA</li>\n <li>Create a more inclusive experience for all visitors</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/accessibilityModal.png"},order:8,orderByTag:3,orderFeatured:7},{tag:i4.MANAGE,slug:oA.ELEMENTOR_MAILER,title:"Email deliverability",description:"Deliver WordPress emails reliably without SMTP configuration",img:"https://assets.elementor.com/elementor-one/v1/images/emailDeliverability.png",isFeatured:!1,link:"/wp-admin/admin.php?page=site-mailer-settings",learnMore:{description:'\n <div>\n Email deliverability helps ensure that emails sent from your site actually reach\n inboxes instead of spam folders.\n <br /><br /> It improves how your site sends emails by using\n reliable infrastructure and proper authentication behind the scenes.\n </div>\n <br />\n <div><strong>With Email Deliverability, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Increase inbox placement for form submissions, notifications, and system emails</li>\n <li>Reduce spam issues caused by server or configuration problems</li>\n <li>Send emails more reliably using a trusted delivery setup</li>\n <li>Improve trust and consistency for emails sent from your domain</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/emailDeliverabilityModal.png"},order:9,orderByTag:1},{tag:i4.CREATE,slug:oA.ELEMENTOR_PRO,title:"Custom icons",description:"Custom Icons",img:"https://assets.elementor.com/elementor-one/v1/images/customIcons.png",isFeatured:!1,link:"/wp-admin/admin.php?page=e-custom-icons",linkPro:"/wp-admin/edit.php?post_type=elementor_icons",learnMore:{description:"\n <div>\n Custom icons let you use your own icon sets across your site, so your design\n isn\u2019t limited to built-in libraries.\n <br /><br />\n Upload custom icon packs created with popular generators like Fontello,\n IcoMoon, or Fontastic, and use them just like any other icon in Elementor.\n <br /><br />\n Once uploaded, your custom icons are available in the icon library and can be\n used in any widget that supports icons, helping you keep your design consistent,\n branded, and unique.\n </div>\n ",mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/customIconsModal.png"},order:10,orderByTag:6},{tag:i4.CREATE,slug:oA.ELEMENTOR_PRO,title:"Custom fonts",description:"Upload custom fonts and use them across Elementor for a unique look",img:"https://assets.elementor.com/elementor-one/v1/images/customFonts.png",isFeatured:!1,link:"/wp-admin/admin.php?page=e-custom-fonts",linkPro:"/wp-admin/edit.php?post_type=elementor_font",learnMore:{description:"\n <div>\n <strong>Custom fonts</strong> let you use your own icon sets across your site, so your design\n isn\u2019t limited to built-in libraries.\n <br /><br />\n Upload custom icon packs created with popular generators like Fontello,\n IcoMoon, or Fontastic, and use them just like any other icon in Elementor.\n <br /><br />\n Once uploaded, your custom icons are available in the icon library and can be\n used in any widget that supports icons, helping you keep your design consistent,\n branded, and unique.\n </div>\n ",mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/customFontsModal.png"},order:11,orderByTag:7},{tag:i4.CREATE,slug:oA.ELEMENTOR_PRO,title:"Custom code",description:"Add custom HTML, CSS, and JS to extend your site\u2019s features",img:"https://assets.elementor.com/elementor-one/v1/images/customCode.png",isFeatured:!1,link:"/wp-admin/admin.php?page=e-custom-code",linkPro:"/wp-admin/edit.php?post_type=elementor_snippet",learnMore:{description:'\n <div>\n Custom code lets you extend your site beyond the editor by adding your own HTML,\n CSS, and JavaScript. Use it to integrate third-party tools, add tracking scripts,\n or implement advanced functionality without modifying theme files.\n </div>\n <br />\n <div><strong>With Custom Code, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Add scripts like analytics, pixels, or integrations</li>\n <li>Enhance interactivity with custom JavaScript</li>\n <li>Apply advanced styling using CSS snippets</li>\n <li>Control where code runs across your site</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/customCodeModal.png"},order:12,orderByTag:8},{tag:i4.MANAGE,slug:oA.ELEMENTOR_PRO,title:"Submissions",description:"Access, track, and analyze form submissions in one simple place",img:"https://assets.elementor.com/elementor-one/v1/images/submissions.png",isFeatured:!0,link:"/wp-admin/admin.php?page=e-form-submissions",learnMore:{description:'\n <div>\n Submissions give you a central place to view and manage all form entries\n collected on your site.\n </div>\n <br />\n <div><strong>With Submissions, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>View and manage form entries in one organized inbox</li>\n <li>Analyze submission data to gain insights and track performance</li>\n <li>Keep everything in WordPress</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/submissionsModal.png"},order:13,orderByTag:2,orderFeatured:8},{tag:i4.MANAGE,slug:oA.ELEMENTOR,title:"Role manager",description:"Define who can edit what in Elementor to protect your site's content",img:"https://assets.elementor.com/elementor-one/v1/images/roleManager.png",isFeatured:!1,link:"/wp-admin/admin.php?page=elementor-role-manager",learnMore:{description:'\n <div>\n Role Manager lets you control who can access and edit content in Elementor.\n <br /><br /> Define permissions by role to protect your site while giving each user exactly\n the level of access they need.\n </div>\n <br />\n <div><strong>With Role Manager, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Limit editing capabilities in the Elementor Editor by user role</li>\n <li>Control access to specific features and content</li>\n <li>Collaborate safely with clients, editors, or teammates</li>\n <li>Go beyond WordPress defaults with Elementor-specific permissions</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/roleManagerModal.png"},order:14,orderByTag:3},{tag:i4.CREATE,title:"Site planner",description:"Plan your site and create wireframes in minutes with AI",img:"https://assets.elementor.com/elementor-one/v1/images/sitePlanner.png",isFeatured:!0,link:"https://planner.elementor.com/home.html",learnMore:{description:'\n <div>\n Site Planner helps you turn an idea into a clear website structure in minutes.\n <br /><br /> Answer a few questions about your site, and get a ready-to-use plan with pages,\n sections, and content suggestions.\n </div>\n <br />\n <div><strong>With Site Planner, you can:</strong></div>\n <ul style="margin-top: 0; padding-left: 30px; list-style-type: disc;">\n <li>Generate a complete site structure tailored to your goals</li>\n <li>Get page and section suggestions that match your site\u2019s purpose</li>\n <li>Start building faster, without staring at a blank canvas</li>\n <li>Edit and refine the plan before moving into design</li>\n </ul>\n ',mediaUrl:"https://assets.elementor.com/elementor-one/v1/images/sitePlannerModal.png"},order:15,orderByTag:9,orderFeatured:1}],al=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:aa,t=eL(),n=eM(function(e){return iF.selectToolbarState(e,o8.HOME)}),r=(0,ed.useMemo)(function(){return(null==n?void 0:n.filter)||o5.FEATURED},[n]),o=(0,ed.useCallback)(function(e){var n,r;t(ia.setToolbarState({key:o8.HOME,value:{filter:e}})),rh.trackMixpanelEvent(rp.events.FILTER_SET,(n={},r=rp.properties.FILTER_NAME,r in n?Object.defineProperty(n,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[r]=e,n))},[t]),i=(0,ed.useMemo)(function(){return{all:e.length,featured:e.filter(function(e){return e.isFeatured}).length,create:e.filter(function(e){return e.tag===i4.CREATE}).length,optimize:e.filter(function(e){return e.tag===i4.OPTIMIZE}).length,manage:e.filter(function(e){return e.tag===i4.MANAGE}).length}},[e]),a=(0,ed.useMemo)(function(){switch(r){case o5.ALL:return e.sort(function(e,t){var n,r;return(null!==(n=e.order)&&void 0!==n?n:0)-(null!==(r=t.order)&&void 0!==r?r:0)});case o5.FEATURED:return e.filter(function(e){return e.isFeatured}).sort(function(e,t){var n,r;return(null!==(n=e.orderFeatured)&&void 0!==n?n:0)-(null!==(r=t.orderFeatured)&&void 0!==r?r:0)});case o5.CREATE:return e.filter(function(e){return e.tag===i4.CREATE}).sort(function(e,t){var n,r;return(null!==(n=e.orderByTag)&&void 0!==n?n:0)-(null!==(r=t.orderByTag)&&void 0!==r?r:0)});case o5.OPTIMIZE:return e.filter(function(e){return e.tag===i4.OPTIMIZE}).sort(function(e,t){var n,r;return(null!==(n=e.orderByTag)&&void 0!==n?n:0)-(null!==(r=t.orderByTag)&&void 0!==r?r:0)});case o5.MANAGE:return e.filter(function(e){return e.tag===i4.MANAGE}).sort(function(e,t){var n,r;return(null!==(n=e.orderByTag)&&void 0!==n?n:0)-(null!==(r=t.orderByTag)&&void 0!==r?r:0)});default:return e}},[e,r]);return{selectedFilter:r,setSelectedFilter:o,filterCounts:i,filteredCards:a}};function as(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let ac=function(){var e=(0,eg.$G)("home").t,t=al(),n=t.selectedFilter,r=t.setSelectedFilter,o=t.filterCounts,i=t.filteredCards,a=eM(oO.selectPluginSettings);return(0,ed.useEffect)(function(){var e;rh.trackMixpanelEvent(rp.events.PAGE_VIEW,(as(e={},rp.properties.PAGE,"Capabilities"),as(e,rp.properties.CONNECT,null==a?void 0:a.isConnected),e))},[null==a?void 0:a.isConnected]),(0,es.jsxs)(na.Z,{sx:{px:4,pt:6,pb:4},gap:4,children:[(0,es.jsx)(nd,{title:e("capabilities.greeting"),titleVariant:"h4"}),(0,es.jsx)(i2,{selectedFilter:n,onFilterChange:r,filterCounts:o}),(0,es.jsx)(ai,{cards:i}),(0,es.jsx)(rN,{getCustomFallback:function(){return null}})]})};function au(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ad="APP_CORE",af=(au(en={},oA.ELEMENTOR,{title:"onBoardingInstall.tools.editorCore.title",description:"onBoardingInstall.tools.editorCore.description"}),au(en,oA.ELEMENTOR_PRO,{title:"onBoardingInstall.tools.editorPro.title",description:"onBoardingInstall.tools.editorPro.description"}),au(en,oA.ELEMENTOR_ACCESS,{title:"onBoardingInstall.tools.accessibility.title",description:"onBoardingInstall.tools.accessibility.description"}),au(en,oA.ELEMENTOR_IO,{title:"onBoardingInstall.tools.imageOptimizer.title",description:"onBoardingInstall.tools.imageOptimizer.description"}),au(en,oA.ELEMENTOR_MAILER,{title:"onBoardingInstall.tools.siteMailer.title",description:"onBoardingInstall.tools.siteMailer.description"}),au(en,oA.ELEMENTOR_AI,{title:"onBoardingInstall.tools.ai.title",description:"onBoardingInstall.tools.ai.description"}),en),ap={categories:[o3.CREATE,o3.OPTIMIZE,o3.MANAGE],categoriesTranslations:(au(er={},o3.CREATE,"tools.create.title"),au(er,o3.OPTIMIZE,"tools.optimize.title"),au(er,o3.MANAGE,"tools.manage.title"),er),tools:(au(eo={},o3.CREATE,[{appType:"APP_CORE",category:o3.CREATE,titleKey:"tools.create.items.core.title",slug:oA.ELEMENTOR},{appType:eQ.PLUGIN,category:o3.CREATE,titleKey:"tools.create.items.pro.title",slug:oA.ELEMENTOR_PRO,featuresKeys:["tools.create.items.pro.features.themeBuilder","tools.create.items.pro.features.popups","tools.create.items.pro.features.commerce","tools.create.items.pro.features.savedTemplates","tools.create.items.pro.features.templateCategories","tools.create.items.pro.features.starterTemplates","tools.create.items.pro.features.customFonts","tools.create.items.pro.features.customIcons","tools.create.items.pro.features.customCode","tools.create.items.pro.features.customCss"]}]),au(eo,o3.OPTIMIZE,[{appType:eQ.APP_ACCESS,category:o3.OPTIMIZE,titleKey:"tools.optimize.items.accessibility.title",slug:oA.ELEMENTOR_ACCESS},{appType:eQ.APP_IO,category:o3.OPTIMIZE,titleKey:"tools.optimize.items.io.title",slug:oA.ELEMENTOR_IO}]),au(eo,o3.MANAGE,[{appType:eQ.APP_MAILER,category:o3.MANAGE,titleKey:"tools.manage.items.email.title",slug:oA.ELEMENTOR_MAILER}]),eo)},ah=n(30349),ay=n(26983),ag=n(44594),am=n(40242);function av(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function ab(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){av(i,r,o,a,l,"next",e)}function l(e){av(i,r,o,a,l,"throw",e)}a(void 0)})}}function aw(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var aj=function(e){var t,n,r=e.appType,o=e.slug,i=e.trackActionConfirmed,a=eL(),l=(0,eg.$G)("tool-manager").t,s=eM(iF.selectToolManagerToolState),c=eM(function(e){return iF.selectToolManagerToolStateByKey(e,r)}),u=eM(function(e){return iF.selectLoadingState(e,"toolManagerToolsState-".concat(r))}),d=eM(oO.selectPluginSettings),f=eM(function(e){return iF.selectShouldPreventToolDeactivation(e,r)}),p=(0,ed.useMemo)(function(){var e=function(e){return!!((null==e?void 0:e.isActive)&&(null==e?void 0:e.isInstalled))},t=e(s[ad]);return r===eQ.PLUGIN&&((null==d||!d.isConnected)&&(null==c||!c.isInstalled)||!t)||r===ad&&(!Object.values(s).some(function(e){return e.appType!==ad&&e.isInstalled})||e(s[eQ.PLUGIN])&&t&&!(null==c?void 0:c.isMigrated))},[s,r,d,null==c?void 0:c.isMigrated,null==c?void 0:c.isInstalled]),h=(0,ed.useCallback)(function(e){a(ia.setLoadState({key:"toolManagerToolsState-".concat(r),value:e}))},[a,r]),y=(0,ed.useCallback)((t=ab(function(e){return aw(this,function(t){switch(t.label){case 0:return h(!0),[4,e()];case 1:return t.sent(),h(!1),[2]}})}),function(e){return t.apply(this,arguments)}),[h]),g=(0,ed.useCallback)(ab(function(){return aw(this,function(e){switch(e.label){case 0:return[4,y(ab(function(){return aw(this,function(e){switch(e.label){case 0:return[4,a(ib.installPlugin({slug:o,status:oC.ACTIVE}))];case 1:if("rejected"===e.sent().meta.requestStatus)return a(e4.setToast({type:"error",text:l("actions.failedAction.install")})),[2];return i("add"),[2]}})}))];case 1:return e.sent(),[2]}})}),[a,o,l,i,y]),m=(0,ed.useCallback)((n=ab(function(e){var t;return aw(this,function(n){switch(n.label){case 0:return[4,y(ab(function(){var n;return aw(this,function(r){switch(r.label){case 0:switch(e){case o6.ACTIVATE:return[3,1];case o6.DEACTIVATE:return[3,3];case o6.DETACH:return[3,5];case o6.MIGRATE:return[3,7]}return[3,9];case 1:return[4,a(ib.activatePlugin({slug:o}))];case 2:case 4:case 6:case 8:return t=r.sent(),[3,9];case 3:if(f&&(null==c?void 0:c.isActive))return[2];return[4,a(ib.deactivatePlugin({slug:o}))];case 5:return[4,a(ib.detachFromOne({slug:o}))];case 7:return[4,a(ib.migrateToOne({slug:o}))];case 9:if((null==t||null===(n=t.meta)||void 0===n?void 0:n.requestStatus)==="rejected")return a(e4.setToast({type:"error",text:l("actions.failedAction.".concat(e))})),[2];return i(e),(e===o6.ACTIVATE||e===o6.DEACTIVATE)&&(a(e4.setSharedLoader({open:!0})),window.location.reload()),[2]}})}))];case 1:return n.sent(),[2]}})}),function(e){return n.apply(this,arguments)}),[y,i,null==c?void 0:c.isActive,a,o,f,l]),v=(0,ed.useMemo)(function(){var e,t,n=r===eQ.PLUGIN?null===(e=s[ad])||void 0===e?void 0:e.hasWpOnePackage:null==c?void 0:c.hasWpOnePackage;return null!==(t=(null==d?void 0:d.isConnected)&&!(null==c?void 0:c.isMigrated)&&(null==c?void 0:c.isActive)&&n)&&void 0!==t&&t},[s,r,null==d?void 0:d.isConnected,null==c?void 0:c.hasWpOnePackage,null==c?void 0:c.isActive,null==c?void 0:c.isMigrated]);return{toolState:c,isLoading:u,isDisabled:p,isMigrateBtnVisible:v,addTool:g,toggleAction:m}};function aO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ax=(aO(ei={},o6.ACTIVATE,{translationKey:"confirmActivate",isDestructive:!1}),aO(ei,o6.DEACTIVATE,{translationKey:"confirmDeactivate",isDestructive:!0}),aO(ei,o6.DETACH,{translationKey:"confirmDetach",isDestructive:!0}),aO(ei,o6.MIGRATE,{translationKey:"confirmMigration",isDestructive:!1}),ei),aE=function(e){var t=e.appType,n=e.actionType,r=e.toolName,o=e.isLoading,i=e.onClose,a=e.onConfirm,l=(0,eg.$G)("tool-manager").t,s=n?ax[n]:null,c=(0,ed.useMemo)(function(){if(!s)return null;var e=s.translationKey;return{title:l("actions.".concat(e,".title"),{name:r}),message:(0,es.jsx)(eg.cC,{i18nKey:"tool-manager:actions.".concat(e,".msg"),values:{name:r,isEditorCore:t===ad},components:{br:(0,es.jsx)("br",{}),ul:(0,es.jsx)("ul",{style:{margin:"8px 0",paddingLeft:"20px"}}),li:(0,es.jsx)("li",{style:{marginBottom:"4px",display:"list-item",listStyleType:"disc"}})}}),cancel:l("actions.".concat(e,".cancel")),confirm:l("actions.".concat(e,".ok"))}},[s,l,r,t]);return n&&c?(0,es.jsxs)(nT.Z,{open:!!n,onClose:i,onClick:function(e){return e.stopPropagation()},children:[(0,es.jsx)(nk.Z,{onClose:i,logo:!1,children:(0,es.jsx)(n_.Z,{variant:"subtitle1",fontWeight:600,children:c.title})}),(0,es.jsx)(nA.Z,{children:(0,es.jsx)(nI.Z,{variant:"body2",children:c.message})}),(0,es.jsxs)(nC.Z,{children:[(0,es.jsx)(t6.Z,{variant:"outlined",color:"secondary",onClick:i,children:c.cancel}),(0,es.jsx)(t7,{variant:"contained",color:(null==s?void 0:s.isDestructive)?"error":"primary",onClick:a,isLoading:o,children:c.confirm})]})]}):null};function aS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function aP(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function aT(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){aP(i,r,o,a,l,"next",e)}function l(e){aP(i,r,o,a,l,"throw",e)}a(void 0)})}}function aC(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var aA={actionType:null,isMultiAction:!1},aI=function(e){var t,n,r=e.appType,o=e.toolNameKey,i=e.slug,a=e.trackAction,l=(0,eg.$G)("tool-manager").t,s=(t=(0,ed.useState)(aA),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return aS(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aS(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=s[0],u=s[1],d=eM(function(e){return iF.selectShouldPreventToolDeactivation(e,r)}),f=eM(iF.selectToolManagerToolState),p=a(rp.events.ACTION_CONFIRMED),h=a(rp.events.ACTION_CLICKED),y=aj({appType:r,slug:i,trackActionConfirmed:p}),g=y.toolState,m=y.isLoading,v=y.isDisabled,b=y.isMigrateBtnVisible,w=y.addTool,j=y.toggleAction,O=(0,ed.useMemo)(function(){return(null==g?void 0:g.appType)===ad},[null==g?void 0:g.appType]),x=(0,ed.useMemo)(function(){return v||m||d&&(null==g?void 0:g.isActive)},[v,m,d,null==g?void 0:g.isActive]),E=(0,ed.useMemo)(function(){return l(o)},[o,l]),S=(0,ed.useCallback)(function(){u(aA)},[]),P=(0,ed.useCallback)(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u({actionType:e,isMultiAction:t})},[]),T=(0,ed.useMemo)(function(){return[{title:l("actions.confirmDeactivateOrDetach.deactivate"),description:l("actions.confirmDeactivateOrDetach.deactivateMsg"),actionButtonText:l("actions.confirmDeactivateOrDetach.deactivate"),action:aT(function(){return aC(this,function(e){switch(e.label){case 0:return[4,j(o6.DEACTIVATE)];case 1:return e.sent(),S(),[2]}})})},{title:l("actions.confirmDeactivateOrDetach.detach"),description:l("actions.confirmDeactivateOrDetach.msg",{isEditorCore:(null==g?void 0:g.appType)===ad}),actionButtonText:l("actions.confirmDeactivateOrDetach.detach"),action:aT(function(){return aC(this,function(e){switch(e.label){case 0:return[4,j(o6.DETACH)];case 1:return e.sent(),S(),[2]}})})}]},[l,j,S,null==g?void 0:g.appType]),C=(0,ed.useMemo)(function(){var e=f[eQ.PLUGIN];return(null==e?void 0:e.isActive)&&(null==e?void 0:e.isInstalled)},[f]),A=(0,ed.useCallback)(function(){var e=o6.ACTIVATE;return((null==g?void 0:g.isActive)&&(e=(null==g?void 0:g.isMigrated)?O&&C?o6.DETACH:null:o6.DEACTIVATE),null===e)?P(null,!0):(h(e),P(e))},[null==g?void 0:g.isActive,null==g?void 0:g.isMigrated,P,C,O,h]),I=(0,ed.useMemo)(function(){var e;return(null==g?void 0:g.appType)!==eQ.PLUGIN||(null===(e=f[ad])||void 0===e?void 0:e.isActive)||!v?(null==g?void 0:g.isActive)?O&&C?l("actions.detachAi"):l("actions.deactivate"):l("actions.activate"):l("actions.activateCore")},[g,f,l,O,C,v]),k=(0,ed.useCallback)(aT(function(){return aC(this,function(e){switch(e.label){case 0:if(!c.actionType)return[2];return[4,j(c.actionType)];case 1:return e.sent(),S(),[2]}})}),[c.actionType,j,S]);return(null==g?void 0:g.isInstalled)?m?(0,es.jsx)(t5.Z,{size:20}):(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",children:[b&&(0,es.jsx)(t6.Z,{variant:"outlined",color:"warning",onClick:function(){return P(o6.MIGRATE)},size:"small",children:l("actions.migrateToOne")}),(0,es.jsx)(nb.Z,{title:I,children:(0,es.jsx)(t9.Z,{children:(0,es.jsx)(nR.Z,{checked:null!==(n=null==g?void 0:g.isActive)&&void 0!==n&&n,size:"small",color:b?"warning":"info",disabled:x,onClick:A,sx:{"& .PrivateSwitchBase-input":{visibility:"hidden"}}})})}),(0,es.jsx)(n0,{header:l("actions.confirmDeactivateOrDetach.title"),actions:T,declineText:l("actions.confirmDeactivateOrDetach.cancel"),open:c.isMultiAction,onClose:S}),(0,es.jsx)(aE,{appType:r,actionType:c.isMultiAction?null:c.actionType,toolName:E,isLoading:m,onClose:S,onConfirm:k})]}):(0,es.jsx)(nF,{confirmTitle:l("actions.confirmAdd.title"),confirmMsg:l("actions.confirmAdd.msg"),acceptText:l("actions.confirmAdd.ok"),declineText:l("actions.confirmAdd.cancel"),variant:"outlined",color:"secondary",size:"small",buttonType:"button",isLoading:m,loading:m,disabled:v||m,onClick:w,onButtonClicked:function(){return h("add")},children:l("actions.add")})},ak=n(87560),a_=n(47298),aL=n(60832);function aM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function aR(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function aZ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aD=function(e){var t,n,r=e.tool,o=e.showDivider,i=(0,eg.$G)("tool-manager").t,a=eL(),l=r.appType,s=r.titleKey,c=r.slug,u=(t=(0,ed.useState)({}),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return aM(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aM(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=u[0],f=u[1],p=eM(function(e){return iF.selectToolManagerToolStateByKey(e,l)}),h=(0,ed.useCallback)((n=function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:return[4,a(ib.upgradePlugin({slug:c,status:oC.ACTIVE}))];case 1:return e.sent(),[2]}})},function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function a(e){aR(i,r,o,a,l,"next",e)}function l(e){aR(i,r,o,a,l,"throw",e)}a(void 0)})}),[c,a]),y=(0,ed.useCallback)(function(e){return function(t){var n;rh.trackMixpanelEvent(e,(aZ(n={},rp.properties.ACTION_TYPE,t),aZ(n,rp.properties.CATEGORY_NAME,r.category),aZ(n,rp.properties.CAPABILITY_NAME,i(r.titleKey,{lng:ew.EN})),n))}},[r,i]),g=(0,ed.useMemo)(function(){if(!(null===(e=r.featuresKeys)||void 0===e?void 0:e.length))return null;var e,t,n,o,a=null===(t=r.featuresKeys)||void 0===t?void 0:t.slice(0,3),l=null===(o=r.featuresKeys)||void 0===o?void 0:o.slice(3,null===(n=r.featuresKeys)||void 0===n?void 0:n.length);return(0,es.jsxs)(ah.Z,{sx:{pl:2},children:[null==a?void 0:a.map(function(e){return(0,es.jsx)(ay.Z,{divider:!0,children:(0,es.jsx)(ak.Z,{primary:i(e),primaryTypographyProps:{variant:"body2",color:"text.secondary"}})},e)}),(null==l?void 0:l.length)>0&&(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(nz.Z,{in:d[r.appType],unmountOnExit:!0,children:null==l?void 0:l.map(function(e){return(0,es.jsx)(ay.Z,{divider:!0,children:(0,es.jsx)(ak.Z,{primary:i(e),primaryTypographyProps:{variant:"body2",color:"text.secondary"}})},e)})}),(0,es.jsx)(t6.Z,{variant:"text",size:"small",color:"info",endIcon:(0,es.jsx)(aL.Z,{in:d[r.appType],children:(0,es.jsx)(a_.Z,{})}),onClick:function(){return f(function(e){var t,n;return t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){aZ(e,t,n[t])})}return e}({},e),n=null!=(n=aZ({},r.appType,!e[r.appType]))?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t})},children:i(d[r.appType]?"hideMoreFeatures":"showMoreFeatures")})]})]})},[r,d,f,i]),m=(0,ed.useMemo)(function(){return(0,es.jsxs)(na.Z,{p:2,maxWidth:250,gap:2,children:[(0,es.jsx)(ne.Z,{variant:"body2",children:i("updateRequiredTooltip")}),(0,es.jsxs)(na.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",gap:.5,children:[(0,es.jsx)(ne.Z,{variant:"body2",color:"warning.main",children:null==p?void 0:p.version}),(0,es.jsx)(am.Z,{fontSize:"small"}),(0,es.jsx)(ne.Z,{variant:"body2",children:null==p?void 0:p.newVersion})]}),(0,es.jsx)(t6.Z,{variant:"contained",size:"small",onClick:function(){y(rp.events.ACTION_CONFIRMED)("update"),h()},children:i("actions.update")})]})]})},[h,i,y,p]);return(0,es.jsxs)(es.Fragment,{children:[(0,es.jsxs)(ay.Z,{divider:void 0===o||o,sx:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:2},children:[(0,es.jsxs)(na.Z,{direction:"row",gap:2,alignItems:"center",flexWrap:"wrap",children:[(0,es.jsxs)(ne.Z,{variant:"body1",color:"text.primary",children:[i(s),l===ad&&(0,es.jsx)(t9.Z,{component:"span",sx:{marginLeft:1,background:"linear-gradient(to right, #4F75FF, #9747FF, #EB8EFB)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:i("tools.create.items.core.withAI")})]}),(null==p?void 0:p.updateRequired)&&(0,es.jsx)(ag.Z,{disableFocusListener:!0,disableTouchListener:!0,content:m,children:(0,es.jsx)(iq.Z,{label:i("actions.updateRequired"),color:"warning",size:"small",variant:"standard",icon:(0,es.jsx)(no.Z,{})})})]}),(0,es.jsx)(aI,{appType:l,toolNameKey:s,slug:c,trackAction:y})]},l),g]})},aN=function(e){var t=e.tools,n=(0,eg.$G)("tool-manager").t,r=(0,ed.useCallback)(function(e){var r=t.filter(function(t){return t.category===e});return 0===r.length?(0,es.jsxs)(na.Z,{sx:{p:2},gap:1,alignItems:"center",justifyContent:"center",children:[(0,es.jsx)(ne.Z,{variant:"subtitle1",children:n("noToolsFound")}),(0,es.jsx)(ne.Z,{variant:"body2",children:n("noToolsFoundDescription")})]}):(0,es.jsx)(ah.Z,{children:r.map(function(e,t){var n;return(0,es.jsx)(aD,{tool:e,showDivider:t!==r.length-1&&!(null===(n=e.featuresKeys)||void 0===n?void 0:n.length)})})})},[t,n]);return(0,es.jsx)(na.Z,{gap:3,children:ap.categories.map(function(e){return(0,es.jsxs)(na.Z,{gap:1,children:[(0,es.jsx)(ne.Z,{variant:"subtitle1",children:n(ap.categoriesTranslations[e])}),(0,es.jsx)(oD.Z,{variant:"outlined",sx:{p:2},children:r(e)})]},e)})})};function aU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){aU(e,t,n[t])})}return e}let aF=function(){var e=(0,eg.$G)("tool-manager").t,t=(0,eu.s0)(),n=eM(oO.selectPluginSettings),r=(0,ed.useMemo)(function(){return Object.values(ap.tools).flat()},[]);(0,ed.useEffect)(function(){var e;rh.trackMixpanelEvent(rp.events.PAGE_VIEW,(aU(e={},rp.properties.PAGE,"Tool Manager"),aU(e,rp.properties.CONNECT,null==n?void 0:n.isConnected),e))},[null==n?void 0:n.isConnected]);var o=function(){t("../")};return(0,es.jsxs)(nT.Z,{open:!0,maxWidth:"lg",disableEnforceFocus:!0,fullWidth:!0,onClose:o,transitionDuration:0,PaperProps:{sx:{height:"100%",width:"100%",mx:{xs:2,md:4}}},slotProps:{backdrop:{sx:function(e){return aB({},iO(e))}}},sx:function(e){return aB({},iO(e))},children:[(0,es.jsx)(nk.Z,{onClose:o,logo:!1,children:(0,es.jsx)(n_.Z,{color:"text.primary",children:e("title")})}),(0,es.jsx)(nA.Z,{dividers:!0,children:(0,es.jsxs)(na.Z,{sx:{px:{xs:0,md:4},py:2},gap:3,children:[(0,es.jsx)(ne.Z,{variant:"body1",color:"text.secondary",children:e("subtitle")}),(0,es.jsx)(aN,{tools:r})]})})]})};function aG(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function aW(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function az(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){aW(i,r,o,a,l,"next",e)}function l(e){aW(i,r,o,a,l,"throw",e)}a(void 0)})}}function aK(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return aG(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aG(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aV(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var aH=function(){var e=eL(),t=eM(iF.selectOnboardingInstallToolsState),n=eM(iF.selectPlugins),r=(0,ed.useCallback)(function(e){return n.find(function(t){return t.slug===e})||null},[n]),o=(0,ed.useCallback)(function(e){var t=r(e);return t?t.status!==oC.ACTIVE?il.ACTIVATE:null:il.INSTALL},[r]),i=(0,ed.useMemo)(function(){return Object.entries(t).some(function(e){var t=aK(e,2),n=t[0];return!!t[1]&&null!==o(n)})},[t,o]);return{processTools:(0,ed.useCallback)(az(function(){var n,r,a,l,s,c,u,d,f,p,h,y,g,m,v,b,w,j,O,x;return aV(this,function(E){switch(E.label){case 0:var S;if(n=eq.getStoreInstance().getState(),r=iF.selectConflictsToSolve(n),!i&&0===r.length)return[2];a=[],l=!0,s=!1,c=void 0;try{for(u=Object.entries(t)[Symbol.iterator]();!(l=(d=u.next()).done);l=!0)p=(f=aK(d.value,2))[0],f[1]&&(h=o(p))&&a.push({slug:p,actionType:h})}catch(e){s=!0,c=e}finally{try{l||null==u.return||u.return()}finally{if(s)throw c}}if(r.forEach(function(e){var t=aK(e.split("#"),2),n=t[0],r=t[1];a.push({slug:n,actionType:r})}),0===a.length)return[2];e(ow.setInstallProgress({total:a.length})),a.map((S=az(function(t){var n;return aV(this,function(r){return n=t.slug,t.actionType,e(ia.setLoadState({key:"processingPlugin-".concat(n),value:!0})),[2]})}),function(e){return S.apply(this,arguments)})),y=!0,g=!1,m=void 0,E.label=1;case 1:E.trys.push([1,6,7,8]),v=a[Symbol.iterator](),E.label=2;case 2:if(y=(b=v.next()).done)return[3,5];return j=(w=b.value).slug,O=w.actionType,[4,e(ib.processPlugin({slug:j,actionType:O})).unwrap()];case 3:E.sent(),E.label=4;case 4:return y=!0,[3,2];case 5:return[3,8];case 6:return x=E.sent(),g=!0,m=x,[3,8];case 7:try{y||null==v.return||v.return()}finally{if(g)throw m}return[7];case 8:return e(ia.resetConflictsToSolve()),[2]}})}),[o,e,i,t]),isProcessingNeeded:i}},aq=n(12857),a$=function(e){var t,n,r=e.description,o=e.status,i=e.checked,a=e.slug,l=e.onClick,s=(0,eg.$G)("home").t;return(0,es.jsx)(oG.Z,{variant:"outlined",sx:{"&:hover":{borderColor:"common.black"}},onClick:function(){return null==l?void 0:l(a)},children:(0,es.jsx)(oW.Z,{sx:{"&: last-child":{pb:2}},children:(0,es.jsxs)(na.Z,{direction:"row",alignItems:"center",gap:1,children:[(0,es.jsx)(aq.Z,{checked:i,color:"secondary"}),(0,es.jsxs)(na.Z,{gap:.5,children:[(0,es.jsx)(ne.Z,{variant:"subtitle1",children:s(null!==(n=null===(t=af[a])||void 0===t?void 0:t.title)&&void 0!==n?n:"")}),r&&(0,es.jsx)(ne.Z,{variant:"body2",color:"text.secondary",children:r})]}),(0,es.jsx)(t9.Z,{sx:{marginLeft:"auto"},children:o})]})})})};function aY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function aQ(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function aJ(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aX(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return aY(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aY(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a0=function(e){var t,n=e.plugins,r=e.actionLabel,o=e.actionType,i=e.onClick,a=(0,eg.$G)("home").t,l=eL(),s=(0,ed.useMemo)(function(){var e={};return n.forEach(function(t){e[t.slug]=!0}),e},[n]),c=aX((0,ed.useState)(s),2),u=c[0],d=c[1],f=(0,ed.useCallback)(function(e){d(function(t){var n,r;return n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){aJ(e,t,n[t])})}return e}({},t),r=null!=(r=aJ({},e,!t[e]))?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n})},[]),p=(0,ed.useCallback)((t=function(){var e,t,n,r,a,s,c,d;return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}(this,function(f){switch(f.label){case 0:e=!0,t=!1,n=void 0,f.label=1;case 1:f.trys.push([1,6,7,8]),r=Object.entries(u)[Symbol.iterator](),f.label=2;case 2:if(e=(a=r.next()).done)return[3,5];if(c=(s=aX(a.value,2))[0],!s[1])return[3,4];return[4,l(ia.addConflictsToSolve("".concat(c).concat("#").concat(o)))];case 3:f.sent(),f.label=4;case 4:return e=!0,[3,2];case 5:return[3,8];case 6:return d=f.sent(),t=!0,n=d,[3,8];case 7:try{e||null==r.return||r.return()}finally{if(t)throw n}return[7];case 8:return null==i||i(),[2]}})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function a(e){aQ(i,r,o,a,l,"next",e)}function l(e){aQ(i,r,o,a,l,"throw",e)}a(void 0)})}),[l,i,u,o]),h=(0,ed.useMemo)(function(){return Object.values(u).every(function(e){return!e})},[u]);return(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(n_.Z,{sx:{mb:2},children:a("onBoardingInstall.conflictsDialog.".concat(o,".title"))}),(0,es.jsxs)(nA.Z,{sx:{gap:2,display:"flex",flexDirection:"column"},children:[(0,es.jsx)(ne.Z,{variant:"h5",children:a("onBoardingInstall.conflictsDialog.".concat(o,".title"))}),(0,es.jsx)(ne.Z,{variant:"body1",children:a("onBoardingInstall.conflictsDialog.".concat(o,".description"))}),(0,es.jsx)(ne.Z,{variant:"caption",sx:{marginTop:2},children:a("onBoardingInstall.conflictsDialog.".concat(o,".selectTools"))}),(0,es.jsx)(na.Z,{sx:{gap:2},children:n.map(function(e){return(0,es.jsx)(a$,{slug:e.slug,onClick:f,checked:u[e.slug],description:o===il.UPDATE?"version: ".concat(e.newVersion):"",status:o===il.UPDATE&&(0,es.jsx)(iq.Z,{label:a("onBoardingInstall.tools.updateRequired"),color:"warning",variant:"standard",size:"small"})},e.slug)})}),(0,es.jsx)(ne.Z,{variant:"caption",children:a("onBoardingInstall.conflictsDialog.manageLater")})]}),(0,es.jsx)(nC.Z,{children:(0,es.jsxs)(na.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",width:"100%",children:[r&&(0,es.jsx)(ne.Z,{variant:"caption",children:r}),(0,es.jsx)(t6.Z,{variant:"contained",onClick:p,sx:{marginLeft:"auto"},children:a("onBoardingInstall.conflictsDialog.".concat(o,".action"),{nothingIsSelected:h})})]})})]})};function a1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a2=function(e){var t,n=e.isOpen,r=e.pluginsToUpdate,o=e.pluginsToMigrate,i=e.onFinish,a=(0,eg.$G)("home").t,l=eL(),s=(t=(0,ed.useState)(0),function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return a1(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a1(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=s[0],u=s[1],d=(0,ed.useCallback)(function(){l(ia.setIsConflictsDialogOpen(!1)),null==i||i(),u(0)},[l,i]),f=(0,ed.useCallback)(function(){r.length>0&&0===o.length?d():r.length>0&&o.length>0&&u(1)},[d,o.length,r.length,u]),p=(0,ed.useMemo)(function(){var e=[],t=r.length>0,n=o.length>0;return t&&e.push((0,es.jsx)(a0,{actionType:il.UPDATE,actionLabel:n?a("onBoardingInstall.conflictsDialog.step",{step:1,total:2}):void 0,plugins:r,onClick:f},"update")),n&&e.push((0,es.jsx)(a0,{actionType:il.MIGRATE,actionLabel:t?a("onBoardingInstall.conflictsDialog.step",{step:2,total:2}):void 0,plugins:o,onClick:d},"migration")),e},[r,o,f,a,d]);return(0,es.jsx)(nT.Z,{open:n,children:p[c]})};let a3=function(){var e=(0,eg.$G)("home").t,t=eL(),n=(0,eu.s0)(),r=eM(function(e){return iF.selectPlugins(e)}),o=r.filter(function(e){return null!==e.newVersion&&e.status===oC.ACTIVE}),i=r.filter(function(e){return e.isConnected&&!e.isMigrated}),a=eM(function(e){return iF.selectIsConlictsDialogOpen(e)}),l=aH(),s=l.processTools,c=l.isProcessingNeeded,u=function(){s(),n("/home/")};return(0,es.jsxs)(na.Z,{gap:3,justifyContent:"center",sx:{flex:"0 0 50%",margin:"0 auto"},children:[(0,es.jsx)(ne.Z,{variant:"h3",sx:{whiteSpace:"pre-line"},children:e("onBoardingInstall.title")}),(0,es.jsx)(ne.Z,{variant:"body1",sx:{whiteSpace:"pre-line"},children:e("onBoardingInstall.description")}),(0,es.jsxs)(na.Z,{gap:2,children:[(0,es.jsx)(na.Z,{gap:2,direction:"row",children:(0,es.jsx)(t6.Z,{variant:"contained",color:"primary",size:"medium",sx:{minWidth:152,maxWidth:{xs:"100%",md:400}},fullWidth:!0,onClick:function(){var n,r,a;if(rh.trackMixpanelEvent(rp.events.PRIMARY_CTA_CLICKED,(n={},r=rp.properties.CTA_NAME,a=e("onBoardingInstall.installAndContinue",{lng:ew.EN}),r in n?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,n)),o.length>0||i.length>0){t(ia.setIsConflictsDialogOpen(!0));return}u()},children:c?e("onBoardingInstall.installAndContinue"):e("onBoardingInstall.continue")})}),(0,es.jsx)(ne.Z,{color:"text.tertiary",variant:"caption",children:e("onBoardingInstall.duringInstallation")})]}),(0,es.jsx)(a2,{isOpen:a,pluginsToUpdate:o,pluginsToMigrate:i,onFinish:u})]})};var a4=function(e){var t=e.slug,n=e.tool,r=e.checked,o=e.onToggle,i=(0,eg.$G)("home").t,a=eM(function(e){return iF.selectPluginBySlug(e,t)}),l=(0,ed.useMemo)(function(){return null!==a||void 0},[a]),s=(0,ed.useMemo)(function(){return(null==a?void 0:a.status)===oC.ACTIVE},[a]),c=(0,ed.useMemo)(function(){return l&&s},[l,s]),u=(0,ed.useMemo)(function(){return t===oA.ELEMENTOR_AI?(0,es.jsx)(iq.Z,{label:i("onBoardingInstall.tools.beta"),color:"warning",variant:"standard",size:"small",sx:{ml:"auto"}}):l&&s?(0,es.jsx)(iq.Z,{label:i("onBoardingInstall.tools.installed"),color:"info",variant:"standard",size:"small",sx:{ml:"auto"}}):null},[t,l,s,i]);return(0,es.jsx)(oG.Z,{variant:"outlined",sx:{"&:hover":{borderColor:"common.black"},p:0,cursor:c?"default":"pointer"},onClick:function(){c||o(t)},children:(0,es.jsx)(oW.Z,{children:(0,es.jsxs)(na.Z,{gap:1.5,direction:"row",alignItems:"center",children:[c?(0,es.jsx)(nb.Z,{disableFocusListener:!0,disableTouchListener:!0,placement:"top",title:i("onBoardingInstall.tools.installedTooltip"),children:(0,es.jsx)(aq.Z,{checked:r,readOnly:!0,color:"secondary",sx:c?{opacity:.5,cursor:"default"}:{}})}):(0,es.jsx)(aq.Z,{checked:r,color:"secondary"}),(0,es.jsxs)(na.Z,{gap:1,children:[(0,es.jsx)(na.Z,{direction:"row",alignItems:"center",gap:1,children:(0,es.jsx)(ne.Z,{variant:"subtitle1",fontWeight:"500",sx:t===oA.ELEMENTOR_AI?{backgroundImage:"linear-gradient(to right, #4F75FF, #9747FF, #EB8EFB)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"}:{},children:i(n.title)})}),(0,es.jsx)(ne.Z,{variant:"body2",color:"text.secondary",children:i(n.description)})]}),u]})})})};function a6(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a5(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a6(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var a7=function(){var e=(0,eg.$G)("home").t,t=[oA.ELEMENTOR_AI],n=eL(),r=eM(function(e){return iF.selectOnboardingInstallToolsState(e)}),o=(0,eu.s0)(),i=function(e){var t=!r[e];n(ia.setOnboardingInstallToolsState({key:e,value:t})),e===oA.ELEMENTOR_PRO&&t&&n(ia.setOnboardingInstallToolsState({key:oA.ELEMENTOR,value:!0})),e!==oA.ELEMENTOR||t||n(ia.setOnboardingInstallToolsState({key:oA.ELEMENTOR_PRO,value:!1}))};return(0,es.jsxs)(na.Z,{sx:{flex:"0 0 50%"},gap:2,children:[(0,es.jsxs)(na.Z,{gap:2,children:[Object.entries(af).filter(function(e){var n=a5(e,1)[0];return!t.includes(n)}).map(function(e){var t=a5(e,2),n=t[0],o=t[1];return o?(0,es.jsx)(a4,{slug:n,tool:o,checked:r[n],onToggle:i},n):null}),t.length>0&&(0,es.jsxs)(es.Fragment,{children:[(0,es.jsx)(ne.Z,{variant:"body1",color:"text.secondary",children:e("onBoardingInstall.tools.additionalBetaTools")}),t.map(function(e){var t=af[e];return t?(0,es.jsx)(a4,{slug:e,tool:t,checked:r[e],onToggle:i},e):null})]})]}),(0,es.jsx)(t6.Z,{sx:{alignSelf:{xs:"stretch",md:"flex-end"}},variant:"text",color:"secondary",size:"small",onClick:function(){o("/home/")},children:e("onBoardingInstall.skip")})]})};let a8=function(){var e=eM(function(e){return iF.selectLoadingState(e,"plugins")}),t=(0,eu.s0)(),n=eM(function(e){return iF.selectDataFetched(e,"plugins")}),r=eM(function(e){return iF.selectErrorState(e,"plugins")}),o=(0,ed.useMemo)(function(){return e||!n||r},[e,n,r]),i=eM(function(e){return oO.selectPluginSettings(e)});return((0,ed.useEffect)(function(){!i||(null==i?void 0:i.isConnected)||t("/home/capabilities")},[t,i]),o)?(0,es.jsx)(oz,{}):(0,es.jsx)(oL.Z,{maxWidth:"xl",sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",pt:8,"@media (min-width: 600px)":{px:4}},children:(0,es.jsxs)(na.Z,{sx:{flexDirection:{xs:"column",md:"row"}},gap:4,children:[(0,es.jsx)(a3,{}),(0,es.jsx)(a7,{})]})})};function a9(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,o)}function le(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){a9(i,r,o,a,l,"next",e)}function l(e){a9(i,r,o,a,l,"throw",e)}a(void 0)})}}function lt(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){var s=[i,l];if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}}var ln=function(){var e,t,n=(0,eg.$G)(["url-mismatch"]).t,r=eL(),o=(0,eu.s0)(),i=(0,e_.v9)(function(e){return oO.selectLoadingState(e,"switchDomain")}),a=(0,e_.v9)(function(e){return oO.selectLoadingState(e,"connect")}),l=function(){o("../")},s=function(e){var t,n;rh.trackMixpanelEvent(rp.events.MISMATCH_RESOLUTION,(t={},n=rp.properties.ACTION_TYPE,n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t))},c=(e=le(function(){return lt(this,function(e){switch(e.label){case 0:return s("mismatch_same_site"),[4,r(oT.switchDomain())];case 1:return e.sent(),l(),r(e4.setSharedLoader({open:!0})),window.location.reload(),[2]}})}),function(){return e.apply(this,arguments)}),u=(t=le(function(){return lt(this,function(e){switch(e.label){case 0:return s("mismatch_new_site"),[4,r(oT.connect(!0))];case 1:return e.sent(),[2]}})}),function(){return t.apply(this,arguments)});return(0,es.jsxs)(nT.Z,{open:!0,onClose:l,maxWidth:"lg",disableEnforceFocus:!0,children:[(0,es.jsx)(nk.Z,{logo:(0,es.jsx)(es.Fragment,{}),onClose:l,children:(0,es.jsx)(ne.Z,{variant:"h6",children:n("header")})}),(0,es.jsx)(nA.Z,{children:(0,es.jsxs)(t9.Z,{mx:5,children:[(0,es.jsxs)(t9.Z,{mb:8,sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[(0,es.jsx)(ne.Z,{variant:"h4",mb:2,align:"center",children:n("title")}),(0,es.jsx)(ne.Z,{variant:"body1",align:"center",children:n("description",{br:(0,es.jsx)("br",{})})})]}),(0,es.jsxs)(oM.Z,{container:!0,direction:"row",spacing:3,mb:10,children:[(0,es.jsx)(oM.Z,{item:!0,xs:12,md:6,children:(0,es.jsx)(oD.Z,{variant:"outlined",sx:{width:"344px"},children:(0,es.jsxs)(na.Z,{direction:"column",gap:3,m:5,children:[(0,es.jsx)(ne.Z,{variant:"subtitle1",align:"center",children:n("actions.updateCurrentSite.title")}),(0,es.jsx)(ne.Z,{variant:"body2",align:"center",children:n("actions.updateCurrentSite.description")}),(0,es.jsx)(t7,{variant:"text",color:"info",size:"large",onClick:c,sx:{"&:hover":{backgroundColor:"transparent"}},isLoading:i,disabled:a,children:n("actions.updateCurrentSite.action")})]})})}),(0,es.jsx)(oM.Z,{item:!0,xs:12,md:6,children:(0,es.jsx)(oD.Z,{variant:"outlined",sx:{width:"344px"},children:(0,es.jsxs)(na.Z,{direction:"column",gap:3,m:5,children:[(0,es.jsx)(ne.Z,{variant:"subtitle1",align:"center",children:n("actions.connectNewSite.title")}),(0,es.jsx)(ne.Z,{variant:"body2",align:"center",children:n("actions.connectNewSite.description")}),(0,es.jsx)(t7,{variant:"text",color:"info",size:"large",onClick:u,sx:{"&:hover":{backgroundColor:"transparent"}},isLoading:a,disabled:i,children:n("actions.connectNewSite.action")})]})})})]})]})})]})},lr=eA.createInstance(function(e,t){return n(50156)("./".concat(e,"/").concat(t,".json"))}),lo=[om,ir,e1],li=ec.createRoot(document.getElementById("elementor-home-app"));rh.init(rf.Infra,"150605b3b9f979922f2ac5a52e2dcfe9",void 0,!0,null===(el=window)||void 0===el||null===(ea=el.elementorOneSettingsData)||void 0===ea?void 0:ea.shareUsageData),li.render((0,es.jsx)(function(e){var t=e.children,n=e.colorScheme;return(0,es.jsx)(ed.StrictMode,{children:(0,es.jsx)(ed.Suspense,{fallback:(0,es.jsx)(oK,{}),children:(0,es.jsx)(eY,{slices:lo,children:(0,es.jsx)(oH,{children:(0,es.jsx)(t4,{themeInstance:tX.f6,directionInstance:t0.Z,colorScheme:void 0===n?"light":n,children:(0,es.jsx)(rT,{children:(0,es.jsx)(eg.a3,{i18n:lr,children:(0,es.jsx)(ns.UT,{children:t})})})})})})})})},{colorScheme:"light",children:(0,es.jsx)(function(){return(0,es.jsx)(eu.Z5,{children:(0,es.jsxs)(eu.AW,{element:(0,es.jsx)(iR,{}),children:[(0,es.jsxs)(eu.AW,{path:"/home",element:(0,es.jsx)(iH,{}),children:[(0,es.jsx)(eu.AW,{index:!0,element:(0,es.jsx)(ac,{})}),(0,es.jsx)(eu.AW,{path:"tool-manager",element:(0,es.jsx)(aF,{})}),(0,es.jsx)(eu.AW,{path:"url-mismatch",element:(0,es.jsx)(ln,{})})]}),(0,es.jsx)(eu.AW,{path:"/home/onboarding",element:(0,es.jsx)(a8,{})}),(0,es.jsx)(eu.AW,{path:"*",element:(0,es.jsx)(eu.Fg,{to:"/home"})})]})})},{})}))},7855:function(){}}]);