PATH:
home
/
letacommog
/
laperouse
/
wp-content
/
plugins
/
woocommerce
/
packages
/
woocommerce-admin
/
dist
/
chunks
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[34],{690:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(8),c=a(27),o=a(0),r=a(4),i=a.n(r),l=a(96);function s(e){var t,a,r,s,m,u,d=e.renderContent,p=e.renderToggle,f=e.position,b=void 0===f?"bottom right":f,h=e.className,v=e.contentClassName,O=e.expandOnMobile,j=e.headerTitle,y=e.focusOnMount,_=e.popoverProps,g=e.onClose,w=e.onToggle,E=Object(o.useRef)(),k=(t=!1,a=w,r=Object(o.useState)(t),s=Object(c.a)(r,2),m=s[0],u=s[1],[m,function(e){u(e),a&&a(e)}]),N=Object(c.a)(k,2),z=N[0],C=N[1];function M(){g&&g(),C(!1)}Object(o.useEffect)((function(){return function(){w&&w(!1)}}),[]);var T={isOpen:z,onToggle:function(){C(!z)},onClose:M};return Object(o.createElement)("div",{className:i()("components-dropdown",h),ref:E},p(T),z&&Object(o.createElement)(l.a,Object(n.a)({position:b,onClose:M,onFocusOutside:function(){E.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||M()},expandOnMobile:O,headerTitle:j,focusOnMount:y},_,{anchorRef:E.current,className:i()("components-dropdown__content",_?_.className:void 0,v)}),d(T)))}},718:function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return m}));var n=a(0),c=a(49),o=a(188),r=a.n(o),i=a(33),l=r()(i.b),s=function(e){var t=l.getCurrencyConfig(),a=Object(c.applyFilters)("woocommerce_admin_report_currency",t,e);return r()(a)},m=Object(n.createContext)(l)},726:function(e,t,a){"use strict";var n=a(736),c=["a","b","em","i","strong","p","br"],o=["target","href","rel","name","download"];t.a=function(e){return{__html:Object(n.sanitize)(e,{ALLOWED_TAGS:c,ALLOWED_ATTR:o})}}},727:function(e,t,a){"use strict";var n=a(14),c=a.n(n),o=a(13),r=a.n(o),i=a(16),l=a.n(i),s=a(17),m=a.n(s),u=a(6),d=a.n(u),p=a(0),f=a(4),b=a.n(f),h=a(1),v=a.n(h),O=a(701),j=a(68);a(729);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 a,n=d()(e);if(t){var c=d()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return m()(this,a)}}var _=function(e){l()(a,e);var t=y(a);function a(){return c()(this,a),t.apply(this,arguments)}return r()(a,[{key:"render",value:function(){var e=this.props,t=e.className,a=e.menu,n=e.subtitle,c=e.title,o=e.unreadMessages,r=b()({"woocommerce-layout__inbox-panel-header":n,"woocommerce-layout__activity-panel-header":!n},t),i=o||0;return Object(p.createElement)("div",{className:r},Object(p.createElement)("div",{className:"woocommerce-layout__inbox-title"},Object(p.createElement)(O.a,{variant:"title.small"},c),Object(p.createElement)(O.a,{variant:"button"},i>0&&Object(p.createElement)("span",{className:"woocommerce-layout__inbox-badge"},o))),Object(p.createElement)("div",{className:"woocommerce-layout__inbox-subtitle"},n&&Object(p.createElement)(O.a,{variant:"body.small"},n)),a&&Object(p.createElement)("div",{className:"woocommerce-layout__activity-panel-header-menu"},a))}}]),a}(p.Component);_.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=_},729:function(e,t,a){},730:function(e,t,a){"use strict";a.d(t,"a",(function(){return C})),a.d(t,"b",(function(){return N}));var n=a(14),c=a.n(n),o=a(13),r=a.n(o),i=a(16),l=a.n(i),s=a(17),m=a.n(s),u=a(6),d=a.n(u),p=a(0),f=a(4),b=a.n(f),h=a(90),v=a.n(h),O=a(15),j=a.n(O),y=a(1),_=a.n(y),g=a(68),w=(a(731),a(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 a,n=d()(e);if(t){var c=d()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return m()(this,a)}}var k=function(e){l()(a,e);var t=E(a);function a(){return c()(this,a),t.apply(this,arguments)}return r()(a,[{key:"render",value:function(){var e=this.props,t=e.className,a=e.hasAction,n=e.hasDate,c=e.hasSubtitle,o=e.lines,r=b()("woocommerce-activity-card is-loading",t);return Object(p.createElement)("div",{className:r,"aria-hidden":!0},Object(p.createElement)("span",{className:"woocommerce-activity-card__icon"},Object(p.createElement)("span",{className:"is-placeholder"})),Object(p.createElement)("div",{className:"woocommerce-activity-card__header"},Object(p.createElement)("div",{className:"woocommerce-activity-card__title is-placeholder"}),c&&Object(p.createElement)("div",{className:"woocommerce-activity-card__subtitle is-placeholder"}),n&&Object(p.createElement)("div",{className:"woocommerce-activity-card__date"},Object(p.createElement)("span",{className:"is-placeholder"}))),Object(p.createElement)("div",{className:"woocommerce-activity-card__body"},Object(w.range)(o).map((function(e){return Object(p.createElement)("span",{className:"is-placeholder",key:e})}))),a&&Object(p.createElement)("div",{className:"woocommerce-activity-card__actions"},Object(p.createElement)("span",{className:"is-placeholder"})))}}]),a}(p.Component);k.propTypes={className:_.a.string,hasAction:_.a.bool,hasDate:_.a.bool,hasSubtitle:_.a.bool,lines:_.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 a,n=d()(e);if(t){var c=d()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return m()(this,a)}}var C=function(e){l()(a,e);var t=z(a);function a(){return c()(this,a),t.apply(this,arguments)}return r()(a,[{key:"render",value:function(){var e=this.props,t=e.actions,a=e.className,n=e.children,c=e.date,o=e.icon,r=e.subtitle,i=e.title,l=e.unread,s=b()("woocommerce-activity-card",a),m=Array.isArray(t)?t:[t];return Object(p.createElement)("section",{className:s},l&&Object(p.createElement)("span",{className:"woocommerce-activity-card__unread"}),o&&Object(p.createElement)("span",{className:"woocommerce-activity-card__icon","aria-hidden":!0},o),Object(p.createElement)("header",{className:"woocommerce-activity-card__header"},Object(p.createElement)(g.H,{className:"woocommerce-activity-card__title"},i),r&&Object(p.createElement)("div",{className:"woocommerce-activity-card__subtitle"},r),c&&Object(p.createElement)("span",{className:"woocommerce-activity-card__date"},j.a.utc(c).fromNow())),Object(p.createElement)(g.Section,{className:"woocommerce-activity-card__body"},n),t&&Object(p.createElement)("footer",{className:"woocommerce-activity-card__actions"},m.map((function(e,t){return Object(p.cloneElement)(e,{key:t})}))))}}]),a}(p.Component);C.propTypes={actions:_.a.oneOfType([_.a.arrayOf(_.a.element),_.a.element]),className:_.a.string,children:_.a.node.isRequired,date:_.a.string,icon:_.a.node,subtitle:_.a.node,title:_.a.oneOfType([_.a.string,_.a.node]).isRequired,unread:_.a.bool},C.defaultProps={icon:Object(p.createElement)(v.a,{icon:"notice-outline",size:48}),unread:!1}},731:function(e,t,a){},737:function(e,t,a){},741:function(e,t,a){"use strict";a.d(t,"b",(function(){return b})),a.d(t,"a",(function(){return h}));var n=a(5),c=a.n(n),o=a(15),r=a.n(o),i=a(2),l=a(35),s=a(41),m=a(32),u=a(274),d=a(33);function p(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function f(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?p(Object(a),!0).forEach((function(t){c()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var b=function(e){var t=e.indicator,a=e.primaryData,n=e.secondaryData,c=e.currency,o=e.formatAmount,r=e.persistedQuery,l=Object(i.find)(a.data,(function(e){return e.stat===t.stat})),s=Object(i.find)(n.data,(function(e){return e.stat===t.stat}));if(!l||!s)return{};var p=l._links&&l._links.report[0]&&l._links.report[0].href||"",f=function(e,t,a){return e?"/jetpack"===e?Object(d.f)("admin.php?page=jetpack#/dashboard"):Object(m.getNewPath)(t,e,{chart:a.chart}):""}(p,r,l),b="/jetpack"===p?"wp-admin":"wc-admin",h="currency"===l.format,v=Object(u.calculateDelta)(l.value,s.value);return{primaryValue:h?o(l.value):Object(u.formatValue)(c,l.format,l.value),secondaryValue:h?o(s.value):Object(u.formatValue)(c,s.format,s.value),delta:v,reportUrl:f,reportUrlType:b}},h=function(e,t,a,n){var c=e(s.REPORTS_STORE_NAME),o=c.getReportItems,i=c.getReportItemsError,m=c.isResolving,u=e(s.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,d=Object(l.getCurrentDates)(a,u),p=d.primary.before,b=d.secondary.before,h=t.map((function(e){return e.stat})).join(","),v=Object(s.getFilterQuery)({filters:n,query:a}),O=f(f({},v),{},{after:Object(l.appendTimestamp)(d.primary.after,"start"),before:Object(l.appendTimestamp)(p,p.isSame(r()(),"day")?"now":"end"),stats:h}),j=f(f({},v),{},{after:Object(l.appendTimestamp)(d.secondary.after,"start"),before:Object(l.appendTimestamp)(b,b.isSame(r()(),"day")?"now":"end"),stats:h});return{primaryData:o("performance-indicators",O),primaryError:i("performance-indicators",O)||null,primaryRequesting:m("getReportItems",["performance-indicators",O]),secondaryData:o("performance-indicators",j),secondaryError:i("performance-indicators",j)||null,secondaryRequesting:m("getReportItems",["performance-indicators",j]),defaultDateRange:u}}},742:function(e,t,a){var n;n=function(e,t){return function(e){var t={};function a(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)a.d(n,c,function(t){return e[t]}.bind(null,c));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=4)}([function(e,t,a){e.exports=a(5)()},function(t,a){t.exports=e},function(e,a){e.exports=t},function(e,t){e.exports=function(e,t,a){var n=e.direction,c=e.value;switch(n){case"top":return a.top+c<t.top&&a.bottom>t.bottom&&a.left<t.left&&a.right>t.right;case"left":return a.left+c<t.left&&a.bottom>t.bottom&&a.top<t.top&&a.right>t.right;case"bottom":return a.bottom-c>t.bottom&&a.left<t.left&&a.right>t.right&&a.top<t.top;case"right":return a.right-c>t.right&&a.left<t.left&&a.top<t.top&&a.bottom>t.bottom}}},function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return v}));var n=a(1),c=a.n(n),o=a(2),r=a.n(o),i=a(0),l=a.n(i),s=a(3),m=a.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 a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(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,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var v=function(e){function t(e){var a,n,c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,c=p(t).call(this,e),a=!c||"object"!==u(c)&&"function"!=typeof c?f(n):c,h(f(a),"getContainer",(function(){return a.props.containment||window})),h(f(a),"addEventListener",(function(e,t,n,c){var o;a.debounceCheck||(a.debounceCheck={});var r=function(){o=null,a.check()},i={target:e,fn:c>-1?function(){o||(o=setTimeout(r,c||0))}:function(){clearTimeout(o),o=setTimeout(r,n||0)},getLastTimeout:function(){return o}};e.addEventListener(t,i.fn),a.debounceCheck[t]=i})),h(f(a),"startWatching",(function(){a.debounceCheck||a.interval||(a.props.intervalCheck&&(a.interval=setInterval(a.check,a.props.intervalDelay)),a.props.scrollCheck&&a.addEventListener(a.getContainer(),"scroll",a.props.scrollDelay,a.props.scrollThrottle),a.props.resizeCheck&&a.addEventListener(window,"resize",a.props.resizeDelay,a.props.resizeThrottle),!a.props.delayedCall&&a.check())})),h(f(a),"stopWatching",(function(){if(a.debounceCheck)for(var e in a.debounceCheck)if(a.debounceCheck.hasOwnProperty(e)){var t=a.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),a.debounceCheck[e]=null}a.debounceCheck=null,a.interval&&(a.interval=clearInterval(a.interval))})),h(f(a),"check",(function(){var e,t,n=a.node;if(!n)return a.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}(a.roundRectDown(n.getBoundingClientRect())),a.props.containment){var c=a.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 o=a.props.offset||{};"object"===u(o)&&(t.top+=o.top||0,t.left+=o.left||0,t.bottom-=o.bottom||0,t.right-=o.right||0);var r={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&&r.top&&r.left&&r.bottom&&r.right;if(i&&a.props.partialVisibility){var s=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof a.props.partialVisibility&&(s=r[a.props.partialVisibility]),l=a.props.minTopValue?s&&e.top<=t.bottom-a.props.minTopValue:s}"string"==typeof o.direction&&"number"==typeof o.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 }",o.direction,o.value),l=m()(o,e,t));var d=a.state;return a.state.isVisible!==l&&(d={isVisible:l,visibilityRect:r},a.setState(d),a.props.onChange&&a.props.onChange(l)),d})),a.state={isVisible:null,visibilityRect:{}},a}var a,n,o;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),a=t,(n=[{key:"componentDidMount",value:function(){this.node=r.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(e){this.node=r.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(a.prototype,n),o&&d(a,o),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,a){"use strict";var n=a(6);function c(){}function o(){}o.resetWarningCache=c,e.exports=function(){function e(e,t,a,c,o,r){if(r!==n){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 a={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:o,resetWarningCache:c};return a.PropTypes=a,a}},function(e,t,a){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},e.exports=n(a(11),a(88))},743:function(e,t,a){},757:function(e,t,a){},762:function(e,t,a){"use strict";a.r(t);var n=a(60),c=a.n(n),o=a(0),r=a(3),i=a(270),l=a(68),s=a(41),m=a(24),u=a(730),d=a(14),p=a.n(d),f=a(13),b=a.n(f),h=a(16),v=a.n(h),O=a(17),j=a.n(O),y=a(6),_=a.n(y),g=a(1),w=a.n(g);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 a,n=_()(e);if(t){var c=_()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return j()(this,a)}}var k=function(e){v()(a,e);var t=E(a);function a(){return p()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props.className;return Object(o.createElement)("div",{className:"woocommerce-inbox-message is-placeholder ".concat(e),"aria-hidden":!0},Object(o.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(o.createElement)("div",{className:"banner-block"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__date"},Object(o.createElement)("div",{className:"sixth-line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__title"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"line"})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__text"},Object(o.createElement)("div",{className:"line"}),Object(o.createElement)("div",{className:"third-line"}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},Object(o.createElement)("div",{className:"fifth-line"}),Object(o.createElement)("div",{className:"fifth-line"}))))}}]),a}(o.Component);k.propTypes={className:w.a.string};var N=k,z=a(727),C=a(10),M=a.n(C),T=a(5),S=a.n(T),R=a(690),P=a(72),x=a(691),D=a(742),A=a.n(D),V=a(15),L=a.n(V),I=a(4),H=a.n(I),q=a(61),B=a(33);function U(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 a,n=_()(e);if(t){var c=_()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return j()(this,a)}}var F=function(e){v()(a,e);var t=U(a);function a(e){var n;return p()(this,a),(n=t.call(this,e)).state={inAction:!1},n.handleActionClick=n.handleActionClick.bind(M()(n)),n}return b()(a,[{key:"handleActionClick",value:function(e){var t=this.props,a=t.action,n=t.actionCallback,c=t.batchUpdateNotes,o=t.createNotice,i=t.noteId,l=t.triggerNoteAction,s=t.removeAllNotes,m=t.removeNote,u=t.onClick,d=t.updateNote,p=e.target.href||"",f=!0;p.length&&!p.startsWith(B.a)&&(e.preventDefault(),f=!1,window.open(p,"_blank")),a?this.setState({inAction:f},(function(){l(i,a.id),u&&u()})):(i?m(i).then((function(){o("success",Object(r.__)("Message dismissed.",'woocommerce'),{actions:[{label:Object(r.__)("Undo",'woocommerce'),onClick:function(){d(i,{is_deleted:0})}}]})})).catch((function(){o("error",Object(r.__)("Message could not be dismissed.",'woocommerce'))})):s().then((function(e){o("success",Object(r.__)("All messages dismissed.",'woocommerce'),{actions:[{label:Object(r.__)("Undo",'woocommerce'),onClick:function(){c(e.map((function(e){return e.id})),{is_deleted:0})}}]})})).catch((function(){o("error",Object(r.__)("Message could not be dismissed.",'woocommerce'))})),n(!0))}},{key:"render",value:function(){var e=this.props,t=e.action,a=e.dismiss,n=e.label;return Object(o.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},a?n:t.label)}}]),a}(o.Component);F.propTypes={noteId:w.a.number,label:w.a.string,dismiss:w.a.bool,actionCallback:w.a.func,action:w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired}),onClick:w.a.func};var W=Object(i.a)(Object(m.withDispatch)((function(e){var t=e("core/notices").createNotice,a=e(s.NOTES_STORE_NAME),n=a.batchUpdateNotes,c=a.removeAllNotes,o=a.removeNote,r=a.updateNote;return{batchUpdateNotes:n,createNotice:t,removeAllNotes:c,removeNote:o,triggerNoteAction:a.triggerNoteAction,updateNote:r}})))(F),G=a(726),K=(a(743),a(410));function J(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 a,n=_()(e);if(t){var c=_()(this).constructor;a=Reflect.construct(n,arguments,c)}else a=n.apply(this,arguments);return j()(this,a)}}var Q=function(e){v()(a,e);var t=J(a);function a(e){var n;return p()(this,a),n=t.call(this,e),S()(M()(n),"onActionClicked",(function(e){e.actioned_text&&n.setState({clickedActionText:e.actioned_text})})),n.onVisible=n.onVisible.bind(M()(n)),n.hasBeenSeen=!1,n.state={isDismissModalOpen:!1,dismissType:null,clickedActionText:null},n.openDismissModal=n.openDismissModal.bind(M()(n)),n.closeDismissModal=n.closeDismissModal.bind(M()(n)),n.bodyNotificationRef=Object(o.createRef)(),n.screen=Object(K.a)(),n}return b()(a,[{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 a=e.target.href;if(a){var n=t.note;Object(q.recordEvent)("wcadmin_inbox_action_click",{note_name:n.name,note_title:n.title,note_content_inner_link:a})}}},{key:"onVisible",value:function(e){if(e&&!this.hasBeenSeen){var t=this.props.note;Object(q.recordEvent)("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,a=this.props.note,n="all"===t;Object(q.recordEvent)("inbox_action_dismiss",{note_name:a.name,note_title:a.title,note_name_dismiss_all:n,note_name_dismiss_confirmation:e||!1,screen:this.screen}),this.setState({isDismissModalOpen:!1})}},{key:"handleBlur",value:function(e,t){var a=e.relatedTarget?e.relatedTarget:document.activeElement;!!a&&["woocommerce-admin-dismiss-notification","components-popover__content"].some((function(e){return a.className.includes(e)}))?e.preventDefault():t()}},{key:"renderDismissButton",value:function(){var e=this;return this.state.clickedActionText?null:Object(o.createElement)(R.a,{contentClassName:"woocommerce-admin-dismiss-dropdown",position:"bottom right",renderToggle:function(t){var a=t.onClose,n=t.onToggle;return Object(o.createElement)(P.a,{isTertiary:!0,onClick:n,onBlur:function(t){return e.handleBlur(t,a)}},Object(r.__)("Dismiss",'woocommerce'))},focusOnMount:!1,popoverProps:{noArrow:!0},renderContent:function(t){var a=t.onToggle;return Object(o.createElement)("ul",null,Object(o.createElement)("li",null,Object(o.createElement)(P.a,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("this",a)}},Object(r.__)("Dismiss this message",'woocommerce'))),Object(o.createElement)("li",null,Object(o.createElement)(P.a,{className:"woocommerce-admin-dismiss-notification",onClick:function(){return e.openDismissModal("all",a)}},Object(r.__)("Dismiss all messages",'woocommerce'))))}})}},{key:"getDismissConfirmationButton",value:function(){var e=this.props.note,t=this.state.dismissType;return Object(o.createElement)(W,{key:e.id,noteId:"all"===t?null:e.id,label:Object(r.__)("Yes, I'm sure",'woocommerce'),actionCallback:this.closeDismissModal,dismiss:!0,screen:this.screen})}},{key:"renderDismissConfirmationModal",value:function(){var e=this;return Object(o.createElement)(x.a,{title:Object(o.createElement)(o.Fragment,null,Object(r.__)("Are you sure?",'woocommerce')),onRequestClose:function(){return e.closeDismissModal()},className:"woocommerce-inbox-dismiss-confirmation_modal"},Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_wrapper"},Object(o.createElement)("p",null,Object(r.__)("Dismissed messages cannot be viewed again",'woocommerce')),Object(o.createElement)("div",{className:"woocommerce-inbox-dismiss-confirmation_buttons"},Object(o.createElement)(P.a,{isSecondary:!0,onClick:function(){return e.closeDismissModal()}},Object(r.__)("Cancel",'woocommerce')),this.getDismissConfirmationButton())))}},{key:"renderActions",value:function(e){var t=this,a=e.actions,n=e.id,c=this.state.clickedActionText;return c||(a?Object(o.createElement)(o.Fragment,null,a.map((function(e,a){return Object(o.createElement)(W,{key:a,noteId:n,action:e,onClick:function(){return t.onActionClicked(e)}})}))):void 0)}},{key:"render",value:function(){var e=this.props,t=e.lastRead,a=e.note,n=this.state.isDismissModalOpen,c=a.content,r=a.date_created,i=a.date_created_gmt,s=a.image,m=a.is_deleted,u=a.layout,d=a.status,p=a.title;if(m)return null;var f=!t||!i||new Date(i+"Z").getTime()>t,b=r,h="plain"!==u&&""!==u,v=H()("woocommerce-inbox-message",u,{"message-is-unread":f&&"unactioned"===d});return Object(o.createElement)(A.a,{onChange:this.onVisible},Object(o.createElement)("section",{className:v},h&&Object(o.createElement)("div",{className:"woocommerce-inbox-message__image"},Object(o.createElement)("img",{src:s,alt:""})),Object(o.createElement)("div",{className:"woocommerce-inbox-message__wrapper"},Object(o.createElement)("div",{className:"woocommerce-inbox-message__content"},b&&Object(o.createElement)("span",{className:"woocommerce-inbox-message__date"},L.a.utc(b).fromNow()),Object(o.createElement)(l.H,{className:"woocommerce-inbox-message__title"},p),Object(o.createElement)(l.Section,{className:"woocommerce-inbox-message__text"},Object(o.createElement)("span",{dangerouslySetInnerHTML:Object(G.a)(c),ref:this.bodyNotificationRef}))),Object(o.createElement)("div",{className:"woocommerce-inbox-message__actions"},this.renderActions(a),this.renderDismissButton())),n&&this.renderDismissConfirmationModal()))}}]),a}(o.Component);Q.propTypes={note:w.a.shape({id:w.a.number,status:w.a.string,title:w.a.string,content:w.a.string,date_created:w.a.string,date_created_gmt:w.a.string,actions:w.a.arrayOf(w.a.shape({id:w.a.number.isRequired,url:w.a.string,label:w.a.string.isRequired,primary:w.a.bool.isRequired})),layout:w.a.string,image:w.a.string,is_deleted:w.a.bool}),lastRead:w.a.number};var Y=Q,$=a(411),X=function(e){var t=e.hasNotes,a=e.isBatchUpdating,n=e.lastRead,c=e.notes;if(!a)return t?Object.keys(c).map((function(e){return c[e]})).map((function(e){return Object(o.createElement)(Y,{key:e.id,note:e,lastRead:n})})):Object(o.createElement)(u.a,{className:"woocommerce-empty-activity-card",title:Object(r.__)("Your inbox is empty",'woocommerce'),icon:!1},Object(r.__)("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'))};t.default=Object(i.a)(Object(m.withSelect)((function(e){var t=e(s.NOTES_STORE_NAME),a=t.getNotes,n=t.getNotesError,c=t.isResolving,o=t.isNotesRequesting,r={page:1,per_page:s.QUERY_DEFAULTS.pageSize,status:"unactioned",type:s.QUERY_DEFAULTS.noteTypes,orderby:"date",order:"desc",_fields:["id","name","title","content","type","status","actions","date_created","date_created_gmt","layout","image","is_deleted"]};return{notes:a(r),isError:Boolean(n("getNotes",[r])),isResolving:c("getNotes",[r]),isUpdatingNote:o("updateNote"),isBatchUpdating:o("batchUpdateNotes")}})))((function(e){var t=e.isError,a=e.isPanelEmpty,n=e.isResolving,i=e.isBatchUpdating,m=e.notes,u=e.isUpdatingNote,d=Object(s.useUserPreferences)(),p=d.updateUserPreferences,f=c()(d,["updateUserPreferences"]).activity_panel_inbox_last_read;if(Object(o.useEffect)((function(){var e=Date.now();return function(){p({activity_panel_inbox_last_read:e})}}),[]),t){var b=Object(r.__)("There was an error getting your inbox. Please try again.",'woocommerce'),h=Object(r.__)("Reload",'woocommerce');return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(l.EmptyContent,{title:b,actionLabel:h,actionURL:null,actionCallback:function(){window.location.reload()}}))}var v=Object($.b)(m),O=v||n||u;return a&&a(!v&&!O),Object(o.createElement)(o.Fragment,null,O&&Object(o.createElement)(z.a,{title:Object(r.__)("Inbox",'woocommerce'),subtitle:Object(r.__)("Insights and growth tips for your business",'woocommerce'),unreadMessages:Object($.a)(m,f)}),Object(o.createElement)("div",{className:"woocommerce-homepage-notes-wrapper"},(n||i)&&Object(o.createElement)(l.Section,null,Object(o.createElement)(N,{className:"banner message-is-unread"})),Object(o.createElement)(l.Section,null,!n&&!i&&X({hasNotes:v,isBatchUpdating:i,lastRead:f,notes:m}))))}))},864:function(e,t,a){},866:function(e,t,a){},867:function(e,t,a){},868:function(e,t,a){},869:function(e,t,a){!function(t,a,n){if(t){for(var c,o={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"},r={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)o[111+s]="f"+s;for(s=0;s<=9;++s)o[s+96]=s.toString();b.prototype.bind=function(e,t,a){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,a),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,n){return null!==t&&t!==a&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}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)&&(o[t]=e[t]);c=null},b.init=function(){var e=b(a);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,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent("on"+t,a)}function u(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return o[e.which]?o[e.which]:r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}function d(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function p(e,t,a){return a||(a=function(){if(!c)for(var e in c={},o)e>95&&e<112||o.hasOwnProperty(e)&&(c[o[e]]=e);return c}()[e]?"keydown":"keypress"),"keypress"==a&&t.length&&(a="keydown"),a}function f(e,t){var a,n,c,o=[];for(a=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),c=0;c<a.length;++c)n=a[c],l[n]&&(n=l[n]),t&&"keypress"!=t&&i[n]&&(n=i[n],o.push("shift")),d(n)&&o.push(n);return{key:n,modifiers:o,action:t=p(n,o,t)}}function b(e){var t=this;if(e=e||a,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,c={},o=!1,r=!1,i=!1;function l(e){e=e||{};var t,a=!1;for(t in c)e[t]?a=!0:c[t]=0;a||(i=!1)}function s(e,a,n,o,r,i){var l,s,m,u,p=[],f=n.type;if(!t._callbacks[e])return[];for("keyup"==f&&d(e)&&(a=[e]),l=0;l<t._callbacks[e].length;++l)if(s=t._callbacks[e][l],(o||!s.seq||c[s.seq]==s.level)&&f==s.action&&("keypress"==f&&!n.metaKey&&!n.ctrlKey||(m=a,u=s.modifiers,m.sort().join(",")===u.sort().join(",")))){var b=!o&&s.combo==r,h=o&&s.seq==o&&s.level==i;(b||h)&&t._callbacks[e].splice(l,1),p.push(s)}return p}function p(e,a,n,c){t.stopCallback(a,a.target||a.srcElement,n,c)||!1===e(a,n)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(a),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(a))}function h(e){"number"!=typeof e.which&&(e.which=e.keyCode);var a=u(e);a&&("keyup"!=e.type||o!==a?t.handleKey(a,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):o=!1)}function v(e,t,a,r){function s(t){return function(){i=t,++c[e],clearTimeout(n),n=setTimeout(l,1e3)}}function m(t){p(a,t,e),"keyup"!==r&&(o=u(t)),setTimeout(l,10)}c[e]=0;for(var d=0;d<t.length;++d){var b=d+1===t.length?m:s(r||f(t[d+1]).action);O(t[d],b,r,e,d)}}function O(e,a,n,c,o){t._directMap[e+":"+n]=a;var r,i=(e=e.replace(/\s+/g," ")).split(" ");i.length>1?v(e,i,a,n):(r=f(e,n),t._callbacks[r.key]=t._callbacks[r.key]||[],s(r.key,r.modifiers,{type:r.action},c,e,o),t._callbacks[r.key][c?"unshift":"push"]({callback:a,modifiers:r.modifiers,action:r.action,seq:c,level:o,combo:e}))}t._handleKey=function(e,t,a){var n,c=s(e,t,a),o={},m=0,u=!1;for(n=0;n<c.length;++n)c[n].seq&&(m=Math.max(m,c[n].level));for(n=0;n<c.length;++n)if(c[n].seq){if(c[n].level!=m)continue;u=!0,o[c[n].seq]=1,p(c[n].callback,a,c[n].combo,c[n].seq)}else u||p(c[n].callback,a,c[n].combo);var f="keypress"==a.type&&r;a.type!=i||d(e)||f||l(o),r=u&&"keydown"==a.type},t._bindMultiple=function(e,t,a){for(var n=0;n<e.length;++n)O(e[n],t,a)},m(e,"keypress",h),m(e,"keydown",h),m(e,"keyup",h)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},870:function(e,t){!function(e){if(e){var t={},a=e.prototype.stopCallback;e.prototype.stopCallback=function(e,n,c,o){return!!this.paused||!t[c]&&!t[o]&&a.call(this,e,n,c)},e.prototype.bindGlobal=function(e,a,n){if(this.bind(e,a,n),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)},898:function(e,t,a){"use strict";var n=a(8),c=a(9),o=a(19),r=a(0),i=a(4),l=a.n(i),s=a(739),m=a(738);function u(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}var d={isBorderless:!1,isShady:!1,size:"medium"};t.a=function(e){var t=e.className,a=e.isShady,i=Object(o.a)(e,["className","isShady"]),p=function(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?u(Object(a),!0).forEach((function(t){Object(c.a)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):u(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}({},d,{},Object(m.b)(),{},e),f=p.isBorderless,b=p.size,h=l()("components-card__header",f&&"is-borderless",a&&"is-shady",b&&"is-size-".concat(b),t);return Object(r.createElement)(s.d,Object(n.a)({},i,{className:h}))}},905:function(e,t,a){"use strict";a.r(t);var n=a(0),c=a(270),o=a(24),r=a(2),i=a(33),l=a(41),s=a(32),m=a(38),u=a.n(m),d=a(4),p=a.n(d),f=a(1),b=a.n(f),h=a(5),v=a.n(h),O=a(3),j=a(701),y=a(897),_=a(898),g=a(899),w=a(44),E=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.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"})),k=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.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"})),N=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(w.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"})),z=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.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"})),C=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.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"})),M=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.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"})),T=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(n.createElement)(w.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"})),S=a(716),R=a(418),P=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.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"})),x=Object(n.createElement)(w.c,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(w.b,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})),D=a(68),A=a(61);a(864);function V(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function L(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?V(Object(a),!0).forEach((function(t){v()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):V(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function I(e,t){var a=t.currentTarget.dataset.listItemTag;if(a&&(e.recordEvent("home_quick_links_click",{task_name:a}),"function"==typeof e.onItemClick))return e.onItemClick(a)?void 0:(t.preventDefault(),!1)}function H(e){return function(e){return[{title:Object(O.__)("Market my store",'woocommerce'),type:"wc-admin",path:"marketing",icon:E,listItemTag:"marketing"},{title:Object(O.__)("Add products",'woocommerce'),type:"wp-admin",path:"post-new.php?post_type=product",icon:k,listItemTag:"add-products"},{title:Object(O.__)("Personalize my store",'woocommerce'),type:"wp-admin",path:"customize.php",icon:N,listItemTag:"personalize-store"},{title:Object(O.__)("Shipping settings",'woocommerce'),type:"wc-settings",tab:"shipping",icon:z,listItemTag:"shipping-settings"},{title:Object(O.__)("Tax settings",'woocommerce'),type:"wc-settings",tab:"tax",icon:C,listItemTag:"tax-settings"},{title:Object(O.__)("Payment settings",'woocommerce'),type:"wc-settings",tab:"checkout",icon:M,listItemTag:"payment-settings"},{title:Object(O.__)("Edit store details",'woocommerce'),type:"wc-settings",tab:"general",icon:T,listItemTag:"edit-store-details"},{title:Object(O.__)("Get support",'woocommerce'),type:"external",href:"https://woocommerce.com/my-account/create-a-ticket/",icon:S.a,after:Object(n.createElement)(R.a,{icon:P}),listItemTag:"support"},{title:Object(O.__)("View my store",'woocommerce'),type:"external",href:e.getSetting("siteUrl"),icon:x,after:Object(n.createElement)(R.a,{icon:P}),listItemTag:"view-store"}]}(e).map((function(t){return L(L({title:Object(n.createElement)(j.a,{as:"div",variant:"button"},t.title),before:Object(n.createElement)(R.a,{icon:t.icon}),after:t.after},function(e){var t,a;switch(e.type){case"wc-admin":t="wc-admin",a="admin.php?page=wc-admin&path=%2F".concat(e.path);break;case"wp-admin":t="wp-admin",a=e.path;break;case"wc-settings":t="wp-admin",a="admin.php?page=wc-settings&tab=".concat(e.tab);break;default:t="external",a=e.href}return{linkType:t,href:a}}(t)),{},{listItemTag:t.listItemTag,onClick:Object(r.partial)(I,e)})}))}var q=function(e){var t=H(e);return Object(n.createElement)(y.a,{size:"large",className:"woocommerce-quick-links"},Object(n.createElement)(_.a,{size:"medium"},Object(n.createElement)(j.a,{variant:"title.small"},Object(O.__)("Store management",'woocommerce'))),Object(n.createElement)(g.a,null,Object(n.createElement)(D.List,{items:t,className:"woocommerce-quick-links__list"})))};q.defaultProps={getSetting:i.g,recordEvent:A.recordEvent};var B=q,U=a(60),F=a.n(U),W=a(698),G=a(900),K=(a(866),a(49)),J=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"]),Q=["revenue/net_revenue","products/items_sold"],Y=a(718),$=a(741),X=Object(o.withSelect)((function(e,t){var a=t.stats,n=t.query;if(0!==a.length)return Object($.a)(e,a,n)}))((function(e){var t=e.stats,a=e.primaryData,c=e.secondaryData,o=e.primaryRequesting,r=e.secondaryRequesting,i=e.primaryError,l=e.secondaryError,m=e.query,u=Object(n.useContext)(Y.a),d=u.formatAmount,f=u.getCurrencyConfig;if(i||l)return null;var b=Object(s.getPersistedQuery)(m),h=f();return Object(n.createElement)("ul",{className:p()("woocommerce-stats-overview__stats",{"is-even":t.length%2==0})},t.map((function(e){if(o||r)return Object(n.createElement)(D.SummaryNumberPlaceholder,{key:e.stat});var t=Object($.b)({indicator:e,primaryData:a,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(n.createElement)(D.SummaryNumber,{isHomescreen:!0,key:e.stat,href:m,hrefType:u,label:e.label,value:i,prevLabel:Object(O.__)("Previous Period:",'woocommerce'),prevValue:l,delta:s,onLinkClickCallback:function(){Object(A.recordEvent)("statsoverview_indicators_click",{key:e.stat})}})})))})),Z=a(72),ee=(a(12),a(29));Object(O.__)("Facebook for WooCommerce",'woocommerce'),Object(O.__)("Jetpack",'woocommerce'),Object(O.__)("Klarna Checkout for WooCommerce",'woocommerce'),Object(O.__)("Klarna Payments for WooCommerce",'woocommerce'),Object(O.__)("Mailchimp for WooCommerce",'woocommerce'),Object(O.__)("WooCommerce PayPal",'woocommerce'),Object(O.__)("WooCommerce Stripe",'woocommerce'),Object(O.__)("WooCommerce PayFast",'woocommerce'),Object(O.__)("WooCommerce Payments",'woocommerce'),Object(O.__)("WooCommerce Shipping & Tax",'woocommerce'),Object(O.__)("WooCommerce ShipStation Gateway",'woocommerce'),Object(O.__)("Google Ads",'woocommerce');var te=function(e){return Object(ee.dispatch)("core/notices","createNotice",e)};var ae=function(e){var t=e.onClickInstall,a=e.onClickDismiss,c=e.isBusy,o=e.jetpackInstallState;return Object(n.createElement)("article",{className:"woocommerce-stats-overview__install-jetpack-promo"},Object(n.createElement)("div",{className:"woocommerce-stats-overview__install-jetpack-promo__content"},Object(n.createElement)(D.H,null,Object(O.__)("Get traffic stats with Jetpack",'woocommerce')),Object(n.createElement)("p",null,Object(O.__)("Keep an eye on your views and visitors metrics with Jetpack. Requires Jetpack plugin and a WordPress.com account.",'woocommerce'))),Object(n.createElement)("footer",null,Object(n.createElement)(Z.a,{isSecondary:!0,onClick:function(){Object(A.recordEvent)("statsoverview_install_jetpack"),t()},disabled:c,isBusy:c},function(e){return{unavailable:Object(O.__)("Get Jetpack",'woocommerce'),installed:Object(O.__)("Activate Jetpack",'woocommerce'),activated:Object(O.__)("Connect Jetpack",'woocommerce')}[e]||""}(o)),Object(n.createElement)(Z.a,{isTertiary:!0,onClick:function(){Object(A.recordEvent)("statsoverview_dismiss_install_jetpack"),a()},disabled:c,isBusy:c},Object(O.__)("No thanks",'woocommerce'))))},ne=function(){var e=Object(l.useUserPreferences)(),t=e.updateUserPreferences,a=F()(e,["updateUserPreferences"]),c=Object(o.useSelect)((function(e){var t=e(l.PLUGINS_STORE_NAME),a=t.getPluginInstallState,n=t.isPluginsRequesting,c=a("jetpack");return{isBusy:n("getJetpackConnectUrl")||n("installPlugins")||n("activatePlugins"),jetpackInstallState:c}})),r=c.jetpackInstallState,s=c.isBusy,m=Object(o.useDispatch)(l.PLUGINS_STORE_NAME).installJetpackAndConnect;return Object(n.createElement)(ae,{jetpackInstallState:r,isBusy:s,onClickInstall:function(){m(te,i.f)},onClickDismiss:function(){var e=a.homepage_stats||{};e.installJetpackDismissed=!0,t({homepage_stats:e})}})},ce=Object(i.g)("dataEndpoints",{performanceIndicators:[]}).performanceIndicators.filter((function(e){return J.includes(e.stat)})),oe=function(){var e=Object(l.useUserPreferences)(),t=e.updateUserPreferences,a=F()(e,["updateUserPreferences"]),c=Object(r.get)(a,["homepage_stats","hiddenStats"],Q),i=Object(o.useSelect)((function(e){return e(l.PLUGINS_STORE_NAME).isJetpackConnected()}),[]),m=(a.homepage_stats||{}).installJetpackDismissed,u=ce.filter((function(e){return!c.includes(e.stat)}));return Object(n.createElement)(y.a,{size:"large",className:"woocommerce-stats-overview woocommerce-homescreen-card"},Object(n.createElement)(_.a,{size:"medium"},Object(n.createElement)(j.a,{variant:"title.small"},Object(O.__)("Stats overview",'woocommerce')),Object(n.createElement)(D.EllipsisMenu,{label:Object(O.__)("Choose which values to display",'woocommerce'),renderContent:function(){return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(D.MenuTitle,null,Object(O.__)("Display stats:",'woocommerce')),ce.map((function(e){var a=!c.includes(e.stat);return Object(n.createElement)(D.MenuItem,{checked:a,isCheckbox:!0,isClickable:!0,key:e.stat,onInvoke:function(){return a=e.stat,n=Object(r.xor)(c,[a]),t({homepage_stats:{hiddenStats:n}}),void Object(A.recordEvent)("statsoverview_indicators_toggle",{indicator_name:a,status:n.includes(a)?"off":"on"});var a,n}},e.label)})))}})),Object(n.createElement)(g.a,null,Object(n.createElement)(W.a,{className:"woocommerce-stats-overview__tabs",onSelect:function(e){Object(A.recordEvent)("statsoverview_date_picker_update",{period:e})},tabs:[{title:Object(O.__)("Today",'woocommerce'),name:"today"},{title:Object(O.__)("Week to date",'woocommerce'),name:"week"},{title:Object(O.__)("Month to date",'woocommerce'),name:"month"}]},(function(e){return Object(n.createElement)(n.Fragment,null,!i&&!m&&Object(n.createElement)(ne,null),Object(n.createElement)(X,{query:{period:e.name,compare:"previous_period"},stats:u}))}))),Object(n.createElement)(G.a,null,Object(n.createElement)(D.Link,{className:"woocommerce-stats-overview__more-btn",href:Object(s.getNewPath)({},"/analytics/overview"),type:"wc-admin",onClick:function(){Object(A.recordEvent)("statsoverview_indicators_click",{key:"view_detailed_stats"})}},Object(O.__)("View detailed stats"))))},re=(a(867),a(737),a(757),function(e){var t=e.numTasks,a=void 0===t?5:t;return Object(n.createElement)("div",{className:"woocommerce-task-dashboard__container"},Object(n.createElement)("div",{className:"woocommerce-card woocommerce-task-card is-loading","aria-hidden":!0},Object(n.createElement)("div",{className:"woocommerce-card__header"},Object(n.createElement)("div",{className:"woocommerce-card__title-wrapper"},Object(n.createElement)("div",{className:"woocommerce-card__title woocommerce-card__header-item"},Object(n.createElement)("span",{className:"is-placeholder"})))),Object(n.createElement)("div",{className:"woocommerce-card__body"},Object(n.createElement)("div",{className:"woocommerce-list"},Array.from(new Array(a)).map((function(e,t){return Object(n.createElement)("div",{key:t,className:"woocommerce-list__item has-action"},Object(n.createElement)("div",{className:"woocommerce-list__item-inner"},Object(n.createElement)("div",{className:"woocommerce-list__item-before"},Object(n.createElement)("span",{className:"is-placeholder"})),Object(n.createElement)("div",{className:"woocommerce-list__item-text"},Object(n.createElement)("div",{className:"woocommerce-list__item-title"},Object(n.createElement)("span",{className:"is-placeholder"}))),Object(n.createElement)("div",{className:"woocommerce-list__item-after"},Object(n.createElement)("span",{className:"is-placeholder"}))))}))))))}),ie=a(762),le=a(27),se=a(56),me=a(691),ue=a(869),de=a.n(ue);a(870);function pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(r.includes)(["iPad","iPhone"],t)}var fe=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=a.bindGlobal,o=void 0!==c&&c,i=a.eventName,l=void 0===i?"keydown":i,s=a.isDisabled,m=void 0!==s&&s,u=a.target,d=Object(n.useRef)(t);Object(n.useEffect)((function(){d.current=t}),[t]),Object(n.useEffect)((function(){if(!m){var t=new de.a(u?u.current:document);return Object(r.castArray)(e).forEach((function(e){var a=e.split("+"),n=new Set(a.filter((function(e){return e.length>1}))),c=n.has("alt"),r=n.has("shift");if(pe()&&(1===n.size&&c||2===n.size&&c&&r))throw new Error("Cannot bind ".concat(e,". Alt and Shift+Alt modifiers are reserved for character input."));t[o?"bindGlobal":"bind"](e,(function(){return d.current.apply(d,arguments)}),l)})),function(){t.reset()}}}),[e,o,l,u,m])};function be(e){var t=e.target,a=e.callback,n=e.shortcut,c=e.bindGlobal,o=e.eventName;return fe(n,a,{bindGlobal:c,target:t,eventName:o}),null}var he=function(e){var t=e.children,a=e.shortcuts,c=e.bindGlobal,o=e.eventName,i=Object(n.useRef)(),l=Object(r.map)(a,(function(e,t){return Object(n.createElement)(be,{key:t,shortcut:t,callback:e,bindGlobal:c,eventName:o,target:i})}));return n.Children.count(t)?Object(n.createElement)("div",{ref:i},l,t):l},ve=function(e){var t=e.isSelected;return Object(n.createElement)(w.c,{width:"8",height:"8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(n.createElement)(w.a,{cx:"4",cy:"4",r:"4",fill:t?"#419ECD":"#E1E3E6"}))};function Oe(e){var t=e.currentPage,a=e.numberOfPages,c=e.setCurrentPage;return Object(n.createElement)("ul",{className:"components-guide__page-control","aria-label":Object(O.__)("Guide controls")},Object(r.times)(a,(function(e){return Object(n.createElement)("li",{key:e,"aria-current":e===t?"step":void 0},Object(n.createElement)(Z.a,{key:e,icon:Object(n.createElement)(ve,{isSelected:e===t}),"aria-label":Object(O.sprintf)(Object(O.__)("Page %1$d of %2$d"),e+1,a),onClick:function(){return c(e)}}))})))}function je(e){var t=e.className,a=e.onClick,c=e.children,o=Object(n.useRef)(null);return Object(n.useLayoutEffect)((function(){document.activeElement&&document.activeElement!==document.body||o.current.focus()}),[o]),Object(n.createElement)(Z.a,{ref:o,className:t,isPrimary:!0,onClick:a},c)}function ye(e){var t=e.children,a=e.className,c=e.contentLabel,o=e.finishButtonText,r=e.onFinish,i=e.pages,l=void 0===i?[]:i,s=Object(n.useState)(0),m=Object(le.a)(s,2),u=m[0],d=m[1];Object(n.useEffect)((function(){n.Children.count(t)&&Object(se.a)("Passing children to <Guide>",{alternative:"the `pages` prop"})}),[t]),n.Children.count(t)&&(l=n.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(n.createElement)(me.a,{className:p()("components-guide",a),contentLabel:c,onRequestClose:r},Object(n.createElement)(he,{key:u,shortcuts:{left:h,right:v}}),Object(n.createElement)("div",{className:"components-guide__container"},Object(n.createElement)("div",{className:"components-guide__page"},l[u].image,Object(n.createElement)(Oe,{currentPage:u,numberOfPages:l.length,setCurrentPage:d}),l[u].content,!b&&Object(n.createElement)(je,{className:"components-guide__inline-finish-button",onClick:r},o||Object(O.__)("Finish"))),Object(n.createElement)("div",{className:"components-guide__footer"},f&&Object(n.createElement)(Z.a,{className:"components-guide__back-button",onClick:h},Object(O.__)("Previous")),b&&Object(n.createElement)(Z.a,{className:"components-guide__forward-button",onClick:v},Object(O.__)("Next")),!b&&Object(n.createElement)(je,{className:"components-guide__finish-button",onClick:r},o||Object(O.__)("Finish")))))}var _e=function(e){var t=e.title,a=e.body;return Object(n.createElement)("div",{className:"woocommerce__welcome-modal__page-content"},Object(n.createElement)("h2",{className:"woocommerce__welcome-modal__page-content__header"},t),Object(n.createElement)("p",{className:"woocommerce__welcome-modal__page-content__body"},a))},ge=(a(868),[{image:Object(n.createElement)((function(){return Object(n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(n.createElement)("defs",null),Object(n.createElement)("g",{clipPath:"url(#clip0)"},Object(n.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object(n.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(n.createElement)("path",{fill:"#F6F7F7",d:"M125 33h267v185H125z"}),Object(n.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(n.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(n.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(n.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(n.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(n.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(n.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(n.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(n.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(n.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(n.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(n.createElement)("path",{className:"fill-theme-color",d:"M344 94h90v80h-90z"}),Object(n.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(n.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(n.createElement)("defs",null,Object(n.createElement)("clipPath",{id:"clip0"},Object(n.createElement)("path",{fill:"#fff",d:"M0 0h517v160H0z"}))))}),null),content:Object(n.createElement)(_e,{title:Object(O.__)("Welcome to your WooCommerce store’s online HQ!",'woocommerce'),body:Object(O.__)("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')})},{image:Object(n.createElement)((function(){return Object(n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(n.createElement)("defs",null),Object(n.createElement)("g",{clipPath:"url(#clip0)"},Object(n.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object(n.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(n.createElement)("path",{fill:"#F6F7F7",d:"M113 33h267v185H113z"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M248.466 73.79h-114.69V47.88h114.69V73.79zm-114.015-.673h113.341V48.554H134.451v24.563z"}),Object(n.createElement)("path",{fill:"#CCC",d:"M155.702 56.63h-12.818v12.786h12.818V56.63z"}),Object(n.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(n.createElement)("path",{className:"fill-theme-color",d:"M225.267 56.966h-50v.673h50v-.673z",opacity:".7"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M235.311 61.677h-60.044v.673h60.044v-.673z",opacity:".5"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M225.267 66.387h-50v.673h50v-.673z",opacity:".2"}),Object(n.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(n.createElement)("path",{fill:"#CCC",d:"M155.702 129.981h-12.818v12.786h12.818v-12.786z"}),Object(n.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(n.createElement)("path",{className:"fill-theme-color",d:"M235.311 130.318h-60.044v.673h60.044v-.673z",opacity:".7"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M225.267 135.028h-50v.673h50v-.673z",opacity:".5"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M215.267 139.739h-40v.673h40v-.673z",opacity:".2"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M289.62 110.465H174.93V84.557h114.69v25.908zm-114.016-.672h113.341V85.23H175.604v24.563z"}),Object(n.createElement)("path",{fill:"#CCC",d:"M267.694 106.092h12.818V93.305h-12.818v12.787z"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M282.873 104.409H269.38V90.95h13.493v13.459zm-12.818-.673h12.144V91.623h-12.144v12.113z"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M248.129 93.642h-60.044v.673h60.044v-.673z",opacity:".7"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M238.085 98.353h-50v.672h50v-.672z",opacity:".5"}),Object(n.createElement)("path",{className:"fill-theme-color",d:"M243.085 103.063h-55v.673h55v-.673z",opacity:".2"}),Object(n.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(n.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(n.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(n.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(n.createElement)("path",{className:"fill-theme-color",d:"M384 130h-42v2h42v-2z"}),Object(n.createElement)("path",{fill:"#fff",d:"M335 112a7 7 0 100-14 7 7 0 000 14z"}),Object(n.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(n.createElement)("defs",null,Object(n.createElement)("clipPath",{id:"clip0"},Object(n.createElement)("path",{fill:"#fff",d:"M0 0h517v160H0z"}))))}),null),content:Object(n.createElement)(_e,{title:Object(O.__)("A personalized inbox full of relevant advice.",'woocommerce'),body:Object(O.__)("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')})},{image:Object(n.createElement)((function(){return Object(n.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"517",height:"160",fill:"none"},Object(n.createElement)("defs",null),Object(n.createElement)("g",{clipPath:"url(#clip0)"},Object(n.createElement)("path",{className:"fill-theme-color",d:"M0 0h517v160H0z"}),Object(n.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(n.createElement)("path",{fill:"#F6F7F7",d:"M124 33h267v185H124z"}),Object(n.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(n.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(n.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(n.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(n.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(n.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(n.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(n.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(n.createElement)("defs",null,Object(n.createElement)("clipPath",{id:"clip0"},Object(n.createElement)("path",{fill:"#fff",d:"M0 0h517v160H0z"}))))}),null),content:Object(n.createElement)(_e,{title:Object(O.__)("Good data leads to smart business decisions.",'woocommerce'),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."})}]),we=function(e){var t=e.onClose,a=Object(n.useState)(!0),c=u()(a,2),o=c[0],r=c[1];return Object(n.useEffect)((function(){Object(A.recordEvent)("task_list_welcome_modal_open")}),[]),Object(n.createElement)(n.Fragment,null,o&&Object(n.createElement)(ye,{onFinish:function(){r(!1),t(),Object(A.recordEvent)("task_list_welcome_modal_close")},className:"woocommerce__welcome-modal",finishButtonText:Object(O.__)("Let's go",'woocommerce'),pages:ge}))},Ee=Object(n.lazy)((function(){return Promise.all([a.e(6),a.e(49)]).then(a.bind(null,907))})),ke=function(e){var t=e.isBatchUpdating,a=e.query,c=e.requestingTaskList,o=e.taskListComplete,r=e.taskListHidden,i=e.shouldShowWelcomeModal,l=e.updateOptions,s=Object(n.useState)(!0),m=u()(s,2),d=m[0],f=m[1],b=Object(n.useState)(!1),h=u()(b,2),v=h[0],O=h[1],j=Object(n.useRef)(null),y=function(){if(j.current){var e=j.current.getBoundingClientRect().bottom,t=d&&e<window.innerHeight;O(t)}};Object(n.useEffect)((function(){return y(),window.addEventListener("resize",y),function(){window.removeEventListener("resize",y)}}),[]);var _=!1===r&&!o,g=!_||!a.task;t&&!d&&f(!0);var w=function(){return c?Object(n.createElement)(re,null):Object(n.createElement)(n.Suspense,{fallback:Object(n.createElement)(re,null)},Object(n.createElement)(Ee,{query:a}))};return Object(n.createElement)("div",{className:p()("woocommerce-homescreen",{hasInbox:d})},g?Object(n.createElement)(n.Fragment,null,d&&Object(n.createElement)("div",{className:"woocommerce-homescreen-column is-inbox"},Object(n.createElement)(ie.default,null)),Object(n.createElement)("div",{className:"woocommerce-homescreen-column",ref:j,style:{position:v?"sticky":"static"}},_&&w(),Object(n.createElement)(oe,null),!_&&Object(n.createElement)(B,null))):_&&w(),i&&Object(n.createElement)(we,{onClose:function(){l({woocommerce_task_list_welcome_modal_dismissed:"yes"})}}))};ke.propTypes={requestingTaskList:b.a.bool.isRequired,taskListComplete:b.a.bool,taskListHidden:b.a.bool,query:b.a.object.isRequired,shouldShowWelcomeModal:b.a.bool,updateOptions:b.a.func.isRequired};var Ne=Object(c.a)(Object(o.withSelect)((function(e){var t=e(l.NOTES_STORE_NAME).isNotesRequesting,a=e(l.OPTIONS_STORE_NAME),n=a.getOption,c=a.isResolving,o="yes"===n("woocommerce_task_list_welcome_modal_dismissed"),r=!c("getOption",["woocommerce_task_list_welcome_modal_dismissed"])&&!o;return{isBatchUpdating:t("batchUpdateNotes"),shouldShowWelcomeModal:r,taskListComplete:"yes"===n("woocommerce_task_list_complete"),taskListHidden:"yes"===n("woocommerce_task_list_hidden"),requestingTaskList:c("getOption",["woocommerce_task_list_complete"])||c("getOption",["woocommerce_task_list_hidden"])}})),Object(o.withDispatch)((function(e){return{updateOptions:e(l.OPTIONS_STORE_NAME).updateOptions}})))(ke),ze=Object(i.g)("onboarding",{});t.default=Object(c.a)(ze.profile||ze.tasksStatus?Object(l.withOnboardingHydration)({profileItems:ze.profile,tasksStatus:ze.tasksStatus}):r.identity,Object(o.withSelect)((function(e){return{profileItems:(0,e(l.ONBOARDING_STORE_NAME).getProfileItems)()}})))((function(e){var t=e.profileItems,a=e.query,c=t||{},o=c.completed,r=c.skipped;return o||r||Object(s.getHistory)().push(Object(s.getNewPath)({},"/setup-wizard",{})),Object(n.createElement)(Ne,{query:a})}))}}]);
[+]
..
[-] 47.style.css
[edit]
[-] 5.c750e100a6fdd3a69f62.js
[edit]
[-] 54.7fac56b68b9f3e25d29a.js
[edit]
[-] 13.1fb65e2fff8975ecf26a.js
[edit]
[-] 30.style.css
[edit]
[-] 18.style.css
[edit]
[-] 46.style.css
[edit]
[-] 23.style.rtl.css
[edit]
[-] 33.style.css
[edit]
[-] 9.style.css
[edit]
[-] 47.style.rtl.css
[edit]
[-] 48.style.rtl.css
[edit]
[-] 0.d82e0e3293a5788ce1b3.js
[edit]
[-] 47.cd57928eaf0f6b1653b7.js
[edit]
[-] 29.style.rtl.css
[edit]
[-] 34.style.css
[edit]
[-] 38.style.rtl.css
[edit]
[-] 15.b43dc4898cfe64a80f40.js
[edit]
[-] 7.style.rtl.css
[edit]
[-] 36.style.css
[edit]
[-] 14.57ecb260ced16ea3d9cd.js
[edit]
[-] 10.style.rtl.css
[edit]
[-] 10.style.css
[edit]
[-] 17.3bb7411d9278dab5881f.js
[edit]
[-] 38.style.css
[edit]
[-] 11.style.css
[edit]
[-] 38.6eb0f9093968baecc7b4.js
[edit]
[-] 12.style.rtl.css
[edit]
[-] 53.a3f503c6370338b21be2.js
[edit]
[-] 52.6c12fab082eddf9686fc.js
[edit]
[-] 0.style.rtl.css
[edit]
[-] 12.style.css
[edit]
[-] 12.1e3fd4a0eb677c221f97.js
[edit]
[-] 30.7e1d8028430fa7148071.js
[edit]
[-] 13.style.css
[edit]
[-] 0.style.css
[edit]
[-] 7.98d5571225e8bb353b9c.js
[edit]
[-] 7.style.css
[edit]
[-] 1.9c6240fe0285336d4601.js
[edit]
[-] 18.style.rtl.css
[edit]
[-] 4.569ef0d82e269809ccea.js
[edit]
[-] 8.88cdb058cc37250e3894.js
[edit]
[-] 30.style.rtl.css
[edit]
[-] 48.style.css
[edit]
[-] 49.e78eb9119c8eac3f6923.js
[edit]
[-] 11.e31ce9931c09bfa70ffd.js
[edit]
[-] 9.17f4ec69378f7c8ffa0d.js
[edit]
[-] 34.style.rtl.css
[edit]
[-] 16.49b97e6388f1e4ab98e0.js
[edit]
[-] 10.7db1c967ff2c6fee000a.js
[edit]
[-] 3.9d9bcc97f47cdfb1b68d.js
[edit]
[-] 18.9a8ad51cd904fce65ba8.js
[edit]
[-] 29.style.css
[edit]
[-] 34.0d0ac48ee5f2de7cb625.js
[edit]
[-] 5.c750e100a6fdd3a69f62.js.LICENSE.txt
[edit]
[-] 6.a1cfaa769c3ae60919e3.js
[edit]
[-] 23.2a199043713d4e1770f4.js
[edit]
[-] 13.style.rtl.css
[edit]
[-] 21.0573c8f697c9f049bb48.js
[edit]
[-] 33.1d4c376e447be418680d.js
[edit]
[-] 53.a3f503c6370338b21be2.js.LICENSE.txt
[edit]
[-] 51.7833f6f14975491e98af.js
[edit]
[-] 11.style.rtl.css
[edit]
[-] 29.18be233035c4325ece57.js
[edit]
[-] 22.236bdfd5d0b2ac1d6f41.js
[edit]
[-] 20.4da69c21435efd2c9e40.js
[edit]
[-] 19.2c402410e34b9bac52cb.js
[edit]
[-] 28.381aadd00d85f921db60.js
[edit]
[-] 46.style.rtl.css
[edit]
[-] 33.style.rtl.css
[edit]
[-] 48.77063cbcc06c66457bda.js
[edit]
[-] 46.c754aac4b14123e58adb.js
[edit]
[-] 2.7c37f2d162f480b8a1f8.js
[edit]
[-] 36.style.rtl.css
[edit]
[-] 9.style.rtl.css
[edit]
[-] 23.style.css
[edit]
[-] 36.22aea36f504a5d4259ea.js
[edit]