text: (window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[32],{220:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(24);function c(e){var t=Object(a.dispatch)("core/notices").createNotice;e.error_data&&e.errors&&Object.keys(e.errors).length?Object.keys(e.errors).forEach((function(n){t("error",e.errors[n].join(" "))})):e.message&&t(e.code?"error":"success",e.message)}},279:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(0),c=new WeakMap;function r(e,t){return Object(a.useMemo)((function(){var n=function(e){var t=c.get(e)||0;return c.set(e,t+1),t}(e);return t?"".concat(t,"-").concat(n):n}),[e])}},739:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return j})),n.d(t,"b",(function(){return y})),n.d(t,"f",(function(){return g})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return w}));var a=n(5),c=n.n(a),r=n(53),o=n.n(r),i=n(2),l=n(17),s=n.n(l),m=n(115),u=n(29),d=n(36),f=n(739);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){var t=e.endpoint,n=e.query,a=e.limitBy,r=e.filters,l=void 0===r?[]:r,d=e.advancedFilters,f=void 0===d?{}:d;return n.search?(a||[t]).reduce((function(e,t){return e[t]=n[t],e}),{}):l.map((function(e){return function(e,t,n){var a=n[e.param];if(!a)return{};if("advanced"===a){var r=Object(u.getActiveFiltersFromQuery)(n,t.filters);return 0===r.length?{}:r.map((function(e){return function(e,t){var n=e.filters[t.key];if("Date"!==Object(i.get)(n,["input","component"]))return t;var a=t.rule,c=t.value,r={after:"start",before:"end"};if(Array.isArray(c)){var l=o()(c,2),u=l[0],d=l[1];return Object.assign({},t,{value:[Object(m.a)(s()(u),r.after),Object(m.a)(s()(d),r.before)]})}return Object.assign({},t,{value:Object(m.a)(s()(c),r[a])})}(t,e)})).reduce((function(e,t){var n=t.key,a=t.rule,c=t.value;return e[Object(u.getUrlKey)(n,a)]=c,e}),{match:n.match||"all"})}var l=Object(i.find)(Object(u.flattenFilters)(e.filters),{value:a});if(!l)return{};if(l.settings&&l.settings.param){var d=l.settings.param;return n[d]?c()({},d,n[d]):{}}return c()({},e.param,a)}(e,f,n)})).reduce((function(e,t){return Object.assign(e,t)}),{})}var v=["stock","customers"];function O(e){var t=e.endpoint,n=e.dataType,a=e.query,c=e.fields,r=Object(m.f)(a,e.defaultDateRange),o=Object(m.i)(a),l=h(e),s=r[n].before;return Object(i.includes)(v,t)?b(b({},l),{},{fields:c}):b({order:"asc",interval:o,per_page:d.b,after:Object(m.a)(r[n].after,"start"),before:Object(m.a)(s,"end"),segmentby:a.segmentby,fields:c},l)}function j(e){var t=e.endpoint,n=(0,e.select)("wc-api"),a=n.getReportStats,c=n.getReportStatsError,r=n.isReportStatsRequesting,o={isRequesting:!1,isError:!1,totals:{primary:null,secondary:null}},i=O(b(b({},e),{},{dataType:"primary"})),l=a(t,i);if(r(t,i))return b(b({},o),{},{isRequesting:!0});if(c(t,i))return b(b({},o),{},{isError:!0});var s=l&&l.data&&l.data.totals||null,m=O(b(b({},e),{},{dataType:"secondary"})),u=a(t,m);if(r(t,m))return b(b({},o),{},{isRequesting:!0});if(c(t,m))return b(b({},o),{},{isError:!0});var d=u&&u.data&&u.data.totals||null;return b(b({},o),{},{totals:{primary:s,secondary:d}})}function y(e){var t=e.endpoint,n=(0,e.select)("wc-api"),a=n.getReportStats,c=n.getReportStatsError,r=n.isReportStatsRequesting,o={isEmpty:!1,isError:!1,isRequesting:!1,data:{totals:{},intervals:[]}},l=O(e),s=a(t,l);if(r(t,l))return b(b({},o),{},{isRequesting:!0});if(c(t,l))return b(b({},o),{},{isError:!0});if(function(e,t){return!e||(!e.data||(!(e.data.totals&&!Object(i.isNull)(e.data.totals))||!(Object(i.includes)(v,t)||e.data.intervals&&0!==e.data.intervals.length)))}(s,t))return b(b({},o),{},{isEmpty:!0});var m=s&&s.data&&s.data.totals||null,u=s&&s.data&&s.data.intervals||[];if(s.totalResults>d.b){for(var f=!0,p=!1,h=[],j=Math.ceil(s.totalResults/d.b),y=1,g=2;g<=j;g++){var _=b(b({},l),{},{page:g}),w=a(t,_);if(!r(t,_)){if(c(t,_)){p=!0,f=!1;break}if(h.push(w),++y===j){f=!1;break}}}if(f)return b(b({},o),{},{isRequesting:!0});if(p)return b(b({},o),{},{isError:!0});Object(i.forEach)(h,(function(e){u=u.concat(e.data.intervals)}))}return b(b({},o),{},{data:{totals:m,intervals:u}})}function g(e,t){switch(e){case"currency":return t;case"percent":return".0%";case"number":return",";case"average":return",.2r";default:return","}}function _(e){var t=e.query,n=e.tableQuery,a=void 0===n?{}:n,c=h(e),r=Object(m.f)(t,e.defaultDateRange),o=Object(i.includes)(v,e.endpoint);return b(b({orderby:t.orderby||"date",order:t.order||"desc",after:o?void 0:Object(m.a)(r.primary.after,"start"),before:o?void 0:Object(m.a)(r.primary.before,"end"),page:t.paged||1,per_page:t.per_page||d.d.pageSize},c),a)}function w(e){var t=e.endpoint,n=(0,e.select)("wc-api"),a=n.getReportItems,c=n.getReportItemsError,r=n.isReportItemsRequesting,o=f.d(e),i={query:o,isRequesting:!1,isError:!1,items:{data:[],totalResults:0}},l=a(t,o);return r(t,o)?b(b({},i),{},{isRequesting:!0}):c(t,o)?b(b({},i),{},{isError:!0}):b(b({},i),{},{items:l})}},746:function(e,t,n){"use strict";var a=n(756),c=["a","b","em","i","strong","p"],r=["target","href","rel","name","download"];t.a=function(e){return{__html:Object(a.sanitize)(e,{ALLOWED_TAGS:c,ALLOWED_ATTR:r})}}},748:function(e,t,n){"use strict";var a=n(13),c=n.n(a),r=n(12),o=n.n(r),i=n(14),l=n.n(i),s=n(15),m=n.n(s),u=n(6),d=n.n(u),f=n(0),p=n(4),b=n.n(p),h=n(1),v=n.n(h),O=n(759),j=(n(750),n(55));function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=d()(e);if(t){var c=d()(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return m()(this,n)}}var g=function(e){l()(n,e);var t=y(n);function n(){return c()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.menu,a=e.subtitle,c=e.title,r=e.unreadMessages,o=b()({"woocommerce-layout__inbox-panel-header":a,"woocommerce-layout__activity-panel-header":!a},t),i=r||0;return Object(f.createElement)("div",{className:o},Object(f.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(f.createElement)(O.a,{variant:"title.small"},c),Object(f.createElement)(O.a,{variant:"button"},i>0&&Object(f.createElement)("span",{className:"woocommerce-layout__inbox-badge"},r))),Object(f.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},a&&Object(f.createElement)(O.a,{variant:"body.small"},a)),n&&Object(f.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},n))}}]),n}(f.Component);g.propTypes={className:v.a.string,unreadMessages:v.a.number,title:v.a.string.isRequired,subtitle:v.a.string,menu:v.a.shape({type:v.a.oneOf([j.EllipsisMenu])})},t.a=g},750:function(e,t,n){},751:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return N}));var a=n(13),c=n.n(a),r=n(12),o=n.n(r),i=n(14),l=n.n(i),s=n(15),m=n.n(s),u=n(6),d=n.n(u),f=n(0),p=n(4),b=n.n(p),h=n(86),v=n.n(h),O=n(17),j=n.n(O),y=n(1),g=n.n(y),_=(n(752),n(55)),w=n(2);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=d()(e);if(t){var c=d()(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return m()(this,n)}}var k=function(e){l()(n,e);var t=E(n);function n(){return c()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.hasAction,a=e.hasDate,c=e.hasSubtitle,r=e.lines,o=b()("woocommerce-activity-card is-loading",t);return Object(f.createElement)("div",{className:o,"aria-hidden":!0},Object(f.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(f.createElement)("span",{className:"is-placeholder"})),Object(f.createElement)("div",{className:"woocommerce-activity-card__header"},Object(f.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),c&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),a&&Object(f.createElement)("div",{className:"woocommerce-activity-card__date"},Object(f.createElement)("span",{className:"is-placeholder"}))),Object(f.createElement)("div",{className:"woocommerce-activity-card__body"},Object(w.range)(r).map((function(e){return Object(f.createElement)("span",{className:"is-placeholder",key:e})}))),n&&Object(f.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(f.createElement)("span",{className:"is-placeholder"})))}}]),n}(f.Component);k.propTypes={className:g.a.string,hasAction:g.a.bool,hasDate:g.a.bool,hasSubtitle:g.a.bool,lines:g.a.number},k.defaultProps={hasAction:!1,hasDate:!1,hasSubtitle:!1,lines:1};var N=k;function z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=d()(e);if(t){var c=d()(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return m()(this,n)}}var C=function(e){l()(n,e);var t=z(n);function n(){return c()(this,n),t.apply(this,arguments)}return o()(n,[{key:"render",value:function(){var e=this.props,t=e.actions,n=e.className,a=e.children,c=e.date,r=e.icon,o=e.subtitle,i=e.title,l=e.unread,s=b()("woocommerce-activity-card",n),m=Array.isArray(t)?t:[t];return Object(f.createElement)("section",{className:s},l&&Object(f.createElement)("span",{className:"woocommerce-activity-card__unread"}),r&&Object(f.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},r),Object(f.createElement)("header",{className:"woocommerce-activity-card__header"},Object(f.createElement)(_.H,{className:"woocommerce-activity-card__title"},i),o&&Object(f.createElement)("div",{className:"woocommerce-activity-card__subtitle"},o),c&&Object(f.createElement)("span",{className:"woocommerce-activity-card__date"},j.a.utc(c).fromNow())),Object(f.createElement)(_.Section,{className:"woocommerce-activity-card__body"},a),t&&Object(f.createElement)("footer",{className:"woocommerce-activity-card__actions"},m.map((function(e,t){return Object(f.cloneElement)(e,{key:t})}))))}}]),n}(f.Component);C.propTypes={actions:g.a.oneOfType([g.a.arrayOf(g.a.element),g.a.element]),className:g.a.string,children:g.a.node.isRequired,date:g.a.string,icon:g.a.node,subtitle:g.a.node,title:g.a.oneOfType([g.a.string,g.a.node]).isRequired,unread:g.a.bool},C.defaultProps={icon:Object(f.createElement)(v.a,{icon:"notice-outline",size:48}),unread:!1}},752:function(e,t,n){},758:function(e,t,n){},759:function(e,t,n){"use strict";var a=n(280),c=n(98),r=n(167).b;function o(){var e=Object(c.a)(["\n\t","\n\t","\n"]);return o=function(){return e},e}function i(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return i=function(){return e},e}function l(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return l=function(){return e},e}function s(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t"]);return s=function(){return e},e}function m(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return m=function(){return e},e}function u(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return u=function(){return e},e}function d(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return d=function(){return e},e}function f(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return f=function(){return e},e}function p(){var e=Object(c.a)(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return p=function(){return e},e}var b="\n  ".concat("font-weight: 400;","\n"),h="\n\tfont-size: 32px;\n\tline-height: 40px;\n",v="\n\tfont-size: 24px;\n\tline-height: 32px;\n",O="\n\tfont-size: 20px;\n\tline-height: 28px;\n",j="\n\t".concat("font-weight: 600;","\n\tfont-size: 14px;\n\tline-height: 20px;\n"),y="\n\t".concat("font-weight: 400;","\n"),g="\n\tfont-size: 16px;\n\tline-height: 24px;\n",_="\n\tfont-size: 14px;\n\tline-height: 20px;\n",w="\n  ".concat("font-weight: 600;","\n  font-size: 14px;\n  line-height: 20px;\n"),E="\n\t".concat("font-weight: 400;","\n\tfont-size: 12px;\n\tline-height: 16px;\n"),k="\n\t".concat("font-weight: 600;","\n\tfont-size: 12px;\n\tline-height: 16px;\n"),N=Object(a.a)("p",{target:"e15wbhsk0",label:"Text"})("\n\tbox-sizing: border-box;\n\tmargin: 0;\n",(function(e){return r(o(),'font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,\nOxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;',function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body";switch(e){case"title.large":return r(p(),b,h);case"title.medium":return r(f(),b,v);case"title.small":return r(d(),b,O);case"subtitle":return r(u(),j,"\n\tfont-size: 16px;\n\tline-height: 24px;\n");case"subtitle.small":return r(m(),j,"\n\tfont-size: 14px;\n\tline-height: 20px;\n");case"body":return r(s(),y);case"body.large":return r(l(),y,g);case"body.small":return r(i(),y,_);case"button":return w;case"caption":return E;case"label":return k}}(e.variant))}),"");t.a=N},762:function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v}));var a=n(5),c=n.n(a),r=n(17),o=n.n(r),i=n(2),l=n(32),s=n(46),m=n(29),u=n(219),d=n(28),f=n(739);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=e.indicator,n=e.primaryData,a=e.secondaryData,c=e.currency,r=e.formatAmount,o=e.persistedQuery,l=Object(i.find)(n.data,(function(e){return e.stat===t.stat})),s=Object(i.find)(a.data,(function(e){return e.stat===t.stat}));if(!l||!s)return{};var f=l._links&&l._links.report[0]&&l._links.report[0].href||"",p=function(e,t,n){return e?"/jetpack"===e?Object(d.f)("admin.php?page=jetpack#/dashboard"):Object(m.getNewPath)(t,e,{chart:n.chart}):""}(f,o,l),b="/jetpack"===f?"wp-admin":"wc-admin",h="currency"===l.format,v=Object(u.calculateDelta)(l.value,s.value);return{primaryValue:h?r(l.value):Object(u.formatValue)(c,l.format,l.value),secondaryValue:h?r(s.value):Object(u.formatValue)(c,s.format,s.value),delta:v,reportUrl:p,reportUrlType:b}},v=function(e,t,n,a){var c=e("wc-api"),r=c.getReportItems,i=c.getReportItemsError,m=c.isReportItemsRequesting,u=e(s.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,d=Object(l.getCurrentDates)(n,u),p=d.primary.before,h=d.secondary.before,v=t.map((function(e){return e.stat})).join(","),O=Object(f.a)({filters:a,query:n}),j=b(b({},O),{},{after:Object(l.appendTimestamp)(d.primary.after,"start"),before:Object(l.appendTimestamp)(p,p.isSame(o()(),"day")?"now":"end"),stats:v}),y=b(b({},O),{},{after:Object(l.appendTimestamp)(d.secondary.after,"start"),before:Object(l.appendTimestamp)(h,h.isSame(o()(),"day")?"now":"end"),stats:v});return{primaryData:r("performance-indicators",j),primaryError:i("performance-indicators",j)||null,primaryRequesting:m("performance-indicators",j),secondaryData:r("performance-indicators",y),secondaryError:i("performance-indicators",y)||null,secondaryRequesting:m("performance-indicators",y),defaultDateRange:u}}},763:function(e,t,n){},764:function(e,t,n){var a;a=function(e,t){return function(e){var t={};function n(a){if(t[a])return t[a].exports;var c=t[a]={i:a,l:!1,exports:{}};return e[a].call(c.exports,c,c.exports,n),c.l=!0,c.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)n.d(a,c,function(t){return e[t]}.bind(null,c));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){e.exports=n(5)()},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=function(e,t,n){var a=e.direction,c=e.value;switch(a){case"top":return n.top+c<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+c<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-c>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-c>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return v}));var a=n(1),c=n.n(a),r=n(2),o=n.n(r),i=n(0),l=n.n(i),s=n(3),m=n.n(s);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){function t(e){var n,a,c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,c=f(t).call(this,e),n=!c||"object"!==u(c)&&"function"!=typeof c?p(a):c,h(p(n),"getContainer",(function(){return n.props.containment||window})),h(p(n),"addEventListener",(function(e,t,a,c){var r;n.debounceCheck||(n.debounceCheck={});var o=function(){r=null,n.check()},i={target:e,fn:c>-1?function(){r||(r=setTimeout(o,c||0))}:function(){clearTimeout(r),r=setTimeout(o,a||0)},getLastTimeout:function(){return r}};e.addEventListener(t,i.fn),n.debounceCheck[t]=i})),h(p(n),"startWatching",(function(){n.debounceCheck||n.interval||(n.props.intervalCheck&&(n.interval=setInterval(n.check,n.props.intervalDelay)),n.props.scrollCheck&&n.addEventListener(n.getContainer(),"scroll",n.props.scrollDelay,n.props.scrollThrottle),n.props.resizeCheck&&n.addEventListener(window,"resize",n.props.resizeDelay,n.props.resizeThrottle),!n.props.delayedCall&&n.check())})),h(p(n),"stopWatching",(function(){if(n.debounceCheck)for(var e in n.debounceCheck)if(n.debounceCheck.hasOwnProperty(e)){var t=n.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),n.debounceCheck[e]=null}n.debounceCheck=null,n.interval&&(n.interval=clearInterval(n.interval))})),h(p(n),"check",(function(){var e,t,a=n.node;if(!a)return n.state;if(e=function(e){return void 0===e.width&&(e.width=e.right-e.left),void 0===e.height&&(e.height=e.bottom-e.top),e}(n.roundRectDown(a.getBoundingClientRect())),n.props.containment){var c=n.props.containment.getBoundingClientRect();t={top:c.top,left:c.left,bottom:c.bottom,right:c.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var r=n.props.offset||{};"object"===u(r)&&(t.top+=r.top||0,t.left+=r.left||0,t.bottom-=r.bottom||0,t.right-=r.right||0);var o={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},i=e.height>0&&e.width>0,l=i&&o.top&&o.left&&o.bottom&&o.right;if(i&&n.props.partialVisibility){var s=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof n.props.partialVisibility&&(s=o[n.props.partialVisibility]),l=n.props.minTopValue?s&&e.top<=t.bottom-n.props.minTopValue:s}"string"==typeof r.direction&&"number"==typeof r.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",r.direction,r.value),l=m()(r,e,t));var d=n.state;return n.state.isVisible!==l&&(d={isVisible:l,visibilityRect:o},n.setState(d),n.props.onChange&&n.props.onChange(l)),d})),n.state={isVisible:null,visibilityRect:{}},n}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){this.node=o.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=o.a.findDOMNode(this),this.props.active&&!e.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(e){return{top:Math.floor(e.top),left:Math.floor(e.left),bottom:Math.floor(e.bottom),right:Math.floor(e.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):c.a.Children.only(this.props.children)}}])&&d(n.prototype,a),r&&d(n,r),t}(c.a.Component);h(v,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:c.a.createElement("span",null)}),h(v,"propTypes",{onChange:l.a.func,active:l.a.bool,partialVisibility:l.a.oneOfType([l.a.bool,l.a.oneOf(["top","right","bottom","left"])]),delayedCall:l.a.bool,offset:l.a.oneOfType([l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),l.a.shape({direction:l.a.oneOf(["top","right","bottom","left"]),value:l.a.number})]),scrollCheck:l.a.bool,scrollDelay:l.a.number,scrollThrottle:l.a.number,resizeCheck:l.a.bool,resizeDelay:l.a.number,resizeThrottle:l.a.number,intervalCheck:l.a.bool,intervalDelay:l.a.number,containment:"undefined"!=typeof window?l.a.instanceOf(window.Element):l.a.any,children:l.a.oneOfType([l.a.element,l.a.func]),minTopValue:l.a.number})},function(e,t,n){"use strict";var a=n(6);function c(){}function r(){}r.resetWarningCache=c,e.exports=function(){function e(e,t,n,c,r,o){if(o!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:c};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=a(n(10),n(79))},765:function(e,t,n){},780:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(8),c=n(26),r=n(0),o=n(4),i=n.n(o),l=n(121);function s(e){var t,n,o,s,m,u,d=e.renderContent,f=e.renderToggle,p=e.position,b=void 0===p?"bottom right":p,h=e.className,v=e.contentClassName,O=e.expandOnMobile,j=e.headerTitle,y=e.focusOnMount,g=e.popoverProps,_=e.onClose,w=e.onToggle,E=Object(r.useRef)(),k=(t=!1,n=w,o=Object(r.useState)(t),s=Object(c.a)(o,2),m=s[0],u=s[1],[m,function(e){u(e),n&&n(e)}]),N=Object(c.a)(k,2),z=N[0],C=N[1];function M(){_&&_(),C(!1)}Object(r.useEffect)((function(){return function(){w&&w(!1)}}),[]);var R={isOpen:z,onToggle:function(){C(!z)},onClose:M};return Object(r.createElement)("div",{className:i()("components-dropdown",h),ref:E},f(R),z&&Object(r.createElement)(l.a,Object(a.a)({position:b,onClose:M,onFocusOutside:function(){E.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||M()},expandOnMobile:O,headerTitle:j,focusOnMount:y},g,{anchorRef:E.current,className:i()("components-dropdown__content",g?g.className:void 0,v)}),d(R)))}},785:function(e,t,n){"use strict";n.r(t);var a=n(49),c=n.n(a),r=n(0),o=n(3),i=n(185),l=n(46),s=n(751),m=n(13),u=n.n(m),d=n(12),f=n.n(d),p=n(14),b=n.n(p),h=n(15),v=n.n(h),O=n(6),j=n.n(O),y=n(1),g=n.n(y);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=j()(e);if(t){var c=j()(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return v()(this,n)}}var w=function(e){b()(n,e);var t=_(n);function n(){return u()(this,n),t.apply(this,arguments)}return f()(n,[{key:"render",value:function(){var e=this.props.className;return Object(r.createElement)("div",{className:"woocommerce-inbox-message is-placeholder ".concat(e),"aria-hidden":!0},Object(r.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(r.createElement)("div",{className:"banner-block"})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__content"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__date"},Object(r.createElement)("div",{className:"sixth-line"})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__title"},Object(r.createElement)("div",{className:"line"}),Object(r.createElement)("div",{className:"line"})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__text"},Object(r.createElement)("div",{className:"line"}),Object(r.createElement)("div",{className:"third-line"}))),Object(r.createElement)("div",{className:"woocommerce-inbox-message__actions"},Object(r.createElement)("div",{className:"fifth-line"}),Object(r.createElement)("div",{className:"fifth-line"}))))}}]),n}(r.Component);w.propTypes={className:g.a.string};var E=w,k=n(748),N=n(7),z=n.n(N),C=n(5),M=n.n(C),R=n(780),P=n(90),x=n(714),T=n(764),D=n.n(T),S=n(17),A=n.n(S),q=n(24),V=n(28);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=j()(e);if(t){var c=j()(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return v()(this,n)}}var I=function(e){b()(n,e);var t=L(n);function n(e){var a;return u()(this,n),(a=t.call(this,e)).state={inAction:!1},a.handleActionClick=a.handleActionClick.bind(z()(a)),a}return f()(n,[{key:"handleActionClick",value:function(e){var t=this.props,n=t.action,a=t.actionCallback,c=t.noteId,r=t.triggerNoteAction,o=t.removeAllNotes,i=t.removeNote,l=t.onClick,s=e.target.href||"",m=!0;s.length&&!s.startsWith(V.a)&&(e.preventDefault(),m=!1,window.open(s,"_blank")),n?this.setState({inAction:m},(function(){r(c,n.id),l&&l()})):(c?i(c):o(),a(!0))}},{key:"render",value:function(){var e=this.props,t=e.action,n=e.dismiss,a=e.label;return Object(r.createElement)(P.a,{isSecondary:!0,isBusy:this.state.inAction,disabled:this.state.inAction,href:t&&t.url&&t.url.length?t.url:void 0,onClick:this.handleActionClick},n?a:t.label)}}]),n}(r.Component);I.propTypes={noteId:g.a.number,label:g.a.string,dismiss:g.a.bool,actionCallback:g.a.func,action:g.a.shape({id:g.a.number.isRequired,url:g.a.string,label:g.a.string.isRequired,primary:g.a.bool.isRequired}),onClick:g.a.func};var H=Object(i.a)(Object(q.withDispatch)((function(e){var t=e("wc-api");return{removeAllNotes:t.removeAllNotes,removeNote:t.removeNote,triggerNoteAction:t.triggerNoteAction}})))(I),U=n(746),B=n(4),F=n.n(B),W=n(63),J=(n(765),n(55)),G=n(286);function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=j()(e);if(t){var c=j()(this).constructor;n=Reflect.construct(a,arguments,c)}else n=a.apply(this,arguments);return v()(this,n)}}var Q=function(e){b()(n,e);var t=K(n);function n(e){var a;return u()(this,n),a=t.call(this,e),M()(z()(a),"onActionClicked",(function(e){e.actioned_text&&a.setState({clickedActionText:e.actioned_text})})),a.onVisible=a.onVisible.bind(z()(a)),a.hasBeenSeen=!1,a.state={isDismissModalOpen:!1,dismissType:null,clickedActionText:null},a.openDismissModal=a.openDismissModal.bind(z()(a)),a.closeDismissModal=a.closeDismissModal.bind(z()(a)),a.bodyNotificationRef=Object(r.createRef)(),a.screen=Object(G.a)(),a}return f()(n,[{key:"componentDidMount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.addEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.bodyNotificationRef.current&&this.bodyNotificationRef.current.removeEventListener("click",(function(t){return e.handleBodyClick(t,e.props)}))}},{key:"handleBodyClick",value:function(e,t){var n=e.target.href;if(n){var a=t.note;Object(W.b)("wcadmin_inbox_action_click",{note_name:a.name,note_title:a.title,note_content_inner_link:n})}}},{key:"onVisible",value:function(e){if(e&&!this.hasBeenSeen){var t=this.props.note;Object(W.b)("inbox_note_view",{note_content:t.content,note_name:t.name,note_title:t.title,note_type:t.type,screen:this.screen}),this.hasBeenSeen=!0}}},{key:"openDismissModal",value:function(e,t){this.setState({isDismissModalOpen:!0,dismissType:e}),t()}},{key:"closeDismissModal",value:function(e){var t=this.state.dismissType,n=this.props.note,a="all"===t;Object(W.b)("inbox_action_dismiss",{note_name:n.name,note_title:n.title,note_name_dismiss_all:a,note_name_dismiss_confirmation:e||!1,screen:this.screen}),this.setState({isDismissModalOpen:!1})}},{key:"handleBlur",value:function(e,t){var n=e.relatedTarget?e.relatedTarget:document.activeElement;!!n&&["woocommerce-admin-dismiss-notification","components-popover__content"].some((function(e){return n.className.includes(e)}))?e.preventDefault():t()}},{key:"renderDismissButton",value:function(){var e=this;return this.state.clickedActionText?null:Object(r.createElement)(R.a,{contentClassName:"woocommerce-admin-dismiss-dropdown",position:"bottom right",renderToggle:function(t){var n=t.onClose,a=t.onToggle;return Object(r.createElement)(P.a,{isTertiary:!0,onClick:a,onBlur:function(t){return e.handleBlur(t,n)}},Object(o.__)("Dismiss","woocommerce-admin"))},focusOnMount:!1,popoverProps:{noArrow:!0},renderContent:function(t){var n=t.onToggle;return Object(r.createElement)("ul",null,Object(r.createElement)("li",null,Object(r.createElement)(P.a,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("this",n)}},Object(o.__)("Dismiss this message","woocommerce-admin"))),Object(r.createElement)("li",null,Object(r.createElement)(P.a,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("all",n)}},Object(o.__)("Dismiss all messages","woocommerce-admin"))))}})}},{key:"getDismissConfirmationButton",value:function(){var e=this.props.note,t=this.state.dismissType;return Object(r.createElement)(H,{key:e.id,noteId:"all"===t?null:e.id,label:Object(o.__)("Yes, I'm sure","woocommerce-admin"),actionCallback:this.closeDismissModal,dismiss:!0,screen:this.screen})}},{key:"renderDismissConfirmationModal",value:function(){var e=this;return Object(r.createElement)(x.a,{title:Object(r.createElement)(r.Fragment,null,Object(o.__)("Are you sure?","woocommerce-admin")),onRequestClose:function(){return e.closeDismissModal()},className:"woocommerce-inbox-dismiss-confirmation_modal"},Object(r.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},Object(r.createElement)("p",null,Object(o.__)("Dismissed messages cannot be viewed again","woocommerce-admin")),Object(r.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},Object(r.createElement)(P.a,{isSecondary:!0,onClick:function(){return e.closeDismissModal()}},Object(o.__)("Cancel","woocommerce-admin")),this.getDismissConfirmationButton())))}},{key:"renderActions",value:function(e){var t=this,n=e.actions,a=e.id,c=this.state.clickedActionText;return c||(n?Object(r.createElement)(r.Fragment,null,n.map((function(e,n){return Object(r.createElement)(H,{key:n,noteId:a,action:e,onClick:function(){return t.onActionClicked(e)}})}))):void 0)}},{key:"render",value:function(){var e=this.props,t=e.lastRead,n=e.note,a=this.state.isDismissModalOpen,c=n.content,o=n.date_created,i=n.date_created_gmt,l=n.image,s=n.is_deleted,m=n.layout,u=n.status,d=n.title;if(s)return null;var f=!t||!i||new Date(i+"Z").getTime()>t,p=o,b="plain"!==m&&""!==m,h=F()("woocommerce-inbox-message",m,{"message-is-unread":f&&"unactioned"===u});return Object(r.createElement)(D.a,{onChange:this.onVisible},Object(r.createElement)("section",{className:h},b&&Object(r.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(r.createElement)("img",{src:l,alt:""})),Object(r.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(r.createElement)("div",{className:"woocommerce-inbox-message__content"},p&&Object(r.createElement)("span",{className:"woocommerce-inbox-message__date"},A.a.utc(p).fromNow()),Object(r.createElement)(J.H,{className:"woocommerce-inbox-message__title"},d),Object(r.createElement)(J.Section,{className:"woocommerce-inbox-message__text"},Object(r.createElement)("span",{dangerouslySetInnerHTML:Object(U.a)(c),ref:this.bodyNotificationRef}))),Object(r.createElement)("div",{className:"woocommerce-inbox-message__actions"},this.renderActions(n),this.renderDismissButton())),a&&this.renderDismissConfirmationModal()))}}]),n}(r.Component);Q.propTypes={note:g.a.shape({id:g.a.number,status:g.a.string,title:g.a.string,content:g.a.string,date_created:g.a.string,date_created_gmt:g.a.string,actions:g.a.arrayOf(g.a.shape({id:g.a.number.isRequired,url:g.a.string,label:g.a.string.isRequired,primary:g.a.bool.isRequired})),layout:g.a.string,image:g.a.string,is_deleted:g.a.bool}),lastRead:g.a.number};var Y=Q,$=n(36),X=n(104),Z=n(287),ee=function(e){var t=e.hasNotes,n=e.isDismissUndoRequesting,a=e.isDismissAllUndoRequesting,c=e.lastRead,i=e.notes;if(!a)return t?Object.keys(i).map((function(e){return i[e]})).map((function(e){return n===e.id?Object(r.createElement)(E,{className:"banner message-is-unread",key:e.id}):Object(r.createElement)(Y,{key:e.id,note:e,lastRead:c})})):Object(r.createElement)(s.a,{className:"woocommerce-empty-activity-card",title:Object(o.__)("Your inbox is empty","woocommerce-admin"),icon:!1},Object(o.__)("As things begin to happen in your store your inbox will start to fill up. You'll see things like achievements, new feature announcements, extension recommendations and more!","woocommerce-admin"))};t.default=Object(i.a)(Object(X.a)((function(e){var t=e("wc-api"),n=t.getNotes,a=t.getNotesError,c=t.isGetNotesRequesting,r=t.getUndoDismissRequesting,o={page:1,per_page:$.d.pageSize,status:"unactioned",type:$.d.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted"]},i=n(o),l=Boolean(a(o)),s=c(o),m=r();return{notes:i,isError:l,isRequesting:s,isUndoRequesting:m.isUndoRequesting,isDismissUndoRequesting:m.isDismissUndoRequesting,isDismissAllUndoRequesting:m.isDismissAllUndoRequesting}})))((function(e){var t=e.isError,n=e.isPanelEmpty,a=e.isRequesting,i=e.isUndoRequesting,s=e.isDismissAllUndoRequesting,m=e.isDismissUndoRequesting,u=e.notes,d=Object(l.useUserPreferences)(),f=d.updateUserPreferences,p=c()(d,["updateUserPreferences"]).activity_panel_inbox_last_read;if(Object(r.useEffect)((function(){var e=Date.now();return function(){f({activity_panel_inbox_last_read:e})}}),[]),t){var b=Object(o.__)("There was an error getting your inbox. Please try again.","woocommerce-admin"),h=Object(o.__)("Reload","woocommerce-admin");return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(J.EmptyContent,{title:b,actionLabel:h,actionURL:null,actionCallback:function(){window.location.reload()}}))}var v=Object(Z.b)(u),O=v||a||i;return n&&n(!v&&!O),Object(r.createElement)(r.Fragment,null,O&&Object(r.createElement)(k.a,{title:Object(o.__)("Inbox","woocommerce-admin"),subtitle:Object(o.__)("Insights and growth tips for your business","woocommerce-admin"),unreadMessages:Object(Z.a)(u,p)}),Object(r.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(a||s)&&Object(r.createElement)(J.Section,null,Object(r.createElement)(E,{className:"banner message-is-unread"})),Object(r.createElement)(J.Section,null,!a&&!s&&ee({hasNotes:v,isDismissUndoRequesting:m,isDismissAllUndoRequesting:s,lastRead:p,notes:u}))))}))},888:function(e,t,n){},890:function(e,t,n){"use strict";var a=n(8),c=n(11),r=n(19),o=n(0),i=n(4),l=n.n(i),s=n(755),m=n(754);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var d={isBorderless:!1,isShady:!1,size:"medium"};t.a=function(e){var t=e.className,n=e.isShady,i=Object(r.a)(e,["className","isShady"]),f=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(c.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},d,{},Object(m.b)(),{},e),p=f.isBorderless,b=f.size,h=l()("components-card__header",p&&"is-borderless",n&&"is-shady",b&&"is-size-".concat(b),t);return Object(o.createElement)(s.d,Object(a.a)({},i,{className:h}))}},891:function(e,t,n){},892:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var a=n(11),c=n(26),r=n(8),o=n(19),i=n(0),l=n(4),s=n.n(l),m=n(2),u=n(279),d=n(738),f=n(90),p=function(e){var t=e.tabId,n=e.onClick,a=e.children,c=e.selected,l=Object(o.a)(e,["tabId","onClick","children","selected"]);return Object(i.createElement)(f.a,Object(r.a)({role:"tab",tabIndex:c?null:-1,"aria-selected":c,id:t,onClick:n},l),a)};function b(e){var t=e.className,n=e.children,r=e.tabs,o=e.initialTabName,l=e.orientation,f=void 0===l?"horizontal":l,h=e.activeClass,v=void 0===h?"is-active":h,O=e.onSelect,j=void 0===O?m.noop:O,y=Object(u.a)(b,"tab-panel"),g=Object(i.useState)(o||(r.length>0?r[0].name:null)),_=Object(c.a)(g,2),w=_[0],E=_[1],k=function(e){E(e),j(e)},N=Object(m.find)(r,{name:w}),z="".concat(y,"-").concat(N.name);return Object(i.createElement)("div",{className:t},Object(i.createElement)(d.a,{role:"tablist",orientation:f,onNavigate:function(e,t){t.click()},className:"components-tab-panel__tabs"},r.map((function(e){return Object(i.createElement)(p,{className:s()("components-tab-panel__tabs-item",e.className,Object(a.a)({},v,e.name===w)),tabId:"".concat(y,"-").concat(e.name),"aria-controls":"".concat(y,"-").concat(e.name,"-view"),selected:e.name===w,key:e.name,onClick:Object(m.partial)(k,e.name)},e.title)}))),N&&Object(i.createElement)("div",{"aria-labelledby":z,role:"tabpanel",id:"".concat(z,"-view"),className:"components-tab-panel__tab-content"},n(N)))}},893:function(e,t,n){"use strict";var a=n(8),c=n(11),r=n(19),o=n(0),i=n(4),l=n.n(i),s=n(755),m=n(754);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var d={isBorderless:!1,isShady:!1,size:"medium"};t.a=function(e){var t=e.className,n=e.isShady,i=Object(r.a)(e,["className","isShady"]),f=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(c.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},d,{},Object(m.b)(),{},e),p=f.isBorderless,b=f.size,h=l()("components-card__footer",p&&"is-borderless",n&&"is-shady",b&&"is-size-".concat(b),t);return Object(o.createElement)(s.c,Object(a.a)({},i,{className:h}))}},894:function(e,t,n){},895:function(e,t,n){},896:function(e,t,n){!function(t,n,a){if(t){for(var c,r={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},o={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},i={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},l={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},s=1;s<20;++s)r[111+s]="f"+s;for(s=0;s<=9;++s)r[s+96]=s.toString();b.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},b.prototype.reset=function(){return this._callbacks={},this._directMap={},this},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,a){return null!==t&&t!==n&&(t===a||e(t.parentNode,a))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var a=e.composedPath()[0];a!==e.target&&(t=a)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);c=null},b.init=function(){var e=b(n);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),t.Mousetrap=b,e.exports&&(e.exports=b),"function"==typeof define&&define.amd&&define((function(){return b}))}function m(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function u(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return r[e.which]?r[e.which]:o[e.which]?o[e.which]:String.fromCharCode(e.which).toLowerCase()}function d(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function f(e,t,n){return n||(n=function(){if(!c)for(var e in c={},r)e>95&&e<112||r.hasOwnProperty(e)&&(c[r[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function p(e,t){var n,a,c,r=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),c=0;c<n.length;++c)a=n[c],l[a]&&(a=l[a]),t&&"keypress"!=t&&i[a]&&(a=i[a],r.push("shift")),d(a)&&r.push(a);return{key:a,modifiers:r,action:t=f(a,r,t)}}function b(e){var t=this;if(e=e||n,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var a,c={},r=!1,o=!1,i=!1;function l(e){e=e||{};var t,n=!1;for(t in c)e[t]?n=!0:c[t]=0;n||(i=!1)}function s(e,n,a,r,o,i){var l,s,m,u,f=[],p=a.type;if(!t._callbacks[e])return[];for("keyup"==p&&d(e)&&(n=[e]),l=0;l<t._callbacks[e].length;++l)if(s=t._callbacks[e][l],(r||!s.seq||c[s.seq]==s.level)&&p==s.action&&("keypress"==p&&!a.metaKey&&!a.ctrlKey||(m=n,u=s.modifiers,m.sort().join(",")===u.sort().join(",")))){var b=!r&&s.combo==o,h=r&&s.seq==r&&s.level==i;(b||h)&&t._callbacks[e].splice(l,1),f.push(s)}return f}function f(e,n,a,c){t.stopCallback(n,n.target||n.srcElement,a,c)||!1===e(n,a)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function h(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=u(e);n&&("keyup"!=e.type||r!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):r=!1)}function v(e,t,n,o){function s(t){return function(){i=t,++c[e],clearTimeout(a),a=setTimeout(l,1e3)}}function m(t){f(n,t,e),"keyup"!==o&&(r=u(t)),setTimeout(l,10)}c[e]=0;for(var d=0;d<t.length;++d){var b=d+1===t.length?m:s(o||p(t[d+1]).action);O(t[d],b,o,e,d)}}function O(e,n,a,c,r){t._directMap[e+":"+a]=n;var o,i=(e=e.replace(/\s+/g," ")).split(" ");i.length>1?v(e,i,n,a):(o=p(e,a),t._callbacks[o.key]=t._callbacks[o.key]||[],s(o.key,o.modifiers,{type:o.action},c,e,r),t._callbacks[o.key][c?"unshift":"push"]({callback:n,modifiers:o.modifiers,action:o.action,seq:c,level:r,combo:e}))}t._handleKey=function(e,t,n){var a,c=s(e,t,n),r={},m=0,u=!1;for(a=0;a<c.length;++a)c[a].seq&&(m=Math.max(m,c[a].level));for(a=0;a<c.length;++a)if(c[a].seq){if(c[a].level!=m)continue;u=!0,r[c[a].seq]=1,f(c[a].callback,n,c[a].combo,c[a].seq)}else u||f(c[a].callback,n,c[a].combo);var p="keypress"==n.type&&o;n.type!=i||d(e)||p||l(r),o=u&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var a=0;a<e.length;++a)O(e[a],t,n)},m(e,"keypress",h),m(e,"keydown",h),m(e,"keyup",h)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},897:function(e,t){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,a,c,r){return!!this.paused||!t[c]&&!t[r]&&n.call(this,e,a,c)},e.prototype.bindGlobal=function(e,n,a){if(this.bind(e,n,a),e instanceof Array)for(var c=0;c<e.length;c++)t[e[c]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},925:function(e,t,n){"use strict";n.r(t);var a=n(0),c=n(185),r=n(24),o=n(2),i=n(28),l=n(46),s=n(29),m=n(148),u=n(53),d=n.n(u),f=n(4),p=n.n(f),b=n(1),h=n.n(b),v=n(5),O=n.n(v),j=n(3),y=n(759),g=n(920),_=n(890),w=n(921),E=n(51),k=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(E.b,{fillRule:"evenodd",d:"M6.863 13.644L5 13.25h-.5a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5H5L18 6.5h2V16h-2l-3.854-.815.026.008a3.75 3.75 0 01-7.31-1.549zm1.477.313a2.251 2.251 0 004.356.921l-4.356-.921zm-2.84-3.28L18.157 8h.343v6.5h-.343L5.5 11.823v-1.146z",clipRule:"evenodd"})),N=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(E.b,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"})),z=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(a.createElement)(E.b,{d:"M18.33 3.57s.27-.8-.31-1.36c-.53-.52-1.22-.24-1.22-.24-.61.3-5.76 3.47-7.67 5.57-.86.96-2.06 3.79-1.09 4.82.92.98 3.96-.17 4.79-1 2.06-2.06 5.21-7.17 5.5-7.79zM1.4 17.65c2.37-1.56 1.46-3.41 3.23-4.64.93-.65 2.22-.62 3.08.29.63.67.8 2.57-.16 3.46-1.57 1.45-4 1.55-6.15.89z"})),C=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(E.b,{d:"M3 6.75C3 5.784 3.784 5 4.75 5H15V7.313l.05.027 5.056 2.73.394.212v3.468a1.75 1.75 0 01-1.75 1.75h-.012a2.5 2.5 0 11-4.975 0H9.737a2.5 2.5 0 11-4.975 0H3V6.75zM13.5 14V6.5H4.75a.25.25 0 00-.25.25V14h.965a2.493 2.493 0 011.785-.75c.7 0 1.332.287 1.785.75H13.5zm4.535 0h.715a.25.25 0 00.25-.25v-2.573l-4-2.16v4.568a2.487 2.487 0 011.25-.335c.7 0 1.332.287 1.785.75zM6.282 15.5a1.002 1.002 0 00.968 1.25 1 1 0 10-.968-1.25zm9 0a1 1 0 101.937.498 1 1 0 00-1.938-.498z"})),M=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(E.b,{fillRule:"evenodd",d:"M6.5 8a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zM8 5a3 3 0 100 6 3 3 0 000-6zm6.5 11a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm1.5-3a3 3 0 100 6 3 3 0 000-6zM5.47 17.41a.75.75 0 001.06 1.06L18.47 6.53a.75.75 0 10-1.06-1.06L5.47 17.41z",clipRule:"evenodd"})),R=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(E.b,{fillRule:"evenodd",d:"M5.5 9.5v-2h13v2h-13zm0 3v4h13v-4h-13zM4 7a1 1 0 011-1h14a1 1 0 011 1v10a1 1 0 01-1 1H5a1 1 0 01-1-1V7z",clipRule:"evenodd"})),P=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(a.createElement)(E.b,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"})),x=n(736),T=n(452),D=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(E.b,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),S=Object(a.createElement)(E.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(E.b,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})),A=n(55),q=n(63);n(888);function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){O()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I(e,t){var n=t.currentTarget.dataset.listItemTag;if(n&&(e.recordEvent("home_quick_links_click",{task_name:n}),"function"==typeof e.onItemClick))return e.onItemClick(n)?void 0:(t.preventDefault(),!1)}function H(e){return function(e){return[{title:Object(j.__)("Market my store","woocommerce-admin"),type:"wc-admin",path:"marketing",icon:k,listItemTag:"marketing"},{title:Object(j.__)("Add products","woocommerce-admin"),type:"wp-admin",path:"post-new.php?post_type=product",icon:N,listItemTag:"add-products"},{title:Object(j.__)("Personalize my store","woocommerce-admin"),type:"wp-admin",path:"customize.php",icon:z,listItemTag:"personalize-store"},{title:Object(j.__)("Shipping settings","woocommerce-admin"),type:"wc-settings",tab:"shipping",icon:C,listItemTag:"shipping-settings"},{title:Object(j.__)("Tax settings","woocommerce-admin"),type:"wc-settings",tab:"tax",icon:M,listItemTag:"tax-settings"},{title:Object(j.__)("Payment settings","woocommerce-admin"),type:"wc-settings",tab:"checkout",icon:R,listItemTag:"payment-settings"},{title:Object(j.__)("Edit store details","woocommerce-admin"),type:"wc-settings",tab:"general",icon:P,listItemTag:"edit-store-details"},{title:Object(j.__)("Get support","woocommerce-admin"),type:"external",href:"https://woocommerce.com/my-account/create-a-ticket/",icon:x.a,after:Object(a.createElement)(T.a,{icon:D}),listItemTag:"support"},{title:Object(j.__)("View my store","woocommerce-admin"),type:"external",href:e.getSetting("siteUrl"),icon:S,after:Object(a.createElement)(T.a,{icon:D}),listItemTag:"view-store"}]}(e).map((function(t){return L(L({title:Object(a.createElement)(y.a,{as:"div",variant:"button"},t.title),before:Object(a.createElement)(T.a,{icon:t.icon}),after:t.after},function(e){var t,n;switch(e.type){case"wc-admin":t="wc-admin",n="admin.php?page=wc-admin&path=%2F".concat(e.path);break;case"wp-admin":t="wp-admin",n=e.path;break;case"wc-settings":t="wp-admin",n="admin.php?page=wc-settings&tab=".concat(e.tab);break;default:t="external",n=e.href}return{linkType:t,href:n}}(t)),{},{listItemTag:t.listItemTag,onClick:Object(o.partial)(I,e)})}))}var U=function(e){var t=H(e);return Object(a.createElement)(g.a,{size:"large",className:"woocommerce-quick-links"},Object(a.createElement)(_.a,{size:"medium"},Object(a.createElement)(y.a,{variant:"title.small"},Object(j.__)("Store management","woocommerce-admin"))),Object(a.createElement)(w.a,null,Object(a.createElement)(A.List,{items:t,className:"woocommerce-quick-links__list"})))};U.defaultProps={getSetting:i.g,recordEvent:q.b};var B=U,F=n(49),W=n.n(F),J=n(892),G=n(893),K=(n(891),n(44)),Q=Object(K.applyFilters)("woocommerce_admin_homepage_default_stats",["revenue/total_sales","revenue/net_revenue","orders/orders_count","products/items_sold","jetpack/stats/visitors","jetpack/stats/views"]),Y=["revenue/net_revenue","products/items_sold"],$=n(104),X=n(218),Z=n(762),ee=Object($.a)((function(e,t){var n=t.stats,a=t.query;if(0!==n.length)return Object(Z.a)(e,n,a)}))((function(e){var t=e.stats,n=e.primaryData,c=e.secondaryData,r=e.primaryRequesting,o=e.secondaryRequesting,i=e.primaryError,l=e.secondaryError,m=e.query,u=Object(a.useContext)(X.a),d=u.formatAmount,f=u.getCurrencyConfig;if(i||l)return null;var b=Object(s.getPersistedQuery)(m),h=f();return Object(a.createElement)("ul",{className:p()("woocommerce-stats-overview__stats",{"is-even":t.length%2==0})},t.map((function(e){if(r||o)return Object(a.createElement)(A.SummaryNumberPlaceholder,{className:"is-homescreen",key:e.stat});var t=Object(Z.b)({indicator:e,primaryData:n,secondaryData:c,currency:h,formatAmount:d,persistedQuery:b}),i=t.primaryValue,l=t.secondaryValue,s=t.delta,m=t.reportUrl,u=t.reportUrlType;return Object(a.createElement)(A.SummaryNumber,{isHomescreen:!0,key:e.stat,href:m,hrefType:u,label:e.label,value:i,prevLabel:Object(j.__)("Previous Period:","woocommerce-admin"),prevValue:l,delta:s,onLinkClickCallback:function(){Object(q.b)("statsoverview_indicators_click",{key:e.stat})}})})))})),te=n(16),ne=n.n(te),ae=n(37),ce=n.n(ae),re=n(90),oe=n(10),ie=n(220);function le(e){var t=e.getJetpackConnectUrl,n=e.getPluginsError,c=e.isJetpackInstalled,r=e.isJetpackActivated,o=e.isJetpackConnected,s=e.installAndActivatePlugins,m=e.isConnecting,u=e.isInstalling,f=Object(l.useUserPreferences)(),p=f.updateUserPreferences,b=W()(f,["updateUserPreferences"]),h=Object(oe.useState)((b.homepage_stats||{}).installJetpackDismissed),v=d()(h,2),O=v[0],y=v[1];function g(){return(g=ce()(ne.a.mark((function e(){return ne.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Object(q.b)("statsoverview_install_jetpack"),s(["jetpack"]).then(_).catch((function(e){Object(ie.a)(e)}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(){o||t({redirect_url:Object(i.f)("admin.php?page=wc-admin")}).then((function(e){var t=n("getJetpackConnectUrl");t?Object(ie.a)(t):window.location=e}))}if(O||c&&r&&o)return null;return Object(a.createElement)("article",{className:"woocommerce-stats-overview__install-jetpack-promo"},Object(a.createElement)("div",{className:"woocommerce-stats-overview__install-jetpack-promo__content"},Object(a.createElement)(A.H,null,Object(j.__)("Get traffic stats with Jetpack","woocommerce-admin")),Object(a.createElement)("p",null,Object(j.__)("Keep an eye on your views and visitors metrics with Jetpack. Requires Jetpack plugin and a WordPress.com account.","woocommerce-admin"))),Object(a.createElement)("footer",null,Object(a.createElement)(re.a,{isSecondary:!0,onClick:function(){return g.apply(this,arguments)},isBusy:u},c?r?o?"":Object(j.__)("Connect Jetpack","woocommerce-admin"):Object(j.__)("Activate Jetpack","woocommerce-admin"):Object(j.__)("Get Jetpack","woocommerce-admin")),Object(a.createElement)(re.a,{isTertiary:!0,onClick:function(){if(!u&&!m){var e=b.homepage_stats||{};e.installJetpackDismissed=!0,p({homepage_stats:e}),y(!0),Object(q.b)("statsoverview_dismiss_install_jetpack")}},isBusy:u},Object(j.__)("No thanks","woocommerce-admin"))))}le.propTypes={isJetpackConnected:h.a.bool.isRequired};var se=Object(c.a)(Object(r.withSelect)((function(e){var t=e(l.PLUGINS_STORE_NAME),n=t.isJetpackConnected,a=t.isPluginsRequesting,c=t.getActivePlugins,r=t.getInstalledPlugins,o=t.getPluginsError;return{getJetpackConnectUrl:Object(l.__experimentalResolveSelect)(l.PLUGINS_STORE_NAME).getJetpackConnectUrl,getPluginsError:o,isConnecting:a("getJetpackConnectUrl"),isInstalling:a("installPlugins")||a("activatePlugins"),isJetpackInstalled:r().includes("jetpack"),isJetpackActivated:c().includes("jetpack"),isJetpackConnected:n()}})),Object(r.withDispatch)((function(e){return{installAndActivatePlugins:e(l.PLUGINS_STORE_NAME).installAndActivatePlugins}})))(le),me=Object(i.g)("dataEndpoints",{performanceIndicators:[]}).performanceIndicators.filter((function(e){return Q.includes(e.stat)})),ue=function(){var e=Object(l.useUserPreferences)(),t=e.updateUserPreferences,n=W()(e,["updateUserPreferences"]),c=Object(o.get)(n,["homepage_stats","hiddenStats"],Y),r=me.filter((function(e){return!c.includes(e.stat)}));return Object(a.createElement)(g.a,{size:"large",className:"woocommerce-stats-overview woocommerce-homescreen-card"},Object(a.createElement)(_.a,{size:"medium"},Object(a.createElement)(y.a,{variant:"title.small"},Object(j.__)("Stats overview","woocommerce-admin")),Object(a.createElement)(A.EllipsisMenu,{label:Object(j.__)("Choose which values to display","woocommerce-admin"),renderContent:function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(A.MenuTitle,null,Object(j.__)("Display stats:","woocommerce-admin")),me.map((function(e){var n=!c.includes(e.stat);return Object(a.createElement)(A.MenuItem,{checked:n,isCheckbox:!0,isClickable:!0,key:e.stat,onInvoke:function(){return n=e.stat,a=Object(o.xor)(c,[n]),t({homepage_stats:{hiddenStats:a}}),void Object(q.b)("statsoverview_indicators_toggle",{indicator_name:n,status:a.includes(n)?"off":"on"});var n,a}},e.label)})))}})),Object(a.createElement)(w.a,null,Object(a.createElement)(J.a,{className:"woocommerce-stats-overview__tabs",onSelect:function(e){Object(q.b)("statsoverview_date_picker_update",{period:e})},tabs:[{title:Object(j.__)("Today","woocommerce-admin"),name:"today"},{title:Object(j.__)("Week to date","woocommerce-admin"),name:"week"},{title:Object(j.__)("Month to date","woocommerce-admin"),name:"month"}]},(function(e){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(se,null),Object(a.createElement)(ee,{query:{period:e.name,compare:"previous_period"},stats:r}))}))),Object(a.createElement)(G.a,null,Object(a.createElement)(A.Link,{className:"woocommerce-stats-overview__more-btn",href:Object(s.getNewPath)({},"/analytics/overview"),type:"wc-admin",onClick:function(){Object(q.b)("statsoverview_indicators_click",{key:"view_detailed_stats"})}},Object(j.__)("View detailed stats"))))},de=(n(894),n(758),n(763),function(e){var t=e.numTasks,n=void 0===t?5:t;return Object(a.createElement)("div",{className:"woocommerce-task-dashboard__container"},Object(a.createElement)("div",{className:"woocommerce-card woocommerce-task-card is-loading","aria-hidden":!0},Object(a.createElement)("div",{className:"woocommerce-card__header"},Object(a.createElement)("div",{className:"woocommerce-card__title-wrapper"},Object(a.createElement)("div",{className:"woocommerce-card__title woocommerce-card__header-item"},Object(a.createElement)("span",{className:"is-placeholder"})))),Object(a.createElement)("div",{className:"woocommerce-card__body"},Object(a.createElement)("div",{className:"woocommerce-list"},Array.from(new Array(n)).map((function(e,t){return Object(a.createElement)("div",{key:t,className:"woocommerce-list__item has-action"},Object(a.createElement)("div",{className:"woocommerce-list__item-inner"},Object(a.createElement)("div",{className:"woocommerce-list__item-before"},Object(a.createElement)("span",{className:"is-placeholder"})),Object(a.createElement)("div",{className:"woocommerce-list__item-text"},Object(a.createElement)("div",{className:"woocommerce-list__item-title"},Object(a.createElement)("span",{className:"is-placeholder"}))),Object(a.createElement)("div",{className:"woocommerce-list__item-after"},Object(a.createElement)("span",{className:"is-placeholder"}))))}))))))}),fe=n(785),pe=n(26),be=n(56),he=n(714),ve=n(896),Oe=n.n(ve);n(897);function je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(o.includes)(["iPad","iPhone"],t)}var ye=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=n.bindGlobal,r=void 0!==c&&c,i=n.eventName,l=void 0===i?"keydown":i,s=n.isDisabled,m=void 0!==s&&s,u=n.target,d=Object(a.useRef)(t);Object(a.useEffect)((function(){d.current=t}),[t]),Object(a.useEffect)((function(){if(!m){var t=new Oe.a(u?u.current:document);return Object(o.castArray)(e).forEach((function(e){var n=e.split("+"),a=new Set(n.filter((function(e){return e.length>1}))),c=a.has("alt"),o=a.has("shift");if(je()&&(1===a.size&&c||2===a.size&&c&&o))throw new Error("Cannot bind ".concat(e,". Alt and Shift+Alt modifiers are reserved for character input."));t[r?"bindGlobal":"bind"](e,(function(){return d.current.apply(d,arguments)}),l)})),function(){t.reset()}}}),[e,r,l,u,m])};function ge(e){var t=e.target,n=e.callback,a=e.shortcut,c=e.bindGlobal,r=e.eventName;return ye(a,n,{bindGlobal:c,target:t,eventName:r}),null}var _e=function(e){var t=e.children,n=e.shortcuts,c=e.bindGlobal,r=e.eventName,i=Object(a.useRef)(),l=Object(o.map)(n,(function(e,t){return Object(a.createElement)(ge,{key:t,shortcut:t,callback:e,bindGlobal:c,eventName:r,target:i})}));return a.Children.count(t)?Object(a.createElement)("div",{ref:i},l,t):l},we=function(e){var t=e.isSelected;return Object(a.createElement)(E.c,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(a.createElement)(E.a,{cx:"4",cy:"4",r:"4",fill:t?"#419ECD":"#E1E3E6"}))};function Ee(e){var t=e.currentPage,n=e.numberOfPages,c=e.setCurrentPage;return Object(a.createElement)("ul",{className:"components-guide__page-control","aria-label":Object(j.__)("Guide controls")},Object(o.times)(n,(function(e){return Object(a.createElement)("li",{key:e,"aria-current":e===t?"step":void 0},Object(a.createElement)(re.a,{key:e,icon:Object(a.createElement)(we,{isSelected:e===t}),"aria-label":Object(j.sprintf)(Object(j.__)("Page %1$d of %2$d"),e+1,n),onClick:function(){return c(e)}}))})))}function ke(e){var t=e.className,n=e.onClick,c=e.children,r=Object(a.useRef)(null);return Object(a.useLayoutEffect)((function(){document.activeElement&&document.activeElement!==document.body||r.current.focus()}),[r]),Object(a.createElement)(re.a,{ref:r,className:t,isPrimary:!0,onClick:n},c)}function Ne(e){var t=e.children,n=e.className,c=e.contentLabel,r=e.finishButtonText,o=e.onFinish,i=e.pages,l=void 0===i?[]:i,s=Object(a.useState)(0),m=Object(pe.a)(s,2),u=m[0],d=m[1];Object(a.useEffect)((function(){a.Children.count(t)&&Object(be.a)("Passing children to <Guide>",{alternative:"the `pages` prop"})}),[t]),a.Children.count(t)&&(l=a.Children.map(t,(function(e){return{content:e}})));var f=u>0,b=u<l.length-1,h=function(){f&&d(u-1)},v=function(){b&&d(u+1)};return 0===l.length?null:Object(a.createElement)(he.a,{className:p()("components-guide",n),contentLabel:c,onRequestClose:o},Object(a.createElement)(_e,{key:u,shortcuts:{left:h,right:v}}),Object(a.createElement)("div",{className:"components-guide__container"},Object(a.createElement)("div",{className:"components-guide__page"},l[u].image,Object(a.createElement)(Ee,{currentPage:u,numberOfPages:l.length,setCurrentPage:d}),l[u].content,!b&&Object(a.createElement)(ke,{className:"components-guide__inline-finish-button",onClick:o},r||Object(j.__)("Finish"))),Object(a.createElement)("div",{className:"components-guide__footer"},f&&Object(a.createElement)(re.a,{className:"components-guide__back-button",onClick:h},Object(j.__)("Previous")),b&&Object(a.createElement)(re.a,{className:"components-guide__forward-button",onClick:v},Object(j.__)("Next")),!b&&Object(a.createElement)(ke,{className:"components-guide__finish-button",onClick:o},r||Object(j.__)("Finish")))))}var ze=function(e){var t=e.title,n=e.body;return Object(a.createElement)("div",{className:"woocommerce__welcome-modal__page-content"},Object(a.createElement)("h2",{className:"woocommerce__welcome-modal__page-content__header"},t),Object(a.createElement)("p",{className:"woocommerce__welcome-modal__page-content__body"},n))},Ce=(n(895),[{image:Object(a.createElement)((function(){return Object(a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(a.createElement)("defs",null),Object(a.createElement)("g",{clipPath:"url(#clip0)"},Object(a.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object(a.createElement)("path",{fill:"#fff",fillOpacity:".65",d:"M125.85 217.924l-1.055-.321c-34.868-10.598-101.138-36.619-95.91-101.998 7.156-89.462 89.192-28.933 194.231-87.715 161.485-90.37 242.851-42.249 253.957 78.717 10.842 118.101-82.942 115.494-138.938 123.306-118.486 16.529-165.516 2.231-212.285-11.989z"}),Object(a.createElement)("path",{fill:"#F6F7F7",d:"M125 33h267v185H125z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M327.367 93.974a6.417 6.417 0 00-6.285 7.671 6.418 6.418 0 005.035 5.044 6.405 6.405 0 006.579-2.73 6.427 6.427 0 00-.797-8.105 6.404 6.404 0 00-4.532-1.88zm0 11.615a5.18 5.18 0 01-3.668-1.522 5.2 5.2 0 01-1.23-5.38 5.196 5.196 0 014.168-3.447 5.18 5.18 0 014.967 2.137 5.201 5.201 0 01-1.546 7.453 5.186 5.186 0 01-2.706.75l.015.009z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M329.332 103.181l.806-.811a.354.354 0 00.078-.391.365.365 0 00-.078-.116l-1.456-1.461 1.456-1.458a.363.363 0 00.105-.254.36.36 0 00-.105-.254l-.806-.81a.354.354 0 00-.254-.106.356.356 0 00-.255.106l-1.456 1.458-1.456-1.458a.35.35 0 00-.253-.105.355.355 0 00-.253.105l-.809.826a.362.362 0 00-.078.39.363.363 0 00.078.117l1.456 1.458-1.456 1.461a.369.369 0 00-.105.254.356.356 0 00.105.254l.809.81a.354.354 0 00.39.078.354.354 0 00.116-.078l1.456-1.461 1.456 1.461a.366.366 0 00.509-.015zM314.559 145.63a6.413 6.413 0 00-2.722-4.13 6.429 6.429 0 00-4.883-.957l-.192.046c-.346.08-.684.191-1.01.33a6.437 6.437 0 00-3.892 5.926 6.433 6.433 0 003.907 5.916l.183.074a6.402 6.402 0 007.999-2.997 6.423 6.423 0 00.735-3.001 6.196 6.196 0 00-.125-1.207zm-1.184 1.978a.028.028 0 010 .018v.058a5.213 5.213 0 01-.913 2.181 5.191 5.191 0 01-4.068 2.146 5.162 5.162 0 01-3.445-1.2 5.2 5.2 0 01.693-8.443 4.936 4.936 0 011.026-.464l.192-.058a5.176 5.176 0 014.527.859 5.201 5.201 0 012.058 4.129 4.906 4.906 0 01-.07.774z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M310.223 149.613l.808-.81a.349.349 0 00.078-.116.348.348 0 000-.275.353.353 0 00-.078-.117l-1.455-1.458 1.455-1.458a.36.36 0 00.079-.393.36.36 0 00-.079-.117l-.808-.807a.362.362 0 00-.391-.078.349.349 0 00-.116.078l-1.455 1.464-1.465-1.464a.366.366 0 00-.254-.106.36.36 0 00-.253.106l-.809.807a.358.358 0 00-.078.393.358.358 0 00.078.117l1.459 1.458-1.459 1.458a.356.356 0 00-.078.392.382.382 0 00.078.116l.809.81a.365.365 0 00.253.106.366.366 0 00.254-.106l1.458-1.458 1.456 1.458a.353.353 0 00.513 0zM295.605 51.781l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm0 0l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm0 0l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm0 0l-.583-.587a.297.297 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372a.31.31 0 00.339.07.297.297 0 00.1-.07l4.465-4.439a.316.316 0 00.097-.22.313.313 0 00-.094-.223zm-3.628-4.619a6.402 6.402 0 00-5.921 3.963 6.432 6.432 0 001.389 6.996 6.404 6.404 0 009.86-.973 6.428 6.428 0 00-.797-8.106 6.403 6.403 0 00-4.531-1.88zm0 11.616a5.186 5.186 0 01-4.793-3.208 5.2 5.2 0 011.124-5.663 5.186 5.186 0 015.654-1.126 5.204 5.204 0 011.685 8.476 5.17 5.17 0 01-3.67 1.515v.006zm3.628-6.99l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zm0 0l-.583-.588a.298.298 0 00-.219-.093.31.31 0 00-.22.093l-3.662 3.635-1.547-1.562a.308.308 0 00-.437 0l-.589.584a.313.313 0 00-.093.22.307.307 0 00.093.22l2.35 2.372c.029.03.063.053.1.07a.31.31 0 00.239 0 .297.297 0 00.1-.07l4.465-4.438a.304.304 0 00.075-.347.31.31 0 00-.072-.103v.006zM306.96 98.595l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm0 0l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm0 0l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm0 0l-.582-.59a.311.311 0 00-.22-.093.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.303.303 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.312.312 0 00.097-.22.308.308 0 00-.091-.22zm-3.628-4.621a6.417 6.417 0 00-6.285 7.671 6.412 6.412 0 005.035 5.044 6.401 6.401 0 006.578-2.73 6.42 6.42 0 00-.797-8.105 6.4 6.4 0 00-4.531-1.88zm0 11.615a5.18 5.18 0 01-4.793-3.208 5.201 5.201 0 013.781-7.085 5.179 5.179 0 015.326 2.21c.57.854.874 1.86.874 2.887a5.202 5.202 0 01-1.516 3.677 5.178 5.178 0 01-3.672 1.516v.003zm3.628-6.99l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zm0 0l-.582-.59a.31.31 0 00-.22-.094.308.308 0 00-.22.093l-3.662 3.635-1.547-1.562a.31.31 0 00-.22-.094.302.302 0 00-.22.094l-.589.584a.31.31 0 000 .44l2.347 2.372c.029.03.063.053.101.069a.302.302 0 00.339-.069l4.467-4.438a.3.3 0 00.098-.22.304.304 0 00-.092-.223v.002zM287.774 145.407l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.309.309 0 00.097-.219.309.309 0 00-.091-.221zm-3.628-4.622a6.416 6.416 0 00-6.285 7.671 6.414 6.414 0 005.035 5.044 6.393 6.393 0 003.702-.365 6.418 6.418 0 003.957-5.931 6.43 6.43 0 00-1.877-4.539 6.403 6.403 0 00-4.532-1.88zm0 11.616a5.181 5.181 0 01-2.882-.876 5.2 5.2 0 011.87-9.418 5.186 5.186 0 015.326 2.21c.57.855.874 1.859.874 2.887a5.191 5.191 0 01-1.515 3.678 5.163 5.163 0 01-3.673 1.516v.003zm3.628-6.991l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zm0 0l-.582-.59a.303.303 0 00-.101-.069.302.302 0 00-.339.069l-3.662 3.634-1.547-1.562a.31.31 0 00-.439 0l-.589.584a.301.301 0 00-.07.34c.017.038.04.072.07.1l2.346 2.372a.301.301 0 00.339.07.321.321 0 00.101-.07l4.467-4.438a.297.297 0 00.098-.22.293.293 0 00-.023-.121.284.284 0 00-.069-.102v.003zM349.568 75.187l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm-3.628-4.619a6.402 6.402 0 00-4.17 1.5 6.422 6.422 0 00-1.386 8.21 6.415 6.415 0 003.447 2.79 6.4 6.4 0 004.477-.092c.317-.126.624-.278.915-.456a6.418 6.418 0 002.93-7.236 6.422 6.422 0 00-2.309-3.413 6.4 6.4 0 00-3.904-1.303zm2.273 11.087a5.056 5.056 0 01-.665.272 5.213 5.213 0 01-3.406-.067 5.197 5.197 0 01-1.681-8.731 5.182 5.182 0 018.501 2.56 5.195 5.195 0 01-2.749 5.966zm1.355-6.468l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447zm0 0l-.583-.578a.298.298 0 00-.219-.093.306.306 0 00-.22.093l-1.904 1.895-.687.682-.058.055-.357.358-.638.632-1.547-1.562a.308.308 0 00-.44 0l-.589.584a.312.312 0 00-.093.22.307.307 0 00.093.22l2.216 2.241.131.132a.304.304 0 00.44.003l1.849-1.835.61-.61 2.002-1.99a.306.306 0 00-.006-.447z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M268.92 47H150.08c-3.358 0-6.08 2.91-6.08 6.5s2.722 6.5 6.08 6.5h118.84c3.358 0 6.08-2.91 6.08-6.5s-2.722-6.5-6.08-6.5z",opacity:".6"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M321.919 71H150.081c-3.359 0-6.081 2.686-6.081 6s2.722 6 6.081 6h171.838c3.359 0 6.081-2.686 6.081-6s-2.722-6-6.081-6z",opacity:".3"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M279.927 94H150.073c-3.354 0-6.073 2.91-6.073 6.5s2.719 6.5 6.073 6.5h129.854c3.354 0 6.073-2.91 6.073-6.5s-2.719-6.5-6.073-6.5z",opacity:".6"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M321.919 118H150.081c-3.359 0-6.081 2.686-6.081 6s2.722 6 6.081 6h171.838c3.359 0 6.081-2.686 6.081-6s-2.722-6-6.081-6z",opacity:".3"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M261.916 141H150.084c-3.36 0-6.084 2.686-6.084 6s2.724 6 6.084 6h111.832c3.36 0 6.084-2.686 6.084-6s-2.724-6-6.084-6z",opacity:".1"}),Object(a.createElement)("path",{fill:"#CCC",d:"M316.161 47.162a6.4 6.4 0 00-5.92 3.963 6.432 6.432 0 001.389 6.996 6.404 6.404 0 009.86-.973 6.428 6.428 0 00-.797-8.106 6.404 6.404 0 00-4.532-1.88zm0 11.616a5.18 5.18 0 01-2.882-.876 5.198 5.198 0 011.87-9.417 5.181 5.181 0 015.326 2.21c.57.854.874 1.859.874 2.887a5.195 5.195 0 01-3.201 4.8c-.63.26-1.305.392-1.987.39v.006z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M318.127 56.366l.808-.807a.35.35 0 00.078-.117.346.346 0 000-.276.35.35 0 00-.078-.117l-1.458-1.458 1.455-1.458a.35.35 0 00.078-.117.346.346 0 000-.277.35.35 0 00-.078-.117l-.808-.807a.364.364 0 00-.254-.105.358.358 0 00-.253.105l-1.456 1.458-1.455-1.458a.361.361 0 00-.51 0l-.806.807a.365.365 0 00-.107.255.365.365 0 00.107.256l1.456 1.458-1.453 1.455a.365.365 0 00-.079.394.381.381 0 00.079.116l.806.807a.353.353 0 00.255.106.363.363 0 00.255-.106l1.455-1.458 1.456 1.458a.352.352 0 00.253.107.356.356 0 00.254-.104zM369.966 70.568a6.402 6.402 0 00-5.921 3.963 6.432 6.432 0 001.389 6.995 6.404 6.404 0 0010.94-4.539 6.403 6.403 0 00-3.953-5.935 6.383 6.383 0 00-2.455-.484zm0 11.616a5.179 5.179 0 01-3.17-1.076 5.203 5.203 0 01-1.621-6.136 5.187 5.187 0 015.512-3.13 5.186 5.186 0 012.985 1.519 5.2 5.2 0 01-1.158 8.146 5.18 5.18 0 01-2.548.674v.003z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M371.925 79.772l.808-.807a.363.363 0 000-.51l-1.458-1.459 1.458-1.458a.348.348 0 00.078-.116.343.343 0 000-.275.346.346 0 00-.078-.116l-.808-.81a.358.358 0 00-.507 0l-1.452 1.458-1.456-1.458a.358.358 0 00-.507 0l-.808.81a.36.36 0 00-.078.391.348.348 0 00.078.116l1.455 1.458-1.455 1.458a.364.364 0 000 .51l.808.808a.35.35 0 00.507 0l1.456-1.458 1.458 1.458a.358.358 0 00.501 0z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M344 94h90v80h-90z"}),Object(a.createElement)("path",{fill:"#fff",fillOpacity:".65",d:"M364.607 150.419H357v25.307h7.607v-25.307zM379.317 132h-7.607v43.455h7.607V132zM394.026 136h-7.607v61.603h7.607V136zM408.736 123h-7.607v55.726h7.607V123zM423.445 132.197h-7.607v38.342h7.607v-38.342z",opacity:".2"}),Object(a.createElement)("path",{fill:"#fff",d:"M356.331 134l-.331-.495 15.486-21.052 13.65 14.005 11.039-17.456 4.84 5.868 13.168-11.268 14.625 14.021L451.763 99l.237.594-23.213 18.833-14.619-14.015-13.201 11.297-4.748-5.756-11.014 17.418-13.677-14.031L356.331 134z"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip0"},Object(a.createElement)("path",{fill:"#fff",d:"M0 0h517v160H0z"}))))}),null),content:Object(a.createElement)(ze,{title:Object(j.__)("Welcome to your WooCommerce store’s online HQ!","woocommerce-admin"),body:Object(j.__)("Here's where you’ll find setup suggestions, tips and tools, and key data on your store’s performance and earnings — all the basics for store management and growth.","woocommerce-admin")})},{image:Object(a.createElement)((function(){return Object(a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(a.createElement)("defs",null),Object(a.createElement)("g",{clipPath:"url(#clip0)"},Object(a.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object(a.createElement)("path",{fill:"#fff",fillOpacity:".65",d:"M33.576 185.926c-6.271-.911-14.742-.279-17.182 7.085-1.239 3.736-.178 7.645.98 11.08 4.89 14.682 11.49 28.444 19.643 40.954 3.897 5.965 8.253 11.884 9.592 19.504 1.34 7.619-.56 16.084-2.934 23.945-5.595 18.62-13.762 36.371-24.188 52.572 16.006 9.711 34.165 19.634 52.684 12.57 11.09-4.232 21.041-14.268 32.365-15.961 7.562-1.132 14.735 1.648 21.594 4.467a998.376 998.376 0 0195.343 45.227c13.023 7.042 26.207 14.481 40.901 16.153 14.694 1.672 31.486-3.518 41.947-17.66 1.611-2.179 3.241-4.669 5.483-5.546 2.02-.776 4.069-.045 5.952.688l113.896 44.033c6.241 2.411 12.718 4.853 19.534 3.832 6.606-.985 12.833-5.095 18.858-9.148 13.771-9.237 29.242-21.105 32.239-39.005 2.407-14.347-4.339-27.253-11.974-37.283-7.636-10.03-16.705-19.204-20.353-32.315-5.549-19.955 2.798-42.949 9.281-64.164a405.4 405.4 0 0013.244-58.574c2.588-17.377 4.004-35.179.91-51.659-3.095-16.481-11.265-31.624-24.089-38.27-16.746-8.681-38.828-2.057-54.255-13.347-13.04-9.513-17.58-29.035-25.856-44.316-14.698-27.146-41.453-40.923-67.958-50.405-28.1-10.066-58.213-16.679-88.607-10-6.962 1.527-14.047 3.833-20.152 8.649-9.36 7.388-15.196 19.616-22.986 29.33C156.104 57.468 100.341 49.156 68.22 87.48c-11.398 13.594-17.581 31.878-18.797 49.831-1.31 19.318 8.69 33.652 8.706 50.888-7.135 2.277-17.21-1.211-24.553-2.273z"}),Object(a.createElement)("path",{fill:"#F6F7F7",d:"M113 33h267v185H113z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M248.466 73.79h-114.69V47.88h114.69V73.79zm-114.015-.673h113.341V48.554H134.451v24.563z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M155.702 56.63h-12.818v12.786h12.818V56.63z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M154.016 67.733h-13.493V54.274h13.493v13.46zm-12.819-.673h12.144V54.947h-12.144V67.06z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M225.267 56.966h-50v.673h50v-.673z",opacity:".7"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M235.311 61.677h-60.044v.673h60.044v-.673z",opacity:".5"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M225.267 66.387h-50v.673h50v-.673z",opacity:".2"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M248.466 147.142h-114.69v-25.909h114.69v25.909zm-114.015-.673h113.341v-24.563H134.451v24.563z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M155.702 129.981h-12.818v12.786h12.818v-12.786z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M154.016 141.085h-13.493v-13.459h13.493v13.459zm-12.819-.673h12.144v-12.113h-12.144v12.113z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M235.311 130.318h-60.044v.673h60.044v-.673z",opacity:".7"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M225.267 135.028h-50v.673h50v-.673z",opacity:".5"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M215.267 139.739h-40v.673h40v-.673z",opacity:".2"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M289.62 110.465H174.93V84.557h114.69v25.908zm-114.016-.672h113.341V85.23H175.604v24.563z"}),Object(a.createElement)("path",{fill:"#CCC",d:"M267.694 106.092h12.818V93.305h-12.818v12.787z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M282.873 104.409H269.38V90.95h13.493v13.459zm-12.818-.673h12.144V91.623h-12.144v12.113z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M248.129 93.642h-60.044v.673h60.044v-.673z",opacity:".7"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M238.085 98.353h-50v.672h50v-.672z",opacity:".5"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M243.085 103.063h-55v.673h55v-.673z",opacity:".2"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M266.035 66.154a5.363 5.363 0 005.369-5.356 5.363 5.363 0 00-5.369-5.356c-2.966 0-5.37 2.398-5.37 5.356 0 2.958 2.404 5.356 5.37 5.356zM273.793 140.515c2.966 0 5.37-2.398 5.37-5.356 0-2.958-2.404-5.356-5.37-5.356a5.363 5.363 0 00-5.369 5.356 5.363 5.363 0 005.369 5.356zM153.706 102.83a5.363 5.363 0 005.37-5.356c0-2.959-2.404-5.357-5.37-5.357s-5.37 2.398-5.37 5.357a5.363 5.363 0 005.37 5.356z",opacity:".5"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M401.276 172h-70.552a8.79 8.79 0 01-6.169-2.517 8.532 8.532 0 01-2.555-6.078V131.56a3.368 3.368 0 011.078-2.471l37.386-34.915A8.113 8.113 0 01366 92c2.06 0 4.041.778 5.536 2.174l35.645 33.289a8.882 8.882 0 012.084 2.944 8.78 8.78 0 01.735 3.515v29.483c0 2.28-.919 4.466-2.555 6.078a8.79 8.79 0 01-6.169 2.517z"}),Object(a.createElement)("path",{fill:"#F0F0F0",d:"M393.267 106h-54.534c-2.614 0-4.733 2.053-4.733 4.585v52.83c0 2.532 2.119 4.585 4.733 4.585h54.534c2.614 0 4.733-2.053 4.733-4.585v-52.83c0-2.532-2.119-4.585-4.733-4.585z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M366 150.493l-41.579-20.323a1.667 1.667 0 00-1.631.091 1.695 1.695 0 00-.579.619 1.725 1.725 0 00-.211.826v34.967a5.345 5.345 0 001.543 3.767 5.261 5.261 0 003.725 1.56h77.464a5.261 5.261 0 003.725-1.56 5.345 5.345 0 001.543-3.767v-34.368c0-.352-.088-.699-.257-1.008a2.069 2.069 0 00-1.688-1.071 2.035 2.035 0 00-1.009.205L366 150.493zM390 118h-48v2h48v-2zM390 124h-48v2h48v-2z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M384 130h-42v2h42v-2z"}),Object(a.createElement)("path",{fill:"#fff",d:"M335 112a7 7 0 100-14 7 7 0 000 14z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M336 98a8.003 8.003 0 00-7.391 4.939 7.992 7.992 0 00-.455 4.622 7.993 7.993 0 006.285 6.285A8 8 0 00344 106a8.022 8.022 0 00-8-8zm-1.642 12.265l-4.1-4.1 1.15-1.15 2.954 2.954 6.234-6.234 1.15 1.15-7.388 7.38z"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip0"},Object(a.createElement)("path",{fill:"#fff",d:"M0 0h517v160H0z"}))))}),null),content:Object(a.createElement)(ze,{title:Object(j.__)("A personalized inbox full of relevant advice.","woocommerce-admin"),body:Object(j.__)("Check your inbox for helpful growth tips tailored to your store and notifications about key traffic and sales milestones. We look forward to celebrating them with you!","woocommerce-admin")})},{image:Object(a.createElement)((function(){return Object(a.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(a.createElement)("defs",null),Object(a.createElement)("g",{clipPath:"url(#clip0)"},Object(a.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object(a.createElement)("path",{fill:"#fff",fillOpacity:".65",d:"M30.501 63.74c7.21-10.372 19.533-17.051 31.735-22.399l2.057-.888c12.774-5.469 25.944-10.008 39.27-14.127 7.129-2.21 14.285-4.313 21.448-6.389l5.615-1.62c7.29-2.106 14.596-4.21 21.916-6.315a6165.97 6165.97 0 0121.511-6.139 3346.684 3346.684 0 0127.597-7.677 2189.847 2189.847 0 0121.603-5.782c9.237-2.42 18.491-4.764 27.761-7.035 7.246-1.77 14.502-3.483 21.767-5.14a1152.381 1152.381 0 0128.025-6 940.985 940.985 0 0119.106-3.654l2.908-.52c27.416-4.852 55.724-8.222 82.193-2.775l.715.151c.355.074.71.148 1.067.23a87.181 87.181 0 0114.309 4.404c8.282 3.398 15.644 8.247 20.596 14.967 7.763 10.54 8.624 24.398 6.126 37.281-2.498 12.884-8.007 25.346-12.299 37.974-1.257 3.7-2.378 7.49-3.34 11.33-5.997 24.068-5.398 49.993 11.766 67.323a93.715 93.715 0 007.029 6.227c3.928 3.218 7.905 6.424 11.03 10.3 7.28 9.017 9.211 20.756 10.296 32.099 1.425 15.086 1.236 31.775-9.516 44.175-11.153 12.875-30.519 17.317-48.211 18.232-27.498 1.457-54.442-3.316-81.339-6.956-26.898-3.641-54.739-6.141-81.787-.263a121.18 121.18 0 00-17.082 5.062 108.9 108.9 0 00-21.21 10.677c-9.622 6.318-17.826 14.22-23.006 23.613-11.123 20.092-39.488 28.645-62.664 24.15-22.115-4.288-39.921-20.774-44.019-40.738-4.538-22.229 6.615-44.308 16.332-66.515a358.83 358.83 0 003.437-8.081 238.988 238.988 0 001.795-4.513 165.185 165.185 0 002.828-7.947c4.39-13.591 6.016-28.984-2.295-40.321-4.658-6.347-11.477-10.355-19.238-13.393-17.388-6.801-39.481-8.722-52.38-21.167C22.84 94.854 21.359 76.92 30.502 63.74z"}),Object(a.createElement)("path",{fill:"#F6F7F7",d:"M124 33h267v185H124z"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M169 152.005V229a734.947 734.947 0 01-15.628-.991l-2.372-.181v-75.823c0-.395.072-.785.212-1.15.14-.365.345-.696.604-.975.258-.279.565-.5.903-.651a2.61 2.61 0 011.066-.229h12.43c.366 0 .728.078 1.066.229.338.151.645.372.903.651.259.279.464.61.604.975.14.365.212.755.212 1.15z",opacity:".7"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M186 229.733V127.377c0-.63.31-1.235.861-1.681.551-.446 1.299-.696 2.079-.696h13.12c.386 0 .768.061 1.125.181.357.119.681.294.954.515.273.221.489.483.637.771.148.289.224.598.224.91V230l-19-.267z",opacity:".5"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M225 230.002v-97.406a2.843 2.843 0 012.843-2.845h12.689a2.844 2.844 0 012.844 2.845v97.196l-18.376.21z",opacity:".7"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M282 88.368v140.224c-6 .145-12 .281-18 .408V88.368c0-.628.293-1.23.816-1.674.522-.445 1.231-.694 1.969-.694h12.43c.738 0 1.447.25 1.969.694.523.444.816 1.046.816 1.674z",opacity:".5"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M319 112.954v115.709c-6 .12-12 .232-18 .337V112.954c0-.518.293-1.015.816-1.382.522-.366 1.231-.572 1.969-.572h12.43c.738 0 1.447.206 1.969.572.523.367.816.864.816 1.382z",opacity:".7"}),Object(a.createElement)("path",{stroke:"#CCC",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M160.125 133.501l41.91-46.767 41.91 23.545 41.91-72.248 41.909 34.511"}),Object(a.createElement)("path",{className:"fill-theme-color",d:"M160 139.005c2.761 0 5-2.24 5-5.003a5.002 5.002 0 00-5-5.002c-2.761 0-5 2.24-5 5.002a5.002 5.002 0 005 5.003zM201.5 93.007c4.142 0 7.5-3.36 7.5-7.504A7.502 7.502 0 00201.5 78c-4.142 0-7.5 3.36-7.5 7.504a7.502 7.502 0 007.5 7.503zM243.784 119.31c4.985 0 9.026-4.043 9.026-9.031s-4.041-9.031-9.026-9.031c-4.986 0-9.027 4.043-9.027 9.031s4.041 9.031 9.027 9.031zM286.027 46.062c4.985 0 9.027-4.043 9.027-9.031S291.012 28 286.027 28c-4.986 0-9.027 4.043-9.027 9.031s4.041 9.031 9.027 9.031zM327.5 80.007c4.142 0 7.5-3.36 7.5-7.504A7.502 7.502 0 00327.5 65c-4.142 0-7.5 3.36-7.5 7.504a7.502 7.502 0 007.5 7.503zM408 137l-36 2-18-30.926c5.588-3.326 12.033-5.083 18.606-5.074C392.154 103 408 118.222 408 137zM351.107 110l-.143.088c-7.887 4.836-13.573 12.518-15.859 21.429a35.211 35.211 0 003.603 26.338l.084.145L370 140.317 351.107 110zm-12.19 47.543a34.886 34.886 0 01-3.485-25.944c2.25-8.77 7.826-16.342 15.566-21.138l18.531 29.738-30.612 17.344zM408.664 138.651l-35.891 2.797 10.3 32.297.162-.046c7.808-2.265 14.585-6.957 19.211-13.301 4.626-6.344 6.824-13.96 6.23-21.588l-.012-.159zm-35.447 3.081l35.134-2.738c1.116 15.348-9.387 29.753-25.051 34.355l-10.083-31.617zM370.719 142.639l-30.714 17.335.088.131c3.977 5.942 9.926 10.554 16.982 13.165 7.056 2.61 14.849 3.083 22.245 1.349l.164-.038-8.765-31.942zm-30.249 17.435l30.034-16.951 8.57 31.234c-7.278 1.673-14.935 1.192-21.871-1.374-6.936-2.566-12.794-7.086-16.733-12.909z"}),Object(a.createElement)("path",{fill:"#fff",d:"M423 97h-17v-1h17v1zM423 101h-17v-3h17v3zM416 104h-17.979l-.05.068L384 122.821l.28.179 13.92-18.685H416V104z"})),Object(a.createElement)("defs",null,Object(a.createElement)("clipPath",{id:"clip0"},Object(a.createElement)("path",{fill:"#fff",d:"M0 0h517v160H0z"}))))}),null),content:Object(a.createElement)(ze,{title:Object(j.__)("Good data leads to smart business decisions.","woocommerce-admin"),body:"Monitor your stats to improve performance, increase sales, and track your progress toward revenue goals. The more you know, the better you can serve your customers and grow your store."})}]),Me=function(e){var t=e.onClose,n=Object(a.useState)(!0),c=d()(n,2),r=c[0],o=c[1];return Object(a.useEffect)((function(){Object(q.b)("task_list_welcome_modal_open")}),[]),Object(a.createElement)(a.Fragment,null,r&&Object(a.createElement)(Ne,{onFinish:function(){o(!1),t(),Object(q.b)("task_list_welcome_modal_close")},className:"woocommerce__welcome-modal",finishButtonText:Object(j.__)("Let's go","woocommerce-admin"),pages:Ce}))},Re=Object(a.lazy)((function(){return Promise.all([n.e(3),n.e(4),n.e(5),n.e(6),n.e(47)]).then(n.bind(null,927))})),Pe=function(e){var t=e.isUndoRequesting,n=e.query,c=e.requestingTaskList,r=e.taskListComplete,o=e.taskListHidden,i=e.shouldShowWelcomeModal,l=e.updateOptions,s=Object(a.useState)(!0),m=d()(s,2),u=m[0],f=m[1],b=Object(a.useState)(!1),h=d()(b,2),v=h[0],O=h[1],j=Object(a.useRef)(null),y=function(){if(j.current){var e=j.current.getBoundingClientRect().bottom,t=u&&e<window.innerHeight;O(t)}};Object(a.useEffect)((function(){return y(),window.addEventListener("resize",y),function(){window.removeEventListener("resize",y)}}),[]);var g=!1===o&&!r,_=!g||!n.task,w=function(e){f(!e)};t&&!u&&f(!0);var E=function(){return c?Object(a.createElement)(de,null):Object(a.createElement)(a.Suspense,{fallback:Object(a.createElement)(de,null)},Object(a.createElement)(Re,{query:n}))};return Object(a.createElement)("div",{className:p()("woocommerce-homescreen",{hasInbox:u})},_?Object(a.createElement)(a.Fragment,null,u&&Object(a.createElement)("div",{className:"woocommerce-homescreen-column is-inbox"},Object(a.createElement)(fe.default,{isPanelEmpty:w})),Object(a.createElement)("div",{className:"woocommerce-homescreen-column",ref:j,style:{position:v?"sticky":"static"}},g&&E(),Object(a.createElement)(ue,null),!g&&Object(a.createElement)(B,null))):g&&E(),i&&Object(a.createElement)(Me,{onClose:function(){l({woocommerce_task_list_welcome_modal_dismissed:!0})}}))};Pe.propTypes={requestingTaskList:h.a.bool.isRequired,taskListComplete:h.a.bool,taskListHidden:h.a.bool,query:h.a.object.isRequired,shouldShowWelcomeModal:h.a.bool,updateOptions:h.a.func.isRequired};var xe=Object(c.a)(Object($.a)((function(e){var t=(0,e("wc-api").getUndoDismissRequesting)().isUndoRequesting,n=e(l.OPTIONS_STORE_NAME),a=n.getOption,c=n.isResolving,r="1"===a("woocommerce_task_list_welcome_modal_dismissed"),o=!c("getOption",["woocommerce_task_list_welcome_modal_dismissed"])&&!r;return Object(m.f)()?{isUndoRequesting:t,shouldShowWelcomeModal:o,taskListComplete:"yes"===a("woocommerce_task_list_complete"),taskListHidden:"yes"===a("woocommerce_task_list_hidden"),requestingTaskList:c("getOption",["woocommerce_task_list_complete"])||c("getOption",["woocommerce_task_list_hidden"])}:{shouldShowWelcomeModal:o,requestingTaskList:!1}})),Object(r.withDispatch)((function(e){return{updateOptions:e(l.OPTIONS_STORE_NAME).updateOptions}})))(Pe);t.default=Object(c.a)(Object(i.g)("onboarding",{}).profile?Object(l.withOnboardingHydration)(Object(i.g)("onboarding",{}).profile):o.identity,Object(r.withSelect)((function(e){if(Object(m.f)())return{profileItems:(0,e(l.ONBOARDING_STORE_NAME).getProfileItems)()}})))((function(e){var t=e.profileItems,n=e.query,c=t||{},r=c.completed,o=c.skipped;return!Object(m.f)()||r||o||Object(s.getHistory)().push(Object(s.getNewPath)({},"/profiler",{})),Object(a.createElement)(xe,{query:n})}))},98:function(e,t,n){"use strict";function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,"a",(function(){return a}))}}]);