PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
chunks
(self.webpackChunk_wcAdmin_webpackJsonp=self.webpackChunk_wcAdmin_webpackJsonp||[]).push([[6125],{14805:function(e,t,c){"use strict";c.r(t),c.d(t,{default:function(){return O}});var i=c(69307),o=c(65736),M=c(9818),L=c(14812),u=c(67221),s=c(72672),n=c(55609),m=c(37942),j=c(86020),N=c(83849),r=c.n(N);const a=(0,i.createContext)(""),l=e=>{let{children:t,onDismiss:c=(()=>null)}=e;const{updateOptions:L}=(0,M.useDispatch)(u.OPTIONS_STORE_NAME),s=(0,i.useContext)(a),m=()=>{c(),L({[s]:"yes"})};return(0,i.createElement)(n.CardHeader,null,(0,i.createElement)("div",{className:"woocommerce-dismissable-list__header"},t),(0,i.createElement)("div",null,(0,i.createElement)(j.EllipsisMenu,{label:(0,o.__)("Task List Options","woocommerce"),renderContent:()=>(0,i.createElement)("div",{className:"woocommerce-dismissable-list__controls"},(0,i.createElement)(n.Button,{onClick:m},(0,o.__)("Hide this","woocommerce")))})))},S=e=>{let{children:t,className:c,dismissOptionName:o}=e;return(0,M.useSelect)((e=>{const{getOption:t,hasFinishedResolution:c}=e(u.OPTIONS_STORE_NAME),i=c("getOption",[o]),M="yes"===t(o);return i&&!M}))?(0,i.createElement)(n.Card,{size:"medium",className:r()("woocommerce-dismissable-list",c)},(0,i.createElement)(a.Provider,{value:o},t)):null};var g=c(74617),y=c(40610),T=c.n(y),E=c(27182),I=e=>{let{onSetupClick:t,pluginsBeingSetup:c}=e;(0,E.O3)("wcAdminAssetUrl","");const{createSuccessNotice:L}=(0,M.useDispatch)("core/notices"),s=(0,M.useSelect)((e=>e(u.PLUGINS_STORE_NAME).isJetpackConnected()));return(0,i.createElement)("div",{className:"woocommerce-list__item-inner woocommerce-services-item"},(0,i.createElement)("div",{className:"woocommerce-list__item-before"},(0,i.createElement)("img",{className:"woocommerce-services-item__logo",src:T(),alt:""})),(0,i.createElement)("div",{className:"woocommerce-list__item-text"},(0,i.createElement)("span",{className:"woocommerce-list__item-title"},(0,o.__)("Woocommerce Shipping","woocommerce"),(0,i.createElement)(j.Pill,null,(0,o.__)("Recommended","woocommerce"))),(0,i.createElement)("span",{className:"woocommerce-list__item-content"},(0,o.__)("Print USPS and DHL Express labels straight from your WooCommerce dashboard and save on shipping.","woocommerce"),(0,i.createElement)("br",null),(0,i.createElement)(n.ExternalLink,{href:"https://woocommerce.com/woocommerce-shipping/"},(0,o.__)("Learn more","woocommerce")))),(0,i.createElement)("div",{className:"woocommerce-list__item-after"},(0,i.createElement)(n.Button,{isSecondary:!0,onClick:()=>{t(["woocommerce-services"]).then((()=>{const e=[];s||e.push({url:(0,g.getAdminLink)("plugins.php"),label:(0,o.__)("Finish the setup by connecting your store to Jetpack.","woocommerce")}),L((0,o.__)("🎉 WooCommerce Shipping is installed!","woocommerce"),{actions:e})}))},isBusy:c.includes("woocommerce-services"),disabled:c.length>0},(0,o.__)("Get started","woocommerce"))))};const A=e=>{let{children:t}=e;return(0,i.createElement)(S,{className:"woocommerce-recommended-shipping-extensions",dismissOptionName:"woocommerce_settings_shipping_recommendations_hidden"},(0,i.createElement)(l,null,(0,i.createElement)(L.Text,{variant:"title.small",as:"p",size:"20",lineHeight:"28px"},(0,o.__)("Recommended shipping solutions","woocommerce")),(0,i.createElement)(L.Text,{className:"woocommerce-recommended-shipping__header-heading",variant:"caption",as:"p",size:"12",lineHeight:"16px"},(0,o.__)('We recommend adding one of the following shipping extensions to your store. The extension will be installed and activated for you when you click "Get started".',"woocommerce"))),(0,i.createElement)("ul",{className:"woocommerce-list"},i.Children.map(t,(e=>(0,i.createElement)("li",{className:"woocommerce-list__item"},e)))),(0,i.createElement)(n.CardFooter,null,(0,i.createElement)(n.Button,{className:"woocommerce-recommended-shipping-extensions__more_options_cta",href:"https://woocommerce.com/product-category/woocommerce-extensions/shipping-methods/?utm_source=shipping_recommendations",target:"_blank",isTertiary:!0},(0,o.__)("See more options","woocommerce"),(0,i.createElement)(n.VisuallyHidden,null,(0,o.__)("(opens in a new tab)","woocommerce")),(0,i.createElement)(s.Z,{size:18}))))};var O=()=>{const[e,t]=(()=>{const[e,t]=(0,i.useState)([]),{installAndActivatePlugins:c}=(0,M.useDispatch)(u.PLUGINS_STORE_NAME);return[e,i=>e.length>0?Promise.resolve():(t(i),c(i).then((()=>{t([])})).catch((e=>((0,m.a)(e),t([]),Promise.reject()))))]})();return(0,M.useSelect)((e=>e(u.PLUGINS_STORE_NAME).getActivePlugins())).includes("woocommerce-services")?null:(0,i.createElement)(A,null,(0,i.createElement)(I,{pluginsBeingSetup:e,onSetupClick:t}))}},40610:function(e){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIj48cGF0aCBmaWxsPSIjN2Q1N2E0IiBkPSJNMCAwaDEyMHYxMjBIMHoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNjcuNDggNTMuNTVjLTEuMTktLjI2LTIuMzMuNDItMy40MyAyLjAzLS44NyAxLjI2LTEuNDUgMi41Ni0xLjc0IDMuOTEtLjE2Ljc3LS4yNCAxLjU4LS4yNCAyLjQxIDAgLjk3LjE5IDEuOTYuNTggMi45OS40OCAxLjI2IDEuMTMgMS45NiAxLjkzIDIuMTIuOC4xNiAxLjY5LS4xOSAyLjY2LTEuMDYgMS4yMi0xLjA5IDIuMDYtMi43MiAyLjUxLTQuODguMTYtLjc3LjI0LTEuNTguMjQtMi40MSAwLS45Ny0uMTktMS45Ni0uNTgtMi45OS0uNDgtMS4yNS0xLjEyLTEuOTYtMS45My0yLjEyem0yMC42MiAwYy0xLjE5LS4yNi0yLjMzLjQyLTMuNDMgMi4wMy0uODcgMS4yNi0xLjQ1IDIuNTYtMS43NCAzLjkxLS4xNi43Ny0uMjQgMS41OC0uMjQgMi40MSAwIC45Ny4xOSAxLjk2LjU4IDIuOTku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4LjExLjQ4LS45IDEuMjEtMS4zOSAyLjE3LTEuNDYuNzctLjA1IDEuNDYuMTYgMi4wOC42NS42Mi40OS45NSAxLjEyIDEgMS44OS4wNC41OC0uMDcgMS4xLS4zMiAxLjU3LTEuMjggMi4zOC0yLjM0IDYuMzQtMy4xOCAxMS44OS0uODIgNS4zNC0xLjEzIDkuNTMtLjkxIDEyLjU0em0yMC4yLTUuMTZjLTEuOTYgMy4yOC00LjU0IDQuOTItNy43MiA0LjkyLS41OCAwLTEuMTgtLjA3LTEuNzktLjE5LTIuMzItLjQ4LTQuMDctMS43NS01LjI2LTMuODEtMS4wNi0xLjgtMS41OS0zLjk3LTEuNTktNi41MiAwLTMuMzguODUtNi40NyAyLjU2LTkuMjcgMi0zLjI4IDQuNTctNC45MiA3LjcyLTQuOTIuNTggMCAxLjE3LjA3IDEuNzkuMTkgMi4zMi40OCA0LjA3IDEuNzUgNS4yNiAzLjgxIDEuMDYgMS43NyAxLjU5IDMuOTMgMS41OSA2LjQ3LS4wMSAzLjM4LS44NiA2LjQ4LTIuNTYgOS4zMnptMjAuNjIgMGMtMS45NiAzLjI4LTQuNTQgNC45Mi03LjcyIDQuOTItLjU4IDAtMS4xNy0uMDctMS43OC0uMTktMi4zMi0uNDgtNC4wNy0xLjc1LTUuMjYtMy44MS0xLjA2LTEuOC0xLjU5LTMuOTctMS41OS02LjUyIDAtMy4zOC44NS02LjQ3IDIuNTYtOS4yNyAyLTMuMjggNC41Ny00LjkyIDcuNzItNC45Mi41OCAwIDEuMTcuMDcgMS43OC4xOSAyLjMyLjQ4IDQuMDcgMS43NSA1LjI2IDMuODEgMS4wNiAxLjc3IDEuNTkgMy45MyAxLjU5IDYuNDcgMCAzLjM4LS44NiA2LjQ4LTIuNTYgOS4zMnoiLz48L3N2Zz4K"}}]);
[-] analytics-report-products.js
[edit]
[-] marketing-overview.js
[edit]
[-] 8544.style.css
[edit]
[-] two-column-tasks.js
[edit]
[-] analytics-report-orders.js
[edit]
[-] 2036.style.css
[edit]
[-] 727.style.css
[edit]
[-] 2397.style.css
[edit]
[-] 3994.style.css
[edit]
[-] 6340.js
[edit]
[-] 4854.style.css
[edit]
[-] 1996.style.css
[edit]
[-] wcpay-payment-welcome-page.js
[edit]
[-] analytics-report-coupons.js
[edit]
[+]
..
[-] 6063.js
[edit]
[-] customizable-dashboard.js
[edit]
[-] analytics-report-downloads.js
[edit]
[-] 5531.js
[edit]
[-] 7708.style.css
[edit]
[-] dashboard.js
[edit]
[-] analytics-report.js
[edit]
[-] store-performance.js
[edit]
[-] 3700.style.css
[edit]
[-] wc-pay-subscriptions-page.js
[edit]
[-] analytics-report-stock.js
[edit]
[-] analytics-settings.js
[edit]
[-] profile-wizard.js
[edit]
[-] 2953.style.css
[edit]
[-] 7433.js
[edit]
[-] 8851.style.css
[edit]
[-] 8597.style.css
[edit]
[-] 6732.style.css
[edit]
[-] 5152.js
[edit]
[-] activity-panels-inbox.js
[edit]
[-] 6063.style.css
[edit]
[-] 6125.style.css
[edit]
[-] 6232.js
[edit]
[-] 9456.style.css
[edit]
[-] analytics-report-categories.js
[edit]
[-] activity-panels-help.js
[edit]
[-] analytics-report-customers.js
[edit]
[-] analytics-report-revenue.js
[edit]
[-] homescreen.js
[edit]
[-] 4011.style.css
[edit]
[-] payment-recommendations.js
[edit]
[-] 5586.js
[edit]
[-] analytics-report-variations.js
[edit]
[-] two-column-tasks-extended.js
[edit]
[-] 6340.style.css
[edit]
[-] 9360.style.css
[edit]
[-] dashboard-charts.js
[edit]
[-] 5502.style.css
[edit]
[-] store-alerts.js
[edit]
[-] 9198.js
[edit]
[-] 185.style.css
[edit]
[-] leaderboards.js
[edit]
[-] 2624.style.css
[edit]
[-] 2502.style.css
[edit]
[-] shipping-recommendations.js
[edit]
[-] 3576.style.css
[edit]
[-] 3726.style.css
[edit]
[-] 6232.style.css
[edit]
[-] analytics-report-taxes.js
[edit]
[-] 6824.style.css
[edit]
[-] 9966.style.css
[edit]
[-] 9792.style.css
[edit]