Version Description
2020-07-20 = - Fix: PHP Fatal errors when columns are missing from the Notes table. #4831
Download this release
Release Info
Developer | jeffstieler |
Plugin | WooCommerce Admin |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- dist/app/index.js +10 -10
- dist/app/index.min.js +1 -1
- dist/chunks/{10.c34bdb3643ebc08cb134.js → 10.6e5e757ab15373ddf47c.js} +1 -1
- dist/chunks/{10.c34bdb3643ebc08cb134.min.js → 10.6e5e757ab15373ddf47c.min.js} +1 -1
- dist/chunks/{12.489a50e2cc0a8cb62038.js → 12.81a5de16019a0cc85173.js} +1 -1
- dist/chunks/{12.489a50e2cc0a8cb62038.min.js → 12.81a5de16019a0cc85173.min.js} +1 -1
- dist/chunks/{14.704d2d25bcf25d90e228.js → 14.49811bcba1b9d3f84157.js} +1 -1
- dist/chunks/{14.704d2d25bcf25d90e228.min.js → 14.49811bcba1b9d3f84157.min.js} +1 -1
- dist/chunks/{18.78f9c9760c28db4b928b.js → 18.641586025741e6eaf968.js} +1 -1
- dist/chunks/{18.78f9c9760c28db4b928b.min.js → 18.641586025741e6eaf968.min.js} +1 -1
- dist/chunks/{19.fa18e63feec2f7702031.js → 19.bb66eb756cb7200836eb.js} +1 -1
- dist/chunks/{19.fa18e63feec2f7702031.min.js → 19.bb66eb756cb7200836eb.min.js} +1 -1
- dist/chunks/{24.1d2c0b4dcca1ff64b922.js → 24.3a1a8cd8126dd8c7a4d6.js} +1 -1
- dist/chunks/{24.1d2c0b4dcca1ff64b922.min.js → 24.3a1a8cd8126dd8c7a4d6.min.js} +1 -1
- dist/chunks/{26.9af1b0a1d395a05d5392.js → 26.cce7c721f8ea92c47345.js} +1 -1
- dist/chunks/{26.9af1b0a1d395a05d5392.min.js → 26.cce7c721f8ea92c47345.min.js} +1 -1
- dist/chunks/{29.613f183c0d8d6d96a7c2.js → 29.4ab42baaccb89976d92e.js} +1 -1
- dist/chunks/{29.613f183c0d8d6d96a7c2.min.js → 29.4ab42baaccb89976d92e.min.js} +0 -1
dist/app/index.js
CHANGED
@@ -52,7 +52,7 @@ this["wc"] = this["wc"] || {}; this["wc"]["app"] =
|
|
52 |
/******/
|
53 |
/******/ // script path function
|
54 |
/******/ function jsonpScriptSrc(chunkId) {
|
55 |
-
/******/ return __webpack_require__.p + "chunks/" + chunkId + "." + {"0":"b613ade91494d4c2a4aa","1":"e1c8e02fb4cc487e41ea","2":"9367ee984c36b762467c","3":"f7c0fca32cdac1ba4add","4":"27a2fa3f1ef8662ba455","5":"88800d5332efd00d661a","6":"1448f4d44ec82e35e704","7":"
|
56 |
/******/ }
|
57 |
/******/
|
58 |
/******/ // The require function
|
@@ -3892,16 +3892,16 @@ var ProductsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["laz
|
|
3892 |
return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 739));
|
3893 |
});
|
3894 |
var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3895 |
-
return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(14)]).then(__webpack_require__.bind(null,
|
3896 |
});
|
3897 |
var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3898 |
-
return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(10)]).then(__webpack_require__.bind(null,
|
3899 |
});
|
3900 |
var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3901 |
return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 741));
|
3902 |
});
|
3903 |
var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3904 |
-
return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null,
|
3905 |
});
|
3906 |
var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3907 |
return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null, 743));
|
@@ -3910,7 +3910,7 @@ var StockReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"]
|
|
3910 |
return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null, 735));
|
3911 |
});
|
3912 |
var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3913 |
-
return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null,
|
3914 |
});
|
3915 |
|
3916 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
@@ -5136,7 +5136,7 @@ var Dashboard = Object(external_this_wp_element_["lazy"])(function () {
|
|
5136 |
return __webpack_require__.e(/* import() | dashboard */ 25).then(__webpack_require__.bind(null, 911));
|
5137 |
});
|
5138 |
var DevDocs = Object(external_this_wp_element_["lazy"])(function () {
|
5139 |
-
return Promise.all(/* import() | devdocs */[__webpack_require__.e(1), __webpack_require__.e(47), __webpack_require__.e(29)]).then(__webpack_require__.bind(null,
|
5140 |
});
|
5141 |
var Homescreen = Object(external_this_wp_element_["lazy"])(function () {
|
5142 |
return Promise.all(/* import() | homescreen */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(4), __webpack_require__.e(6), __webpack_require__.e(30)]).then(__webpack_require__.bind(null, 921));
|
@@ -5457,7 +5457,7 @@ toggle_bubble_ActivityPanelToggleBubble.propTypes = {
|
|
5457 |
};
|
5458 |
/* harmony default export */ var toggle_bubble = (toggle_bubble_ActivityPanelToggleBubble);
|
5459 |
// EXTERNAL MODULE: ./client/analytics/settings/config.js + 1 modules
|
5460 |
-
var config = __webpack_require__(
|
5461 |
|
5462 |
// EXTERNAL MODULE: ./client/wc-api/constants.js
|
5463 |
var constants = __webpack_require__(33);
|
@@ -5624,7 +5624,7 @@ var InboxPanel = Object(external_this_wp_element_["lazy"])(function () {
|
|
5624 |
return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(4), __webpack_require__.e(46), __webpack_require__.e(7)]).then(__webpack_require__.bind(null, 792));
|
5625 |
});
|
5626 |
var OrdersPanel = Object(external_this_wp_element_["lazy"])(function () {
|
5627 |
-
return Promise.all(/* import() | activity-panels-orders */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(8)]).then(__webpack_require__.bind(null,
|
5628 |
});
|
5629 |
var StockPanel = Object(external_this_wp_element_["lazy"])(function () {
|
5630 |
return Promise.all(/* import() | activity-panels-stock */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(9)]).then(__webpack_require__.bind(null, 928));
|
@@ -6416,7 +6416,7 @@ function layout_isNativeReflectConstruct() { if (typeof Reflect === "undefined"
|
|
6416 |
|
6417 |
|
6418 |
var StoreAlerts = Object(external_this_wp_element_["lazy"])(function () {
|
6419 |
-
return Promise.all(/* import() | store-alerts */[__webpack_require__.e(4), __webpack_require__.e(43)]).then(__webpack_require__.bind(null,
|
6420 |
});
|
6421 |
|
6422 |
var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
|
@@ -9984,7 +9984,7 @@ function getScreenName() {
|
|
9984 |
|
9985 |
/***/ }),
|
9986 |
|
9987 |
-
/***/
|
9988 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9989 |
|
9990 |
"use strict";
|
52 |
/******/
|
53 |
/******/ // script path function
|
54 |
/******/ function jsonpScriptSrc(chunkId) {
|
55 |
+
/******/ return __webpack_require__.p + "chunks/" + chunkId + "." + {"0":"b613ade91494d4c2a4aa","1":"e1c8e02fb4cc487e41ea","2":"9367ee984c36b762467c","3":"f7c0fca32cdac1ba4add","4":"27a2fa3f1ef8662ba455","5":"88800d5332efd00d661a","6":"1448f4d44ec82e35e704","7":"986a96b93c825fd75d99","8":"3c33b2acea1dd5f9e047","9":"7678440a2bf8e0b752a5","10":"6e5e757ab15373ddf47c","11":"b3e2eb89a0181fa5e2f2","12":"81a5de16019a0cc85173","13":"2a0a9c9a9543a94e0408","14":"49811bcba1b9d3f84157","15":"413a29db1c4e7f2eefdb","16":"1a3c8e4420d552b12da0","17":"b72560c96ee6b8cc0379","18":"641586025741e6eaf968","19":"bb66eb756cb7200836eb","24":"3a1a8cd8126dd8c7a4d6","25":"22002b888fd496ab0bcb","26":"cce7c721f8ea92c47345","29":"4ab42baaccb89976d92e","30":"2910fc66eb31471072a4","32":"8359029241f4148734e6","34":"f8697c1d31eca3b1de52","42":"cee7c33db46f1ba078f3","43":"3ffb01d324ece1a04891","44":"e536ad012d121468cce4","45":"d4b033fe8c12f18923f4","46":"10842de43f92da5a9043","47":"29a2aff1aafb89a2d76b","48":"eb11cd8899cc6d720e4b","49":"2c848b23640e3ac781cf"}[chunkId] + ".js"
|
56 |
/******/ }
|
57 |
/******/
|
58 |
/******/ // The require function
|
3892 |
return Promise.all(/* import() | analytics-report-products */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(15)]).then(__webpack_require__.bind(null, 739));
|
3893 |
});
|
3894 |
var OrdersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3895 |
+
return Promise.all(/* import() | analytics-report-orders */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(14)]).then(__webpack_require__.bind(null, 740));
|
3896 |
});
|
3897 |
var CategoriesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3898 |
+
return Promise.all(/* import() | analytics-report-categories */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(5), __webpack_require__.e(10)]).then(__webpack_require__.bind(null, 736));
|
3899 |
});
|
3900 |
var CouponsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3901 |
return Promise.all(/* import() | analytics-report-coupons */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(11)]).then(__webpack_require__.bind(null, 741));
|
3902 |
});
|
3903 |
var TaxesReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3904 |
+
return Promise.all(/* import() | analytics-report-taxes */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(18)]).then(__webpack_require__.bind(null, 742));
|
3905 |
});
|
3906 |
var DownloadsReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3907 |
return Promise.all(/* import() | analytics-report-downloads */[__webpack_require__.e(2), __webpack_require__.e(0), __webpack_require__.e(13)]).then(__webpack_require__.bind(null, 743));
|
3910 |
return Promise.all(/* import() | analytics-report-stock */[__webpack_require__.e(0), __webpack_require__.e(17)]).then(__webpack_require__.bind(null, 735));
|
3911 |
});
|
3912 |
var CustomersReport = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_2__["lazy"])(function () {
|
3913 |
+
return Promise.all(/* import() | analytics-report-customers */[__webpack_require__.e(0), __webpack_require__.e(12)]).then(__webpack_require__.bind(null, 737));
|
3914 |
});
|
3915 |
|
3916 |
/* harmony default export */ __webpack_exports__["a"] = (function () {
|
5136 |
return __webpack_require__.e(/* import() | dashboard */ 25).then(__webpack_require__.bind(null, 911));
|
5137 |
});
|
5138 |
var DevDocs = Object(external_this_wp_element_["lazy"])(function () {
|
5139 |
+
return Promise.all(/* import() | devdocs */[__webpack_require__.e(1), __webpack_require__.e(47), __webpack_require__.e(29)]).then(__webpack_require__.bind(null, 924));
|
5140 |
});
|
5141 |
var Homescreen = Object(external_this_wp_element_["lazy"])(function () {
|
5142 |
return Promise.all(/* import() | homescreen */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(4), __webpack_require__.e(6), __webpack_require__.e(30)]).then(__webpack_require__.bind(null, 921));
|
5457 |
};
|
5458 |
/* harmony default export */ var toggle_bubble = (toggle_bubble_ActivityPanelToggleBubble);
|
5459 |
// EXTERNAL MODULE: ./client/analytics/settings/config.js + 1 modules
|
5460 |
+
var config = __webpack_require__(271);
|
5461 |
|
5462 |
// EXTERNAL MODULE: ./client/wc-api/constants.js
|
5463 |
var constants = __webpack_require__(33);
|
5624 |
return Promise.all(/* import() | activity-panels-inbox */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(4), __webpack_require__.e(46), __webpack_require__.e(7)]).then(__webpack_require__.bind(null, 792));
|
5625 |
});
|
5626 |
var OrdersPanel = Object(external_this_wp_element_["lazy"])(function () {
|
5627 |
+
return Promise.all(/* import() | activity-panels-orders */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(8)]).then(__webpack_require__.bind(null, 927));
|
5628 |
});
|
5629 |
var StockPanel = Object(external_this_wp_element_["lazy"])(function () {
|
5630 |
return Promise.all(/* import() | activity-panels-stock */[__webpack_require__.e(1), __webpack_require__.e(3), __webpack_require__.e(9)]).then(__webpack_require__.bind(null, 928));
|
6416 |
|
6417 |
|
6418 |
var StoreAlerts = Object(external_this_wp_element_["lazy"])(function () {
|
6419 |
+
return Promise.all(/* import() | store-alerts */[__webpack_require__.e(4), __webpack_require__.e(43)]).then(__webpack_require__.bind(null, 926));
|
6420 |
});
|
6421 |
|
6422 |
var layout_PrimaryLayout = /*#__PURE__*/function (_Component) {
|
9984 |
|
9985 |
/***/ }),
|
9986 |
|
9987 |
+
/***/ 271:
|
9988 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
9989 |
|
9990 |
"use strict";
|
dist/app/index.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
/*! For license information please see index.min.js.LICENSE.txt */
|
2 |
-
this.wc=this.wc||{},this.wc.app=function(e){function t(t){for(var r,n,c=t[0],a=t[1],i=0,s=[];i<c.length;i++)n=c[i],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&s.push(o[n][0]),o[n]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(u&&u(t);s.length;)s.shift()()}var r={},n={20:0},o={20:0};function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[];n[e]?t.push(n[e]):0!==n[e]&&{0:1,5:1,7:1,8:1,9:1,14:1,19:1,25:1,26:1,29:1,30:1,32:1,34:1,42:1,43:1,44:1,45:1}[e]&&t.push(n[e]=new Promise((function(t,r){for(var o="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",a=c.p+o,i=document.getElementsByTagName("link"),s=0;s<i.length;s++){var u=(f=i[s]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(u===o||u===a))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var f;if((u=(f=l[s]).getAttribute("data-href"))===o||u===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var o=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=o,delete n[e],d.parentNode.removeChild(d),r(c)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){n[e]=0})));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=a);var i,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=function(e){return c.p+"chunks/"+e+"."+{0:"b613ade91494d4c2a4aa",1:"e1c8e02fb4cc487e41ea",2:"9367ee984c36b762467c",3:"f7c0fca32cdac1ba4add",4:"27a2fa3f1ef8662ba455",5:"88800d5332efd00d661a",6:"1448f4d44ec82e35e704",7:"faa206feece10ddeef4c",8:"16acfdda3ee32511d882",9:"7678440a2bf8e0b752a5",10:"c34bdb3643ebc08cb134",11:"b3e2eb89a0181fa5e2f2",12:"489a50e2cc0a8cb62038",13:"2a0a9c9a9543a94e0408",14:"704d2d25bcf25d90e228",15:"413a29db1c4e7f2eefdb",16:"1a3c8e4420d552b12da0",17:"b72560c96ee6b8cc0379",18:"78f9c9760c28db4b928b",19:"fa18e63feec2f7702031",24:"1d2c0b4dcca1ff64b922",25:"22002b888fd496ab0bcb",26:"9af1b0a1d395a05d5392",29:"613f183c0d8d6d96a7c2",30:"1da8d920210d8e51aaf4",32:"8359029241f4148734e6",34:"1eae1c71b0cf45e6ae0c",42:"cee7c33db46f1ba078f3",43:"358da3f5517bb0e2c2f0",44:"e536ad012d121468cce4",45:"d4b033fe8c12f18923f4",46:"10842de43f92da5a9043",47:"29a2aff1aafb89a2d76b",48:"eb11cd8899cc6d720e4b",49:"2c848b23640e3ac781cf"}[e]+".min.js"}(e);var u=new Error;i=function(t){s.onerror=s.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",u.name="ChunkLoadError",u.type=n,u.request=c,r[1](u)}o[e]=void 0}};var l=setTimeout((function(){i({type:"timeout",target:s})}),12e4);s.onerror=s.onload=i,document.head.appendChild(s)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],i=a.push.bind(a);a.push=t,a=a.slice();for(var s=0;s<a.length;s++)t(a[s]);var u=i;return c(c.s=434)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,r){e.exports=r(113)()},10:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(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&&n(e,t)}r.d(t,"a",(function(){return o}))},101:function(e,t,r){"use strict";var n=r(80),o=r.n(n),c=r(38),a=r.n(c),i=r(37),s=r.n(i),u=r(62),l=r.n(u),f=r(39),d=r.n(f),p=r(42),h=r.n(p),v=r(26),m=r.n(v),b=r(0),y=r(2),g=r(65),O=r.n(g),w=r(54),z=r(18);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 r,n=m()(e);if(t){var o=m()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h()(this,r)}}t.a=function(e){return Object(w.a)((function(t){var r={},n=function(n){d()(i,n);var c=j(i);function i(e){var t;return a()(this,i),(t=c.call(this,e)).onStoreChange=t.onStoreChange.bind(l()(t)),t.subscribe(e.registry),t.onUnmounts={},t.mergeProps=t.getNextMergeProps(e),t}return s()(i,[{key:"getNextMergeProps",value:function(t){var n=this,o={},c=[],a={component:this},i=e((function(e){return o[e]||function(e,t,r){var a=t.select(e);if(Object(y.isFunction)(a)){var i=a(r),s=i.selectors,u=i.onComplete,l=i.onUnmount;u&&c.push(u),l&&(n.onUnmounts[e]=l),o[e]=s}else o[e]=a}(e,t.registry,a),o[e]}),t.ownProps)||r;return c.forEach((function(e){return e()})),i}},{key:"componentDidMount",value:function(){this.canRunSelection=!0,this.hasQueuedSelection&&(this.hasQueuedSelection=!1,this.onStoreChange())}},{key:"componentWillUnmount",value:function(){var e=this;this.canRunSelection=!1,this.unsubscribe(),Object.keys(this.onUnmounts).forEach((function(t){return e.onUnmounts[t]()}))}},{key:"shouldComponentUpdate",value:function(e,t){var r=e.registry!==this.props.registry;r&&(this.unsubscribe(),this.subscribe(e.registry));var n=r||!O()(this.props.ownProps,e.ownProps);if(this.state===t&&!n)return!1;if(n){var o=this.getNextMergeProps(e);O()(this.mergeProps,o)||(this.mergeProps=o)}return!0}},{key:"onStoreChange",value:function(){if(this.canRunSelection){var e=this.getNextMergeProps(this.props);O()(this.mergeProps,e)||(this.mergeProps=e,this.setState({}))}else this.hasQueuedSelection=!0}},{key:"subscribe",value:function(e){this.unsubscribe=e.subscribe(this.onStoreChange)}},{key:"render",value:function(){return Object(b.createElement)(t,o()({},this.props.ownProps,this.mergeProps))}}]),i}(b.Component);return function(e){return Object(b.createElement)(z.RegistryConsumer,null,(function(t){return Object(b.createElement)(n,{ownProps:e,registry:t})}))}}),"withSelect")}},108:function(e,t,r){"use strict";var n=r(24);r.d(t,"k",(function(){return n.isoDateFormat})),r.d(t,"a",(function(){return n.appendTimestamp})),r.d(t,"h",(function(){return n.getDateParamsFromQuery})),r.d(t,"f",(function(){return n.getCurrentDates})),r.d(t,"j",(function(){return n.getPreviousDate})),r.d(t,"d",(function(){return n.getAllowedIntervalsForQuery})),r.d(t,"i",(function(){return n.getIntervalForQuery})),r.d(t,"e",(function(){return n.getChartTypeForQuery})),r.d(t,"c",(function(){return n.defaultTableDateFormat})),r.d(t,"g",(function(){return n.getDateFormatsForInterval})),r.d(t,"b",(function(){return n.dateValidationMessages}))},109:function(e,t,r){"use strict";function n(e){return function(){return e}}var o=function(){};o.thatReturns=n,o.thatReturnsFalse=n(!1),o.thatReturnsTrue=n(!0),o.thatReturnsNull=n(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(40),o=r(5);function c(e,t){return!t||"object"!==Object(n.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},111:function(e,t){!function(){e.exports=this.wc.currency}()},113:function(e,t,r){"use strict";var n=r(114);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,c,a){if(a!==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 r={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:c,resetWarningCache:o};return r.PropTypes=r,r}},114:function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},115:function(e,t,r){"use strict";var n=r(73),o=r(94),c=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,i(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,c,a,s,l,f,p,h,v,m,b){var y,g=t;if("function"==typeof l?g=l(r,g):g instanceof Date?g=h(g):"comma"===o&&i(g)&&(g=g.join(",")),null===g){if(c)return s&&!m?s(r,d.encoder,b,"key"):r;g=""}if("string"==typeof(y=g)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||n.isBuffer(g))return s?[v(m?r:s(r,d.encoder,b,"key"))+"="+v(s(g,d.encoder,b,"value"))]:[v(r)+"="+v(String(g))];var O,w=[];if(void 0===g)return w;if(i(l))O=l;else{var z=Object.keys(g);O=f?z.sort(f):z}for(var j=0;j<O.length;++j){var k=O[j];a&&null===g[k]||(i(g)?u(w,e(g[k],"function"==typeof o?o(r,k):r,o,c,a,s,l,f,p,h,v,m,b)):u(w,e(g[k],r+(p?"."+k:"["+k+"]"),o,c,a,s,l,f,p,h,v,m,b)))}return w};e.exports=function(e,t){var r,n=e,s=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==e.format){if(!c.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=o.formatters[r],a=d.filter;return("function"==typeof e.filter||i(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof s.filter?n=(0,s.filter)("",n):i(s.filter)&&(r=s.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=a[l];r||(r=Object.keys(n)),s.sort&&r.sort(s.sort);for(var v=0;v<r.length;++v){var m=r[v];s.skipNulls&&null===n[m]||u(f,p(n[m],m,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var b=f.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},116:function(e,t,r){"use strict";var n=r(73),o=Object.prototype.hasOwnProperty,c=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t){if(c(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},l=function(e,t,r,n){if(e){var c=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(c),u=i?c.slice(0,i.index):c,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}for(var f=0;r.depth>0&&null!==(i=a.exec(c))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(i[1])}return i&&l.push("["+c.slice(i.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),c=e.length-1;c>=0;--c){var a,i=e[c];if("[]"===i&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&i!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:a[u]=o:a={0:o}}o=a}return o}(l,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof e?function(e,t){var r,l={},f=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,p=f.split(t.delimiter,d),h=-1,v=t.charset;if(t.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?v="utf-8":"utf8=%26%2310003%3B"===p[r]&&(v="iso-8859-1"),h=r,r=p.length);for(r=0;r<p.length;++r)if(r!==h){var m,b,y=p[r],g=y.indexOf("]="),O=-1===g?y.indexOf("="):g+1;-1===O?(m=t.decoder(y,a.decoder,v,"key"),b=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,O),a.decoder,v,"key"),b=u(s(y.slice(O+1),t),(function(e){return t.decoder(e,a.decoder,v,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===v&&(b=i(b)),y.indexOf("[]=")>-1&&(b=c(b)?[b]:b),o.call(l,m)?l[m]=n.combine(l[m],b):l[m]=b}return l}(e,r):e,d=r.plainObjects?Object.create(null):{},p=Object.keys(f),h=0;h<p.length;++h){var v=p[h],m=l(v,f[v],r,"string"==typeof e);d=n.merge(d,m,r)}return n.compact(d)}},117:function(e,t,r){"use strict";var n=Object.keys;e.exports=function(e,t){var r,o,c,a,i;if(e===t)return!0;if(r=n(e),o=n(t),r.length!==o.length)return!1;for(c=0;c<r.length;){if(void 0===(i=e[a=r[c]])&&!t.hasOwnProperty(a)||i!==t[a])return!1;c++}return!0}},118:function(e,t,r){"use strict";e.exports=function(e,t){var r;if(e===t)return!0;if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}},119:function(e,t,r){"use strict";e.exports=function(e){function t(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return n.colors[Math.abs(t)%n.colors.length]}function n(e){var r;function a(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(a.enabled){var c=a,i=Number(new Date),s=i-(r||i);c.diff=s,c.prev=r,c.curr=i,r=i,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;u++;var o=n.formatters[r];if("function"==typeof o){var a=t[u];e=o.call(c,a),t.splice(u,1),u--}return e})),n.formatArgs.call(c,t);var l=c.log||n.log;l.apply(c,t)}}return a.namespace=e,a.enabled=n.enabled(e),a.useColors=n.useColors(),a.color=t(e),a.destroy=o,a.extend=c,"function"==typeof n.init&&n.init(a),n.instances.push(a),a}function o(){var e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function c(e,t){var r=n(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){var e=[].concat(n.names.map(a),n.skips.map(a).map((function(e){return"-"+e}))).join(",");return n.enable(""),e},n.enable=function(e){var t;n.save(e),n.names=[],n.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(t=0;t<o;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){var c=n.instances[t];c.enabled=n.enabled(c.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=r(120),Object.keys(e).forEach((function(t){n[t]=e[t]})),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},12:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},120:function(e,t){var r=1e3,n=6e4,o=60*n,c=24*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,t){t=t||{};var i=typeof e;if("string"===i&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*c;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===i&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=c)return a(e,t,c,"day");if(t>=o)return a(e,t,o,"hour");if(t>=n)return a(e,t,n,"minute");if(t>=r)return a(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=c)return Math.round(e/c)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},126:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(70);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var r=document,n=r.body;return n&&n.appendChild(t),t}var c="";function a(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),c===e&&(e+=" "),c=e,e}(e);var r=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}Object(n.a)((function(){var e=document.getElementById("a11y-speak-assertive"),t=document.getElementById("a11y-speak-polite");null===e&&o("assertive"),null===t&&o("polite")}))},129:function(e,t,r){var n=r(273);e.exports=function(e,t){if(null==e)return{};var r,o,c=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},13:function(e,t){!function(){e.exports=this.React}()},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(46);function o(e,t){if(null==e)return{};var r,o,c=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},147:function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},148:function(e,t,r){"use strict";var n=r(13),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,c=r(109),a=r(149),i=r(150),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(r=e.key,n={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function l(e,t,r,n){var c,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===o)return r(n,e,""===t?"."+u(e,0):t),1;var f=0,d=""===t?".":t+":";if(Array.isArray(e))for(var p=0;p<e.length;p++)f+=l(c=e[p],d+u(c,p),r,n);else{var h=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var v,m=h.call(e),b=0;!(v=m.next()).done;)f+=l(c=v.value,d+u(c,b++),r,n)}else if("object"===i){0;var y=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,"")}}return f}var f=/\/+/g;function d(e){return(""+e).replace(f,"$&/")}var p,h,v=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},b=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function y(e,t,r,n){this.result=e,this.keyPrefix=t,this.func=r,this.context=n,this.count=0}function g(e,t,r){var o,a,i=e.result,s=e.keyPrefix,u=e.func,l=e.context,f=u.call(l,t,e.count++);Array.isArray(f)?O(f,i,r,c.thatReturnsArgument):null!=f&&(n.isValidElement(f)&&(o=f,a=s+(!f.key||t&&t.key===f.key?"":d(f.key)+"/")+r,f=n.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),i.push(f))}function O(e,t,r,n,o){var c="";null!=r&&(c=d(r)+"/");var a=y.getPooled(t,c,n,o);!function(e,t,r){null==e||l(e,"",t,r)}(e,g,a),y.release(a)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,r,n){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,r,n),o}return new this(e,t,r,n)},(h=y).instancePool=[],h.getPooled=p||v,h.poolSize||(h.poolSize=10),h.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(n.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var r in e)O(e[r],t,r,c.thatReturnsArgument);return t}},149:function(e,t,r){"use strict";e.exports=function(e,t,r,n,o,c,a,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,c,a,i],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(30);var o=r(49);function c(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},150:function(e,t,r){"use strict";var n=r(109);e.exports=n},151:function(e,t,r){"use strict";function n(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}},152:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},16:function(e,t){!function(){e.exports=this.moment}()},169:function(e,t,r){"use strict";var n=r(2);t.a=n.flowRight},17:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},170:function(e,t,r){"use strict";r.d(t,"a",(function(){return x})),r.d(t,"b",(function(){return M})),r.d(t,"c",(function(){return k}));var n=r(76),o=r.n(n),c=r(68),a=r(12),i=r(87),s=r.n(i),u=r(2);function l(e,t,r,n,o){void 0===r&&(r=500),void 0===n&&(n=3e4),void 0===o&&(o=new Date);var c={updates:[],nextUpdate:n};return function(e,t,r,n){Object.keys(t).forEach((function(o){var c=t[o],a=r[o]||{};!function(e,t,r,n,o){var c=n.lastRequested,a=n.lastReceived,i=c&&(!a||c>a),s=f(r.timeout,n,o),u=d(r.freshness,n,o),l=i&&0>=u?s:u;e.nextUpdate=Math.min(e.nextUpdate,l),l<0&&e.updates.push(t)}(e,o,c,a,n)}))}(c,e,t,o),c.nextUpdate=Math.max(c.nextUpdate,r),c}function f(e,t,r){var n=t.lastRequested||Number.MIN_SAFE_INTEGER,o=t.lastReceived||Number.MIN_SAFE_INTEGER;return e&&n&&n>o?e-(r-n):Number.MAX_SAFE_INTEGER}function d(e,t,r){var n=t.lastReceived;return e&&n?e-(r-n):e?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER}var p=r(46),h="overdue",v="fetching",m="stale",b="fresh",y="notRequired";function g(e){var t=e.state.resources||{},r=e.requirementsByResource;return Object(u.union)(Object.keys(t),Object.keys(r)).reduce((function(n,o){var c=t[o]||{},i=c.data,s=function(e,t){if(!t)return y;var r=t.freshness,n=t.timeout,o=new Date,c=d(r,e,o);if(e&&e.lastRequested>e.lastReceived){return f(n,e,o)<0?h:v}if(c<0)return m;return b}(c,r[o]),l=function(e,t,r){var n=new Date;switch(e){case h:return"Timed out for "+O(-f(r.timeout,t,n));case v:return O(f(r.timeout,t,n))+" until timeout";case m:return"Stale for "+O(-d(r.freshness,t,n));case b:return"Fresh for "+O(d(r.freshness,t,n));case y:default:return"Resource is not fetched directly."}}(s,c,r[o]);if(n[o]={status:s,summary:l,data:i},r[o]){var g=function(e){void 0===e&&(e={});var t=e,r=t.freshness,n=t.timeout,o=Object(p.a)(t,["freshness","timeout"]);return Object(a.a)({freshness:O(r),timeout:O(n)},o)}(r[o]),w=function(e,t){var r=[];return e.forEach((function(e,n){Object(u.find)(e,{resourceName:t})&&r.push(n)})),r.length?r:null}(e.requirementsByComponent,o);n[o].combinedRequirement=g,n[o].componentsRequiring=w}return n}),{})}function O(e){if(!e)return"";var t=Math.floor(e/36e5);e-=36e5*t;var r=Math.floor(e/6e4),n=(e-=6e4*r)/1e3,o="";return o=t?t+" hours ":o,o=r?""+o+r+" mins ":o,o=n?""+o+n+" secs ":o}function w(e){var t=Object.keys(e),r=[],n=0,o=0,c=0,a=0,i=0;t.forEach((function(t){var s=e[t];switch(r=Object(u.union)(r,s.componentsRequiring),s.status){case h:c++;break;case v:a++;break;case m:o++;break;case b:n++;break;case y:i++}}));var s=t.length+" resources, "+r.length+" components ( ";return n&&(s+=n+" fresh "),o&&(s+=o+" stale "),i&&(s+=i+" not required "),c&&(s+=c+" timed out "),a&&(s+=a+" fetching "),s+=")"}var z={};function j(e){!0===window.__FRESH_DATA_DEV_INFO__&&(z[e.getName()]=function(e){var t=function(e){var t=[];return e.requirementsByComponent.forEach((function(e,r){t.push({component:r,requirements:e})})),t}(e),r=g(e);return{summary:w(r),resources:r,components:t}}(e),window.freshData||(window.freshData=z))}var k=1e3,M=60*k,H={freshness:Number.MAX_SAFE_INTEGER,timeout:20*k};function E(e){var t={};return e.forEach((function(e){e.forEach((function(e){var r=e.resourceName,n=Object(p.a)(e,["resourceName"]);!function(e,t,r){var n=e[r]||Object(a.a)({},H);(function(e,t){var r=e.freshness||H.freshness,n=e.timeout||H.timeout,o=t.freshness||Number.MAX_SAFE_INTEGER,c=t.timeout||Number.MAX_SAFE_INTEGER;e.freshness=Math.min(r,o),e.timeout=Math.min(n,c)})(n,t),e[r]=n}(t,n,r)}))})),t}function V(e,t){return window.setTimeout(e,t)}function C(e){return window.clearTimeout(e)}var x=function(e,t,r){var n=this;void 0===t&&(t=V),void 0===r&&(r=C),this.getName=function(){return n.name||"UID_"+n.uid},this.mapOperations=function(e){return Object.keys(e).reduce((function(t,r){return t[r]=function(t,o){var c=e[r];return n.applyOperation(c,t,o)},t}),{})},this.setDataHandlers=function(e){var t=e.dataRequested,r=e.dataReceived;n.dataHandlers={dataRequested:t,dataReceived:r}},this.setState=function(e,t){void 0===t&&(t=new Date),n.state!==e&&(n.state=e,n.updateTimer(t),n.subscriptionCallbacks.forEach((function(e){return e(n)})),j(n))},this.subscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.debug("Attempting to add a subscription callback twice:",e),!1):(n.subscriptionCallbacks.add(e),e)},this.unsubscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.subscriptionCallbacks.delete(e),e):(n.debug("Attempting to remove a callback that is not subscribed:",e),!1)},this.getResource=function(e){return(n.state.resources||{})[e]||{}},this.requireResource=function(e){return function(t,r){return e.push(Object(a.a)({},t,{resourceName:r})),n.getResource(r)}},this.getMutations=function(){return n.mutations},this.getSelectors=function(e){return S(n.selectors,n.getResource,n.requireResource(e))},this.clearComponentRequirements=function(e,t){void 0===t&&(t=new Date),n.requirementsByComponent.delete(e),n.updateRequirementsByResource(t)},this.setComponentRequirements=function(e,t,r){void 0===r&&(r=new Date),n.requirementsByComponent.set(e,t),n.updateRequirementsByResource(r)},this.setComponentData=function(e,t,r){if(void 0===r&&(r=new Date),t){var o=[];t(n.getSelectors(o)),n.setComponentRequirements(e,o,r)}else n.clearComponentRequirements(e,r)},this.updateRequirementsByResource=function(e){void 0===e&&(e=new Date);var t=E(n.requirementsByComponent);Object(u.isEqual)(n.requirementsByResource,t)||(n.requirementsByResource=t,n.updateTimer(e))},this.updateRequirementsData=function(){var e=Object(c.a)(o.a.mark((function e(t){var r,c,a,i,s,f,d,p,h,v,m,b;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.requirementsByComponent,c=n.requirementsByResource,a=n.state,i=n.minUpdate,s=n.maxUpdate,f=a.resources||{},d=r.size,p=Object.keys(c).length,n.debug("Updating requirements for "+d+" components and "+p+" resources."),j(n),Object(u.isEmpty)(c)){e.next=20;break}if(h=l(c,f,i,s,t),v=h.nextUpdate,!((m=h.updates)&&m.length>0)){e.next=15;break}if(b=n.readOperationName,n.operations[b]){e.next=13;break}throw new Error('Operation "'+b+'" not found.');case 13:return e.next=15,n.operations[b](m);case 15:n.debug("Scheduling next update for "+v/1e3+" seconds."),j(n),n.updateTimer(t,v),e.next=21;break;case 20:n.timeoutId&&(n.debug("Unscheduling future updates"),j(n),n.updateTimer(t,null));case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.updateTimer=function(e,t){void 0===t&&(t=void 0);var r=n.requirementsByResource,o=n.state,c=n.minUpdate,a=n.maxUpdate,i=o.resources||{};void 0===t&&(t=l(r,i,c,a,e).nextUpdate),n.timeoutId&&(n.clearTimer(n.timeoutId),n.timeoutId=null),t&&(n.timeoutId=n.setTimer(n.updateRequirementsData,t))},this.applyOperation=function(){var e=Object(c.a)(o.a.mark((function e(t,r,a){var i,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n.dataRequested(r),i=t(r,a)||[],s=Object(u.isArray)(i)?i:[i],l=s.map(function(){var e=Object(c.a)(o.a.mark((function e(t){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return r=e.sent,n.dataReceived(r),e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=7,Promise.all(l);case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(0),n.debug("Error caught while applying operation: ",t),e.t0;case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t,r,n){return e.apply(this,arguments)}}(),this.dataRequested=function(e){if(n.dataHandlers)return n.dataHandlers.dataRequested(e),e;n.debug("Data requested before dataHandlers set. Disregarding.")},this.dataReceived=function(e){if(n.dataHandlers)return n.dataHandlers.dataReceived(e),e;n.debug("Data received before dataHandlers set. Disregarding.")};var i=e.operations,f=e.mutations,d=e.selectors,p=e.readOperationName||"read";this.uid=Object(u.uniqueId)(),this.name=e.name,this.debug=s()("fresh-data:api-client["+this.uid+"]"),this.debug("New ApiClient for apiSpec: ",e),this.operations=i&&this.mapOperations(i),this.mutations=f&&S(f,this.operations),this.selectors=d,this.readOperationName=p,this.dataHandlers=null,this.subscriptionCallbacks=new Set,this.requirementsByComponent=new Map,this.requirementsByResource={},this.minUpdate=500,this.maxUpdate=3e4,this.setTimer=t,this.clearTimer=r,this.timeoutId=null,this.state={},j(this)};function S(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.keys(e).reduce((function(t,n){return t[n]=e[n].apply(e,r),t}),{})}},172:function(e,t,r){var n=r(152);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},176:function(e,t,r){"use strict";e.exports=r(210)},18:function(e,t){!function(){e.exports=this.wp.data}()},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(49);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw c}}return r}}(e,t)||Object(n.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},194:function(e,t,r){"use strict";var n=r(176),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function s(e){return n.isMemo(e)?a:i[e.$$typeof]||o}i[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var i=s(t),v=s(r),m=0;m<a.length;++m){var b=a[m];if(!(c[b]||n&&n[b]||v&&v[b]||i&&i[b])){var y=d(r,b);try{u(t,b,y)}catch(e){}}}}return t}},196:function(e,t,r){"use strict";var n=r(3),o=r(48),c=r(0),a=r(23),i=r(197),s=Object(a.g)("manageStock","no"),u=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(16)]).then(r.bind(null,738))})),l=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(5),r.e(15)]).then(r.bind(null,739))})),f=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(14)]).then(r.bind(null,742))})),d=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(5),r.e(10)]).then(r.bind(null,737))})),p=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(11)]).then(r.bind(null,741))})),h=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(18)]).then(r.bind(null,740))})),v=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(13)]).then(r.bind(null,743))})),m=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(17)]).then(r.bind(null,735))})),b=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(12)]).then(r.bind(null,736))}));t.a=function(){var e=[{report:"revenue",title:Object(n.__)("Revenue","woocommerce-admin"),component:u},{report:"products",title:Object(n.__)("Products","woocommerce-admin"),component:l},{report:"orders",title:Object(n.__)("Orders","woocommerce-admin"),component:f},{report:"categories",title:Object(n.__)("Categories","woocommerce-admin"),component:d},{report:"coupons",title:Object(n.__)("Coupons","woocommerce-admin"),component:p},{report:"taxes",title:Object(n.__)("Taxes","woocommerce-admin"),component:h},{report:"downloads",title:Object(n.__)("Downloads","woocommerce-admin"),component:v},"yes"===s?{report:"stock",title:Object(n.__)("Stock","woocommerce-admin"),component:m}:null,{report:"customers",title:Object(n.__)("Customers","woocommerce-admin"),component:b},{report:"downloads",title:Object(n.__)("Downloads","woocommerce-admin"),component:v}].filter(Boolean);return Object(o.applyFilters)(i.REPORTS_FILTER,e)}},197:function(e,t,r){"use strict";r.r(t),r.d(t,"REPORTS_FILTER",(function(){return x}));var n=r(17),o=r.n(n),c=r(38),a=r.n(c),i=r(37),s=r.n(i),u=r(39),l=r.n(u),f=r(42),d=r.n(f),p=r(26),h=r.n(p),v=r(0),m=r(169),b=r(1),y=r.n(b),g=r(2),O=r(53),w=r(22),z=(r(439),r(261)),j=r(274),k=r(101),M=r(200),H=r(196);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(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 r,n=h()(e);if(t){var o=h()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d()(this,r)}}var x="woocommerce_admin_reports_list",S=function(e){var t=e.params,r=e.path;return t.report||r.replace(/^\/+/,"")},P=function(e){l()(r,e);var t=C(r);function r(){var e;return a()(this,r),(e=t.apply(this,arguments)).state={hasError:!1},e}return s()(r,[{key:"componentDidCatch",value:function(e){this.setState({hasError:!0}),console.warn(e)}},{key:"render",value:function(){if(this.state.hasError)return null;if(this.props.isError)return Object(v.createElement)(z.a,{isError:!0});var e=S(this.props),t=Object(g.find)(Object(H.a)(),{report:e});if(!t)return null;var r=t.component;return Object(v.createElement)(M.a.Provider,{value:Object(M.b)(Object(w.getQuery)())},Object(v.createElement)(r,this.props))}}]),r}(v.Component);P.propTypes={params:y.a.object.isRequired},t.default=Object(m.a)(Object(O.useFilters)(x),Object(k.a)((function(e,t){var r=Object(w.getQuery)();if(!r.search)return{};var n=S(t),c=Object(w.getSearchWords)(r),a="categories"===n&&"single_category"===r.filter?"products":n,i=Object(j.b)(e,a,c),s=i.isError,u=i.isRequesting,l=i.items,f=Object.keys(l);return f.length?{isError:s,isRequesting:u,query:V(V({},t.query),{},o()({},a,f.join(",")))}:{isError:s,isRequesting:u}})))(P)},199:function(e,t,r){"use strict";r.d(t,"c",(function(){return lt})),r.d(t,"b",(function(){return ht})),r.d(t,"a",(function(){return vt}));var n=r(80),o=r.n(n),c=r(17),a=r.n(c),i=r(129),s=r.n(i),u=r(38),l=r.n(u),f=r(37),d=r.n(f),p=r(39),h=r.n(p),v=r(42),m=r.n(v),b=r(26),y=r.n(b),g=r(0),O=r(169),w=r(18),z=r(60),j=r(13),k=r.n(j),M=r(1),H=r.n(M),E=r(98),V=r(126),C=r.n(V),x=r(411),S=r.n(x);function P(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(r,n){e=r,t.forEach((function(t){return t(e,n)}))}}}var _=k.a.createContext||function(e,t){var r,n,o="__create-react-context-"+S()()+"__",c=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=P(t.props.value),t}C()(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,o=e.value;((c=n)===(a=o)?0!==c||1/c==1/a:c!=c&&a!=a)?r=0:(r="function"==typeof t?t(n,o):1073741823,0!==(r|=0)&&this.emitter.set(e.value,r))}var c,a},n.render=function(){return this.props.children},r}(j.Component);c.childContextTypes=((r={})[o]=H.a.object.isRequired,r);var a=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!=((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}C()(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},n.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},n.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},n.getValue=function(){return this.context[o]?this.context[o].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(j.Component);return a.contextTypes=((n={})[o]=H.a.object,n),{Provider:c,Consumer:a}},R=r(79),L=r(12),A=r(258),T=r.n(A),N=(r(176),r(46)),D=(r(194),function(e){var t=_();return t.displayName=e,t}("Router")),F=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={location:t.history.location},r._isMounted=!1,r._pendingLocation=null,t.staticContext||(r.unlisten=t.history.listen((function(e){r._isMounted?r.setState({location:e}):r._pendingLocation=e}))),r}Object(z.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return k.a.createElement(D.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(k.a.Component);k.a.Component;k.a.Component;var I={},q=0;function U(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,o=r.exact,c=void 0!==o&&o,a=r.strict,i=void 0!==a&&a,s=r.sensitive,u=void 0!==s&&s;return[].concat(n).reduce((function(t,r){if(!r&&""!==r)return null;if(t)return t;var n=function(e,t){var r=""+t.end+t.strict+t.sensitive,n=I[r]||(I[r]={});if(n[e])return n[e];var o=[],c={regexp:T()(e,o,t),keys:o};return q<1e4&&(n[e]=c,q++),c}(r,{end:c,strict:i,sensitive:u}),o=n.regexp,a=n.keys,s=o.exec(e);if(!s)return null;var l=s[0],f=s.slice(1),d=e===l;return c&&!d?null:{path:r,url:"/"===r&&""===l?"/":l,isExact:d,params:a.reduce((function(e,t,r){return e[t.name]=f[r],e}),{})}}),null)}var B=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r=e.props.location||t.location,n=e.props.computedMatch?e.props.computedMatch:e.props.path?U(r.pathname,e.props):t.match,o=Object(L.a)({},t,{location:r,match:n}),c=e.props,a=c.children,i=c.component,s=c.render;return Array.isArray(a)&&0===a.length&&(a=null),k.a.createElement(D.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:i?k.a.createElement(i,o):s?s(o):null:"function"==typeof a?a(o):null)}))},t}(k.a.Component);function W(e){return"/"===e.charAt(0)?e:"/"+e}function $(e,t){if(!e)return t;var r=W(e);return 0!==t.pathname.indexOf(r)?t:Object(L.a)({},t,{pathname:t.pathname.substr(r.length)})}function G(e){return"string"==typeof e?e:Object(E.d)(e)}function Q(e){return function(){Object(R.a)(!1)}}function K(){}k.a.Component;var Z=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r,n,o=e.props.location||t.location;return k.a.Children.forEach(e.props.children,(function(e){if(null==n&&k.a.isValidElement(e)){r=e;var c=e.props.path||e.props.from;n=c?U(o.pathname,Object(L.a)({},e.props,{path:c})):t.match}})),n?k.a.cloneElement(r,{location:o,computedMatch:n}):null}))},t}(k.a.Component);k.a.useContext;var J=r(2),Y=r(53),X=r(22),ee=r(23),te=r(43),re=(r(438),r(66)),ne=r(48),oe=r(3),ce=r(268),ae=r(196);function ie(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var se=Object(g.lazy)((function(){return Promise.resolve().then(r.bind(null,197))})),ue=Object(g.lazy)((function(){return r.e(19).then(r.bind(null,922))})),le=Object(g.lazy)((function(){return r.e(25).then(r.bind(null,911))})),fe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(47),r.e(29)]).then(r.bind(null,925))})),de=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(6),r.e(30)]).then(r.bind(null,921))})),pe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(48),r.e(34)]).then(r.bind(null,923))})),he=function(e){h()(r,e);var t=ie(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0}},{key:"componentDidUpdate",value:function(e){var t=this.getQuery(e.location.search),r=Object(J.omit)(this.getQuery(e.location.search),"chartType","filter","paged"),n=Object(J.omit)(this.getQuery(this.props.location.search),"chartType","filter","paged");t.paged>1&&!Object(J.isEqual)(r,n)&&Object(X.getHistory)().replace(Object(X.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(re.parse)(t)}},{key:"render",value:function(){var e=this.props,t=e.page,r=e.match,n=e.location,o=r.url,c=r.params,a=this.getQuery(n.search);return window.wpNavMenuUrlUpdate(a),window.wpNavMenuClassChange(t,o),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(t.container,{params:c,path:o,pathMatch:t.path,query:a}))}}]),r}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(ne.applyFilters)("woocommerce_admin_time_excluded_screens",["devdocs","stock","settings","customers","homescreen"]),r=Object(X.getPersistedQuery)(e);Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,r){if(/admin.php\?page=wc-admin/.test(e.href)){var n=Object(J.last)(e.href.split("?")),o=Object(re.parse)(n),c=window.wcAdminFeatures.homescreen?"homescreen":"dashboard",a=(o.path||c).replace("/analytics","").replace("/",""),i=r.includes(a),s="admin.php?"+Object(re.stringify)(Object.assign(o,i?{}:t));e.href=s,e.onclick=function(e){e.preventDefault(),Object(X.getHistory)().push(s)}}}(e,r,t)}))},window.wpNavMenuClassChange=function(e,t){Array.from(document.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")})),Array.from(document.querySelectorAll(".wp-has-current-submenu")).forEach((function(e){e.classList.remove("wp-has-current-submenu"),e.classList.remove("wp-menu-open"),e.classList.remove("selected"),e.classList.add("wp-not-current-submenu"),e.classList.add("menu-top")}));var r="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),n="/"===t?'li > a[href$="'.concat(r,'"], li > a[href*="').concat(r,'?"]'):'li > a[href*="'.concat(r,'"]'),o=document.querySelectorAll(n);if(Array.from(o).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var c=document.querySelector("#"+e.wpOpenMenu);c&&(c.classList.remove("wp-not-current-submenu"),c.classList.add("wp-has-current-submenu"),c.classList.add("wp-menu-open"),c.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var ve=r(62),me=r.n(ve),be=r(8),ye=r.n(be),ge=r(72),Oe=(r(440),r(406)),we=r.n(Oe),ze=r(67),je=r(418),ke=r(407),Me=r.n(ke),He=r(408),Ee=r.n(He),Ve=(r(442),function(e){var t=e.height,r=void 0===t?24:t,n=e.width,o=void 0===n?24:n,c=e.hasUnread,a=void 0!==c&&c,i=ye()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":a});return Object(g.createElement)("div",{className:i},Object(g.createElement)("svg",{height:r,width:o,viewBox:"0 0 24 24"},Object(g.createElement)("path",{d:"M18.9 2H5.1C3.4 2 2 3.4 2 5.1v10.7C2 17.6 3.4 19 5.1 19H9l6 3-1-3h4.9c1.7 0 3.1-1.4 3.1-3.1V5.1C22 3.4 20.6 2 18.9 2zm-1.5 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7-.1.2-.3.4-.6.4s-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6 0 .2 0 .4-.1.5z"})))});Ve.propTypes={height:H.a.number,width:H.a.number,hasUnread:H.a.bool};var Ce=Ve,xe=r(270),Se=r(33);var Pe=r(63),_e=r(101);function Re(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Le=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(46),r.e(7)]).then(r.bind(null,792))})),Ae=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(8)]).then(r.bind(null,926))})),Te=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(9)]).then(r.bind(null,928))})),Ne=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(46),r.e(7)]).then(r.bind(null,916))})),De=Object(ee.g)("manageStock","no"),Fe=Object(ee.g)("reviewsEnabled","no"),Ie=function(e){h()(r,e);var t=Re(r);function r(){var e;return l()(this,r),(e=t.apply(this,arguments)).togglePanel=e.togglePanel.bind(me()(e)),e.clearPanel=e.clearPanel.bind(me()(e)),e.toggleMobile=e.toggleMobile.bind(me()(e)),e.renderTab=e.renderTab.bind(me()(e)),e.state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},e}return d()(r,[{key:"togglePanel",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab;r&&e===n||Object(Pe.b)("activity_panel_open",{tab:e}),this.setState((function(t){return e===t.currentTab||""===t.currentTab?{isPanelOpen:!t.isPanelOpen,currentTab:e,mobileOpen:!t.isPanelOpen}:{currentTab:e,isPanelSwitching:!0}}))}},{key:"clearPanel",value:function(){this.setState((function(e){return e.isPanelOpen?{isPanelSwitching:!1}:{currentTab:""}}))}},{key:"toggleMobile",value:function(){var e=this.getTabs();this.setState((function(t){return{mobileOpen:!t.mobileOpen,currentTab:t.mobileOpen?"":e[0].name,isPanelOpen:!t.mobileOpen}}))}},{key:"handleClickOutside",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab,o=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");r&&!o&&this.togglePanel(n)}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,r=e.hasUnreadOrders,n=e.hasUnapprovedReviews,o=e.hasUnreadStock,c=e.isEmbedded,a=Object(X.getHistory)().location;return[c||!window.wcAdminFeatures.homescreen||"/"!==a.pathname?{name:"inbox",title:Object(oe.__)("Inbox","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t}:null,{name:"orders",title:Object(oe.__)("Orders","woocommerce-admin"),icon:Object(g.createElement)(Me.a,null),unread:r},"yes"===De?{name:"stock",title:Object(oe.__)("Stock","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"widgets"),unread:o}:null,"yes"===Fe?{name:"reviews",title:Object(oe.__)("Reviews","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"star_border"),unread:n}:null].filter(Boolean)}},{key:"getPanelContent",value:function(e){switch(e){case"inbox":return Object(g.createElement)(Le,null);case"orders":var t=this.props.hasUnreadOrders;return Object(g.createElement)(Ae,{hasActionableOrders:t});case"stock":return Object(g.createElement)(Te,null);case"reviews":var r=this.props.hasUnapprovedReviews;return Object(g.createElement)(Ne,{hasUnapprovedReviews:r});default:return null}}},{key:"renderPanel",value:function(){var e=this.state,t=e.isPanelOpen,r=e.currentTab,n=e.isPanelSwitching,o=Object(J.find)(this.getTabs(),{name:r});if(!o)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var c=ye()("woocommerce-layout__activity-panel-wrapper",{"is-open":t,"is-switching":n});return Object(g.createElement)("div",{className:c,tabIndex:0,role:"tabpanel","aria-label":o.title,onTransitionEnd:this.clearPanel,onAnimationEnd:this.clearPanel},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+r,id:"activity-panel-"+r},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},this.getPanelContent(r))))}},{key:"renderTab",value:function(e,t){var r=this.state,n=r.currentTab,o=r.isPanelOpen,c=ye()("woocommerce-layout__activity-panel-tab",{"is-active":o&&e.name===n,"has-unread":e.unread}),a=e.name===n,i=-1;return(a||!o&&0===t)&&(i=null),Object(g.createElement)(ze.a,{role:"tab",className:c,tabIndex:i,"aria-selected":a,"aria-controls":"activity-panel-"+e.name,key:"activity-panel-tab-"+e.name,id:"activity-panel-tab-"+e.name,onClick:Object(J.partial)(this.togglePanel,e.name)},e.icon,e.title," ",e.unread&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(oe.__)("unread activity","woocommerce-admin")))}},{key:"render",value:function(){var e=this.getTabs(),t=this.state.mobileOpen,r=Object(J.uniqueId)("activity-panel-header_"),n=ye()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),o=e.some((function(e){return e.unread})),c=o?Object(oe.__)("View Activity Panel, you have unread activity","woocommerce-admin"):Object(oe.__)("View Activity Panel","woocommerce-admin");return Object(g.createElement)("div",null,Object(g.createElement)(Y.H,{id:r,className:"screen-reader-text"},Object(oe.__)("Store Activity","woocommerce-admin")),Object(g.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":r},Object(g.createElement)(ze.a,{onClick:this.toggleMobile,label:t?Object(oe.__)("Close Activity Panel","woocommerce-admin"):c,"aria-expanded":t,className:"woocommerce-layout__activity-panel-mobile-toggle"},t?Object(g.createElement)(Ee.a,null):Object(g.createElement)(Ce,{hasUnread:o})),Object(g.createElement)("div",{className:n},Object(g.createElement)(je.a,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},e&&e.map(this.renderTab)),this.renderPanel())))}}]),r}(g.Component),qe=Object(O.a)(Object(_e.a)((function(e){return{hasUnreadNotes:function(e){var t=e("wc-api"),r=t.getNotes,n=t.getNotesError,o=t.isGetNotesRequesting,c=(0,e(te.USER_STORE_NAME).getCurrentUser)(),a=parseInt(c&&c.woocommerce_meta&&c.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;var i={page:1,per_page:1,type:Se.d.noteTypes,orderby:"date",order:"desc"},s=r(i),u=Boolean(n(i)),l=o(i);return u||l?null:s[0]&&new Date(s[0].date_created_gmt+"Z").getTime()>a}(e),hasUnreadOrders:function(e){var t=e("wc-api"),r=t.getItems,n=t.getItemsTotalCount,o=t.getItemsError,c=t.isGetItemsRequesting,a=(0,e(te.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,i=void 0===a?xe.a:a;if(!i.length)return!1;var s={page:1,per_page:1,status:i,_fields:["id"]};r("orders",s);var u=n("orders",s),l=Boolean(o("orders",s)),f=c("orders",s);return l||f?null:u>0}(e),hasUnreadStock:Object(ee.g)("hasLowStock",!1),hasUnapprovedReviews:function(e){var t=e("wc-api"),r=t.getReviewsTotalCount,n=t.getReviewsError,o=t.isGetReviewsRequesting;if("yes"===Object(ee.g)("reviewsEnabled")){var c={page:1,per_page:1,status:"hold"},a=r(c),i=Boolean(n(c)),s=o(c);if(!i&&!s)return a>0}return!1}(e)}})),we.a)(Ie);function Ue(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Be=function(e){h()(r,e);var t=Ue(r);function r(){var e;return l()(this,r),(e=t.call(this)).state={isScrolled:!1},e.headerRef=Object(g.createRef)(),e.onWindowScroll=e.onWindowScroll.bind(me()(e)),e.updateIsScrolled=e.updateIsScrolled.bind(me()(e)),e.trackLinkClick=e.trackLinkClick.bind(me()(e)),e.updateDocumentTitle=e.updateDocumentTitle.bind(me()(e)),e}return d()(r,[{key:"componentDidMount",value:function(){this.threshold=this.headerRef.current.offsetTop,window.addEventListener("scroll",this.onWindowScroll),this.updateIsScrolled()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onWindowScroll),window.cancelAnimationFrame(this.handle)}},{key:"onWindowScroll",value:function(){this.handle=window.requestAnimationFrame(this.updateIsScrolled)}},{key:"updateIsScrolled",value:function(){var e=window.pageYOffset>this.threshold-20;e!==this.state.isScrolled&&this.setState({isScrolled:e})}},{key:"trackLinkClick",value:function(e){var t=e.target.closest("a").getAttribute("href");Object(Pe.b)("navbar_breadcrumb_click",{href:t,text:e.target.innerText})}},{key:"updateDocumentTitle",value:function(){var e=this.props,t=e.sections;if(!e.isEmbedded){var r=(Array.isArray(t)?t:[t]).map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" ‹ ");document.title=Object(ge.decodeEntities)(Object(oe.sprintf)(Object(oe.__)("%1$s ‹ %2$s — WooCommerce","woocommerce-admin"),r,Object(ee.g)("siteTitle","")))}}},{key:"render",value:function(){var e=this,t=this.props,r=t.sections,n=t.isEmbedded,o=this.state.isScrolled,c=Array.isArray(r)?r:[r];this.updateDocumentTitle();var a=ye()("woocommerce-layout__header",{"is-scrolled":o});return Object(g.createElement)("div",{className:a,ref:this.headerRef},Object(g.createElement)("h1",{className:"woocommerce-layout__header-breadcrumbs"},c.map((function(t,r){var o=Array.isArray(t)?Object(g.createElement)(Y.Link,{href:n?Object(ee.f)(t[0]):Object(X.getNewPath)({},t[0],{}),type:n?"wp-admin":"wc-admin",onClick:e.trackLinkClick},t[1]):t;return Object(g.createElement)("span",{key:r},Object(ge.decodeEntities)(o))}))),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(qe,{isEmbedded:n}))}}]),r}(g.Component);Be.propTypes={sections:H.a.node.isRequired,isEmbedded:H.a.bool},Be.defaultProps={isEmbedded:!1};var We=Be;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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Ge=function(e){h()(r,e);var t=$e(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),r}(g.Component),Qe=r(76),Ke=r.n(Qe),Ze=r(68),Je=r(19),Ye=r(257),Xe=r(749),et=r(409);var tt=function(e){var t=e.notices,r=e.className,n=e.children,o=e.onRemove,c=void 0===o?J.noop:o,a=Object(Xe.a)(),i=Object(g.useState)((function(){return new WeakMap})),s=Object(Je.a)(i,1)[0],u=Object(Ye.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object(Ze.a)(Ke.a.mark((function t(r){return Ke.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r({opacity:1,height:s.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object(Ze.a)(Ke.a.mark((function e(t){return Ke.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:a});r=ye()("components-snackbar-list",r);var l=function(e){return function(){return c(e.id)}};return Object(g.createElement)("div",{className:r},n,u.map((function(e){var t=e.item,r=e.key,n=e.props;return Object(g.createElement)(Ye.animated.div,{key:r,style:n},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&s.set(t,e)}},Object(g.createElement)(et.a,Object(L.a)({},Object(J.omit)(t,["content"]),{onRemove:l(t)}),t.content)))})))};r(443);function rt(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var nt=function(e){h()(r,e);var t=rt(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.notices,n=e.onRemove,o=ye()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(tt,{notices:r,className:o,onRemove:n})}}]),r}(g.Component);nt.propTypes={className:H.a.string,notices:H.a.array};var ot=Object(O.a)(Object(_e.a)((function(e){return{notices:e("core/notices").getNotices()}})),Object(w.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}})))(nt),ct=r(197);function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function st(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var ut=Object(g.lazy)((function(){return Promise.all([r.e(4),r.e(43)]).then(r.bind(null,927))})),lt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props.children;return Object(g.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(ut,null)),Object(g.createElement)(Ge,null),e)}}]),r}(g.Component),ft=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(J.get)(e,"location.pathname"),r=Object(J.get)(this.props,"location.pathname");t&&r&&t!==r&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,r=e.installedPlugins,n=e.isEmbedded,o=e.isJetpackConnected;if(n){var c=document.location.pathname+document.location.search;Object(Pe.c)(c,{is_embedded:!0})}else{var a=Object(J.get)(this.props,"location.pathname");if(a){var i=a.substring(1).replace(/\//g,"_");0===i.length&&(i=window.wcAdminFeatures.homescreen?"home_screen":"dashboard"),Object(Pe.c)(i,{jetpack_installed:r.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:o})}}}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,r=s()(e,["isEmbedded"]),n=this.props.page.breadcrumbs;return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(We,{sections:Object(J.isFunction)(n)?n(this.props):n,isEmbedded:t}),Object(g.createElement)(ot,null),!t&&Object(g.createElement)(lt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(he,r))))}}]),r}(g.Component);ft.propTypes={isEmbedded:H.a.bool,page:H.a.shape({container:H.a.oneOfType([H.a.func,H.a.object]),path:H.a.string,breadcrumbs:H.a.oneOfType([H.a.func,H.a.arrayOf(H.a.oneOfType([H.a.arrayOf(H.a.string),H.a.string]))]).isRequired,wpOpenMenu:H.a.string}).isRequired};var dt=Object(O.a)(Object(te.withPluginsHydration)(it(it({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(w.withSelect)((function(e,t){if(!t.isEmbedded){var r=e(te.PLUGINS_STORE_NAME),n=r.getActivePlugins,o=r.getInstalledPlugins,c=r.isJetpackConnected;return{activePlugins:n(),isJetpackConnected:c(),installedPlugins:o()}}})))(ft),pt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(F,{history:Object(X.getHistory)()},Object(g.createElement)(Z,null,function(){var e=[],t=[["",wcSettings.woocommerceTranslation]];if(window.wcAdminFeatures.devdocs&&e.push({container:fe,path:"/devdocs",breadcrumbs:function(e){var r=e.location,n=Object(ce.b)(r.search).component;return[].concat(t,n?[["/devdocs","Documentation"],n]:["Documentation"])},wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures["analytics-dashboard"]&&!window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Dashboard","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.homescreen&&e.push({container:de,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Home","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.analytics){window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"});var r="toplevel_page_wc-admin-path--analytics-".concat(window.wcAdminFeatures.homescreen?"overview":"revenue");e.push({container:ue,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Settings","woocommerce-admin")]),wpOpenMenu:r}),e.push({container:se,path:"/customers",breadcrumbs:[].concat(t,[Object(oe.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:se,path:"/analytics/:report",breadcrumbs:function(e){var r=e.match,n=Object(J.find)(Object(ae.a)(),{report:r.params.report});return n?[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],n.title]):[]},wpOpenMenu:r})}return window.wcAdminFeatures.marketing&&e.push({container:pe,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(oe.__)("Marketing","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce-marketing"}),Object(ne.applyFilters)("woocommerce_admin_pages_list",e)}().map((function(e){return Object(g.createElement)(B,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(dt,o()({page:e},t))}})}))))}}]),r}(g.Component),ht=Object(O.a)(Object(Y.useFilters)(["woocommerce_admin_pages_list",ct.REPORTS_FILTER]),window.wcSettings.preloadOptions?Object(te.withOptionsHydration)(it({},window.wcSettings.preloadOptions)):J.identity)(pt),vt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(dt,{page:{breadcrumbs:Object(ee.g)("embedBreadcrumbs",[])},isEmbedded:!0})}}]),r}(g.Component)},2:function(e,t){!function(){e.exports=this.lodash}()},200:function(e,t,r){"use strict";r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return l}));var n=r(0),o=r(48),c=r(111),a=r.n(c),i=r(23),s=a()(i.b),u=function(e){var t=s.getCurrency(),r=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return a()(r)},l=Object(n.createContext)(s)},201:function(e,t){!function(){e.exports=this.wc.number}()},208:function(e,t,r){"use strict";var n=r(0),o=r(88),c={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},a={">=":"min-width","<":"max-width"},i={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},s=Object(n.createContext)(null),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",r=Object(n.useContext)(s),u=!r&&"(".concat(a[t],": ").concat(c[e],"px)"),l=Object(o.a)(u);return r?i[t](c[e],r):l};u.__experimentalWidthProvider=s.Provider,t.a=u},209:function(e,t,r){"use strict";var n=r(0),o=r(32),c=Object(n.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.a,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=c},21:function(e,t){!function(){e.exports=this.wp.apiFetch}()},210:function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,c=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,O=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case b:case m:case u:return e;default:return t}}case c:return t}}}function j(e){return z(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=m,t.Portal=c,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return j(e)||z(e)===f},t.isConcurrentMode=j,t.isContextConsumer=function(e){return z(e)===l},t.isContextProvider=function(e){return z(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return z(e)===p},t.isFragment=function(e){return z(e)===a},t.isLazy=function(e){return z(e)===b},t.isMemo=function(e){return z(e)===m},t.isPortal=function(e){return z(e)===c},t.isProfiler=function(e){return z(e)===s},t.isStrictMode=function(e){return z(e)===i},t.isSuspense=function(e){return z(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===g||e.$$typeof===O||e.$$typeof===w||e.$$typeof===y)},t.typeOf=z},211:function(e,t,r){var n=r(152);e.exports=function(e){if(Array.isArray(e))return n(e)}},212:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},213:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},22:function(e,t){!function(){e.exports=this.wc.navigation}()},23:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return p})),r.d(t,"g",(function(){return h})),r.d(t,"h",(function(){return v})),r.d(t,"f",(function(){return m}));var n=r(35),o=r.n(n),c=r(3),a=["wcAdminSettings","preloadSettings"],i="object"===("undefined"==typeof wcSettings?"undefined":o()(wcSettings))?wcSettings:{},s=Object.keys(i).reduce((function(e,t){return a.includes(t)||(e[t]=i[t]),e}),{}),u=s.adminUrl,l=(s.countries,s.currency),f=s.locale,d=s.orderStatuses,p=(s.siteTitle,s.wcAssetUrl);function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(c.__)("Mutable settings should be accessed via data store."));var n=s.hasOwnProperty(e)?s[e]:t;return r(n,t)}function v(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(c.__)("Mutable settings should be mutated via data store."));s[e]=r(t)}function m(e){return(u||"")+e}},24:function(e,t){!function(){e.exports=this.wc.date}()},257:function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(80)),c=n(r(273)),a=r(13),i=n(a),s=n(r(126)),u=n(r(62)),l={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(l.str(e)||l.num(e))return e===t;if(l.obj(e)&&l.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var r;for(r in e)if(!(r in t))return!1;for(r in t)if(e[r]!==t[r])return!1;return!l.und(r)||e===t}};function f(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function d(e,t){return l.und(e)||l.nul(e)?t:e}function p(e){return l.und(e)?[]:l.arr(e)?e:[e]}function h(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return l.fun(e)?e.apply(void 0,r):e}function v(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,c(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(l.und(t))return o({to:t},e);var r=Object.keys(e).reduce((function(r,n){var c;return l.und(t[n])?o({},r,((c={})[n]=e[n],c)):r}),{});return o({to:t},r)}var m,b,y=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),g=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}return s(t,e),t}(y),O=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}s(t,e);var r=t.prototype;return r.getValue=function(e){void 0===e&&(e=!1);var t={};for(var r in this.payload){var n=this.payload[r];(!e||n instanceof y)&&(t[r]=n instanceof y?n[e?"getAnimatedValue":"getValue"]():n)}return t},r.getAnimatedValue=function(){return this.getValue(!0)},t}(y);function w(e,t){m={fn:e,transform:t}}function z(e){b=e}var j,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},M=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function H(e){j=e}var E,V=function(){return Date.now()};function C(e){E=e}var x,S,P=function(e){return e.current};function _(e){x=e}var R=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:w,get colorNames(){return b},injectColorNames:z,get requestFrame(){return k},get cancelFrame(){return M},injectFrame:function(e,t){k=e,M=t},get interpolation(){return j},injectStringInterpolator:H,get now(){return V},injectNow:function(e){V=e},get defaultElement(){return E},injectDefaultElement:C,get animatedApi(){return P},injectAnimatedApi:function(e){P=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:_,get manualFrameloop(){return S},injectManualFrameloop:function(e){S=e}}),L=function(e){function t(t,r){var n;return(n=e.call(this)||this).update=void 0,n.payload=t.style?o({},t,{style:x(t.style)}):t,n.update=r,n.attach(),n}return s(t,e),t}(O),A=!1,T=new Set,N=function e(){if(!A)return!1;var t=V(),r=T,n=Array.isArray(r),o=0;for(r=n?r:r[Symbol.iterator]();;){var c;if(n){if(o>=r.length)break;c=r[o++]}else{if((o=r.next()).done)break;c=o.value}for(var a=c,i=!1,s=0;s<a.configs.length;s++){for(var u=a.configs[s],l=void 0,f=void 0,d=0;d<u.animatedValues.length;d++){var p=u.animatedValues[d];if(!p.done){var h=u.fromValues[d],v=u.toValues[d],m=p.lastPosition,b=v instanceof y,g=Array.isArray(u.initialVelocity)?u.initialVelocity[d]:u.initialVelocity;if(b&&(v=v.getValue()),u.immediate)p.setValue(v),p.done=!0;else if("string"!=typeof h&&"string"!=typeof v){if(void 0!==u.duration)m=h+u.easing((t-p.startTime)/u.duration)*(v-h),l=t>=p.startTime+u.duration;else if(u.decay)m=h+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(l=Math.abs(p.lastPosition-m)<.1)&&(v=m);else{f=void 0!==p.lastTime?p.lastTime:t,g=void 0!==p.lastVelocity?p.lastVelocity:u.initialVelocity,t>f+64&&(f=t);for(var O=Math.floor(t-f),w=0;w<O;++w){m+=1*(g+=1*((-u.tension*(m-v)+-u.friction*g)/u.mass)/1e3)/1e3}var z=!(!u.clamp||0===u.tension)&&(h<v?m>v:m<v),j=Math.abs(g)<=u.precision,M=0===u.tension||Math.abs(v-m)<=u.precision;l=z||j&&M,p.lastVelocity=g,p.lastTime=t}b&&!u.toValues[d].done&&(l=!1),l?(p.value!==v&&(m=v),p.done=!0):i=!0,p.setValue(m),p.lastPosition=m}else p.setValue(v),p.done=!0}}a.props.onFrame&&(a.values[u.name]=u.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),i||(T.delete(a),a.stop(!0))}return T.size?S?S():k(e):A=!1,A};function D(e,t,r){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:r});if(j&&"string"==typeof e.output[0])return j(e);var n=e,o=n.output,c=n.range||[0,1],a=n.extrapolateLeft||n.extrapolate||"extend",i=n.extrapolateRight||n.extrapolate||"extend",s=n.easing||function(e){return e};return function(e){var t=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,c);return function(e,t,r,n,o,c,a,i,s){var u=s?s(e):e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>r){if("identity"===i)return u;"clamp"===i&&(u=r)}if(n===o)return n;if(t===r)return e<=t?n:o;t===-1/0?u=-u:r===1/0?u-=t:u=(u-t)/(r-t);u=c(u),n===-1/0?u=-u:o===1/0?u+=n:u=u*(o-n)+n;return u}(e,c[t],c[t+1],o[t],o[t+1],s,a,i,n.map)}}var F=function(e){function t(r,n,o,c){var a;return(a=e.call(this)||this).calc=void 0,a.payload=r instanceof g&&!(r instanceof t)?r.getPayload():Array.isArray(r)?r:[r],a.calc=D(n,o,c),a}s(t,e);var r=t.prototype;return r.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},r.updateConfig=function(e,t,r){this.calc=D(e,t,r)},r.interpolate=function(e,r,n){return new t(this,e,r,n)},t}(g);var I=function(e){function t(t){var r;return(r=e.call(this)||this).animatedStyles=new Set,r.value=void 0,r.startPosition=void 0,r.lastPosition=void 0,r.lastVelocity=void 0,r.startTime=void 0,r.lastTime=void 0,r.done=!1,r.setValue=function(e,t){void 0===t&&(t=!0),r.value=e,t&&r.flush()},r.value=t,r.startPosition=t,r.lastPosition=t,r}s(t,e);var r=t.prototype;return r.flush=function(){0===this.animatedStyles.size&&function e(t,r){"update"in t?r.add(t):t.getChildren().forEach((function(t){return e(t,r)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},r.clearStyles=function(){this.animatedStyles.clear()},r.getValue=function(){return this.value},r.interpolate=function(e,t,r){return new F(this,e,t,r)},t}(y),q=function(e){function t(t){var r;return(r=e.call(this)||this).payload=t.map((function(e){return new I(e)})),r}s(t,e);var r=t.prototype;return r.setValue=function(e,t){var r=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,n){return r.payload[n].setValue(e,t)})):this.payload.forEach((function(r){return r.setValue(e,t)}))},r.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},r.interpolate=function(e,t){return new F(this,e,t)},t}(g),U=0,B=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=U++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=v(e),r=t.delay,n=void 0===r?0:r,a=t.to,i=c(t,["delay","to"]);if(l.arr(a)||l.fun(a))this.queue.push(o({},i,{delay:n,to:a}));else if(a){var s={};Object.entries(a).forEach((function(e){var t,r=e[0],c=e[1],a=o({to:(t={},t[r]=c,t),delay:h(n,r)},i),u=s[a.delay]&&s[a.delay].to;s[a.delay]=o({},s[a.delay],a,{to:o({},u,a.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(i),this},t.start=function(e){var t,r=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,n=void 0===t?{}:t,c=e.to,a=void 0===c?{}:c;l.obj(n)&&(r.merged=o({},n,r.merged)),l.obj(a)&&(r.merged=o({},r.merged,a))}));var n=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var i=t.delay,s=c(t,["delay"]),u=function(t){o===a.length-1&&n===r.guid&&t&&(r.idle=!0,r.props.onRest&&r.props.onRest(r.merged)),e&&e()},f=l.arr(s.to)||l.fun(s.to);i?setTimeout((function(){n===r.guid&&(f?r.runAsync(s,u):r.diff(s).start(u))}),i):f?r.runAsync(s,u):r.diff(s).start(u)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,T.has(t)||T.add(t),A||(A=!0,k(S||N));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,T.has(t)&&T.delete(t)),this},t.runAsync=function(e,t){var r=this,n=(e.delay,c(e,["delay"])),a=this.local,i=Promise.resolve(void 0);if(l.arr(n.to))for(var s=function(e){var t=e,c=o({},n,v(n.to[t]));l.arr(c.config)&&(c.config=c.config[t]),i=i.then((function(){if(a===r.guid)return new Promise((function(e){return r.diff(c).start(e)}))}))},u=0;u<n.to.length;u++)s(u);else if(l.fun(n.to)){var f,d=0;i=i.then((function(){return n.to((function(e){var t=o({},n,v(e));if(l.arr(t.config)&&(t.config=t.config[d]),d++,a===r.guid)return f=new Promise((function(e){return r.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),r.stop(e)})).then((function(){return f}))}))}i.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var r=this.props,n=r.from,c=void 0===n?{}:n,a=r.to,i=void 0===a?{}:a,s=r.config,u=void 0===s?{}:s,f=r.reverse,v=r.attach,m=r.reset,y=r.immediate;if(f){var g=[i,c];c=g[0],i=g[1]}this.merged=o({},c,this.merged,i),this.hasChanged=!1;var O=v&&v(this);if(this.animations=Object.entries(this.merged).reduce((function(e,r){var n=r[0],a=r[1],i=e[n]||{},s=l.num(a),f=l.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!b[a],v=l.arr(a),g=!s&&!v&&!f,w=l.und(c[n])?a:c[n],z=s||v||f?a:1,k=h(u,n);O&&(z=O.animations[n].parent);var M,H=i.parent,E=i.interpolation,C=p(O?z.getPayload():z),x=a;g&&(x=j({range:[0,1],output:[a,a]})(1));var S,P=E&&E.getValue(),_=!l.und(H)&&i.animatedValues.some((function(e){return!e.done})),R=!l.equ(x,P),L=!l.equ(x,i.previous),A=!l.equ(k,i.config);if(m||L&&R||A){var T;if(s||f)H=E=i.parent||new I(w);else if(v)H=E=i.parent||new q(w);else if(g){var N=i.interpolation&&i.interpolation.calc(i.parent.value);N=void 0===N||m?w:N,i.parent?(H=i.parent).setValue(0,!1):H=new I(0);var D={output:[N,a]};i.interpolation?(E=i.interpolation,i.interpolation.updateConfig(D)):E=H.interpolate(D)}return C=p(O?z.getPayload():z),M=p(H.getPayload()),m&&!g&&H.setValue(w,!1),t.hasChanged=!0,M.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=_?e.lastVelocity:void 0,e.lastTime=_?e.lastTime:void 0,e.startTime=V(),e.done=!1,e.animatedStyles.clear()})),h(y,n)&&H.setValue(g?z:a,!1),o({},e,((T={})[n]=o({},i,{name:n,parent:H,interpolation:E,animatedValues:M,toValues:C,previous:x,config:k,fromValues:p(H.getValue()),immediate:h(y,n),initialVelocity:d(k.velocity,0),clamp:d(k.clamp,!1),precision:d(k.precision,.01),tension:d(k.tension,170),friction:d(k.friction,26),mass:d(k.mass,1),duration:k.duration,easing:d(k.easing,(function(e){return e})),decay:k.decay}),T))}return R?e:(g&&(H.setValue(1,!1),E.updateConfig({output:[x,x]})),H.done=!0,t.hasChanged=!0,o({},e,((S={})[n]=o({},e[n],{previous:x}),S)))}),this.animations),this.hasChanged)for(var w in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[w]=this.animations[w].interpolation,this.values[w]=this.animations[w].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),W=function(e,t){var r=a.useRef(!1),n=a.useRef(),o=l.fun(t),c=a.useMemo((function(){var r;return n.current&&(n.current.map((function(e){return e.destroy()})),n.current=void 0),[new Array(e).fill().map((function(e,n){var c=new B,a=o?h(t,n,c):t[n];return 0===n&&(r=a.ref),c.update(a),r||c.start(),c})),r]}),[e]),i=c[0],s=c[1];n.current=i;a.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(n.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return n.current.forEach((function(t){return t.stop(e)}))},get controllers(){return n.current}}}));var u=a.useMemo((function(){return function(e){return n.current.map((function(t,r){t.update(o?h(e,r,t):e[r]),s||t.start()}))}}),[e]);a.useEffect((function(){r.current?o||u(t):s||n.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return r.current=!0,function(){return n.current.forEach((function(e){return e.destroy()}))}}),[]);var f=n.current.map((function(e){return e.getValues()}));return o?[f,u,function(e){return n.current.forEach((function(t){return t.pause(e)}))}]:f},$=0,G=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},Q=function(e){var t=e.items,r=e.keys,n=void 0===r?function(e){return e}:r,a=c(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:G(t,n)},a)};function K(e,t){var r=function(){if(o){if(c>=n.length)return"break";a=n[c++]}else{if((c=n.next()).done)return"break";a=c.value}var r=a.key,i=function(e){return e.key!==r};(l.und(t)||t===r)&&(e.current.instances.delete(r),e.current.transitions=e.current.transitions.filter(i),e.current.deleted=e.current.deleted.filter(i))},n=e.current.deleted,o=Array.isArray(n),c=0;for(n=o?n:n[Symbol.iterator]();;){var a;if("break"===r())break}e.current.forceUpdate()}var Z=function(e){function t(t){var r;return void 0===t&&(t={}),r=e.call(this)||this,!t.transform||t.transform instanceof y||(t=m.transform(t)),r.payload=t,r}return s(t,e),t}(O),J={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Y="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(Y,Y,Y)),te=new RegExp("rgba"+X(Y,Y,Y,Y)),re=new RegExp("hsl"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),ne=new RegExp("hsla"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Y)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{6})$/,ie=/^#([0-9a-fA-F]{8})$/;function se(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ue(e,t,r){var n=r<.5?r*(1+t):r+t-r*t,o=2*r-n,c=se(o,n,e+1/3),a=se(o,n,e),i=se(o,n,e-1/3);return Math.round(255*c)<<24|Math.round(255*a)<<16|Math.round(255*i)<<8}function le(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function de(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function he(e){var t,r,n="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(r=ae.exec(t))?parseInt(r[1]+"ff",16)>>>0:J.hasOwnProperty(t)?J[t]:(r=ee.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|255)>>>0:(r=te.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|de(r[4]))>>>0:(r=oe.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+"ff",16)>>>0:(r=ie.exec(t))?parseInt(r[1],16)>>>0:(r=ce.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=re.exec(t))?(255|ue(fe(r[1]),pe(r[2]),pe(r[3])))>>>0:(r=ne.exec(t))?(ue(fe(r[1]),pe(r[2]),pe(r[3]))|de(r[4]))>>>0:null;return null===n?e:"rgba("+((4278190080&(n=n||0))>>>24)+", "+((16711680&n)>>>16)+", "+((65280&n)>>>8)+", "+(255&n)/255+")"}var ve=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,be=new RegExp("("+Object.keys(J).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","Ms","Moz","O"];function Oe(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return ge.forEach((function(r){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(r,t)]=e[t]})),e}),ye);var we={};_((function(e){return new Z(e)})),C("div"),H((function(e){var t=e.output.map((function(e){return e.replace(me,he)})).map((function(e){return e.replace(be,he)})),r=t[0].match(ve).map((function(){return[]}));t.forEach((function(e){e.match(ve).forEach((function(e,t){return r[t].push(+e)}))}));var n=t[0].match(ve).map((function(t,n){return D(o({},e,{output:r[n]}))}));return function(e){var r=0;return t[0].replace(ve,(function(){return n[r++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,r,n,o){return"rgba("+Math.round(t)+", "+Math.round(r)+", "+Math.round(n)+", "+o+")"}))}})),z(J),w((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var r=t.style,n=t.children,o=t.scrollTop,a=t.scrollLeft,i=c(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var u in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==n&&(e.textContent=n),r)if(r.hasOwnProperty(u)){var l=0===u.indexOf("--"),f=Oe(u,r[u],l);"float"===u&&(u="cssFloat"),l?e.style.setProperty(u,f):e.style[u]=f}for(var d in i){var p=s?d:we[d]||(we[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,i[d])}}),(function(e){return e}));var ze,je,ke=(ze=function(e){return a.forwardRef((function(t,r){var n=f(),s=a.useRef(!0),u=a.useRef(null),d=a.useRef(null),p=a.useCallback((function(e){var t=u.current;u.current=new L(e,(function(){var e=!1;d.current&&(e=m.fn(d.current,u.current.getAnimatedValue())),d.current&&!1!==e||n()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){s.current=!1,u.current&&u.current.detach()}}),[]),a.useImperativeHandle(r,(function(){return P(d,s,n)})),p(t);var h,v=u.current.getValue(),b=(v.scrollTop,v.scrollLeft,c(v,["scrollTop","scrollLeft"])),y=(h=e,!l.fun(h)||h.prototype instanceof i.Component?function(e){return d.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,r)}:void 0);return i.createElement(e,o({},b,{ref:y}))}))},void 0===(je=!1)&&(je=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var r=je?t[0].toLowerCase()+t.substring(1):t;return e[r]=ze(r),e}),ze)}),Me=ke(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=ke,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=N,t.animated=Me,t.a=Me,t.interpolate=function(e,t,r){return e&&new F(e,t,r)},t.Globals=R,t.useSpring=function(e){var t=l.fun(e),r=W(1,t?e:[e]),n=r[0],o=r[1],c=r[2];return t?[n[0],o,c]:n},t.useTrail=function(e,t){var r=a.useRef(!1),n=l.fun(t),c=h(t),i=a.useRef(),s=W(e,(function(e,t){return 0===e&&(i.current=[]),i.current.push(t),o({},c,{config:h(c.config,e),attach:e>0&&function(){return i.current[e-1]}})})),u=s[0],f=s[1],d=s[2],p=a.useMemo((function(){return function(e){return f((function(t,r){e.reverse;var n=e.reverse?t+1:t-1,a=i.current[n];return o({},e,{config:h(e.config||c.config,t),attach:a&&function(){return a}})}))}}),[e,c.reverse]);return a.useEffect((function(){r.current&&!n&&p(t)})),a.useEffect((function(){r.current=!0}),[]),n?[u,p,d]:u},t.useTransition=function(e,t,r){var n=o({items:e,keys:t||function(e){return e}},r),i=Q(n),s=i.lazy,u=void 0!==s&&s,l=(i.unique,i.reset),d=void 0!==l&&l,p=(i.enter,i.leave,i.update,i.onDestroyed),v=(i.keys,i.items,i.onFrame),m=i.onRest,b=i.onStart,y=i.ref,g=c(i,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=f(),w=a.useRef(!1),z=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!n.ref,instances:!w.current&&new Map,forceUpdate:O});return a.useImperativeHandle(n.ref,(function(){return{start:function(){return Promise.all(Array.from(z.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(z.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(z.current.instances).map((function(e){return e[1]}))}}})),z.current=function(e,t){var r=e.first,n=e.prevProps,a=c(e,["first","prevProps"]),i=Q(t),s=i.items,u=i.keys,l=i.initial,f=i.from,d=i.enter,p=i.leave,v=i.update,m=i.trail,b=void 0===m?0:m,y=i.unique,g=i.config,O=i.order,w=void 0===O?["enter","leave","update"]:O,z=Q(n),j=z.keys,k=z.items,M=o({},a.current),H=[].concat(a.deleted),E=Object.keys(M),V=new Set(E),C=new Set(u),x=u.filter((function(e){return!V.has(e)})),S=a.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),P=u.filter((function(e){return V.has(e)})),_=-b;for(;w.length;){switch(w.shift()){case"enter":x.forEach((function(e,t){y&&H.find((function(t){return t.originalKey===e}))&&(H=H.filter((function(t){return t.originalKey!==e})));var n=u.indexOf(e),o=s[n],c=r&&void 0!==l?"initial":"enter";M[e]={slot:c,originalKey:e,key:y?String(e):$++,item:o,trail:_+=b,config:h(g,o,c),from:h(r&&void 0!==l?l||{}:f,o),to:h(d,o)}}));break;case"leave":S.forEach((function(e){var t=j.indexOf(e),r=k[t];H.unshift(o({},M[e],{slot:"leave",destroyed:!0,left:j[Math.max(0,t-1)],right:j[Math.min(j.length,t+1)],trail:_+=b,config:h(g,r,"leave"),to:h(p,r)})),delete M[e]}));break;case"update":P.forEach((function(e){var t=u.indexOf(e),r=s[t];M[e]=o({},M[e],{item:r,slot:"update",trail:_+=b,config:h(g,r,"update"),to:h(v,r)})}))}}var R=u.map((function(e){return M[e]}));return H.forEach((function(e){var t,r=e.left,n=(e.right,c(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===r})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[n],R.slice(t))})),o({},a,{changed:x.length||S.length||P.length,first:r&&0===x.length,transitions:R,current:M,deleted:H,prevProps:t})}(z.current,n),z.current.changed&&z.current.transitions.forEach((function(e){var t=e.slot,r=e.from,n=e.to,c=e.config,a=e.trail,i=e.key,s=e.item;z.current.instances.has(i)||z.current.instances.set(i,new B);var l=z.current.instances.get(i),f=o({},g,{to:n,from:r,config:c,ref:y,onRest:function(r){z.current.mounted&&(e.destroyed&&(y||u||K(z,i),p&&p(s)),!Array.from(z.current.instances).some((function(e){return!e[1].idle}))&&(y||u)&&z.current.deleted.length>0&&K(z),m&&m(s,t,r))},onStart:b&&function(){return b(s,t)},onFrame:v&&function(e){return v(s,t,e)},delay:a,reset:d&&"enter"===t});l.update(f),z.current.paused||l.start()})),a.useEffect((function(){return z.current.mounted=w.current=!0,function(){z.current.mounted=w.current=!1,Array.from(z.current.instances).map((function(e){return e[1].destroy()})),z.current.instances.clear()}}),[]),z.current.transitions.map((function(e){var t=e.item,r=e.slot,n=e.key;return{item:t,key:n,state:r,props:z.current.instances.get(n).getValues()}}))},t.useChain=function(e,t,r){void 0===r&&(r=1e3);var n=a.useRef();a.useEffect((function(){l.equ(e,n.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,n){var c=e.current;if(c){var a=c.controllers;if(a.length){var i=r*t[n];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+i})})),e.start()}))}}})):e.reduce((function(e,t,r){var n=t.current;return e.then((function(){return n.start()}))}),Promise.resolve()),n.current=e}))},t.useSprings=W},258:function(e,t,r){var n=r(444);e.exports=p,e.exports.parse=c,e.exports.compile=function(e,t){return i(c(e,t),t)},e.exports.tokensToFunction=i,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function c(e,t){for(var r,n=[],c=0,a=0,i="",l=t&&t.delimiter||"/";null!=(r=o.exec(e));){var f=r[0],d=r[1],p=r.index;if(i+=e.slice(a,p),a=p+f.length,d)i+=d[1];else{var h=e[a],v=r[2],m=r[3],b=r[4],y=r[5],g=r[6],O=r[7];i&&(n.push(i),i="");var w=null!=v&&null!=h&&h!==v,z="+"===g||"*"===g,j="?"===g||"*"===g,k=r[2]||l,M=b||y;n.push({name:m||c++,prefix:v||"",delimiter:k,optional:j,repeat:z,partial:w,asterisk:!!O,pattern:M?u(M):O?".*":"[^"+s(k)+"]+?"})}}return a<e.length&&(i+=e.substr(a)),i&&n.push(i),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function i(e,t){for(var r=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(r[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var c="",i=t||{},s=(o||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!=typeof l){var f,d=i[l.name];if(null==d){if(l.optional){l.partial&&(c+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(n(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=s(d[p]),!r[u].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");c+=(0===p?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(d),!r[u].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');c+=l.prefix+f}}else c+=l}return c}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,c=!1!==r.end,a="",i=0;i<e.length;i++){var u=e[i];if("string"==typeof u)a+=s(u);else{var d=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+d+p+")*"),a+=p=u.optional?u.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=s(r.delimiter||"/"),v=a.slice(-h.length)===h;return o||(a=(v?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=c?"$":o&&v?"":"(?="+h+"|$)",l(new RegExp("^"+a,f(r)),t)}function p(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(p(e[o],t,r).source);return l(new RegExp("(?:"+n.join("|")+")",f(r)),t)}(e,t,r):function(e,t,r){return d(c(e,r),t,r)}(e,t,r)}},259:function(e,t,r){"use strict";(function(e,n){var o,c=r(413);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(c.a)(o);t.a=a}).call(this,r(56),r(446)(e))},26:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},261:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),a=r.n(c),i=r(39),s=r.n(i),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(3),v=r(1),m=r.n(v),b=r(53),y=r(23);function g(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 r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var O=function(e){s()(r,e);var t=g(r);function r(){return o()(this,r),t.apply(this,arguments)}return a()(r,[{key:"render",value:function(){var e,t,r,n,o=this.props,c=o.className,a=o.isError,i=o.isEmpty;return a?(e=Object(h.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(h.__)("Reload","woocommerce-admin"),n=function(){window.location.reload()}):i&&(e=Object(h.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(h.__)("View Orders","woocommerce-admin"),r=Object(y.f)("edit.php?post_type=shop_order")),Object(p.createElement)(b.EmptyContent,{className:c,title:e,actionLabel:t,actionURL:r,actionCallback:n})}}]),r}(p.Component);O.propTypes={className:m.a.string,isError:m.a.bool,isEmpty:m.a.bool},O.defaultProps={className:""},t.a=O},268:function(e,t,r){"use strict";function n(e){return e?e.substr(1).split("&").reduce((function(e,t){var r=t.split("="),n=r[0],o=decodeURIComponent(r[1]);return o=isNaN(Number(o))?o:Number(o),e[n]=o,e}),{}):{}}function o(){var e="",t=n(window.location.search),r=t.page,o=t.path,c=t.post_type;if(r){var a="wc-admin"===r?"home_screen":r;e=o?o.replace(/\//g,"_").substring(1):a}else c&&(e=c);return e}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o}))},27:function(e,t){!function(){e.exports=this.wp.url}()},270:function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return g}));var n=r(0),o=r(3),c=r(48),a=r(36),i=r.n(a),s=r(23),u=r(66),l=r(108),f=r(53),d=r(43),p=function(e){var t=e.value,r=e.onChange,o=Object(d.useSettings)("wc_admin",["wcAdminSettings"]).wcAdminSettings.woocommerce_default_date_range,c=Object(u.parse)(t.replace(/&/g,"&")),a=Object(l.h)(c,o),i=a.period,s=a.compare,p=a.before,h=a.after,v=Object(l.f)(c,o),m={period:i,compare:s,before:p,after:h,primaryDate:v.primary,secondaryDate:v.secondary};return Object(n.createElement)(f.DateRangeFilterPicker,{query:c,onRangeSelect:function(e){r({target:{name:"woocommerce_default_date_range",value:Object(u.stringify)(e)}})},dateQuery:m,isoDateFormat:l.k})},h=["processing","on-hold"],v=["completed","processing","refunded","cancelled","failed","pending","on-hold"],m=Object.keys(s.d).filter((function(e){return"refunded"!==e})).map((function(e){return{value:e,label:s.d[e],description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),s.d[e])}})),b=Object(s.g)("unregisteredOrderStatuses",{}),y=[{key:"defaultStatuses",options:m.filter((function(e){return v.includes(e.value)}))},{key:"customStatuses",label:Object(o.__)("Custom Statuses","woocommerce-admin"),options:m.filter((function(e){return!v.includes(e.value)}))},{key:"unregisteredStatuses",label:Object(o.__)("Unregistered Statuses","woocommerce-admin"),options:Object.keys(b).map((function(e){return{value:e,label:e,description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),e)}}))}],g=Object(c.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(o.__)("Excluded Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:i()({mixedString:Object(o.__)("Orders with these statuses are excluded from the totals in your reports. The {{strong}}Refunded{{/strong}} status can not be excluded.","woocommerce-admin"),components:{strong:Object(n.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(o.__)("Actionable Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:Object(o.__)("Orders with these statuses require action on behalf of the store admin.These orders will show up in the Orders tab under the activity panel.","woocommerce-admin"),defaultValue:h},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(o.__)("Default Date Range:","woocommerce-admin"),inputType:"component",component:p,helpText:Object(o.__)("Select a default date range. When no range is selected, reports will be viewed by the default date range.","woocommerce-admin"),defaultValue:"period=month&compare=previous_year"}})},273:function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},274:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return u}));var n=r(17),o=r.n(n),c=r(108);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e){var t=e.per_page,r=e.persisted_query,n=e.query,o=(0,e.select)("wc-api"),a=o.getItems,s=o.getItemsError,u=o.isGetItemsRequesting,l={isRequesting:!1,isError:!1,rows:[]},f=Object(c.f)(n,e.defaultDateRange),d={after:Object(c.a)(f.primary.after,"start"),before:Object(c.a)(f.primary.before,"end"),per_page:t,persisted_query:JSON.stringify(r)},p=a("leaderboards",d);if(u("leaderboards",d))return i(i({},l),{},{isRequesting:!0});if(s("leaderboards",d))return i(i({},l),{},{isError:!0});var h=p.get(e.id);return i(i({},l),{},{rows:h.rows})}function u(e,t,r){var n=e("wc-api"),o=n.getItems,c=n.getItemsError,a=n.isGetItemsRequesting,i={},s=!1,u=!1;return r.forEach((function(e){var r={search:e,per_page:10};o(t,r).forEach((function(e,t){i[t]=e})),a(t,r)&&(s=!0),c(t,r)&&(u=!0)})),{items:i,isRequesting:s,isError:u}}},29:function(e,t){!function(){e.exports=this.wp.dataControls}()},3:function(e,t){!function(){e.exports=this.wp.i18n}()},30:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},31:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return l})),r.d(t,"f",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"a",(function(){return p}));var n=r(6),o=r(15),c=r(2),a=r(3);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(c.includes)(["iPad","iPhone"],t)}var s=9,u=27,l=37,f=38,d=39,p=40,h="alt",v="ctrl",m="meta",b="shift",y={primary:function(e){return e()?[m]:[v]},primaryShift:function(e){return e()?[b,m]:[v,b]},primaryAlt:function(e){return e()?[h,m]:[v,h]},secondary:function(e){return e()?[b,h,m]:[v,b,h]},access:function(e){return e()?[v,h]:[b,h]},ctrl:function(){return[v]},alt:function(){return[h]},ctrlShift:function(){return[v,b]},shift:function(){return[b]},shiftAlt:function(){return[b,h]}},g=(Object(c.mapValues)(y,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(o.a)(e(r)),[t.toLowerCase()]).join("+")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,s=a(),u=(r={},Object(n.a)(r,h,s?"⌥":"Alt"),Object(n.a)(r,v,s?"^":"Ctrl"),Object(n.a)(r,m,"⌘"),Object(n.a)(r,b,s?"⇧":"Shift"),r),l=e(a).reduce((function(e,t){var r=Object(c.get)(u,t,t);return[].concat(Object(o.a)(e),s?[r]:[r,"+"])}),[]),f=Object(c.capitalize)(t);return[].concat(Object(o.a)(l),[f])}})));Object(c.mapValues)(g,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e(t,r).join("")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,u=s(),l=(r={},Object(n.a)(r,b,"Shift"),Object(n.a)(r,m,u?"Command":"Control"),Object(n.a)(r,v,"Control"),Object(n.a)(r,h,u?"Option":"Alt"),Object(n.a)(r,",",Object(a.__)("Comma")),Object(n.a)(r,".",Object(a.__)("Period")),Object(n.a)(r,"`",Object(a.__)("Backtick")),r);return[].concat(Object(o.a)(e(s)),[t]).map((function(e){return Object(c.capitalize)(Object(c.get)(l,e,e))})).join(u?" ":" + ")}}));function O(e){return[h,v,m,b].filter((function(t){return e["".concat(t,"Key")]}))}Object(c.mapValues)(y,(function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,o=e(n),a=O(t);return!Object(c.xor)(o,a).length&&(r?t.key===r:Object(c.includes)(o,t.key.toLowerCase()))}}))},32:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l}));var n=r(6),o=r(14),c=r(8),a=r.n(c),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=function(e){return Object(i.createElement)("path",e)},l=function(e){var t=e.className,r=e.isPressed,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(o.a)(e,["className","isPressed"]),{className:a()(t,{"is-pressed":r})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(i.createElement)("svg",c)}},33:function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"f",(function(){return c})),r.d(t,"e",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return u}));var n=r(170),o="/wc-analytics",c="/wc-admin",a="/wc/v1",i={timeout:1*n.b,freshness:30*n.b},s=100,u={pageSize:25,period:"month",compare:"previous_year",noteTypes:"info,warning,marketing"}},35:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r},36:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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},o=i(r(13)),c=i(r(148)),a=i(r(151));function i(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function u(e,t){var r,a,i,l,f,d,p,h,v=[],m={};for(d=0;d<e.length;d++)if("string"!==(f=e[d]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==n(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){r=t[f.value],i=d;break}v.push(t[f.value])}else v.push(f.value);return r&&(l=function(e,t){var r,n,o=t[e],c=0;for(n=e+1;n<t.length;n++)if((r=t[n]).value===o.value){if("componentOpen"===r.type){c++;continue}if("componentClose"===r.type){if(0===c)return n;c--}}throw new Error("Missing closing component token `"+o.value+"`")}(i,e),p=u(e.slice(i+1,l),t),a=o.default.cloneElement(r,{},p),v.push(a),l<e.length-1&&(h=u(e.slice(l+1),t),v=v.concat(h))),1===v.length?v[0]:(v.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,c.default)(m))}t.default=function(e){var t=e.mixedString,r=e.components,o=e.throwErrors;if(s=t,!r)return t;if("object"!==(void 0===r?"undefined":n(r))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,a.default)(t);try{return u(c,r)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},37:function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},38:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},39:function(e,t,r){var n=r(147);e.exports=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&&n(e,t)}},4:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},40:function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},406:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var c=r(441),a=r(13),i=r(78);e.exports=function(e){var t=e.displayName||e.name,r=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),o(r,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,r=this.props,o=r.wrappedRef,c=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["wrappedRef"]);return a.createElement(e,n({},c,{ref:function(e){t.__wrappedInstance=e,t.__domNode=i.findDOMNode(e),o&&o(e)}}))}}]),r}(a.Component);return r.displayName="clickOutside("+t+")",c(r,e)}},407:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),i=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-pages",c,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})))};var o,c=r(13),a=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},408:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),i=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",c,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})))};var o,c=r(13),a=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},409:function(e,t,r){"use strict";(function(e){var n=r(0),o=r(2),c=r(8),a=r.n(c),i=r(127),s=r(3),u=(r(410),r(67));t.a=Object(n.forwardRef)((function(t,r){var c=t.className,l=t.children,f=t.spokenMessage,d=void 0===f?l:f,p=t.politeness,h=void 0===p?"polite":p,v=t.actions,m=void 0===v?[]:v,b=t.onRemove,y=void 0===b?o.noop:b;!function(e,t){var r="string"==typeof e?e:Object(n.renderToString)(e);Object(n.useEffect)((function(){r&&Object(i.a)(r,t)}),[r,t])}(d,h),Object(n.useEffect)((function(){var e=setTimeout((function(){y()}),1e4);return function(){return clearTimeout(e)}}),[]);var g=a()(c,"components-snackbar");return m&&m.length>1&&(void 0!==e&&e.env,m=[m[0]]),Object(n.createElement)("div",{ref:r,className:g,onClick:y,tabIndex:"0",role:"button",onKeyPress:y,"aria-label":Object(s.__)("Dismiss this notice")},Object(n.createElement)("div",{className:"components-snackbar__content"},l,m.map((function(e,t){var r=e.label,o=e.onClick,c=e.url;return Object(n.createElement)(u.a,{key:t,href:c,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:"components-snackbar__action"},r)}))))}))}).call(this,r(47))},41:function(e,t,r){var n=r(211),o=r(212),c=r(172),a=r(213);e.exports=function(e){return n(e)||o(e)||c(e)||a()}},410:function(e,t,r){"use strict";(function(e){function n(t){void 0!==e&&e.env}r.d(t,"a",(function(){return n}))}).call(this,r(47))},411:function(e,t,r){"use strict";(function(t){var r="__global_unique_id__";e.exports=function(){return t[r]=(t[r]||0)+1}}).call(this,r(56))},412:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),a=r.n(c),i=r(39),s=r.n(i),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(18),v=r(43);r(445);function m(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 r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var b=function(e){s()(r,e);var t=m(r);function r(){return o()(this,r),t.apply(this,arguments)}return a()(r,[{key:"renderMenuItem",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.slug,o=e.title,c=e.url;return Object(p.createElement)("li",{key:n,className:"woocommerce-navigation__menu-item woocommerce-navigation__menu-item-depth-".concat(r)},Object(p.createElement)("a",{href:c},o),e.children&&e.children.length&&Object(p.createElement)("ul",{className:"woocommerce-navigation__submenu"},e.children.map((function(e){return t.renderMenuItem(e,r+1)}))))}},{key:"render",value:function(){var e=this,t=this.props.items;return Object(p.createElement)("div",{className:"woocommerce-navigation"},Object(p.createElement)("ul",{className:"woocommerce-navigation__menu"},t.map((function(t){return e.renderMenuItem(t)}))))}}]),r}(p.Component);t.a=Object(h.withSelect)((function(e){return{items:e(v.SETTINGS_STORE_NAME).getSetting("wc_admin","wcNavigation")}}))(b)},413:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},418:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),a=r(2),i=r(31),s=r(9),u=r(7),l=r(5),f=r(11),d=r(4),p=r(10),h=r(45);function v(){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}}var m=function(e){Object(p.a)(i,e);var t,r=(t=i,function(){var e,r=Object(d.a)(t);if(v()){var n=Object(d.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(f.a)(this,e)});function i(){var e;return Object(s.a)(this,i),(e=r.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.bindContainer=e.bindContainer.bind(Object(l.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(l.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(l.a)(e)),e}return Object(u.a)(i,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(a.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?h.a.tabbable:h.a.focusable).find(this.container),r=this.getFocusableIndex(t,e);return r>-1&&e?{index:r,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var r=e.indexOf(t);if(-1!==r)return r}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,r=this.props,n=r.cycle,o=void 0===n||n,c=r.eventToOffset,i=r.onNavigate,s=void 0===i?a.noop:i,u=r.stopNavigationEvents,l=c(e);if(void 0!==l&&u&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var f=t(document.activeElement);if(f){var d=f.index,p=f.focusables,h=o?function(e,t,r){var n=e+r;return n<0?t+n:n>=t?n-t:n}(d,p.length,l):d+l;h>=0&&h<p.length&&(p[h].focus(),s(h,p[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,r=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({ref:this.bindContainer},Object(a.omit)(r,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),i}(c.Component),b=function(e,t){return Object(c.createElement)(m,Object(n.a)({},e,{forwardedRef:t}))};b.displayName="NavigableContainer";var y=Object(c.forwardRef)(b);t.a=Object(c.forwardRef)((function(e,t){var r=e.role,s=void 0===r?"menu":r,u=e.orientation,l=void 0===u?"vertical":u,f=Object(o.a)(e,["role","orientation"]);return Object(c.createElement)(y,Object(n.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:s,"aria-orientation":"presentation"===s?null:l,eventToOffset:function(e){var t=e.keyCode,r=[i.a],n=[i.f];return"horizontal"===l&&(r=[i.d],n=[i.c]),"both"===l&&(r=[i.d,i.a],n=[i.c,i.f]),Object(a.includes)(r,t)?1:Object(a.includes)(n,t)?-1:void 0}},f))}))},42:function(e,t,r){var n=r(35),o=r(62);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},43:function(e,t){!function(){e.exports=this.wc.data}()},434:function(e,t,r){"use strict";r.r(t),function(e){var t=r(0),n=(r(716),r(437),r(199)),o=r(412),c=(r(715),r(43));r.p=e.wcAdminAssets.path;var a=document.getElementById("root"),i=document.getElementById("woocommerce-embedded-navigation"),s=window.wcSettings.currentUserData;if(i){var u=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(o.a);s&&(u=Object(c.withCurrentUserHydration)(s)(u)),Object(t.render)(Object(t.createElement)(u,null),i),document.getElementById("adminmenumain").classList.add("folded")}if(a){var l=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(l=Object(c.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(l)),s&&(l=Object(c.withCurrentUserHydration)(s)(l)),Object(t.render)(Object(t.createElement)(l,null),a)}else{var f=document.getElementById("woocommerce-embedded-root"),d=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.a);s&&(d=Object(c.withCurrentUserHydration)(s)(d)),Object(t.render)(Object(t.createElement)(d,null),f),f.classList.remove("is-embed-loading");var p=document.getElementById("wpbody-content"),h=p.querySelector(".wrap.woocommerce")||p.querySelector('[class="wrap"]'),v=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(n.c,null)),p.insertBefore(v,h))}}.call(this,r(56))},436:function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function i(e,t,r,n){var o=t&&t.prototype instanceof l?t:l,c=Object.create(o.prototype),a=new z(n||[]);return c._invoke=function(e,t,r){var n="suspendedStart";return function(o,c){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw c;return k()}for(r.method=o,r.arg=c;;){var a=r.delegate;if(a){var i=g(a,r);if(i){if(i===u)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),c}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=i;var u={};function l(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(j([])));v&&v!==t&&r.call(v,o)&&(p=v);var m=d.prototype=l.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var n;this._invoke=function(o,c){function a(){return new t((function(n,a){!function n(o,c,a,i){var u=s(e[o],e,c);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,i)}),(function(e){n("throw",e,a,i)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,i)}))}i(u.arg)}(o,c,n,a)}))}return n=n?n.then(a,a):a()}}function g(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,g(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function j(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,c=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return c.next=c}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=m.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(y.prototype),y.prototype[c]=function(){return this},e.AsyncIterator=y,e.async=function(t,r,n,o,c){void 0===c&&(c=Promise);var a=new y(i(t,r,n,o),c);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(m),m[a]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,z.prototype={constructor:z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],a=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var i=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(i&&s){if(this.prev<c.catchLoc)return n(c.catchLoc,!0);if(this.prev<c.finallyLoc)return n(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return n(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return n(c.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===e||"continue"===e)&&c.tryLoc<=t&&t<=c.finallyLoc&&(c=null);var a=c?c.completion:{};return a.type=e,a.arg=t,c?(this.method="next",this.next=c.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},437:function(e,t,r){},438:function(e,t,r){},439:function(e,t,r){},440:function(e,t,r){},441:function(e,t,r){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,r,f){if("string"!=typeof r){if(l){var d=u(r);d&&d!==l&&e(t,d,f)}var p=a(r);i&&(p=p.concat(i(r)));for(var h=0;h<p.length;++h){var v=p[h];if(!(n[v]||o[v]||f&&f[v])){var m=s(r,v);try{c(t,v,m)}catch(e){}}}return t}return t}},442:function(e,t,r){},443:function(e,t,r){},444:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},445:function(e,t,r){},446:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},45:function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var n={};r.r(n),r.d(n,"find",(function(){return i}));var o={};r.r(o),r.d(o,"isTabbableIndex",(function(){return l})),r.d(o,"find",(function(){return v})),r.d(o,"findPrevious",(function(){return m})),r.d(o,"findNext",(function(){return b}));var c=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function i(e){var t=e.querySelectorAll(c);return Array.from(t).filter((function(e){return!!a(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var r=document.querySelector('img[usemap="#'+t.name+'"]');return!!r&&a(r)}(e))}))}var s=r(2);function u(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function l(e){return-1!==u(e)}function f(e,t){return{element:e,index:t}}function d(e){return e.element}function p(e,t){var r=u(e.element),n=u(t.element);return r===n?e.index-t.index:r-n}function h(e){return e.filter(l).map(f).sort(p).map(d).reduce((t={},function(e,r){var n=r.nodeName,o=r.type,c=r.checked,a=r.name;if("INPUT"!==n||"radio"!==o||!a)return e.concat(r);var i=t.hasOwnProperty(a);if(!c&&i)return e;if(i){var u=t[a];e=Object(s.without)(e,u)}return t[a]=r,e.concat(r)}),[]);var t}function v(e){return h(i(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=i(document.body),r=t.indexOf(e);return t.length=r,Object(s.last)(h(t))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=i(document.body),r=t.indexOf(e),n=t.slice(r+1).filter((function(t){return!e.contains(t)}));return Object(s.first)(h(n))}var y={focusable:n,tabbable:o}},46:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},47:function(e,t){var r,n,o=e.exports={};function c(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(r===setTimeout)return setTimeout(e,0);if((r===c||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:c}catch(e){r=c}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,u=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=i(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||i(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},48:function(e,t){!function(){e.exports=this.wp.hooks}()},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(30);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},5:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},51:function(e,t){function r(e,t,r,n,o,c,a){try{var i=e[c](a),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,c){var a=e.apply(t,n);function i(e){r(a,o,c,i,s,"next",e)}function s(e){r(a,o,c,i,s,"throw",e)}i(void 0)}))}}},53:function(e,t){!function(){e.exports=this.wc.components}()},54:function(e,t,r){"use strict";var n=r(2);t.a=function(e,t){return function(r){var o=e(r),c=r.displayName,a=void 0===c?r.name||"Component":c;return o.displayName="".concat(Object(n.upperFirst)(Object(n.camelCase)(t)),"(").concat(a,")"),o}}},55:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},56:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(48),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.version,c=t.alternative,a=t.plugin,i=t.link,s=t.hint,u=a?" from ".concat(a):"",l=r?" and will be removed".concat(u," in version ").concat(r):"",f=c?" Please use ".concat(c," instead."):"",d=i?" See: ".concat(i):"",p=s?" Note: ".concat(s):"",h="".concat(e," is deprecated").concat(l,".").concat(f).concat(d).concat(p);h in o||(Object(n.doAction)("deprecated",e,t,h),console.warn(h),o[h]=!0)}},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},60:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,"a",(function(){return n}))},62:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},63:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return p}));var n=r(17),o=r.n(n),c=r(35),a=r.n(c),i=r(87);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=r.n(i)()("wc-admin:tracks");function l(e,t){if(u("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!!window._tkq&&!!window.wcTracks&&!!window.wcTracks.isEnabled}),!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)return!1;window.wcTracks.recordEvent(e,t)}var f={localStorageKey:function(){return"tracksQueue"},clear:function(){window.localStorage&&window.localStorage.removeItem(f.localStorageKey())},get:function(){if(!window.localStorage)return[];var e=window.localStorage.getItem(f.localStorageKey());return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[]},add:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!window.localStorage)return u("Unable to queue, running now",{args:t}),void l.apply(null,t||void 0);var n=f.get(),o={args:t};n.push(o),n=n.slice(-100),u("Adding new item to queue.",o),window.localStorage.setItem(f.localStorageKey(),JSON.stringify(n))},process:function(){if(window.localStorage){var e=f.get();f.clear(),u("Processing items in queue.",e),e.forEach((function(e){"object"===a()(e)&&(u("Processing item in queue.",e),l.apply(null,e.args||void 0))}))}}};function d(e,t){f.add(e,t)}function p(e,t){e&&(l("page_view",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({path:e},t)),f.process())}},65:function(e,t,r){"use strict";var n=r(117),o=r(118),c=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return n(e,t);if(c(e)&&c(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=n,e.exports.isShallowEqualArrays=o},66:function(e,t,r){"use strict";var n=r(115),o=r(116),c=r(94);e.exports={formats:c,parse:o,stringify:n}},67:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),a=r(8),i=r.n(a),s=r(2),u=r(59),l=r(97),f=r(96);function d(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,c=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){a=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(a)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=["onMouseDown","onClick"];t.a=Object(c.forwardRef)((function(e,t){var r=e.href,a=e.target,p=e.isPrimary,v=e.isLarge,m=e.isSmall,b=e.isTertiary,y=e.isPressed,g=e.isBusy,O=e.isDefault,w=e.isSecondary,z=e.isLink,j=e.isDestructive,k=e.className,M=e.disabled,H=e.icon,E=e.iconSize,V=e.showTooltip,C=e.tooltipPosition,x=e.shortcut,S=e.label,P=e.children,_=e.__experimentalIsFocusable,R=Object(o.a)(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);O&&Object(u.a)("Button isDefault prop",{alternative:"isSecondary"});var L=i()("components-button",k,{"is-secondary":O||w,"is-primary":p,"is-large":v,"is-small":m,"is-tertiary":b,"is-pressed":y,"is-busy":g,"is-link":z,"is-destructive":j,"has-text":!!H&&!!P,"has-icon":!!H}),A=M&&!_,T=void 0===r||A?"button":"a",N="a"===T?{href:r,target:a}:{type:"button",disabled:A,"aria-pressed":y};if(M&&_){N["aria-disabled"]=!0;var D,F=d(h);try{for(F.s();!(D=F.n()).done;){R[D.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(e){F.e(e)}finally{F.f()}}var I=!A&&(V&&S||x||!!S&&(!P||Object(s.isArray)(P)&&!P.length)&&!1!==V),q=Object(c.createElement)(T,Object(n.a)({},N,R,{className:L,"aria-label":R["aria-label"]||S,ref:t}),H&&Object(c.createElement)(f.a,{icon:H,size:E}),P);return I?Object(c.createElement)(l.a,{text:S,shortcut:x,position:C},q):q}))},68:function(e,t,r){"use strict";function n(e,t,r,n,o,c,a){try{var i=e[c](a),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var a=e.apply(t,r);function i(e){n(a,o,c,i,s,"next",e)}function s(e){n(a,o,c,i,s,"throw",e)}i(void 0)}))}}r.d(t,"a",(function(){return o}))},7:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return o}))},70:function(e,t,r){"use strict";function n(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}r.d(t,"a",(function(){return n}))},715:function(e,t,r){"use strict";var n=r(18),o=r(170),c=r(259),a=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,a=t,l=[],f=l,d=!1;function p(){f===l&&(f=l.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var r=f.indexOf(e);f.splice(r,1),l=null}}}function m(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,a=o(a,e)}finally{d=!1}for(var t=l=f,r=0;r<t.length;r++){(0,t[r])()}return e}function b(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,m({type:i.REPLACE})}function y(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(h())}return r(),{unsubscribe:t(r)}}})[c.a]=function(){return this},e}return m({type:i.INIT}),(n={dispatch:m,subscribe:v,getState:h,replaceReducer:b})[c.a]=y,n}var l=r(17),f=r.n(l);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h={resources:{}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FRESH_DATA_REQUESTED":return m(e,t);case"FRESH_DATA_RECEIVED":return b(e,t);default:return e}}function m(e,t){return y(e,t.resourceNames.reduce((function(e,r){return e[r]={lastRequested:t.time},e}),{}))}function b(e,t){return y(e,Object.keys(t.resources).reduce((function(e,r){var n=p({},t.resources[r]);return n.data&&(n.lastReceived=t.time),n.error&&(n.lastError=t.time),e[r]=n,e}),{}))}function y(e,t){var r=Object.keys(t).reduce((function(e,r){var n=e[r],o=t[r];return e[r]=p(p({},n),o),e}),p({},e.resources));return p(p({},e),{},{resources:r})}var g=function(e,t){var r=function(e){var t=window.__REDUX_DEVTOOLS_EXTENSION__;return u(v,t&&t({name:e,instanceId:e}))}(e),n=function(e){return{dataRequested:function(t){document.hidden||e.dispatch({type:"FRESH_DATA_REQUESTED",resourceNames:t,time:new Date})},dataReceived:function(t){e.dispatch({type:"FRESH_DATA_RECEIVED",resources:t,time:new Date})}}}(r),c=new o.a(t);return c.setDataHandlers(n),r.subscribe((function(){c.setState(r.getState())})),c},O=r(41),w=r.n(O),z=r(51),j=r.n(z),k=r(3);function M(e,t){var r=JSON.stringify(t,Object.keys(t).sort());return"".concat(e,":").concat(r)}function H(e){return e.substring(0,e.indexOf(":"))}function E(e,t){return H(e)===t}function V(e){var t=e.substring(e.indexOf(":")+1);return JSON.parse(t)}var C={initiateReportExport:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o,c){var a,i,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=Object(n.dispatch)("core/notices"),i=a.createNotice,s=M("report-export-".concat(r),c),t.next=4,e.update([s],f()({},s,c));case 4:u=t.sent,(l=u[0][s])&&l.success&&i("success",Object(k.sprintf)(Object(k.__)("Your %s Report will be emailed to you.","woocommerce-admin"),o)),l&&l.error&&i("error",Object(k.sprintf)(Object(k.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),o));case 8:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()}},x=r(21),S=r.n(x),P=r(33);function _(e,t,r){return e.filter((function(e){return e.startsWith("report-export-")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=H(n),c=o.split("-").pop(),a=P.c+"/reports/"+c+"/export",e.prev=3,e.next=6,r({path:a,method:"POST",data:{report_args:t[n],email:!0}});case 6:return i=e.sent,e.abrupt("return",f()({},n,f()({},i.status,i.message)));case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",f()({},n,{error:e.t0}));case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}())}var R={mutations:C,operations:{update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(_(e,t,r))}}};function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var T={updateProductStock:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o){var c,a,i,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=Object(n.dispatch)("core/notices"),a=c.createNotice,i=r.stock_quantity,s=M("items-query-products-item",r.id),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:o}))),t.next=6,e.update([s],f()({},s,{id:r.id,type:r.type,parent_id:r.parent_id,stock_quantity:o}));case 6:u=t.sent,(l=u[0][s])&&l.data&&a("success",Object(k.sprintf)(Object(k.__)("%s stock updated.","woocommerce-admin"),r.name)),l&&l.error&&(a("error",Object(k.sprintf)(Object(k.__)("%s stock could not be updated.","woocommerce-admin"),r.name)),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:i}))));case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()}},N=r(129),D=r.n(N),F=r(27);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var U={"items-query-categories":"products/categories","items-query-customers":"customers","items-query-coupons":"coupons","items-query-leaderboards":"leaderboards","items-query-orders":"orders","items-query-products":"products","items-query-taxes":"taxes"};var B={read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(U[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=U[n],c=V(r),a=Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),c),i=-1===c.per_page,e.prev=5,e.next=8,t({parse:i,path:a});case 8:if(s=e.sent,!i){e.next=14;break}l=(u=s).length,e.next=18;break;case 14:return e.next=16,s.json();case 16:u=e.sent,l=parseInt(s.headers.get("x-wp-total"),10);case 18:return d=u.map((function(e){return e.id})),p=u.reduce((function(e,t){return e[M("".concat(n,"-item"),t.id)]={data:t},e}),{}),e.abrupt("return",q(f()({},r,{data:d,totalCount:l}),p));case 23:return e.prev=23,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 26:case"end":return e.stop()}}),e,null,[[5,23]])})));return function(t){return e.apply(this,arguments)}}())},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a,n=["items-query-products-item"],o=e.filter((function(e){return n.includes(H(e))}));return o.map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t[n],c=o.id,a=o.parent_id,i=o.type,s=D()(o,["id","parent_id","type"]),u=P.c,e.t0=i,e.next="variation"===e.t0?5:("variable"===e.t0||e.t0,7);break;case 5:return u+="/products/".concat(a,"/variations/").concat(c),e.abrupt("break",8);case 7:u+="/products/".concat(c);case 8:return e.abrupt("return",r({path:u,method:"PUT",data:s}).then((function(e){return f()({},n,{data:e})})).catch((function(e){return f()({},n,{error:e})})));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},updateLocally:function(e,t){var r=["items-query-products-item"],n=e.filter((function(e){return r.includes(H(e))})),o=M("items-query-products",{page:1,per_page:1,low_in_stock:!0,status:"publish"});return n.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(n={},f()(n,r,{data:t[r]}),f()(n,o,{lastReceived:null}),n));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},W=r(2),$={mutations:T,operations:B,selectors:{getItems:function(e,t){return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,c=M("items-query-".concat(r),n),a=t(o,c).data||[],i=new Map;return a.forEach((function(t){i.set(t,e(M("items-query-".concat(r,"-item"),t)).data)})),i}},getItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).error}},getItemsTotalCount:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).totalCount||0}},isGetItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}},G={"import-status":"reports/import/status","import-totals":"reports/import/totals"};function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Z={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(G[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=G[n],c=V(r),a={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),Object(W.omit)(c,["timestamp"]))},e.prev=4,e.next=7,t(a);case 7:return i=e.sent,e.next=10,i.json();case 10:return s=e.sent,e.abrupt("return",f()({},r,{data:s}));case 14:return e.prev=14,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 17:case"end":return e.stop()}}),e,null,[[4,14]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getImportStatus:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("import-status",e);return t(r,n).data||{}}},isGetImportStatusRequesting:function(e){return function(t){var r=M("import-status",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getImportTotals:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=K(K({},e),{},{timestamp:r}),c=M("import-totals",o);return t(n,c).data||{}}}}};function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function X(e,t){return e.filter((function(e){return E(e,"note-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/admin/notes"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return a=e.sent,i=parseInt(c.headers.get("x-wp-total"),10),s=a.map((function(e){return e.id})),u=a.reduce((function(e,t){return e[M("note",t.id)]={data:t},e}),{}),e.abrupt("return",Y(f()({},r,{data:s,totalCount:i}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function ee(e,t){return e.filter((function(e){return E(e,"note")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/admin/notes/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}function te(e,t,r){if(e.includes("note")){var n=t.note,o=n.noteId,c=D()(n,["noteId"]);return[r({path:"".concat(P.c,"/admin/notes/").concat(o),method:"PUT",data:c}).then((function(e){var r=f()({},"note:"+o,{data:e});return isNaN(t.note.is_deleted)||(r["note-undo-dismiss"]={isUndoRequesting:!1,isDismissUndoRequesting:!1}),r})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function re(e,t,r){if(e.includes("note")){var n=t.note.noteId;return[r({path:"".concat(P.c,"/admin/notes/delete/").concat(n),method:"DELETE"}).then((function(e){return f()({},"note:"+n,{data:e})})).catch((function(e){return f()({},"note:"+n,{error:e})}))]}return[]}function ne(e,t){return e.includes("note")?[t({path:"".concat(P.c,"/admin/notes/delete/all"),method:"DELETE"}).then((function(e){return e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{})})).catch((function(e){return{error:e}}))]:[]}function oe(e,t,r){return e.includes("note")?[r({path:"".concat(P.c,"/admin/notes/undoremove"),method:"PUT",data:t}).then((function(e){var t=e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{});return t["note-undo-dismiss"]={isUndoRequesting:!1,isDismissAllUndoRequesting:!1},t})).catch((function(e){return e}))]:[]}function ce(e,t,r){if(e.includes("note-action")){var n=t["note-action"],o=n.noteId,c=n.actionId;return[r({path:"".concat(P.c,"/admin/notes/").concat(o,"/action/").concat(c),method:"POST"}).then((function(e){return f()({},"note:"+o,{data:e})})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function ae(e,t){if(e.includes("note")&&(t.note?!isNaN(t.note.is_deleted):!isNaN(t.is_deleted))){var r=!!t.note&&t.note.noteId;return[f()({},"note-undo-dismiss",{isUndoRequesting:!0,isDismissUndoRequesting:r,isDismissAllUndoRequesting:!r})]}return[]}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var se={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(ee(e,t)),w()(X(e,t)))},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ae(e,t)),w()(te(e,t,r)),w()(ce(e,t,r)))},remove:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(re(e,t,r))},removeAll:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return w()(ne(e,t))},triggerAction:ce,undoRemoveAll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ae(e,t)),w()(oe(e,t,r)))}},selectors:{getNotes:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("note-query",r),c=t(n,o).data||[],a=c.map((function(t){return e(M("note",t)).data||{}}));return a}},getNotesError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t);return e(r).error}},isGetNotesRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getUndoDismissRequesting:function(e){return function(){return e("note-undo-dismiss")}}},mutations:{updateNote:function(e){return function(t,r){e.update(["note"],f()({},"note",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({noteId:t},r)))}},removeNote:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r){var o,c,a,i,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=Object(n.dispatch)("core/notices"),c=o.createNotice,a="note",i=M("note",r),t.next=5,e.remove([a],f()({},a,{noteId:r}));case 5:s=t.sent,(u=s[0]?s[0][i]:{data:!1,error:!0})&&u.data&&c("success",Object(k.__)("Message dismissed.","woocommerce-admin"),{actions:[{label:Object(k.__)("Undo","woocommerce-admin"),onClick:function(){e.update([a],f()({},a,{noteId:r,is_deleted:0}))}}]}),u&&u.error&&c("error",Object(k.__)("Message could not be dismissed.","woocommerce-admin"));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},removeAllNotes:function(e){return j()(regeneratorRuntime.mark((function t(){var r,o,c,a,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Object(n.dispatch)("core/notices"),o=r.createNotice,c="note",t.next=4,e.removeAll([c]);case 4:a=t.sent,(i=a?a[0]:{error:!0}).error?o("error",Object(k.__)("Messages could not be dismissed.","woocommerce-admin")):o("success",Object(k.__)("All messages dismissed.","woocommerce-admin"),{actions:[{label:Object(k.__)("Undo","woocommerce-admin"),onClick:function(){var t=[];for(var r in i)t.push(i[r].data.id);e.undoRemoveAll([c],{notesIds:t,is_deleted:0})}}]});case 7:case"end":return t.stop()}}),t)})))},triggerNoteAction:function(e){return function(t,r){e.update(["note-action"],f()({},"note-action",{noteId:t,actionId:r}))}}}},ue={"report-items-query-orders":"orders","report-items-query-revenue":"revenue","report-items-query-products":"products","report-items-query-categories":"categories","report-items-query-coupons":"coupons","report-items-query-taxes":"taxes","report-items-query-variations":"variations","report-items-query-downloads":"downloads","report-items-query-customers":"customers","report-items-query-stock":"stock","report-items-query-performance-indicators":"performance-indicators"};var le={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(ue[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=ue[n],c=V(r),a={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o),c)},e.prev=4,e.next=7,t(a);case 7:return i=e.sent,e.next=10,i.json();case 10:return s=e.sent,u=parseInt(i.headers.get("x-wp-total"),10),l=parseInt(i.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 16:return e.prev=16,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 19:case"end":return e.stop()}}),e,null,[[4,16]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportItems:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-items-query-".concat(e),r);return t(n,o)||{}}},getReportItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r);return e(n).error}},isReportItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}},fe=["coupons","downloads","orders","products","revenue","stock","taxes","customers"],de={"report-stats-query-orders":"orders","report-stats-query-revenue":"revenue","report-stats-query-products":"products","report-stats-query-categories":"categories","report-stats-query-downloads":"downloads","report-stats-query-coupons":"coupons","report-stats-query-stock":"stock","report-stats-query-taxes":"taxes","report-stats-query-customers":"customers"};var pe={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(de[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=de[n],c=V(r),a={parse:!1},fe.indexOf(o)>=0?a.path=Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o,"/stats"),c):a.path=Object(F.addQueryArgs)(o,c),e.prev=5,e.next=8,t(a);case 8:return i=e.sent,e.next=11,i.json();case 11:return s=e.sent,u=parseInt(i.headers.get("x-wp-total"),10),l=parseInt(i.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 17:return e.prev=17,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 20:case"end":return e.stop()}}),e,null,[[5,17]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportStats:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-stats-query-".concat(e),r),c=t(n,o)||{};return c}},getReportStatsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r);return e(n).error}},isReportStatsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}};function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function me(e,t){return e.filter((function(e){return E(e,"review-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/products/reviews"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return a=e.sent,i=parseInt(c.headers.get("x-wp-total"),10),s=a.map((function(e){return e.id})),u=a.reduce((function(e,t){return e[M("review",t.id)]={data:t},e}),{}),e.abrupt("return",ve(f()({},r,{data:s,totalCount:i}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function be(e,t){return e.filter((function(e){return E(e,"review")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/products/reviews/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}var ye={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(be(e,t)),w()(me(e,t)))}},selectors:{getReviews:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("review-query",r),c=t(n,o).data||[],a=c.map((function(t){return e(M("review",t)).data||{}}));return a}},getReviewsError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t);return e(r).error}},getReviewsTotalCount:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("review-query",e);return t(r,n).totalCount||0}},isGetReviewsRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}}}};function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var we,ze={name:"wcApi",mutations:Oe(Oe(Oe({},R.mutations),$.mutations),se.mutations),selectors:Oe(Oe(Oe(Oe(Oe(Oe({},Z.selectors),$.selectors),se.selectors),le.selectors),pe.selectors),ye.selectors),operations:{read:function(e){return document.hidden?[]:[].concat(w()(Z.operations.read(e)),w()($.operations.read(e)),w()(se.operations.read(e)),w()(le.operations.read(e)),w()(pe.operations.read(e)),w()(ye.operations.read(e)))},update:function(e,t){return[].concat(w()(R.operations.update(e,t)),w()($.operations.update(e,t)),w()(se.operations.update(e,t)))},remove:function(e,t){return w()(se.operations.remove(e,t))},removeAll:function(e){return w()(se.operations.removeAll(e))},updateLocally:function(e,t){return w()($.operations.updateLocally(e,t))},undoRemoveAll:function(e,t){return w()(se.operations.undoRemoveAll(e,t))}}};Object(n.registerGenericStore)("wc-api",{getSelectors:function(){return function(e){return function(e){var t=[];return{selectors:we.getSelectors(t),onComplete:function(){0===t.length?we.clearComponentRequirements(e):we.setComponentRequirements(e,t)},onUnmount:function(){we.clearComponentRequirements(e)}}}(e&&e.component?e.component:e)}},getActions:function(){return we.getMutations()},subscribe:(we=g("wc-api",ze)).subscribe})},716:function(e,t,r){"use strict";var n={};r.r(n),r.d(n,"createNotice",(function(){return v})),r.d(n,"createSuccessNotice",(function(){return m})),r.d(n,"createInfoNotice",(function(){return b})),r.d(n,"createErrorNotice",(function(){return y})),r.d(n,"createWarningNotice",(function(){return g})),r.d(n,"removeNotice",(function(){return O}));var o={};r.r(o),r.d(o,"getNotices",(function(){return z}));var c=r(18),a=r(15),i=r(2),s=r(6);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(e){return function(t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[e];if(void 0===o)return r;var c=t(r[o],n);return c===r[o]?r:l({},r,Object(s.a)({},o,c))}}}("context")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CREATE_NOTICE":return[].concat(Object(a.a)(Object(i.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(i.reject)(e,{id:t.id})}return e})),d=r(76),p=r.n(d),h=p.a.mark(v);function v(){var e,t,r,n,o,c,a,s,u,l,f,d,v,m,b,y,g=arguments;return p.a.wrap((function(p){for(;;)switch(p.prev=p.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,r=g.length>2&&void 0!==g[2]?g[2]:{},n=r.speak,o=void 0===n||n,c=r.isDismissible,a=void 0===c||c,s=r.context,u=void 0===s?"global":s,l=r.id,f=void 0===l?Object(i.uniqueId)(u):l,d=r.actions,v=void 0===d?[]:d,m=r.type,b=void 0===m?"default":m,y=r.__unstableHTML,t=String(t),!o){p.next=8;break}return p.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===b?"polite":"assertive"};case 8:return p.next=10,{type:"CREATE_NOTICE",context:u,notice:{id:f,status:e,content:t,__unstableHTML:y,isDismissible:a,actions:v,type:b}};case 10:case"end":return p.stop()}}),h)}function m(e,t){return v("success",e,t)}function b(e,t){return v("info",e,t)}function y(e,t){return v("error",e,t)}function g(e,t){return v("warning",e,t)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var w=[];function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||w}var j=r(127),k={SPEAK:function(e){Object(j.a)(e.message,e.ariaLive||"assertive")}};Object(c.registerStore)("core/notices",{reducer:f,actions:n,selectors:o,controls:k})},72:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},73:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,c=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var c=t[n],a=c.obj[c.prop],i=Object.keys(a),s=0;s<i.length;++s){var u=i[s],l=a[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:a,prop:u}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],c=0;c<r.length;++c)void 0!==r[c]&&n.push(r[c]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r){if(0===e.length)return e;var n=e;if("symbol"==typeof e?n=Symbol.prototype.toString.call(e):"string"!=typeof e&&(n=String(e)),"iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<n.length;++a){var i=n.charCodeAt(a);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?o+=n.charAt(a):i<128?o+=c[i]:i<2048?o+=c[192|i>>6]+c[128|63&i]:i<55296||i>=57344?o+=c[224|i>>12]+c[128|i>>6&63]+c[128|63&i]:(a+=1,i=65536+((1023&i)<<10|1023&n.charCodeAt(a)),o+=c[240|i>>18]+c[128|i>>12&63]+c[128|i>>6&63]+c[128|63&i])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,c){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(c&&(c.plainObjects||c.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return o(t)&&!o(r)&&(i=a(t,c)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,c):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,c):t[o]=a,t}),i)}}},733:function(e,t){!function(){e.exports=this.wc.csvExport}()},749:function(e,t,r){"use strict";(function(e){var n=r(88),o="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,c=e.env.FORCE_REDUCED_MOTION||o?function(){return!0}:function(){return Object(n.a)("(prefers-reduced-motion: reduce)")};t.a=c}).call(this,r(47))},75:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(12),o=r(14),c=r(9),a=r(7),i=r(11),s=r(4),u=r(10),l=r(0),f=r(32);function d(){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}}var p=function(e){Object(u.a)(p,e);var t,r=(t=p,function(){var e,r=Object(s.a)(t);if(d()){var n=Object(s.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(i.a)(this,e)});function p(){return Object(c.a)(this,p),r.apply(this,arguments)}return Object(a.a)(p,[{key:"render",value:function(){var e,t=this.props,r=t.icon,c=t.size,a=void 0===c?20:c,i=t.className,s=Object(o.a)(t,["icon","size","className"]);switch(r){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="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";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="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.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var u=["dashicon","dashicons-"+r,i].filter(Boolean).join(" ");return Object(l.createElement)(f.b,Object(n.a)({"aria-hidden":!0,role:"img",focusable:"false",className:u,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 20 20"},s),Object(l.createElement)(f.a,{d:e}))}}]),p}(l.Component)},76:function(e,t,r){e.exports=r(436)},78:function(e,t){!function(){e.exports=this.ReactDOM}()},79:function(e,t,r){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},8:function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var c=typeof o;if("string"===c||"number"===c)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===c)for(var i in o)t.call(o,i)&&o[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},80:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},82:function(e,t,r){"use strict";var n=r(12),o=r(19),c=r(14),a=r(0),i=r(8),s=r.n(i),u=r(95),l=r(45),f=r(31),d=r(59),p=r(208),h=r(209),v=r(6);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r,n,o,c,a){var i=t.width,s="rtl"===document.documentElement.dir;"left"===r&&s?r="right":"right"===r&&s&&(r="left"),"left"===n&&s?n="right":"right"===n&&s&&(n="left");var u=Math.round(e.left+e.width/2),l={popoverLeft:u,contentWidth:(u-i/2>0?i/2:u)+(u+i/2>window.innerWidth?window.innerWidth-u:i/2)},f=e.left;"right"===n?f=e.right:"middle"!==c&&(f=u);var d=e.right;"left"===n?d=e.left:"middle"!==c&&(d=u);var p,h={popoverLeft:f,contentWidth:f-i>0?i:f},v={popoverLeft:d,contentWidth:d+i>window.innerWidth?window.innerWidth-d:i},m=r,b=null;if(!o)if("center"===r&&l.contentWidth===i)m="center";else if("left"===r&&h.contentWidth===i)m="left";else if("right"===r&&v.contentWidth===i)m="right";else{var y="left"===(m=h.contentWidth>v.contentWidth?"left":"right")?h.contentWidth:v.contentWidth;b=y!==i?y:null}if(p="center"===m?l.popoverLeft:"left"===m?h.popoverLeft:v.popoverLeft,a){var g=a.getBoundingClientRect();p=Math.min(p,g.right-i)}return{xAxis:m,popoverLeft:p,contentWidth:b}}function g(e,t,r,n,o,c,a){var i=t.height;if(o){var s=(Object(u.b)(c)||document.body).getBoundingClientRect();if(e.top-i<=s.top)return{yAxis:r,popoverTop:Math.min(e.bottom-a,s.top+i-a)}}var l=e.top+e.height/2;"bottom"===n?l=e.bottom:"top"===n&&(l=e.top);var f={popoverTop:l,contentHeight:(l-i/2>0?i/2:l)+(l+i/2>window.innerHeight?window.innerHeight-l:i/2)},d={popoverTop:e.top,contentHeight:e.top-10-i>0?i:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+i>window.innerHeight?window.innerHeight-10-e.bottom:i},h=r,v=null;if(!o)if("middle"===r&&f.contentHeight===i)h="middle";else if("top"===r&&d.contentHeight===i)h="top";else if("bottom"===r&&p.contentHeight===i)h="bottom";else{var m="top"===(h=d.contentHeight>p.contentHeight?"top":"bottom")?d.contentHeight:p.contentHeight;v=m!==i?m:null}return{yAxis:h,popoverTop:"middle"===h?f.popoverTop:"top"===h?d.popoverTop:p.popoverTop,contentHeight:v}}function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",n=arguments.length>3?arguments[3]:void 0,c=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=r.split(" "),u=Object(o.a)(s,3),l=u[0],f=u[1],d=void 0===f?"center":f,p=u[2],h=g(e,t,l,p,n,c,a),v=y(e,t,d,p,n,h.yAxis,i);return b({},v,{},h)}var w=r(86),z=r(83),j=r(9),k=r(7),M=r(11),H=r(4),E=r(10),V=r(84);function C(){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}}var x=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(C()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){return Object(j.a)(this,n),r.apply(this,arguments)}return Object(k.a)(n,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),n}(a.Component),S=Object(V.a)(x),P=r(67);function _(e){return function(){var t,r=Object(H.a)(e);if(R()){var n=Object(H.a)(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Object(M.a)(this,t)}}function R(){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}}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,r=void 0===t?document:t,n=e.className,o=void 0===n?"lockscroll":n,c=0,i=0;function s(e){var t=r.scrollingElement||r.body;e&&(i=t.scrollTop);var n=e?"add":"remove";t.classList[n](o),r.documentElement.classList[n](o),e||(t.scrollTop=i)}function u(){0===c&&s(!0),++c}function l(){1===c&&s(!1),--c}return function(e){Object(E.a)(r,e);var t=_(r);function r(){return Object(j.a)(this,r),t.apply(this,arguments)}return Object(k.a)(r,[{key:"componentDidMount",value:function(){u()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),r}(a.Component)}(),A=r(85),T=Object(a.createContext)({slots:{},fills:{},registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){var t=Object(a.useContext)(T),r=t.slots[e]||{},n=t.fills[e],o=Object(a.useMemo)((function(){return n||[]}),[n]);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{updateSlot:Object(a.useCallback)((function(r,n){t.updateSlot(e,r,n)}),[e,t.updateSlot]),unregisterSlot:Object(a.useCallback)((function(r){t.unregisterSlot(e,r)}),[e,t.unregisterSlot]),fills:o,registerFill:Object(a.useCallback)((function(r){t.registerFill(e,r)}),[e,t.registerFill]),unregisterFill:Object(a.useCallback)((function(r){t.unregisterFill(e,r)}),[e,t.unregisterFill])})}var F=r(5),I=r(2),q=r(15),U=r(40);function B(e){var t=function(e,t){if("object"!==Object(U.a)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Object(U.a)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(U.a)(t)?t:String(t)}function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function G(e){var t,r,n,i,s,u,l,f,d,p,h,m,b=e.children,y=(t=Object(a.useState)({}),r=Object(o.a)(t,2),n=r[0],i=r[1],s=Object(a.useState)({}),u=Object(o.a)(s,2),l=u[0],f=u[1],d=Object(a.useCallback)((function(e,t,r){i((function(n){var o=n[e]||{};return $({},n,Object(v.a)({},e,$({},o,{ref:t||o.ref,fillProps:r||o.fillProps||{}})))}))}),[]),p=Object(a.useCallback)((function(e,t){i((function(r){var n=r[e],o=Object(c.a)(r,[e].map(B));return(null==n?void 0:n.ref)===t?o:r}))}),[]),h=Object(a.useCallback)((function(e,t){f((function(r){return $({},r,Object(v.a)({},e,[].concat(Object(q.a)(r[e]||[]),[t])))}))}),[]),m=Object(a.useCallback)((function(e,t){f((function(r){return r[e]?$({},r,Object(v.a)({},e,r[e].filter((function(e){return e!==t})))):r}))}),[]),Object(a.useMemo)((function(){return{slots:n,fills:l,registerSlot:d,updateSlot:d,unregisterSlot:p,registerFill:h,unregisterFill:m}}),[n,l,d,p,h,m]));return Object(a.createElement)(T.Provider,{value:y},b)}function Q(){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}}var K=Object(a.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),Z=K.Provider,J=K.Consumer;a.Component;function Y(){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}}var X=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(Y()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){var e;return Object(j.a)(this,n),(e=r.apply(this,arguments)).bindNode=e.bindNode.bind(Object(F.a)(e)),e}return Object(k.a)(n,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.name,n=t.unregisterSlot,o=t.registerSlot;e.name!==r&&(n(e.name),o(r,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.name,n=e.fillProps,o=void 0===n?{}:n,c=e.getFills,i=Object(I.map)(c(r,this),(function(e){var t=e.occurrence,r=Object(I.isFunction)(e.children)?e.children(o):e.children;return a.Children.map(r,(function(e,r){if(!e||Object(I.isString)(e))return e;var n="".concat(t,"---").concat(e.key||r);return Object(a.cloneElement)(e,{key:n})}))})).filter(Object(I.negate)(a.isEmptyElement));return Object(a.createElement)(a.Fragment,null,Object(I.isFunction)(t)?t(i):i)}}]),n}(a.Component),ee=function(e){return Object(a.createElement)(J,null,(function(t){var r=t.registerSlot,o=t.unregisterSlot,c=t.getFills;return Object(a.createElement)(X,Object(n.a)({},e,{registerSlot:r,unregisterSlot:o,getFills:c}))}))},te=0;function re(e){var t=e.name,r=e.children,n=e.registerFill,c=e.unregisterFill,i=function(e){var t=Object(a.useContext)(K),r=t.getSlot,n=t.subscribe,c=Object(a.useState)(r(e)),i=Object(o.a)(c,2),s=i[0],u=i[1];return Object(a.useEffect)((function(){return u(r(e)),n((function(){u(r(e))}))}),[e]),s}(t),s=Object(a.useRef)({name:t,children:r});return s.current.occurrence||(s.current.occurrence=++te),Object(a.useLayoutEffect)((function(){return n(t,s.current),function(){return c(t,s.current)}}),[]),Object(a.useLayoutEffect)((function(){s.current.children=r,i&&i.forceUpdate()}),[r]),Object(a.useLayoutEffect)((function(){t!==s.current.name&&(c(s.current.name,s.current),s.current.name=t,n(t,s.current))}),[t]),i&&i.node?(Object(I.isFunction)(r)&&(r=r(i.props.fillProps)),Object(a.createPortal)(r,i.node)):null}var ne=function(e){return Object(a.createElement)(J,null,(function(t){var r=t.registerFill,o=t.unregisterFill;return Object(a.createElement)(re,Object(n.a)({},e,{registerFill:r,unregisterFill:o}))}))},oe=r(65),ce=r.n(oe);function ae(e){var t=e.name,r=e.fillProps,o=void 0===r?{}:r,i=e.as,s=void 0===i?"div":i,u=Object(c.a)(e,["name","fillProps","as"]),l=Object(a.useContext)(T),f=Object(a.useRef)(),d=D(t);return Object(a.useLayoutEffect)((function(){return l.registerSlot(t,f,o),function(){l.unregisterSlot(t,f)}}),[l.registerSlot,l.unregisterSlot,t]),Object(a.useLayoutEffect)((function(){d.fillProps&&!ce()(d.fillProps,o)&&l.updateSlot(t,f,o)})),Object(a.createElement)(s,Object(n.a)({ref:f},u))}function ie(e){var t=e.name,r=e.children,n=D(t),o=Object(a.useRef)();return Object(a.useEffect)((function(){return n.registerFill(o),function(){n.unregisterFill(o)}}),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof r&&(r=r(n.fillProps)),Object(a.createPortal)(r,n.ref.current)):null}function se(e){var t=e.bubblesVirtually,r=Object(c.a)(e,["bubblesVirtually"]);return t?Object(a.createElement)(ae,r):Object(a.createElement)(ee,r)}function ue(e){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(ne,e),Object(a.createElement)(ie,e))}var le=function(e){var t=e.type,r=e.options,n=void 0===r?{}:r,c=e.children;if("appear"===t){var a,i=n.origin,u=(void 0===i?"top":i).split(" "),l=Object(o.a)(u,2),f=l[0],d=l[1],p=void 0===d?"center":d;return c({className:s()("components-animate__appear",(a={},Object(v.a)(a,"is-from-"+p,"center"!==p),Object(v.a)(a,"is-from-"+f,"middle"!==f),a))})}if("slide-in"===t){var h=n.origin,m=void 0===h?"left":h;return c({className:s()("components-animate__slide-in","is-from-"+m)})}return c("loading"===t?{className:s()("components-animate__loading")}:{})},fe=Object(z.a)(Object(w.a)((function(e){return e.children})));function de(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(r){if(!e.current)return;return r(e.current)}if(!1!==n){if(!n)return;if(n instanceof window.Range)return Object(u.a)(n);if(n instanceof window.Element){var c=n.getBoundingClientRect();return o?c:pe(c,n)}var a=n.top,i=n.bottom,s=a.getBoundingClientRect(),l=i.getBoundingClientRect(),f=new window.DOMRect(s.left,s.top,s.width,l.bottom-s.top);return o?f:pe(f,n)}if(e.current){var d=e.current.parentNode,p=d.getBoundingClientRect();return o?p:pe(p,d)}}function pe(e,t){var r=window.getComputedStyle(t),n=r.paddingTop,o=r.paddingBottom,c=r.paddingLeft,a=r.paddingRight,i=n?parseInt(n,10):0,s=o?parseInt(o,10):0,u=c?parseInt(c,10):0,l=a?parseInt(a,10):0;return{x:e.left+u,y:e.top+i,width:e.width-u-l,height:e.height-i-s,left:e.left+u,right:e.right-l,top:e.top+i,bottom:e.bottom-s}}function he(e,t,r){r?e.getAttribute(t)!==r&&e.setAttribute(t,r):e.hasAttribute(t)&&e.removeAttribute(t)}function ve(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==r&&(e.style[t]=r)}function me(e,t,r){r?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var be=function(e){var t=e.headerTitle,r=e.onClose,i=e.onKeyDown,u=e.children,v=e.className,m=e.noArrow,b=void 0===m||m,y=e.isAlternate,g=e.position,w=void 0===g?"bottom right":g,z=(e.range,e.focusOnMount),j=void 0===z?"firstElement":z,k=e.anchorRef,M=e.shouldAnchorIncludePadding,H=e.anchorRect,E=e.getAnchorRect,V=e.expandOnMobile,C=e.animate,x=void 0===C||C,_=e.onClickOutside,R=e.onFocusOutside,T=e.__unstableSticky,N=e.__unstableSlotName,F=void 0===N?"Popover":N,I=e.__unstableAllowVerticalSubpixelPosition,q=e.__unstableAllowHorizontalSubpixelPosition,U=e.__unstableFixedPosition,B=void 0===U||U,W=e.__unstableBoundaryParent,$=Object(c.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableAllowVerticalSubpixelPosition","__unstableAllowHorizontalSubpixelPosition","__unstableFixedPosition","__unstableBoundaryParent"]),G=Object(a.useRef)(null),Q=Object(a.useRef)(null),K=Object(a.useRef)(),Z=Object(a.useRef)(),J=Object(p.a)("medium","<"),Y=Object(a.useState)(),X=Object(o.a)(Y,2),ee=X[0],te=X[1],re=D(F),ne=V&&J;b=ne||b,Object(a.useEffect)((function(){if(ne)return me(K.current,"is-without-arrow",b),me(K.current,"is-alternate",y),he(K.current,"data-x-axis"),he(K.current,"data-y-axis"),ve(K.current,"top"),ve(K.current,"left"),ve(Q.current,"maxHeight"),ve(Q.current,"maxWidth"),void ve(K.current,"position");var e,t,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.subpixels;if(K.current&&Q.current){var r=de(G,H,E,k,M);if(r){Z.current||(Z.current=Q.current.getBoundingClientRect());var n,o,c=0;if(B)ve(K.current,"position");else{ve(K.current,"position","absolute");var a=K.current.offsetParent,i=a.getBoundingClientRect();c=i.top,r=new window.DOMRect(r.left-i.left,r.top-i.top,r.width,r.height)}if(W)n=null===(o=K.current.closest(".popover-slot"))||void 0===o?void 0:o.parentNode;var s=O(r,Z.current,w,T,K.current,c,n),u=s.popoverTop,l=s.popoverLeft,f=s.xAxis,d=s.yAxis,p=s.contentHeight,h=s.contentWidth;"number"==typeof u&&"number"==typeof l&&(t&&I?(ve(K.current,"left",l+"px"),ve(K.current,"top"),ve(K.current,"transform","translateY(".concat(u,"px)"))):t&&q?(ve(K.current,"top",u+"px"),ve(K.current,"left"),ve(K.current,"transform","translate(".concat(l,"px)"))):(ve(K.current,"top",u+"px"),ve(K.current,"left",l+"px"),ve(K.current,"transform"))),me(K.current,"is-without-arrow",b||"center"===f&&"middle"===d),me(K.current,"is-alternate",y),he(K.current,"data-x-axis",f),he(K.current,"data-y-axis",d),ve(Q.current,"maxHeight","number"==typeof p?p+"px":""),ve(Q.current,"maxWidth","number"==typeof h?h+"px":"");var v={top:"bottom",bottom:"top"},m={left:"right",right:"left"},g=v[d]||"middle",z=m[f]||"center";te(z+" "+g)}}},n=window.setTimeout(r),o=window.setInterval(r,500),c=function(){window.cancelAnimationFrame(e),e=window.requestAnimationFrame(r)};window.addEventListener("click",c),window.addEventListener("resize",r),window.addEventListener("scroll",r,!0);var a=I||q;return a&&(t=new window.MutationObserver((function(){return r({subpixels:!0})}))).observe(a,{attributes:!0}),function(){window.clearTimeout(n),window.clearInterval(o),window.removeEventListener("resize",r),window.removeEventListener("scroll",r,!0),window.removeEventListener("click",c),window.cancelAnimationFrame(e),t&&t.disconnect()}}),[ne,H,E,k,M,w,T,I,q,W]),function(e,t){Object(a.useEffect)((function(){var r=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var r=l.a.tabbable.find(t.current)[0];r?r.focus():t.current.focus()}}),0);return function(){return clearTimeout(r)}}),[])}(j,Q);var oe=function(e){e.keyCode===f.b&&r&&(e.stopPropagation(),r()),i&&i(e)};var ce=Object(a.createElement)(S,{onFocusOutside:function(e){if(R)R(e);else if(_){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Object(d.a)("Popover onClickOutside prop",{alternative:"onFocusOutside"}),_(t)}else r&&r()}},Object(a.createElement)(le,{type:x&&ee?"appear":null,options:{origin:ee}},(function(e){var o=e.className;return Object(a.createElement)(A.a,Object(n.a)({className:s()("components-popover",v,o,{"is-expanded":ne,"is-without-arrow":b,"is-alternate":y})},$,{onKeyDown:oe,ref:K}),ne&&Object(a.createElement)(L,null),ne&&Object(a.createElement)("div",{className:"components-popover__header"},Object(a.createElement)("span",{className:"components-popover__header-title"},t),Object(a.createElement)(P.a,{className:"components-popover__close",icon:h.a,onClick:r})),Object(a.createElement)("div",{ref:Q,className:"components-popover__content",tabIndex:"-1"},u))})));return j&&(ce=Object(a.createElement)(fe,null,ce)),re.ref&&(ce=Object(a.createElement)(ue,{name:F},ce)),k||H?ce:Object(a.createElement)("span",{ref:G},ce)};be.Slot=function(e){var t=e.name,r=void 0===t?"Popover":t;return Object(a.createElement)(se,{bubblesVirtually:!0,name:r,className:"popover-slot"})};t.a=be},83:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(5),a=r(11),i=r(4),s=r(10),u=r(0),l=r(54),f=r(31),d=r(45);function p(){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}}var h=Object(l.a)((function(e){return function(t){Object(s.a)(h,t);var r,l=(r=h,function(){var e,t=Object(i.a)(r);if(p()){var n=Object(i.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function h(){var e;return Object(n.a)(this,h),(e=l.apply(this,arguments)).focusContainRef=Object(u.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(c.a)(e)),e}return Object(o.a)(h,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===f.e){var t=d.a.tabbable.find(this.focusContainRef.current);if(t.length){var r=t[0],n=t[t.length-1];e.shiftKey&&e.target===r?(e.preventDefault(),n.focus()):(e.shiftKey||e.target!==n)&&t.includes(e.target)||(e.preventDefault(),r.focus())}}}},{key:"render",value:function(){return Object(u.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(u.createElement)(e,this.props))}}]),h}(u.Component)}),"withConstrainedTabbing");t.a=h},84:function(e,t,r){"use strict";var n=r(12),o=r(9),c=r(7),a=r(5),i=r(11),s=r(4),u=r(10),l=r(0),f=r(2),d=r(54);function p(){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}}var h=["button","submit"];t.a=Object(d.a)((function(e){return function(t){Object(u.a)(v,t);var r,d=(r=v,function(){var e,t=Object(s.a)(r);if(p()){var n=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function v(){var e;return Object(o.a)(this,v),(e=d.apply(this,arguments)).bindNode=e.bindNode.bind(Object(a.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(a.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(a.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(a.a)(e)),e}return Object(c.a)(v,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,r=e.target;Object(f.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(f.includes)(h,e.type)}return!1}(r)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(l.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(l.createElement)(e,Object(n.a)({ref:this.bindNode},this.props)))}}]),v}(l.Component)}),"withFocusOutside")},85:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0);function a(e){e.stopPropagation()}t.a=Object(c.forwardRef)((function(e,t){var r=e.children,i=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({},i,{ref:t,onMouseDown:a}),r)}))},86:function(e,t,r){"use strict";var n=r(15),o=r(9),c=r(7),a=r(11),i=r(4),s=r(10),u=r(0),l=r(2),f=r(54),d=r(5);function p(){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}}var h=Object(u.createContext)({focusHistory:[]}),v=h.Provider,m=h.Consumer;v.displayName="FocusReturnProvider",m.displayName="FocusReturnConsumer";u.Component;function b(){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}}t.a=Object(f.a)((function e(t){if((f=t)instanceof u.Component||"function"==typeof f){var r=t;return e({})(r)}var f,d=t.onFocusReturn,p=void 0===d?l.stubTrue:d;return function(e){var t=function(t){Object(s.a)(d,t);var r,f=(r=d,function(){var e,t=Object(i.a)(r);if(b()){var n=Object(i.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function d(){var e;return Object(o.a)(this,d),(e=f.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(c.a)(d,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,r=this.ownFocusedElements;if(t&&!1!==p())for(var o,c=[].concat(Object(n.a)(l.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(n.a)(r)))),[e]);o=c.pop();)if(document.body.contains(o))return void o.focus()}},{key:"render",value:function(){return Object(u.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(u.createElement)(e,this.props.childProps))}}]),d}(u.Component);return function(e){return Object(u.createElement)(m,null,(function(r){return Object(u.createElement)(t,{childProps:e,focus:r})}))}}}),"withFocusReturn")},87:function(e,t,r){"use strict";(function(n){var o=r(55)(r(35));t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":(0,o.default)(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=r(119)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(47))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(19),o=r(0);function c(e){var t=Object(o.useState)(e&&window.matchMedia(e).matches),r=Object(n.a)(t,2),c=r[0],a=r[1];return Object(o.useEffect)((function(){if(e){var t=function(){return a(window.matchMedia(e).matches)};t();var r=window.matchMedia(e);return r.addListener(t),function(){r.removeListener(t)}}}),[e]),e&&c}},89:function(e,t,r){"use strict";var n=r(0),o=r(2);t.a=function(e){var t,r,c=e.shortcut,a=e.className;return c?(Object(o.isString)(c)&&(t=c),Object(o.isObject)(c)&&(t=c.display,r=c.ariaLabel),Object(n.createElement)("span",{className:a,"aria-label":r},t)):null}},9:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},94:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g,c=r(73),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=c.assign({default:a.RFC3986,formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return String(e)}}},a)},95:function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return a}));r(2);var n=window,o=(n.DOMParser,n.getComputedStyle,window.Node);o.TEXT_NODE,o.ELEMENT_NODE,o.DOCUMENT_POSITION_PRECEDING,o.DOCUMENT_POSITION_FOLLOWING;function c(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var r=t.parentNode,n=Array.from(r.childNodes).indexOf(t);(e=document.createRange()).setStart(r,n),e.setEnd(r,n)}var o=e.getClientRects()[0];if(!o){var c=document.createTextNode("");(e=e.cloneRange()).insertNode(c),o=e.getClientRects()[0],c.parentNode.removeChild(c)}return o}function a(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return a(e.parentNode)}}},96:function(e,t,r){"use strict";var n=r(6),o=r(12),c=r(14),a=r(0),i=r(32),s=r(75);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){var t=e.icon,r=void 0===t?null:t,n=e.size,u=Object(c.a)(e,["icon","size"]),f=n||20;if("string"==typeof r)return Object(a.createElement)(s.a,Object(o.a)({icon:r,size:f},u));if(r&&s.a===r.type)return Object(a.cloneElement)(r,l({size:f},u));var d=n||24;if("function"==typeof r)return r.prototype instanceof a.Component?Object(a.createElement)(r,l({size:d},u)):r(l({size:d},u));if(r&&("svg"===r.type||r.type===i.b)){var p=l({width:d,height:d},r.props,{},u);return Object(a.createElement)(i.b,p)}return Object(a.isValidElement)(r)?Object(a.cloneElement)(r,l({size:d},u)):r}},97:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(11),a=r(4),i=r(10),s=r(0),u=r(2),l=r(82),f=r(89);function d(){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}}var p=function(e){Object(i.a)(p,e);var t,r=(t=p,function(){var e,r=Object(a.a)(t);if(d()){var n=Object(a.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(c.a)(this,e)});function p(){var e;return Object(n.a)(this,p),(e=r.apply(this,arguments)).delayedSetIsOver=Object(u.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(o.a)(p,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var r=this.props.children;if(1===s.Children.count(r)){var n=s.Children.only(r);"function"==typeof n.props[e]&&n.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var r=this;return function(n){if(r.emitToChild(e,n),!(n.currentTarget.disabled||"focus"===n.type&&r.isInMouseDown)){r.delayedSetIsOver.cancel();var o=Object(u.includes)(["focus","mouseenter"],n.type);o!==r.state.isOver&&(t?r.delayedSetIsOver(o):r.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(r){t.emitToChild(e?"onMouseDown":"onMouseUp",r),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.position,n=e.text,o=e.shortcut;if(1!==s.Children.count(t))return t;var c=s.Children.only(t),a=this.state.isOver;return Object(s.cloneElement)(c,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(s.concatChildren)(c.props.children,a&&Object(s.createElement)(l.a,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},n,Object(s.createElement)(f.a,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),p}(s.Component);t.a=p},98:function(e,t,r){"use strict";r.d(t,"a",(function(){return O})),r.d(t,"c",(function(){return z})),r.d(t,"b",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"d",(function(){return p}));var n=r(12);function o(e){return"/"===e.charAt(0)}function c(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}var a=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],a=t&&t.split("/")||[],i=e&&o(e),s=t&&o(t),u=i||s;if(e&&o(e)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";if(a.length){var l=a[a.length-1];r="."===l||".."===l||""===l}else r=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?c(a,d):".."===p?(c(a,d),f++):f&&(c(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h};function i(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var n=i(t),o=i(r);return n!==t||o!==r?e(n,o):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1},u=r(79);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function h(e,t,r,o){var c;"string"==typeof e?(c=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var c=t.indexOf("?");return-1!==c&&(r=t.substr(c),t=t.substr(0,c)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e)).state=t:(void 0===(c=Object(n.a)({},e)).pathname&&(c.pathname=""),c.search?"?"!==c.search.charAt(0)&&(c.search="?"+c.search):c.search="",c.hash?"#"!==c.hash.charAt(0)&&(c.hash="#"+c.hash):c.hash="",void 0!==t&&void 0===c.state&&(c.state=t));try{c.pathname=decodeURI(c.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+c.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(c.key=r),o?c.pathname?"/"!==c.pathname.charAt(0)&&(c.pathname=a(c.pathname,o.pathname)):c.pathname=o.pathname:c.pathname||(c.pathname="/"),c}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var c="function"==typeof e?e(t,r):e;"string"==typeof c?"function"==typeof n?n(c,o):o(!0):o(!1!==c)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function O(e){void 0===e&&(e={}),b||Object(u.a)(!1);var t,r=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,c=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,i=a.forceRefresh,s=void 0!==i&&i,v=a.getUserConfirmation,O=void 0===v?y:v,w=a.keyLength,z=void 0===w?6:w,j=e.basename?d(l(e.basename)):"";function k(e){var t=e||{},r=t.key,n=t.state,o=window.location,c=o.pathname+o.search+o.hash;return j&&(c=f(c,j)),h(c,n,r)}function M(){return Math.random().toString(36).substr(2,z)}var H=m();function E(e){Object(n.a)(D,e),D.length=r.length,H.notifyListeners(D.location,D.action)}function V(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||S(k(e.state))}function C(){S(k(g()))}var x=!1;function S(e){if(x)x=!1,E();else{H.confirmTransitionTo(e,"POP",O,(function(t){t?E({action:"POP",location:e}):function(e){var t=D.location,r=_.indexOf(t.key);-1===r&&(r=0);var n=_.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(x=!0,L(o))}(e)}))}}var P=k(g()),_=[P.key];function R(e){return j+p(e)}function L(e){r.go(e)}var A=0;function T(e){1===(A+=e)&&1===e?(window.addEventListener("popstate",V),c&&window.addEventListener("hashchange",C)):0===A&&(window.removeEventListener("popstate",V),c&&window.removeEventListener("hashchange",C))}var N=!1;var D={length:r.length,action:"POP",location:P,createHref:R,push:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"PUSH",O,(function(e){if(e){var t=R(n),c=n.key,a=n.state;if(o)if(r.pushState({key:c,state:a},null,t),s)window.location.href=t;else{var i=_.indexOf(D.location.key),u=_.slice(0,i+1);u.push(n.key),_=u,E({action:"PUSH",location:n})}else window.location.href=t}}))},replace:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"REPLACE",O,(function(e){if(e){var t=R(n),c=n.key,a=n.state;if(o)if(r.replaceState({key:c,state:a},null,t),s)window.location.replace(t);else{var i=_.indexOf(D.location.key);-1!==i&&(_[i]=n.key),E({action:"REPLACE",location:n})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=H.setPrompt(e);return N||(T(1),N=!0),function(){return N&&(N=!1,T(-1)),t()}},listen:function(e){var t=H.appendListener(e);return T(1),function(){T(-1),t()}}};return D}function w(e,t,r){return Math.min(Math.max(e,t),r)}function z(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,o=t.initialEntries,c=void 0===o?["/"]:o,a=t.initialIndex,i=void 0===a?0:a,s=t.keyLength,u=void 0===s?6:s,l=m();function f(e){Object(n.a)(O,e),O.length=O.entries.length,l.notifyListeners(O.location,O.action)}function d(){return Math.random().toString(36).substr(2,u)}var v=w(i,0,c.length-1),b=c.map((function(e){return h(e,void 0,"string"==typeof e?d():e.key||d())})),y=p;function g(e){var t=w(O.index+e,0,O.entries.length-1),n=O.entries[t];l.confirmTransitionTo(n,"POP",r,(function(e){e?f({action:"POP",location:n,index:t}):f()}))}var O={length:b.length,action:"POP",location:b[v],index:v,entries:b,createHref:y,push:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"PUSH",r,(function(e){if(e){var t=O.index+1,r=O.entries.slice(0);r.length>t?r.splice(t,r.length-t,n):r.push(n),f({action:"PUSH",location:n,index:t,entries:r})}}))},replace:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"REPLACE",r,(function(e){e&&(O.entries[O.index]=n,f({action:"REPLACE",location:n}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=O.index+e;return t>=0&&t<O.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return O}}});
|
1 |
/*! For license information please see index.min.js.LICENSE.txt */
|
2 |
+
this.wc=this.wc||{},this.wc.app=function(e){function t(t){for(var r,n,c=t[0],a=t[1],i=0,s=[];i<c.length;i++)n=c[i],Object.prototype.hasOwnProperty.call(o,n)&&o[n]&&s.push(o[n][0]),o[n]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r]);for(u&&u(t);s.length;)s.shift()()}var r={},n={20:0},o={20:0};function c(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,c),n.l=!0,n.exports}c.e=function(e){var t=[];n[e]?t.push(n[e]):0!==n[e]&&{0:1,5:1,7:1,8:1,9:1,14:1,19:1,25:1,26:1,29:1,30:1,32:1,34:1,42:1,43:1,44:1,45:1}[e]&&t.push(n[e]=new Promise((function(t,r){for(var o="rtl"===document.dir?"./chunks/"+e+".style.rtl.css":"./chunks/"+e+".style.css",a=c.p+o,i=document.getElementsByTagName("link"),s=0;s<i.length;s++){var u=(f=i[s]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(u===o||u===a))return t()}var l=document.getElementsByTagName("style");for(s=0;s<l.length;s++){var f;if((u=(f=l[s]).getAttribute("data-href"))===o||u===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.setAttribute("data-webpack",!0),d.onload=t,d.onerror=function(t){var o=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=o,delete n[e],d.parentNode.removeChild(d),r(c)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){n[e]=0})));var r=o[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=a);var i,s=document.createElement("script");s.charset="utf-8",s.timeout=120,c.nc&&s.setAttribute("nonce",c.nc),s.src=function(e){return c.p+"chunks/"+e+"."+{0:"b613ade91494d4c2a4aa",1:"e1c8e02fb4cc487e41ea",2:"9367ee984c36b762467c",3:"f7c0fca32cdac1ba4add",4:"27a2fa3f1ef8662ba455",5:"88800d5332efd00d661a",6:"1448f4d44ec82e35e704",7:"986a96b93c825fd75d99",8:"3c33b2acea1dd5f9e047",9:"7678440a2bf8e0b752a5",10:"6e5e757ab15373ddf47c",11:"b3e2eb89a0181fa5e2f2",12:"81a5de16019a0cc85173",13:"2a0a9c9a9543a94e0408",14:"49811bcba1b9d3f84157",15:"413a29db1c4e7f2eefdb",16:"1a3c8e4420d552b12da0",17:"b72560c96ee6b8cc0379",18:"641586025741e6eaf968",19:"bb66eb756cb7200836eb",24:"3a1a8cd8126dd8c7a4d6",25:"22002b888fd496ab0bcb",26:"cce7c721f8ea92c47345",29:"4ab42baaccb89976d92e",30:"2910fc66eb31471072a4",32:"8359029241f4148734e6",34:"f8697c1d31eca3b1de52",42:"cee7c33db46f1ba078f3",43:"3ffb01d324ece1a04891",44:"e536ad012d121468cce4",45:"d4b033fe8c12f18923f4",46:"10842de43f92da5a9043",47:"29a2aff1aafb89a2d76b",48:"eb11cd8899cc6d720e4b",49:"2c848b23640e3ac781cf"}[e]+".min.js"}(e);var u=new Error;i=function(t){s.onerror=s.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",u.name="ChunkLoadError",u.type=n,u.request=c,r[1](u)}o[e]=void 0}};var l=setTimeout((function(){i({type:"timeout",target:s})}),12e4);s.onerror=s.onload=i,document.head.appendChild(s)}return Promise.all(t)},c.m=e,c.c=r,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="",c.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],i=a.push.bind(a);a.push=t,a=a.slice();for(var s=0;s<a.length;s++)t(a[s]);var u=i;return c(c.s=434)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t,r){e.exports=r(113)()},10:function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(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&&n(e,t)}r.d(t,"a",(function(){return o}))},101:function(e,t,r){"use strict";var n=r(80),o=r.n(n),c=r(38),a=r.n(c),i=r(37),s=r.n(i),u=r(62),l=r.n(u),f=r(39),d=r.n(f),p=r(42),h=r.n(p),v=r(26),m=r.n(v),b=r(0),y=r(2),g=r(65),O=r.n(g),w=r(54),z=r(18);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 r,n=m()(e);if(t){var o=m()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return h()(this,r)}}t.a=function(e){return Object(w.a)((function(t){var r={},n=function(n){d()(i,n);var c=j(i);function i(e){var t;return a()(this,i),(t=c.call(this,e)).onStoreChange=t.onStoreChange.bind(l()(t)),t.subscribe(e.registry),t.onUnmounts={},t.mergeProps=t.getNextMergeProps(e),t}return s()(i,[{key:"getNextMergeProps",value:function(t){var n=this,o={},c=[],a={component:this},i=e((function(e){return o[e]||function(e,t,r){var a=t.select(e);if(Object(y.isFunction)(a)){var i=a(r),s=i.selectors,u=i.onComplete,l=i.onUnmount;u&&c.push(u),l&&(n.onUnmounts[e]=l),o[e]=s}else o[e]=a}(e,t.registry,a),o[e]}),t.ownProps)||r;return c.forEach((function(e){return e()})),i}},{key:"componentDidMount",value:function(){this.canRunSelection=!0,this.hasQueuedSelection&&(this.hasQueuedSelection=!1,this.onStoreChange())}},{key:"componentWillUnmount",value:function(){var e=this;this.canRunSelection=!1,this.unsubscribe(),Object.keys(this.onUnmounts).forEach((function(t){return e.onUnmounts[t]()}))}},{key:"shouldComponentUpdate",value:function(e,t){var r=e.registry!==this.props.registry;r&&(this.unsubscribe(),this.subscribe(e.registry));var n=r||!O()(this.props.ownProps,e.ownProps);if(this.state===t&&!n)return!1;if(n){var o=this.getNextMergeProps(e);O()(this.mergeProps,o)||(this.mergeProps=o)}return!0}},{key:"onStoreChange",value:function(){if(this.canRunSelection){var e=this.getNextMergeProps(this.props);O()(this.mergeProps,e)||(this.mergeProps=e,this.setState({}))}else this.hasQueuedSelection=!0}},{key:"subscribe",value:function(e){this.unsubscribe=e.subscribe(this.onStoreChange)}},{key:"render",value:function(){return Object(b.createElement)(t,o()({},this.props.ownProps,this.mergeProps))}}]),i}(b.Component);return function(e){return Object(b.createElement)(z.RegistryConsumer,null,(function(t){return Object(b.createElement)(n,{ownProps:e,registry:t})}))}}),"withSelect")}},108:function(e,t,r){"use strict";var n=r(24);r.d(t,"k",(function(){return n.isoDateFormat})),r.d(t,"a",(function(){return n.appendTimestamp})),r.d(t,"h",(function(){return n.getDateParamsFromQuery})),r.d(t,"f",(function(){return n.getCurrentDates})),r.d(t,"j",(function(){return n.getPreviousDate})),r.d(t,"d",(function(){return n.getAllowedIntervalsForQuery})),r.d(t,"i",(function(){return n.getIntervalForQuery})),r.d(t,"e",(function(){return n.getChartTypeForQuery})),r.d(t,"c",(function(){return n.defaultTableDateFormat})),r.d(t,"g",(function(){return n.getDateFormatsForInterval})),r.d(t,"b",(function(){return n.dateValidationMessages}))},109:function(e,t,r){"use strict";function n(e){return function(){return e}}var o=function(){};o.thatReturns=n,o.thatReturnsFalse=n(!1),o.thatReturnsTrue=n(!0),o.thatReturnsNull=n(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(40),o=r(5);function c(e,t){return!t||"object"!==Object(n.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},111:function(e,t){!function(){e.exports=this.wc.currency}()},113:function(e,t,r){"use strict";var n=r(114);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,c,a){if(a!==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 r={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:c,resetWarningCache:o};return r.PropTypes=r,r}},114:function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},115:function(e,t,r){"use strict";var n=r(73),o=r(94),c=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},i=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,i(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,r,o,c,a,s,l,f,p,h,v,m,b){var y,g=t;if("function"==typeof l?g=l(r,g):g instanceof Date?g=h(g):"comma"===o&&i(g)&&(g=g.join(",")),null===g){if(c)return s&&!m?s(r,d.encoder,b,"key"):r;g=""}if("string"==typeof(y=g)||"number"==typeof y||"boolean"==typeof y||"symbol"==typeof y||"bigint"==typeof y||n.isBuffer(g))return s?[v(m?r:s(r,d.encoder,b,"key"))+"="+v(s(g,d.encoder,b,"value"))]:[v(r)+"="+v(String(g))];var O,w=[];if(void 0===g)return w;if(i(l))O=l;else{var z=Object.keys(g);O=f?z.sort(f):z}for(var j=0;j<O.length;++j){var k=O[j];a&&null===g[k]||(i(g)?u(w,e(g[k],"function"==typeof o?o(r,k):r,o,c,a,s,l,f,p,h,v,m,b)):u(w,e(g[k],r+(p?"."+k:"["+k+"]"),o,c,a,s,l,f,p,h,v,m,b)))}return w};e.exports=function(e,t){var r,n=e,s=function(e){if(!e)return d;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||d.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==e.format){if(!c.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=o.formatters[r],a=d.filter;return("function"==typeof e.filter||i(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:d.addQueryPrefix,allowDots:void 0===e.allowDots?d.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:d.charsetSentinel,delimiter:void 0===e.delimiter?d.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:d.encode,encoder:"function"==typeof e.encoder?e.encoder:d.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:d.encodeValuesOnly,filter:a,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:d.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:d.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:d.strictNullHandling}}(t);"function"==typeof s.filter?n=(0,s.filter)("",n):i(s.filter)&&(r=s.filter);var l,f=[];if("object"!=typeof n||null===n)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=a[l];r||(r=Object.keys(n)),s.sort&&r.sort(s.sort);for(var v=0;v<r.length;++v){var m=r[v];s.skipNulls&&null===n[m]||u(f,p(n[m],m,h,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.formatter,s.encodeValuesOnly,s.charset))}var b=f.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},116:function(e,t,r){"use strict";var n=r(73),o=Object.prototype.hasOwnProperty,c=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t){if(c(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},l=function(e,t,r,n){if(e){var c=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,i=r.depth>0&&/(\[[^[\]]*])/.exec(c),u=i?c.slice(0,i.index):c,l=[];if(u){if(!r.plainObjects&&o.call(Object.prototype,u)&&!r.allowPrototypes)return;l.push(u)}for(var f=0;r.depth>0&&null!==(i=a.exec(c))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,i[1].slice(1,-1))&&!r.allowPrototypes)return;l.push(i[1])}return i&&l.push("["+c.slice(i.index)+"]"),function(e,t,r,n){for(var o=n?t:s(t,r),c=e.length-1;c>=0;--c){var a,i=e[c];if("[]"===i&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var u="["===i.charAt(0)&&"]"===i.charAt(i.length-1)?i.slice(1,-1):i,l=parseInt(u,10);r.parseArrays||""!==u?!isNaN(l)&&i!==u&&String(l)===u&&l>=0&&r.parseArrays&&l<=r.arrayLimit?(a=[])[l]=o:a[u]=o:a={0:o}}o=a}return o}(l,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var f="string"==typeof e?function(e,t){var r,l={},f=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,p=f.split(t.delimiter,d),h=-1,v=t.charset;if(t.charsetSentinel)for(r=0;r<p.length;++r)0===p[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[r]?v="utf-8":"utf8=%26%2310003%3B"===p[r]&&(v="iso-8859-1"),h=r,r=p.length);for(r=0;r<p.length;++r)if(r!==h){var m,b,y=p[r],g=y.indexOf("]="),O=-1===g?y.indexOf("="):g+1;-1===O?(m=t.decoder(y,a.decoder,v,"key"),b=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,O),a.decoder,v,"key"),b=u(s(y.slice(O+1),t),(function(e){return t.decoder(e,a.decoder,v,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===v&&(b=i(b)),y.indexOf("[]=")>-1&&(b=c(b)?[b]:b),o.call(l,m)?l[m]=n.combine(l[m],b):l[m]=b}return l}(e,r):e,d=r.plainObjects?Object.create(null):{},p=Object.keys(f),h=0;h<p.length;++h){var v=p[h],m=l(v,f[v],r,"string"==typeof e);d=n.merge(d,m,r)}return n.compact(d)}},117:function(e,t,r){"use strict";var n=Object.keys;e.exports=function(e,t){var r,o,c,a,i;if(e===t)return!0;if(r=n(e),o=n(t),r.length!==o.length)return!1;for(c=0;c<r.length;){if(void 0===(i=e[a=r[c]])&&!t.hasOwnProperty(a)||i!==t[a])return!1;c++}return!0}},118:function(e,t,r){"use strict";e.exports=function(e,t){var r;if(e===t)return!0;if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}},119:function(e,t,r){"use strict";e.exports=function(e){function t(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return n.colors[Math.abs(t)%n.colors.length]}function n(e){var r;function a(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(a.enabled){var c=a,i=Number(new Date),s=i-(r||i);c.diff=s,c.prev=r,c.curr=i,r=i,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return e;u++;var o=n.formatters[r];if("function"==typeof o){var a=t[u];e=o.call(c,a),t.splice(u,1),u--}return e})),n.formatArgs.call(c,t);var l=c.log||n.log;l.apply(c,t)}}return a.namespace=e,a.enabled=n.enabled(e),a.useColors=n.useColors(),a.color=t(e),a.destroy=o,a.extend=c,"function"==typeof n.init&&n.init(a),n.instances.push(a),a}function o(){var e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function c(e,t){var r=n(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){var e=[].concat(n.names.map(a),n.skips.map(a).map((function(e){return"-"+e}))).join(",");return n.enable(""),e},n.enable=function(e){var t;n.save(e),n.names=[],n.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(t=0;t<o;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){var c=n.instances[t];c.enabled=n.enabled(c.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=r(120),Object.keys(e).forEach((function(t){n[t]=e[t]})),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},12:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return n}))},120:function(e,t){var r=1e3,n=6e4,o=60*n,c=24*o;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,t){t=t||{};var i=typeof e;if("string"===i&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*c;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===i&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=c)return a(e,t,c,"day");if(t>=o)return a(e,t,o,"hour");if(t>=n)return a(e,t,n,"minute");if(t>=r)return a(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=c)return Math.round(e/c)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},126:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},127:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(70);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"polite",t=document.createElement("div");t.id="a11y-speak-".concat(e),t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var r=document,n=r.body;return n&&n.appendChild(t),t}var c="";function a(e,t){!function(){for(var e=document.getElementsByClassName("a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=function(e){return e=e.replace(/<[^<>]+>/g," "),c===e&&(e+=" "),c=e,e}(e);var r=document.getElementById("a11y-speak-assertive"),n=document.getElementById("a11y-speak-polite");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}Object(n.a)((function(){var e=document.getElementById("a11y-speak-assertive"),t=document.getElementById("a11y-speak-polite");null===e&&o("assertive"),null===t&&o("polite")}))},129:function(e,t,r){var n=r(273);e.exports=function(e,t){if(null==e)return{};var r,o,c=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},13:function(e,t){!function(){e.exports=this.React}()},14:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(46);function o(e,t){if(null==e)return{};var r,o,c=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},147:function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},148:function(e,t,r){"use strict";var n=r(13),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,c=r(109),a=r(149),i=r(150),s="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(r=e.key,n={"=":"=0",":":"=2"},"$"+(""+r).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function l(e,t,r,n){var c,i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===o)return r(n,e,""===t?"."+u(e,0):t),1;var f=0,d=""===t?".":t+":";if(Array.isArray(e))for(var p=0;p<e.length;p++)f+=l(c=e[p],d+u(c,p),r,n);else{var h=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var v,m=h.call(e),b=0;!(v=m.next()).done;)f+=l(c=v.value,d+u(c,b++),r,n)}else if("object"===i){0;var y=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,"")}}return f}var f=/\/+/g;function d(e){return(""+e).replace(f,"$&/")}var p,h,v=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},b=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function y(e,t,r,n){this.result=e,this.keyPrefix=t,this.func=r,this.context=n,this.count=0}function g(e,t,r){var o,a,i=e.result,s=e.keyPrefix,u=e.func,l=e.context,f=u.call(l,t,e.count++);Array.isArray(f)?O(f,i,r,c.thatReturnsArgument):null!=f&&(n.isValidElement(f)&&(o=f,a=s+(!f.key||t&&t.key===f.key?"":d(f.key)+"/")+r,f=n.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),i.push(f))}function O(e,t,r,n,o){var c="";null!=r&&(c=d(r)+"/");var a=y.getPooled(t,c,n,o);!function(e,t,r){null==e||l(e,"",t,r)}(e,g,a),y.release(a)}y.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,r,n){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,r,n),o}return new this(e,t,r,n)},(h=y).instancePool=[],h.getPooled=p||v,h.poolSize||(h.poolSize=10),h.release=b;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(n.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var r in e)O(e[r],t,r,c.thatReturnsArgument);return t}},149:function(e,t,r){"use strict";e.exports=function(e,t,r,n,o,c,a,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,c,a,i],l=0;(s=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},15:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(30);var o=r(49);function c(e){return function(e){if(Array.isArray(e))return Object(n.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},150:function(e,t,r){"use strict";var n=r(109);e.exports=n},151:function(e,t,r){"use strict";function n(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}},152:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},16:function(e,t){!function(){e.exports=this.moment}()},169:function(e,t,r){"use strict";var n=r(2);t.a=n.flowRight},17:function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},170:function(e,t,r){"use strict";r.d(t,"a",(function(){return x})),r.d(t,"b",(function(){return M})),r.d(t,"c",(function(){return k}));var n=r(76),o=r.n(n),c=r(68),a=r(12),i=r(87),s=r.n(i),u=r(2);function l(e,t,r,n,o){void 0===r&&(r=500),void 0===n&&(n=3e4),void 0===o&&(o=new Date);var c={updates:[],nextUpdate:n};return function(e,t,r,n){Object.keys(t).forEach((function(o){var c=t[o],a=r[o]||{};!function(e,t,r,n,o){var c=n.lastRequested,a=n.lastReceived,i=c&&(!a||c>a),s=f(r.timeout,n,o),u=d(r.freshness,n,o),l=i&&0>=u?s:u;e.nextUpdate=Math.min(e.nextUpdate,l),l<0&&e.updates.push(t)}(e,o,c,a,n)}))}(c,e,t,o),c.nextUpdate=Math.max(c.nextUpdate,r),c}function f(e,t,r){var n=t.lastRequested||Number.MIN_SAFE_INTEGER,o=t.lastReceived||Number.MIN_SAFE_INTEGER;return e&&n&&n>o?e-(r-n):Number.MAX_SAFE_INTEGER}function d(e,t,r){var n=t.lastReceived;return e&&n?e-(r-n):e?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER}var p=r(46),h="overdue",v="fetching",m="stale",b="fresh",y="notRequired";function g(e){var t=e.state.resources||{},r=e.requirementsByResource;return Object(u.union)(Object.keys(t),Object.keys(r)).reduce((function(n,o){var c=t[o]||{},i=c.data,s=function(e,t){if(!t)return y;var r=t.freshness,n=t.timeout,o=new Date,c=d(r,e,o);if(e&&e.lastRequested>e.lastReceived){return f(n,e,o)<0?h:v}if(c<0)return m;return b}(c,r[o]),l=function(e,t,r){var n=new Date;switch(e){case h:return"Timed out for "+O(-f(r.timeout,t,n));case v:return O(f(r.timeout,t,n))+" until timeout";case m:return"Stale for "+O(-d(r.freshness,t,n));case b:return"Fresh for "+O(d(r.freshness,t,n));case y:default:return"Resource is not fetched directly."}}(s,c,r[o]);if(n[o]={status:s,summary:l,data:i},r[o]){var g=function(e){void 0===e&&(e={});var t=e,r=t.freshness,n=t.timeout,o=Object(p.a)(t,["freshness","timeout"]);return Object(a.a)({freshness:O(r),timeout:O(n)},o)}(r[o]),w=function(e,t){var r=[];return e.forEach((function(e,n){Object(u.find)(e,{resourceName:t})&&r.push(n)})),r.length?r:null}(e.requirementsByComponent,o);n[o].combinedRequirement=g,n[o].componentsRequiring=w}return n}),{})}function O(e){if(!e)return"";var t=Math.floor(e/36e5);e-=36e5*t;var r=Math.floor(e/6e4),n=(e-=6e4*r)/1e3,o="";return o=t?t+" hours ":o,o=r?""+o+r+" mins ":o,o=n?""+o+n+" secs ":o}function w(e){var t=Object.keys(e),r=[],n=0,o=0,c=0,a=0,i=0;t.forEach((function(t){var s=e[t];switch(r=Object(u.union)(r,s.componentsRequiring),s.status){case h:c++;break;case v:a++;break;case m:o++;break;case b:n++;break;case y:i++}}));var s=t.length+" resources, "+r.length+" components ( ";return n&&(s+=n+" fresh "),o&&(s+=o+" stale "),i&&(s+=i+" not required "),c&&(s+=c+" timed out "),a&&(s+=a+" fetching "),s+=")"}var z={};function j(e){!0===window.__FRESH_DATA_DEV_INFO__&&(z[e.getName()]=function(e){var t=function(e){var t=[];return e.requirementsByComponent.forEach((function(e,r){t.push({component:r,requirements:e})})),t}(e),r=g(e);return{summary:w(r),resources:r,components:t}}(e),window.freshData||(window.freshData=z))}var k=1e3,M=60*k,H={freshness:Number.MAX_SAFE_INTEGER,timeout:20*k};function E(e){var t={};return e.forEach((function(e){e.forEach((function(e){var r=e.resourceName,n=Object(p.a)(e,["resourceName"]);!function(e,t,r){var n=e[r]||Object(a.a)({},H);(function(e,t){var r=e.freshness||H.freshness,n=e.timeout||H.timeout,o=t.freshness||Number.MAX_SAFE_INTEGER,c=t.timeout||Number.MAX_SAFE_INTEGER;e.freshness=Math.min(r,o),e.timeout=Math.min(n,c)})(n,t),e[r]=n}(t,n,r)}))})),t}function V(e,t){return window.setTimeout(e,t)}function C(e){return window.clearTimeout(e)}var x=function(e,t,r){var n=this;void 0===t&&(t=V),void 0===r&&(r=C),this.getName=function(){return n.name||"UID_"+n.uid},this.mapOperations=function(e){return Object.keys(e).reduce((function(t,r){return t[r]=function(t,o){var c=e[r];return n.applyOperation(c,t,o)},t}),{})},this.setDataHandlers=function(e){var t=e.dataRequested,r=e.dataReceived;n.dataHandlers={dataRequested:t,dataReceived:r}},this.setState=function(e,t){void 0===t&&(t=new Date),n.state!==e&&(n.state=e,n.updateTimer(t),n.subscriptionCallbacks.forEach((function(e){return e(n)})),j(n))},this.subscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.debug("Attempting to add a subscription callback twice:",e),!1):(n.subscriptionCallbacks.add(e),e)},this.unsubscribe=function(e){return n.subscriptionCallbacks.has(e)?(n.subscriptionCallbacks.delete(e),e):(n.debug("Attempting to remove a callback that is not subscribed:",e),!1)},this.getResource=function(e){return(n.state.resources||{})[e]||{}},this.requireResource=function(e){return function(t,r){return e.push(Object(a.a)({},t,{resourceName:r})),n.getResource(r)}},this.getMutations=function(){return n.mutations},this.getSelectors=function(e){return S(n.selectors,n.getResource,n.requireResource(e))},this.clearComponentRequirements=function(e,t){void 0===t&&(t=new Date),n.requirementsByComponent.delete(e),n.updateRequirementsByResource(t)},this.setComponentRequirements=function(e,t,r){void 0===r&&(r=new Date),n.requirementsByComponent.set(e,t),n.updateRequirementsByResource(r)},this.setComponentData=function(e,t,r){if(void 0===r&&(r=new Date),t){var o=[];t(n.getSelectors(o)),n.setComponentRequirements(e,o,r)}else n.clearComponentRequirements(e,r)},this.updateRequirementsByResource=function(e){void 0===e&&(e=new Date);var t=E(n.requirementsByComponent);Object(u.isEqual)(n.requirementsByResource,t)||(n.requirementsByResource=t,n.updateTimer(e))},this.updateRequirementsData=function(){var e=Object(c.a)(o.a.mark((function e(t){var r,c,a,i,s,f,d,p,h,v,m,b;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.requirementsByComponent,c=n.requirementsByResource,a=n.state,i=n.minUpdate,s=n.maxUpdate,f=a.resources||{},d=r.size,p=Object.keys(c).length,n.debug("Updating requirements for "+d+" components and "+p+" resources."),j(n),Object(u.isEmpty)(c)){e.next=20;break}if(h=l(c,f,i,s,t),v=h.nextUpdate,!((m=h.updates)&&m.length>0)){e.next=15;break}if(b=n.readOperationName,n.operations[b]){e.next=13;break}throw new Error('Operation "'+b+'" not found.');case 13:return e.next=15,n.operations[b](m);case 15:n.debug("Scheduling next update for "+v/1e3+" seconds."),j(n),n.updateTimer(t,v),e.next=21;break;case 20:n.timeoutId&&(n.debug("Unscheduling future updates"),j(n),n.updateTimer(t,null));case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.updateTimer=function(e,t){void 0===t&&(t=void 0);var r=n.requirementsByResource,o=n.state,c=n.minUpdate,a=n.maxUpdate,i=o.resources||{};void 0===t&&(t=l(r,i,c,a,e).nextUpdate),n.timeoutId&&(n.clearTimer(n.timeoutId),n.timeoutId=null),t&&(n.timeoutId=n.setTimer(n.updateRequirementsData,t))},this.applyOperation=function(){var e=Object(c.a)(o.a.mark((function e(t,r,a){var i,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n.dataRequested(r),i=t(r,a)||[],s=Object(u.isArray)(i)?i:[i],l=s.map(function(){var e=Object(c.a)(o.a.mark((function e(t){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:return r=e.sent,n.dataReceived(r),e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=7,Promise.all(l);case 7:return e.abrupt("return",e.sent);case 10:throw e.prev=10,e.t0=e.catch(0),n.debug("Error caught while applying operation: ",t),e.t0;case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t,r,n){return e.apply(this,arguments)}}(),this.dataRequested=function(e){if(n.dataHandlers)return n.dataHandlers.dataRequested(e),e;n.debug("Data requested before dataHandlers set. Disregarding.")},this.dataReceived=function(e){if(n.dataHandlers)return n.dataHandlers.dataReceived(e),e;n.debug("Data received before dataHandlers set. Disregarding.")};var i=e.operations,f=e.mutations,d=e.selectors,p=e.readOperationName||"read";this.uid=Object(u.uniqueId)(),this.name=e.name,this.debug=s()("fresh-data:api-client["+this.uid+"]"),this.debug("New ApiClient for apiSpec: ",e),this.operations=i&&this.mapOperations(i),this.mutations=f&&S(f,this.operations),this.selectors=d,this.readOperationName=p,this.dataHandlers=null,this.subscriptionCallbacks=new Set,this.requirementsByComponent=new Map,this.requirementsByResource={},this.minUpdate=500,this.maxUpdate=3e4,this.setTimer=t,this.clearTimer=r,this.timeoutId=null,this.state={},j(this)};function S(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Object.keys(e).reduce((function(t,n){return t[n]=e[n].apply(e,r),t}),{})}},172:function(e,t,r){var n=r(152);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}},176:function(e,t,r){"use strict";e.exports=r(210)},18:function(e,t){!function(){e.exports=this.wp.data}()},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(49);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,c=e}finally{try{n||null==i.return||i.return()}finally{if(o)throw c}}return r}}(e,t)||Object(n.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},194:function(e,t,r){"use strict";var n=r(176),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function s(e){return n.isMemo(e)?a:i[e.$$typeof]||o}i[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var i=s(t),v=s(r),m=0;m<a.length;++m){var b=a[m];if(!(c[b]||n&&n[b]||v&&v[b]||i&&i[b])){var y=d(r,b);try{u(t,b,y)}catch(e){}}}}return t}},196:function(e,t,r){"use strict";var n=r(3),o=r(48),c=r(0),a=r(23),i=r(197),s=Object(a.g)("manageStock","no"),u=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(16)]).then(r.bind(null,738))})),l=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(5),r.e(15)]).then(r.bind(null,739))})),f=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(14)]).then(r.bind(null,740))})),d=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(5),r.e(10)]).then(r.bind(null,736))})),p=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(11)]).then(r.bind(null,741))})),h=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(18)]).then(r.bind(null,742))})),v=Object(c.lazy)((function(){return Promise.all([r.e(2),r.e(0),r.e(13)]).then(r.bind(null,743))})),m=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(17)]).then(r.bind(null,735))})),b=Object(c.lazy)((function(){return Promise.all([r.e(0),r.e(12)]).then(r.bind(null,737))}));t.a=function(){var e=[{report:"revenue",title:Object(n.__)("Revenue","woocommerce-admin"),component:u},{report:"products",title:Object(n.__)("Products","woocommerce-admin"),component:l},{report:"orders",title:Object(n.__)("Orders","woocommerce-admin"),component:f},{report:"categories",title:Object(n.__)("Categories","woocommerce-admin"),component:d},{report:"coupons",title:Object(n.__)("Coupons","woocommerce-admin"),component:p},{report:"taxes",title:Object(n.__)("Taxes","woocommerce-admin"),component:h},{report:"downloads",title:Object(n.__)("Downloads","woocommerce-admin"),component:v},"yes"===s?{report:"stock",title:Object(n.__)("Stock","woocommerce-admin"),component:m}:null,{report:"customers",title:Object(n.__)("Customers","woocommerce-admin"),component:b},{report:"downloads",title:Object(n.__)("Downloads","woocommerce-admin"),component:v}].filter(Boolean);return Object(o.applyFilters)(i.REPORTS_FILTER,e)}},197:function(e,t,r){"use strict";r.r(t),r.d(t,"REPORTS_FILTER",(function(){return x}));var n=r(17),o=r.n(n),c=r(38),a=r.n(c),i=r(37),s=r.n(i),u=r(39),l=r.n(u),f=r(42),d=r.n(f),p=r(26),h=r.n(p),v=r(0),m=r(169),b=r(1),y=r.n(b),g=r(2),O=r(53),w=r(22),z=(r(439),r(261)),j=r(274),k=r(101),M=r(200),H=r(196);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function V(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function C(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 r,n=h()(e);if(t){var o=h()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d()(this,r)}}var x="woocommerce_admin_reports_list",S=function(e){var t=e.params,r=e.path;return t.report||r.replace(/^\/+/,"")},P=function(e){l()(r,e);var t=C(r);function r(){var e;return a()(this,r),(e=t.apply(this,arguments)).state={hasError:!1},e}return s()(r,[{key:"componentDidCatch",value:function(e){this.setState({hasError:!0}),console.warn(e)}},{key:"render",value:function(){if(this.state.hasError)return null;if(this.props.isError)return Object(v.createElement)(z.a,{isError:!0});var e=S(this.props),t=Object(g.find)(Object(H.a)(),{report:e});if(!t)return null;var r=t.component;return Object(v.createElement)(M.a.Provider,{value:Object(M.b)(Object(w.getQuery)())},Object(v.createElement)(r,this.props))}}]),r}(v.Component);P.propTypes={params:y.a.object.isRequired},t.default=Object(m.a)(Object(O.useFilters)(x),Object(k.a)((function(e,t){var r=Object(w.getQuery)();if(!r.search)return{};var n=S(t),c=Object(w.getSearchWords)(r),a="categories"===n&&"single_category"===r.filter?"products":n,i=Object(j.b)(e,a,c),s=i.isError,u=i.isRequesting,l=i.items,f=Object.keys(l);return f.length?{isError:s,isRequesting:u,query:V(V({},t.query),{},o()({},a,f.join(",")))}:{isError:s,isRequesting:u}})))(P)},199:function(e,t,r){"use strict";r.d(t,"c",(function(){return lt})),r.d(t,"b",(function(){return ht})),r.d(t,"a",(function(){return vt}));var n=r(80),o=r.n(n),c=r(17),a=r.n(c),i=r(129),s=r.n(i),u=r(38),l=r.n(u),f=r(37),d=r.n(f),p=r(39),h=r.n(p),v=r(42),m=r.n(v),b=r(26),y=r.n(b),g=r(0),O=r(169),w=r(18),z=r(60),j=r(13),k=r.n(j),M=r(1),H=r.n(M),E=r(98),V=r(126),C=r.n(V),x=r(411),S=r.n(x);function P(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(r,n){e=r,t.forEach((function(t){return t(e,n)}))}}}var _=k.a.createContext||function(e,t){var r,n,o="__create-react-context-"+S()()+"__",c=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=P(t.props.value),t}C()(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,o=e.value;((c=n)===(a=o)?0!==c||1/c==1/a:c!=c&&a!=a)?r=0:(r="function"==typeof t?t(n,o):1073741823,0!==(r|=0)&&this.emitter.set(e.value,r))}var c,a},n.render=function(){return this.props.children},r}(j.Component);c.childContextTypes=((r={})[o]=H.a.object.isRequired,r);var a=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!=((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}C()(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},n.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},n.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},n.getValue=function(){return this.context[o]?this.context[o].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(j.Component);return a.contextTypes=((n={})[o]=H.a.object,n),{Provider:c,Consumer:a}},R=r(79),L=r(12),A=r(258),T=r.n(A),N=(r(176),r(46)),D=(r(194),function(e){var t=_();return t.displayName=e,t}("Router")),F=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={location:t.history.location},r._isMounted=!1,r._pendingLocation=null,t.staticContext||(r.unlisten=t.history.listen((function(e){r._isMounted?r.setState({location:e}):r._pendingLocation=e}))),r}Object(z.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return k.a.createElement(D.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(k.a.Component);k.a.Component;k.a.Component;var I={},q=0;function U(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,o=r.exact,c=void 0!==o&&o,a=r.strict,i=void 0!==a&&a,s=r.sensitive,u=void 0!==s&&s;return[].concat(n).reduce((function(t,r){if(!r&&""!==r)return null;if(t)return t;var n=function(e,t){var r=""+t.end+t.strict+t.sensitive,n=I[r]||(I[r]={});if(n[e])return n[e];var o=[],c={regexp:T()(e,o,t),keys:o};return q<1e4&&(n[e]=c,q++),c}(r,{end:c,strict:i,sensitive:u}),o=n.regexp,a=n.keys,s=o.exec(e);if(!s)return null;var l=s[0],f=s.slice(1),d=e===l;return c&&!d?null:{path:r,url:"/"===r&&""===l?"/":l,isExact:d,params:a.reduce((function(e,t,r){return e[t.name]=f[r],e}),{})}}),null)}var B=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r=e.props.location||t.location,n=e.props.computedMatch?e.props.computedMatch:e.props.path?U(r.pathname,e.props):t.match,o=Object(L.a)({},t,{location:r,match:n}),c=e.props,a=c.children,i=c.component,s=c.render;return Array.isArray(a)&&0===a.length&&(a=null),k.a.createElement(D.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:i?k.a.createElement(i,o):s?s(o):null:"function"==typeof a?a(o):null)}))},t}(k.a.Component);function W(e){return"/"===e.charAt(0)?e:"/"+e}function $(e,t){if(!e)return t;var r=W(e);return 0!==t.pathname.indexOf(r)?t:Object(L.a)({},t,{pathname:t.pathname.substr(r.length)})}function G(e){return"string"==typeof e?e:Object(E.d)(e)}function Q(e){return function(){Object(R.a)(!1)}}function K(){}k.a.Component;var Z=function(e){function t(){return e.apply(this,arguments)||this}return Object(z.a)(t,e),t.prototype.render=function(){var e=this;return k.a.createElement(D.Consumer,null,(function(t){t||Object(R.a)(!1);var r,n,o=e.props.location||t.location;return k.a.Children.forEach(e.props.children,(function(e){if(null==n&&k.a.isValidElement(e)){r=e;var c=e.props.path||e.props.from;n=c?U(o.pathname,Object(L.a)({},e.props,{path:c})):t.match}})),n?k.a.cloneElement(r,{location:o,computedMatch:n}):null}))},t}(k.a.Component);k.a.useContext;var J=r(2),Y=r(53),X=r(22),ee=r(23),te=r(43),re=(r(438),r(66)),ne=r(48),oe=r(3),ce=r(268),ae=r(196);function ie(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var se=Object(g.lazy)((function(){return Promise.resolve().then(r.bind(null,197))})),ue=Object(g.lazy)((function(){return r.e(19).then(r.bind(null,922))})),le=Object(g.lazy)((function(){return r.e(25).then(r.bind(null,911))})),fe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(47),r.e(29)]).then(r.bind(null,924))})),de=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(6),r.e(30)]).then(r.bind(null,921))})),pe=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(48),r.e(34)]).then(r.bind(null,923))})),he=function(e){h()(r,e);var t=ie(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){window.document.documentElement.scrollTop=0}},{key:"componentDidUpdate",value:function(e){var t=this.getQuery(e.location.search),r=Object(J.omit)(this.getQuery(e.location.search),"chartType","filter","paged"),n=Object(J.omit)(this.getQuery(this.props.location.search),"chartType","filter","paged");t.paged>1&&!Object(J.isEqual)(r,n)&&Object(X.getHistory)().replace(Object(X.getNewPath)({paged:1})),e.match.url!==this.props.match.url&&(window.document.documentElement.scrollTop=0)}},{key:"getQuery",value:function(e){if(!e)return{};var t=e.substring(1);return Object(re.parse)(t)}},{key:"render",value:function(){var e=this.props,t=e.page,r=e.match,n=e.location,o=r.url,c=r.params,a=this.getQuery(n.search);return window.wpNavMenuUrlUpdate(a),window.wpNavMenuClassChange(t,o),Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(t.container,{params:c,path:o,pathMatch:t.path,query:a}))}}]),r}(g.Component);window.wpNavMenuUrlUpdate=function(e){var t=Object(ne.applyFilters)("woocommerce_admin_time_excluded_screens",["devdocs","stock","settings","customers","homescreen"]),r=Object(X.getPersistedQuery)(e);Array.from(document.querySelectorAll("#adminmenu a")).forEach((function(e){return function(e,t,r){if(/admin.php\?page=wc-admin/.test(e.href)){var n=Object(J.last)(e.href.split("?")),o=Object(re.parse)(n),c=window.wcAdminFeatures.homescreen?"homescreen":"dashboard",a=(o.path||c).replace("/analytics","").replace("/",""),i=r.includes(a),s="admin.php?"+Object(re.stringify)(Object.assign(o,i?{}:t));e.href=s,e.onclick=function(e){e.preventDefault(),Object(X.getHistory)().push(s)}}}(e,r,t)}))},window.wpNavMenuClassChange=function(e,t){Array.from(document.getElementsByClassName("current")).forEach((function(e){e.classList.remove("current")})),Array.from(document.querySelectorAll(".wp-has-current-submenu")).forEach((function(e){e.classList.remove("wp-has-current-submenu"),e.classList.remove("wp-menu-open"),e.classList.remove("selected"),e.classList.add("wp-not-current-submenu"),e.classList.add("menu-top")}));var r="/"===t?"admin.php?page=wc-admin":"admin.php?page=wc-admin&path="+encodeURIComponent(t),n="/"===t?'li > a[href$="'.concat(r,'"], li > a[href*="').concat(r,'?"]'):'li > a[href*="'.concat(r,'"]'),o=document.querySelectorAll(n);if(Array.from(o).forEach((function(e){e.parentElement.classList.add("current")})),e.wpOpenMenu){var c=document.querySelector("#"+e.wpOpenMenu);c&&(c.classList.remove("wp-not-current-submenu"),c.classList.add("wp-has-current-submenu"),c.classList.add("wp-menu-open"),c.classList.add("current"))}document.querySelector("#wpwrap").classList.remove("wp-responsive-open")};var ve=r(62),me=r.n(ve),be=r(8),ye=r.n(be),ge=r(72),Oe=(r(440),r(406)),we=r.n(Oe),ze=r(67),je=r(418),ke=r(407),Me=r.n(ke),He=r(408),Ee=r.n(He),Ve=(r(442),function(e){var t=e.height,r=void 0===t?24:t,n=e.width,o=void 0===n?24:n,c=e.hasUnread,a=void 0!==c&&c,i=ye()("woocommerce-layout__activity-panel-toggle-bubble",{"has-unread":a});return Object(g.createElement)("div",{className:i},Object(g.createElement)("svg",{height:r,width:o,viewBox:"0 0 24 24"},Object(g.createElement)("path",{d:"M18.9 2H5.1C3.4 2 2 3.4 2 5.1v10.7C2 17.6 3.4 19 5.1 19H9l6 3-1-3h4.9c1.7 0 3.1-1.4 3.1-3.1V5.1C22 3.4 20.6 2 18.9 2zm-1.5 4.5c-.4.8-.8 2.1-1 3.9-.3 1.8-.4 3.1-.3 4.1 0 .3 0 .5-.1.7-.1.2-.3.4-.6.4s-.6-.1-.9-.4c-1-1-1.8-2.6-2.4-4.6-.7 1.4-1.2 2.4-1.6 3.1-.6 1.2-1.2 1.8-1.6 1.9-.3 0-.5-.2-.8-.7-.5-1.4-1.1-4.2-1.7-8.2 0-.3 0-.5.2-.7.1-.2.4-.3.7-.4.5 0 .9.2.9.8.3 2.3.7 4.2 1.1 5.7l2.4-4.5c.2-.4.4-.6.8-.6.5 0 .8.3.9.9.3 1.4.6 2.6 1 3.7.3-2.7.8-4.7 1.4-5.9.2-.3.4-.5.7-.5.2 0 .5.1.7.2.2.2.3.4.3.6 0 .2 0 .4-.1.5z"})))});Ve.propTypes={height:H.a.number,width:H.a.number,hasUnread:H.a.bool};var Ce=Ve,xe=r(271),Se=r(33);var Pe=r(63),_e=r(101);function Re(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Le=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(46),r.e(7)]).then(r.bind(null,792))})),Ae=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(8)]).then(r.bind(null,927))})),Te=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(9)]).then(r.bind(null,928))})),Ne=Object(g.lazy)((function(){return Promise.all([r.e(1),r.e(3),r.e(4),r.e(46),r.e(7)]).then(r.bind(null,916))})),De=Object(ee.g)("manageStock","no"),Fe=Object(ee.g)("reviewsEnabled","no"),Ie=function(e){h()(r,e);var t=Re(r);function r(){var e;return l()(this,r),(e=t.apply(this,arguments)).togglePanel=e.togglePanel.bind(me()(e)),e.clearPanel=e.clearPanel.bind(me()(e)),e.toggleMobile=e.toggleMobile.bind(me()(e)),e.renderTab=e.renderTab.bind(me()(e)),e.state={isPanelOpen:!1,mobileOpen:!1,currentTab:"",isPanelSwitching:!1},e}return d()(r,[{key:"togglePanel",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab;r&&e===n||Object(Pe.b)("activity_panel_open",{tab:e}),this.setState((function(t){return e===t.currentTab||""===t.currentTab?{isPanelOpen:!t.isPanelOpen,currentTab:e,mobileOpen:!t.isPanelOpen}:{currentTab:e,isPanelSwitching:!0}}))}},{key:"clearPanel",value:function(){this.setState((function(e){return e.isPanelOpen?{isPanelSwitching:!1}:{currentTab:""}}))}},{key:"toggleMobile",value:function(){var e=this.getTabs();this.setState((function(t){return{mobileOpen:!t.mobileOpen,currentTab:t.mobileOpen?"":e[0].name,isPanelOpen:!t.mobileOpen}}))}},{key:"handleClickOutside",value:function(e){var t=this.state,r=t.isPanelOpen,n=t.currentTab,o=e.target.closest(".woocommerce-inbox-dismiss-confirmation_modal")||e.target.closest(".components-snackbar__action");r&&!o&&this.togglePanel(n)}},{key:"getTabs",value:function(){var e=this.props,t=e.hasUnreadNotes,r=e.hasUnreadOrders,n=e.hasUnapprovedReviews,o=e.hasUnreadStock,c=e.isEmbedded,a=Object(X.getHistory)().location;return[c||!window.wcAdminFeatures.homescreen||"/"!==a.pathname?{name:"inbox",title:Object(oe.__)("Inbox","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"inbox"),unread:t}:null,{name:"orders",title:Object(oe.__)("Orders","woocommerce-admin"),icon:Object(g.createElement)(Me.a,null),unread:r},"yes"===De?{name:"stock",title:Object(oe.__)("Stock","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"widgets"),unread:o}:null,"yes"===Fe?{name:"reviews",title:Object(oe.__)("Reviews","woocommerce-admin"),icon:Object(g.createElement)("i",{className:"material-icons-outlined"},"star_border"),unread:n}:null].filter(Boolean)}},{key:"getPanelContent",value:function(e){switch(e){case"inbox":return Object(g.createElement)(Le,null);case"orders":var t=this.props.hasUnreadOrders;return Object(g.createElement)(Ae,{hasActionableOrders:t});case"stock":return Object(g.createElement)(Te,null);case"reviews":var r=this.props.hasUnapprovedReviews;return Object(g.createElement)(Ne,{hasUnapprovedReviews:r});default:return null}}},{key:"renderPanel",value:function(){var e=this.state,t=e.isPanelOpen,r=e.currentTab,n=e.isPanelSwitching,o=Object(J.find)(this.getTabs(),{name:r});if(!o)return Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-wrapper"});var c=ye()("woocommerce-layout__activity-panel-wrapper",{"is-open":t,"is-switching":n});return Object(g.createElement)("div",{className:c,tabIndex:0,role:"tabpanel","aria-label":o.title,onTransitionEnd:this.clearPanel,onAnimationEnd:this.clearPanel},Object(g.createElement)("div",{className:"woocommerce-layout__activity-panel-content",key:"activity-panel-"+r,id:"activity-panel-"+r},Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},this.getPanelContent(r))))}},{key:"renderTab",value:function(e,t){var r=this.state,n=r.currentTab,o=r.isPanelOpen,c=ye()("woocommerce-layout__activity-panel-tab",{"is-active":o&&e.name===n,"has-unread":e.unread}),a=e.name===n,i=-1;return(a||!o&&0===t)&&(i=null),Object(g.createElement)(ze.a,{role:"tab",className:c,tabIndex:i,"aria-selected":a,"aria-controls":"activity-panel-"+e.name,key:"activity-panel-tab-"+e.name,id:"activity-panel-tab-"+e.name,onClick:Object(J.partial)(this.togglePanel,e.name)},e.icon,e.title," ",e.unread&&Object(g.createElement)("span",{className:"screen-reader-text"},Object(oe.__)("unread activity","woocommerce-admin")))}},{key:"render",value:function(){var e=this.getTabs(),t=this.state.mobileOpen,r=Object(J.uniqueId)("activity-panel-header_"),n=ye()("woocommerce-layout__activity-panel",{"is-mobile-open":this.state.mobileOpen}),o=e.some((function(e){return e.unread})),c=o?Object(oe.__)("View Activity Panel, you have unread activity","woocommerce-admin"):Object(oe.__)("View Activity Panel","woocommerce-admin");return Object(g.createElement)("div",null,Object(g.createElement)(Y.H,{id:r,className:"screen-reader-text"},Object(oe.__)("Store Activity","woocommerce-admin")),Object(g.createElement)(Y.Section,{component:"aside",id:"woocommerce-activity-panel","aria-labelledby":r},Object(g.createElement)(ze.a,{onClick:this.toggleMobile,label:t?Object(oe.__)("Close Activity Panel","woocommerce-admin"):c,"aria-expanded":t,className:"woocommerce-layout__activity-panel-mobile-toggle"},t?Object(g.createElement)(Ee.a,null):Object(g.createElement)(Ce,{hasUnread:o})),Object(g.createElement)("div",{className:n},Object(g.createElement)(je.a,{role:"tablist",orientation:"horizontal",className:"woocommerce-layout__activity-panel-tabs"},e&&e.map(this.renderTab)),this.renderPanel())))}}]),r}(g.Component),qe=Object(O.a)(Object(_e.a)((function(e){return{hasUnreadNotes:function(e){var t=e("wc-api"),r=t.getNotes,n=t.getNotesError,o=t.isGetNotesRequesting,c=(0,e(te.USER_STORE_NAME).getCurrentUser)(),a=parseInt(c&&c.woocommerce_meta&&c.woocommerce_meta.activity_panel_inbox_last_read,10);if(!a)return null;var i={page:1,per_page:1,type:Se.d.noteTypes,orderby:"date",order:"desc"},s=r(i),u=Boolean(n(i)),l=o(i);return u||l?null:s[0]&&new Date(s[0].date_created_gmt+"Z").getTime()>a}(e),hasUnreadOrders:function(e){var t=e("wc-api"),r=t.getItems,n=t.getItemsTotalCount,o=t.getItemsError,c=t.isGetItemsRequesting,a=(0,e(te.SETTINGS_STORE_NAME).getSetting)("wc_admin","wcAdminSettings",{}).woocommerce_actionable_order_statuses,i=void 0===a?xe.a:a;if(!i.length)return!1;var s={page:1,per_page:1,status:i,_fields:["id"]};r("orders",s);var u=n("orders",s),l=Boolean(o("orders",s)),f=c("orders",s);return l||f?null:u>0}(e),hasUnreadStock:Object(ee.g)("hasLowStock",!1),hasUnapprovedReviews:function(e){var t=e("wc-api"),r=t.getReviewsTotalCount,n=t.getReviewsError,o=t.isGetReviewsRequesting;if("yes"===Object(ee.g)("reviewsEnabled")){var c={page:1,per_page:1,status:"hold"},a=r(c),i=Boolean(n(c)),s=o(c);if(!i&&!s)return a>0}return!1}(e)}})),we.a)(Ie);function Ue(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Be=function(e){h()(r,e);var t=Ue(r);function r(){var e;return l()(this,r),(e=t.call(this)).state={isScrolled:!1},e.headerRef=Object(g.createRef)(),e.onWindowScroll=e.onWindowScroll.bind(me()(e)),e.updateIsScrolled=e.updateIsScrolled.bind(me()(e)),e.trackLinkClick=e.trackLinkClick.bind(me()(e)),e.updateDocumentTitle=e.updateDocumentTitle.bind(me()(e)),e}return d()(r,[{key:"componentDidMount",value:function(){this.threshold=this.headerRef.current.offsetTop,window.addEventListener("scroll",this.onWindowScroll),this.updateIsScrolled()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onWindowScroll),window.cancelAnimationFrame(this.handle)}},{key:"onWindowScroll",value:function(){this.handle=window.requestAnimationFrame(this.updateIsScrolled)}},{key:"updateIsScrolled",value:function(){var e=window.pageYOffset>this.threshold-20;e!==this.state.isScrolled&&this.setState({isScrolled:e})}},{key:"trackLinkClick",value:function(e){var t=e.target.closest("a").getAttribute("href");Object(Pe.b)("navbar_breadcrumb_click",{href:t,text:e.target.innerText})}},{key:"updateDocumentTitle",value:function(){var e=this.props,t=e.sections;if(!e.isEmbedded){var r=(Array.isArray(t)?t:[t]).map((function(e){return Array.isArray(e)?e[1]:e})).reverse().join(" ‹ ");document.title=Object(ge.decodeEntities)(Object(oe.sprintf)(Object(oe.__)("%1$s ‹ %2$s — WooCommerce","woocommerce-admin"),r,Object(ee.g)("siteTitle","")))}}},{key:"render",value:function(){var e=this,t=this.props,r=t.sections,n=t.isEmbedded,o=this.state.isScrolled,c=Array.isArray(r)?r:[r];this.updateDocumentTitle();var a=ye()("woocommerce-layout__header",{"is-scrolled":o});return Object(g.createElement)("div",{className:a,ref:this.headerRef},Object(g.createElement)("h1",{className:"woocommerce-layout__header-breadcrumbs"},c.map((function(t,r){var o=Array.isArray(t)?Object(g.createElement)(Y.Link,{href:n?Object(ee.f)(t[0]):Object(X.getNewPath)({},t[0],{}),type:n?"wp-admin":"wc-admin",onClick:e.trackLinkClick},t[1]):t;return Object(g.createElement)("span",{key:r},Object(ge.decodeEntities)(o))}))),window.wcAdminFeatures["activity-panels"]&&Object(g.createElement)(qe,{isEmbedded:n}))}}]),r}(g.Component);Be.propTypes={sections:H.a.node.isRequired,isEmbedded:H.a.bool},Be.defaultProps={isEmbedded:!1};var We=Be;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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var Ge=function(e){h()(r,e);var t=$e(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)("div",{id:"woocommerce-layout__notice-list",className:"woocommerce-layout__notice-list"})}}]),r}(g.Component),Qe=r(76),Ke=r.n(Qe),Ze=r(68),Je=r(19),Ye=r(257),Xe=r(749),et=r(409);var tt=function(e){var t=e.notices,r=e.className,n=e.children,o=e.onRemove,c=void 0===o?J.noop:o,a=Object(Xe.a)(),i=Object(g.useState)((function(){return new WeakMap})),s=Object(Je.a)(i,1)[0],u=Object(Ye.useTransition)(t,(function(e){return e.id}),{from:{opacity:0,height:0},enter:function(e){return function(){var t=Object(Ze.a)(Ke.a.mark((function t(r){return Ke.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r({opacity:1,height:s.get(e).offsetHeight});case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},leave:function(){return function(){var e=Object(Ze.a)(Ke.a.mark((function e(t){return Ke.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({opacity:0});case 2:return e.next=4,t({height:0});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},immediate:a});r=ye()("components-snackbar-list",r);var l=function(e){return function(){return c(e.id)}};return Object(g.createElement)("div",{className:r},n,u.map((function(e){var t=e.item,r=e.key,n=e.props;return Object(g.createElement)(Ye.animated.div,{key:r,style:n},Object(g.createElement)("div",{className:"components-snackbar-list__notice-container",ref:function(e){return e&&s.set(t,e)}},Object(g.createElement)(et.a,Object(L.a)({},Object(J.omit)(t,["content"]),{onRemove:l(t)}),t.content)))})))};r(443);function rt(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var nt=function(e){h()(r,e);var t=rt(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.notices,n=e.onRemove,o=ye()("woocommerce-transient-notices","components-notices__snackbar",t);return Object(g.createElement)(tt,{notices:r,className:o,onRemove:n})}}]),r}(g.Component);nt.propTypes={className:H.a.string,notices:H.a.array};var ot=Object(O.a)(Object(_e.a)((function(e){return{notices:e("core/notices").getNotices()}})),Object(w.withDispatch)((function(e){return{onRemove:e("core/notices").removeNotice}})))(nt),ct=r(197);function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function st(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 r,n=y()(e);if(t){var o=y()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return m()(this,r)}}var ut=Object(g.lazy)((function(){return Promise.all([r.e(4),r.e(43)]).then(r.bind(null,926))})),lt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){var e=this.props.children;return Object(g.createElement)("div",{className:"woocommerce-layout__primary",id:"woocommerce-layout__primary"},window.wcAdminFeatures["store-alerts"]&&Object(g.createElement)(g.Suspense,{fallback:Object(g.createElement)(Y.Spinner,null)},Object(g.createElement)(ut,null)),Object(g.createElement)(Ge,null),e)}}]),r}(g.Component),ft=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"componentDidMount",value:function(){this.recordPageViewTrack()}},{key:"componentDidUpdate",value:function(e){var t=Object(J.get)(e,"location.pathname"),r=Object(J.get)(this.props,"location.pathname");t&&r&&t!==r&&this.recordPageViewTrack()}},{key:"recordPageViewTrack",value:function(){var e=this.props,t=e.activePlugins,r=e.installedPlugins,n=e.isEmbedded,o=e.isJetpackConnected;if(n){var c=document.location.pathname+document.location.search;Object(Pe.c)(c,{is_embedded:!0})}else{var a=Object(J.get)(this.props,"location.pathname");if(a){var i=a.substring(1).replace(/\//g,"_");0===i.length&&(i=window.wcAdminFeatures.homescreen?"home_screen":"dashboard"),Object(Pe.c)(i,{jetpack_installed:r.includes("jetpack"),jetpack_active:t.includes("jetpack"),jetpack_connected:o})}}}},{key:"render",value:function(){var e=this.props,t=e.isEmbedded,r=s()(e,["isEmbedded"]),n=this.props.page.breadcrumbs;return Object(g.createElement)("div",{className:"woocommerce-layout"},Object(g.createElement)(We,{sections:Object(J.isFunction)(n)?n(this.props):n,isEmbedded:t}),Object(g.createElement)(ot,null),!t&&Object(g.createElement)(lt,null,Object(g.createElement)("div",{className:"woocommerce-layout__main"},Object(g.createElement)(he,r))))}}]),r}(g.Component);ft.propTypes={isEmbedded:H.a.bool,page:H.a.shape({container:H.a.oneOfType([H.a.func,H.a.object]),path:H.a.string,breadcrumbs:H.a.oneOfType([H.a.func,H.a.arrayOf(H.a.oneOfType([H.a.arrayOf(H.a.string),H.a.string]))]).isRequired,wpOpenMenu:H.a.string}).isRequired};var dt=Object(O.a)(Object(te.withPluginsHydration)(it(it({},window.wcSettings.plugins||{}),{},{jetpackStatus:window.wcSettings.dataEndpoints&&window.wcSettings.dataEndpoints.jetpackStatus||!1})),Object(w.withSelect)((function(e,t){if(!t.isEmbedded){var r=e(te.PLUGINS_STORE_NAME),n=r.getActivePlugins,o=r.getInstalledPlugins,c=r.isJetpackConnected;return{activePlugins:n(),isJetpackConnected:c(),installedPlugins:o()}}})))(ft),pt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(F,{history:Object(X.getHistory)()},Object(g.createElement)(Z,null,function(){var e=[],t=[["",wcSettings.woocommerceTranslation]];if(window.wcAdminFeatures.devdocs&&e.push({container:fe,path:"/devdocs",breadcrumbs:function(e){var r=e.location,n=Object(ce.b)(r.search).component;return[].concat(t,n?[["/devdocs","Documentation"],n]:["Documentation"])},wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures["analytics-dashboard"]&&!window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Dashboard","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.homescreen&&e.push({container:de,path:"/",breadcrumbs:[].concat(t,[Object(oe.__)("Home","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),window.wcAdminFeatures.analytics){window.wcAdminFeatures.homescreen&&e.push({container:le,path:"/analytics/overview",breadcrumbs:[].concat(t,[["/analytics/overview",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_wc-admin-path--analytics-overview"});var r="toplevel_page_wc-admin-path--analytics-".concat(window.wcAdminFeatures.homescreen?"overview":"revenue");e.push({container:ue,path:"/analytics/settings",breadcrumbs:[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],Object(oe.__)("Settings","woocommerce-admin")]),wpOpenMenu:r}),e.push({container:se,path:"/customers",breadcrumbs:[].concat(t,[Object(oe.__)("Customers","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce"}),e.push({container:se,path:"/analytics/:report",breadcrumbs:function(e){var r=e.match,n=Object(J.find)(Object(ae.a)(),{report:r.params.report});return n?[].concat(t,[["/analytics/revenue",Object(oe.__)("Analytics","woocommerce-admin")],n.title]):[]},wpOpenMenu:r})}return window.wcAdminFeatures.marketing&&e.push({container:pe,path:"/marketing",breadcrumbs:[].concat(t,[["/marketing",Object(oe.__)("Marketing","woocommerce-admin")],Object(oe.__)("Overview","woocommerce-admin")]),wpOpenMenu:"toplevel_page_woocommerce-marketing"}),Object(ne.applyFilters)("woocommerce_admin_pages_list",e)}().map((function(e){return Object(g.createElement)(B,{key:e.path,path:e.path,exact:!0,render:function(t){return Object(g.createElement)(dt,o()({page:e},t))}})}))))}}]),r}(g.Component),ht=Object(O.a)(Object(Y.useFilters)(["woocommerce_admin_pages_list",ct.REPORTS_FILTER]),window.wcSettings.preloadOptions?Object(te.withOptionsHydration)(it({},window.wcSettings.preloadOptions)):J.identity)(pt),vt=function(e){h()(r,e);var t=st(r);function r(){return l()(this,r),t.apply(this,arguments)}return d()(r,[{key:"render",value:function(){return Object(g.createElement)(dt,{page:{breadcrumbs:Object(ee.g)("embedBreadcrumbs",[])},isEmbedded:!0})}}]),r}(g.Component)},2:function(e,t){!function(){e.exports=this.lodash}()},200:function(e,t,r){"use strict";r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return l}));var n=r(0),o=r(48),c=r(111),a=r.n(c),i=r(23),s=a()(i.b),u=function(e){var t=s.getCurrency(),r=Object(o.applyFilters)("woocommerce_admin_report_currency",t,e);return a()(r)},l=Object(n.createContext)(s)},201:function(e,t){!function(){e.exports=this.wc.number}()},208:function(e,t,r){"use strict";var n=r(0),o=r(88),c={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},a={">=":"min-width","<":"max-width"},i={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},s=Object(n.createContext)(null),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",r=Object(n.useContext)(s),u=!r&&"(".concat(a[t],": ").concat(c[e],"px)"),l=Object(o.a)(u);return r?i[t](c[e],r):l};u.__experimentalWidthProvider=s.Provider,t.a=u},209:function(e,t,r){"use strict";var n=r(0),o=r(32),c=Object(n.createElement)(o.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(n.createElement)(o.a,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=c},21:function(e,t){!function(){e.exports=this.wp.apiFetch}()},210:function(e,t,r){"use strict";var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,c=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,v=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,O=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case l:case p:case b:case m:case u:return e;default:return t}}case c:return t}}}function j(e){return z(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=b,t.Memo=m,t.Portal=c,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return j(e)||z(e)===f},t.isConcurrentMode=j,t.isContextConsumer=function(e){return z(e)===l},t.isContextProvider=function(e){return z(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return z(e)===p},t.isFragment=function(e){return z(e)===a},t.isLazy=function(e){return z(e)===b},t.isMemo=function(e){return z(e)===m},t.isPortal=function(e){return z(e)===c},t.isProfiler=function(e){return z(e)===s},t.isStrictMode=function(e){return z(e)===i},t.isSuspense=function(e){return z(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===p||e.$$typeof===g||e.$$typeof===O||e.$$typeof===w||e.$$typeof===y)},t.typeOf=z},211:function(e,t,r){var n=r(152);e.exports=function(e){if(Array.isArray(e))return n(e)}},212:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},213:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},22:function(e,t){!function(){e.exports=this.wc.navigation}()},23:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"e",(function(){return p})),r.d(t,"g",(function(){return h})),r.d(t,"h",(function(){return v})),r.d(t,"f",(function(){return m}));var n=r(35),o=r.n(n),c=r(3),a=["wcAdminSettings","preloadSettings"],i="object"===("undefined"==typeof wcSettings?"undefined":o()(wcSettings))?wcSettings:{},s=Object.keys(i).reduce((function(e,t){return a.includes(t)||(e[t]=i[t]),e}),{}),u=s.adminUrl,l=(s.countries,s.currency),f=s.locale,d=s.orderStatuses,p=(s.siteTitle,s.wcAssetUrl);function h(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(c.__)("Mutable settings should be accessed via data store."));var n=s.hasOwnProperty(e)?s[e]:t;return r(n,t)}function v(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e};if(a.includes(e))throw new Error(Object(c.__)("Mutable settings should be mutated via data store."));s[e]=r(t)}function m(e){return(u||"")+e}},24:function(e,t){!function(){e.exports=this.wc.date}()},257:function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(80)),c=n(r(273)),a=r(13),i=n(a),s=n(r(126)),u=n(r(62)),l={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(l.str(e)||l.num(e))return e===t;if(l.obj(e)&&l.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var r;for(r in e)if(!(r in t))return!1;for(r in t)if(e[r]!==t[r])return!1;return!l.und(r)||e===t}};function f(){var e=a.useState(!1)[1];return a.useCallback((function(){return e((function(e){return!e}))}),[])}function d(e,t){return l.und(e)||l.nul(e)?t:e}function p(e){return l.und(e)?[]:l.arr(e)?e:[e]}function h(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return l.fun(e)?e.apply(void 0,r):e}function v(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,c(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(l.und(t))return o({to:t},e);var r=Object.keys(e).reduce((function(r,n){var c;return l.und(t[n])?o({},r,((c={})[n]=e[n],c)):r}),{});return o({to:t},r)}var m,b,y=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),g=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}return s(t,e),t}(y),O=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.addChild(u(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.removeChild(u(t))}))},t}s(t,e);var r=t.prototype;return r.getValue=function(e){void 0===e&&(e=!1);var t={};for(var r in this.payload){var n=this.payload[r];(!e||n instanceof y)&&(t[r]=n instanceof y?n[e?"getAnimatedValue":"getValue"]():n)}return t},r.getAnimatedValue=function(){return this.getValue(!0)},t}(y);function w(e,t){m={fn:e,transform:t}}function z(e){b=e}var j,k=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},M=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function H(e){j=e}var E,V=function(){return Date.now()};function C(e){E=e}var x,S,P=function(e){return e.current};function _(e){x=e}var R=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:w,get colorNames(){return b},injectColorNames:z,get requestFrame(){return k},get cancelFrame(){return M},injectFrame:function(e,t){k=e,M=t},get interpolation(){return j},injectStringInterpolator:H,get now(){return V},injectNow:function(e){V=e},get defaultElement(){return E},injectDefaultElement:C,get animatedApi(){return P},injectAnimatedApi:function(e){P=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:_,get manualFrameloop(){return S},injectManualFrameloop:function(e){S=e}}),L=function(e){function t(t,r){var n;return(n=e.call(this)||this).update=void 0,n.payload=t.style?o({},t,{style:x(t.style)}):t,n.update=r,n.attach(),n}return s(t,e),t}(O),A=!1,T=new Set,N=function e(){if(!A)return!1;var t=V(),r=T,n=Array.isArray(r),o=0;for(r=n?r:r[Symbol.iterator]();;){var c;if(n){if(o>=r.length)break;c=r[o++]}else{if((o=r.next()).done)break;c=o.value}for(var a=c,i=!1,s=0;s<a.configs.length;s++){for(var u=a.configs[s],l=void 0,f=void 0,d=0;d<u.animatedValues.length;d++){var p=u.animatedValues[d];if(!p.done){var h=u.fromValues[d],v=u.toValues[d],m=p.lastPosition,b=v instanceof y,g=Array.isArray(u.initialVelocity)?u.initialVelocity[d]:u.initialVelocity;if(b&&(v=v.getValue()),u.immediate)p.setValue(v),p.done=!0;else if("string"!=typeof h&&"string"!=typeof v){if(void 0!==u.duration)m=h+u.easing((t-p.startTime)/u.duration)*(v-h),l=t>=p.startTime+u.duration;else if(u.decay)m=h+g/(1-.998)*(1-Math.exp(-(1-.998)*(t-p.startTime))),(l=Math.abs(p.lastPosition-m)<.1)&&(v=m);else{f=void 0!==p.lastTime?p.lastTime:t,g=void 0!==p.lastVelocity?p.lastVelocity:u.initialVelocity,t>f+64&&(f=t);for(var O=Math.floor(t-f),w=0;w<O;++w){m+=1*(g+=1*((-u.tension*(m-v)+-u.friction*g)/u.mass)/1e3)/1e3}var z=!(!u.clamp||0===u.tension)&&(h<v?m>v:m<v),j=Math.abs(g)<=u.precision,M=0===u.tension||Math.abs(v-m)<=u.precision;l=z||j&&M,p.lastVelocity=g,p.lastTime=t}b&&!u.toValues[d].done&&(l=!1),l?(p.value!==v&&(m=v),p.done=!0):i=!0,p.setValue(m),p.lastPosition=m}else p.setValue(v),p.done=!0}}a.props.onFrame&&(a.values[u.name]=u.interpolation.getValue())}a.props.onFrame&&a.props.onFrame(a.values),i||(T.delete(a),a.stop(!0))}return T.size?S?S():k(e):A=!1,A};function D(e,t,r){if("function"==typeof e)return e;if(Array.isArray(e))return D({range:e,output:t,extrapolate:r});if(j&&"string"==typeof e.output[0])return j(e);var n=e,o=n.output,c=n.range||[0,1],a=n.extrapolateLeft||n.extrapolate||"extend",i=n.extrapolateRight||n.extrapolate||"extend",s=n.easing||function(e){return e};return function(e){var t=function(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}(e,c);return function(e,t,r,n,o,c,a,i,s){var u=s?s(e):e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>r){if("identity"===i)return u;"clamp"===i&&(u=r)}if(n===o)return n;if(t===r)return e<=t?n:o;t===-1/0?u=-u:r===1/0?u-=t:u=(u-t)/(r-t);u=c(u),n===-1/0?u=-u:o===1/0?u+=n:u=u*(o-n)+n;return u}(e,c[t],c[t+1],o[t],o[t+1],s,a,i,n.map)}}var F=function(e){function t(r,n,o,c){var a;return(a=e.call(this)||this).calc=void 0,a.payload=r instanceof g&&!(r instanceof t)?r.getPayload():Array.isArray(r)?r:[r],a.calc=D(n,o,c),a}s(t,e);var r=t.prototype;return r.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},r.updateConfig=function(e,t,r){this.calc=D(e,t,r)},r.interpolate=function(e,r,n){return new t(this,e,r,n)},t}(g);var I=function(e){function t(t){var r;return(r=e.call(this)||this).animatedStyles=new Set,r.value=void 0,r.startPosition=void 0,r.lastPosition=void 0,r.lastVelocity=void 0,r.startTime=void 0,r.lastTime=void 0,r.done=!1,r.setValue=function(e,t){void 0===t&&(t=!0),r.value=e,t&&r.flush()},r.value=t,r.startPosition=t,r.lastPosition=t,r}s(t,e);var r=t.prototype;return r.flush=function(){0===this.animatedStyles.size&&function e(t,r){"update"in t?r.add(t):t.getChildren().forEach((function(t){return e(t,r)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},r.clearStyles=function(){this.animatedStyles.clear()},r.getValue=function(){return this.value},r.interpolate=function(e,t,r){return new F(this,e,t,r)},t}(y),q=function(e){function t(t){var r;return(r=e.call(this)||this).payload=t.map((function(e){return new I(e)})),r}s(t,e);var r=t.prototype;return r.setValue=function(e,t){var r=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,n){return r.payload[n].setValue(e,t)})):this.payload.forEach((function(r){return r.setValue(e,t)}))},r.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},r.interpolate=function(e,t){return new F(this,e,t)},t}(g),U=0,B=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=U++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=v(e),r=t.delay,n=void 0===r?0:r,a=t.to,i=c(t,["delay","to"]);if(l.arr(a)||l.fun(a))this.queue.push(o({},i,{delay:n,to:a}));else if(a){var s={};Object.entries(a).forEach((function(e){var t,r=e[0],c=e[1],a=o({to:(t={},t[r]=c,t),delay:h(n,r)},i),u=s[a.delay]&&s[a.delay].to;s[a.delay]=o({},s[a.delay],a,{to:o({},u,a.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(i),this},t.start=function(e){var t,r=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,n=void 0===t?{}:t,c=e.to,a=void 0===c?{}:c;l.obj(n)&&(r.merged=o({},n,r.merged)),l.obj(a)&&(r.merged=o({},r.merged,a))}));var n=this.local=++this.guid,a=this.localQueue=this.queue;this.queue=[],a.forEach((function(t,o){var i=t.delay,s=c(t,["delay"]),u=function(t){o===a.length-1&&n===r.guid&&t&&(r.idle=!0,r.props.onRest&&r.props.onRest(r.merged)),e&&e()},f=l.arr(s.to)||l.fun(s.to);i?setTimeout((function(){n===r.guid&&(f?r.runAsync(s,u):r.diff(s).start(u))}),i):f?r.runAsync(s,u):r.diff(s).start(u)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,T.has(t)||T.add(t),A||(A=!0,k(S||N));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,T.has(t)&&T.delete(t)),this},t.runAsync=function(e,t){var r=this,n=(e.delay,c(e,["delay"])),a=this.local,i=Promise.resolve(void 0);if(l.arr(n.to))for(var s=function(e){var t=e,c=o({},n,v(n.to[t]));l.arr(c.config)&&(c.config=c.config[t]),i=i.then((function(){if(a===r.guid)return new Promise((function(e){return r.diff(c).start(e)}))}))},u=0;u<n.to.length;u++)s(u);else if(l.fun(n.to)){var f,d=0;i=i.then((function(){return n.to((function(e){var t=o({},n,v(e));if(l.arr(t.config)&&(t.config=t.config[d]),d++,a===r.guid)return f=new Promise((function(e){return r.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),r.stop(e)})).then((function(){return f}))}))}i.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var r=this.props,n=r.from,c=void 0===n?{}:n,a=r.to,i=void 0===a?{}:a,s=r.config,u=void 0===s?{}:s,f=r.reverse,v=r.attach,m=r.reset,y=r.immediate;if(f){var g=[i,c];c=g[0],i=g[1]}this.merged=o({},c,this.merged,i),this.hasChanged=!1;var O=v&&v(this);if(this.animations=Object.entries(this.merged).reduce((function(e,r){var n=r[0],a=r[1],i=e[n]||{},s=l.num(a),f=l.str(a)&&!a.startsWith("#")&&!/\d/.test(a)&&!b[a],v=l.arr(a),g=!s&&!v&&!f,w=l.und(c[n])?a:c[n],z=s||v||f?a:1,k=h(u,n);O&&(z=O.animations[n].parent);var M,H=i.parent,E=i.interpolation,C=p(O?z.getPayload():z),x=a;g&&(x=j({range:[0,1],output:[a,a]})(1));var S,P=E&&E.getValue(),_=!l.und(H)&&i.animatedValues.some((function(e){return!e.done})),R=!l.equ(x,P),L=!l.equ(x,i.previous),A=!l.equ(k,i.config);if(m||L&&R||A){var T;if(s||f)H=E=i.parent||new I(w);else if(v)H=E=i.parent||new q(w);else if(g){var N=i.interpolation&&i.interpolation.calc(i.parent.value);N=void 0===N||m?w:N,i.parent?(H=i.parent).setValue(0,!1):H=new I(0);var D={output:[N,a]};i.interpolation?(E=i.interpolation,i.interpolation.updateConfig(D)):E=H.interpolate(D)}return C=p(O?z.getPayload():z),M=p(H.getPayload()),m&&!g&&H.setValue(w,!1),t.hasChanged=!0,M.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=_?e.lastVelocity:void 0,e.lastTime=_?e.lastTime:void 0,e.startTime=V(),e.done=!1,e.animatedStyles.clear()})),h(y,n)&&H.setValue(g?z:a,!1),o({},e,((T={})[n]=o({},i,{name:n,parent:H,interpolation:E,animatedValues:M,toValues:C,previous:x,config:k,fromValues:p(H.getValue()),immediate:h(y,n),initialVelocity:d(k.velocity,0),clamp:d(k.clamp,!1),precision:d(k.precision,.01),tension:d(k.tension,170),friction:d(k.friction,26),mass:d(k.mass,1),duration:k.duration,easing:d(k.easing,(function(e){return e})),decay:k.decay}),T))}return R?e:(g&&(H.setValue(1,!1),E.updateConfig({output:[x,x]})),H.done=!0,t.hasChanged=!0,o({},e,((S={})[n]=o({},e[n],{previous:x}),S)))}),this.animations),this.hasChanged)for(var w in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[w]=this.animations[w].interpolation,this.values[w]=this.animations[w].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),W=function(e,t){var r=a.useRef(!1),n=a.useRef(),o=l.fun(t),c=a.useMemo((function(){var r;return n.current&&(n.current.map((function(e){return e.destroy()})),n.current=void 0),[new Array(e).fill().map((function(e,n){var c=new B,a=o?h(t,n,c):t[n];return 0===n&&(r=a.ref),c.update(a),r||c.start(),c})),r]}),[e]),i=c[0],s=c[1];n.current=i;a.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(n.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return n.current.forEach((function(t){return t.stop(e)}))},get controllers(){return n.current}}}));var u=a.useMemo((function(){return function(e){return n.current.map((function(t,r){t.update(o?h(e,r,t):e[r]),s||t.start()}))}}),[e]);a.useEffect((function(){r.current?o||u(t):s||n.current.forEach((function(e){return e.start()}))})),a.useEffect((function(){return r.current=!0,function(){return n.current.forEach((function(e){return e.destroy()}))}}),[]);var f=n.current.map((function(e){return e.getValues()}));return o?[f,u,function(e){return n.current.forEach((function(t){return t.pause(e)}))}]:f},$=0,G=function(e,t){return("function"==typeof t?e.map(t):p(t)).map(String)},Q=function(e){var t=e.items,r=e.keys,n=void 0===r?function(e){return e}:r,a=c(e,["items","keys"]);return t=p(void 0!==t?t:null),o({items:t,keys:G(t,n)},a)};function K(e,t){var r=function(){if(o){if(c>=n.length)return"break";a=n[c++]}else{if((c=n.next()).done)return"break";a=c.value}var r=a.key,i=function(e){return e.key!==r};(l.und(t)||t===r)&&(e.current.instances.delete(r),e.current.transitions=e.current.transitions.filter(i),e.current.deleted=e.current.deleted.filter(i))},n=e.current.deleted,o=Array.isArray(n),c=0;for(n=o?n:n[Symbol.iterator]();;){var a;if("break"===r())break}e.current.forceUpdate()}var Z=function(e){function t(t){var r;return void 0===t&&(t={}),r=e.call(this)||this,!t.transform||t.transform instanceof y||(t=m.transform(t)),r.payload=t,r}return s(t,e),t}(O),J={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Y="[-+]?\\d*\\.?\\d+";function X(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ee=new RegExp("rgb"+X(Y,Y,Y)),te=new RegExp("rgba"+X(Y,Y,Y,Y)),re=new RegExp("hsl"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),ne=new RegExp("hsla"+X(Y,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Y)),oe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{6})$/,ie=/^#([0-9a-fA-F]{8})$/;function se(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function ue(e,t,r){var n=r<.5?r*(1+t):r+t-r*t,o=2*r-n,c=se(o,n,e+1/3),a=se(o,n,e),i=se(o,n,e-1/3);return Math.round(255*c)<<24|Math.round(255*a)<<16|Math.round(255*i)<<8}function le(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function de(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function he(e){var t,r,n="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(r=ae.exec(t))?parseInt(r[1]+"ff",16)>>>0:J.hasOwnProperty(t)?J[t]:(r=ee.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|255)>>>0:(r=te.exec(t))?(le(r[1])<<24|le(r[2])<<16|le(r[3])<<8|de(r[4]))>>>0:(r=oe.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+"ff",16)>>>0:(r=ie.exec(t))?parseInt(r[1],16)>>>0:(r=ce.exec(t))?parseInt(r[1]+r[1]+r[2]+r[2]+r[3]+r[3]+r[4]+r[4],16)>>>0:(r=re.exec(t))?(255|ue(fe(r[1]),pe(r[2]),pe(r[3])))>>>0:(r=ne.exec(t))?(ue(fe(r[1]),pe(r[2]),pe(r[3]))|de(r[4]))>>>0:null;return null===n?e:"rgba("+((4278190080&(n=n||0))>>>24)+", "+((16711680&n)>>>16)+", "+((65280&n)>>>8)+", "+(255&n)/255+")"}var ve=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,me=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,be=new RegExp("("+Object.keys(J).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","Ms","Moz","O"];function Oe(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return ge.forEach((function(r){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(r,t)]=e[t]})),e}),ye);var we={};_((function(e){return new Z(e)})),C("div"),H((function(e){var t=e.output.map((function(e){return e.replace(me,he)})).map((function(e){return e.replace(be,he)})),r=t[0].match(ve).map((function(){return[]}));t.forEach((function(e){e.match(ve).forEach((function(e,t){return r[t].push(+e)}))}));var n=t[0].match(ve).map((function(t,n){return D(o({},e,{output:r[n]}))}));return function(e){var r=0;return t[0].replace(ve,(function(){return n[r++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,r,n,o){return"rgba("+Math.round(t)+", "+Math.round(r)+", "+Math.round(n)+", "+o+")"}))}})),z(J),w((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var r=t.style,n=t.children,o=t.scrollTop,a=t.scrollLeft,i=c(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var u in void 0!==o&&(e.scrollTop=o),void 0!==a&&(e.scrollLeft=a),void 0!==n&&(e.textContent=n),r)if(r.hasOwnProperty(u)){var l=0===u.indexOf("--"),f=Oe(u,r[u],l);"float"===u&&(u="cssFloat"),l?e.style.setProperty(u,f):e.style[u]=f}for(var d in i){var p=s?d:we[d]||(we[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(p)&&e.setAttribute(p,i[d])}}),(function(e){return e}));var ze,je,ke=(ze=function(e){return a.forwardRef((function(t,r){var n=f(),s=a.useRef(!0),u=a.useRef(null),d=a.useRef(null),p=a.useCallback((function(e){var t=u.current;u.current=new L(e,(function(){var e=!1;d.current&&(e=m.fn(d.current,u.current.getAnimatedValue())),d.current&&!1!==e||n()})),t&&t.detach()}),[]);a.useEffect((function(){return function(){s.current=!1,u.current&&u.current.detach()}}),[]),a.useImperativeHandle(r,(function(){return P(d,s,n)})),p(t);var h,v=u.current.getValue(),b=(v.scrollTop,v.scrollLeft,c(v,["scrollTop","scrollLeft"])),y=(h=e,!l.fun(h)||h.prototype instanceof i.Component?function(e){return d.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,r)}:void 0);return i.createElement(e,o({},b,{ref:y}))}))},void 0===(je=!1)&&(je=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var r=je?t[0].toLowerCase()+t.substring(1):t;return e[r]=ze(r),e}),ze)}),Me=ke(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=ke,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=N,t.animated=Me,t.a=Me,t.interpolate=function(e,t,r){return e&&new F(e,t,r)},t.Globals=R,t.useSpring=function(e){var t=l.fun(e),r=W(1,t?e:[e]),n=r[0],o=r[1],c=r[2];return t?[n[0],o,c]:n},t.useTrail=function(e,t){var r=a.useRef(!1),n=l.fun(t),c=h(t),i=a.useRef(),s=W(e,(function(e,t){return 0===e&&(i.current=[]),i.current.push(t),o({},c,{config:h(c.config,e),attach:e>0&&function(){return i.current[e-1]}})})),u=s[0],f=s[1],d=s[2],p=a.useMemo((function(){return function(e){return f((function(t,r){e.reverse;var n=e.reverse?t+1:t-1,a=i.current[n];return o({},e,{config:h(e.config||c.config,t),attach:a&&function(){return a}})}))}}),[e,c.reverse]);return a.useEffect((function(){r.current&&!n&&p(t)})),a.useEffect((function(){r.current=!0}),[]),n?[u,p,d]:u},t.useTransition=function(e,t,r){var n=o({items:e,keys:t||function(e){return e}},r),i=Q(n),s=i.lazy,u=void 0!==s&&s,l=(i.unique,i.reset),d=void 0!==l&&l,p=(i.enter,i.leave,i.update,i.onDestroyed),v=(i.keys,i.items,i.onFrame),m=i.onRest,b=i.onStart,y=i.ref,g=c(i,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),O=f(),w=a.useRef(!1),z=a.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!n.ref,instances:!w.current&&new Map,forceUpdate:O});return a.useImperativeHandle(n.ref,(function(){return{start:function(){return Promise.all(Array.from(z.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(z.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(z.current.instances).map((function(e){return e[1]}))}}})),z.current=function(e,t){var r=e.first,n=e.prevProps,a=c(e,["first","prevProps"]),i=Q(t),s=i.items,u=i.keys,l=i.initial,f=i.from,d=i.enter,p=i.leave,v=i.update,m=i.trail,b=void 0===m?0:m,y=i.unique,g=i.config,O=i.order,w=void 0===O?["enter","leave","update"]:O,z=Q(n),j=z.keys,k=z.items,M=o({},a.current),H=[].concat(a.deleted),E=Object.keys(M),V=new Set(E),C=new Set(u),x=u.filter((function(e){return!V.has(e)})),S=a.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),P=u.filter((function(e){return V.has(e)})),_=-b;for(;w.length;){switch(w.shift()){case"enter":x.forEach((function(e,t){y&&H.find((function(t){return t.originalKey===e}))&&(H=H.filter((function(t){return t.originalKey!==e})));var n=u.indexOf(e),o=s[n],c=r&&void 0!==l?"initial":"enter";M[e]={slot:c,originalKey:e,key:y?String(e):$++,item:o,trail:_+=b,config:h(g,o,c),from:h(r&&void 0!==l?l||{}:f,o),to:h(d,o)}}));break;case"leave":S.forEach((function(e){var t=j.indexOf(e),r=k[t];H.unshift(o({},M[e],{slot:"leave",destroyed:!0,left:j[Math.max(0,t-1)],right:j[Math.min(j.length,t+1)],trail:_+=b,config:h(g,r,"leave"),to:h(p,r)})),delete M[e]}));break;case"update":P.forEach((function(e){var t=u.indexOf(e),r=s[t];M[e]=o({},M[e],{item:r,slot:"update",trail:_+=b,config:h(g,r,"update"),to:h(v,r)})}))}}var R=u.map((function(e){return M[e]}));return H.forEach((function(e){var t,r=e.left,n=(e.right,c(e,["left","right"]));-1!==(t=R.findIndex((function(e){return e.originalKey===r})))&&(t+=1),t=Math.max(0,t),R=[].concat(R.slice(0,t),[n],R.slice(t))})),o({},a,{changed:x.length||S.length||P.length,first:r&&0===x.length,transitions:R,current:M,deleted:H,prevProps:t})}(z.current,n),z.current.changed&&z.current.transitions.forEach((function(e){var t=e.slot,r=e.from,n=e.to,c=e.config,a=e.trail,i=e.key,s=e.item;z.current.instances.has(i)||z.current.instances.set(i,new B);var l=z.current.instances.get(i),f=o({},g,{to:n,from:r,config:c,ref:y,onRest:function(r){z.current.mounted&&(e.destroyed&&(y||u||K(z,i),p&&p(s)),!Array.from(z.current.instances).some((function(e){return!e[1].idle}))&&(y||u)&&z.current.deleted.length>0&&K(z),m&&m(s,t,r))},onStart:b&&function(){return b(s,t)},onFrame:v&&function(e){return v(s,t,e)},delay:a,reset:d&&"enter"===t});l.update(f),z.current.paused||l.start()})),a.useEffect((function(){return z.current.mounted=w.current=!0,function(){z.current.mounted=w.current=!1,Array.from(z.current.instances).map((function(e){return e[1].destroy()})),z.current.instances.clear()}}),[]),z.current.transitions.map((function(e){var t=e.item,r=e.slot,n=e.key;return{item:t,key:n,state:r,props:z.current.instances.get(n).getValues()}}))},t.useChain=function(e,t,r){void 0===r&&(r=1e3);var n=a.useRef();a.useEffect((function(){l.equ(e,n.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,n){var c=e.current;if(c){var a=c.controllers;if(a.length){var i=r*t[n];a.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+i})})),e.start()}))}}})):e.reduce((function(e,t,r){var n=t.current;return e.then((function(){return n.start()}))}),Promise.resolve()),n.current=e}))},t.useSprings=W},258:function(e,t,r){var n=r(444);e.exports=p,e.exports.parse=c,e.exports.compile=function(e,t){return i(c(e,t),t)},e.exports.tokensToFunction=i,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function c(e,t){for(var r,n=[],c=0,a=0,i="",l=t&&t.delimiter||"/";null!=(r=o.exec(e));){var f=r[0],d=r[1],p=r.index;if(i+=e.slice(a,p),a=p+f.length,d)i+=d[1];else{var h=e[a],v=r[2],m=r[3],b=r[4],y=r[5],g=r[6],O=r[7];i&&(n.push(i),i="");var w=null!=v&&null!=h&&h!==v,z="+"===g||"*"===g,j="?"===g||"*"===g,k=r[2]||l,M=b||y;n.push({name:m||c++,prefix:v||"",delimiter:k,optional:j,repeat:z,partial:w,asterisk:!!O,pattern:M?u(M):O?".*":"[^"+s(k)+"]+?"})}}return a<e.length&&(i+=e.substr(a)),i&&n.push(i),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function i(e,t){for(var r=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(r[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var c="",i=t||{},s=(o||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!=typeof l){var f,d=i[l.name];if(null==d){if(l.optional){l.partial&&(c+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(n(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=s(d[p]),!r[u].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");c+=(0===p?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(d),!r[u].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');c+=l.prefix+f}}else c+=l}return c}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,c=!1!==r.end,a="",i=0;i<e.length;i++){var u=e[i];if("string"==typeof u)a+=s(u);else{var d=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+d+p+")*"),a+=p=u.optional?u.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=s(r.delimiter||"/"),v=a.slice(-h.length)===h;return o||(a=(v?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=c?"$":o&&v?"":"(?="+h+"|$)",l(new RegExp("^"+a,f(r)),t)}function p(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(p(e[o],t,r).source);return l(new RegExp("(?:"+n.join("|")+")",f(r)),t)}(e,t,r):function(e,t,r){return d(c(e,r),t,r)}(e,t,r)}},259:function(e,t,r){"use strict";(function(e,n){var o,c=r(413);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:n;var a=Object(c.a)(o);t.a=a}).call(this,r(56),r(446)(e))},26:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},261:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),a=r.n(c),i=r(39),s=r.n(i),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(3),v=r(1),m=r.n(v),b=r(53),y=r(23);function g(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 r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var O=function(e){s()(r,e);var t=g(r);function r(){return o()(this,r),t.apply(this,arguments)}return a()(r,[{key:"render",value:function(){var e,t,r,n,o=this.props,c=o.className,a=o.isError,i=o.isEmpty;return a?(e=Object(h.__)("There was an error getting your stats. Please try again.","woocommerce-admin"),t=Object(h.__)("Reload","woocommerce-admin"),n=function(){window.location.reload()}):i&&(e=Object(h.__)("No results could be found for this date range.","woocommerce-admin"),t=Object(h.__)("View Orders","woocommerce-admin"),r=Object(y.f)("edit.php?post_type=shop_order")),Object(p.createElement)(b.EmptyContent,{className:c,title:e,actionLabel:t,actionURL:r,actionCallback:n})}}]),r}(p.Component);O.propTypes={className:m.a.string,isError:m.a.bool,isEmpty:m.a.bool},O.defaultProps={className:""},t.a=O},268:function(e,t,r){"use strict";function n(e){return e?e.substr(1).split("&").reduce((function(e,t){var r=t.split("="),n=r[0],o=decodeURIComponent(r[1]);return o=isNaN(Number(o))?o:Number(o),e[n]=o,e}),{}):{}}function o(){var e="",t=n(window.location.search),r=t.page,o=t.path,c=t.post_type;if(r){var a="wc-admin"===r?"home_screen":r;e=o?o.replace(/\//g,"_").substring(1):a}else c&&(e=c);return e}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o}))},27:function(e,t){!function(){e.exports=this.wp.url}()},271:function(e,t,r){"use strict";r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return g}));var n=r(0),o=r(3),c=r(48),a=r(36),i=r.n(a),s=r(23),u=r(66),l=r(108),f=r(53),d=r(43),p=function(e){var t=e.value,r=e.onChange,o=Object(d.useSettings)("wc_admin",["wcAdminSettings"]).wcAdminSettings.woocommerce_default_date_range,c=Object(u.parse)(t.replace(/&/g,"&")),a=Object(l.h)(c,o),i=a.period,s=a.compare,p=a.before,h=a.after,v=Object(l.f)(c,o),m={period:i,compare:s,before:p,after:h,primaryDate:v.primary,secondaryDate:v.secondary};return Object(n.createElement)(f.DateRangeFilterPicker,{query:c,onRangeSelect:function(e){r({target:{name:"woocommerce_default_date_range",value:Object(u.stringify)(e)}})},dateQuery:m,isoDateFormat:l.k})},h=["processing","on-hold"],v=["completed","processing","refunded","cancelled","failed","pending","on-hold"],m=Object.keys(s.d).filter((function(e){return"refunded"!==e})).map((function(e){return{value:e,label:s.d[e],description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),s.d[e])}})),b=Object(s.g)("unregisteredOrderStatuses",{}),y=[{key:"defaultStatuses",options:m.filter((function(e){return v.includes(e.value)}))},{key:"customStatuses",label:Object(o.__)("Custom Statuses","woocommerce-admin"),options:m.filter((function(e){return!v.includes(e.value)}))},{key:"unregisteredStatuses",label:Object(o.__)("Unregistered Statuses","woocommerce-admin"),options:Object.keys(b).map((function(e){return{value:e,label:e,description:Object(o.sprintf)(Object(o.__)("Exclude the %s status from reports","woocommerce-admin"),e)}}))}],g=Object(c.applyFilters)("woocommerce_admin_analytics_settings",{woocommerce_excluded_report_order_statuses:{label:Object(o.__)("Excluded Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:i()({mixedString:Object(o.__)("Orders with these statuses are excluded from the totals in your reports. The {{strong}}Refunded{{/strong}} status can not be excluded.","woocommerce-admin"),components:{strong:Object(n.createElement)("strong",null)}}),defaultValue:["pending","cancelled","failed"]},woocommerce_actionable_order_statuses:{label:Object(o.__)("Actionable Statuses:","woocommerce-admin"),inputType:"checkboxGroup",options:y,helpText:Object(o.__)("Orders with these statuses require action on behalf of the store admin.These orders will show up in the Orders tab under the activity panel.","woocommerce-admin"),defaultValue:h},woocommerce_default_date_range:{name:"woocommerce_default_date_range",label:Object(o.__)("Default Date Range:","woocommerce-admin"),inputType:"component",component:p,helpText:Object(o.__)("Select a default date range. When no range is selected, reports will be viewed by the default date range.","woocommerce-admin"),defaultValue:"period=month&compare=previous_year"}})},273:function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},274:function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return u}));var n=r(17),o=r.n(n),c=r(108);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e){var t=e.per_page,r=e.persisted_query,n=e.query,o=(0,e.select)("wc-api"),a=o.getItems,s=o.getItemsError,u=o.isGetItemsRequesting,l={isRequesting:!1,isError:!1,rows:[]},f=Object(c.f)(n,e.defaultDateRange),d={after:Object(c.a)(f.primary.after,"start"),before:Object(c.a)(f.primary.before,"end"),per_page:t,persisted_query:JSON.stringify(r)},p=a("leaderboards",d);if(u("leaderboards",d))return i(i({},l),{},{isRequesting:!0});if(s("leaderboards",d))return i(i({},l),{},{isError:!0});var h=p.get(e.id);return i(i({},l),{},{rows:h.rows})}function u(e,t,r){var n=e("wc-api"),o=n.getItems,c=n.getItemsError,a=n.isGetItemsRequesting,i={},s=!1,u=!1;return r.forEach((function(e){var r={search:e,per_page:10};o(t,r).forEach((function(e,t){i[t]=e})),a(t,r)&&(s=!0),c(t,r)&&(u=!0)})),{items:i,isRequesting:s,isError:u}}},29:function(e,t){!function(){e.exports=this.wp.dataControls}()},3:function(e,t){!function(){e.exports=this.wp.i18n}()},30:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,"a",(function(){return n}))},31:function(e,t,r){"use strict";r.d(t,"e",(function(){return s})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return l})),r.d(t,"f",(function(){return f})),r.d(t,"d",(function(){return d})),r.d(t,"a",(function(){return p}));var n=r(6),o=r(15),c=r(2),a=r(3);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.navigator.platform;return-1!==t.indexOf("Mac")||Object(c.includes)(["iPad","iPhone"],t)}var s=9,u=27,l=37,f=38,d=39,p=40,h="alt",v="ctrl",m="meta",b="shift",y={primary:function(e){return e()?[m]:[v]},primaryShift:function(e){return e()?[b,m]:[v,b]},primaryAlt:function(e){return e()?[h,m]:[v,h]},secondary:function(e){return e()?[b,h,m]:[v,b,h]},access:function(e){return e()?[v,h]:[b,h]},ctrl:function(){return[v]},alt:function(){return[h]},ctrlShift:function(){return[v,b]},shift:function(){return[b]},shiftAlt:function(){return[b,h]}},g=(Object(c.mapValues)(y,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return[].concat(Object(o.a)(e(r)),[t.toLowerCase()]).join("+")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,s=a(),u=(r={},Object(n.a)(r,h,s?"⌥":"Alt"),Object(n.a)(r,v,s?"^":"Ctrl"),Object(n.a)(r,m,"⌘"),Object(n.a)(r,b,s?"⇧":"Shift"),r),l=e(a).reduce((function(e,t){var r=Object(c.get)(u,t,t);return[].concat(Object(o.a)(e),s?[r]:[r,"+"])}),[]),f=Object(c.capitalize)(t);return[].concat(Object(o.a)(l),[f])}})));Object(c.mapValues)(g,(function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e(t,r).join("")}})),Object(c.mapValues)(y,(function(e){return function(t){var r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i,u=s(),l=(r={},Object(n.a)(r,b,"Shift"),Object(n.a)(r,m,u?"Command":"Control"),Object(n.a)(r,v,"Control"),Object(n.a)(r,h,u?"Option":"Alt"),Object(n.a)(r,",",Object(a.__)("Comma")),Object(n.a)(r,".",Object(a.__)("Period")),Object(n.a)(r,"`",Object(a.__)("Backtick")),r);return[].concat(Object(o.a)(e(s)),[t]).map((function(e){return Object(c.capitalize)(Object(c.get)(l,e,e))})).join(u?" ":" + ")}}));function O(e){return[h,v,m,b].filter((function(t){return e["".concat(t,"Key")]}))}Object(c.mapValues)(y,(function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,o=e(n),a=O(t);return!Object(c.xor)(o,a).length&&(r?t.key===r:Object(c.includes)(o,t.key.toLowerCase()))}}))},32:function(e,t,r){"use strict";r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return l}));var n=r(6),o=r(14),c=r(8),a=r.n(c),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=function(e){return Object(i.createElement)("path",e)},l=function(e){var t=e.className,r=e.isPressed,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(o.a)(e,["className","isPressed"]),{className:a()(t,{"is-pressed":r})||void 0,role:"img","aria-hidden":!0,focusable:!1});return Object(i.createElement)("svg",c)}},33:function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"f",(function(){return c})),r.d(t,"e",(function(){return a})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return u}));var n=r(170),o="/wc-analytics",c="/wc-admin",a="/wc/v1",i={timeout:1*n.b,freshness:30*n.b},s=100,u={pageSize:25,period:"month",compare:"previous_year",noteTypes:"info,warning,marketing"}},35:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(e){return typeof e}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(t)}e.exports=r},36:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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},o=i(r(13)),c=i(r(148)),a=i(r(151));function i(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function u(e,t){var r,a,i,l,f,d,p,h,v=[],m={};for(d=0;d<e.length;d++)if("string"!==(f=e[d]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==n(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){r=t[f.value],i=d;break}v.push(t[f.value])}else v.push(f.value);return r&&(l=function(e,t){var r,n,o=t[e],c=0;for(n=e+1;n<t.length;n++)if((r=t[n]).value===o.value){if("componentOpen"===r.type){c++;continue}if("componentClose"===r.type){if(0===c)return n;c--}}throw new Error("Missing closing component token `"+o.value+"`")}(i,e),p=u(e.slice(i+1,l),t),a=o.default.cloneElement(r,{},p),v.push(a),l<e.length-1&&(h=u(e.slice(l+1),t),v=v.concat(h))),1===v.length?v[0]:(v.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,c.default)(m))}t.default=function(e){var t=e.mixedString,r=e.components,o=e.throwErrors;if(s=t,!r)return t;if("object"!==(void 0===r?"undefined":n(r))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,a.default)(t);try{return u(c,r)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},37:function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},38:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},39:function(e,t,r){var n=r(147);e.exports=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&&n(e,t)}},4:function(e,t,r){"use strict";function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.d(t,"a",(function(){return n}))},40:function(e,t,r){"use strict";function n(e){return(n="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)}r.d(t,"a",(function(){return n}))},406:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();var c=r(441),a=r(13),i=r(78);e.exports=function(e){var t=e.displayName||e.name,r=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,e));return t.handleClickOutside=t.handleClickOutside.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),o(r,[{key:"componentDidMount",value:function(){document.addEventListener("click",this.handleClickOutside,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside,!0)}},{key:"handleClickOutside",value:function(e){var t=this.__domNode;t&&t.contains(e.target)||!this.__wrappedInstance||"function"!=typeof this.__wrappedInstance.handleClickOutside||this.__wrappedInstance.handleClickOutside(e)}},{key:"render",value:function(){var t=this,r=this.props,o=r.wrappedRef,c=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(r,["wrappedRef"]);return a.createElement(e,n({},c,{ref:function(e){t.__wrappedInstance=e,t.__domNode=i.findDOMNode(e),o&&o(e)}}))}}]),r}(a.Component);return r.displayName="clickOutside("+t+")",c(r,e)}},407:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),i=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-pages",c,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M16 8H8V6h8v2zm0 2H8v2h8v-2zm4-6v12l-6 6H6c-1.105 0-2-.895-2-2V4c0-1.105.895-2 2-2h12c1.105 0 2 .895 2 2zm-2 10V4H6v16h6v-4c0-1.105.895-2 2-2h4z"})))};var o,c=r(13),a=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},408:function(e,t,r){"use strict";var n=Object.assign||function(e){for(var t,r=1;r<arguments.length;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.size,r=void 0===t?24:t,o=e.onClick,c=(e.icon,e.className),i=function(e,t){var r={};for(var n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["size","onClick","icon","className"]),s=["gridicon","gridicons-cross-small",c,!1,!1,!1].filter(Boolean).join(" ");return a.default.createElement("svg",n({className:s,height:r,width:r,onClick:o},i,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),a.default.createElement("g",null,a.default.createElement("path",{d:"M17.705 7.705l-1.41-1.41L12 10.59 7.705 6.295l-1.41 1.41L10.59 12l-4.295 4.295 1.41 1.41L12 13.41l4.295 4.295 1.41-1.41L13.41 12l4.295-4.295z"})))};var o,c=r(13),a=(o=c)&&o.__esModule?o:{default:o};e.exports=t.default},409:function(e,t,r){"use strict";(function(e){var n=r(0),o=r(2),c=r(8),a=r.n(c),i=r(127),s=r(3),u=(r(410),r(67));t.a=Object(n.forwardRef)((function(t,r){var c=t.className,l=t.children,f=t.spokenMessage,d=void 0===f?l:f,p=t.politeness,h=void 0===p?"polite":p,v=t.actions,m=void 0===v?[]:v,b=t.onRemove,y=void 0===b?o.noop:b;!function(e,t){var r="string"==typeof e?e:Object(n.renderToString)(e);Object(n.useEffect)((function(){r&&Object(i.a)(r,t)}),[r,t])}(d,h),Object(n.useEffect)((function(){var e=setTimeout((function(){y()}),1e4);return function(){return clearTimeout(e)}}),[]);var g=a()(c,"components-snackbar");return m&&m.length>1&&(void 0!==e&&e.env,m=[m[0]]),Object(n.createElement)("div",{ref:r,className:g,onClick:y,tabIndex:"0",role:"button",onKeyPress:y,"aria-label":Object(s.__)("Dismiss this notice")},Object(n.createElement)("div",{className:"components-snackbar__content"},l,m.map((function(e,t){var r=e.label,o=e.onClick,c=e.url;return Object(n.createElement)(u.a,{key:t,href:c,isTertiary:!0,onClick:function(e){e.stopPropagation(),o&&o(e)},className:"components-snackbar__action"},r)}))))}))}).call(this,r(47))},41:function(e,t,r){var n=r(211),o=r(212),c=r(172),a=r(213);e.exports=function(e){return n(e)||o(e)||c(e)||a()}},410:function(e,t,r){"use strict";(function(e){function n(t){void 0!==e&&e.env}r.d(t,"a",(function(){return n}))}).call(this,r(47))},411:function(e,t,r){"use strict";(function(t){var r="__global_unique_id__";e.exports=function(){return t[r]=(t[r]||0)+1}}).call(this,r(56))},412:function(e,t,r){"use strict";var n=r(38),o=r.n(n),c=r(37),a=r.n(c),i=r(39),s=r.n(i),u=r(42),l=r.n(u),f=r(26),d=r.n(f),p=r(0),h=r(18),v=r(43);r(445);function m(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 r,n=d()(e);if(t){var o=d()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l()(this,r)}}var b=function(e){s()(r,e);var t=m(r);function r(){return o()(this,r),t.apply(this,arguments)}return a()(r,[{key:"renderMenuItem",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.slug,o=e.title,c=e.url;return Object(p.createElement)("li",{key:n,className:"woocommerce-navigation__menu-item woocommerce-navigation__menu-item-depth-".concat(r)},Object(p.createElement)("a",{href:c},o),e.children&&e.children.length&&Object(p.createElement)("ul",{className:"woocommerce-navigation__submenu"},e.children.map((function(e){return t.renderMenuItem(e,r+1)}))))}},{key:"render",value:function(){var e=this,t=this.props.items;return Object(p.createElement)("div",{className:"woocommerce-navigation"},Object(p.createElement)("ul",{className:"woocommerce-navigation__menu"},t.map((function(t){return e.renderMenuItem(t)}))))}}]),r}(p.Component);t.a=Object(h.withSelect)((function(e){return{items:e(v.SETTINGS_STORE_NAME).getSetting("wc_admin","wcNavigation")}}))(b)},413:function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}r.d(t,"a",(function(){return n}))},418:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),a=r(2),i=r(31),s=r(9),u=r(7),l=r(5),f=r(11),d=r(4),p=r(10),h=r(45);function v(){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}}var m=function(e){Object(p.a)(i,e);var t,r=(t=i,function(){var e,r=Object(d.a)(t);if(v()){var n=Object(d.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(f.a)(this,e)});function i(){var e;return Object(s.a)(this,i),(e=r.apply(this,arguments)).onKeyDown=e.onKeyDown.bind(Object(l.a)(e)),e.bindContainer=e.bindContainer.bind(Object(l.a)(e)),e.getFocusableContext=e.getFocusableContext.bind(Object(l.a)(e)),e.getFocusableIndex=e.getFocusableIndex.bind(Object(l.a)(e)),e}return Object(u.a)(i,[{key:"componentDidMount",value:function(){this.container.addEventListener("keydown",this.onKeyDown),this.container.addEventListener("focus",this.onFocus)}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("keydown",this.onKeyDown),this.container.removeEventListener("focus",this.onFocus)}},{key:"bindContainer",value:function(e){var t=this.props.forwardedRef;this.container=e,Object(a.isFunction)(t)?t(e):t&&"current"in t&&(t.current=e)}},{key:"getFocusableContext",value:function(e){var t=(this.props.onlyBrowserTabstops?h.a.tabbable:h.a.focusable).find(this.container),r=this.getFocusableIndex(t,e);return r>-1&&e?{index:r,target:e,focusables:t}:null}},{key:"getFocusableIndex",value:function(e,t){var r=e.indexOf(t);if(-1!==r)return r}},{key:"onKeyDown",value:function(e){this.props.onKeyDown&&this.props.onKeyDown(e);var t=this.getFocusableContext,r=this.props,n=r.cycle,o=void 0===n||n,c=r.eventToOffset,i=r.onNavigate,s=void 0===i?a.noop:i,u=r.stopNavigationEvents,l=c(e);if(void 0!==l&&u&&(e.stopImmediatePropagation(),"menuitem"===e.target.getAttribute("role")&&e.preventDefault()),l){var f=t(document.activeElement);if(f){var d=f.index,p=f.focusables,h=o?function(e,t,r){var n=e+r;return n<0?t+n:n>=t?n-t:n}(d,p.length,l):d+l;h>=0&&h<p.length&&(p[h].focus(),s(h,p[h]))}}}},{key:"render",value:function(){var e=this.props,t=e.children,r=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({ref:this.bindContainer},Object(a.omit)(r,["stopNavigationEvents","eventToOffset","onNavigate","onKeyDown","cycle","onlyBrowserTabstops","forwardedRef"])),t)}}]),i}(c.Component),b=function(e,t){return Object(c.createElement)(m,Object(n.a)({},e,{forwardedRef:t}))};b.displayName="NavigableContainer";var y=Object(c.forwardRef)(b);t.a=Object(c.forwardRef)((function(e,t){var r=e.role,s=void 0===r?"menu":r,u=e.orientation,l=void 0===u?"vertical":u,f=Object(o.a)(e,["role","orientation"]);return Object(c.createElement)(y,Object(n.a)({ref:t,stopNavigationEvents:!0,onlyBrowserTabstops:!1,role:s,"aria-orientation":"presentation"===s?null:l,eventToOffset:function(e){var t=e.keyCode,r=[i.a],n=[i.f];return"horizontal"===l&&(r=[i.d],n=[i.c]),"both"===l&&(r=[i.d,i.a],n=[i.c,i.f]),Object(a.includes)(r,t)?1:Object(a.includes)(n,t)?-1:void 0}},f))}))},42:function(e,t,r){var n=r(35),o=r(62);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},43:function(e,t){!function(){e.exports=this.wc.data}()},434:function(e,t,r){"use strict";r.r(t),function(e){var t=r(0),n=(r(716),r(437),r(199)),o=r(412),c=(r(715),r(43));r.p=e.wcAdminAssets.path;var a=document.getElementById("root"),i=document.getElementById("woocommerce-embedded-navigation"),s=window.wcSettings.currentUserData;if(i){var u=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(o.a);s&&(u=Object(c.withCurrentUserHydration)(s)(u)),Object(t.render)(Object(t.createElement)(u,null),i),document.getElementById("adminmenumain").classList.add("folded")}if(a){var l=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.b);window.wcSettings.preloadSettings&&window.wcSettings.preloadSettings.general&&(l=Object(c.withSettingsHydration)("general",{general:window.wcSettings.preloadSettings.general})(l)),s&&(l=Object(c.withCurrentUserHydration)(s)(l)),Object(t.render)(Object(t.createElement)(l,null),a)}else{var f=document.getElementById("woocommerce-embedded-root"),d=Object(c.withSettingsHydration)("wc_admin",window.wcSettings)(n.a);s&&(d=Object(c.withCurrentUserHydration)(s)(d)),Object(t.render)(Object(t.createElement)(d,null),f),f.classList.remove("is-embed-loading");var p=document.getElementById("wpbody-content"),h=p.querySelector(".wrap.woocommerce")||p.querySelector('[class="wrap"]'),v=document.createElement("div");Object(t.render)(Object(t.createElement)("div",{className:"woocommerce-layout"},Object(t.createElement)(n.c,null)),p.insertBefore(v,h))}}.call(this,r(56))},436:function(e,t,r){var n=function(e){"use strict";var t=Object.prototype,r=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",c=n.asyncIterator||"@@asyncIterator",a=n.toStringTag||"@@toStringTag";function i(e,t,r,n){var o=t&&t.prototype instanceof l?t:l,c=Object.create(o.prototype),a=new z(n||[]);return c._invoke=function(e,t,r){var n="suspendedStart";return function(o,c){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw c;return k()}for(r.method=o,r.arg=c;;){var a=r.delegate;if(a){var i=g(a,r);if(i){if(i===u)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=s(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(e,r,a),c}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=i;var u={};function l(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,v=h&&h(h(j([])));v&&v!==t&&r.call(v,o)&&(p=v);var m=d.prototype=l.prototype=Object.create(p);function b(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var n;this._invoke=function(o,c){function a(){return new t((function(n,a){!function n(o,c,a,i){var u=s(e[o],e,c);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,i)}),(function(e){n("throw",e,a,i)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,i)}))}i(u.arg)}(o,c,n,a)}))}return n=n?n.then(a,a):a()}}function g(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,g(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var n=s(r,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,u;var o=n.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function j(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,c=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return c.next=c}}return{next:k}}function k(){return{value:void 0,done:!0}}return f.prototype=m.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},b(y.prototype),y.prototype[c]=function(){return this},e.AsyncIterator=y,e.async=function(t,r,n,o,c){void 0===c&&(c=Promise);var a=new y(i(t,r,n,o),c);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},b(m),m[a]="Generator",m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,z.prototype={constructor:z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],a=c.completion;if("root"===c.tryLoc)return n("end");if(c.tryLoc<=this.prev){var i=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(i&&s){if(this.prev<c.catchLoc)return n(c.catchLoc,!0);if(this.prev<c.finallyLoc)return n(c.finallyLoc)}else if(i){if(this.prev<c.catchLoc)return n(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return n(c.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var c=o;break}}c&&("break"===e||"continue"===e)&&c.tryLoc<=t&&t<=c.finallyLoc&&(c=null);var a=c?c.completion:{};return a.type=e,a.arg=t,c?(this.method="next",this.next=c.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;w(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},437:function(e,t,r){},438:function(e,t,r){},439:function(e,t,r){},440:function(e,t,r){},441:function(e,t,r){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c=Object.defineProperty,a=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,s=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,l=u&&u(Object);e.exports=function e(t,r,f){if("string"!=typeof r){if(l){var d=u(r);d&&d!==l&&e(t,d,f)}var p=a(r);i&&(p=p.concat(i(r)));for(var h=0;h<p.length;++h){var v=p[h];if(!(n[v]||o[v]||f&&f[v])){var m=s(r,v);try{c(t,v,m)}catch(e){}}}return t}return t}},442:function(e,t,r){},443:function(e,t,r){},444:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},445:function(e,t,r){},446:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},45:function(e,t,r){"use strict";r.d(t,"a",(function(){return y}));var n={};r.r(n),r.d(n,"find",(function(){return i}));var o={};r.r(o),r.d(o,"isTabbableIndex",(function(){return l})),r.d(o,"find",(function(){return v})),r.d(o,"findPrevious",(function(){return m})),r.d(o,"findNext",(function(){return b}));var c=["[tabindex]","a[href]","button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])","iframe","object","embed","area[href]","[contenteditable]:not([contenteditable=false])"].join(",");function a(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0}function i(e){var t=e.querySelectorAll(c);return Array.from(t).filter((function(e){return!!a(e)&&("AREA"!==e.nodeName||function(e){var t=e.closest("map[name]");if(!t)return!1;var r=document.querySelector('img[usemap="#'+t.name+'"]');return!!r&&a(r)}(e))}))}var s=r(2);function u(e){var t=e.getAttribute("tabindex");return null===t?0:parseInt(t,10)}function l(e){return-1!==u(e)}function f(e,t){return{element:e,index:t}}function d(e){return e.element}function p(e,t){var r=u(e.element),n=u(t.element);return r===n?e.index-t.index:r-n}function h(e){return e.filter(l).map(f).sort(p).map(d).reduce((t={},function(e,r){var n=r.nodeName,o=r.type,c=r.checked,a=r.name;if("INPUT"!==n||"radio"!==o||!a)return e.concat(r);var i=t.hasOwnProperty(a);if(!c&&i)return e;if(i){var u=t[a];e=Object(s.without)(e,u)}return t[a]=r,e.concat(r)}),[]);var t}function v(e){return h(i(e))}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=i(document.body),r=t.indexOf(e);return t.length=r,Object(s.last)(h(t))}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.activeElement,t=i(document.body),r=t.indexOf(e),n=t.slice(r+1).filter((function(t){return!e.contains(t)}));return Object(s.first)(h(n))}var y={focusable:n,tabbable:o}},46:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},47:function(e,t){var r,n,o=e.exports={};function c(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(r===setTimeout)return setTimeout(e,0);if((r===c||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:c}catch(e){r=c}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,u=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!l){var e=i(d);l=!0;for(var t=u.length;t;){for(s=u,u=[];++f<t;)s&&s[f].run();f=-1,t=u.length}s=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new h(e,t)),1!==u.length||l||i(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},48:function(e,t){!function(){e.exports=this.wp.hooks}()},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(30);function o(e,t){if(e){if("string"==typeof e)return Object(n.a)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Object(n.a)(e,t):void 0}}},5:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,"a",(function(){return n}))},51:function(e,t){function r(e,t,r,n,o,c,a){try{var i=e[c](a),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,c){var a=e.apply(t,n);function i(e){r(a,o,c,i,s,"next",e)}function s(e){r(a,o,c,i,s,"throw",e)}i(void 0)}))}}},53:function(e,t){!function(){e.exports=this.wc.components}()},54:function(e,t,r){"use strict";var n=r(2);t.a=function(e,t){return function(r){var o=e(r),c=r.displayName,a=void 0===c?r.name||"Component":c;return o.displayName="".concat(Object(n.upperFirst)(Object(n.camelCase)(t)),"(").concat(a,")"),o}}},55:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},56:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},59:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(48),o=Object.create(null);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.version,c=t.alternative,a=t.plugin,i=t.link,s=t.hint,u=a?" from ".concat(a):"",l=r?" and will be removed".concat(u," in version ").concat(r):"",f=c?" Please use ".concat(c," instead."):"",d=i?" See: ".concat(i):"",p=s?" Note: ".concat(s):"",h="".concat(e," is deprecated").concat(l,".").concat(f).concat(d).concat(p);h in o||(Object(n.doAction)("deprecated",e,t,h),console.warn(h),o[h]=!0)}},6:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",(function(){return n}))},60:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,"a",(function(){return n}))},62:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},63:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return p}));var n=r(17),o=r.n(n),c=r(35),a=r.n(c),i=r(87);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var u=r.n(i)()("wc-admin:tracks");function l(e,t){if(u("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!!window._tkq&&!!window.wcTracks&&!!window.wcTracks.isEnabled}),!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)return!1;window.wcTracks.recordEvent(e,t)}var f={localStorageKey:function(){return"tracksQueue"},clear:function(){window.localStorage&&window.localStorage.removeItem(f.localStorageKey())},get:function(){if(!window.localStorage)return[];var e=window.localStorage.getItem(f.localStorageKey());return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[]},add:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!window.localStorage)return u("Unable to queue, running now",{args:t}),void l.apply(null,t||void 0);var n=f.get(),o={args:t};n.push(o),n=n.slice(-100),u("Adding new item to queue.",o),window.localStorage.setItem(f.localStorageKey(),JSON.stringify(n))},process:function(){if(window.localStorage){var e=f.get();f.clear(),u("Processing items in queue.",e),e.forEach((function(e){"object"===a()(e)&&(u("Processing item in queue.",e),l.apply(null,e.args||void 0))}))}}};function d(e,t){f.add(e,t)}function p(e,t){e&&(l("page_view",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({path:e},t)),f.process())}},65:function(e,t,r){"use strict";var n=r(117),o=r(118),c=Array.isArray;e.exports=function(e,t){if(e&&t){if(e.constructor===Object&&t.constructor===Object)return n(e,t);if(c(e)&&c(t))return o(e,t)}return e===t},e.exports.isShallowEqualObjects=n,e.exports.isShallowEqualArrays=o},66:function(e,t,r){"use strict";var n=r(115),o=r(116),c=r(94);e.exports={formats:c,parse:o,stringify:n}},67:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0),a=r(8),i=r.n(a),s=r(2),u=r(59),l=r(97),f=r(96);function d(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,c=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return c=e.done,e},e:function(e){a=!0,o=e},f:function(){try{c||null==n.return||n.return()}finally{if(a)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=["onMouseDown","onClick"];t.a=Object(c.forwardRef)((function(e,t){var r=e.href,a=e.target,p=e.isPrimary,v=e.isLarge,m=e.isSmall,b=e.isTertiary,y=e.isPressed,g=e.isBusy,O=e.isDefault,w=e.isSecondary,z=e.isLink,j=e.isDestructive,k=e.className,M=e.disabled,H=e.icon,E=e.iconSize,V=e.showTooltip,C=e.tooltipPosition,x=e.shortcut,S=e.label,P=e.children,_=e.__experimentalIsFocusable,R=Object(o.a)(e,["href","target","isPrimary","isLarge","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconSize","showTooltip","tooltipPosition","shortcut","label","children","__experimentalIsFocusable"]);O&&Object(u.a)("Button isDefault prop",{alternative:"isSecondary"});var L=i()("components-button",k,{"is-secondary":O||w,"is-primary":p,"is-large":v,"is-small":m,"is-tertiary":b,"is-pressed":y,"is-busy":g,"is-link":z,"is-destructive":j,"has-text":!!H&&!!P,"has-icon":!!H}),A=M&&!_,T=void 0===r||A?"button":"a",N="a"===T?{href:r,target:a}:{type:"button",disabled:A,"aria-pressed":y};if(M&&_){N["aria-disabled"]=!0;var D,F=d(h);try{for(F.s();!(D=F.n()).done;){R[D.value]=function(e){e.stopPropagation(),e.preventDefault()}}}catch(e){F.e(e)}finally{F.f()}}var I=!A&&(V&&S||x||!!S&&(!P||Object(s.isArray)(P)&&!P.length)&&!1!==V),q=Object(c.createElement)(T,Object(n.a)({},N,R,{className:L,"aria-label":R["aria-label"]||S,ref:t}),H&&Object(c.createElement)(f.a,{icon:H,size:E}),P);return I?Object(c.createElement)(l.a,{text:S,shortcut:x,position:C},q):q}))},68:function(e,t,r){"use strict";function n(e,t,r,n,o,c,a){try{var i=e[c](a),s=i.value}catch(e){return void r(e)}i.done?t(s):Promise.resolve(s).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var a=e.apply(t,r);function i(e){n(a,o,c,i,s,"next",e)}function s(e){n(a,o,c,i,s,"throw",e)}i(void 0)}))}}r.d(t,"a",(function(){return o}))},7:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}r.d(t,"a",(function(){return o}))},70:function(e,t,r){"use strict";function n(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}r.d(t,"a",(function(){return n}))},715:function(e,t,r){"use strict";var n=r(18),o=r(170),c=r(259),a=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,r){var n;if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error("Expected the enhancer to be a function.");return r(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,a=t,l=[],f=l,d=!1;function p(){f===l&&(f=l.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function v(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var r=f.indexOf(e);f.splice(r,1),l=null}}}function m(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,a=o(a,e)}finally{d=!1}for(var t=l=f,r=0;r<t.length;r++){(0,t[r])()}return e}function b(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,m({type:i.REPLACE})}function y(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function r(){e.next&&e.next(h())}return r(),{unsubscribe:t(r)}}})[c.a]=function(){return this},e}return m({type:i.INIT}),(n={dispatch:m,subscribe:v,getState:h,replaceReducer:b})[c.a]=y,n}var l=r(17),f=r.n(l);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h={resources:{}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FRESH_DATA_REQUESTED":return m(e,t);case"FRESH_DATA_RECEIVED":return b(e,t);default:return e}}function m(e,t){return y(e,t.resourceNames.reduce((function(e,r){return e[r]={lastRequested:t.time},e}),{}))}function b(e,t){return y(e,Object.keys(t.resources).reduce((function(e,r){var n=p({},t.resources[r]);return n.data&&(n.lastReceived=t.time),n.error&&(n.lastError=t.time),e[r]=n,e}),{}))}function y(e,t){var r=Object.keys(t).reduce((function(e,r){var n=e[r],o=t[r];return e[r]=p(p({},n),o),e}),p({},e.resources));return p(p({},e),{},{resources:r})}var g=function(e,t){var r=function(e){var t=window.__REDUX_DEVTOOLS_EXTENSION__;return u(v,t&&t({name:e,instanceId:e}))}(e),n=function(e){return{dataRequested:function(t){document.hidden||e.dispatch({type:"FRESH_DATA_REQUESTED",resourceNames:t,time:new Date})},dataReceived:function(t){e.dispatch({type:"FRESH_DATA_RECEIVED",resources:t,time:new Date})}}}(r),c=new o.a(t);return c.setDataHandlers(n),r.subscribe((function(){c.setState(r.getState())})),c},O=r(41),w=r.n(O),z=r(51),j=r.n(z),k=r(3);function M(e,t){var r=JSON.stringify(t,Object.keys(t).sort());return"".concat(e,":").concat(r)}function H(e){return e.substring(0,e.indexOf(":"))}function E(e,t){return H(e)===t}function V(e){var t=e.substring(e.indexOf(":")+1);return JSON.parse(t)}var C={initiateReportExport:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o,c){var a,i,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=Object(n.dispatch)("core/notices"),i=a.createNotice,s=M("report-export-".concat(r),c),t.next=4,e.update([s],f()({},s,c));case 4:u=t.sent,(l=u[0][s])&&l.success&&i("success",Object(k.sprintf)(Object(k.__)("Your %s Report will be emailed to you.","woocommerce-admin"),o)),l&&l.error&&i("error",Object(k.sprintf)(Object(k.__)("There was a problem exporting your %s Report. Please try again.","woocommerce-admin"),o));case 8:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}()}},x=r(21),S=r.n(x),P=r(33);function _(e,t,r){return e.filter((function(e){return e.startsWith("report-export-")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=H(n),c=o.split("-").pop(),a=P.c+"/reports/"+c+"/export",e.prev=3,e.next=6,r({path:a,method:"POST",data:{report_args:t[n],email:!0}});case 6:return i=e.sent,e.abrupt("return",f()({},n,f()({},i.status,i.message)));case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",f()({},n,{error:e.t0}));case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}())}var R={mutations:C,operations:{update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(_(e,t,r))}}};function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var T={updateProductStock:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r,o){var c,a,i,s,u,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=Object(n.dispatch)("core/notices"),a=c.createNotice,i=r.stock_quantity,s=M("items-query-products-item",r.id),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:o}))),t.next=6,e.update([s],f()({},s,{id:r.id,type:r.type,parent_id:r.parent_id,stock_quantity:o}));case 6:u=t.sent,(l=u[0][s])&&l.data&&a("success",Object(k.sprintf)(Object(k.__)("%s stock updated.","woocommerce-admin"),r.name)),l&&l.error&&(a("error",Object(k.sprintf)(Object(k.__)("%s stock could not be updated.","woocommerce-admin"),r.name)),e.updateLocally([s],f()({},s,A(A({},r),{},{stock_quantity:i}))));case 10:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()}},N=r(129),D=r.n(N),F=r(27);function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var U={"items-query-categories":"products/categories","items-query-customers":"customers","items-query-coupons":"coupons","items-query-leaderboards":"leaderboards","items-query-orders":"orders","items-query-products":"products","items-query-taxes":"taxes"};var B={read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(U[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l,d,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=U[n],c=V(r),a=Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),c),i=-1===c.per_page,e.prev=5,e.next=8,t({parse:i,path:a});case 8:if(s=e.sent,!i){e.next=14;break}l=(u=s).length,e.next=18;break;case 14:return e.next=16,s.json();case 16:u=e.sent,l=parseInt(s.headers.get("x-wp-total"),10);case 18:return d=u.map((function(e){return e.id})),p=u.reduce((function(e,t){return e[M("".concat(n,"-item"),t.id)]={data:t},e}),{}),e.abrupt("return",q(f()({},r,{data:d,totalCount:l}),p));case 23:return e.prev=23,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 26:case"end":return e.stop()}}),e,null,[[5,23]])})));return function(t){return e.apply(this,arguments)}}())},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a,n=["items-query-products-item"],o=e.filter((function(e){return n.includes(H(e))}));return o.map(function(){var e=j()(regeneratorRuntime.mark((function e(n){var o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=t[n],c=o.id,a=o.parent_id,i=o.type,s=D()(o,["id","parent_id","type"]),u=P.c,e.t0=i,e.next="variation"===e.t0?5:("variable"===e.t0||e.t0,7);break;case 5:return u+="/products/".concat(a,"/variations/").concat(c),e.abrupt("break",8);case 7:u+="/products/".concat(c);case 8:return e.abrupt("return",r({path:u,method:"PUT",data:s}).then((function(e){return f()({},n,{data:e})})).catch((function(e){return f()({},n,{error:e})})));case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},updateLocally:function(e,t){var r=["items-query-products-item"],n=e.filter((function(e){return r.includes(H(e))})),o=M("items-query-products",{page:1,per_page:1,low_in_stock:!0,status:"publish"});return n.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(n={},f()(n,r,{data:t[r]}),f()(n,o,{lastReceived:null}),n));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},W=r(2),$={mutations:T,operations:B,selectors:{getItems:function(e,t){return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,c=M("items-query-".concat(r),n),a=t(o,c).data||[],i=new Map;return a.forEach((function(t){i.set(t,e(M("items-query-".concat(r,"-item"),t)).data)})),i}},getItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).error}},getItemsTotalCount:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r);return e(n).totalCount||0}},isGetItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("items-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}},G={"import-status":"reports/import/status","import-totals":"reports/import/totals"};function Q(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Z={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(G[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=G[n],c=V(r),a={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/").concat(o),Object(W.omit)(c,["timestamp"]))},e.prev=4,e.next=7,t(a);case 7:return i=e.sent,e.next=10,i.json();case 10:return s=e.sent,e.abrupt("return",f()({},r,{data:s}));case 14:return e.prev=14,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 17:case"end":return e.stop()}}),e,null,[[4,14]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getImportStatus:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("import-status",e);return t(r,n).data||{}}},isGetImportStatusRequesting:function(e){return function(t){var r=M("import-status",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getImportTotals:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=K(K({},e),{},{timestamp:r}),c=M("import-totals",o);return t(n,c).data||{}}}}};function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function X(e,t){return e.filter((function(e){return E(e,"note-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/admin/notes"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return a=e.sent,i=parseInt(c.headers.get("x-wp-total"),10),s=a.map((function(e){return e.id})),u=a.reduce((function(e,t){return e[M("note",t.id)]={data:t},e}),{}),e.abrupt("return",Y(f()({},r,{data:s,totalCount:i}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function ee(e,t){return e.filter((function(e){return E(e,"note")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/admin/notes/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}function te(e,t,r){if(e.includes("note")){var n=t.note,o=n.noteId,c=D()(n,["noteId"]);return[r({path:"".concat(P.c,"/admin/notes/").concat(o),method:"PUT",data:c}).then((function(e){var r=f()({},"note:"+o,{data:e});return isNaN(t.note.is_deleted)||(r["note-undo-dismiss"]={isUndoRequesting:!1,isDismissUndoRequesting:!1}),r})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function re(e,t,r){if(e.includes("note")){var n=t.note.noteId;return[r({path:"".concat(P.c,"/admin/notes/delete/").concat(n),method:"DELETE"}).then((function(e){return f()({},"note:"+n,{data:e})})).catch((function(e){return f()({},"note:"+n,{error:e})}))]}return[]}function ne(e,t){return e.includes("note")?[t({path:"".concat(P.c,"/admin/notes/delete/all"),method:"DELETE"}).then((function(e){return e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{})})).catch((function(e){return{error:e}}))]:[]}function oe(e,t,r){return e.includes("note")?[r({path:"".concat(P.c,"/admin/notes/undoremove"),method:"PUT",data:t}).then((function(e){var t=e.reduce((function(e,t){return e[["note:"+t.id]]={data:t},e}),{});return t["note-undo-dismiss"]={isUndoRequesting:!1,isDismissAllUndoRequesting:!1},t})).catch((function(e){return e}))]:[]}function ce(e,t,r){if(e.includes("note-action")){var n=t["note-action"],o=n.noteId,c=n.actionId;return[r({path:"".concat(P.c,"/admin/notes/").concat(o,"/action/").concat(c),method:"POST"}).then((function(e){return f()({},"note:"+o,{data:e})})).catch((function(e){return f()({},"note:"+o,{error:e})}))]}return[]}function ae(e,t){if(e.includes("note")&&(t.note?!isNaN(t.note.is_deleted):!isNaN(t.is_deleted))){var r=!!t.note&&t.note.noteId;return[f()({},"note-undo-dismiss",{isUndoRequesting:!0,isDismissUndoRequesting:r,isDismissAllUndoRequesting:!r})]}return[]}function ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var se={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(ee(e,t)),w()(X(e,t)))},update:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ae(e,t)),w()(te(e,t,r)),w()(ce(e,t,r)))},remove:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return w()(re(e,t,r))},removeAll:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return w()(ne(e,t))},triggerAction:ce,undoRemoveAll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S.a;return[].concat(w()(ae(e,t)),w()(oe(e,t,r)))}},selectors:{getNotes:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("note-query",r),c=t(n,o).data||[],a=c.map((function(t){return e(M("note",t)).data||{}}));return a}},getNotesError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t);return e(r).error}},isGetNotesRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("note-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}},getUndoDismissRequesting:function(e){return function(){return e("note-undo-dismiss")}}},mutations:{updateNote:function(e){return function(t,r){e.update(["note"],f()({},"note",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({noteId:t},r)))}},removeNote:function(e){return function(){var t=j()(regeneratorRuntime.mark((function t(r){var o,c,a,i,s,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=Object(n.dispatch)("core/notices"),c=o.createNotice,a="note",i=M("note",r),t.next=5,e.remove([a],f()({},a,{noteId:r}));case 5:s=t.sent,(u=s[0]?s[0][i]:{data:!1,error:!0})&&u.data&&c("success",Object(k.__)("Message dismissed.","woocommerce-admin"),{actions:[{label:Object(k.__)("Undo","woocommerce-admin"),onClick:function(){e.update([a],f()({},a,{noteId:r,is_deleted:0}))}}]}),u&&u.error&&c("error",Object(k.__)("Message could not be dismissed.","woocommerce-admin"));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},removeAllNotes:function(e){return j()(regeneratorRuntime.mark((function t(){var r,o,c,a,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Object(n.dispatch)("core/notices"),o=r.createNotice,c="note",t.next=4,e.removeAll([c]);case 4:a=t.sent,(i=a?a[0]:{error:!0}).error?o("error",Object(k.__)("Messages could not be dismissed.","woocommerce-admin")):o("success",Object(k.__)("All messages dismissed.","woocommerce-admin"),{actions:[{label:Object(k.__)("Undo","woocommerce-admin"),onClick:function(){var t=[];for(var r in i)t.push(i[r].data.id);e.undoRemoveAll([c],{notesIds:t,is_deleted:0})}}]});case 7:case"end":return t.stop()}}),t)})))},triggerNoteAction:function(e){return function(t,r){e.update(["note-action"],f()({},"note-action",{noteId:t,actionId:r}))}}}},ue={"report-items-query-orders":"orders","report-items-query-revenue":"revenue","report-items-query-products":"products","report-items-query-categories":"categories","report-items-query-coupons":"coupons","report-items-query-taxes":"taxes","report-items-query-variations":"variations","report-items-query-downloads":"downloads","report-items-query-customers":"customers","report-items-query-stock":"stock","report-items-query-performance-indicators":"performance-indicators"};var le={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(ue[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=ue[n],c=V(r),a={parse:!1,path:Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o),c)},e.prev=4,e.next=7,t(a);case 7:return i=e.sent,e.next=10,i.json();case 10:return s=e.sent,u=parseInt(i.headers.get("x-wp-total"),10),l=parseInt(i.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 16:return e.prev=16,e.t0=e.catch(4),e.abrupt("return",f()({},r,{error:e.t0}));case 19:case"end":return e.stop()}}),e,null,[[4,16]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportItems:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-items-query-".concat(e),r);return t(n,o)||{}}},getReportItemsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r);return e(n).error}},isReportItemsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-items-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}},fe=["coupons","downloads","orders","products","revenue","stock","taxes","customers"],de={"report-stats-query-orders":"orders","report-stats-query-revenue":"revenue","report-stats-query-products":"products","report-stats-query-categories":"categories","report-stats-query-downloads":"downloads","report-stats-query-coupons":"coupons","report-stats-query-stock":"stock","report-stats-query-taxes":"taxes","report-stats-query-customers":"customers"};var pe={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a,r=e.filter((function(e){var t=H(e);return Boolean(de[t])}));return r.map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=H(r),o=de[n],c=V(r),a={parse:!1},fe.indexOf(o)>=0?a.path=Object(F.addQueryArgs)("".concat(P.c,"/reports/").concat(o,"/stats"),c):a.path=Object(F.addQueryArgs)(o,c),e.prev=5,e.next=8,t(a);case 8:return i=e.sent,e.next=11,i.json();case 11:return s=e.sent,u=parseInt(i.headers.get("x-wp-total"),10),l=parseInt(i.headers.get("x-wp-totalpages"),10),e.abrupt("return",f()({},r,{data:s,totalResults:u,totalPages:l}));case 17:return e.prev=17,e.t0=e.catch(5),e.abrupt("return",f()({},r,{error:e.t0}));case 20:case"end":return e.stop()}}),e,null,[[5,17]])})));return function(t){return e.apply(this,arguments)}}())}},selectors:{getReportStats:function(e,t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.a,o=M("report-stats-query-".concat(e),r),c=t(n,o)||{};return c}},getReportStatsError:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r);return e(n).error}},isReportStatsRequesting:function(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=M("report-stats-query-".concat(t),r),o=e(n),c=o.lastRequested,a=o.lastReceived;return!(!Object(W.isNil)(c)&&!Object(W.isNil)(a))||c>a}}}};function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function me(e,t){return e.filter((function(e){return E(e,"review-query")})).map(function(){var e=j()(regeneratorRuntime.mark((function e(r){var n,o,c,a,i,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=V(r),o=Object(F.addQueryArgs)("".concat(P.c,"/products/reviews"),n),e.prev=2,e.next=5,t({parse:!1,path:o});case 5:return c=e.sent,e.next=8,c.json();case 8:return a=e.sent,i=parseInt(c.headers.get("x-wp-total"),10),s=a.map((function(e){return e.id})),u=a.reduce((function(e,t){return e[M("review",t.id)]={data:t},e}),{}),e.abrupt("return",ve(f()({},r,{data:s,totalCount:i}),u));case 15:return e.prev=15,e.t0=e.catch(2),e.abrupt("return",f()({},r,{error:e.t0}));case 18:case"end":return e.stop()}}),e,null,[[2,15]])})));return function(t){return e.apply(this,arguments)}}())}function be(e,t){return e.filter((function(e){return E(e,"review")})).map((function(e){return function(e,t){var r=V(e),n="".concat(P.c,"/products/reviews/").concat(r);return t({path:n}).then((function(t){return f()({},e,{data:t})})).catch((function(t){return f()({},e,{error:t})}))}(e,t)}))}var ye={operations:{read:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.a;return[].concat(w()(be(e,t)),w()(me(e,t)))}},selectors:{getReviews:function(e,t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,o=M("review-query",r),c=t(n,o).data||[],a=c.map((function(t){return e(M("review",t)).data||{}}));return a}},getReviewsError:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t);return e(r).error}},getReviewsTotalCount:function(e,t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.a,n=M("review-query",e);return t(r,n).totalCount||0}},isGetReviewsRequesting:function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=M("review-query",t),n=e(r),o=n.lastRequested,c=n.lastReceived;return!(!Object(W.isNil)(o)&&!Object(W.isNil)(c))||o>c}}}};function ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){f()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var we,ze={name:"wcApi",mutations:Oe(Oe(Oe({},R.mutations),$.mutations),se.mutations),selectors:Oe(Oe(Oe(Oe(Oe(Oe({},Z.selectors),$.selectors),se.selectors),le.selectors),pe.selectors),ye.selectors),operations:{read:function(e){return document.hidden?[]:[].concat(w()(Z.operations.read(e)),w()($.operations.read(e)),w()(se.operations.read(e)),w()(le.operations.read(e)),w()(pe.operations.read(e)),w()(ye.operations.read(e)))},update:function(e,t){return[].concat(w()(R.operations.update(e,t)),w()($.operations.update(e,t)),w()(se.operations.update(e,t)))},remove:function(e,t){return w()(se.operations.remove(e,t))},removeAll:function(e){return w()(se.operations.removeAll(e))},updateLocally:function(e,t){return w()($.operations.updateLocally(e,t))},undoRemoveAll:function(e,t){return w()(se.operations.undoRemoveAll(e,t))}}};Object(n.registerGenericStore)("wc-api",{getSelectors:function(){return function(e){return function(e){var t=[];return{selectors:we.getSelectors(t),onComplete:function(){0===t.length?we.clearComponentRequirements(e):we.setComponentRequirements(e,t)},onUnmount:function(){we.clearComponentRequirements(e)}}}(e&&e.component?e.component:e)}},getActions:function(){return we.getMutations()},subscribe:(we=g("wc-api",ze)).subscribe})},716:function(e,t,r){"use strict";var n={};r.r(n),r.d(n,"createNotice",(function(){return v})),r.d(n,"createSuccessNotice",(function(){return m})),r.d(n,"createInfoNotice",(function(){return b})),r.d(n,"createErrorNotice",(function(){return y})),r.d(n,"createWarningNotice",(function(){return g})),r.d(n,"removeNotice",(function(){return O}));var o={};r.r(o),r.d(o,"getNotices",(function(){return z}));var c=r(18),a=r(15),i=r(2),s=r(6);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(s.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f=function(e){return function(t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,o=n[e];if(void 0===o)return r;var c=t(r[o],n);return c===r[o]?r:l({},r,Object(s.a)({},o,c))}}}("context")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CREATE_NOTICE":return[].concat(Object(a.a)(Object(i.reject)(e,{id:t.notice.id})),[t.notice]);case"REMOVE_NOTICE":return Object(i.reject)(e,{id:t.id})}return e})),d=r(76),p=r.n(d),h=p.a.mark(v);function v(){var e,t,r,n,o,c,a,s,u,l,f,d,v,m,b,y,g=arguments;return p.a.wrap((function(p){for(;;)switch(p.prev=p.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:"info",t=g.length>1?g[1]:void 0,r=g.length>2&&void 0!==g[2]?g[2]:{},n=r.speak,o=void 0===n||n,c=r.isDismissible,a=void 0===c||c,s=r.context,u=void 0===s?"global":s,l=r.id,f=void 0===l?Object(i.uniqueId)(u):l,d=r.actions,v=void 0===d?[]:d,m=r.type,b=void 0===m?"default":m,y=r.__unstableHTML,t=String(t),!o){p.next=8;break}return p.next=8,{type:"SPEAK",message:t,ariaLive:"snackbar"===b?"polite":"assertive"};case 8:return p.next=10,{type:"CREATE_NOTICE",context:u,notice:{id:f,status:e,content:t,__unstableHTML:y,isDismissible:a,actions:v,type:b}};case 10:case"end":return p.stop()}}),h)}function m(e,t){return v("success",e,t)}function b(e,t){return v("info",e,t)}function y(e,t){return v("error",e,t)}function g(e,t){return v("warning",e,t)}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:e,context:t}}var w=[];function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return e[t]||w}var j=r(127),k={SPEAK:function(e){Object(j.a)(e.message,e.ariaLive||"assertive")}};Object(c.registerStore)("core/notices",{reducer:f,actions:n,selectors:o,controls:k})},72:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},73:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,c=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var c=t[n],a=c.obj[c.prop],i=Object.keys(a),s=0;s<i.length;++s){var u=i[s],l=a[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:a,prop:u}),r.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(o(r)){for(var n=[],c=0;c<r.length;++c)void 0!==r[c]&&n.push(r[c]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r){if(0===e.length)return e;var n=e;if("symbol"==typeof e?n=Symbol.prototype.toString.call(e):"string"!=typeof e&&(n=String(e)),"iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<n.length;++a){var i=n.charCodeAt(a);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?o+=n.charAt(a):i<128?o+=c[i]:i<2048?o+=c[192|i>>6]+c[128|63&i]:i<55296||i>=57344?o+=c[224|i>>12]+c[128|i>>6&63]+c[128|63&i]:(a+=1,i=65536+((1023&i)<<10|1023&n.charCodeAt(a)),o+=c[240|i>>18]+c[128|i>>12&63]+c[128|i>>6&63]+c[128|63&i])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,r,c){if(!r)return t;if("object"!=typeof r){if(o(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(c&&(c.plainObjects||c.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return o(t)&&!o(r)&&(i=a(t,c)),o(t)&&o(r)?(r.forEach((function(r,o){if(n.call(t,o)){var a=t[o];a&&"object"==typeof a&&r&&"object"==typeof r?t[o]=e(a,r,c):t.push(r)}else t[o]=r})),t):Object.keys(r).reduce((function(t,o){var a=r[o];return n.call(t,o)?t[o]=e(t[o],a,c):t[o]=a,t}),i)}}},733:function(e,t){!function(){e.exports=this.wc.csvExport}()},749:function(e,t,r){"use strict";(function(e){var n=r(88),o="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,c=e.env.FORCE_REDUCED_MOTION||o?function(){return!0}:function(){return Object(n.a)("(prefers-reduced-motion: reduce)")};t.a=c}).call(this,r(47))},75:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(12),o=r(14),c=r(9),a=r(7),i=r(11),s=r(4),u=r(10),l=r(0),f=r(32);function d(){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}}var p=function(e){Object(u.a)(p,e);var t,r=(t=p,function(){var e,r=Object(s.a)(t);if(d()){var n=Object(s.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(i.a)(this,e)});function p(){return Object(c.a)(this,p),r.apply(this,arguments)}return Object(a.a)(p,[{key:"render",value:function(){var e,t=this.props,r=t.icon,c=t.size,a=void 0===c?20:c,i=t.className,s=Object(o.a)(t,["icon","size","className"]);switch(r){case"admin-appearance":e="M14.48 11.06L7.41 3.99l1.5-1.5c.5-.56 2.3-.47 3.51.32 1.21.8 1.43 1.28 2.91 2.1 1.18.64 2.45 1.26 4.45.85zm-.71.71L6.7 4.7 4.93 6.47c-.39.39-.39 1.02 0 1.41l1.06 1.06c.39.39.39 1.03 0 1.42-.6.6-1.43 1.11-2.21 1.69-.35.26-.7.53-1.01.84C1.43 14.23.4 16.08 1.4 17.07c.99 1 2.84-.03 4.18-1.36.31-.31.58-.66.85-1.02.57-.78 1.08-1.61 1.69-2.21.39-.39 1.02-.39 1.41 0l1.06 1.06c.39.39 1.02.39 1.41 0z";break;case"admin-collapse":e="M10 2.16c4.33 0 7.84 3.51 7.84 7.84s-3.51 7.84-7.84 7.84S2.16 14.33 2.16 10 5.71 2.16 10 2.16zm2 11.72V6.12L6.18 9.97z";break;case"admin-comments":e="M5 2h9c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z";break;case"admin-customizer":e="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";break;case"admin-generic":e="M18 12h-2.18c-.17.7-.44 1.35-.81 1.93l1.54 1.54-2.1 2.1-1.54-1.54c-.58.36-1.23.63-1.91.79V19H8v-2.18c-.68-.16-1.33-.43-1.91-.79l-1.54 1.54-2.12-2.12 1.54-1.54c-.36-.58-.63-1.23-.79-1.91H1V9.03h2.17c.16-.7.44-1.35.8-1.94L2.43 5.55l2.1-2.1 1.54 1.54c.58-.37 1.24-.64 1.93-.81V2h3v2.18c.68.16 1.33.43 1.91.79l1.54-1.54 2.12 2.12-1.54 1.54c.36.59.64 1.24.8 1.94H18V12zm-8.5 1.5c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z";break;case"admin-home":e="M16 8.5l1.53 1.53-1.06 1.06L10 4.62l-6.47 6.47-1.06-1.06L10 2.5l4 4v-2h2v4zm-6-2.46l6 5.99V18H4v-5.97zM12 17v-5H8v5h4z";break;case"admin-links":e="M17.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z";break;case"admin-media":e="M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z";break;case"admin-multisite":e="M14.27 6.87L10 3.14 5.73 6.87 5 6.14l5-4.38 5 4.38zM14 8.42l-4.05 3.43L6 8.38v-.74l4-3.5 4 3.5v.78zM11 9.7V8H9v1.7h2zm-1.73 4.03L5 10 .73 13.73 0 13l5-4.38L10 13zm10 0L15 10l-4.27 3.73L10 13l5-4.38L20 13zM5 11l4 3.5V18H1v-3.5zm10 0l4 3.5V18h-8v-3.5zm-9 6v-2H4v2h2zm10 0v-2h-2v2h2z";break;case"admin-network":e="M16.95 2.58c1.96 1.95 1.96 5.12 0 7.07-1.51 1.51-3.75 1.84-5.59 1.01l-1.87 3.31-2.99.31L5 18H2l-1-2 7.95-7.69c-.92-1.87-.62-4.18.93-5.73 1.95-1.96 5.12-1.96 7.07 0zm-2.51 3.79c.74 0 1.33-.6 1.33-1.34 0-.73-.59-1.33-1.33-1.33-.73 0-1.33.6-1.33 1.33 0 .74.6 1.34 1.33 1.34z";break;case"admin-page":e="M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z";break;case"admin-plugins":e="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z";break;case"admin-post":e="M10.44 3.02l1.82-1.82 6.36 6.35-1.83 1.82c-1.05-.68-2.48-.57-3.41.36l-.75.75c-.92.93-1.04 2.35-.35 3.41l-1.83 1.82-2.41-2.41-2.8 2.79c-.42.42-3.38 2.71-3.8 2.29s1.86-3.39 2.28-3.81l2.79-2.79L4.1 9.36l1.83-1.82c1.05.69 2.48.57 3.4-.36l.75-.75c.93-.92 1.05-2.35.36-3.41z";break;case"admin-settings":e="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z";break;case"admin-site-alt":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm7.5 6.48c-.274.896-.908 1.64-1.75 2.05-.45-1.69-1.658-3.074-3.27-3.75.13-.444.41-.83.79-1.09-.43-.28-1-.42-1.34.07-.53.69 0 1.61.21 2v.14c-.555-.337-.99-.84-1.24-1.44-.966-.03-1.922.208-2.76.69-.087-.565-.032-1.142.16-1.68.733.07 1.453-.23 1.92-.8.46-.52-.13-1.18-.59-1.58h.36c1.36-.01 2.702.335 3.89 1 1.36 1.005 2.194 2.57 2.27 4.26.24 0 .7-.55.91-.92.172.34.32.69.44 1.05zM9 16.84c-2.05-2.08.25-3.75-1-5.24-.92-.85-2.29-.26-3.11-1.23-.282-1.473.267-2.982 1.43-3.93.52-.44 4-1 5.42.22.83.715 1.415 1.674 1.67 2.74.46.035.918-.066 1.32-.29.41 2.98-3.15 6.74-5.73 7.73zM5.15 2.09c.786-.3 1.676-.028 2.16.66-.42.38-.94.63-1.5.72.02-.294.085-.584.19-.86l-.85-.52z";break;case"admin-site-alt2":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm2.92 12.34c0 .35.14.63.36.66.22.03.47-.22.58-.6l.2.08c.718.384 1.07 1.22.84 2-.15.69-.743 1.198-1.45 1.24-.49-1.21-2.11.06-3.56-.22-.612-.154-1.11-.6-1.33-1.19 1.19-.11 2.85-1.73 4.36-1.97zM8 11.27c.918 0 1.695-.68 1.82-1.59.44.54.41 1.324-.07 1.83-.255.223-.594.325-.93.28-.335-.047-.635-.236-.82-.52zm3-.76c.41.39 3-.06 3.52 1.09-.95-.2-2.95.61-3.47-1.08l-.05-.01zM9.73 5.45v.27c-.65-.77-1.33-1.07-1.61-.57-.28.5 1 1.11.76 1.88-.24.77-1.27.56-1.88 1.61-.61 1.05-.49 2.42 1.24 3.67-1.192-.132-2.19-.962-2.54-2.11-.4-1.2-.09-2.26-.78-2.46C4 7.46 3 8.71 3 9.8c-1.26-1.26.05-2.86-1.2-4.18C3.5 1.998 7.644.223 11.44 1.49c-1.1 1.02-1.722 2.458-1.71 3.96z";break;case"admin-site-alt3":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z";break;case"admin-site":e="M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zm3.46 11.95c0 1.47-.8 3.3-4.06 4.7.3-4.17-2.52-3.69-3.2-5 .126-1.1.804-2.063 1.8-2.55-1.552-.266-3-.96-4.18-2 .05.47.28.904.64 1.21-.782-.295-1.458-.817-1.94-1.5.977-3.225 3.883-5.482 7.25-5.63-.84 1.38-1.5 4.13 0 5.57C7.23 7 6.26 5 5.41 5.79c-1.13 1.06.33 2.51 3.42 3.08 3.29.59 3.66 1.58 3.63 3.08zm1.34-4c-.32-1.11.62-2.23 1.69-3.14 1.356 1.955 1.67 4.45.84 6.68-.77-1.89-2.17-2.32-2.53-3.57v.03z";break;case"admin-tools":e="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z";break;case"admin-users":e="M10 9.25c-2.27 0-2.73-3.44-2.73-3.44C7 4.02 7.82 2 9.97 2c2.16 0 2.98 2.02 2.71 3.81 0 0-.41 3.44-2.68 3.44zm0 2.57L12.72 10c2.39 0 4.52 2.33 4.52 4.53v2.49s-3.65 1.13-7.24 1.13c-3.65 0-7.24-1.13-7.24-1.13v-2.49c0-2.25 1.94-4.48 4.47-4.48z";break;case"album":e="M0 18h10v-.26c1.52.4 3.17.35 4.76-.24 4.14-1.52 6.27-6.12 4.75-10.26-1.43-3.89-5.58-6-9.51-4.98V2H0v16zM9 3v14H1V3h8zm5.45 8.22c-.68 1.35-2.32 1.9-3.67 1.23-.31-.15-.57-.35-.78-.59V8.13c.8-.86 2.11-1.13 3.22-.58 1.35.68 1.9 2.32 1.23 3.67zm-2.75-.82c.22.16.53.12.7-.1.16-.22.12-.53-.1-.7s-.53-.12-.7.1c-.16.21-.12.53.1.7zm3.01 3.67c-1.17.78-2.56.99-3.83.69-.27-.06-.44-.34-.37-.61s.34-.43.62-.36l.17.04c.96.17 1.98-.01 2.86-.59.47-.32.86-.72 1.14-1.18.15-.23.45-.3.69-.16.23.15.3.46.16.69-.36.57-.84 1.08-1.44 1.48zm1.05 1.57c-1.48.99-3.21 1.32-4.84 1.06-.28-.05-.47-.32-.41-.6.05-.27.32-.45.61-.39l.22.04c1.31.15 2.68-.14 3.87-.94.71-.47 1.27-1.07 1.7-1.74.14-.24.45-.31.68-.16.24.14.31.45.16.69-.49.79-1.16 1.49-1.99 2.04z";break;case"align-center":e="M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z";break;case"align-full-width":e="M17 13V3H3v10h14zM5 17h10v-2H5v2z";break;case"align-left":e="M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z";break;case"align-none":e="M3 5h14V3H3v2zm10 8V7H3v6h10zM3 17h14v-2H3v2z";break;case"align-pull-left":e="M9 16V4H3v12h6zm2-7h6V7h-6v2zm0 4h6v-2h-6v2z";break;case"align-pull-right":e="M17 16V4h-6v12h6zM9 7H3v2h6V7zm0 4H3v2h6v-2z";break;case"align-right":e="M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z";break;case"align-wide":e="M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z";break;case"analytics":e="M18 18V2H2v16h16zM16 5H4V4h12v1zM7 7v3h3c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3zm1 2V7c1.1 0 2 .9 2 2H8zm8-1h-4V7h4v1zm0 3h-4V9h4v2zm0 2h-4v-1h4v1zm0 3H4v-1h12v1z";break;case"archive":e="M19 4v2H1V4h18zM2 7h16v10H2V7zm11 3V9H7v1h6z";break;case"arrow-down-alt":e="M9 2h2v12l4-4 2 1-7 7-7-7 2-1 4 4V2z";break;case"arrow-down-alt2":e="M5 6l5 5 5-5 2 1-7 7-7-7z";break;case"arrow-down":e="M15 8l-4.03 6L7 8h8z";break;case"arrow-left-alt":e="M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z";break;case"arrow-left-alt2":e="M14 5l-5 5 5 5-1 2-7-7 7-7z";break;case"arrow-left":e="M13 14L7 9.97 13 6v8z";break;case"arrow-right-alt":e="M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z";break;case"arrow-right-alt2":e="M6 15l5-5-5-5 1-2 7 7-7 7z";break;case"arrow-right":e="M8 6l6 4.03L8 14V6z";break;case"arrow-up-alt":e="M11 18H9V6l-4 4-2-1 7-7 7 7-2 1-4-4v12z";break;case"arrow-up-alt2":e="M15 14l-5-5-5 5-2-1 7-7 7 7z";break;case"arrow-up":e="M7 13l4.03-6L15 13H7z";break;case"art":e="M8.55 3.06c1.01.34-1.95 2.01-.1 3.13 1.04.63 3.31-2.22 4.45-2.86.97-.54 2.67-.65 3.53 1.23 1.09 2.38.14 8.57-3.79 11.06-3.97 2.5-8.97 1.23-10.7-2.66-2.01-4.53 3.12-11.09 6.61-9.9zm1.21 6.45c.73 1.64 4.7-.5 3.79-2.8-.59-1.49-4.48 1.25-3.79 2.8z";break;case"awards":e="M4.46 5.16L5 7.46l-.54 2.29 2.01 1.24L7.7 13l2.3-.54 2.3.54 1.23-2.01 2.01-1.24L15 7.46l.54-2.3-2-1.24-1.24-2.01-2.3.55-2.29-.54-1.25 2zm5.55 6.34C7.79 11.5 6 9.71 6 7.49c0-2.2 1.79-3.99 4.01-3.99 2.2 0 3.99 1.79 3.99 3.99 0 2.22-1.79 4.01-3.99 4.01zm-.02-1C8.33 10.5 7 9.16 7 7.5c0-1.65 1.33-3 2.99-3S13 5.85 13 7.5c0 1.66-1.35 3-3.01 3zm3.84 1.1l-1.28 2.24-2.08-.47L13 19.2l1.4-2.2h2.5zm-7.7.07l1.25 2.25 2.13-.51L7 19.2 5.6 17H3.1z";break;case"backup":e="M13.65 2.88c3.93 2.01 5.48 6.84 3.47 10.77s-6.83 5.48-10.77 3.47c-1.87-.96-3.2-2.56-3.86-4.4l1.64-1.03c.45 1.57 1.52 2.95 3.08 3.76 3.01 1.54 6.69.35 8.23-2.66 1.55-3.01.36-6.69-2.65-8.24C9.78 3.01 6.1 4.2 4.56 7.21l1.88.97-4.95 3.08-.39-5.82 1.78.91C4.9 2.4 9.75.89 13.65 2.88zm-4.36 7.83C9.11 10.53 9 10.28 9 10c0-.07.03-.12.04-.19h-.01L10 5l.97 4.81L14 13l-4.5-2.12.02-.02c-.08-.04-.16-.09-.23-.15z";break;case"block-default":e="M15 6V4h-3v2H8V4H5v2H4c-.6 0-1 .4-1 1v8h14V7c0-.6-.4-1-1-1h-1z";break;case"book-alt":e="M5 17h13v2H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h13v14H5c-.55 0-1 .45-1 1s.45 1 1 1zm2-3.5v-11c0-.28-.22-.5-.5-.5s-.5.22-.5.5v11c0 .28.22.5.5.5s.5-.22.5-.5z";break;case"book":e="M16 3h2v16H5c-1.66 0-3-1.34-3-3V4c0-1.66 1.34-3 3-3h9v14H5c-.55 0-1 .45-1 1s.45 1 1 1h11V3z";break;case"buddicons-activity":e="M8 1v7h2V6c0-1.52 1.45-3 3-3v.86c.55-.52 1.26-.86 2-.86v3h1c1.1 0 2 .9 2 2s-.9 2-2 2h-1v6c0 .55-.45 1-1 1s-1-.45-1-1v-2.18c-.31.11-.65.18-1 .18v2c0 .55-.45 1-1 1s-1-.45-1-1v-2H8v2c0 .55-.45 1-1 1s-1-.45-1-1v-2c-.35 0-.69-.07-1-.18V16c0 .55-.45 1-1 1s-1-.45-1-1v-4H2v-1c0-1.66 1.34-3 3-3h2V1h1zm5 7c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1z";break;case"buddicons-bbpress-logo":e="M8.5 12.6c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.3 1.7c-.3 1 .3 1.5 1 1.5 1.2 0 1.9-1.1 2.2-2.4zm-4-6.4C3.7 7.3 3.3 8.6 3.3 10c0 1 .2 1.9.6 2.8l1-4.6c.3-1.7.4-2-.4-2zm9.3 6.4c.3-1.3 0-2.3-1.1-2.3-.8 0-1.6.6-1.8 1.5l-.4 1.7c-.2 1.1.4 1.6 1.1 1.6 1.1-.1 1.9-1.2 2.2-2.5zM10 3.3c-2 0-3.9.9-5.1 2.3.6-.1 1.4-.2 1.8-.3.2 0 .2.1.2.2 0 .2-1 4.8-1 4.8.5-.3 1.2-.7 1.8-.7.9 0 1.5.4 1.9.9l.5-2.4c.4-1.6.4-1.9-.4-1.9-.4 0-.4-.5 0-.6.6-.1 1.8-.2 2.3-.3.2 0 .2.1.2.2l-1 4.8c.5-.4 1.2-.7 1.9-.7 1.7 0 2.5 1.3 2.1 3-.3 1.7-2 3-3.8 3-1.3 0-2.1-.7-2.3-1.4-.7.8-1.7 1.3-2.8 1.4 1.1.7 2.4 1.1 3.7 1.1 3.7 0 6.7-3 6.7-6.7s-3-6.7-6.7-6.7zM10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 15.5c-2.1 0-4-.8-5.3-2.2-.3-.4-.7-.8-1-1.2-.7-1.2-1.2-2.6-1.2-4.1 0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5z";break;case"buddicons-buddypress-logo":e="M10 0c5.52 0 10 4.48 10 10s-4.48 10-10 10S0 15.52 0 10 4.48 0 10 0zm0 .5C4.75.5.5 4.75.5 10s4.25 9.5 9.5 9.5 9.5-4.25 9.5-9.5S15.25.5 10 .5zm0 1c4.7 0 8.5 3.8 8.5 8.5s-3.8 8.5-8.5 8.5-8.5-3.8-8.5-8.5S5.3 1.5 10 1.5zm1.8 1.71c-.57 0-1.1.17-1.55.45 1.56.37 2.73 1.77 2.73 3.45 0 .69-.21 1.33-.55 1.87 1.31-.29 2.29-1.45 2.29-2.85 0-1.61-1.31-2.92-2.92-2.92zm-2.38 1c-1.61 0-2.92 1.31-2.92 2.93 0 1.61 1.31 2.92 2.92 2.92 1.62 0 2.93-1.31 2.93-2.92 0-1.62-1.31-2.93-2.93-2.93zm4.25 5.01l-.51.59c2.34.69 2.45 3.61 2.45 3.61h1.28c0-4.71-3.22-4.2-3.22-4.2zm-2.1.8l-2.12 2.09-2.12-2.09C3.12 10.24 3.89 15 3.89 15h11.08c.47-4.98-3.4-4.98-3.4-4.98z";break;case"buddicons-community":e="M9 3c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zm4 0c0-.67-.47-1.43-1-2-.5.5-1 1.38-1 2 0 .48.45 1 1 1s1-.47 1-1zM9 9V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 0V5.5c0-.55-.45-1-1-1-.57 0-1 .49-1 1V9c0 .55.45 1 1 1 .57 0 1-.49 1-1zm4 1c0-1.48-1.41-2.77-3.5-3.46V9c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5V6.01c-.17 0-.33-.01-.5-.01s-.33.01-.5.01V9c0 .83-.67 1.5-1.5 1.5S6.5 9.83 6.5 9V6.54C4.41 7.23 3 8.52 3 10c0 1.41.95 2.65 3.21 3.37 1.11.35 2.39 1.12 3.79 1.12s2.69-.78 3.79-1.13C16.04 12.65 17 11.41 17 10zm-7 5.43c1.43 0 2.74-.79 3.88-1.11 1.9-.53 2.49-1.34 3.12-2.32v3c0 2.21-3.13 4-7 4s-7-1.79-7-4v-3c.64.99 1.32 1.8 3.15 2.33 1.13.33 2.44 1.1 3.85 1.1z";break;case"buddicons-forums":e="M13.5 7h-7C5.67 7 5 6.33 5 5.5S5.67 4 6.5 4h1.59C8.04 3.84 8 3.68 8 3.5 8 2.67 8.67 2 9.5 2h1c.83 0 1.5.67 1.5 1.5 0 .18-.04.34-.09.5h1.59c.83 0 1.5.67 1.5 1.5S14.33 7 13.5 7zM4 8h12c.55 0 1 .45 1 1s-.45 1-1 1H4c-.55 0-1-.45-1-1s.45-1 1-1zm1 3h10c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1s.45-1 1-1zm2 3h6c.55 0 1 .45 1 1s-.45 1-1 1h-1.09c.05.16.09.32.09.5 0 .83-.67 1.5-1.5 1.5h-1c-.83 0-1.5-.67-1.5-1.5 0-.18.04-.34.09-.5H7c-.55 0-1-.45-1-1s.45-1 1-1z";break;case"buddicons-friends":e="M8.75 5.77C8.75 4.39 7 2 7 2S5.25 4.39 5.25 5.77 5.9 7.5 7 7.5s1.75-.35 1.75-1.73zm6 0C14.75 4.39 13 2 13 2s-1.75 2.39-1.75 3.77S11.9 7.5 13 7.5s1.75-.35 1.75-1.73zM9 17V9c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm6 0V9c0-.55-.45-1-1-1h-2c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-9-6l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2zm-6 3l2-1v2l-2 1v-2zm6 0l2-1v2l-2 1v-2z";break;case"buddicons-groups":e="M15.45 6.25c1.83.94 1.98 3.18.7 4.98-.8 1.12-2.33 1.88-3.46 1.78L10.05 18H9l-2.65-4.99c-1.13.16-2.73-.63-3.55-1.79-1.28-1.8-1.13-4.04.71-4.97.48-.24.96-.33 1.43-.31-.01.4.01.8.07 1.21.26 1.69 1.41 3.53 2.86 4.37-.19.55-.49.99-.88 1.25L9 16.58v-5.66C7.64 10.55 6.26 8.76 6 7c-.4-2.65 1-5 3.5-5s3.9 2.35 3.5 5c-.26 1.76-1.64 3.55-3 3.92v5.77l2.07-3.84c-.44-.23-.77-.71-.99-1.3 1.48-.83 2.65-2.69 2.91-4.4.06-.41.08-.82.07-1.22.46-.01.92.08 1.39.32z";break;case"buddicons-pm":e="M10 2c3 0 8 5 8 5v11H2V7s5-5 8-5zm7 14.72l-3.73-2.92L17 11l-.43-.37-2.26 1.3.24-4.31-8.77-.52-.46 4.54-1.99-.95L3 11l3.73 2.8-3.44 2.85.4.43L10 13l6.53 4.15z";break;case"buddicons-replies":e="M17.54 10.29c1.17 1.17 1.17 3.08 0 4.25-1.18 1.17-3.08 1.17-4.25 0l-.34-.52c0 3.66-2 4.38-2.95 4.98-.82-.6-2.95-1.28-2.95-4.98l-.34.52c-1.17 1.17-3.07 1.17-4.25 0-1.17-1.17-1.17-3.08 0-4.25 0 0 1.02-.67 2.1-1.3C3.71 7.84 3.2 6.42 3.2 4.88c0-.34.03-.67.08-1C3.53 5.66 4.47 7.22 5.8 8.3c.67-.35 1.85-.83 2.37-.92H8c-1.1 0-2-.9-2-2s.9-2 2-2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5h2v-.5c0-.28.22-.5.5-.5s.5.22.5.5v.5c1.1 0 2 .9 2 2s-.9 2-2 2h-.17c.51.09 1.78.61 2.38.92 1.33-1.08 2.27-2.64 2.52-4.42.05.33.08.66.08 1 0 1.54-.51 2.96-1.36 4.11 1.08.63 2.09 1.3 2.09 1.3zM8.5 6.38c.5 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm3-2c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-2.3 5.73c-.12.11-.19.26-.19.43.02.25.23.46.49.46h1c.26 0 .47-.21.49-.46 0-.15-.07-.29-.19-.43-.08-.06-.18-.11-.3-.11h-1c-.12 0-.22.05-.3.11zM12 12.5c0-.12-.06-.28-.19-.38-.09-.07-.19-.12-.31-.12h-3c-.12 0-.22.05-.31.12-.11.1-.19.25-.19.38 0 .28.22.5.5.5h3c.28 0 .5-.22.5-.5zM8.5 15h3c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-3c-.28 0-.5.22-.5.5s.22.5.5.5zm1 2h1c.28 0 .5-.22.5-.5s-.22-.5-.5-.5h-1c-.28 0-.5.22-.5.5s.22.5.5.5z";break;case"buddicons-topics":e="M10.44 1.66c-.59-.58-1.54-.58-2.12 0L2.66 7.32c-.58.58-.58 1.53 0 2.12.6.6 1.56.56 2.12 0l5.66-5.66c.58-.58.59-1.53 0-2.12zm2.83 2.83c-.59-.59-1.54-.59-2.12 0l-5.66 5.66c-.59.58-.59 1.53 0 2.12.6.6 1.56.55 2.12 0l5.66-5.66c.58-.58.58-1.53 0-2.12zm1.06 6.72l4.18 4.18c.59.58.59 1.53 0 2.12s-1.54.59-2.12 0l-4.18-4.18-1.77 1.77c-.59.58-1.54.58-2.12 0-.59-.59-.59-1.54 0-2.13l5.66-5.65c.58-.59 1.53-.59 2.12 0 .58.58.58 1.53 0 2.12zM5 15c0-1.59-1.66-4-1.66-4S2 13.78 2 15s.6 2 1.34 2h.32C4.4 17 5 16.59 5 15z";break;case"buddicons-tracking":e="M10.98 6.78L15.5 15c-1 2-3.5 3-5.5 3s-4.5-1-5.5-3L9 6.82c-.75-1.23-2.28-1.98-4.29-2.03l2.46-2.92c1.68 1.19 2.46 2.32 2.97 3.31.56-.87 1.2-1.68 2.7-2.12l1.83 2.86c-1.42-.34-2.64.08-3.69.86zM8.17 10.4l-.93 1.69c.49.11 1 .16 1.54.16 1.35 0 2.58-.36 3.55-.95l-1.01-1.82c-.87.53-1.96.86-3.15.92zm.86 5.38c1.99 0 3.73-.74 4.74-1.86l-.98-1.76c-1 1.12-2.74 1.87-4.74 1.87-.62 0-1.21-.08-1.76-.21l-.63 1.15c.94.5 2.1.81 3.37.81z";break;case"building":e="M3 20h14V0H3v20zM7 3H5V1h2v2zm4 0H9V1h2v2zm4 0h-2V1h2v2zM7 6H5V4h2v2zm4 0H9V4h2v2zm4 0h-2V4h2v2zM7 9H5V7h2v2zm4 0H9V7h2v2zm4 0h-2V7h2v2zm-8 3H5v-2h2v2zm4 0H9v-2h2v2zm4 0h-2v-2h2v2zm-4 7H5v-6h6v6zm4-4h-2v-2h2v2zm0 3h-2v-2h2v2z";break;case"businessman":e="M7.3 6l-.03-.19c-.04-.37-.05-.73-.03-1.08.02-.36.1-.71.25-1.04.14-.32.31-.61.52-.86s.49-.46.83-.6c.34-.15.72-.23 1.13-.23.69 0 1.26.2 1.71.59s.76.87.91 1.44.18 1.16.09 1.78l-.03.19c-.01.09-.05.25-.11.48-.05.24-.12.47-.2.69-.08.21-.19.45-.34.72-.14.27-.3.49-.47.69-.18.19-.4.34-.67.48-.27.13-.55.19-.86.19s-.59-.06-.87-.19c-.26-.13-.49-.29-.67-.5-.18-.2-.34-.42-.49-.66-.15-.25-.26-.49-.34-.73-.09-.25-.16-.47-.21-.67-.06-.21-.1-.37-.12-.5zm9.2 6.24c.41.7.5 1.41.5 2.14v2.49c0 .03-.12.08-.29.13-.18.04-.42.13-.97.27-.55.12-1.1.24-1.65.34s-1.19.19-1.95.27c-.75.08-1.46.12-2.13.12-.68 0-1.39-.04-2.14-.12-.75-.07-1.4-.17-1.98-.27-.58-.11-1.08-.23-1.56-.34-.49-.11-.8-.21-1.06-.29L3 16.87v-2.49c0-.75.07-1.46.46-2.15s.81-1.25 1.5-1.68C5.66 10.12 7.19 10 8 10l1.67 1.67L9 13v3l1.02 1.08L11 16v-3l-.68-1.33L11.97 10c.77 0 2.2.07 2.9.52.71.45 1.21 1.02 1.63 1.72z";break;case"button":e="M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z";break;case"calendar-alt":e="M15 4h3v15H2V4h3V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1h4V3c0-.41.15-.76.44-1.06.29-.29.65-.44 1.06-.44s.77.15 1.06.44c.29.3.44.65.44 1.06v1zM6 3v2.5c0 .14.05.26.15.36.09.09.21.14.35.14s.26-.05.35-.14c.1-.1.15-.22.15-.36V3c0-.14-.05-.26-.15-.35-.09-.1-.21-.15-.35-.15s-.26.05-.35.15c-.1.09-.15.21-.15.35zm7 0v2.5c0 .14.05.26.14.36.1.09.22.14.36.14s.26-.05.36-.14c.09-.1.14-.22.14-.36V3c0-.14-.05-.26-.14-.35-.1-.1-.22-.15-.36-.15s-.26.05-.36.15c-.09.09-.14.21-.14.35zm4 15V8H3v10h14zM7 9v2H5V9h2zm2 0h2v2H9V9zm4 2V9h2v2h-2zm-6 1v2H5v-2h2zm2 0h2v2H9v-2zm4 2v-2h2v2h-2zm-6 1v2H5v-2h2zm4 2H9v-2h2v2zm4 0h-2v-2h2v2z";break;case"calendar":e="M15 4h3v14H2V4h3V3c0-.83.67-1.5 1.5-1.5S8 2.17 8 3v1h4V3c0-.83.67-1.5 1.5-1.5S15 2.17 15 3v1zM6 3v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5S6 2.72 6 3zm7 0v2.5c0 .28.22.5.5.5s.5-.22.5-.5V3c0-.28-.22-.5-.5-.5s-.5.22-.5.5zm4 14V8H3v9h14zM7 16V9H5v7h2zm4 0V9H9v7h2zm4 0V9h-2v7h2z";break;case"camera":e="M6 5V3H3v2h3zm12 10V4H9L7 6H2v9h16zm-7-8c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z";break;case"carrot":e="M2 18.43c1.51 1.36 11.64-4.67 13.14-7.21.72-1.22-.13-3.01-1.52-4.44C15.2 5.73 16.59 9 17.91 8.31c.6-.32.99-1.31.7-1.92-.52-1.08-2.25-1.08-3.42-1.21.83-.2 2.82-1.05 2.86-2.25.04-.92-1.13-1.97-2.05-1.86-1.21.14-1.65 1.88-2.06 3-.05-.71-.2-2.27-.98-2.95-1.04-.91-2.29-.05-2.32 1.05-.04 1.33 2.82 2.07 1.92 3.67C11.04 4.67 9.25 4.03 8.1 4.7c-.49.31-1.05.91-1.63 1.69.89.94 2.12 2.07 3.09 2.72.2.14.26.42.11.62-.14.21-.42.26-.62.12-.99-.67-2.2-1.78-3.1-2.71-.45.67-.91 1.43-1.34 2.23.85.86 1.93 1.83 2.79 2.41.2.14.25.42.11.62-.14.21-.42.26-.63.12-.85-.58-1.86-1.48-2.71-2.32C2.4 13.69 1.1 17.63 2 18.43z";break;case"cart":e="M6 13h9c.55 0 1 .45 1 1s-.45 1-1 1H5c-.55 0-1-.45-1-1V4H2c-.55 0-1-.45-1-1s.45-1 1-1h3c.55 0 1 .45 1 1v2h13l-4 7H6v1zm-.5 3c.83 0 1.5.67 1.5 1.5S6.33 19 5.5 19 4 18.33 4 17.5 4.67 16 5.5 16zm9 0c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5z";break;case"category":e="M5 7h13v10H2V4h7l2 2H4v9h1V7z";break;case"chart-area":e="M18 18l.01-12.28c.59-.35.99-.99.99-1.72 0-1.1-.9-2-2-2s-2 .9-2 2c0 .8.47 1.48 1.14 1.8l-4.13 6.58c-.33-.24-.73-.38-1.16-.38-.84 0-1.55.51-1.85 1.24l-2.14-1.53c.09-.22.14-.46.14-.71 0-1.11-.89-2-2-2-1.1 0-2 .89-2 2 0 .73.4 1.36.98 1.71L1 18h17zM17 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM5 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5.85 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"chart-bar":e="M18 18V2h-4v16h4zm-6 0V7H8v11h4zm-6 0v-8H2v8h4z";break;case"chart-line":e="M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z";break;case"chart-pie":e="M10 10V3c3.87 0 7 3.13 7 7h-7zM9 4v7h7c0 3.87-3.13 7-7 7s-7-3.13-7-7 3.13-7 7-7z";break;case"clipboard":e="M11.9.39l1.4 1.4c1.61.19 3.5-.74 4.61.37s.18 3 .37 4.61l1.4 1.4c.39.39.39 1.02 0 1.41l-9.19 9.2c-.4.39-1.03.39-1.42 0L1.29 11c-.39-.39-.39-1.02 0-1.42l9.2-9.19c.39-.39 1.02-.39 1.41 0zm.58 2.25l-.58.58 4.95 4.95.58-.58c-.19-.6-.2-1.22-.15-1.82.02-.31.05-.62.09-.92.12-1 .18-1.63-.17-1.98s-.98-.29-1.98-.17c-.3.04-.61.07-.92.09-.6.05-1.22.04-1.82-.15zm4.02.93c.39.39.39 1.03 0 1.42s-1.03.39-1.42 0-.39-1.03 0-1.42 1.03-.39 1.42 0zm-6.72.36l-.71.7L15.44 11l.7-.71zM8.36 5.34l-.7.71 6.36 6.36.71-.7zM6.95 6.76l-.71.7 6.37 6.37.7-.71zM5.54 8.17l-.71.71 6.36 6.36.71-.71zM4.12 9.58l-.71.71 6.37 6.37.71-.71z";break;case"clock":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 14c3.31 0 6-2.69 6-6s-2.69-6-6-6-6 2.69-6 6 2.69 6 6 6zm-.71-5.29c.07.05.14.1.23.15l-.02.02L14 13l-3.03-3.19L10 5l-.97 4.81h.01c0 .02-.01.05-.02.09S9 9.97 9 10c0 .28.1.52.29.71z";break;case"cloud-saved":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16h10c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5zm-6.3 5.9l-3.2-3.2 1.4-1.4 1.8 1.8 3.8-3.8 1.4 1.4-5.2 5.2z";break;case"cloud-upload":e="M14.8 9c.1-.3.2-.6.2-1 0-2.2-1.8-4-4-4-1.5 0-2.9.9-3.5 2.2-.3-.1-.7-.2-1-.2C5.1 6 4 7.1 4 8.5c0 .2 0 .4.1.5-1.8.3-3.1 1.7-3.1 3.5C1 14.4 2.6 16 4.5 16H8v-3H5l4.5-4.5L14 13h-3v3h3.5c1.9 0 3.5-1.6 3.5-3.5 0-1.8-1.4-3.3-3.2-3.5z";break;case"cloud":e="M14.9 9c1.8.2 3.1 1.7 3.1 3.5 0 1.9-1.6 3.5-3.5 3.5h-10C2.6 16 1 14.4 1 12.5 1 10.7 2.3 9.3 4.1 9 4 8.9 4 8.7 4 8.5 4 7.1 5.1 6 6.5 6c.3 0 .7.1.9.2C8.1 4.9 9.4 4 11 4c2.2 0 4 1.8 4 4 0 .4-.1.7-.1 1z";break;case"columns":e="M3 15h6V5H3v10zm8 0h6V5h-6v10z";break;case"controls-back":e="M2 10l10-6v3.6L18 4v12l-6-3.6V16z";break;case"controls-forward":e="M18 10L8 16v-3.6L2 16V4l6 3.6V4z";break;case"controls-pause":e="M5 16V4h3v12H5zm7-12h3v12h-3V4z";break;case"controls-play":e="M5 4l10 6-10 6V4z";break;case"controls-repeat":e="M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z";break;case"controls-skipback":e="M11.98 7.63l6-3.6v12l-6-3.6v3.6l-8-4.8v4.8h-2v-12h2v4.8l8-4.8v3.6z";break;case"controls-skipforward":e="M8 12.4L2 16V4l6 3.6V4l8 4.8V4h2v12h-2v-4.8L8 16v-3.6z";break;case"controls-volumeoff":e="M2 7h4l5-4v14l-5-4H2V7z";break;case"controls-volumeon":e="M2 7h4l5-4v14l-5-4H2V7zm12.69-2.46C14.82 4.59 18 5.92 18 10s-3.18 5.41-3.31 5.46c-.06.03-.13.04-.19.04-.2 0-.39-.12-.46-.31-.11-.26.02-.55.27-.65.11-.05 2.69-1.15 2.69-4.54 0-3.41-2.66-4.53-2.69-4.54-.25-.1-.38-.39-.27-.65.1-.25.39-.38.65-.27zM16 10c0 2.57-2.23 3.43-2.32 3.47-.06.02-.12.03-.18.03-.2 0-.39-.12-.47-.32-.1-.26.04-.55.29-.65.07-.02 1.68-.67 1.68-2.53s-1.61-2.51-1.68-2.53c-.25-.1-.38-.39-.29-.65.1-.25.39-.39.65-.29.09.04 2.32.9 2.32 3.47z";break;case"cover-image":e="M2.2 1h15.5c.7 0 1.3.6 1.3 1.2v11.5c0 .7-.6 1.2-1.2 1.2H2.2c-.6.1-1.2-.5-1.2-1.1V2.2C1 1.6 1.6 1 2.2 1zM17 13V3H3v10h14zm-4-4s0-5 3-5v7c0 .6-.4 1-1 1H5c-.6 0-1-.4-1-1V7c2 0 3 4 3 4s1-4 3-4 3 2 3 2zM4 17h12v2H4z";break;case"dashboard":e="M3.76 16h12.48c1.1-1.37 1.76-3.11 1.76-5 0-4.42-3.58-8-8-8s-8 3.58-8 8c0 1.89.66 3.63 1.76 5zM10 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM6 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5.37 5.55L12 7v6c0 1.1-.9 2-2 2s-2-.9-2-2c0-.57.24-1.08.63-1.45zM4 10c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-5 3c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1z";break;case"desktop":e="M3 2h14c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1h-5v2h2c.55 0 1 .45 1 1v1H5v-1c0-.55.45-1 1-1h2v-2H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm13 9V4H4v7h12zM5 5h9L5 9V5z";break;case"dismiss":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm5 11l-3-3 3-3-2-2-3 3-3-3-2 2 3 3-3 3 2 2 3-3 3 3z";break;case"download":e="M14.01 4v6h2V2H4v8h2.01V4h8zm-2 2v6h3l-5 6-5-6h3V6h4z";break;case"edit":e="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.6z";break;case"editor-aligncenter":e="M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z";break;case"editor-alignleft":e="M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z";break;case"editor-alignright":e="M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z";break;case"editor-bold":e="M6 4v13h4.54c1.37 0 2.46-.33 3.26-1 .8-.66 1.2-1.58 1.2-2.77 0-.84-.17-1.51-.51-2.01s-.9-.85-1.67-1.03v-.09c.57-.1 1.02-.4 1.36-.9s.51-1.13.51-1.91c0-1.14-.39-1.98-1.17-2.5C12.75 4.26 11.5 4 9.78 4H6zm2.57 5.15V6.26h1.36c.73 0 1.27.11 1.61.32.34.22.51.58.51 1.07 0 .54-.16.92-.47 1.15s-.82.35-1.51.35h-1.5zm0 2.19h1.6c1.44 0 2.16.53 2.16 1.61 0 .6-.17 1.05-.51 1.34s-.86.43-1.57.43H8.57v-3.38z";break;case"editor-break":e="M16 4h2v9H7v3l-5-4 5-4v3h9V4z";break;case"editor-code":e="M9 6l-4 4 4 4-1 2-6-6 6-6zm2 8l4-4-4-4 1-2 6 6-6 6z";break;case"editor-contract":e="M15.75 6.75L18 3v14l-2.25-3.75L17 12h-4v4l1.25-1.25L18 17H2l3.75-2.25L7 16v-4H3l1.25 1.25L2 17V3l2.25 3.75L3 8h4V4L5.75 5.25 2 3h16l-3.75 2.25L13 4v4h4z";break;case"editor-customchar":e="M10 5.4c1.27 0 2.24.36 2.91 1.08.66.71 1 1.76 1 3.13 0 1.28-.23 2.37-.69 3.27-.47.89-1.27 1.52-2.22 2.12v2h6v-2h-3.69c.92-.64 1.62-1.34 2.12-2.34.49-1.01.74-2.13.74-3.35 0-1.78-.55-3.19-1.65-4.22S11.92 3.54 10 3.54s-3.43.53-4.52 1.57c-1.1 1.04-1.65 2.44-1.65 4.2 0 1.21.24 2.31.73 3.33.48 1.01 1.19 1.71 2.1 2.36H3v2h6v-2c-.98-.64-1.8-1.28-2.24-2.17-.45-.89-.67-1.96-.67-3.22 0-1.37.33-2.41 1-3.13C7.75 5.76 8.72 5.4 10 5.4z";break;case"editor-expand":e="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3";break;case"editor-help":e="M17 10c0-3.87-3.14-7-7-7-3.87 0-7 3.13-7 7s3.13 7 7 7c3.86 0 7-3.13 7-7zm-6.3 1.48H9.14v-.43c0-.38.08-.7.24-.98s.46-.57.88-.89c.41-.29.68-.53.81-.71.14-.18.2-.39.2-.62 0-.25-.09-.44-.28-.58-.19-.13-.45-.19-.79-.19-.58 0-1.25.19-2 .57l-.64-1.28c.87-.49 1.8-.74 2.77-.74.81 0 1.45.2 1.92.58.48.39.71.91.71 1.55 0 .43-.09.8-.29 1.11-.19.32-.57.67-1.11 1.06-.38.28-.61.49-.71.63-.1.15-.15.34-.15.57v.35zm-1.47 2.74c-.18-.17-.27-.42-.27-.73 0-.33.08-.58.26-.75s.43-.25.77-.25c.32 0 .57.09.75.26s.27.42.27.74c0 .3-.09.55-.27.72-.18.18-.43.27-.75.27-.33 0-.58-.09-.76-.26z";break;case"editor-indent":e="M3 5V3h9v2H3zm10-1V3h4v1h-4zm0 3h2V5l4 3.5-4 3.5v-2h-2V7zM3 8V6h9v2H3zm2 3V9h7v2H5zm-2 3v-2h9v2H3zm10 0v-1h4v1h-4zm-4 3v-2h3v2H9z";break;case"editor-insertmore":e="M17 7V3H3v4h14zM6 11V9H3v2h3zm6 0V9H8v2h4zm5 0V9h-3v2h3zm0 6v-4H3v4h14z";break;case"editor-italic":e="M14.78 6h-2.13l-2.8 9h2.12l-.62 2H4.6l.62-2h2.14l2.8-9H8.03l.62-2h6.75z";break;case"editor-justify":e="M2 3h16v2H2V3zm0 4h16v2H2V7zm0 4h16v2H2v-2zm0 4h16v2H2v-2z";break;case"editor-kitchensink":e="M19 2v6H1V2h18zm-1 5V3H2v4h16zM5 4v2H3V4h2zm3 0v2H6V4h2zm3 0v2H9V4h2zm3 0v2h-2V4h2zm3 0v2h-2V4h2zm2 5v9H1V9h18zm-1 8v-7H2v7h16zM5 11v2H3v-2h2zm3 0v2H6v-2h2zm3 0v2H9v-2h2zm6 0v2h-5v-2h5zm-6 3v2H3v-2h8zm3 0v2h-2v-2h2zm3 0v2h-2v-2h2z";break;case"editor-ltr":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z";break;case"editor-ol-rtl":e="M15.025 8.75a1.048 1.048 0 0 1 .45-.1.507.507 0 0 1 .35.11.455.455 0 0 1 .13.36.803.803 0 0 1-.06.3 1.448 1.448 0 0 1-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76v-.7h-1.72v-.04l.51-.48a7.276 7.276 0 0 0 .7-.71 1.75 1.75 0 0 0 .3-.49 1.254 1.254 0 0 0 .1-.51.968.968 0 0 0-.16-.56 1.007 1.007 0 0 0-.44-.37 1.512 1.512 0 0 0-.65-.14 1.98 1.98 0 0 0-.51.06 1.9 1.9 0 0 0-.42.15 3.67 3.67 0 0 0-.48.35l.45.54a2.505 2.505 0 0 1 .45-.3zM16.695 15.29a1.29 1.29 0 0 0-.74-.3v-.02a1.203 1.203 0 0 0 .65-.37.973.973 0 0 0 .23-.65.81.81 0 0 0-.37-.71 1.72 1.72 0 0 0-1-.26 2.185 2.185 0 0 0-1.33.4l.4.6a1.79 1.79 0 0 1 .46-.23 1.18 1.18 0 0 1 .41-.07c.38 0 .58.15.58.46a.447.447 0 0 1-.22.43 1.543 1.543 0 0 1-.7.12h-.31v.66h.31a1.764 1.764 0 0 1 .75.12.433.433 0 0 1 .23.41.55.55 0 0 1-.2.47 1.084 1.084 0 0 1-.63.15 2.24 2.24 0 0 1-.57-.08 2.671 2.671 0 0 1-.52-.2v.74a2.923 2.923 0 0 0 1.18.22 1.948 1.948 0 0 0 1.22-.33 1.077 1.077 0 0 0 .43-.92.836.836 0 0 0-.26-.64zM15.005 4.17c.06-.05.16-.14.3-.28l-.02.42V7h.84V3h-.69l-1.29 1.03.4.51zM4.02 5h9v1h-9zM4.02 10h9v1h-9zM4.02 15h9v1h-9z";break;case"editor-ol":e="M6 7V3h-.69L4.02 4.03l.4.51.46-.37c.06-.05.16-.14.3-.28l-.02.42V7H6zm2-2h9v1H8V5zm-1.23 6.95v-.7H5.05v-.04l.51-.48c.33-.31.57-.54.7-.71.14-.17.24-.33.3-.49.07-.16.1-.33.1-.51 0-.21-.05-.4-.16-.56-.1-.16-.25-.28-.44-.37s-.41-.14-.65-.14c-.19 0-.36.02-.51.06-.15.03-.29.09-.42.15-.12.07-.29.19-.48.35l.45.54c.16-.13.31-.23.45-.3.15-.07.3-.1.45-.1.14 0 .26.03.35.11s.13.2.13.36c0 .1-.02.2-.06.3s-.1.21-.19.33c-.09.11-.29.32-.58.62l-.99 1v.58h2.76zM8 10h9v1H8v-1zm-1.29 3.95c0-.3-.12-.54-.37-.71-.24-.17-.58-.26-1-.26-.52 0-.96.13-1.33.4l.4.6c.17-.11.32-.19.46-.23.14-.05.27-.07.41-.07.38 0 .58.15.58.46 0 .2-.07.35-.22.43s-.38.12-.7.12h-.31v.66h.31c.34 0 .59.04.75.12.15.08.23.22.23.41 0 .22-.07.37-.2.47-.14.1-.35.15-.63.15-.19 0-.38-.03-.57-.08s-.36-.12-.52-.2v.74c.34.15.74.22 1.18.22.53 0 .94-.11 1.22-.33.29-.22.43-.52.43-.92 0-.27-.09-.48-.26-.64s-.42-.26-.74-.3v-.02c.27-.06.49-.19.65-.37.15-.18.23-.39.23-.65zM8 15h9v1H8v-1z";break;case"editor-outdent":e="M7 4V3H3v1h4zm10 1V3H8v2h9zM7 7H5V5L1 8.5 5 12v-2h2V7zm10 1V6H8v2h9zm-2 3V9H8v2h7zm2 3v-2H8v2h9zM7 14v-1H3v1h4zm4 3v-2H8v2h3z";break;case"editor-paragraph":e="M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71C15.5 2.1 15.27 2 15 2z";break;case"editor-paste-text":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.44 1-1 0-.55-.45-1-1-1s-1 .45-1 1c0 .56.45 1 1 1zm5.45-1H17c.55 0 1 .45 1 1v12c0 .56-.45 1-1 1H3c-.55 0-1-.44-1-1V5c0-.55.45-1 1-1h1.55L4 4.63V7h12V4.63zM14 11V9H6v2h3v5h2v-5h3z";break;case"editor-paste-word":e="M12.38 2L15 5v1H5V5l2.64-3h4.74zM10 5c.55 0 1-.45 1-1s-.45-1-1-1-1 .45-1 1 .45 1 1 1zm8 12V5c0-.55-.45-1-1-1h-1.54l.54.63V7H4V4.62L4.55 4H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-3-8l-2 7h-2l-1-5-1 5H6.92L5 9h2l1 5 1-5h2l1 5 1-5h2z";break;case"editor-quote":e="M9.49 13.22c0-.74-.2-1.38-.61-1.9-.62-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L7.88 4c-2.73 1.3-5.42 4.28-4.96 8.05C3.21 14.43 4.59 16 6.54 16c.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03zm8.05 0c0-.74-.2-1.38-.61-1.9-.63-.78-1.83-.88-2.53-.72-.29-1.65 1.11-3.75 2.92-4.65L15.93 4c-2.73 1.3-5.41 4.28-4.95 8.05.29 2.38 1.66 3.95 3.61 3.95.85 0 1.56-.25 2.12-.75s.83-1.18.83-2.03z";break;case"editor-removeformatting":e="M14.29 4.59l1.1 1.11c.41.4.61.94.61 1.47v2.12c0 .53-.2 1.07-.61 1.47l-6.63 6.63c-.4.41-.94.61-1.47.61s-1.07-.2-1.47-.61l-1.11-1.1-1.1-1.11c-.41-.4-.61-.94-.61-1.47v-2.12c0-.54.2-1.07.61-1.48l6.63-6.62c.4-.41.94-.61 1.47-.61s1.06.2 1.47.61zm-6.21 9.7l6.42-6.42c.39-.39.39-1.03 0-1.43L12.36 4.3c-.19-.19-.45-.29-.72-.29s-.52.1-.71.29l-6.42 6.42c-.39.4-.39 1.04 0 1.43l2.14 2.14c.38.38 1.04.38 1.43 0z";break;case"editor-rtl":e="M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM19 6l-5 4 5 4V6z";break;case"editor-spellcheck":e="M15.84 2.76c.25 0 .49.04.71.11.23.07.44.16.64.25l.35-.81c-.52-.26-1.08-.39-1.69-.39-.58 0-1.09.13-1.52.37-.43.25-.76.61-.99 1.08C13.11 3.83 13 4.38 13 5c0 .99.23 1.75.7 2.28s1.15.79 2.02.79c.6 0 1.13-.09 1.6-.26v-.84c-.26.08-.51.14-.74.19-.24.05-.49.08-.74.08-.59 0-1.04-.19-1.34-.57-.32-.37-.47-.93-.47-1.66 0-.7.16-1.25.48-1.65.33-.4.77-.6 1.33-.6zM6.5 8h1.04L5.3 2H4.24L2 8h1.03l.58-1.66H5.9zM8 2v6h2.17c.67 0 1.19-.15 1.57-.46.38-.3.56-.72.56-1.26 0-.4-.1-.72-.3-.95-.19-.24-.5-.39-.93-.47v-.04c.35-.06.6-.21.78-.44.18-.24.28-.53.28-.88 0-.52-.19-.9-.56-1.14-.36-.24-.96-.36-1.79-.36H8zm.98 2.48V2.82h.85c.44 0 .77.06.97.19.21.12.31.33.31.61 0 .31-.1.53-.29.66-.18.13-.48.2-.89.2h-.95zM5.64 5.5H3.9l.54-1.56c.14-.4.25-.76.32-1.1l.15.52c.07.23.13.4.17.51zm3.34-.23h.99c.44 0 .76.08.98.23.21.15.32.38.32.69 0 .34-.11.59-.32.75s-.52.24-.93.24H8.98V5.27zM4 13l5 5 9-8-1-1-8 6-4-3z";break;case"editor-strikethrough":e="M15.82 12.25c.26 0 .5-.02.74-.07.23-.05.48-.12.73-.2v.84c-.46.17-.99.26-1.58.26-.88 0-1.54-.26-2.01-.79-.39-.44-.62-1.04-.68-1.79h-.94c.12.21.18.48.18.79 0 .54-.18.95-.55 1.26-.38.3-.9.45-1.56.45H8v-2.5H6.59l.93 2.5H6.49l-.59-1.67H3.62L3.04 13H2l.93-2.5H2v-1h1.31l.93-2.49H5.3l.92 2.49H8V7h1.77c1 0 1.41.17 1.77.41.37.24.55.62.55 1.13 0 .35-.09.64-.27.87l-.08.09h1.29c.05-.4.15-.77.31-1.1.23-.46.55-.82.98-1.06.43-.25.93-.37 1.51-.37.61 0 1.17.12 1.69.38l-.35.81c-.2-.1-.42-.18-.64-.25s-.46-.11-.71-.11c-.55 0-.99.2-1.31.59-.23.29-.38.66-.44 1.11H17v1h-2.95c.06.5.2.9.44 1.19.3.37.75.56 1.33.56zM4.44 8.96l-.18.54H5.3l-.22-.61c-.04-.11-.09-.28-.17-.51-.07-.24-.12-.41-.14-.51-.08.33-.18.69-.33 1.09zm4.53-1.09V9.5h1.19c.28-.02.49-.09.64-.18.19-.13.28-.35.28-.66 0-.28-.1-.48-.3-.61-.2-.12-.53-.18-.97-.18h-.84zm-3.33 2.64v-.01H3.91v.01h1.73zm5.28.01l-.03-.02H8.97v1.68h1.04c.4 0 .71-.08.92-.23.21-.16.31-.4.31-.74 0-.31-.11-.54-.32-.69z";break;case"editor-table":e="M18 17V3H2v14h16zM16 7H4V5h12v2zm-7 4H4V9h5v2zm7 0h-5V9h5v2zm-7 4H4v-2h5v2zm7 0h-5v-2h5v2z";break;case"editor-textcolor":e="M13.23 15h1.9L11 4H9L5 15h1.88l1.07-3h4.18zm-1.53-4.54H8.51L10 5.6z";break;case"editor-ul":e="M5.5 7C4.67 7 4 6.33 4 5.5 4 4.68 4.67 4 5.5 4 6.32 4 7 4.68 7 5.5 7 6.33 6.32 7 5.5 7zM8 5h9v1H8V5zm-2.5 7c-.83 0-1.5-.67-1.5-1.5C4 9.68 4.67 9 5.5 9c.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 10h9v1H8v-1zm-2.5 7c-.83 0-1.5-.67-1.5-1.5 0-.82.67-1.5 1.5-1.5.82 0 1.5.68 1.5 1.5 0 .83-.68 1.5-1.5 1.5zM8 15h9v1H8v-1z";break;case"editor-underline":e="M14 5h-2v5.71c0 1.99-1.12 2.98-2.45 2.98-1.32 0-2.55-1-2.55-2.96V5H5v5.87c0 1.91 1 4.54 4.48 4.54 3.49 0 4.52-2.58 4.52-4.5V5zm0 13v-2H5v2h9z";break;case"editor-unlink":e="M17.74 2.26c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-.32.33-.69.58-1.08.77L13 10l1.69-1.64.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-.76.76L10 7l-.65-2.14c.19-.38.44-.75.77-1.07l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM2 4l8 6-6-8zm4-2l4 8-2-8H6zM2 6l8 4-8-2V6zm7.36 7.69L10 13l.74 2.35-1.38 1.39c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.39-1.38L7 10l-.69.64-1.52 1.53c-.85.84-.85 2.2 0 3.04.84.85 2.2.85 3.04 0zM18 16l-8-6 6 8zm-4 2l-4-8 2 8h2zm4-4l-8-4 8 2v2z";break;case"editor-video":e="M16 2h-3v1H7V2H4v15h3v-1h6v1h3V2zM6 3v1H5V3h1zm9 0v1h-1V3h1zm-2 1v5H7V4h6zM6 5v1H5V5h1zm9 0v1h-1V5h1zM6 7v1H5V7h1zm9 0v1h-1V7h1zM6 9v1H5V9h1zm9 0v1h-1V9h1zm-2 1v5H7v-5h6zm-7 1v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1zm-9 2v1H5v-1h1zm9 0v1h-1v-1h1z";break;case"ellipsis":e="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z";break;case"email-alt":e="M19 14.5v-9c0-.83-.67-1.5-1.5-1.5H3.49c-.83 0-1.5.67-1.5 1.5v9c0 .83.67 1.5 1.5 1.5H17.5c.83 0 1.5-.67 1.5-1.5zm-1.31-9.11c.33.33.15.67-.03.84L13.6 9.95l3.9 4.06c.12.14.2.36.06.51-.13.16-.43.15-.56.05l-4.37-3.73-2.14 1.95-2.13-1.95-4.37 3.73c-.13.1-.43.11-.56-.05-.14-.15-.06-.37.06-.51l3.9-4.06-4.06-3.72c-.18-.17-.36-.51-.03-.84s.67-.17.95.07l6.24 5.04 6.25-5.04c.28-.24.62-.4.95-.07z";break;case"email-alt2":e="M18.01 11.18V2.51c0-1.19-.9-1.81-2-1.37L4 5.91c-1.1.44-2 1.77-2 2.97v8.66c0 1.2.9 1.81 2 1.37l12.01-4.77c1.1-.44 2-1.76 2-2.96zm-1.43-7.46l-6.04 9.33-6.65-4.6c-.1-.07-.36-.32-.17-.64.21-.36.65-.21.65-.21l6.3 2.32s4.83-6.34 5.11-6.7c.13-.17.43-.34.73-.13.29.2.16.49.07.63z";break;case"email":e="M3.87 4h13.25C18.37 4 19 4.59 19 5.79v8.42c0 1.19-.63 1.79-1.88 1.79H3.87c-1.25 0-1.88-.6-1.88-1.79V5.79c0-1.2.63-1.79 1.88-1.79zm6.62 8.6l6.74-5.53c.24-.2.43-.66.13-1.07-.29-.41-.82-.42-1.17-.17l-5.7 3.86L4.8 5.83c-.35-.25-.88-.24-1.17.17-.3.41-.11.87.13 1.07z";break;case"embed-audio":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 3H7v4c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.4 0 .7.1 1 .3V5h4v2zm4 3.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-generic":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-3 6.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-photo":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 8H3V6h7v6zm4-1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3zm-6-4V8.5L7.2 10 6 9.2 4 11h5zM4.6 8.6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z";break;case"embed-post":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM8.6 9l-.4.3c-.4.4-.5 1.1-.2 1.6l-.8.8-1.1-1.1-1.3 1.3c-.2.2-1.6 1.3-1.8 1.1-.2-.2.9-1.6 1.1-1.8l1.3-1.3-1.1-1.1.8-.8c.5.3 1.2.3 1.6-.2l.3-.3c.5-.5.5-1.2.2-1.7L8 5l3 2.9-.8.8c-.5-.2-1.2-.2-1.6.3zm5.4 1.5L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"embed-video":e="M17 4H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-7 6.5L8 9.1V11H3V6h5v1.8l2-1.3v4zm4 0L12.5 12l1.5 1.5V15l-3-3 3-3v1.5zm1 4.5v-1.5l1.5-1.5-1.5-1.5V9l3 3-3 3z";break;case"excerpt-view":e="M19 18V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1h16c.55 0 1-.45 1-1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6V3h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v6H6v-6h11z";break;case"exit":e="M13 3v2h2v10h-2v2h4V3h-4zm0 8V9H5.4l4.3-4.3-1.4-1.4L1.6 10l6.7 6.7 1.4-1.4L5.4 11H13z";break;case"external":e="M9 3h8v8l-2-1V6.92l-5.6 5.59-1.41-1.41L14.08 5H10zm3 12v-3l2-2v7H3V6h8L9 8H5v7h7z";break;case"facebook-alt":e="M8.46 18h2.93v-7.3h2.45l.37-2.84h-2.82V6.04c0-.82.23-1.38 1.41-1.38h1.51V2.11c-.26-.03-1.15-.11-2.19-.11-2.18 0-3.66 1.33-3.66 3.76v2.1H6v2.84h2.46V18z";break;case"facebook":e="M2.89 2h14.23c.49 0 .88.39.88.88v14.24c0 .48-.39.88-.88.88h-4.08v-6.2h2.08l.31-2.41h-2.39V7.85c0-.7.2-1.18 1.2-1.18h1.28V4.51c-.22-.03-.98-.09-1.86-.09-1.85 0-3.11 1.12-3.11 3.19v1.78H8.46v2.41h2.09V18H2.89c-.49 0-.89-.4-.89-.88V2.88c0-.49.4-.88.89-.88z";break;case"feedback":e="M2 2h16c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm15 14V7H3v9h14zM4 8v1h3V8H4zm4 0v3h8V8H8zm-4 4v1h3v-1H4zm4 0v3h8v-3H8z";break;case"filter":e="M3 4.5v-2s3.34-1 7-1 7 1 7 1v2l-5 7.03v6.97s-1.22-.09-2.25-.59S8 16.5 8 16.5v-4.97z";break;case"flag":e="M5 18V3H3v15h2zm1-6V4c3-1 7 1 11 0v8c-3 1.27-8-1-11 0z";break;case"format-aside":e="M1 1h18v12l-6 6H1V1zm3 3v1h12V4H4zm0 4v1h12V8H4zm6 5v-1H4v1h6zm2 4l5-5h-5v5z";break;case"format-audio":e="M6.99 3.08l11.02-2c.55-.08.99.45.99 1V14.5c0 1.94-1.57 3.5-3.5 3.5S12 16.44 12 14.5c0-1.93 1.57-3.5 3.5-3.5.54 0 1.04.14 1.5.35V5.08l-9 2V16c-.24 1.7-1.74 3-3.5 3C2.57 19 1 17.44 1 15.5 1 13.57 2.57 12 4.5 12c.54 0 1.04.14 1.5.35V4.08c0-.55.44-.91.99-1z";break;case"format-chat":e="M11 6h-.82C9.07 6 8 7.2 8 8.16V10l-3 3v-3H3c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2v3zm0 1h6c1.1 0 2 .9 2 2v5c0 1.1-.9 2-2 2h-2v3l-3-3h-1c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2z";break;case"format-gallery":e="M16 4h1.96c.57 0 1.04.47 1.04 1.04v12.92c0 .57-.47 1.04-1.04 1.04H5.04C4.47 19 4 18.53 4 17.96V16H2.04C1.47 16 1 15.53 1 14.96V2.04C1 1.47 1.47 1 2.04 1h12.92c.57 0 1.04.47 1.04 1.04V4zM3 14h11V3H3v11zm5-8.5C8 4.67 7.33 4 6.5 4S5 4.67 5 5.5 5.67 7 6.5 7 8 6.33 8 5.5zm2 4.5s1-5 3-5v8H4V7c2 0 2 3 2 3s.33-2 2-2 2 2 2 2zm7 7V6h-1v8.96c0 .57-.47 1.04-1.04 1.04H6v1h11z";break;case"format-image":e="M2.25 1h15.5c.69 0 1.25.56 1.25 1.25v15.5c0 .69-.56 1.25-1.25 1.25H2.25C1.56 19 1 18.44 1 17.75V2.25C1 1.56 1.56 1 2.25 1zM17 17V3H3v14h14zM10 6c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm3 5s0-6 3-6v10c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1V8c2 0 3 4 3 4s1-3 3-3 3 2 3 2z";break;case"format-quote":e="M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z";break;case"format-status":e="M10 1c7 0 9 2.91 9 6.5S17 14 10 14s-9-2.91-9-6.5S3 1 10 1zM5.5 9C6.33 9 7 8.33 7 7.5S6.33 6 5.5 6 4 6.67 4 7.5 4.67 9 5.5 9zM10 9c.83 0 1.5-.67 1.5-1.5S10.83 6 10 6s-1.5.67-1.5 1.5S9.17 9 10 9zm4.5 0c.83 0 1.5-.67 1.5-1.5S15.33 6 14.5 6 13 6.67 13 7.5 13.67 9 14.5 9zM6 14.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm-3 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z";break;case"format-video":e="M2 1h16c.55 0 1 .45 1 1v16l-18-.02V2c0-.55.45-1 1-1zm4 1L4 5h1l2-3H6zm4 0H9L7 5h1zm3 0h-1l-2 3h1zm3 0h-1l-2 3h1zm1 14V6H3v10h14zM8 7l6 4-6 4V7z";break;case"forms":e="M2 2h7v7H2V2zm9 0v7h7V2h-7zM5.5 4.5L7 3H4zM12 8V3h5v5h-5zM4.5 5.5L3 4v3zM8 4L6.5 5.5 8 7V4zM5.5 6.5L4 8h3zM9 18v-7H2v7h7zm9 0h-7v-7h7v7zM8 12v5H3v-5h5zm6.5 1.5L16 12h-3zM12 16l1.5-1.5L12 13v3zm3.5-1.5L17 16v-3zm-1 1L13 17h3z";break;case"googleplus":e="M6.73 10h5.4c.05.29.09.57.09.95 0 3.27-2.19 5.6-5.49 5.6-3.17 0-5.73-2.57-5.73-5.73 0-3.17 2.56-5.73 5.73-5.73 1.54 0 2.84.57 3.83 1.5l-1.55 1.5c-.43-.41-1.17-.89-2.28-.89-1.96 0-3.55 1.62-3.55 3.62 0 1.99 1.59 3.61 3.55 3.61 2.26 0 3.11-1.62 3.24-2.47H6.73V10zM19 10v1.64h-1.64v1.63h-1.63v-1.63h-1.64V10h1.64V8.36h1.63V10H19z";break;case"grid-view":e="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z";break;case"groups":e="M8.03 4.46c-.29 1.28.55 3.46 1.97 3.46 1.41 0 2.25-2.18 1.96-3.46-.22-.98-1.08-1.63-1.96-1.63-.89 0-1.74.65-1.97 1.63zm-4.13.9c-.25 1.08.47 2.93 1.67 2.93s1.92-1.85 1.67-2.93c-.19-.83-.92-1.39-1.67-1.39s-1.48.56-1.67 1.39zm8.86 0c-.25 1.08.47 2.93 1.66 2.93 1.2 0 1.92-1.85 1.67-2.93-.19-.83-.92-1.39-1.67-1.39-.74 0-1.47.56-1.66 1.39zm-.59 11.43l1.25-4.3C14.2 10 12.71 8.47 10 8.47c-2.72 0-4.21 1.53-3.44 4.02l1.26 4.3C8.05 17.51 9 18 10 18c.98 0 1.94-.49 2.17-1.21zm-6.1-7.63c-.49.67-.96 1.83-.42 3.59l1.12 3.79c-.34.2-.77.31-1.2.31-.85 0-1.65-.41-1.85-1.03l-1.07-3.65c-.65-2.11.61-3.4 2.92-3.4.27 0 .54.02.79.06-.1.1-.2.22-.29.33zm8.35-.39c2.31 0 3.58 1.29 2.92 3.4l-1.07 3.65c-.2.62-1 1.03-1.85 1.03-.43 0-.86-.11-1.2-.31l1.11-3.77c.55-1.78.08-2.94-.42-3.61-.08-.11-.18-.23-.28-.33.25-.04.51-.06.79-.06z";break;case"hammer":e="M17.7 6.32l1.41 1.42-3.47 3.41-1.42-1.42.84-.82c-.32-.76-.81-1.57-1.51-2.31l-4.61 6.59-5.26 4.7c-.39.39-1.02.39-1.42 0l-1.2-1.21c-.39-.39-.39-1.02 0-1.41l10.97-9.92c-1.37-.86-3.21-1.46-5.67-1.48 2.7-.82 4.95-.93 6.58-.3 1.7.66 2.82 2.2 3.91 3.58z";break;case"heading":e="M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4";break;case"heart":e="M10 17.12c3.33-1.4 5.74-3.79 7.04-6.21 1.28-2.41 1.46-4.81.32-6.25-1.03-1.29-2.37-1.78-3.73-1.74s-2.68.63-3.63 1.46c-.95-.83-2.27-1.42-3.63-1.46s-2.7.45-3.73 1.74c-1.14 1.44-.96 3.84.34 6.25 1.28 2.42 3.69 4.81 7.02 6.21z";break;case"hidden":e="M17.2 3.3l.16.17c.39.39.39 1.02 0 1.41L4.55 17.7c-.39.39-1.03.39-1.41 0l-.17-.17c-.39-.39-.39-1.02 0-1.41l1.59-1.6c-1.57-1-2.76-2.3-3.56-3.93.81-1.65 2.03-2.98 3.64-3.99S8.04 5.09 10 5.09c1.2 0 2.33.21 3.4.6l2.38-2.39c.39-.39 1.03-.39 1.42 0zm-7.09 4.01c-.23.25-.34.54-.34.88 0 .31.12.58.31.81l1.8-1.79c-.13-.12-.28-.21-.45-.26-.11-.01-.28-.03-.49-.04-.33.03-.6.16-.83.4zM2.4 10.59c.69 1.23 1.71 2.25 3.05 3.05l1.28-1.28c-.51-.69-.77-1.47-.77-2.36 0-1.06.36-1.98 1.09-2.76-1.04.27-1.96.7-2.76 1.26-.8.58-1.43 1.27-1.89 2.09zm13.22-2.13l.96-.96c1.02.86 1.83 1.89 2.42 3.09-.81 1.65-2.03 2.98-3.64 3.99s-3.4 1.51-5.36 1.51c-.63 0-1.24-.07-1.83-.18l1.07-1.07c.25.02.5.05.76.05 1.63 0 3.13-.4 4.5-1.21s2.4-1.84 3.1-3.09c-.46-.82-1.09-1.51-1.89-2.09-.03-.01-.06-.03-.09-.04zm-5.58 5.58l4-4c-.01 1.1-.41 2.04-1.18 2.81-.78.78-1.72 1.18-2.82 1.19z";break;case"html":e="M4 16v-2H2v2H1v-5h1v2h2v-2h1v5H4zM7 16v-4H5.6v-1h3.7v1H8v4H7zM10 16v-5h1l1.4 3.4h.1L14 11h1v5h-1v-3.1h-.1l-1.1 2.5h-.6l-1.1-2.5H11V16h-1zM19 16h-3v-5h1v4h2v1zM9.4 4.2L7.1 6.5l2.3 2.3-.6 1.2-3.5-3.5L8.8 3l.6 1.2zm1.2 4.6l2.3-2.3-2.3-2.3.6-1.2 3.5 3.5-3.5 3.5-.6-1.2z";break;case"id-alt":e="M18 18H2V2h16v16zM8.05 7.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L8.95 6c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C8.23 4.1 7.95 4 7.6 4c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM16 5V4h-5v1h5zm0 2V6h-5v1h5zM7.62 8.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM16 9V8h-3v1h3zm0 2v-1h-3v1h3zm0 3v-1H4v1h12zm0 2v-1H4v1h12z";break;case"id":e="M18 16H2V4h16v12zM7.05 8.53c.13-.07.24-.15.33-.24.09-.1.17-.21.24-.34.07-.14.13-.26.17-.37s.07-.22.1-.34L7.95 7c0-.04.01-.07.01-.09.05-.32.03-.61-.04-.9-.08-.28-.23-.52-.46-.72C7.23 5.1 6.95 5 6.6 5c-.2 0-.39.04-.56.11-.17.08-.31.18-.41.3-.11.13-.2.27-.27.44-.07.16-.11.33-.12.51s0 .36.01.55l.02.09c.01.06.03.15.06.25s.06.21.1.33.1.25.17.37c.08.12.16.23.25.33s.2.19.34.25c.13.06.28.09.43.09s.3-.03.43-.09zM17 9V5h-5v4h5zm-10.38.83l-1.38-.88c-.41 0-.79.11-1.14.32-.35.22-.62.5-.81.85-.19.34-.29.7-.29 1.07v1.25l.2.05c.13.04.31.09.55.14.24.06.51.12.8.17.29.06.62.1 1 .14.37.04.73.06 1.07.06s.69-.02 1.07-.06.7-.09.98-.14c.27-.05.54-.1.82-.17.27-.06.45-.11.54-.13.09-.03.16-.05.21-.06v-1.25c0-.36-.1-.72-.31-1.07s-.49-.64-.84-.86-.72-.33-1.11-.33zM17 11v-1h-5v1h5zm0 2v-1h-5v1h5zm0 2v-1H3v1h14z";break;case"image-crop":e="M19 12v3h-4v4h-3v-4H4V7H0V4h4V0h3v4h7l3-3 1 1-3 3v7h4zm-8-5H7v4zm-3 5h4V8z";break;case"image-filter":e="M14 5.87c0-2.2-1.79-4-4-4s-4 1.8-4 4c0 2.21 1.79 4 4 4s4-1.79 4-4zM3.24 10.66c-1.92 1.1-2.57 3.55-1.47 5.46 1.11 1.92 3.55 2.57 5.47 1.47 1.91-1.11 2.57-3.55 1.46-5.47-1.1-1.91-3.55-2.56-5.46-1.46zm9.52 6.93c1.92 1.1 4.36.45 5.47-1.46 1.1-1.92.45-4.36-1.47-5.47-1.91-1.1-4.36-.45-5.46 1.46-1.11 1.92-.45 4.36 1.46 5.47z";break;case"image-flip-horizontal":e="M19 3v14h-8v3H9v-3H1V3h8V0h2v3h8zm-8.5 14V3h-1v14h1zM7 6.5L3 10l4 3.5v-7zM17 10l-4-3.5v7z";break;case"image-flip-vertical":e="M20 9v2h-3v8H3v-8H0V9h3V1h14v8h3zM6.5 7h7L10 3zM17 9.5H3v1h14v-1zM13.5 13h-7l3.5 4z";break;case"image-rotate-left":e="M7 5H5.05c0-1.74.85-2.9 2.95-2.9V0C4.85 0 2.96 2.11 2.96 5H1.18L3.8 8.39zm13-4v14h-5v5H1V10h9V1h10zm-2 2h-6v7h3v3h3V3zm-5 9H3v6h10v-6z";break;case"image-rotate-right":e="M15.95 5H14l3.2 3.39L19.82 5h-1.78c0-2.89-1.89-5-5.04-5v2.1c2.1 0 2.95 1.16 2.95 2.9zM1 1h10v9h9v10H6v-5H1V1zm2 2v10h3v-3h3V3H3zm5 9v6h10v-6H8z";break;case"image-rotate":e="M10.25 1.02c5.1 0 8.75 4.04 8.75 9s-3.65 9-8.75 9c-3.2 0-6.02-1.59-7.68-3.99l2.59-1.52c1.1 1.5 2.86 2.51 4.84 2.51 3.3 0 6-2.79 6-6s-2.7-6-6-6c-1.97 0-3.72 1-4.82 2.49L7 8.02l-6 2v-7L2.89 4.6c1.69-2.17 4.36-3.58 7.36-3.58z";break;case"images-alt":e="M4 15v-3H2V2h12v3h2v3h2v10H6v-3H4zm7-12c-1.1 0-2 .9-2 2h4c0-1.1-.89-2-2-2zm-7 8V6H3v5h1zm7-3h4c0-1.1-.89-2-2-2-1.1 0-2 .9-2 2zm-5 6V9H5v5h1zm9-1c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2s-2 .9-2 2c0 1.11.9 2 2 2zm2 4v-2c-5 0-5-3-10-3v5h10z";break;case"images-alt2":e="M5 3h14v11h-2v2h-2v2H1V7h2V5h2V3zm13 10V4H6v9h12zm-3-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm1 6v-1H5V6H4v9h12zM7 6l10 6H7V6zm7 11v-1H3V8H2v9h12z";break;case"index-card":e="M1 3.17V18h18V4H8v-.83c0-.32-.12-.6-.35-.83S7.14 2 6.82 2H2.18c-.33 0-.6.11-.83.34-.24.23-.35.51-.35.83zM10 6v2H3V6h7zm7 0v10h-5V6h5zm-7 4v2H3v-2h7zm0 4v2H3v-2h7z";break;case"info-outline":e="M9 15h2V9H9v6zm1-10c-.5 0-1 .5-1 1s.5 1 1 1 1-.5 1-1-.5-1-1-1zm0-4c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7z";break;case"info":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1 4c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 9V9H9v6h2z";break;case"insert-after":e="M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z";break;case"insert-before":e="M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z";break;case"insert":e="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z";break;case"instagram":e="M12.67 10A2.67 2.67 0 1 0 10 12.67 2.68 2.68 0 0 0 12.67 10zm1.43 0A4.1 4.1 0 1 1 10 5.9a4.09 4.09 0 0 1 4.1 4.1zm1.13-4.27a1 1 0 1 1-1-1 1 1 0 0 1 1 1zM10 3.44c-1.17 0-3.67-.1-4.72.32a2.67 2.67 0 0 0-1.52 1.52c-.42 1-.32 3.55-.32 4.72s-.1 3.67.32 4.72a2.74 2.74 0 0 0 1.52 1.52c1 .42 3.55.32 4.72.32s3.67.1 4.72-.32a2.83 2.83 0 0 0 1.52-1.52c.42-1.05.32-3.55.32-4.72s.1-3.67-.32-4.72a2.74 2.74 0 0 0-1.52-1.52c-1.05-.42-3.55-.32-4.72-.32zM18 10c0 1.1 0 2.2-.05 3.3a4.84 4.84 0 0 1-1.29 3.36A4.8 4.8 0 0 1 13.3 18H6.7a4.84 4.84 0 0 1-3.36-1.29 4.84 4.84 0 0 1-1.29-3.41C2 12.2 2 11.1 2 10V6.7a4.84 4.84 0 0 1 1.34-3.36A4.8 4.8 0 0 1 6.7 2.05C7.8 2 8.9 2 10 2h3.3a4.84 4.84 0 0 1 3.36 1.29A4.8 4.8 0 0 1 18 6.7V10z";break;case"keyboard-hide":e="M18,0 L2,0 C0.9,0 0.01,0.9 0.01,2 L0,12 C0,13.1 0.9,14 2,14 L18,14 C19.1,14 20,13.1 20,12 L20,2 C20,0.9 19.1,0 18,0 Z M18,12 L2,12 L2,2 L18,2 L18,12 Z M9,3 L11,3 L11,5 L9,5 L9,3 Z M9,6 L11,6 L11,8 L9,8 L9,6 Z M6,3 L8,3 L8,5 L6,5 L6,3 Z M6,6 L8,6 L8,8 L6,8 L6,6 Z M3,6 L5,6 L5,8 L3,8 L3,6 Z M3,3 L5,3 L5,5 L3,5 L3,3 Z M6,9 L14,9 L14,11 L6,11 L6,9 Z M12,6 L14,6 L14,8 L12,8 L12,6 Z M12,3 L14,3 L14,5 L12,5 L12,3 Z M15,6 L17,6 L17,8 L15,8 L15,6 Z M15,3 L17,3 L17,5 L15,5 L15,3 Z M10,20 L14,16 L6,16 L10,20 Z";break;case"laptop":e="M3 3h14c.6 0 1 .4 1 1v10c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V4c0-.6.4-1 1-1zm13 2H4v8h12V5zm-3 1H5v4zm6 11v-1H1v1c0 .6.5 1 1.1 1h15.8c.6 0 1.1-.4 1.1-1z";break;case"layout":e="M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z";break;case"leftright":e="M3 10.03L9 6v8zM11 6l6 4.03L11 14V6z";break;case"lightbulb":e="M10 1c3.11 0 5.63 2.52 5.63 5.62 0 1.84-2.03 4.58-2.03 4.58-.33.44-.6 1.25-.6 1.8v1c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-1c0-.55-.27-1.36-.6-1.8 0 0-2.02-2.74-2.02-4.58C4.38 3.52 6.89 1 10 1zM7 16.87V16h6v.87c0 .62-.13 1.13-.75 1.13H12c0 .62-.4 1-1.02 1h-2c-.61 0-.98-.38-.98-1h-.25c-.62 0-.75-.51-.75-1.13z";break;case"list-view":e="M2 19h16c.55 0 1-.45 1-1V2c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v16c0 .55.45 1 1 1zM4 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V3h11zM4 7c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6V7h11zM4 11c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11zM4 15c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm13 0v2H6v-2h11z";break;case"location-alt":e="M13 13.14l1.17-5.94c.79-.43 1.33-1.25 1.33-2.2 0-1.38-1.12-2.5-2.5-2.5S10.5 3.62 10.5 5c0 .95.54 1.77 1.33 2.2zm0-9.64c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zm1.72 4.8L18 6.97v9L13.12 18 7 15.97l-5 2v-9l5-2 4.27 1.41 1.73 7.3z";break;case"location":e="M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z";break;case"lock":e="M14 9h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h1V6c0-2.21 1.79-4 4-4s4 1.79 4 4v3zm-2 0V6c0-1.1-.9-2-2-2s-2 .9-2 2v3h4zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"marker":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm0 13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z";break;case"media-archive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zM8 3.5v2l1.8-1zM11 5L9.2 6 11 7V5zM8 6.5v2l1.8-1zM11 8L9.2 9l1.8 1V8zM8 9.5v2l1.8-1zm3 1.5l-1.8 1 1.8 1v-2zm-1.5 6c.83 0 1.62-.72 1.5-1.63-.05-.38-.49-1.61-.49-1.61l-1.99-1.1s-.45 1.95-.52 2.71c-.07.77.67 1.63 1.5 1.63zm0-2.39c.42 0 .76.34.76.76 0 .43-.34.77-.76.77s-.76-.34-.76-.77c0-.42.34-.76.76-.76z";break;case"media-audio":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm1 7.26V8.09c0-.11-.04-.21-.12-.29-.07-.08-.16-.11-.27-.1 0 0-3.97.71-4.25.78C8.07 8.54 8 8.8 8 9v3.37c-.2-.09-.42-.07-.6-.07-.38 0-.7.13-.96.39-.26.27-.4.58-.4.96 0 .37.14.69.4.95.26.27.58.4.96.4.34 0 .7-.04.96-.26.26-.23.64-.65.64-1.12V10.3l3-.6V12c-.67-.2-1.17.04-1.44.31-.26.26-.39.58-.39.95 0 .38.13.69.39.96.27.26.71.39 1.08.39.38 0 .7-.13.96-.39.26-.27.4-.58.4-.96z";break;case"media-code":e="M12 2l4 4v12H4V2h8zM9 13l-2-2 2-2-1-1-3 3 3 3zm3 1l3-3-3-3-1 1 2 2-2 2z";break;case"media-default":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3z";break;case"media-document":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zM5 9v1h4V9H5zm10 3V9h-5v3h5zM5 11v1h4v-1H5zm10 3v-1H5v1h10zm-3 2v-1H5v1h7z";break;case"media-interactive":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm2 8V8H6v6h3l-1 2h1l1-2 1 2h1l-1-2h3zm-6-3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm5-2v2h-3V9h3zm0 3v1H7v-1h6z";break;case"media-spreadsheet":e="M12 2l4 4v12H4V2h8zm-1 4V3H5v3h6zM8 8V7H5v1h3zm3 0V7H9v1h2zm4 0V7h-3v1h3zm-7 2V9H5v1h3zm3 0V9H9v1h2zm4 0V9h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2zm4 0v-1h-3v1h3zm-7 2v-1H5v1h3zm3 0v-1H9v1h2z";break;case"media-text":e="M12 2l4 4v12H4V2h8zM5 3v1h6V3H5zm7 3h3l-3-3v3zM5 5v1h6V5H5zm10 3V7H5v1h10zm0 2V9H5v1h10zm0 2v-1H5v1h10zm-4 2v-1H5v1h6z";break;case"media-video":e="M12 2l4 4v12H4V2h8zm0 4h3l-3-3v3zm-1 8v-3c0-.27-.1-.51-.29-.71-.2-.19-.44-.29-.71-.29H7c-.27 0-.51.1-.71.29-.19.2-.29.44-.29.71v3c0 .27.1.51.29.71.2.19.44.29.71.29h3c.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71zm3 1v-5l-2 2v1z";break;case"megaphone":e="M18.15 5.94c.46 1.62.38 3.22-.02 4.48-.42 1.28-1.26 2.18-2.3 2.48-.16.06-.26.06-.4.06-.06.02-.12.02-.18.02-.06.02-.14.02-.22.02h-6.8l2.22 5.5c.02.14-.06.26-.14.34-.08.1-.24.16-.34.16H6.95c-.1 0-.26-.06-.34-.16-.08-.08-.16-.2-.14-.34l-1-5.5H4.25l-.02-.02c-.5.06-1.08-.18-1.54-.62s-.88-1.08-1.06-1.88c-.24-.8-.2-1.56-.02-2.2.18-.62.58-1.08 1.06-1.3l.02-.02 9-5.4c.1-.06.18-.1.24-.16.06-.04.14-.08.24-.12.16-.08.28-.12.5-.18 1.04-.3 2.24.1 3.22.98s1.84 2.24 2.26 3.86zm-2.58 5.98h-.02c.4-.1.74-.34 1.04-.7.58-.7.86-1.76.86-3.04 0-.64-.1-1.3-.28-1.98-.34-1.36-1.02-2.5-1.78-3.24s-1.68-1.1-2.46-.88c-.82.22-1.4.96-1.7 2-.32 1.04-.28 2.36.06 3.72.38 1.36 1 2.5 1.8 3.24.78.74 1.62 1.1 2.48.88zm-2.54-7.08c.22-.04.42-.02.62.04.38.16.76.48 1.02 1s.42 1.2.42 1.78c0 .3-.04.56-.12.8-.18.48-.44.84-.86.94-.34.1-.8-.06-1.14-.4s-.64-.86-.78-1.5c-.18-.62-.12-1.24.02-1.72s.48-.84.82-.94z";break;case"menu-alt":e="M3 4h14v2H3V4zm0 5h14v2H3V9zm0 5h14v2H3v-2z";break;case"menu":e="M17 7V5H3v2h14zm0 4V9H3v2h14zm0 4v-2H3v2h14z";break;case"microphone":e="M12 9V3c0-1.1-.89-2-2-2-1.12 0-2 .94-2 2v6c0 1.1.9 2 2 2 1.13 0 2-.94 2-2zm4 0c0 2.97-2.16 5.43-5 5.91V17h2c.56 0 1 .45 1 1s-.44 1-1 1H7c-.55 0-1-.45-1-1s.45-1 1-1h2v-2.09C6.17 14.43 4 11.97 4 9c0-.55.45-1 1-1 .56 0 1 .45 1 1 0 2.21 1.8 4 4 4 2.21 0 4-1.79 4-4 0-.55.45-1 1-1 .56 0 1 .45 1 1z";break;case"migrate":e="M4 6h6V4H2v12.01h8V14H4V6zm2 2h6V5l6 5-6 5v-3H6V8z";break;case"minus":e="M4 9h12v2H4V9z";break;case"money":e="M0 3h20v12h-.75c0-1.79-1.46-3.25-3.25-3.25-1.31 0-2.42.79-2.94 1.91-.25-.1-.52-.16-.81-.16-.98 0-1.8.63-2.11 1.5H0V3zm8.37 3.11c-.06.15-.1.31-.11.47s-.01.33.01.5l.02.08c.01.06.02.14.05.23.02.1.06.2.1.31.03.11.09.22.15.33.07.12.15.22.23.31s.18.17.31.23c.12.06.25.09.4.09.14 0 .27-.03.39-.09s.22-.14.3-.22c.09-.09.16-.2.22-.32.07-.12.12-.23.16-.33s.07-.2.09-.31c.03-.11.04-.18.05-.22s.01-.07.01-.09c.05-.29.03-.56-.04-.82s-.21-.48-.41-.66c-.21-.18-.47-.27-.79-.27-.19 0-.36.03-.52.1-.15.07-.28.16-.38.28-.09.11-.17.25-.24.4zm4.48 6.04v-1.14c0-.33-.1-.66-.29-.98s-.45-.59-.77-.79c-.32-.21-.66-.31-1.02-.31l-1.24.84-1.28-.82c-.37 0-.72.1-1.04.3-.31.2-.56.46-.74.77-.18.32-.27.65-.27.99v1.14l.18.05c.12.04.29.08.51.14.23.05.47.1.74.15.26.05.57.09.91.13.34.03.67.05.99.05.3 0 .63-.02.98-.05.34-.04.64-.08.89-.13.25-.04.5-.1.76-.16l.5-.12c.08-.02.14-.04.19-.06zm3.15.1c1.52 0 2.75 1.23 2.75 2.75s-1.23 2.75-2.75 2.75c-.73 0-1.38-.3-1.87-.77.23-.35.37-.78.37-1.23 0-.77-.39-1.46-.99-1.86.43-.96 1.37-1.64 2.49-1.64zm-5.5 3.5c0-.96.79-1.75 1.75-1.75s1.75.79 1.75 1.75-.79 1.75-1.75 1.75-1.75-.79-1.75-1.75z";break;case"move":e="M19 10l-4 4v-3h-4v4h3l-4 4-4-4h3v-4H5v3l-4-4 4-4v3h4V5H6l4-4 4 4h-3v4h4V6z";break;case"nametag":e="M12 5V2c0-.55-.45-1-1-1H9c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h2c.55 0 1-.45 1-1zm-2-3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 13V7c0-1.1-.9-2-2-2h-3v.33C13 6.25 12.25 7 11.33 7H8.67C7.75 7 7 6.25 7 5.33V5H4c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-1-6v6H3V9h14zm-8 2c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm3 0c0-.55-.22-1-.5-1s-.5.45-.5 1 .22 1 .5 1 .5-.45.5-1zm-5.96 1.21c.92.48 2.34.79 3.96.79s3.04-.31 3.96-.79c-.21 1-1.89 1.79-3.96 1.79s-3.75-.79-3.96-1.79z";break;case"networking":e="M18 13h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01h-4c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2h-5v2h1c.55 0 1 .45 1 1.01v2.98c0 .56-.45 1.01-1 1.01H8c-.55 0-1-.45-1-1.01v-2.98c0-.56.45-1.01 1-1.01h1v-2H4v2h1c.55 0 1 .45 1 1.01v2.98C6 17.55 5.55 18 5 18H1c-.55 0-1-.45-1-1.01v-2.98C0 13.45.45 13 1 13h1v-2c0-1.1.9-2 2-2h5V7H8c-.55 0-1-.45-1-1.01V3.01C7 2.45 7.45 2 8 2h4c.55 0 1 .45 1 1.01v2.98C13 6.55 12.55 7 12 7h-1v2h5c1.1 0 2 .9 2 2v2z";break;case"no-alt":e="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z";break;case"no":e="M12.12 10l3.53 3.53-2.12 2.12L10 12.12l-3.54 3.54-2.12-2.12L7.88 10 4.34 6.46l2.12-2.12L10 7.88l3.54-3.53 2.12 2.12z";break;case"palmtree":e="M8.58 2.39c.32 0 .59.05.81.14 1.25.55 1.69 2.24 1.7 3.97.59-.82 2.15-2.29 3.41-2.29s2.94.73 3.53 3.55c-1.13-.65-2.42-.94-3.65-.94-1.26 0-2.45.32-3.29.89.4-.11.86-.16 1.33-.16 1.39 0 2.9.45 3.4 1.31.68 1.16.47 3.38-.76 4.14-.14-2.1-1.69-4.12-3.47-4.12-.44 0-.88.12-1.33.38C8 10.62 7 14.56 7 19H2c0-5.53 4.21-9.65 7.68-10.79-.56-.09-1.17-.15-1.82-.15C6.1 8.06 4.05 8.5 2 10c.76-2.96 2.78-4.1 4.69-4.1 1.25 0 2.45.5 3.2 1.29-.66-2.24-2.49-2.86-4.08-2.86-.8 0-1.55.16-2.05.35.91-1.29 3.31-2.29 4.82-2.29zM13 11.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5.67 1.5 1.5 1.5 1.5-.67 1.5-1.5z";break;case"paperclip":e="M17.05 2.7c1.93 1.94 1.93 5.13 0 7.07L10 16.84c-1.88 1.89-4.91 1.93-6.86.15-.06-.05-.13-.09-.19-.15-1.93-1.94-1.93-5.12 0-7.07l4.94-4.95c.91-.92 2.28-1.1 3.39-.58.3.15.59.33.83.58 1.17 1.17 1.17 3.07 0 4.24l-4.93 4.95c-.39.39-1.02.39-1.41 0s-.39-1.02 0-1.41l4.93-4.95c.39-.39.39-1.02 0-1.41-.38-.39-1.02-.39-1.4 0l-4.94 4.95c-.91.92-1.1 2.29-.57 3.4.14.3.32.59.57.84s.54.43.84.57c1.11.53 2.47.35 3.39-.57l7.05-7.07c1.16-1.17 1.16-3.08 0-4.25-.56-.55-1.28-.83-2-.86-.08.01-.16.01-.24 0-.22-.03-.43-.11-.6-.27-.39-.4-.38-1.05.02-1.45.16-.16.36-.24.56-.28.14-.02.27-.01.4.02 1.19.06 2.36.52 3.27 1.43z";break;case"performance":e="M3.76 17.01h12.48C17.34 15.63 18 13.9 18 12c0-4.41-3.58-8-8-8s-8 3.59-8 8c0 1.9.66 3.63 1.76 5.01zM9 6c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zM4 8c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm4.52 3.4c.84-.83 6.51-3.5 6.51-3.5s-2.66 5.68-3.49 6.51c-.84.84-2.18.84-3.02 0-.83-.83-.83-2.18 0-3.01zM3 13c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1zm6 0c0-.55.45-1 1-1s1 .45 1 1c0 .56-.45 1-1 1s-1-.44-1-1z";break;case"phone":e="M12.06 6l-.21-.2c-.52-.54-.43-.79.08-1.3l2.72-2.75c.81-.82.96-1.21 1.73-.48l.21.2zm.53.45l4.4-4.4c.7.94 2.34 3.47 1.53 5.34-.73 1.67-1.09 1.75-2 3-1.85 2.11-4.18 4.37-6 6.07-1.26.91-1.31 1.33-3 2-1.8.71-4.4-.89-5.38-1.56l4.4-4.4 1.18 1.62c.34.46 1.2-.06 1.8-.66 1.04-1.05 3.18-3.18 4-4.07.59-.59 1.12-1.45.66-1.8zM1.57 16.5l-.21-.21c-.68-.74-.29-.9.52-1.7l2.74-2.72c.51-.49.75-.6 1.27-.11l.2.21z";break;case"playlist-audio":e="M17 3V1H2v2h15zm0 4V5H2v2h15zm-7 4V9H2v2h8zm7.45-1.96l-6 1.12c-.16.02-.19.03-.29.13-.11.09-.16.22-.16.37v4.59c-.29-.13-.66-.14-.93-.14-.54 0-1 .19-1.38.57s-.56.84-.56 1.38c0 .53.18.99.56 1.37s.84.57 1.38.57c.49 0 .92-.16 1.29-.48s.59-.71.65-1.19v-4.95L17 11.27v3.48c-.29-.13-.56-.19-.83-.19-.54 0-1.11.19-1.49.57-.38.37-.57.83-.57 1.37s.19.99.57 1.37.84.57 1.38.57c.53 0 .99-.19 1.37-.57s.57-.83.57-1.37V9.6c0-.16-.05-.3-.16-.41-.11-.12-.24-.17-.39-.15zM8 15v-2H2v2h6zm-2 4v-2H2v2h4z";break;case"playlist-video":e="M17 3V1H2v2h15zm0 4V5H2v2h15zM6 11V9H2v2h4zm2-2h9c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm3 7l3.33-2L11 12v4zm-5-1v-2H2v2h4zm0 4v-2H2v2h4z";break;case"plus-alt":e="M15.8 4.2c3.2 3.21 3.2 8.39 0 11.6-3.21 3.2-8.39 3.2-11.6 0C1 12.59 1 7.41 4.2 4.2 7.41 1 12.59 1 15.8 4.2zm-4.3 11.3v-4h4v-3h-4v-4h-3v4h-4v3h4v4h3z";break;case"plus-light":e="M17 9v2h-6v6H9v-6H3V9h6V3h2v6h6z";break;case"plus":e="M17 7v3h-5v5H9v-5H4V7h5V2h3v5h5z";break;case"portfolio":e="M4 5H.78c-.37 0-.74.32-.69.84l1.56 9.99S3.5 8.47 3.86 6.7c.11-.53.61-.7.98-.7H10s-.7-2.08-.77-2.31C9.11 3.25 8.89 3 8.45 3H5.14c-.36 0-.7.23-.8.64C4.25 4.04 4 5 4 5zm4.88 0h-4s.42-1 .87-1h2.13c.48 0 1 1 1 1zM2.67 16.25c-.31.47-.76.75-1.26.75h15.73c.54 0 .92-.31 1.03-.83.44-2.19 1.68-8.44 1.68-8.44.07-.5-.3-.73-.62-.73H16V5.53c0-.16-.26-.53-.66-.53h-3.76c-.52 0-.87.58-.87.58L10 7H5.59c-.32 0-.63.19-.69.5 0 0-1.59 6.7-1.72 7.33-.07.37-.22.99-.51 1.42zM15.38 7H11s.58-1 1.13-1h2.29c.71 0 .96 1 .96 1z";break;case"post-status":e="M14 6c0 1.86-1.28 3.41-3 3.86V16c0 1-2 2-2 2V9.86c-1.72-.45-3-2-3-3.86 0-2.21 1.79-4 4-4s4 1.79 4 4zM8 5c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1z";break;case"pressthis":e="M14.76 1C16.55 1 18 2.46 18 4.25c0 1.78-1.45 3.24-3.24 3.24-.23 0-.47-.03-.7-.08L13 8.47V19H2V4h9.54c.13-2 1.52-3 3.22-3zm0 5.49C16 6.49 17 5.48 17 4.25 17 3.01 16 2 14.76 2s-2.24 1.01-2.24 2.25c0 .37.1.72.27 1.03L9.57 8.5c-.28.28-1.77 2.22-1.5 2.49.02.03.06.04.1.04.49 0 2.14-1.28 2.39-1.53l3.24-3.24c.29.14.61.23.96.23z";break;case"products":e="M17 8h1v11H2V8h1V6c0-2.76 2.24-5 5-5 .71 0 1.39.15 2 .42.61-.27 1.29-.42 2-.42 2.76 0 5 2.24 5 5v2zM5 6v2h2V6c0-1.13.39-2.16 1.02-3H8C6.35 3 5 4.35 5 6zm10 2V6c0-1.65-1.35-3-3-3h-.02c.63.84 1.02 1.87 1.02 3v2h2zm-5-4.22C9.39 4.33 9 5.12 9 6v2h2V6c0-.88-.39-1.67-1-2.22z";break;case"randomize":e="M18 6.01L14 9V7h-4l-5 8H2v-2h2l5-8h5V3zM2 5h3l1.15 2.17-1.12 1.8L4 7H2V5zm16 9.01L14 17v-2H9l-1.15-2.17 1.12-1.8L10 13h4v-2z";break;case"redo":e="M8 5h5V2l6 4-6 4V7H8c-2.2 0-4 1.8-4 4s1.8 4 4 4h5v2H8c-3.3 0-6-2.7-6-6s2.7-6 6-6z";break;case"rest-api":e="M3 4h2v12H3z";break;case"rss":e="M14.92 18H18C18 9.32 10.82 2.25 2 2.25v3.02c7.12 0 12.92 5.71 12.92 12.73zm-5.44 0h3.08C12.56 12.27 7.82 7.6 2 7.6v3.02c2 0 3.87.77 5.29 2.16C8.7 14.17 9.48 16.03 9.48 18zm-5.35-.02c1.17 0 2.13-.93 2.13-2.09 0-1.15-.96-2.09-2.13-2.09-1.18 0-2.13.94-2.13 2.09 0 1.16.95 2.09 2.13 2.09z";break;case"saved":e="M15.3 5.3l-6.8 6.8-2.8-2.8-1.4 1.4 4.2 4.2 8.2-8.2";break;case"schedule":e="M2 2h16v4H2V2zm0 10V8h4v4H2zm6-2V8h4v2H8zm6 3V8h4v5h-4zm-6 5v-6h4v6H8zm-6 0v-4h4v4H2zm12 0v-3h4v3h-4z";break;case"screenoptions":e="M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z";break;case"search":e="M12.14 4.18c1.87 1.87 2.11 4.75.72 6.89.12.1.22.21.36.31.2.16.47.36.81.59.34.24.56.39.66.47.42.31.73.57.94.78.32.32.6.65.84 1 .25.35.44.69.59 1.04.14.35.21.68.18 1-.02.32-.14.59-.36.81s-.49.34-.81.36c-.31.02-.65-.04-.99-.19-.35-.14-.7-.34-1.04-.59-.35-.24-.68-.52-1-.84-.21-.21-.47-.52-.77-.93-.1-.13-.25-.35-.47-.66-.22-.32-.4-.57-.56-.78-.16-.2-.29-.35-.44-.5-2.07 1.09-4.69.76-6.44-.98-2.14-2.15-2.14-5.64 0-7.78 2.15-2.15 5.63-2.15 7.78 0zm-1.41 6.36c1.36-1.37 1.36-3.58 0-4.95-1.37-1.37-3.59-1.37-4.95 0-1.37 1.37-1.37 3.58 0 4.95 1.36 1.37 3.58 1.37 4.95 0z";break;case"share-alt":e="M16.22 5.8c.47.69.29 1.62-.4 2.08-.69.47-1.62.29-2.08-.4-.16-.24-.35-.46-.55-.67-.21-.2-.43-.39-.67-.55s-.5-.3-.77-.41c-.27-.12-.55-.21-.84-.26-.59-.13-1.23-.13-1.82-.01-.29.06-.57.15-.84.27-.27.11-.53.25-.77.41s-.46.35-.66.55c-.21.21-.4.43-.56.67s-.3.5-.41.76c-.01.02-.01.03-.01.04-.1.24-.17.48-.23.72H1V6h2.66c.04-.07.07-.13.12-.2.27-.4.57-.77.91-1.11s.72-.65 1.11-.91c.4-.27.83-.51 1.28-.7s.93-.34 1.41-.43c.99-.21 2.03-.21 3.02 0 .48.09.96.24 1.41.43s.88.43 1.28.7c.39.26.77.57 1.11.91s.64.71.91 1.11zM12.5 10c0-1.38-1.12-2.5-2.5-2.5S7.5 8.62 7.5 10s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5zm-8.72 4.2c-.47-.69-.29-1.62.4-2.09.69-.46 1.62-.28 2.08.41.16.24.35.46.55.67.21.2.43.39.67.55s.5.3.77.41c.27.12.55.2.84.26.59.13 1.23.12 1.82 0 .29-.06.57-.14.84-.26.27-.11.53-.25.77-.41s.46-.35.66-.55c.21-.21.4-.44.56-.67.16-.25.3-.5.41-.76.01-.02.01-.03.01-.04.1-.24.17-.48.23-.72H19v3h-2.66c-.04.06-.07.13-.12.2-.27.4-.57.77-.91 1.11s-.72.65-1.11.91c-.4.27-.83.51-1.28.7s-.93.33-1.41.43c-.99.21-2.03.21-3.02 0-.48-.1-.96-.24-1.41-.43s-.88-.43-1.28-.7c-.39-.26-.77-.57-1.11-.91s-.64-.71-.91-1.11z";break;case"share-alt2":e="M18 8l-5 4V9.01c-2.58.06-4.88.45-7 2.99.29-3.57 2.66-5.66 7-5.94V3zM4 14h11v-2l2-1.6V16H2V5h9.43c-1.83.32-3.31 1-4.41 2H4v7z";break;case"share":e="M14.5 12c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3c0-.24.03-.46.09-.69l-4.38-2.3c-.55.61-1.33.99-2.21.99-1.66 0-3-1.34-3-3s1.34-3 3-3c.88 0 1.66.39 2.21.99l4.38-2.3c-.06-.23-.09-.45-.09-.69 0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3c-.88 0-1.66-.39-2.21-.99l-4.38 2.3c.06.23.09.45.09.69s-.03.46-.09.69l4.38 2.3c.55-.61 1.33-.99 2.21-.99z";break;case"shield-alt":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2z";break;case"shield":e="M10 2s3 2 7 2c0 11-7 14-7 14S3 15 3 4c4 0 7-2 7-2zm0 8h5s1-1 1-5c0 0-5-1-6-2v7H5c1 4 5 7 5 7v-7z";break;case"shortcode":e="M6 14H4V6h2V4H2v12h4M7.1 17h2.1l3.7-14h-2.1M14 4v2h2v8h-2v2h4V4";break;case"slides":e="M5 14V6h10v8H5zm-3-1V7h2v6H2zm4-6v6h8V7H6zm10 0h2v6h-2V7zm-3 2V8H7v1h6zm0 3v-2H7v2h6z";break;case"smartphone":e="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm7 12V4H7v10h6zM8 5h4l-4 5V5z";break;case"smiley":e="M7 5.2c1.1 0 2 .89 2 2 0 .37-.11.71-.28 1C8.72 8.2 8 8 7 8s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.9-2 2-2zm6 0c1.11 0 2 .89 2 2 0 .37-.11.71-.28 1 0 0-.72-.2-1.72-.2s-1.72.2-1.72.2c-.17-.29-.28-.63-.28-1 0-1.11.89-2 2-2zm-3 13.7c3.72 0 7.03-2.36 8.23-5.88l-1.32-.46C15.9 15.52 13.12 17.5 10 17.5s-5.9-1.98-6.91-4.94l-1.32.46c1.2 3.52 4.51 5.88 8.23 5.88z";break;case"sort":e="M11 7H1l5 7zm-2 7h10l-5-7z";break;case"sos":e="M18 10c0-4.42-3.58-8-8-8s-8 3.58-8 8 3.58 8 8 8 8-3.58 8-8zM7.23 3.57L8.72 7.3c-.62.29-1.13.8-1.42 1.42L3.57 7.23c.71-1.64 2.02-2.95 3.66-3.66zm9.2 3.66L12.7 8.72c-.29-.62-.8-1.13-1.42-1.42l1.49-3.73c1.64.71 2.95 2.02 3.66 3.66zM10 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm-6.43.77l3.73-1.49c.29.62.8 1.13 1.42 1.42l-1.49 3.73c-1.64-.71-2.95-2.02-3.66-3.66zm9.2 3.66l-1.49-3.73c.62-.29 1.13-.8 1.42-1.42l3.73 1.49c-.71 1.64-2.02 2.95-3.66 3.66z";break;case"star-empty":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z";break;case"star-filled":e="M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z";break;case"star-half":e="M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z";break;case"sticky":e="M5 3.61V1.04l8.99-.01-.01 2.58c-1.22.26-2.16 1.35-2.16 2.67v.5c.01 1.31.93 2.4 2.17 2.66l-.01 2.58h-3.41l-.01 2.57c0 .6-.47 4.41-1.06 4.41-.6 0-1.08-3.81-1.08-4.41v-2.56L5 12.02l.01-2.58c1.23-.25 2.15-1.35 2.15-2.66v-.5c0-1.31-.92-2.41-2.16-2.67z";break;case"store":e="M1 10c.41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.51.43.54 0 1.08-.14 1.49-.43.62-.46 1-1.17 1-2 0 .83.37 1.54 1 2 .41.29.96.43 1.5.43.55 0 1.09-.14 1.5-.43.63-.46 1-1.17 1-2V7l-3-7H4L0 7v1c0 .83.37 1.54 1 2zm2 8.99h5v-5h4v5h5v-7c-.37-.05-.72-.22-1-.43-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.49.44-.55 0-1.1-.14-1.51-.44-.63-.45-1-.73-1-1.56 0 .83-.38 1.11-1 1.56-.41.3-.95.43-1.5.44-.54 0-1.09-.14-1.5-.44-.63-.45-1-.73-1-1.57 0 .84-.38 1.12-1 1.57-.29.21-.63.38-1 .44v6.99z";break;case"table-col-after":e="M14.08 12.864V9.216h3.648V7.424H14.08V3.776h-1.728v3.648H8.64v1.792h3.712v3.648zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm0 5.12H1.28v3.84H6.4V6.4zm0 5.12H1.28v3.84H6.4v-3.84zM19.2 1.28H7.68v14.08H19.2V1.28z";break;case"table-col-before":e="M6.4 3.776v3.648H2.752v1.792H6.4v3.648h1.728V9.216h3.712V7.424H8.128V3.776zM0 17.92V0h20.48v17.92H0zM12.8 1.28H1.28v14.08H12.8V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.12h-5.12v3.84h5.12V6.4zm0 5.12h-5.12v3.84h5.12v-3.84z";break;case"table-col-delete":e="M6.4 9.98L7.68 8.7v-.256L6.4 7.164V9.98zm6.4-1.532l1.28-1.28V9.92L12.8 8.64v-.192zm7.68 9.472V0H0v17.92h20.48zm-1.28-2.56h-5.12v-1.024l-.256.256-1.024-1.024v1.792H7.68v-1.792l-1.024 1.024-.256-.256v1.024H1.28V1.28H6.4v2.368l.704-.704.576.576V1.216h5.12V3.52l.96-.96.32.32V1.216h5.12V15.36zm-5.76-2.112l-3.136-3.136-3.264 3.264-1.536-1.536 3.264-3.264L5.632 5.44l1.536-1.536 3.136 3.136 3.2-3.2 1.536 1.536-3.2 3.2 3.136 3.136-1.536 1.536z";break;case"table-row-after":e="M13.824 10.176h-2.88v-2.88H9.536v2.88h-2.88v1.344h2.88v2.88h1.408v-2.88h2.88zM0 17.92V0h20.48v17.92H0zM6.4 1.28H1.28v3.84H6.4V1.28zm6.4 0H7.68v3.84h5.12V1.28zm6.4 0h-5.12v3.84h5.12V1.28zm0 5.056H1.28v9.024H19.2V6.336z";break;case"table-row-before":e="M6.656 6.464h2.88v2.88h1.408v-2.88h2.88V5.12h-2.88V2.24H9.536v2.88h-2.88zM0 17.92V0h20.48v17.92H0zm7.68-2.56h5.12v-3.84H7.68v3.84zm-6.4 0H6.4v-3.84H1.28v3.84zM19.2 1.28H1.28v9.024H19.2V1.28zm0 10.24h-5.12v3.84h5.12v-3.84z";break;case"table-row-delete":e="M17.728 11.456L14.592 8.32l3.2-3.2-1.536-1.536-3.2 3.2L9.92 3.648 8.384 5.12l3.2 3.2-3.264 3.264 1.536 1.536 3.264-3.264 3.136 3.136 1.472-1.536zM0 17.92V0h20.48v17.92H0zm19.2-6.4h-.448l-1.28-1.28H19.2V6.4h-1.792l1.28-1.28h.512V1.28H1.28v3.84h6.208l1.28 1.28H1.28v3.84h7.424l-1.28 1.28H1.28v3.84H19.2v-3.84z";break;case"tablet":e="M4 2h12c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H4c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1zm11 14V4H5v12h10zM6 5h6l-6 5V5z";break;case"tag":e="M11 2h7v7L8 19l-7-7zm3 6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z";break;case"tagcloud":e="M11 3v4H1V3h10zm8 0v4h-7V3h7zM7 8v3H1V8h6zm12 0v3H8V8h11zM9 12v2H1v-2h8zm10 0v2h-9v-2h9zM6 15v1H1v-1h5zm5 0v1H7v-1h4zm3 0v1h-2v-1h2zm5 0v1h-4v-1h4z";break;case"testimonial":e="M4 3h12c.55 0 1.02.2 1.41.59S18 4.45 18 5v7c0 .55-.2 1.02-.59 1.41S16.55 14 16 14h-1l-5 5v-5H4c-.55 0-1.02-.2-1.41-.59S2 12.55 2 12V5c0-.55.2-1.02.59-1.41S3.45 3 4 3zm11 2H4v1h11V5zm1 3H4v1h12V8zm-3 3H4v1h9v-1z";break;case"text":e="M18 3v2H2V3h16zm-6 4v2H2V7h10zm6 0v2h-4V7h4zM8 11v2H2v-2h6zm10 0v2h-8v-2h8zm-4 4v2H2v-2h12z";break;case"thumbs-down":e="M7.28 18c-.15.02-.26-.02-.41-.07-.56-.19-.83-.79-.66-1.35.17-.55 1-3.04 1-3.58 0-.53-.75-1-1.35-1h-3c-.6 0-1-.4-1-1s2-7 2-7c.17-.39.55-1 1-1H14v9h-2.14c-.41.41-3.3 4.71-3.58 5.27-.21.41-.6.68-1 .73zM18 12h-2V3h2v9z";break;case"thumbs-up":e="M12.72 2c.15-.02.26.02.41.07.56.19.83.79.66 1.35-.17.55-1 3.04-1 3.58 0 .53.75 1 1.35 1h3c.6 0 1 .4 1 1s-2 7-2 7c-.17.39-.55 1-1 1H6V8h2.14c.41-.41 3.3-4.71 3.58-5.27.21-.41.6-.68 1-.73zM2 8h2v9H2V8z";break;case"tickets-alt":e="M20 6.38L18.99 9.2v-.01c-.52-.19-1.03-.16-1.53.08s-.85.62-1.04 1.14-.16 1.03.07 1.53c.24.5.62.84 1.15 1.03v.01l-1.01 2.82-15.06-5.38.99-2.79c.52.19 1.03.16 1.53-.08.5-.23.84-.61 1.03-1.13s.16-1.03-.08-1.53c-.23-.49-.61-.83-1.13-1.02L4.93 1zm-4.97 5.69l1.37-3.76c.12-.31.1-.65-.04-.95s-.39-.53-.7-.65L8.14 3.98c-.64-.23-1.37.12-1.6.74L5.17 8.48c-.24.65.1 1.37.74 1.6l7.52 2.74c.14.05.28.08.43.08.52 0 1-.33 1.17-.83zM7.97 4.45l7.51 2.73c.19.07.34.21.43.39.08.18.09.38.02.57l-1.37 3.76c-.13.38-.58.59-.96.45L6.09 9.61c-.39-.14-.59-.57-.45-.96l1.37-3.76c.1-.29.39-.49.7-.49.09 0 .17.02.26.05zm6.82 12.14c.35.27.75.41 1.2.41H16v3H0v-2.96c.55 0 1.03-.2 1.41-.59.39-.38.59-.86.59-1.41s-.2-1.02-.59-1.41-.86-.59-1.41-.59V10h1.05l-.28.8 2.87 1.02c-.51.16-.89.62-.89 1.18v4c0 .69.56 1.25 1.25 1.25h8c.69 0 1.25-.56 1.25-1.25v-1.75l.83.3c.12.43.36.78.71 1.04zM3.25 17v-4c0-.41.34-.75.75-.75h.83l7.92 2.83V17c0 .41-.34.75-.75.75H4c-.41 0-.75-.34-.75-.75z";break;case"tickets":e="M20 5.38L18.99 8.2v-.01c-1.04-.37-2.19.18-2.57 1.22-.37 1.04.17 2.19 1.22 2.56v.01l-1.01 2.82L1.57 9.42l.99-2.79c1.04.38 2.19-.17 2.56-1.21s-.17-2.18-1.21-2.55L4.93 0zm-5.45 3.37c.74-2.08-.34-4.37-2.42-5.12-2.08-.74-4.37.35-5.11 2.42-.74 2.08.34 4.38 2.42 5.12 2.07.74 4.37-.35 5.11-2.42zm-2.56-4.74c.89.32 1.57.94 1.97 1.71-.01-.01-.02-.01-.04-.02-.33-.12-.67.09-.78.4-.1.28-.03.57.05.91.04.27.09.62-.06 1.04-.1.29-.33.58-.65 1l-.74 1.01.08-4.08.4.11c.19.04.26-.24.08-.29 0 0-.57-.15-.92-.28-.34-.12-.88-.36-.88-.36-.18-.08-.3.19-.12.27 0 0 .16.08.34.16l.01 1.63L9.2 9.18l.08-4.11c.2.06.4.11.4.11.19.04.26-.23.07-.29 0 0-.56-.15-.91-.28-.07-.02-.14-.05-.22-.08.93-.7 2.19-.94 3.37-.52zM7.4 6.19c.17-.49.44-.92.78-1.27l.04 5c-.94-.95-1.3-2.39-.82-3.73zm4.04 4.75l2.1-2.63c.37-.41.57-.77.69-1.12.05-.12.08-.24.11-.35.09.57.04 1.18-.17 1.77-.45 1.25-1.51 2.1-2.73 2.33zm-.7-3.22l.02 3.22c0 .02 0 .04.01.06-.4 0-.8-.07-1.2-.21-.33-.12-.63-.28-.9-.48zm1.24 6.08l2.1.75c.24.84 1 1.45 1.91 1.45H16v3H0v-2.96c1.1 0 2-.89 2-2 0-1.1-.9-2-2-2V9h1.05l-.28.8 4.28 1.52C4.4 12.03 4 12.97 4 14c0 2.21 1.79 4 4 4s4-1.79 4-4c0-.07-.02-.13-.02-.2zm-6.53-2.33l1.48.53c-.14.04-.15.27.03.28 0 0 .18.02.37.03l.56 1.54-.78 2.36-1.31-3.9c.21-.01.41-.03.41-.03.19-.02.17-.31-.02-.3 0 0-.59.05-.96.05-.07 0-.15 0-.23-.01.13-.2.28-.38.45-.55zM4.4 14c0-.52.12-1.02.32-1.46l1.71 4.7C5.23 16.65 4.4 15.42 4.4 14zm4.19-1.41l1.72.62c.07.17.12.37.12.61 0 .31-.12.66-.28 1.16l-.35 1.2zM11.6 14c0 1.33-.72 2.49-1.79 3.11l1.1-3.18c.06-.17.1-.31.14-.46l.52.19c.02.11.03.22.03.34zm-4.62 3.45l1.08-3.14 1.11 3.03c.01.02.01.04.02.05-.37.13-.77.21-1.19.21-.35 0-.69-.06-1.02-.15z";break;case"tide":e="M17 7.2V3H3v7.1c2.6-.5 4.5-1.5 6.4-2.6.2-.2.4-.3.6-.5v3c-1.9 1.1-4 2.2-7 2.8V17h14V9.9c-2.6.5-4.4 1.5-6.2 2.6-.3.1-.5.3-.8.4V10c2-1.1 4-2.2 7-2.8z";break;case"translation":e="M11 7H9.49c-.63 0-1.25.3-1.59.7L7 5H4.13l-2.39 7h1.69l.74-2H7v4H2c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2v2zM6.51 9H4.49l1-2.93zM10 8h7c1.1 0 2 .9 2 2v7c0 1.1-.9 2-2 2h-7c-1.1 0-2-.9-2-2v-7c0-1.1.9-2 2-2zm7.25 5v-1.08h-3.17V9.75h-1.16v2.17H9.75V13h1.28c.11.85.56 1.85 1.28 2.62-.87.36-1.89.62-2.31.62-.01.02.22.97.2 1.46.84 0 2.21-.5 3.28-1.15 1.09.65 2.48 1.15 3.34 1.15-.02-.49.2-1.44.2-1.46-.43 0-1.49-.27-2.38-.63.7-.77 1.14-1.77 1.25-2.61h1.36zm-3.81 1.93c-.5-.46-.85-1.13-1.01-1.93h2.09c-.17.8-.51 1.47-1 1.93l-.04.03s-.03-.02-.04-.03z";break;case"trash":e="M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z";break;case"twitter":e="M18.94 4.46c-.49.73-1.11 1.38-1.83 1.9.01.15.01.31.01.47 0 4.85-3.69 10.44-10.43 10.44-2.07 0-4-.61-5.63-1.65.29.03.58.05.88.05 1.72 0 3.3-.59 4.55-1.57-1.6-.03-2.95-1.09-3.42-2.55.22.04.45.07.69.07.33 0 .66-.05.96-.13-1.67-.34-2.94-1.82-2.94-3.6v-.04c.5.27 1.06.44 1.66.46-.98-.66-1.63-1.78-1.63-3.06 0-.67.18-1.3.5-1.84 1.81 2.22 4.51 3.68 7.56 3.83-.06-.27-.1-.55-.1-.84 0-2.02 1.65-3.66 3.67-3.66 1.06 0 2.01.44 2.68 1.16.83-.17 1.62-.47 2.33-.89-.28.85-.86 1.57-1.62 2.02.75-.08 1.45-.28 2.11-.57z";break;case"undo":e="M12 5H7V2L1 6l6 4V7h5c2.2 0 4 1.8 4 4s-1.8 4-4 4H7v2h5c3.3 0 6-2.7 6-6s-2.7-6-6-6z";break;case"universal-access-alt":e="M19 10c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9 9-4.03 9-9zm-9-7.4c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"universal-access":e="M10 2.6c.83 0 1.5.67 1.5 1.5s-.67 1.51-1.5 1.51c-.82 0-1.5-.68-1.5-1.51s.68-1.5 1.5-1.5zM3.4 7.36c0-.65 6.6-.76 6.6-.76s6.6.11 6.6.76-4.47 1.4-4.47 1.4 1.69 8.14 1.06 8.38c-.62.24-3.19-5.19-3.19-5.19s-2.56 5.43-3.18 5.19c-.63-.24 1.06-8.38 1.06-8.38S3.4 8.01 3.4 7.36z";break;case"unlock":e="M12 9V6c0-1.1-.9-2-2-2s-2 .9-2 2H6c0-2.21 1.79-4 4-4s4 1.79 4 4v3h1c.55 0 1 .45 1 1v7c0 .55-.45 1-1 1H5c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h7zm-1 7l-.36-2.15c.51-.24.86-.75.86-1.35 0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5c0 .6.35 1.11.86 1.35L9 16h2z";break;case"update":e="M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z";break;case"upload":e="M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z";break;case"vault":e="M18 17V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-1 0H3V3h14v14zM4.75 4h10.5c.41 0 .75.34.75.75V6h-1v3h1v2h-1v3h1v1.25c0 .41-.34.75-.75.75H4.75c-.41 0-.75-.34-.75-.75V4.75c0-.41.34-.75.75-.75zM13 10c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4zM9 7l.77 1.15C10.49 8.46 11 9.17 11 10c0 1.1-.9 2-2 2s-2-.9-2-2c0-.83.51-1.54 1.23-1.85z";break;case"video-alt":e="M8 5c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1 0 .57.49 1 1 1h5c.55 0 1-.45 1-1zm6 5l4-4v10l-4-4v-2zm-1 4V8c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h8c.55 0 1-.45 1-1z";break;case"video-alt2":e="M12 13V7c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2zm1-2.5l6 4.5V5l-6 4.5v1z";break;case"video-alt3":e="M19 15V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2zM8 14V6l6 4z";break;case"visibility":e="M19.7 9.4C17.7 6 14 3.9 10 3.9S2.3 6 .3 9.4L0 10l.3.6c2 3.4 5.7 5.5 9.7 5.5s7.7-2.1 9.7-5.5l.3-.6-.3-.6zM10 14.1c-3.1 0-6-1.6-7.7-4.1C3.6 8 5.7 6.6 8 6.1c-.9.6-1.5 1.7-1.5 2.9 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.2-.6-2.3-1.5-2.9 2.3.5 4.4 1.9 5.7 3.9-1.7 2.5-4.6 4.1-7.7 4.1z";break;case"warning":e="M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z";break;case"welcome-add-page":e="M17 7V4h-2V2h-3v1H3v15h11V9h1V7h2zm-1-2v1h-2v2h-1V6h-2V5h2V3h1v2h2z";break;case"welcome-comments":e="M5 2h10c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-2l-5 5v-5H5c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm8.5 8.5L11 8l2.5-2.5-1-1L10 7 7.5 4.5l-1 1L9 8l-2.5 2.5 1 1L10 9l2.5 2.5z";break;case"welcome-learn-more":e="M10 10L2.54 7.02 3 18H1l.48-11.41L0 6l10-4 10 4zm0-5c-.55 0-1 .22-1 .5s.45.5 1 .5 1-.22 1-.5-.45-.5-1-.5zm0 6l5.57-2.23c.71.94 1.2 2.07 1.36 3.3-.3-.04-.61-.07-.93-.07-2.55 0-4.78 1.37-6 3.41C8.78 13.37 6.55 12 4 12c-.32 0-.63.03-.93.07.16-1.23.65-2.36 1.36-3.3z";break;case"welcome-view-site":e="M18 14V4c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h14c.55 0 1-.45 1-1zm-8-8c2.3 0 4.4 1.14 6 3-1.6 1.86-3.7 3-6 3s-4.4-1.14-6-3c1.6-1.86 3.7-3 6-3zm2 3c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm2 8h3v1H3v-1h3v-1h8v1z";break;case"welcome-widgets-menus":e="M19 16V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v13c0 .55.45 1 1 1h15c.55 0 1-.45 1-1zM4 4h13v4H4V4zm1 1v2h3V5H5zm4 0v2h3V5H9zm4 0v2h3V5h-3zm-8.5 5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 10h4v1H6v-1zm6 0h5v5h-5v-5zm-7.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 12h4v1H6v-1zm7 0v2h3v-2h-3zm-8.5 2c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5zM6 14h4v1H6v-1z";break;case"welcome-write-blog":e="M16.89 1.2l1.41 1.41c.39.39.39 1.02 0 1.41L14 8.33V18H3V3h10.67l1.8-1.8c.4-.39 1.03-.4 1.42 0zm-5.66 8.48l5.37-5.36-1.42-1.42-5.36 5.37-.71 2.12z";break;case"wordpress-alt":e="M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z";break;case"wordpress":e="M20 10c0-5.52-4.48-10-10-10S0 4.48 0 10s4.48 10 10 10 10-4.48 10-10zM10 1.01c4.97 0 8.99 4.02 8.99 8.99s-4.02 8.99-8.99 8.99S1.01 14.97 1.01 10 5.03 1.01 10 1.01zM8.01 14.82L4.96 6.61c.49-.03 1.05-.08 1.05-.08.43-.05.38-1.01-.06-.99 0 0-1.29.1-2.13.1-.15 0-.33 0-.52-.01 1.44-2.17 3.9-3.6 6.7-3.6 2.09 0 3.99.79 5.41 2.09-.6-.08-1.45.35-1.45 1.42 0 .66.38 1.22.79 1.88.31.54.5 1.22.5 2.21 0 1.34-1.27 4.48-1.27 4.48l-2.71-7.5c.48-.03.75-.16.75-.16.43-.05.38-1.1-.05-1.08 0 0-1.3.11-2.14.11-.78 0-2.11-.11-2.11-.11-.43-.02-.48 1.06-.05 1.08l.84.08 1.12 3.04zm6.02 2.15L16.64 10s.67-1.69.39-3.81c.63 1.14.94 2.42.94 3.81 0 2.96-1.56 5.58-3.94 6.97zM2.68 6.77L6.5 17.25c-2.67-1.3-4.47-4.08-4.47-7.25 0-1.16.2-2.23.65-3.23zm7.45 4.53l2.29 6.25c-.75.27-1.57.42-2.42.42-.72 0-1.41-.11-2.06-.3z";break;case"yes-alt":e="M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm-.615 12.66h-1.34l-3.24-4.54 1.34-1.25 2.57 2.4 5.14-5.93 1.34.94-5.81 8.38z";break;case"yes":e="M14.83 4.89l1.34.94-5.81 8.38H9.02L5.78 9.67l1.34-1.25 2.57 2.4z"}if(!e)return null;var u=["dashicon","dashicons-"+r,i].filter(Boolean).join(" ");return Object(l.createElement)(f.b,Object(n.a)({"aria-hidden":!0,role:"img",focusable:"false",className:u,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 20 20"},s),Object(l.createElement)(f.a,{d:e}))}}]),p}(l.Component)},76:function(e,t,r){e.exports=r(436)},78:function(e,t){!function(){e.exports=this.ReactDOM}()},79:function(e,t,r){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},8:function(e,t,r){!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var c=typeof o;if("string"===c||"number"===c)e.push(o);else if(Array.isArray(o)&&o.length){var a=r.apply(null,o);a&&e.push(a)}else if("object"===c)for(var i in o)t.call(o,i)&&o[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return r})):window.classNames=r}()},80:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},82:function(e,t,r){"use strict";var n=r(12),o=r(19),c=r(14),a=r(0),i=r(8),s=r.n(i),u=r(95),l=r(45),f=r(31),d=r(59),p=r(208),h=r(209),v=r(6);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function y(e,t,r,n,o,c,a){var i=t.width,s="rtl"===document.documentElement.dir;"left"===r&&s?r="right":"right"===r&&s&&(r="left"),"left"===n&&s?n="right":"right"===n&&s&&(n="left");var u=Math.round(e.left+e.width/2),l={popoverLeft:u,contentWidth:(u-i/2>0?i/2:u)+(u+i/2>window.innerWidth?window.innerWidth-u:i/2)},f=e.left;"right"===n?f=e.right:"middle"!==c&&(f=u);var d=e.right;"left"===n?d=e.left:"middle"!==c&&(d=u);var p,h={popoverLeft:f,contentWidth:f-i>0?i:f},v={popoverLeft:d,contentWidth:d+i>window.innerWidth?window.innerWidth-d:i},m=r,b=null;if(!o)if("center"===r&&l.contentWidth===i)m="center";else if("left"===r&&h.contentWidth===i)m="left";else if("right"===r&&v.contentWidth===i)m="right";else{var y="left"===(m=h.contentWidth>v.contentWidth?"left":"right")?h.contentWidth:v.contentWidth;b=y!==i?y:null}if(p="center"===m?l.popoverLeft:"left"===m?h.popoverLeft:v.popoverLeft,a){var g=a.getBoundingClientRect();p=Math.min(p,g.right-i)}return{xAxis:m,popoverLeft:p,contentWidth:b}}function g(e,t,r,n,o,c,a){var i=t.height;if(o){var s=(Object(u.b)(c)||document.body).getBoundingClientRect();if(e.top-i<=s.top)return{yAxis:r,popoverTop:Math.min(e.bottom-a,s.top+i-a)}}var l=e.top+e.height/2;"bottom"===n?l=e.bottom:"top"===n&&(l=e.top);var f={popoverTop:l,contentHeight:(l-i/2>0?i/2:l)+(l+i/2>window.innerHeight?window.innerHeight-l:i/2)},d={popoverTop:e.top,contentHeight:e.top-10-i>0?i:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+i>window.innerHeight?window.innerHeight-10-e.bottom:i},h=r,v=null;if(!o)if("middle"===r&&f.contentHeight===i)h="middle";else if("top"===r&&d.contentHeight===i)h="top";else if("bottom"===r&&p.contentHeight===i)h="bottom";else{var m="top"===(h=d.contentHeight>p.contentHeight?"top":"bottom")?d.contentHeight:p.contentHeight;v=m!==i?m:null}return{yAxis:h,popoverTop:"middle"===h?f.popoverTop:"top"===h?d.popoverTop:p.popoverTop,contentHeight:v}}function O(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",n=arguments.length>3?arguments[3]:void 0,c=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,s=r.split(" "),u=Object(o.a)(s,3),l=u[0],f=u[1],d=void 0===f?"center":f,p=u[2],h=g(e,t,l,p,n,c,a),v=y(e,t,d,p,n,h.yAxis,i);return b({},v,{},h)}var w=r(86),z=r(83),j=r(9),k=r(7),M=r(11),H=r(4),E=r(10),V=r(84);function C(){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}}var x=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(C()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){return Object(j.a)(this,n),r.apply(this,arguments)}return Object(k.a)(n,[{key:"handleFocusOutside",value:function(e){this.props.onFocusOutside(e)}},{key:"render",value:function(){return this.props.children}}]),n}(a.Component),S=Object(V.a)(x),P=r(67);function _(e){return function(){var t,r=Object(H.a)(e);if(R()){var n=Object(H.a)(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Object(M.a)(this,t)}}function R(){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}}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,r=void 0===t?document:t,n=e.className,o=void 0===n?"lockscroll":n,c=0,i=0;function s(e){var t=r.scrollingElement||r.body;e&&(i=t.scrollTop);var n=e?"add":"remove";t.classList[n](o),r.documentElement.classList[n](o),e||(t.scrollTop=i)}function u(){0===c&&s(!0),++c}function l(){1===c&&s(!1),--c}return function(e){Object(E.a)(r,e);var t=_(r);function r(){return Object(j.a)(this,r),t.apply(this,arguments)}return Object(k.a)(r,[{key:"componentDidMount",value:function(){u()}},{key:"componentWillUnmount",value:function(){l()}},{key:"render",value:function(){return null}}]),r}(a.Component)}(),A=r(85),T=Object(a.createContext)({slots:{},fills:{},registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){var t=Object(a.useContext)(T),r=t.slots[e]||{},n=t.fills[e],o=Object(a.useMemo)((function(){return n||[]}),[n]);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{updateSlot:Object(a.useCallback)((function(r,n){t.updateSlot(e,r,n)}),[e,t.updateSlot]),unregisterSlot:Object(a.useCallback)((function(r){t.unregisterSlot(e,r)}),[e,t.unregisterSlot]),fills:o,registerFill:Object(a.useCallback)((function(r){t.registerFill(e,r)}),[e,t.registerFill]),unregisterFill:Object(a.useCallback)((function(r){t.unregisterFill(e,r)}),[e,t.unregisterFill])})}var F=r(5),I=r(2),q=r(15),U=r(40);function B(e){var t=function(e,t){if("object"!==Object(U.a)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==Object(U.a)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Object(U.a)(t)?t:String(t)}function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){Object(v.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function G(e){var t,r,n,i,s,u,l,f,d,p,h,m,b=e.children,y=(t=Object(a.useState)({}),r=Object(o.a)(t,2),n=r[0],i=r[1],s=Object(a.useState)({}),u=Object(o.a)(s,2),l=u[0],f=u[1],d=Object(a.useCallback)((function(e,t,r){i((function(n){var o=n[e]||{};return $({},n,Object(v.a)({},e,$({},o,{ref:t||o.ref,fillProps:r||o.fillProps||{}})))}))}),[]),p=Object(a.useCallback)((function(e,t){i((function(r){var n=r[e],o=Object(c.a)(r,[e].map(B));return(null==n?void 0:n.ref)===t?o:r}))}),[]),h=Object(a.useCallback)((function(e,t){f((function(r){return $({},r,Object(v.a)({},e,[].concat(Object(q.a)(r[e]||[]),[t])))}))}),[]),m=Object(a.useCallback)((function(e,t){f((function(r){return r[e]?$({},r,Object(v.a)({},e,r[e].filter((function(e){return e!==t})))):r}))}),[]),Object(a.useMemo)((function(){return{slots:n,fills:l,registerSlot:d,updateSlot:d,unregisterSlot:p,registerFill:h,unregisterFill:m}}),[n,l,d,p,h,m]));return Object(a.createElement)(T.Provider,{value:y},b)}function Q(){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}}var K=Object(a.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),Z=K.Provider,J=K.Consumer;a.Component;function Y(){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}}var X=function(e){Object(E.a)(n,e);var t,r=(t=n,function(){var e,r=Object(H.a)(t);if(Y()){var n=Object(H.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(M.a)(this,e)});function n(){var e;return Object(j.a)(this,n),(e=r.apply(this,arguments)).bindNode=e.bindNode.bind(Object(F.a)(e)),e}return Object(k.a)(n,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){(0,this.props.unregisterSlot)(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.name,n=t.unregisterSlot,o=t.registerSlot;e.name!==r&&(n(e.name),o(r,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.name,n=e.fillProps,o=void 0===n?{}:n,c=e.getFills,i=Object(I.map)(c(r,this),(function(e){var t=e.occurrence,r=Object(I.isFunction)(e.children)?e.children(o):e.children;return a.Children.map(r,(function(e,r){if(!e||Object(I.isString)(e))return e;var n="".concat(t,"---").concat(e.key||r);return Object(a.cloneElement)(e,{key:n})}))})).filter(Object(I.negate)(a.isEmptyElement));return Object(a.createElement)(a.Fragment,null,Object(I.isFunction)(t)?t(i):i)}}]),n}(a.Component),ee=function(e){return Object(a.createElement)(J,null,(function(t){var r=t.registerSlot,o=t.unregisterSlot,c=t.getFills;return Object(a.createElement)(X,Object(n.a)({},e,{registerSlot:r,unregisterSlot:o,getFills:c}))}))},te=0;function re(e){var t=e.name,r=e.children,n=e.registerFill,c=e.unregisterFill,i=function(e){var t=Object(a.useContext)(K),r=t.getSlot,n=t.subscribe,c=Object(a.useState)(r(e)),i=Object(o.a)(c,2),s=i[0],u=i[1];return Object(a.useEffect)((function(){return u(r(e)),n((function(){u(r(e))}))}),[e]),s}(t),s=Object(a.useRef)({name:t,children:r});return s.current.occurrence||(s.current.occurrence=++te),Object(a.useLayoutEffect)((function(){return n(t,s.current),function(){return c(t,s.current)}}),[]),Object(a.useLayoutEffect)((function(){s.current.children=r,i&&i.forceUpdate()}),[r]),Object(a.useLayoutEffect)((function(){t!==s.current.name&&(c(s.current.name,s.current),s.current.name=t,n(t,s.current))}),[t]),i&&i.node?(Object(I.isFunction)(r)&&(r=r(i.props.fillProps)),Object(a.createPortal)(r,i.node)):null}var ne=function(e){return Object(a.createElement)(J,null,(function(t){var r=t.registerFill,o=t.unregisterFill;return Object(a.createElement)(re,Object(n.a)({},e,{registerFill:r,unregisterFill:o}))}))},oe=r(65),ce=r.n(oe);function ae(e){var t=e.name,r=e.fillProps,o=void 0===r?{}:r,i=e.as,s=void 0===i?"div":i,u=Object(c.a)(e,["name","fillProps","as"]),l=Object(a.useContext)(T),f=Object(a.useRef)(),d=D(t);return Object(a.useLayoutEffect)((function(){return l.registerSlot(t,f,o),function(){l.unregisterSlot(t,f)}}),[l.registerSlot,l.unregisterSlot,t]),Object(a.useLayoutEffect)((function(){d.fillProps&&!ce()(d.fillProps,o)&&l.updateSlot(t,f,o)})),Object(a.createElement)(s,Object(n.a)({ref:f},u))}function ie(e){var t=e.name,r=e.children,n=D(t),o=Object(a.useRef)();return Object(a.useEffect)((function(){return n.registerFill(o),function(){n.unregisterFill(o)}}),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof r&&(r=r(n.fillProps)),Object(a.createPortal)(r,n.ref.current)):null}function se(e){var t=e.bubblesVirtually,r=Object(c.a)(e,["bubblesVirtually"]);return t?Object(a.createElement)(ae,r):Object(a.createElement)(ee,r)}function ue(e){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(ne,e),Object(a.createElement)(ie,e))}var le=function(e){var t=e.type,r=e.options,n=void 0===r?{}:r,c=e.children;if("appear"===t){var a,i=n.origin,u=(void 0===i?"top":i).split(" "),l=Object(o.a)(u,2),f=l[0],d=l[1],p=void 0===d?"center":d;return c({className:s()("components-animate__appear",(a={},Object(v.a)(a,"is-from-"+p,"center"!==p),Object(v.a)(a,"is-from-"+f,"middle"!==f),a))})}if("slide-in"===t){var h=n.origin,m=void 0===h?"left":h;return c({className:s()("components-animate__slide-in","is-from-"+m)})}return c("loading"===t?{className:s()("components-animate__loading")}:{})},fe=Object(z.a)(Object(w.a)((function(e){return e.children})));function de(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(r){if(!e.current)return;return r(e.current)}if(!1!==n){if(!n)return;if(n instanceof window.Range)return Object(u.a)(n);if(n instanceof window.Element){var c=n.getBoundingClientRect();return o?c:pe(c,n)}var a=n.top,i=n.bottom,s=a.getBoundingClientRect(),l=i.getBoundingClientRect(),f=new window.DOMRect(s.left,s.top,s.width,l.bottom-s.top);return o?f:pe(f,n)}if(e.current){var d=e.current.parentNode,p=d.getBoundingClientRect();return o?p:pe(p,d)}}function pe(e,t){var r=window.getComputedStyle(t),n=r.paddingTop,o=r.paddingBottom,c=r.paddingLeft,a=r.paddingRight,i=n?parseInt(n,10):0,s=o?parseInt(o,10):0,u=c?parseInt(c,10):0,l=a?parseInt(a,10):0;return{x:e.left+u,y:e.top+i,width:e.width-u-l,height:e.height-i-s,left:e.left+u,right:e.right-l,top:e.top+i,bottom:e.bottom-s}}function he(e,t,r){r?e.getAttribute(t)!==r&&e.setAttribute(t,r):e.hasAttribute(t)&&e.removeAttribute(t)}function ve(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==r&&(e.style[t]=r)}function me(e,t,r){r?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var be=function(e){var t=e.headerTitle,r=e.onClose,i=e.onKeyDown,u=e.children,v=e.className,m=e.noArrow,b=void 0===m||m,y=e.isAlternate,g=e.position,w=void 0===g?"bottom right":g,z=(e.range,e.focusOnMount),j=void 0===z?"firstElement":z,k=e.anchorRef,M=e.shouldAnchorIncludePadding,H=e.anchorRect,E=e.getAnchorRect,V=e.expandOnMobile,C=e.animate,x=void 0===C||C,_=e.onClickOutside,R=e.onFocusOutside,T=e.__unstableSticky,N=e.__unstableSlotName,F=void 0===N?"Popover":N,I=e.__unstableAllowVerticalSubpixelPosition,q=e.__unstableAllowHorizontalSubpixelPosition,U=e.__unstableFixedPosition,B=void 0===U||U,W=e.__unstableBoundaryParent,$=Object(c.a)(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableSticky","__unstableSlotName","__unstableAllowVerticalSubpixelPosition","__unstableAllowHorizontalSubpixelPosition","__unstableFixedPosition","__unstableBoundaryParent"]),G=Object(a.useRef)(null),Q=Object(a.useRef)(null),K=Object(a.useRef)(),Z=Object(a.useRef)(),J=Object(p.a)("medium","<"),Y=Object(a.useState)(),X=Object(o.a)(Y,2),ee=X[0],te=X[1],re=D(F),ne=V&&J;b=ne||b,Object(a.useEffect)((function(){if(ne)return me(K.current,"is-without-arrow",b),me(K.current,"is-alternate",y),he(K.current,"data-x-axis"),he(K.current,"data-y-axis"),ve(K.current,"top"),ve(K.current,"left"),ve(Q.current,"maxHeight"),ve(Q.current,"maxWidth"),void ve(K.current,"position");var e,t,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.subpixels;if(K.current&&Q.current){var r=de(G,H,E,k,M);if(r){Z.current||(Z.current=Q.current.getBoundingClientRect());var n,o,c=0;if(B)ve(K.current,"position");else{ve(K.current,"position","absolute");var a=K.current.offsetParent,i=a.getBoundingClientRect();c=i.top,r=new window.DOMRect(r.left-i.left,r.top-i.top,r.width,r.height)}if(W)n=null===(o=K.current.closest(".popover-slot"))||void 0===o?void 0:o.parentNode;var s=O(r,Z.current,w,T,K.current,c,n),u=s.popoverTop,l=s.popoverLeft,f=s.xAxis,d=s.yAxis,p=s.contentHeight,h=s.contentWidth;"number"==typeof u&&"number"==typeof l&&(t&&I?(ve(K.current,"left",l+"px"),ve(K.current,"top"),ve(K.current,"transform","translateY(".concat(u,"px)"))):t&&q?(ve(K.current,"top",u+"px"),ve(K.current,"left"),ve(K.current,"transform","translate(".concat(l,"px)"))):(ve(K.current,"top",u+"px"),ve(K.current,"left",l+"px"),ve(K.current,"transform"))),me(K.current,"is-without-arrow",b||"center"===f&&"middle"===d),me(K.current,"is-alternate",y),he(K.current,"data-x-axis",f),he(K.current,"data-y-axis",d),ve(Q.current,"maxHeight","number"==typeof p?p+"px":""),ve(Q.current,"maxWidth","number"==typeof h?h+"px":"");var v={top:"bottom",bottom:"top"},m={left:"right",right:"left"},g=v[d]||"middle",z=m[f]||"center";te(z+" "+g)}}},n=window.setTimeout(r),o=window.setInterval(r,500),c=function(){window.cancelAnimationFrame(e),e=window.requestAnimationFrame(r)};window.addEventListener("click",c),window.addEventListener("resize",r),window.addEventListener("scroll",r,!0);var a=I||q;return a&&(t=new window.MutationObserver((function(){return r({subpixels:!0})}))).observe(a,{attributes:!0}),function(){window.clearTimeout(n),window.clearInterval(o),window.removeEventListener("resize",r),window.removeEventListener("scroll",r,!0),window.removeEventListener("click",c),window.cancelAnimationFrame(e),t&&t.disconnect()}}),[ne,H,E,k,M,w,T,I,q,W]),function(e,t){Object(a.useEffect)((function(){var r=setTimeout((function(){if(e&&t.current)if("firstElement"!==e)"container"===e&&t.current.focus();else{var r=l.a.tabbable.find(t.current)[0];r?r.focus():t.current.focus()}}),0);return function(){return clearTimeout(r)}}),[])}(j,Q);var oe=function(e){e.keyCode===f.b&&r&&(e.stopPropagation(),r()),i&&i(e)};var ce=Object(a.createElement)(S,{onFocusOutside:function(e){if(R)R(e);else if(_){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Object(d.a)("Popover onClickOutside prop",{alternative:"onFocusOutside"}),_(t)}else r&&r()}},Object(a.createElement)(le,{type:x&&ee?"appear":null,options:{origin:ee}},(function(e){var o=e.className;return Object(a.createElement)(A.a,Object(n.a)({className:s()("components-popover",v,o,{"is-expanded":ne,"is-without-arrow":b,"is-alternate":y})},$,{onKeyDown:oe,ref:K}),ne&&Object(a.createElement)(L,null),ne&&Object(a.createElement)("div",{className:"components-popover__header"},Object(a.createElement)("span",{className:"components-popover__header-title"},t),Object(a.createElement)(P.a,{className:"components-popover__close",icon:h.a,onClick:r})),Object(a.createElement)("div",{ref:Q,className:"components-popover__content",tabIndex:"-1"},u))})));return j&&(ce=Object(a.createElement)(fe,null,ce)),re.ref&&(ce=Object(a.createElement)(ue,{name:F},ce)),k||H?ce:Object(a.createElement)("span",{ref:G},ce)};be.Slot=function(e){var t=e.name,r=void 0===t?"Popover":t;return Object(a.createElement)(se,{bubblesVirtually:!0,name:r,className:"popover-slot"})};t.a=be},83:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(5),a=r(11),i=r(4),s=r(10),u=r(0),l=r(54),f=r(31),d=r(45);function p(){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}}var h=Object(l.a)((function(e){return function(t){Object(s.a)(h,t);var r,l=(r=h,function(){var e,t=Object(i.a)(r);if(p()){var n=Object(i.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function h(){var e;return Object(n.a)(this,h),(e=l.apply(this,arguments)).focusContainRef=Object(u.createRef)(),e.handleTabBehaviour=e.handleTabBehaviour.bind(Object(c.a)(e)),e}return Object(o.a)(h,[{key:"handleTabBehaviour",value:function(e){if(e.keyCode===f.e){var t=d.a.tabbable.find(this.focusContainRef.current);if(t.length){var r=t[0],n=t[t.length-1];e.shiftKey&&e.target===r?(e.preventDefault(),n.focus()):(e.shiftKey||e.target!==n)&&t.includes(e.target)||(e.preventDefault(),r.focus())}}}},{key:"render",value:function(){return Object(u.createElement)("div",{onKeyDown:this.handleTabBehaviour,ref:this.focusContainRef,tabIndex:"-1"},Object(u.createElement)(e,this.props))}}]),h}(u.Component)}),"withConstrainedTabbing");t.a=h},84:function(e,t,r){"use strict";var n=r(12),o=r(9),c=r(7),a=r(5),i=r(11),s=r(4),u=r(10),l=r(0),f=r(2),d=r(54);function p(){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}}var h=["button","submit"];t.a=Object(d.a)((function(e){return function(t){Object(u.a)(v,t);var r,d=(r=v,function(){var e,t=Object(s.a)(r);if(p()){var n=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function v(){var e;return Object(o.a)(this,v),(e=d.apply(this,arguments)).bindNode=e.bindNode.bind(Object(a.a)(e)),e.cancelBlurCheck=e.cancelBlurCheck.bind(Object(a.a)(e)),e.queueBlurCheck=e.queueBlurCheck.bind(Object(a.a)(e)),e.normalizeButtonFocus=e.normalizeButtonFocus.bind(Object(a.a)(e)),e}return Object(c.a)(v,[{key:"componentWillUnmount",value:function(){this.cancelBlurCheck()}},{key:"bindNode",value:function(e){e?this.node=e:(delete this.node,this.cancelBlurCheck())}},{key:"queueBlurCheck",value:function(e){var t=this;e.persist(),this.preventBlurCheck||(this.blurCheckTimeout=setTimeout((function(){document.hasFocus()?"function"==typeof t.node.handleFocusOutside&&t.node.handleFocusOutside(e):e.preventDefault()}),0))}},{key:"cancelBlurCheck",value:function(){clearTimeout(this.blurCheckTimeout)}},{key:"normalizeButtonFocus",value:function(e){var t=e.type,r=e.target;Object(f.includes)(["mouseup","touchend"],t)?this.preventBlurCheck=!1:function(e){switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return Object(f.includes)(h,e.type)}return!1}(r)&&(this.preventBlurCheck=!0)}},{key:"render",value:function(){return Object(l.createElement)("div",{onFocus:this.cancelBlurCheck,onMouseDown:this.normalizeButtonFocus,onMouseUp:this.normalizeButtonFocus,onTouchStart:this.normalizeButtonFocus,onTouchEnd:this.normalizeButtonFocus,onBlur:this.queueBlurCheck},Object(l.createElement)(e,Object(n.a)({ref:this.bindNode},this.props)))}}]),v}(l.Component)}),"withFocusOutside")},85:function(e,t,r){"use strict";var n=r(12),o=r(14),c=r(0);function a(e){e.stopPropagation()}t.a=Object(c.forwardRef)((function(e,t){var r=e.children,i=Object(o.a)(e,["children"]);return Object(c.createElement)("div",Object(n.a)({},i,{ref:t,onMouseDown:a}),r)}))},86:function(e,t,r){"use strict";var n=r(15),o=r(9),c=r(7),a=r(11),i=r(4),s=r(10),u=r(0),l=r(2),f=r(54),d=r(5);function p(){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}}var h=Object(u.createContext)({focusHistory:[]}),v=h.Provider,m=h.Consumer;v.displayName="FocusReturnProvider",m.displayName="FocusReturnConsumer";u.Component;function b(){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}}t.a=Object(f.a)((function e(t){if((f=t)instanceof u.Component||"function"==typeof f){var r=t;return e({})(r)}var f,d=t.onFocusReturn,p=void 0===d?l.stubTrue:d;return function(e){var t=function(t){Object(s.a)(d,t);var r,f=(r=d,function(){var e,t=Object(i.a)(r);if(b()){var n=Object(i.a)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Object(a.a)(this,e)});function d(){var e;return Object(o.a)(this,d),(e=f.apply(this,arguments)).ownFocusedElements=new Set,e.activeElementOnMount=document.activeElement,e.setIsFocusedFalse=function(){return e.isFocused=!1},e.setIsFocusedTrue=function(t){e.ownFocusedElements.add(t.target),e.isFocused=!0},e}return Object(c.a)(d,[{key:"componentWillUnmount",value:function(){var e=this.activeElementOnMount,t=this.isFocused,r=this.ownFocusedElements;if(t&&!1!==p())for(var o,c=[].concat(Object(n.a)(l.without.apply(void 0,[this.props.focus.focusHistory].concat(Object(n.a)(r)))),[e]);o=c.pop();)if(document.body.contains(o))return void o.focus()}},{key:"render",value:function(){return Object(u.createElement)("div",{onFocus:this.setIsFocusedTrue,onBlur:this.setIsFocusedFalse},Object(u.createElement)(e,this.props.childProps))}}]),d}(u.Component);return function(e){return Object(u.createElement)(m,null,(function(r){return Object(u.createElement)(t,{childProps:e,focus:r})}))}}}),"withFocusReturn")},87:function(e,t,r){"use strict";(function(n){var o=r(55)(r(35));t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":(0,o.default)(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=r(119)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(47))},88:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(19),o=r(0);function c(e){var t=Object(o.useState)(e&&window.matchMedia(e).matches),r=Object(n.a)(t,2),c=r[0],a=r[1];return Object(o.useEffect)((function(){if(e){var t=function(){return a(window.matchMedia(e).matches)};t();var r=window.matchMedia(e);return r.addListener(t),function(){r.removeListener(t)}}}),[e]),e&&c}},89:function(e,t,r){"use strict";var n=r(0),o=r(2);t.a=function(e){var t,r,c=e.shortcut,a=e.className;return c?(Object(o.isString)(c)&&(t=c),Object(o.isObject)(c)&&(t=c.display,r=c.ariaLabel),Object(n.createElement)("span",{className:a,"aria-label":r},t)):null}},9:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,"a",(function(){return n}))},94:function(e,t,r){"use strict";var n=String.prototype.replace,o=/%20/g,c=r(73),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=c.assign({default:a.RFC3986,formatters:{RFC1738:function(e){return n.call(e,o,"+")},RFC3986:function(e){return String(e)}}},a)},95:function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return a}));r(2);var n=window,o=(n.DOMParser,n.getComputedStyle,window.Node);o.TEXT_NODE,o.ELEMENT_NODE,o.DOCUMENT_POSITION_PRECEDING,o.DOCUMENT_POSITION_FOLLOWING;function c(e){if(!e.collapsed)return e.getBoundingClientRect();var t=e.startContainer;if("BR"===t.nodeName){var r=t.parentNode,n=Array.from(r.childNodes).indexOf(t);(e=document.createRange()).setStart(r,n),e.setEnd(r,n)}var o=e.getClientRects()[0];if(!o){var c=document.createTextNode("");(e=e.cloneRange()).insertNode(c),o=e.getClientRects()[0],c.parentNode.removeChild(c)}return o}function a(e){if(e){if(e.scrollHeight>e.clientHeight){var t=window.getComputedStyle(e).overflowY;if(/(auto|scroll)/.test(t))return e}return a(e.parentNode)}}},96:function(e,t,r){"use strict";var n=r(6),o=r(12),c=r(14),a=r(0),i=r(32),s=r(75);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.a=function(e){var t=e.icon,r=void 0===t?null:t,n=e.size,u=Object(c.a)(e,["icon","size"]),f=n||20;if("string"==typeof r)return Object(a.createElement)(s.a,Object(o.a)({icon:r,size:f},u));if(r&&s.a===r.type)return Object(a.cloneElement)(r,l({size:f},u));var d=n||24;if("function"==typeof r)return r.prototype instanceof a.Component?Object(a.createElement)(r,l({size:d},u)):r(l({size:d},u));if(r&&("svg"===r.type||r.type===i.b)){var p=l({width:d,height:d},r.props,{},u);return Object(a.createElement)(i.b,p)}return Object(a.isValidElement)(r)?Object(a.cloneElement)(r,l({size:d},u)):r}},97:function(e,t,r){"use strict";var n=r(9),o=r(7),c=r(11),a=r(4),i=r(10),s=r(0),u=r(2),l=r(82),f=r(89);function d(){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}}var p=function(e){Object(i.a)(p,e);var t,r=(t=p,function(){var e,r=Object(a.a)(t);if(d()){var n=Object(a.a)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Object(c.a)(this,e)});function p(){var e;return Object(n.a)(this,p),(e=r.apply(this,arguments)).delayedSetIsOver=Object(u.debounce)((function(t){return e.setState({isOver:t})}),700),e.cancelIsMouseDown=e.createSetIsMouseDown(!1),e.isInMouseDown=!1,e.state={isOver:!1},e}return Object(o.a)(p,[{key:"componentWillUnmount",value:function(){this.delayedSetIsOver.cancel(),document.removeEventListener("mouseup",this.cancelIsMouseDown)}},{key:"emitToChild",value:function(e,t){var r=this.props.children;if(1===s.Children.count(r)){var n=s.Children.only(r);"function"==typeof n.props[e]&&n.props[e](t)}}},{key:"createToggleIsOver",value:function(e,t){var r=this;return function(n){if(r.emitToChild(e,n),!(n.currentTarget.disabled||"focus"===n.type&&r.isInMouseDown)){r.delayedSetIsOver.cancel();var o=Object(u.includes)(["focus","mouseenter"],n.type);o!==r.state.isOver&&(t?r.delayedSetIsOver(o):r.setState({isOver:o}))}}}},{key:"createSetIsMouseDown",value:function(e){var t=this;return function(r){t.emitToChild(e?"onMouseDown":"onMouseUp",r),document[e?"addEventListener":"removeEventListener"]("mouseup",t.cancelIsMouseDown),t.isInMouseDown=e}}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.position,n=e.text,o=e.shortcut;if(1!==s.Children.count(t))return t;var c=s.Children.only(t),a=this.state.isOver;return Object(s.cloneElement)(c,{onMouseEnter:this.createToggleIsOver("onMouseEnter",!0),onMouseLeave:this.createToggleIsOver("onMouseLeave"),onClick:this.createToggleIsOver("onClick"),onFocus:this.createToggleIsOver("onFocus"),onBlur:this.createToggleIsOver("onBlur"),onMouseDown:this.createSetIsMouseDown(!0),children:Object(s.concatChildren)(c.props.children,a&&Object(s.createElement)(l.a,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},n,Object(s.createElement)(f.a,{className:"components-tooltip__shortcut",shortcut:o})))})}}]),p}(s.Component);t.a=p},98:function(e,t,r){"use strict";r.d(t,"a",(function(){return O})),r.d(t,"c",(function(){return z})),r.d(t,"b",(function(){return h})),r.d(t,"e",(function(){return v})),r.d(t,"d",(function(){return p}));var n=r(12);function o(e){return"/"===e.charAt(0)}function c(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}var a=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],a=t&&t.split("/")||[],i=e&&o(e),s=t&&o(t),u=i||s;if(e&&o(e)?a=n:n.length&&(a.pop(),a=a.concat(n)),!a.length)return"/";if(a.length){var l=a[a.length-1];r="."===l||".."===l||""===l}else r=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?c(a,d):".."===p?(c(a,d),f++):f&&(c(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return r&&"/"!==h.substr(-1)&&(h+="/"),h};function i(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return Array.isArray(r)&&t.length===r.length&&t.every((function(t,n){return e(t,r[n])}));if("object"==typeof t||"object"==typeof r){var n=i(t),o=i(r);return n!==t||o!==r?e(n,o):Object.keys(Object.assign({},t,r)).every((function(n){return e(t[n],r[n])}))}return!1},u=r(79);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function h(e,t,r,o){var c;"string"==typeof e?(c=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var c=t.indexOf("?");return-1!==c&&(r=t.substr(c),t=t.substr(0,c)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e)).state=t:(void 0===(c=Object(n.a)({},e)).pathname&&(c.pathname=""),c.search?"?"!==c.search.charAt(0)&&(c.search="?"+c.search):c.search="",c.hash?"#"!==c.hash.charAt(0)&&(c.hash="#"+c.hash):c.hash="",void 0!==t&&void 0===c.state&&(c.state=t));try{c.pathname=decodeURI(c.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+c.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(c.key=r),o?c.pathname?"/"!==c.pathname.charAt(0)&&(c.pathname=a(c.pathname,o.pathname)):c.pathname=o.pathname:c.pathname||(c.pathname="/"),c}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var c="function"==typeof e?e(t,r):e;"string"==typeof c?"function"==typeof n?n(c,o):o(!0):o(!1!==c)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}function g(){try{return window.history.state||{}}catch(e){return{}}}function O(e){void 0===e&&(e={}),b||Object(u.a)(!1);var t,r=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,c=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,i=a.forceRefresh,s=void 0!==i&&i,v=a.getUserConfirmation,O=void 0===v?y:v,w=a.keyLength,z=void 0===w?6:w,j=e.basename?d(l(e.basename)):"";function k(e){var t=e||{},r=t.key,n=t.state,o=window.location,c=o.pathname+o.search+o.hash;return j&&(c=f(c,j)),h(c,n,r)}function M(){return Math.random().toString(36).substr(2,z)}var H=m();function E(e){Object(n.a)(D,e),D.length=r.length,H.notifyListeners(D.location,D.action)}function V(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||S(k(e.state))}function C(){S(k(g()))}var x=!1;function S(e){if(x)x=!1,E();else{H.confirmTransitionTo(e,"POP",O,(function(t){t?E({action:"POP",location:e}):function(e){var t=D.location,r=_.indexOf(t.key);-1===r&&(r=0);var n=_.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(x=!0,L(o))}(e)}))}}var P=k(g()),_=[P.key];function R(e){return j+p(e)}function L(e){r.go(e)}var A=0;function T(e){1===(A+=e)&&1===e?(window.addEventListener("popstate",V),c&&window.addEventListener("hashchange",C)):0===A&&(window.removeEventListener("popstate",V),c&&window.removeEventListener("hashchange",C))}var N=!1;var D={length:r.length,action:"POP",location:P,createHref:R,push:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"PUSH",O,(function(e){if(e){var t=R(n),c=n.key,a=n.state;if(o)if(r.pushState({key:c,state:a},null,t),s)window.location.href=t;else{var i=_.indexOf(D.location.key),u=_.slice(0,i+1);u.push(n.key),_=u,E({action:"PUSH",location:n})}else window.location.href=t}}))},replace:function(e,t){var n=h(e,t,M(),D.location);H.confirmTransitionTo(n,"REPLACE",O,(function(e){if(e){var t=R(n),c=n.key,a=n.state;if(o)if(r.replaceState({key:c,state:a},null,t),s)window.location.replace(t);else{var i=_.indexOf(D.location.key);-1!==i&&(_[i]=n.key),E({action:"REPLACE",location:n})}else window.location.replace(t)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=H.setPrompt(e);return N||(T(1),N=!0),function(){return N&&(N=!1,T(-1)),t()}},listen:function(e){var t=H.appendListener(e);return T(1),function(){T(-1),t()}}};return D}function w(e,t,r){return Math.min(Math.max(e,t),r)}function z(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,o=t.initialEntries,c=void 0===o?["/"]:o,a=t.initialIndex,i=void 0===a?0:a,s=t.keyLength,u=void 0===s?6:s,l=m();function f(e){Object(n.a)(O,e),O.length=O.entries.length,l.notifyListeners(O.location,O.action)}function d(){return Math.random().toString(36).substr(2,u)}var v=w(i,0,c.length-1),b=c.map((function(e){return h(e,void 0,"string"==typeof e?d():e.key||d())})),y=p;function g(e){var t=w(O.index+e,0,O.entries.length-1),n=O.entries[t];l.confirmTransitionTo(n,"POP",r,(function(e){e?f({action:"POP",location:n,index:t}):f()}))}var O={length:b.length,action:"POP",location:b[v],index:v,entries:b,createHref:y,push:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"PUSH",r,(function(e){if(e){var t=O.index+1,r=O.entries.slice(0);r.length>t?r.splice(t,r.length-t,n):r.push(n),f({action:"PUSH",location:n,index:t,entries:r})}}))},replace:function(e,t){var n=h(e,t,d(),O.location);l.confirmTransitionTo(n,"REPLACE",r,(function(e){e&&(O.entries[O.index]=n,f({action:"REPLACE",location:n}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(e){var t=O.index+e;return t>=0&&t<O.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return O}}});
|
dist/chunks/{10.c34bdb3643ebc08cb134.js → 10.6e5e757ab15373ddf47c.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
1 |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
|
2 |
|
3 |
+
/***/ 736:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
dist/chunks/{10.c34bdb3643ebc08cb134.min.js → 10.6e5e757ab15373ddf47c.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{
|
1 |
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{736:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return G}));var o=r(17),c=r.n(o),a=r(38),n=r.n(a),i=r(37),s=r.n(i),l=r(39),m=r.n(l),u=r(42),d=r.n(u),p=r(26),g=r.n(p),b=r(0),y=r(1),_=r.n(y),f=r(3),O=r(48),h=r(751),j=Object(O.applyFilters)("woocommerce_admin_categories_report_charts",[{key:"items_sold",label:Object(f.__)("Items Sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(f.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(f.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),v=Object(O.applyFilters)("woocommerce_admin_categories_report_filters",[{label:Object(f.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(f.__)("All Categories","woocommerce-admin"),value:"all"},{label:Object(f.__)("Single Category","woocommerce-admin"),value:"select_category",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_category",chartMode:"item-comparison",path:["select_category"],settings:{type:"categories",param:"categories",getLabels:h.a,labels:{placeholder:Object(f.__)("Type to search for a category","woocommerce-admin"),button:Object(f.__)("Single Category","woocommerce-admin")}}}]},{label:Object(f.__)("Comparison","woocommerce-admin"),value:"compare-categories",chartMode:"item-comparison",settings:{type:"categories",param:"categories",getLabels:h.a,labels:{helpText:Object(f.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(f.__)("Search for categories to compare","woocommerce-admin"),title:Object(f.__)("Compare Categories","woocommerce-admin"),update:Object(f.__)("Compare","woocommerce-admin")}}}]}]),w=Object(O.applyFilters)("woocommerce_admin_category_report_advanced_filters",{}),C=r(62),S=r.n(C),q=r(169),R=r(2),k=r(22),P=r(53),F=r(201),E=r(790),D=r(759),x=r(101),V=r(200);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=g()(e);if(t){var c=g()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var N=function(e){m()(r,e);var t=L(r);function r(e){var o;return n()(this,r),(o=t.call(this,e)).getRowsContent=o.getRowsContent.bind(S()(o)),o.getSummary=o.getSummary.bind(S()(o)),o}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(f.__)("Category","woocommerce-admin"),key:"category",required:!0,isSortable:!0,isLeftAligned:!0},{label:Object(f.__)("Items Sold","woocommerce-admin"),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(f.__)("Net Sales","woocommerce-admin"),key:"net_revenue",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Products","woocommerce-admin"),key:"products_count",isSortable:!0,isNumeric:!0},{label:Object(f.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,o=r.render,c=r.formatDecimal,a=(0,r.getCurrency)();return Object(R.map)(e,(function(e){var r=e.category_id,n=e.items_sold,i=e.net_revenue,s=e.products_count,l=e.orders_count,m=t.props,u=m.categories,d=m.query,p=u.get(r),g=Object(k.getPersistedQuery)(d);return[{display:Object(b.createElement)(E.a,{query:d,category:p,categories:u}),value:p&&p.name},{display:Object(F.formatValue)(a,"number",n),value:n},{display:o(i),value:c(i)},{display:p&&Object(b.createElement)(P.Link,{href:Object(k.getNewPath)(g,"/analytics/categories",{filter:"single_category",categories:p.id}),type:"wc-admin"},Object(F.formatValue)(a,"number",s)),value:s},{display:Object(F.formatValue)(a,"number",l),value:l}]}))}},{key:"getSummary",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.items_sold,o=void 0===r?0:r,c=e.net_revenue,a=void 0===c?0:c,n=e.orders_count,i=void 0===n?0:n,s=this.context,l=s.formatCurrency,m=s.getCurrency,u=m();return[{label:Object(f._n)("category","categories",t,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",t)},{label:Object(f._n)("item sold","items sold",o,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",o)},{label:Object(f.__)("net sales","woocommerce-admin"),value:l(a)},{label:Object(f._n)("order","orders",i,"woocommerce-admin"),value:Object(F.formatValue)(u,"number",i)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,o=e.isRequesting,c=e.query,a={helpText:Object(f.__)("Check at least two categories below to compare","woocommerce-admin"),placeholder:Object(f.__)("Search by category name","woocommerce-admin")};return Object(b.createElement)(D.a,{compareBy:"categories",endpoint:"categories",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["items_sold","net_revenue","orders_count"],isRequesting:o,itemIdField:"category_id",query:c,searchBy:"categories",labels:a,tableQuery:{orderby:c.orderby||"items_sold",order:c.order||"desc",extended_info:!0},title:Object(f.__)("Categories","woocommerce-admin"),columnPrefsKey:"categories_report_columns",filters:r,advancedFilters:t})}}]),r}(b.Component);N.contextType=V.a;var I=Object(q.a)(Object(x.a)((function(e,t){var r=t.isRequesting,o=t.query;if(r||o.search&&(!o.categories||!o.categories.length))return{};var c=e("wc-api"),a=c.getItems,n=c.getItemsError,i=c.isGetItemsRequesting,s={per_page:-1};return{categories:a("categories",s),isError:Boolean(n("categories",s)),isRequesting:i("categories",s)}})))(N),T=r(755),M=r(754),B=r(756),H=r(789),Q=r(757);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}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 r,o=g()(e);if(t){var c=g()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return d()(this,r)}}var G=function(e){m()(r,e);var t=J(r);function r(){return n()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e=this.props.query,t="compare-categories"===e.filter&&e.categories&&e.categories.split(",").length>1,r="single_category"===e.filter&&!!e.categories,o=t||r?"item-comparison":"time-comparison";return{isSingleCategoryView:r,itemsLabel:r?Object(f.__)("%d products","woocommerce-admin"):Object(f.__)("%d categories","woocommerce-admin"),mode:o}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,a=this.getChartMeta(),n=a.mode,i=a.itemsLabel,s=a.isSingleCategoryView,l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){c()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===n&&(l.segmentby=s?"product":"category"),Object(b.createElement)(b.Fragment,null,Object(b.createElement)(Q.a,{query:r,path:o,filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(B.a,{charts:j,endpoint:"products",isRequesting:t,limitProperties:s?["products","categories"]:["categories"],query:l,selectedChart:Object(T.a)(r.chart,j),filters:v,advancedFilters:w,report:"categories"}),Object(b.createElement)(M.a,{charts:j,filters:v,advancedFilters:w,mode:n,endpoint:"products",limitProperties:s?["products","categories"]:["categories"],path:o,query:l,isRequesting:t,itemsLabel:i,selectedChart:Object(T.a)(r.chart,j)}),s?Object(b.createElement)(H.a,{isRequesting:t,query:l,baseSearchQuery:{filter:"single_category"},hideCompare:s,filters:v,advancedFilters:w}):Object(b.createElement)(I,{isRequesting:t,query:r,filters:v,advancedFilters:w}))}}]),r}(b.Component);G.propTypes={query:_.a.object.isRequired,path:_.a.string.isRequired}}}]);
|
dist/chunks/{12.489a50e2cc0a8cb62038.js → 12.81a5de16019a0cc85173.js}
RENAMED
@@ -75,7 +75,7 @@ module.exports = _nonIterableRest;
|
|
75 |
|
76 |
/***/ }),
|
77 |
|
78 |
-
/***/
|
79 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
80 |
|
81 |
"use strict";
|
75 |
|
76 |
/***/ }),
|
77 |
|
78 |
+
/***/ 737:
|
79 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
80 |
|
81 |
"use strict";
|
dist/chunks/{12.489a50e2cc0a8cb62038.min.js → 12.81a5de16019a0cc85173.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{146:function(e,t,r){var o=r(419),c=r(420),a=r(172),n=r(421);e.exports=function(e,t){return o(e)||c(e,t)||a(e,t)||n()}},419:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},420:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],o=!0,c=!1,a=void 0;try{for(var n,m=e[Symbol.iterator]();!(o=(n=m.next()).done)&&(r.push(n.value),!t||r.length!==t);o=!0);}catch(e){c=!0,a=e}finally{try{o||null==m.return||m.return()}finally{if(c)throw a}}return r}}},421:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},736:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return Q}));var o,c=r(17),a=r.n(c),n=r(38),m=r.n(n),l=r(37),i=r.n(l),u=r(39),s=r.n(u),d=r(42),b=r.n(d),_=r(26),f=r.n(_),p=r(0),v=r(1),O=r.n(v),j=r(51),y=r.n(j),w=r(3),g=r(72),h=r(48),S=r(23),x=r(751),R=r(33),C=Object(S.g)("dataEndpoints",{countries:{}}).countries,k=Object(h.applyFilters)("woocommerce_admin_customers_report_filters",[{label:Object(w.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(w.__)("All Customers","woocommerce-admin"),value:"all"},{label:Object(w.__)("Single Customer","woocommerce-admin"),value:"select_customer",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_customer",chartMode:"item-comparison",path:["select_customer"],settings:{type:"customers",param:"customers",getLabels:x.c,labels:{placeholder:Object(w.__)("Type to search for a customer","woocommerce-admin"),button:Object(w.__)("Single Customer","woocommerce-admin")}}}]},{label:Object(w.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),E=Object(h.applyFilters)("woocommerce_admin_customers_report_advanced_filters",{title:Object(w._x)("Customers Match {{select /}} Filters","A sentence describing filters for Customers. See screen shot for context: https://cloudup.com/cCsm3GeXJbE","woocommerce-admin"),filters:{name:{labels:{add:Object(w.__)("Name","woocommerce-admin"),placeholder:Object(w.__)("Search","woocommerce-admin"),remove:Object(w.__)("Remove customer name filter","woocommerce-admin"),rule:Object(w.__)("Select a customer name filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Name{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select customer name","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","customer names","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","customer names","woocommerce-admin")}],input:{component:"Search",type:"customers",getLabels:Object(x.e)(R.c+"/customers",(function(e){return{id:e.id,label:e.name}}))}},country:{labels:{add:Object(w.__)("Country / Region","woocommerce-admin"),placeholder:Object(w.__)("Search","woocommerce-admin"),remove:Object(w.__)("Remove country / region filter","woocommerce-admin"),rule:Object(w.__)("Select a country / region filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Country / Region{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select country / region","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","countries","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","countries","woocommerce-admin")}],input:{component:"Search",type:"countries",getLabels:(o=y()(regeneratorRuntime.mark((function e(t){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=C.map((function(e){return{key:e.code,label:Object(g.decodeEntities)(e.name)}})),o=t.split(","),e.next=4,r.filter((function(e){return o.includes(e.key)}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})}},username:{labels:{add:Object(w.__)("Username","woocommerce-admin"),placeholder:Object(w.__)("Search customer username","woocommerce-admin"),remove:Object(w.__)("Remove customer username filter","woocommerce-admin"),rule:Object(w.__)("Select a customer username filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:x.c}},email:{labels:{add:Object(w.__)("Email","woocommerce-admin"),placeholder:Object(w.__)("Search customer email","woocommerce-admin"),remove:Object(w.__)("Remove customer email filter","woocommerce-admin"),rule:Object(w.__)("Select a customer email filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Email{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select customer email","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","customer emails","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","customer emails","woocommerce-admin")}],input:{component:"Search",type:"emails",getLabels:Object(x.e)(R.c+"/customers",(function(e){return{id:e.id,label:e.email}}))}},orders_count:{labels:{add:Object(w.__)("No. of Orders","woocommerce-admin"),remove:Object(w.__)("Remove order filter","woocommerce-admin"),rule:Object(w.__)("Select an order count filter match","woocommerce-admin"),title:Object(w.__)("{{title}}No. of Orders{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(w._x)("Less Than","number of orders","woocommerce-admin")},{value:"min",label:Object(w._x)("More Than","number of orders","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","number of orders","woocommerce-admin")}],input:{component:"Number"}},total_spend:{labels:{add:Object(w.__)("Total Spend","woocommerce-admin"),remove:Object(w.__)("Remove total spend filter","woocommerce-admin"),rule:Object(w.__)("Select a total spend filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Total Spend{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(w._x)("Less Than","total spend by customer","woocommerce-admin")},{value:"min",label:Object(w._x)("More Than","total spend by customer","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","total spend by customer","woocommerce-admin")}],input:{component:"Currency"}},avg_order_value:{labels:{add:Object(w.__)("AOV","woocommerce-admin"),remove:Object(w.__)("Remove average order value filter","woocommerce-admin"),rule:Object(w.__)("Select an average order value filter match","woocommerce-admin"),title:Object(w.__)("{{title}}AOV{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(w._x)("Less Than","average order value of customer","woocommerce-admin")},{value:"min",label:Object(w._x)("More Than","average order value of customer","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","average order value of customer","woocommerce-admin")}],input:{component:"Currency"}},registered:{labels:{add:Object(w.__)("Registered","woocommerce-admin"),remove:Object(w.__)("Remove registered filter","woocommerce-admin"),rule:Object(w.__)("Select a registered filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Registered{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(w._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(w._x)("After","date","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}},last_active:{labels:{add:Object(w.__)("Last active","woocommerce-admin"),remove:Object(w.__)("Remove last active filter","woocommerce-admin"),rule:Object(w.__)("Select a last active filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Last active{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(w._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(w._x)("After","date","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}}}}),D=r(62),F=r.n(D),A=r(97),P=r(53),L=r(201),T=r(108),B=r(759),q=r(200);function N(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 r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var I=Object(S.g)("dataEndpoints",{countries:{}}).countries,V=function(e){s()(r,e);var t=N(r);function r(){var e;return m()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(F()(e)),e.getRowsContent=e.getRowsContent.bind(F()(e)),e.getSummary=e.getSummary.bind(F()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(w.__)("Name","woocommerce-admin"),key:"name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(w.__)("Username","woocommerce-admin"),key:"username",hiddenByDefault:!0},{label:Object(w.__)("Last Active","woocommerce-admin"),key:"date_last_active",defaultSort:!0,isSortable:!0},{label:Object(w.__)("Sign Up","woocommerce-admin"),key:"date_registered",isSortable:!0},{label:Object(w.__)("Email","woocommerce-admin"),key:"email"},{label:Object(w.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(w.__)("Total Spend","woocommerce-admin"),key:"total_spend",isSortable:!0,isNumeric:!0},{label:Object(w.__)("AOV","woocommerce-admin"),screenReaderLabel:Object(w.__)("Average Order Value","woocommerce-admin"),key:"avg_order_value",isNumeric:!0},{label:Object(w.__)("Country / Region","woocommerce-admin"),key:"country",isSortable:!0},{label:Object(w.__)("City","woocommerce-admin"),key:"city",hiddenByDefault:!0,isSortable:!0},{label:Object(w.__)("Region","woocommerce-admin"),key:"state",hiddenByDefault:!0,isSortable:!0},{label:Object(w.__)("Postal Code","woocommerce-admin"),key:"postcode",hiddenByDefault:!0,isSortable:!0}]}},{key:"getCountryName",value:function(e){return void 0!==I[e]?I[e]:null}},{key:"getRowsContent",value:function(e){var t=this,r=Object(S.g)("dateFormat",T.c),o=this.context,c=o.formatCurrency,a=o.formatDecimal,n=o.getCurrency;return e.map((function(e){var o=e.avg_order_value,m=e.date_last_active,l=e.date_registered,i=e.email,u=e.name,s=e.user_id,d=e.orders_count,b=e.username,_=e.total_spend,f=e.postcode,v=e.city,O=e.state,j=e.country,y=t.getCountryName(j),w=s?Object(p.createElement)(P.Link,{href:Object(S.f)("user-edit.php?user_id="+s),type:"wp-admin"},u):u,g=m?Object(p.createElement)(P.Date,{date:m,visibleFormat:r}):"—",h=l?Object(p.createElement)(P.Date,{date:l,visibleFormat:r}):"—",x=Object(p.createElement)(p.Fragment,null,Object(p.createElement)(A.a,{text:y},Object(p.createElement)("span",{"aria-hidden":"true"},j)),Object(p.createElement)("span",{className:"screen-reader-text"},y));return[{display:w,value:u},{display:b,value:b},{display:g,value:m},{display:h,value:l},{display:Object(p.createElement)("a",{href:"mailto:"+i},i),value:i},{display:Object(L.formatValue)(n(),"number",d),value:d},{display:c(_),value:a(_)},{display:c(o),value:a(o)},{display:x,value:j},{display:v,value:v},{display:O,value:O},{display:f,value:f}]}))}},{key:"getSummary",value:function(e){var t=e.customers_count,r=void 0===t?0:t,o=e.avg_orders_count,c=void 0===o?0:o,a=e.avg_total_spend,n=void 0===a?0:a,m=e.avg_avg_order_value,l=void 0===m?0:m,i=this.context,u=i.formatCurrency,s=(0,i.getCurrency)();return[{label:Object(w._n)("customer","customers",r,"woocommerce-admin"),value:Object(L.formatValue)(s,"number",r)},{label:Object(w._n)("average order","average orders",c,"woocommerce-admin"),value:Object(L.formatValue)(s,"number",c)},{label:Object(w.__)("average lifetime spend","woocommerce-admin"),value:u(n)},{label:Object(w.__)("average order value","woocommerce-admin"),value:u(l)}]}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.filters,c=e.advancedFilters;return Object(p.createElement)(B.a,{endpoint:"customers",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["customers_count","avg_orders_count","avg_total_spend","avg_avg_order_value"],isRequesting:t,itemIdField:"id",query:r,labels:{placeholder:Object(w.__)("Search by customer name","woocommerce-admin")},searchBy:"customers",title:Object(w.__)("Customers","woocommerce-admin"),columnPrefsKey:"customers_report_columns",filters:o,advancedFilters:c})}}]),r}(p.Component);V.contextType=q.a;var M=V,H=r(757);function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}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 r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var Q=function(e){s()(r,e);var t=J(r);function r(){return m()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({orderby:"date_last_active",order:"desc"},r);return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(H.a,{query:r,path:o,filters:k,showDatePicker:!1,advancedFilters:E,report:"customers"}),Object(p.createElement)(M,{isRequesting:t,query:c,filters:k,advancedFilters:E}))}}]),r}(p.Component);Q.propTypes={query:O.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return p}));var o=r(27),c=r(21),a=r.n(c),n=r(2),m=r(22),l=r(752),i=r(33);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(c):e,l=Object(m.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var i={include:l.join(","),per_page:l.length};return a()({path:Object(o.addQueryArgs)(n,i)}).then((function(e){return e.map(t)}))}}var s=u(i.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=u(i.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),b=u(i.c+"/customers",(function(e){return{key:e.id,label:e.name}})),_=u(i.c+"/products",(function(e){return{key:e.id,label:e.name}})),f=u(i.c+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}})),p=u((function(e){return i.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,o){return e+"".concat(t.option).concat(o.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(3);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}}}]);
|
1 |
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{146:function(e,t,r){var o=r(419),c=r(420),a=r(172),n=r(421);e.exports=function(e,t){return o(e)||c(e,t)||a(e,t)||n()}},419:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},420:function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],o=!0,c=!1,a=void 0;try{for(var n,m=e[Symbol.iterator]();!(o=(n=m.next()).done)&&(r.push(n.value),!t||r.length!==t);o=!0);}catch(e){c=!0,a=e}finally{try{o||null==m.return||m.return()}finally{if(c)throw a}}return r}}},421:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},737:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return Q}));var o,c=r(17),a=r.n(c),n=r(38),m=r.n(n),l=r(37),i=r.n(l),u=r(39),s=r.n(u),d=r(42),b=r.n(d),_=r(26),f=r.n(_),p=r(0),v=r(1),O=r.n(v),j=r(51),y=r.n(j),w=r(3),g=r(72),h=r(48),S=r(23),x=r(751),R=r(33),C=Object(S.g)("dataEndpoints",{countries:{}}).countries,k=Object(h.applyFilters)("woocommerce_admin_customers_report_filters",[{label:Object(w.__)("Show","woocommerce-admin"),staticParams:["paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(w.__)("All Customers","woocommerce-admin"),value:"all"},{label:Object(w.__)("Single Customer","woocommerce-admin"),value:"select_customer",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_customer",chartMode:"item-comparison",path:["select_customer"],settings:{type:"customers",param:"customers",getLabels:x.c,labels:{placeholder:Object(w.__)("Type to search for a customer","woocommerce-admin"),button:Object(w.__)("Single Customer","woocommerce-admin")}}}]},{label:Object(w.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),E=Object(h.applyFilters)("woocommerce_admin_customers_report_advanced_filters",{title:Object(w._x)("Customers Match {{select /}} Filters","A sentence describing filters for Customers. See screen shot for context: https://cloudup.com/cCsm3GeXJbE","woocommerce-admin"),filters:{name:{labels:{add:Object(w.__)("Name","woocommerce-admin"),placeholder:Object(w.__)("Search","woocommerce-admin"),remove:Object(w.__)("Remove customer name filter","woocommerce-admin"),rule:Object(w.__)("Select a customer name filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Name{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select customer name","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","customer names","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","customer names","woocommerce-admin")}],input:{component:"Search",type:"customers",getLabels:Object(x.e)(R.c+"/customers",(function(e){return{id:e.id,label:e.name}}))}},country:{labels:{add:Object(w.__)("Country / Region","woocommerce-admin"),placeholder:Object(w.__)("Search","woocommerce-admin"),remove:Object(w.__)("Remove country / region filter","woocommerce-admin"),rule:Object(w.__)("Select a country / region filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Country / Region{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select country / region","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","countries","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","countries","woocommerce-admin")}],input:{component:"Search",type:"countries",getLabels:(o=y()(regeneratorRuntime.mark((function e(t){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=C.map((function(e){return{key:e.code,label:Object(g.decodeEntities)(e.name)}})),o=t.split(","),e.next=4,r.filter((function(e){return o.includes(e.key)}));case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})}},username:{labels:{add:Object(w.__)("Username","woocommerce-admin"),placeholder:Object(w.__)("Search customer username","woocommerce-admin"),remove:Object(w.__)("Remove customer username filter","woocommerce-admin"),rule:Object(w.__)("Select a customer username filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:x.c}},email:{labels:{add:Object(w.__)("Email","woocommerce-admin"),placeholder:Object(w.__)("Search customer email","woocommerce-admin"),remove:Object(w.__)("Remove customer email filter","woocommerce-admin"),rule:Object(w.__)("Select a customer email filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Email{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select customer email","woocommerce-admin")},rules:[{value:"includes",label:Object(w._x)("Includes","customer emails","woocommerce-admin")},{value:"excludes",label:Object(w._x)("Excludes","customer emails","woocommerce-admin")}],input:{component:"Search",type:"emails",getLabels:Object(x.e)(R.c+"/customers",(function(e){return{id:e.id,label:e.email}}))}},orders_count:{labels:{add:Object(w.__)("No. of Orders","woocommerce-admin"),remove:Object(w.__)("Remove order filter","woocommerce-admin"),rule:Object(w.__)("Select an order count filter match","woocommerce-admin"),title:Object(w.__)("{{title}}No. of Orders{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(w._x)("Less Than","number of orders","woocommerce-admin")},{value:"min",label:Object(w._x)("More Than","number of orders","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","number of orders","woocommerce-admin")}],input:{component:"Number"}},total_spend:{labels:{add:Object(w.__)("Total Spend","woocommerce-admin"),remove:Object(w.__)("Remove total spend filter","woocommerce-admin"),rule:Object(w.__)("Select a total spend filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Total Spend{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(w._x)("Less Than","total spend by customer","woocommerce-admin")},{value:"min",label:Object(w._x)("More Than","total spend by customer","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","total spend by customer","woocommerce-admin")}],input:{component:"Currency"}},avg_order_value:{labels:{add:Object(w.__)("AOV","woocommerce-admin"),remove:Object(w.__)("Remove average order value filter","woocommerce-admin"),rule:Object(w.__)("Select an average order value filter match","woocommerce-admin"),title:Object(w.__)("{{title}}AOV{{/title}} {{rule /}} {{filter /}}","woocommerce-admin")},rules:[{value:"max",label:Object(w._x)("Less Than","average order value of customer","woocommerce-admin")},{value:"min",label:Object(w._x)("More Than","average order value of customer","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","average order value of customer","woocommerce-admin")}],input:{component:"Currency"}},registered:{labels:{add:Object(w.__)("Registered","woocommerce-admin"),remove:Object(w.__)("Remove registered filter","woocommerce-admin"),rule:Object(w.__)("Select a registered filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Registered{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(w._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(w._x)("After","date","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}},last_active:{labels:{add:Object(w.__)("Last active","woocommerce-admin"),remove:Object(w.__)("Remove last active filter","woocommerce-admin"),rule:Object(w.__)("Select a last active filter match","woocommerce-admin"),title:Object(w.__)("{{title}}Last active{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(w.__)("Select registered date","woocommerce-admin")},rules:[{value:"before",label:Object(w._x)("Before","date","woocommerce-admin")},{value:"after",label:Object(w._x)("After","date","woocommerce-admin")},{value:"between",label:Object(w._x)("Between","date","woocommerce-admin")}],input:{component:"Date"}}}}),D=r(62),F=r.n(D),A=r(97),P=r(53),L=r(201),T=r(108),B=r(759),q=r(200);function N(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 r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var I=Object(S.g)("dataEndpoints",{countries:{}}).countries,V=function(e){s()(r,e);var t=N(r);function r(){var e;return m()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(F()(e)),e.getRowsContent=e.getRowsContent.bind(F()(e)),e.getSummary=e.getSummary.bind(F()(e)),e}return i()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(w.__)("Name","woocommerce-admin"),key:"name",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(w.__)("Username","woocommerce-admin"),key:"username",hiddenByDefault:!0},{label:Object(w.__)("Last Active","woocommerce-admin"),key:"date_last_active",defaultSort:!0,isSortable:!0},{label:Object(w.__)("Sign Up","woocommerce-admin"),key:"date_registered",isSortable:!0},{label:Object(w.__)("Email","woocommerce-admin"),key:"email"},{label:Object(w.__)("Orders","woocommerce-admin"),key:"orders_count",isSortable:!0,isNumeric:!0},{label:Object(w.__)("Total Spend","woocommerce-admin"),key:"total_spend",isSortable:!0,isNumeric:!0},{label:Object(w.__)("AOV","woocommerce-admin"),screenReaderLabel:Object(w.__)("Average Order Value","woocommerce-admin"),key:"avg_order_value",isNumeric:!0},{label:Object(w.__)("Country / Region","woocommerce-admin"),key:"country",isSortable:!0},{label:Object(w.__)("City","woocommerce-admin"),key:"city",hiddenByDefault:!0,isSortable:!0},{label:Object(w.__)("Region","woocommerce-admin"),key:"state",hiddenByDefault:!0,isSortable:!0},{label:Object(w.__)("Postal Code","woocommerce-admin"),key:"postcode",hiddenByDefault:!0,isSortable:!0}]}},{key:"getCountryName",value:function(e){return void 0!==I[e]?I[e]:null}},{key:"getRowsContent",value:function(e){var t=this,r=Object(S.g)("dateFormat",T.c),o=this.context,c=o.formatCurrency,a=o.formatDecimal,n=o.getCurrency;return e.map((function(e){var o=e.avg_order_value,m=e.date_last_active,l=e.date_registered,i=e.email,u=e.name,s=e.user_id,d=e.orders_count,b=e.username,_=e.total_spend,f=e.postcode,v=e.city,O=e.state,j=e.country,y=t.getCountryName(j),w=s?Object(p.createElement)(P.Link,{href:Object(S.f)("user-edit.php?user_id="+s),type:"wp-admin"},u):u,g=m?Object(p.createElement)(P.Date,{date:m,visibleFormat:r}):"—",h=l?Object(p.createElement)(P.Date,{date:l,visibleFormat:r}):"—",x=Object(p.createElement)(p.Fragment,null,Object(p.createElement)(A.a,{text:y},Object(p.createElement)("span",{"aria-hidden":"true"},j)),Object(p.createElement)("span",{className:"screen-reader-text"},y));return[{display:w,value:u},{display:b,value:b},{display:g,value:m},{display:h,value:l},{display:Object(p.createElement)("a",{href:"mailto:"+i},i),value:i},{display:Object(L.formatValue)(n(),"number",d),value:d},{display:c(_),value:a(_)},{display:c(o),value:a(o)},{display:x,value:j},{display:v,value:v},{display:O,value:O},{display:f,value:f}]}))}},{key:"getSummary",value:function(e){var t=e.customers_count,r=void 0===t?0:t,o=e.avg_orders_count,c=void 0===o?0:o,a=e.avg_total_spend,n=void 0===a?0:a,m=e.avg_avg_order_value,l=void 0===m?0:m,i=this.context,u=i.formatCurrency,s=(0,i.getCurrency)();return[{label:Object(w._n)("customer","customers",r,"woocommerce-admin"),value:Object(L.formatValue)(s,"number",r)},{label:Object(w._n)("average order","average orders",c,"woocommerce-admin"),value:Object(L.formatValue)(s,"number",c)},{label:Object(w.__)("average lifetime spend","woocommerce-admin"),value:u(n)},{label:Object(w.__)("average order value","woocommerce-admin"),value:u(l)}]}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.filters,c=e.advancedFilters;return Object(p.createElement)(B.a,{endpoint:"customers",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["customers_count","avg_orders_count","avg_total_spend","avg_avg_order_value"],isRequesting:t,itemIdField:"id",query:r,labels:{placeholder:Object(w.__)("Search by customer name","woocommerce-admin")},searchBy:"customers",title:Object(w.__)("Customers","woocommerce-admin"),columnPrefsKey:"customers_report_columns",filters:o,advancedFilters:c})}}]),r}(p.Component);V.contextType=q.a;var M=V,H=r(757);function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}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 r,o=f()(e);if(t){var c=f()(this).constructor;r=Reflect.construct(o,arguments,c)}else r=o.apply(this,arguments);return b()(this,r)}}var Q=function(e){s()(r,e);var t=J(r);function r(){return m()(this,r),t.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,o=e.path,c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({orderby:"date_last_active",order:"desc"},r);return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(H.a,{query:r,path:o,filters:k,showDatePicker:!1,advancedFilters:E,report:"customers"}),Object(p.createElement)(M,{isRequesting:t,query:c,filters:k,advancedFilters:E}))}}]),r}(p.Component);Q.propTypes={query:O.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return b})),r.d(t,"d",(function(){return _})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return p}));var o=r(27),c=r(21),a=r.n(c),n=r(2),m=r(22),l=r(752),i=r(33);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(c):e,l=Object(m.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var i={include:l.join(","),per_page:l.length};return a()({path:Object(o.addQueryArgs)(n,i)}).then((function(e){return e.map(t)}))}}var s=u(i.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=u(i.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),b=u(i.c+"/customers",(function(e){return{key:e.id,label:e.name}})),_=u(i.c+"/products",(function(e){return{key:e.id,label:e.name}})),f=u(i.c+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}})),p=u((function(e){return i.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,o){return e+"".concat(t.option).concat(o.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var o=r(3);function c(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}}}]);
|
dist/chunks/{14.704d2d25bcf25d90e228.js → 14.49811bcba1b9d3f84157.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[14],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
1 |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[14],{
|
2 |
|
3 |
+
/***/ 740:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
dist/chunks/{14.704d2d25bcf25d90e228.min.js → 14.49811bcba1b9d3f84157.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{742:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(1),f=r.n(b),y=r(780),_=r(755),v=r(62),O=r.n(v),j=r(3),h=r(2),g=r(53),w=r(201),R=r(23),q=r(108),S=r(759),k=r(22),C=r(200);r(899);function D(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 r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var x=function(e){u()(r,e);var t=D(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(j.__)("Order Number","woocommerce-admin"),key:"order_number",required:!0},{label:Object(j.__)("Status","woocommerce-admin"),key:"status",required:!1,isSortable:!1},{label:Object(j.__)("Customer","woocommerce-admin"),key:"customer_id",required:!1,isSortable:!1},{label:Object(j.__)("Product(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Products","woocommerce-admin"),key:"products",required:!1,isSortable:!1},{label:Object(j.__)("Items Sold","woocommerce-admin"),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupon(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!1},{label:Object(j.__)("Net Sales","woocommerce-admin"),screenReaderLabel:Object(j.__)("Net Sales","woocommerce-admin"),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}},{key:"getCustomerType",value:function(e){switch(e){case"new":return Object(j._x)("New","customer type","woocommerce-admin");case"returning":return Object(j._x)("Returning","customer type","woocommerce-admin");default:return Object(j._x)("N/A","customer type","woocommerce-admin")}}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,a=Object(k.getPersistedQuery)(r),n=Object(R.g)("dateFormat",q.c),o=this.context,c=o.render,i=o.getCurrency;return Object(h.map)(e,(function(e){var r=e.currency,o=e.customer_type,u=e.date_created,s=e.net_total,l=e.num_items_sold,m=e.order_id,d=e.order_number,b=e.parent_id,f=e.status,y=e.extended_info||{},_=y.coupons,v=y.products.sort((function(e,t){return t.quantity-e.quantity})).map((function(e){return{label:e.name,quantity:e.quantity,href:Object(k.getNewPath)(a,"/analytics/products",{filter:"single_product",products:e.id})}})),O=_.map((function(e){return{label:e.code,href:Object(k.getNewPath)(a,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}}));return[{display:Object(p.createElement)(g.Date,{date:u,visibleFormat:n}),value:u},{display:Object(p.createElement)(g.Link,{href:"post.php?post="+(b||m)+"&action=edit"+(b?"#order_refunds":""),type:"wp-admin"},d),value:d},{display:Object(p.createElement)(g.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:f},orderStatusMap:Object(R.g)("orderStatuses",{})}),value:f},{display:t.getCustomerType(o),value:o},{display:t.renderList(v.length?[v[0]]:[],v.map((function(e){return{label:Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),e.quantity,e.label),href:e.href}}))),value:v.map((function(e){var t=e.quantity,r=e.label;return Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),t,r)})).join(", ")},{display:Object(w.formatValue)(i(),"number",l),value:l},{display:t.renderList(O.length?[O[0]]:[],O),value:O.map((function(e){return e.label})).join(", ")},{display:c(s,r),value:s}]}))}},{key:"getSummary",value:function(e){var t=e.orders_count,r=void 0===t?0:t,a=e.num_new_customers,n=void 0===a?0:a,o=e.num_returning_customers,c=void 0===o?0:o,i=e.products,u=void 0===i?0:i,s=e.num_items_sold,l=void 0===s?0:s,m=e.coupons_count,d=void 0===m?0:m,p=e.net_revenue,b=void 0===p?0:p,f=this.context,y=f.formatCurrency,_=(0,f.getCurrency)();return[{label:Object(j._n)("order","orders",r,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",r)},{label:Object(j._n)("new customer","new customers",n,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",n)},{label:Object(j._n)("returning customer","returning customers",c,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",c)},{label:Object(j._n)("product","products",u,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",u)},{label:Object(j._n)("item sold","items sold",l,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",l)},{label:Object(j._n)("coupon","coupons",d,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",d)},{label:Object(j.__)("net sales","woocommerce-admin"),value:y(b)}]}},{key:"renderLinks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e,t){return Object(p.createElement)(g.Link,{href:e.href,key:t,type:"wc-admin"},e.label)}))}},{key:"renderList",value:function(e,t){return Object(p.createElement)(p.Fragment,null,this.renderLinks(e),t.length>1&&Object(p.createElement)(g.ViewMoreList,{items:this.renderLinks(t)}))}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(S.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","num_new_customers","num_returning_customers","products","num_items_sold","coupons_count","net_revenue"],query:t,tableQuery:{extended_info:!0},title:Object(j.__)("Orders","woocommerce-admin"),columnPrefsKey:"orders_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);x.contextType=C.a;var E=x,P=r(754),T=r(756),F=r(757);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var N=function(e){u()(r,e);var t=L(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(F.a,{query:r,path:t,filters:y.c,advancedFilters:y.a,report:"orders"}),Object(p.createElement)(T.a,{charts:y.b,endpoint:"orders",query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(P.a,{charts:y.b,endpoint:"orders",path:t,query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(E,{query:r,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);N.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return y}));var a=r(27),n=r(21),o=r.n(n),c=r(2),i=r(22),u=r(752),s=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,u=Object(i.getIdsFromQuery)(r);if(u.length<1)return Promise.resolve([]);var s={include:u.join(","),per_page:u.length};return o()({path:Object(a.addQueryArgs)(c,s)}).then((function(e){return e.map(t)}))}}var m=l(s.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(s.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.c+"/customers",(function(e){return{key:e.id,label:e.name}})),b=l(s.c+"/products",(function(e){return{key:e.id,label:e.name}})),f=l(s.c+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),y=l((function(e){return s.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),c=r.n(o),i=r(37),u=r.n(i),s=r(39),l=r.n(s),m=r(42),d=r.n(m),p=r(26),b=r.n(p),f=r(0),y=r(3),_=r(169),v=r(173),O=r(2),j=r(1),h=r.n(j),g=r(108),w=r(53),R=r(43),q=r(200),S=r(750),k=r(261),C=r(101),D=r(22);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(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 r,a=b()(e);if(t){var n=b()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return d()(this,r)}}var T=function(e){l()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return u()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(g.i)(t),i=Object(g.f)(t,o),u=i.primary,s=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(g.j)(e.date_start,u.after,s.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(O.get)(t,["data","totals",a.key],null),secondary:Object(O.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,u=n.itemsLabel,s=n.legendPosition,l=n.path,m=n.query,d=n.selectedChart,p=n.showHeaderControls,b=n.primaryData,_=Object(g.i)(m),v=Object(g.d)(m),O=Object(g.g)(_,b.data.intervals.length),j=o?Object(y.__)("No data for the current search","woocommerce-admin"):Object(y.__)("No data for the selected date range","woocommerce-admin"),h=this.context,R=h.formatCurrency,q=h.getCurrency;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:_,isRequesting:t,itemsLabel:u,legendPosition:s,legendTotals:a,mode:e,path:l,query:m,screenReaderFormat:O.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:O.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.e)(d.type,R),chartType:Object(g.e)(m),valueType:d.type,xFormat:O.xFormat,x2Format:O.x2Format,currency:q()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);T.contextType=q.a,T.propTypes={filters:h.a.array,isRequesting:h.a.bool,itemsLabel:h.a.string,limitProperties:h.a.array,mode:h.a.string,path:h.a.string.isRequired,primaryData:h.a.object,query:h.a.object.isRequired,secondaryData:h.a.object,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(_.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,u=t.advancedFilters,s=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(D.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(O.find)(c,{value:i})}return e(n,r,a)}(n,i),m=Object(O.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(O.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(O.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:m,defaultDateRange:p};if(o)return b;var f=s.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return E(E({},b),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),_=Object(S.a)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});if("item-comparison"===d)return E(E({},b),{},{primaryData:_});var v=Object(S.a)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});return E(E({},b),{},{primaryData:_,secondaryData:v})})))(T)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(3),f=r(169),y=r(1),_=r.n(y),v=r(108),O=r(22),j=r(53),h=r(201),g=r(43),w=r(750),R=r(261),q=r(101),S=r(63),k=r(200);function C(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 r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){u()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(h.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],c=a?0:n.secondary[e];return{delta:Object(h.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,u=t.report,s=t.defaultDateRange,l=c.isError,m=c.isRequesting;if(l)return Object(p.createElement)(R.a,{isError:!0});if(a||m)return Object(p.createElement)(j.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(v.h)(n,s).compare;return Object(p.createElement)(j.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,c=t.orderby,s=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),n&&(m.order=n);var f=Object(O.getNewPath)(m),y=o.key===r,_=e.getValues(r,l),v=_.delta,h=_.prevValue,g=_.value;return Object(p.createElement)(j.SummaryNumber,{key:r,delta:v,href:f,label:s,prevLabel:"previous_period"===d?Object(b.__)("Previous Period:","woocommerce-admin"):Object(b.__)("Previous Year:","woocommerce-admin"),prevValue:h,selected:y,value:g,onLinkClickCallback:function(){a&&a(),Object(S.b)("analytics_chart_tab_click",{report:u||i,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:_.a.array.isRequired,endpoint:_.a.string.isRequired,limitProperties:_.a.array,query:_.a.object.isRequired,isRequesting:_.a.bool,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:_.a.object,report:_.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(f.a)(Object(q.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,u=t.advancedFilters,s=o||[a];if(n)return{};var l=s.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var m=r&&r.map((function(e){return e.key})),d=e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(w.d)({endpoint:a,query:c,select:e,limitBy:s,filters:i,advancedFilters:u,defaultDateRange:d,fields:m}),defaultDateRange:d}})))(D)},780:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(48),o=r(23),c=r(751),i=Object(n.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(a.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(a.__)("Average Order Value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(a.__)("Average Items Per Order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),u=Object(n.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Orders","woocommerce-admin"),value:"all"},{label:Object(a.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),s=Object(n.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(a._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(a.__)("Order Status","woocommerce-admin"),remove:Object(a.__)("Remove order status filter","woocommerce-admin"),rule:Object(a.__)("Select an order status filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(o.d).map((function(e){return{value:e,label:o.d[e]}}))}},product:{labels:{add:Object(a.__)("Products","woocommerce-admin"),placeholder:Object(a.__)("Search products","woocommerce-admin"),remove:Object(a.__)("Remove products filter","woocommerce-admin"),rule:Object(a.__)("Select a product filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:c.d}},coupon:{labels:{add:Object(a.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(a.__)("Search coupons","woocommerce-admin"),remove:Object(a.__)("Remove coupon filter","woocommerce-admin"),rule:Object(a.__)("Select a coupon filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type","woocommerce-admin"),remove:Object(a.__)("Remove customer filter","woocommerce-admin"),rule:Object(a.__)("Select a customer filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New","woocommerce-admin")},{value:"returning",label:Object(a.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds","woocommerce-admin"),remove:Object(a.__)("Remove refunds filter","woocommerce-admin"),rule:Object(a.__)("Select a refund filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All","woocommerce-admin")},{value:"partial",label:Object(a.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(a.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(a.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates","woocommerce-admin"),placeholder:Object(a.__)("Search tax rates","woocommerce-admin"),remove:Object(a.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(a.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:c.f}}}})},899:function(e,t,r){}}]);
|
1 |
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{740:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(1),f=r.n(b),y=r(780),_=r(755),v=r(62),O=r.n(v),j=r(3),h=r(2),g=r(53),w=r(201),R=r(23),q=r(108),S=r(759),k=r(22),C=r(200);r(899);function D(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 r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var x=function(e){u()(r,e);var t=D(r);function r(){var e;return n()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(O()(e)),e.getRowsContent=e.getRowsContent.bind(O()(e)),e.getSummary=e.getSummary.bind(O()(e)),e}return c()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(j.__)("Date","woocommerce-admin"),key:"date",required:!0,defaultSort:!0,isLeftAligned:!0,isSortable:!0},{label:Object(j.__)("Order #","woocommerce-admin"),screenReaderLabel:Object(j.__)("Order Number","woocommerce-admin"),key:"order_number",required:!0},{label:Object(j.__)("Status","woocommerce-admin"),key:"status",required:!1,isSortable:!1},{label:Object(j.__)("Customer","woocommerce-admin"),key:"customer_id",required:!1,isSortable:!1},{label:Object(j.__)("Product(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Products","woocommerce-admin"),key:"products",required:!1,isSortable:!1},{label:Object(j.__)("Items Sold","woocommerce-admin"),key:"num_items_sold",required:!1,isSortable:!0,isNumeric:!0},{label:Object(j.__)("Coupon(s)","woocommerce-admin"),screenReaderLabel:Object(j.__)("Coupons","woocommerce-admin"),key:"coupons",required:!1,isSortable:!1},{label:Object(j.__)("Net Sales","woocommerce-admin"),screenReaderLabel:Object(j.__)("Net Sales","woocommerce-admin"),key:"net_total",required:!0,isSortable:!0,isNumeric:!0}]}},{key:"getCustomerType",value:function(e){switch(e){case"new":return Object(j._x)("New","customer type","woocommerce-admin");case"returning":return Object(j._x)("Returning","customer type","woocommerce-admin");default:return Object(j._x)("N/A","customer type","woocommerce-admin")}}},{key:"getRowsContent",value:function(e){var t=this,r=this.props.query,a=Object(k.getPersistedQuery)(r),n=Object(R.g)("dateFormat",q.c),o=this.context,c=o.render,i=o.getCurrency;return Object(h.map)(e,(function(e){var r=e.currency,o=e.customer_type,u=e.date_created,s=e.net_total,l=e.num_items_sold,m=e.order_id,d=e.order_number,b=e.parent_id,f=e.status,y=e.extended_info||{},_=y.coupons,v=y.products.sort((function(e,t){return t.quantity-e.quantity})).map((function(e){return{label:e.name,quantity:e.quantity,href:Object(k.getNewPath)(a,"/analytics/products",{filter:"single_product",products:e.id})}})),O=_.map((function(e){return{label:e.code,href:Object(k.getNewPath)(a,"/analytics/coupons",{filter:"single_coupon",coupons:e.id})}}));return[{display:Object(p.createElement)(g.Date,{date:u,visibleFormat:n}),value:u},{display:Object(p.createElement)(g.Link,{href:"post.php?post="+(b||m)+"&action=edit"+(b?"#order_refunds":""),type:"wp-admin"},d),value:d},{display:Object(p.createElement)(g.OrderStatus,{className:"woocommerce-orders-table__status",order:{status:f},orderStatusMap:Object(R.g)("orderStatuses",{})}),value:f},{display:t.getCustomerType(o),value:o},{display:t.renderList(v.length?[v[0]]:[],v.map((function(e){return{label:Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),e.quantity,e.label),href:e.href}}))),value:v.map((function(e){var t=e.quantity,r=e.label;return Object(j.sprintf)(Object(j.__)("%s× %s","woocommerce-admin"),t,r)})).join(", ")},{display:Object(w.formatValue)(i(),"number",l),value:l},{display:t.renderList(O.length?[O[0]]:[],O),value:O.map((function(e){return e.label})).join(", ")},{display:c(s,r),value:s}]}))}},{key:"getSummary",value:function(e){var t=e.orders_count,r=void 0===t?0:t,a=e.num_new_customers,n=void 0===a?0:a,o=e.num_returning_customers,c=void 0===o?0:o,i=e.products,u=void 0===i?0:i,s=e.num_items_sold,l=void 0===s?0:s,m=e.coupons_count,d=void 0===m?0:m,p=e.net_revenue,b=void 0===p?0:p,f=this.context,y=f.formatCurrency,_=(0,f.getCurrency)();return[{label:Object(j._n)("order","orders",r,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",r)},{label:Object(j._n)("new customer","new customers",n,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",n)},{label:Object(j._n)("returning customer","returning customers",c,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",c)},{label:Object(j._n)("product","products",u,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",u)},{label:Object(j._n)("item sold","items sold",l,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",l)},{label:Object(j._n)("coupon","coupons",d,"woocommerce-admin"),value:Object(w.formatValue)(_,"number",d)},{label:Object(j.__)("net sales","woocommerce-admin"),value:y(b)}]}},{key:"renderLinks",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e,t){return Object(p.createElement)(g.Link,{href:e.href,key:t,type:"wc-admin"},e.label)}))}},{key:"renderList",value:function(e,t){return Object(p.createElement)(p.Fragment,null,this.renderLinks(e),t.length>1&&Object(p.createElement)(g.ViewMoreList,{items:this.renderLinks(t)}))}},{key:"render",value:function(){var e=this.props,t=e.query,r=e.filters,a=e.advancedFilters;return Object(p.createElement)(S.a,{endpoint:"orders",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["orders_count","num_new_customers","num_returning_customers","products","num_items_sold","coupons_count","net_revenue"],query:t,tableQuery:{extended_info:!0},title:Object(j.__)("Orders","woocommerce-admin"),columnPrefsKey:"orders_report_columns",filters:r,advancedFilters:a})}}]),r}(p.Component);x.contextType=C.a;var E=x,P=r(754),T=r(756),F=r(757);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var N=function(e){u()(r,e);var t=L(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"render",value:function(){var e=this.props,t=e.path,r=e.query;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(F.a,{query:r,path:t,filters:y.c,advancedFilters:y.a,report:"orders"}),Object(p.createElement)(T.a,{charts:y.b,endpoint:"orders",query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(P.a,{charts:y.b,endpoint:"orders",path:t,query:r,selectedChart:Object(_.a)(r.chart,y.b),filters:y.c,advancedFilters:y.a}),Object(p.createElement)(E,{query:r,filters:y.c,advancedFilters:y.a}))}}]),r}(p.Component);N.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return m})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return f})),r.d(t,"g",(function(){return y}));var a=r(27),n=r(21),o=r.n(n),c=r(2),i=r(22),u=r(752),s=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,c="function"==typeof e?e(n):e,u=Object(i.getIdsFromQuery)(r);if(u.length<1)return Promise.resolve([]);var s={include:u.join(","),per_page:u.length};return o()({path:Object(a.addQueryArgs)(c,s)}).then((function(e){return e.map(t)}))}}var m=l(s.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=l(s.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(s.c+"/customers",(function(e){return{key:e.id,label:e.name}})),b=l(s.c+"/products",(function(e){return{key:e.id,label:e.name}})),f=l(s.c+"/taxes",(function(e){return{key:e.id,label:Object(u.a)(e)}})),y=l((function(e){return s.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),c=r.n(o),i=r(37),u=r.n(i),s=r(39),l=r.n(s),m=r(42),d=r.n(m),p=r(26),b=r.n(p),f=r(0),y=r(3),_=r(169),v=r(173),O=r(2),j=r(1),h=r.n(j),g=r(108),w=r(53),R=r(43),q=r(200),S=r(750),k=r(261),C=r(101),D=r(22);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(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 r,a=b()(e);if(t){var n=b()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return d()(this,r)}}var T=function(e){l()(r,e);var t=P(r);function r(){return c()(this,r),t.apply(this,arguments)}return u()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(O.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),E({date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,c=Object(g.i)(t),i=Object(g.f)(t,o),u=i.primary,s=i.secondary;return r.data.intervals.map((function(e,r){var o=Object(g.j)(e.date_start,u.after,s.after,t.compare,c),i=a.data.intervals[r];return{date:Object(v.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(O.get)(t,["data","totals",a.key],null),secondary:Object(O.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,c=n.filterParam,i=n.interactiveLegend,u=n.itemsLabel,s=n.legendPosition,l=n.path,m=n.query,d=n.selectedChart,p=n.showHeaderControls,b=n.primaryData,_=Object(g.i)(m),v=Object(g.d)(m),O=Object(g.g)(_,b.data.intervals.length),j=o?Object(y.__)("No data for the current search","woocommerce-admin"):Object(y.__)("No data for the selected date range","woocommerce-admin"),h=this.context,R=h.formatCurrency,q=h.getCurrency;return Object(f.createElement)(w.Chart,{allowedIntervals:v,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:j,filterParam:c,interactiveLegend:i,interval:_,isRequesting:t,itemsLabel:u,legendPosition:s,legendTotals:a,mode:e,path:l,query:m,screenReaderFormat:O.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:O.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.e)(d.type,R),chartType:Object(g.e)(m),valueType:d.type,xFormat:O.xFormat,x2Format:O.x2Format,currency:q()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(f.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(f.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),c=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,c)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(f.Component);T.contextType=q.a,T.propTypes={filters:h.a.array,isRequesting:h.a.bool,itemsLabel:h.a.string,limitProperties:h.a.array,mode:h.a.string,path:h.a.string.isRequired,primaryData:h.a.object,query:h.a.object.isRequired,secondaryData:h.a.object,selectedChart:h.a.shape({key:h.a.string.isRequired,label:h.a.string.isRequired,order:h.a.oneOf(["asc","desc"]),orderby:h.a.string,type:h.a.oneOf(["average","number","currency"]).isRequired}).isRequired},T.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(_.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,c=t.limitProperties,i=t.query,u=t.advancedFilters,s=c||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var c=Object(D.flattenFilters)(o.filters),i=r[o.param]||o.defaultValue||"all";return Object(O.find)(c,{value:i})}return e(n,r,a)}(n,i),m=Object(O.get)(l,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(O.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(O.get)(e,["chartMode"])}return null}(l,i)||"time-comparison",p=e(R.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:m,defaultDateRange:p};if(o)return b;var f=s.some((function(e){return i[e]&&i[e].length}));if(i.search&&!f)return E(E({},b),{},{emptySearchResults:!0});var y=r&&r.map((function(e){return e.key})),_=Object(S.a)({endpoint:a,dataType:"primary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});if("item-comparison"===d)return E(E({},b),{},{primaryData:_});var v=Object(S.a)({endpoint:a,dataType:"secondary",query:i,select:e,limitBy:s,filters:n,advancedFilters:u,defaultDateRange:p,fields:y});return E(E({},b),{},{primaryData:_,secondaryData:v})})))(T)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),c=r.n(o),i=r(39),u=r.n(i),s=r(42),l=r.n(s),m=r(26),d=r.n(m),p=r(0),b=r(3),f=r(169),y=r(1),_=r.n(y),v=r(108),O=r(22),j=r(53),h=r(201),g=r(43),w=r(750),R=r(261),q=r(101),S=r(63),k=r(200);function C(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 r,a=d()(e);if(t){var n=d()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){u()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return c()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(h.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],c=a?0:n.secondary[e];return{delta:Object(h.calculateDelta)(o,c),prevValue:this.formatVal(c,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,c=t.summaryData,i=t.endpoint,u=t.report,s=t.defaultDateRange,l=c.isError,m=c.isRequesting;if(l)return Object(p.createElement)(R.a,{isError:!0});if(a||m)return Object(p.createElement)(j.SummaryListPlaceholder,{numberOfItems:r.length});var d=Object(v.h)(n,s).compare;return Object(p.createElement)(j.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,c=t.orderby,s=t.label,l=t.type,m={chart:r};c&&(m.orderby=c),n&&(m.order=n);var f=Object(O.getNewPath)(m),y=o.key===r,_=e.getValues(r,l),v=_.delta,h=_.prevValue,g=_.value;return Object(p.createElement)(j.SummaryNumber,{key:r,delta:v,href:f,label:s,prevLabel:"previous_period"===d?Object(b.__)("Previous Period:","woocommerce-admin"):Object(b.__)("Previous Year:","woocommerce-admin"),prevValue:h,selected:y,value:g,onLinkClickCallback:function(){a&&a(),Object(S.b)("analytics_chart_tab_click",{report:u||i,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:_.a.array.isRequired,endpoint:_.a.string.isRequired,limitProperties:_.a.array,query:_.a.object.isRequired,isRequesting:_.a.bool,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:_.a.object,report:_.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(f.a)(Object(q.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,c=t.query,i=t.filters,u=t.advancedFilters,s=o||[a];if(n)return{};var l=s.some((function(e){return c[e]&&c[e].length}));if(c.search&&!l)return{emptySearchResults:!0};var m=r&&r.map((function(e){return e.key})),d=e(g.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(w.d)({endpoint:a,query:c,select:e,limitBy:s,filters:i,advancedFilters:u,defaultDateRange:d,fields:m}),defaultDateRange:d}})))(D)},780:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return s}));var a=r(3),n=r(48),o=r(23),c=r(751),i=Object(n.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(a.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(a.__)("Average Order Value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(a.__)("Average Items Per Order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),u=Object(n.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Orders","woocommerce-admin"),value:"all"},{label:Object(a.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),s=Object(n.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(a._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(a.__)("Order Status","woocommerce-admin"),remove:Object(a.__)("Remove order status filter","woocommerce-admin"),rule:Object(a.__)("Select an order status filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(a._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(a._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(o.d).map((function(e){return{value:e,label:o.d[e]}}))}},product:{labels:{add:Object(a.__)("Products","woocommerce-admin"),placeholder:Object(a.__)("Search products","woocommerce-admin"),remove:Object(a.__)("Remove products filter","woocommerce-admin"),rule:Object(a.__)("Select a product filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:c.d}},coupon:{labels:{add:Object(a.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(a.__)("Search coupons","woocommerce-admin"),remove:Object(a.__)("Remove coupon filter","woocommerce-admin"),rule:Object(a.__)("Select a coupon filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:c.b}},customer_type:{labels:{add:Object(a.__)("Customer Type","woocommerce-admin"),remove:Object(a.__)("Remove customer filter","woocommerce-admin"),rule:Object(a.__)("Select a customer filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(a.__)("New","woocommerce-admin")},{value:"returning",label:Object(a.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(a.__)("Refunds","woocommerce-admin"),remove:Object(a.__)("Remove refunds filter","woocommerce-admin"),rule:Object(a.__)("Select a refund filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(a.__)("All","woocommerce-admin")},{value:"partial",label:Object(a.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(a.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(a.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(a.__)("Tax Rates","woocommerce-admin"),placeholder:Object(a.__)("Search tax rates","woocommerce-admin"),remove:Object(a.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(a.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(a.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(a.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(a._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(a._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:c.f}}}})},899:function(e,t,r){}}]);
|
dist/chunks/{18.78f9c9760c28db4b928b.js → 18.641586025741e6eaf968.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[18],{
|
2 |
|
3 |
-
/***/
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
1 |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[18],{
|
2 |
|
3 |
+
/***/ 742:
|
4 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
5 |
|
6 |
"use strict";
|
dist/chunks/{18.78f9c9760c28db4b928b.min.js → 18.641586025741e6eaf968.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{740:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(782),O=r(755),_=r(754),j=r(756),R=r(62),x=r.n(R),w=r(2),q=r(53),k=r(22),C=r(752),D=r(201),T=r(759),S=r(200);function P(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 r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){var e;return i()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(x()(e)),e.getRowsContent=e.getRowsContent.bind(x()(e)),e.getSummary=e.getSummary.bind(x()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Tax Code","woocommerce-admin"),key:"tax_code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Rate","woocommerce-admin"),key:"rate",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Tax","woocommerce-admin"),key:"total_tax",isSortable:!0},{label:Object(h.__)("Order Tax","woocommerce-admin"),key:"order_tax",isSortable:!0},{label:Object(h.__)("Shipping Tax","woocommerce-admin"),key:"shipping_tax",isSortable:!0},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,a=r.render,n=r.formatDecimal,o=r.getCurrency;return Object(w.map)(e,(function(e){var r=t.props.query,i=e.order_tax,c=e.orders_count,s=e.tax_rate,u=e.tax_rate_id,l=e.total_tax,d=e.shipping_tax,m=Object(C.a)(e),p=Object(k.getPersistedQuery)(r),f=Object(k.getNewPath)(p,"/analytics/orders",{filter:"advanced",tax_rate_includes:u});return[{display:Object(y.createElement)(q.Link,{href:f,type:"wc-admin"},m),value:m},{display:s.toFixed(2)+"%",value:s},{display:a(l),value:n(l)},{display:a(i),value:n(i)},{display:a(d),value:n(d)},{display:Object(D.formatValue)(o(),"number",c),value:c}]}))}},{key:"getSummary",value:function(e){var t=e.tax_codes,r=void 0===t?0:t,a=e.total_tax,n=void 0===a?0:a,o=e.order_tax,i=void 0===o?0:o,c=e.shipping_tax,s=void 0===c?0:c,u=e.orders_count,l=void 0===u?0:u,d=this.context,m=d.formatCurrency,p=(0,d.getCurrency)();return[{label:Object(h._n)("tax code","tax codes",r,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",r)},{label:Object(h.__)("total tax","woocommerce-admin"),value:m(n)},{label:Object(h.__)("order tax","woocommerce-admin"),value:m(i)},{label:Object(h.__)("shipping tax","woocommerce-admin"),value:m(s)},{label:Object(h._n)("order","orders",l,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",l)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.isRequesting,n=e.query;return Object(y.createElement)(T.a,{compareBy:"taxes",endpoint:"taxes",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["tax_codes","total_tax","order_tax","shipping_tax","orders_count"],isRequesting:a,itemIdField:"tax_rate_id",query:n,searchBy:"taxes",tableQuery:{orderby:n.orderby||"tax_rate_id"},title:Object(h.__)("Taxes","woocommerce-admin"),columnPrefsKey:"taxes_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);E.contextType=S.a;var F=E,L=r(757);function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function H(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 r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var N=function(e){l()(r,e);var t=H(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e="compare-taxes"===this.props.query.filter?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d taxes","woocommerce-admin"),mode:e}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,a=e.path,o=this.getChartMeta(),i=o.mode,c=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===i&&(s.segmentby="tax_rate_id"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(L.a,{query:r,path:a,filters:v.c,advancedFilters:v.a,report:"taxes"}),Object(y.createElement)(j.a,{charts:v.b,endpoint:"taxes",isRequesting:t,query:s,selectedChart:Object(O.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(_.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:i,endpoint:"taxes",query:s,path:a,isRequesting:t,itemsLabel:c,selectedChart:Object(O.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);N.propTypes={query:g.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var a=r(27),n=r(21),o=r.n(n),i=r(2),c=r(22),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i="function"==typeof e?e(n):e,s=Object(c.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(i,u)}).then((function(e){return e.map(t)}))}}var d=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),b=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(3),g=r(169),h=r(173),v=r(2),O=r(1),_=r.n(O),j=r(108),R=r(53),x=r(43),w=r(200),q=r(750),k=r(261),C=r(101),D=r(22);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(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 r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(v.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(j.i)(t),c=Object(j.f)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:c&&c.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(v.get)(t,["data","totals",a.key],null),secondary:Object(v.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,g=Object(j.i)(d),h=Object(j.d)(d),v=Object(j.g)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),_=this.context,x=_.formatCurrency,w=_.getCurrency;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:i,interactiveLegend:c,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.e)(m.type,x),chartType:Object(j.e)(d),valueType:m.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:w()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(y.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);E.contextType=w.a,E.propTypes={filters:_.a.array,isRequesting:_.a.bool,itemsLabel:_.a.string,limitProperties:_.a.array,mode:_.a.string,path:_.a.string.isRequired,primaryData:_.a.object,query:_.a.object.isRequired,secondaryData:_.a.object,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired},E.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,c=t.query,s=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(D.flattenFilters)(o.filters),c=r[o.param]||o.defaultValue||"all";return Object(v.find)(i,{value:c})}return e(n,r,a)}(n,c),d=Object(v.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(v.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(v.get)(e,["chartMode"])}return null}(l,c)||"time-comparison",p=e(x.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(q.a)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===m)return S(S({},f),{},{primaryData:g});var h=Object(q.a)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(E)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),i=r.n(o),c=r(39),s=r.n(c),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(3),y=r(169),b=r(1),g=r.n(b),h=r(108),v=r(22),O=r(53),_=r(201),j=r(43),R=r(750),x=r(261),w=r(101),q=r(63),k=r(200);function C(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 r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){s()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(_.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(_.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,i=t.summaryData,c=t.endpoint,s=t.report,u=t.defaultDateRange,l=i.isError,d=i.isRequesting;if(l)return Object(p.createElement)(x.a,{isError:!0});if(a||d)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(h.h)(n,u).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,i=t.orderby,u=t.label,l=t.type,d={chart:r};i&&(d.orderby=i),n&&(d.order=n);var y=Object(v.getNewPath)(d),b=o.key===r,g=e.getValues(r,l),h=g.delta,_=g.prevValue,j=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:_,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(q.b)("analytics_chart_tab_click",{report:s||c,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,isRequesting:g.a.bool,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(y.a)(Object(w.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,i=t.query,c=t.filters,s=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:a,query:i,select:e,limitBy:u,filters:c,advancedFilters:s,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(D)},782:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return l}));var a=r(3),n=r(48),o=r(751),i=r(752),c=r(33),s=Object(n.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(a.__)("Total Tax","woocommerce-admin"),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(a.__)("Order Tax","woocommerce-admin"),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(a.__)("Shipping Tax","woocommerce-admin"),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),u=Object(n.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Taxes","woocommerce-admin"),value:"all"},{label:Object(a.__)("Comparison","woocommerce-admin"),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(o.e)(c.c+"/taxes",(function(e){return{id:e.id,label:Object(i.a)(e)}})),labels:{helpText:Object(a.__)("Check at least two tax codes below to compare","woocommerce-admin"),placeholder:Object(a.__)("Search for tax codes to compare","woocommerce-admin"),title:Object(a.__)("Compare Tax Codes","woocommerce-admin"),update:Object(a.__)("Compare","woocommerce-admin")}}}]}]),l=Object(n.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})}}]);
|
1 |
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{742:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return N}));var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(1),g=r.n(b),h=r(3),v=r(782),O=r(755),_=r(754),j=r(756),R=r(62),x=r.n(R),w=r(2),q=r(53),k=r(22),C=r(752),D=r(201),T=r(759),S=r(200);function P(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 r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){var e;return i()(this,r),(e=t.call(this)).getHeadersContent=e.getHeadersContent.bind(x()(e)),e.getRowsContent=e.getRowsContent.bind(x()(e)),e.getSummary=e.getSummary.bind(x()(e)),e}return s()(r,[{key:"getHeadersContent",value:function(){return[{label:Object(h.__)("Tax Code","woocommerce-admin"),key:"tax_code",required:!0,isLeftAligned:!0,isSortable:!0},{label:Object(h.__)("Rate","woocommerce-admin"),key:"rate",isSortable:!0,isNumeric:!0},{label:Object(h.__)("Total Tax","woocommerce-admin"),key:"total_tax",isSortable:!0},{label:Object(h.__)("Order Tax","woocommerce-admin"),key:"order_tax",isSortable:!0},{label:Object(h.__)("Shipping Tax","woocommerce-admin"),key:"shipping_tax",isSortable:!0},{label:Object(h.__)("Orders","woocommerce-admin"),key:"orders_count",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0}]}},{key:"getRowsContent",value:function(e){var t=this,r=this.context,a=r.render,n=r.formatDecimal,o=r.getCurrency;return Object(w.map)(e,(function(e){var r=t.props.query,i=e.order_tax,c=e.orders_count,s=e.tax_rate,u=e.tax_rate_id,l=e.total_tax,d=e.shipping_tax,m=Object(C.a)(e),p=Object(k.getPersistedQuery)(r),f=Object(k.getNewPath)(p,"/analytics/orders",{filter:"advanced",tax_rate_includes:u});return[{display:Object(y.createElement)(q.Link,{href:f,type:"wc-admin"},m),value:m},{display:s.toFixed(2)+"%",value:s},{display:a(l),value:n(l)},{display:a(i),value:n(i)},{display:a(d),value:n(d)},{display:Object(D.formatValue)(o(),"number",c),value:c}]}))}},{key:"getSummary",value:function(e){var t=e.tax_codes,r=void 0===t?0:t,a=e.total_tax,n=void 0===a?0:a,o=e.order_tax,i=void 0===o?0:o,c=e.shipping_tax,s=void 0===c?0:c,u=e.orders_count,l=void 0===u?0:u,d=this.context,m=d.formatCurrency,p=(0,d.getCurrency)();return[{label:Object(h._n)("tax code","tax codes",r,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",r)},{label:Object(h.__)("total tax","woocommerce-admin"),value:m(n)},{label:Object(h.__)("order tax","woocommerce-admin"),value:m(i)},{label:Object(h.__)("shipping tax","woocommerce-admin"),value:m(s)},{label:Object(h._n)("order","orders",l,"woocommerce-admin"),value:Object(D.formatValue)(p,"number",l)}]}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,r=e.filters,a=e.isRequesting,n=e.query;return Object(y.createElement)(T.a,{compareBy:"taxes",endpoint:"taxes",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,getSummary:this.getSummary,summaryFields:["tax_codes","total_tax","order_tax","shipping_tax","orders_count"],isRequesting:a,itemIdField:"tax_rate_id",query:n,searchBy:"taxes",tableQuery:{orderby:n.orderby||"tax_rate_id"},title:Object(h.__)("Taxes","woocommerce-admin"),columnPrefsKey:"taxes_report_columns",filters:r,advancedFilters:t})}}]),r}(y.Component);E.contextType=S.a;var F=E,L=r(757);function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function H(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 r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var N=function(e){l()(r,e);var t=H(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"getChartMeta",value:function(){var e="compare-taxes"===this.props.query.filter?"item-comparison":"time-comparison";return{itemsLabel:Object(h.__)("%d taxes","woocommerce-admin"),mode:e}}},{key:"render",value:function(){var e=this.props,t=e.isRequesting,r=e.query,a=e.path,o=this.getChartMeta(),i=o.mode,c=o.itemsLabel,s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);return"item-comparison"===i&&(s.segmentby="tax_rate_id"),Object(y.createElement)(y.Fragment,null,Object(y.createElement)(L.a,{query:r,path:a,filters:v.c,advancedFilters:v.a,report:"taxes"}),Object(y.createElement)(j.a,{charts:v.b,endpoint:"taxes",isRequesting:t,query:s,selectedChart:Object(O.a)(r.chart,v.b),filters:v.c,advancedFilters:v.a}),Object(y.createElement)(_.a,{charts:v.b,filters:v.c,advancedFilters:v.a,mode:i,endpoint:"taxes",query:s,path:a,isRequesting:t,itemsLabel:c,selectedChart:Object(O.a)(r.chart,v.b)}),Object(y.createElement)(F,{isRequesting:t,query:r,filters:v.c,advancedFilters:v.a}))}}]),r}(y.Component);N.propTypes={query:g.a.object.isRequired}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return l})),r.d(t,"a",(function(){return d})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return f})),r.d(t,"f",(function(){return y})),r.d(t,"g",(function(){return b}));var a=r(27),n=r(21),o=r.n(n),i=r(2),c=r(22),s=r(752),u=r(33);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,i="function"==typeof e?e(n):e,s=Object(c.getIdsFromQuery)(r);if(s.length<1)return Promise.resolve([]);var u={include:s.join(","),per_page:s.length};return o()({path:Object(a.addQueryArgs)(i,u)}).then((function(e){return e.map(t)}))}}var d=l(u.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),m=l(u.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=l(u.c+"/customers",(function(e){return{key:e.id,label:e.name}})),f=l(u.c+"/products",(function(e){return{key:e.id,label:e.name}})),y=l(u.c+"/taxes",(function(e){return{key:e.id,label:Object(s.a)(e)}})),b=l((function(e){return u.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,a){return e+"".concat(t.option).concat(a.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(3);function n(e){return[e.country,e.state,e.name||Object(a.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var a=r(17),n=r.n(a),o=r(38),i=r.n(o),c=r(37),s=r.n(c),u=r(39),l=r.n(u),d=r(42),m=r.n(d),p=r(26),f=r.n(p),y=r(0),b=r(3),g=r(169),h=r(173),v=r(2),O=r(1),_=r.n(O),j=r(108),R=r(53),x=r(43),w=r(200),q=r(750),k=r(261),C=r(101),D=r(22);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(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 r,a=f()(e);if(t){var n=f()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return m()(this,r)}}var E=function(e){l()(r,e);var t=P(r);function r(){return i()(this,r),t.apply(this,arguments)}return s()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(v.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var a=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:a,value:e.subtotals[r.key]||0}}})),S({date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,a=e.secondaryData,n=e.selectedChart,o=e.defaultDateRange,i=Object(j.i)(t),c=Object(j.f)(t,o),s=c.primary,u=c.secondary;return r.data.intervals.map((function(e,r){var o=Object(j.j)(e.date_start,s.after,u.after,t.compare,i),c=a.data.intervals[r];return{date:Object(h.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:e.date_start,value:e.subtotals[n.key]||0},secondary:{label:"".concat(u.label," (").concat(u.range,")"),labelDate:o.format("YYYY-MM-DD HH:mm:ss"),value:c&&c.subtotals[n.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,a=e.selectedChart;return{primary:Object(v.get)(t,["data","totals",a.key],null),secondary:Object(v.get)(r,["data","totals",a.key],null)}}},{key:"renderChart",value:function(e,t,r,a){var n=this.props,o=n.emptySearchResults,i=n.filterParam,c=n.interactiveLegend,s=n.itemsLabel,u=n.legendPosition,l=n.path,d=n.query,m=n.selectedChart,p=n.showHeaderControls,f=n.primaryData,g=Object(j.i)(d),h=Object(j.d)(d),v=Object(j.g)(g,f.data.intervals.length),O=o?Object(b.__)("No data for the current search","woocommerce-admin"):Object(b.__)("No data for the selected date range","woocommerce-admin"),_=this.context,x=_.formatCurrency,w=_.getCurrency;return Object(y.createElement)(R.Chart,{allowedIntervals:h,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:O,filterParam:i,interactiveLegend:c,interval:g,isRequesting:t,itemsLabel:s,legendPosition:u,legendTotals:a,mode:e,path:l,query:d,screenReaderFormat:v.screenReaderFormat,showHeaderControls:p,title:m.label,tooltipLabelFormat:v.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&m.label||null,tooltipValueFormat:Object(q.e)(m.type,x),chartType:Object(j.e)(d),valueType:m.type,xFormat:v.xFormat,x2Format:v.x2Format,currency:w()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(y.createElement)(k.a,{isError:!0});var a=t||r.isRequesting,n=this.getItemChartData();return this.renderChart("item-comparison",a,n)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,a=e.secondaryData;if(!r||r.isError||a.isError)return Object(y.createElement)(k.a,{isError:!0});var n=t||r.isRequesting||a.isRequesting,o=this.getTimeChartData(),i=this.getTimeChartTotals();return this.renderChart("time-comparison",n,o,i)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(y.Component);E.contextType=w.a,E.propTypes={filters:_.a.array,isRequesting:_.a.bool,itemsLabel:_.a.string,limitProperties:_.a.array,mode:_.a.string,path:_.a.string.isRequired,primaryData:_.a.object,query:_.a.object.isRequired,secondaryData:_.a.object,selectedChart:_.a.shape({key:_.a.string.isRequired,label:_.a.string.isRequired,order:_.a.oneOf(["asc","desc"]),orderby:_.a.string,type:_.a.oneOf(["average","number","currency"]).isRequired}).isRequired},E.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(g.a)(Object(C.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.filters,o=t.isRequesting,i=t.limitProperties,c=t.query,s=t.advancedFilters,u=i||[a],l=function e(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var n=t.slice(0),o=n.pop();if(o.showFilters(r,a)){var i=Object(D.flattenFilters)(o.filters),c=r[o.param]||o.defaultValue||"all";return Object(v.find)(i,{value:c})}return e(n,r,a)}(n,c),d=Object(v.get)(l,["settings","param"]),m=t.mode||function(e,t){if(e&&t){var r=Object(v.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(v.get)(e,["chartMode"])}return null}(l,c)||"time-comparison",p=e(x.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,f={mode:m,filterParam:d,defaultDateRange:p};if(o)return f;var y=u.some((function(e){return c[e]&&c[e].length}));if(c.search&&!y)return S(S({},f),{},{emptySearchResults:!0});var b=r&&r.map((function(e){return e.key})),g=Object(q.a)({endpoint:a,dataType:"primary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});if("item-comparison"===m)return S(S({},f),{},{primaryData:g});var h=Object(q.a)({endpoint:a,dataType:"secondary",query:c,select:e,limitBy:u,filters:n,advancedFilters:s,defaultDateRange:p,fields:b});return S(S({},f),{},{primaryData:g,secondaryData:h})})))(E)},755:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(2);function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object(a.find)(t,{key:e});return r||t[0]}},756:function(e,t,r){"use strict";var a=r(38),n=r.n(a),o=r(37),i=r.n(o),c=r(39),s=r.n(c),u=r(42),l=r.n(u),d=r(26),m=r.n(d),p=r(0),f=r(3),y=r(169),b=r(1),g=r.n(b),h=r(108),v=r(22),O=r(53),_=r(201),j=r(43),R=r(750),x=r(261),w=r(101),q=r(63),k=r(200);function C(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 r,a=m()(e);if(t){var n=m()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return l()(this,r)}}var D=function(e){s()(r,e);var t=C(r);function r(){return n()(this,r),t.apply(this,arguments)}return i()(r,[{key:"formatVal",value:function(e,t){var r=this.context,a=r.formatCurrency,n=r.getCurrency;return"currency"===t?a(e):Object(_.formatValue)(n(),t,e)}},{key:"getValues",value:function(e,t){var r=this.props,a=r.emptySearchResults,n=r.summaryData.totals,o=a?0:n.primary[e],i=a?0:n.secondary[e];return{delta:Object(_.calculateDelta)(o,i),prevValue:this.formatVal(i,t),value:this.formatVal(o,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.charts,a=t.isRequesting,n=t.query,o=t.selectedChart,i=t.summaryData,c=t.endpoint,s=t.report,u=t.defaultDateRange,l=i.isError,d=i.isRequesting;if(l)return Object(p.createElement)(x.a,{isError:!0});if(a||d)return Object(p.createElement)(O.SummaryListPlaceholder,{numberOfItems:r.length});var m=Object(h.h)(n,u).compare;return Object(p.createElement)(O.SummaryList,null,(function(t){var a=t.onToggle;return r.map((function(t){var r=t.key,n=t.order,i=t.orderby,u=t.label,l=t.type,d={chart:r};i&&(d.orderby=i),n&&(d.order=n);var y=Object(v.getNewPath)(d),b=o.key===r,g=e.getValues(r,l),h=g.delta,_=g.prevValue,j=g.value;return Object(p.createElement)(O.SummaryNumber,{key:r,delta:h,href:y,label:u,prevLabel:"previous_period"===m?Object(f.__)("Previous Period:","woocommerce-admin"):Object(f.__)("Previous Year:","woocommerce-admin"),prevValue:_,selected:b,value:j,onLinkClickCallback:function(){a&&a(),Object(q.b)("analytics_chart_tab_click",{report:s||c,key:r})}})}))}))}}]),r}(p.Component);D.propTypes={charts:g.a.array.isRequired,endpoint:g.a.string.isRequired,limitProperties:g.a.array,query:g.a.object.isRequired,isRequesting:g.a.bool,selectedChart:g.a.shape({key:g.a.string.isRequired,label:g.a.string.isRequired,order:g.a.oneOf(["asc","desc"]),orderby:g.a.string,type:g.a.oneOf(["average","number","currency"]).isRequired}).isRequired,summaryData:g.a.object,report:g.a.string},D.defaultProps={summaryData:{totals:{primary:{},secondary:{}},isError:!1,isRequesting:!1}},D.contextType=k.a,t.a=Object(y.a)(Object(w.a)((function(e,t){var r=t.charts,a=t.endpoint,n=t.isRequesting,o=t.limitProperties,i=t.query,c=t.filters,s=t.advancedFilters,u=o||[a];if(n)return{};var l=u.some((function(e){return i[e]&&i[e].length}));if(i.search&&!l)return{emptySearchResults:!0};var d=r&&r.map((function(e){return e.key})),m=e(j.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range;return{summaryData:Object(R.d)({endpoint:a,query:i,select:e,limitBy:u,filters:c,advancedFilters:s,defaultDateRange:m,fields:d}),defaultDateRange:m}})))(D)},782:function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return l}));var a=r(3),n=r(48),o=r(751),i=r(752),c=r(33),s=Object(n.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(a.__)("Total Tax","woocommerce-admin"),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(a.__)("Order Tax","woocommerce-admin"),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(a.__)("Shipping Tax","woocommerce-admin"),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(a.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),u=Object(n.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(a.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(a.__)("All Taxes","woocommerce-admin"),value:"all"},{label:Object(a.__)("Comparison","woocommerce-admin"),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(o.e)(c.c+"/taxes",(function(e){return{id:e.id,label:Object(i.a)(e)}})),labels:{helpText:Object(a.__)("Check at least two tax codes below to compare","woocommerce-admin"),placeholder:Object(a.__)("Search for tax codes to compare","woocommerce-admin"),title:Object(a.__)("Compare Tax Codes","woocommerce-admin"),update:Object(a.__)("Compare","woocommerce-admin")}}}]}]),l=Object(n.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})}}]);
|
dist/chunks/{19.fa18e63feec2f7702031.js → 19.bb66eb756cb7200836eb.js}
RENAMED
@@ -607,7 +607,7 @@ var external_this_wc_data_ = __webpack_require__(43);
|
|
607 |
var settings = __webpack_require__(794);
|
608 |
|
609 |
// EXTERNAL MODULE: ./client/analytics/settings/config.js + 1 modules
|
610 |
-
var config = __webpack_require__(
|
611 |
|
612 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
|
613 |
var classCallCheck = __webpack_require__(38);
|
607 |
var settings = __webpack_require__(794);
|
608 |
|
609 |
// EXTERNAL MODULE: ./client/analytics/settings/config.js + 1 modules
|
610 |
+
var config = __webpack_require__(271);
|
611 |
|
612 |
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/classCallCheck.js
|
613 |
var classCallCheck = __webpack_require__(38);
|
dist/chunks/{19.fa18e63feec2f7702031.min.js → 19.bb66eb756cb7200836eb.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{112:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(0),n=new WeakMap;function o(e){return Object(a.useMemo)((function(){return function(e){var t=n.get(e)||0;return n.set(e,t+1),t}(e)}),[e])}},128:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(8),c=r.n(o),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.as,r=void 0===t?"div":t,o=e.className,l=Object(n.a)(e,["as","className"]);return function(e){var t=e.as,r=void 0===t?"div":t,a=Object(n.a)(e,["as"]);return"function"==typeof a.children?a.children(a):Object(i.createElement)(r,a)}(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({as:r,className:c()("components-visually-hidden",o)},l))}},171:function(e,t,r){"use strict";var a=r(0),n=r(8),o=r.n(n),c=r(128);function i(e){var t=e.id,r=e.label,n=e.hideLabelFromVision,s=e.help,l=e.className,m=e.children;return Object(a.createElement)("div",{className:o()("components-base-control",l)},Object(a.createElement)("div",{className:"components-base-control__field"},r&&t&&(n?Object(a.createElement)(c.a,{as:"label",htmlFor:t},r):Object(a.createElement)("label",{className:"components-base-control__label",htmlFor:t},r)),r&&!t&&(n?Object(a.createElement)(c.a,{as:"label"},r):Object(a.createElement)(i.VisualLabel,null,r)),m),!!s&&Object(a.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,r=e.children;return t=o()("components-base-control__label",t),Object(a.createElement)("span",{className:t},r)},t.a=i},265:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(0);function n(){return Object(a.createElement)("span",{className:"components-spinner"})}},422:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(0);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,s=Object(n.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},s))}},720:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(15),o=r(14),c=r(0),i=r(2),s=r(112),l=r(171);function m(e){var t=e.help,r=e.label,u=e.multiple,p=void 0!==u&&u,d=e.onChange,b=e.options,f=void 0===b?[]:b,h=e.className,O=e.hideLabelFromVision,j=Object(o.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),v=Object(s.a)(m),g="inspector-select-control-".concat(v);return!Object(i.isEmpty)(f)&&Object(c.createElement)(l.a,{label:r,hideLabelFromVision:O,id:g,help:t,className:h},Object(c.createElement)("select",Object(a.a)({id:g,className:"components-select-control__input",onChange:function(e){if(p){var t=Object(n.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));d(t)}else d(e.target.value)},"aria-describedby":t?"".concat(g,"__help"):void 0,multiple:p},j),f.map((function(e,t){return Object(c.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}},729:function(e,t,r){"use strict";var a=r(12),n=r(9),o=r(7),c=r(5),i=r(11),s=r(4),l=r(10),m=r(0),u=r(2),p=r(127),d=r(54);function b(){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}}t.a=Object(d.a)((function(e){return function(t){Object(l.a)(f,t);var r,d=(r=f,function(){var e,t=Object(s.a)(r);if(b()){var a=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function f(){var e;return Object(n.a)(this,f),(e=d.apply(this,arguments)).debouncedSpeak=Object(u.debounce)(e.speak.bind(Object(c.a)(e)),500),e}return Object(o.a)(f,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(p.a)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(m.createElement)(e,Object(a.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),f}(m.Component)}),"withSpokenMessages")},768:function(e,t,r){"use strict";var a=r(0),n=r(32),o=Object(a.createElement)(n.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(n.a,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}));t.a=o},772:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(14),o=r(0),c=r(112),i=r(422),s=r(768),l=r(171);function m(e){var t=e.label,r=e.className,u=e.heading,p=e.checked,d=e.help,b=e.onChange,f=Object(n.a)(e,["label","className","heading","checked","help","onChange"]),h=Object(c.a)(m),O="inspector-checkbox-control-".concat(h);return Object(o.createElement)(l.a,{label:u,id:O,help:d,className:r},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(a.a)({id:O,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return b(e.target.checked)},checked:p,"aria-describedby":d?O+"__help":void 0},f)),p?Object(o.createElement)(i.a,{icon:s.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:O},t))}},794:function(e,t,r){},795:function(e,t,r){},796:function(e,t,r){},922:function(e,t,r){"use strict";r.r(t);var a=r(80),n=r.n(a),o=r(41),c=r.n(o),i=r(17),s=r.n(i),l=r(0),m=r(3),u=r(67),p=r(169),d=r(18),b=r(53),f=r(43),h=(r(794),r(270)),O=r(38),j=r.n(O),v=r(37),g=r.n(v),y=r(39),_=r.n(y),w=r(42),k=r.n(w),S=r(26),E=r.n(S),D=r(772),I=r(1),P=r.n(I),N=r(2);r(795);function C(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 r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var T=function(e){_()(r,e);var t=C(r);function r(e){var a;return j()(this,r),(a=t.call(this,e)).renderInput=function(){var e=a.props,t=e.handleChange,r=e.name,o=e.inputText,c=e.inputType,i=e.options,s=e.value,m=e.component,p=a.state.disabled;switch(c){case"checkboxGroup":return i.map((function(e){return e.options.length>0&&Object(l.createElement)("div",{className:"woocommerce-setting__options-group",key:e.key,"aria-labelledby":r+"-label"},e.label&&Object(l.createElement)("span",{className:"woocommerce-setting__options-group-label"},e.label),a.renderCheckboxOptions(e.options))}));case"checkbox":return a.renderCheckboxOptions(i);case"button":return Object(l.createElement)(u.a,{isSecondary:!0,onClick:a.handleInputCallback,disabled:p},o);case"component":var d=m;return Object(l.createElement)(d,n()({value:s,onChange:t},a.props));case"text":default:var b=Object(N.uniqueId)(r);return Object(l.createElement)("input",{id:b,type:"text",name:r,onChange:t,value:s,placeholder:o,disabled:p})}},a.handleInputCallback=function(){var e=a.props,t=e.createNotice,r=e.callback;if("function"==typeof r)return new Promise((function(e,n){a.setState({disabled:!0}),r(e,n,t)})).then((function(){a.setState({disabled:!1})})).catch((function(){a.setState({disabled:!1})}))},a.state={disabled:!1},a}return g()(r,[{key:"renderCheckboxOptions",value:function(e){var t=this.props,r=t.handleChange,a=t.name,n=t.value,o=this.state.disabled;return e.map((function(e){return Object(l.createElement)(D.a,{key:a+"-"+e.value,label:e.label,name:a,checked:n&&n.includes(e.value),onChange:function(t){return r({target:{checked:t,name:a,type:"checkbox",value:e.value}})},disabled:o})}))}},{key:"render",value:function(){var e=this.props,t=e.helpText,r=e.label,a=e.name;return Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__label",id:a+"-label"},r),Object(l.createElement)("div",{className:"woocommerce-setting__input"},this.renderInput(),t&&Object(l.createElement)("span",{className:"woocommerce-setting__help"},t)))}}]),r}(l.Component);T.propTypes={callback:P.a.func,handleChange:P.a.func.isRequired,helpText:P.a.oneOfType([P.a.string,P.a.array]),inputText:P.a.string,inputType:P.a.oneOf(["button","checkbox","checkboxGroup","text","component"]),label:P.a.string.isRequired,name:P.a.string.isRequired,options:P.a.arrayOf(P.a.shape({value:P.a.string,label:P.a.string,description:P.a.string,key:P.a.string,options:P.a.array})),value:P.a.oneOfType([P.a.string,P.a.array])};var R=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(T),F=r(62),x=r.n(F),L=r(27),A=r(21),z=r.n(A),V=r(16),M=r.n(V),Y=r(729),q=function(e,t,r){var a={};if(r&&(a.skip_existing=!0),"all"!==t.label)if("custom"===t.label){var n=M()().diff(M()(t.date,e),"days",!0);a.days=Math.floor(n)}else a.days=parseInt(t.label,10);return a},Q=r(170),B=r(33);var H=function(e){var t,r=e.importDate,a=e.onDeletePreviousData,n=e.onReimportData,o=e.onStartImport,c=e.onStopImport,i=e.status;return Object(l.createElement)("div",{className:"woocommerce-settings__actions woocommerce-settings-historical-data__actions"},(t="ready"!==i,["initializing","customers","orders","finalizing"].includes(i)?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{className:"woocommerce-settings-historical-data__action-button",isPrimary:!0,onClick:c},Object(m.__)("Stop Import","woocommerce-admin")),Object(l.createElement)("div",{className:"woocommerce-setting__help woocommerce-settings-historical-data__action-help"},Object(m.__)("Imported data will not be lost if the import is stopped.","woocommerce-admin"),Object(l.createElement)("br",null),Object(m.__)("Navigating away from this page will not affect the import.","woocommerce-admin"))):["ready","nothing"].includes(i)?r?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start","woocommerce-admin")),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data","woocommerce-admin"))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start","woocommerce-admin"))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isSecondary:!0,onClick:n},Object(m.__)("Re-import Data","woocommerce-admin")),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data","woocommerce-admin")))))},U=r(720),G=r(108);var W=function(e){var t,r=e.dateFormat,a=e.disabled,n=e.onDateChange,o=e.onPeriodChange,c=e.value,i=function(e){e.date&&e.date.isValid?n(e.date.format(r)):n(e.text)},s=function(e){return e.isValid()&&c.date.length===r.length?e.isAfter(new Date,"day")?G.b.future:null:G.b.invalid};return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__columns"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)(U.a,{label:Object(m.__)("Import Historical Data","woocommerce-admin"),value:c.label,disabled:a,onChange:function(e){o(e)},options:[{label:"All",value:"all"},{label:"Last 365 days",value:"365"},{label:"Last 90 days",value:"90"},{label:"Last 30 days",value:"30"},{label:"Last 7 days",value:"7"},{label:"Last 24 hours",value:"1"},{label:"Custom",value:"custom"}]})),"custom"===c.label&&(t=M()(c.date,r),Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column-label"},Object(m.__)("Beginning on","woocommerce-admin")),Object(l.createElement)(b.DatePicker,{date:t.isValid()?t.toDate():null,dateFormat:r,disabled:a,error:s(t),isInvalidDate:function(e){return M()(e).isAfter(new Date,"day")},onUpdate:i,text:c.date}))))};var J=function(e){var t=e.label,r=e.progress,a=e.total,n=Object(m.sprintf)(Object(m.__)("Imported %(label)s","woocommerce-admin"),{label:t}),o=Object(N.isNil)(a)?null:Object(m.sprintf)(Object(m.__)("%(progress)s of %(total)s","woocommerce-admin"),{progress:r||0,total:a});return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__progress"},Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},n),o&&Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},o),Object(l.createElement)("progress",{className:"woocommerce-settings-historical-data__progress-bar",max:a,value:r||0}))},K=r(48),X=r(265);var Z=Object(b.useFilters)("woocommerce_admin_import_status")((function(e){var t=e.importDate,r=e.status,a=Object(K.applyFilters)("woocommerce_admin_import_status",{nothing:Object(m.__)("Nothing To Import","woocommerce-admin"),ready:Object(m.__)("Ready To Import","woocommerce-admin"),initializing:[Object(m.__)("Initializing","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],customers:[Object(m.__)("Importing Customers","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],orders:[Object(m.__)("Importing Orders","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],finalizing:[Object(m.__)("Finalizing","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],finished:-1===t?Object(m.__)("All historical data imported","woocommerce-admin"):Object(m.sprintf)(Object(m.__)("Historical data from %s onward imported","woocommerce-admin"),M()(t).format("YYYY-MM-DD"))});return Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__status"},Object(m.__)("Status:","woocommerce-admin")+" ",a[r])}));var $=function(e){var t=e.checked,r=e.disabled,a=e.onChange;return Object(l.createElement)(D.a,{className:"woocommerce-settings-historical-data__skip-checkbox",checked:t,disabled:r,label:Object(m.__)("Skip previously imported customers and orders","woocommerce-admin"),onChange:a})},ee=r(101);r(796);function te(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 r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var re=function(e){_()(r,e);var t=te(r);function r(){return j()(this,r),t.apply(this,arguments)}return g()(r,[{key:"render",value:function(){var e=this.props,t=e.customersProgress,r=e.customersTotal,a=e.dateFormat,n=e.importDate,o=e.inProgress,c=e.onPeriodChange,i=e.onDateChange,s=e.onSkipChange,u=e.onDeletePreviousData,p=e.onReimportData,d=e.onStartImport,f=e.onStopImport,h=e.ordersProgress,O=e.ordersTotal,j=e.period,v=e.skipChecked,g=function(e){var t=e.customersProgress,r=e.customersTotal,a=e.inProgress,n=e.ordersProgress,o=e.ordersTotal;return a?Object(N.isNil)(t)||Object(N.isNil)(n)||Object(N.isNil)(r)||Object(N.isNil)(o)?"initializing":t<r?"customers":n<o?"orders":"finalizing":r>0||o>0?t===r&&n===o?"finished":"ready":"nothing"}({customersProgress:t,customersTotal:r,inProgress:o,ordersProgress:h,ordersTotal:O});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Import Historical Data","woocommerce-admin")}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__input"},Object(l.createElement)("span",{className:"woocommerce-setting__help"},Object(m.__)("This tool populates historical analytics data by processing customers and orders created prior to activating WooCommerce Admin.","woocommerce-admin")),"finished"!==g&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(W,{dateFormat:a,disabled:o,onPeriodChange:c,onDateChange:i,value:j}),Object(l.createElement)($,{disabled:o,checked:v,onChange:s}),Object(l.createElement)(J,{label:Object(m.__)("Registered Customers","woocommerce-admin"),progress:t,total:r}),Object(l.createElement)(J,{label:Object(m.__)("Orders and Refunds","woocommerce-admin"),progress:h,total:O})),Object(l.createElement)(Z,{importDate:n,status:g})))),Object(l.createElement)(H,{importDate:n,onDeletePreviousData:u,onReimportData:p,onStartImport:d,onStopImport:f,status:g}))}}]),r}(l.Component),ae=Object(ee.a)((function(e,t){var r=e("wc-api"),a=r.getImportStatus,n=r.isGetImportStatusRequesting,o=r.getImportTotals,c=t.activeImport,i=t.dateFormat,s=t.lastImportStartTimestamp,l=t.lastImportStopTimestamp,m=t.onImportStarted,u=t.onImportFinished,p=t.period,d=t.skipChecked,b=void 0!==s&&void 0===l||s>l,f=o(q(i,p,d),l),h=f.customers,O=f.orders,j=a(s,b?{freshness:3*Q.c,timeout:3*Q.c}:B.a),v=j.customers,g=j.imported_from,y=j.is_importing,_=j.orders,w=v||{},k=w.imported,S=w.total,E=_||{},D=E.imported,I=E.total,P=n(s);return Boolean(!s&&!P&&!b&&!0===y)&&m(),Boolean(!P&&b&&!1===y&&(k===S&&S>0||D===I&&I>0))&&u(),c?{customersProgress:k,customersTotal:Object(N.isNil)(S)?h:S,importDate:g,inProgress:b,ordersProgress:D,ordersTotal:Object(N.isNil)(I)?O:I}:{customersTotal:h,importDate:g,ordersTotal:O}}))(re),ne=r(63);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ie(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 r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var se=function(e){_()(r,e);var t=ie(r);function r(){var e;return j()(this,r),(e=t.apply(this,arguments)).dateFormat=Object(m.__)("MM/DD/YYYY","woocommerce-admin"),e.state={activeImport:null,lastImportStartTimestamp:0,lastImportStopTimestamp:0,period:{date:M()().format(e.dateFormat),label:"all"},skipChecked:!0},e.makeQuery=e.makeQuery.bind(x()(e)),e.onImportFinished=e.onImportFinished.bind(x()(e)),e.onImportStarted=e.onImportStarted.bind(x()(e)),e.onDeletePreviousData=e.onDeletePreviousData.bind(x()(e)),e.onReimportData=e.onReimportData.bind(x()(e)),e.onStartImport=e.onStartImport.bind(x()(e)),e.onStopImport=e.onStopImport.bind(x()(e)),e.onDateChange=e.onDateChange.bind(x()(e)),e.onPeriodChange=e.onPeriodChange.bind(x()(e)),e.onSkipChange=e.onSkipChange.bind(x()(e)),e}return g()(r,[{key:"makeQuery",value:function(e,t){var r=this,a=this.props.createNotice;z()({path:e,method:"POST"}).then((function(e){"success"===e.status?a("success",e.message):(a("error",t),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))})).catch((function(e){e&&e.message&&(a("error",e.message),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))}))}},{key:"onImportFinished",value:function(){(0,this.props.debouncedSpeak)("Import complete"),this.setState({lastImportStopTimestamp:Date.now()})}},{key:"onImportStarted",value:function(){var e=this.props,t=e.notes,r=e.updateNote,a=t.find((function(e){return"wc-admin-historical-data"===e.name}));a&&r(a.id,{status:"actioned"}),this.setState({activeImport:!0,lastImportStartTimestamp:Date.now()})}},{key:"onDeletePreviousData",value:function(){var e=Object(m.__)("There was a problem deleting your previous data.","woocommerce-admin");this.makeQuery("/wc-analytics/reports/import/delete",e),this.setState({activeImport:!1}),Object(ne.b)("analytics_import_delete_previous")}},{key:"onReimportData",value:function(){this.setState({activeImport:!1})}},{key:"onStartImport",value:function(){var e=this.state,t=e.period,r=e.skipChecked,a=Object(L.addQueryArgs)("/wc-analytics/reports/import",q(this.dateFormat,t,r)),n=Object(m.__)("There was a problem rebuilding your report data.","woocommerce-admin");this.makeQuery(a,n),this.onImportStarted()}},{key:"onStopImport",value:function(){this.setState({lastImportStopTimestamp:Date.now()});var e=Object(m.__)("There was a problem stopping your current import.","woocommerce-admin");this.makeQuery("/wc-analytics/reports/import/cancel",e)}},{key:"onPeriodChange",value:function(e){this.setState({activeImport:!1,period:ce(ce({},this.state.period),{},{label:e})})}},{key:"onDateChange",value:function(e){this.setState({activeImport:!1,period:{date:e,label:"custom"}})}},{key:"onSkipChange",value:function(e){this.setState({activeImport:!1,skipChecked:e})}},{key:"render",value:function(){var e=this.state,t=e.activeImport,r=e.lastImportStartTimestamp,a=e.lastImportStopTimestamp,n=e.period,o=e.skipChecked;return Object(l.createElement)(ae,{activeImport:t,dateFormat:this.dateFormat,onImportFinished:this.onImportFinished,onImportStarted:this.onImportStarted,lastImportStartTimestamp:r,lastImportStopTimestamp:a,onPeriodChange:this.onPeriodChange,onDateChange:this.onDateChange,onSkipChange:this.onSkipChange,onDeletePreviousData:this.onDeletePreviousData,onReimportData:this.onReimportData,onStartImport:this.onStartImport,onStopImport:this.onStopImport,period:n,skipChecked:o})}}]),r}(l.Component),le=Object(p.a)([Object(ee.a)((function(e){return{notes:(0,e("wc-api").getNotes)({page:1,per_page:B.d.pageSize,type:"update",status:"unactioned"})}})),Object(d.withDispatch)((function(e){return{updateNote:e("wc-api").updateNote}})),Y.a])(se);function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.default=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(Object(b.useFilters)("woocommerce_admin_analytics_settings")((function(e){var t=e.createNotice,r=e.query,a=Object(f.useSettings)("wc_admin",["wcAdminSettings"]),o=a.settingsError,i=a.isRequesting,p=a.isDirty,d=a.persistSettings,O=a.updateAndPersistSettings,j=a.updateSettings,v=a.wcAdminSettings,g=Object(l.useRef)(!1);Object(l.useEffect)((function(){function e(e){if(p)return e.returnValue=Object(m.__)("You have unsaved changes. If you proceed, they will be lost.","woocommerce-admin"),e.returnValue}return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}}),[p]),Object(l.useEffect)((function(){i?g.current=!0:!i&&g.current&&(o?t("error",Object(m.__)("There was an error saving your settings. Please try again.","woocommerce-admin")):t("success",Object(m.__)("Your settings have been successfully saved.","woocommerce-admin")),g.current=!1)}),[i,o,t]);var y=function(e){var t=e.target,r=t.checked,a=t.name,n=t.type,o=t.value,i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},v);i[a]="checkbox"===n?r?[].concat(c()(i[a]),[o]):i[a].filter((function(e){return e!==o})):o,j("wcAdminSettings",i)};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Analytics Settings","woocommerce-admin")}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object.keys(h.b).map((function(e){return Object(l.createElement)(R,n()({handleChange:y,value:v[e],key:e,name:e},h.b[e]))})),Object(l.createElement)("div",{className:"woocommerce-settings__actions"},Object(l.createElement)(u.a,{isSecondary:!0,onClick:function(){if(window.confirm(Object(m.__)("Are you sure you want to reset all settings to default values?","woocommerce-admin"))){var e=Object.keys(h.b).reduce((function(e,t){return e[t]=h.b[t].defaultValue,e}),{});O("wcAdminSettings",e),Object(ne.b)("analytics_settings_reset_defaults")}}},Object(m.__)("Reset Defaults","woocommerce-admin")),Object(l.createElement)(u.a,{isPrimary:!0,isBusy:i,onClick:function(){d(),Object(ne.b)("analytics_settings_save",v),r.period=void 0,r.compare=void 0,r.before=void 0,r.after=void 0,r.interval=void 0,r.type=void 0,window.wpNavMenuUrlUpdate(r)}},Object(m.__)("Save Settings","woocommerce-admin")))),"true"===r.import?Object(l.createElement)(b.ScrollTo,{offset:"-56"},Object(l.createElement)(le,{createNotice:t})):Object(l.createElement)(le,{createNotice:t}))})))}}]);
|
1 |
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{112:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var a=r(0),n=new WeakMap;function o(e){return Object(a.useMemo)((function(){return function(e){var t=n.get(e)||0;return n.set(e,t+1),t}(e)}),[e])}},128:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(8),c=r.n(o),i=r(0);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.as,r=void 0===t?"div":t,o=e.className,l=Object(n.a)(e,["as","className"]);return function(e){var t=e.as,r=void 0===t?"div":t,a=Object(n.a)(e,["as"]);return"function"==typeof a.children?a.children(a):Object(i.createElement)(r,a)}(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({as:r,className:c()("components-visually-hidden",o)},l))}},171:function(e,t,r){"use strict";var a=r(0),n=r(8),o=r.n(n),c=r(128);function i(e){var t=e.id,r=e.label,n=e.hideLabelFromVision,s=e.help,l=e.className,m=e.children;return Object(a.createElement)("div",{className:o()("components-base-control",l)},Object(a.createElement)("div",{className:"components-base-control__field"},r&&t&&(n?Object(a.createElement)(c.a,{as:"label",htmlFor:t},r):Object(a.createElement)("label",{className:"components-base-control__label",htmlFor:t},r)),r&&!t&&(n?Object(a.createElement)(c.a,{as:"label"},r):Object(a.createElement)(i.VisualLabel,null,r)),m),!!s&&Object(a.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,r=e.children;return t=o()("components-base-control__label",t),Object(a.createElement)("span",{className:t},r)},t.a=i},265:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var a=r(0);function n(){return Object(a.createElement)("span",{className:"components-spinner"})}},422:function(e,t,r){"use strict";var a=r(6),n=r(14),o=r(0);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.a=function(e){var t=e.icon,r=e.size,i=void 0===r?24:r,s=Object(n.a)(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){Object(a.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({width:i,height:i},s))}},720:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(15),o=r(14),c=r(0),i=r(2),s=r(112),l=r(171);function m(e){var t=e.help,r=e.label,u=e.multiple,p=void 0!==u&&u,d=e.onChange,b=e.options,f=void 0===b?[]:b,h=e.className,O=e.hideLabelFromVision,j=Object(o.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),v=Object(s.a)(m),g="inspector-select-control-".concat(v);return!Object(i.isEmpty)(f)&&Object(c.createElement)(l.a,{label:r,hideLabelFromVision:O,id:g,help:t,className:h},Object(c.createElement)("select",Object(a.a)({id:g,className:"components-select-control__input",onChange:function(e){if(p){var t=Object(n.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));d(t)}else d(e.target.value)},"aria-describedby":t?"".concat(g,"__help"):void 0,multiple:p},j),f.map((function(e,t){return Object(c.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}},729:function(e,t,r){"use strict";var a=r(12),n=r(9),o=r(7),c=r(5),i=r(11),s=r(4),l=r(10),m=r(0),u=r(2),p=r(127),d=r(54);function b(){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}}t.a=Object(d.a)((function(e){return function(t){Object(l.a)(f,t);var r,d=(r=f,function(){var e,t=Object(s.a)(r);if(b()){var a=Object(s.a)(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return Object(i.a)(this,e)});function f(){var e;return Object(n.a)(this,f),(e=d.apply(this,arguments)).debouncedSpeak=Object(u.debounce)(e.speak.bind(Object(c.a)(e)),500),e}return Object(o.a)(f,[{key:"speak",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"polite";Object(p.a)(e,t)}},{key:"componentWillUnmount",value:function(){this.debouncedSpeak.cancel()}},{key:"render",value:function(){return Object(m.createElement)(e,Object(a.a)({},this.props,{speak:this.speak,debouncedSpeak:this.debouncedSpeak}))}}]),f}(m.Component)}),"withSpokenMessages")},768:function(e,t,r){"use strict";var a=r(0),n=r(32),o=Object(a.createElement)(n.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(n.a,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}));t.a=o},772:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var a=r(12),n=r(14),o=r(0),c=r(112),i=r(422),s=r(768),l=r(171);function m(e){var t=e.label,r=e.className,u=e.heading,p=e.checked,d=e.help,b=e.onChange,f=Object(n.a)(e,["label","className","heading","checked","help","onChange"]),h=Object(c.a)(m),O="inspector-checkbox-control-".concat(h);return Object(o.createElement)(l.a,{label:u,id:O,help:d,className:r},Object(o.createElement)("span",{className:"components-checkbox-control__input-container"},Object(o.createElement)("input",Object(a.a)({id:O,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return b(e.target.checked)},checked:p,"aria-describedby":d?O+"__help":void 0},f)),p?Object(o.createElement)(i.a,{icon:s.a,className:"components-checkbox-control__checked",role:"presentation"}):null),Object(o.createElement)("label",{className:"components-checkbox-control__label",htmlFor:O},t))}},794:function(e,t,r){},795:function(e,t,r){},796:function(e,t,r){},922:function(e,t,r){"use strict";r.r(t);var a=r(80),n=r.n(a),o=r(41),c=r.n(o),i=r(17),s=r.n(i),l=r(0),m=r(3),u=r(67),p=r(169),d=r(18),b=r(53),f=r(43),h=(r(794),r(271)),O=r(38),j=r.n(O),v=r(37),g=r.n(v),y=r(39),_=r.n(y),w=r(42),k=r.n(w),S=r(26),E=r.n(S),D=r(772),I=r(1),P=r.n(I),N=r(2);r(795);function C(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 r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var T=function(e){_()(r,e);var t=C(r);function r(e){var a;return j()(this,r),(a=t.call(this,e)).renderInput=function(){var e=a.props,t=e.handleChange,r=e.name,o=e.inputText,c=e.inputType,i=e.options,s=e.value,m=e.component,p=a.state.disabled;switch(c){case"checkboxGroup":return i.map((function(e){return e.options.length>0&&Object(l.createElement)("div",{className:"woocommerce-setting__options-group",key:e.key,"aria-labelledby":r+"-label"},e.label&&Object(l.createElement)("span",{className:"woocommerce-setting__options-group-label"},e.label),a.renderCheckboxOptions(e.options))}));case"checkbox":return a.renderCheckboxOptions(i);case"button":return Object(l.createElement)(u.a,{isSecondary:!0,onClick:a.handleInputCallback,disabled:p},o);case"component":var d=m;return Object(l.createElement)(d,n()({value:s,onChange:t},a.props));case"text":default:var b=Object(N.uniqueId)(r);return Object(l.createElement)("input",{id:b,type:"text",name:r,onChange:t,value:s,placeholder:o,disabled:p})}},a.handleInputCallback=function(){var e=a.props,t=e.createNotice,r=e.callback;if("function"==typeof r)return new Promise((function(e,n){a.setState({disabled:!0}),r(e,n,t)})).then((function(){a.setState({disabled:!1})})).catch((function(){a.setState({disabled:!1})}))},a.state={disabled:!1},a}return g()(r,[{key:"renderCheckboxOptions",value:function(e){var t=this.props,r=t.handleChange,a=t.name,n=t.value,o=this.state.disabled;return e.map((function(e){return Object(l.createElement)(D.a,{key:a+"-"+e.value,label:e.label,name:a,checked:n&&n.includes(e.value),onChange:function(t){return r({target:{checked:t,name:a,type:"checkbox",value:e.value}})},disabled:o})}))}},{key:"render",value:function(){var e=this.props,t=e.helpText,r=e.label,a=e.name;return Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__label",id:a+"-label"},r),Object(l.createElement)("div",{className:"woocommerce-setting__input"},this.renderInput(),t&&Object(l.createElement)("span",{className:"woocommerce-setting__help"},t)))}}]),r}(l.Component);T.propTypes={callback:P.a.func,handleChange:P.a.func.isRequired,helpText:P.a.oneOfType([P.a.string,P.a.array]),inputText:P.a.string,inputType:P.a.oneOf(["button","checkbox","checkboxGroup","text","component"]),label:P.a.string.isRequired,name:P.a.string.isRequired,options:P.a.arrayOf(P.a.shape({value:P.a.string,label:P.a.string,description:P.a.string,key:P.a.string,options:P.a.array})),value:P.a.oneOfType([P.a.string,P.a.array])};var R=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(T),F=r(62),x=r.n(F),L=r(27),A=r(21),z=r.n(A),V=r(16),M=r.n(V),Y=r(729),q=function(e,t,r){var a={};if(r&&(a.skip_existing=!0),"all"!==t.label)if("custom"===t.label){var n=M()().diff(M()(t.date,e),"days",!0);a.days=Math.floor(n)}else a.days=parseInt(t.label,10);return a},Q=r(170),B=r(33);var H=function(e){var t,r=e.importDate,a=e.onDeletePreviousData,n=e.onReimportData,o=e.onStartImport,c=e.onStopImport,i=e.status;return Object(l.createElement)("div",{className:"woocommerce-settings__actions woocommerce-settings-historical-data__actions"},(t="ready"!==i,["initializing","customers","orders","finalizing"].includes(i)?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{className:"woocommerce-settings-historical-data__action-button",isPrimary:!0,onClick:c},Object(m.__)("Stop Import","woocommerce-admin")),Object(l.createElement)("div",{className:"woocommerce-setting__help woocommerce-settings-historical-data__action-help"},Object(m.__)("Imported data will not be lost if the import is stopped.","woocommerce-admin"),Object(l.createElement)("br",null),Object(m.__)("Navigating away from this page will not affect the import.","woocommerce-admin"))):["ready","nothing"].includes(i)?r?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start","woocommerce-admin")),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data","woocommerce-admin"))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isPrimary:!0,onClick:o,disabled:t},Object(m.__)("Start","woocommerce-admin"))):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u.a,{isSecondary:!0,onClick:n},Object(m.__)("Re-import Data","woocommerce-admin")),Object(l.createElement)(u.a,{isSecondary:!0,onClick:a},Object(m.__)("Delete Previously Imported Data","woocommerce-admin")))))},U=r(720),G=r(108);var W=function(e){var t,r=e.dateFormat,a=e.disabled,n=e.onDateChange,o=e.onPeriodChange,c=e.value,i=function(e){e.date&&e.date.isValid?n(e.date.format(r)):n(e.text)},s=function(e){return e.isValid()&&c.date.length===r.length?e.isAfter(new Date,"day")?G.b.future:null:G.b.invalid};return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__columns"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)(U.a,{label:Object(m.__)("Import Historical Data","woocommerce-admin"),value:c.label,disabled:a,onChange:function(e){o(e)},options:[{label:"All",value:"all"},{label:"Last 365 days",value:"365"},{label:"Last 90 days",value:"90"},{label:"Last 30 days",value:"30"},{label:"Last 7 days",value:"7"},{label:"Last 24 hours",value:"1"},{label:"Custom",value:"custom"}]})),"custom"===c.label&&(t=M()(c.date,r),Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column"},Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__column-label"},Object(m.__)("Beginning on","woocommerce-admin")),Object(l.createElement)(b.DatePicker,{date:t.isValid()?t.toDate():null,dateFormat:r,disabled:a,error:s(t),isInvalidDate:function(e){return M()(e).isAfter(new Date,"day")},onUpdate:i,text:c.date}))))};var J=function(e){var t=e.label,r=e.progress,a=e.total,n=Object(m.sprintf)(Object(m.__)("Imported %(label)s","woocommerce-admin"),{label:t}),o=Object(N.isNil)(a)?null:Object(m.sprintf)(Object(m.__)("%(progress)s of %(total)s","woocommerce-admin"),{progress:r||0,total:a});return Object(l.createElement)("div",{className:"woocommerce-settings-historical-data__progress"},Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},n),o&&Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__progress-label"},o),Object(l.createElement)("progress",{className:"woocommerce-settings-historical-data__progress-bar",max:a,value:r||0}))},K=r(48),X=r(265);var Z=Object(b.useFilters)("woocommerce_admin_import_status")((function(e){var t=e.importDate,r=e.status,a=Object(K.applyFilters)("woocommerce_admin_import_status",{nothing:Object(m.__)("Nothing To Import","woocommerce-admin"),ready:Object(m.__)("Ready To Import","woocommerce-admin"),initializing:[Object(m.__)("Initializing","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],customers:[Object(m.__)("Importing Customers","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],orders:[Object(m.__)("Importing Orders","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],finalizing:[Object(m.__)("Finalizing","woocommerce-admin"),Object(l.createElement)(X.a,{key:"spinner"})],finished:-1===t?Object(m.__)("All historical data imported","woocommerce-admin"):Object(m.sprintf)(Object(m.__)("Historical data from %s onward imported","woocommerce-admin"),M()(t).format("YYYY-MM-DD"))});return Object(l.createElement)("span",{className:"woocommerce-settings-historical-data__status"},Object(m.__)("Status:","woocommerce-admin")+" ",a[r])}));var $=function(e){var t=e.checked,r=e.disabled,a=e.onChange;return Object(l.createElement)(D.a,{className:"woocommerce-settings-historical-data__skip-checkbox",checked:t,disabled:r,label:Object(m.__)("Skip previously imported customers and orders","woocommerce-admin"),onChange:a})},ee=r(101);r(796);function te(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 r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var re=function(e){_()(r,e);var t=te(r);function r(){return j()(this,r),t.apply(this,arguments)}return g()(r,[{key:"render",value:function(){var e=this.props,t=e.customersProgress,r=e.customersTotal,a=e.dateFormat,n=e.importDate,o=e.inProgress,c=e.onPeriodChange,i=e.onDateChange,s=e.onSkipChange,u=e.onDeletePreviousData,p=e.onReimportData,d=e.onStartImport,f=e.onStopImport,h=e.ordersProgress,O=e.ordersTotal,j=e.period,v=e.skipChecked,g=function(e){var t=e.customersProgress,r=e.customersTotal,a=e.inProgress,n=e.ordersProgress,o=e.ordersTotal;return a?Object(N.isNil)(t)||Object(N.isNil)(n)||Object(N.isNil)(r)||Object(N.isNil)(o)?"initializing":t<r?"customers":n<o?"orders":"finalizing":r>0||o>0?t===r&&n===o?"finished":"ready":"nothing"}({customersProgress:t,customersTotal:r,inProgress:o,ordersProgress:h,ordersTotal:O});return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Import Historical Data","woocommerce-admin")}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object(l.createElement)("div",{className:"woocommerce-setting"},Object(l.createElement)("div",{className:"woocommerce-setting__input"},Object(l.createElement)("span",{className:"woocommerce-setting__help"},Object(m.__)("This tool populates historical analytics data by processing customers and orders created prior to activating WooCommerce Admin.","woocommerce-admin")),"finished"!==g&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(W,{dateFormat:a,disabled:o,onPeriodChange:c,onDateChange:i,value:j}),Object(l.createElement)($,{disabled:o,checked:v,onChange:s}),Object(l.createElement)(J,{label:Object(m.__)("Registered Customers","woocommerce-admin"),progress:t,total:r}),Object(l.createElement)(J,{label:Object(m.__)("Orders and Refunds","woocommerce-admin"),progress:h,total:O})),Object(l.createElement)(Z,{importDate:n,status:g})))),Object(l.createElement)(H,{importDate:n,onDeletePreviousData:u,onReimportData:p,onStartImport:d,onStopImport:f,status:g}))}}]),r}(l.Component),ae=Object(ee.a)((function(e,t){var r=e("wc-api"),a=r.getImportStatus,n=r.isGetImportStatusRequesting,o=r.getImportTotals,c=t.activeImport,i=t.dateFormat,s=t.lastImportStartTimestamp,l=t.lastImportStopTimestamp,m=t.onImportStarted,u=t.onImportFinished,p=t.period,d=t.skipChecked,b=void 0!==s&&void 0===l||s>l,f=o(q(i,p,d),l),h=f.customers,O=f.orders,j=a(s,b?{freshness:3*Q.c,timeout:3*Q.c}:B.a),v=j.customers,g=j.imported_from,y=j.is_importing,_=j.orders,w=v||{},k=w.imported,S=w.total,E=_||{},D=E.imported,I=E.total,P=n(s);return Boolean(!s&&!P&&!b&&!0===y)&&m(),Boolean(!P&&b&&!1===y&&(k===S&&S>0||D===I&&I>0))&&u(),c?{customersProgress:k,customersTotal:Object(N.isNil)(S)?h:S,importDate:g,inProgress:b,ordersProgress:D,ordersTotal:Object(N.isNil)(I)?O:I}:{customersTotal:h,importDate:g,ordersTotal:O}}))(re),ne=r(63);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ie(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 r,a=E()(e);if(t){var n=E()(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return k()(this,r)}}var se=function(e){_()(r,e);var t=ie(r);function r(){var e;return j()(this,r),(e=t.apply(this,arguments)).dateFormat=Object(m.__)("MM/DD/YYYY","woocommerce-admin"),e.state={activeImport:null,lastImportStartTimestamp:0,lastImportStopTimestamp:0,period:{date:M()().format(e.dateFormat),label:"all"},skipChecked:!0},e.makeQuery=e.makeQuery.bind(x()(e)),e.onImportFinished=e.onImportFinished.bind(x()(e)),e.onImportStarted=e.onImportStarted.bind(x()(e)),e.onDeletePreviousData=e.onDeletePreviousData.bind(x()(e)),e.onReimportData=e.onReimportData.bind(x()(e)),e.onStartImport=e.onStartImport.bind(x()(e)),e.onStopImport=e.onStopImport.bind(x()(e)),e.onDateChange=e.onDateChange.bind(x()(e)),e.onPeriodChange=e.onPeriodChange.bind(x()(e)),e.onSkipChange=e.onSkipChange.bind(x()(e)),e}return g()(r,[{key:"makeQuery",value:function(e,t){var r=this,a=this.props.createNotice;z()({path:e,method:"POST"}).then((function(e){"success"===e.status?a("success",e.message):(a("error",t),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))})).catch((function(e){e&&e.message&&(a("error",e.message),r.setState({activeImport:!1,lastImportStopTimestamp:Date.now()}))}))}},{key:"onImportFinished",value:function(){(0,this.props.debouncedSpeak)("Import complete"),this.setState({lastImportStopTimestamp:Date.now()})}},{key:"onImportStarted",value:function(){var e=this.props,t=e.notes,r=e.updateNote,a=t.find((function(e){return"wc-admin-historical-data"===e.name}));a&&r(a.id,{status:"actioned"}),this.setState({activeImport:!0,lastImportStartTimestamp:Date.now()})}},{key:"onDeletePreviousData",value:function(){var e=Object(m.__)("There was a problem deleting your previous data.","woocommerce-admin");this.makeQuery("/wc-analytics/reports/import/delete",e),this.setState({activeImport:!1}),Object(ne.b)("analytics_import_delete_previous")}},{key:"onReimportData",value:function(){this.setState({activeImport:!1})}},{key:"onStartImport",value:function(){var e=this.state,t=e.period,r=e.skipChecked,a=Object(L.addQueryArgs)("/wc-analytics/reports/import",q(this.dateFormat,t,r)),n=Object(m.__)("There was a problem rebuilding your report data.","woocommerce-admin");this.makeQuery(a,n),this.onImportStarted()}},{key:"onStopImport",value:function(){this.setState({lastImportStopTimestamp:Date.now()});var e=Object(m.__)("There was a problem stopping your current import.","woocommerce-admin");this.makeQuery("/wc-analytics/reports/import/cancel",e)}},{key:"onPeriodChange",value:function(e){this.setState({activeImport:!1,period:ce(ce({},this.state.period),{},{label:e})})}},{key:"onDateChange",value:function(e){this.setState({activeImport:!1,period:{date:e,label:"custom"}})}},{key:"onSkipChange",value:function(e){this.setState({activeImport:!1,skipChecked:e})}},{key:"render",value:function(){var e=this.state,t=e.activeImport,r=e.lastImportStartTimestamp,a=e.lastImportStopTimestamp,n=e.period,o=e.skipChecked;return Object(l.createElement)(ae,{activeImport:t,dateFormat:this.dateFormat,onImportFinished:this.onImportFinished,onImportStarted:this.onImportStarted,lastImportStartTimestamp:r,lastImportStopTimestamp:a,onPeriodChange:this.onPeriodChange,onDateChange:this.onDateChange,onSkipChange:this.onSkipChange,onDeletePreviousData:this.onDeletePreviousData,onReimportData:this.onReimportData,onStartImport:this.onStartImport,onStopImport:this.onStopImport,period:n,skipChecked:o})}}]),r}(l.Component),le=Object(p.a)([Object(ee.a)((function(e){return{notes:(0,e("wc-api").getNotes)({page:1,per_page:B.d.pageSize,type:"update",status:"unactioned"})}})),Object(d.withDispatch)((function(e){return{updateNote:e("wc-api").updateNote}})),Y.a])(se);function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}t.default=Object(p.a)(Object(d.withDispatch)((function(e){return{createNotice:e("core/notices").createNotice}})))(Object(b.useFilters)("woocommerce_admin_analytics_settings")((function(e){var t=e.createNotice,r=e.query,a=Object(f.useSettings)("wc_admin",["wcAdminSettings"]),o=a.settingsError,i=a.isRequesting,p=a.isDirty,d=a.persistSettings,O=a.updateAndPersistSettings,j=a.updateSettings,v=a.wcAdminSettings,g=Object(l.useRef)(!1);Object(l.useEffect)((function(){function e(e){if(p)return e.returnValue=Object(m.__)("You have unsaved changes. If you proceed, they will be lost.","woocommerce-admin"),e.returnValue}return window.addEventListener("beforeunload",e),function(){return window.removeEventListener("beforeunload",e)}}),[p]),Object(l.useEffect)((function(){i?g.current=!0:!i&&g.current&&(o?t("error",Object(m.__)("There was an error saving your settings. Please try again.","woocommerce-admin")):t("success",Object(m.__)("Your settings have been successfully saved.","woocommerce-admin")),g.current=!1)}),[i,o,t]);var y=function(e){var t=e.target,r=t.checked,a=t.name,n=t.type,o=t.value,i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},v);i[a]="checkbox"===n?r?[].concat(c()(i[a]),[o]):i[a].filter((function(e){return e!==o})):o,j("wcAdminSettings",i)};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SectionHeader,{title:Object(m.__)("Analytics Settings","woocommerce-admin")}),Object(l.createElement)("div",{className:"woocommerce-settings__wrapper"},Object.keys(h.b).map((function(e){return Object(l.createElement)(R,n()({handleChange:y,value:v[e],key:e,name:e},h.b[e]))})),Object(l.createElement)("div",{className:"woocommerce-settings__actions"},Object(l.createElement)(u.a,{isSecondary:!0,onClick:function(){if(window.confirm(Object(m.__)("Are you sure you want to reset all settings to default values?","woocommerce-admin"))){var e=Object.keys(h.b).reduce((function(e,t){return e[t]=h.b[t].defaultValue,e}),{});O("wcAdminSettings",e),Object(ne.b)("analytics_settings_reset_defaults")}}},Object(m.__)("Reset Defaults","woocommerce-admin")),Object(l.createElement)(u.a,{isPrimary:!0,isBusy:i,onClick:function(){d(),Object(ne.b)("analytics_settings_save",v),r.period=void 0,r.compare=void 0,r.before=void 0,r.after=void 0,r.interval=void 0,r.type=void 0,window.wpNavMenuUrlUpdate(r)}},Object(m.__)("Save Settings","woocommerce-admin")))),"true"===r.import?Object(l.createElement)(b.ScrollTo,{offset:"-56"},Object(l.createElement)(le,{createNotice:t})):Object(l.createElement)(le,{createNotice:t}))})))}}]);
|
dist/chunks/{24.1d2c0b4dcca1ff64b922.js → 24.3a1a8cd8126dd8c7a4d6.js}
RENAMED
@@ -799,7 +799,7 @@ var style = __webpack_require__(769);
|
|
799 |
|
800 |
|
801 |
var LazyDashboardCharts = Object(external_this_wp_element_["lazy"])(function () {
|
802 |
-
return Promise.all(/* import() | dashboard-charts */[__webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(26)]).then(__webpack_require__.bind(null,
|
803 |
});
|
804 |
var LazyLeaderboards = Object(external_this_wp_element_["lazy"])(function () {
|
805 |
return Promise.all(/* import() | leaderboards */[__webpack_require__.e(4), __webpack_require__.e(32)]).then(__webpack_require__.bind(null, 929));
|
799 |
|
800 |
|
801 |
var LazyDashboardCharts = Object(external_this_wp_element_["lazy"])(function () {
|
802 |
+
return Promise.all(/* import() | dashboard-charts */[__webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(26)]).then(__webpack_require__.bind(null, 925));
|
803 |
});
|
804 |
var LazyLeaderboards = Object(external_this_wp_element_["lazy"])(function () {
|
805 |
return Promise.all(/* import() | leaderboards */[__webpack_require__.e(4), __webpack_require__.e(32)]).then(__webpack_require__.bind(null, 929));
|
dist/chunks/{24.1d2c0b4dcca1ff64b922.min.js → 24.3a1a8cd8126dd8c7a4d6.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{112:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=new WeakMap;function c(e){return Object(r.useMemo)((function(){return function(e){var t=o.get(e)||0;return o.set(e,t+1),t}(e)}),[e])}},128:function(e,t,n){"use strict";var r=n(6),o=n(14),c=n(8),a=n.n(c),i=n(0);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.as,n=void 0===t?"div":t,c=e.className,l=Object(o.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(i.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:a()("components-visually-hidden",c)},l))}},171:function(e,t,n){"use strict";var r=n(0),o=n(8),c=n.n(o),a=n(128);function i(e){var t=e.id,n=e.label,o=e.hideLabelFromVision,s=e.help,l=e.className,u=e.children;return Object(r.createElement)("div",{className:c()("components-base-control",l)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&(o?Object(r.createElement)(a.a,{as:"label",htmlFor:t},n):Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(o?Object(r.createElement)(a.a,{as:"label"},n):Object(r.createElement)(i.VisualLabel,null,n)),u),!!s&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=c()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)},t.a=i},422:function(e,t,n){"use strict";var r=n(6),o=n(14),c=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,i=void 0===n?24:n,s=Object(o.a)(e,["icon","size"]);return Object(c.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:i,height:i},s))}},721:function(e,t,n){"use strict";var r=n(12),o=n(9),c=n(7),a=n(5),i=n(11),s=n(4),l=n(10),u=n(0),p=n(8),b=n.n(p),d=n(82);function f(){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}}var m=function(e){Object(l.a)(p,e);var t,n=(t=p,function(){var e,n=Object(s.a)(t);if(f()){var r=Object(s.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(i.a)(this,e)});function p(){var e;return Object(o.a)(this,p),(e=n.apply(this,arguments)).toggle=e.toggle.bind(Object(a.a)(e)),e.close=e.close.bind(Object(a.a)(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(Object(a.a)(e)),e.containerRef=Object(u.createRef)(),e.state={isOpen:!1},e}return Object(c.a)(p,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.props.onClose&&this.props.onClose(),this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,o=t.renderToggle,c=t.position,a=void 0===c?"bottom right":c,i=t.className,s=t.contentClassName,l=t.expandOnMobile,p=t.headerTitle,f=t.focusOnMount,m=t.popoverProps,O={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(u.createElement)("div",{className:b()("components-dropdown",i),ref:this.containerRef},o(O),e&&Object(u.createElement)(d.a,Object(r.a)({position:a,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:p,focusOnMount:f},m,{className:b()("components-dropdown__content",m?m.className:void 0,s)}),n(O)))}}]),p}(u.Component);t.a=m},724:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(12),o=n(14),c=n(0),a=n(112),i=n(171);function s(e){var t=e.label,n=e.hideLabelFromVision,l=e.value,u=e.help,p=e.className,b=e.onChange,d=e.type,f=void 0===d?"text":d,m=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),O=Object(a.a)(s),h="inspector-text-control-".concat(O);return Object(c.createElement)(i.a,{label:t,hideLabelFromVision:n,id:h,help:u,className:p},Object(c.createElement)("input",Object(r.a)({className:"components-text-control__input",type:f,id:h,value:l,onChange:function(e){return b(e.target.value)},"aria-describedby":u?h+"__help":void 0},m)))}},757:function(e,t,n){"use strict";var r=n(17),o=n.n(r),c=n(38),a=n.n(c),i=n(37),s=n.n(i),l=n(62),u=n.n(l),p=n(39),b=n.n(p),d=n(42),f=n.n(d),m=n(26),O=n.n(m),h=n(0),v=n(1),j=n.n(v),y=n(2),_=n(18),g=n(53),k=n(23),w=n(43),E=n(63),D=n(108),S=n(200);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O()(e);if(t){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var C=function(e){b()(n,e);var t=T(n);function n(){var e;return a()(this,n),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(n,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(E.b)("datepicker_update",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({report:t},Object(y.omitBy)(e,y.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(E.b)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var n=this.props.report;switch(e){case"add":Object(E.b)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(E.b)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var r=Object.keys(t).reduce((function(e,n){return e[Object(y.snakeCase)(n)]=t[n],e}),{});Object(E.b)("analytics_filters_filter",{report:n,snakeCaseData:r});break;case"clear_all":Object(E.b)("analytics_filters_clear_all",{report:n});break;case"match":Object(E.b)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,n=e.filters,r=e.path,o=e.query,c=e.showDatePicker,a=e.defaultDateRange,i=Object(D.h)(o,a),s=i.period,l=i.compare,u=i.before,p=i.after,b=Object(D.f)(o,a),d={period:s,compare:l,before:u,after:p,primaryDate:b.primary,secondaryDate:b.secondary},f=this.context;return Object(h.createElement)(g.ReportFilters,{query:o,siteLocale:k.c.siteLocale,currency:f.getCurrency(),path:r,filters:n,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:d,isoDateFormat:D.k})}}]),n}(h.Component);C.contextType=S.a,t.a=Object(_.withSelect)((function(e){return{defaultDateRange:e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(C),C.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},910:function(e,t,n){"use strict";n.r(t);var r=n(129),o=n.n(r),c=n(17),a=n.n(c),i=n(41),s=n.n(i),l=n(0),u=n(3),p=n(169),b=n(2),d=n(721),f=n(67),m=n(96),O=n(48),h=n(422),v=n(32),j=Object(l.createElement)(v.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(v.a,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})),y=n(53),_=n(43),g=(n(769),Object(l.lazy)((function(){return Promise.all([n.e(2),n.e(1),n.e(26)]).then(n.bind(null,924))}))),k=Object(l.lazy)((function(){return Promise.all([n.e(4),n.e(32)]).then(n.bind(null,929))})),w=Object(l.lazy)((function(){return n.e(44).then(n.bind(null,919))})),E=Object(O.applyFilters)("woocommerce_dashboard_default_sections",[{key:"store-performance",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(w,e))},title:Object(u.__)("Performance","woocommerce-admin"),isVisible:!0,icon:"arrow-right-alt",hiddenBlocks:["coupons/amount","coupons/orders_count","downloads/download_count","taxes/order_tax","taxes/total_tax","taxes/shipping_tax","revenue/shipping","orders/avg_order_value","revenue/refunds","revenue/gross_sales"]},{key:"charts",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(g,e))},title:Object(u.__)("Charts","woocommerce-admin"),isVisible:!0,icon:"chart-bar",hiddenBlocks:["orders_avg_order_value","avg_items_per_order","products_items_sold","revenue_total_sales","revenue_refunds","coupons_amount","coupons_orders_count","revenue_shipping","taxes_total_tax","taxes_order_tax","taxes_shipping_tax","downloads_download_count"]},{key:"leaderboards",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(k,e))},title:Object(u.__)("Leaderboards","woocommerce-admin"),isVisible:!0,icon:"editor-ol",hiddenBlocks:["coupons","customers"]}]),D=n(80),S=n.n(D),P=n(38),T=n.n(P),C=n(37),R=n.n(C),F=n(62),N=n.n(F),M=n(39),x=n.n(M),B=n(42),V=n.n(B),I=n(26),A=n.n(I),H=n(724);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var U=function(e){x()(n,e);var t=L(n);function n(e){var r;return T()(this,n),(r=t.call(this,e)).onMoveUp=r.onMoveUp.bind(N()(r)),r.onMoveDown=r.onMoveDown.bind(N()(r)),r}return R()(n,[{key:"onMoveUp",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(-1),n()}},{key:"onMoveDown",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(1),n()}},{key:"render",value:function(){var e=this.props,t=e.onRemove,n=e.isFirst,r=e.isLast,o=e.onTitleBlur,c=e.onTitleChange,a=e.titleInput;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"woocommerce-ellipsis-menu__item"},Object(l.createElement)(H.a,{label:Object(u.__)("Section Title","woocommerce-admin"),onBlur:o,onChange:c,required:!0,value:a})),Object(l.createElement)("div",{className:"woocommerce-dashboard-section-controls"},!n&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveUp},Object(l.createElement)(m.a,{icon:"arrow-up-alt2",label:Object(u.__)("Move up")}),Object(u.__)("Move up","woocommerce-admin")),!r&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveDown},Object(l.createElement)(m.a,{icon:"arrow-down-alt2",label:Object(u.__)("Move Down")}),Object(u.__)("Move Down","woocommerce-admin")),Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:t},Object(l.createElement)(m.a,{icon:"trash",label:Object(u.__)("Remove block")}),Object(u.__)("Remove section","woocommerce-admin"))))}}]),n}(l.Component);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var z=function(e){x()(n,e);var t=q(n);function n(e){var r;T()(this,n),r=t.call(this,e);var o=e.title;return r.state={titleInput:o},r.onToggleHiddenBlock=r.onToggleHiddenBlock.bind(N()(r)),r.onTitleChange=r.onTitleChange.bind(N()(r)),r.onTitleBlur=r.onTitleBlur.bind(N()(r)),r}return R()(n,[{key:"onTitleChange",value:function(e){this.setState({titleInput:e})}},{key:"onTitleBlur",value:function(){var e=this.props,t=e.onTitleUpdate,n=e.title,r=this.state.titleInput;""===r?this.setState({titleInput:n}):t&&t(r)}},{key:"onToggleHiddenBlock",value:function(e){var t=this;return function(){var n=Object(b.xor)(t.props.hiddenBlocks,[e]);t.props.onChangeHiddenBlocks(n)}}},{key:"render",value:function(){var e=this.props,t=e.component,n=o()(e,["component"]),r=this.state.titleInput;return Object(l.createElement)("div",{className:"woocommerce-dashboard-section"},Object(l.createElement)(t,S()({onTitleChange:this.onTitleChange,onTitleBlur:this.onTitleBlur,onToggleHiddenBlock:this.onToggleHiddenBlock,titleInput:r,controls:U},n)))}}]),n}(l.Component),G=n(101),J=n(63),Q=n(753),W=n(108),Z=n(757);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y=Object(l.lazy)((function(){return Promise.all([n.e(3),n.e(4),n.e(6),n.e(45)]).then(n.bind(null,920))})),$=Object(O.applyFilters)("woocommerce_admin_dashboard_filters",[]);t.default=Object(p.a)(Object(G.a)((function(e){var t=e(_.OPTIONS_STORE_NAME).getOption,n={defaultDateRange:e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range};return Object(Q.e)()&&(n.homepageEnabled=window.wcAdminFeatures.homescreen&&"yes"===t("woocommerce_homescreen_enabled"),n.taskListHidden="yes"===t("woocommerce_task_list_hidden"),n.taskListComplete="yes"===t("woocommerce_task_list_complete")),n})))((function(e){var t,n,r,c,a,i,p,O,v,g=e.defaultDateRange,k=e.homepageEnabled,w=e.path,D=e.query,S=e.taskListComplete,P=e.taskListHidden,T=Object(_.useUserPreferences)(),C=T.updateUserPreferences,R=function(e){if(!e||0===e.length)return E;var t=E.map((function(e){return e.key})),n=e.map((function(e){return e.key})),r=new Set([].concat(s()(n),s()(t))),o=[];return r.forEach((function(t){var n=E.find((function(e){return e.key===t}));if(n){var r=e.find((function(e){return e.key===t}));o.push(X(X({},n),r))}})),o}(o()(T,["updateUserPreferences"]).dashboard_sections),F=!k&&Object(Q.e)()&&!P,N=!F||!D.task&&S,M=function(e){C({dashboard_sections:e})},x=function(e,t){var n=R.map((function(n){return n.key===e?X(X({},n),t):n}));M(n)},B=function(e){return function(t){Object(J.b)("dash_section_rename",{key:e}),x(e,{title:t})}},V=function(e,t){return function(){t&&t();var n=R.findIndex((function(t){return e===t.key})),r=R.splice(n,1).shift();r.isVisible=!r.isVisible,R.push(r),r.isVisible?Object(J.b)("dash_section_add",{key:r.key}):Object(J.b)("dash_section_remove",{key:r.key}),M(R)}},I=function e(t,n){var r=R.splice(t,1).shift(),o=t+n;if(R[n<0?o:o-1].isVisible||0===t||t===R.length-1){R.splice(o,0,r),M(R);var c={key:r.key,direction:n>0?"down":"up"};Object(J.b)("dash_section_order_change",c)}else e(t,n+n)};return Object(l.createElement)(l.Fragment,null,F&&Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(Y,{query:D,inline:N})),N&&(n=Object(W.h)(D,g),r=n.period,c=n.compare,a=n.before,i=n.after,p=Object(W.f)(D,g),O={period:r,compare:c,before:a,after:i,primaryDate:p.primary,secondaryDate:p.secondary},v=R.filter((function(e){return e.isVisible})).map((function(e){return e.key})),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z.a,{report:"dashboard",query:D,path:w,dateQuery:O,isoDateFormat:W.k,filters:$}),R.map((function(e,t){return e.isVisible?Object(l.createElement)(z,{component:e.component,hiddenBlocks:e.hiddenBlocks,key:e.key,onChangeHiddenBlocks:(n=e.key,function(e){x(n,{hiddenBlocks:e})}),onTitleUpdate:B(e.key),path:w,query:D,title:e.title,onMove:Object(b.partial)(I,t),onRemove:V(e.key),isFirst:e.key===v[0],isLast:e.key===v[v.length-1]}):null;var n})),0===(t=R.filter((function(e){return!1===e.isVisible}))).length?null:Object(l.createElement)(d.a,{position:"top center",className:"woocommerce-dashboard-section__add-more",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(f.a,{onClick:t,title:Object(u.__)("Add more sections","woocommerce-admin"),"aria-expanded":n},Object(l.createElement)(h.a,{icon:j}))},renderContent:function(e){var n=e.onToggle;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(y.H,null,Object(u.__)("Dashboard Sections","woocommerce-admin")),Object(l.createElement)("div",{className:"woocommerce-dashboard-section__add-more-choices"},t.map((function(e){return Object(l.createElement)(f.a,{key:e.key,onClick:V(e.key,n),className:"woocommerce-dashboard-section__add-more-btn",title:Object(u.sprintf)(Object(u.__)("Add %s section","woocommerce-admin"),e.title)},Object(l.createElement)(m.a,{icon:e.icon,size:30}),Object(l.createElement)("span",{className:"woocommerce-dashboard-section__add-more-btn-title"},e.title))}))))}}))))}))}}]);
|
1 |
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{112:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(0),o=new WeakMap;function c(e){return Object(r.useMemo)((function(){return function(e){var t=o.get(e)||0;return o.set(e,t+1),t}(e)}),[e])}},128:function(e,t,n){"use strict";var r=n(6),o=n(14),c=n(8),a=n.n(c),i=n(0);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.as,n=void 0===t?"div":t,c=e.className,l=Object(o.a)(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=Object(o.a)(e,["as"]);return"function"==typeof r.children?r.children(r):Object(i.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:a()("components-visually-hidden",c)},l))}},171:function(e,t,n){"use strict";var r=n(0),o=n(8),c=n.n(o),a=n(128);function i(e){var t=e.id,n=e.label,o=e.hideLabelFromVision,s=e.help,l=e.className,u=e.children;return Object(r.createElement)("div",{className:c()("components-base-control",l)},Object(r.createElement)("div",{className:"components-base-control__field"},n&&t&&(o?Object(r.createElement)(a.a,{as:"label",htmlFor:t},n):Object(r.createElement)("label",{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(o?Object(r.createElement)(a.a,{as:"label"},n):Object(r.createElement)(i.VisualLabel,null,n)),u),!!s&&Object(r.createElement)("p",{id:t+"__help",className:"components-base-control__help"},s))}i.VisualLabel=function(e){var t=e.className,n=e.children;return t=c()("components-base-control__label",t),Object(r.createElement)("span",{className:t},n)},t.a=i},422:function(e,t,n){"use strict";var r=n(6),o=n(14),c=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,i=void 0===n?24:n,s=Object(o.a)(e,["icon","size"]);return Object(c.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:i,height:i},s))}},721:function(e,t,n){"use strict";var r=n(12),o=n(9),c=n(7),a=n(5),i=n(11),s=n(4),l=n(10),u=n(0),p=n(8),b=n.n(p),d=n(82);function f(){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}}var m=function(e){Object(l.a)(p,e);var t,n=(t=p,function(){var e,n=Object(s.a)(t);if(f()){var r=Object(s.a)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Object(i.a)(this,e)});function p(){var e;return Object(o.a)(this,p),(e=n.apply(this,arguments)).toggle=e.toggle.bind(Object(a.a)(e)),e.close=e.close.bind(Object(a.a)(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(Object(a.a)(e)),e.containerRef=Object(u.createRef)(),e.state={isOpen:!1},e}return Object(c.a)(p,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState((function(e){return{isOpen:!e.isOpen}}))}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(){this.props.onClose&&this.props.onClose(),this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this.state.isOpen,t=this.props,n=t.renderContent,o=t.renderToggle,c=t.position,a=void 0===c?"bottom right":c,i=t.className,s=t.contentClassName,l=t.expandOnMobile,p=t.headerTitle,f=t.focusOnMount,m=t.popoverProps,O={isOpen:e,onToggle:this.toggle,onClose:this.close};return Object(u.createElement)("div",{className:b()("components-dropdown",i),ref:this.containerRef},o(O),e&&Object(u.createElement)(d.a,Object(r.a)({position:a,onClose:this.close,onFocusOutside:this.closeIfFocusOutside,expandOnMobile:l,headerTitle:p,focusOnMount:f},m,{className:b()("components-dropdown__content",m?m.className:void 0,s)}),n(O)))}}]),p}(u.Component);t.a=m},724:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(12),o=n(14),c=n(0),a=n(112),i=n(171);function s(e){var t=e.label,n=e.hideLabelFromVision,l=e.value,u=e.help,p=e.className,b=e.onChange,d=e.type,f=void 0===d?"text":d,m=Object(o.a)(e,["label","hideLabelFromVision","value","help","className","onChange","type"]),O=Object(a.a)(s),h="inspector-text-control-".concat(O);return Object(c.createElement)(i.a,{label:t,hideLabelFromVision:n,id:h,help:u,className:p},Object(c.createElement)("input",Object(r.a)({className:"components-text-control__input",type:f,id:h,value:l,onChange:function(e){return b(e.target.value)},"aria-describedby":u?h+"__help":void 0},m)))}},757:function(e,t,n){"use strict";var r=n(17),o=n.n(r),c=n(38),a=n.n(c),i=n(37),s=n.n(i),l=n(62),u=n.n(l),p=n(39),b=n.n(p),d=n(42),f=n.n(d),m=n(26),O=n.n(m),h=n(0),v=n(1),j=n.n(v),y=n(2),_=n(18),g=n(53),k=n(23),w=n(43),E=n(63),D=n(108),S=n(200);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O()(e);if(t){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var C=function(e){b()(n,e);var t=T(n);function n(){var e;return a()(this,n),(e=t.call(this)).trackDateSelect=e.trackDateSelect.bind(u()(e)),e.trackFilterSelect=e.trackFilterSelect.bind(u()(e)),e.trackAdvancedFilterAction=e.trackAdvancedFilterAction.bind(u()(e)),e}return s()(n,[{key:"trackDateSelect",value:function(e){var t=this.props.report;Object(E.b)("datepicker_update",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({report:t},Object(y.omitBy)(e,y.isUndefined)))}},{key:"trackFilterSelect",value:function(e){var t=this.props.report;Object(E.b)("analytics_filter",{report:t,filter:e.filter||"all"})}},{key:"trackAdvancedFilterAction",value:function(e,t){var n=this.props.report;switch(e){case"add":Object(E.b)("analytics_filters_add",{report:n,filter:t.key});break;case"remove":Object(E.b)("analytics_filters_remove",{report:n,filter:t.key});break;case"filter":var r=Object.keys(t).reduce((function(e,n){return e[Object(y.snakeCase)(n)]=t[n],e}),{});Object(E.b)("analytics_filters_filter",{report:n,snakeCaseData:r});break;case"clear_all":Object(E.b)("analytics_filters_clear_all",{report:n});break;case"match":Object(E.b)("analytics_filters_all_any",{report:n,value:t.match})}}},{key:"render",value:function(){var e=this.props,t=e.advancedFilters,n=e.filters,r=e.path,o=e.query,c=e.showDatePicker,a=e.defaultDateRange,i=Object(D.h)(o,a),s=i.period,l=i.compare,u=i.before,p=i.after,b=Object(D.f)(o,a),d={period:s,compare:l,before:u,after:p,primaryDate:b.primary,secondaryDate:b.secondary},f=this.context;return Object(h.createElement)(g.ReportFilters,{query:o,siteLocale:k.c.siteLocale,currency:f.getCurrency(),path:r,filters:n,advancedFilters:t,showDatePicker:c,onDateSelect:this.trackDateSelect,onFilterSelect:this.trackFilterSelect,onAdvancedFilterAction:this.trackAdvancedFilterAction,dateQuery:d,isoDateFormat:D.k})}}]),n}(h.Component);C.contextType=S.a,t.a=Object(_.withSelect)((function(e){return{defaultDateRange:e(w.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range}}))(C),C.propTypes={advancedFilters:j.a.object,filters:j.a.array,path:j.a.string.isRequired,query:j.a.object,showDatePicker:j.a.bool,report:j.a.string.isRequired}},910:function(e,t,n){"use strict";n.r(t);var r=n(129),o=n.n(r),c=n(17),a=n.n(c),i=n(41),s=n.n(i),l=n(0),u=n(3),p=n(169),b=n(2),d=n(721),f=n(67),m=n(96),O=n(48),h=n(422),v=n(32),j=Object(l.createElement)(v.b,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(v.a,{d:"M2 12C2 6.44444 6.44444 2 12 2C17.5556 2 22 6.44444 22 12C22 17.5556 17.5556 22 12 22C6.44444 22 2 17.5556 2 12ZM13 11V7H11V11H7V13H11V17H13V13H17V11H13Z"})),y=n(53),_=n(43),g=(n(769),Object(l.lazy)((function(){return Promise.all([n.e(2),n.e(1),n.e(26)]).then(n.bind(null,925))}))),k=Object(l.lazy)((function(){return Promise.all([n.e(4),n.e(32)]).then(n.bind(null,929))})),w=Object(l.lazy)((function(){return n.e(44).then(n.bind(null,919))})),E=Object(O.applyFilters)("woocommerce_dashboard_default_sections",[{key:"store-performance",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(w,e))},title:Object(u.__)("Performance","woocommerce-admin"),isVisible:!0,icon:"arrow-right-alt",hiddenBlocks:["coupons/amount","coupons/orders_count","downloads/download_count","taxes/order_tax","taxes/total_tax","taxes/shipping_tax","revenue/shipping","orders/avg_order_value","revenue/refunds","revenue/gross_sales"]},{key:"charts",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(g,e))},title:Object(u.__)("Charts","woocommerce-admin"),isVisible:!0,icon:"chart-bar",hiddenBlocks:["orders_avg_order_value","avg_items_per_order","products_items_sold","revenue_total_sales","revenue_refunds","coupons_amount","coupons_orders_count","revenue_shipping","taxes_total_tax","taxes_order_tax","taxes_shipping_tax","downloads_download_count"]},{key:"leaderboards",component:function(e){return Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(k,e))},title:Object(u.__)("Leaderboards","woocommerce-admin"),isVisible:!0,icon:"editor-ol",hiddenBlocks:["coupons","customers"]}]),D=n(80),S=n.n(D),P=n(38),T=n.n(P),C=n(37),R=n.n(C),F=n(62),N=n.n(F),M=n(39),x=n.n(M),B=n(42),V=n.n(B),I=n(26),A=n.n(I),H=n(724);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var U=function(e){x()(n,e);var t=L(n);function n(e){var r;return T()(this,n),(r=t.call(this,e)).onMoveUp=r.onMoveUp.bind(N()(r)),r.onMoveDown=r.onMoveDown.bind(N()(r)),r}return R()(n,[{key:"onMoveUp",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(-1),n()}},{key:"onMoveDown",value:function(){var e=this.props,t=e.onMove,n=e.onToggle;t(1),n()}},{key:"render",value:function(){var e=this.props,t=e.onRemove,n=e.isFirst,r=e.isLast,o=e.onTitleBlur,c=e.onTitleChange,a=e.titleInput;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"woocommerce-ellipsis-menu__item"},Object(l.createElement)(H.a,{label:Object(u.__)("Section Title","woocommerce-admin"),onBlur:o,onChange:c,required:!0,value:a})),Object(l.createElement)("div",{className:"woocommerce-dashboard-section-controls"},!n&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveUp},Object(l.createElement)(m.a,{icon:"arrow-up-alt2",label:Object(u.__)("Move up")}),Object(u.__)("Move up","woocommerce-admin")),!r&&Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:this.onMoveDown},Object(l.createElement)(m.a,{icon:"arrow-down-alt2",label:Object(u.__)("Move Down")}),Object(u.__)("Move Down","woocommerce-admin")),Object(l.createElement)(y.MenuItem,{isClickable:!0,onInvoke:t},Object(l.createElement)(m.a,{icon:"trash",label:Object(u.__)("Remove block")}),Object(u.__)("Remove section","woocommerce-admin"))))}}]),n}(l.Component);function q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=A()(e);if(t){var o=A()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V()(this,n)}}var z=function(e){x()(n,e);var t=q(n);function n(e){var r;T()(this,n),r=t.call(this,e);var o=e.title;return r.state={titleInput:o},r.onToggleHiddenBlock=r.onToggleHiddenBlock.bind(N()(r)),r.onTitleChange=r.onTitleChange.bind(N()(r)),r.onTitleBlur=r.onTitleBlur.bind(N()(r)),r}return R()(n,[{key:"onTitleChange",value:function(e){this.setState({titleInput:e})}},{key:"onTitleBlur",value:function(){var e=this.props,t=e.onTitleUpdate,n=e.title,r=this.state.titleInput;""===r?this.setState({titleInput:n}):t&&t(r)}},{key:"onToggleHiddenBlock",value:function(e){var t=this;return function(){var n=Object(b.xor)(t.props.hiddenBlocks,[e]);t.props.onChangeHiddenBlocks(n)}}},{key:"render",value:function(){var e=this.props,t=e.component,n=o()(e,["component"]),r=this.state.titleInput;return Object(l.createElement)("div",{className:"woocommerce-dashboard-section"},Object(l.createElement)(t,S()({onTitleChange:this.onTitleChange,onTitleBlur:this.onTitleBlur,onToggleHiddenBlock:this.onToggleHiddenBlock,titleInput:r,controls:U},n)))}}]),n}(l.Component),G=n(101),J=n(63),Q=n(753),W=n(108),Z=n(757);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Y=Object(l.lazy)((function(){return Promise.all([n.e(3),n.e(4),n.e(6),n.e(45)]).then(n.bind(null,920))})),$=Object(O.applyFilters)("woocommerce_admin_dashboard_filters",[]);t.default=Object(p.a)(Object(G.a)((function(e){var t=e(_.OPTIONS_STORE_NAME).getOption,n={defaultDateRange:e(_.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range};return Object(Q.e)()&&(n.homepageEnabled=window.wcAdminFeatures.homescreen&&"yes"===t("woocommerce_homescreen_enabled"),n.taskListHidden="yes"===t("woocommerce_task_list_hidden"),n.taskListComplete="yes"===t("woocommerce_task_list_complete")),n})))((function(e){var t,n,r,c,a,i,p,O,v,g=e.defaultDateRange,k=e.homepageEnabled,w=e.path,D=e.query,S=e.taskListComplete,P=e.taskListHidden,T=Object(_.useUserPreferences)(),C=T.updateUserPreferences,R=function(e){if(!e||0===e.length)return E;var t=E.map((function(e){return e.key})),n=e.map((function(e){return e.key})),r=new Set([].concat(s()(n),s()(t))),o=[];return r.forEach((function(t){var n=E.find((function(e){return e.key===t}));if(n){var r=e.find((function(e){return e.key===t}));o.push(X(X({},n),r))}})),o}(o()(T,["updateUserPreferences"]).dashboard_sections),F=!k&&Object(Q.e)()&&!P,N=!F||!D.task&&S,M=function(e){C({dashboard_sections:e})},x=function(e,t){var n=R.map((function(n){return n.key===e?X(X({},n),t):n}));M(n)},B=function(e){return function(t){Object(J.b)("dash_section_rename",{key:e}),x(e,{title:t})}},V=function(e,t){return function(){t&&t();var n=R.findIndex((function(t){return e===t.key})),r=R.splice(n,1).shift();r.isVisible=!r.isVisible,R.push(r),r.isVisible?Object(J.b)("dash_section_add",{key:r.key}):Object(J.b)("dash_section_remove",{key:r.key}),M(R)}},I=function e(t,n){var r=R.splice(t,1).shift(),o=t+n;if(R[n<0?o:o-1].isVisible||0===t||t===R.length-1){R.splice(o,0,r),M(R);var c={key:r.key,direction:n>0?"down":"up"};Object(J.b)("dash_section_order_change",c)}else e(t,n+n)};return Object(l.createElement)(l.Fragment,null,F&&Object(l.createElement)(l.Suspense,{fallback:Object(l.createElement)(y.Spinner,null)},Object(l.createElement)(Y,{query:D,inline:N})),N&&(n=Object(W.h)(D,g),r=n.period,c=n.compare,a=n.before,i=n.after,p=Object(W.f)(D,g),O={period:r,compare:c,before:a,after:i,primaryDate:p.primary,secondaryDate:p.secondary},v=R.filter((function(e){return e.isVisible})).map((function(e){return e.key})),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Z.a,{report:"dashboard",query:D,path:w,dateQuery:O,isoDateFormat:W.k,filters:$}),R.map((function(e,t){return e.isVisible?Object(l.createElement)(z,{component:e.component,hiddenBlocks:e.hiddenBlocks,key:e.key,onChangeHiddenBlocks:(n=e.key,function(e){x(n,{hiddenBlocks:e})}),onTitleUpdate:B(e.key),path:w,query:D,title:e.title,onMove:Object(b.partial)(I,t),onRemove:V(e.key),isFirst:e.key===v[0],isLast:e.key===v[v.length-1]}):null;var n})),0===(t=R.filter((function(e){return!1===e.isVisible}))).length?null:Object(l.createElement)(d.a,{position:"top center",className:"woocommerce-dashboard-section__add-more",renderToggle:function(e){var t=e.onToggle,n=e.isOpen;return Object(l.createElement)(f.a,{onClick:t,title:Object(u.__)("Add more sections","woocommerce-admin"),"aria-expanded":n},Object(l.createElement)(h.a,{icon:j}))},renderContent:function(e){var n=e.onToggle;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(y.H,null,Object(u.__)("Dashboard Sections","woocommerce-admin")),Object(l.createElement)("div",{className:"woocommerce-dashboard-section__add-more-choices"},t.map((function(e){return Object(l.createElement)(f.a,{key:e.key,onClick:V(e.key,n),className:"woocommerce-dashboard-section__add-more-btn",title:Object(u.sprintf)(Object(u.__)("Add %s section","woocommerce-admin"),e.title)},Object(l.createElement)(m.a,{icon:e.icon,size:30}),Object(l.createElement)("span",{className:"woocommerce-dashboard-section__add-more-btn-title"},e.title))}))))}}))))}))}}]);
|
dist/chunks/{26.9af1b0a1d395a05d5392.js → 26.cce7c721f8ea92c47345.js}
RENAMED
@@ -2128,7 +2128,7 @@ var advancedFilters = Object(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_2__["appl
|
|
2128 |
|
2129 |
/***/ }),
|
2130 |
|
2131 |
-
/***/
|
2132 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2133 |
|
2134 |
"use strict";
|
2128 |
|
2129 |
/***/ }),
|
2130 |
|
2131 |
+
/***/ 925:
|
2132 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
2133 |
|
2134 |
"use strict";
|
dist/chunks/{26.9af1b0a1d395a05d5392.min.js → 26.cce7c721f8ea92c47345.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{720:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var o=r(12),a=r(15),c=r(14),n=r(0),i=r(2),l=r(112),s=r(171);function m(e){var t=e.help,r=e.label,u=e.multiple,d=void 0!==u&&u,p=e.onChange,b=e.options,_=void 0===b?[]:b,f=e.className,y=e.hideLabelFromVision,O=Object(c.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),j=Object(l.a)(m),h="inspector-select-control-".concat(j);return!Object(i.isEmpty)(_)&&Object(n.createElement)(s.a,{label:r,hideLabelFromVision:y,id:h,help:t,className:f},Object(n.createElement)("select",Object(o.a)({id:h,className:"components-select-control__input",onChange:function(e){if(d){var t=Object(a.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));p(t)}else p(e.target.value)},"aria-describedby":t?"".concat(h,"__help"):void 0,multiple:d},O),_.map((function(e,t){return Object(n.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}},750:function(e,t,r){"use strict";r.d(t,"d",(function(){return j})),r.d(t,"a",(function(){return h})),r.d(t,"e",(function(){return w})),r.d(t,"c",(function(){return v})),r.d(t,"b",(function(){return g}));var o=r(17),a=r.n(o),c=r(146),n=r.n(c),i=r(2),l=r(16),s=r.n(l),m=r(108),u=r(22),d=r(33),p=r(750);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){var t=e.endpoint,r=e.query,o=e.limitBy,c=e.filters,l=void 0===c?[]:c,d=e.advancedFilters,p=void 0===d?{}:d;return r.search?(o||[t]).reduce((function(e,t){return e[t]=r[t],e}),{}):l.map((function(e){return function(e,t,r){var o=r[e.param];if(!o)return{};if("advanced"===o){var c=Object(u.getActiveFiltersFromQuery)(r,t.filters);return 0===c.length?{}:c.map((function(e){return function(e,t){var r=e.filters[t.key];if("Date"!==Object(i.get)(r,["input","component"]))return t;var o=t.rule,a=t.value,c={after:"start",before:"end"};if(Array.isArray(a)){var l=n()(a,2),u=l[0],d=l[1];return Object.assign({},t,{value:[Object(m.a)(s()(u),c.after),Object(m.a)(s()(d),c.before)]})}return Object.assign({},t,{value:Object(m.a)(s()(a),c[o])})}(t,e)})).reduce((function(e,t){var r=t.key,o=t.rule,a=t.value;return e[Object(u.getUrlKey)(r,o)]=a,e}),{match:r.match||"all"})}var l=Object(i.find)(Object(u.flattenFilters)(e.filters),{value:o});if(!l)return{};if(l.settings&&l.settings.param){var d=l.settings.param;return r[d]?a()({},d,r[d]):{}}return a()({},e.param,o)}(e,p,r)})).reduce((function(e,t){return Object.assign(e,t)}),{})}var y=["stock","customers"];function O(e){var t=e.endpoint,r=e.dataType,o=e.query,a=e.fields,c=Object(m.f)(o,e.defaultDateRange),n=Object(m.i)(o),l=f(e),s=c[r].before;return Object(i.includes)(y,t)?_(_({},l),{},{fields:a}):_({order:"asc",interval:n,per_page:d.b,after:Object(m.a)(c[r].after,"start"),before:Object(m.a)(s,"end"),segmentby:o.segmentby,fields:a},l)}function j(e){var t=e.endpoint,r=(0,e.select)("wc-api"),o=r.getReportStats,a=r.getReportStatsError,c=r.isReportStatsRequesting,n={isRequesting:!1,isError:!1,totals:{primary:null,secondary:null}},i=O(_(_({},e),{},{dataType:"primary"})),l=o(t,i);if(c(t,i))return _(_({},n),{},{isRequesting:!0});if(a(t,i))return _(_({},n),{},{isError:!0});var s=l&&l.data&&l.data.totals||null,m=O(_(_({},e),{},{dataType:"secondary"})),u=o(t,m);if(c(t,m))return _(_({},n),{},{isRequesting:!0});if(a(t,m))return _(_({},n),{},{isError:!0});var d=u&&u.data&&u.data.totals||null;return _(_({},n),{},{totals:{primary:s,secondary:d}})}function h(e){var t=e.endpoint,r=(0,e.select)("wc-api"),o=r.getReportStats,a=r.getReportStatsError,c=r.isReportStatsRequesting,n={isEmpty:!1,isError:!1,isRequesting:!1,data:{totals:{},intervals:[]}},l=O(e),s=o(t,l);if(c(t,l))return _(_({},n),{},{isRequesting:!0});if(a(t,l))return _(_({},n),{},{isError:!0});if(function(e,t){return!e||(!e.data||(!(e.data.totals&&!Object(i.isNull)(e.data.totals))||!(Object(i.includes)(y,t)||e.data.intervals&&0!==e.data.intervals.length)))}(s,t))return _(_({},n),{},{isEmpty:!0});var m=s&&s.data&&s.data.totals||null,u=s&&s.data&&s.data.intervals||[];if(s.totalResults>d.b){for(var p=!0,b=!1,f=[],j=Math.ceil(s.totalResults/d.b),h=1,w=2;w<=j;w++){var v=_(_({},l),{},{page:w}),g=o(t,v);if(!c(t,v)){if(a(t,v)){b=!0,p=!1;break}if(f.push(g),++h===j){p=!1;break}}}if(p)return _(_({},n),{},{isRequesting:!0});if(b)return _(_({},n),{},{isError:!0});Object(i.forEach)(f,(function(e){u=u.concat(e.data.intervals)}))}return _(_({},n),{},{data:{totals:m,intervals:u}})}function w(e,t){switch(e){case"currency":return t;case"percent":return".0%";case"number":return",";case"average":return",.2r";default:return","}}function v(e){var t=e.query,r=e.tableQuery,o=void 0===r?{}:r,a=f(e),c=Object(m.f)(t,e.defaultDateRange),n=Object(i.includes)(y,e.endpoint);return _(_({orderby:t.orderby||"date",order:t.order||"desc",after:n?void 0:Object(m.a)(c.primary.after,"start"),before:n?void 0:Object(m.a)(c.primary.before,"end"),page:t.paged||1,per_page:t.per_page||d.d.pageSize},a),o)}function g(e){var t=e.endpoint,r=(0,e.select)("wc-api"),o=r.getReportItems,a=r.getReportItemsError,c=r.isReportItemsRequesting,n=p.c(e),i={query:n,isRequesting:!1,isError:!1,items:{data:[],totalResults:0}},l=o(t,n);return c(t,n)?_(_({},i),{},{isRequesting:!0}):a(t,n)?_(_({},i),{},{isError:!0}):_(_({},i),{},{items:l})}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return m})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return _})),r.d(t,"g",(function(){return f}));var o=r(27),a=r(21),c=r.n(a),n=r(2),i=r(22),l=r(752),s=r(33);function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(a):e,l=Object(i.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var s={include:l.join(","),per_page:l.length};return c()({path:Object(o.addQueryArgs)(n,s)}).then((function(e){return e.map(t)}))}}var u=m(s.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=m(s.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=m(s.c+"/customers",(function(e){return{key:e.id,label:e.name}})),b=m(s.c+"/products",(function(e){return{key:e.id,label:e.name}})),_=m(s.c+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}})),f=m((function(e){return s.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,o){return e+"".concat(t.option).concat(o.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(3);function a(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var o=r(17),a=r.n(o),c=r(38),n=r.n(c),i=r(37),l=r.n(i),s=r(39),m=r.n(s),u=r(42),d=r.n(u),p=r(26),b=r.n(p),_=r(0),f=r(3),y=r(169),O=r(173),j=r(2),h=r(1),w=r.n(h),v=r(108),g=r(53),k=r(43),x=r(200),S=r(750),R=r(261),C=r(101),P=r(22);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function q(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 r,o=b()(e);if(t){var a=b()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return d()(this,r)}}var D=function(e){m()(r,e);var t=q(r);function r(){return n()(this,r),t.apply(this,arguments)}return l()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(j.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var o=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:o,value:e.subtotals[r.key]||0}}})),E({date:Object(O.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,o=e.secondaryData,a=e.selectedChart,c=e.defaultDateRange,n=Object(v.i)(t),i=Object(v.f)(t,c),l=i.primary,s=i.secondary;return r.data.intervals.map((function(e,r){var c=Object(v.j)(e.date_start,l.after,s.after,t.compare,n),i=o.data.intervals[r];return{date:Object(O.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(l.label," (").concat(l.range,")"),labelDate:e.date_start,value:e.subtotals[a.key]||0},secondary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:c.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[a.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,o=e.selectedChart;return{primary:Object(j.get)(t,["data","totals",o.key],null),secondary:Object(j.get)(r,["data","totals",o.key],null)}}},{key:"renderChart",value:function(e,t,r,o){var a=this.props,c=a.emptySearchResults,n=a.filterParam,i=a.interactiveLegend,l=a.itemsLabel,s=a.legendPosition,m=a.path,u=a.query,d=a.selectedChart,p=a.showHeaderControls,b=a.primaryData,y=Object(v.i)(u),O=Object(v.d)(u),j=Object(v.g)(y,b.data.intervals.length),h=c?Object(f.__)("No data for the current search","woocommerce-admin"):Object(f.__)("No data for the selected date range","woocommerce-admin"),w=this.context,k=w.formatCurrency,x=w.getCurrency;return Object(_.createElement)(g.Chart,{allowedIntervals:O,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:h,filterParam:n,interactiveLegend:i,interval:y,isRequesting:t,itemsLabel:l,legendPosition:s,legendTotals:o,mode:e,path:m,query:u,screenReaderFormat:j.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:j.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.e)(d.type,k),chartType:Object(v.e)(u),valueType:d.type,xFormat:j.xFormat,x2Format:j.x2Format,currency:x()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(_.createElement)(R.a,{isError:!0});var o=t||r.isRequesting,a=this.getItemChartData();return this.renderChart("item-comparison",o,a)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,o=e.secondaryData;if(!r||r.isError||o.isError)return Object(_.createElement)(R.a,{isError:!0});var a=t||r.isRequesting||o.isRequesting,c=this.getTimeChartData(),n=this.getTimeChartTotals();return this.renderChart("time-comparison",a,c,n)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(_.Component);D.contextType=x.a,D.propTypes={filters:w.a.array,isRequesting:w.a.bool,itemsLabel:w.a.string,limitProperties:w.a.array,mode:w.a.string,path:w.a.string.isRequired,primaryData:w.a.object,query:w.a.object.isRequired,secondaryData:w.a.object,selectedChart:w.a.shape({key:w.a.string.isRequired,label:w.a.string.isRequired,order:w.a.oneOf(["asc","desc"]),orderby:w.a.string,type:w.a.oneOf(["average","number","currency"]).isRequired}).isRequired},D.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(y.a)(Object(C.a)((function(e,t){var r=t.charts,o=t.endpoint,a=t.filters,c=t.isRequesting,n=t.limitProperties,i=t.query,l=t.advancedFilters,s=n||[o],m=function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var a=t.slice(0),c=a.pop();if(c.showFilters(r,o)){var n=Object(P.flattenFilters)(c.filters),i=r[c.param]||c.defaultValue||"all";return Object(j.find)(n,{value:i})}return e(a,r,o)}(a,i),u=Object(j.get)(m,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(j.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(j.get)(e,["chartMode"])}return null}(m,i)||"time-comparison",p=e(k.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:u,defaultDateRange:p};if(c)return b;var _=s.some((function(e){return i[e]&&i[e].length}));if(i.search&&!_)return E(E({},b),{},{emptySearchResults:!0});var f=r&&r.map((function(e){return e.key})),y=Object(S.a)({endpoint:o,dataType:"primary",query:i,select:e,limitBy:s,filters:a,advancedFilters:l,defaultDateRange:p,fields:f});if("item-comparison"===d)return E(E({},b),{},{primaryData:y});var O=Object(S.a)({endpoint:o,dataType:"secondary",query:i,select:e,limitBy:s,filters:a,advancedFilters:l,defaultDateRange:p,fields:f});return E(E({},b),{},{primaryData:y,secondaryData:O})})))(D)},778:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i}));var o=r(3),a=r(48),c=Object(a.applyFilters)("woocommerce_admin_revenue_report_charts",[{key:"gross_sales",label:Object(o.__)("Gross Sales","woocommerce-admin"),order:"desc",orderby:"gross_sales",type:"currency"},{key:"refunds",label:Object(o.__)("Returns","woocommerce-admin"),order:"desc",orderby:"refunds",type:"currency"},{key:"coupons",label:Object(o.__)("Coupons","woocommerce-admin"),order:"desc",orderby:"coupons",type:"currency"},{key:"net_revenue",label:Object(o.__)("Net Sales","woocommerce-admin"),orderby:"net_revenue",type:"currency"},{key:"taxes",label:Object(o.__)("Taxes","woocommerce-admin"),order:"desc",orderby:"taxes",type:"currency"},{key:"shipping",label:Object(o.__)("Shipping","woocommerce-admin"),orderby:"shipping",type:"currency"},{key:"total_sales",label:Object(o.__)("Total Sales","woocommerce-admin"),order:"desc",orderby:"total_sales",type:"currency"}]),n=Object(a.applyFilters)("woocommerce_admin_revenue_report_filters",[]),i=Object(a.applyFilters)("woocommerce_admin_revenue_report_advanced_filters",{})},779:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return s})),r.d(t,"a",(function(){return m}));var o=r(3),a=r(48),c=r(751),n=Object(a.applyFilters)("woocommerce_admin_products_report_charts",[{key:"items_sold",label:Object(o.__)("Items Sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(o.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(o.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),i={label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Products","woocommerce-admin"),value:"all"},{label:Object(o.__)("Single Product","woocommerce-admin"),value:"select_product",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_product",chartMode:"item-comparison",path:["select_product"],settings:{type:"products",param:"products",getLabels:c.d,labels:{placeholder:Object(o.__)("Type to search for a product","woocommerce-admin"),button:Object(o.__)("Single Product","woocommerce-admin")}}}]},{label:Object(o.__)("Comparison","woocommerce-admin"),value:"compare-products",chartMode:"item-comparison",settings:{type:"products",param:"products",getLabels:c.d,labels:{helpText:Object(o.__)("Check at least two products below to compare","woocommerce-admin"),placeholder:Object(o.__)("Search for products to compare","woocommerce-admin"),title:Object(o.__)("Compare Products","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin")}}}]},l={showFilters:function(e){return"single_product"===e.filter&&!!e.products&&e["is-variable"]},staticParams:["filter","products","chartType","paged","per_page"],param:"filter-variations",filters:[{label:Object(o.__)("All Variations","woocommerce-admin"),chartMode:"item-comparison",value:"all"},{label:Object(o.__)("Comparison","woocommerce-admin"),chartMode:"item-comparison",value:"compare-variations",settings:{type:"variations",param:"variations",getLabels:c.g,labels:{helpText:Object(o.__)("Check at least two variations below to compare","woocommerce-admin"),placeholder:Object(o.__)("Search for variations to compare","woocommerce-admin"),title:Object(o.__)("Compare Variations","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin")}}}]},s=Object(a.applyFilters)("woocommerce_admin_products_report_filters",[i,l]),m=Object(a.applyFilters)("woocommerce_admin_products_report_advanced_filters",{})},780:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return l})),r.d(t,"a",(function(){return s}));var o=r(3),a=r(48),c=r(23),n=r(751),i=Object(a.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(o.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(o.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(o.__)("Average Order Value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(o.__)("Average Items Per Order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),l=Object(a.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Orders","woocommerce-admin"),value:"all"},{label:Object(o.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),s=Object(a.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(o._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(o.__)("Order Status","woocommerce-admin"),remove:Object(o.__)("Remove order status filter","woocommerce-admin"),rule:Object(o.__)("Select an order status filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(o._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(o._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(c.d).map((function(e){return{value:e,label:c.d[e]}}))}},product:{labels:{add:Object(o.__)("Products","woocommerce-admin"),placeholder:Object(o.__)("Search products","woocommerce-admin"),remove:Object(o.__)("Remove products filter","woocommerce-admin"),rule:Object(o.__)("Select a product filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:n.d}},coupon:{labels:{add:Object(o.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(o.__)("Search coupons","woocommerce-admin"),remove:Object(o.__)("Remove coupon filter","woocommerce-admin"),rule:Object(o.__)("Select a coupon filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:n.b}},customer_type:{labels:{add:Object(o.__)("Customer Type","woocommerce-admin"),remove:Object(o.__)("Remove customer filter","woocommerce-admin"),rule:Object(o.__)("Select a customer filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(o.__)("New","woocommerce-admin")},{value:"returning",label:Object(o.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(o.__)("Refunds","woocommerce-admin"),remove:Object(o.__)("Remove refunds filter","woocommerce-admin"),rule:Object(o.__)("Select a refund filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(o.__)("All","woocommerce-admin")},{value:"partial",label:Object(o.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(o.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(o.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(o.__)("Tax Rates","woocommerce-admin"),placeholder:Object(o.__)("Search tax rates","woocommerce-admin"),remove:Object(o.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(o.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:n.f}}}})},781:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return l}));var o=r(3),a=r(48),c=r(751),n=Object(a.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(o.__)("Discounted Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(o.__)("Amount","woocommerce-admin"),order:"desc",orderby:"amount",type:"currency"}]),i=Object(a.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Coupons","woocommerce-admin"),value:"all"},{label:Object(o.__)("Single Coupon","woocommerce-admin"),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:c.b,labels:{placeholder:Object(o.__)("Type to search for a coupon","woocommerce-admin"),button:Object(o.__)("Single Coupon","woocommerce-admin")}}}]},{label:Object(o.__)("Comparison","woocommerce-admin"),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:c.b,labels:{title:Object(o.__)("Compare Coupon Codes","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin"),helpText:Object(o.__)("Check at least two coupon codes below to compare","woocommerce-admin")}}}]}]),l=Object(a.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{})},782:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return s})),r.d(t,"a",(function(){return m}));var o=r(3),a=r(48),c=r(751),n=r(752),i=r(33),l=Object(a.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(o.__)("Total Tax","woocommerce-admin"),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(o.__)("Order Tax","woocommerce-admin"),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(o.__)("Shipping Tax","woocommerce-admin"),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(o.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),s=Object(a.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Taxes","woocommerce-admin"),value:"all"},{label:Object(o.__)("Comparison","woocommerce-admin"),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(c.e)(i.c+"/taxes",(function(e){return{id:e.id,label:Object(n.a)(e)}})),labels:{helpText:Object(o.__)("Check at least two tax codes below to compare","woocommerce-admin"),placeholder:Object(o.__)("Search for tax codes to compare","woocommerce-admin"),title:Object(o.__)("Compare Tax Codes","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin")}}}]}]),m=Object(a.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})},783:function(e,t,r){"use strict";r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return d}));var o,a,c=r(51),n=r.n(c),i=r(3),l=r(48),s=r(751),m=Object(l.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(i.__)("Downloads","woocommerce-admin"),type:"number"}]),u=Object(l.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(i.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(i.__)("All Downloads","woocommerce-admin"),value:"all"},{label:Object(i.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),d=Object(l.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(i._x)("Downloads Match {{select /}} Filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg","woocommerce-admin"),filters:{product:{labels:{add:Object(i.__)("Product","woocommerce-admin"),placeholder:Object(i.__)("Search","woocommerce-admin"),remove:Object(i.__)("Remove product filter","woocommerce-admin"),rule:Object(i.__)("Select a product filter match","woocommerce-admin"),title:Object(i.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select product","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:s.d}},customer:{labels:{add:Object(i.__)("Username","woocommerce-admin"),placeholder:Object(i.__)("Search customer username","woocommerce-admin"),remove:Object(i.__)("Remove customer username filter","woocommerce-admin"),rule:Object(i.__)("Select a customer username filter match","woocommerce-admin"),title:Object(i.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:s.c}},order:{labels:{add:Object(i.__)("Order #","woocommerce-admin"),placeholder:Object(i.__)("Search order number","woocommerce-admin"),remove:Object(i.__)("Remove order number filter","woocommerce-admin"),rule:Object(i.__)("Select a order number filter match","woocommerce-admin"),title:Object(i.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select order number","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","order numbers","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","order numbers","woocommerce-admin")}],input:{component:"Search",type:"orders",getLabels:(a=n()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:"#"+e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})}},ip_address:{labels:{add:Object(i.__)("IP Address","woocommerce-admin"),placeholder:Object(i.__)("Search IP address","woocommerce-admin"),remove:Object(i.__)("Remove IP address filter","woocommerce-admin"),rule:Object(i.__)("Select an IP address filter match","woocommerce-admin"),title:Object(i.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select IP address","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","IP addresses","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","IP addresses","woocommerce-admin")}],input:{component:"Search",type:"downloadIps",getLabels:(o=n()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})}}}})},904:function(e,t,r){},905:function(e,t,r){},924:function(e,t,r){"use strict";r.r(t);var o=r(17),a=r.n(o),c=r(146),n=r.n(c),i=r(129),l=r.n(i),s=r(0),m=r(3),u=r(8),d=r.n(u),p=r(90),b=r.n(p),_=r(1),f=r.n(_),y=r(720),O=r(418),j=r(67),h=r(53),w=r(43),v=r(108),g=r(38),k=r.n(g),x=r(37),S=r.n(x),R=r(39),C=r.n(R),P=r(42),T=r.n(P),E=r(26),q=r.n(E),D=r(22),F=r(23),I=r(754);r(904);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=q()(e);if(t){var a=q()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return T()(this,r)}}var N=function(e){C()(r,e);var t=L(r);function r(){var e,o;k()(this,r);for(var a=arguments.length,c=new Array(a),n=0;n<a;n++)c[n]=arguments[n];return T()(o,(e=o=t.call.apply(t,[this].concat(c)),o.handleChartClick=function(){var e=o.props.selectedChart;Object(D.getHistory)().push(o.getChartPath(e))},e))}return S()(r,[{key:"getChartPath",value:function(e){return Object(D.getNewPath)({chart:e.key},"/analytics/"+e.endpoint,Object(D.getPersistedQuery)())}},{key:"render",value:function(){var e=this.props,t=e.charts,r=e.endpoint,o=e.path,a=e.query,c=e.selectedChart;return c?Object(s.createElement)("div",{role:"presentation",className:"woocommerce-dashboard__chart-block-wrapper",onClick:this.handleChartClick},Object(s.createElement)(h.Card,{className:"woocommerce-dashboard__chart-block woocommerce-analytics__card",title:c.label},Object(s.createElement)("a",{className:"screen-reader-text",href:Object(F.f)(this.getChartPath(c))},Object(m.sprintf)(Object(m.__)("%s Report","woocommerce-admin"),c.label)),Object(s.createElement)(I.a,{charts:t,endpoint:r,query:a,interactiveLegend:!1,legendPosition:"bottom",path:o,selectedChart:c,showHeaderControls:!1}))):null}}]),r}(s.Component);N.propTypes={charts:f.a.array,endpoint:f.a.string.isRequired,path:f.a.string.isRequired,query:f.a.object.isRequired,selectedChart:f.a.object.isRequired};var A=N,M=r(48),B=r(780),H=r(779),V=r(778),U=r(781),Y=r(782),Q=r(783);function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var J={revenue:V.b,orders:B.b,products:H.b,coupons:U.b,taxes:Y.b,downloads:Q.b},K=[{label:Object(m.__)("Total Sales","woocommerce-admin"),report:"revenue",key:"total_sales"},{label:Object(m.__)("Net Sales","woocommerce-admin"),report:"revenue",key:"net_revenue"},{label:Object(m.__)("Orders","woocommerce-admin"),report:"orders",key:"orders_count"},{label:Object(m.__)("Average Order Value","woocommerce-admin"),report:"orders",key:"avg_order_value"},{label:Object(m.__)("Items Sold","woocommerce-admin"),report:"products",key:"items_sold"},{label:Object(m.__)("Returns","woocommerce-admin"),report:"revenue",key:"refunds"},{label:Object(m.__)("Discounted Orders","woocommerce-admin"),report:"coupons",key:"orders_count"},{label:Object(m.__)("Gross discounted","woocommerce-admin"),report:"coupons",key:"amount"},{label:Object(m.__)("Total Tax","woocommerce-admin"),report:"taxes",key:"total_tax"},{label:Object(m.__)("Order Tax","woocommerce-admin"),report:"taxes",key:"order_tax"},{label:Object(m.__)("Shipping Tax","woocommerce-admin"),report:"taxes",key:"shipping_tax"},{label:Object(m.__)("Shipping","woocommerce-admin"),report:"revenue",key:"shipping"},{label:Object(m.__)("Downloads","woocommerce-admin"),report:"downloads",key:"download_count"}],X=Object(M.applyFilters)("woocommerce_admin_dashboard_charts_filter",K.map((function(e){return G(G({},J[e.report].find((function(t){return t.key===e.key}))),{},{label:e.label,endpoint:e.report})}))),W=r(63);r(905);function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ee=function(e){var t=e.controls,r=e.hiddenBlocks,o=e.isFirst,a=e.isLast,c=e.onMove,i=e.onRemove,u=e.onTitleBlur,p=e.onTitleChange,_=e.onToggleHiddenBlock,f=e.path,g=e.title,k=e.titleInput,x=Object(w.useUserPreferences)(),S=x.updateUserPreferences,R=l()(x,["updateUserPreferences"]),C=Object(s.useState)(R.dashboard_chart_type||"line"),P=n()(C,2),T=P[0],E=P[1],q=Object(s.useState)(R.dashboard_chart_interval||"day"),D=n()(q,2),F=D[0],I=D[1],L=$($({},e.query),{},{chartType:T,interval:F}),N=function(e){return function(){E(e),S({dashboard_chart_type:e}),Object(W.b)("dash_charts_type_toggle",{chart_type:e})}};return Object(s.createElement)("div",{className:"woocommerce-dashboard__dashboard-charts"},Object(s.createElement)(h.SectionHeader,{title:g||Object(m.__)("Charts","woocommerce-admin"),menu:Object(s.createElement)(h.EllipsisMenu,{label:Object(m.__)("Choose which charts to display","woocommerce-admin"),renderContent:function(e){var n=e.onToggle;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(h.MenuTitle,null,Object(m.__)("Charts","woocommerce-admin")),function(e){var t=e.hiddenBlocks,r=e.onToggleHiddenBlock;return X.map((function(e){var o=e.endpoint+"_"+e.key,a=!t.includes(o);return Object(s.createElement)(h.MenuItem,{checked:a,isCheckbox:!0,isClickable:!0,key:e.endpoint+"_"+e.key,onInvoke:function(){r(o)(),Object(W.b)("dash_charts_chart_toggle",{status:a?"off":"on",key:o})}},e.label)}))}({hiddenBlocks:r,onToggleHiddenBlock:_}),window.wcAdminFeatures["analytics-dashboard/customizable"]&&Object(s.createElement)(t,{onToggle:n,onMove:c,onRemove:i,isFirst:o,isLast:a,onTitleBlur:u,onTitleChange:p,titleInput:k}))}}),className:"has-interval-select"},function(e){var t=e.chartInterval,r=e.setInterval,o=e.query,a=Object(v.d)(o);if(!a||a.length<1)return null;var c={hour:Object(m.__)("By hour","woocommerce-admin"),day:Object(m.__)("By day","woocommerce-admin"),week:Object(m.__)("By week","woocommerce-admin"),month:Object(m.__)("By month","woocommerce-admin"),quarter:Object(m.__)("By quarter","woocommerce-admin"),year:Object(m.__)("By year","woocommerce-admin")};return Object(s.createElement)(y.a,{className:"woocommerce-chart__interval-select",value:t,options:a.map((function(e){return{value:e,label:c[e]}})),onChange:r})}({chartInterval:F,setInterval:function(e){I(e),S({dashboard_chart_interval:e}),Object(W.b)("dash_charts_interval",{interval:e})},query:L}),Object(s.createElement)(O.a,{className:"woocommerce-chart__types",orientation:"horizontal",role:"menubar"},Object(s.createElement)(j.a,{className:d()("woocommerce-chart__type-button",{"woocommerce-chart__type-button-selected":!L.chartType||"line"===L.chartType}),title:Object(m.__)("Line chart","woocommerce-admin"),"aria-checked":"line"===L.chartType,role:"menuitemradio",tabIndex:"line"===L.chartType?0:-1,onClick:N("line")},Object(s.createElement)(b.a,{icon:"line-graph"})),Object(s.createElement)(j.a,{className:d()("woocommerce-chart__type-button",{"woocommerce-chart__type-button-selected":"bar"===L.chartType}),title:Object(m.__)("Bar chart","woocommerce-admin"),"aria-checked":"bar"===L.chartType,role:"menuitemradio",tabIndex:"bar"===L.chartType?0:-1,onClick:N("bar")},Object(s.createElement)(b.a,{icon:"stats-alt"})))),function(e){var t=e.hiddenBlocks,r=e.path,o=e.query,a=X.reduce((function(e,t){return void 0===e[t.endpoint]&&(e[t.endpoint]=[]),e[t.endpoint].push(t),e}),{});return Object(s.createElement)("div",{className:"woocommerce-dashboard__columns"},X.map((function(e){return t.includes(e.endpoint+"_"+e.key)?null:Object(s.createElement)(A,{charts:a[e.endpoint],endpoint:e.endpoint,key:e.endpoint+"_"+e.key,path:r,query:o,selectedChart:e})})))}({hiddenBlocks:r,path:f,query:L}))};ee.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired};t.default=ee}}]);
|
1 |
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{720:function(e,t,r){"use strict";r.d(t,"a",(function(){return m}));var o=r(12),a=r(15),c=r(14),n=r(0),i=r(2),l=r(112),s=r(171);function m(e){var t=e.help,r=e.label,u=e.multiple,d=void 0!==u&&u,p=e.onChange,b=e.options,_=void 0===b?[]:b,f=e.className,y=e.hideLabelFromVision,O=Object(c.a)(e,["help","label","multiple","onChange","options","className","hideLabelFromVision"]),j=Object(l.a)(m),h="inspector-select-control-".concat(j);return!Object(i.isEmpty)(_)&&Object(n.createElement)(s.a,{label:r,hideLabelFromVision:y,id:h,help:t,className:f},Object(n.createElement)("select",Object(o.a)({id:h,className:"components-select-control__input",onChange:function(e){if(d){var t=Object(a.a)(e.target.options).filter((function(e){return e.selected})).map((function(e){return e.value}));p(t)}else p(e.target.value)},"aria-describedby":t?"".concat(h,"__help"):void 0,multiple:d},O),_.map((function(e,t){return Object(n.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value,disabled:e.disabled},e.label)}))))}},750:function(e,t,r){"use strict";r.d(t,"d",(function(){return j})),r.d(t,"a",(function(){return h})),r.d(t,"e",(function(){return w})),r.d(t,"c",(function(){return v})),r.d(t,"b",(function(){return g}));var o=r(17),a=r.n(o),c=r(146),n=r.n(c),i=r(2),l=r(16),s=r.n(l),m=r(108),u=r(22),d=r(33),p=r(750);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e){var t=e.endpoint,r=e.query,o=e.limitBy,c=e.filters,l=void 0===c?[]:c,d=e.advancedFilters,p=void 0===d?{}:d;return r.search?(o||[t]).reduce((function(e,t){return e[t]=r[t],e}),{}):l.map((function(e){return function(e,t,r){var o=r[e.param];if(!o)return{};if("advanced"===o){var c=Object(u.getActiveFiltersFromQuery)(r,t.filters);return 0===c.length?{}:c.map((function(e){return function(e,t){var r=e.filters[t.key];if("Date"!==Object(i.get)(r,["input","component"]))return t;var o=t.rule,a=t.value,c={after:"start",before:"end"};if(Array.isArray(a)){var l=n()(a,2),u=l[0],d=l[1];return Object.assign({},t,{value:[Object(m.a)(s()(u),c.after),Object(m.a)(s()(d),c.before)]})}return Object.assign({},t,{value:Object(m.a)(s()(a),c[o])})}(t,e)})).reduce((function(e,t){var r=t.key,o=t.rule,a=t.value;return e[Object(u.getUrlKey)(r,o)]=a,e}),{match:r.match||"all"})}var l=Object(i.find)(Object(u.flattenFilters)(e.filters),{value:o});if(!l)return{};if(l.settings&&l.settings.param){var d=l.settings.param;return r[d]?a()({},d,r[d]):{}}return a()({},e.param,o)}(e,p,r)})).reduce((function(e,t){return Object.assign(e,t)}),{})}var y=["stock","customers"];function O(e){var t=e.endpoint,r=e.dataType,o=e.query,a=e.fields,c=Object(m.f)(o,e.defaultDateRange),n=Object(m.i)(o),l=f(e),s=c[r].before;return Object(i.includes)(y,t)?_(_({},l),{},{fields:a}):_({order:"asc",interval:n,per_page:d.b,after:Object(m.a)(c[r].after,"start"),before:Object(m.a)(s,"end"),segmentby:o.segmentby,fields:a},l)}function j(e){var t=e.endpoint,r=(0,e.select)("wc-api"),o=r.getReportStats,a=r.getReportStatsError,c=r.isReportStatsRequesting,n={isRequesting:!1,isError:!1,totals:{primary:null,secondary:null}},i=O(_(_({},e),{},{dataType:"primary"})),l=o(t,i);if(c(t,i))return _(_({},n),{},{isRequesting:!0});if(a(t,i))return _(_({},n),{},{isError:!0});var s=l&&l.data&&l.data.totals||null,m=O(_(_({},e),{},{dataType:"secondary"})),u=o(t,m);if(c(t,m))return _(_({},n),{},{isRequesting:!0});if(a(t,m))return _(_({},n),{},{isError:!0});var d=u&&u.data&&u.data.totals||null;return _(_({},n),{},{totals:{primary:s,secondary:d}})}function h(e){var t=e.endpoint,r=(0,e.select)("wc-api"),o=r.getReportStats,a=r.getReportStatsError,c=r.isReportStatsRequesting,n={isEmpty:!1,isError:!1,isRequesting:!1,data:{totals:{},intervals:[]}},l=O(e),s=o(t,l);if(c(t,l))return _(_({},n),{},{isRequesting:!0});if(a(t,l))return _(_({},n),{},{isError:!0});if(function(e,t){return!e||(!e.data||(!(e.data.totals&&!Object(i.isNull)(e.data.totals))||!(Object(i.includes)(y,t)||e.data.intervals&&0!==e.data.intervals.length)))}(s,t))return _(_({},n),{},{isEmpty:!0});var m=s&&s.data&&s.data.totals||null,u=s&&s.data&&s.data.intervals||[];if(s.totalResults>d.b){for(var p=!0,b=!1,f=[],j=Math.ceil(s.totalResults/d.b),h=1,w=2;w<=j;w++){var v=_(_({},l),{},{page:w}),g=o(t,v);if(!c(t,v)){if(a(t,v)){b=!0,p=!1;break}if(f.push(g),++h===j){p=!1;break}}}if(p)return _(_({},n),{},{isRequesting:!0});if(b)return _(_({},n),{},{isError:!0});Object(i.forEach)(f,(function(e){u=u.concat(e.data.intervals)}))}return _(_({},n),{},{data:{totals:m,intervals:u}})}function w(e,t){switch(e){case"currency":return t;case"percent":return".0%";case"number":return",";case"average":return",.2r";default:return","}}function v(e){var t=e.query,r=e.tableQuery,o=void 0===r?{}:r,a=f(e),c=Object(m.f)(t,e.defaultDateRange),n=Object(i.includes)(y,e.endpoint);return _(_({orderby:t.orderby||"date",order:t.order||"desc",after:n?void 0:Object(m.a)(c.primary.after,"start"),before:n?void 0:Object(m.a)(c.primary.before,"end"),page:t.paged||1,per_page:t.per_page||d.d.pageSize},a),o)}function g(e){var t=e.endpoint,r=(0,e.select)("wc-api"),o=r.getReportItems,a=r.getReportItemsError,c=r.isReportItemsRequesting,n=p.c(e),i={query:n,isRequesting:!1,isError:!1,items:{data:[],totalResults:0}},l=o(t,n);return c(t,n)?_(_({},i),{},{isRequesting:!0}):a(t,n)?_(_({},i),{},{isError:!0}):_(_({},i),{},{items:l})}},751:function(e,t,r){"use strict";r.d(t,"e",(function(){return m})),r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return b})),r.d(t,"f",(function(){return _})),r.d(t,"g",(function(){return f}));var o=r(27),a=r(21),c=r.n(a),n=r(2),i=r(22),l=r(752),s=r(33);function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.identity;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,n="function"==typeof e?e(a):e,l=Object(i.getIdsFromQuery)(r);if(l.length<1)return Promise.resolve([]);var s={include:l.join(","),per_page:l.length};return c()({path:Object(o.addQueryArgs)(n,s)}).then((function(e){return e.map(t)}))}}var u=m(s.c+"/products/categories",(function(e){return{key:e.id,label:e.name}})),d=m(s.c+"/coupons",(function(e){return{key:e.id,label:e.code}})),p=m(s.c+"/customers",(function(e){return{key:e.id,label:e.name}})),b=m(s.c+"/products",(function(e){return{key:e.id,label:e.name}})),_=m(s.c+"/taxes",(function(e){return{key:e.id,label:Object(l.a)(e)}})),f=m((function(e){return s.c+"/products/".concat(e.products,"/variations")}),(function(e){return{key:e.id,label:e.attributes.reduce((function(e,t,r,o){return e+"".concat(t.option).concat(o.length===r+1?"":", ")}),"")}}))},752:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var o=r(3);function a(e){return[e.country,e.state,e.name||Object(o.__)("TAX","woocommerce-admin"),e.priority].map((function(e){return e.toString().toUpperCase().trim()})).filter(Boolean).join("-")}},754:function(e,t,r){"use strict";var o=r(17),a=r.n(o),c=r(38),n=r.n(c),i=r(37),l=r.n(i),s=r(39),m=r.n(s),u=r(42),d=r.n(u),p=r(26),b=r.n(p),_=r(0),f=r(3),y=r(169),O=r(173),j=r(2),h=r(1),w=r.n(h),v=r(108),g=r(53),k=r(43),x=r(200),S=r(750),R=r(261),C=r(101),P=r(22);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function q(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 r,o=b()(e);if(t){var a=b()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return d()(this,r)}}var D=function(e){m()(r,e);var t=q(r);function r(){return n()(this,r),t.apply(this,arguments)}return l()(r,[{key:"shouldComponentUpdate",value:function(e){return e.isRequesting!==this.props.isRequesting||e.primaryData.isRequesting!==this.props.primaryData.isRequesting||e.secondaryData.isRequesting!==this.props.secondaryData.isRequesting||!Object(j.isEqual)(e.query,this.props.query)}},{key:"getItemChartData",value:function(){var e=this.props,t=e.primaryData,r=e.selectedChart;return t.data.intervals.map((function(e){var t={};return e.subtotals.segments.forEach((function(e){if(e.segment_label){var o=t[e.segment_label]?e.segment_label+" (#"+e.segment_id+")":e.segment_label;t[e.segment_id]={label:o,value:e.subtotals[r.key]||0}}})),E({date:Object(O.a)("Y-m-d\\TH:i:s",e.date_start)},t)}))}},{key:"getTimeChartData",value:function(){var e=this.props,t=e.query,r=e.primaryData,o=e.secondaryData,a=e.selectedChart,c=e.defaultDateRange,n=Object(v.i)(t),i=Object(v.f)(t,c),l=i.primary,s=i.secondary;return r.data.intervals.map((function(e,r){var c=Object(v.j)(e.date_start,l.after,s.after,t.compare,n),i=o.data.intervals[r];return{date:Object(O.a)("Y-m-d\\TH:i:s",e.date_start),primary:{label:"".concat(l.label," (").concat(l.range,")"),labelDate:e.date_start,value:e.subtotals[a.key]||0},secondary:{label:"".concat(s.label," (").concat(s.range,")"),labelDate:c.format("YYYY-MM-DD HH:mm:ss"),value:i&&i.subtotals[a.key]||0}}}))}},{key:"getTimeChartTotals",value:function(){var e=this.props,t=e.primaryData,r=e.secondaryData,o=e.selectedChart;return{primary:Object(j.get)(t,["data","totals",o.key],null),secondary:Object(j.get)(r,["data","totals",o.key],null)}}},{key:"renderChart",value:function(e,t,r,o){var a=this.props,c=a.emptySearchResults,n=a.filterParam,i=a.interactiveLegend,l=a.itemsLabel,s=a.legendPosition,m=a.path,u=a.query,d=a.selectedChart,p=a.showHeaderControls,b=a.primaryData,y=Object(v.i)(u),O=Object(v.d)(u),j=Object(v.g)(y,b.data.intervals.length),h=c?Object(f.__)("No data for the current search","woocommerce-admin"):Object(f.__)("No data for the selected date range","woocommerce-admin"),w=this.context,k=w.formatCurrency,x=w.getCurrency;return Object(_.createElement)(g.Chart,{allowedIntervals:O,data:r,dateParser:"%Y-%m-%dT%H:%M:%S",emptyMessage:h,filterParam:n,interactiveLegend:i,interval:y,isRequesting:t,itemsLabel:l,legendPosition:s,legendTotals:o,mode:e,path:m,query:u,screenReaderFormat:j.screenReaderFormat,showHeaderControls:p,title:d.label,tooltipLabelFormat:j.tooltipLabelFormat,tooltipTitle:"time-comparison"===e&&d.label||null,tooltipValueFormat:Object(S.e)(d.type,k),chartType:Object(v.e)(u),valueType:d.type,xFormat:j.xFormat,x2Format:j.x2Format,currency:x()})}},{key:"renderItemComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData;if(r.isError)return Object(_.createElement)(R.a,{isError:!0});var o=t||r.isRequesting,a=this.getItemChartData();return this.renderChart("item-comparison",o,a)}},{key:"renderTimeComparison",value:function(){var e=this.props,t=e.isRequesting,r=e.primaryData,o=e.secondaryData;if(!r||r.isError||o.isError)return Object(_.createElement)(R.a,{isError:!0});var a=t||r.isRequesting||o.isRequesting,c=this.getTimeChartData(),n=this.getTimeChartTotals();return this.renderChart("time-comparison",a,c,n)}},{key:"render",value:function(){return"item-comparison"===this.props.mode?this.renderItemComparison():this.renderTimeComparison()}}]),r}(_.Component);D.contextType=x.a,D.propTypes={filters:w.a.array,isRequesting:w.a.bool,itemsLabel:w.a.string,limitProperties:w.a.array,mode:w.a.string,path:w.a.string.isRequired,primaryData:w.a.object,query:w.a.object.isRequired,secondaryData:w.a.object,selectedChart:w.a.shape({key:w.a.string.isRequired,label:w.a.string.isRequired,order:w.a.oneOf(["asc","desc"]),orderby:w.a.string,type:w.a.oneOf(["average","number","currency"]).isRequired}).isRequired},D.defaultProps={isRequesting:!1,primaryData:{data:{intervals:[]},isError:!1,isRequesting:!1},secondaryData:{data:{intervals:[]},isError:!1,isRequesting:!1}};t.a=Object(y.a)(Object(C.a)((function(e,t){var r=t.charts,o=t.endpoint,a=t.filters,c=t.isRequesting,n=t.limitProperties,i=t.query,l=t.advancedFilters,s=n||[o],m=function e(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||0===t.length)return null;var a=t.slice(0),c=a.pop();if(c.showFilters(r,o)){var n=Object(P.flattenFilters)(c.filters),i=r[c.param]||c.defaultValue||"all";return Object(j.find)(n,{value:i})}return e(a,r,o)}(a,i),u=Object(j.get)(m,["settings","param"]),d=t.mode||function(e,t){if(e&&t){var r=Object(j.get)(e,["settings","param"]);if(!r||Object.keys(t).includes(r))return Object(j.get)(e,["chartMode"])}return null}(m,i)||"time-comparison",p=e(k.SETTINGS_STORE_NAME).getSetting("wc_admin","wcAdminSettings").woocommerce_default_date_range,b={mode:d,filterParam:u,defaultDateRange:p};if(c)return b;var _=s.some((function(e){return i[e]&&i[e].length}));if(i.search&&!_)return E(E({},b),{},{emptySearchResults:!0});var f=r&&r.map((function(e){return e.key})),y=Object(S.a)({endpoint:o,dataType:"primary",query:i,select:e,limitBy:s,filters:a,advancedFilters:l,defaultDateRange:p,fields:f});if("item-comparison"===d)return E(E({},b),{},{primaryData:y});var O=Object(S.a)({endpoint:o,dataType:"secondary",query:i,select:e,limitBy:s,filters:a,advancedFilters:l,defaultDateRange:p,fields:f});return E(E({},b),{},{primaryData:y,secondaryData:O})})))(D)},778:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){return i}));var o=r(3),a=r(48),c=Object(a.applyFilters)("woocommerce_admin_revenue_report_charts",[{key:"gross_sales",label:Object(o.__)("Gross Sales","woocommerce-admin"),order:"desc",orderby:"gross_sales",type:"currency"},{key:"refunds",label:Object(o.__)("Returns","woocommerce-admin"),order:"desc",orderby:"refunds",type:"currency"},{key:"coupons",label:Object(o.__)("Coupons","woocommerce-admin"),order:"desc",orderby:"coupons",type:"currency"},{key:"net_revenue",label:Object(o.__)("Net Sales","woocommerce-admin"),orderby:"net_revenue",type:"currency"},{key:"taxes",label:Object(o.__)("Taxes","woocommerce-admin"),order:"desc",orderby:"taxes",type:"currency"},{key:"shipping",label:Object(o.__)("Shipping","woocommerce-admin"),orderby:"shipping",type:"currency"},{key:"total_sales",label:Object(o.__)("Total Sales","woocommerce-admin"),order:"desc",orderby:"total_sales",type:"currency"}]),n=Object(a.applyFilters)("woocommerce_admin_revenue_report_filters",[]),i=Object(a.applyFilters)("woocommerce_admin_revenue_report_advanced_filters",{})},779:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return s})),r.d(t,"a",(function(){return m}));var o=r(3),a=r(48),c=r(751),n=Object(a.applyFilters)("woocommerce_admin_products_report_charts",[{key:"items_sold",label:Object(o.__)("Items Sold","woocommerce-admin"),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(o.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(o.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),i={label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Products","woocommerce-admin"),value:"all"},{label:Object(o.__)("Single Product","woocommerce-admin"),value:"select_product",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_product",chartMode:"item-comparison",path:["select_product"],settings:{type:"products",param:"products",getLabels:c.d,labels:{placeholder:Object(o.__)("Type to search for a product","woocommerce-admin"),button:Object(o.__)("Single Product","woocommerce-admin")}}}]},{label:Object(o.__)("Comparison","woocommerce-admin"),value:"compare-products",chartMode:"item-comparison",settings:{type:"products",param:"products",getLabels:c.d,labels:{helpText:Object(o.__)("Check at least two products below to compare","woocommerce-admin"),placeholder:Object(o.__)("Search for products to compare","woocommerce-admin"),title:Object(o.__)("Compare Products","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin")}}}]},l={showFilters:function(e){return"single_product"===e.filter&&!!e.products&&e["is-variable"]},staticParams:["filter","products","chartType","paged","per_page"],param:"filter-variations",filters:[{label:Object(o.__)("All Variations","woocommerce-admin"),chartMode:"item-comparison",value:"all"},{label:Object(o.__)("Comparison","woocommerce-admin"),chartMode:"item-comparison",value:"compare-variations",settings:{type:"variations",param:"variations",getLabels:c.g,labels:{helpText:Object(o.__)("Check at least two variations below to compare","woocommerce-admin"),placeholder:Object(o.__)("Search for variations to compare","woocommerce-admin"),title:Object(o.__)("Compare Variations","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin")}}}]},s=Object(a.applyFilters)("woocommerce_admin_products_report_filters",[i,l]),m=Object(a.applyFilters)("woocommerce_admin_products_report_advanced_filters",{})},780:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return l})),r.d(t,"a",(function(){return s}));var o=r(3),a=r(48),c=r(23),n=r(751),i=Object(a.applyFilters)("woocommerce_admin_orders_report_charts",[{key:"orders_count",label:Object(o.__)("Orders","woocommerce-admin"),type:"number"},{key:"net_revenue",label:Object(o.__)("Net Sales","woocommerce-admin"),order:"desc",orderby:"net_total",type:"currency"},{key:"avg_order_value",label:Object(o.__)("Average Order Value","woocommerce-admin"),type:"currency"},{key:"avg_items_per_order",label:Object(o.__)("Average Items Per Order","woocommerce-admin"),order:"desc",orderby:"num_items_sold",type:"average"}]),l=Object(a.applyFilters)("woocommerce_admin_orders_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Orders","woocommerce-admin"),value:"all"},{label:Object(o.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),s=Object(a.applyFilters)("woocommerce_admin_orders_report_advanced_filters",{title:Object(o._x)("Orders Match {{select /}} Filters","A sentence describing filters for Orders. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ","woocommerce-admin"),filters:{status:{labels:{add:Object(o.__)("Order Status","woocommerce-admin"),remove:Object(o.__)("Remove order status filter","woocommerce-admin"),rule:Object(o.__)("Select an order status filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Order Status{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select an order status","woocommerce-admin")},rules:[{value:"is",label:Object(o._x)("Is","order status","woocommerce-admin")},{value:"is_not",label:Object(o._x)("Is Not","order status","woocommerce-admin")}],input:{component:"SelectControl",options:Object.keys(c.d).map((function(e){return{value:e,label:c.d[e]}}))}},product:{labels:{add:Object(o.__)("Products","woocommerce-admin"),placeholder:Object(o.__)("Search products","woocommerce-admin"),remove:Object(o.__)("Remove products filter","woocommerce-admin"),rule:Object(o.__)("Select a product filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select products","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:n.d}},coupon:{labels:{add:Object(o.__)("Coupon Codes","woocommerce-admin"),placeholder:Object(o.__)("Search coupons","woocommerce-admin"),remove:Object(o.__)("Remove coupon filter","woocommerce-admin"),rule:Object(o.__)("Select a coupon filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Coupon Code{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select coupon codes","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","coupon code","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","coupon code","woocommerce-admin")}],input:{component:"Search",type:"coupons",getLabels:n.b}},customer_type:{labels:{add:Object(o.__)("Customer Type","woocommerce-admin"),remove:Object(o.__)("Remove customer filter","woocommerce-admin"),rule:Object(o.__)("Select a customer filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Customer is{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select a customer type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"new",label:Object(o.__)("New","woocommerce-admin")},{value:"returning",label:Object(o.__)("Returning","woocommerce-admin")}],defaultOption:"new"}},refunds:{labels:{add:Object(o.__)("Refunds","woocommerce-admin"),remove:Object(o.__)("Remove refunds filter","woocommerce-admin"),rule:Object(o.__)("Select a refund filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Refunds{{/title}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select a refund type","woocommerce-admin")},input:{component:"SelectControl",options:[{value:"all",label:Object(o.__)("All","woocommerce-admin")},{value:"partial",label:Object(o.__)("Partially refunded","woocommerce-admin")},{value:"full",label:Object(o.__)("Fully refunded","woocommerce-admin")},{value:"none",label:Object(o.__)("None","woocommerce-admin")}],defaultOption:"all"}},tax_rate:{labels:{add:Object(o.__)("Tax Rates","woocommerce-admin"),placeholder:Object(o.__)("Search tax rates","woocommerce-admin"),remove:Object(o.__)("Remove tax rate filter","woocommerce-admin"),rule:Object(o.__)("Select a tax rate filter match","woocommerce-admin"),title:Object(o.__)("{{title}}Tax Rate{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(o.__)("Select tax rates","woocommerce-admin")},rules:[{value:"includes",label:Object(o._x)("Includes","tax rate","woocommerce-admin")},{value:"excludes",label:Object(o._x)("Excludes","tax rate","woocommerce-admin")}],input:{component:"Search",type:"taxes",getLabels:n.f}}}})},781:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return l}));var o=r(3),a=r(48),c=r(751),n=Object(a.applyFilters)("woocommerce_admin_coupons_report_charts",[{key:"orders_count",label:Object(o.__)("Discounted Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"},{key:"amount",label:Object(o.__)("Amount","woocommerce-admin"),order:"desc",orderby:"amount",type:"currency"}]),i=Object(a.applyFilters)("woocommerce_admin_coupons_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Coupons","woocommerce-admin"),value:"all"},{label:Object(o.__)("Single Coupon","woocommerce-admin"),value:"select_coupon",chartMode:"item-comparison",subFilters:[{component:"Search",value:"single_coupon",chartMode:"item-comparison",path:["select_coupon"],settings:{type:"coupons",param:"coupons",getLabels:c.b,labels:{placeholder:Object(o.__)("Type to search for a coupon","woocommerce-admin"),button:Object(o.__)("Single Coupon","woocommerce-admin")}}}]},{label:Object(o.__)("Comparison","woocommerce-admin"),value:"compare-coupons",settings:{type:"coupons",param:"coupons",getLabels:c.b,labels:{title:Object(o.__)("Compare Coupon Codes","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin"),helpText:Object(o.__)("Check at least two coupon codes below to compare","woocommerce-admin")}}}]}]),l=Object(a.applyFilters)("woocommerce_admin_coupon_report_advanced_filters",{})},782:function(e,t,r){"use strict";r.d(t,"b",(function(){return l})),r.d(t,"c",(function(){return s})),r.d(t,"a",(function(){return m}));var o=r(3),a=r(48),c=r(751),n=r(752),i=r(33),l=Object(a.applyFilters)("woocommerce_admin_taxes_report_charts",[{key:"total_tax",label:Object(o.__)("Total Tax","woocommerce-admin"),order:"desc",orderby:"total_tax",type:"currency"},{key:"order_tax",label:Object(o.__)("Order Tax","woocommerce-admin"),order:"desc",orderby:"order_tax",type:"currency"},{key:"shipping_tax",label:Object(o.__)("Shipping Tax","woocommerce-admin"),order:"desc",orderby:"shipping_tax",type:"currency"},{key:"orders_count",label:Object(o.__)("Orders","woocommerce-admin"),order:"desc",orderby:"orders_count",type:"number"}]),s=Object(a.applyFilters)("woocommerce_admin_taxes_report_filters",[{label:Object(o.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(o.__)("All Taxes","woocommerce-admin"),value:"all"},{label:Object(o.__)("Comparison","woocommerce-admin"),value:"compare-taxes",chartMode:"item-comparison",settings:{type:"taxes",param:"taxes",getLabels:Object(c.e)(i.c+"/taxes",(function(e){return{id:e.id,label:Object(n.a)(e)}})),labels:{helpText:Object(o.__)("Check at least two tax codes below to compare","woocommerce-admin"),placeholder:Object(o.__)("Search for tax codes to compare","woocommerce-admin"),title:Object(o.__)("Compare Tax Codes","woocommerce-admin"),update:Object(o.__)("Compare","woocommerce-admin")}}}]}]),m=Object(a.applyFilters)("woocommerce_admin_taxes_report_advanced_filters",{})},783:function(e,t,r){"use strict";r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return u})),r.d(t,"a",(function(){return d}));var o,a,c=r(51),n=r.n(c),i=r(3),l=r(48),s=r(751),m=Object(l.applyFilters)("woocommerce_admin_downloads_report_charts",[{key:"download_count",label:Object(i.__)("Downloads","woocommerce-admin"),type:"number"}]),u=Object(l.applyFilters)("woocommerce_admin_downloads_report_filters",[{label:Object(i.__)("Show","woocommerce-admin"),staticParams:["chartType","paged","per_page"],param:"filter",showFilters:function(){return!0},filters:[{label:Object(i.__)("All Downloads","woocommerce-admin"),value:"all"},{label:Object(i.__)("Advanced Filters","woocommerce-admin"),value:"advanced"}]}]),d=Object(l.applyFilters)("woocommerce_admin_downloads_report_advanced_filters",{title:Object(i._x)("Downloads Match {{select /}} Filters","A sentence describing filters for Downloads. See screen shot for context: https://cloudup.com/ccxhyH2mEDg","woocommerce-admin"),filters:{product:{labels:{add:Object(i.__)("Product","woocommerce-admin"),placeholder:Object(i.__)("Search","woocommerce-admin"),remove:Object(i.__)("Remove product filter","woocommerce-admin"),rule:Object(i.__)("Select a product filter match","woocommerce-admin"),title:Object(i.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select product","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","products","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","products","woocommerce-admin")}],input:{component:"Search",type:"products",getLabels:s.d}},customer:{labels:{add:Object(i.__)("Username","woocommerce-admin"),placeholder:Object(i.__)("Search customer username","woocommerce-admin"),remove:Object(i.__)("Remove customer username filter","woocommerce-admin"),rule:Object(i.__)("Select a customer username filter match","woocommerce-admin"),title:Object(i.__)("{{title}}Username{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select customer username","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","customer usernames","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","customer usernames","woocommerce-admin")}],input:{component:"Search",type:"usernames",getLabels:s.c}},order:{labels:{add:Object(i.__)("Order #","woocommerce-admin"),placeholder:Object(i.__)("Search order number","woocommerce-admin"),remove:Object(i.__)("Remove order number filter","woocommerce-admin"),rule:Object(i.__)("Select a order number filter match","woocommerce-admin"),title:Object(i.__)("{{title}}Order #{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select order number","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","order numbers","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","order numbers","woocommerce-admin")}],input:{component:"Search",type:"orders",getLabels:(a=n()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:"#"+e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)})}},ip_address:{labels:{add:Object(i.__)("IP Address","woocommerce-admin"),placeholder:Object(i.__)("Search IP address","woocommerce-admin"),remove:Object(i.__)("Remove IP address filter","woocommerce-admin"),rule:Object(i.__)("Select an IP address filter match","woocommerce-admin"),title:Object(i.__)("{{title}}IP Address{{/title}} {{rule /}} {{filter /}}","woocommerce-admin"),filter:Object(i.__)("Select IP address","woocommerce-admin")},rules:[{value:"includes",label:Object(i._x)("Includes","IP addresses","woocommerce-admin")},{value:"excludes",label:Object(i._x)("Excludes","IP addresses","woocommerce-admin")}],input:{component:"Search",type:"downloadIps",getLabels:(o=n()(regeneratorRuntime.mark((function e(t){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.split(","),e.next=3,r.map((function(e){return{id:e,label:e}}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),function(e){return o.apply(this,arguments)})}}}})},904:function(e,t,r){},905:function(e,t,r){},925:function(e,t,r){"use strict";r.r(t);var o=r(17),a=r.n(o),c=r(146),n=r.n(c),i=r(129),l=r.n(i),s=r(0),m=r(3),u=r(8),d=r.n(u),p=r(90),b=r.n(p),_=r(1),f=r.n(_),y=r(720),O=r(418),j=r(67),h=r(53),w=r(43),v=r(108),g=r(38),k=r.n(g),x=r(37),S=r.n(x),R=r(39),C=r.n(R),P=r(42),T=r.n(P),E=r(26),q=r.n(E),D=r(22),F=r(23),I=r(754);r(904);function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,o=q()(e);if(t){var a=q()(this).constructor;r=Reflect.construct(o,arguments,a)}else r=o.apply(this,arguments);return T()(this,r)}}var N=function(e){C()(r,e);var t=L(r);function r(){var e,o;k()(this,r);for(var a=arguments.length,c=new Array(a),n=0;n<a;n++)c[n]=arguments[n];return T()(o,(e=o=t.call.apply(t,[this].concat(c)),o.handleChartClick=function(){var e=o.props.selectedChart;Object(D.getHistory)().push(o.getChartPath(e))},e))}return S()(r,[{key:"getChartPath",value:function(e){return Object(D.getNewPath)({chart:e.key},"/analytics/"+e.endpoint,Object(D.getPersistedQuery)())}},{key:"render",value:function(){var e=this.props,t=e.charts,r=e.endpoint,o=e.path,a=e.query,c=e.selectedChart;return c?Object(s.createElement)("div",{role:"presentation",className:"woocommerce-dashboard__chart-block-wrapper",onClick:this.handleChartClick},Object(s.createElement)(h.Card,{className:"woocommerce-dashboard__chart-block woocommerce-analytics__card",title:c.label},Object(s.createElement)("a",{className:"screen-reader-text",href:Object(F.f)(this.getChartPath(c))},Object(m.sprintf)(Object(m.__)("%s Report","woocommerce-admin"),c.label)),Object(s.createElement)(I.a,{charts:t,endpoint:r,query:a,interactiveLegend:!1,legendPosition:"bottom",path:o,selectedChart:c,showHeaderControls:!1}))):null}}]),r}(s.Component);N.propTypes={charts:f.a.array,endpoint:f.a.string.isRequired,path:f.a.string.isRequired,query:f.a.object.isRequired,selectedChart:f.a.object.isRequired};var A=N,M=r(48),B=r(780),H=r(779),V=r(778),U=r(781),Y=r(782),Q=r(783);function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var J={revenue:V.b,orders:B.b,products:H.b,coupons:U.b,taxes:Y.b,downloads:Q.b},K=[{label:Object(m.__)("Total Sales","woocommerce-admin"),report:"revenue",key:"total_sales"},{label:Object(m.__)("Net Sales","woocommerce-admin"),report:"revenue",key:"net_revenue"},{label:Object(m.__)("Orders","woocommerce-admin"),report:"orders",key:"orders_count"},{label:Object(m.__)("Average Order Value","woocommerce-admin"),report:"orders",key:"avg_order_value"},{label:Object(m.__)("Items Sold","woocommerce-admin"),report:"products",key:"items_sold"},{label:Object(m.__)("Returns","woocommerce-admin"),report:"revenue",key:"refunds"},{label:Object(m.__)("Discounted Orders","woocommerce-admin"),report:"coupons",key:"orders_count"},{label:Object(m.__)("Gross discounted","woocommerce-admin"),report:"coupons",key:"amount"},{label:Object(m.__)("Total Tax","woocommerce-admin"),report:"taxes",key:"total_tax"},{label:Object(m.__)("Order Tax","woocommerce-admin"),report:"taxes",key:"order_tax"},{label:Object(m.__)("Shipping Tax","woocommerce-admin"),report:"taxes",key:"shipping_tax"},{label:Object(m.__)("Shipping","woocommerce-admin"),report:"revenue",key:"shipping"},{label:Object(m.__)("Downloads","woocommerce-admin"),report:"downloads",key:"download_count"}],X=Object(M.applyFilters)("woocommerce_admin_dashboard_charts_filter",K.map((function(e){return G(G({},J[e.report].find((function(t){return t.key===e.key}))),{},{label:e.label,endpoint:e.report})}))),W=r(63);r(905);function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Z(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ee=function(e){var t=e.controls,r=e.hiddenBlocks,o=e.isFirst,a=e.isLast,c=e.onMove,i=e.onRemove,u=e.onTitleBlur,p=e.onTitleChange,_=e.onToggleHiddenBlock,f=e.path,g=e.title,k=e.titleInput,x=Object(w.useUserPreferences)(),S=x.updateUserPreferences,R=l()(x,["updateUserPreferences"]),C=Object(s.useState)(R.dashboard_chart_type||"line"),P=n()(C,2),T=P[0],E=P[1],q=Object(s.useState)(R.dashboard_chart_interval||"day"),D=n()(q,2),F=D[0],I=D[1],L=$($({},e.query),{},{chartType:T,interval:F}),N=function(e){return function(){E(e),S({dashboard_chart_type:e}),Object(W.b)("dash_charts_type_toggle",{chart_type:e})}};return Object(s.createElement)("div",{className:"woocommerce-dashboard__dashboard-charts"},Object(s.createElement)(h.SectionHeader,{title:g||Object(m.__)("Charts","woocommerce-admin"),menu:Object(s.createElement)(h.EllipsisMenu,{label:Object(m.__)("Choose which charts to display","woocommerce-admin"),renderContent:function(e){var n=e.onToggle;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(h.MenuTitle,null,Object(m.__)("Charts","woocommerce-admin")),function(e){var t=e.hiddenBlocks,r=e.onToggleHiddenBlock;return X.map((function(e){var o=e.endpoint+"_"+e.key,a=!t.includes(o);return Object(s.createElement)(h.MenuItem,{checked:a,isCheckbox:!0,isClickable:!0,key:e.endpoint+"_"+e.key,onInvoke:function(){r(o)(),Object(W.b)("dash_charts_chart_toggle",{status:a?"off":"on",key:o})}},e.label)}))}({hiddenBlocks:r,onToggleHiddenBlock:_}),window.wcAdminFeatures["analytics-dashboard/customizable"]&&Object(s.createElement)(t,{onToggle:n,onMove:c,onRemove:i,isFirst:o,isLast:a,onTitleBlur:u,onTitleChange:p,titleInput:k}))}}),className:"has-interval-select"},function(e){var t=e.chartInterval,r=e.setInterval,o=e.query,a=Object(v.d)(o);if(!a||a.length<1)return null;var c={hour:Object(m.__)("By hour","woocommerce-admin"),day:Object(m.__)("By day","woocommerce-admin"),week:Object(m.__)("By week","woocommerce-admin"),month:Object(m.__)("By month","woocommerce-admin"),quarter:Object(m.__)("By quarter","woocommerce-admin"),year:Object(m.__)("By year","woocommerce-admin")};return Object(s.createElement)(y.a,{className:"woocommerce-chart__interval-select",value:t,options:a.map((function(e){return{value:e,label:c[e]}})),onChange:r})}({chartInterval:F,setInterval:function(e){I(e),S({dashboard_chart_interval:e}),Object(W.b)("dash_charts_interval",{interval:e})},query:L}),Object(s.createElement)(O.a,{className:"woocommerce-chart__types",orientation:"horizontal",role:"menubar"},Object(s.createElement)(j.a,{className:d()("woocommerce-chart__type-button",{"woocommerce-chart__type-button-selected":!L.chartType||"line"===L.chartType}),title:Object(m.__)("Line chart","woocommerce-admin"),"aria-checked":"line"===L.chartType,role:"menuitemradio",tabIndex:"line"===L.chartType?0:-1,onClick:N("line")},Object(s.createElement)(b.a,{icon:"line-graph"})),Object(s.createElement)(j.a,{className:d()("woocommerce-chart__type-button",{"woocommerce-chart__type-button-selected":"bar"===L.chartType}),title:Object(m.__)("Bar chart","woocommerce-admin"),"aria-checked":"bar"===L.chartType,role:"menuitemradio",tabIndex:"bar"===L.chartType?0:-1,onClick:N("bar")},Object(s.createElement)(b.a,{icon:"stats-alt"})))),function(e){var t=e.hiddenBlocks,r=e.path,o=e.query,a=X.reduce((function(e,t){return void 0===e[t.endpoint]&&(e[t.endpoint]=[]),e[t.endpoint].push(t),e}),{});return Object(s.createElement)("div",{className:"woocommerce-dashboard__columns"},X.map((function(e){return t.includes(e.endpoint+"_"+e.key)?null:Object(s.createElement)(A,{charts:a[e.endpoint],endpoint:e.endpoint,key:e.endpoint+"_"+e.key,path:r,query:o,selectedChart:e})})))}({hiddenBlocks:r,path:f,query:L}))};ee.propTypes={path:f.a.string.isRequired,query:f.a.object.isRequired};t.default=ee}}]);
|
dist/chunks/{29.613f183c0d8d6d96a7c2.js → 29.4ab42baaccb89976d92e.js}
RENAMED
@@ -3028,7 +3028,7 @@ module.exports = JSON.parse("[{\"component\":\"AdvancedFilters\"},{\"component\"
|
|
3028 |
|
3029 |
/***/ }),
|
3030 |
|
3031 |
-
/***/
|
3032 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3033 |
|
3034 |
"use strict";
|
3028 |
|
3029 |
/***/ }),
|
3030 |
|
3031 |
+
/***/ 924:
|
3032 |
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
3033 |
|
3034 |
"use strict";
|
dist/chunks/{29.613f183c0d8d6d96a7c2.min.js → 29.4ab42baaccb89976d92e.min.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{797:function(e,t,n){var a={"./advanced-filters/docs/example":798,"./animation-slider/docs/example":799,"./calendar/docs/example":800,"./card/docs/example":801,"./chart/docs/example":802,"./compare-filter/docs/example":803,"./count/docs/example":804,"./date-range-filter-picker/docs/example":805,"./date/docs/example":806,"./dropdown-button/docs/example":807,"./ellipsis-menu/docs/example":808,"./empty-content/docs/example":809,"./filter-picker/docs/example":810,"./filters/docs/example":811,"./flag/docs/example":812,"./form/docs/example":813,"./gravatar/docs/example":814,"./image-upload/docs/example":815,"./link/docs/example":816,"./list/docs/example":817,"./order-status/docs/example":818,"./pagination/docs/example":819,"./product-image/docs/example":820,"./rating/docs/example":821,"./scroll-to/docs/example":822,"./search-list-control/docs/example":823,"./search/docs/example":824,"./section-header/docs/example":825,"./section/docs/example":826,"./segmented-selection/docs/example":827,"./select-control/docs/example":828,"./spinner/docs/example":829,"./stepper/docs/example":830,"./summary/docs/example":831,"./table/docs/example":832,"./tag/docs/example":833,"./text-control-with-affixes/docs/example":834,"./text-control/docs/example":835,"./view-more-list/docs/example":836,"./web-preview/docs/example":837};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id=797},798:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(23),l={cancelled:"Cancelled",completed:"Completed",failed:"Failed","on-hold":"On hold",pending:"Pending payment",processing:"Processing",refunded:"Refunded"},i=new URL(document.location).searchParams.get("path")||"/devdocs",s={component:"advanced-filters"},c={title:"Orders Match {{select /}} Filters",filters:{status:{labels:{add:"Order Status",remove:"Remove order status filter",rule:"Select an order status filter match",title:"{{title}}Order Status{{/title}} {{rule /}} {{filter /}}",filter:"Select an order status"},rules:[{value:"is",label:"Is"},{value:"is_not",label:"Is Not"}],input:{component:"SelectControl",options:Object.keys(l).map((function(e){return{value:e,label:l[e]}}))}},product:{labels:{add:"Products",placeholder:"Search products",remove:"Remove products filter",rule:"Select a product filter match",title:"{{title}}Product{{/title}} {{rule /}} {{filter /}}",filter:"Select products"},rules:[{value:"includes",label:"Includes"},{value:"excludes",label:"Excludes"}],input:{component:"Search",type:"products",getLabels:function(){return Promise.resolve([])}}},customer:{labels:{add:"Customer Type",remove:"Remove customer filter",rule:"Select a customer filter match",title:"{{title}}Customer is{{/title}} {{filter /}}",filter:"Select a customer type"},input:{component:"SelectControl",options:[{value:"new",label:"New"},{value:"returning",label:"Returning"}],defaultOption:"new"}},quantity:{labels:{add:"Item Quantity",remove:"Remove item quantity filter",rule:"Select an item quantity filter match",title:"{{title}}Item Quantity is{{/title}} {{rule /}} {{filter /}}"},rules:[{value:"lessthan",label:"Less Than"},{value:"morethan",label:"More Than"},{value:"between",label:"Between"}],input:{component:"Number"}},subtotal:{labels:{add:"Subtotal",remove:"Remove subtotal filter",rule:"Select a subtotal filter match",title:"{{title}}Subtotal is{{/title}} {{rule /}} {{filter /}}"},rules:[{value:"lessthan",label:"Less Than"},{value:"morethan",label:"More Than"},{value:"between",label:"Between"}],input:{component:"Number",type:"currency"}}}};t.default=function(){return Object(a.createElement)(r.AdvancedFilters,{siteLocale:"en_US",path:i,query:s,filterTitle:"Orders",config:c,currency:o.b})}},799:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return y}));var a=n(38),r=n.n(a),o=n(37),l=n.n(o),i=n(62),s=n.n(i),c=n(39),u=n.n(c),d=n(42),p=n.n(d),m=n(26),h=n.n(m),f=n(0),b=n(53);function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=h()(e);if(t){var r=h()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return p()(this,n)}}var y=function(e){u()(n,e);var t=g(n);function n(){var e;return r()(this,n),(e=t.call(this)).state={pages:[44,55,66,77,88],page:0,animate:null},e.forward=e.forward.bind(s()(e)),e.back=e.back.bind(s()(e)),e}return l()(n,[{key:"forward",value:function(){this.setState((function(e){return{page:e.page+1,animate:"left"}}))}},{key:"back",value:function(){this.setState((function(e){return{page:e.page-1,animate:"right"}}))}},{key:"render",value:function(){var e=this.state,t=e.page,n=e.pages,a=e.animate,r={margin:"16px 0",padding:"8px 16px",color:"white",fontWeight:"bold",backgroundColor:"#246EB9"};return Object(f.createElement)("div",null,Object(f.createElement)(b.AnimationSlider,{animationKey:t,animate:a},(function(){return Object(f.createElement)("div",{style:r},n[t])})),Object(f.createElement)("button",{onClick:this.back,disabled:0===t},"Back"),Object(f.createElement)("button",{onClick:this.forward,disabled:t===n.length-1},"Forward"))}}]),n}(f.Component)},800:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(16),l=n.n(o),i=n(728);t.default=Object(i.a)({after:null,afterText:"",before:null,beforeText:"",afterError:null,beforeError:null,focusedInput:"startDate"})((function(e){var t=e.after,n=e.afterText,o=e.before,i=e.beforeText,s=e.afterError,c=e.focusedInput,u=e.setState;return Object(a.createElement)("div",null,Object(a.createElement)(r.H,null,"Date Range Picker"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)(r.DateRange,{after:t,afterText:n,before:o,beforeText:i,onUpdate:function(e){u(e)},shortDateFormat:"MM/DD/YYYY",focusedInput:c,isInvalidDate:function(e){return l()().isBefore(l()(e),"date")}})),Object(a.createElement)(r.H,null,"Date Picker"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)(r.DatePicker,{date:t,text:n,error:s,onUpdate:function(e){var t=e.date,n=e.text,a=e.error;u({after:t,afterText:n,afterError:a})},dateFormat:"MM/DD/YYYY",isInvalidDate:function(e){return 1===l()(e).day()}})))}))},801:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.Card,{title:"Store Performance",description:"Key performance metrics"},Object(a.createElement)("p",null,"Your stuff in a Card.")),Object(a.createElement)(r.Card,{title:"Inactive Card",isInactive:!0},Object(a.createElement)("p",null,"This Card is grayed out and has no box-shadow.")))}},802:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=[{date:"2018-05-30T00:00:00",Hoodie:{label:"Hoodie",value:21599},Sunglasses:{label:"Sunglasses",value:38537},Cap:{label:"Cap",value:106010}},{date:"2018-05-31T00:00:00",Hoodie:{label:"Hoodie",value:14205},Sunglasses:{label:"Sunglasses",value:24721},Cap:{label:"Cap",value:70131}},{date:"2018-06-01T00:00:00",Hoodie:{label:"Hoodie",value:10581},Sunglasses:{label:"Sunglasses",value:19991},Cap:{label:"Cap",value:53552}},{date:"2018-06-02T00:00:00",Hoodie:{label:"Hoodie",value:9250},Sunglasses:{label:"Sunglasses",value:16072},Cap:{label:"Cap",value:47821}}];t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.Chart,{data:o,title:"Example Chart",layout:"item-comparison"}))}},803:function(e,t,n){"use strict";n.r(t);var a=n(80),r=n.n(a),o=n(0),l=n(53),i=new URL(document.location).searchParams.get("path")||"/devdocs",s={},c={type:"products",param:"product",getLabels:function(){return Promise.resolve([])},labels:{helpText:"Select at least two products to compare",placeholder:"Search for products to compare",title:"Compare Products",update:"Compare"}};t.default=function(){return Object(o.createElement)(l.CompareFilter,r()({path:i,query:s},c))}},804:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.Count,{count:33})}},805:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(24),l=n(2),i={},s=Object(l.partialRight)(o.getDateParamsFromQuery,"period=month&compare=previous_year"),c=Object(l.partialRight)(o.getCurrentDates,"period=month&compare=previous_year"),u=s(i),d=u.period,p=u.compare,m=u.before,h=u.after,f=c(i),b={period:d,compare:p,before:m,after:h,primaryDate:f.primary,secondaryDate:f.secondary};t.default=function(){return Object(a.createElement)(r.DateRangeFilterPicker,{key:"daterange",query:i,onRangeSelect:function(){},dateQuery:b,isoDateFormat:o.isoDateFormat})}},806:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.Date,{date:"2019-01-01"})}},807:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(721);t.default=function(){return Object(a.createElement)(o.a,{renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(a.createElement)(r.DropdownButton,{onClick:n,isOpen:t,labels:["All Products Sold"]})},renderContent:function(){return Object(a.createElement)("p",null,"Dropdown content here")}})}},808:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728),l=n(96);t.default=Object(o.a)({showCustomers:!0,showOrders:!0})((function(e){var t=e.setState,n=e.showCustomers,o=e.showOrders;return Object(a.createElement)(r.EllipsisMenu,{label:"Choose which analytics to display",renderContent:function(e){var i=e.onToggle;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(r.MenuTitle,null,"Display Stats"),Object(a.createElement)(r.MenuItem,{isCheckbox:!0,isClickable:!0,checked:n,onInvoke:function(){return t({showCustomers:!n})}},"Show Customers"),Object(a.createElement)(r.MenuItem,{isCheckbox:!0,isClickable:!0,checked:o,onInvoke:function(){return t({showOrders:!o})}},"Show Orders"),Object(a.createElement)(r.MenuItem,{isClickable:!0,onInvoke:i},Object(a.createElement)(l.a,{icon:"no-alt"}),"Close Menu"))}})}))},809:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.EmptyContent,{title:"Nothing here",message:"Some descriptive text",actionLabel:"Reload page",actionURL:"#"})}},810:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=new URL(document.location).searchParams.get("path")||"/devdocs",l={meal:"breakfast"},i={label:"Meal",staticParams:[],param:"meal",showFilters:function(){return!0},filters:[{label:"Breakfast",value:"breakfast"},{label:"Lunch",value:"lunch",subFilters:[{label:"Meat",value:"meat",path:["lunch"]},{label:"Vegan",value:"vegan",path:["lunch"]},{label:"Pescatarian",value:"fish",path:["lunch"],subFilters:[{label:"Snapper",value:"snapper",path:["lunch","fish"]},{label:"Cod",value:"cod",path:["lunch","fish"]},{label:"Other",value:"other_fish",path:["lunch","fish"],component:"OtherFish"}]}]},{label:"Dinner",value:"dinner"}]};t.default=function(){return Object(a.createElement)(r.FilterPicker,{config:i,path:o,query:l})}},811:function(e,t,n){"use strict";n.r(t);var a=n(80),r=n.n(a),o=n(0),l=n(53),i=n(24),s=n(2),c={cancelled:"Cancelled",completed:"Completed",failed:"Failed","on-hold":"On hold",pending:"Pending payment",processing:"Processing",refunded:"Refunded"},u={getDateParamsFromQuery:Object(s.partialRight)(i.getDateParamsFromQuery,"period=month&compare=previous_year"),getCurrentDates:Object(s.partialRight)(i.getCurrentDates,"period=month&compare=previous_year"),isoDateFormat:i.isoDateFormat},d={},p=[{label:"Show",staticParams:["chart"],param:"filter",showFilters:function(){return!0},filters:[{label:"All Orders",value:"all"},{label:"Advanced Filters",value:"advanced"}]}],m={title:"Orders Match {{select /}} Filters",filters:{status:{labels:{add:"Order Status",remove:"Remove order status filter",rule:"Select an order status filter match",title:"Order Status {{rule /}} {{filter /}}",filter:"Select an order status"},rules:[{value:"is",label:"Is"},{value:"is_not",label:"Is Not"}],input:{component:"SelectControl",options:Object.keys(c).map((function(e){return{value:e,label:c[e]}}))}},product:{labels:{add:"Products",placeholder:"Search products",remove:"Remove products filter",rule:"Select a product filter match",title:"Product {{rule /}} {{filter /}}",filter:"Select products"},rules:[{value:"includes",label:"Includes"},{value:"excludes",label:"Excludes"}],input:{component:"Search",type:"products",getLabels:function(){return Promise.resolve([])}}},customer:{labels:{add:"Customer Type",remove:"Remove customer filter",rule:"Select a customer filter match",title:"Customer is {{filter /}}",filter:"Select a customer type"},input:{component:"SelectControl",options:[{value:"new",label:"New"},{value:"returning",label:"Returning"}],defaultOption:"new"}},quantity:{labels:{add:"Item Quantity",remove:"Remove item quantity filter",rule:"Select an item quantity filter match",title:"Item Quantity is {{rule /}} {{filter /}}"},rules:[{value:"lessthan",label:"Less Than"},{value:"morethan",label:"More Than"},{value:"between",label:"Between"}],input:{component:"Number"}},subtotal:{labels:{add:"Subtotal",remove:"Remove subtotal filter",rule:"Select a subtotal filter match",title:"Subtotal is {{rule /}} {{filter /}}"},rules:[{value:"lessthan",label:"Less Than"},{value:"morethan",label:"More Than"},{value:"between",label:"Between"}],input:{component:"Number",type:"currency"}}}},h={type:"products",param:"product",getLabels:function(){return Promise.resolve([])},labels:{helpText:"Select at least two products to compare",placeholder:"Search for products to compare",title:"Compare Products",update:"Compare"}};t.default=function(){return Object(o.createElement)("div",null,Object(o.createElement)(l.H,null,"Date picker only"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.ReportFilters,{path:"",query:d,storeDate:u})),Object(o.createElement)(l.H,null,"Date picker & more filters"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.ReportFilters,{filters:p,path:"",query:d,storeDate:u})),Object(o.createElement)(l.H,null,"Advanced Filters"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.AdvancedFilters,{siteLocale:"en_US",path:"",query:d,filterTitle:"Orders",config:m})),Object(o.createElement)(l.H,null,"Compare Filter"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.CompareFilter,r()({path:"",query:d},h))))}},812:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.H,null,"Default (inherits parent font size)"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)(r.Flag,{code:"VU"})),Object(a.createElement)(r.H,null,"Large"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)(r.Flag,{code:"VU",size:48})),Object(a.createElement)(r.H,null,"Invalid Country Code"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)(r.Flag,{code:"invalid country code"})))}},813:function(e,t,n){"use strict";n.r(t);var a=n(80),r=n.n(a),o=n(0),l=n(53),i=n(724),s=n(720),c=n(772),u=n(912),d=n(67),p=function(e){var t={};return e.firstName||(t.firstName="First name is required"),e.lastName.length<3&&(t.lastName="Last name must be at least 3 characters"),t},m=function(e){return console.log(e)},h={firstName:"",lastName:"",select:"3",checkbox:!0,radio:"2"};t.default=function(){return Object(o.createElement)(l.Form,{validate:p,onSubmitCallback:m,initialValues:h},(function(e){var t=e.getInputProps,n=e.values,a=e.errors,l=e.handleSubmit;return Object(o.createElement)("div",null,Object(o.createElement)(i.a,r()({label:"First Name"},t("firstName"))),Object(o.createElement)(i.a,r()({label:"Last Name"},t("lastName"))),Object(o.createElement)(s.a,r()({label:"Select",options:[{label:"Option 1",value:"1"},{label:"Option 2",value:"2"},{label:"Option 3",value:"3"}]},t("select"))),Object(o.createElement)(c.a,r()({label:"Checkbox"},t("checkbox"))),Object(o.createElement)(u.a,r()({label:"Radio",options:[{label:"Option 1",value:"1"},{label:"Option 2",value:"2"},{label:"Option 3",value:"3"}]},t("radio"))),Object(o.createElement)(d.a,{isPrimary:!0,onClick:l,disabled:Object.keys(a).length},"Submit"),Object(o.createElement)("br",null),Object(o.createElement)("br",null),Object(o.createElement)("h3",null,"Return data:"),Object(o.createElement)("pre",null,"Values: ",JSON.stringify(n),Object(o.createElement)("br",null),"Errors: ",JSON.stringify(a)))}))}},814:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.Gravatar,{user:"email@example.org",size:48})}},815:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({image:null})((function(e){var t=e.setState,n=e.logo;return Object(a.createElement)(r.ImageUpload,{image:n,onChange:function(e){return t({logo:e})}})}))},816:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.Link,{href:"edit.php?post_type=shop_coupon",type:"wp-admin"},"Coupons")}},817:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(90),l=n.n(o),i=[{title:"List item title",content:"List item description text"},{before:Object(a.createElement)(l.a,{icon:"star"}),title:"List item with before icon",content:"List item description text"},{before:Object(a.createElement)(l.a,{icon:"star"}),after:Object(a.createElement)(l.a,{icon:"chevron-right"}),title:"List item with before and after icons",content:"List item description text"},{title:"Clickable list item",content:"List item description text",onClick:function(){return alert("List item clicked")}}];t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.List,{items:i}))}},818:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(3),l={processing:Object(o.__)("Processing Order"),pending:Object(o.__)("Pending Order"),completed:Object(o.__)("Completed Order")};t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.OrderStatus,{order:{status:"processing"},orderStatusMap:l}),Object(a.createElement)(r.OrderStatus,{order:{status:"pending"},orderStatusMap:l}),Object(a.createElement)(r.OrderStatus,{order:{status:"completed"},orderStatusMap:l}))}},819:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({page:2,perPage:50})((function(e){var t=e.page,n=e.perPage,o=e.setState;return Object(a.createElement)(r.Pagination,{page:t,perPage:n,total:500,onPageChange:function(e){return o({page:e})},onPerPageChange:function(e){return o({perPage:e})}})}))},820:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.ProductImage,{product:null}),Object(a.createElement)(r.ProductImage,{product:{images:[]}}),Object(a.createElement)(r.ProductImage,{product:{images:[{src:"https://cldup.com/6L9h56D9Bw.jpg"}]}}))}},821:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)("div",null,Object(a.createElement)(r.Rating,{rating:4,totalStars:5})),Object(a.createElement)("div",null,Object(a.createElement)(r.Rating,{rating:2.5,totalStars:6})),Object(a.createElement)("div",null,Object(a.createElement)(r.ProductRating,{product:{average_rating:3.5}})),Object(a.createElement)("div",null,Object(a.createElement)(r.ReviewRating,{review:{rating:5}})))}},822:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.ScrollTo,null,Object(a.createElement)("div",null,"Have the web browser automatically scroll to this component on page render."))}},823:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({selected:[],loading:!0})((function(e){var t=e.selected,n=e.loading,o=e.setState;return Object(a.createElement)("div",null,Object(a.createElement)("button",{onClick:function(){return o({loading:!n})}},"Toggle loading state"),Object(a.createElement)(r.SearchListControl,{list:[{id:1,name:"Apricots"},{id:2,name:"Clementine"},{id:3,name:"Elderberry"},{id:4,name:"Guava"},{id:5,name:"Lychee"},{id:6,name:"Mulberry"}],isLoading:n,selected:t,onChange:function(e){return o({selected:e})}}))}))},824:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({selected:[],inlineSelected:[]})((function(e){var t=e.selected,n=e.inlineSelected,o=e.setState;return Object(a.createElement)("div",null,Object(a.createElement)(r.H,null,"Tags Below Input"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)(r.Search,{type:"products",placeholder:"Search for a product",selected:t,onChange:function(e){return o({selected:e})}})),Object(a.createElement)(r.H,null,"Tags Inline with Input"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)(r.Search,{type:"products",placeholder:"Search for a product",selected:n,onChange:function(e){return o({inlineSelected:e})},inlineTags:!0})))}))},825:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.SectionHeader,{title:"Store Performance"})}},826:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.H,null,"Header using a contextual level (h3)"),Object(a.createElement)(r.Section,{component:"article"},Object(a.createElement)("p",null,"This is an article component wrapper."),Object(a.createElement)(r.H,null,"Another header with contextual level (h4)"),Object(a.createElement)(r.Section,{component:!1},Object(a.createElement)("p",null,"There is no wrapper component here."),Object(a.createElement)(r.H,null,"This is an h5"))))}},827:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({selected:"two"})((function(e){var t=e.selected,n=e.setState;return Object(a.createElement)(r.SegmentedSelection,{options:[{value:"one",label:"One"},{value:"two",label:"Two"},{value:"three",label:"Three"},{value:"four",label:"Four"}],selected:t,legend:"Select a number",onSelect:function(e){return n({selected:e.number})},name:"number"})}))},828:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728),l=[{key:"apple",label:"Apple",value:{id:"apple"}},{key:"apricot",label:"Apricot",value:{id:"apricot"}},{key:"banana",label:"Banana",keywords:["best","fruit"],value:{id:"banana"}},{key:"blueberry",label:"Blueberry",value:{id:"blueberry"}},{key:"cherry",label:"Cherry",value:{id:"cherry"}},{key:"cantaloupe",label:"Cantaloupe",value:{id:"cantaloupe"}},{key:"dragonfruit",label:"Dragon Fruit",value:{id:"dragonfruit"}},{key:"elderberry",label:"Elderberry",value:{id:"elderberry"}}];t.default=Object(o.a)({simpleSelected:[],simpleMultipleSelected:[],singleSelected:[],singleSelectedShowAll:[],multipleSelected:[],inlineSelected:[]})((function(e){var t=e.simpleSelected,n=e.simpleMultipleSelected,o=e.singleSelected,i=e.singleSelectedShowAll,s=e.multipleSelected,c=e.inlineSelected,u=e.setState;return Object(a.createElement)("div",null,Object(a.createElement)(r.SelectControl,{label:"Simple single value",onChange:function(e){return u({simpleSelected:e})},options:l,placeholder:"Start typing to filter options...",selected:t}),Object(a.createElement)("br",null),Object(a.createElement)(r.SelectControl,{label:"Multiple values",multiple:!0,onChange:function(e){return u({simpleMultipleSelected:e})},options:l,placeholder:"Start typing to filter options...",selected:n}),Object(a.createElement)("br",null),Object(a.createElement)(r.SelectControl,{label:"Single value searchable",isSearchable:!0,onChange:function(e){return u({singleSelected:e})},options:l,placeholder:"Start typing to filter options...",selected:o}),Object(a.createElement)("br",null),Object(a.createElement)(r.SelectControl,{label:"Single value searchable with options on refocus",isSearchable:!0,onChange:function(e){return u({singleSelectedShowAll:e})},options:l,placeholder:"Start typing to filter options...",selected:i,showAllOnFocus:!0}),Object(a.createElement)("br",null),Object(a.createElement)(r.SelectControl,{label:"Inline tags searchable",isSearchable:!0,multiple:!0,inlineTags:!0,onChange:function(e){return u({inlineSelected:e})},options:l,placeholder:"Start typing to filter options...",selected:c}),Object(a.createElement)("br",null),Object(a.createElement)(r.SelectControl,{hideBeforeSearch:!0,isSearchable:!0,label:"Hidden options before search",multiple:!0,onChange:function(e){return u({multipleSelected:e})},options:l,placeholder:"Start typing to filter options...",selected:s,showClearButton:!0}))}))},829:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.Spinner,null))}},830:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({currentStep:"first",isComplete:!1,isPending:!1})((function(e){var t=e.currentStep,n=e.isComplete,o=e.isPending,l=e.setState,i=function(e){l({currentStep:e})},s=[{key:"first",label:"First",description:"Step item description",content:Object(a.createElement)("div",null,"First step content."),onClick:i},{key:"second",label:"Second",description:"Step item description",content:Object(a.createElement)("div",null,"Second step content."),onClick:i},{label:"Third",key:"third",description:"Step item description",content:Object(a.createElement)("div",null,"Third step content."),onClick:i},{label:"Fourth",key:"fourth",description:"Step item description",content:Object(a.createElement)("div",null,"Fourth step content."),onClick:i}],c=s.findIndex((function(e){return t===e.key}));return n&&s.forEach((function(e){return e.isComplete=!0})),Object(a.createElement)("div",null,n?Object(a.createElement)("button",{onClick:function(){return l({currentStep:"first",isComplete:!1})}},"Reset"):Object(a.createElement)("div",null,Object(a.createElement)("button",{onClick:function(){return l({currentStep:s[c-1].key})},disabled:c<1},"Previous step"),Object(a.createElement)("button",{onClick:function(){return l({currentStep:s[c+1].key})},disabled:c>=s.length-1},"Next step"),Object(a.createElement)("button",{onClick:function(){return l({isComplete:!0})},disabled:c!==s.length-1},"Complete"),Object(a.createElement)("button",{onClick:function(){return l({isPending:!o})}},"Toggle Spinner")),Object(a.createElement)(r.Stepper,{steps:s,currentStep:t,isPending:o}),Object(a.createElement)("br",null),Object(a.createElement)(r.Stepper,{isPending:o,isVertical:!0,steps:s,currentStep:t}))}))},831:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.SummaryList,null,(function(){return[Object(a.createElement)(r.SummaryNumber,{key:"revenue",value:"$829.40",label:"Total Sales",delta:29,href:"/analytics/report"}),Object(a.createElement)(r.SummaryNumber,{key:"refunds",value:"$24.00",label:"Refunds",delta:-10,href:"/analytics/report",selected:!0}),Object(a.createElement)(r.SummaryNumber,{key:"coupons",value:"$49.90",label:"Coupons",href:"/analytics/report"})]}))}},832:function(e,t,n){"use strict";n.r(t);var a=n(17),r=n.n(a),o=n(0),l=n(53),i=n(728),s=[{key:"month",label:"Month"},{key:"orders",label:"Orders"},{key:"revenue",label:"Revenue"}],c=[[{display:"January",value:1},{display:10,value:10},{display:"$530.00",value:530}],[{display:"February",value:2},{display:13,value:13},{display:"$675.00",value:675}],[{display:"March",value:3},{display:9,value:9},{display:"$460.00",value:460}]],u=[{label:"Gross Income",value:"$830.00"},{label:"Taxes",value:"$96.32"},{label:"Shipping",value:"$50.00"}];t.default=Object(i.a)({query:{paged:1}})((function(e){var t=e.query,n=e.setState;return Object(o.createElement)("div",null,Object(o.createElement)(l.H,null,"TableCard"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.TableCard,{title:"Revenue Last Week",rows:c,headers:s,onQueryChange:function(e){return function(t){return n({query:r()({},e,t)})}},query:t,rowsPerPage:7,totalRows:10,summary:u})),Object(o.createElement)(l.H,null,"Table only"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.Card,{className:"woocommerce-analytics__card"},Object(o.createElement)(l.Table,{caption:"Revenue Last Week",rows:c,headers:s}))),Object(o.createElement)(l.H,null,"Summary only"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.TableSummary,{data:u})),Object(o.createElement)(l.H,null,"Placeholder"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.Card,{className:"woocommerce-analytics__card"},Object(o.createElement)(l.TablePlaceholder,{caption:"Revenue Last Week",headers:s}))),Object(o.createElement)(l.H,null,"Empty Table"),Object(o.createElement)(l.Section,{component:!1},Object(o.createElement)(l.EmptyTable,null,"There are no entries.")))}))},833:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=function(){};t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.Tag,{label:"My tag",id:1}),Object(a.createElement)(r.Tag,{label:"Removable tag",id:2,remove:o}),Object(a.createElement)(r.Tag,{label:"Tag with popover",popoverContents:Object(a.createElement)("p",null,"This is a popover")}))}},834:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({first:"",second:"",third:"",fourth:"",fifth:""})((function(e){var t=e.first,n=e.second,o=e.third,l=e.fourth,i=e.fifth,s=e.setState;return Object(a.createElement)("div",null,Object(a.createElement)(r.TextControlWithAffixes,{label:"Text field without affixes",value:t,placeholder:"Placeholder",onChange:function(e){return s({first:e})}}),Object(a.createElement)(r.TextControlWithAffixes,{label:"Disabled text field without affixes",value:t,placeholder:"Placeholder",onChange:function(e){return s({first:e})},disabled:!0}),Object(a.createElement)(r.TextControlWithAffixes,{prefix:"$",label:"Text field with a prefix",value:n,onChange:function(e){return s({second:e})}}),Object(a.createElement)(r.TextControlWithAffixes,{prefix:"$",label:"Disabled text field with a prefix",value:n,onChange:function(e){return s({second:e})},disabled:!0}),Object(a.createElement)(r.TextControlWithAffixes,{prefix:"Prefix",suffix:"Suffix",label:"Text field with both affixes",value:o,onChange:function(e){return s({third:e})}}),Object(a.createElement)(r.TextControlWithAffixes,{prefix:"Prefix",suffix:"Suffix",label:"Disabled text field with both affixes",value:o,onChange:function(e){return s({third:e})},disabled:!0}),Object(a.createElement)(r.TextControlWithAffixes,{suffix:"%",label:"Text field with a suffix",value:l,onChange:function(e){return s({fourth:e})}}),Object(a.createElement)(r.TextControlWithAffixes,{suffix:"%",label:"Disabled text field with a suffix",value:l,onChange:function(e){return s({fourth:e})},disabled:!0}),Object(a.createElement)(r.TextControlWithAffixes,{prefix:"$",label:"Text field with prefix and help text",value:i,onChange:function(e){return s({fifth:e})},help:"This is some help text."}),Object(a.createElement)(r.TextControlWithAffixes,{prefix:"$",label:"Disabled text field with prefix and help text",value:i,onChange:function(e){return s({fifth:e})},help:"This is some help text.",disabled:!0}))}))},835:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53),o=n(728);t.default=Object(o.a)({value:""})((function(e){var t=e.setState,n=e.value;return Object(a.createElement)("div",null,Object(a.createElement)(r.TextControl,{name:"text-control",label:"Enter text here",onChange:function(e){return t({value:e})},value:n}),Object(a.createElement)("br",null),Object(a.createElement)(r.TextControl,{label:"Disabled field",disabled:!0,value:""}))}))},836:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)(r.ViewMoreList,{items:[Object(a.createElement)("i",null,"Lorem"),Object(a.createElement)("i",null,"Ipsum"),Object(a.createElement)("i",null,"Dolor"),Object(a.createElement)("i",null,"Sit")]})}},837:function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(53);t.default=function(){return Object(a.createElement)("div",null,Object(a.createElement)(r.WebPreview,{src:"https://themes.woocommerce.com/?name=galleria",title:"My Web Preview"}))}},843:function(e,t,n){var a={"./advanced-filters/README.md":844,"./animation-slider/README.md":845,"./calendar/README.md":846,"./card/README.md":847,"./chart/README.md":848,"./chart/d3chart/d3base/README.md":849,"./compare-filter/README.md":850,"./count/README.md":851,"./date-range-filter-picker/README.md":852,"./date/README.md":853,"./dropdown-button/README.md":854,"./ellipsis-menu/README.md":855,"./empty-content/README.md":856,"./filter-picker/README.md":857,"./filters/README.md":858,"./flag/README.md":859,"./form/README.md":860,"./gravatar/README.md":861,"./higher-order/use-filters/README.md":862,"./image-upload/README.md":863,"./link/README.md":864,"./list/README.md":865,"./order-status/README.md":866,"./pagination/README.md":867,"./plugins/README.md":868,"./product-image/README.md":869,"./rating/README.md":870,"./scroll-to/README.md":871,"./search-list-control/README.md":872,"./search/README.md":873,"./section-header/README.md":874,"./section/README.md":875,"./segmented-selection/README.md":876,"./select-control/README.md":877,"./spinner/README.md":878,"./stepper/README.md":879,"./summary/README.md":880,"./table/README.md":881,"./tag/README.md":882,"./text-control-with-affixes/README.md":883,"./text-control/README.md":884,"./view-more-list/README.md":885,"./web-preview/README.md":886};function r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id=843},844:function(e,t,n){"use strict";n.r(t),t.default="Advanced Filters\n===\n\nDisplays a configurable set of filters which can modify query parameters. Display, behavior, and types of filters can be designated by a configuration object.\n\n## Usage\n\nBelow is a config example complete with translation strings. Advanced Filters makes use of [interpolateComponents](https://github.com/Automattic/interpolate-components#readme) to organize sentence structure, resulting in a filter visually represented as a sentence fragment in any language.\n\n```js\nconst config = {\n\ttitle: __(\n\t\t// A sentence describing filters for Orders\n\t\t// See screen shot for context: https://cloudup.com/cSsUY9VeCVJ\n\t\t'Orders Match {{select /}} Filters',\n\t\t'woocommerce-admin'\n\t),\n\tfilters: {\n\t\tstatus: {\n\t\t\tlabels: {\n\t\t\t\tadd: __( 'Order Status', 'woocommerce-admin' ),\n\t\t\t\tremove: __( 'Remove order status filter', 'woocommerce-admin' ),\n\t\t\t\trule: __( 'Select an order status filter match', 'woocommerce-admin' ),\n\t\t\t\t// A sentence describing an Order Status filter\n\t\t\t\t// See screen shot for context: https://cloudup.com/cSsUY9VeCVJ\n\t\t\t\ttitle: __( 'Order Status {{rule /}} {{filter /}}', 'woocommerce-admin' ),\n\t\t\t\tfilter: __( 'Select an order status', 'woocommerce-admin' ),\n\t\t\t},\n\t\t\trules: [\n\t\t\t\t{\n\t\t\t\t\tvalue: 'is',\n\t\t\t\t\t// Sentence fragment, logical, \"Is\"\n\t\t\t\t\t// Refers to searching for orders matching a chosen order status\n\t\t\t\t\t// Screenshot for context: https://cloudup.com/cSsUY9VeCVJ\n\t\t\t\t\tlabel: _x( 'Is', 'order status', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 'is_not',\n\t\t\t\t\t// Sentence fragment, logical, \"Is Not\"\n\t\t\t\t\t// Refers to searching for orders that don't match a chosen order status\n\t\t\t\t\t// Screenshot for context: https://cloudup.com/cSsUY9VeCVJ\n\t\t\t\t\tlabel: _x( 'Is Not', 'order status', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t],\n\t\t\tinput: {\n\t\t\t\tcomponent: 'SelectControl',\n\t\t\t\toptions: Object.keys( orderStatuses ).map( key => ( {\n\t\t\t\t\tvalue: key,\n\t\t\t\t\tlabel: orderStatuses[ key ],\n\t\t\t\t} ) ),\n\t\t\t},\n\t\t},\n\t},\n};\n```\n\nWhen filters are applied, the query string will be modified using a combination of rule names and selected filter values.\n\nTaking the above configuration as an example, applying the filter will result in a query parameter like `status_is=pending` or `status_is_not=cancelled`.\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`config` | Object | `null` | (required) The configuration object required to render filters. See example above.\n`path` | String | `null` | (required) Name of this filter, used in translations.\n`query` | Object | `null` | The query string represented in object form.\n`onAdvancedFilterAction` | Function | `null` | Function to be called after an advanced filter action has been taken.\n`siteLocale` | string | `'en_US'` | The siteLocale for the site.\n`currency` | Object | `null` | (required) The currency instance for the site (@woocommerce/currency).\n\n\n## Input Components\n\n\n### SelectControl\n\nRender a select component with options.\n\n```js\nconst config = {\n\t...,\n\tfilters: {\n\t\tfruit: {\n\t\t\tinput: {\n\t\t\t\tcomponent: 'SelectControl',\n\t\t\t\toptions: [\n\t\t\t\t\t{ label: 'Apples', key: 'apples' },\n\t\t\t\t\t{ label: 'Oranges', key: 'oranges' },\n\t\t\t\t\t{ label: 'Bananas', key: 'bananas' },\n\t\t\t\t\t{ label: 'Cherries', key: 'cherries' },\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t},\n};\n```\n\n`options`: An array of objects with `key` and `label` properties.\n\n\n### Search\n\nRender an input for users to search and select using an autocomplete.\n\n```js\nconst config = {\n\t...,\n\tfilters: {\n\t\tproduct: {\n\t\t\tinput: {\n\t\t\t\tcomponent: 'Search',\n\t\t\t\ttype: 'products',\n\t\t\t\tgetLabels: getRequestByIdString( NAMESPACE + 'products', product => ( {\n\t\t\t\t\tid: product.id,\n\t\t\t\t\tlabel: product.name,\n\t\t\t\t} ) ),\n\t\t\t},\n\t\t},\n\t},\n};\n```\n\n`type`: A string Autocompleter type used by the [Search Component](https://github.com/woocommerce/woocommerce-admin/tree/master/packages/components/src/search).\n`getLabels`: A function returning a Promise resolving to an array of objects with `id` and `label` properties.\n\n\n### Date\n\nRenders an input or two inputs allowing a user to filter based on a date value or range of values.\n\n```js\nconst config = {\n\t...,\n\tfilters: {\n\t\tregistered: {\n\t\t\trules: [\n\t\t\t\t{\n\t\t\t\t\tvalue: 'before',\n\t\t\t\t\tlabel: __( 'Before', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 'after',\n\t\t\t\t\tlabel: __( 'After', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 'between',\n\t\t\t\t\tlabel: __( 'Between', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t],\n\t\t\tinput: {\n\t\t\t\tcomponent: 'Date',\n\t\t\t},\n\t\t},\n\t},\n};\n```\n\n\n### Numeric Value\n\nRenders an input or two inputs allowing a user to filter based on a numeric value or range of values. Can also render inputs for currency values.\n\nValid rule values are `after`, `before`, and `between`. Use any combination you'd like.\n\n```js\nconst config = {\n\t...,\n\tfilters: {\n\t\tquantity: {\n\t\t\trules: [\n\t\t\t\t{\n\t\t\t\t\tvalue: 'lessthan',\n\t\t\t\t\tlabel: __( 'Less Than', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 'morethan',\n\t\t\t\t\tlabel: __( 'More Than', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tvalue: 'between',\n\t\t\t\t\tlabel: __( 'Between', 'woocommerce-admin' ),\n\t\t\t\t},\n\t\t\t],\n\t\t\tinput: {\n\t\t\t\tcomponent: 'Number',\n\t\t\t},\n\t\t},\n\t},\n};\n```\n\nValid rule values are `lessthan`, `morethan`, and `between`. Use any combination you'd like.\n\nSpecify `input.type` as `'currency'` if you'd like to render currency inputs, which respects store currency locale.\n"},845:function(e,t,n){"use strict";n.r(t),t.default="AnimationSlider\n===\n\nThis component creates slideable content controlled by an animate prop to direct the contents to slide left or right.\nAll other props are passed to `CSSTransition`. More info at http://reactcommunity.org/react-transition-group/css-transition\n\n## Usage\n\n```jsx\n<AnimationSlider animationKey=\"1\" animate=\"right\">\n\t{ ( status ) => (\n\t\t<span>One (1)</span>\n\t) }\n</AnimationSlider>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`children` | function | `null` | (required) A function returning rendered content with argument status, reflecting `CSSTransition` status\n`animationKey` | any | `null` | (required) A unique identifier for each slideable page\n`animate` | string | `null` | null, 'left', 'right', to designate which direction to slide on a change\n`onExited` | function | `null` | A function to be executed after a transition is complete, passing the containing ref as the argument\n"},846:function(e,t,n){"use strict";n.r(t),t.default='DatePicker\n===\n\n## Usage\n\n```jsx\n<DatePicker\n\tdate={ date }\n\ttext={ text }\n\terror={ error }\n\tonUpdate={ ( { date, text, error } ) => setState( { date, text, error } ) }\n\tdateFormat="MM/DD/YYYY"\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`date` | Object | `null` | A moment date object representing the selected date. `null` for no selection\n`disabled` | Boolean | `null` | Whether the input is disabled\n`text` | String | `null` | The date in human-readable format. Displayed in the text input\n`error` | String | `null` | A string error message, shown to the user\n`onUpdate` | Function | `null` | (required) A function called upon selection of a date or input change\n`dateFormat` | String | `null` | (required) The date format in moment.js-style tokens\n`isInvalidDate` | Function | `null` | A function to determine if a day on the calendar is not valid\n\n\nDateRange\n===\n\nThis is wrapper for a [react-dates](https://github.com/airbnb/react-dates) powered calendar.\n\n## Usage\n\n```jsx\n<DateRange\n\tafter={ after }\n\tafterText={ afterText }\n\tbefore={ before }\n\tbeforeText={ beforeText }\n\tonUpdate={ ( update ) => setState( update ) }\n\tshortDateFormat="MM/DD/YYYY"\n\tfocusedInput="startDate"\n\tisInvalidDate={ date => (\n\t\t// not a future date\n\t\tmoment().isBefore( moment( date ), \'date\' )\n\t) }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`after` | Object | `null` | A moment date object representing the selected start. `null` for no selection\n`afterError` | String | `null` | A string error message, shown to the user\n`afterText` | String | `null` | The start date in human-readable format. Displayed in the text input\n`before` | Object | `null` | A moment date object representing the selected end. `null` for no selection\n`beforeError` | String | `null` | A string error message, shown to the user\n`beforeText` | String | `null` | The end date in human-readable format. Displayed in the text input\n`focusedInput` | String | `null` | String identifying which is the currently focused input (start or end)\n`isInvalidDate` | Function | `null` | A function to determine if a day on the calendar is not valid\n`onUpdate` | Function | `null` | (required) A function called upon selection of a date\n`shortDateFormat` | String | `null` | (required) The date format in moment.js-style tokens\n'},847:function(e,t,n){"use strict";n.r(t),t.default='Card\n===\n\nA basic card component with a header. The header can contain a title, an action, and an `EllipsisMenu` menu.\n\n## Usage\n\n```jsx\n<div>\n\t<Card title="Store Performance" description="Key performance metrics">\n\t\t<p>Your stuff in a Card.</p>\n\t</Card>\n\t<Card title="Inactive Card" isInactive>\n\t\t<p>This Card is grayed out and has no box-shadow.</p>\n\t</Card>\n</div>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`action` | ReactNode | `null` | One "primary" action for this card, appears in the card header\n`className` | String | `null` | Additional CSS classes\n`description` | One of type: string, node | `null` | The description displayed beneath the title\n`isInactive` | Boolean | `null` | Boolean representing whether the card is inactive or not\n`menu` | (custom validator) | `null` | An `EllipsisMenu`, with filters used to control the content visible in this card\n`title` | One of type: string, node | `null` | The title to use for this card\n'},848:function(e,t,n){"use strict";n.r(t),t.default="Chart\n===\n\nA chart container using d3, to display timeseries data with an interactive legend.\n\n## Usage\n\n```jsx\nconst data = [\n\t{\n\t\tdate: '2018-05-30T00:00:00',\n\t\tHoodie: {\n\t\t\tlabel: 'Hoodie',\n\t\t\tvalue: 21599,\n\t\t},\n\t\tSunglasses: {\n\t\t\tlabel: 'Sunglasses',\n\t\t\tvalue: 38537,\n\t\t},\n\t\tCap: {\n\t\t\tlabel: 'Cap',\n\t\t\tvalue: 106010,\n\t\t},\n\t},\n\t{\n\t\tdate: '2018-05-31T00:00:00',\n\t\tHoodie: {\n\t\t\tlabel: 'Hoodie',\n\t\t\tvalue: 14205,\n\t\t},\n\t\tSunglasses: {\n\t\t\tlabel: 'Sunglasses',\n\t\t\tvalue: 24721,\n\t\t},\n\t\tCap: {\n\t\t\tlabel: 'Cap',\n\t\t\tvalue: 70131,\n\t\t},\n\t},\n\t{\n\t\tdate: '2018-06-01T00:00:00',\n\t\tHoodie: {\n\t\t\tlabel: 'Hoodie',\n\t\t\tvalue: 10581,\n\t\t},\n\t\tSunglasses: {\n\t\t\tlabel: 'Sunglasses',\n\t\t\tvalue: 19991,\n\t\t},\n\t\tCap: {\n\t\t\tlabel: 'Cap',\n\t\t\tvalue: 53552,\n\t\t},\n\t},\n\t{\n\t\tdate: '2018-06-02T00:00:00',\n\t\tHoodie: {\n\t\t\tlabel: 'Hoodie',\n\t\t\tvalue: 9250,\n\t\t},\n\t\tSunglasses: {\n\t\t\tlabel: 'Sunglasses',\n\t\t\tvalue: 16072,\n\t\t},\n\t\tCap: {\n\t\t\tlabel: 'Cap',\n\t\t\tvalue: 47821,\n\t\t},\n\t},\n];\n\n<Chart data={ data } title=\"Example Chart\" layout=\"item-comparison\" />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`allowedIntervals` | Array | `null` | Allowed intervals to show in a dropdown\n`baseValue` | Number | `0` | Base chart value. If no data value is different than the baseValue, the `emptyMessage` will be displayed if provided\n`chartType` | One of: 'bar', 'line' | `'line'` | Chart type of either `line` or `bar`\n`data` | Array | `[]` | An array of data\n`dateParser` | String | `'%Y-%m-%dT%H:%M:%S'` | Format to parse dates into d3 time format\n`emptyMessage` | String | `null` | The message to be displayed if there is no data to render. If no message is provided, nothing will be displayed\n`filterParam` | String | `null` | Name of the param used to filter items. If specified, it will be used, in combination with query, to detect which elements are being used by the current filter and must be displayed even if their value is 0\n`itemsLabel` | String | `null` | Label describing the legend items\n`mode` | One of: 'item-comparison', 'time-comparison' | `'time-comparison'` | `item-comparison` (default) or `time-comparison`, this is used to generate correct ARIA properties\n`path` | String | `null` | Current path\n`query` | Object | `null` | The query string represented in object form\n`interactiveLegend` | Boolean | `true` | Whether the legend items can be activated/deactivated\n`interval` | One of: 'hour', 'day', 'week', 'month', 'quarter', 'year' | `'day'` | Interval specification (hourly, daily, weekly etc)\n`intervalData` | Object | `null` | Information about the currently selected interval, and set of allowed intervals for the chart. See `getIntervalsForQuery`\n`isRequesting` | Boolean | `false` | Render a chart placeholder to signify an in-flight data request\n`legendPosition` | One of: 'bottom', 'side', 'top' | `null` | Position the legend must be displayed in. If it's not defined, it's calculated depending on the viewport width and the mode\n`legendTotals` | Object | `null` | Values to overwrite the legend totals. If not defined, the sum of all line values will be used\n`screenReaderFormat` | One of type: string, func | `'%B %-d, %Y'` | A datetime formatting string or overriding function to format the screen reader labels\n`showHeaderControls` | Boolean | `true` | Wether header UI controls must be displayed\n`title` | String | `null` | A title describing this chart\n`tooltipLabelFormat` | One of type: string, func | `'%B %-d, %Y'` | A datetime formatting string or overriding function to format the tooltip label\n`tooltipValueFormat` | One of type: string, func | `','` | A number formatting string or function to format the value displayed in the tooltips\n`tooltipTitle` | String | `null` | A string to use as a title for the tooltip. Takes preference over `tooltipLabelFormat`\n`valueType` | String | `null` | What type of data is to be displayed? Number, Average, String?\n`xFormat` | String | `'%d'` | A datetime formatting string, passed to d3TimeFormat\n`x2Format` | String | `'%b %Y'` | A datetime formatting string, passed to d3TimeFormat\n`yBelow1Format` | String | `null` | A number formatting string, passed to d3Format\n`yFormat` | String | `null` | A number formatting string, passed to d3Format\n`currency` | Object | `{}` | An object with currency properties for usage in the chart. The following properties are expected: `decimal`, `symbol`, `symbolPosition`, `thousands`. This is passed to d3Format.\n"},849:function(e,t,n){"use strict";n.r(t),t.default="# D3 Base Component\n\nIntegrate React Lifecyle methods with d3.js charts.\n\n### Base Component Responsibilities\n\n* Create and manage mounting and unmounting parent `div` and `svg`\n* Handle resize events, resulting re-renders, and event listeners\n* Handle re-renders as a result of new props\n\n## Props\n\n### className\n{ string } A class to be applied to the parent `div`\n\n### getParams( node )\n{ function } A function returning an object containing required properties for drawing a chart. This object is created before re-render, making it an ideal place for calculating scales and other props or user input based properties.\n* `svg` { node } The parent `div`. Useful for calculating available widths\n\n### drawChart( svg, params )\n{ function } draw the chart\n* `svg` { node } Base element \n* `params` { Object } Properties created by the `getParams` function "},850:function(e,t,n){"use strict";n.r(t),t.default="CompareFilter\n===\n\nDisplays a card + search used to filter results as a comparison between objects.\n\n## Usage\n\n```jsx\nconst path = ''; // from React Router\nconst getLabels = () => Promise.resolve( [] );\nconst labels = {\n\thelpText: 'Select at least two products to compare',\n\tplaceholder: 'Search for products to compare',\n\ttitle: 'Compare Products',\n\tupdate: 'Compare',\n};\n\n<CompareFilter\n\ttype=\"products\"\n\tparam=\"product\"\n\tpath={ path }\n\tgetLabels={ getLabels }\n\tlabels={ labels }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`getLabels` | Function | `null` | (required) Function used to fetch object labels via an API request, returns a Promise\n`labels` | Object | `{}` | Object of localized labels\n`param` | String | `null` | (required) The parameter to use in the querystring\n`path` | String | `null` | (required) The `path` parameter supplied by React-Router\n`query` | Object | `{}` | The query string represented in object form\n`type` | String | `null` | (required) Which type of autocompleter should be used in the Search\n"},851:function(e,t,n){"use strict";n.r(t),t.default="Count\n===\n\nDisplay a number with a styled border.\n\n## Usage\n\n```jsx\n<Count count={ 33 } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`count` | Number | `null` | (required) Value of the number to be displayed\n`label` | String | `''` | A translated label with the number in context, used for screen readers\n"},852:function(e,t,n){"use strict";n.r(t),t.default="Date Range Picker\n===\n\nSelect a range of dates or single dates\n\n## Usage\n\n```jsx\nimport {\n\tgetDateParamsFromQuery,\n\tgetCurrentDates,\n\tisoDateFormat,\n\tloadLocaleData,\n} from '@woocommerce/date';\n\n/**\n * External dependencies\n */\nimport { partialRight } from 'lodash';\n\nconst query = {};\n\n// Fetch locale from store settings and load for date functions.\nconst localeSettings = {\n\tuserLocale: 'fr_FR',\n\tweekdaysShort: [ 'dim', 'lun', 'mar', 'mer', 'jeu', 'ven', 'sam' ],\n};\nloadLocaleData( localeSettings );\n\nconst defaultDateRange = 'period=month&compare=previous_year';\nconst storeGetDateParamsFromQuery = partialRight( getDateParamsFromQuery, defaultDateRange );\nconst storeGetCurrentDates = partialRight( getCurrentDates, defaultDateRange );\nconst { period, compare, before, after } = storeGetDateParamsFromQuery( query );\nconst { primary: primaryDate, secondary: secondaryDate } = storeGetCurrentDates( query );\nconst dateQuery = {\n\tperiod,\n\tcompare,\n\tbefore,\n\tafter,\n\tprimaryDate,\n\tsecondaryDate,\n};\n\n<DateRangeFilterPicker\n\tkey=\"daterange\"\n\tonRangeSelect={ () => {} }\n\tdateQuery={ dateQuery }\n\tisoDateFormat={ isoDateFormat }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n------- | -------- | ------- | ---\n`isDateFormat` | string | `null` | (required) ISO date format string\n`onRangeSelect` | Function | `null` | Callback called when selection is made\n`dateQuery` | object | `null` | (required) Date initialization object\n\n## URL as the source of truth\n\nThe Date Range Picker reads parameters from the URL querystring and updates them by creating a link to reflect newly selected parameters, which is rendered as the \"Update\" button.\n\nURL Parameter | Default | Possible Values\n--- | --- | ---\n`period` | `today` | `today`, `yesterday`, `week`, `last_week`, `month`, `last_month`, `quarter`, `last_quarter`, `year`, `last_year`, `custom`\n`compare` | `previous_period` | `previous_period`, `previous_year`\n`start` | none | start date for custom periods `2018-04-15`. [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601)\n`end` | none | end date for custom periods `2018-04-15`. [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601)\n"},853:function(e,t,n){"use strict";n.r(t),t.default="Date\n===\n\nUse the `Date` component to display accessible dates or times.\n\n## Usage\n\n```jsx\n<Date date=\"2019-01-01\" />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`date` | One of type: string, object | `null` | (required) Date to use in the component\n`machineFormat` | String | `'Y-m-d H:i:s'` | Date format used in the `datetime` prop of the `time` element\n`screenReaderFormat` | String | `'F j, Y'` | Date format used for screen readers\n`visibleFormat` | String | `'Y-m-d'` | Date format displayed in the page\n"},854:function(e,t,n){"use strict";n.r(t),t.default="DropdownButton\n===\n\nA button useful for a launcher of a dropdown component. The button is 100% width of its container and displays single or multiple lines rendered as `<span/>` elments.\n\n## Usage\n\n```jsx\n<Dropdown\n\trenderToggle={ ( { isOpen, onToggle } ) => (\n\t\t<DropdownButton\n\t\t\tonClick={ onToggle }\n\t\t\tisOpen={ isOpen }\n\t\t\tlabels={ [ 'All Products Sold' ] }\n\t\t/>\n\t) }\n\trenderContent={ () => (\n\t\t<p>Dropdown content here</p>\n\t) }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`labels` | Array | `null` | (required) An array of elements to be rendered as the content of the button\n`isOpen` | Boolean | `null` | Boolean describing if the dropdown in open or not\n"},855:function(e,t,n){"use strict";n.r(t),t.default='EllipsisMenu\n===\n\nThis is a dropdown menu hidden behind a vertical ellipsis icon. When clicked, the inner MenuItems are displayed.\n\n## Usage\n\n```jsx\n<EllipsisMenu label="Choose which analytics to display"\n\trenderContent={ ( { onToggle } )=> {\n\t\treturn (\n\t\t\t<div>\n\t\t\t\t<MenuTitle>Display Stats</MenuTitle>\n\t\t\t\t<MenuItem onInvoke={ () => setState( { showCustomers: ! showCustomers } ) }>\n\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\tlabel="Show Customers"\n\t\t\t\t\t\tchecked={ showCustomers }\n\t\t\t\t\t\tonChange={ () => setState( { showCustomers: ! showCustomers } ) }\n\t\t\t\t\t/>\n\t\t\t\t</MenuItem>\n\t\t\t\t<MenuItem onInvoke={ () => setState( { showOrders: ! showOrders } ) }>\n\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\tlabel="Show Orders"\n\t\t\t\t\t\tchecked={ showOrders }\n\t\t\t\t\t\tonChange={ () => setState( { showOrders: ! showOrders } ) }\n\t\t\t\t\t/>\n\t\t\t\t</MenuItem>\n\t\t\t\t<MenuItem onInvoke={ onToggle }>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tlabel="Close menu"\n\t\t\t\t\t\tonClick={ onToggle }\n\t\t\t\t\t>\n\t\t\t\t\tClose Menu\n\t\t\t\t\t</Button>\n\t\t\t\t</MenuItem>\n\t\t\t</div>\n\t\t);\n\t} }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`label` | String | `null` | (required) The label shown when hovering/focusing on the icon button\n`renderContent` | Function | `null` | A function returning `MenuTitle`/`MenuItem` components as a render prop. Arguments from Dropdown passed as function arguments\n\n\nMenuItem\n===\n\n`MenuItem` is used to give the item an accessible wrapper, with the `menuitem` role and added keyboard functionality (`onInvoke`).\n`MenuItem`s can also be deemed "clickable", though this is disabled by default because generally the inner component handles\nthe click event.\n\n## Usage\n\n```jsx\n<MenuItem onInvoke={ onToggle }>\n\t<Button\n\t\tlabel="Close menu"\n\t\tonClick={ onToggle }\n\t>\n\tClose Menu\n\t</Button>\n</MenuItem>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`checked` | Boolean | `null` | Whether the menu item is checked or not. Only relevant for menu items with `isCheckbox`\n`children` | ReactNode | `null` | A renderable component (or string) which will be displayed as the content of this item. Generally a `ToggleControl`\n`isCheckbox` | Boolean | `false` | Whether the menu item is a checkbox (will render a FormToggle and use the `menuitemcheckbox` role)\n`isClickable` | Boolean | `false` | Boolean to control whether the MenuItem should handle the click event. Defaults to false, assuming your child component handles the click event\n`onInvoke` | Function | `null` | (required) A function called when this item is activated via keyboard ENTER or SPACE; or when the item is clicked (only if `isClickable` is set)\n\n\nMenuTitle\n===\n\n`MenuTitle` is another valid Menu child, but this does not have any accessibility attributes associated\n(so this should not be used in place of the `EllipsisMenu` prop `label`).\n\n## Usage\n\n```jsx\n<MenuTitle>Display Stats</MenuTitle>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`children` | ReactNode | `null` | A renderable component (or string) which will be displayed as the content of this item\n'},856:function(e,t,n){"use strict";n.r(t),t.default='EmptyContent\n===\n\nA component to be used when there is no data to show.\nIt can be used as an opportunity to provide explanation or guidance to help a user progress.\n\n## Usage\n\n```jsx\n<EmptyContent\n\ttitle="Nothing here"\n\tmessage="Some descriptive text"\n\tactionLabel="Reload page"\n\tactionURL="#"\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`title` | String | `null` | (required) The title to be displayed\n`message` | String | `null` | An additional message to be displayed\n`illustration` | String | `\'/empty-content.svg\'` | The url string of an image path. Prefix with `/` to load an image relative to the plugin directory\n`illustrationHeight` | Number | `null` | Height to use for the illustration\n`illustrationWidth` | Number | `400` | Width to use for the illustration\n`actionLabel` | String | `null` | (required) Label to be used for the primary action button\n`actionURL` | String | `null` | URL to be used for the primary action button\n`actionCallback` | Function | `null` | Callback to be used for the primary action button\n`secondaryActionLabel` | String | `null` | Label to be used for the secondary action button\n`secondaryActionURL` | String | `null` | URL to be used for the secondary action button\n`secondaryActionCallback` | Function | `null` | Callback to be used for the secondary action button\n`className` | String | `null` | Additional CSS classes\n'},857:function(e,t,n){"use strict";n.r(t),t.default="Filter Picker\n===\n\nModify a url query parameter via a dropdown selection of configurable options. This component manipulates the `filter` query parameter.\n\n## Usage\n\n```jsx\nimport { FilterPicker } from '@woocommerce/components';\n\nconst renderFilterPicker = () => {\n\tconst filters = [\n\t\t{ label: 'Breakfast', value: 'breakfast' },\n\t\t{\n\t\t\tlabel: 'Lunch',\n\t\t\tvalue: 'lunch',\n\t\t\tsubFilters: [\n\t\t\t\t{ label: 'Meat', value: 'meat', path: [ 'lunch' ] },\n\t\t\t\t{ label: 'Vegan', value: 'vegan', path: [ 'lunch' ] },\n\t\t\t\t{\n\t\t\t\t\tlabel: 'Pescatarian',\n\t\t\t\t\tvalue: 'fish',\n\t\t\t\t\tpath: [ 'lunch' ],\n\t\t\t\t\tsubFilters: [\n\t\t\t\t\t\t{ label: 'Snapper', value: 'snapper', path: [ 'lunch', 'fish' ] },\n\t\t\t\t\t\t{ label: 'Cod', value: 'cod', path: [ 'lunch', 'fish' ] },\n\t\t\t\t\t\t// Specify a custom component to render (Work in Progress)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: 'Other',\n\t\t\t\t\t\t\tvalue: 'other_fish',\n\t\t\t\t\t\t\tpath: [ 'lunch', 'fish' ],\n\t\t\t\t\t\t\tcomponent: 'OtherFish',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t\t{ label: 'Dinner', value: 'dinner' },\n\t];\n\n\treturn <FilterPicker filters={ filters } path={ path } query={ query } />;\n};\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`config` | Object | `null` | (required) An array of filters and subFilters to construct the menu\n`path` | String | `null` | (required) The `path` parameter supplied by React-Router\n`query` | Object | `{}` | The query string represented in object form\n`onFilterSelect` | Function | `() => {}` | Function to be called after filter selection\n\n### `config` structure\n\nThe `config` prop has the following structure:\n\n- `label`: String - A label above the filter selector.\n- `staticParams`: Array - Url parameters to persist when selecting a new filter.\n- `param`: String - The url paramter this filter will modify.\n- `defaultValue`: String - The default paramter value to use instead of 'all'.\n- `showFilters`: Function - Determine if the filter should be shown. Supply a function with the query object as an argument returning a boolean.\n- `filters`: Array - Array of filter objects.\n\n### `filters` structure\n\nThe `filters` prop is an array of filter objects. Each filter object should have the following format:\n\n- `chartMode`: One of: 'item-comparison', 'time-comparison'\n- `component`: String - A custom component used instead of a button, might have special handling for filtering. TBD, not yet implemented.\n- `label`: String - The label for this filter. Optional only for custom component filters.\n- `path`: String - An array representing the \"path\" to this filter, if nested.\n- `subFilters`: Array - An array of more filter objects that act as \"children\" to this item. This set of filters is shown if the parent filter is clicked.\n- `value`: String - The value for this filter, used to set the `filter` query param when clicked, if there are no `subFilters`.\n"},858:function(e,t,n){"use strict";n.r(t),t.default='ReportFilters\n===\n\nAdd a collection of report filters to a page. This uses `DatePicker` & `FilterPicker` for the "basic" filters, and `AdvancedFilters`\nor a comparison card if "advanced" or "compare" are picked from `FilterPicker`.\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`advancedFilters` | Object | `{}` | Config option passed through to `AdvancedFilters`\n`siteLocale` | string| `en_US` | The locale of the site. Passed through to `AdvancedFilters`\n`currency` | object | {} | The currency of the site. Passed through to `AdvancedFilters`\n`filters` | Array | `[]` | Config option passed through to `FilterPicker` - if not used, `FilterPicker` is not displayed\n`path` | String | `null` | (required) The `path` parameter supplied by React-Router\n`query` | Object | `{}` | The query string represented in object form\n`showDatePicker` | Boolean | `true` | Whether the date picker must be shown\n`onDateSelect` | Function | `() => {}` | Function to be called after date selection\n`onFilterSelect` | Function | `null` | Function to be called after filter selection\n`onAdvancedFilterAction` | Function | `null` | Function to be called after an advanced filter action has been taken\n`storeDate` | object | `null` | (required) Date utility function object bound to store settings.\n'},859:function(e,t,n){"use strict";n.r(t),t.default="Flag\n===\n\nUse the `Flag` component to display a country's flag using the operating system's emojis.\n\n React component.\n\n## Usage\n\n```jsx\n<Flag code=\"VU\" size={ 48 } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`code` | String | `null` | Two letter, three letter or three digit country code\n`order` | Object | `null` | An order can be passed instead of `code` and the code will automatically be pulled from the billing or shipping data\n`className` | String | `null` | Additional CSS classes\n`size` | Number | `null` | Supply a font size to be applied to the emoji flag\n"},860:function(e,t,n){"use strict";n.r(t),t.default="Form\n===\n\nA form component to handle form state and provide input helper props.\n\n## Usage\n\n```jsx\nconst initialValues = { firstName: '' };\n\n<Form\n\tonSubmitCallback={ ( values ) => {} }\n\tinitialValues={ initialValues }\n>\n\t{ ( {\n\t\tgetInputProps,\n\t\tvalues,\n\t\terrors,\n\t\thandleSubmit,\n\t} ) => (\n\t\t<div>\n\t\t\t<TextControl\n\t\t\t\tlabel={ 'First Name' }\n\t\t\t\t{ ...getInputProps( 'firstName' ) }\n\t\t\t/>\n\t\t\t<Button\n\t\t\t\tisPrimary\n\t\t\t\tonClick={ handleSubmit }\n\t\t\t\tdisabled={ Object.keys( errors ).length }\n\t\t\t>\n\t\t\t\tSubmit\n\t\t\t</Button>\n\t\t</div>\n\t) }\n</Form>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`children` | * | `null` | A renderable component in which to pass this component's state and helpers. Generally a number of input or other form elements\n`errors` | Object | `{}` | Object of all initial errors to store in state\n`initialValues` | Object | `{}` | Object key:value pair list of all initial field values\n`onSubmitCallback` | Function | `noop` | Function to call when a form is submitted with valid fields\n`validate` | Function | `noop` | A function that is passed a list of all values and should return an `errors` object with error response\n`touched` | | `{}` | \n"},861:function(e,t,n){"use strict";n.r(t),t.default='Gravatar\n===\n\nDisplay a users Gravatar.\n\n## Usage\n\n```jsx\n<Gravatar\n\tuser="email@example.org"\n\tsize={ 48 }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`user` | One of type: object, string | `null` | The address to hash for displaying a Gravatar. Can be an email address or WP-API user object\n`alt` | String | `null` | Text to display as the image alt attribute\n`title` | String | `null` | Text to use for the image\'s title\n`size` | Number | `60` | Default 60. The size of Gravatar to request\n`className` | String | `null` | Additional CSS classes\n'},862:function(e,t,n){"use strict";n.r(t),t.default="useFilters\n==========\n\n`useFilters` is a fork of [gutenberg's `withFilters`.](https://github.com/WordPress/gutenberg/tree/master/packages/components/src/higher-order/with-filters) It is also a React [higher-order component.](https://facebook.github.io/react/docs/higher-order-components.html)\n\nWrapping a component with `useFilters` provides a filtering capability controlled externally by the list of `hookName`s.\n\n## Usage\n\n```jsx\nimport { applyFilters } from '@wordpress/hooks';\nimport { useFilters } from '@woocommerce/components';\n\nfunction MyCustomElement() {\n\treturn <h3>{ applyFilters( 'woocommerce.componentTitle', 'Title Text' ) }</h3>;\n}\n\nexport default useFilters( [ 'woocommerce.componentTitle' ] )( MyCustomElement );\n```\n\n`useFilters` expects an array argument which provides a list of hook names. It returns a function which can then be used in composing your component. The list of hook names are used in your component with `applyFilters`. Any filters added to the given hooks are run when added, and update your content (the title text, in this example).\n\n### Adding filters\n\n```js\nfunction editText( string ) {\n\treturn `Filtered: ${ string }`;\n}\naddFilter( 'woocommerce.componentTitle', 'editText', editText );\n```\n\nIf we added this filter, our `MyCustomElement` component would display:\n\n```html\n<h3>Filtered: Title Text</h3>\n```\n"},863:function(e,t,n){"use strict";n.r(t),t.default="ImageUpload\n===\n\nImageUpload - Adds an upload area for selecting or uploading an image from the WordPress media gallery.\n\n## Usage\n\n```jsx\n\t<ImageUpload image={ image } onChange={ newImage => setState( { url: newImage } ) } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`image` | Object | `null` | Image information containing media gallery `id` and image `url`\n`onChange` | Function | `null` | Function to trigger when the selected image changes\n`className` | String | `null` | Additional class name to style the component\n"},864:function(e,t,n){"use strict";n.r(t),t.default="Link\n===\n\nUse `Link` to create a link to another resource. It accepts a type to automatically\ncreate wp-admin links, wc-admin links, and external links.\n\n## Usage\n\n```jsx\n<Link\n\thref=\"edit.php?post_type=shop_coupon\"\n\ttype=\"wp-admin\"\n>\n\tCoupons\n</Link>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`href` | String | `null` | (required) The resource to link to\n`type` | One of: 'wp-admin', 'wc-admin', 'external' | `'wc-admin'` | Type of link. For wp-admin and wc-admin, the correct prefix is appended\n"},865:function(e,t,n){"use strict";n.r(t),t.default="List\n===\n\nList component to display a list of items.\n\n## Usage\n\n```jsx\nconst listItems = [\n\t{\n\t\ttitle: 'List item title',\n\t\tdescription: 'List item description text',\n\t},\n\t{\n\t\tbefore: <Gridicon icon=\"star\" />,\n\t\ttitle: 'List item with before icon',\n\t\tdescription: 'List item description text',\n\t},\n\t{\n\t\tbefore: <Gridicon icon=\"star\" />,\n\t\tafter: <Gridicon icon=\"chevron-right\" />,\n\t\ttitle: 'List item with before and after icons',\n\t\tdescription: 'List item description text',\n\t},\n\t{\n\t\ttitle: 'Clickable list item',\n\t\tdescription: 'List item description text',\n\t\tonClick: () => alert( 'List item clicked' ),\n\t},\n];\n\n<List items={ listItems } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional class name to style the component\n`items` | Array | `null` | (required) An array of list items\n\n`items` structure:\n\n* `after`: ReactNode - Content displayed after the list item text.\n* `before`: ReactNode - Content displayed before the list item text.\n* `className`: String - Additional class name to style the list item.\n* `description`: String - Description displayed beneath the list item title.\n* `href`: String - Href attribute used in a Link wrapped around the item.\n* `onClick`: Function - Called when the list item is clicked.\n* `target`: String - Target attribute used for Link wrapper.\n* `title`: String - Title displayed for the list item."},866:function(e,t,n){"use strict";n.r(t),t.default="OrderStatus\n===\n\nUse `OrderStatus` to display a badge with human-friendly text describing the current order status.\n\n## Usage\n\n```jsx\nconst order = { status: 'processing' }; // Use a real WooCommerce Order here.\n\n<OrderStatus order={ order } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`order` | Object | `null` | (required) The order to display a status for. See: https://woocommerce.github.io/woocommerce-rest-api-docs/#order-properties\n`className` | String | `null` | Additional CSS classes\n`orderStatusMap` | Object | {} | A map of order status to human-friendly label.\n"},867:function(e,t,n){"use strict";n.r(t),t.default="Pagination\n===\n\nUse `Pagination` to allow navigation between pages that represent a collection of items.\nThe component allows for selecting a new page and items per page options.\n\n## Usage\n\n```jsx\n<Pagination\n\tpage={ 1 }\n\tperPage={ 10 }\n\ttotal={ 500 }\n\tonPageChange={ ( newPage ) => setState( { page: newPage } ) }\n\tonPerPageChange={ ( newPerPage ) => setState( { perPage: newPerPage } ) }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`page` | Number | `null` | (required) The current page of the collection\n`onPageChange` | Function | `noop` | A function to execute when the page is changed\n`perPage` | Number | `null` | (required) The amount of results that are being displayed per page\n`onPerPageChange` | Function | `noop` | A function to execute when the per page option is changed\n`total` | Number | `null` | (required) The total number of results\n`className` | String | `null` | Additional classNames\n`showPagePicker` | Boolean | `true` | Whether the page picker should be shown.\n`showPerPagePicker` | Boolean | `true` | Whether the per page picker should shown.\n`showPageArrowsLabel` | Boolean | `true` | Whether the page arrows label should be shown.\n"},868:function(e,t,n){"use strict";n.r(t),t.default="Plugins\n===\n\nUse `Plugins` to install and activate a list of plugins.\n\n## Usage\n\n```jsx\n<Plugins onComplete={ this.complete } pluginSlugs={ [ 'jetpack', 'woocommerce-services' ] } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`onComplete` | Function | | Called when the plugin installer is completed\n`onSkip` | Function | `noop` | Called when the plugin installer is skipped\n`skipText` | String | | Text used for the skip installer button\n`autoInstall` | Boolean | false | If installation should happen automatically, or require user confirmation\n`pluginSlugs` | Array | `[ 'jetpack', 'woocommerce-services' ],` | An array of plugin slugs to install.\n"},869:function(e,t,n){"use strict";n.r(t),t.default="ProductImage\n===\n\nUse `ProductImage` to display a product's or variation's featured image.\nIf no image can be found, a placeholder matching the front-end image\nplaceholder will be displayed.\n\n## Usage\n\n```jsx\n// Use a real WooCommerce Product here.\nconst product = {\n\timages: [\n\t\t{\n\t\t\tsrc: 'https://cldup.com/6L9h56D9Bw.jpg',\n\t\t},\n\t],\n};\n\n<ProductImage product={ product } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`width` | Number | `60` | The width of image to display\n`height` | Number | `60` | The height of image to display\n`className` | String | `''` | Additional CSS classes\n`product` | Object | `null` | Product or variation object. The image to display will be pulled from `product.images` or `variation.image`. See https://woocommerce.github.io/woocommerce-rest-api-docs/#product-properties and https://woocommerce.github.io/woocommerce-rest-api-docs/#product-variation-properties\n`alt` | String | `null` | Text to use as the image alt attribute\n"},870:function(e,t,n){"use strict";n.r(t),t.default="Rating\n===\n\nUse `Rating` to display a set of stars, filled, empty or half-filled, that represents a\nrating in a scale between 0 and the prop `totalStars` (default 5).\n\n## Usage\n\n```jsx\n<Rating rating={ 2.5 } totalStars={ 6 } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`rating` | Number | `0` | Number of stars that should be filled. You can pass a partial number of stars like `2.5`\n`totalStars` | Number | `5` | The total number of stars the rating is out of\n`size` | Number | `18` | The size in pixels the stars should be rendered at\n`className` | String | `null` | Additional CSS classes\n\n\nProductRating\n===\n\nDisplay a set of stars representing the product's average rating.\n\n## Usage\n\n```jsx\n// Use a real WooCommerce Product here.\nconst product = { average_rating: 3.5 };\n\n<ProductRating product={ product } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`product` | Object | `null` | (required) A product object containing a `average_rating`. See https://woocommerce.github.io/woocommerce-rest-api-docs/#products\n\n\nReviewRating\n===\n\nDisplay a set of stars representing the review's rating.\n\n## Usage\n\n```jsx\n// Use a real WooCommerce Review here.\nconst review = { rating: 5 };\n\n<ReviewRating review={ review } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`review` | Object | `null` | (required) A review object containing a `rating`. See https://woocommerce.github.io/woocommerce-rest-api-docs/#retrieve-product-reviews\n"},871:function(e,t,n){"use strict";n.r(t),t.default="ScrollTo\n===\n\n\n\n## Usage\n\n```jsx\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`offset` | String | ``'0'`` | The offset from the top of the component\n"},872:function(e,t,n){"use strict";n.r(t),t.default='SearchListControl\n===\n\nComponent to display a searchable, selectable list of items.\n\n## Usage\n\n```jsx\n<SearchListControl\n\tlist={ list }\n\tisLoading={ loading }\n\tselected={ selected }\n\tonChange={ items => setState( { selected: items } ) }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional CSS classes\n`isHierarchical` | Boolean | `null` | Whether the list of items is hierarchical or not. If true, each list item is expected to have a parent property\n`isLoading` | Boolean | `null` | Whether the list of items is still loading\n`isSingle` | Boolean | `null` | Restrict selections to one item\n`list` | Array | `null` | A complete list of item objects, each with id, name properties. This is displayed as a clickable/keyboard-able list, and possibly filtered by the search term (searches name)\n`messages` | Object | `null` | Messages displayed or read to the user. Configure these to reflect your object type. See `defaultMessages` above for examples\n`onChange` | Function | `null` | (required) Callback fired when selected items change, whether added, cleared, or removed. Passed an array of item objects (as passed in via props.list)\n`onSearch` | Function | `null` | Callback fired when the search field is used\n`renderItem` | Function | `null` | Callback to render each item in the selection list, allows any custom object-type rendering\n`selected` | Array | `null` | (required) The list of currently selected items\n`search` | String | `null` | \n`setState` | Function | `null` | \n`debouncedSpeak` | Function | `null` | \n`instanceId` | Number | `null` | \n\n### `list` item structure:\n\n - `id`: Number\n - `name`: String\n\n### `messages` object structure:\n\n - `clear`: String - A more detailed label for the "Clear all" button, read to screen reader users.\n - `list`: String - Label for the list of selectable items, only read to screen reader users.\n - `noItems`: String - Message to display when the list is empty (implies nothing loaded from the server\nor parent component).\n - `noResults`: String - Message to display when no matching results are found. %s is the search term.\n - `search`: String - Label for the search input\n - `selected`: Function - Label for the selected items. This is actually a function, so that we can pass\nthrough the count of currently selected items.\n - `updated`: String - Label indicating that search results have changed, read to screen reader users.\n\n\nSearchListItem\n===\n\n## Usage\n\nUsed implicitly by `SearchListControl` when the `renderItem` prop is omitted.\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional CSS classes\n`countLabel` | ReactNode | `null` | Label to display if `showCount` is set to true. If undefined, it will use `item.count`\n`depth` | Number | `0` | Depth, non-zero if the list is hierarchical\n`item` | Object | `null` | Current item to display\n`isSelected` | Boolean | `null` | Whether this item is selected\n`isSingle` | Boolean | `null` | Whether this should only display a single item (controls radio vs checkbox icon)\n`onSelect` | Function | `null` | Callback for selecting the item\n`search` | String | `\'\'` | Search string, used to highlight the substring in the item name\n`showCount` | Boolean | `false` | Toggles the "count" bubble on/off\n'},873:function(e,t,n){"use strict";n.r(t),t.default="Search\n===\n\nA search box which autocompletes results while typing, allowing for the user to select an existing object\n(product, order, customer, etc). Currently only products are supported.\n\n## Usage\n\n```jsx\n<Search\n\ttype=\"products\"\n\tplaceholder=\"Search for a product\"\n\tselected={ selected }\n\tonChange={ items => setState( { selected: items } ) }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`allowFreeTextSearch` | Boolean | `false` | Render additional options in the autocompleter to allow free text entering depending on the type\n`className` | String | `null` | Class name applied to parent div\n`onChange` | Function | `noop` | Function called when selected results change, passed result list\n`type` | One of: 'categories', 'countries', 'coupons', 'customers', 'downloadIps', 'emails', 'orders', 'products', 'taxes', 'usernames', 'variations', 'custom' | `null` | (required) The object type to be used in searching\n`autocompleter` | Completer | `null` | Custom [completer](https://github.com/WordPress/gutenberg/tree/master/packages/components/src/autocomplete#the-completer-interface) to be used in searching. Required when `type` is 'custom'\n`placeholder` | String | `null` | A placeholder for the search input\n`selected` | Array | `[]` | An array of objects describing selected values. If the label of the selected value is omitted, the Tag of that value will not be rendered inside the search box.\n`inlineTags` | Boolean | `false` | Render tags inside input, otherwise render below input\n`showClearButton` | Boolean | `false` | Render a 'Clear' button next to the input box to remove its contents\n`staticResults` | Boolean | `false` | Render results list positioned statically instead of absolutely\n`disabled` | Boolean | `false` | Whether the control is disabled or not\n\n### `selected` item structure:\n\n- `id`: One of type: number, string\n- `label`: String"},874:function(e,t,n){"use strict";n.r(t),t.default='SectionHeader\n===\n\nA header component. The header can contain a title, actions via children, and an `EllipsisMenu` menu.\n\n## Usage\n\n```jsx\n<SectionHeader title="Section Title" />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional CSS classes\n`menu` | (custom validator) | `null` | An `EllipsisMenu`, with filters used to control the content visible in this card\n`title` | One of type: string, node | `null` | (required) The title to use for this card\n'},875:function(e,t,n){"use strict";n.r(t),t.default='H\n===\n\nThese components are used to frame out the page content for accessible heading hierarchy. Instead of defining fixed heading levels\n(`h2`, `h3`, …) you can use `<H />` to create "section headings", which look to the parent `<Section />`s for the appropriate\nheading level.\n\n## Usage\n\n```jsx\n<div>\n\t<H>Header using a contextual level (h3)</H>\n\t<Section component="article">\n\t\t<p>This is an article component wrapper.</p>\n\t\t<H>Another header with contextual level (h4)</H>\n\t\t<Section component={ false }>\n\t\t\t<p>There is no wrapper component here.</p>\n\t\t\t<H>This is an h5</H>\n\t\t</Section>\n\t</Section>\n</div>\n```\n\nSection\n===\n\nThe section wrapper, used to indicate a sub-section (and change the header level context).\n\n## Usage\n\nSee above\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`component` | One of type: func, string, bool | `null` | The wrapper component for this section. Optional, defaults to `div`. If passed false, no wrapper is used. Additional props passed to Section are passed on to the component\n`children` | ReactNode | `null` | The children inside this section, rendered in the `component`. This increases the context level for the next heading used\n'},876:function(e,t,n){"use strict";n.r(t),t.default="SegmentedSelection\n===\n\nCreate a panel of styled selectable options rendering stylized checkboxes and labels\n\n## Usage\n\n```jsx\n<SegmentedSelection\n\toptions={ [\n\t\t{ value: 'one', label: 'One' },\n\t\t{ value: 'two', label: 'Two' },\n\t\t{ value: 'three', label: 'Three' },\n\t\t{ value: 'four', label: 'Four' },\n\t] }\n\tselected={ selected }\n\tlegend=\"Select a number\"\n\tonSelect={ ( data ) => setState( { selected: data[ name ] } ) }\n\tname={ name }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional CSS classes\n`options` | Array | `null` | (required) An Array of options to render. The array needs to be composed of objects with properties `label` and `value`\n`selected` | String | `null` | Value of selected item\n`onSelect` | Function | `null` | (required) Callback to be executed after selection\n`name` | String | `null` | (required) This will be the key in the key and value arguments supplied to `onSelect`\n`legend` | String | `null` | (required) Create a legend visible to screen readers\n\n### `options` structure\n\nThe `options` array needs to be composed of objects with properties:\n\n- `value`: String - Input value for this option.\n- `label`: String - Label for this option."},877:function(e,t,n){"use strict";n.r(t),t.default="# SelectControl\n\nA search box which filters options while typing,\nallowing a user to select from an option from a filtered list.\n\n## Usage\n\n```jsx\nconst options = [\n\t{\n\t\tkey: 'apple',\n\t\tlabel: 'Apple',\n\t\tvalue: { id: 'apple' },\n\t},\n\t{\n\t\tkey: 'apricot',\n\t\tlabel: 'Apricot',\n\t\tvalue: { id: 'apricot' },\n\t},\n];\n\n<SelectControl\n\tlabel=\"Single value\"\n\tonChange={ selected => setState( { singleSelected: selected } ) }\n\toptions={ options }\n\tplaceholder=\"Start typing to filter options...\"\n\tselected={ singleSelected }\n/>;\n```\n\n### Props\n\n| Name | Type | Default | Description |\n| ------------------------ | ------------ | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `className` | string | `null` | Class name applied to parent div |\n| `excludeSelectedOptions` | boolean | `true` | Exclude already selected options from the options list |\n| `onFilter` | function | `identity` | Add or remove items to the list of options after filtering, passed the array of filtered options and should return an array of options. |\n| `getSearchExpression` | function | `identity` | Function to add regex expression to the filter the results, passed the search query |\n| `help` | string\\|node | `null` | Help text to be appended beneath the input |\n| `inlineTags` | boolean | `false` | Render tags inside input, otherwise render below input |\n| `label` | string | `null` | A label to use for the main input |\n| `onChange` | function | `noop` | Function called when selected results change, passed result list |\n| `onSearch` | function | `noop` | Function to run after the search query is updated, passed the search query |\n| `options` | array | `null` | (required) An array of objects for the options list. The option along with its key, label and value will be returned in the onChange event |\n| `placeholder` | string | `null` | A placeholder for the search input |\n| `selected` | array | `[]` | An array of objects describing selected values. If the label of the selected value is omitted, the Tag of that value will not be rendered inside the search box |\n| `maxResults` | number | `0` | A limit for the number of results shown in the options menu. Set to 0 for no limit |\n| `multiple` | boolean | `false` | Allow multiple option selections |\n| `showClearButton` | boolean | `false` | Render a 'Clear' button next to the input box to remove its contents |\n| `hideBeforeSearch` | boolean | `false` | Only show list options after typing a search query |\n| `staticList` | boolean | `false` | Render results list positioned statically instead of absolutely |\n"},878:function(e,t,n){"use strict";n.r(t),t.default="Spinner\n===\n\nSpinner - An indeterminate circular progress indicator.\n\n## Usage\n\n```jsx\n<Spinner />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional class name to style the component\n"},879:function(e,t,n){"use strict";n.r(t),t.default="Stepper\n===\n\nA stepper component to indicate progress in a set number of steps.\n\n## Usage\n\n```jsx\nconst steps = [\n\t{\n\t\tkey: 'first',\n\t\tlabel: 'First',\n\t\tdescription: 'Step item description',\n\t\tcontent: <div>First step content.</div>,\n\t},\n\t{\n\t\tkey: 'second',\n\t\tlabel: 'Second',\n\t\tdescription: 'Step item description',\n\t\tcontent: <div>Second step content.</div>,\n\t},\n];\n\n<Stepper\n\tsteps={ steps }\n\tcurrentStep=\"first\"\n\tisPending={ true }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional class name to style the component\n`currentStep` | String | `null` | (required) The current step's key\n`steps` | Array | `null` | (required) An array of steps used\n`isVertical` | Boolean | `false` | If the stepper is vertical instead of horizontal\n`isPending` | Boolean | `false` | Optionally mark the current step as pending to show a spinner\n\n### `steps` structure\n\nArray of step objects with properties:\n\n- `key:` String - Key used to identify step.\n- `label`: String - Label displayed in stepper.\n- `description`: String - Description displayed beneath the label.\n- `isComplete`: Boolean - Optionally mark a step complete regardless of step index.\n- `content`: ReactNode - Content displayed when the step is active."},880:function(e,t,n){"use strict";n.r(t),t.default='SummaryList\n===\n\nA container element for a list of SummaryNumbers. This component handles detecting & switching to the mobile format on smaller screens.\n\n## Usage\n\n```jsx\n<SummaryList>\n\t{ () => {\n\t\treturn [\n\t\t\t<SummaryNumber\n\t\t\t\tkey="revenue"\n\t\t\t\tvalue={ \'$829.40\' }\n\t\t\t\tlabel="Total Sales"\n\t\t\t\tdelta={ 29 }\n\t\t\t\thref="/analytics/report"\n\t\t\t/>,\n\t\t\t<SummaryNumber\n\t\t\t\tkey="refunds"\n\t\t\t\tvalue={ \'$24.00\' }\n\t\t\t\tlabel="Refunds"\n\t\t\t\tdelta={ -10 }\n\t\t\t\thref="/analytics/report"\n\t\t\t\tselected\n\t\t\t/>,\n\t\t];\n\t} }\n</SummaryList>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`children` | Function | `null` | (required) A function returning a list of `<SummaryNumber />`s\n`label` | String | `__( \'Performance Indicators\', \'woocommerce-admin\' )` | An optional label of this group, read to screen reader users\n\n\nSummaryNumber\n===\n\nA component to show a value, label, and an optional change percentage. Can also act as a link to a specific report focus.\n\n## Usage\n\nSee above\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`delta` | Number | `null` | A number to represent the percentage change since the last comparison period - positive numbers will show a green up arrow, negative numbers will show a red down arrow, and zero will show a flat right arrow. If omitted, no change value will display\n`href` | String | `\'\'` | An internal link to the report focused on this number\n`isOpen` | Boolean | `false` | Boolean describing whether the menu list is open. Only applies in mobile view, and only applies to the toggle-able item (first in the list)\n`label` | String | `null` | (required) A string description of this value, ex "Revenue", or "New Customers"\n`onToggle` | Function | `null` | A function used to switch the given SummaryNumber to a button, and called on click\n`prevLabel` | String | `__( \'Previous Period:\', \'woocommerce-admin\' )` | A string description of the previous value\'s timeframe, ex "Previous Year:"\n`prevValue` | One of type: number, string | `null` | A string or number value to display - a string is allowed so we can accept currency formatting. If omitted, this section won\'t display\n`reverseTrend` | Boolean | `false` | A boolean used to indicate that a negative delta is "good", and should be styled like a positive (and vice-versa)\n`selected` | Boolean | `false` | A boolean used to show a highlight style on this number\n`value` | One of type: number, string | `null` | A string or number value to display - a string is allowed so we can accept currency formatting\n`onLinkClickCallback` | Function | `noop` | A function to be called after a SummaryNumber, rendered as a link, is clicked\n\n\nSummaryListPlaceholder\n===\n\n`SummaryListPlaceholder` behaves like `SummaryList` but displays placeholder summary items instead of data. This can be used while loading data.\n\n## Usage\n\n```jsx\n<SummaryListPlaceholder numberOfItems={ 2 } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`numberOfItems` | Number | `null` | (required) An integer with the number of summary items to display\n`numberOfRows` | | `5` | \n'},881:function(e,t,n){"use strict";n.r(t),t.default="TableCard\n===\n\nThis is an accessible, sortable, and scrollable table for displaying tabular data (like revenue and other analytics data).\nIt accepts `headers` for column headers, and `rows` for the table content.\n`rowHeader` can be used to define the index of the row header (or false if no header).\n\n`TableCard` serves as Card wrapper & contains a card header, `<Table />`, `<TableSummary />`, and `<Pagination />`.\nThis includes filtering and comparison functionality for report pages.\n\n## Usage\n\n```jsx\nconst headers = [\n\t{ key: 'month', label: 'Month' },\n\t{ key: 'orders', label: 'Orders' },\n\t{ key: 'revenue', label: 'Revenue' },\n];\nconst rows = [\n\t[\n\t\t{ display: 'January', value: 1 },\n\t\t{ display: 10, value: 10 },\n\t\t{ display: '$530.00', value: 530 },\n\t],\n\t[\n\t\t{ display: 'February', value: 2 },\n\t\t{ display: 13, value: 13 },\n\t\t{ display: '$675.00', value: 675 },\n\t],\n\t[\n\t\t{ display: 'March', value: 3 },\n\t\t{ display: 9, value: 9 },\n\t\t{ display: '$460.00', value: 460 },\n\t],\n];\nconst summary = [\n\t{ label: 'Gross Income', value: '$830.00' },\n\t{ label: 'Taxes', value: '$96.32' },\n\t{ label: 'Shipping', value: '$50.00' },\n];\n\n<TableCard\n\ttitle=\"Revenue Last Week\"\n\trows={ rows }\n\theaders={ headers }\n\tquery={ { page: 2 } }\n\trowsPerPage={ 7 }\n\ttotalRows={ 10 }\n\tsummary={ summary }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`compareBy` | String | `null` | The string to use as a query parameter when comparing row items\n`compareParam` | String | `'filter'` | Url query parameter compare function operates on\n`headers` | Array | `null` | An array of column headers (see `Table` props)\n`labels` | Object | `null` | Custom labels for table header actions\n`ids` | Array | `null` | A list of IDs, matching to the row list so that ids[ 0 ] contains the object ID for the object displayed in row[ 0 ]\n`isLoading` | Boolean | `false` | Defines if the table contents are loading. It will display `TablePlaceholder` component instead of `Table` if that's the case\n`onQueryChange` | Function | `noop` | A function which returns a callback function to update the query string for a given `param`\n`onColumnsChange` | Function | `noop` | A function which returns a callback function which is called upon the user changing the visiblity of columns\n`onSearch` | Function | `noop` | A function which is called upon the user searching in the table header\n`onSort` | Function | `undefined` | A function which is called upon the user changing the sorting of the table\n`downloadable` | Boolean | `false` | Whether the table must be downloadable. If true, the download button will appear\n`onClickDownload` | Function | `null` | A callback function called when the \"download\" button is pressed. Optional, if used, the download button will appear\n`query` | Object | `{}` | An object of the query parameters passed to the page, ex `{ page: 2, per_page: 5 }`\n`rowHeader` | One of type: number, bool | `0` | An array of arrays of display/value object pairs (see `Table` props)\n`rows` | Array | `[]` | Which column should be the row header, defaults to the first item (`0`) (see `Table` props)\n`rowsPerPage` | Number | `null` | (required) The total number of rows to display per page\n`searchBy` | String | `null` | The string to use as a query parameter when searching row items\n`showMenu` | Boolean | `true` | Boolean to determine whether or not ellipsis menu is shown\n`summary` | Array | `null` | An array of objects with `label` & `value` properties, which display in a line under the table. Optional, can be left off to show no summary\n`title` | String | `null` | (required) The title used in the card header, also used as the caption for the content in this table\n`totalRows` | Number | `null` | (required) The total number of rows (across all pages)\n`baseSearchQuery` | Object | `{}` | Pass in query parameters to be included in the path when onSearch creates a new url\n\n### `labels` structure\n\nTable header action labels object with properties:\n\n- `compareButton`: String - Compare button label\n- `downloadButton`: String - Download button label\n- `helpText`: String - \n- `placeholder`: String - \n\n### `summary` structure\n\nArray of summary items objects with properties:\n\n- `label`: ReactNode\n- `value`: One of type: string, number \n\n\nEmptyTable\n===\n\n`EmptyTable` displays a blank space with an optional message passed as a children node\nwith the purpose of replacing a table with no rows.\nIt mimics the same height a table would have according to the `numberOfRows` prop.\n\n## Usage\n\n```jsx\n<EmptyTable>\n\tThere are no entries.\n</EmptyTable>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`numberOfRows` | Number | `5` | An integer with the number of rows the box should occupy\n\n\nTablePlaceholder\n===\n\n`TablePlaceholder` behaves like `Table` but displays placeholder boxes instead of data. This can be used while loading.\n\n## Usage\n\n```jsx\nconst headers = [\n\t{ key: 'month', label: 'Month' },\n\t{ key: 'orders', label: 'Orders' },\n\t{ key: 'revenue', label: 'Revenue' },\n];\n\n<TablePlaceholder\n\tcaption=\"Revenue Last Week\"\n\theaders={ headers }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`query` | Object | `null` | An object of the query parameters passed to the page, ex `{ page: 2, per_page: 5 }`\n`caption` | String | `null` | (required) A label for the content in this table\n`headers` | Array | `null` | An array of column headers (see `Table` props)\n`numberOfRows` | Number | `5` | An integer with the number of rows to display\n\n\nTableSummary\n===\n\nA component to display summarized table data - the list of data passed in on a single line.\n\n## Usage\n\n```jsx\nconst summary = [\n\t{ label: 'Gross Income', value: '$830.00' },\n\t{ label: 'Taxes', value: '$96.32' },\n\t{ label: 'Shipping', value: '$50.00' },\n];\n\n<TableSummary data={ summary } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`data` | Array | `null` | An array of objects with `label` & `value` properties, which display on a single line\n\n\nTable\n===\n\nA table component, without the Card wrapper. This is a basic table display, sortable, but no default filtering.\n\nRow data should be passed to the component as a list of arrays, where each array is a row in the table.\nHeaders are passed in separately as an array of objects with column-related properties. For example,\nthis data would render the following table.\n\n```js\nconst headers = [ { label: 'Month' }, { label: 'Orders' }, { label: 'Revenue' } ];\nconst rows = [\n\t[\n\t\t{ display: 'January', value: 1 },\n\t\t{ display: 10, value: 10 },\n\t\t{ display: '$530.00', value: 530 },\n\t],\n\t[\n\t\t{ display: 'February', value: 2 },\n\t\t{ display: 13, value: 13 },\n\t\t{ display: '$675.00', value: 675 },\n\t],\n\t[\n\t\t{ display: 'March', value: 3 },\n\t\t{ display: 9, value: 9 },\n\t\t{ display: '$460.00', value: 460 },\n\t],\n]\n```\n\n| Month | Orders | Revenue |\n| ---------|--------|---------|\n| January | 10 | $530.00 |\n| February | 13 | $675.00 |\n| March | 9 | $460.00 |\n\n## Usage\n\n```jsx\n<Table\n\tcaption=\"Revenue Last Week\"\n\trows={ rows }\n\theaders={ headers }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`ariaHidden` | Boolean | `false` | Controls whether this component is hidden from screen readers. Used by the loading state, before there is data to read. Don't use this on real tables unless the table data is loaded elsewhere on the page\n`caption` | String | `null` | (required) A label for the content in this table\n`className` | String | `null` | Additional CSS classes\n`headers` | Array | `[]` | An array of column headers, as objects\n`onSort` | Function | `noop` | A function called when sortable table headers are clicked, gets the `header.key` as argument\n`query` | Object | `{}` | The query string represented in object form\n`rows` | Array | `null` | (required) An array of arrays of display/value object pairs\n`rowHeader` | One of type: number, bool | `0` | Which column should be the row header, defaults to the first item (`0`) (but could be set to `1`, if the first col is checkboxes, for example). Set to false to disable row headers\n\n### `headers` structure\n\nArray of column header objects with properties:\n\n- `defaultSort`: Boolean - Boolean, true if this column is the default for sorting. Only one column should have this set.\n- `defaultOrder`: String - String, asc|desc if this column is the default for sorting. Only one column should have this set.\n- `isLeftAligned`: Boolean - Boolean, true if this column should be aligned to the left.\n- `isNumeric`: Boolean - Boolean, true if this column is a number value.\n- `isSortable`: Boolean - Boolean, true if this column is sortable.\n- `key`: String - The API parameter name for this column, passed to `orderby` when sorting via API.\n- `label`: ReactNode - The display label for this column.\n- `required`: Boolean - Boolean, true if this column should always display in the table (not shown in toggle-able list).\n- `screenReaderLabel`: String - The label used for screen readers for this column. \n\n### `rows` structure\n\nArray of arrays representing rows and columns. Column object properties:\n\n- `display`: ReactNode - Display value, used for rendering - strings or elements are best here.\n- `value`: One of type: string, number, bool"},882:function(e,t,n){"use strict";n.r(t),t.default='Tag\n===\n\nThis component can be used to show an item styled as a "tag", optionally with an `X` + "remove"\nor with a popover that is shown on click.\n\n\n\n## Usage\n\n```jsx\n<Tag label="My tag" id={ 1 } />\n<Tag label="Removable tag" id={ 2 } remove={ noop } />\n<Tag label="Tag with popover" popoverContents={ ( <p>This is a popover</p> ) } />\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`id` | One of type: number, string | `null` | The ID for this item, used in the remove function\n`label` | String | `null` | (required) The name for this item, displayed as the tag\'s text\n`popoverContents` | ReactNode | `null` | Contents to display on click in a popover\n`remove` | Function | `null` | A function called when the remove X is clicked. If not used, no X icon will display\n`screenReaderLabel` | String | `null` | A more descriptive label for screen reader users. Defaults to the `name` prop\n'},883:function(e,t,n){"use strict";n.r(t),t.default='TextControlWithAffixes\n===\n\nThis component is essentially a wrapper (really a reimplementation) around the\nTextControl component that adds support for affixes, i.e. the ability to display\na fixed part either at the beginning or at the end of the text input.\n\n## Usage\n\n```jsx\n<TextControlWithAffixes\n suffix="%"\n label="Text field with a suffix"\n value={ fourth }\n onChange={ value => setState( { fourth: value } ) }\n/>\n<TextControlWithAffixes\n prefix="$"\n label="Text field with prefix and help text"\n value={ fifth }\n onChange={ value => setState( { fifth: value } ) }\n help="This is some help text."\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`label` | String | `null` | If this property is added, a label will be generated using label property as the content\n`help` | String | `null` | If this property is added, a help text will be generated using help property as the content\n`type` | String | `\'text\'` | Type of the input element to render. Defaults to "text"\n`value` | String | `null` | (required) The current value of the input\n`className` | String | `null` | The class that will be added with "components-base-control" to the classes of the wrapper div. If no className is passed only components-base-control is used\n`onChange` | Function | `null` | (required) A function that receives the value of the input\n`prefix` | ReactNode | `null` | Markup to be inserted at the beginning of the input\n`suffix` | ReactNode | `null` | Markup to be appended at the end of the input\n`disabled` | Boolean | `null` | Disables the field\n'},884:function(e,t,n){"use strict";n.r(t),t.default='TextControl\n===\n\nAn input field use for text inputs in forms.\n\n## Usage\n\n```jsx\n<TextControl\n\tlabel="Input label"\n\tvalue={ value }\n\tonChange={ value => setState( { value } ) }\n/>;\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | ``null`` | Additional CSS classes\n`disabled` | Boolean | ``null`` | Disables the field\n`label` | String | ``null`` | Input label used as a placeholder\n`onClick` | Function | ``null`` | On click handler called when the component is clicked, passed the click event\n`value` | String | ``null`` | The value of the input field\n'},885:function(e,t,n){"use strict";n.r(t),t.default="ViewMoreList\n===\n\nThis component displays a 'X more' button that displays a list of items on a popover when clicked.\n\n\n\n## Usage\n\n```jsx\n<ViewMoreList\n items={ [ <i>Lorem</i>, <i>Ipsum</i>, <i>Dolor</i>, <i>Sit</i> ] }\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`items` | Array | `[]` | `ReactNodes` to list in the popover\n"},886:function(e,t,n){"use strict";n.r(t),t.default='WebPreview\n===\n\nWebPreview component to display an iframe of another page.\n\n## Usage\n\n```jsx\n<WebPreview\n title="My Web Preview"\n src="https://themes.woocommerce.com/?name=galleria"\n/>\n```\n\n### Props\n\nName | Type | Default | Description\n--- | --- | --- | ---\n`className` | String | `null` | Additional class name to style the component\n`loadingContent` | ReactNode | `<Spinner />` | Content shown when iframe is still loading\n`onLoad` | Function | `noop` | Function to fire when iframe content is loaded\n`src` | String | `null` | (required) Iframe src to load\n`title` | String | `null` | (required) Iframe title\n'},887:function(e){e.exports=JSON.parse('[{"component":"AdvancedFilters"},{"component":"AnimationSlider"},{"component":"Calendar"},{"component":"Card"},{"component":"Chart"},{"component":"CompareFilter"},{"component":"Count"},{"component":"Date"},{"component":"DateRangeFilterPicker"},{"component":"DropdownButton"},{"component":"EllipsisMenu"},{"component":"EmptyContent"},{"component":"FilterPicker"},{"component":"Flag"},{"component":"Form"},{"component":"Gravatar"},{"component":"ImageAsset"},{"component":"ImageUpload"},{"component":"Link"},{"component":"List"},{"component":"OrderStatus"},{"component":"Pagination"},{"component":"ProductImage"},{"component":"Rating"},{"component":"ScrollTo"},{"component":"Search"},{"component":"SearchListControl"},{"component":"Section"},{"component":"SegmentedSelection"},{"component":"SelectControl"},{"component":"Spinner"},{"component":"SplitButton"},{"component":"Stepper"},{"component":"Summary"},{"component":"Table"},{"component":"Tag"},{"component":"TextControl"},{"component":"TextControlWithAffixes"},{"component":"ViewMoreList"},{"component":"WebPreview"}]')},888:function(e,t,n){},925:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return F}));var a=n(38),r=n.n(a),o=n(37),l=n.n(o),i=n(39),s=n.n(i),c=n(42),u=n.n(c),d=n(26),p=n.n(d),m=n(0),h=n(8),f=n.n(h),b=n(2),g=n(51),y=n.n(g),v=n(13),S=n.n(v);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=p()(e);if(t){var r=p()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return u()(this,n)}}var j=function(e){s()(o,e);var
|
|