PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
admin
/
chunks
"use strict";(globalThis.webpackChunk_wcAdmin_webpackJsonp=globalThis.webpackChunk_wcAdmin_webpackJsonp||[]).push([[997],{3581:(e,t,o)=>{o.r(t),o.d(t,{Products:()=>C});var r=o(69307),c=o(66811),n=o(98817),a=o(65736),l=o(23374),s=o(86241),i=o(73224),m=o(55609),d=o(74617),p=o(14599),u=o(53389),_=o(86020);const k=({items:e})=>(0,r.createElement)("div",{className:"woocommerce-products-card-list"},(0,r.createElement)(_.List,{items:e}));var v=o(17624);const g=[{key:"from-csv",title:(0,a.__)("FROM A CSV FILE","woocommerce"),content:(0,a.__)("Import all products at once by uploading a CSV file.","woocommerce"),before:(0,r.createElement)(v.Z,null),onClick:()=>{(0,p.recordEvent)("tasklist_add_product",{method:"import"}),window.location.href=(0,d.getAdminLink)("edit.php?post_type=product&page=product_importer&wc_onboarding_active_task=products")}}];var w=o(35231),h=o(73838),f=o(69359),b=o(35192),E=o(93914),y=o(69987);const C=()=>{const[e,t]=(0,r.useState)(!1),{recordCompletionTime:o}=(0,y.Z)("products"),[c,n]=(0,r.useState)(!1),_=(0,r.useMemo)((()=>g.map((e=>({...e,onClick:()=>{e.onClick(),o()}})))),[o]),{loadSampleProduct:v,isLoadingSampleProducts:C}=(0,b.Z)({redirectUrlAfterSuccess:(0,d.getAdminLink)("edit.php?post_type=product&wc_onboarding_active_task=products")}),{productTypes:O}=(0,w.Z)((0,h.Q)(),[],{onClick:o}),Z=(0,r.createElement)(u.Z,{items:O,onClickLoadSampleProduct:()=>n(!0)});return(0,r.createElement)("div",{className:"woocommerce-task-import-products"},(0,r.createElement)("h1",null,(0,a.__)("Import your products","woocommerce")),(0,r.createElement)(k,{items:_}),(0,r.createElement)("div",{className:"woocommerce-task-import-products-stacks"},(0,r.createElement)(m.Button,{onClick:()=>{(0,p.recordEvent)("tasklist_add_product_from_scratch_click"),t(!e)}},(0,a.__)("Or add your products from scratch","woocommerce"),(0,r.createElement)(l.Z,{icon:e?s.Z:i.Z})),e&&Z),C?(0,r.createElement)(f.Z,null):c&&(0,r.createElement)(E.Z,{onCancel:()=>{n(!1),(0,p.recordEvent)("tasklist_cancel_load_sample_products_click")},onImport:()=>{n(!1),v()}}))};(0,n.registerPlugin)("wc-admin-onboarding-task-products",{scope:"woocommerce-tasks",render:()=>(0,r.createElement)(c.WooOnboardingTask,{id:"products"},(0,r.createElement)(C,null))})},17624:(e,t,o)=>{t.Z=function(e){var t=e.size,o=void 0===t?24:t,r=e.onClick,l=(e.icon,e.className),s=function(e,t){if(null==e)return{};var o,r,c=function(e,t){if(null==e)return{};var o,r,c={},n=Object.keys(e);for(r=0;r<n.length;r++)o=n[r],0<=t.indexOf(o)||(c[o]=e[o]);return c}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],0<=t.indexOf(o)||Object.prototype.propertyIsEnumerable.call(e,o)&&(c[o]=e[o])}return c}(e,n),i=["gridicon","gridicons-pages",l,!1,!1,!1].filter(Boolean).join(" ");return c.default.createElement("svg",a({className:i,height:o,width:o,onClick:r},s,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),c.default.createElement("g",null,c.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6a2 2 0 01-2-2V4a2 2 0 012-2h12a2 2 0 012 2zm-2 10V4H6v16h6v-4a2 2 0 012-2h4z"})))};var r,c=(r=o(99196))&&r.__esModule?r:{default:r},n=["size","onClick","icon","className"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t,o=1;o<arguments.length;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)}}}]);
[-] 0.style.css
[edit]
[-] edit-product-page.js
[edit]
[-] analytics-report-orders.js
[edit]
[-] 8544.style.css
[edit]
[-] 5691.js
[edit]
[-] 6083.js
[edit]
[-] 2953.style.css
[edit]
[-] core-profiler.js
[edit]
[-] 9941.js
[edit]
[-] 7872.js
[edit]
[-] 3963.js
[edit]
[-] 4272.js
[edit]
[-] 1878.js
[edit]
[-] 5292.js
[edit]
[-] analytics-report-taxes.js
[edit]
[-] 4396.js.LICENSE.txt
[edit]
[-] launch-store.js
[edit]
[-] 185.style.css
[edit]
[-] 6732.style.css
[edit]
[-] 5292.style.css
[edit]
[-] 6125.style.css
[edit]
[-] dashboard-charts.js
[edit]
[-] 9360.style.css
[edit]
[-] analytics-report-categories.js
[edit]
[-] leaderboards.js
[edit]
[-] wcpay-payment-welcome-page.js
[edit]
[-] analytics-report-products.js
[edit]
[-] 1878.js.LICENSE.txt
[edit]
[-] analytics-report.js
[edit]
[-] 5771.js
[edit]
[-] 6824.style.css
[edit]
[-] 9456.style.css
[edit]
[-] 7387.style.css
[edit]
[-] 3307.style.css
[edit]
[-] store-alerts.js
[edit]
[-] 9792.style.css
[edit]
[-] customizable-dashboard.js
[edit]
[-] homescreen.js
[edit]
[-] store-performance.js
[edit]
[-] shipping-recommendations.js
[edit]
[-] analytics-report-variations.js
[edit]
[-] 6224.js
[edit]
[-] 8219.style.css
[edit]
[-] analytics-report-downloads.js
[edit]
[-] 9669.style.css
[edit]
[-] 3994.style.css
[edit]
[-] 727.style.css
[edit]
[-] settings-payments-offline.js
[edit]
[-] 0.js
[edit]
[-] 9966.style.css
[edit]
[-] 2106.js
[edit]
[-] analytics-report-customers.js
[edit]
[-] multichannel-marketing.js
[edit]
[-] analytics-report-revenue.js
[edit]
[-] 2397.style.css
[edit]
[-] 9850.js
[edit]
[-] 4882.style.css
[edit]
[-] 925.style.css
[edit]
[-] settings-payments-main.js
[edit]
[-] 2624.style.css
[edit]
[-] 8597.style.css
[edit]
[-] 6802.js
[edit]
[-] 3963.js.LICENSE.txt
[edit]
[-] profile-wizard.js
[edit]
[-] 4940.js
[edit]
[-] 1850.js
[edit]
[-] 2502.style.css
[edit]
[-] 318.style.css
[edit]
[-] analytics-report-coupons.js
[edit]
[-] 997.style.css
[edit]
[-] 6802.js.LICENSE.txt
[edit]
[-] 8534.style.css
[edit]
[-] 7872.js.LICENSE.txt
[edit]
[-] 1828.style.css
[edit]
[-] marketplace.js
[edit]
[-] analytics-report-stock.js
[edit]
[-] 8851.style.css
[edit]
[-] 1910.js
[edit]
[-] product-page.js
[edit]
[-] activity-panels-setup.js
[edit]
[-] 7708.style.css
[edit]
[-] 997.js
[edit]
[-] dashboard.js
[edit]
[-] 3576.style.css
[edit]
[-] payment-recommendations.js
[edit]
[-] core-profiler.js.LICENSE.txt
[edit]
[-] 4396.js
[edit]
[-] 9488.js
[edit]
[-] settings-payments-woocommerce-payments.js
[edit]
[-] 5712.style.css
[edit]
[-] 6290.js
[edit]
[-] customize-store.js
[edit]
[-] 4098.js
[edit]
[-] 3700.style.css
[edit]
[-] activity-panels-help.js
[edit]
[+]
..
[-] activity-panels-inbox.js
[edit]
[-] category-metabox.js
[edit]
[-] 4854.style.css
[edit]
[-] analytics-settings.js
[edit]
[-] 4940.js.LICENSE.txt
[edit]
[-] 9488.js.LICENSE.txt
[edit]
[-] 4011.style.css
[edit]
[-] 1910.style.css
[edit]