%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tradesc/www/relax/wp-content/plugins/woocommerce/assets/client/admin/chunks/
Upload File :
Create Path :
Current File : /home/tradesc/www/relax/wp-content/plugins/woocommerce/assets/client/admin/chunks/core-profiler.js

/*! For license information please see core-profiler.js.LICENSE.txt */
(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[1828],{73224:(e,t,o)=>{"use strict";o.d(t,{Z:()=>r});var i=o(69307),n=o(70444);const r=(0,i.createElement)(n.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)(n.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},99983:(e,t,o)=>{"use strict";o.d(t,{Z:()=>n});var i=o(69307);const n=()=>(0,i.createElement)("svg",{preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 256 153",xmlns:"http://www.w3.org/2000/svg",className:"wc-icon wc-icon__woo-logo"},(0,i.createElement)("path",{d:"m23.759 0h208.38c13.187 0 23.863 10.675 23.863 23.863v79.542c0 13.187-10.675 23.863-23.863 23.863h-74.727l10.257 25.118-45.109-25.118h-98.695c-13.187 0-23.863-10.675-23.863-23.863v-79.542c-0.10466-13.083 10.571-23.863 23.758-23.863z",fill:"#7f54b3"}),(0,i.createElement)("path",{d:"m14.578 21.75c1.4569-1.9772 3.6423-3.0179 6.5561-3.226 5.3073-0.41626 8.3252 2.0813 9.0537 7.4927 3.226 21.75 6.7642 40.169 10.511 55.259l22.79-43.395c2.0813-3.9545 4.6829-6.0358 7.8049-6.2439 4.5789-0.3122 7.3886 2.6016 8.5333 8.7415 2.6016 13.841 5.9317 25.6 9.8862 35.59 2.7057-26.433 7.2846-45.476 13.737-57.236 1.561-2.9138 3.8504-4.3707 6.8683-4.5789 2.3935-0.20813 4.5789 0.52033 6.5561 2.0813 1.9772 1.561 3.0179 3.5382 3.226 5.9317 0.10406 1.8732-0.20813 3.4341-1.0407 4.9951-4.0585 7.4927-7.3886 20.085-10.094 37.567-2.6016 16.963-3.5382 30.179-2.9138 39.649 0.20813 2.6016-0.20813 4.8911-1.2488 6.8683-1.2488 2.2894-3.122 3.5382-5.5154 3.7463-2.7057 0.20813-5.5154-1.0406-8.2211-3.8504-9.678-9.8862-17.379-24.663-22.998-44.332-6.7642 13.32-11.759 23.311-14.985 29.971-6.1398 11.759-11.343 17.795-15.714 18.107-2.8098 0.20813-5.2033-2.1854-7.2846-7.1805-5.3073-13.633-11.031-39.961-17.171-78.985-0.41626-2.7057 0.20813-5.0992 1.665-6.9724zm223.64 16.338c-3.7463-6.5561-9.2618-10.511-16.65-12.072-1.9772-0.41626-3.8504-0.62439-5.6195-0.62439-9.9902 0-18.107 5.2033-24.455 15.61-5.4114 8.8455-8.1171 18.628-8.1171 29.346 0 8.013 1.665 14.881 4.9951 20.605 3.7463 6.5561 9.2618 10.511 16.65 12.072 1.9772 0.41626 3.8504 0.62439 5.6195 0.62439 10.094 0 18.211-5.2033 24.455-15.61 5.4114-8.9496 8.1171-18.732 8.1171-29.45 0.10406-8.1171-1.665-14.881-4.9951-20.501zm-13.112 28.826c-1.4569 6.8683-4.0585 11.967-7.9089 15.402-3.0179 2.7057-5.8276 3.8504-8.4293 3.3301-2.4976-0.52033-4.5789-2.7057-6.1398-6.7642-1.2488-3.226-1.8732-6.452-1.8732-9.4699 0-2.6016 0.20813-5.2033 0.72846-7.5967 0.93659-4.2667 2.7057-8.4293 5.5154-12.384 3.4341-5.0992 7.0764-7.1805 10.823-6.452 2.4976 0.52033 4.5789 2.7057 6.1398 6.7642 1.2488 3.226 1.8732 6.452 1.8732 9.4699 0 2.7057-0.20813 5.3073-0.72846 7.7008zm-52.033-28.826c-3.7463-6.5561-9.3659-10.511-16.65-12.072-1.9772-0.41626-3.8504-0.62439-5.6195-0.62439-9.9902 0-18.107 5.2033-24.455 15.61-5.4114 8.8455-8.1171 18.628-8.1171 29.346 0 8.013 1.665 14.881 4.9951 20.605 3.7463 6.5561 9.2618 10.511 16.65 12.072 1.9772 0.41626 3.8504 0.62439 5.6195 0.62439 10.094 0 18.211-5.2033 24.455-15.61 5.4114-8.9496 8.1171-18.732 8.1171-29.45 0-8.1171-1.665-14.881-4.9951-20.501zm-13.216 28.826c-1.4569 6.8683-4.0585 11.967-7.9089 15.402-3.0179 2.7057-5.8276 3.8504-8.4293 3.3301-2.4976-0.52033-4.5789-2.7057-6.1398-6.7642-1.2488-3.226-1.8732-6.452-1.8732-9.4699 0-2.6016 0.20813-5.2033 0.72846-7.5967 0.93658-4.2667 2.7057-8.4293 5.5154-12.384 3.4341-5.0992 7.0764-7.1805 10.823-6.452 2.4976 0.52033 4.5789 2.7057 6.1398 6.7642 1.2488 3.226 1.8732 6.452 1.8732 9.4699 0.10406 2.7057-0.20813 5.3073-0.72846 7.7008z",fill:"#fff"}))},44140:(e,t,o)=>{"use strict";o.r(t),o.d(t,{CoreProfilerController:()=>rt,coreProfilerStateMachineDefinition:()=>nt,default:()=>at,getJetpackIsConnected:()=>et,preFetchActions:()=>tt});var i=o(69307),n=o(15359),r=o(23743),a=o(71260),s=o(77529),l=o(4528),c=o(9818),u=o(10431),g=o(67221),M=o(73516),m=o(74617),p=o(17844),N=o.n(p),d=o(28316),I=o(92780),y=o(65736),j=o(55609),T=o(76357),L=o(86020),D=o(7829);const w=({className:e,title:t,subTitle:o})=>(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-heading",e)},(0,i.createElement)("h1",{className:"woocommerce-profiler-heading__title"},t),o&&(0,i.createElement)("h2",{className:"woocommerce-profiler-heading__subtitle"},o));var _=o(99983);const E=({className:e="",percent:t=0,color:o="#674399",bgcolor:n="var(--wp-admin-theme-color)"})=>{const r={backgroundColor:n},a={backgroundColor:o,width:`${t}%`,display:0===t?"none":"inherit"};return(0,i.createElement)("div",{className:`woocommerce-profiler-progress-bar ${e}`},(0,i.createElement)("div",{className:"woocommerce-profiler-progress-bar__container",style:r},(0,i.createElement)("div",{className:"woocommerce-profiler-progress-bar__filler",style:a})))},S=({percentage:e=0,onSkip:t,skipText:o=(0,y.__)("Skip this step","woocommerce"),showProgress:n=!0,showLogo:r=!0,classNames:a={},progressBarColor:s="var(--wp-admin-theme-color)"})=>(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-navigation-container",a)},n&&(0,i.createElement)(E,{className:"progress-bar",percent:e,color:s,bgcolor:"transparent"}),(0,i.createElement)("div",{className:"woocommerce-profiler-navigation"},(0,i.createElement)("div",{className:"woocommerce-profiler-navigation-col-left"},r&&(0,i.createElement)("span",{className:"woologo"},(0,i.createElement)(_.Z,null))),(0,i.createElement)("div",{className:"woocommerce-profiler-navigation-col-right"},"function"==typeof t&&(0,i.createElement)(j.Button,{onClick:t,className:(0,D.Z)("woocommerce-profiler-navigation-skip-link",a.mobile?"mobile":""),isLink:!0},o))));var O=o(23374),A=o(73224);const k=({className:e,selected:t,title:o,name:n,value:r,onChange:a,subOptionsComponent:s=null})=>{const l=()=>{a(r)},c="woocommerce-"+r.replace(/_/g,"-");return(0,i.createElement)("div",{role:"radio",className:(0,D.Z)("woocommerce-profiler-choice-container",e),onClick:l,onKeyDown:e=>{"Enter"===e.key&&l()},"data-selected":t||null,tabIndex:0},(0,i.createElement)("div",{className:"woocommerce-profiler-choice"},(0,i.createElement)("input",{className:"woocommerce-profiler-choice-input",id:c,name:n,type:"radio",value:r,checked:!!t,onChange:l,"data-selected":t||null,tabIndex:-1}),(0,i.createElement)("label",{htmlFor:c,className:"choice__title"},o)),t&&s&&(0,i.createElement)("div",{className:"woocommerce-profiler-choice-sub-options"},s))},z=({options:e,onSelect:t,selectedOptions:o=[],placeholder:n=(0,y.__)("Select platforms","woocommerce"),onOpenClose:r=(()=>{})})=>(0,i.createElement)(L.__experimentalSelectControl,{label:"",multiple:!0,__experimentalOpenMenuOnFocus:!0,readOnlyWhenClosed:!1,items:e,getFilteredItems:e=>e,selected:o,inputProps:{"aria-readonly":!0,"aria-label":(0,y.__)("Use up and down arrow keys to navigate","woocommerce")},onKeyDown:e=>{if(e.key.length<=1)return e.preventDefault(),!1},placeholder:o.length?"":n,stateReducer:(e,t)=>{const{changes:o,type:i}=t;switch(i){case L.selectControlStateChangeTypes.ControlledPropUpdatedSelectedItem:return{...o,inputValue:e.inputValue};case L.selectControlStateChangeTypes.ItemClick:return{...o,isOpen:!0,inputValue:e.inputValue,highlightedIndex:e.highlightedIndex};case L.selectControlStateChangeTypes.InputBlur:return e.isOpen&&t.selectItem?{...o,isOpen:!0}:o;default:return o}},onSelect:e=>{if(!e)return;const i=o.find((t=>t.value===e.value))?o.filter((t=>t.value!==e.value)):[...o,e];t(i)},onRemove:e=>t(o.filter((t=>t!==e)))},(({selectedOptions:e,onOpenClose:t})=>({items:o,highlightedIndex:n,isOpen:r,getItemProps:a,getMenuProps:s})=>((0,i.useEffect)((()=>{t(r)}),[r]),(0,i.createElement)(L.__experimentalSelectControlMenu,{isOpen:r,getMenuProps:s,scrollIntoViewOnOpen:!0},o.map(((t,o)=>{const r=e.includes(t);return(0,i.createElement)(L.__experimentalSelectControlMenuItem,{key:`${t.value}`,index:o,item:t,getItemProps:a,isActive:n===o,activeStyle:{backgroundColor:"#f6f7f7"}},(0,i.createElement)(j.CheckboxControl,{className:(0,D.Z)("core-profiler__checkbox",{"is-selected":r}),onChange:()=>{},checked:r,label:t.label}))})))))({selectedOptions:o,onOpenClose:r})),C=[{title:(0,y.__)("I’m just starting my business","woocommerce"),value:"im_just_starting_my_business"},{title:(0,y.__)("I’m already selling","woocommerce"),value:"im_already_selling"},{title:(0,y.__)("I’m setting up a store for a client","woocommerce"),value:"im_setting_up_a_store_for_a_client"}],f=[{label:(0,y.__)("Yes, I’m selling online","woocommerce"),value:"yes_im_selling_online",key:"yes_im_selling_online"},{label:(0,y.__)("No, I’m selling offline","woocommerce"),value:"no_im_selling_offline",key:"no_im_selling_offline"},{label:(0,y.__)("I’m selling both online and offline","woocommerce"),value:"im_selling_both_online_and_offline",key:"im_selling_both_online_and_offline"}],x=[{label:(0,y.__)("Amazon","woocommerce"),value:"amazon"},{label:(0,y.__)("Adobe Commerce","woocommerce"),value:"adobe_commerce"},{label:(0,y.__)("Big Cartel","woocommerce"),value:"big_cartel"},{label:(0,y.__)("Big Commerce","woocommerce"),value:"big_commerce"},{label:(0,y.__)("Ebay","woocommerce"),value:"ebay"},{label:(0,y.__)("Ecwid","woocommerce"),value:"ecwid"},{label:(0,y.__)("Etsy","woocommerce"),value:"etsy"},{label:(0,y.__)("Facebook Marketplace","woocommerce"),value:"facebook_marketplace"},{label:(0,y.__)("Google Shopping","woocommerce"),value:"google_shopping"},{label:(0,y.__)("Pinterest","woocommerce"),value:"pinterest"},{label:(0,y.__)("Shopify","woocommerce"),value:"shopify"},{label:(0,y.__)("Square","woocommerce"),value:"square"},{label:(0,y.__)("Squarespace","woocommerce"),value:"squarespace"},{label:(0,y.__)("Wix","woocommerce"),value:"wix"},{label:(0,y.__)("WordPress","woocommerce"),value:"wordpress"}];var b=o(61250),h=o(99196),v=o(70444);const P=(0,h.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,h.createElement)(v.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"})),U=(0,h.createElement)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,h.createElement)(v.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})),Q=(0,i.forwardRef)((function({icon:e,size:t=24,...o},n){return(0,i.cloneElement)(e,{width:t,height:t,...o,ref:n})}));var Y=o(87608),G=o.n(Y),Z=o(23012);const R=o.p+"47c7fb356fcb2d963681.svg",B=h.memo(h.forwardRef(((e,t)=>{const{size:o=24,icon:i,className:n,title:r,...a}=e,s=o%18==0,l=`gridicons-${i}`,c=G()("gridicon",l,n,{"needs-offset":s&&Z.iconsThatNeedOffset.includes(l),"needs-offset-x":s&&Z.iconsThatNeedOffsetX.includes(l),"needs-offset-y":s&&Z.iconsThatNeedOffsetY.includes(l)});return(0,b.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:c,height:o,width:o,ref:t,...a,children:[r&&(0,b.jsx)("title",{children:r}),(0,b.jsx)("use",{xlinkHref:`${R}#${l}`})]})})));B.displayName="Gridicon";const W=B,J=({isError:e=!1,isWarning:t,isHidden:o,isMuted:i,className:n,ariaLabel:r="",text:a,icon:s,id:l,children:c})=>{const u=G()(n,{"form-input-validation":!0,"is-warning":t,"is-error":e,"is-hidden":o,"is-muted":i}),g=e||t?P:U;return(0,b.jsx)("div",{"aria-label":r,className:u,role:"alert",children:(0,b.jsxs)("span",{id:l,children:[s?(0,b.jsx)(W,{size:20,icon:s}):(0,b.jsx)(Q,{size:20,icon:g}),a,c]})})};var F=o(66811),V=o(22629),H=o(1850);const X=[void 0,"woocommerce","Site Title",""],q=[{label:(0,y.__)("Clothing and accessories","woocommerce"),key:"clothing_and_accessories"},{label:(0,y.__)("Food and drink","woocommerce"),key:"food_and_drink"},{label:(0,y.__)("Electronics and computers","woocommerce"),key:"electronics_and_computers"},{label:(0,y.__)("Health and beauty","woocommerce"),key:"health_and_beauty"},{label:(0,y.__)("Education and learning","woocommerce"),key:"education_and_learning"},{label:(0,y.__)("Home, furniture and garden","woocommerce"),key:"home_furniture_and_garden"},{label:(0,y.__)("Arts and crafts","woocommerce"),key:"arts_and_crafts"},{label:(0,y.__)("Sports and recreation","woocommerce"),key:"sports_and_recreation"},{label:(0,y.__)("Other","woocommerce"),key:"other"}],K={im_just_starting_my_business:(0,y.__)("What type of products or services do you plan to sell?","woocommerce"),im_already_selling:(0,y.__)("Which industry is your business in?","woocommerce"),im_setting_up_a_store_for_a_client:(0,y.__)("Which industry is your client’s business in?","woocommerce")};var $=o(86989),ee=o.n($);const te=o.p+"bfec8d1574ef61285fc9.svg",oe={title:(0,y.__)("Turning on the lights","woocommerce"),image:(0,i.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTYiIGhlaWdodD0iMTQwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTAgMGgyMTZ2MTQwSDB6Ii8+PHBhdGggZmlsbD0iI0JFQTBGMiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMTc3LjA2NCA1MC4wMDhjLTIxLjA4MiAwLTM0LjczNSAxMS4wNjctMzQuNzM1IDI4LjA3NyAwIDIxLjIwMyAyMi40NzUgMjQuMDggMjIuNDc1IDM1LjEyOWgyNC41MmMwLTExLjA1MyAyMi40NzUtMTMuOTI2IDIyLjQ3NS0zNS4xMyAwLTE3LjAxLTEzLjY1Ni0yOC4wNzYtMzQuNzM1LTI4LjA3NlpNMzkuMDggNC4yMjdDMTQuMjA2IDQuMjI3LjIzNSAyMy40MjQgNS4xOTUgMzcuODY5YzUuNDEgMTUuNzc4IDIyLjEyMiAyMi45NzQgMjIuMTIyIDQzLjcxNWgyMy41MzJjMC0yMC43NDEgMTYuNzEtMjcuOTM3IDIyLjEyMi00My43MTVDNzcuOTI4IDIzLjQyNCA2My45NTYgNC4yMjcgMzkuMDggNC4yMjdaIi8+PHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNNTAuMDEzIDQ4LjI3M2MtNS43NTIgMC05LjEzNCAzLjc5NC05LjEzNCA5LjY2di43Mj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SIjMjcxQjNEIiBkPSJNNTcuMTY1IDM1LjEzOGMzLjA0OS05LjU1NSA0LjE2Mi0yMS44NjggMi4xOTgtMzAuOTE1Ii8+PHBhdGggZmlsbD0iIzI3MUIzRCIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMjEuOTQ3IDgxLjU4NnYzLjVoNS4zNjd2MS4zMDJjLjA4IDUuNzM2IDUuNDQgMTAuODgxIDExLjc2NiAxMC44ODFzMTEuNjc1LTUuMTM0IDExLjc2Ni0xMC44Njd2LTEuMzE2aDUuMzY3di0zLjVIMjEuOTQ3Wk0xOTMuODQ0IDExNi43MTV2LTMuNWgtMzMuNTYzdjMuNWg0LjUydjEuNjFoLTQuNTJ2My41aDQuNTJ2MS45OTVjMCA1LjU4NiA0Ljc1IDEyLjAwOCAxMi4yNjMgMTIuMDA4czEyLjI2My02LjQyNiAxMi4yNjMtMTIuMDA4di0xLjk5NWg0LjUydi0zLjVoLTQuNTJ2LTEuNjFoNC41MTdaIi8+PC9nPjwvc3ZnPg==",alt:"loader-lightbulb"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("The Woo team is made up of over 350 talented individuals, distributed across 30+ countries.","woocommerce")}]},ie={title:(0,y.__)("Extending your store’s capabilities","woocommerce"),image:(0,i.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTYiIGhlaWdodD0iMTQwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTAgMGgyMTZ2MTQwSDB6Ii8+PHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMjE1Ljk2OCAxMzUuNDgxaC00LjJ2NC4yMDFoNC4yeiIvPjxwYXRoIGZpbGw9IiNCRUEwR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LjY1OXYzLjQxek00LjIwMSA5Mi4yNzh2My40MWw1Ljk0NSA0LjA5NmEzLjI0MSAzLjI0MSAwIDAgMCAuNzktMi4xMjV2LS43MzlsLTYuNzM1LTQuNjQyWiIvPjwvZz48L3N2Zz4=",alt:"loader-lightbulb"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("Did you know that Woo powers almost 4 million stores worldwide? You’re in good company.","woocommerce")}]},ne={title:(0,y.__)("Woo! Let’s get your features ready","woocommerce"),image:(0,i.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTYiIGhlaWdodD0iMTQwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTAgMGgyMTZ2MTQwSDB6Ii8+PHBhdGggZmlsbD0iI0JFQTBGMiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNNjQuOTIgOTkuMTI3SDQuMjc3djM2Ljc3OUg2NC45MnoiLz48cGF0aCBmaWxsPSIjMjcxQjNEIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik00MS45NzggMTA1LjI1NmgtMzcuN3YzLjUwM2gzNy43ek02NC45MTkgMTA1LjI1NmgtMTguNzR2My41MDNoMTguNzR6TTY0LjkyIDEyNi4yNzFINTAuMTQ1djMuNTAzaDE0Ljc3M3pNMzAuNzk3IDExNS43NjRINC4yNzh2My41MDNoMjYuNTE5ek02NC45MiAxMTUuNzY0SDM0LjkzN3YzLjUwM0g2NC45MnpNNDUuOTQ1IDEyNi4yNzFINC4yNzh2My41MDNoNDEuNjY3eiIvPjxwYXRoIGZpbGw9IiNCRUEwRjIiIGZpbGwtcnVsZT0ibm9uemVybyIgZD0iTTE3Ni44NzIgMTM1Ljk0N2gzNS4wMDd2LTE3LjU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jU5MiAxLjM4Ny0xMi4zMTktOC43Ni04Ljc2NC0xMi4zMTEgMS4zODgtNi41OTMgMTAuNDk0ek0xNjcuNTU2IDI0Ljk5Mmw4LjM4OCAyLjUwMXYtOS41NjJsMjEuOTI5LTEzLjcyN2gtMTIuODE2bC0xNy41MDEgMTAuOTF6Ii8+PHBhdGggZmlsbD0iI0JFQTBGMiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJtMTUzLjIzNCAyMC43MjYgNy44NDUgMi4zMzZ2LTkuMTk4bDE1LjY0NS05LjY2aC0xMS43NTJsLTExLjczOCA3LjMyeiIvPjxwYXRoIHN0cm9rZT0iIzI3MUIzRCIgc3Ryb2tlLXdpZHRoPSIuOTkiIGQ9Ik0xNjQuOTk3IDY1LjE4NSAxNTMuMzkxIDc2LjgiLz48cGF0aCBmaWxsPSIjMjcxQjNEIiBkPSJNMTI0LjE5MSA5Mi4wOTdjMi4wOTQtMS4yNzkgNC41ODMtMy40NCA0LjU4My03LjAwNiAwLTQuNzE4LTMuNi03LjY2NC03Ljc5LTcuNjY0LTQuMTkgMC03Ljc5IDIuOTQ2LTcuNzkgNy42NjQgMCAzLjU3IDIuNDkgNS43MyA0LjU4MyA3LjAwNmwtNS42MjggMTMuMDJoMTcuNjc1bC01LjYyOS0xMy4wMmgtLjAwNFoiLz48L2c+PC9zdmc+",alt:"loader-developng"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("Did you know that Woo was founded by two South Africans and a Norwegian? Here are three alternative ways to say “store” in those countries – Winkel, ivenkile, and butikk.","woocommerce")}]},re={title:(0,y.__)("Opening the doors","woocommerce"),image:(0,i.createElement)("img",{src:te,alt:"loader-opening-the-doors"}),paragraphs:[{label:(0,y.__)("#FunWooFact: ","woocommerce"),text:(0,y.__)("Our favorite color is purple ","woocommerce"),element:(0,i.createElement)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1Ljk0ODkgNS4yNTg4MkMxNS45NDg5IDIuODM2NiAxMy45ODUzIDAuODczMDQ3IDExLjU2MzYgMC44NzMwNDdDMTAuMDkzMyAwLjg3MzA0NyA4Ljc5NjAxIDEuNTk4ODIgOC4wMDAwMSAyLjcwODE2QzcuMjA0MDEgMS41OTg4MiA1LjkwNjY3IDAuODczMDQ3IDQuNDM2ODkgMC44NzMwNDdDMi4wMTQ2NyAwLjg3MzA0NyAwLjA1MTExNjkgMi44MzYxNiAwLjA1MTExNjkgNS4yNTg4MkMwLjA1MTExNjkgNS42MDE5NCAwLjA5NDY3MjUgNS45MzQzOCAwLjE2OTMzOSA2LjI1NDgyQzAuNzc4MjI4IDEwLjAzODQgNC45ODQ4OSAxNC4wMjk5IDguMDAwMDEgMTUuMTI1OUMxMS4wMTQ3IDE0LjAyOTkgMTUuMjIxOCAxMC4wMzg0IDE1LjgyOTggNi4yNTUyN0MxNS45MDUzIDUuOTM0ODIgMTUuOTQ4OSA1LjYwMjM4IDE1Ljk0ODkgNS4yNTg4MloiIGZpbGw9IiNBQThFRDYiLz4KPC9zdmc+Cg==",alt:"loader-hearticon",className:"loader-hearticon"})}]},ae=({context:e})=>{var t,o,n;const r=(e=>{switch(e){case"plugins":return[ne,ie,oe];case"skippedGuidedSetup":return[oe,re];default:return[oe]}})(null!==(t=e.loader.useStages)&&void 0!==t?t:"default")[null!==(o=e.loader.stageIndex)&&void 0!==o?o:0];return(0,i.createElement)(F.Loader,{className:e.loader.className},(0,i.createElement)(F.Loader.Layout,null,(0,i.createElement)(F.Loader.Illustration,null,r.image),(0,i.createElement)(F.Loader.Title,null,r.title),(0,i.createElement)(F.Loader.ProgressBar,{progress:null!==(n=e.loader?.progress)&&void 0!==n?n:0}),(0,i.createElement)(F.Loader.Sequence,{interval:3e3},r.paragraphs.map(((e,t)=>(0,i.createElement)(F.Loader.Subtext,{key:t},(0,i.createElement)("b",null,e?.label),e?.text,e?.element))))))};var se=o(346);const le=({installed:e=!1,icon:t,title:o,onChange:n=(()=>{}),checked:r=!1,description:a,learnMoreLink:s})=>(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-plugins-plugin-card",{"is-installed":e}),onClick:n},(0,i.createElement)("div",{className:"woocommerce-profiler-plugin-card-top"},!e&&(0,i.createElement)(j.CheckboxControl,{className:"core-profiler__checkbox",checked:r,onChange:n,onClick:e=>e.stopPropagation()}),t,(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-plugins-plugin-card-text-header",{installed:e})},(0,i.createElement)("h3",null,o),e&&(0,i.createElement)("span",null,(0,y.__)("Installed","woocommerce")))),(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-plugins-plugin-card-text",{"smaller-margin-left":e})},(0,i.createElement)("p",{dangerouslySetInnerHTML:(0,se.ZP)(a)}),s));var ce=o(17062);const ue=((0,ce.O3)("locale")?.siteLocale||"en_US").replace("_","-"),ge=e=>new Intl.ListFormat(ue,{style:"long",type:"conjunction"}).formatToParts(e);var Me=o(53736);const me=(0,s.C8)({id:"plugin-installer",initial:"installing",types:{},context:({input:e})=>({selectedPlugins:e?.selectedPlugins||[],pluginsAvailable:e?.pluginsAvailable||[],pluginsInstallationQueue:[],installedPlugins:[],startTime:0,installationDuration:0,errors:[]}),states:{installing:{initial:"installer",entry:["assignPluginsInstallationQueue","assignStartTime"],after:{INSTALLATION_TIMEOUT:"timedOut"},states:{installer:{initial:"installing",states:{installing:{invoke:{systemId:"installPlugin",src:"installPlugin",input:({context:e})=>e,onDone:{actions:["assignInstallationSuccessDetails"],target:"removeFromQueue"},onError:{actions:"assignInstallationErrorDetails",target:"removeFromQueue"}}},removeFromQueue:{entry:["removePluginFromQueue","updateParentWithPluginProgress"],always:[{target:"installing",guard:"hasPluginsToInstall"},{target:"#installation-finished"}]}}}}},finished:{id:"installation-finished",entry:["assignInstallationDuration"],always:[{target:"reportErrors",guard:"hasErrors"},{target:"reportSuccess"}]},timedOut:{entry:["assignInstallationDuration"],invoke:{systemId:"queueRemainingPluginsAsync",src:"queueRemainingPluginsAsync",input:({context:e})=>({pluginsInstallationQueue:e.pluginsInstallationQueue}),onDone:{target:"reportSuccess"}}},reportErrors:{entry:"updateParentWithInstallationErrors"},reportSuccess:{entry:"updateParentWithInstallationSuccess"}}},{delays:{INSTALLATION_TIMEOUT:3e4},actions:{assignPluginsInstallationQueue:(0,r.a)({pluginsInstallationQueue:({context:e})=>e.selectedPlugins.slice().sort(((t,o)=>{var i,n;const r=e.pluginsAvailable.find((e=>e.key===t)),a=e.pluginsAvailable.find((e=>e.key===o));return(null!==(i=r?.install_priority)&&void 0!==i?i:99)-(null!==(n=a?.install_priority)&&void 0!==n?n:99)}))}),assignStartTime:(0,r.a)({startTime:()=>window.performance.now()}),assignInstallationDuration:(0,r.a)({installationDuration:({context:e})=>window.performance.now()-e.startTime}),assignInstallationSuccessDetails:(0,r.a)({installedPlugins:({context:e,event:t})=>{const o=e.pluginsInstallationQueue[0];return[...e.installedPlugins,{plugin:o,installTime:t.output.data.install_time[o]||0}]}}),assignInstallationErrorDetails:(0,r.a)({errors:({context:e,event:t})=>[...e.errors,{plugin:e.pluginsInstallationQueue[0],error:t.error.message}]}),removePluginFromQueue:(0,r.a)({pluginsInstallationQueue:({context:e})=>e.pluginsInstallationQueue.slice(1)}),updateParentWithPluginProgress:(0,r.s)((({context:e})=>{const t=e.selectedPlugins.length-e.pluginsInstallationQueue.length,o=e.selectedPlugins.length,i=Math.round(t/o*100),n=window.performance.now()-e.startTime,r=Math.round(n/3e4*100);return{type:"PLUGIN_INSTALLED_AND_ACTIVATED",payload:{progressPercentage:Math.max(i,r)}}})),updateParentWithInstallationErrors:(0,r.s)((({context:e})=>({type:"PLUGINS_INSTALLATION_COMPLETED_WITH_ERRORS",payload:{errors:e.errors}}))),updateParentWithInstallationSuccess:(0,r.s)((({context:e})=>({type:"PLUGINS_INSTALLATION_COMPLETED",payload:{installationCompletedResult:{installedPlugins:e.installedPlugins,totalTime:e.installationDuration}}})))},guards:{hasErrors:({context:e})=>e.errors.length>0,hasPluginsToInstall:({context:e})=>e.pluginsInstallationQueue.length>0},actors:{installPlugin:(0,n.p4)((async({input:{pluginsInstallationQueue:e}})=>(0,c.dispatch)(g.PLUGINS_STORE_NAME).installAndActivatePlugins([e[0]]))),queueRemainingPluginsAsync:(0,n.p4)((async({input:{pluginsInstallationQueue:e}})=>(0,c.dispatch)(g.ONBOARDING_STORE_NAME).installAndActivatePluginsAsync(e)))}}),pe=()=>(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"woocommerce-profile-wizard__spinner","data-testid":"core-profiler-loading-screen"},(0,i.createElement)(j.Spinner,null)));var Ne=o(14599);const de={recordTracksStepViewed:(e,t)=>{(0,Ne.recordEvent)("coreprofiler_step_view",{step:t.step,wc_version:(0,m.getSetting)("wcVersion")})},recordTracksStepSkipped:(e,t)=>{(0,Ne.recordEvent)(`coreprofiler_${t.step}_skip`)},recordTracksIntroCompleted:()=>{(0,Ne.recordEvent)("coreprofiler_step_complete",{step:"intro_opt_in",wc_version:(0,m.getSetting)("wcVersion")})},recordTracksUserProfileCompleted:({event:e})=>{(0,Ne.recordEvent)("coreprofiler_step_complete",{step:"user_profile",wc_version:(0,m.getSetting)("wcVersion")}),(0,Ne.recordEvent)("coreprofiler_user_profile",{business_choice:e.payload.userProfile.businessChoice,selling_online_answer:e.payload.userProfile.sellingOnlineAnswer,selling_platforms:e.payload.userProfile.sellingPlatforms?e.payload.userProfile.sellingPlatforms.join():null})},recordTracksSkipBusinessLocationCompleted:()=>{(0,Ne.recordEvent)("coreprofiler_step_complete",{step:"skip_business_location",wc_version:(0,m.getSetting)("wcVersion")})},recordTracksBusinessInfoCompleted:({context:e,event:t})=>{(0,Ne.recordEvent)("coreprofiler_step_complete",{step:"business_info",wc_version:(0,m.getSetting)("wcVersion")}),(0,Ne.recordEvent)("coreprofiler_business_info",{business_name_filled:-1===X.findIndex((e=>e===t.payload.storeName)),industry:t.payload.industry,store_location_previously_set:e.onboardingProfile.is_store_country_set||!1,geolocation_success:void 0!==e.geolocatedLocation,geolocation_overruled:t.payload.geolocationOverruled})},recordTracksPluginsLearnMoreLinkClicked:({event:e},t)=>{(0,Ne.recordEvent)(`coreprofiler_${t.step}_learn_more_link_clicked`,{plugin:e.payload.plugin,link:e.payload.learnMoreLink})},recordFailedPluginInstallations:({event:e})=>{const t=e.payload.errors.map((e=>(0,Me.br)(e.plugin)));(0,Ne.recordEvent)("coreprofiler_store_extensions_installed_and_activated",{success:!1,failed_extensions:t}),e.payload.errors.forEach((e=>{(0,Ne.recordEvent)("coreprofiler_store_extension_installed_and_activated",{success:!1,extension:(0,Me.br)(e.plugin),error_message:e.error})}))},recordSuccessfulPluginInstallation:({event:e})=>{const t=e.payload.installationCompletedResult,o={success:!0,installed_extensions:t.installedPlugins.map((e=>(0,Me.br)(e.plugin))),total_time:(0,Me.Jm)(t.totalTime)};for(const e of t.installedPlugins){const t=(0,Me.br)(e.plugin),i=(0,Me.Jm)(e.installTime);o["install_time_"+t]=i,(0,Ne.recordEvent)("coreprofiler_store_extension_installed_and_activated",{success:!0,extension:t,install_time:i})}(0,Ne.recordEvent)("coreprofiler_store_extensions_installed_and_activated",o)},recordTracksPluginsInstallationRequest:({event:e})=>{(0,Ne.recordEvent)("coreprofiler_store_extensions_continue",{shown:e.payload.pluginsShown||[],selected:e.payload.pluginsSelected||[],unselected:e.payload.pluginsUnselected||[]})},recordTracksIsEmailChanged:({context:e,event:t})=>{let o,i;e.onboardingProfile.store_email?(o="onboarding_profile_store_email",i=t.payload.storeEmailAddress!==e.onboardingProfile.store_email):e.currentUserEmail?(o="current_user_email",i=t.payload.storeEmailAddress!==e.currentUserEmail):(o="was_empty",i=t.payload.storeEmailAddress?.length>0),(0,Ne.recordEvent)("coreprofiler_email_marketing",{opt_in:t.payload.isOptInMarketing,email_field_prefilled_source:o,email_field_modified:i})}};var Ie=o(24082),ye=o(69959),je=o(91319);const Te=(0,n.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_allow_tracking"))),Le=(0,r.a)({optInDataSharing:({event:e})=>"no"!==e.output}),De=(0,n.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("blogname"))),we=(0,r.a)({businessInfo:({context:e,event:t})=>({...e.businessInfo,storeName:X.includes(t.output)?void 0:t.output})}),_e=(0,n.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_default_country"))),Ee=(0,r.a)({businessInfo:({context:e,event:t})=>({...e.businessInfo,location:t.output})}),Se=(0,n.p4)((async({input:e})=>Promise.all([e.map((e=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption(e)))]))),Oe=(0,n.p4)((async()=>(0,c.resolveSelect)(g.COUNTRIES_STORE_NAME).getCountries())),Ae=(0,r.a)({countries:({event:e})=>e.output.reduce(((e,t)=>{if(!t.states.length)return e.push({key:t.code,label:(0,V.decodeEntities)(t.name)}),e;const o=t.states.map((e=>({key:t.code+":"+e.code,label:(0,V.decodeEntities)(t.name)+" — "+(0,V.decodeEntities)(e.name)})));return e.push(...o),e}),[])}),ke=(0,n.p4)((async()=>(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_onboarding_profile"))),ze=(0,r.a)({userProfile:({event:e})=>{if(!e.output)return{};const{business_choice:t,selling_online_answer:o,selling_platforms:i,...n}=e.output;return{...n,businessChoice:t,sellingOnlineAnswer:o,sellingPlatforms:i}}}),Ce=(0,n.p4)((async()=>{const e=await(0,c.resolveSelect)(g.USER_STORE_NAME).getCurrentUser();return e?.email})),fe=(0,r.a)({currentUserEmail:({event:e})=>{if(e.output&&e.output.length>0&&"wordpress@example.com"!==e.output)return e.output}}),xe=(0,r.a)({onboardingProfile:({event:e,context:t})=>e.output&&"object"==typeof e.output?e.output:t.onboardingProfile}),be=(0,n.p4)((async({input:e})=>{if(e.optInDataSharing)return(0,c.resolveSelect)(g.COUNTRIES_STORE_NAME).geolocate()})),he=(0,r.a)({geolocatedLocation:({event:e})=>e.output}),ve=(0,a.O)({type:"REDIRECT_TO_WOO_HOME"}),Pe=(0,n.p4)((async()=>{window.wcAdminFeatures["launch-your-store"]&&await(0,c.dispatch)(g.ONBOARDING_STORE_NAME).coreProfilerCompleted(),window.location.href=(0,u.getNewPath)({},"/",{})})),Ue=(0,n.p4)((async({input:e})=>{await new Promise((t=>{setTimeout(t,500),e.optInDataSharing&&"function"==typeof window.wcTracks.enable?window.wcTracks.enable((()=>{(0,M.initializeExPlat)(),(0,I.k)(),t()})):(e.optInDataSharing||(window.wcTracks.isEnabled=!1),t())}));const t=e.optInDataSharing?"yes":"no";(0,c.dispatch)(g.OPTIONS_STORE_NAME).updateOptions({woocommerce_allow_tracking:t})})),Qe=(0,n.p4)((async({input:e})=>{const{businessChoice:t,sellingOnlineAnswer:o,sellingPlatforms:i}=e.userProfile;return(0,c.dispatch)(g.OPTIONS_STORE_NAME).updateOptions({woocommerce_onboarding_profile:{...e.onboardingProfile,business_choice:t,selling_online_answer:o,selling_platforms:i}})})),Ye=async e=>{const{general:t={}}=await(0,c.resolveSelect)(g.SETTINGS_STORE_NAME).getSettings("general"),o=(0,Ie.so)(e),{currencySymbols:i={},localeInfo:n={}}=(0,ce.O3)("onboarding",{}),r=N()().getDataForCountry(o,n,i);if(0!==Object.keys(r).length)return(0,c.dispatch)(g.SETTINGS_STORE_NAME).updateAndPersistSettingsForGroup("general",{general:{...t,woocommerce_currency:r.code,woocommerce_currency_pos:r.symbolPosition,woocommerce_price_thousand_sep:r.thousandSeparator,woocommerce_price_decimal_sep:r.decimalSeparator,woocommerce_price_num_decimals:r.precision}})},Ge=(0,r.a)({businessInfo:({event:e,context:t})=>({...t.businessInfo,location:e.payload.storeLocation})}),Ze=(0,r.a)({userProfile:({event:e})=>e.payload.userProfile}),Re=(0,n.p4)((async({input:e})=>{const t=await(0,c.resolveSelect)(g.OPTIONS_STORE_NAME).getOption("woocommerce_onboarding_profile");return await Ye(e.payload.storeLocation),(0,c.dispatch)(g.OPTIONS_STORE_NAME).updateOptions({blogname:e.payload.storeName,woocommerce_default_country:e.payload.storeLocation,woocommerce_onboarding_profile:{...t,is_store_country_set:!0,industry:[e.payload.industry],is_agree_marketing:e.payload.isOptInMarketing,store_email:e.payload.storeEmailAddress.length>0?e.payload.storeEmailAddress:null}})})),Be=(0,r.a)({optInDataSharing:({event:e})=>e.payload.optInDataSharing}),We=(0,r.a)({isJetpackConnectedRef:({spawn:e})=>e((0,n.p4)((async()=>(0,c.resolveSelect)(g.PLUGINS_STORE_NAME).isJetpackConnected())))}),Je=(0,r.a)({jetpackAuthUrlRef:({spawn:e})=>e((0,n.p4)((async()=>(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getJetpackAuthUrl({redirectUrl:(0,m.getAdminLink)("admin.php?page=wc-admin"),from:"woocommerce-core-profiler"}))))}),Fe=(0,n.p4)((async()=>(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getFreeExtensions())),Ve=(0,n.p4)((async()=>{(0,c.dispatch)(g.ONBOARDING_STORE_NAME).invalidateResolution("getFreeExtensions");const e=await(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getFreeExtensions();return e.find((e=>"obw/core-profiler"===e.key))?.plugins||[]})),He=(0,n.E9)((({sendBack:e})=>{const t=()=>{e({type:"EXTERNAL_URL_UPDATE"})};return window.addEventListener("popstate",t),()=>{window.removeEventListener("popstate",t)}})),Xe=(0,r.a)({pluginsAvailable:({event:e})=>e.output}),qe=(0,r.a)({pluginsSelected:({event:e})=>e.payload.pluginsSelected.map(Me.V7)}),Ke=(0,r.a)({loader:({event:e})=>{(0,s.ZD)(e,"PLUGIN_INSTALLED_AND_ACTIVATED");const t=e.payload.progressPercentage;let o=0;return t>60?o=2:t>30&&(o=1),{useStages:"plugins",progress:t,stageIndex:o}}}),$e=(0,n.p4)((async({input:e})=>{const t=(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({skipped:!0}),o=(i=e.businessInfo.location,(0,c.dispatch)(g.OPTIONS_STORE_NAME).updateOptions({woocommerce_default_country:i}));var i;const n=Ye(e.businessInfo.location);return Promise.all([t,o,n])})),et=(0,n.p4)((async()=>(0,c.resolveSelect)(g.PLUGINS_STORE_NAME).isJetpackConnected())),tt={preFetchIsJetpackConnected:We,preFetchJetpackAuthUrl:Je},ot={...tt,...de,handlePlugins:Xe,updateQueryStep:(e,t)=>{const{step:o}=(0,u.getQuery)();t.step!==o&&(0,u.updateQueryString)({step:t.step})},handleTrackingOption:Le,handleGeolocation:he,handleStoreNameOption:we,handleStoreCountryOption:Ee,assignOptInDataSharing:Be,assignStoreLocation:Ge,assignPluginsSelected:qe,assignUserProfile:Ze,handleCountries:Ae,handleOnboardingProfileOption:ze,assignOnboardingProfile:xe,assignCurrentUserEmail:fe,redirectToWooHome:ve,redirectToJetpackAuthPage:({event:e,context:t})=>{const o=new URL(e.output.url);o.searchParams.set("installed_ext_success","1"),o.searchParams.set("plugin_name",t.pluginsSelected.includes("woocommerce-payments")?"woocommerce-payments":"jetpack-ai"),window.location.href=o.toString()},updateLoaderProgressWithPluginInstall:Ke,reloadPage:()=>{window.location.reload()}},it={preFetchGetPlugins:Fe,preFetchOptions:Se,getAllowTrackingOption:Te,getStoreNameOption:De,getStoreCountryOption:_e,getCountries:Oe,getGeolocation:be,getOnboardingProfileOption:ke,getCurrentUserEmail:Ce,getPlugins:Ve,getJetpackIsConnected:et,browserPopstateHandler:He,updateBusinessInfo:Re,updateTrackingOption:Ue,updateOnboardingProfileOption:Qe,skipFlowUpdateBusinessLocation:$e,pluginInstallerMachine:me,exitToWooHome:Pe},nt=(0,s.C8)({id:"coreProfiler",initial:"navigate",types:{},invoke:{id:"browserPopstateHandler",src:"browserPopstateHandler"},on:{EXTERNAL_URL_UPDATE:{target:"#navigate"},REDIRECT_TO_WOO_HOME:{target:"#redirectingToWooHome"}},context:{optInDataSharing:!1,userProfile:{skipped:!0},geolocatedLocation:void 0,businessInfo:{storeName:void 0,industry:void 0,storeCountryPreviouslySet:!1,location:"US:CA"},countries:[],pluginsAvailable:[],pluginsInstallationErrors:[],pluginsSelected:[],loader:{},onboardingProfile:{},jetpackAuthUrl:void 0,currentUserEmail:void 0},states:{navigate:{id:"navigate",always:[{target:"#introOptIn",guard:{type:"hasStepInUrl",params:{step:"intro-opt-in"}}},{target:"#userProfile",guard:{type:"hasStepInUrl",params:{step:"user-profile"}}},{target:"#businessInfo",guard:{type:"hasStepInUrl",params:{step:"business-info"}}},{target:"#plugins",guard:{type:"hasStepInUrl",params:{step:"plugins"}}},{target:"#skipGuidedSetup",guard:{type:"hasStepInUrl",params:{step:"skip-guided-setup"}}},{target:"#introBuilder",guard:{type:"hasStepInUrl",params:{step:"intro-builder"}}},{target:"introOptIn"}]},introOptIn:{id:"introOptIn",initial:"preIntroOptIn",states:{preIntroOptIn:{entry:[(0,a.P)("preFetchGetPlugins"),(0,a.P)("getCountries"),(0,a.P)("preFetchOptions",{id:"prefetch-options",input:["blogname","woocommerce_onboarding_profile","woocommerce_default_country"]})],type:"parallel",states:{trackingOption:{initial:"fetching",states:{fetching:{invoke:{systemId:"getAllowTrackingOption",src:"getAllowTrackingOption",onDone:[{actions:["handleTrackingOption"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}}},onDone:{target:"introOptIn"},meta:{progress:0}},introOptIn:{on:{INTRO_COMPLETED:{target:"postIntroOptIn",actions:["assignOptInDataSharing"]},INTRO_SKIPPED:{target:"#skipGuidedSetup",actions:["assignOptInDataSharing",(0,a.P)("updateTrackingOption ",{input:({event:e})=>((0,s.ZD)(e,"INTRO_SKIPPED"),e.payload)})]},INTRO_BUILDER:{target:"#introBuilder",actions:["assignOptInDataSharing","updateTrackingOption"]}},meta:{progress:20,component:({sendEvent:e,navigationProgress:t})=>{const[o,n]=(0,i.useState)(!0);return(0,i.createElement)("div",{className:"woocommerce-profiler-intro-opt-in","data-testid":"core-profiler-intro-opt-in-screen"},(0,i.createElement)(S,{percentage:t,skipText:(0,y.__)("Skip guided setup","woocommerce"),onSkip:()=>e({type:"INTRO_SKIPPED",payload:{optInDataSharing:!1}})}),(0,i.createElement)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-intro-opt-in__content"},(0,i.createElement)("div",{className:"woocommerce-profiler-welcome-image"}),(0,i.createElement)(w,{title:(0,y.__)("Welcome to Woo!","woocommerce"),subTitle:(0,T.Z)({mixedString:(0,y.__)("It’s great to have you here with us! We’ll be guiding you through the setup process – first, answer a few questions to tailor your experience.","woocommerce"),components:{br:(0,i.createElement)("br",null)}})}),(0,i.createElement)(j.Button,{className:"woocommerce-profiler-setup-store__button",variant:"primary",onClick:()=>e({type:"INTRO_COMPLETED",payload:{optInDataSharing:o}})},(0,y.__)("Set up my store","woocommerce")),window.wcAdminFeatures?.blueprint&&(0,i.createElement)(j.Button,{className:"woocommerce-profiler-setup-store__button",variant:"tertiary",onClick:()=>e({type:"INTRO_BUILDER",payload:{optInDataSharing:!1}})},(0,y.__)("Builder setup","woocommerce")),(0,i.createElement)("div",{className:"woocommerce-profiler-intro-opt-in__footer"},(0,i.createElement)(j.CheckboxControl,{className:"core-profiler__checkbox",label:(0,T.Z)({mixedString:(0,y.__)("I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. {{link}}Learn more about usage tracking.{{/link}}","woocommerce"),components:{link:(0,i.createElement)(L.Link,{href:"https://woocommerce.com/usage-tracking?utm_medium=product",target:"_blank",type:"external"})}}),checked:o,onChange:n}))))}}},postIntroOptIn:{invoke:{src:"updateTrackingOption",input:({context:e})=>e,onDone:{actions:["recordTracksIntroCompleted"],target:"#userProfile"},onError:{actions:["recordTracksIntroCompleted"],target:"#userProfile"}}}}},userProfile:{id:"userProfile",initial:"preUserProfile",states:{preUserProfile:{invoke:{src:"getOnboardingProfileOption",onDone:[{actions:["handleOnboardingProfileOption","assignOnboardingProfile"],target:"userProfile"}],onError:{target:"userProfile"}}},userProfile:{meta:{progress:40,component:({sendEvent:e,navigationProgress:t,context:o})=>{const[n,r]=(0,i.useState)(o.userProfile.businessChoice||"im_just_starting_my_business"),[a,s]=(0,i.useState)(o.userProfile.sellingOnlineAnswer||null),[l,c]=(0,i.useState)(o.userProfile.sellingPlatforms||null),[u,g]=(0,i.useState)(!1);return(0,i.createElement)("div",{className:"woocommerce-profiler-user-profile","data-testid":"core-profiler-user-profile"},(0,i.createElement)(S,{percentage:t,skipText:(0,y.__)("Skip this step","woocommerce"),onSkip:()=>e({type:"USER_PROFILE_SKIPPED",payload:{userProfile:{skipped:!0}}})}),(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-page__content woocommerce-profiler-user-profile__content",{"is-platform-selector-open":u})},(0,i.createElement)(w,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Which one of these best describes you?","woocommerce"),subTitle:(0,y.__)("Let us know where you are in your commerce journey so that we can tailor your Woo experience for you.","woocommerce")}),(0,i.createElement)("form",{className:"woocommerce-user-profile-choices"},(0,i.createElement)("fieldset",null,(0,i.createElement)("legend",{className:"screen-reader-text"},(0,y.__)("Which one of these best describes you?","woocommerce")),C.map((({title:e,value:t})=>(0,i.createElement)(k,{key:t,name:"user-profile-choice",title:e,selected:n===t,value:t,onChange:e=>{r(e)},subOptionsComponent:"im_already_selling"===t?(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"woocommerce-profiler-selling-online-question"},(0,i.createElement)("p",{className:"woocommerce-profiler-question-label"},(0,y.__)("Are you selling online?","woocommerce")),(0,i.createElement)(L.SelectControl,{className:"woocommerce-profiler-select-control__selling-online-question",instanceId:1,label:(0,y.__)("Select an option","woocommerce"),autoComplete:"new-password",options:f,excludeSelectedOptions:!1,help:(0,i.createElement)(O.Z,{icon:A.Z}),onChange:e=>{s(e)},multiple:!1,selected:a})),a&&["yes_im_selling_online","im_selling_both_online_and_offline"].includes(a)&&(0,i.createElement)("div",{className:"woocommerce-profiler-selling-platform"},(0,i.createElement)("p",{className:"woocommerce-profiler-question-label"},(0,y.__)("Which platform(s) are you currently using?","woocommerce")),(0,i.createElement)(z,{options:x,selectedOptions:x.filter((e=>l?.includes(e.value))),onSelect:e=>{c(e.map((e=>e.value)))},onOpenClose:g}))):null}))))),(0,i.createElement)("div",{className:"woocommerce-profiler-button-container"},(0,i.createElement)(j.Button,{className:"woocommerce-profiler-button",variant:"primary",onClick:()=>{e({type:"USER_PROFILE_COMPLETED",payload:{userProfile:{businessChoice:n,sellingOnlineAnswer:"im_already_selling"===n?a:null,sellingPlatforms:"im_already_selling"===n?l:null}}})}},(0,y.__)("Continue","woocommerce")))))}},entry:[{type:"recordTracksStepViewed",params:{step:"user_profile"}},{type:"updateQueryStep",params:{step:"user-profile"}},(0,a.P)("getGeolocation",{input:({context:e})=>e})],on:{USER_PROFILE_COMPLETED:{target:"postUserProfile",actions:["assignUserProfile",{type:"recordTracksUserProfileCompleted"}]},USER_PROFILE_SKIPPED:{target:"postUserProfile",actions:["assignUserProfile",{type:"recordTracksStepSkipped",params:{step:"user_profile"}}]}}},postUserProfile:{entry:(0,a.P)("updateOnboardingProfileOption",{id:"updateOnboardingProfileOption",input:({context:e})=>e}),always:{target:"#businessInfo"}}}},businessInfo:{id:"businessInfo",initial:"preBusinessInfo",entry:[{type:"updateQueryStep",params:{step:"business-info"}}],states:{preBusinessInfo:{type:"parallel",states:{geolocation:{initial:"checkDataOptIn",states:{checkDataOptIn:{invoke:{src:"getAllowTrackingOption",onDone:[{actions:["handleTrackingOption"],target:"fetching"}],onError:{target:"done"}}},fetching:{invoke:{input:({context:e})=>e,src:"getGeolocation",onDone:{target:"done",actions:"handleGeolocation"},onError:{target:"done"}}},done:{type:"final"}}},storeCountryOption:{initial:"fetching",states:{fetching:{invoke:{src:"getStoreCountryOption",onDone:[{actions:["handleStoreCountryOption"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},onboardingProfileOption:{initial:"fetching",states:{fetching:{invoke:{src:"getOnboardingProfileOption",onDone:[{actions:["assignOnboardingProfile"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},storeNameOption:{initial:"fetching",states:{fetching:{invoke:{src:"getStoreNameOption",onDone:[{actions:["handleStoreNameOption"],target:"done"}],onError:{target:"done"}}},done:{type:"final"}}},countries:{initial:"fetching",states:{fetching:{invoke:{systemId:"getCountries",src:"getCountries",onDone:{target:"done",actions:"handleCountries"}}},done:{type:"final"}}},currentUserEmail:{initial:"fetching",states:{fetching:{invoke:{src:"getCurrentUserEmail",onDone:{target:"done",actions:["assignCurrentUserEmail"]},onError:{target:"done"}}},done:{type:"final"}}}},onDone:{target:"businessInfo"}},businessInfo:{meta:{progress:60,component:({context:e,navigationProgress:t,sendEvent:o})=>{const{geolocatedLocation:n,userProfile:{businessChoice:r},businessInfo:a,countries:s,onboardingProfile:{is_store_country_set:l=!1,industry:c=[],business_choice:u="",is_agree_marketing:g=!1,store_email:M=""}={},currentUserEmail:m}=e,[p,N]=(0,i.useState)(a.storeName||""),[d,I]=(0,i.useState)({key:"",label:""});(0,i.useEffect)((()=>{if(l){const e=s.find((e=>e.key===a.location));I(e||{key:"",label:""})}}),[a.location,s,l]);const[T,_]=(0,i.useState)({key:"",label:""});(0,i.useEffect)((()=>{if(n){const e=(0,F.findCountryOption)(s,n);e&&(_(e),l||I(e))}}),[s,l,n]);const E=n&&(0,F.getCountry)(d.key)!==(0,F.getCountry)(T.key),[k,z]=(0,i.useState)(c?q.find((e=>e.key===c[0])):void 0),C=(0,y.__)("Select country/region","woocommerce"),f=K[r||u||"im_just_starting_my_business"],[x,b]=(0,i.useState)(!1),[h,v]=(0,i.useState)(!1),[P,U]=(0,i.useState)(!1),[Q,Y]=(0,i.useState)(M||m||""),[G,Z]=(0,i.useState)(g||!1),[R,B]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{if(R){const e=H.z.string().email().safeParse(Q);U(G&&!e.success),B(!1)}}),[G,R,Q]),(0,i.createElement)("div",{className:"woocommerce-profiler-business-information","data-testid":"core-profiler-business-information"},(0,i.createElement)(S,{percentage:t}),(0,i.createElement)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-business-information__content"},(0,i.createElement)(w,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Tell us a bit about your store","woocommerce"),subTitle:(0,y.__)("We’ll use this information to help you set up payments, shipping, and taxes, as well as recommending the best theme for your store.","woocommerce")}),(0,i.createElement)("form",{className:"woocommerce-profiler-business-information-form",autoComplete:"off"},(0,i.createElement)(j.TextControl,{className:"woocommerce-profiler-business-info-store-name",onChange:e=>{N(e)},value:(0,V.decodeEntities)(p),label:(0,i.createElement)(i.Fragment,null,(0,y.__)("Give your store a name","woocommerce")),placeholder:(0,y.__)("Ex. My awesome store","woocommerce")}),(0,i.createElement)("p",{className:"woocommerce-profiler-question-subtext"},(0,y.__)("Don’t worry — you can always change it later!","woocommerce")),(0,i.createElement)("p",{className:"woocommerce-profiler-question-label"},f),(0,i.createElement)(L.SelectControl,{className:"woocommerce-profiler-select-control__industry",instanceId:1,placeholder:(0,y.__)("Select an industry","woocommerce"),label:(0,y.__)("Select an industry","woocommerce"),options:q,excludeSelectedOptions:!1,help:(0,i.createElement)(O.Z,{icon:A.Z}),onChange:e=>{e.length&&z(e[0])},selected:k?[k]:[],showAllOnFocus:!0,isSearchable:!0}),(0,i.createElement)("p",{className:"woocommerce-profiler-question-label"},(0,y.__)("Where is your store located?","woocommerce"),(0,i.createElement)("span",{className:"woocommerce-profiler-question-required"},"*")),(0,i.createElement)(L.SelectControl,{className:"woocommerce-profiler-select-control__country",instanceId:2,placeholder:C,label:""===d.key?C:"",getSearchExpression:e=>new RegExp("(^"+e+"| — ("+e+"))","i"),options:s,excludeSelectedOptions:!1,help:(0,i.createElement)(O.Z,{icon:A.Z}),onChange:e=>{e.length&&I(e[0])},selected:d?[d]:[],showAllOnFocus:!0,isSearchable:!0}),0===s.length&&(0,i.createElement)(j.Notice,{className:"woocommerce-profiler-select-control__country-error",isDismissible:!1,status:"error"},(0,i.createInterpolateElement)((0,y.__)("Oops! We encountered a problem while fetching the list of countries to choose from. <retryButton/> or <skipButton/>","woocommerce"),{retryButton:(0,i.createElement)(j.Button,{onClick:()=>{o({type:"RETRY_PRE_BUSINESS_INFO"})},variant:"tertiary"},(0,y.__)("Please try again","woocommerce")),skipButton:(0,i.createElement)(j.Button,{onClick:()=>{o({type:"SKIP_BUSINESS_INFO_STEP"})},variant:"tertiary"},(0,y.__)("skip this step","woocommerce"))})),(0,i.createElement)("div",{className:"woocommerce-profiler-select-control__country-spacer"}),E&&!x&&(0,i.createElement)(j.Notice,{className:"woocommerce-profiler-geolocation-notice",onRemove:()=>b(!0),status:"warning"},(0,i.createElement)("p",null,(0,i.createInterpolateElement)((0,y.__)("It looks like you’re located in <geolocatedCountry></geolocatedCountry>. Are you sure you want to create a store in <selectedCountry></selectedCountry>?","woocommerce"),{geolocatedCountry:(0,i.createElement)(j.Button,{className:"geolocation-notice-geolocated-country",variant:"link",onClick:()=>I(T)},n?.country_long),selectedCountry:(0,i.createElement)("span",{className:"geolocation-notice-selected-country"},d.label)})),(0,i.createElement)("p",null,(0,y.__)("Setting up your store in the wrong country may lead to the following issues: ","woocommerce")),(0,i.createElement)("ul",{className:"woocommerce-profiler-geolocation-notice__list"},(0,i.createElement)("li",null,(0,y.__)("Tax and duty obligations","woocommerce")),(0,i.createElement)("li",null,(0,y.__)("Payment issues","woocommerce")),(0,i.createElement)("li",null,(0,y.__)("Shipping issues","woocommerce")))),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(j.TextControl,{className:(0,D.Z)("woocommerce-profiler-business-info-email-adddress",{"is-error":P}),onChange:e=>{P&&B(!0),Y(e)},onBlur:()=>{B(!0)},value:(0,V.decodeEntities)(Q),label:(0,i.createElement)(i.Fragment,null,(0,y.__)("Your email address","woocommerce"),G&&(0,i.createElement)("span",{className:"woocommerce-profiler-question-required"},"*")),placeholder:(0,y.__)("wordpress@example.com","woocommerce")}),P&&(0,i.createElement)(J,{isError:!0,text:(0,y.__)("This email is not valid.","woocommerce")}),(0,i.createElement)(j.CheckboxControl,{className:"core-profiler__checkbox",label:(0,y.__)("Opt-in to receive tips, discounts, and recommendations from the Woo team directly in your inbox.","woocommerce"),checked:G,onChange:e=>{Z(e),B(!0)}}))),(0,i.createElement)("div",{className:"woocommerce-profiler-button-container"},(0,i.createElement)(j.Button,{className:"woocommerce-profiler-button",variant:"primary",disabled:!d.key||P,onClick:()=>{o({type:"BUSINESS_INFO_COMPLETED",payload:{storeName:p,industry:k?.key,storeLocation:d.key,geolocationOverruled:E||!1,isOptInMarketing:G,storeEmailAddress:Q}}),v(!0)}},h?(0,i.createElement)(j.Spinner,null):(0,y.__)("Continue","woocommerce")))))}},entry:[{type:"recordTracksStepViewed",params:{step:"business_info"}}],on:{BUSINESS_INFO_COMPLETED:{target:"postBusinessInfo",actions:["recordTracksBusinessInfoCompleted","recordTracksIsEmailChanged"]},RETRY_PRE_BUSINESS_INFO:{actions:["reloadPage"]},SKIP_BUSINESS_INFO_STEP:{target:"#plugins",actions:[{type:"recordTracksStepSkipped",params:{step:"business_info"}}]}}},postBusinessInfo:{invoke:{src:"updateBusinessInfo",input:({event:e})=>e,onDone:{target:"#plugins"},onError:{target:"#plugins"}}}}},introBuilder:{id:"introBuilder",initial:"uploadConfig",entry:[{type:"updateQueryStep",params:{step:"intro-builder"}}],states:{uploadConfig:{meta:{component:({sendEvent:e,navigationProgress:t=80})=>{const[o,n]=(0,i.useState)(null),[r,a]=(0,i.useState)(""),[s,l]=(0,i.useState)(!1);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(S,{percentage:t,skipText:(0,y.__)("Skip setup","woocommerce"),onSkip:()=>e({type:"INTRO_SKIPPED",payload:{optInDataSharing:!1}})}),(0,i.createElement)("div",{className:"woocommerce-profiler-builder-intro"},(0,i.createElement)("h1",null,(0,y.__)("Upload your Blueprint to provision your site","woocommerce")," "),(0,i.createElement)("input",{className:"woocommerce-profiler-builder-intro-file-input",type:"file",onChange:e=>{n(e.target.files[0])}}),(0,i.createElement)(j.Button,{variant:"primary",onClick:()=>{if(!o)return void a("Please select a file first.");l(!0);const e=new FormData;e.append("file",o),window?.wcSettings?.admin?.blueprint_upload_nonce&&e.append("blueprint_upload_nonce",window.wcSettings.admin.blueprint_upload_nonce),ee()({path:"/blueprint/import",method:"POST",body:e}).then((e=>{"success"===e.status?(a("Schema imported successfully. Redirecting to "+e.data.redirect),l(!1),window.setTimeout((()=>{window.location.href=e.data.redirect}),2e3)):(l(!1),a(`Error: ${e.message}`),e?.data?.result&&a(JSON.stringify(e.data.result,null,2)))})).catch((e=>{l(!1),a(`Error: ${e.message}`)}))},isBusy:s},(0,y.__)("Import","woocommerce")),(0,i.createElement)("div",null,(0,i.createElement)("pre",null,r))))}},on:{INTRO_SKIPPED:{target:"#skipGuidedSetup",actions:["assignOptInDataSharing","updateTrackingOption"]}}}}},skipGuidedSetup:{id:"skipGuidedSetup",initial:"preSkipFlowBusinessLocation",entry:[{type:"updateQueryStep",params:{step:"skip-guided-setup"}}],states:{preSkipFlowBusinessLocation:{invoke:{src:"getCountries",onDone:[{actions:["handleCountries"],target:"skipFlowBusinessLocation"}],onError:{target:"skipFlowBusinessLocation"}}},skipFlowBusinessLocation:{on:{BUSINESS_LOCATION_COMPLETED:{target:"postSkipFlowBusinessLocation",actions:["assignStoreLocation","recordTracksSkipBusinessLocationCompleted"]}},entry:[{type:"recordTracksStepViewed",params:{step:"skip_business_location"}}],meta:{progress:80,component:({sendEvent:e,navigationProgress:t,context:o})=>{const[n,r]=(0,i.useState)({key:"",label:""}),a=(0,y.__)("Select country/region","woocommerce");return(0,i.createElement)("div",{className:"woocommerce-profiler-business-location","data-testid":"core-profiler-business-location"},(0,i.createElement)(S,{percentage:t}),(0,i.createElement)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-business-location__content"},(0,i.createElement)(w,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Where is your business located?","woocommerce"),subTitle:(0,y.__)("We’ll use this information to help you set up payments, shipping, and taxes.","woocommerce")}),(0,i.createElement)(L.SelectControl,{className:"woocommerce-profiler-select-control__country",instanceId:1,placeholder:a,label:""===n.key?a:"",getSearchExpression:e=>new RegExp("(^"+e+"| — ("+e+"))","i"),autoComplete:"new-password",options:o.countries,excludeSelectedOptions:!1,help:(0,i.createElement)(O.Z,{icon:A.Z}),onChange:e=>{e.length&&r(e[0])},selected:n?[n]:[],showAllOnFocus:!0,isSearchable:!0}),(0,i.createElement)("div",{className:"woocommerce-profiler-button-container woocommerce-profiler-go-to-mystore__button-container"},(0,i.createElement)(j.Button,{className:"woocommerce-profiler-button",variant:"primary",disabled:!n.key,onClick:()=>{e({type:"BUSINESS_LOCATION_COMPLETED",payload:{storeLocation:n.key}})}},(0,y.__)("Go to my store","woocommerce")))))}}},postSkipFlowBusinessLocation:{initial:"updateBusinessLocation",states:{updateBusinessLocation:{entry:(0,r.a)({loader:{progress:10,useStages:"skippedGuidedSetup"}}),invoke:{input:({context:e})=>e,src:"skipFlowUpdateBusinessLocation",onDone:{target:"progress20"}}},progress20:{entry:(0,r.a)({loader:{progress:20,useStages:"skippedGuidedSetup"}}),after:{1500:{target:"progress80"}}},progress80:{entry:(0,r.a)({loader:{progress:80,useStages:"skippedGuidedSetup",stageIndex:1}}),after:{1500:{actions:["redirectToWooHome"]}}}},meta:{component:ae}}}},plugins:{id:"plugins",initial:"prePlugins",states:{prePlugins:{invoke:{src:"getPlugins",onDone:[{target:"pluginsSkipped",guard:({event:e})=>0===e.output.length||e.output.every((e=>e.is_activated))},{target:"plugins",actions:"handlePlugins"}],onError:{target:"pluginsSkipped"}},meta:{progress:70}},pluginsSkipped:{entry:(0,r.a)({loader:{progress:80}}),invoke:{src:(0,n.p4)((()=>((0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({is_plugins_page_skipped:!0,completed:!0}),3e3,new Promise((e=>{setTimeout(e,3e3)}))))),onDone:[{target:"isJetpackConnected",guard:(0,a.G)(["hasJetpackSelectedForInstallation","hasJetpackActivated"])},{actions:["redirectToWooHome"]}]},meta:{component:ae}},plugins:{entry:[{type:"recordTracksStepViewed",params:{step:"plugins"}},{type:"updateQueryStep",params:{step:"plugins"}}],on:{PLUGINS_PAGE_SKIPPED:{actions:[{type:"recordTracksStepSkipped",params:{step:"plugins"}}],target:"pluginsSkipped"},PLUGINS_LEARN_MORE_LINK_CLICKED:{actions:[{type:"recordTracksPluginsLearnMoreLinkClicked",params:{step:"plugins"}}]},PLUGINS_INSTALLATION_REQUESTED:{target:"installPlugins",actions:["assignPluginsSelected","recordTracksPluginsInstallationRequest"]}},meta:{progress:80,component:({context:e,navigationProgress:t,sendEvent:o})=>{const[n,r]=(0,h.useState)(e.pluginsAvailable.filter(e.pluginsInstallationErrors.length?t=>e.pluginsSelected.includes(t.key):e=>!e.is_activated)),a=()=>o({type:"PLUGINS_PAGE_SKIPPED"}),s=()=>{const t=n.map((e=>e.key.replace(":alt",""))),i=[],r=[];return e.pluginsAvailable.forEach((e=>{const o=e.key.replace(":alt","");i.push(o),e.is_activated||t.includes(o)||r.push(o)})),o({type:"PLUGINS_INSTALLATION_REQUESTED",payload:{pluginsShown:i,pluginsSelected:t,pluginsUnselected:r}})},l=e=>"element"===e.type?"{{span}}"+e.value+"{{/span}}":e.value,c=e.pluginsInstallationErrors.length?(0,T.Z)({mixedString:(0,y.sprintf)((0,y.__)("Oops! We encountered a problem while installing %s. {{link}}Please try again{{/link}}.","woocommerce"),ge(e.pluginsInstallationErrors.map((e=>e.plugin))).map(l).join("")),components:{span:(0,i.createElement)("span",null),link:(0,i.createElement)(j.Button,{isLink:!0,onClick:s})}}):null,u=n.filter((e=>["jetpack","woocommerce-services:shipping","woocommerce-services:tax"].includes(e.key))),g=Math.ceil(e.pluginsAvailable.length/2);return(0,i.createElement)("div",{className:"woocommerce-profiler-plugins","data-testid":"core-profiler-plugins"},(0,i.createElement)(S,{percentage:t,onSkip:a}),(0,i.createElement)("div",{className:"woocommerce-profiler-page__content woocommerce-profiler-plugins__content"},(0,i.createElement)(w,{className:"woocommerce-profiler__stepper-heading",title:(0,y.__)("Get a boost with our free features","woocommerce"),subTitle:(0,y.__)("Enhance your store by installing these free business features. No commitment required – you can remove them at any time.","woocommerce")}),c&&(0,i.createElement)("p",{className:"plugin-error"},c),(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-plugins__list",`rows-${g}`)},e.pluginsAvailable.map((e=>{const t=e.learn_more_link?(0,i.createElement)(L.Link,{onClick:t=>{var i;o({type:"PLUGINS_LEARN_MORE_LINK_CLICKED",payload:{plugin:e.key,learnMoreLink:null!==(i=e.learn_more_link)&&void 0!==i?i:""}}),t.stopPropagation()},href:e.learn_more_link,target:"_blank",type:"external"},(0,y.__)("Learn More","woocommerce")):null;return(0,i.createElement)(le,{key:`checkbox-control-${e.key}`,installed:e.is_activated,onChange:()=>{(e=>{r(n.some((t=>t.key===e.key))?n.filter((t=>t.key!==e.key)):[...n,e])})(e)},checked:n.filter((t=>t.key===e.key)).length>0,icon:e.image_url?(0,i.createElement)("img",{src:e.image_url,alt:e.key}):null,title:e.label,description:e.description,learnMoreLink:t})}))),(0,i.createElement)("div",{className:(0,D.Z)("woocommerce-profiler-plugins__footer",`rows-${g}`)},(0,i.createElement)("div",{className:"woocommerce-profiler-plugins-continue-button-container"},(0,i.createElement)(j.Button,{className:"woocommerce-profiler-plugins-continue-button",variant:"primary",onClick:n.length?s:a},(0,y.__)("Continue","woocommerce"))),u.length>0&&(0,i.createElement)("p",{className:"woocommerce-profiler-plugins-jetpack-agreement"},(0,T.Z)({mixedString:(0,y.sprintf)((0,y._n)("By installing %s plugin for free you agree to our {{link}}Terms of Service{{/link}}.","By installing %s plugins for free you agree to our {{link}}Terms of Service{{/link}}.",u.length,"woocommerce"),ge(u.map((e=>e.name))).map(l).join("")),components:{span:(0,i.createElement)("span",null),link:(0,i.createElement)(L.Link,{href:"https://wordpress.com/tos/",target:"_blank",type:"external"})}})))))}}},postPluginInstallation:{invoke:{input:({event:e})=>((0,s.ZD)(e,"PLUGINS_INSTALLATION_COMPLETED"),e),src:(0,n.p4)((async({input:e})=>await(0,c.dispatch)(g.ONBOARDING_STORE_NAME).updateProfileItems({business_extensions:e.payload.installationCompletedResult.installedPlugins.map((e=>e.plugin)),completed:!0}))),onDone:[{target:"isJetpackConnected",guard:(0,a.G)(["hasJetpackSelectedForInstallation","hasJetpackActivated"])},{actions:"redirectToWooHome"}]},meta:{component:ae,progress:100}},isJetpackConnected:{invoke:{src:"getJetpackIsConnected",onDone:[{target:"sendToJetpackAuthPage",guard:({event:e})=>!e.output},{actions:"redirectToWooHome"}]},meta:{component:ae,progress:100}},sendToJetpackAuthPage:{invoke:{src:(0,n.p4)((async()=>(window.wcAdminFeatures["launch-your-store"]&&await(0,c.dispatch)(g.ONBOARDING_STORE_NAME).coreProfilerCompleted(),await(0,c.resolveSelect)(g.ONBOARDING_STORE_NAME).getJetpackAuthUrl({redirectUrl:(0,m.getAdminLink)("admin.php?page=wc-admin"),from:"woocommerce-core-profiler"})))),onDone:{actions:(0,r.b)((({enqueue:e,check:t})=>{t((({event:e})=>e.output.success))?e({type:"redirectToJetpackAuthPage"}):e({type:"redirectToWooHome"})}))}},meta:{component:ae,progress:100}},installPlugins:{on:{PLUGIN_INSTALLED_AND_ACTIVATED:{actions:["updateLoaderProgressWithPluginInstall"]},PLUGINS_INSTALLATION_COMPLETED_WITH_ERRORS:{target:"prePlugins",actions:[(0,r.a)({pluginsInstallationErrors:({event:e})=>e.payload.errors}),{type:"recordFailedPluginInstallations"}]},PLUGINS_INSTALLATION_COMPLETED:{target:"postPluginInstallation",actions:[{type:"recordSuccessfulPluginInstallation"}]}},entry:(0,r.b)((({enqueue:e,check:t})=>{t((0,a.G)([{type:"hasJetpackSelectedForInstallation"},{type:"hasJetpackActivated"}]))&&(e("preFetchIsJetpackConnected"),e("preFetchJetpackAuthUrl")),e((0,r.a)({loader:{progress:10,useStages:"plugins"}}))})),invoke:{src:"pluginInstallerMachine",input:({context:e})=>({selectedPlugins:e.pluginsSelected,pluginsAvailable:e.pluginsAvailable})},meta:{component:ae}}}},settingUpStore:{},redirectingToWooHome:{id:"redirectingToWooHome",invoke:{src:"exitToWooHome"}}}}),rt=({actionOverrides:e,servicesOverrides:t})=>{const o=(0,i.useMemo)((()=>nt.provide({actions:{...ot,...e},actors:{...it,...t},guards:{hasStepInUrl:(e,t)=>{const{step:o}=(0,u.getQuery)();return!!o&&o===t.step},hasJetpackSelectedForInstallation:({context:e})=>void 0!==e.pluginsSelected.find((e=>"jetpack"===e)),hasJetpackActivated:({context:e})=>void 0!==e.pluginsAvailable.find((e=>"jetpack"===e.key&&e.is_activated))}})),[e,t]),{xstateV5Inspector:n}=(0,ye.r)("V5"),[r,a,s]=(0,l.eO)(o,{inspect:n}),c=(0,l.v9)(s,(e=>{var t;return(0,d.r)(null!==(t=e?.getMeta())&&void 0!==t?t:void 0)})),g=c?.progress,M=r.value instanceof Object?Object.keys(r.value)[0]:r.value;(0,Me.p0)(["woocommerce-profile-wizard__body"]);const[m]=(0,je.X)(s);return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:`woocommerce-profile-wizard__container woocommerce-profile-wizard__step-${M}`},m?(0,i.createElement)(m,{navigationProgress:g,sendEvent:a,context:r.context}):(0,i.createElement)(pe,null)))},at=rt},28316:(e,t,o)=>{"use strict";function i(e,t=new Set){if(!t.has(e)){t.add(e);for(const o in e)if(e.hasOwnProperty(o)){if("component"===o)return e;if("object"==typeof e[o]&&null!==e[o]){const n=i(e[o],t);if(void 0!==n)return n}}}}o.d(t,{r:()=>i})},91319:(e,t,o)=>{"use strict";o.d(t,{X:()=>a});var i=o(4528),n=o(99196),r=o(28316);function a(e){const t=(0,i.v9)(e,(e=>{var t;return(0,r.r)(null!==(t=e.getMeta())&&void 0!==t?t:void 0)})),[o,a]=(0,n.useState)(null);return(0,n.useEffect)((()=>{t?.component&&a((()=>t.component))}),[t?.component]),[o||null]}},23012:e=>{e.exports={iconsThatNeedOffset:["gridicons-add-outline","gridicons-add","gridicons-align-image-center","gridicons-align-image-left","gridicons-align-image-none","gridicons-align-image-right","gridicons-attachment","gridicons-bold","gridicons-bookmark-outline","gridicons-bookmark","gridicons-calendar","gridicons-cart","gridicons-create","gridicons-custom-post-type","gridicons-external","gridicons-folder","gridicons-heading","gridicons-help-outline","gridicons-help","gridicons-history","gridicons-info-outline","gridicons-info","gridicons-italic","gridicons-layout-blocks","gridicons-link-break","gridicons-link","gridicons-list-checkmark","gridicons-list-ordered","gridicons-list-unordered","gridicons-menus","gridicons-minus","gridicons-my-sites","gridicons-notice-outline","gridicons-notice","gridicons-plus-small","gridicons-plus","gridicons-popout","gridicons-posts","gridicons-scheduled","gridicons-share-ios","gridicons-star-outline","gridicons-star","gridicons-stats","gridicons-status","gridicons-thumbs-up","gridicons-textcolor","gridicons-time","gridicons-trophy","gridicons-user-circle","gridicons-reader-follow","gridicons-reader-following"],iconsThatNeedOffsetX:["gridicons-arrow-down","gridicons-arrow-up","gridicons-comment","gridicons-clear-formatting","gridicons-flag","gridicons-menu","gridicons-reader","gridicons-strikethrough"],iconsThatNeedOffsetY:["gridicons-align-center","gridicons-align-justify","gridicons-align-left","gridicons-align-right","gridicons-arrow-left","gridicons-arrow-right","gridicons-house","gridicons-indent-left","gridicons-indent-right","gridicons-minus-small","gridicons-print","gridicons-sign-out","gridicons-stats-alt","gridicons-trash","gridicons-underline","gridicons-video-camera"]}},52458:e=>{"use strict";var t=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,n){for(var r,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))o.call(r,c)&&(s[c]=r[c]);if(t){a=t(r);for(var u=0;u<a.length;u++)i.call(r,a[u])&&(s[a[u]]=r[a[u]])}}return s}},95472:(e,t,o)=>{"use strict";o(52458);var i=o(99196),n=60103;if("function"==typeof Symbol&&Symbol.for){var r=Symbol.for;n=r("react.element"),r("react.fragment")}var a=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,o){var i,r={},c=null,u=null;for(i in void 0!==o&&(c=""+o),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,i)&&!l.hasOwnProperty(i)&&(r[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===r[i]&&(r[i]=t[i]);return{$$typeof:n,type:e,key:c,ref:u,props:r,_owner:a.current}}t.jsx=c,t.jsxs=c},61250:(e,t,o)=>{"use strict";e.exports=o(95472)}}]);

Zerion Mini Shell 1.0