PATH:
home
/
lab2454c
/
dansact.com
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
chunks
(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[6125],{14805:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var c=i(69307),o=i(65736),M=i(9818),L=i(14812),u=i(67221),s=i(72672),m=i(55609),n=i(37942),j=i(86020),N=i(83849),r=i.n(N);const a=(0,c.createContext)(""),l=e=>{let{children:t,onDismiss:i=(()=>null)}=e;const{updateOptions:L}=(0,M.useDispatch)(u.OPTIONS_STORE_NAME),s=(0,c.useContext)(a),n=()=>{i(),L({[s]:"yes"})};return(0,c.createElement)(m.CardHeader,null,(0,c.createElement)("div",{className:"woocommerce-dismissable-list__header"},t),(0,c.createElement)("div",null,(0,c.createElement)(j.EllipsisMenu,{label:(0,o.__)("Task List Options","woocommerce"),renderContent:()=>(0,c.createElement)("div",{className:"woocommerce-dismissable-list__controls"},(0,c.createElement)(m.Button,{onClick:n},(0,o.__)("Hide this","woocommerce")))})))},S=e=>{let{children:t,className:i,dismissOptionName:o}=e;return(0,M.useSelect)((e=>{const{getOption:t,hasFinishedResolution:i}=e(u.OPTIONS_STORE_NAME),c=i("getOption",[o]),M="yes"===t(o);return c&&!M}))?(0,c.createElement)(m.Card,{size:"medium",className:r()("woocommerce-dismissable-list",i)},(0,c.createElement)(a.Provider,{value:o},t)):null};var g=i(74617),T=i(40610),y=i.n(T);const E=e=>{let{onSetupClick:t,pluginsBeingSetup:i}=e;const{createSuccessNotice:L}=(0,M.useDispatch)("core/notices"),s=(0,M.useSelect)((e=>e(u.PLUGINS_STORE_NAME).isJetpackConnected()));return(0,c.createElement)("div",{className:"woocommerce-list__item-inner woocommerce-services-item"},(0,c.createElement)("div",{className:"woocommerce-list__item-before"},(0,c.createElement)("img",{className:"woocommerce-services-item__logo",src:y(),alt:""})),(0,c.createElement)("div",{className:"woocommerce-list__item-text"},(0,c.createElement)("span",{className:"woocommerce-list__item-title"},(0,o.__)("Woocommerce Shipping","woocommerce"),(0,c.createElement)(j.Pill,null,(0,o.__)("Recommended","woocommerce"))),(0,c.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,c.createElement)("br",null),(0,c.createElement)(m.ExternalLink,{href:"https://woocommerce.com/woocommerce-shipping/"},(0,o.__)("Learn more","woocommerce")))),(0,c.createElement)("div",{className:"woocommerce-list__item-after"},(0,c.createElement)(m.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:i.includes("woocommerce-services"),disabled:i.length>0},(0,o.__)("Get started","woocommerce"))))},I=e=>{let{children:t}=e;return(0,c.createElement)(S,{className:"woocommerce-recommended-shipping-extensions",dismissOptionName:"woocommerce_settings_shipping_recommendations_hidden"},(0,c.createElement)(l,null,(0,c.createElement)(L.Text,{variant:"title.small",as:"p",size:"20",lineHeight:"28px"},(0,o.__)("Recommended shipping solutions","woocommerce")),(0,c.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,c.createElement)("ul",{className:"woocommerce-list"},c.Children.map(t,(e=>(0,c.createElement)("li",{className:"woocommerce-list__item"},e)))),(0,c.createElement)(m.CardFooter,null,(0,c.createElement)(m.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,c.createElement)(m.VisuallyHidden,null,(0,o.__)("(opens in a new tab)","woocommerce")),(0,c.createElement)(s.Z,{size:18}))))},A=()=>{const[e,t]=(()=>{const[e,t]=(0,c.useState)([]),{installAndActivatePlugins:i}=(0,M.useDispatch)(u.PLUGINS_STORE_NAME);return[e,c=>e.length>0?Promise.resolve():(t(c),i(c).then((()=>{t([])})).catch((e=>((0,n.a)(e),t([]),Promise.reject()))))]})();return(0,M.useSelect)((e=>e(u.PLUGINS_STORE_NAME).getActivePlugins())).includes("woocommerce-services")?null:(0,c.createElement)(I,null,(0,c.createElement)(E,{pluginsBeingSetup:e,onSetupClick:t}))}},40610:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAgMTIwIj48cGF0aCBmaWxsPSIjN2Q1N2E0IiBkPSJNMCAwaDEyMHYxMjBIMHoiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJNNjcuNDggNTMuNTVjLTEuMTktLjI2LTIuMzMuNDItMy40MyAyLjAzLS44NyAxLjI2LTEuNDUgMi41Ni0xLjc0IDMuOTEtLjE2Ljc3LS4yNCAxLjU4LS4yNCAyLjQxIDAgLjk3LjE5IDEuOTYuNTggMi45OS40OCAxLjI2IDEuMTMgMS45NiAxLjkzIDIuMTIuOC4xNiAxLjY5LS4xOSAyLjY2LTEuMDYgMS4yMi0xLjA5IDIuMDYtMi43MiAyLjUxLTQuODguMTYtLjc3LjI0LTEuNTguMjQtMi40MSAwLS45Ny0uMTktMS45Ni0uNTgtMi45OS0uNDgtMS4yNS0xLjEyLTEuOTYtMS45My0yLjEyem0yMC42MiAwYy0xLjE5LS4yNi0yLjMzLjQyLTMuNDMgMi4wMy0uODcgMS4yNi0xLjQ1IDIuNTYtMS43NCAzLjkxLS4xNi43Ny0uMjQgMS41OC0uMjQgMi40MSAwIC45Ny4xOSAxLjk2LjU4IDIuOTkuNDggMS4yNiAxLjEzIDEuOTYgMS45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AyLjE3LTEuNDYuNzctLjA1IDEuNDYuMTYgMi4wOC42NS42Mi40OS45NSAxLjEyIDEgMS44OS4wNC41OC0uMDcgMS4xLS4zMiAxLjU3LTEuMjggMi4zOC0yLjM0IDYuMzQtMy4xOCAxMS44OS0uODIgNS4zNC0xLjEzIDkuNTMtLjkxIDEyLjU0em0yMC4yLTUuMTZjLTEuOTYgMy4yOC00LjU0IDQuOTItNy43MiA0LjkyLS41OCAwLTEuMTgtLjA3LTEuNzktLjE5LTIuMzItLjQ4LTQuMDctMS43NS01LjI2LTMuODEtMS4wNi0xLjgtMS41OS0zLjk3LTEuNTktNi41MiAwLTMuMzguODUtNi40NyAyLjU2LTkuMjcgMi0zLjI4IDQuNTctNC45MiA3LjcyLTQuOTIuNTggMCAxLjE3LjA3IDEuNzkuMTkgMi4zMi40OCA0LjA3IDEuNzUgNS4yNiAzLjgxIDEuMDYgMS43NyAxLjU5IDMuOTMgMS41OSA2LjQ3LS4wMSAzLjM4LS44NiA2LjQ4LTIuNTYgOS4zMnptMjAuNjIgMGMtMS45NiAzLjI4LTQuNTQgNC45Mi03LjcyIDQuOTItLjU4IDAtMS4xNy0uMDctMS43OC0uMTktMi4zMi0uNDgtNC4wNy0xLjc1LTUuMjYtMy44MS0xLjA2LTEuOC0xLjU5LTMuOTctMS41OS02LjUyIDAtMy4zOC44NS02LjQ3IDIuNTYtOS4yNyAyLTMuMjggNC41Ny00LjkyIDcuNzItNC45Mi41OCAwIDEuMTcuMDcgMS43OC4xOSAyLjMyLjQ4IDQuMDcgMS43NSA1LjI2IDMuODEgMS4wNiAxLjc3IDEuNTkgMy45MyAxLjU5IDYuNDcgMCAzLjM4LS44NiA2LjQ4LTIuNTYgOS4zMnoiLz48L3N2Zz4K"}}]);
[-] 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]
[-] 5152.js.LICENSE.txt
[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]
[-] activity-panels-setup.js
[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]